Fix ChangeLog typos.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ed85dee6
RS
12014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2
3 * progmodes/ada-mode.el (ada):
4 * woman.el (woman): Link to info manual and Commentary section.
5
6 * progmodes/flymake.el (flymake):
7 * nxml/nxml-mode.el (nxml):
8 * net/eww.el (eww):
9 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
10 * htmlfontify.el (htmlfontify):
11 * ses.el (ses):
12 * epa.el (epa):
13 * ido.el (ido): Link to info manual.
14
e0c67e1d
LL
152014-01-25 Leo Liu <sdl.web@gmail.com>
16
17 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
18
35408b1a
AS
192014-01-25 Adam Sjøgren <asjo@koldfront.dk>
20
21 * net/shr.el (shr-tag-img): Prefer the title over the alt text
22 (bug#16537).
23
76c3fa95
JB
242014-01-24 Juanma Barranquero <lekktu@gmail.com>
25
f77c7a99
JB
26 * net/eww.el (eww-download-callback):
27 Fix reference to eww-download-directory.
28
76c3fa95
JB
29 * emacs-lisp/bytecomp.el (byte-compile-file):
30 Remove unused local variable `file-name'.
31
1e548e40
GM
322014-01-24 Glenn Morris <rgm@gnu.org>
33
03f3b318
GM
34 * woman.el (woman-default-faces, woman-monochrome-faces):
35 Fix obsolescence specification.
36
1e548e40
GM
37 * subr.el (with-demoted-errors): Doc fix.
38
d4f0427b
SM
392014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
42 (cl--macroexp-fboundp): New function.
43 (cl--make-type-test): Use it.
44
1670e27f
GM
452014-01-23 Glenn Morris <rgm@gnu.org>
46
47 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
48 * simple.el (eval-expression): Doc fixes.
49
80efa207
GM
502014-01-22 Glenn Morris <rgm@gnu.org>
51
52 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
53
29afcbab
SM
542014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/package.el: Write files silently.
57 (package-autoload-ensure-default-file, package--write-file-no-coding)
58 (package-generate-description-file, package--download-one-archive)
59 (package-install-from-archive): Tell `write-region' to stay quiet.
60 (package-menu-mode, package-menu--print-info): Omit the Archive column
61 if there's only one archive.
62 (package-all-keywords, package--has-keyword-p): Remove dead code.
63
2a5bce4f
GM
642014-01-22 Glenn Morris <rgm@gnu.org>
65
edace89f
GM
66 * version.el (emacs-bzr-version-bzr): Fix typo.
67
2a5bce4f
GM
68 * version.el (emacs-repository-get-version):
69 Check either .bzr or .git, but not both.
70 Make the git case actually use the DIR argument, and return nil
71 rather than the empty string.
983664c0 72 Avoid error if .git exists but the git executable is not found.
2a5bce4f 73
6cb4da45
MR
742014-01-22 Martin Rudalics <rudalics@gmx.at>
75
76 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
77 * window.el (window-total-size, window-size): New argument ROUND.
78 (window--min-delta-1, window-min-delta, window--max-delta-1):
79 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
80 columns a window can shrink (Bug#16430).
81 (fit-window-to-buffer): Simplify code.
82 * term.el (term-window-width): Call window-body-width again.
83
cc0f2ece
GM
842014-01-22 Glenn Morris <rgm@gnu.org>
85
7b997b14
GM
86 * image.el (image-format-suffixes): Doc fix.
87
44e76f9d
GM
88 * international/quail.el (quail-define-package): Doc fix.
89
73c1c6d7
GM
90 * emacs-lisp/authors.el (authors-valid-file-names):
91 (authors-renamed-files-alist): Additions.
7bfc1caa 92
85a5f61f
GM
93 * vc/vc-git.el (vc-git-print-log): Remove --follow;
94 reverts 2014-01-09 change. (Bug#16422)
95
cc0f2ece
GM
96 * calc/calc-embed.el (thing-at-point-looking-at):
97 * emacs-lisp/map-ynp.el (x-popup-dialog):
98 * obsolete/lmenu.el (x-popup-dialog):
99 * emacs-lisp/package.el (url-recreate-url):
100 * mail/mailclient.el (clipboard-kill-ring-save):
101 * subr.el (x-popup-dialog): Update declaration.
102 * mail/rmail.el (rmail-mime-message-p):
103 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
104
00d2a6bb
DC
1052014-01-21 Daniel Colascione <dancol@dancol.org>
106
107 * progmodes/sh-script.el (sh--inside-noncommand-expression):
108 Correctly detect when we're inside an arithmetic expansion form
109 containing nested parenthesis.
110 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
111 to detect cases where we shouldn't expand "<<" to a heredoc
112 skeleton.
113
dd9d2e9d
SM
1142014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
117 (eldoc--message-command-p): New function.
118 (eldoc-display-message-p): Use it.
119 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
120 message is not automatically erased for us.
121 (eldoc-print-current-symbol-info): Erase previous message, if any.
122
e7d807ca
TH
1232014-01-21 Tassilo Horn <tsdh@gnu.org>
124
4ff0a0e5
TH
125 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
126 specify it's an interactive function.
127
dd9d2e9d
SM
128 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
129 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
130 citations with optional arguments.
131
87503791
LL
1322014-01-21 Leo Liu <sdl.web@gmail.com>
133
134 * simple.el (read--expression): Don't enable eldoc-mode.
135
6cc750ee
SM
1362014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * simple.el (move-beginning-of-line): Make sure we don't move forward
139 (bug#16497).
140
71f16bda
JL
1412014-01-20 Juri Linkov <juri@jurta.org>
142
143 * saveplace.el (toggle-save-place, save-place-to-alist)
144 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
145 'dired-mode) before checking for dired-directory. (Bug#16477)
146
3c5a4839
JL
1472014-01-20 Juri Linkov <juri@jurta.org>
148
149 * indent.el (indent-line-to): Use backward-to-indentation
150 instead of back-to-indentation. (Bug#16461)
151
f952002e
PE
1522014-01-20 Paul Eggert <eggert@cs.ucla.edu>
153
154 Revert some of the CANNOT_DUMP fix (Bug#16494).
155 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
156 but fixing this can wait until after the next release.
157 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
158
93675500
MA
1592014-01-19 Michael Albinus <michael.albinus@gmx.de>
160
161 * eshell/esh-mode.el (eshell-password-prompt-regexp):
162 Use `password-word-equivalents'.
163 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
164 to t. (Bug#5664, Bug#13124)
165
e3af763f
AM
1662014-01-19 Alan Mackenzie <acm@muc.de>
167
168 Bind open-paren-in-column-0-is-defun-start to nil at some entry
169 points.
170 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 171 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
172 * progmodes/cc-mode.el (c-before-change, c-after-change)
173 (c-font-lock-fontify-region): Bind it here.
174
4ff6d92d
MR
1752014-01-19 Martin Rudalics <rudalics@gmx.at>
176
177 * term.el (term-window-width): Call window-text-width instead of
178 window-width (Bug#16470).
179
9a685cf6
PE
1802014-01-18 Paul Eggert <eggert@cs.ucla.edu>
181
182 * simple.el (password-word-equivalents): Remove duplicates.
183 Sort, to make this easier next time.
184 Downcase. Omit ": " after "jelszó".
185
5aa78c2d
JD
1862014-01-18 Jan Djärv <jan.h.d@swipnet.se>
187
188 * term/common-win.el (saved-region-selection): Defvar it.
189 (x-select-text): Set saved-region-selection (Bug#16382).
190
cabb250c
GM
1912014-01-18 Glenn Morris <rgm@gnu.org>
192
193 * emacs-lisp/authors.el (authors-aliases)
194 (authors-renamed-files-alist): Add some entries.
195
a1340440
MA
1962014-01-17 Michael Albinus <michael.albinus@gmx.de>
197
93675500
MA
198 * net/tramp.el (tramp-password-prompt-regexp):
199 Use `password-word-equivalents' if available.
a1340440
MA
200 (tramp-action-password, tramp-process-one-action)
201 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
202
681ce5d2
CY
2032014-01-17 Chong Yidong <cyd@gnu.org>
204
205 * simple.el (password-word-equivalents): New defcustom.
206 * comint.el (comint-password-prompt-regexp): Use it. Bump version
207 to 24.4.
208 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
209 to t. (Bug#13124)
210
fb3d479c
DG
2112014-01-17 Dmitry Gutov <dgutov@yandex.ru>
212
213 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
214 (ruby-align-to-stmt-keywords): Change the default value.
215 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
216 choices.
217 (ruby-smie-rules): Instead of using a hardcoded list of alignable
218 keywords, check against the value of `ruby-alignable-keywords'
219 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
220
0d613483
GM
2212014-01-17 Glenn Morris <rgm@gnu.org>
222
fc23fe2d
GM
223 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
224
0d613483
GM
225 Make M-x authors return zero *Authors Errors* from current logs.
226 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
227 (authors-ignored-files): Add some entries, remove others.
228 (authors-ambiguous-files, authors-valid-file-names):
229 Add some entries.
230 (authors-renamed-files-alist): Add, remove, and adjust entries.
231 (authors-renamed-files-regexps): Add some entries.
232 Remove some very broad ones. Make some entries `lax'.
233 (authors-lax-changelogs): New constant.
234 (authors-disambiguate-file-name): Treat top-level specially.
235 (authors-lax-changelog-p): New function.
236 (authors-canonical-file-name): Check file as written against
237 authors-valid-file-names. Do not special-case etc/.
238 Handle `lax' logs and authors-renamed-files-regexps elements.
239
2dbf4ffd
DG
2402014-01-16 Dmitry Gutov <dgutov@yandex.ru>
241
242 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
243 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
244 callers.
2dbf4ffd 245
87b2a7f2
SM
2462014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
249 Assume we're already in the proper buffer.
250 Inspired by Anders Lindgren <andlind@gmail.com>.
251 (follow-post-command-hook): Call it from the right buffer.
252 (follow-comint-scroll-to-bottom): Adjust call.
253 (follow-all-followers): Use get-buffer-window-list.
254
93acfb0e
DC
2552014-01-15 Daniel Colascione <dancol@dancol.org>
256
257 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
258 `buffer-file-name' in interactive-form so that we don't leave
259 pathless file names in `file-name-history'.
260
ccc6b208
JL
2612014-01-15 Juri Linkov <juri@jurta.org>
262
263 * indent.el (indent-rigidly): Set deactivate-mark to nil
264 in transient indentation mode. (Bug#16438)
265
5c92e00d
DG
2662014-01-15 Dmitry Gutov <dgutov@yandex.ru>
267
268 * emacs-lisp/package.el (package-desc-keywords): New function
269 (Bug#16222).
270 (describe-package-1, package-all-keywords)
271 (package--has-keyword-p): Use it.
272
dac69660
NR
2732014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
274
275 * simple.el (define-alternatives): When creating the
276 COMMAND-alternatives variable, assign COMMAND as its definition
277 name so that `describe-variable' can relocate it.
278
8b63edf8
ML
2792014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
280
281 * font-lock.el (font-lock-keywords): Fix typo in docstring
282 (bug#16307).
283
c6a0b8eb
AM
2842014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
285
286 * ispell.el (ispell-region): Reset `in-comment' for new line
287 instead of wrongly reset `add-coment' (bug#13577).
288
02bf443d
DU
2892014-01-14 Daiki Ueno <ueno@gnu.org>
290
291 * epa-file.el (epa-file-write-region): Encode the region according
292 to `buffer-file-format'. Problem reported at:
293 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
294
fd7fde15
SM
2952014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
298 so it applies in the right buffer (bug#16410).
299
c176054f
DC
3002014-01-13 Daniel Colascione <dancol@dancol.org>
301
302 * textmodes/rst.el (rst-define-key): Provide deprecated
303 keybindings through named functions instead of anonymous ones so
304 that "??" doesn't appear in describe-mode output.
305
e3f33e5d
BG
3062014-01-13 Bastien Guerry <bzg@gnu.org>
307
308 * simple.el (define-alternatives): Call the selected command
309 interactively. When setting `COMMAND--implementation' for the
310 first time, tell the user how to chose another implementation.
311 Enhance the docstring.
312
c055d654
SM
3132014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
316 (log-edit--match-first-line): New function.
317 (log-edit-font-lock-keywords): Use it.
318 (log-edit-mode): Make jit-lock-defer-multiline work.
319
d791cc3b
BG
3202014-01-13 Bastien Guerry <bzg@gnu.org>
321
322 * rect.el (rectangle-mark-mode): When the region is not active,
323 display a message saying that the mark as been set and that
324 rectangle mode is in use.
325 (rectangle--highlight-for-redisplay): Only put an overlay with a
326 visible vertical bar when (display-graphic-p) is non-nil.
327 This partially fixes Bug#16403.
328
3c0c4562
JL
3292014-01-13 Juri Linkov <juri@jurta.org>
330
331 * info.el (Info-find-file): Go to DIR before displaying the error
332 about a nonexistent file if no previous Info file is visited.
333 Use `user-error' instead of `error' for "Info file %s does not exist".
334 (Info-find-node-2): In case of a nonexistent node in unwind forms
335 go to the Top node if there is no previous node to revert to.
336 (Bug#16405)
337
25a700d0
MR
3382014-01-13 Martin Rudalics <rudalics@gmx.at>
339
340 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
341 * window.el (fit-frame-to-buffer): Fix doc-string.
342 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
343 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
344 when avoiding that frame goes partially off-screen.
345 (fit-window-to-buffer): Respect window-min-height/-width
346 (Bug#14096).
347
6ae948d8
SM
3482014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
351 after an empty line.
352
6137cb82
SM
3532014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * net/shr.el (shr-render-region): Autoload.
356
e6344e17
XF
3572014-01-12 Xue Fuqiao <xfq.free@gmail.com>
358
359 * net/eww.el (eww-download-directory): Rename from
360 `eww-download-path' (Bug#16419).
361
3b922c70
LL
3622014-01-12 Leo Liu <sdl.web@gmail.com>
363
364 * dired-x.el (dired-mode-map): Fix last change.
365
366 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
367
4fa51741
PE
3682014-01-12 Paul Eggert <eggert@cs.ucla.edu>
369
370 Spelling fixes.
371 * emacs-lisp/generic.el (generic--normalize-comments):
372 Rename from generic--normalise-comments. All uses changed.
373 * play/bubbles.el (bubbles--neighborhood-score):
374 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
375 (bubbles--neighborhood-available)
376 (bubbles--update-neighborhood-score):
377 Rename from names with 'neighbourhood'. All uses changed.
378
9b335362
LL
3792014-01-12 Leo Liu <sdl.web@gmail.com>
380
381 Re-implement the feature of showing eldoc info after editing.
382 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
383 (eldoc-edit-message-commands): New function.
384 (eldoc-print-after-edit): New variable.
385 (eldoc-pre-command-refresh-echo-area): Emit message only by
386 eldoc-message-commands.
387 (eldoc-mode): Restrict eldoc-message-commands to editing commands
388 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 389 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 390 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 391
e2a095b1
GM
3922014-01-11 Dani Moncayo <dmoncayo@gmail.com>
393 Eric S. Raymond <esr@thyrsus.com>
9685190b 394
841a6d0c 395 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 396 function works correctly in either a Bazaar or Git repo.
0abf4134 397
e2a095b1
GM
3982014-01-11 Eric S. Raymond <esr@thyrsus.com>
399
6137cb82
SM
400 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
401 Goes with removal of the joke manpages from /etc.
9685190b 402
3923e7bd
KH
4032014-01-10 K. Handa <handa@gnu.org>
404
6137cb82
SM
405 * mail/rmail.el (rmail-get-coding-system):
406 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 407
d2f16e93
GM
4082014-01-10 Glenn Morris <rgm@gnu.org>
409
410 * emacs-lisp/authors.el (authors-fixed-entries):
411 Update for files that no longer exist.
412
7e03bb32
ER
4132014-01-10 Eric S. Raymond <esr@thyrsus.com>
414
415 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 416 24.3 (Tested).
7e03bb32 417
dd806710
BB
4182014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
419
420 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
421 and Podfile.
422
ed6ec139
EZ
4232014-01-10 Eli Zaretskii <eliz@gnu.org>
424
425 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
426
cc33cac9
CY
4272014-01-10 Chong Yidong <cyd@gnu.org>
428
6137cb82 429 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 430
d9d836b5
AL
4312014-01-10 Anders Lindgren <andlind@gmail.com>
432
433 * follow.el (follow-cache-command-list): Include right-char and
434 left-char.
435
06827ec8
PE
4362014-01-10 Paul Eggert <eggert@cs.ucla.edu>
437
438 Spelling fixes.
439 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
440 * woman.el (woman-mark-horizontal-position):
441 Rename from woman-mark-horizonal-position. Use changed.
442
458dbf5e
GM
4432014-01-10 Glenn Morris <rgm@gnu.org>
444
dad6fae7
GM
445 * info.el (info-initialize): If running uninstalled, ensure our
446 own info files are always found first, even if INFOPATH is set.
447
458dbf5e
GM
448 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
449
05e0afce
DE
4502014-01-09 David Engster <deng@randomsample.de>
451
452 * emacs-lisp/eieio-custom.el:
453 * emacs-lisp/eieio-opt.el: Set generated autoload file to
454 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
455 * emacs-lisp/eieio.el: Regenerate autoloads.
456
f29778b3
ER
4572014-01-09 Eric S. Raymond <esr@thyrsus.com>
458
459 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 460 following renames. (Bug#8756)
f29778b3 461
684d44ef
SM
4622014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
465 (bug#16382).
466 (activate-mark): Add `no-tmm' argument.
467 (set-mark, push-mark-command): Use it instead of running
468 activate-mark-hook by hand.
469
9475054f
ER
4702014-01-08 Eric S. Raymond <esr@thyrsus.com>
471
472 In preparation for the move to git, sanitize out some
473 Bazaar-specific names.
474
38942b9c
GM
475 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
476
9475054f 477 * version.el (emacs-bzr-version): Name changed to
689c9ca5 478 emacs-repository-version. Obsolete-variable alias made.
9475054f 479 * loadup.el: Follow through on this name change.
a12bf61e 480 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
481 assumption about the version control system in use.
482
0f918d96 4832014-01-08 David Engster <deng@randomsample.de>
abb82152 484
684d44ef
SM
485 * help-fns.el (help-fns-describe-function-functions):
486 New variable to call functions for augmenting help buffers.
abb82152
DE
487 (describe-function-1): Remove explicit calls to
488 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
489 `help-fns--obsolete'. Put them in above new variable instead, and
490 call them through `run-hook-with-args'.
491 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
492 `eieio-describe-class'. Not meant for interactive use anymore,
493 but to augment existing help buffers. Remove optional second
684d44ef
SM
494 argument. Create proper button for file location.
495 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
496 possible.
497 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
498 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
499 (describe-method, describe-generic, eieio-describe-method):
500 Remove aliases.
0f918d96
DE
501 (eieio-help-constructor, eieio-help-generic): Rename from
502 `eieio-describe-constructor' and `eieio-describe-generic', resp.
503 Rewrite to use `insert' in the current buffer and use proper help
504 buttons.
505 (eieio-help-find-method-definition)
506 (eieio-help-find-class-definition): Also accept symbols as
507 arguments.
508 (eieio-help-mode-augmentation-maybee): Remove.
509 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
510 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
511 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 512
136b74c5
PE
5132014-01-08 Paul Eggert <eggert@cs.ucla.edu>
514
515 Spelling fixes.
516 * language/china-util.el (hz-ascii-designation):
517 Rename from hz-ascii-designnation.
518 (hz-ascii-designation): Rename from hz-ascii-designnation.
519 All uses changed.
520
ec6c7de2
SM
5212014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
524 package-alist.
525
d6262c7c
BG
5262014-01-08 Bastien Guerry <bzg@gnu.org>
527
4b9e6087
GM
528 * emacs-lisp/package.el (package-delete):
529 Correctly delete the package from package-alist.
d6262c7c 530
0a3eec32
DU
5312014-01-08 Daiki Ueno <ueno@gnu.org>
532
533 * emacs-lisp/package.el (url-recreate-url): Declare.
534 (url-http-target-url): Declare.
4b9e6087 535 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
536 (package--check-signature): Don't re-signal errors from
537 package--with-work-buffer. Suggested by Stefan Monnier.
538
68f0bb97
BG
5392014-01-07 Bastien Guerry <bzg@gnu.org>
540
541 * minibuffer.el (completion--try-word-completion): When both a
542 hyphen and a space are possible candidates for the character
543 following a word, display both candidates. (Bug#15980)
544
7e1899d7
MR
5452014-01-07 Martin Rudalics <rudalics@gmx.at>
546
547 * window.el (balance-windows-2): While rounding don't give a
548 window more than the remainder. Bug#16351, Bug#16383.
549
0030ec15
GM
5502014-01-07 Glenn Morris <rgm@gnu.org>
551
552 * menu-bar.el (menu-bar-help-extra-packages): Remove.
553 (menu-bar-help-menu): Use view-external-packages instead.
554
2b6b4f20
BG
5552014-01-07 Bastien Guerry <bzg@gnu.org>
556
557 * emacs-lisp/package.el (package-delete): Also delete the package
558 name from `package-alist', not its description only.
559
e9be0a13
GM
5602014-01-07 Glenn Morris <rgm@gnu.org>
561
562 * help.el (view-external-packages):
563 * menu-bar.el (menu-bar-help-extra-packages):
564 Visit efaq.info rather than etc/MORE.STUFF.
565
e4f74da9
JL
5662014-01-07 Juri Linkov <juri@jurta.org>
567
568 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
569 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
570
571 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
572 that shadows RET. (Bug#16342)
573
de7ce2d1
CY
5742014-01-07 Chong Yidong <cyd@gnu.org>
575
576 * isearch.el (isearch-yank-char, isearch-yank-word)
577 (isearch-yank-line): Doc fix.
578
6bdd9204
SM
5792014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
582 * emacs-lisp/elint.el (elint-find-builtins):
583 * emacs-lisp/eldoc.el (eldoc-symbol-function):
584 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
585 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
586 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
587 * apropos.el (apropos-safe-documentation):
588 * subr.el (symbol-file): Remove redundant fboundp.
589 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
590
daccca97
BG
5912014-01-06 Bastien Guerry <bzg@gnu.org>
592
593 * hl-line.el (global-hl-line-overlay): Make a local variable.
594 (global-hl-line-overlays): New variable to store all overlays.
595 (global-hl-line-mode): Don't delete overlays from the current
596 buffer when `global-hl-line-sticky-flag' is non-nil.
597 (global-hl-line-highlight): Add new overlays to
598 `global-hl-line-overlays'.
599 (global-hl-line-unhighlight-all): New function to delete all
600 overlays when turning off `global-hl-line-mode'.
601 This fixes Bug#16183.
602
ec00f20f
SM
6032014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * subr.el (set-transient-map): Fix nested case and docstring.
606
a0031f97
TH
6072014-01-06 Tassilo Horn <tsdh@gnu.org>
608
609 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
610 `Texinfo' entry.
611
bf6a77f3
DC
6122014-01-06 Daniel Colascione <dancol@dancol.org>
613
614 Fix defun navigation in vc log view.
615
616 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
617 like `beginning-of-defun'.
618 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
619 log-view-end-of-defun to log-view-end-of-defun-1. Replace
620 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 621 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 622 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 623
d5081c1e
PE
6242014-01-06 Paul Eggert <eggert@cs.ucla.edu>
625
626 Spelling fixes.
627 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
628 * emacs-lisp/debug.el (cancel-debug-on-entry):
629 * epg.el (epg-error-to-string):
630 * files.el (recover-file):
631 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
632 * mail/emacsbug.el (report-emacs-bug-hook):
633 * mail/sendmail.el (mail-recover):
634 * ses.el (ses-yank-resize):
635 * term/ns-win.el (ns-print-buffer):
636 Spelling fixes in diagnostics, mostly for "canceled" with one L.
637 * epg.el (epg-key-capability-alist): Rename from misspelled version.
638 All uses changed.
639 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
640
53f6b148
LL
6412014-01-06 Leo Liu <sdl.web@gmail.com>
642
643 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 644 to avoid shadowing global key. (Bug#16354)
53f6b148 645
b82ace2f
DC
6462014-01-06 Daniel Colascione <dancol@dancol.org>
647
648 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
649 rst-mode.
650
3669b636
MR
6512014-01-05 Martin Rudalics <rudalics@gmx.at>
652
653 * window.el (balance-windows): Add mising t to fix Bug#16351.
654
1a29adc2
LMI
6552014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
656
657 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
658 (bug#16285).
3d95a0f4
LMI
659 (shr-insert): If we have a word that's longer than `shr-width',
660 break after it anyway. Otherwise we'll do no breaking once we get
661 such a long word.
1a29adc2 662
f4018140
KN
6632014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
664
3fcfc4ee 665 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
666 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
667 (eww-history-quit): Delete and use quit-window.
668 (eww-history-kill): Delete, because it doesn't work well and
669 not necessary.
670 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 671
4e619754
PE
6722014-01-05 Paul Eggert <eggert@cs.ucla.edu>
673
73dbf960
PE
674 Fix misspelling of 'chinese' in rx (Bug#16237).
675 * emacs-lisp/rx.el (rx-categories): Correct spelling of
676 chinese-two-byte.
677
4e619754
PE
678 Change subword regexps back to vars (Bug#16296).
679 * progmodes/subword.el (subword-forward-regexp)
680 (subword-backward-regexp): Change these back to variables.
681
e18b70fc
SM
6822014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
685 syntax-begin-function (bug#16247).
686
0d53f628
CY
6872014-01-03 Chong Yidong <cyd@gnu.org>
688
689 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
690 (advice--docstring): Delete variable.
691 (advice--make-1): Leave the docstring empty.
692 (advice-add): Use function-documentation for advised docstring.
693
694 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
695 Ignore function-documentation property when getting documentation.
696 (ad-activate-advised-definition): Use function-documentation
697 generate the docstring.
698 (ad-make-advised-definition): Don't call
699 ad-make-advised-definition-docstring.
700 (ad-make-advised-definition-docstring, ad-advised-definition-p):
701 Delete functions.
702
703 * progmodes/sql.el (sql-help): Use function-documentation instead
704 of dynamic-docstring-function property. No need to autoload now.
705 (sql--help-docstring): New variable.
706 (sql--make-help-docstring): Use it.
707
6f547583
SM
7082014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
709
6ef9aed8
SM
710 * ielm.el (ielm-tab): Retarget.
711 (ielm-map): Use ielm-tab for tab.
712 (ielm-complete-filename): Use comint-filename-completion.
713 (ielm-complete-symbol): Remove.
714 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
715 remove ielm-tab from completion-at-point-functions (bug#16224).
716
6f547583
SM
717 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
718 Beware signals raised by predicates (bug#16201).
719
a574edbe
RS
7202014-01-02 Richard Stallman <rms@gnu.org>
721
e831604d
RS
722 * dired-aux.el (dired-do-print): Handle printer-name.
723
6f547583
SM
724 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
725 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
726 (rmail-epa-decrypt): Turn off mime processing.
727
3fcfc4ee 728 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
729 Add parens in message-id.
730
731 * mail/rmail.el (rmail-get-coding-function): Variable.
732 (rmail-get-coding-system): Use it.
733
04311a16
KH
7342013-12-31 Eli Zaretskii <eliz@gnu.org>
735
736 * international/mule-conf.el: Unify the charset indian-is13194.
737 (indian-is13194): Specify unify-map.
738
c8d89778
LL
7392013-12-31 Leo Liu <sdl.web@gmail.com>
740
741 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
742
e63ace37
DC
7432013-12-30 Daniel Colascione <dancol@dancol.org>
744
9e0bf19a
DC
745 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
746 of printing a useless when we resume from sleep.
747
e63ace37
DC
748 * progmodes/sh-script.el
749 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
750 in indentation code. (Bug#16233)
751
e9d6c46a
JT
7522013-12-28 João Távora <joaotavora@gmail.com>
753
6f547583
SM
754 * elec-pair.el (electric-pair-post-self-insert-function):
755 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 756
bf7bea5d
EZ
7572013-12-28 Eli Zaretskii <eliz@gnu.org>
758
759 * frame.el (window-system-for-display): Don't allow to create a
760 GUI frame from a -nw session on MS-Windows. (Bug#14739)
761
8449dd1f
GM
7622013-12-28 Glenn Morris <rgm@gnu.org>
763
9c5a5c77
GM
764 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
765 Update callers.
766
767 * apropos.el (apropos-match-face):
768 * calculator.el (calculator-displayer):
769 * dabbrev.el (dabbrev-search-these-buffers-only):
770 * face-remap.el (buffer-face-mode-face):
771 * simple.el (yank-handled-properties):
772 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
773 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
774 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
775 (hashcash-double-spend-database):
776 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
777 (ruby-deep-indent-paren-style):
778 * textmodes/flyspell.el (flyspell-auto-correct-binding):
779 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
780 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
781 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
782 Specify custom types.
783
bb098075
GM
784 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
785 * bookmark.el (bookmark-bmenu-use-header-line):
786 * doc-view.el (doc-view-scale-internally):
787 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
788 * register.el (register-preview-delay):
789 * net/shr.el (shr-bullet):
790 * progmodes/cfengine.el (cfengine-cf-promises)
791 (cfengine-parameters-indent):
792 * progmodes/octave.el (inferior-octave-error-regexp-alist):
793 * textmodes/reftex-vars.el (reftex-label-regexps):
794 * vc/log-edit.el (log-edit-setup-add-author): Add version.
795
9c61f806
GM
796 * net/tls.el (tls-certtool-program): Fix default value.
797
798 * desktop.el (desktop-restore-in-current-display):
799 * newcomment.el (comment-empty-lines):
800 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
801 (idlwave-pad-keyword):
802 * progmodes/tcl.el (tcl-tab-always-indent):
803 * textmodes/reftex-vars.el (reftex-index-default-tag):
804 * elec-pair.el (electric-pair-skip-whitespace):
805 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
806
8449dd1f
GM
807 * emacs-lisp/authors.el (authors-ignored-files)
808 (authors-valid-file-names, authors-renamed-files-alist): Additions.
809
fdadeb49
JC
8102013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
811
72140a0f
GM
812 * shell.el (shell-dynamic-complete-command): Doc fix.
813 (shell--command-completion-data): Shell completion now matches
814 executable filenames from the current buffer's directory, on
da5ecfa9 815 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 816
e572a7d8
LI
8172013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
818
819 * net/shr.el (shr-insert): Don't infloop if the width is zero.
820
7514d3f8
SM
8212013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
822
a4151f3b
SM
823 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
824 (bug#16251).
825
7514d3f8
SM
826 * electric.el: Move all electric-pair-* to elec-pair.el.
827 * elec-pair.el: New file, split from electric.el.
828
ac5758d1
LI
8292013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
830
831 * net/shr.el (shr-find-fill-point): Don't try to fill if the
832 indentation level is larger than the width, because that will
833 infloop.
834 (shr-insert): Fill repeatedly long texts, so that Japanese is
835 formatted correctly (bug#16263).
24a6b65e
LI
836 (shr-find-fill-point): Off by one error in comparison with the
837 indentation.
ac5758d1 838
7514d3f8 8392013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
840
841 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 842 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
843 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
844 if that keeps or improves their balance in buffers.
845 (electric-pair-delete-adjacent-pairs): Delete the pair when
846 backspacing over adjacent matched delimiters.
847 (electric-pair-open-extra-newline): Open extra newline when
848 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
849 (electric--sort-post-self-insertion-hook):
850 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
851 minor-modes are activated.
852 * simple.el (newline-and-indent): Call newline with interactive
853 set to t.
854 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
855 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
856 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
857 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
858 electric-pair-open-newline-between-pairs to nil.
859
fbcc63a3
FEG
8602013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
861
862 * progmodes/python.el: Use lexical-binding.
863 (python-nav-beginning-of-defun): Stop searching ASAP.
864
ed78d16c
XF
8652013-12-25 Xue Fuqiao <xfq.free@gmail.com>
866
867 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
868 Fix interactive spec. Doc fix. (Bug#15754)
869
38b2c142
KY
8702013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
871
872 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 873 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
874 Fix edebug spec (bug#16184).
875
3c856c14
LI
8762013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
877
83fa295c 878 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
879 (shr-insert): Don't infloop if we can't find a good place to break
880 the line (bug#16256).
3c856c14 881
01379221
FEG
8822013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
883
884 * progmodes/python.el:
885 (python-nav--lisp-forward-sexp): New function.
886 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
887 python-nav-lisp-forward-sexp-safe.
888 (python-nav--forward-sexp): New argument SAFE allows switching
889 forward sexp movement behavior for parens.
890 (python-nav-forward-sexp): Throw errors on unterminated parens
891 (Bug#16191).
892 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
893 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
894 (python-shell-buffer-substring):
895 Use `python-nav-forward-sexp-safe'.
01379221 896
99e4926f
LI
8972013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
898
899 * net/shr.el (shr-find-fill-point): Don't break lines before a
900 quotation mark.
c6c20584
LI
901 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
902 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 903 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 904
fec0e828
KN
9052013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
906
907 * net/eww.el (eww-form-textarea): Use a different face for
908 textareas than text input since they have different keymaps
909 (bug#16142).
910
89c868ad
FEG
9112013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
912
7514d3f8
SM
913 * progmodes/python.el (python-nav-beginning-of-statement):
914 Speed up (Bug#15295).
89c868ad 915
eeef121a
LI
9162013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
917
918 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
919 the window configuration.
920
121ea65f
EZ
9212013-12-24 Eli Zaretskii <eliz@gnu.org>
922
923 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
924 we run on MS-Windows or MS-DOS.
925
18cee9ec
MR
9262013-12-24 Martin Rudalics <rudalics@gmx.at>
927
928 * window.el (balance-windows-area): Call window-size instead of
929 window-height and window-width. Bug#16241.
930
58f2b9a5
LI
9312013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
932
933 * net/eww.el (eww-bookmark-quit): Remove.
934 (eww-bookmark-browse): Restore the window configuration when you
935 choose a bookmark (bug#16144).
936
d64b6308
DC
9372013-12-24 Daniel Colascione <dancol@dancol.org>
938
939 * icomplete.el: Remove redundant :group arguments to `defcustom'
940 throughout.
941 (icomplete-show-matches-on-no-input): New customizable variable.
942 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
943 we have something to show.
7514d3f8 944 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 945
0da54898
DC
9462013-12-23 Daniel Colascione <dancol@dancol.org>
947
948 * icomplete.el: Move `provide' to end of file.
949
b90aa4f4
TZ
9502013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
951
952 * net/gnutls.el (gnutls-verify-error): Add version tag.
953
8cd22a08
CY
9542013-12-23 Chong Yidong <cyd@gnu.org>
955
956 * subr.el (set-transient-map): Rename from
957 set-temporary-overlay-map. Doc fix.
958
959 * face-remap.el (text-scale-adjust):
960 * indent.el (indent-rigidly):
961 * kmacro.el (kmacro-call-macro):
962 * minibuffer.el (minibuffer-force-complete):
963 * repeat.el (repeat):
964 * simple.el (universal-argument--mode):
965 * calendar/todo-mode.el (todo-insert-item--next-param):
966 * progmodes/f90.el (f90-abbrev-start): Callers changed.
967
7510b021
CY
968 * indent.el (indent-rigidly): Use substitute-command-keys.
969
72140a0f 9702013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
971
972 * net/eww.el (eww-tag-select): Add text-property to jump to next
973 select field.
e9dc713d 974 (eww): Add non-supported ftp error.
56890ecd 975
1f87a56c
DG
9762013-12-22 Dmitry Gutov <dgutov@yandex.ru>
977
978 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
979 comments. Handle electric indent after typing `?' and `!'.
980
dca38cf9
CY
9812013-12-22 Chong Yidong <cyd@gnu.org>
982
983 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
984 applicable to a frame, fall back on the defface spec.
985 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 986
f2351498
DG
9872013-12-22 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
990 after `{'. We need it after block openers, and it doesn't seem
991 to hurt after hash openers.
992
6cddebc1
DG
9932013-12-22 Dmitry Gutov <dgutov@yandex.ru>
994
995 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
996 extracted from `ruby-smie-rules'.
997 (ruby--electric-indent-chars): New variable.
998 (ruby--electric-indent-p): New function.
999 (ruby-mode): Use `electric-indent-functions' instead of
1000 `electric-indent-chars'.
1001
65a1da00
DG
10022013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1005 docstring.
1006 (ruby-smie-rules): Indent plus one level after `=>'.
1007
b51ad4cf
RS
10082013-12-21 Richard Stallman <rms@gnu.org>
1009
1010 * simple.el (newline): Doc fix.
1011
72140a0f 10122013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1013
e9dc713d 1014 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1015 (eww-history-browse, eww-history-quit, eww-history-kill)
1016 (eww-history-mode-map, eww-history-mode): New command and
1017 functions to list browser histories.
e9dc713d
JB
1018 (eww-form-text): Support text form with disabled
1019 and readonly attributes.
1020 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1021
5e1901c1
RS
10222013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1023
1024 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1025 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1026 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1027 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1028 Use `user-error'.
1029 (eww-bookmark-mode-map): Add menu.
1030 (eww-render, eww-mode): Use `setq-local'.
1031 (eww-tool-bar-map): New variable.
1032 (eww-mode): Set `tool-bar-map'.
1033 (eww-view-source): Check for `html-mode' with `fboundp'.
1034
073d5cfd
LMI
10352013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1036
1037 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1038 elements with text inside. Also remove debugging.
1039
41cf3d11
JD
10402013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1041
1042 * cus-start.el (all): Add ns-use-srgb-colorspace.
1043
aac2b673
CY
10442013-12-21 Chong Yidong <cyd@gnu.org>
1045
1046 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1047 undefined. Thus, theme settings for undefined faces do not take
1048 effect until the faces are defined with defface, the same as with
1049 theme variables.
1050
1051 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1052 (face-spec-reset-face): Don't assign extra properties in temacs.
1053 (face-spec-recalc): Apply X resources too.
1054
bacb0e77
CY
10552013-12-21 Chong Yidong <cyd@gnu.org>
1056
1057 * faces.el (face-spec-set):
1058 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1059 * custom.el (defface): Doc fixes (Bug#16203).
1060
77221051
CY
1061 * indent.el (indent-rigidly-map): Add docstring, and move commands
1062 into named functions.
1063 (indent-rigidly-left, indent-rigidly-right)
1064 (indent-rigidly-left-to-tab-stop)
1065 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1066 indentation direction based on bidi direction, and accumulate
1067 sequential commands in a single undo boundary.
1068 (indent-rigidly--pop-undo): New utility function.
1069
e0eb0550
JB
10702013-12-20 Juanma Barranquero <lekktu@gmail.com>
1071
1072 * faces.el (read-face-name): Require crm.el when using crm-separator.
1073
3282bd2e
DC
10742013-12-20 Daniel Colascione <dancol@dancol.org>
1075
1076 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1077 so that we don't reflow comments into the shebang line.
1078
1d42e5b6
JL
10792013-12-20 Juri Linkov <juri@jurta.org>
1080
1081 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1082 a position when `dired-directory' is non-nil. Check integer
1083 positions with `integerp'.
1084 (toggle-save-place, save-places-to-alist): Add check for
1085 `dired-directory'.
1086 (save-place-find-file-hook): Check integer positions with
1087 `integerp'.
1088 (save-place-dired-hook): Use `dired-goto-file' when
1089 `dired-filename' is found in the assoc list. Check integer
1090 positions with `integerp'.
1091 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1092
1093 * dired.el (dired-initial-position-hook): Rename back from
1094 `dired-initial-point-hook'.
1095 (dired-initial-position): Rename `dired-initial-point-hook' to
1096 `dired-initial-position-hook'.
1097 (dired-file-name-at-point): Doc fix. (Bug#15329)
1098
24da7273
JL
10992013-12-20 Juri Linkov <juri@jurta.org>
1100
1101 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1102 (read-regexp-suggestions): New function.
1103 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1104 Use `read-regexp-suggestions'. Add non-empty default to history
1105 for empty input.
1106 (occur-read-regexp-defaults-function): Remove function.
1107 (occur-read-primary-args): Use `regexp-history-last' instead of
1108 `occur-read-regexp-defaults-function'.
1109
1110 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1111 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1112 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1113 `hi-lock-read-regexp-defaults-function'. Doc fix.
1114 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1115 with `find-tag-default-as-symbol-regexp'. Doc fix.
1116 (hi-lock-read-regexp-defaults): Remove function.
1117 (hi-lock-regexp-okay): Add check for null.
1118
1119 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1120 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1121
1122 * subr.el (find-tag-default-as-symbol-regexp): New function.
1123 (find-tag-default-as-regexp): Move symbol regexp formatting to
1124 `find-tag-default-as-symbol-regexp'.
1125
137f57c8
S
11262013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1127
1128 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1129 (Bug#14179)
1130
f3a66082
SB
11312013-12-20 Stephen Berman <stephen.berman@gmx.net>
1132
1133 * calendar/todo-mode.el: New implementation of item insertion
1134 commands and key bindings.
1135 (todo-key-prompt): New face.
1136 (todo-insert-item): New command.
1137 (todo-insert-item--parameters): New defconst, replacing defvar
1138 todo-insertion-commands-args-genlist.
1139 (todo-insert-item--param-key-alist): New defconst, replacing
1140 defvar todo-insertion-commands-arg-key-list.
1141 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1142 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1143 (todo-insert-item--next-param): New functions.
1144 (todo-insert-item--args, todo-insert-item--argleft)
1145 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1146 New variables.
1147 (todo-key-bindings-t): Change binding of "i" from
1148 todo-insertion-map to todo-insert-item.
1149 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1150 (todo-insertion-command-name, todo-insertion-commands-names)
1151 (todo-define-insertion-command, todo-insertion-commands)
1152 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1153
2f99433b
SB
11542013-12-20 Stephen Berman <stephen.berman@gmx.net>
1155
1156 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1157 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1158 eval-when-compile.
1159 (todo-move-category): Allow choosing a non-existing todo file to
1160 move the category to, and create that file.
1161 (todo-default-priority): New user option.
1162 (todo-set-item-priority): Use it.
1163 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1164 (desktop-restore-file-buffer): Declare.
1165 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1166 (todo-modes-set-2): Locally set desktop-save-buffer to
1167 todo-desktop-save-buffer.
1168 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1169 (auto-mode-alist): Add autoload cookie.
1170
131e4695
BB
11712013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1172
1173 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1174 helpers.el was a poor choice of name.
3cbfb935
BB
1175 (string-remove-prefix): New function.
1176 (string-remove-suffix): New function.
131e4695 1177
c44de18d
MR
11782013-12-20 Martin Rudalics <rudalics@gmx.at>
1179
1180 Fix assignment for new window total sizes.
1181 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1182 (window--pixel-to-total-1, window--pixel-to-total):
1183 Fix calculation of new total sizes.
c44de18d 1184
ca65efcc
VS
11852013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1186
1187 * comint.el (comint-output-filter): Fix rear-nonsticky property
1188 placement (Bug#16010).
1189
a9574eb7
CY
11902013-12-20 Chong Yidong <cyd@gnu.org>
1191
1192 * faces.el (read-color): Minor fix for completion function.
1193
b520f210
DG
11942013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1195
e0eb0550
JB
1196 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1197 New option. (Bug#16182)
b520f210
DG
1198 (ruby-smie--indent-to-stmt-p): Use it.
1199 (ruby-smie-rules): Revert the logic in the handling of `when'.
1200 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1201 (ruby-deep-arglist, ruby-deep-indent-paren)
1202 (ruby-deep-indent-paren-style): Update docstrings to note that the
1203 vars don't have any effect with SMIE.
1204
26b75b45
JB
12052013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1206
1207 * calc/calc.el (calc-enter, calc-pop): Use the variable
1208 `calc-context-sensitive-enter'.
1209
cf91cee7
LMI
12102013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1211
1212 * net/shr.el (shr-insert): Protect against infloops in degenerate
1213 tables.
1214
51d971b4
RS
12152013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1216
1217 * progmodes/octave.el (octave): Add link to manual and octave
1218 homepage.
1219 (octave-mode-menu): Link to octave-mode manual.
1220
8c2e462a
LL
12212013-12-20 Leo Liu <sdl.web@gmail.com>
1222
1223 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1224 insertion using skeleton-end-newline. (Bug#16138)
1225
501158bc
JL
12262013-12-20 Juri Linkov <juri@jurta.org>
1227
1228 * replace.el (occur-engine): Use `add-face-text-property'
1229 to add the face property to matches and titles. (Bug#14645)
1230
1231 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1232 the palette of other hi-lock colors.
1233 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1234
50ab1da6
JL
12352013-12-19 Juri Linkov <juri@jurta.org>
1236
1237 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1238 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1239 (minibuffer-history-symbol): Move variable declaration closer to
1240 its usage.
1241
1242 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1243 (Bug#14785)
1244
3d6e95e7
JL
12452013-12-19 Juri Linkov <juri@jurta.org>
1246
1247 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1248 New function.
1249 (log-edit-hook): Add it to :options. (Bug#16170)
1250
b41594fd
JL
12512013-12-19 Juri Linkov <juri@jurta.org>
1252
1253 * simple.el (eval-expression-print-format): Don't check for
1254 command names and the last command. Always display additional
1255 formats of the integer result in the echo area, and insert them
1256 to the current buffer only with a zero prefix arg.
1257 Display character when char-displayable-p is non-nil.
1258 (eval-expression): With a zero prefix arg, set `print-length' and
1259 `print-level' to nil, and insert the integer values from
1260 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1261
1262 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1263 `eval-last-sexp-arg-internal'. Doc fix.
1264 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1265 `eval-last-sexp-print-value'. Doc fix.
1266 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1267 Set `print-length' and `print-level' to nil when arg is zero.
1268 (eval-last-sexp): Doc fix.
1269 (eval-defun-2): Print the integer values from
1270 `eval-expression-print-format' at the end.
1271
1272 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1273 values from `eval-expression-print-format' at the end.
1274
1275 * ielm.el (ielm-eval-input): Print the integer
1276 values from `eval-expression-print-format' at the end.
1277
8f2be364
TZ
12782013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1279
1280 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1281 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1282
2230a6e3
SM
12832013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1286 (hl-line-highlight, global-hl-line-highlight): Use it.
1287 (hl-line-overlay): Use defvar-local.
1288
1269a680
JD
12892013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1290
1291 * term/ns-win.el: Require dnd.
1292 (global-map): Remove drag items.
1293 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1294 (ns-set-background-at-mouse):
1295 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1296 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1297 New functions.
1269a680 1298
049638ad
GM
12992013-12-19 Glenn Morris <rgm@gnu.org>
1300
1301 * emacs-lisp/ert.el (ert-select-tests):
1302 Fix string/symbol mixup. (Bug#16121)
1303
ce41edb4
DG
13042013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1307 keywords to their parent.
1308
7e1549c9
DG
13092013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1312 first arg to be a string (fixed dead code), or an operator symbol.
1313 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1314 operator symbols.
1315 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1316 did nothing. Don't respond to `(:after ".")', it will be called
1317 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1318 change anything. Only return indentation for binary operators
1319 when they are hanging. De-dent opening paren when its parent is
1320 `.', otherwise it looks bad when the dot is not at bol or eol
1321 (bug#16182).
1322
3ee4cd64
JL
13232013-12-19 Juri Linkov <juri@jurta.org>
1324
1325 * replace.el (query-replace-read-args): Split a non-negative arg
1326 and a negative arg into separate elements.
1327 (query-replace, query-replace-regexp, replace-string)
1328 (replace-regexp): Add arg `backward'. Doc fix.
1329 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1330 move point to the beginning of the match.
1331 (replace-search, replace-highlight): Use new arg `backward'
1332 to set the value of `isearch-forward'.
1333 (perform-replace): Add arg `backward' and use it to perform
1334 replacement backward. (Bug#14979)
1335
1336 * isearch.el (isearch-query-replace): Use a negative prefix arg
1337 to call `perform-replace' with a non-nil arg `backward'.
1338
0cda6b7b
JL
13392013-12-18 Juri Linkov <juri@jurta.org>
1340
1341 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1342 to the default list. Move `log-edit-show-files' to the end.
1343 Add more available functions to options.
1344 (log-edit): Move default specific settings to
1345 `log-edit-insert-message-template'. Don't move point.
1346 (log-edit-insert-message-template): New function.
1347 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1348 (Bug#16170)
1349
b216f0a6
JL
13502013-12-18 Juri Linkov <juri@jurta.org>
1351
1352 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1353 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1354
1d1c55dc
LL
13552013-12-18 Leo Liu <sdl.web@gmail.com>
1356
e9dc713d
JB
1357 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1358 (Bug#16186)
1d1c55dc 1359
64e4c76e
EZ
13602013-12-18 Eli Zaretskii <eliz@gnu.org>
1361
1362 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1363 formats for displaying file sizes when the -s switch is given.
1364 Instead, compute a separate format for displaying the size in
1365 blocks, which is displayed in addition to the "regular" size.
1366 When -h is given in addition to -s, produce size in blocks in
1367 human-readable form as well. (Bug#16179)
1368
b2984e39
TH
13692013-12-18 Tassilo Horn <tsdh@gnu.org>
1370
2230a6e3
SM
1371 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1372 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1373
50ff2e06
CY
13742013-12-18 Chong Yidong <cyd@gnu.org>
1375
0081bc84
CY
1376 * cus-edit.el (custom-magic-alist): Fix "themed" description
1377 (Bug#14348).
1378
a7ee9424
CY
1379 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1380 is non-nil, do not create a new entry in the symbol's theme-value
1381 or theme-face property; update theme-settings only (Bug#14664).
18874304 1382 (custom-available-themes): Doc fix.
a7ee9424 1383
8f942537
CY
1384 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1385 (Bug#15674).
1386
50ff2e06
CY
1387 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1388
83c60f60
KI
13892013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1390
1391 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1392 (Bug#13914).
1393
e0eb0550 13942013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1395
1396 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1397
1f41ee56
GM
13982013-12-18 Glenn Morris <rgm@gnu.org>
1399
1400 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1401 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1402
e82134b1
LW
14032013-12-18 Le Wang <l26wang@gmail.com>
1404
2230a6e3
SM
1405 * comint.el (comint-previous-matching-input-from-input):
1406 Retain point (Bug#13404).
e82134b1 1407
33f5d4c1
CY
14082013-12-18 Chong Yidong <cyd@gnu.org>
1409
1410 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1411
ccc9f6dc
GM
14122013-12-18 Glenn Morris <rgm@gnu.org>
1413
1414 * mail/emacsbug.el (report-emacs-bug):
1415 Only mention enable-multibyte-characters if non-standard.
1416
33dd8e95
JL
14172013-12-17 Juri Linkov <juri@jurta.org>
1418
1419 * arc-mode.el (archive-extract-by-file): Check if directory exists
1420 before deletion to not show irrelevant errors if it doesn't exist.
1421
7a409b30
JL
14222013-12-17 Juri Linkov <juri@jurta.org>
1423
1424 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1425 (Bug#14751)
1426
1427 * net/eww.el (browse-web): Add alias to `eww'.
1428 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1429 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1430
1431 * net/browse-url.el (browse-url-browser-function): Move `eww'
1432 closer to similar functions.
1433
1434 * startup.el (fancy-startup-screen, fancy-about-screen):
1435 Set browse-url-browser-function to eww-browse-url locally.
1436 (Bug#14751)
1437
2d6b6005
SM
14382013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * window.el (window--pixel-to-total): Remove unused `mini' var.
1441 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1442 (split-window): Remove unused `new' var.
1443 (window--display-buffer): Remove unused `frame' and `delta' vars.
1444 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1445 and display-width'.
1446
cf2b7efc
MR
14472013-12-17 Martin Rudalics <rudalics@gmx.at>
1448
1449 * dired.el (dired-mark-pop-up):
1450 * register.el (register-preview): Don't bind
1451 split-height-threshold here since it's now done in
1452 display-buffer-below-selected.
1453
ed3af8a7 14542013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1455
1456 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1457 xterm-rgb-convert-to-16bit.
1458 (rxvt-register-default-colors): Standardize with
1459 xterm-register-default-colors (Bug#14078).
1460
76da3455
DK
14612013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1462
1463 * simple.el (kill-region): Pass mark first, then point, so that
1464 kill-append works right (Bug#12819).
1465 (copy-region-as-kill, kill-ring-save): Likewise.
1466
2b84d763
LL
14672013-12-17 Leo Liu <sdl.web@gmail.com>
1468
1469 * net/rcirc.el (rcirc-add-face):
1470 * eshell/em-prompt.el (eshell-emit-prompt):
1471 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1472 (Bug#16167)
1473
e2f6a0bc
CY
14742013-12-17 Chong Yidong <cyd@gnu.org>
1475
1476 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1477 Suggested by Xue Fuqiao.
1478
35b249a6
DG
14792013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1482
e9145444
SM
14832013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1484
1485 * net/shr.el (shr-insert-document): Remove unused var
1486 `shr-preliminary-table-render'.
1487 (shr-rescale-image): Remove unused arg `force'.
1488 (shr-put-image): Update calls accordingly.
1489 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1490
5556c0ce
DG
14912013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1494 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1495 :close-all, to see which indentation method to use (Bug#16116).
1496 (smie-rules-function): Document the method :close-all.
1497
11bade0a
LMI
14982013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1499
1c4b1e61
LMI
1500 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1501
11bade0a
LMI
1502 * net/eww.el (eww-display-html): If we can't find the anchor we're
1503 looking for, then go to point-min.
1504
8fb8c4f3
PE
15052013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1506
1507 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1508 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1509 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1510 Expand dir too, in case it's relative.
1511
6c8e0ae6
JL
15122013-12-16 Juri Linkov <juri@jurta.org>
1513
1514 * desktop.el (desktop-auto-save-timeout): Change default to
1515 `auto-save-timeout'. Doc fix.
1516 (desktop-save): Skip the timestamp in desktop-saved-frameset
1517 when checking for auto-save changes.
1518 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1519 `desktop-auto-save' is called repeatedly by the idle timer.
1520 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1521 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1522 (Bug#15331)
1523
2178e858
JL
15242013-12-16 Juri Linkov <juri@jurta.org>
1525
1526 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1527 (Bug#16035)
1528 (isearch-pre-command-hook): Check `this-command' for symbolp.
1529
39cb42c6
SM
15302013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1533
5b9b750a
TZ
15342013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1535
1536 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1537 (cfengine3--current-function): Bring in the current-function
1538 functionality from `cfengine3--current-word'.
1539 (cfengine3-completion-function): Bring in the
1540 bounds-of-current-word functionality from
1541 `cfengine3--current-word'.
1542
d144ef06
MR
15432013-12-16 Martin Rudalics <rudalics@gmx.at>
1544
39cb42c6
SM
1545 * window.el (display-buffer-below-selected):
1546 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1547
a8bbe298
LL
15482013-12-16 Leo Liu <sdl.web@gmail.com>
1549
1550 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1551 Remove NOMSG arg and all uses changed.
1552
2013a2f9
SM
15532013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1554
1555 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1556 (cua--deactivate-rectangle): Don't deactivate the mark.
1557 (cua-set-rectangle-mark): Don't set mark-active since
1558 cua--activate-rectangle already does it for us.
1559 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1560 non-rectangular region.
1561
1562 * emulation/cua-base.el (cua-repeat-replace-region):
1563 Use with-current-buffer.
1564
1565 * net/gnutls.el: Use cl-lib.
1566 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1567
5ae811dd
TZ
15682013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1569
1570 * emacs-lisp/package.el (package-built-in-p): Support both
1571 built-in and the package.el converted package descriptions.
1572 (package-show-package-list): Allow keywords.
1573 (package-keyword-button-action): Use it instead of
1574 `finder-list-matches'.
1575 (package-menu-filter-interactive): Interactive filtering (by
1576 keyword) function.
1577 (package-menu--generate): Support keywords and change keymappings
1578 and headers when they are given.
1579 (package--has-keyword-p): Helper function.
1580 (package-menu--refresh): Use it.
1581 (package--mapc): Helper function.
1582 (package-all-keywords): Use it.
1583 (package-menu-mode-map): Set up menu items and keybindings to
1584 provide a filtering UI.
1585
31b4827e
TZ
15862013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1587
1588 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1589 the behavior when a certificate fails validation. Defaults to
1590 old behavior: never abort, just warn.
1591 (gnutls-negotiate): Use it.
1592
f93cc74f
MR
15932013-12-14 Martin Rudalics <rudalics@gmx.at>
1594
1595 * window.el (display-buffer-below-selected): Never split window
1596 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1597
f77d7d17
TW
15982013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1599
1600 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1601 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1602
7514d3f8
SM
16032013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1604
aa2bddd7 1605 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1606 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1607
276bc333
DG
16082013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1609
1610 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1611 open-paren tokens when preceded by a open-paren, too.
1612 (ruby-smie-rules): Handle virtual indentation after open-paren
1613 tokens specially. If there is code between it and eol, return the
1614 column where is starts (Bug#16118).
1615
d43957f3
TZ
16162013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1617
a5c1ac0c 1618 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1619 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1620 (cfengine3--current-word): Fix parameters.
1621 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1622 (cfengine3-completion-function, cfengine3--current-function):
1623 Use `assq' for symbols.
d43957f3
TZ
1624 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1625
06a4f110
GM
16262013-12-13 Glenn Morris <rgm@gnu.org>
1627
1628 * loadup.el (load-path): Warn if site-load or site-init changes it.
1629 No more need to reset it when bootstrapping.
1630
978a5fda
TZ
16312013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1632
1633 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1634 locations for cf-promises.
1635 (cfengine-mode-syntax-functions-regex): New caching variable.
1636 (cfengine3-fallback-syntax): Fallback syntax for cases where
1637 cf-promises doesn't run.
1638 (cfengine3--current-word): Reimplement using
1639 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1640 (cfengine3-completion-function, cfengine3--current-function):
1641 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1642 (cfengine3-clear-syntax-cache): New function.
1643 (cfengine3-make-syntax-cache): Simplify and create
1644 `cfengine-mode-syntax-functions-regex' on demand.
1645 (cfengine3-format-function-docstring): Don't call
1646 `cfengine3-make-syntax-cache' explicitly.
1647
71e6691e
MR
16482013-12-13 Martin Rudalics <rudalics@gmx.at>
1649
1650 Fix windmove-find-other-window broken after pixelwise resizing
1651 (Bug#16017).
1652 * windmove.el (windmove-other-window-loc): Revert change from
1653 2013-12-04.
1654 (windmove-find-other-window): Call window-in-direction.
1655 * window.el (window-in-direction): New arguments SIGN, WRAP and
1656 MINI to emulate original windmove-find-other-window behavior.
1657
84c73ba0
DG
16582013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1659
1660 * simple.el (blink-matching--overlay): New variable.
1661 (blink-matching-open): Instead of moving point, highlight the
1662 matching paren with an overlay
1663 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1664
1665 * faces.el (paren-showing-faces, show-paren-match)
1666 (show-paren-mismatch): Move from paren.el.
1667
b9e20952
LL
16682013-12-13 Leo Liu <sdl.web@gmail.com>
1669
1670 * indent.el (indent-region): Disable progress reporter in
1671 minibuffer. (Bug#16108)
1672
1673 * bindings.el (visual-order-cursor-movement): Fix version.
1674
ce030451
FEG
16752013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1676
1677 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1678 Also match after beginning of line.
1679 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1680 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1681
4a9c6865
JL
16822013-12-13 Juri Linkov <juri@jurta.org>
1683
1684 * simple.el <Keypad support>: Remove key bindings duplicated
1685 with bindings.el. (Bug#14397)
1686
2bc170c3
JL
16872013-12-13 Juri Linkov <juri@jurta.org>
1688
1689 * comint.el (comint-mode-map): Replace `delete-char' with
1690 `delete-forward-char'. (Bug#16109)
1691
bc9222c9
FEG
16922013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1693
aa2bddd7 1694 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1695 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1696
cb3a1380
SM
16972013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1700 (advice--make): Pay attention to `depth'.
1701 (advice--make-1): Don't autoload commands eagerly.
1702 * emacs-lisp/elp.el (elp-instrument-function):
1703 * emacs-lisp/trace.el (trace-function-internal):
1704 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1705
1706 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1707
01633a17
EZ
17082013-12-12 Eli Zaretskii <eliz@gnu.org>
1709
1710 * term/w32-win.el (w32-handle-dropped-file):
1711 * startup.el (normal-top-level):
1712 * net/browse-url.el (browse-url-file-url):
1713 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1714 decode file names using 'utf-8' rather than
1715 file-name-coding-system.
1716
09faee72
FEG
17172013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1718
1719 * progmodes/python.el (python-indent-context)
1720 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1721 behavior for comment blocks. (Bug#15916)
09faee72 1722
f4f84024 17232013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1724
cb3a1380
SM
1725 * progmodes/python.el (python-indent-calculate-indentation):
1726 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1727 operators when they are just string constituents. (Bug#15812)
1728
d5ccb7be
JL
17292013-12-12 Juri Linkov <juri@jurta.org>
1730
1731 * uniquify.el (uniquify-buffer-name-style): Change default to
1732 `post-forward-angle-brackets'.
1733
1734 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1735 `uniquify'. Change default to `post-forward-angle-brackets'.
1736
7b3f5679
GM
17372013-12-11 Glenn Morris <rgm@gnu.org>
1738
1739 * emacs-lisp/package.el (finder-list-matches):
1740 Autoload rather than falsely declaring.
1741
f4fe8fdd
TZ
17422013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1743
1744 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1745 (eww-mode-map): Use them.
1746
3c29190f
MR
17472013-12-11 Martin Rudalics <rudalics@gmx.at>
1748
1749 * window.el (display-buffer-in-side-window): Fix doc-string
1750 (Bug#16115).
1751
0cd616a2
JB
17522013-12-11 Juanma Barranquero <lekktu@gmail.com>
1753
1754 * vc/vc-git.el: Silence byte-compiler warnings.
1755 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1756 (log-edit-set-header): Declare.
1757
3ef8e0d1
EZ
17582013-12-11 Eli Zaretskii <eliz@gnu.org>
1759
1760 * Makefile.in (custom-deps, finder-data): Run output file names
1761 through unmsys--file-name. (Bug#16099)
1762
afdadaf7
SM
17632013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1764
7ae3ae39 1765 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1766 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1767
5b4f37ab
SM
1768 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1769 instead of deleting the selection "by hand" (bug#16098).
1770 Rely on insert-for-yank to yank rectangles.
1771 (cua-highlight-region-shift-only): Mark obsolete.
1772 (cua-mode): Don't enable/disable transient-mark-mode,
1773 shift-select-mode (cua-mode works both with and without them), and
1774 pc-selection-mode (obsolete).
1775 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1776 (cua--deactivate-rectangle): Deactivate it.
1777
4b72c12b
SM
1778 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1779 (delete-selection-helper): Make sure yank starts at the top of the
1780 deleted region.
1781 (minibuffer-keyboard-quit): Use region-active-p.
1782
e82af72d
SM
1783 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1784
afdadaf7
SM
1785 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1786 to `delete' (bug#16109).
1787
ed4bc201
RS
17882013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1789
1790 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1791 info manual and show keybindings and set `:group' keyword.
1792
bb8097b9
JL
17932013-12-11 Juri Linkov <juri@jurta.org>
1794
1795 * delsel.el (delete-active-region): Let-bind `this-command'
1796 to prevent `kill-region' from changing its original value.
1797 (delete-selection-helper): Handle `overwrite-mode' for the type
1798 `kill' exactly the same way as for the type `t'.
1799 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1800 Support more commands. (Bug#13312)
1801
c1916ff5
JL
18022013-12-11 Juri Linkov <juri@jurta.org>
1803
1804 * bindings.el: Map kp keys to non-kp keys systematically
1805 with basic modifiers control, meta and shift. (Bug#14397)
1806
7514d3f8 18072013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1808
1809 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1810 "Close browser" menu items. Fix wrong function of "List
1811 bookmarks".
1812
4cc51eaf
JL
18132013-12-11 Juri Linkov <juri@jurta.org>
1814
1815 * misearch.el (multi-isearch-buffers): Set the value of
1816 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1817 arg of isearch-forward to t.
1818 (multi-isearch-buffers-regexp): Set the value of
1819 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1820 arg of isearch-forward-regexp to t.
1821 (multi-isearch-files): Set the value of
1822 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1823 arg of isearch-forward to t.
1824 (multi-isearch-files-regexp): Set the value of
1825 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1826 arg of isearch-forward-regexp to t. (Bug#16035)
1827
1828 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1829 arg of isearch-forward to t.
1830 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1831 arg of isearch-forward-regexp to t.
1832 (dired-isearch-filter-filenames): Remove unnecessary check for
1833 `dired-isearch-filenames'.
1834
1835 * comint.el (comint-history-isearch-backward):
1836 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1837 (comint-history-isearch-backward-regexp):
1838 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1839
ceac12b7
EZ
18402013-12-10 Eli Zaretskii <eliz@gnu.org>
1841
1842 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1843 unmsys--file-name. (Bug#16099)
1844
5a565782
TZ
18452013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1846
cb3a1380
SM
1847 * emacs-lisp/package.el (package-keyword-button-action):
1848 Remove finder.el require dependency.
5a565782 1849
a81fc7ba
TZ
18502013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1851
1852 * emacs-lisp/package.el: Require finder.el.
1853 (describe-package-1): Add keyword buttons.
1854 (package-make-button): New convenience function.
1855 (package-keyword-button-action): Keyword button action using
e0eb0550 1856 `finder-list-matches'.
a81fc7ba 1857
6aaca951
EZ
18582013-12-09 Eli Zaretskii <eliz@gnu.org>
1859
1860 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1861 last commit.
1862
a1099a91
MA
18632013-12-09 Michael Albinus <michael.albinus@gmx.de>
1864
1865 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1866 symlinked files.
1867
8212d9c0
DG
18682013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1869
1870 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1871 after the end of a percent literal.
1872
8f48d131
CD
18732013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1874
cb3a1380
SM
1875 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1876 Handle caret-delimited strings (Bug#16079).
8f48d131 1877
ff8c9764
DG
18782013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1879
cb3a1380
SM
1880 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1881 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1882 `ruby-parse-partial' (Bug#16078).
1883
d64643b4
LL
18842013-12-09 Leo Liu <sdl.web@gmail.com>
1885
1886 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1887
47e59c66
DG
18882013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1891 (js-switch-indent-offset): New option.
1892 (js--proper-indentation): Use it. And handle the case when
1893 "default" is actually a key in an object literal.
1894 (js--same-line): New function.
1895 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1896 (js--indent-in-array-comp, js--array-comp-indentation):
1897 New functions.
47e59c66
DG
1898 (js--proper-indentation): Use them, to handle array comprehension
1899 continuations.
1900
974ebc9c
LL
19012013-12-08 Leo Liu <sdl.web@gmail.com>
1902
1903 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1904 (flymake-make-overlay): Remove arg MOUSE-FACE.
1905 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1906
27262e39
SM
19072013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1910 New function.
1911 (redisplay-highlight-region-function): Use it.
1912
1913 * emulation/cua-base.el (cua--explicit-region-start)
1914 (cua--last-region-shifted): Remove.
1915 (cua--deactivate): Use deactivate-mark.
1916 (cua--pre-command-handler-1): Don't handle shift-selection.
1917 (cua--post-command-handler-1): Don't change transient-mark-mode.
1918 (cua--select-keymaps): Use region-active-p rather than
1919 cua--explicit-region-start or cua--last-region-shifted.
1920 (cua-mode): Enable shift-select-mode.
1921
6407822c
LL
19222013-12-08 Leo Liu <sdl.web@gmail.com>
1923
27262e39
SM
1924 * progmodes/flymake.el (flymake-popup-current-error-menu):
1925 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1926 (flymake-posn-at-point-as-event, flymake-popup-menu)
1927 (flymake-make-emacs-menu): Remove. (Bug#16077)
1928
00a2b823
SM
19292013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1930
02033d49
SM
1931 * rect.el (rectangle-mark-mode): Activate mark even if
1932 transient-mark-mode is off (bug#16066).
1933 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1934 is > mark and at bolp.
1935
6f8dfccf
SM
1936 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1937 (region-extract-function): Use it.
1938 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1939 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1940 Delete functions.
1941 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1942 kill-ring-save, kill-region, delete-char, delete-forward-char.
1943 Ignore self-insert-iso.
1944
1945 * emulation/cua-gmrk.el (cua--init-global-mark):
1946 Ignore `self-insert-iso'.
1947
1948 * emulation/cua-base.el (cua--prefix-copy-handler)
1949 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1950 checking cua--rectangle.
1951 (cua-delete-region): Use region-extract-function.
1952 (cua-replace-region): Delete function.
1953 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1954 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1955 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1956 (cua--init-keymaps): Don't remap delete-selection commands.
1957 (cua-mode): Use delete-selection-mode instead of rolling our own
1958 (bug#16085).
1959
1960 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1961 Obey region-extract-function.
1962
00a2b823
SM
1963 Make registers and delete-selection-mode work on rectangles.
1964 * register.el (describe-register-1): Don't modify the register's value.
1965 (copy-to-register): Obey region-extract-function.
1966 * delsel.el (delete-active-region): Obey region-extract-function.
1967
a92fa5f1
LL
19682013-12-08 Leo Liu <sdl.web@gmail.com>
1969
1970 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1971 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1972 (flymake-compilation-prevents-syntax-check)
1973 (flymake-start-syntax-check-on-newline)
1974 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1975 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1976 (flymake-xml-program, flymake-master-file-dirs)
1977 (flymake-master-file-count-limit)
1978 (flymake-allowed-file-name-masks): Relocate.
1979 (flymake-makehash, flymake-float-time)
1980 (flymake-replace-regexp-in-string, flymake-split-string)
1981 (flymake-get-temp-dir): Remove.
1982 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1983 (flymake-current-row, flymake-selected-frame)
1984 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1985 related functions. (Bug#16077)
1986
73c8ceea
BB
19872013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1988
1989 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1990
faec28d9
TH
19912013-12-07 Tassilo Horn <tsdh@gnu.org>
1992
1993 * help-fns.el (describe-function-1): Use new advice-* functions
1994 rather than old ad-* functions. Fix function type description and
1995 source links for advised functions and subrs.
1996
e330b646
LMI
19972013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1998
00a2b823 1999 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2000
4803595d
MA
20012013-12-06 Michael Albinus <michael.albinus@gmx.de>
2002
2003 * progmodes/compile.el (compilation-start):
2004 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2005
2006 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2007 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2008
fa834a93
DG
20092013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2010
00a2b823
SM
2011 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2012 Touch up the last change.
fa834a93 2013
b2856a6f
LL
20142013-12-06 Leo Liu <sdl.web@gmail.com>
2015
2016 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2017 (inferior-octave-startup): Always use "octave> " for prompt.
2018 (octave-goto-function-definition)
2019 (octave-sync-function-file-names)
2020 (octave-find-definition-default-filename): Remove redundant backquotes.
2021
af67e79a
DG
20222013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2025 syntax for `?'.
2026 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2027 where appropriate already.
2028 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2029 end of method names (Bug#15874).
2030
bf093209
JL
20312013-12-06 Juri Linkov <juri@jurta.org>
2032
2033 * isearch.el (isearch--saved-overriding-local-map):
2034 New internal variable.
2035 (isearch-mode): Set it to the initial value of
2036 `overriding-terminal-local-map'.
2037 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2038 with `isearch--saved-overriding-local-map'. (Bug#16035)
2039
16588fad
DG
20402013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2041
00a2b823
SM
2042 * progmodes/octave.el (inferior-octave-completion-table):
2043 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2044 (Bug#11906). Update all references.
2045
2046 * minibuffer.el (completion-table-with-cache): New function.
2047
bf4906d7
CD
20482013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2049
2050 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2051
ff69c18f
TZ
20522013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2053
2054 * net/eww.el (eww-current-source): New variable to store page
2055 source.
2056 (eww-display-html, eww-mode, eww-save-history)
2057 (eww-restore-history): Use it.
2058 (eww-view-source): New command to view page source.
2059 Opportunistically uses `html-mode' to highlight the buffer.
2060 (eww-mode-map): Install it.
2061
b85eff45
MA
20622013-12-05 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/dbus.el (dbus-unregister-service)
2065 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2066 Fix docstring.
2067 (dbus-unregister-service): Skip :serial entries in
2068 `dbus-registered-objects-table'.
2069 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2070
39eb0899
TZ
20712013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2072
2073 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2074 around keywords with extra `split-string' argument.
2075
456760a5
MR
20762013-12-04 Martin Rudalics <rudalics@gmx.at>
2077
2078 * windmove.el (windmove-other-window-loc): Handle navigation
2079 between windows (excluding the minibuffer window - Bug#16017).
2080
81961e4c
MA
20812013-12-04 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2084 in D-Bus type syntax.
2085 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2086 preserve unibyte strings. (Bug#16048)
2087
8497f938
SM
20882013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2091 Call force-mode-line-update is the proper buffer (bug#16042).
2092
dda61916
DG
20932013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2094
2095 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2096 `log-edit-remember-comment', make argument optional. Adjust all
2097 callers.
2098 (log-edit-mode): Add `log-edit-remember-comment' to
2099 `kill-buffer-hook' locally.
2100 (log-edit-kill-buffer): Don't remember comment explicitly since
2101 the buffer is killed anyway.
2102
c085e5b9
JL
21032013-12-04 Juri Linkov <juri@jurta.org>
2104
2105 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2106 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2107
e0eb0550 21082013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2109
2110 * notifications.el (notifications-close-notification): Call the
81961e4c 2111 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2112
39fa32d6
KY
21132013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2114
2115 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2116
9139632a
JL
21172013-12-03 Juri Linkov <juri@jurta.org>
2118
2119 * progmodes/compile.el (compilation-start): Rename window alist
2120 entry `no-display-ok' to `allow-no-window'.
2121
2122 * simple.el (shell-command): Add window alist entry
2123 `allow-no-window' to `display-buffer'.
2124 (async-shell-command): Doc fix.
2125
2126 * window.el (display-buffer-no-window): New action function.
2127 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2128
0f457a37
DG
21292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * vc/log-edit.el (log-edit-set-header): Extract from
2132 `log-edit-toggle-header'.
2133 (log-edit-extract-headers): Separate the summary, when extracted
2134 from header, from the rest of the message with an empty line.
2135
2136 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2137 line, if present, to the Summary header.
2138
0962f376
SM
21392013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2142 in current-buffer (bug#16029).
2143
f345395c
HE
21442013-12-02 Helmut Eller <eller.helmut@gmail.com>
2145
2146 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2147 (debugger-mode-map): Bind it.
2148 (debugger--backtrace-base): New function.
2149 (debugger-eval-expression): Use it.
2150 (debugger-frame-number): Skip local vars when present.
2151 (debugger--locals-visible-p, debugger--insert-locals)
2152 (debugger--show-locals, debugger--hide-locals): New functions.
2153
a8a15d9d
MA
21542013-12-02 Michael Albinus <michael.albinus@gmx.de>
2155
2156 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2157 "LC_ALL".
2158 (tramp-get-remote-locale): New defun.
2159 (tramp-open-connection-setup-interactive-shell): Use it.
2160
0518b057
LL
21612013-12-02 Leo Liu <sdl.web@gmail.com>
2162
2163 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2164
2165 * progmodes/sh-script.el (sh-shell-process):
2166 * progmodes/octave.el (inferior-octave-process-live-p):
2167 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2168 (gdb-inferior-io-sentinel):
2169 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2170
3adc9c6d
DG
21712013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2172
2173 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2174 `save-selected-window' to `log-edit-hide-buf'. This makes
2175 `log-edit-show-files' idempotent.
2176 (log-edit-show-files): Mark the new window as dedicated.
2177
47e8b74e
DG
21782013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2179
2180 * vc/log-edit.el (log-edit-mode-map): Add binding for
2181 `log-edit-kill-biffer'.
2182 (log-edit-hide-buf): Add a FIXME comment.
2183 (log-edit-add-new-comment): New function, extracted from
2184 `log-edit-done'.
2185 (log-edit-done, log-edit-add-to-changelog): Use it.
2186 (log-edit-kill-buffer): New command.
2187
1f6e1bb0
LMI
21882013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2189
2190 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2191 instead of killing the buffer.
2192
fb651d15
SM
21932013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2196
8feacce0
RS
21972013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2198
fb651d15 2199 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2200 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2201 (eww-form-checkbox, eww-toggle-checkbox):
2202 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2203
e0eb0550 2204 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2205 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2206 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2207 no :src tag was specified.
2208
fb651d15 2209 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2210 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2211 Use \\` to match beginning of string instead of ^.
2212 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2213 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2214
177948a5
RS
2215 * net/shr.el (shr-tag-video): Display content for video if no
2216 poster is available.
eb2dd24d 2217 (shr-tag-audio): Add support for <audio> tag.
177948a5 2218
e0eb0550 2219 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2220 (eww-process-text-input): Treat input types in
2221 `eww-text-input-types' as text.
2222
8feacce0
RS
2223 * net/shr.el (shr-tag-table): Fix comment typo.
2224
513562a1
LMI
22252013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2226
2227 * net/eww.el (eww-follow-link): New command to avoid reloading
2228 pages when we follow #target links (bug#15243).
de8a5633 2229 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2230
9dd99753
KN
22312013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2232
2233 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2234 forms.
2235
3e9876de
LMI
22362013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2237
2238 * net/eww.el (eww-restore-history): Update the window title after
2239 moving in the history.
ab6dea82 2240 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2241
52789f7f
DG
22422013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * vc/log-edit.el (log-edit-mode-map): Add binding for
2245 `log-edit-beginning-of-line'.
2246 (log-edit-setup-add-author): New user option.
2247 (log-edit-beginning-of-line): New command.
2248 (log-edit): Move major mode call above the contents setup so that
2249 the local variable values are already applied.
2250 (log-edit): Only insert "Author: " when
2251 `log-edit-setup-add-author' is non-nil.
2252 (log-edit): When SETUP is non-nil, position point after ": "
2253 instead of point-min.
2254
2e6710c3
GM
22552013-12-01 Glenn Morris <rgm@gnu.org>
2256
2257 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2258
fadec31f
EZ
22592013-11-30 Eli Zaretskii <eliz@gnu.org>
2260
2261 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2262 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2263 visible. (Bug#16014)
2264
10634b40 22652013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2266
2267 Support resizing frames and windows pixelwise.
2268 * cus-start.el (frame-resize-pixelwise)
2269 (window-resize-pixelwise): New entries.
2270 * emacs-lisp/debug.el (debug): Use window-total-height instead
2271 of window-total-size.
2272 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2273 * help.el (describe-bindings-internal): Call help-buffer
2274 (temp-buffer-max-width): New option.
2275 (resize-temp-buffer-window, help-window-setup)
2276 (with-help-window): Rewrite.
2277 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2278 dragging dividers.
2279 * window.el (frame-char-size, window-min-pixel-height)
2280 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2281 (window-min-pixel-width, window-safe-min-pixel-size)
2282 (window-combination-p, window-safe-min-size)
2283 (window-resizable-p, window--size-to-pixel)
2284 (window--pixel-to-size, window--resize-apply-p): New functions.
2285 (window-safe-min-height): Fix doc-string.
2286 (window-size, window-min-size, window--min-size-1)
2287 (window-sizable, window-sizable-p, window--min-delta-1)
2288 (window-min-delta, window--max-delta-1, window-max-delta)
2289 (window--resizable, window--resizable-p, window-resizable)
2290 (window-full-height-p, window-full-width-p, window-at-side-p)
2291 (window--in-direction-2, window-in-direction)
2292 (window--resize-reset-1, window--resize-mini-window)
2293 (window-resize, window-resize-no-error)
2294 (window--resize-child-windows-normal)
2295 (window--resize-child-windows, window--resize-siblings)
2296 (window--resize-this-window, window--resize-root-window)
2297 (window--resize-root-window-vertically)
2298 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2299 (maximize-window, minimize-window, delete-window)
2300 (quit-restore-window, window-split-min-size, split-window)
2301 (balance-windows-2, balance-windows)
2302 (balance-windows-area-adjust, balance-windows-area)
2303 (window--state-get-1, window-state-get, window--state-put-1)
2304 (window--state-put-2, window-state-put)
fb651d15
SM
2305 (display-buffer-record-window, window--display-buffer):
2306 Make functions handle pixelwise sizing of windows.
880e6158 2307 (display-buffer--action-function-custom-type)
fb651d15
SM
2308 (display-buffer-fallback-action):
2309 Add display-buffer-in-previous-window.
880e6158
MR
2310 (display-buffer-use-some-window): Resize window to height it had
2311 before.
2312 (fit-window-to-buffer-horizontally): New option.
2313 (fit-frame-to-buffer): Describe new values.
2314 (fit-frame-to-buffer-bottom-margin): Replace with
2315 fit-frame-to-buffer-margins.
2316 (window--sanitize-margin): New function.
2317 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2318 using window-text-pixel-size.
2319
f9b697dd
GM
23202013-11-30 Glenn Morris <rgm@gnu.org>
2321
3e2fb4db
GM
2322 * emacs-lisp/bytecomp.el (byte-compile-form):
2323 Make the `interactive-only' warning like the `obsolete' one.
2324 * comint.el (comint-run):
2325 * files.el (insert-file-literally, insert-file):
2326 * replace.el (replace-string, replace-regexp):
2327 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2328 (goto-line, insert-buffer, next-line, previous-line):
2329 Tweak `interactive-only' spec.
2330
f9b697dd
GM
2331 Stop keeping (most) generated cedet grammar files in the repository.
2332 * Makefile.in (semantic): New.
2333 (compile-main): Depend on semantic.
2334
da048127
SM
23352013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2336
7784b779
SM
2337 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2338 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2339
4e36a6a6
SM
2340 * uniquify.el (uniquify-buffer-name-style): Change default.
2341
2342 * loadup.el: Preload "uniquify".
2343
e0ba1308
SM
2344 * time.el (display-time-update): Update all mode lines (bug#15999).
2345
da048127
SM
2346 * electric.el (electric-indent-mode): Enable by default.
2347 * loadup.el: Preload "electric".
2348
015b3b3e
BB
23492013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2350
2351 * emacs-lisp/helpers.el (string-empty-p): New function.
2352 (string-blank-p): New function.
2353
7efb806d
AP
23542013-11-29 Andreas Politz <politza@hochschule-trier.de>
2355
2356 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2357 (Bug#14029).
2358
c8f0efc2
AP
23592013-11-29 Andreas Politz <politza@fh-trier.de>
2360 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2361 allow non-lambda lists as functions.
2362 (imenu--in-alist): Don't recurse into non-subalists.
2363 (imenu): Don't pass function itself as an argument (Bug#14029).
2364
bd15d9d1
SM
23652013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * progmodes/python.el (python-mode-map): Remove binding for ":".
2368 (python-indent-electric-colon): Remove command.
2369 (python-indent-post-self-insert-function): Integrate the previous code
2370 of python-indent-electric-colon. Make it conditional on
2371 electric-indent-mode.
2372 (python-mode): Add ?: to electric-indent-chars.
2373 Move python-indent-post-self-insert-function to the end of
2374 post-self-insert-hook.
2375
1b10adb6
SM
23762013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2377
655ab9a3
SM
2378 * doc-view.el (doc-view-goto-page): Update mode-line.
2379
1b10adb6
SM
2380 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2381
7e3bf78c
GM
23822013-11-27 Glenn Morris <rgm@gnu.org>
2383
2384 * international/charprop.el, international/uni-bidi.el:
2385 * international/uni-category.el, international/uni-combining.el:
2386 * international/uni-comment.el, international/uni-decimal.el:
2387 * international/uni-decomposition.el, international/uni-digit.el:
2388 * international/uni-lowercase.el, international/uni-mirrored.el:
2389 * international/uni-name.el, international/uni-numeric.el:
2390 * international/uni-old-name.el, international/uni-titlecase.el:
2391 * international/uni-uppercase.el:
2392 Remove generated files from VCS repository.
2393
fb6a5d68
EZ
23942013-11-27 Eli Zaretskii <eliz@gnu.org>
2395
2396 * filenotify.el (file-notify-add-watch): Don't special-case
2397 w32notify when computing the directory to watch.
2398
cb6c95a3
GM
23992013-11-27 Glenn Morris <rgm@gnu.org>
2400
20372d0c
GM
2401 Make bootstrap without generated uni-*.el files possible again.
2402 * loadup.el: Update command-line-args checking for unidata-gen.
2403 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2404 * composite.el, international/characters.el:
2405 Handle unicode tables being undefined.
2406
52d6635f 2407 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2408 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2409 (compile-main): Depend on leim rule.
2410 (leim): New rule.
2411 * loadup.el: Move leim-list.el to leim/ subdirectory.
2412 * startup.el (normal-top-level): No more leim directory.
2413 * international/ja-dic-cnv.el (skkdic-convert):
2414 Disable version-control and autoloads in output files.
2415 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2416 Disable version-control and autoloads in output files.
2417 * leim/quail: Move here from ../leim.
2418 * leim/quail/hangul.el (hangul-input-method-activate):
2419 Add autoload cookie.
2420 (generated-autoload-load-name): Set file-local value.
2421 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2422 (generated-autoload-load-name): Set file-local value.
2423
7514d3f8 24242013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2425
e0eb0550 2426 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2427 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2428 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2429
0e2c793f
EZ
24302013-11-26 Eli Zaretskii <eliz@gnu.org>
2431
2432 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2433 reading output from Diff on MS-Windows and MS-DOS.
2434
447bdcb8
BB
24352013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2436
2437 * emacs-lisp/helpers.el (string-reverse): New function.
2438
5fbf6856
MA
24392013-11-26 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2442 names on MS Windows, like "/[::1]:".
2443
2444 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2445 SWITCHES.
2446
624780f0
GM
24472013-11-26 Glenn Morris <rgm@gnu.org>
2448
0bf3f0fa
GM
2449 * progmodes/python.el (python-indent-guess-indent-offset):
2450 Avoid corner-case error. (Bug#15975)
2451
624780f0
GM
2452 Preload leim-list.el. (Bug#4789)
2453 * loadup.el: Load leim-list.el when found.
2454 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2455
4301875e 24562013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2457
2458 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2459
4301875e
BB
2460 * emacs-lisp/helpers.el (string-join): New function.
2461
1633a815 24622013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2463
2464 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2465 Mark as obsolete and replace it with a symbol property.
2466 (byte-compile-form): Use new 'interactive-only property.
2467 * comint.el, files.el, replace.el, simple.el:
2468 Apply new 'interactive-only properly.
2469
00139435
MR
24702013-11-25 Martin Rudalics <rudalics@gmx.at>
2471
2472 * window.el (display-buffer-at-bottom): Make sure that
2473 split-window-sensibly creates the new window on bottom
2474 (Bug#15961).
2475
5f5b128d
DK
24762013-11-23 David Kastrup <dak@gnu.org>
2477
2478 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2479 on the conflict markers when available.
2480 (smerge--get-marker): New function.
2481 (smerge-end-re, smerge-base-re): Add subgroup.
2482
623891e5
SM
24832013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * frame.el (handle-focus-in, handle-focus-out): Add missing
2486 interactive spec.
2487
05ca27d8
MA
24882013-11-25 Michael Albinus <michael.albinus@gmx.de>
2489
2490 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2491 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2492
511fa0d3
SM
24932013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2494
e82ad66c
SM
2495 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2496 (gomoku--last-pos): New var.
2497 (gomoku--intangible-chars): New const.
2498 (gomoku--intangible): New function.
2499 (gomoku-mode): Use it. Derive from special-mode.
2500 (gomoku-move-up): Adjust line count.
2501 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2502 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2503 Simplify accordingly.
2504
511fa0d3
SM
2505 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2506 Remove blink-cursor code.
2507 (blink-cursor-timer-function, blink-cursor-suspend):
2508 Don't special-case GUIs.
2509 (blink-cursor-mode): Use focus-in/out-hook.
2510
6f20dd03
DG
25112013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2512
2513 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2514 work when annotation is invisible (Bug#13886).
2515
431dec31 25162013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2517
2518 * json.el (json-alist-p): Only return non-nil if the alist has
2519 simple keys (Bug#13518).
2520
431dec31 25212013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2522
2523 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2524 when control-statement is the first statement in a buffer (Bug#15956).
2525
ee4f0261
DG
25262013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * imenu.el (imenu-generic-skip-comments-and-strings):
2529 New option (Bug#15560).
2530 (imenu--generic-function): Use it.
2531
c484f866
JS
25322013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2533
e9dc713d
JB
2534 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2535 (Bug#13898)
c484f866 2536
41ce6f70
BB
25372013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2538
b55aea38
BB
2539 * emacs-lisp/helpers.el: Add some string helpers.
2540 (string-trim-left): Removes leading whitespace.
2541 (string-trim-right): Removes trailing whitespace.
2542 (string-trim): Removes leading and trailing whitespace.
2543
41ce6f70
BB
2544 * subr.el (string-suffix-p): New function.
2545
3cfb6af3
GM
25462013-11-23 Glenn Morris <rgm@gnu.org>
2547
2548 * progmodes/python.el (python-shell-send-file):
2549 Add option to delete file when done. (Bug#15647)
2550 (python-shell-send-string, python-shell-send-region): Use it.
2551
c27924b7
IS
25522013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2553
e1b01c7f
IS
2554 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2555 to set buffer-read-only to t, never to nil. (Bug#15938)
2556
c27924b7
IS
2557 * textmodes/tex-mode.el (latex-noindent-environments):
2558 Add safe-local-variable property. (Bug#15936)
2559
17e0445b
GM
25602013-11-23 Glenn Morris <rgm@gnu.org>
2561
92f78ea3
GM
2562 * textmodes/enriched.el (enriched-mode): Doc fix.
2563 * emacs-lisp/authors.el (authors-renamed-files-alist):
2564 Add enriched.doc -> enriched.txt.
2565
17e0445b
GM
2566 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2567
965bb23a
LL
25682013-11-22 Leo Liu <sdl.web@gmail.com>
2569
2570 * progmodes/octave.el (inferior-octave-startup): Spit out error
2571 message.
2572
d19ffd64
BB
25732013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2574
2575 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2576 Improve docstring.
15ba2182
BB
2577 Add :version.
2578 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2579
7a7567d2
LL
25802013-11-22 Leo Liu <sdl.web@gmail.com>
2581
2582 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2583 (Bug#15076)
8c09f64b
LL
2584 (octave-help-mode): Adapt to change to help-mode-finish to use
2585 derived-mode-p on 2013-09-17.
2586 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2587 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2588
724bc265
LL
25892013-11-22 Leo Liu <sdl.web@gmail.com>
2590
2591 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2592 (inferior-octave-startup, inferior-octave-check-process)
2593 (inferior-octave-track-window-width-change)
2594 (octave-completion-at-point, octave-eldoc-function): Use it.
2595 (octave-kill-process): Provide confirmation. (Bug#10564)
2596
38637cca
LL
25972013-11-21 Leo Liu <sdl.web@gmail.com>
2598
511fa0d3
SM
2599 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2600 Fix obsolete variable comment-use-global-state.
38637cca 2601
06e752b4
RS
26022013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2603
511fa0d3
SM
2604 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2605 Add `octave-source-file'.
06e752b4
RS
2606 (octave-source-file): New function. (Bug#15935)
2607
7514d3f8 26082013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2609
2610 * net/eww.el (eww-local-regex): New variable.
2611 (eww): Use it to detect localhost and similar.
2612
b6ffa04a
LL
26132013-11-21 Leo Liu <sdl.web@gmail.com>
2614
2615 Add completion for command `ag'.
2021a200
LL
2616 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2617 (pcomplete/ag): New function.
e9dc713d 2618 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2619
d1a6bccc
SM
26202013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2623 (bug#14646).
2624 (make-obsolete): Remove interactive spec.
2625
2df10228
GM
26262013-11-21 Glenn Morris <rgm@gnu.org>
2627
2628 * startup.el (command-line-1): Use path-separator with -L.
2629
86fd16b6
TZ
26302013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2631
2632 * emacs-lisp/package.el (describe-package-1): Add package archive
2633 to shown fields.
2634
0449d6cd 26352013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2636
2637 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2638 Change default to "# encoding: %s" to differentiate it from the
2639 default Ruby encoding comment template.
2640
dc7e8c17 26412013-11-20 era eriksson <era+emacsbugs@iki.fi>
2642
2643 * ses.el (ses-mode): Doc fix. (Bug#14748)
2644
f0cfa5fe
LL
26452013-11-20 Leo Liu <sdl.web@gmail.com>
2646
2647 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2648
826dc7b6
DN
26492013-11-19 Dan Nicolaescu <dann@gnu.org>
2650
2651 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2652 when rebase or bisect are in progress.
2653
a6e3a5d5
XF
26542013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2655
2656 * filenotify.el (file-notify-add-watch): Doc fix.
2657
f130cb76
LL
26582013-11-19 Leo Liu <sdl.web@gmail.com>
2659
e0855d7d
LL
2660 * obsolete/rcompile.el: Mark obsolete.
2661
f130cb76 2662 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2663 (compilation-goto-locus, compilation-find-file):
2664 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2665 (Bug#13594)
2666
2667 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2668 new parameter no-display-ok. Return either a window or nil
2669 but never a non-window value.
f130cb76 2670
1f35d401
SM
26712013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2672
25158c76
SM
2673 * electric.el (electric-indent-mode-map): Remove.
2674 (electric-indent-mode): Change the global-map instead (bug#15915).
2675
2676 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2677 Use add-function.
1f35d401 2678
9bc67baa
SM
26792013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2680
986545b5
SM
2681 * emacs-lisp/nadvice.el (remove-function): Align with
2682 add-function's behavior.
2683
9bc67baa
SM
2684 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2685 (gdb--string-regexp): New constant.
2686 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2687 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2688 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2689 submatch 1.
2690 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2691 Adjust use accordingly.
2692 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2693
56cd894e
AS
26942013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2695
2696 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2697 interpolation curlies (Bug#15914).
2698
014690de
JB
26992013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2700
2701 * calc/calc.el (calc-context-sensitive-enter): New variable.
2702 (calc-enter): Use `calc-context-sensitive-enter'.
2703
7e26a6c3
TZ
27042013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2705
2706 * progmodes/cfengine.el: Version bump.
2707 (cfengine-cf-promises): New defcustom to locate cf-promises.
2708 (cfengine3-vartypes): Add new "data" type.
2709 (cfengine3--current-word): New function to get current name-like
2710 word or its bounds.
2711 (cfengine3--current-function): New function to look up a CFEngine
2712 function's definition.
2713 (cfengine3-format-function-docstring): New function.
2714 (cfengine3-make-syntax-cache): New function.
2715 (cfengine3-documentation-function): New function: ElDoc glue.
2716 (cfengine3-completion-function): New function: completion glue.
2717 (cfengine3-mode): Set `compile-command',
2718 `eldoc-documentation-function', and add to
2719 `completion-at-point-functions'.
2720
355204dd
MA
27212013-11-16 Michael Albinus <michael.albinus@gmx.de>
2722
2723 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2724 `tramp-current-connection'.
2725
43cebc23
DG
27262013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2729 nil/self/true/false with "end of symbol".
2730
a3fed6ff
BB
27312013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2732
2733 * subr.el (version-regexp-alist): Fix a typo.
2734
e675b3e4
MA
27352013-11-15 Michael Albinus <michael.albinus@gmx.de>
2736
2737 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2738 "en_US.utf8" and "LC_CTYPE" to "".
2739 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2740 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2741
a1f03e89
LL
27422013-11-15 Leo Liu <sdl.web@gmail.com>
2743
2744 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2745
5d9d9451
SM
27462013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2747
58362662
CS
2748 * progmodes/gud.el (ctl-x-map):
2749 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2750 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2751
6c1bf086
BB
27522013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2753
0d5363c4
BB
2754 * subr.el (version-regexp-alist):
2755 Recognize hg, svn and darcs versions as snapshot versions.
2756
4e9fc48c
BB
2757 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2758 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2759 (ruby--encoding-comment-required-p): Extract from
2760 `ruby-mode-set-encoding'.
2761 (ruby-mode-set-encoding): Add the ability to always insert an
2762 utf-8 encoding comment. Fix and simplify coding comment update
2763 logic.
6c1bf086 2764
2f7e72f8
MA
27652013-11-14 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp-gvfs.el (top): Run init code only when
2768 `tramp-gvfs-enabled' is not nil.
2769 (tramp-gvfs-enabled): Check also :system bus.
2770
0f137a73
SM
27712013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2772
2773 Sync with upstream verilog-mode revision 78e66ba.
2774 * progmodes/verilog-mode.el (verilog-end-of-defun)
2775 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2776 (verilog-get-end-of-defun): Remove unused argument.
2777 (verilog-comment-depth): Remove unused local `e'.
2778 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2779 Don't pass arg to verilog-get-end-of-defun.
2780
1c276bdd
GM
27812013-11-14 Glenn Morris <rgm@gnu.org>
2782
2783 * obsolete/assoc.el (aget): Prefix dynamic variable.
2784
2785 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2786
ff6ec81d
SM
27872013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * widget.el, hfy-cmap.el: Remove bogus package version number.
2790
75f777b6
GM
27912013-11-13 Glenn Morris <rgm@gnu.org>
2792
1d43dba1
GM
2793 * replace.el (replace-eval-replacement):
2794 Try to give more helpful error message. (Bug#15836)
2795
ff4b7bd5
GM
2796 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2797 (archive-7z-update): Avoid custom type mismatches.
2798
75f777b6
GM
2799 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2800
11151a06
MA
28012013-11-13 Michael Albinus <michael.albinus@gmx.de>
2802
e675b3e4 2803 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2804 address can be empty.
2805
2806 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2807 Accept nil SWITCHES.
2808 (tramp-gvfs-handle-write-region): Implement APPEND.
2809
7b08f97e
DG
28102013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2813 binary "|" operator and closing block args delimiter.
2814 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2815 (ruby-smie--implicit-semi-p): Not after "|" operator.
2816 (ruby-smie--closing-pipe-p): New function.
2817 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2818 (ruby-smie-rules): Indent after "|".
2819
f201cf3a
GM
28202013-11-12 Glenn Morris <rgm@gnu.org>
2821
2822 * ps-print.el (ps-face-attribute-list):
2823 Handle anonymous faces. (Bug#15827)
2824
e6f759f9
MR
28252013-11-12 Martin Rudalics <rudalics@gmx.at>
2826
2827 * window.el (display-buffer-other-frame): Fix doc-string.
2828 (Bug#15868)
2829
ecda65d4
SM
28302013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2833
7ce8fcc3
MA
28342013-11-11 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2837 (tramp-sh-handle-file-local-copy): Don't write a message when
2838 saving temporary files.
2839
2840 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2841 both directories are remote.
2842 (tramp-smb-handle-directory-files): Do not return double entries.
2843 Do not expand full file names.
2844 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2845 (tramp-smb-handle-write-region): Implement APPEND.
2846 (tramp-smb-get-stat-capability): Fix a stupid bug.
2847
7818df11
SM
28482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2851
608c2085
NT
28522013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2853
2854 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2855 throwing error over malformed let/let* (bug#15814).
2856
122a7e46
SM
28572013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * iswitchb.el (iswitchb-mode): Mark obsolete.
2860
766284d9
GM
28612013-11-11 Glenn Morris <rgm@gnu.org>
2862
2863 * international/uni-bidi.el, international/uni-category.el:
2864 * international/uni-name.el, international/uni-numeric.el:
2865 Regenerate for Unicode 6.3.0.
2866
7072a4e9
MA
28672013-11-10 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * net/tramp.el (tramp-methods):
2870 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2871 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2872
c9df215b
AS
28732013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2874
608c2085
NT
2875 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2876 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2877
fa47d796
DG
28782013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2879
2880 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2881 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2882 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2883 (ispell-complete-word): Call `ispell-lookup-words' with the value
2884 independent of `ispell-look-p'.
2885
1629a329
DG
28862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2887
2888 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2889 Not after "||".
2890 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2891 their parent.
2892
ad16897c
SM
28932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2896 (ruby-font-lock-keywords): Use backquote.
2897
ffa2df72
DG
28982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2901 (ruby-smie--backward-token): Only consider full-string matches.
2902
5b97b4c0
JD
29032013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2904
2905 * faces.el (describe-face): Add distant-foreground.
2906
71731c03
BB
29072013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2908
4e9fc48c
BB
2909 * progmodes/ruby-mode.el: Improve encoding comment handling.
2910 (ruby-encoding-magic-comment-style): New option.
2911 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2912 (ruby--insert-coding-comment, ruby--detect-encoding):
2913 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2914 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2915 to control the style of the auto-inserted encoding comment.
71731c03 2916
da3b328d
DG
29172013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2918
ad16897c
SM
2919 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2920 Use `smie-backward-sexp' with token argument.
da3b328d 2921
1606c2d3
MA
29222013-11-08 Michael Albinus <michael.albinus@gmx.de>
2923
2924 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2925 Remove instrumentation code.
2926
b0f4c320
GM
29272013-11-08 Glenn Morris <rgm@gnu.org>
2928
2929 * progmodes/autoconf.el (autoconf-mode):
2930 Tweak comment-start-skip. (Bug#15822)
2931
43668fb1
SM
29322013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2935 at bobp (bug#15826).
2936 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2937
daddb3fd
DH
29382013-11-08 Darren Hoo <darren.hoo@gmail.com>
2939
2940 * man.el (Man-start-calling): New macro, extracted from
2941 Man-getpage-in-background.
2942 (Man-getpage-in-background): Use it.
2943 (Man-update-manpage): New command.
2944 (Man-mode-map): Bind it.
2945
1f923923
DG
29462013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2949 of "and", "or", "&&" and "||".
2950 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2951 argument. Prohibit opening curly brace because it could only be a
2952 block opener in that position.
daddb3fd
DH
2953 (ruby-smie--forward-token, ruby-smie--backward-token):
2954 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2955 arguments.
2956 (ruby-smie--indent-to-stmt): New function, seeks the end of
2957 previous statement or beginning of buffer.
2958 (ruby-smie-rules): Use it.
2959 (ruby-smie-rules): Check if there's a ":" before a curly block
2960 opener candidate; if there is, it's a hash.
2961
3220d527
SM
29622013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2965 (cl--block-wrapper): Fix last accidental change.
2966
1eb1f9e0
MA
29672013-11-07 Michael Albinus <michael.albinus@gmx.de>
2968
2969 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2970 Instrument, in order to hunt failure on hydra.
2971
e6e4db3c
NT
29722013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2973
2974 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2975 malformed bindings form (bug#15814).
2976
b420ccfc
DG
29772013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2978
2979 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2980 "." compared to " @ ". This incidentally fixes some indentation
2981 examples with "do".
e6e4db3c 2982 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2983 (ruby-smie-grammar): New tokens: "and" and "or".
2984 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2985 Exclude "and" and "or". Remove "do" in order to work around token
2986 priorities.
2987 (ruby-smie-rules): Add all infix tokens. Handle the case of
2988 beginning-of-buffer.
b420ccfc 2989
6b4ac03e
GM
29902013-11-06 Glenn Morris <rgm@gnu.org>
2991
2992 * Makefile.in (setwins_almost, setwins_for_subdirs):
2993 Avoid accidental matches.
2994
5ca114d1
SM
29952013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * menu-bar.el (popup-menu): Use key-binding.
2998
f72552bd
EZ
29992013-11-06 Eli Zaretskii <eliz@gnu.org>
3000
3001 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3002 menus, support also the menus produced by minor modes.
3003 (Bug#15817)
3004
5d5c701e
LL
30052013-11-06 Leo Liu <sdl.web@gmail.com>
3006
3007 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3008 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3009
0a8b75e2
GM
30102013-11-06 Glenn Morris <rgm@gnu.org>
3011
3012 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3013 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3014 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3015
a35287ea
SM
30162013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3017
feca4e2d
SM
3018 * electric.el (electric-indent-just-newline): New command.
3019 (electric-indent-mode-map): New keymap.
3020 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3021 Re-add :group which weren't redundant.
3022
a35287ea
SM
3023 * electric.el (electric-indent-local-mode): New minor mode.
3024 (electric-indent-functions-without-reindent): New var.
3025 (electric-indent-post-self-insert-function): Use it.
3026 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3027
375761b2
EZ
30282013-11-05 Eli Zaretskii <eliz@gnu.org>
3029
9a6ad735
EZ
3030 * international/quail.el (quail-help): Be more explicit about the
3031 meaning of the labels shown on the keys. (Bug#15800)
3032
375761b2
EZ
3033 * startup.el (normal-top-level): Load the subdirs.el files before
3034 setting the locale environment. (Bug#15805)
3035
520a6e4a
SM
30362013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3037
0acfafef
SM
3038 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3039 via arguments so as to get the right ones (bug#15418).
3040
520a6e4a
SM
3041 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3042
15826261
MA
30432013-11-05 Michael Albinus <michael.albinus@gmx.de>
3044
3045 Fix problems found while writing a test suite.
3046
3047 * net/tramp-compat.el (tramp-compat-load): New defun.
3048 * net/tramp.el (tramp-handle-load): Use it.
3049
3050 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3051 "(numberp ok-if-already-exists)" correctly.
3052
d35f31a4
XF
30532013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3054
3055 * international/characters.el (glyphless-char-display-control):
3056 Add usage note.
3057
ae93bc74
BB
30582013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3059
520a6e4a
SM
3060 * progmodes/python.el (python-mode):
3061 * progmodes/scheme.el (scheme-mode):
3062 * progmodes/prolog.el (prolog-mode):
3063 * progmodes/ruby-mode.el (ruby-mode):
3064 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3065 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3066
0ade65b5
SM
30672013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3068
a0d5f7a4
SM
3069 * rect.el (rectangle--highlight-for-redisplay):
3070 * emacs-lisp/smie.el (smie--next-indent-change):
3071 Use buffer-chars-modified-tick.
3072
c93f3f5c
SM
3073 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3074
0ade65b5
SM
3075 * electric.el (electric-indent-post-self-insert-function):
3076 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3077
ef9dd188
HE
30782013-11-04 Helmut Eller <eller.helmut@gmail.com>
3079
3080 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3081
306e7308
NT
30822013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3083
3084 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3085 (bug#15786).
3086
e5afbcac
SM
30872013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3088
1d01ad41
SM
3089 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3090
e5afbcac
SM
3091 * progmodes/python.el: Fix up last change.
3092 (python-shell--save-temp-file): New function.
3093 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3094 `string' comes from the current buffer.
3095 (python-shell-send-string-no-output): Remove `msg' arg.
3096 (python--use-fake-loc): New var.
3097 (python-shell-buffer-substring): Obey it. Try to compensate for the
3098 extra coding line added by python-shell--save-temp-file.
3099 (python-shell-send-region): Use python-shell--save-temp-file and
3100 python-shell-send-file directly. Add `nomain' argument.
3101 (python-shell-send-buffer): Use python-shell-send-region.
3102 (python-electric-pair-string-delimiter): New function.
3103 (python-mode): Use it.
3104
d0065ff1
EZ
31052013-11-04 Eli Zaretskii <eliz@gnu.org>
3106
3107 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3108 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3109 environment and decoding all of the default-directory's to here
3110 from command-line.
3111 (command-line): Decode also argv[0].
3112
3113 * loadup.el: Error out if default-directory is a multibyte string
3114 when we are dumping.
3115
3116 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3117
7397c587
TZ
31182013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3119
3120 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3121 (package-menu--print-info, package-menu--archive-predicate):
3122 Add Archive column to package list.
7397c587 3123
b27cc9fc
MA
31242013-11-04 Michael Albinus <michael.albinus@gmx.de>
3125
3126 Fix problems found while writing a test suite.
3127
3128 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3129 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3130 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3131 to nil when running original file name handler. Otherwise,
3132 there are problems with constructs like "$$FOO".
3133
3134 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3135 for `localname'.
3136
d8c4f18a
BB
31372013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3138
7b530552
BB
3139 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3140
3141 * subr.el (version<, version<=, version=):
3142 Update docstrings with information for snapshot versions.
3143
d8c4f18a
BB
3144 * helpers.el: New library for misc helper functions.
3145 (hash-table-keys): New function returning a list of hash keys.
3146 (hash-table-values): New function returning a list of hash values.
3147
dca01b09
DG
31482013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3149
3150 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3151 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3152
0a749fa0
MN
31532013-11-04 Michal Nazarewicz <mina86@mina86.com>
3154
3155 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3156 checking whether point is after a 1-letter word.
3157
31582013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3159
3160 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3161 Don't infloop when expanding region over `multiline' syntax-type that
3162 begins a line (bug#15778).
3163
4aca7145
SM
31642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3167 Make it into a proper minor mode.
3168 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3169 (rectangle-mark-mode-map): New keymap.
3170 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3171
a0833f62
GM
31722013-11-04 Glenn Morris <rgm@gnu.org>
3173
3174 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3175
e61845c1
SM
31762013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3179 (ruby-smie-rules): Use smie-rule-parent instead.
3180
3181 * emacs-lisp/smie.el (smie-rule-parent): Always call
3182 smie-indent-virtual rather than only for hanging tokens.
3183 (smie--next-indent-change): New helper command.
3184
62942f89
GM
31852013-11-03 Glenn Morris <rgm@gnu.org>
3186
3187 * Makefile.in (abs_srcdir): Remove.
3188 (emacs): Unset EMACSLOADPATH.
3189
b0b9e592
GM
31902013-11-02 Glenn Morris <rgm@gnu.org>
3191
18ba6a33 3192 * Makefile.in (EMACS): Use a relative filename.
8061810d 3193 (abs_top_builddir): Remove.
18ba6a33
GM
3194 (custom-deps, finder-data, autoloads): Use --chdir.
3195
6a8b929e
GM
3196 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3197
c617f3d0
GM
3198 Use relative filenames in TAGS files.
3199 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3200 (lisptagsfiles4, TAGS): Use relative file names.
3201 (TAGS-LISP): Remove.
3202 (maintainer-clean): No more TAGS-LISP file.
3203
b0b9e592
GM
3204 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3205 (lisptagsfiles4): Use absolute filenames again.
3206 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3207 Remove all *loaddefs files, not just the first. Remove esh-groups.
3208 (maintainer-clean): Delete TAGS, TAGS-LISP.
3209
d1c0ea6a
BB
32102013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3211
e61845c1
SM
3212 * emacs-lisp/package.el (package-version-join):
3213 Recognize snapshot versions.
d1c0ea6a 3214
684d71c6
BB
32152013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3216
3217 * subr.el (version-regexp-alist): Add support for snapshot versions.
3218
3d42b968
DG
32192013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3220
e61845c1
SM
3221 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3222 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3223 skip over our direct parent if it's an assignment token..
3224 (ruby-smie-rules): Use it.
3225
7ffd3721
DG
32262013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3227
8449dd1f 3228 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3229 unconditionally. Remove now unnecessary forward declarations.
3230 Remove XEmacs-specific setup.
3231 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3232 (ruby-font-lock-syntactic-keywords)
3233 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3234 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3235 (ruby-here-doc-end-syntax): Remove.
3236 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3237 defined as function.
3238
a3996a2e
BB
32392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3240
3241 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3242
6f9260e8
BB
32432013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3244
3245 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3246 table and abbrev table, `define-derived-mode' does that for us
3247 anyway.
3248
6014de84
GM
32492013-11-01 Glenn Morris <rgm@gnu.org>
3250
3251 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3252 files is atomic for some time, so no parallel compilation issues).
3253
3c334c14
JD
32542013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3255
3256 * faces.el (face-x-resources): Add :distant-foreground.
3257 (region): Use :distant-foreground for gtk and ns.
3258
9bc236c8
TH
32592013-11-01 Tassilo Horn <tsdh@gnu.org>
3260
5246583b 3261 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3262 BibTeX.
3263 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3264 (reftex-locate-bibliography-files): Us it.
3265
d14c81ee
CB
32662013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3267
0e7690de
CB
3268 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3269 allow comments in pbm files.
3270
d14c81ee
CB
3271 * term/w32-win.el (dynamic-library-alist): Support newer versions
3272 of libjpeg starting with v7: look only for the DLL from the
3273 version against which Emacs was built.
ac1bf374 3274 Support versions of libpng beyond 1.4.x.
019c8218 3275 Support libtiff v4.x.
d14c81ee 3276
983d0df5
BB
32772013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3278
3279 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3280 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3281 Add property :safe.
3282 (ruby-deep-arglist): Add property :type.
3283
47f58d85
GM
32842013-10-31 Glenn Morris <rgm@gnu.org>
3285
3286 * Makefile.in (custom-deps, finder-data): No need to setq the target
3287 variables, we are in the right directory and the defaults work fine.
3288
4f85b479
GM
32892013-10-30 Glenn Morris <rgm@gnu.org>
3290
ca7dd4cd
GM
3291 * Makefile.in (autoloads): Do not use abs_lisp.
3292
4f85b479
GM
3293 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3294 `newline' does not respect `standard-output', so use `princ'.
3295
cf59e41c
AA
32962013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3297
3298 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3299 * buff-menu.el (Buffer-menu--unmark): New function.
3300 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3301
74cf04fb
GM
33022013-10-30 Glenn Morris <rgm@gnu.org>
3303
b040b60e
GM
3304 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3305
f53d3815
GM
3306 * emacs-lisp/package.el (lm-homepage): Declare.
3307
5413d873
GM
3308 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3309 Fix doc typos.
3310
cecedb36
GM
3311 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3312
74cf04fb
GM
3313 * Makefile.in (finder-data, autoloads, update-subdirs)
3314 (compile-main, compile-clean, compile-always, bootstrap-clean):
3315 Check return value of cd.
3316 (compile-calc): Remove.
3317
195ee2f0
SM
33182013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3319
ae4002ce
SM
3320 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3321
3322 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3323 (byte-compile-and-folded): New function.
3324 (=, <, >, <=, >=): Use it.
3325
3326 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3327 (path-separator, null-device, buffer-file-coding-system)
3328 (lpr-headers-switches): Check system-type before modifying them.
3329 (find-buffer-file-type-coding-system): Mark obsolete.
3330 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3331 find-file-not-found-set-buffer-file-coding-system.
3332 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3333 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3334 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3335 (w32-direct-print-region-helper, w32-direct-print-region-function)
3336 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3337 * startup.el (normal-top-level-add-subdirs-to-load-path):
3338 * ps-print.el (ps-print-region-function):
3339 * lpr.el (print-region-function): Use new name.
3340
53b39e89
SM
3341 * subr.el (custom-declare-variable-early): Remove function.
3342 (custom-declare-variable-list): Remove var.
3343 (error, user-error): Remove `while' loop.
3344 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3345 (user-emacs-directory-warning, locate-user-emacs-file):
3346 Move to files.el.
3347 * simple.el (read-quoted-char-radix, read-quoted-char):
3348 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3349 Move from subr.el.
3350 * custom.el (custom-declare-variable-list): Don't process
3351 custom-declare-variable-list.
3352
195ee2f0
SM
3353 * progmodes/python.el (python-shell-get-buffer): New function.
3354 (python-shell-get-process): Use it.
3355 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3356 Python which encoding was used. Don't split-string since we only care
3357 about the first line. Return the temp-file, if applicable.
3358 (python-shell-send-region): Tell compile.el how to turn locations in
3359 the temp-file into locations in the source buffer.
3360
7e3561ee
SM
33612013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3362
4c9797cb
SM
3363 * subr.el (undefined): Add missing behavior from the C code for
3364 unbound keys.
3365
3472b6c6
SM
3366 * rect.el: Use lexical-binding. Add new rectangular region support.
3367 (rectangle-mark): New command.
3368 (rectangle--region): New var.
3369 (deactivate-mark-hook): Reset rectangle--region.
3370 (rectangle--extract-region, rectangle--insert-for-yank)
3371 (rectangle--highlight-for-redisplay)
3372 (rectangle--unhighlight-for-redisplay): New functions.
3373 (region-extract-function, redisplay-unhighlight-region-function)
3374 (redisplay-highlight-region-function): Use them to handle
3375 rectangular region.
3376 * simple.el (region-extract-function): New var.
3377 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3378 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3379 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3380 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3381 (redisplay-unhighlight-region-function)
3382 (redisplay-highlight-region-function): New vars.
3383 (redisplay--update-region-highlight): New function.
3384 (pre-redisplay-function): Use it.
3385 (exchange-point-and-mark): Don't deactivate the mark before
3386 reactivate-it anyway.
3387 * comint.el (comint-kill-region): Remove yank-handler argument.
3388 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3389 (delete-char): Remove property, since it's now part of their
3390 default behavior.
3391 (self-insert-iso): Remove property since this command doesn't exist.
3392
7e3561ee
SM
3393 * emacs-lisp/package.el (package--download-one-archive)
3394 (describe-package-1): Don't query the user about final newline.
3395
b9bef71f
DC
33962013-10-29 Daniel Colascione <dancol@dancol.org>
3397
3398 * net/tramp.el (tramp-methods): Document new functionality.
3399 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3400 tramp-hostname-checker if method provides one instead of scanning
3401 argument list for "%h" to decide hostname acceptability.
3402
4efc33f0
MA
34032013-10-28 Michael Albinus <michael.albinus@gmx.de>
3404
3405 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3406 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3407 Handle COPY-CONTENTS. (Bug#15737)
3408
ed42a877
DU
34092013-10-28 Daiki Ueno <ueno@gnu.org>
3410
3411 * epa-file.el
7e3561ee
SM
3412 (epa-file-cache-passphrase-for-symmetric-encryption):
3413 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3414
18c9f8a2
XF
34152013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3416
7a4bc7be
XF
3417 * image.el (defimage):
3418 (image-load-path): Doc fixes.
18c9f8a2 3419
b1e8e010
AM
34202013-10-27 Alan Mackenzie <acm@muc.de>
3421
3422 Indent statements in macros following "##" correctly.
7e3561ee
SM
3423 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3424 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3425
73d40d1e 34262013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3427
3428 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3429
c8c605ac
DG
34302013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3433 after `=' is probably a new expression.
3434
ca7e59d4
RS
34352013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3436
3437 * man.el (man-imenu-title): New option.
3438 (Man-mode-map): Add menu. (Bug#15722)
3439 (Man-mode): Add imenu to menu.
3440
bae91342
DG
34412013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3442
3443 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3444 specific in what the first arg can be: a non-keyword word,
3445 string/regexp/percent literal opener, opening paren, or unary
3446 operator followed directly by word.
3447
eb89dc14
SM
34482013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3451 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3452 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3453 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3454 Remove vars, they do not apply any more.
3455 (prolog-mode-abbrev-table): Remove redundant declaration.
3456 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3457 (prolog-use-smie): Remove.
3458 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3459 supported by prolog-electric-if-then-else-flag.
3460 (prolog-mode-variables, prolog-menu): Use setq-local.
3461 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3462 Remove binding to `Backspace' since this key doesn't exist anyway.
3463 Remove bindings for electric self-inserting keys.
3464 (prog-mode): Assume it's defined.
3465 (prolog-post-self-insert): New function.
3466 (prolog-mode): Use it.
3467 (prolog-indent-line, prolog-indent-level)
3468 (prolog-find-indent-of-matching-paren)
3469 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3470 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3471 (prolog-goto-next-paren, prolog-in-string-or-comment)
3472 (prolog-tokenize, prolog-inside-mline-comment)
3473 (prolog-find-start-of-mline-comment): Remove functions.
3474 (prolog-find-unmatched-paren, prolog-clause-end)
3475 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3476 (prolog-electric--if-then-else): Rename from
3477 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3478 (prolog-tokenize-searchkey): Remove const.
3479 (prolog-clause-info): Use forward-sexp.
3480 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3481 (prolog-electric-if-then-else): Remove commands.
3482 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3483 for use in post-self-insert-hook.
3484 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3485 for use in post-self-insert-hook.
3486 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3487 for use in post-self-insert-hook.
3488 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3489 adapt it for use in post-self-insert-hook.
3490
3dab0a83
MA
34912013-10-25 Michael Albinus <michael.albinus@gmx.de>
3492
3493 * emacs-lisp/ert.el (ert-run-tests-interactively):
3494 Use `completing-read'. (Bug#9756)
3495
fbfd0e1d
EZ
34962013-10-25 Eli Zaretskii <eliz@gnu.org>
3497
3498 * simple.el (line-move): Call line-move-1 instead of
3499 line-move-visual when the current window hscroll is zero, but
3500 temporary-goal-column indicates we will need to hscroll as result
3501 of the movement. (Bug#15712)
3502
963ce636
DG
35032013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3506 capitalization. Use :visible instead of :active.
3507 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3508 commands that are used with SMIE.
3509 (ruby-do-end-to-brace): Insert space after `{'.
3510
a0be396a
JA
35112013-10-25 John Anthony <john@jo.hnanthony.com>
3512
f73754c9
JA
3513 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3514
3515 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3516
f5bf77df
GM
35172013-10-25 Glenn Morris <rgm@gnu.org>
3518
3519 * vc/vc.el (vc-print-log): Don't use a working revision unless
3520 one was explicitly specified. (Bug#15322)
3521
37241f62
SM
35222013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * subr.el (add-to-list): Preserve return value in compiler-macro
3525 (bug#15692).
3526
6408a65d
RS
35272013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3528
3529 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3530 result. Ask user to retry using '-all' flag. (Bug#15701)
3531
71e3276b
SM
35322013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/smie.el: New smie-config system.
3535 (smie-config): New defcustom.
3536 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3537 (smie-config-guess, smie-config-save): New commands.
3538 (smie-config--mode-local, smie-config--buffer-local)
3539 (smie-config--trace, smie-config--modefuns): New vars.
3540 (smie-config--advice, smie-config--mode-hook)
3541 (smie-config--setter, smie-config-local, smie-config--get-trace)
3542 (smie-config--guess-value, smie-config--guess): New functions.
3543 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3544 text properties. Treat "string fence" syntax like string syntax.
3545
3546 * progmodes/sh-script.el (sh-use-smie): Change default.
3547 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3548 (sh-var-value): Simplify by CSE.
3549 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3550 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3551 is used.
3552 (sh-guess-basic-offset): Use cl-incf.
3553 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3554
60db713e
HE
35552013-10-24 Helmut Eller <eller.helmut@gmail.com>
3556
3557 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3558 (bug#15699).
3559
8b251df6
GM
35602013-10-24 Glenn Morris <rgm@gnu.org>
3561
3562 * Makefile.in (abs_top_srcdir): Remove.
3563 (update-subdirs): Use relative path to update-subdirs.
3564
6be0e22b
EZ
35652013-10-24 Eli Zaretskii <eliz@gnu.org>
3566
3567 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3568 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3569 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3570 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3571
50b5b857
MA
35722013-10-24 Michael Albinus <michael.albinus@gmx.de>
3573
3574 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3575 (ert-test-skipped): New error.
3576 (ert-skip, ert-stats-skipped): New defuns.
3577 (ert--skip-unless): New macro.
3578 (ert-test-skipped): New struct.
3579 (ert--run-test-debugger, ert-test-result-type-p)
3580 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3581 (ert--stats-set-test-and-result, ert-char-for-test-result)
3582 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3583 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3584 Handle skipped tests. (Bug#9803)
50b5b857 3585
6f317c2f
GM
35862013-10-24 Glenn Morris <rgm@gnu.org>
3587
e43817c1
GM
3588 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3589
6f317c2f
GM
3590 * Makefile.in (abs_top_srcdir): New, set by configure.
3591 (update-subdirs): Correct build-aux location.
3592
369bbf71
DG
35932013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3594
8297b2cf
DG
3595 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3596 value, whether we could auto-deduce `backend', or not.
3597
369bbf71
DG
3598 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3599 with parameters" example. Simplify the "is it block or is it
3600 hash" check, but also make it more thorough.
3601
d5f1282f
MF
36022013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3603
3604 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3605
bc4aaa31
SM
36062013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3607
03d44565
SM
3608 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3609 { if it is hanging.
3610
bc4aaa31
SM
3611 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3612 :before ";".
3613
f493ff19
JB
36142013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3615
3616 * progmodes/compile.el (compilation-directory-matcher)
3617 (compilation-page-delimiter):
3618 Support GNU Make-4.0 directory quoting. (Bug#15678)
3619
c744a3b9
LL
36202013-10-23 Leo Liu <sdl.web@gmail.com>
3621
3622 * ido.el (ido-tidy): Handle read-only text.
3623
b8e3b0a9
GM
36242013-10-23 Glenn Morris <rgm@gnu.org>
3625
3626 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3627 (emacs, compile, compile-always):
3628 Quote entities that might contain whitespace.
3629 (custom-deps, finder-data, autoloads): Use abs_lisp.
3630 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3631 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3632 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3633
ee4282cd
DG
36342013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3635
bc4aaa31
SM
3636 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3637 Use `following-char'.
7790a270 3638
ee4282cd 36392013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3640
3641 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3642 * progmodes/ruby-mode.el (ruby-smie-rules):
3643 Remove corresponding workaround. Fix indentation rule of ";" so it
3644 also applies when ";" is the parent.
3645
d40a46d7
XF
36462013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3647
3648 * frame.el (display-screens, display-pixel-height)
3649 (display-pixel-width, display-mm-width, display-backing-store)
3650 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3651 (display-visual-class, display-monitor-attributes-list):
3652 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3653
a0f143c9
MG
36542013-10-22 Michael Gauland <mikelygee@amuri.net>
3655
3656 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3657 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3658
18cacc39
DG
36592013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3660
3661 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3662 TODO. Add "." after " @ ".
3663 (ruby-smie--at-dot-call): New function. Checks if point at method
3664 call with explicit target.
3665 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3666 to the method name tokens when it precedes them.
3667 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3668 (ruby-smie-rules): Add rule for indentation before and after "."
3669 token.
3670
df74c4be
SM
36712013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3672
c6dab55f
SM
3673 * textmodes/remember.el (remember-diary-extract-entries):
3674 Avoid add-to-list.
3675
df74c4be
SM
3676 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3677 an instruction.
3678
8c1ae481
DG
36792013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3680
e9dc713d
JB
3681 * progmodes/ruby-mode.el (ruby-smie-grammar):
3682 Add (almost) all infix operators.
cfef16c0
DG
3683 (ruby-smie--implicit-semi-p): Add new operator chars.
3684
8c1ae481
DG
3685 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3686 `smie-down-list'.
3687 (ruby-smie--args-separator-p): Check that there's no newline
3688 between method call and its arguments.
3689
87756ca9
AM
36902013-10-20 Alan Mackenzie <acm@muc.de>
3691
3692 Allow comma separated lists after Java "implements".
3693
df74c4be
SM
3694 * progmodes/cc-engine.el (c-backward-over-enum-header):
3695 Parse commas.
87756ca9
AM
3696 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3697 from a "disallowed" list in enum fontification.
3698
c25f8957
JB
36992013-10-20 Johan Bockgård <bojohan@gnu.org>
3700
df74c4be 3701 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3702
c25f8957
JB
3703 * progmodes/verilog-mode.el (verilog-mode): Don't set
3704 comment-indent-function globally.
3705
aca5fcdc
JD
37062013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3707
5f161884
JD
3708 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3709 Move Info menu item creation to ns-win.el.
3710
3711 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3712 in menu bar.
3713
a6c4680a 3714 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3715
3716 * term/ns-win.el (ns-initialize-window-system): ... to here.
3717
914b7f98
SM
37182013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * simple.el (newline): Only run post-self-insert-hook when
3721 called interactively.
3722
846ffe77
JB
37232013-10-19 Johan Bockgård <bojohan@gnu.org>
3724
3725 * icomplete.el (icomplete-with-completion-tables): Add :version.
3726
033f22dd
AM
37272013-10-19 Alan Mackenzie <acm@muc.de>
3728
3729 Fix fontification bugs with constructors and const.
3730
3731 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3732 CASE 2) Remove the check for the absence of a suffix construct
3733 after a function declaration with only types (no identifiers) in
3734 the parentheses. Also, accept a function declaration with just a
3735 type inside the parentheses, if this type can be positively
3736 recognised as such, or if a prefix keyword like "explicit" nails
3737 down the construct as a declaration.
3738
58ce0cfc
EZ
37392013-10-19 Eli Zaretskii <eliz@gnu.org>
3740
3741 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3742 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3743 the problem whereby selecting a menu item that leads to a
3744 minibuffer prompt moves the cursor out of the minibuffer window,
3745 making it hard to type at the prompt. Suggested by Stefan Monnier
3746 <monnier@iro.umontreal.ca>.
3747
50e28e7d
JD
37482013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3749
3750 * menu-bar.el: Don't make Services menu.
3751
7deed4bf
RS
37522013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3753
3754 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3755 (ffap-alist): Use ffap-c++-mode for c++-mode.
3756 (ffap-c++-path): New variable.
3757 (ffap-c++-mode): New function.
3758
7bcb455b
JVJ
37592013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3760
3761 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3762
f0ff1cd5
MA
37632013-10-18 Michael Albinus <michael.albinus@gmx.de>
3764
3765 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3766 introduced on 2013-09-08, which results in an infinite loop
3767 requesting a password.
3768
d64da4b7
GM
37692013-10-18 Glenn Morris <rgm@gnu.org>
3770
3771 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3772
ea89ff08
WS
37732013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3774
3775 Sync with upstream verilog-mode revision 1a6ecec7.
3776 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3777 (verilog-mode-release-date): Remove.
3778 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3779 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3780 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3781 (verilog-auto-tieoff-ignore-regexp)
3782 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3783 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3784 (verilog-signals-with, verilog-dir-cache-preserving)
3785 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3786 Doc fixes.
3787 (verilog-case-fold): New option, to control case folding in
3788 regexp searches, bug597.
3789 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3790 (verilog-string-match-fold, verilog-in-paren-count)
3791 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3792 (verilog-at-close-struct-p): New functions.
3793 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3794 (verilog-forward-sexp, verilog-set-auto-endcomments):
3795 (verilog-leap-to-case-head): Handle "unique0" case.
3796 (verilog-in-constraint-re): New constant.
3797 (verilog-keywords, verilog-type-font-keywords):
3798 Add some SystemVerilog 1800-2012 keywords.
3799 (verilog-label-be): Remove unimplemented argument, bug669.
3800 (verilog-batch-execute-func): When batch expanding clear
3801 create-lockfiles to prevent spurious user locks when a file ends
3802 up not changing.
3803 (verilog-calculate-indent, verilog-calc-1)
3804 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3805 (verilog-do-indent): Fix indentation of nested constraints
3806 and structures.
3807 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3808 (verilog-auto-inst-param): Use verilog-string-match-fold.
3809 (verilog-read-inst-module-matcher):
3810 Fix AUTOINST on gate primitives with #1.
3811 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3812 Reads all user-defined typed variables.
3813 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3814 (verilog-signals-matching-regexp)
3815 (verilog-signals-not-matching-regexp, verilog-auto):
3816 Respect verilog-case-fold.
3817 (verilog-diff-report): Fix line count.
3818 (verilog-auto-assign-modport): Remove unused local `modi'.
3819 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3820 better handle multidimensional arrays.
3821 Fix packed array ports misadding bit index in AUTOINST, bug637.
3822 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3823 to not double-declare existing outputs and inputs, respectively.
3824 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3825 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3826 (verilog-sk-uvm-component): New skeleton.
3827 (verilog-submit-bug-report): Add verilog-case-fold,
3828 remove verilog-mode-release-date.
3829
ef566920
BR
38302013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3831
a12bf61e 3832 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3833 as before.
3834
29df8a0b
RT
38352013-10-18 Reuben Thomas <rrt@sc3d.org>
3836
e0eb0550 3837 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3838 remember buffers (bug#13566).
3839
04a19a79
DC
38402013-10-18 Daniel Colascione <dancol@dancol.org>
3841
3842 When evaluating forms in ielm, direct standard output to ielm
3843 buffer. Add new ielm-return-for-effect command. Remove trailing
3844 whitespace throughout.
3845
3846 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3847 (ielm-return-for-effect): New command.
3848 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3849 (ielm-eval-input): Accept optional `for-effect' parameter.
3850 Bind `standard-output' to stream we create using
04a19a79
DC
3851 `ielm-standard-output-impl'. Suppress printing result when
3852 `for-effect'.
3853 (ielm-standard-output-impl): New function.
3854 (inferior-emacs-lisp-mode): Explain new features in documentation.
3855
4c1f03ef
MA
38562013-10-17 Michael Albinus <michael.albinus@gmx.de>
3857
3858 Code cleanup.
3859
3860 * net/tramp.el (tramp-debug-message): Do not check for connection
3861 buffer.
3862 (tramp-message): Use "vector" connection property.
3863
3864 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3865 (tramp-equal-remote, tramp-eshell-directory-change)
3866 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3867 (tramp-adb-handle-rename-file)
3868 * net/tramp-cmds.el (tramp-list-remote-buffers)
3869 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3870 * net/tramp-compat.el (tramp-compat-process-running-p)
3871 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3872 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3873 (tramp-gvfs-handle-rename-file)
3874 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3875 (tramp-set-file-uid-gid)
3876 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3877 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3878 of `file-remote-p'.
3879
3880 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3881 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3882 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3883 (tramp-gw-open-network-stream): Suppress unrelated traces.
3884
3885 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3886 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3887 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3888 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3889 connection property.
3890
3891 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3892 persistency file.
4c1f03ef
MA
3893
3894 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3895 Refactor common code. Improve debug message.
3896 (tramp-maybe-open-connection)
3897 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3898 connection buffer too early.
3899
3900 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3901 from `tramp-smb-actions-with-acl'.
3902 (tramp-smb-actions-set-acl): New defconst.
3903 (tramp-smb-handle-copy-directory)
3904 (tramp-smb-action-get-acl): New defun, renamed from
3905 `tramp-smb-action-with-acl'.
3906 (tramp-smb-action-set-acl): New defun.
3907 (tramp-smb-handle-set-file-acl): Rewrite.
3908
642eb8b6
GM
39092013-10-17 Glenn Morris <rgm@gnu.org>
3910
3911 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3912
85527ff3
SM
39132013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3914
921c1d62
SM
3915 * skeleton.el (skeleton-newline): Remove.
3916 (skeleton-internal-1): Use (insert "\n") instead.
3917
e333fb10
SM
3918 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3919 let-bindings.
3920
85527ff3
SM
3921 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3922 forward-sexp-function while we redo its job (bug#15613).
3923
c8722a97
JB
39242013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3925
3926 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3927 represented by lists.
3928
7a550bbb
GM
39292013-10-16 Glenn Morris <rgm@gnu.org>
3930
3931 * tmm.el (tmm--history): New dynamic variable.
3932 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3933
f19da8ad
MA
39342013-10-16 Michael Albinus <michael.albinus@gmx.de>
3935
3936 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3937 (tramp-smb-errors): Add error messages.
3938 (tramp-smb-actions-with-acl): New defconst.
3939 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3940 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3941 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3942 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3943 (tramp-smb-get-stat-capability): Fix tests.
3944
a24b9961
DK
39452013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3946
3947 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3948 (bug#15580).
3949
62ad85e6
GM
39502013-10-16 Glenn Morris <rgm@gnu.org>
3951
0283d6b0
GM
3952 * ansi-color.el (ansi-color-drop-regexp):
3953 Add 1J, 1K, 2K. (Bug#15617)
3954
012e2f9f
GM
3955 * files.el (hack-local-variables--warned-lexical): New.
3956 (hack-local-variables):
3957 Warn about misplaced lexical-binding. (Bug#15616)
3958
62ad85e6
GM
3959 * net/eww.el (eww-render): Always set eww-current-url,
3960 and update header line. (Bug#15622)
3961 (eww-display-html): ... Rather than just doing it here.
3962
6456c0ea
EZ
39632013-10-15 Eli Zaretskii <eliz@gnu.org>
3964
3965 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3966 menu navigations commands.
3967
c2de5588
DK
39682013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3969
3970 * progmodes/subword.el (subword-capitalize): Be careful when
3971 the search for [[:alpha:]] fails (bug#15580).
3972
ccd4a783
EZ
39732013-10-14 Eli Zaretskii <eliz@gnu.org>
3974
3975 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3976 to commands that scroll the menu.
3977
1eda1d8d
DG
39782013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3979
c2de5588
DK
3980 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3981 Handle methods ending with `?' and `!'.
1eda1d8d 3982
e70181b8
AM
39832013-10-14 Akinori MUSHA <knu@iDaemons.org>
3984
3985 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3986 `japanese-cp932' to `cp932' to fix the problem where saving a
3987 source file written in Shift_JIS twice would end up having
3988 `coding: japanese-cp932' which Ruby could not recognize.
3989 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3990 in `ruby-encoding-map'.
3991 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3992 doesn't need to be explicitly declared in magic comment.
3993 (ruby-encoding-map): Add type declaration for better customize UI.
3994
9148ee92
GM
39952013-10-13 Glenn Morris <rgm@gnu.org>
3996
a5d38e34
GM
3997 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3998 Occur buffers are read-only. http://bugs.debian.org/720775
3999
9148ee92
GM
4000 * emacs-lisp/authors.el (authors-fixed-entries):
4001 Comment out old alpha stuff.
4002
a9ba094b
DG
40032013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4004
4005 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4006 to `after-save-hook' instead of `before-save-hook'.
4007 (ruby-mode-set-encoding): Use the value of coding system used to
4008 write the file. Call `basic-save-buffer-1' after modifying the
4009 buffer.
4010
7a068717
AM
40112013-10-13 Alan Mackenzie <acm@muc.de>
4012
4013 Fix indentation/fontification of Java enum with
4014 "implements"/generic.
4015
c2de5588
DK
4016 * progmodes/cc-engine.el (c-backward-over-enum-header):
4017 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4018 (c-inside-bracelist-p): Uses new function above.
4019 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4020 function above.
4021 (c-font-lock-enum-tail): Uses new function above.
4022
85b64f02
KH
40232013-10-13 Kenichi Handa <handa@gnu.org>
4024
4025 * international/mule-cmds.el (select-safe-coding-system): Remove a
4026 superfluous condition in chekcing whether a coding system is safe
4027 or not.
4028
fc7f501b
OK
40292013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4030
4031 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4032
fdcb2049
AP
40332013-10-13 Andreas Politz <politza@hochschule-trier.de>
4034
4035 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4036
8c106d17
GM
40372013-10-13 Glenn Morris <rgm@gnu.org>
4038
feab892d
GM
4039 * menu-bar.el (menu-bar-update-buffers):
4040 Unify Buffers menu prompt string. (Bug#15576)
4041
b22d0686
GM
4042 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4043
8c106d17
GM
4044 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4045 Add some entries.
4046 (authors-fixed-entries): Use accented form of name.
4047
1b12c797
SM
40482013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4049
650fa7bf 4050 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4051 method calls (bug#15594).
650fa7bf
SM
4052 (ruby-smie--args-separator-p): New function.
4053 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4054 recognize paren-free method calls.
4055
1b12c797
SM
4056 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4057 internals of universal-argument.
4058
029619c8
EZ
40592013-10-11 Eli Zaretskii <eliz@gnu.org>
4060
4061 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4062 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4063 dropped menu on second mouse click on the menu bar.
029619c8 4064
dd070019
SM
40652013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4068 (explicit-shell-file-name): Declare.
4069 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4070 (sh-completion-at-point-function): New function.
4071 (sh-mode): Use it.
4072 (sh-smie--keyword-p): Remove unused argument.
4073 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4074 vars.
4075 (sh-set-shell): Always setup SMIE, even if we use the
4076 old indentation code.
4077
0922b826
DG
40782013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4079
b68e2926
DG
4080 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4081 cases of ? and =.
4082 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4083 predicate would return nil are almost non-existent.
4084 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4085
0922b826
DG
4086 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4087 cache also after commands that modify the buffer but don't move
4088 point.
4089
ee041f2d
SM
40902013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4091
4092 * env.el (substitute-env-in-file-name): New function.
4093 (substitute-env-vars): Extend the meaning of the optional arg.
4094
a5dab159
EZ
40952013-10-10 Eli Zaretskii <eliz@gnu.org>
4096
4097 * term/w32-win.el (dynamic-library-alist): Define separate lists
4098 of GIF DLLs for versions before and after 5.0.0 of giflib.
4099 (Bug#15531)
4100
0449d6cd 41012013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4102
4103 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4104 not locked, use last revision and current source as
4105 defaults. (Bug#15569)
4106
2f6e161e
MY
41072013-10-10 Masatake YAMATO <yamato@redhat.com>
4108
4109 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4110 menu-bar is hidden.
4111
6c8413fc
MR
41122013-10-10 Martin Rudalics <rudalics@gmx.at>
4113
4114 * window.el (pop-to-buffer-same-window): Fix doc-string.
4115 (Bug#15492)
4116
20832de0
SM
41172013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4120
c6e8ae77
AC
41212013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4122
4123 * calendar/icalendar.el (icalendar-import-file):
4124 Fix interactive spec. (Bug#15482)
4125
9db13baf
GM
41262013-10-10 Glenn Morris <rgm@gnu.org>
4127
9271e90e
GM
4128 * desktop.el (desktop-save): Default to saving in .emacs.d,
4129 since PWD is no longer in desktop-path by default. (Bug#15319)
4130
9db13baf
GM
4131 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4132 now that text mode has a menu with the same entry.
4133 (menu-bar-text-mode-auto-fill): Remove now unused func.
4134 * textmodes/text-mode.el (text-mode-map):
4135 Use auto-fill help text from menu-bar.el.
4136
a0be396a 41372013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4138
4139 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4140
2edcd3c7
JL
41412013-10-09 Juri Linkov <juri@jurta.org>
4142
4143 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4144 instead of this-command-keys. Add universal-argument-more and
4145 universal-argument-minus to the list of prefix commands. (Bug#15568)
4146
574411d0
GM
41472013-10-09 Glenn Morris <rgm@gnu.org>
4148
14afa541
GM
4149 * vc/vc-svn.el (vc-svn-create-repo):
4150 Expand paths in file://... url. (Bug#15446)
4151
574411d0
GM
4152 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4153 Add some entries.
4154 (authors): Remove unused local variables.
4155
79804536
SM
41562013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * profiler.el: Create a more coherent calltree from partial backtraces.
4159 (profiler-format): Hide the tail with `invisible' so that C-s can still
4160 find the hidden elements.
4161 (profiler-calltree-depth): Don't recurse so enthusiastically.
4162 (profiler-function-equal): New hash-table-test.
4163 (profiler-calltree-build-unified): New function.
4164 (profiler-calltree-build): Use it.
4165 (profiler-report-make-name-part): Indent the calltree less.
4166 (profiler-report-mode): Add visibility specs for profiler-format.
4167 (profiler-report-expand-entry, profiler-report-toggle-entry):
4168 Expand the whole subtree when provided with a prefix arg.
4169
238150c8
DG
41702013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4171
4172 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4173 iuwu-mod token.
4174 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4175 hanging iuwu-mod token.
4176 (ruby-smie--forward-token): Do not include a dot after a token in
4177 that token.
4178 (ruby-smie--backward-token): Likewise.
4179
b0949cc4
JL
41802013-10-08 Juri Linkov <juri@jurta.org>
4181
4182 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4183 to isearch-other-control-char.
4184 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4185 and isearch-post-command-hook to post-command-hook.
4186 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4187 and isearch-post-command-hook from post-command-hook.
4188 (isearch-unread-key-sequence)
4189 (isearch-reread-key-sequence-naturally)
4190 (isearch-lookup-scroll-key, isearch-other-control-char)
4191 (isearch-other-meta-char): Remove functions.
4192 (isearch-pre-command-hook, isearch-post-command-hook):
4193 New functions based on isearch-other-meta-char rewritten
4194 relying on the new behavior of overriding-terminal-local-map
4195 that does not replace the local keymaps any more. (Bug#15200)
4196
4ed77415
EZ
41972013-10-08 Eli Zaretskii <eliz@gnu.org>
4198
4199 Support menus on text-mode terminals.
4200 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4201 functionality.
4202
4203 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4204
c2de5588
DK
4205 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4206 Move here from mouse.el.
4ed77415
EZ
4207 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4208 and arrow keys.
4209 (tty-menu-navigation-map): New map for TTY menu navigation.
4210
4211 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4212
4213 * frame.el (display-mouse-p): Report text-mode mouse as available
4214 on w32.
4215 (display-popup-menus-p): Report availability if mouse is
4216 available; don't condition on window-system.
4217
4218 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4219 (tty-menu-selected-face): New faces.
4220
b7d5bd82
TL
42212013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4222
06286513
SM
4223 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4224 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4225 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4226 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4227 New constants.
4228 (lisp-mode-variables): New `elisp' argument.
4229 (emacs-lisp-mode): Use it.
4230 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4231 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4232
b7d5bd82
TL
4233 * indent.el: Use lexical-binding.
4234 (indent-region): Add progress reporter.
4235 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4236 last step.
4237 (indent--next-tab-stop): New function to implement this behavior.
4238 (tab-to-tab-stop, move-to-tab-stop): Use it.
4239
42402013-10-08 Teemu Likonen <tlikonen@iki.fi>
4241
4242 * indent.el (indent-rigidly--current-indentation): New function.
4243 (indent-rigidly-map): New var.
4244 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4245
5ea75d23
BG
42462013-10-08 Bastien Guerry <bzg@gnu.org>
4247
4248 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4249
cc5da1ec
SM
42502013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4251
8ffa1a0b
SM
4252 * progmodes/perl-mode.el: Use lexical-binding.
4253 Remove redundant :group args.
4254 (perl-nochange): Change default to be closer to other major modes's
4255 standard behavior.
4256 (perl-indent-line): Don't consider text on current line as a
4257 valid beginning of function from which to indent.
4258
f2223371
SM
4259 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4260 with more than one argument (bug#15538).
4261
44256060
SM
4262 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4263
cc5da1ec
SM
4264 * vc/pcvs.el: Use lexical-binding.
4265 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4266 environment of `eval'.
4267 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4268 than a list of expressions. Adjust callers.
4269 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4270
0ea1599d
DG
42712013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4272
4273 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4274 case of the dot in a chained method call being on the following line.
0ea1599d 4275
da3e5ebb
SM
42762013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4277
2abb4e65
SM
4278 * electric.el (electric-indent-inhibit): New var.
4279 (electric-indent-post-self-insert-function): Use it.
4280 * progmodes/python.el (python-mode): Set it.
4281
d2e0e795
SM
4282 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4283 open braces.
4284
4285 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4286
bdc6b4c8
SM
4287 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4288 (css-mode): Use electric-indent-chars.
4289
da3e5ebb
SM
4290 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4291 (font-lock-beg, font-lock-end): Move before first use.
4292 (nxml-mode): Use syntax-propertize-function.
4293 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4294 (nxml-extend-after-change-region): Remove.
4295 * nxml/xmltok.el: Use lexical-binding.
4296 (xmltok-save): Use `declare'.
4297 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4298 * nxml/nxml-util.el: Use lexical-binding.
4299 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4300 Use `declare'.
4301 * nxml/nxml-ns.el: Use lexical-binding.
4302 (nxml-ns-save): Use `declare'.
4303 (nxml-ns-prefixes-for): Avoid add-to-list.
4304 * nxml/rng-match.el: Use lexical-binding.
4305 (rng--ipattern): Use cl-defstruct.
4306 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4307 (rng-cons-group-after, rng-subst-group-after)
4308 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4309 Use closures instead of `(lambda...).
4310
f8f91d5d
MA
43112013-10-07 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4314 of BEG and END.
4315
da3e5ebb
SM
4316 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4317 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4318 (tramp-gvfs-handle-insert-file-contents): Remove function.
4319
da3e5ebb
SM
4320 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4321 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4322
4323 * net/trampver.el: Update release number.
4324
7ccae3b1
SM
43252013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4326
55ca2c0d
SM
4327 * progmodes/compile.el (compilation-parse-errors):
4328 Use compilation--put-prop.
4329 (compilation--ensure-parse): Check compilation-multiline.
4330
731fc3ae
SM
4331 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4332
da3e5ebb
SM
4333 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4334 lexical-binding.
a5833280 4335
2e7ba2c2
SM
4336 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4337
7ccae3b1
SM
4338 * progmodes/ruby-mode.el: Fix recently added tests.
4339 (ruby-smie-grammar): Add - and +.
4340 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4341 (ruby-smie--backward-id): New functions.
4342 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4343 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4344 any more.
4345
85698d63
LL
43462013-10-07 Leo Liu <sdl.web@gmail.com>
4347
4348 * register.el (register-preview-delay)
4349 (register-preview-functions): New variables.
4350 (register-read-with-preview, register-preview)
4351 (register-describe-oneline): New functions.
4352 (point-to-register, window-configuration-to-register)
4353 (frame-configuration-to-register, jump-to-register)
4354 (number-to-register, view-register, insert-register)
4355 (copy-to-register, append-to-register, prepend-to-register)
4356 (copy-rectangle-to-register): Use register-read-with-preview to
4357 read register. (Bug#15525)
4358
3986af6c
DS
43592013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4360
4361 * net/network-stream.el (network-stream-open-starttls): Don't add
4362 --insecure if it's already present, because that gnutls-cli
4363 rejects getting that parameter twice.
4364
5cd9cda9
DG
43652013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4368 keyword, too.
4369
da9ea6d9
DG
43702013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4371
4372 * newcomment.el (comment-use-global-state): Change default value
4373 to t, mark obsolete (Bug#15251).
4374 (comment-beginning): In addition to `comment-to-syntax', check the
4375 value of `comment-use-global-state'.
4376
34d1a133
SM
43772013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4380 (ruby-comment-column): Follow the global default, by default.
4381 (ruby-smie-grammar): Add assignment syntax.
4382 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4383 open-paren, a comma, or a \.
4384 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4385 and line continuations.
4386 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4387 followed by implicit semi-colons. Add rule for string concatenation
4388 and for indentation at BOB.
4389 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4390
4391 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4392 calling next-sexp, since next-token may have skipped chars which
4393 next-sexp doesn't know should be skipped!
4394
6f6ab820
LL
43952013-10-05 Leo Liu <sdl.web@gmail.com>
4396
34d1a133
SM
4397 * progmodes/octave.el (octave-send-region):
4398 Call compilation-forget-errors.
6f6ab820 4399
34ca0f4c
XF
44002013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4401
4402 * vc/vc-svn.el (vc-svn-find-admin-dir):
4403 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4404 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4405 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4406 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4407
a27c1b72
SM
44082013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4409
4410 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4411
258ab3bc
SM
44122013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * subr.el (read-passwd): Hide chars even when called within a context
4415 where after-change-functions is disabled (bug#15501).
4416 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4417 until we removed ourself from overriding-terminal-local-map.
4418
939fb29c
LL
44192013-10-04 Leo Liu <sdl.web@gmail.com>
4420
258ab3bc
SM
4421 * progmodes/octave.el (inferior-octave-mode):
4422 Call compilation-forget-errors.
939fb29c 4423
63bd7f35
XF
44242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4425
4426 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4427
9e6229fa
MA
44282013-10-04 Michael Albinus <michael.albinus@gmx.de>
4429
4430 * net/secrets.el (secrets-create-collection): Add optional
4431 argument ALIAS. Use proper Label keyword. Append ALIAS as
4432 dbus-call-method argument. (Bug#15516)
4433
1dab32a3
LL
44342013-10-04 Leo Liu <sdl.web@gmail.com>
4435
4436 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4437 (inferior-octave-compilation-font-lock-keywords): New variables.
4438 (compilation-error-regexp-alist)
4439 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4440 (inferior-octave-mode): Use compilation-shell-minor-mode.
4441
6cad7ba3
JS
44422013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4443
4444 * minibuffer.el (completion--replace): Be careful that `end' might be
4445 a marker.
4446
acbadd00
DU
44472013-10-03 Daiki Ueno <ueno@gnu.org>
4448
4449 Add support for package signature checking.
4450 * emacs-lisp/package.el (url-http-file-exists-p)
4451 (epg-make-context, epg-context-set-home-directory)
4452 (epg-verify-string, epg-context-result-for)
4453 (epg-signature-status, epg-signature-to-string)
4454 (epg-check-configuration, epg-configuration)
4455 (epg-import-keys-from-file): Declare.
4456 (package-check-signature): New user option.
4457 (package-unsigned-archives): New user option.
4458 (package-desc): Add `signed' field.
4459 (package-load-descriptor): Set `signed' field if .signed file exists.
4460 (package--archive-file-exists-p): New function.
4461 (package--check-signature): New function.
4462 (package-install-from-archive): Check package signature.
4463 (package--download-one-archive): Check archive signature.
4464 (package-delete): Remove .signed file.
4465 (package-import-keyring): New command.
4466 (package-refresh-contents): Import default keyring.
4467 (package-desc-status): Add "unsigned" status.
4468 (describe-package-1, package-menu--print-info)
4469 (package-menu-mark-delete, package-menu--find-upgrades)
4470 (package-menu--status-predicate): Support "unsigned" status.
4471
adf2aa61
SM
44722013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4475 the new compilation scheme using the new byte-codes.
4476
4477 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4478 (byte-pophandler): New byte codes.
4479 (byte-goto-ops): Adjust accordingly.
4480 (byte-compile--use-old-handlers): New var.
4481 (byte-compile-catch): Use new byte codes depending on
4482 byte-compile--use-old-handlers.
4483 (byte-compile-condition-case--old): Rename from
4484 byte-compile-condition-case.
4485 (byte-compile-condition-case--new): New function.
4486 (byte-compile-condition-case): New function that dispatches depending
4487 on byte-compile--use-old-handlers.
4488 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4489 when we can.
4490
4491 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4492 Optimize under `condition-case' and `catch' if
4493 byte-compile--use-old-handlers is nil.
4494 (disassemble-offset): Handle new bytecodes.
4495
328a8179
SM
44962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * subr.el (error): Use `declare'.
4499 (decode-char, encode-char): Use advertised-calling-convention instead
4500 of the docstring to discourage use of the `restriction' arg.
4501
15a1e936
DU
45022013-10-03 Daiki Ueno <ueno@gnu.org>
4503
4504 * epg.el (epg-verify-file): Add a comment saying that it does not
4505 notify verification error as a return value nor a signal.
4506 (epg-verify-string): Ditto.
4507
376f862a
KR
45082013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4509
4510 * progmodes/compile.el (compilation-start): Try globbing the arg to
4511 `cd' (bug#15417).
4512
a2f93a5f
MA
45132013-10-02 Michael Albinus <michael.albinus@gmx.de>
4514
4515 Sync with Tramp 2.2.8.
4516
4517 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4518 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4519 * net/trampver.el: Update release number.
4520
0daa0804
JD
45212013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4522
4523 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4524 and default-process-coding-system for darwin only.
4525
abd1ae34
SM
45262013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4529
be4e325d
MH
45302013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4531
4532 * vc/vc-git.el (vc-git-grep): Disable pager.
4533
e9155c4a
DG
45342013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4535
494e898b
DG
4536 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4537 Use :url instead of :homepage, as per
4538 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4539
e9155c4a
DG
4540 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4541 non-nil, use `syntax-ppss' (Bug#15251).
4542
481a8e0f
RS
45432013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4544
be4e325d
MH
4545 * progmodes/octave.el (inferior-octave-startup-file):
4546 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4547
056453c6
DG
45482013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4549
be4e325d
MH
4550 * emacs-lisp/package.el (package-desc-from-define):
4551 Accept additional arguments as plist, convert them to an alist and store
4552 them in the `extras' slot.
056453c6
DG
4553 (package-generate-description-file): Convert extras alist back to
4554 plist and append to the `define-package' form arguments.
4555 (package--alist-to-plist): New function.
4556 (package--ac-desc): Add `extras' slot.
4557 (package--add-to-archive-contents): Check if the archive-contents
4558 vector is long enough, and if it is, pass its `extras' slot value
4559 to `package-desc-create'.
4560 (package-buffer-info): Call `lm-homepage', pass the returned value
4561 to `package-desc-from-define'.
4562 (describe-package-1): Render the homepage button (Bug#13291).
4563
be4e325d
MH
4564 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4565 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4566
832966e5
JD
45672013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4568
4569 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4570 and default-process-coding-system to utf-8-unix (Bug#15402).
4571
6cfe977d
XF
45722013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4573
4574 * subr.el (looking-back): Do not recommend using looking-back.
4575
38de11bd
AM
45762013-09-28 Alan Mackenzie <acm@muc.de>
4577
4578 Fix indentation/fontification of Java enum with "implements".
4579
4580 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4581 regexp which matches "implements", etc., in Java.
4582 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4583 specifier clauses coming after "enum".
4584 * progmodes/cc-fonts.el (c-font-lock-declarations)
4585 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4586 after "enum".
4587
1610938f
JD
45882013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4589
4590 * faces.el (region): Change ns_selection_color to
4591 ns_selection_fg_color, add ns_selection_bg_color.
4592
e090f499
LL
45932013-09-28 Leo Liu <sdl.web@gmail.com>
4594
4d2e94d1
LL
4595 * progmodes/octave.el (inferior-octave-completion-table)
4596 (inferior-octave-completion-at-point): Minor tweaks.
4597
e090f499
LL
4598 * textmodes/ispell.el (ispell-lookup-words): Rename from
4599 lookup-words. (Bug#15460)
4600 (lookup-words): Obsolete.
4601 (ispell-complete-word, ispell-command-loop): All uses changed.
4602
7e138a62
RS
46032013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4604
a12bf61e 4605 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4606 (octave-mode-menu): Add octave-send-buffer.
4607 (octave-send-buffer): New function.
4608
5af5ed08
RS
46092013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4610
a12bf61e 4611 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4612 octave-lookfor.
4613 (octave-mode-menu): Add octave-lookfor.
4614 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4615 octave-lookfor.
4616 (octave-lookfor): New function.
4617
3b7b2692
SM
46182013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * emacs-lisp/cl-macs.el:
4621 (cl--loop-destr-temps): Remove.
4622 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4623 its convention.
4624 (cl--loop-set-iterator-function): New function.
4625 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4626 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4627 Bind `it' with `let' instead of substituting it with `cl-subst'.
4628 (cl--unused-var-p): New function.
4629 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4630 Eliminate some unused variable warnings (bug#15326).
4631
529fb53f
TH
46322013-09-27 Tassilo Horn <tsdh@gnu.org>
4633
4634 * doc-view.el (doc-view-scale-reset): Rename from
4635 `doc-view-reset-zoom-level'.
4636 (doc-view-scale-adjust): New command.
4637 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4638 `doc-view-scale-adjust'.
4639
0550c95a
TH
46402013-09-26 Tassilo Horn <tsdh@gnu.org>
4641
4642 * doc-view.el (doc-view-reset-zoom-level): New command.
4643 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4644 zoom commands (bug#15466).
4645
6950f152
KH
46462013-09-26 Kenichi Handa <handa@gnu.org>
4647
4648 * international/quail.el (quail-help): Make it not a command.
4649
39587580
LL
46502013-09-26 Leo Liu <sdl.web@gmail.com>
4651
4652 * minibuffer.el (completion-all-sorted-completions): Make args
4653 optional as they are.
4654
00578659
DC
46552013-09-25 Daniel Colascione <dancol@dancol.org>
4656
4657 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4658 specs are and that they're not evaluated.
4659
0c173878
SS
46602013-09-24 Sam Steingold <sds@gnu.org>
4661
4662 * midnight.el (clean-buffer-list-kill-regexps)
4663 (clean-buffer-list-kill-buffer-names): Update for the new Man
4664 buffer naming which includes the object name.
4665
84998447
SM
46662013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4669 (eshell-parse-command, eshell-parse-pipeline): Use it since
4670 eshell-separate-commands requires a dynamic scoped var.
4671 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4672
33215353
LL
46732013-09-23 Leo Liu <sdl.web@gmail.com>
4674
4675 * autoinsert.el (auto-insert-alist): Make the value of
4676 lexical-binding match its file setting.
4677
57b16162
JB
46782013-09-23 Juanma Barranquero <lekktu@gmail.com>
4679
c8af4e67
JB
4680 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4681
57b16162
JB
4682 * autoarg.el (autoarg-kp-digit-argument):
4683 * electric.el (Electric-command-loop):
4684 * kmacro.el (kmacro-step-edit-insert):
4685 Do not set universal-argument-num-events.
4686
7186ba60
LL
46872013-09-22 Leo Liu <sdl.web@gmail.com>
4688
4689 * files.el (interpreter-mode-alist): Add octave.
4690
ece15004
AM
46912013-09-21 Alan Mackenzie <acm@muc.de>
4692
4693 C++: fontify identifier in declaration following "public:" correctly.
4694 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4695 to match "public", etc.
4696 (c-decl-prefix-re): Add ":" into the C++ value.
4697 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4698 bit. Add a check for a ":" preceded by "public", etc.
4699
75d83e22
EZ
47002013-09-21 Eli Zaretskii <eliz@gnu.org>
4701
4702 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4703 recognized by GDB 7.5 and later.
4704
d052d3bd
XF
47052013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4706
4707 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4708
31dca772
R
47092013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * subr.el (internal--call-interactively): New const.
4712 (called-interactively-p): Use it (bug#3984).
4713
98ccf24e
XF
47142013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4715
4716 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4717 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4718 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4719
c39cc7d1
SM
47202013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4723 (eshell-ls-orig-insert-directory): Remove.
4724 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4725 (eshell-ls-use-in-dired): Use advice-add/remove.
4726 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4727 Add `orig-fun' arg for use in :around advice.
4728 Make it check (redundantly) eshell-ls-use-in-dired.
4729
9a0289a2
GM
47302013-09-19 Glenn Morris <rgm@gnu.org>
4731
a2c501b8
GM
4732 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4733
c440407a
GM
4734 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4735
9a0289a2
GM
4736 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4737
85e05915
MA
47382013-09-19 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4741 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4742 (tramp-get-remote-python): New defuns.
4743 (tramp-get-remote-uid-with-perl)
4744 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4745 contributed by yary <not.com@gmail.com> (tiny change).
4746 (tramp-get-remote-uid-with-python)
4747 (tramp-get-remote-gid-with-python): New defuns. Python code
4748 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4749 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4750
ce503312
GM
47512013-09-19 Glenn Morris <rgm@gnu.org>
4752
f7544773
GM
4753 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4754
72fd2877
GM
4755 * eshell/em-unix.el (eshell-remove-entries):
4756 Rename argument to avoid name-clash with global `top-level'.
4757
336b5a56
GM
4758 * eshell/esh-proc.el (eshell-kill-process-function):
4759 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4760 (eshell-reset-after-proc): Remove unused arg `proc'.
4761
57a3a53d
GM
4762 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4763 (directory-files-and-attributes): Mark unused arg.
4764
3261d4af
GM
4765 * eshell/em-unix.el (eshell-remove-entries):
4766 Remove unused arg `path'. Update callers.
4767
8e51b5d0
GM
4768 * eshell/em-hist.el (eshell-hist-parse-arguments):
4769 Remove unused arg `silent'. Update callers.
4770
ce503312
GM
4771 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4772 Fix (f)boundp mix-up.
4773
4774 * eshell/em-smart.el (eshell-smart-scroll-window)
4775 (eshell-disable-after-change):
336b5a56 4776 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4777
ee3ce8a7
AM
47782013-09-18 Alan Mackenzie <acm@muc.de>
4779
4780 Fix fontification of type when followed by "const".
4781 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4782 "known" types from fontification.
4783
ec9177ba
GM
47842013-09-18 Glenn Morris <rgm@gnu.org>
4785
7bb3e768
GM
4786 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4787 (chart-face-list): Drop Emacsen without display-color-p.
4788
5148da15
GM
4789 * net/eww.el (libxml-parse-html-region): Declare.
4790 (eww-display-html): Explicit error if no libxml2 support.
4791
2f68e157
GM
4792 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4793
9019d095
GM
4794 * image.el (image-type-from-buffer, image-multi-frame-p):
4795 Remove --without-x warning/error.
67645389 4796
5f30349b 4797 * mouse.el (mouse-yank-primary):
45069b2e 4798 * term.el (term-mouse-paste):
5f30349b
GM
4799 Reorder to silence --without-x compilation.
4800
cd8edbbe
GM
4801 * mpc.el (doc-view-mode): Silence --without-x compilation.
4802
8a78544e
GM
4803 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4804 Silence --without-x compilation.
4805
12679bfd
GM
4806 * progmodes/gud.el (gud-find-file, gud-mode):
4807 Silence --without-x compilation.
4808 (tooltip-mode): Declare.
30810a05 4809
f0047cb9
GM
4810 * wdired.el (dired-backup-overwrite): Remove declaration.
4811 (wdired-mode-map): Add doc string.
4812
e740f9d2
GM
4813 * custom.el (x-get-resource): Declare.
4814
92d77c89
GM
4815 * eshell/em-glob.el (ange-cache):
4816 * eshell/em-unix.el (ange-cache): Declare.
4817
76e69577
GM
4818 * faces.el (x-display-list, x-open-connection, x-get-resource):
4819 Declare.
7e58af4b
GM
4820
4821 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4822 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4823 Declare.
76e69577 4824
4bd4c0af 4825 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4826
ffb82dbd
GM
4827 * net/gnutls.el (gnutls-log-level): Declare.
4828
986ed135
GM
4829 * net/shr.el (image-size, image-animate): Declare.
4830
e740f9d2
GM
4831 * simple.el (font-info): Declare.
4832
d2f3e9f8
GM
4833 * subr.el (x-popup-dialog): Declare.
4834
047a1a4c
GM
4835 * term/common-win.el (x-select-enable-primary)
4836 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4837 Declare.
4838
f4a1d572
GM
4839 * term/ns-win.el (x-handle-args): Declare.
4840
e843de77
GM
4841 * term/x-win.el (x-select-enable-clipboard): Declare.
4842
5fa89513
GM
4843 * term/w32-win.el (create-default-fontset): Declare.
4844
38702b5b
GM
4845 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4846 Declare.
4847
e740f9d2
GM
4848 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4849 (fit-frame-to-buffer): Explicit error if --without-x.
4850 (mouse-autoselect-window-select): Silence compiler.
4851
49a053fc
GM
4852 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4853
4854 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4855 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4856 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4857 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4858 Remove unused local variables.
4859
4860 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4861
ec9177ba
GM
4862 * textmodes/two-column.el: Make 2C-split work for --without-x.
4863 (scroll-bar-columns): Autoload.
4864 (top-level): Require fringe when compiling.
4865
9f25cb77
LL
48662013-09-18 Leo Liu <sdl.web@gmail.com>
4867
4868 * subr.el (add-hook): Robustify to handle closure as well.
4869
2b42da98
GM
48702013-09-17 Glenn Morris <rgm@gnu.org>
4871
4872 * simple.el (messages-buffer-mode-map): Unbind "g".
4873
e8b66a6a
SM
48742013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4875
9c0ad4f7
SM
4876 * help-mode.el (help-mode-finish): Use derived-mode-p.
4877 Remove obsolete highlighting.
4878
7a806dfb
SM
4879 * play/life.el (life-mode): Use define-derived-mode. Derive from
4880 special-mode.
4881 (life): Let-bind inhibit-read-only.
4882 (life-setup): Avoid `setq'. Use `life-mode'.
4883
96dbf5a8
SM
4884 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4885 which should not be needed any more.
4886 (package-menu-refresh, package-menu-describe-package): Use user-error.
4887
e8b66a6a
SM
4888 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4889 (eshell-post-rewrite-command-hook): Make obsolete.
4890 (eshell-parse-command): Simplify.
4891 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4892 (eshell--cmd): Declare.
4893 (eshell-parse-pipeline): Remove unused var `final-p'.
4894 Pass a dynvar to eshell-post-rewrite-command-hook.
4895 Implement the new eshell-post-rewrite-command-function.
4896 (eshell-invoke-directly): Remove unused arg `input'.
4897 * eshell/esh-io.el (eshell-io-initialize):
4898 Use eshell-post-rewrite-command-function (bug#15399).
4899 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4900 adjust to new calling convention.
4901 (eshell-create-handles): Rename args to avoid clashing with dynvar
4902 `standard-output'.
4903
90582f05
GM
49042013-09-17 Glenn Morris <rgm@gnu.org>
4905
4906 * simple.el (messages-buffer-mode): New major mode.
4907 (messages-buffer): New function.
4908 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4909 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4910 (ert-run-test): Use `messages-buffer' function.
90582f05 4911 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4912 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4913 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4914
39eb0cb5 49152013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4916
4917 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4918
1d42e5b6 4919 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4920
70568a90
SM
49212013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4922
504a0381
SM
4923 * icomplete.el (icomplete-in-buffer): New var.
4924 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4925 vars and replace them with functions.
4926 (icomplete-minibuffer-setup): Adjust accordingly.
4927 (icomplete--completion-table, icomplete--completion-predicate)
4928 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4929 New functions.
4930 (icomplete-forward-completions, icomplete-backward-completions)
4931 (icomplete-simple-completing-p, icomplete-exhibit)
4932 (icomplete-completions): Use them.
4933 (icomplete--in-region-buffer): New var.
4934 (icomplete--in-region-setup): New function.
4935 (icomplete-mode): Use it.
4936
70568a90
SM
4937 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4938 (bug#15379).
4939 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4940 return args and options.
4941 (eshell-eval-using-options): Use the new return value of
4942 eshell--do-opts to set the options's vars in their scope.
4943 (eshell--set-option): Rename from eshell-set-option.
4944 Add arg `opt-vals'.
4945 (eshell--process-option): Rename from eshell-process-option.
4946 Add arg `opt-vals'.
4947 (eshell--process-args): Use an `opt-vals' alist to store the options's
4948 values during their processing and return them additionally to the
4949 remaining args.
4950
578c21bc
DG
49512013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4952
4953 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4954 continuation character an operator, as far as indentation is
4955 concerned (Bug#15369).
4956
c089653d
MR
49572013-09-15 Martin Rudalics <rudalics@gmx.at>
4958
4959 * window.el (window--state-put-2): Don't process buffer state
4960 when buffer doesn't exist any more (Bug#15382).
4961
1e53bb4b
GM
49622013-09-15 Glenn Morris <rgm@gnu.org>
4963
30753242
GM
4964 * eshell/em-unix.el (eshell/rm):
4965 Make -f ignore missing files. (Bug#15373)
4966
1e53bb4b
GM
4967 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4968 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4969 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4970
0d8863b3
GM
49712013-09-14 Glenn Morris <rgm@gnu.org>
4972
4973 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4974
d3fc6549
GM
49752013-09-13 Glenn Morris <rgm@gnu.org>
4976
4977 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4978 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4979
fcd42c11
DA
49802013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4981
4982 * frame.el (x-focus-frame): Mark as declared in frame.c.
4983
7830899f
SM
49842013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * ls-lisp.el: Use advice-add.
4987 (original-insert-directory): Remove.
4988 (ls-lisp--insert-directory): Rename from insert-directory; add
4989 `orig-fun' argument.
4990 (insert-directory): Advise.
4991
84387cd2
EZ
49922013-09-13 Eli Zaretskii <eliz@gnu.org>
4993
4994 * term.el (term-emulate-terminal): Decode the command string
4995 before passing it to term-command-hook. (Bug#15337)
4996
35ffc6ba
GM
49972013-09-13 Glenn Morris <rgm@gnu.org>
4998
5c3f9bcc
GM
4999 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5000
2ada368a
GM
5001 * eshell/esh-ext.el (eshell-search-path): Declare.
5002
fcef2e13
GM
5003 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5004 Otherwise an error occurs if eshell-dirs module not loaded.
5005
35ffc6ba
GM
5006 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5007
35c3d36e
MA
50082013-09-13 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5011 `tramp-check-proper-host'. Check for a valid method name.
5012
5013 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5014 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5015 * net/tramp-sh.el (tramp-maybe-open-connection):
5016 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5017
5018 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5019 also for hash values.
5020
ae5e4c48
SM
50212013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5022
379add74
SM
5023 * term/ns-win.el (parameters): Don't declare as dynamic.
5024 (before-make-frame-hook): Don't add ineffective function.
5025
ae5e4c48
SM
5026 * eshell/*.el: Use lexical-binding (bug#15231).
5027
b5623270
KH
50282013-09-12 Kenichi Handa <handa@gnu.org>
5029
ae5e4c48 5030 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5031
30213927
GM
50322013-09-12 Glenn Morris <rgm@gnu.org>
5033
be94d713 5034 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5035 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5036
44915370
GM
5037 * subr.el (do-after-load-evaluation): Also give compiler warnings
5038 when obsolete files are used (except by obsolete files).
5039
a6ae021f
GM
5040 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5041 in the status output, assume `filename' is the first. (Bug#15322)
5042
40e64f0c
GM
5043 * vc/vc.el (vc-deduce-fileset): Doc fix.
5044
16d9f896
GM
5045 * calc/calc-help.el (Info-goto-node):
5046 * progmodes/cperl-mode.el (Info-find-node):
5047 * vc/ediff.el (Info-goto-node): Update declarations.
5048
dea01c6e
GM
5049 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5050
759880bf 5051 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5052 (vc-bzr-pull): Require vc-dispatcher.
5053 * vc/vc-git.el (vc-compilation-mode): Declare.
5054 (vc-git-pull): Require vc-dispatcher.
5055
08d66420
GM
5056 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5057
30b626e9
GM
5058 * progmodes/octave.el (help-button-action): Declare.
5059
8c05cb10
GM
5060 * shell.el (shell-directory-tracker): Output error as a message
5061 rather than just returning it as a string.
5062 (shell-process-pushd): Remove useless use of message.
5063
30213927
GM
5064 * dframe.el (dframe-timer-fn):
5065 * files.el (dir-locals-read-from-file):
5066 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5067 (mpc-format):
5068 * reveal.el (reveal-post-command):
5069 * saveplace.el (load-save-place-alist-from-file):
5070 * shell.el (shell-resync-dirs):
5071 * w32-common-fns.el (x-get-selection-value):
5072 * emacs-lisp/copyright.el (copyright-find-copyright):
5073 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5074 * emulation/tpu-edt.el (tpu-copy-keyfile):
5075 * play/bubbles.el (bubbles--mark-neighbourhood):
5076 * progmodes/executable.el
5077 (executable-make-buffer-file-executable-if-script-p):
5078 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5079
d3b049e6
SM
50802013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5081
170266d0
SM
5082 Cleanup Eshell to rely less on dynamic scoping.
5083 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5084 last-value, and ext-command here. Bind `args' closer to `body'.
5085 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5086 (eshell--args): Declare new dynamic var.
5087 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5088 last-value, and ext-command. Pass `args' to `body'.
5089 (eshell-process-args): Bind eshell--args.
5090 (eshell-set-option): Use eshell--args.
5091 * eshell/eshell.el (eshell): Use derived-mode-p.
5092 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5093 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5094 (eshell-glob-function): Declare.
5095 * eshell/esh-util.el: Require cl-lib.
5096 (eshell-read-hosts-file): Avoid add-to-list.
5097 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5098 `err'.
5099 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5100 Declare.
5101 (eshell/diff): Remove unused var `err'.
5102 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5103 `killflag'.
5104 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5105 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5106 first use.
5107 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5108 Move declaration before first use.
5109 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5110 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5111 rely on cl-return.
5112
56834f3b
GM
51132013-09-12 Glenn Morris <rgm@gnu.org>
5114
5115 * term/ns-win.el (global-map): Remove binding for ispell-next,
5116 deleted 1999-05-29. (Bug#15357)
5117
5c91a2b8
GM
51182013-09-11 Glenn Morris <rgm@gnu.org>
5119
da712f22
GM
5120 * echistory.el (electric-command-history): Remove call to deleted func.
5121
512e4cdc
GM
5122 * play/landmark.el (landmark-mode): Fix typos.
5123
d3506ca5
GM
5124 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5125 Check cvs-sort-ignore-file is bound.
5126
5c91a2b8
GM
5127 * savehist.el: No need for cl when compiling on Emacs.
5128
feeff482
SM
51292013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5130
656bd483
SM
5131 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5132 (bug#15338).
d3b049e6
SM
5133 (eshell-self-insert-command, eshell-send-invisible):
5134 Remove unused argument.
656bd483
SM
5135 (eshell-handle-control-codes): Remove unused var `orig'.
5136 Avoid delete-backward-char.
5137
feeff482
SM
5138 * files.el (set-auto-mode): Simplify a bit further.
5139
2a08047a
GM
51402013-09-11 Glenn Morris <rgm@gnu.org>
5141
5142 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5143 (set-auto-mode): Don't regexp-quote elements.
5144 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5145 * progmodes/cc-mode.el (interpreter-mode-alist):
5146 * progmodes/ruby-mode.el (interpreter-mode-alist):
5147 Revert previous change.
5148
34675540
SM
51492013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5150
1b3b87df
SM
5151 * play/snake.el (snake-mode):
5152 * play/mpuz.el (mpuz-mode):
5153 * play/landmark.el (lm-mode):
5154 * play/blackbox.el (blackbox-mode):
5155 * play/5x5.el (5x5-mode):
5156 * obsolete/options.el (Edit-options-mode):
5157 * net/quickurl.el (quickurl-list-mode):
5158 * net/newst-treeview.el (newsticker-treeview-mode):
5159 * mail/rmailsum.el (rmail-summary-mode):
5160 * mail/mspools.el (mspools-mode):
5161 * locate.el (locate-mode):
5162 * ibuffer.el (ibuffer-mode):
5163 * emulation/ws-mode.el (wordstar-mode):
5164 * emacs-lisp/debug.el (debugger-mode):
5165 * array.el (array-mode):
5166 * net/eudc.el (eudc-mode): Use define-derived-mode.
5167 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5168 Move initialization into declaration.
5169 (mairix-searches-mode): Use define-derived-mode.
5170 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5171 (eudc-edit-hotlist): Use dolist.
5172 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5173 (Man-mode): Use define-derived-mode.
5174 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5175 (Info-edit-mode): Use define-derived-mode.
5176 (Info-cease-edit): Use Info-mode.
5177 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5178 into declaration.
5179 (eshell-mode): Use define-derived-mode.
5180 * chistory.el (command-history-mode-map): Rename from
5181 command-history-map.
5182 (command-history-mode): Use define-derived-mode.
da712f22 5183 (Command-history-setup): Remove function.
1b3b87df
SM
5184 * calc/calc.el (calc-trail-mode-map): New var.
5185 (calc-trail-mode): Use define-derived-mode.
5186 (calc-trail-buffer): Set calc-main-buffer manually.
5187 * bookmark.el (bookmark-insert-annotation): New function.
5188 (bookmark-edit-annotation): Use it.
5189 (bookmark-edit-annotation-mode): Make it a proper major mode.
5190 (bookmark-send-edited-annotation): Use derived-mode-p.
5191 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5192 closer to its ideal place. Use \' to match EOS.
5193
34675540
SM
5194 * profiler.el (profiler-calltree-find): Use function-equal.
5195
6a5c15d9
GM
51962013-09-10 Glenn Morris <rgm@gnu.org>
5197
1af4c220
GM
5198 * files.el (interpreter-mode-alist): Convert to regexps.
5199 (set-auto-mode): Adapt for this. (Bug#15306)
5200 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5201 Comment out unused variable.
5202 * progmodes/cc-mode.el (interpreter-mode-alist):
5203 * progmodes/python.el (interpreter-mode-alist):
5204 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5205 * progmodes/sh-script.el (sh-set-shell):
5206 No longer use interpreter-mode-alist to get list of shells.
5207
6a5c15d9
GM
5208 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5209
8c27f5ff
SM
52102013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5211
02ef6c1a 5212 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5213 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5214 Bind switch-frame explicitly. Replace universal-argument-minus with
5215 a conditional binding.
5216 (universal-argument-num-events, saved-overriding-map): Remove.
5217 (restore-overriding-map): Remove.
5218 (universal-argument--mode): Rename from save&set-overriding-map,
5219 and rewrite.
5220 (universal-argument, universal-argument-more, negative-argument)
5221 (digit-argument): Adjust accordingly.
5222 (universal-argument-minus): Remove.
5223 (universal-argument-other-key): Remove.
5224
8c27f5ff
SM
5225 * subr.el (with-demoted-errors): Add `format' argument.
5226
6480194c
MA
52272013-09-10 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5230 `tramp-cleanup-connection'.
5231
5232 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5233 parameters KEEP-DEBUG and KEEP-PASSWORD.
5234
5235 * net/tramp.el (tramp-file-name-handler):
5236 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5237 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5238 (tramp-maybe-open-connection):
8c27f5ff
SM
5239 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5240 Use `tramp-cleanup-connection'.
6480194c 5241
8c27f5ff
SM
5242 * net/tramp-sh.el (tramp-maybe-open-connection):
5243 Catch 'uname-changed inside the progress reporter.
6480194c 5244
e5e916d8
GM
52452013-09-10 Glenn Morris <rgm@gnu.org>
5246
9a2c9b47
GM
5247 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5248
e5e916d8
GM
5249 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5250 returns "alternate access method" in mode (eg "-rw-r--r--.").
5251
144e38fe
GM
52522013-09-08 Glenn Morris <rgm@gnu.org>
5253
5254 * saveplace.el (load-save-place-alist-from-file):
5255 Demote errors. (Bug#15305)
5256
af9ff9e8
MA
52572013-09-08 Michael Albinus <michael.albinus@gmx.de>
5258
5259 Improve compatibility with older Emacsen, and XEmacs.
5260
5261 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5262 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5263 (with-tramp-progress-reporter): Do not let-bind `result'.
5264 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5265 (tramp-handle-make-auto-save-file-name): New function, moved from
5266 tramp-sh.el.
5267
5268 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5269 for `make-auto-save-file-name'.
8c27f5ff
SM
5270 (tramp-adb--gnu-switches-to-ash):
5271 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5272
5273 * net/tramp-cache.el (tramp-cache-print): Call
5274 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5275
5276 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5277 bound. It isn't for XEmacs.
5278
8c27f5ff
SM
5279 * net/tramp-compat.el (tramp-compat-copy-file):
5280 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5281 (tramp-compat-replace-regexp-in-string): New defun.
5282
5283 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5284 for `make-auto-save-file-name'.
5285 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5286 `copy-file'.
5287 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5288 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5289 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5290
8c27f5ff
SM
5291 * net/tramp-gw.el (tramp-gw-open-network-stream):
5292 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5293
8c27f5ff
SM
5294 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5295 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5296 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5297 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5298 (tramp-sh-file-inotifywait-process-filter):
5299 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5300 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5301
5302 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5303 for `make-auto-save-file-name'.
8c27f5ff
SM
5304 (tramp-smb-handle-copy-directory):
5305 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5306 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5307 (tramp-smb-handle-copy-file): Improve error message.
5308 (tramp-smb-handle-rename-file): Rename directly only in case
5309 `newname' does not exist yet. This is a restriction of smbclient.
5310 (tramp-smb-maybe-open-connection): Rerun the function only when
5311 `auth-sources' is non-nil.
5312
0ca754d0
KH
53132013-09-08 Kenichi Handa <handa@gnu.org>
5314
e0eb0550 5315 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5316 more characters.
5317
e8dd0787
AM
53182013-09-07 Alan Mackenzie <acm@muc.de>
5319
5320 Correctly fontify Java class constructors.
5321 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5322 in Java Mode.
5323 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5324 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5325 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5326 "typeless" declaration there.
5327
f2f248e7
RW
53282013-09-07 Roland Winkler <winkler@gnu.org>
5329
5330 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5331 field subtitle for entry type book.
5332
67982e2b
SM
53332013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * minibuffer.el: Make minibuffer-complete call completion-in-region
5336 rather than other way around.
5337 (completion--some, completion-pcm--find-all-completions):
5338 Don't delay signals when debugging.
5339 (minibuffer-completion-contents): Beware fields within the
5340 minibuffer contents.
5341 (completion-all-sorted-completions): Use defvar-local.
5342 (completion--do-completion, completion--cache-all-sorted-completions)
5343 (completion-all-sorted-completions, minibuffer-force-complete):
5344 Add args `beg' and `end'.
5345 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5346 (minibuffer-complete): Use completion-in-region.
5347 (completion-complete-and-exit): New fun, extracted from
5348 minibuffer-complete-and-exit.
5349 (minibuffer-complete-and-exit): Use it.
5350 (completion--complete-and-exit): Rename from
5351 minibuffer--complete-and-exit.
5352 (completion-in-region--single-word): New function, extracted from
5353 minibuffer-complete-word.
5354 (minibuffer-complete-word): Use it.
5355 (display-completion-list): Make `common-substring' argument obsolete.
5356 (completion--in-region): Call completion--in-region-1 instead of
5357 minibuffer-complete.
5358 (completion-help-at-point): Pass boundaries to
5359 minibuffer-completion-help as args rather than via an overlay.
5360 (completion-pcm--string->pattern): Use `any-delim'.
5361 (completion-pcm--optimize-pattern): New function.
5362 (completion-pcm--pattern->regex): Handle `any-delim'.
5363 * icomplete.el (icomplete-forward-completions)
5364 (icomplete-backward-completions, icomplete-completions):
5365 Adjust calls to completion-all-sorted-completions and
5366 completion--cache-all-sorted-completions.
5367 (icomplete-with-completion-tables): Default to t.
5368 * emacs-lisp/crm.el (crm--current-element): Rename from
5369 crm--select-current-element. Don't put an overlay but return the
5370 boundaries instead.
5371 (crm--completion-command): Take two new args to bind to the boundaries.
5372 (crm-completion-help): Adjust accordingly.
5373 (crm-complete): Use completion-in-region.
5374 (crm-complete-word): Use completion-in-region--single-word.
5375 (crm-complete-and-exit): Use completion-complete-and-exit.
5376
e17d94a5
SM
53772013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5380 than dynamically.
5381
96727100
JL
53822013-09-06 Juri Linkov <juri@jurta.org>
5383
5384 * info.el (Info-display-images-node): When image file doesn't exist
5385 display text version of the image if it's provided in the Info file.
5386 Otherwise, display the location of missing image from SRC attribute.
5387 Add help-echo text property from ALT attribute. (Bug#15279)
5388
86cf7329
SM
53892013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5392 (edit-abbrevs-mode): Use define-derived-mode.
5393
5394 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5395 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5396 that it's defined.
5397 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5398 Use define-derived-mode.
5399
5400 * epg.el (epg-start-encrypt): Minor CSE simplification.
5401
816244a2
WX
54022013-09-06 William Xu <william.xwl@gmail.com>
5403
5404 * arc-mode.el: Add support for 7za (bug#15264).
5405 (archive-7z-program): New var.
5406 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5407 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5408 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5409
1486fa31
MA
54102013-09-06 Michael Albinus <michael.albinus@gmx.de>
5411
5412 Remove URL syntax.
5413
5414 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5415 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5416 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5417 (tramp-postfix-host-format, tramp-file-name-regexp)
5418 (tramp-completion-file-name-regexp)
5419 (tramp-completion-dissect-file-name)
5420 (tramp-handle-substitute-in-file-name): Remove 'url case.
5421 (tramp-file-name-regexp-url)
5422 (tramp-completion-file-name-regexp-url): Remove constants.
5423
39785324
GM
54242013-09-06 Glenn Morris <rgm@gnu.org>
5425
5426 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5427
1f896cb7
DG
54282013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5429
5430 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5431 keywords" below "here-doc beginnings" (Bug#15270).
5432
c0458e0b
SM
54332013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * subr.el (pop): Use `car-safe'.
5436 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5437 to detect unused `pop' return value.
5438
5439 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5440 var `block-regexp'.
5441 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5442 (python-fill-string): Remove unused var `marker'.
5443 (python-skeleton-add-menu-items): Remove unused var `items'.
5444
5445 * international/mule-cmds.el: Require CL.
5446 (find-coding-systems-for-charsets): Avoid add-to-list.
5447 (sanitize-coding-system-list): New function, extracted from
5448 select-safe-coding-system-interactively.
5449 (select-safe-coding-system-interactively): Use it.
5450 (read-input-method-name): Accept symbols for `default'.
5451
5452 * emacs-lisp/advice.el (defadvice): Add indent rule.
5453
6c42fc3e
DH
54542013-09-05 Daniel Hackney <dan@haxney.org>
5455
5456 * dired-x.el:
5457 * net/ange-ftp.el:
5458 * net/browse-url.el:
5459 * net/dbus.el:
5460 * net/eudc.el:
5461 * net/eudcb-ldap.el:
5462 * net/eww.el:
5463 * net/imap.el:
5464 * printing.el:
5465 * vc/ediff-diff.el:
5466 * vc/ediff-init.el:
5467 * vc/ediff-merg.el:
5468 * vc/ediff-mult.el:
5469 * vc/ediff-util.el:
5470 * vc/ediff-wind.el:
5471 * vc/ediff.el:
5472 * vc/emerge.el:
5473 * vc/pcvs.el:
5474 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5475 byte compiler. Remove some unused let-bound variables.
5476
4c528aab
SM
54772013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5480 a "ref-cell", since it gets better optimized (bug#14883).
5481
bd15c390
GM
54822013-09-05 Glenn Morris <rgm@gnu.org>
5483
5484 * progmodes/cc-awk.el (c-forward-sws): Declare.
5485
1c3ac2e5
GM
54862013-09-04 Glenn Morris <rgm@gnu.org>
5487
5488 * generic-x.el [rul-generic-mode]: Require cc-mode.
5489 (c++-mode-syntax-table): Declare.
5490 (rul-generic-mode-syntax-table): Init in the defvar.
5491
52b1cc79
SM
54922013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5493
c828af56
SM
5494 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5495 (vc-do-command, vc-set-async-update):
5496 * vc/vc-mtn.el (vc-mtn-dir-status):
5497 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5498 (vc-hg-pull, vc-hg-merge-branch):
5499 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5500 (vc-git-merge-branch):
5501 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5502 (vc-cvs-dir-status-files):
5503 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5504 (vc-bzr-dir-status-files):
5505 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5506 * vc/vc-annotate.el: Use lexical-binding.
5507 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5508 (vc-sentinel-movepoint): Declare.
5509 (vc-annotate): Don't use `goto-line'.
5510 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5511 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5512 (vc-sentinel-movepoint): Declare.
5513 * vc/vc-svn.el: Use lexical-binding.
5514 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5515 * vc/vc-sccs.el:
5516 * vc/vc-rcs.el: Use lexical-binding.
5517
abae272c
SM
5518 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5519 `deleted'. Don't drop errors silently.
5520
52b1cc79
SM
5521 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5522
63191d9f
XF
55232013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5524
5525 * vc/vc.el (vc-ignore): Rewrite.
5526 (vc-default-ignore): New function.
5527 (vc-default-ignore-completion-table): Use find-ignore-file.
5528
5529 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5530 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5531 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5532 Remove. Most code moved to vc.el.
5533
9d3f707c
SM
55342013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5535
abae272c 5536 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5537 * net/tramp-smb.el (tramp-smb-get-file-entries):
5538 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5539 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5540
fde38d49
SM
5541 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5542 Update call to it.
5543 (eww-change-select): Remove unused var `properties'.
5544 (eww-make-unique-file-name): Remove unused var `base'.
5545
5546 * finder.el (finder-compile-keywords): Don't mess with windows.
5547
84032db7
SM
5548 * calculator.el (calculator-funcall): Fix typo in last change.
5549
724f5e41
SM
5550 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5551
14b511d4
SM
5552 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5553 <pkg>-autoloads.el file stop us.
5554
9d3f707c 5555 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5556 warnings, and factor out common code.
9d3f707c 5557
88527bc0
DG
55582013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5561 two-character operators and whether the character preceding them
5562 changes their meaning (Bug#15208).
5563
96edb677
FEG
55642013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5565
5566 Format code sent to Python shell for robustness.
9d3f707c
SM
5567 * progmodes/python.el (python-shell-buffer-substring):
5568 New function.
96edb677
FEG
5569 (python-shell-send-region, python-shell-send-buffer): Use it.
5570
95beaef3
MA
55712013-09-02 Michael Albinus <michael.albinus@gmx.de>
5572
5573 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5574 * net/tramp.el (tramp-user-error): ... here.
5575 (tramp-find-method, tramp-check-proper-host)
5576 (tramp-dissect-file-name, tramp-debug-message)
5577 (tramp-handle-shell-command):
5578 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5580
5581 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5582
f167c27b
MR
55832013-09-02 Martin Rudalics <rudalics@gmx.at>
5584
5585 * avoid.el (mouse-avoidance-point-position)
5586 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5587 returns nil.
5588
cd16c5f1
FEG
55892013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5590
5591 * progmodes/python.el (python-shell-completion-get-completions):
5592 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5593 (python-nav-if-name-main): New command.
cd16c5f1 5594
e73c3a0d
GM
55952013-09-01 Glenn Morris <rgm@gnu.org>
5596
f8ccce03
GM
5597 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5598 Avoid leading space in $wins. Otherwise the sed command used by
5599 eg compile-main ends up containing "/*.el". (Bug#15170)
5600
e73c3a0d
GM
5601 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5602
415f808e
GM
56032013-08-30 Glenn Morris <rgm@gnu.org>
5604
5605 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5606 Fix is-this-a-directory logic. (Bug#15220)
5607
f069bba8
SM
56082013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5609
112798c1
SM
5610 * textmodes/css-mode.el: Use SMIE.
5611 (css-smie-grammar): New var.
5612 (css-smie--forward-token, css-smie--backward-token)
5613 (css-smie-rules): New functions.
5614 (css-mode): Use them.
5615 (css-navigation-syntax-table): Remove var.
5616 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5617 (css-indent-calculate, css-indent-line): Remove functions.
5618
5619 Misc changes to reduce use of `(lambda...); and other cleanups.
5620 * cus-edit.el: Use lexical-binding.
5621 (customize-push-and-save, customize-apropos)
5622 (custom-buffer-create-internal): Use closures.
5623 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5624 * progmodes/ada-xref.el: Use setq.
5625 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5626 * dframe.el: Use lexical-binding.
5627 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5628 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5629 * descr-text.el: Use lexical-binding.
5630 (describe-text-widget, describe-text-sexp, describe-property-list):
5631 Use closures.
5632 * comint.el (comint-history-isearch-push-state): Use a closure.
5633 * calculator.el: Use lexical-binding.
5634 (calculator-number-to-string): Make it work with lexical-binding.
5635 (calculator-funcall): Same and use cl-letf.
5636
2da4c3ab
SM
5637 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5638 (lisp--company-doc-string, lisp--company-location): New functions.
5639 (lisp-completion-at-point): Use them to improve Company support.
5640
f069bba8
SM
5641 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5642 params of lambda expressions.
5643 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5644 (ruby-smie--opening-pipe-p): New function.
5645 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5646 symbols and matched |...| for formal params.
5647 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5648 from being treated as hanging. Handle "rescue".
5649
6758b6a8
GM
56502013-08-29 Glenn Morris <rgm@gnu.org>
5651
5652 * progmodes/cc-engine.el (c-pull-open-brace):
5653 Move definition before use.
5654
e8dfd197
SM
56552013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5658 are immutable. Don't use `unsafe' any more.
5659 (cl--defsubst-expand): Don't substitute at the same time as keeping
5660 a residual unused let-binding. Don't use `unsafe' any more.
5661
cc585c96
GM
56622013-08-29 Glenn Morris <rgm@gnu.org>
5663
ba579ea6
GM
5664 * calendar/cal-china.el (calendar-chinese-year-cache):
5665 Recenter on 2015.
5666
8201a87e
GM
5667 * nxml/nxml-util.el (nxml-debug-clear-inside):
5668 Use cl-loop rather than loop.
5669
6ee877c7
GM
5670 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5671
cc585c96
GM
5672 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5673
27be8d39
GM
56742013-08-28 Glenn Morris <rgm@gnu.org>
5675
397440a1
GM
5676 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5677
2bb762d4
GM
5678 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5679
27be8d39
GM
5680 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5681
2d69b99e
SM
56822013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5683
f663baa7
SM
5684 * simple.el (repeat-complex-command--called-interactively-skip):
5685 New function.
5686 (repeat-complex-command): Use it (bug#14136).
5687
dd4f8b74
SM
5688 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5689 (c-define-abbrev-table): Add `doc' argument.
5690 (c-mode-abbrev-table, c++-mode-abbrev-table)
5691 (objc-mode-abbrev-table, java-mode-abbrev-table)
5692 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5693 (awk-mode-abbrev-table): Use it.
5694 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5695 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5696 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5697 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5698 Move initialization into the declaration; and remove any
5699 autoload cookie.
5700
b58969f7
SM
5701 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5702 and dynamic let binding.
5703
4021d6a6
SM
5704 * vc/smerge-mode.el: Remove redundant :group args.
5705
2d69b99e
SM
5706 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5707 to load-path.
5708
274919fd
JL
57092013-08-28 Juri Linkov <juri@jurta.org>
5710
5711 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5712 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5713 (isearch-other-meta-char): Handle an undefined shifted printing
5714 character by downshifting it. (Bug#15200)
5715
121f8c95
JL
57162013-08-28 Juri Linkov <juri@jurta.org>
5717
5718 * isearch.el (isearch-search): Change regexp error message for
5719 non-regexp searches. (Bug#15166)
5720
50b13cde
PE
57212013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5722
5723 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5724 for portability to hosts where /bin/sh has problems.
5725
95888bca
SM
57262013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5729
bbe558f1
JL
57302013-08-27 Juri Linkov <juri@jurta.org>
5731
5732 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5733 in the keyboard macro. (Bug#15126)
5734
26f98a7d
JL
57352013-08-27 Juri Linkov <juri@jurta.org>
5736
5737 * isearch.el (isearch-quote-char): Comment out converting unibyte
5738 to multibyte, thus syncing with its `quoted-insert' counterpart.
5739 (Bug#15166)
5740
7c97d35e
MR
57412013-08-27 Martin Rudalics <rudalics@gmx.at>
5742
5743 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5744 argument in call of get-largest-window (Bug#15185).
5745 Reported by Stephen Leake.
7c97d35e 5746
a0b5606e 57472013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5748
5749 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5750
9e89d835
SM
57512013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5754 from a matcher-function unless there's no more matches (bug#15161).
5755
78fc2530
MA
57562013-08-26 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * minibuffer.el: Revert change from 2013-08-20.
5759
5760 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5761 with text property `tramp-default', if appropriate.
5762 (tramp-check-proper-host): New defun.
5763 (tramp-dissect-file-name): Do not check hostname. Revert change
5764 of 2013-03-18.
5765 (tramp-backtrace): Make VEC-OR-PROC optional.
5766
5767 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5768 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5769 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5770 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5771 Apply `tramp-check-proper-host'.
78fc2530 5772
edca97cd
TH
57732013-08-26 Tassilo Horn <tsdh@gnu.org>
5774
5775 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5776 lambda expression in order to have `describe-variable' display it.
5777
df54bcbd
MA
57782013-08-26 Michael Albinus <michael.albinus@gmx.de>
5779
5780 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5781 BUF can be optional. (Bug#15186)
5782
eed99101
XF
57832013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5784
5785 * progmodes/flymake.el (flymake-get-real-file-name-function):
5786 Fix broken customization. (Bug#15184)
5787
b5eb9035
AM
57882013-08-25 Alan Mackenzie <acm@muc.de>
5789
8a51e842
AM
5790 Improve indentation of bracelists defined by macros (without "=").
5791
5792 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5793 expansion begins with "{", regard it as bracelist when it doesn't
5794 contain a ";".
5795
869455d4
AM
5796 Parse C++ inher-intro when there's a template split over 2 lines.
5797
5798 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5799 rigorously the search for "class" etc. followed by ":".
5800
5801 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5802 random languages a regexp which never matches rather than nil.
5803
b5eb9035
AM
5804 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5805
5806 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5807 (c-awk-regexp-one-line-possibly-open-char-list-re)
5808 (c-awk-one-line-possibly-open-regexp-re)
5809 (c-awk-one-line-non-syn-ws*-re): Remove.
5810 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5811 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5812 (c-awk-space*-unclosed-regexp-/-re): New constants.
5813 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5814 aren't regexp delimiters.
5815
5816 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5817 handling for a rare situation in AWK Mode involving unterminated
5818 strings/regexps.
5819
61611d54
GM
58202013-08-23 Glenn Morris <rgm@gnu.org>
5821
2d85dc34
GM
5822 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5823
cb8d2612
GM
5824 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5825
bb35f42f
GM
5826 * files.el (create-file-buffer): If the result would begin with
5827 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5828
b9808e77
SM
58292013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5830
e3a66363
SM
5831 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5832 text-properties (bug#15155).
5833
b9808e77
SM
5834 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5835 exist any more.
5836 (calc-keypad-redraw): Remove unused var `pad'.
5837 (calc-keypad-press): Remove unused var `menu'.
5838
7fd5f65e
MR
58392013-08-23 Martin Rudalics <rudalics@gmx.at>
5840
b9808e77
SM
5841 * window.el (display-buffer-pop-up-frame):
5842 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5843 use it as the new frame's buffer (Bug#15133).
5844
8352b530
SM
58452013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * calendar/timeclock.el: Minor cleanups.
5848 (timeclock-ask-before-exiting, timeclock-use-display-time):
5849 Use `symbol'.
5850 (timeclock-modeline-display): Define as alias before the
5851 actual definition.
5852 (timeclock-mode-line-display): Use define-minor-mode.
5853 (timeclock-day-list-template): Make it a function, add an argument.
5854 (timeclock-day-list-required, timeclock-day-list-length)
5855 (timeclock-day-list-debt, timeclock-day-list-span)
5856 (timeclock-day-list-break): Adjust calls accordingly.
5857
9f7b1925
SM
58582013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5861 Use read--expression so that completion works again.
5862
6e50e983
SS
58632013-08-21 Sam Steingold <sds@gnu.org>
5864
5865 Add rudimentary inferior shell interaction
5866 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5867 (sh-set-shell): Reset it.
9f7b1925
SM
5868 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5869 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5870
dbb0d350
SM
58712013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * align.el: Use lexical-binding.
5874 (align-region): Simplify accordingly.
5875
c88586a9
MA
58762013-08-20 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5879
5880 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5881 `non-essential' up.
5882
f95527c8
MA
58832013-08-17 Michael Albinus <michael.albinus@gmx.de>
5884
5885 * net/tramp.el:
5886 * net/tramp-adb.el:
5887 * net/tramp-cmds.el:
5888 * net/tramp-ftp.el:
5889 * net/tramp-gvfs.el:
5890 * net/tramp-gw.el:
5891 * net/tramp-sh.el: Don't wrap external variable declarations by
5892 `eval-when-compile'.
5893
4b5fe4ee
LMI
58942013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5895
5896 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5897 now that Emacs supports ImageMagick animations.
5898
13c366c9
MA
58992013-08-16 Michael Albinus <michael.albinus@gmx.de>
5900
5901 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5902 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5903
3dfc5cd6
MR
59042013-08-16 Martin Rudalics <rudalics@gmx.at>
5905
5906 * window.el (mouse-autoselect-window-select): Do autoselect when
5907 mouse pointer is on margin.
5908
4bbb4381
WP
59092013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5910
5911 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5912
3a2ddc2d
GM
59132013-08-16 Glenn Morris <rgm@gnu.org>
5914
e8bedf5a
GM
5915 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5916 Handle "Remote Directory" response of some clients. (Bug#15058)
5917
58c4682f
GM
5918 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5919 Tweak warning. (Bug#14926)
5920
57953f49
GM
5921 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5922 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5923
3a2ddc2d
GM
5924 * image-mode.el (image-mode-map): Add menu items to reverse,
5925 increase, decrease, reset animation speed.
5926 (image--set-speed, image-increase-speed, image-decrease-speed)
5927 (image-reverse-speed, image-reset-speed): New functions.
5928 (image-mode-map): Add bindings for speed commands.
5929
5930 * image.el (image-animate-get-speed, image-animate-set-speed):
5931 New functions.
5932 (image-animate-timeout): Respect image :speed property.
5933
10fa0ed3
SM
59342013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5937 previous line (bug#15101).
5938 (debugger-eval-expression, debugger-record-expression):
5939 Use read--expression (bug#15102).
5940
5d89d9d2
MA
59412013-08-15 Michael Albinus <michael.albinus@gmx.de>
5942
5943 Remove byte compiler warnings, visible when compiling with
5944 `byte-compile-force-lexical-warnings' set to t.
5945
5946 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5947 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5948 (tramp-handle-unhandled-file-name-directory)
5949 (tramp-handle-file-notify-add-watch, tramp-action-login)
5950 (tramp-action-succeed, tramp-action-permission-denied)
5951 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5952 arguments with "_".
5953
5954 * net/tramp-adb.el (tramp-adb-parse-device-names)
5955 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5956 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5957 (tramp-adb-handle-file-truename): Remove unused arguments.
5958
5959 * net/tramp-cache.el (tramp-flush-directory-property)
5960 (tramp-flush-connection-property, tramp-list-connections)
5961 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5962
10fa0ed3
SM
5963 * net/tramp-compat.el (tramp-compat-make-temp-file):
5964 Rename FILENAME to F.
5d89d9d2
MA
5965
5966 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5967 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5968 (tramp-zeroconf-parse-workstation-device-names)
5969 (tramp-zeroconf-parse-webdav-device-names)
5970 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5971
5972 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5973 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5974
5975 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5976 arguments.
5977 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5978 (tramp-sh-handle-insert-file-contents-literally)
5979 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5980 with "_".
5981 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5982 Remove unused variables.
5983
5984 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5985 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5986 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5987
5988 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5989 Make them a defconst.
5990 (tramp-uuencode-region): Remove unused variable.
5991
62f33bae
JB
59922013-08-14 Juanma Barranquero <lekktu@gmail.com>
5993
5994 * frameset.el (frameset--prop-setter): New function.
5995 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5996 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5997 parameter was already set in FILTERED. Doc fix.
5998 (frameset--record-minibuffer-relationships): Allow saving a
5999 minibufferless frame without its corresponding minibuffer frame.
6000 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6001 frame, if the frame id matches.
6002 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6003 frames before orphaned ones.
6004 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6005
c660a885
MR
60062013-08-14 Martin Rudalics <rudalics@gmx.at>
6007
6008 * window.el (window-make-atom): Don't overwrite parameter
6009 already present.
6010 (display-buffer-in-atom-window): Handle special case where we
6011 split an already atomic window.
6012 (window--major-non-side-window, display-buffer-in-side-window)
6013 (window--side-check): Ignore minibuffer window when walking
6014 window tree.
6015 (window-deletable-p): Return 'frame only if no other frame uses
6016 our minibuffer window.
6017 (record-window-buffer): Run buffer-list-update-hook.
6018 (split-window): Make sure window--check-frame won't destroy an
6019 existing atomic window in case the new window gets nested
6020 inside.
6021 (display-buffer-at-bottom): Ignore minibuffer window when
6022 walking window tree. Don't split a side window.
6023 (pop-to-buffer): Don't set-buffer here, the select-window call
6024 should do that.
6025 (mouse-autoselect-window-select): Autoselect only if we are in the
6026 text portion of the window.
6027
8259030d
LMI
60282013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
21c58ae2
LMI
6030 * net/shr.el (shr-parse-image-data): New function to grab both the
6031 data itself and the Content-Type.
6032 (shr-put-image): Use it.
6033
6034 * net/eww.el (eww-display-image): Ditto.
6035
8259030d
LMI
6036 * image.el (image-content-type-suffixes): New variable.
6037
ad756449
FEG
60382013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6039
6040 * progmodes/python.el (python-imenu--build-tree)
6041 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6042
f73f4ce6
XF
60432013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6044
6045 * simple.el (backward-word): Mention the optional argument.
6046
1f585e65
SM
60472013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * frameset.el (frameset--make): Rename constructor from make-frameset.
6050 (frameset-p, frameset-valid-p): Don't autoload.
6051 (frameset-valid-p): Use normal accessors.
6052
af1c6c84
GM
60532013-08-13 Glenn Morris <rgm@gnu.org>
6054
55e47f95
GM
6055 * progmodes/compile.el (compile-command): Tweak example in doc.
6056 * obsolete/scribe.el (scribe-mode):
6057 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6058
f0024d8c
GM
6059 * mail/feedmail.el (feedmail-confirm-outgoing)
6060 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6061
6062 * cus-start.el (truncate-partial-width-windows): Fix type.
6063
6064 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6065
af1c6c84
GM
6066 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6067
5514cc4c
SM
60682013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/timer.el (timer--time-setter): New function.
6071 (timer--time): Use it as gv-setter.
6072
6073 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6074 setter is not a symbol.
6075
7997a2f1
GJ
60762013-08-12 Grégoire Jadi <daimrod@gmail.com>
6077
6078 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6079 if sending fails. This makes debugging easier.
6080
01f1a9ab
JB
60812013-08-12 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6084 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6085 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6086
594a4307
EZ
60872013-08-12 Eli Zaretskii <eliz@gnu.org>
6088
6089 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6090
7a22490f 60912013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6092
6093 * format.el (format-annotate-function):
6094 Handle read-only text properties in the source. (Bug#14887)
6095
3e41a054
LMI
60962013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6097
5514cc4c
SM
6098 * net/eww.el (eww-display-html): Ignore coding system errors.
6099 One web site uses "utf-8lias" as the coding system.
3e41a054 6100
7ec326db
JB
61012013-08-11 Juanma Barranquero <lekktu@gmail.com>
6102
6103 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6104
5660113b
JB
61052013-08-10 Juanma Barranquero <lekktu@gmail.com>
6106
9a4ebc74
JB
6107 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6108 (tutorial--detailed-help): Remove unused local variables.
6109 (tutorial--save-tutorial-to): Use ignore-errors.
6110 (help-with-tutorial): Use looking-at-p.
6111
6112 * view.el (view-buffer-other-window, view-buffer-other-frame):
6113 Mark unused arguments.
6114
6115 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6116 (woman-select-symbol-fonts, woman, woman-find-file)
6117 (woman-insert-file-contents, woman-non-underline-faces):
6118 Use string-match-p.
6119 (woman1-unquote): Move declaration.
6120
6121 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6122 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6123 argument. Remove unused local variable.
6124 (xml-parse-elem-type): Use string-match-p.
6125 (xml-substitute-numeric-entities): Use ignore-errors.
6126
45fdb482
JB
6127 * calculator.el (calculator): Mark unused argument.
6128 (calculator-paste, calculator-quit, calculator-integer-p):
6129 Use ignore-errors.
6130 (calculator-string-to-number, calculator-decimal, calculator-exp)
6131 (calculator-op-or-exp): Use string-match-p.
6132
6133 * dired.el (dired-buffer-more-recently-used-p): Declare.
6134 (dired-insert-set-properties, dired-insert-old-subdirs):
6135 Use ignore-errors.
6136
6137 * dired-aux.el (dired-compress): Use ignore-errors.
6138 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6139 (dired-do-async-shell-command, dired-do-shell-command)
6140 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6141 (dired-insert-subdir-validate): Use string-match-p.
6142 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6143 (dired-add-entry): Use string-match-p, looking-at-p.
6144 (dired-insert-subdir-newpos): Remove unused local variable.
6145
6146 * filenotify.el (file-notify-callback): Remove unused local variable.
6147
6148 * filesets.el (filesets-error): Mark unused argument.
6149 (filesets-which-command-p, filesets-filter-dir-names)
6150 (filesets-directory-files, filesets-get-external-viewer)
6151 (filesets-ingroup-get-data): Use string-match-p.
6152
6153 * find-file.el (ff-other-file-name, ff-other-file-name)
6154 (ff-find-the-other-file, ff-cc-hh-converter):
6155 Remove unused local variables.
6156 (ff-get-file-name): Use string-match-p.
6157 (ff-all-dirs-under): Use ignore-errors.
6158
6159 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6160 (follow-select-if-visible): Remove unused local variable.
6161
6162 * forms.el (read-file-filter): Move declaration.
6163 (forms--make-format, forms--make-parser, forms-insert-record):
6164 Quote function with #'.
6165 (forms--update): Use string-match-p. Quote function with #'.
6166
6167 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6168 (help-make-xrefs): Use looking-at-p.
6169 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6170
6171 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6172 (ibuffer-confirm-operation-on): Use string-match-p.
6173
6174 * msb.el (msb-item-handler, msb-dired-item-handler):
6175 Mark unused arguments.
6176
6177 * ses.el (ses-decode-cell-symbol)
6178 (ses-kill-override): Remove unused local variable.
6179 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6180 (ses-load): Use ignore-errors, looking-at-p.
6181 (ses-jump-safe): Use ignore-errors.
6182 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6183
6184 * tabify.el (untabify, tabify): Mark unused arguments.
6185
6186 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6187 Mark unused argument.
6188 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6189 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6190
c880af52
JB
6191 * emacs-lisp/timer.el (timer--time): Define setter with
6192 gv-define-setter to avoid deprecation warning.
6193
5660113b 6194 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6195 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6196 (cmpl-statistics-block): Remove (body was commented out).
6197 All callers changed.
6198 (add-completions-from-buffer, load-completions-from-file):
6199 Remove unused variables.
6200
156aab80
JB
62012013-08-09 Juanma Barranquero <lekktu@gmail.com>
6202
5c5dee78
JB
6203 * filecache.el (file-cache-delete-file-list):
6204 Print message only when told so.
6205 (file-cache-files-matching): Use #' in mapconcat argument.
6206
156aab80
JB
6207 * ffap.el (ffap-url-at-point): Fix reference to variable
6208 thing-at-point-default-mail-uri-scheme.
6209
ad9dcd70
SM
62102013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6211
54bd972f
SM
6212 * subr.el (define-error): New function.
6213 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6214 error-file-not-found and define with define-error.
6215 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6216 and define with define-error.
6217 * userlock.el (file-locked, file-supersession):
6218 * simple.el (mark-inactive):
6219 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6220 * progmodes/ada-mode.el (ada-mode-errors):
6221 * play/life.el (life-extinct):
6222 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6223 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6224 * nxml/rng-util.el (rng-error):
6225 * nxml/rng-uri.el (rng-uri-error):
6226 * nxml/rng-match.el (rng-compile-error):
6227 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6228 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6229 * nxml/nxml-rap.el (nxml-scan-error):
6230 * nxml/nxml-outln.el (nxml-outline-error):
6231 * net/soap-client.el (soap-error):
6232 * net/gnutls.el (gnutls-error):
6233 * net/ange-ftp.el (ftp-error):
6234 * mpc.el (mpc-proc-error):
6235 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6236 (json-number-format, json-string-escape, json-string-format)
6237 (json-key-format, json-object-format):
6238 * jka-compr.el (compression-error):
6239 * international/quail.el (quail-error):
6240 * international/kkc.el (kkc-error):
6241 * emacs-lisp/ert.el (ert-test-failed):
6242 * calc/calc.el (calc-error, inexact-result, math-overflow)
6243 (math-underflow):
6244 * bookmark.el (bookmark-error-no-filename):
6245 * epg.el (epg-error): Define with define-error.
6246
0ea9e53a
SM
6247 * time.el (display-time-event-handler)
6248 (display-time-next-load-average): Don't call sit-for since it seems
6249 unnecessary (bug#15045).
6250
b0429158
SM
6251 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6252 Use #' instead of ' to quote functions.
6253 (checkdoc-output-mode): Use setq-local.
6254 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6255 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6256 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6257 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6258 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6259 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6260 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6261 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6262
ad9dcd70
SM
6263 * ido.el (ido-completion-help): Fix up compiler warning.
6264
77187e6f
JB
62652013-08-09 Juanma Barranquero <lekktu@gmail.com>
6266
6267 * frameset.el (frameset-p): Add autoload cookie.
6268 (frameset--jump-to-register): New function, based on code moved from
6269 register.el.
6270 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6271
6272 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6273 (frameset-restore, frameset-save, frameset-session-filter-alist):
6274 Remove declarations.
6275 (register-alist): Doc fix.
6276 (frameset-to-register): Move to frameset.el.
6277 (jump-to-register, describe-register-1): Remove frameset-specific code.
6278
9d3aa82c
JB
62792013-08-08 Juanma Barranquero <lekktu@gmail.com>
6280
6281 * allout-widgets.el (allout-widgets-pre-command-business)
6282 (allout-widgets-post-command-business)
6283 (allout-widgets-after-change-handler)
6284 (allout-decorate-item-and-context, allout-set-boundary-marker)
6285 (allout-body-modification-handler)
6286 (allout-graphics-modification-handler): Mark ignored arguments.
6287 (allout-widgets-post-command-business)
6288 (allout-widgets-exposure-change-processor)
6289 (allout-widgets-exposure-undo-processor)
6290 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6291 (allout-parse-item-at-point, allout-decorate-item-guides)
6292 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6293 * allout.el (epa-passphrase-callback-function): Declare.
6294 (allout-overlay-insert-in-front-handler)
6295 (allout-overlay-interior-modification-handler)
6296 (allout-isearch-end-handler, allout-chart-siblings)
6297 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6298 (allout-yank-processing, allout-process-exposed)
6299 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6300 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6301 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6302 (lisp-indent-defform): Mark ignored arguments.
6303 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6304 (calculate-lisp-indent): Remove unused variables.
6305 * international/characters.el (indian-2-column, arabic-2-column)
6306 (tibetan): Mark ignored arguments.
6307 (use-cjk-char-width-table): Mark ignored arguments.
6308 Remove unused variables.
6309 * international/fontset.el (build-default-fontset-data)
6310 (x-compose-font-name, create-fontset-from-fontset-spec):
6311 Mark ignored arguments.
6312 (fontset-plain-name): Remove unused variables.
6313 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6314 (keyboard-coding-system): Mark ignored arguments.
6315 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6316 * help.el (resize-temp-buffer-window):
6317 * window.el (display-buffer-in-major-side-window)
6318 (display-buffer-in-side-window, display-buffer-in-previous-window):
6319 Remove unused variables.
6320 * isearch.el (isearch-forward-symbol):
6321 * version.el (emacs-bzr-version-bzr):
6322 * international/mule-cmds.el (current-language-environment):
6323 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6324 (x-handle-display):
6325 * term/pc-win.el (x-list-fonts, x-display-planes)
6326 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6327 (x-server-version, x-display-screens, x-display-mm-height)
6328 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6329 (x-selection-owner-p, x-own-selection-internal)
6330 (x-disown-selection-internal, x-get-selection-internal)
6331 (msdos-initialize-window-system):
6332 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6333 * term/x-win.el (x-handle-no-bitmap-icon):
6334 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6335 (vc-default-find-file-hook, vc-default-extra-menu):
6336 Mark ignored arguments.
6337
0ca3f70e
SM
63382013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6341 break-condition in the context of the debugged code (bug#12685).
6342
74c5d24c
CS
63432013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6344
6345 * comint.el:
6346 Do not use an overlay to highlight the last prompt. (Bug#14744)
6347 (comint-mode): Make comint-last-prompt buffer local.
6348 (comint-last-prompt): New variable.
6349 (comint-last-prompt-overlay): Remove. Superseded by
6350 comint-last-prompt.
0ca3f70e
SM
6351 (comint-snapshot-last-prompt, comint-output-filter):
6352 Use comint-last-prompt.
74c5d24c 6353
c03c02ee
JB
63542013-08-08 Juanma Barranquero <lekktu@gmail.com>
6355
a3738d20 6356 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6357 (frameset-save): Check validity of the resulting frameset.
6358
04263d23
XF
63592013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6360
6361 * ido.el (ido-record-command): Add doc string.
6362
76c5e5ab
JB
63632013-08-08 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * frameset.el (frameset): Do not disable creation of the default
6366 frameset-p predicate. Doc fix.
6367 (frameset-valid-p): New function, copied from the old predicate-p.
6368 Add additional checks.
6369 (frameset-restore): Check with frameset-valid-p.
6370 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6371 (frameset-name, frameset-description, frameset-properties)
6372 (frameset-states): Add docstring.
f9dbf1cb
JB
6373 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6374 (frameset-filter-alist): Doc fixes.
76c5e5ab 6375
bd0c3c0b
JB
63762013-08-08 Juanma Barranquero <lekktu@gmail.com>
6377
6378 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6379
c735544c
SM
63802013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6383 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6384 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6385 (byte-compile-normal-call): Remove obsolescence check.
6386
2805a651
JB
63872013-08-08 Juanma Barranquero <lekktu@gmail.com>
6388
3677ffeb
JB
6389 * frameset.el (frameset-restore): Doc fix.
6390
2805a651
JB
6391 * register.el (frameset-frame-id, frameset-frame-with-id)
6392 (frameset-p, frameset-restore, frameset-save): Declare.
6393 (register-alist): Document framesets.
6394 (frameset-session-filter-alist): Declare.
6395 (frameset-to-register): New function.
6396 (jump-to-register): Implement jumping to framesets. Doc fix.
6397 (describe-register-1): Describe framesets.
6398
6399 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6400
a912c016
JB
64012013-08-07 Juanma Barranquero <lekktu@gmail.com>
6402
6403 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6404 Use lexical-binding.
6405
6406 * frameset.el (frameset): Use type vector, not list (incompatible
6407 change). Do not declare a new constructor, use the default one.
6408 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6409 `name' and `description', respectively, and add read-only slot
6410 `timestamp'. Doc fixes.
6411 (frameset-copy, frameset-persistent-filter-alist)
6412 (frameset-filter-alist, frameset-switch-to-gui-p)
6413 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6414 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6415 (frameset-filter-iconified, frameset-keep-original-display-p):
6416 Doc fixes.
6417 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6418 Rename from frameset-filter-(save|restore)-param. All callers changed.
6419 Doc fix.
6420 (frameset-p): Adapt to change to vector and be more thorough.
6421 Change arg name to OBJECT. Doc fix.
6422 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6423 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6424 All callers changed.
6425 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6426 All callers changed.
6427 (frameset--record-minibuffer-relationships): Rename from
6428 frameset--process-minibuffer-frames. All callers changed.
6429 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6430 Use new default constructor (again). Doc fix.
6431 (frameset--find-frame-if): Rename from `frameset--find-frame.
6432 All callers changed.
6433 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6434 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6435 Doc fix.
6436 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6437 PARAMETERS and WINDOW-STATE, respectively.
6438 (frameset-restore): Add new keyword argument PREDICATE.
6439 Reset frameset--target-display to nil. Doc fix.
6440
bb41480a
SM
64412013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6442
f001e98e
SM
6443 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6444 (bat-mode): Use it.
6445 (bat-mode-syntax-table): Mark \n as end-of-comment.
6446 (bat-font-lock-keywords): Remove comment rule.
6447
7679edb1
SM
6448 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6449 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6450
bb41480a
SM
6451 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6452 (byte-compile-callargs-warn): Use `push'.
6453 (byte-compile-arglist-warn): Ignore higher-order "calls".
6454 (byte-compile-file-form-autoload): Use `pcase'.
6455 (byte-compile-function-form): If quoting a symbol, check that it exists.
6456
cdc1ebb9
EZ
64572013-08-07 Eli Zaretskii <eliz@gnu.org>
6458
6459 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6460 and add a few popular commands found in batch files.
6461 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6462 (dos-mode): Doc fixes.
6463
312b1740
SM
64642013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6467 (dos-mode): Use setq-local. Add space after "rem".
6468 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6469 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6470
400a3178
AM
64712013-08-07 Arni Magnusson <arnima@hafro.is>
6472
6473 * progmodes/dos.el: New file.
6474 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6475 dos-mode.
6476
3b5c03d3
GM
64772013-08-06 Glenn Morris <rgm@gnu.org>
6478
6479 * calendar/calendar.el: Add new faces, and day-header-array.
6480 (calendar-weekday-header, calendar-weekend-header)
6481 (calendar-month-header): New faces.
6482 (calendar-day-header-construct): New function.
6483 (calendar-day-header-width): Also :set calendar-day-header-array.
6484 (calendar-american-month-header, calendar-european-month-header)
6485 (calendar-iso-month-header): Use calendar- faces.
6486 (calendar-generate-month):
6487 Use calendar-day-header-array for day headers; apply faces to them.
6488 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6489 (calendar-abbrev-construct): Add optional maxlen argument.
6490 (calendar-day-name-array): Doc fix.
6491 (calendar-day-name-array, calendar-abbrev-length)
6492 (calendar-day-abbrev-array):
6493 Also :set calendar-day-header-array, and maybe redraw.
6494 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6495 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6496 (calendar-day-name): Add option to use header array.
6497
ec6a2d7a
LMI
64982013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6499
6500 * net/shr.el (shr-render-td): Remove debugging.
6501 (shr-render-td): Make width computation consistent by defaulting
6502 all zero-width columns to 10 characters. This may not be optimal,
6503 but it's at least consistent.
2122cb6d
LMI
6504 (shr-make-table-1): Redo last change to fix the real problem in
6505 colspan handling.
ec6a2d7a 6506
ed4fd9c5
DA
65072013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6508
0ca3f70e
SM
6509 * files.el (cache-long-line-scans):
6510 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6511
64e22afe
JB
65122013-08-06 Juanma Barranquero <lekktu@gmail.com>
6513
024b38fc
JB
6514 * frameset.el (frameset, frameset-filter-alist)
6515 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6516 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6517 (frameset-compute-pos): Rename from frameset--compute-pos,
6518 and add docstring.
6519 (frameset-move-onscreen): Use frameset-compute-pos.
6520 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6521
64e22afe
JB
6522 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6523 Fix typos in docstrings.
6524
c8c2aca8
DA
65252013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6526
6527 * frame.el (get-other-frame): Tiny cleanup.
6528
1d237bba
JB
65292013-08-06 Juanma Barranquero <lekktu@gmail.com>
6530
8951efef
JB
6531 * vc/vc.el (vc-default-ignore-completion-table):
6532 Silence byte-compiler warning.
6533
307764cc 6534 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6535 slot, which can indeed be nil.
307764cc
JB
6536 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6537 Move entry for `left' from persistent to live filter alist.
6538 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6539 Doc fixes.
6540 (frameset-filter-params): When restoring a frame, copy items added to
6541 `filtered', to avoid unwittingly modifying the original parameters.
6542 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6543 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6544
1d237bba
JB
6545 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6546 to use looking-at-p instead of looking-at. (Bug#15028)
6547
dc6c0eda
SM
65482013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 Revert introduction of isearch-filter-predicates (bug#14714).
6551 Rely on add-function instead.
6552 * isearch.el (isearch-filter-predicates): Rename it back to
6553 isearch-filter-predicate.
6554 (isearch-message-prefix): Use advice-function-mapc and advice
6555 properties to get the isearch-message-prefix.
6556 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6557 instead of run-hook-with-args-until-failure.
6558 (isearch-filter-visible): Not obsolete any more.
6559 * loadup.el: Preload nadvice.
6560 * replace.el (perform-replace): Revert to funcall
6561 instead of run-hook-with-args-until-failure.
6562 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6563 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6564 dired-isearch-filenames-toggle; make it into a proper minor mode.
6565 Use add/remove-function.
6566 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6567 Call the minor-mode rather than add/remove-hook.
6568 (dired-isearch-filter-filenames):
6569 Remove isearch-message-prefix property.
6570 * info.el (Info--search-loop): New function, extracted from Info-search.
6571 Funcall isearch-filter-predicate instead of
6572 run-hook-with-args-until-failure isearch-filter-predicates.
6573 (Info-search): Use it.
6574 (Info-mode): Use isearch-filter-predicate instead of
6575 isearch-filter-predicates.
6576
290d5b58
DA
65772013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6578
6579 Do not call to `selected-window' where it is assumed by default.
6580 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6581 `window-hscroll', `window-width', `window-height', `window-buffer',
6582 `window-frame', `window-start', `window-point', `next-window'
6583 and `window-display-table'.
6584 * abbrev.el (abbrev--default-expand):
6585 * bs.el (bs--show-with-configuration):
6586 * buff-menu.el (Buffer-menu-mouse-select):
6587 * calc/calc.el (calc):
6588 * calendar/calendar.el (calendar-generate-window):
6589 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6590 (diary-make-entry):
6591 * comint.el (send-invisible, comint-dynamic-complete-filename)
6592 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6593 * completion.el (complete):
6594 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6595 * disp-table.el (describe-current-display-table):
6596 * doc-view.el (doc-view-insert-image):
6597 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6598 * ehelp.el (with-electric-help):
6599 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6600 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6601 * emacs-lisp/helper.el (Helper-help-scroller):
6602 * emulation/cua-base.el (cua--post-command-handler-1):
6603 * eshell/esh-mode.el (eshell-output-filter):
6604 * ffap.el (ffap-gnus-wrapper):
6605 * help-macro.el (make-help-screen):
6606 * hilit-chg.el (highlight-compare-buffers):
6607 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6608 * hl-line.el (global-hl-line-highlight):
6609 * icomplete.el (icomplete-simple-completing-p):
6610 * isearch.el (isearch-done):
6611 * jit-lock.el (jit-lock-stealth-fontify):
6612 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6613 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6614 * mpc.el (mpc-tagbrowser, mpc):
6615 * net/rcirc.el (rcirc-any-buffer):
6616 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6617 * play/landmark.el (landmark-max-width, landmark-max-height):
6618 * play/zone.el (zone):
6619 * progmodes/compile.el (compilation-goto-locus):
6620 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6621 * progmodes/etags.el (find-tag-other-window):
6622 * progmodes/fortran.el (fortran-column-ruler):
6623 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6624 * progmodes/verilog-mode.el (verilog-point-text):
6625 * reposition.el (reposition-window):
6626 * rot13.el (toggle-rot13-mode):
6627 * server.el (server-switch-buffer):
6628 * shell.el (shell-dynamic-complete-command)
6629 (shell-dynamic-complete-environment-variable):
6630 * simple.el (insert-buffer, set-selective-display)
6631 (delete-completion-window):
6632 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6633 (speedbar-recenter):
6634 * startup.el (fancy-splash-head):
6635 * textmodes/ispell.el (ispell-command-loop):
6636 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6637 * tutorial.el (help-with-tutorial):
6638 * vc/add-log.el (add-change-log-entry):
6639 * vc/compare-w.el (compare-windows):
6640 * vc/ediff-help.el (ediff-indent-help-message):
6641 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6642 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6643 (ediff-setup-control-frame):
6644 * vc/emerge.el (emerge-position-region):
6645 * vc/pcvs-util.el (cvs-bury-buffer):
6646 * window.el (walk-windows, mouse-autoselect-window-select):
6647 * winner.el (winner-set-conf, winner-undo): Related users changed.
6648
38276e01
JB
66492013-08-05 Juanma Barranquero <lekktu@gmail.com>
6650
6651 * frameset.el (frameset--set-id): Doc fix.
6652 (frameset-frame-id, frameset-frame-id-equal-p)
6653 (frameset-locate-frame-id): New functions.
6654 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6655 (frameset-restore): Use them.
6656
12b4c0ea
DA
66572013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6658
6659 Do not call to `selected-frame' where it is assumed by default.
6660 Affected functions are `raise-frame', `redraw-frame',
6661 `frame-first-window', `frame-terminal' and `delete-frame'.
6662 * calendar/appt.el (appt-disp-window):
6663 * epg.el (epg-wait-for-completion):
6664 * follow.el (follow-delete-other-windows-and-split)
6665 (follow-avoid-tail-recenter):
6666 * international/mule.el (set-terminal-coding-system):
6667 * mail/rmail.el (rmail-mail-return):
6668 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6669 * progmodes/f90.el (f90-add-imenu-menu):
6670 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6671 * server.el (server-switch-buffer):
6672 * simple.el (delete-completion-window):
6673 * talk.el (talk):
6674 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6675 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6676 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6677 * vc/ediff.el (ediff-documentation): Related users changed.
6678 * frame.el (selected-terminal): Remove the leftover.
6679
17f25e76
GM
66802013-08-05 Glenn Morris <rgm@gnu.org>
6681
6682 * calendar/calendar.el (calendar-generate-month):
6683 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6684 (calendar-generate-month, calendar-font-lock-keywords):
6685 Fix for calendar-day-header-width > length of any day name.
17f25e76 6686
063233c3
JB
66872013-08-05 Juanma Barranquero <lekktu@gmail.com>
6688
6689 * desktop.el (desktop-clear): Use new name of sort predicate.
6690
6691 * frameset.el (frameset): Add docstring. Move :version property to its
6692 own `version' slot.
6693 (frameset-copy): Rename from copy-frameset.
6694 (frameset-p): Check more thoroughly.
6695 (frameset-prop): Do not check for :version, which is no longer a prop.
6696 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6697 Use new :never value instead of t.
6698 (frameset-filter-alist): Expand and clarify docstring.
6699 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6700 (frameset-filter-minibuffer, frameset-filter-save-param)
6701 (frameset-filter-restore-param, frameset-filter-iconified):
6702 Add pointer to docstring of frameset-filter-alist.
6703 (frameset-filter-params): Rename filter values to be more meaningful:
6704 :never instead of t, and reverse the meanings of :save and :restore.
6705 (frameset--process-minibuffer-frames): Clarify error message.
6706 (frameset-save): Avoid unnecessary and confusing call to framep.
6707 Use new BOA constructor for framesets.
6708 (frameset--reuse-list): Doc fix.
6709 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6710 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6711 (frameset-minibufferless-first-p): Doc fix.
6712 Rename from frameset-sort-frames-for-deletion.
6713 (frameset-restore): Doc fixes. Use new function names.
6714 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6715
d5671a82
JB
67162013-08-04 Juanma Barranquero <lekktu@gmail.com>
6717
6718 * desktop.el (desktop-restore-forces-onscreen)
6719 (desktop-restore-reuses-frames): Document :keyword constant values.
6720 (desktop-filter-parameters-alist): Remove, now identical to
6721 frameset-filter-alist.
6722 (desktop--filter-tty*): Remove, moved to frameset.el.
6723 (desktop-save-frameset, desktop-restore-frameset):
6724 Do not pass :filters argument.
6725
6726 * frameset.el (frameset-live-filter-alist)
6727 (frameset-persistent-filter-alist): New variables.
6728 (frameset-filter-alist): Use them. Add autoload cookie.
6729 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6730 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6731 `frameset--id' (it's supposed to be internal to frameset.el).
6732 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6733 (frameset--initial-params): New function.
6734 (frameset--get-frame): Use it. Doc fix.
6735 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6736 Accept :all, not 'all.
6737 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6738 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6739 with fbound symbols. Fix frame id matching, and remove matching ids if
6740 the frame being restored is deleted. Obey :delete.
6741
671d5c16
SM
67422013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * subr.el (macrop): New function.
6745 (text-clone--maintaining): New var.
6746 (text-clone--maintain): Rename from text-clone-maintain. Use it
6747 instead of inhibit-modification-hooks.
6748
6749 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6750 a proxy, so as handle autoloads and redefinitions of the target.
6751 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6752
6753 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6754 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6755 (pcase--mutually-exclusive-p): New function.
6756 (pcase--split-consp): Use it.
6757 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6758 mutually exclusive with the current predicate.
6759
6760 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6761 (edebug-macrop): Remove. Use `macrop' instead.
6762 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6763 (ad-macro-p):
6764 * eshell/esh-cmd.el (eshell-macrop):
6765 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6766
1d44e9dc
SM
67672013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6770 (advice-mapc): New function, using it.
6771 (advice-function-member-p): New function.
6772 (advice--normalize): Store the cdr in advice--saved-rewrite since
6773 that's the part that will be changed.
6774 (advice--symbol-function): New function.
6775 (advice-remove): Handle removal before the function is defined.
6776 Adjust to new advice--saved-rewrite.
6777 (advice-member-p): Use advice-function-member-p and
6778 advice--symbol-function.
6779
5414a283
JB
67802013-08-04 Juanma Barranquero <lekktu@gmail.com>
6781
51d30f2c
JB
6782 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6783 (frameset-filter-minibuffer): Doc fix.
6784 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6785 (frameset--set-id, frameset--process-minibuffer-frames)
6786 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6787 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6788
5414a283
JB
6789 * desktop.el (desktop-clear): Only delete frames when called
6790 interactively and desktop-restore-frames is non-nil. Doc fix.
6791 (desktop-read): Set desktop-saved-frameset to nil.
6792
ab419665
XF
67932013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6794
6795 * vc/vc.el (vc-ignore): Rewrite.
6796 (vc-default-ignore-completion-table):
6797 (vc--read-lines):
6798 (vc--add-line, vc--remove-regexp): New functions.
6799
6800 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6801 (vc-svn-ignore-completion-table): New function.
6802
6803 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6804 (vc-hg-ignore-completion-table):
6805 (vc-hg-find-ignore-file): New functions.
6806
6807 * vc/vc-git.el (vc-git-ignore): Rewrite.
6808 (vc-git-ignore-completion-table):
6809 (vc-git-find-ignore-file): New functions.
6810
6811 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6812
6813 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6814 (vc-bzr-ignore-completion-table):
6815 (vc-bzr-find-ignore-file): New functions.
6816
2613dea2
JB
68172013-08-03 Juanma Barranquero <lekktu@gmail.com>
6818
6819 * frameset.el (frameset-prop): New function and setter.
6820 (frameset-save): Do not modify frame list passed by the caller.
6821
9c959872
SM
68222013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6825
a104f656
SM
68262013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6827
70122acf
SM
6828 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6829 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6830
a104f656
SM
6831 * custom.el (custom-initialize-default, custom-initialize-set)
6832 (custom-initialize-reset, custom-initialize-changed): Affect the
6833 toplevel-default-value (bug#6275, bug#14586).
6834 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6835 for bug#6275.
6836
f078d570
JB
68372013-08-02 Juanma Barranquero <lekktu@gmail.com>
6838
185e3b5a
JB
6839 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6840 Add cl-def* expressions.
6841
f078d570
JB
6842 * frameset.el (frameset-filter-params): Fix order of arguments.
6843
9421876d
JB
68442013-08-02 Juanma Barranquero <lekktu@gmail.com>
6845
6846 Move code related to saving frames to frameset.el.
6847 * desktop.el: Require frameset.
6848 (desktop-restore-frames): Doc fix.
6849 (desktop-restore-reuses-frames): Rename from
6850 desktop-restoring-reuses-frames.
6851 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6852 (desktop-clear): Clear frames too.
6853 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6854 (desktop--filter-tty*, desktop-save, desktop-read):
6855 Use frameset functions.
6856 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6857 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6858 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6859 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6860 (desktop--process-minibuffer-frames, desktop-save-frames)
6861 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6862 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6863 (desktop--sort-states, desktop-restoring-frames-p)
6864 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6865 (desktop-restoring-frameset-p, desktop-restore-frameset)
6866 (desktop--check-dont-save, desktop-save-frameset): New functions.
6867 (desktop--app-id): New constant.
6868 (desktop-first-buffer, desktop-buffer-ok-count)
6869 (desktop-buffer-fail-count): Move before first use.
6870 * frameset.el: New file.
6871
76dc5996
SM
68722013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * files.el: Use lexical-binding.
6875 (dir-locals-read-from-file): Remove unused `err' variable.
6876 (hack-dir-local-variables--warned-coding): New var.
6877 (hack-dir-local-variables): Use it to avoid repeated warnings.
6878 (make-backup-file-name--default-function): New function.
6879 (make-backup-file-name-function): Use it as default.
6880 (buffer-stale--default-function): New function.
6881 (buffer-stale-function): Use it as default.
6882 (revert-buffer-insert-file-contents--default-function): New function.
6883 (revert-buffer-insert-file-contents-function): Use it as default.
6884 (insert-directory): Avoid add-to-list.
6885
6886 * autorevert.el (auto-revert-handler): Simplify.
6887 Use buffer-stale--default-function.
6888
06d36e2b
TH
68892013-08-01 Tassilo Horn <tsdh@gnu.org>
6890
5f648ab4
TH
6891 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6892
06d36e2b
TH
6893 * whitespace.el (whitespace-ensure-local-variables): New function.
6894 (whitespace-cleanup-region): Call it.
6895 (whitespace-turn-on): Call it.
6896
a43dc424
MA
68972013-08-01 Michael Albinus <michael.albinus@gmx.de>
6898
6899 Complete file name handlers.
6900
6901 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6902 (tramp-handle-verify-visited-file-modtime)
6903 (tramp-handle-file-notify-rm-watch): New functions.
6904 (tramp-call-process): Do not bind `default-directory'.
6905
44e18199
JB
6906 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6907 Order alphabetically.
a43dc424
MA
6908 [access-file, add-name-to-file, dired-call-process]:
6909 [dired-compress-file, file-acl, file-notify-rm-watch]:
6910 [file-ownership-preserved-p, file-selinux-context]:
6911 [make-directory-internal, make-symbolic-link, set-file-acl]:
6912 [set-file-selinux-context, set-visited-file-modtime]:
6913 [verify-visited-file-modtime]: Add handler.
6914 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6915
6916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6917 [file-notify-add-watch, file-notify-rm-watch]:
6918 [set-file-times, set-visited-file-modtime]:
6919 [verify-visited-file-modtime]: Add handler.
6920 (with-tramp-gvfs-error-message)
6921 (tramp-gvfs-handle-set-visited-file-modtime)
6922 (tramp-gvfs-fuse-file-name): Remove.
6923 (tramp-gvfs-handle-file-notify-add-watch)
6924 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6925 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6926
44e18199
JB
6927 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6928 Order alphabetically.
a43dc424
MA
6929 [file-notify-rm-watch ]: Use default Tramp handler.
6930 [executable-find]: Remove private handler.
6931 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6932 `default-directory'.
6933 (tramp-sh-handle-executable-find)
6934 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6935 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6936 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6937 Do not use `format' in `tramp-message'.
6938
6939 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6940 [file-notify-rm-watch, set-visited-file-modtime]:
6941 [verify-visited-file-modtime]: Add handler.
6942 (tramp-smb-call-winexe): Do not bind `default-directory'.
6943
7188b515
XF
69442013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6945
6946 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6947
2412ee1a
DG
69482013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6949
6950 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6951 use it.
6952 (log-view-diff-changeset): Same.
6953 (log-view-diff-common): Call backend command `previous-revision'
6954 to find out the previous revision, in both cases. Swap the
6955 variables `to' and `fr', so that `fr' usually refers to the
6956 earlier revision (Bug#14989).
6957
5002a754
KRC
69582013-07-31 Kan-Ru Chen <kanru@kanru.info>
6959
6960 * ibuf-ext.el (ibuffer-filter-by-filename):
6961 Make it work with dired buffers too.
6962
44e18199 69632013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6964
6965 * emacs-lisp/re-builder.el (reb-color-display-p):
6966 * files.el (save-buffers-kill-terminal):
6967 * net/browse-url.el (browse-url):
6968 * server.el (server-save-buffers-kill-terminal):
6969 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6970 Prefer nil to selected-frame for the first arg of frame-parameter.
6971
aeca3fbb
XF
69722013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6973
6974 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6975
158bc55c
SB
69762013-07-30 Stephen Berman <stephen.berman@gmx.net>
6977
6978 * minibuffer.el (completion--twq-all): Try and preserve each
6979 completion's case choice (bug#14907).
6980
d50fceab
LMI
69812013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6982
ac38e731
LMI
6983 * net/network-stream.el (open-network-stream): Mention the new
6984 :nogreeting parameter.
6985 (network-stream-open-starttls): Use the :nogreeting parameter
6986 (bug#14938).
6987
1211de50
LMI
6988 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6989
997798bf
LMI
6990 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6991 more natural than popping.
6992
d50fceab 6993 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6994 (shr-urlify): Highlight under mouse.
d50fceab 6995
5c09de04
XF
69962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6997
207d1d04
XF
6998 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6999
7000 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7001
5c09de04
XF
7002 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7003 buffer for output.
7004
3cd51eaa
XF
7005 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7006 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7007
44e18199 7008 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7009 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7010
7011 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7012
7013 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7014 buffer for output.
7015
35a89bdd
EZ
70162013-07-29 Eli Zaretskii <eliz@gnu.org>
7017
7018 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7019 initial frame is minibuffer-less. (Bug#14841)
7020
78822e94
MA
70212013-07-29 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7024 option.
7025
7026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7027 (tramp-maybe-open-connection): Use it.
7028
9503c190
JB
70292013-07-28 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7032 minimal set of parameters passed when creating a frame, because
7033 the minibuffer status of a frame cannot be changed later.
7034
d5a845b4
SB
70352013-07-28 Stephen Berman <stephen.berman@gmx.net>
7036
7037 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7038 replace-regexp-in-string and inadvertent omissions in previous change.
7039 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7040 name of filtered items buffer.
d5a845b4 7041
ddeffb17
JB
70422013-07-28 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * desktop.el: Optionally force offscreen frames back onscreen.
7045 (desktop-restoring-reuses-frames): New option.
7046 (desktop--compute-pos, desktop--move-onscreen): New functions.
7047 (desktop--make-frame): Use desktop--move-onscreen.
7048
f5950f7a
AM
70492013-07-27 Alan Mackenzie <acm@muc.de>
7050
7051 Fontify a Java generic method as a function.
7052 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7053 value to t.
7054
ae43b66a
SB
70552013-07-27 Stephen Berman <stephen.berman@gmx.net>
7056
7057 * calendar/todo-mode.el: Add command to rename todo files.
7058 (todo-rename-file): New command.
7059 (todo-key-bindings-t): Add key binding for it. Change the
7060 bindings of todo-filter-regexp-items(-multifile) to use `x'
7061 instead of `r', since the latter is better suited to the new
7062 renaming command.
7063
5ab78d3d
AM
70642013-07-27 Alan Mackenzie <acm@muc.de>
7065
7066 Make Java try-with-resources statement parse properly.
7067 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7068 (c-block-stmt-1-2-key): New language constants/variables.
7069 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7070 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7071 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7072 with c-block-stmt-1-2-key.
5ab78d3d 7073
d85c4d50
JB
70742013-07-27 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * desktop.el (desktop--make-frame): Apply most frame parameters after
7077 creating the frame to force (partially or totally) offscreen frames to
7078 be restored as such.
7079
e4c467f9
XF
70802013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7081
7082 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7083 (Bug#14948)
e4c467f9 7084
7ced0d04
SM
70852013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7088 `base' arg of backtrace-frame.
7089
fec92060
EZ
70902013-07-26 Eli Zaretskii <eliz@gnu.org>
7091
7092 * simple.el (list-processes): Doc fix.
7093
d58d31fb
JB
70942013-07-26 Juanma Barranquero <lekktu@gmail.com>
7095
7096 * desktop.el (desktop--select-frame):
d85c4d50 7097 Try harder to reuse existing frames.
d58d31fb 7098
53ff3e77
SM
70992013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7102 (edebug-eval): Use backtrace-eval.
7103 (edebug--display, edebug--recursive-edit): Don't let-bind the
7104 edebug-outer-* vars that keep track of variables we locally let-bind.
7105 (edebug-outside-excursion): Don't restore outside values of locally
7106 let-bound vars.
7107 (edebug--display): Use user-error.
7108 (cl-lexical-debug, cl-debug-env): Remove.
7109
045f7a53
JB
71102013-07-26 Juanma Barranquero <lekktu@gmail.com>
7111
7112 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7113 are restored to be sure that they are visible before deleting any
7114 remaining ones.
7115
59070b32
MM
71162013-07-26 Matthias Meulien <orontee@gmail.com>
7117
742a3501
XF
7118 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7119 vc-print-root-log. (Bug#14948)
59070b32 7120
b1fb3596
RS
71212013-07-26 Richard Stallman <rms@gnu.org>
7122
7123 Add aliases for encrypting mail.
7124 * epa.el (epa-mail-aliases): New option.
7125 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7126 Bind inhibit-read-only so read-only text doesn't ruin everything.
7127 (epa-mail-default-recipients): New subroutine broken out.
7128 Handle epa-mail-aliases.
7129
56ea7291
SM
71302013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 Add support for lexical variables to the debugger's `e' command.
7133 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7134 vars, except for debugger-outer-match-data.
7135 (debugger-frame-number): Move check for "on a function call" from
7136 callers into it. Add `skip-base' argument.
7137 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7138 (debugger-env-macro): Only reset the state stored in non-variables,
7139 i.e. current-buffer and match-data.
7140 (debugger-eval-expression): Rewrite using backtrace-eval.
7141 * subr.el (internal--called-interactively-p--get-frame): Remove.
7142 (called-interactively-p):
7143 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7144 `base' arg of backtrace-frame instead.
7145
15ac32d5
GM
71462013-07-26 Glenn Morris <rgm@gnu.org>
7147
8358a09d
GM
7148 * align.el (align-regexp): Doc fix. (Bug#14857)
7149 (align-region): Explicit error if subexpression missing/does not match.
7150
15ac32d5
GM
7151 * simple.el (global-visual-line-mode):
7152 Do not duplicate the mode lighter. (Bug#14858)
7153
f47ad11b
MR
71542013-07-25 Martin Rudalics <rudalics@gmx.at>
7155
7156 * window.el (display-buffer): In display-buffer bind
7157 split-window-keep-point to t, bug#14829.
7158
02530987
JB
71592013-07-25 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7162 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7163 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7164 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7165 Change accordingly.
f63ebeb5
JB
7166 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7167 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7168
6ccb9cab 71692013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7170
6ccb9cab 7171 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7172
cb3a56d2
JB
71732013-07-25 Juanma Barranquero <lekktu@gmail.com>
7174
7175 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7176 parameter to modify-frame-parameters if the value has not changed;
7177 this is a workaround for bug#14949.
7178 (desktop--make-frame): On cl-delete-if call, check parameter name,
7179 not full parameter.
7180
7aa7fff0
XF
71812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7182
7183 * vc/vc.el (vc-ignore): New function.
7184
7185 * vc/vc-svn.el (vc-svn-ignore): New function.
7186
7187 * vc/vc-hg.el (vc-hg-ignore): New function.
7188
7189 * vc/vc-git.el (vc-git-ignore): New function.
7190
7191 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7192 (vc-dir-ignore): New function.
7193
7194 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7195 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7196
7197 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7198
7199 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7200
889acc5c
JB
72012013-07-24 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7204 (desktop-restore-frames): Warn when deleting an existing frame failed.
7205
86c40970
GM
72062013-07-24 Glenn Morris <rgm@gnu.org>
7207
7208 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7209
d5d3c58a
MA
72102013-07-24 Michael Albinus <michael.albinus@gmx.de>
7211
7212 * filenotify.el (file-notify-supported-p):
7213 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7214 Remove functions.
7215
7216 * autorevert.el (auto-revert-use-notify):
7217 (auto-revert-notify-add-watch):
7218 * net/tramp.el (tramp-file-name-for-operation):
7219 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7220 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7221 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7222 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7223 Remove `file-notify-supported-p' entry.
7224
d100084b
GM
72252013-07-24 Glenn Morris <rgm@gnu.org>
7226
7227 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7228 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7229
ac93e56b
SM
72302013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7231
249eea30
SM
7232 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7233 checked with memq (bug#14935).
7234
ac93e56b
SM
7235 * files.el (revert-buffer-function): Use a non-nil default.
7236 (revert-buffer-preserve-modes): Declare var to
7237 provide access to the `preserve-modes' argument.
7238 (revert-buffer): Let-bind it.
7239 (revert-buffer--default): New function, extracted from revert-buffer.
7240
2cdeb903
SM
72412013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * lpr.el: Signal print errors more prominently.
7244 (print-region-function): Don't default to nil.
7245 (lpr-print-region): New function, extracted from print-region-1.
7246 Check lpr's return value and signal an error in case of problem.
7247 (print-region-1): Use it.
7248 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7249 versions instead.
7250 (ps-printer-name): Default to nil.
7251 (ps-printer-name-option): Default to lpr-printer-switch.
7252 (ps-print-region-function): Don't default to nil.
7253 (ps-postscript-code-directory): Simplify default.
7254 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7255 (ps-string-list, ps-eval-switch, ps-flatten-list)
7256 (ps-flatten-list-1): Remove.
7257 (ps-multibyte-buffer): Avoid setq.
7258 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7259 (print-region-function, ps-print-region-function): Don't set them here.
7260
73600831
XF
72612013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7262
0e55c076
XF
7263 * ido.el (ido-fractionp):
7264 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7265 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7266 (ido-max-directory-size, ido-max-dir-file-cache)
7267 (ido-decorations): Doc fix.
7268
73600831
XF
7269 * ansi-color.el: Fix old URL.
7270
3d012865
MM
72712013-07-23 Michael R. Mauger <michael@mauger.com>
7272
e903c210 7273 * progmodes/sql.el: Version 3.3
3d012865
MM
7274 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7275 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7276 (sql-interactive-remove-continuation-prompt): Rewrite, use
7277 functions above. Fix continuation prompt and complete output line
7278 handling.
7279 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7280 redirected output buffer.
7281 (sql-mode): Restore deleted code (Bug#13591).
7282
da77a2e2
JB
72832013-07-23 Juanma Barranquero <lekktu@gmail.com>
7284
7285 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7286
80ff0c71
MA
72872013-07-23 Michael Albinus <michael.albinus@gmx.de>
7288
7289 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7290
7291 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7292 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7293 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7294
b61d71e4
JB
72952013-07-23 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * desktop.el (desktop-clear): Simplify; remove useless checks
7298 against invalid buffer names.
7299 (desktop-list*): Use cl-list*.
7300 (desktop-buffer-info, desktop-create-buffer): Simplify.
7301
c3512092
LL
73022013-07-23 Leo Liu <sdl.web@gmail.com>
7303
7304 * bookmark.el (bookmark-make-record): Restore NAME as a default
7305 value. (Bug#14933)
7306
0ac26976
SM
73072013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7308
7d22ce18
SM
7309 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7310 extracted from autoload--insert-text.
7311 (autoload--insert-text): Remove.
7312 (autoload--print-cookie-text): New function, extracted from
7313 autoload--insert-cookie-text.
7314 (autoload--insert-cookie-text): Remove.
7315 (autoload-generate-file-autoloads): Adjust calls accordingly.
7316
9b2607e8
SM
7317 * winner.el (winner-hook-installed-p): Remove.
7318 (winner-mode): Simplify accordingly.
7319
c43a8618
SM
7320 * subr.el (add-to-list): Fix compiler-macro when `append' is
7321 not constant. Don't use `cl-member' for the base case.
7322
0ac26976
SM
7323 * progmodes/subword.el: Fix boundary case (bug#13758).
7324 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7325 own group.
7326 (subword-backward-regexp): Make it a constant.
7327 (subword-forward-internal): Don't treat a trailing capital as the
7328 beginning of a word.
7329
6874724a
AR
73302013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7331
7332 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7333 global value of tabulated-list-revert-hook (bug#14930).
7334
70f1b5e8
JB
73352013-07-22 Juanma Barranquero <lekktu@gmail.com>
7336
a1c80d9d
JB
7337 * desktop.el: Require 'cl-lib.
7338 (desktop-before-saving-frames-functions): New hook.
7339 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7340 for frames being saved. Rename from desktop--save-minibuffer-frames.
7341 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7342 Do not save frames with non-nil `desktop-dont-save' parameter.
7343 Filter out deleted frames.
a1c80d9d
JB
7344 (desktop--find-frame): Use cl-find-if.
7345 (desktop--select-frame): Use cl-(first|second|third) to access values
7346 of desktop-mini.
7347 (desktop--make-frame): Use cl-delete-if.
7348 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7349 (desktop-restore-frames): Use cl-(first|second|third) to access values
7350 of desktop-mini. Look for visible frame at the end, not while
7351 restoring frames.
7352
70f1b5e8
JB
7353 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7354 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7355 Use string-match-p, looking-at-p (bug#14927).
7356
728dc3cc
JB
73572013-07-21 Juanma Barranquero <lekktu@gmail.com>
7358
56bc453c
JB
7359 * desktop.el (desktop-saved-frame-states):
7360 Rename from desktop--saved-states; all users changed.
7361 (desktop-save-frames): Rename from desktop--save-frames.
7362 Do not save state to desktop file.
7363 (desktop-save): Save desktop-saved-frame-states to desktop file
7364 and reset to nil.
7365 (desktop-restoring-frames-p): New function.
7366 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7367 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7368 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7369
728dc3cc
JB
7370 * desktop.el: Correctly restore iconified frames.
7371 (desktop--filter-iconified-position): New function.
7372 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7373
862f1c9c
GM
73742013-07-20 Glenn Morris <rgm@gnu.org>
7375
c4074c9f
GM
7376 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7377 Let `message' do the formatting.
7378 (def-gdb-preempt-display-buffer): Add explicit format.
7379
d828e5f9
GM
7380 * image-dired.el (image-dired-track-original-file):
7381 Use with-current-buffer.
7382 (image-dired-track-thumbnail): Use with-current-buffer.
7383 Avoid changing point of wrong window.
7384
862f1c9c
GM
7385 * image-dired.el (image-dired-track-original-file):
7386 Avoid changing point of wrong window. (Bug#14909)
7387
f0398ec1 73882013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7389
7390 * progmodes/gdb-mi.el (gdb-done-or-error):
7391 Guard against "%" in gdb output. (Bug#14127)
7392
1451928f
AS
73932013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7394
763a086d
JB
7395 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7396 (Bug#14826)
f7a03897 7397
1451928f
AS
7398 * international/mule.el (coding-system-iso-2022-flags): Fix last
7399 change.
7400
99107004
KH
74012013-07-20 Kenichi Handa <handa@gnu.org>
7402
763a086d
JB
7403 * international/mule.el (coding-system-iso-2022-flags):
7404 Add `8-bit-level-4'. (Bug#8522)
99107004 7405
48494e06
LMI
74062013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7407
8ba8eec5
LMI
7408 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7409 (bug#14815).
7410
dfbc66e3
LMI
7411 * net/eww.el (eww-process-text-input): Allow inputting when the
7412 point is at the start of the line, as the properties aren't
7413 front-sticky.
7414
48494e06
LMI
7415 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7416 degenerate widths.
7417
77c92cb9
RS
74182013-07-19 Richard Stallman <rms@gnu.org>
7419
aec7da77
RS
7420 * epa.el (epa-popup-info-window): Doc fix.
7421
77c92cb9
RS
7422 * subr.el (split-string): New arg TRIM.
7423
945c5bb1
JB
74242013-07-18 Juanma Barranquero <lekktu@gmail.com>
7425
7426 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7427 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7428
e06ec67f
MA
74292013-07-18 Michael Albinus <michael.albinus@gmx.de>
7430
c7064f05 7431 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7432 `file-notify-support'. Do not autoload. Adapt all uses.
7433 (file-notify-supported-p): New defun.
7434
c7064f05
JB
7435 * autorevert.el (auto-revert-use-notify):
7436 Use `file-notify-supported-p' instead of `file-notify-support'.
7437 Adapt docstring.
e06ec67f
MA
7438 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7439
7440 * net/tramp.el (tramp-file-name-for-operation):
7441 Add `file-notify-supported-p'.
7442
7443 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7444 New defun.
7445 (tramp-sh-file-name-handler-alist): Add it as handler for
7446 `file-notify-supported-p '.
7447
7448 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7449 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7450 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7451 Add `ignore' as handler for `file-notify-*' functions.
7452
5dc8a629
EZ
74532013-07-17 Eli Zaretskii <eliz@gnu.org>
7454
7455 * simple.el (line-move-partial, line-move): Don't start vscroll or
7456 scroll-up if the current line is not taller than the window.
7457 (Bug#14881)
7458
77aea2fb
DG
74592013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7460
7461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7462 highlight question marks in the method names as strings.
ac72c08d
DG
7463 (ruby-block-beg-keywords): Inline.
7464 (ruby-font-lock-keyword-beg-re): Extract from
7465 `ruby-font-lock-keywords'.
77aea2fb 7466
18c26d81
JD
74672013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7468
7469 * frame.el (blink-cursor-blinks): New defcustom.
7470 (blink-cursor-blinks-done): New defvar.
7471 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7472 (blink-cursor-timer-function): Check if number of blinks has been
7473 done on X and NS.
7474 (blink-cursor-suspend, blink-cursor-check): New defuns.
7475
da48522e
GM
74762013-07-15 Glenn Morris <rgm@gnu.org>
7477
7478 * edmacro.el (edmacro-format-keys): Fix previous change.
7479
0463c1ef
PE
74802013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7481
7482 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7483 The hack didn't work outside English locales anyway.
7484
b43f6451
JB
74852013-07-15 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * simple.el (define-alternatives): Rename from alternatives-define,
7488 per RMS' suggestion.
7489
b958c0ad
JB
74902013-07-14 Juanma Barranquero <lekktu@gmail.com>
7491
7492 * desktop.el (desktop-restore-frames): Change default to t.
7493 (desktop-restore-in-current-display): Now offer more options.
7494 (desktop-restoring-reuses-frames): New customization option.
7495 (desktop--saved-states): Doc fix.
7496 (desktop-filter-parameters-alist): New variable, renamed and expanded
7497 from desktop--excluded-frame-parameters.
7498 (desktop--target-display): New variable.
7499 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7500 (desktop--filter-tty*, desktop--filter-*-color)
7501 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7502 (desktop--filter-save-desktop-parm)
7503 (desktop-restore-in-original-display-p): New functions.
7504 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7505 (desktop--save-minibuffer-frames): New function, inspired by a similar
7506 function from Martin Rudalics.
7507 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7508 (desktop--restore-in-this-display-p): Remove.
7509 (desktop--find-frame): Rename from desktop--find-frame-in-display
7510 and add predicate argument.
7511 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7512 (desktop--reuse-list): New variable.
7513 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7514 New functions.
7515 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7516
f6dd8b36
MA
75172013-07-14 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7520
2ce3c565
DG
75212013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7522
763a086d
JB
7523 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7524 Highlight conversion methods on Kernel.
2ce3c565 7525
2cdb7698
AM
75262013-07-13 Alan Mackenzie <acm@muc.de>
7527
7528 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7529 and comment it out. This out-commenting enables certain C++
7530 declarations to be parsed correctly.
7531
1a67b811
EZ
75322013-07-13 Eli Zaretskii <eliz@gnu.org>
7533
1b796d6b
EZ
7534 * international/mule.el (define-coding-system): Doc fix.
7535
1a67b811
EZ
7536 * simple.el (default-font-height): Don't call font-info if the
7537 frame's default font didn't change since the frame was created.
7538 (Bug#14838)
7539
58fbe886
LL
75402013-07-13 Leo Liu <sdl.web@gmail.com>
7541
7542 * ido.el (ido-read-file-name): Guard against non-symbol value.
7543
1f0480d4
FEG
75442013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7545
7546 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7547 in nested defuns.
7548
97ead0e5
LL
75492013-07-13 Leo Liu <sdl.web@gmail.com>
7550
7551 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7552 ido-set-matches call. (Bug#6852)
7553
0880a952
DG
75542013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7555
7556 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7557 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7558 Ruby 2.0.
7559 (ruby-font-lock-keywords): Distinguish calls to functions with
7560 module-like names from module references. Highlight character
7561 literals.
7562
a7d8babb
SDJ
75632013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7564
7565 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7566 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7567
acfcc8c5
JB
75682013-07-12 Juanma Barranquero <lekktu@gmail.com>
7569
7570 * desktop.el (desktop--v2s): Remove unused local variable.
7571 (desktop-save-buffer): Make defvar-local; adjust docstring.
7572 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7573 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7574
051f2775
AS
75752013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7576
7577 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7578
f24e7572
GM
75792013-07-12 Eli Zaretskii <eliz@gnu.org>
7580
7581 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7582 (Bug#14842)
7583
539a920c
GM
75842013-07-12 Glenn Morris <rgm@gnu.org>
7585
7586 * doc-view.el: Require cl-lib at runtime too.
7587 (doc-view-remove-if): Remove.
7588 (doc-view-search-next-match, doc-view-search-previous-match):
7589 Use cl-remove-if.
7590
7591 * edmacro.el: Require cl-lib at runtime too.
7592 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7593 (edmacro-mismatch, edmacro-subseq): Remove.
7594
7595 * shadowfile.el: Require cl-lib.
7596 (shadow-remove-if): Remove.
7597 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7598 Use cl-remove-if.
7599
7600 * wid-edit.el: Require cl-lib.
7601 (widget-choose): Use cl-remove-if.
7602 (widget-remove-if): Remove.
7603
7604 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7605 (ebrowse-delete-if-not): Remove.
7606 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7607 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7608 Use cl-delete-if-not.
7609
1048af7c
JB
76102013-07-12 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7613 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7614
6c0674ee
LL
76152013-07-12 Leo Liu <sdl.web@gmail.com>
7616
7617 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7618
a19b3c2d
GM
76192013-07-11 Glenn Morris <rgm@gnu.org>
7620
4582a01c
GM
7621 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7622 (edebug-gensym-index, edebug-gensym):
7623 Remove reimplementation of cl-gensym.
7624 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7625
7626 * thumbs.el: Require cl-lib at run-time too.
7627 (thumbs-gensym-counter, thumbs-gensym):
7628 Remove reimplementation of cl-gensym.
7629 (thumbs-temp-file): Use cl-gensym.
7630
a19b3c2d
GM
7631 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7632 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7633 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7634 (ert--union, ert--gensym-counter, ert--gensym-counter)
7635 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7636 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7637 (ert-make-test-unbound, ert--expand-should-1)
7638 (ert--expand-should, ert--should-error-handle-error)
7639 (should-error, ert--explain-equal-rec)
7640 (ert--plist-difference-explanation, ert-select-tests)
7641 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7642 Use cl-lib functions rather than reimplementations.
7643
88f6a933
MA
76442013-07-11 Michael Albinus <michael.albinus@gmx.de>
7645
7646 * net/tramp.el (tramp-methods): Extend docstring.
7647 (tramp-connection-timeout): New defcustom.
7648 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7649 (with-tramp-progress-reporter): Simplify.
7650 (tramp-process-actions): Improve messages.
7651
7652 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7653 * net/tramp-sh.el (tramp-maybe-open-connection):
7654 Use `tramp-connection-timeout'.
7655 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7656 (Bug#14808)
7657
a43d577e
LL
76582013-07-11 Leo Liu <sdl.web@gmail.com>
7659
7660 * ido.el (ido-read-file-name): Conform to the requirements of
7661 read-file-name. (Bug#11861)
7662 (ido-read-directory-name): Conform to the requirements of
7663 read-directory-name.
7664
d77974bf
JB
76652013-07-11 Juanma Barranquero <lekktu@gmail.com>
7666
7667 * subr.el (delay-warning): New function.
7668
35cb8a3e
EZ
76692013-07-10 Eli Zaretskii <eliz@gnu.org>
7670
7671 * simple.el (default-line-height): New function.
7672 (line-move-partial, line-move): Use it instead of computing the
7673 line height inline.
7674 (line-move-partial): Always compute ROWH. If the last line is
7675 partially-visible, but its text is completely visible, allow
7676 cursor to enter such a partially-visible line.
7677
525c5c77
MA
76782013-07-10 Michael Albinus <michael.albinus@gmx.de>
7679
7680 Improve error messages. (Bug#14808)
7681
7682 * net/tramp.el (tramp-current-connection): New defvar, moved from
7683 tramp-sh.el.
0ac26976 7684 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7685 needed anymore.
0ac26976
SM
7686 (tramp-error-with-buffer): Show message in minibuffer.
7687 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7688 (with-tramp-progress-reporter): Improve messages.
7689 (tramp-process-actions): Use progress reporter. Delete process in
7690 case of error. Improve messages.
7691
763a086d
JB
7692 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7693 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7694 (tramp-current-connection): Remove.
525c5c77
MA
7695 (tramp-maybe-open-connection): The car of
7696 `tramp-current-connection' are the first 3 slots of the vector.
7697
c7a4d368
TZ
76982013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7699
7700 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7701 inside continued strings.
7702
954b166e
PE
77032013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7704
7705 Timestamp fixes for undo (Bug#14824).
7706 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7707
56973319
LL
77082013-07-10 Leo Liu <sdl.web@gmail.com>
7709
7710 * files.el (require-final-newline): Allow safe local value.
7711 (Bug#14834)
7712
5550a72c
LL
77132013-07-09 Leo Liu <sdl.web@gmail.com>
7714
7715 * ido.el (ido-read-directory-name): Handle fallback.
7716 (ido-read-file-name): Update DIR to ido-current-directory.
7717 (Bug#1516)
c28b9050 7718 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7719
70c46b28
DG
77202013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7721
7722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7723 "autoload". Remove "warn lower camel case" section, previously
7724 commented out. Highlight negation char. Do not highlight the
7725 target in singleton method definitions.
7726
0b64b838
SM
77272013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7fd72e2c
SM
7729 * faces.el (tty-setup-hook): Declare the hook.
7730
0b64b838
SM
7731 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7732 and detect when a guard/pred depends on local vars (bug#14773).
7733 (pcase--u1): Adjust caller.
7734
ab49d60b
EZ
77352013-07-08 Eli Zaretskii <eliz@gnu.org>
7736
7737 * simple.el (line-move-partial, line-move): Account for
7738 line-spacing.
701d79aa
EZ
7739 (line-move-partial): Avoid setting vscroll when the last
7740 partially-visible line in window is of default height.
ab49d60b 7741
2d756ae0
LMI
77422013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7743
7744 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7745 been used a while.
7746
ed095bd7
JB
77472013-07-07 Juanma Barranquero <lekktu@gmail.com>
7748
7749 * subr.el (read-quoted-char): Remove unused local variable `char'.
7750
f1e6674b
MK
77512013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7752
584ee3fc
GM
7753 * ediff.el (ediff-version): Version update.
7754 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7755 (ediff-merge-with-ancestor-command, ediff-directories-command)
7756 (ediff-directories3-command, ediff-merge-directories-command)
7757 (ediff-merge-directories-with-ancestor-command): New functions.
7758 All are command-line interfaces to ediff: to facilitate calling
7759 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7760
7761 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7762 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7763
584ee3fc
GM
7764 * viper.el (viper-version): Version update.
7765 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7766
584ee3fc
GM
77672013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7770 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7771 (viper-intercept-ESC-key): Simplify.
7772 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7773 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7774 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7775 (viper-setup-ESC-to-escape): New functions.
7776 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7777 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7778
9aff9b38
EZ
77792013-07-07 Eli Zaretskii <eliz@gnu.org>
7780
5165d44a
JB
7781 * simple.el (default-font-height, window-screen-lines):
7782 New functions.
9aff9b38
EZ
7783 (line-move, line-move-partial): Use them instead of
7784 frame-char-height and window-text-height. This makes scrolling
7785 text smoother when the buffer's default face uses a font that is
7786 different from the frame's default font.
7787
1afb1d07
JD
77882013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7789
7790 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7791 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7792
23de972a
EZ
77932013-07-06 Eli Zaretskii <eliz@gnu.org>
7794
7795 * simple.el (line-move-partial): Adjust the row returned by
7796 posn-at-point for the current window-vscroll. (Bug#14567)
7797
54a42486
MA
77982013-07-06 Michael Albinus <michael.albinus@gmx.de>
7799
7800 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7801 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7802 spaces.
7803
34ada5f4
MR
78042013-07-06 Martin Rudalics <rudalics@gmx.at>
7805
7806 * window.el (window-state-put-stale-windows): New variable.
7807 (window--state-put-2): Save list of windows without matching buffer.
7808 (window-state-put): Remove "bufferless" windows if possible.
7809
11e03d89
JB
78102013-07-06 Juanma Barranquero <lekktu@gmail.com>
7811
7812 * simple.el (alternatives-define): Remove leftover :group keyword.
7813 Tweak docstring.
7814
3504a4be
LL
78152013-07-06 Leo Liu <sdl.web@gmail.com>
7816
7817 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7818 (ido-enable-virtual-buffers): New variable.
7819 (ido-buffer-internal, ido-toggle-virtual-buffers)
7820 (ido-make-buffer-list): Use it.
7821 (ido-exhibit): Support turning on and off virtual buffers
7822 automatically.
7823
61e56e2c
JB
78242013-07-06 Juanma Barranquero <lekktu@gmail.com>
7825
7826 * simple.el (alternatives-define): New macro.
7827
321e1a9c
SM
78282013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * subr.el (read-quoted-char): Use read-key.
7831 (sit-for): Let read-event decode tty input (bug#14782).
7832
d610f6dd
SB
78332013-07-05 Stephen Berman <stephen.berman@gmx.net>
7834
7835 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7836 mode command and externally. Fix various related bugs.
7837 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7838 (todo-delete-file): New command.
7839 (todo-check-file): New function.
7840 (todo-show): Handle external deletion of the file we're trying to
7841 show (bug#14688). Replace called-interactively-p by an optional
7842 prefix argument to avoid problematic interaction with catch form
7843 when byte compiled (bug#14702).
7844 (todo-quit): Handle external deletion of the archive's todo file.
7845 Make sure the buffer that was visiting the archive file is still
7846 live before trying to bury it.
7847 (todo-category-completions): Handle external deletion of any
7848 category completion files.
7849 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7850 of todo files, in case of external deletion.
7851 (todo-add-file): Replace unnecessary setq by let-binding.
7852 (todo-find-archive): Check whether there are any archives.
7853 Replace unnecessary setq by let-binding.
7854 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7855 archive buffer whether or not the archive already exists.
7856 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7857 check if the archive is new; if it is, update list of archives.
7858 (todo-default-todo-file): Allow nil to be a valid value for when
7859 there are no todo files.
7860 (todo-reevaluate-default-file-defcustom): Use corrected definition
7861 of todo-default-todo-file.
7862 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7863 (todo-delete-category, todo-show-categories-table)
7864 (todo-category-number): Clarify comment.
7865 (todo-filter-items): Clarify documentation string.
7866 (todo-show-current-file, todo-display-as-todo-file)
7867 (todo-reset-and-enable-done-separator): Tweak documentation string.
7868 (todo-done-separator): Make separator length window-width, since
7869 bug#2749 is now fixed.
7870
ddbdfd6f
MA
78712013-07-05 Michael Albinus <michael.albinus@gmx.de>
7872
321e1a9c
SM
7873 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7874 Support both "gvfs-monitor-dir" and "inotifywait".
7875 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7876 `tramp-sh-file-notify-process-filter'.
7877 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7878 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7879
96eb829a
LL
78802013-07-05 Leo Liu <sdl.web@gmail.com>
7881
7882 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7883
cf13177e
YM
78842013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7885
7886 * frame.el (display-pixel-height, display-pixel-width)
7887 (display-mm-height, display-mm-width): Mention behavior on
7888 multi-monitor setups in docstrings.
7889 (w32-display-monitor-attributes-list): Declare function.
7890 (display-monitor-attributes-list): Use it.
7891
864c58ca
MA
78922013-07-04 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * filenotify.el: New package.
7895
7896 * autorevert.el (top): Require filenotify.el.
7897 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7898 instead.
7899 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7900 (auto-revert-notify-handler): Use `file-notify-*' functions.
7901
7902 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7903
321e1a9c
SM
7904 * net/tramp.el (tramp-file-name-for-operation):
7905 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7906
7907 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7908 for `file-notify-add-watch' and `file-notify-rm-watch'.
7909 (tramp-process-sentinel): Improve trace.
7910 (tramp-sh-handle-file-notify-add-watch)
7911 (tramp-sh-file-notify-process-filter)
7912 (tramp-sh-handle-file-notify-rm-watch)
7913 (tramp-get-remote-inotifywait): New defuns.
7914
96673afe
JL
79152013-07-03 Juri Linkov <juri@jurta.org>
7916
7917 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7918 call of `occur-read-primary-args' to interactive spec.
7919
7920 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7921 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7922
924494f4
MM
79232013-07-03 Matthias Meulien <orontee@gmail.com>
7924
7925 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7926 `Buffer-menu-multi-occur'. Add it to the menu.
7927 (Buffer-menu-mode): Document it in docstring.
7928 (Buffer-menu-multi-occur): New command. (Bug#14673)
7929
56f75efc
DG
79302013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7931
7932 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7933 keywords and built-ins.
7934
9b057d61
GM
79352013-07-03 Glenn Morris <rgm@gnu.org>
7936
208dee4d
GM
7937 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7938
9b057d61
GM
7939 Make info-xref checks case-sensitive by default
7940 * info.el (Info-find-node, Info-find-in-tag-table)
7941 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7942 Add option for exact case matching of nodes.
7943 * info-xref.el (info-xref): New custom group.
7944 (info-xref-case-fold): New option.
7945 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7946
e01aa29c
LL
79472013-07-03 Leo Liu <sdl.web@gmail.com>
7948
7949 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7950
3086ca2e
DG
79512013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7952
7953 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7954 middle of block statement initially, lower the depth. Remove
7955 FIXME comment, not longer valid. Remove middle of block statement
7956 detection, no need to do that anymore since we've been using
7957 `ruby-parse-region' here.
7958
a3b49114
JD
79592013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7960
7961 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7962
08e5c823 79632013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7964
7965 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7966
2addf922
JB
79672013-07-01 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7970 (desktop-restore-in-current-display): New customization option.
7971 (desktop--excluded-frame-parameters): Add `font'.
7972 (desktop--save-frames): Rename from desktop--save-windows.
7973 (desktop--restore-in-this-display-p): New function.
7974 (desktop--make-full-frame): Remove unwanted width/height from
7975 full(width|height) frames.
7976 (desktop--restore-frames): Rename from desktop--restore-windows.
7977 Obey desktop-restore-current-display. Do not delete old frames or
7978 select a new frame unless we were able to restore at least one frame.
7979
ef099a94
MN
79802013-06-30 Michal Nazarewicz <mina86@mina86.com>
7981
7982 * files.el (find-file-noselect): Simplify conditional expression.
7983
a12bf61e 7984 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7985 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7986
7987 Add `remember-notes' function to store random notes across Emacs
7988 restarts.
3fcfc4ee
JB
7989 * textmodes/remember.el (remember-data-file): Add :set callback to
7990 affect notes buffer (if any).
ef099a94
MN
7991 (remember-notes): New command.
7992 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7993 New defcustoms for the `remember-notes' function.
7994 (remember-notes-save-and-bury-buffer): New command.
7995 (remember-notes-mode-map): New variable.
7996 (remember-mode): New minor mode.
7997 (remember-notes--kill-buffer-query): New function.
7998 * startup.el (initial-buffer-choice): Add notes to custom type.
7999
0865d506
EZ
80002013-06-30 Eli Zaretskii <eliz@gnu.org>
8001
0ba54312
EZ
8002 * bindings.el (right-char, left-char): Don't call sit-for, this is
8003 no longer needed. Use arithmetic comparison only for numerical
8004 arguments.
8005
ef099a94
MN
8006 * international/mule-cmds.el (select-safe-coding-system):
8007 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8008
2fae38e5
LMI
80092013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8010
8011 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8012 progression on degenerate tables.
ef099a94 8013 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8014
a47cbd64
JB
80152013-06-30 Juanma Barranquero <lekktu@gmail.com>
8016
8017 Some fixes and improvements for desktop frame restoration.
8018 It is still experimental and disabled by default.
8019 * desktop.el (desktop--save-windows): Put the selected frame at
8020 the head of the list.
8021 (desktop--make-full-frame): New function.
8022 (desktop--restore-windows): Try to re-select the frame that was
8023 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8024 just show an error message and continue. Set up maximized frames
8025 so they have default non-maximized dimensions.
a47cbd64 8026
6dbafa30
DG
80272013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8028
ef099a94
MN
8029 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8030 Don't start heredoc inside a string or comment.
6dbafa30 8031
4c672a0f
EZ
80322013-06-29 Eli Zaretskii <eliz@gnu.org>
8033
8034 * bindings.el (visual-order-cursor-movement): New defcustom.
8035 (right-char, left-char): Provide visual-order cursor motion by
8036 calling move-point-visually. Update the doc strings.
8037
50960f36
KH
80382013-06-28 Kenichi Handa <handa@gnu.org>
8039
8040 * international/mule.el (define-coding-system): New coding system
8041 properties :inhibit-null-byte-detection,
8042 :inhibit-iso-escape-detection, and :prefer-utf-8.
8043 (set-buffer-file-coding-system): If :charset-list property of
8044 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8045 appropriate for setting.
8046
c1ea3abf
JB
8047 * international/mule-cmds.el (select-safe-coding-system):
8048 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8049 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8050
8051 * international/mule-conf.el (prefer-utf-8): New coding system.
8052 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8053 files.
8054
75dbaf9d
IK
80552013-06-28 Ivan Kanis <ivan@kanis.fr>
8056
eadb6068
IK
8057 * net/shr.el (shr-render-region): New function.
8058
75dbaf9d
IK
8059 * net/eww.el: Autoload `eww-browse-url'.
8060
9ea5cf9f
DG
80612013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8062
c1ea3abf
JB
8063 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8064 Adapt to `package-desc-version' being a list.
8065 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8066 archive element.
8067
39c0e36f
JB
80682013-06-27 Juanma Barranquero <lekktu@gmail.com>
8069
8070 New experimental feature to save&restore window and frame setup.
8071 * desktop.el (desktop-save-windows): New defcustom.
8072 (desktop--saved-states): New var.
8073 (desktop--excluded-frame-parameters): New defconst.
8074 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8075 (desktop--restore-windows, desktop--save-windows): New functions.
8076 (desktop-save): Call `desktop--save-windows'.
8077 (desktop-read): Call `desktop--restore-windows'.
8078
7f13406b
LMI
80792013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8080
ef099a94 8081 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8082
1e072639
SB
80832013-06-27 Stephen Berman <stephen.berman@gmx.net>
8084
8085 * info.el (Info-try-follow-nearest-node): Move search for footnote
8086 above search for node name to prevent missing a footnote (bug#14717).
8087
f3e2cbde
SB
80882013-06-27 Stephen Berman <stephen.berman@gmx.net>
8089
8090 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8091
99906aa0
LL
80922013-06-27 Leo Liu <sdl.web@gmail.com>
8093
8094 * net/eww.el (eww-read-bookmarks): Check file size.
8095
539f75f4
SM
80962013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8099 advice--pending if newdef is nil or an autoload (bug#13820).
8100 (advice-mapc): New function.
8101
843571cb
LMI
81022013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8103
8104 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8105 probably.
23a75d7f 8106 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8107 (eww-add-bookmark): New command.
8108 (eww-bookmark-mode): New mode and commands.
a285ce99 8109 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8110 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8111
f2136e1e
GM
81122013-06-26 Glenn Morris <rgm@gnu.org>
8113
eab35f39
GM
8114 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8115 (hfy-size): Handle ttys. (Bug#14668)
8116
f2136e1e
GM
8117 * info-xref.el: Update for Texinfo 5 change in *note format.
8118 (info-xref-node-re, info-xref-note-re): New constants.
8119 (info-xref-check-buffer): Use info-xref-note-re.
8120
a49ff80c
SM
81212013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8122
a343d218
SM
8123 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8124
a49ff80c
SM
8125 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8126 nil terminate the loop (bug#14718).
8127
8308f184
LMI
81282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8129
8130 * net/eww.el: Rework history traversal. When going forward/back,
8131 put these actions into the history, too, so that they can be
8132 replayed.
26bf2b82 8133 (eww-render): Move the history reset to the correct buffer.
8308f184 8134
ec64c273
JL
81352013-06-25 Juri Linkov <juri@jurta.org>
8136
8137 * files-x.el (modify-dir-local-variable): Change the header comment
8138 in the file with directory local variables. (Bug#14692)
8139
e080a9d7
JL
8140 * files-x.el (read-file-local-variable-value): Add `default'.
8141 (Bug#14710)
8142
bfbc93a1
IK
81432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8144
8145 * net/eww.el (eww-make-unique-file-name): Create a unique file
8146 name before saving to entering `y' accidentally asynchronously.
8147
81482013-06-25 Ivan Kanis <ivan@kanis.fr>
8149
8150 * net/eww.el (eww-download): New command and keystroke.
8151
16f74f10
LMI
81522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153
a49ff80c 8154 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8155
8156 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8157 be more consistent with Info and dired.
8158
8159 * net/eww.el (eww-mode-map): Ditto.
8160
12059709
SM
81612013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8164 packages from archives.
8165 (package-archive-contents): Change format; include obsolete packages.
8166 (package-desc): Use `dir' to mark builtin packages.
8167 (package--from-builtin): Set the `dir' field to `builtin'.
8168 (generated-autoload-file, version-control): Declare.
8169 (package-compute-transaction): Change first arg and return value to be
8170 lists of package-descs. Adjust to new package-archive-contents format.
8171 (package--add-to-archive-contents): Adjust to new
8172 package-archive-contents format.
8173 (package-download-transaction): Arg is now a list of package-descs.
8174 (package-install): If `pkg' is a package name, pass it as
8175 a requirement, so it is subject to the usual (e.g. disabled) checks.
8176 (describe-package): Accept package-desc as well.
8177 (describe-package-1): Describe a specific package-desc. Add links to
8178 other package-descs for the same package name.
8179 (package-menu-describe-package): Pass the actual package-desc.
8180 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8181 works correctly.
8182 (package-desc-status): New function.
8183 (package-menu--refresh): New function, extracted
8184 from package-menu--generate.
8185 (package-menu--generate): Use it.
8186 (package-delete): Update package-alist.
8187 (package-menu-execute): Don't call package-initialize.
8188
8189 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8190 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8191 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8192 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8193 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8194 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8195
8bbdea0f
MR
81962013-06-25 Martin Rudalics <rudalics@gmx.at>
8197
8198 * window.el (window--state-get-1): Workaround for bug#14527.
8199 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8200
e82b0991
LMI
82012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
8203 * net/eww.el (eww-back-url): Implement the history by stashing all
8204 the data into a list.
d3f0f918 8205 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8206
c763842b
SM
82072013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8210 for values and use read--expression for expressions (bug#14710).
8211 (read-file-local-variable): Avoid setq.
8212 (read-file-local-variable-mode): Use minor-mode-list.
8213
bceff189
RW
82142013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8215
864c58ca 8216 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8217 for DOI URLs.
8218
45f431c6
RW
82192013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8220
864c58ca 8221 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8222 Update imenu-support when dialect changes.
8223
f42d8237
LL
82242013-06-25 Leo Liu <sdl.web@gmail.com>
8225
8226 * ido.el (ido-read-internal): Allow forward slash on windows.
8227
be549ce6
LMI
82282013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8229
8230 * net/eww.el (eww): Start of strings is \\`, not ^.
8231
71d4c19d
IK
82322013-06-24 Ivan Kanis <ivan@kanis.fr>
8233
5196f88a
IK
8234 * net/shr.el (shr-browse-url): Fix interactive spec.
8235
71d4c19d
IK
8236 * net/eww.el (eww): Add a trailing slash to domain names.
8237
ae36ca55
JB
82382013-06-24 Juanma Barranquero <lekktu@gmail.com>
8239
8240 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8241
0ebd92a3
LMI
82422013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8243
bdaa086b
LMI
8244 * net/shr.el (shr-browse-url): Use an external browser if given a
8245 prefix.
8246
c763842b 8247 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8248
b89fc156
IK
82492013-06-24 Ivan Kanis <ivan@kanis.fr>
8250
8251 * net/eww.el (eww): Work more correctly for file: URLs.
8252 (eww-detect-charset): Allow quoted charsets.
8253 (eww-yank-page-url): New command and keystroke.
8254
18eb4bca
DU
82552013-06-24 Daiki Ueno <ueno@gnu.org>
8256
8257 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8258 file name of gpg executable.
8259 (epg-context-program): New function.
8260 (epg-context-home-directory): New function.
8261 (epg-context-set-program): New function.
8262 (epg-context-set-home-directory): New function.
8263 (epg--start): Use `epg-context-program' instead of
8264 'epg-gpg-program'.
8265 (epg--list-keys-1): Likewise.
8266
6c6268c8
LL
82672013-06-24 Leo Liu <sdl.web@gmail.com>
8268
8269 * ido.el (ido-read-internal): Fix bug#14620.
8270
5e400cb3
JB
82712013-06-23 Juanma Barranquero <lekktu@gmail.com>
8272
8273 * faces.el (face-documentation): Simplify.
8274 (read-face-attribute, tty-find-type, x-resolve-font-name):
8275 Use `string-match-p'.
8276 (list-faces-display): Use `string-match-p'. Simplify.
8277 (face-spec-recalc): Check face to avoid face alias loops.
8278 (read-color): Use `string-match-p' and non-capturing parenthesis.
8279
f3f9606c
LMI
82802013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8281
8282 * net/shr.el (shr-rescale-image): Use the new
8283 :max-width/:max-height functionality.
8284
a3ca09b9
IK
82852013-06-23 Ivan Kanis <ivan@kanis.fr>
8286
8287 * net/eww.el (eww-search-prefix): New variable.
8288 (eww): Use it.
f865b474
IK
8289 (eww-external-browser): New variable.
8290 (eww-mode-map): New keystroke.
8291 (eww-browse-with-external-browser): New command.
a3ca09b9 8292
e854cfc7
IK
8293 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8294
18bb9e21
JB
82952013-06-23 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8298 Don't skip aligning the next header field when padding is 0;
8299 otherwise, field width is not respected unless the title is as
8300 wide as the field.
8301
5b165ade
SM
83022013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * emacs-lisp/package.el (package-el-version): Remove.
8305 (package-process-define-package): Fix inf-loop.
8306 (package-install): Allow symbols as arguments again.
8307
12adebe9
DG
83082013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8309
8310 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8311 add some more keyword-like methods.
8312 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8313
388573ee
JB
83142013-06-22 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * bs.el (bs-buffer-show-mark): Make defvar-local.
8317 (bs-mode): Use setq-local.
8318
8319 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8320 (emacs-lock--try-unlocking): Make defvar-local.
8321
4582a01c 83222013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8323
2663dd23
GM
8324 * play/cookie1.el (cookie-apropos): Minor simplification.
8325
3d94f3ad
GM
8326 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8327
f72e2fdb
DG
83282013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8329
8330 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8331 `regexp-opt', it breaks the build during dumping.
8332
73eab938
DG
83332013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8334
c763842b
SM
8335 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8336 Highlight keyword-like methods on Kernel and Module with
73eab938 8337 font-lock-builtin-face.
5cf8176d
DG
8338 (auto-mode-alist): Consolidate different entries into one regexp
8339 and add more *file-s.
73eab938 8340
d26255f6
SB
83412013-06-21 Stephen Berman <stephen.berman@gmx.net>
8342
8343 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8344
8345 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8346 (diary-entry): Use it in the action of this button type instead of
8347 diary-goto-entry.
8348
8349 * calendar/todo-mode.el: New version.
8350 (todo-add-category): Append new category to end of file and give
8351 it the highest number, instead of putting it at the beginning and
8352 giving it 0. Incorporate noninteractive functionality.
8353 (todo-forward-category): Adapt to 1-based category numbering.
8354 Allow skipping over archived categories.
8355 (todo-backward-category): Derive from todo-forward-category.
8356 (todo-backward-item, todo-forward-item): Make noninteractive and
8357 delegate interactive part to new commands. Make sensitive to done items.
8358 (todo-categories): Make value an alist of category names and
8359 vectors of item counts.
8360 (todo-category-beg): Make a defconst.
8361 (todo-category-number): Use 1 instead of 0 as initial value.
8362 (todo-category-select): Make sensitive to overlays, optional item
8363 highlighting and done items.
8364 (todo-delete-item): Make sensitive to overlays and marked and done items.
8365 (todo-edit-item): Make sensitive to overlays and editing of
8366 date/time header optional. Add format checks.
8367 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8368 no-op if point is not on an item. Advertise using todo-edit-quit.
8369 (todo-edit-mode): Make sensitive to new format, font-locking, and
8370 multiple todo files.
8371 (todo-insert-item, todo-insert-item-here): Derive from
8372 todo-basic-insert-item and extend functionality.
8373 (todo-item-end, todo-item-start): Make sensitive to done items.
8374 (todo-item-string): Don't return text properties. Restore point.
8375 (todo-jump-to-category): Make sensitive to multiple todo files and
8376 todo archives. Use extended category completion.
8377 (todo-lower-item, todo-raise-item): Rename to *-priority and
8378 derive from todo-set-item-priority.
8379 (todo-mode): Derive from special-mode. Make sensitive to new
8380 format, font-locking and multiple todo files. Make read-only.
8381 (todo-mode-map): Don't suppress digit keys, so they can supply
8382 prefix arguments. Add many new key bindings.
8383 (todo-prefix): Insert as an overlay instead of file text.
8384 Change semantics from diary date expression to purely visual mark.
8385 (todo-print): Rename to todo-print-buffer. Make buffer display
8386 features printable. Remove option to restrict number of items
8387 printed. Add option to print to file.
8388 (todo-print-function): Rename to todo-print-buffer-function.
8389 (todo-quit): Extend to handle exiting new todo modes.
8390 (todo-remove-item): Make sensitive to overlays.
8391 (todo-save): Extend to buffers of filtered items.
8392 (todo-show): Make sensitive to done items, multiple todo files and
8393 new todo modes. Offer to convert legacy todo file before creating
8394 first new todo file.
8395 (todo-show-priorities): Rename to todo-top-priorities.
8396 Change semantics of value 0.
8397 (todo-top-priorities): Rename to todo-filter-top-priorities,
8398 derive from todo-filter-items and extend functionality.
8399 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8400 and extend functionality to other types of filtered items.
8401 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8402 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8403 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8404 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8405 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8406 (todo-edit-mode-hook, todo-entry-prefix-function)
8407 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8408 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8409 (todo-initials, todo-insert-threshold, todo-item-string-start)
8410 (todo-line-string, todo-menu, todo-mode-hook)
8411 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8412 (todo-print-priorities, todo-remove-separator)
8413 (todo-save-top-priorities-too, todo-string-count-lines)
8414 (todo-string-multiline-p, todo-time-string-format)
8415 (todo-tmp-buffer-name): Remove.
8416 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8417 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8418 (todo-edit-category-diary-inclusion)
8419 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8420 (todo-edit-file, todo-edit-item-date-day)
8421 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8422 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8423 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8424 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8425 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8426 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8427 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8428 (todo-filter-top-priorities-multifile, todo-find-archive)
8429 (todo-find-filtered-items-file, todo-go-to-source-item)
8430 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8431 (todo-jump-to-archive-category, todo-lower-category)
8432 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8433 (todo-move-category, todo-move-item, todo-next-button)
8434 (todo-next-item, todo-padded-string, todo-powerset)
8435 (todo-previous-button, todo-previous-item)
8436 (todo-print-buffer-to-file, todo-raise-category)
8437 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8438 (todo-set-category-number, todo-set-item-priority)
8439 (todo-set-top-priorities-in-category)
8440 (todo-set-top-priorities-in-file, todo-show-categories-table)
8441 (todo-sort-categories-alphabetically-or-numerically)
8442 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8443 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8444 (todo-toggle-item-header, todo-toggle-item-highlighting)
8445 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8446 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8447 (todo-unarchive-items, todo-unmark-category): New commands.
8448 (todo-absolute-file-name, todo-add-to-buffer-list)
8449 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8450 (todo-basic-insert-item, todo-category-completions)
8451 (todo-category-number, todo-category-string-matcher-1)
8452 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8453 (todo-check-format, todo-clear-matches)
8454 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8455 (todo-current-category, todo-date-string-matcher)
8456 (todo-define-insertion-command, todo-diary-expired-matcher)
8457 (todo-diary-goto-entry, todo-diary-item-p)
8458 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8459 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8460 (todo-done-item-section-p, todo-done-separator)
8461 (todo-done-string-matcher, todo-files, todo-filter-items)
8462 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8463 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8464 (todo-insert-category-line, todo-insert-item-from-calendar)
8465 (todo-insert-sort-button, todo-insert-with-overlays)
8466 (todo-insertion-command-name, todo-insertion-key-bindings)
8467 (todo-label-to-key, todo-longest-category-name-length)
8468 (todo-make-categories-list, todo-mode-external-set)
8469 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8470 (todo-modes-set-3, todo-multiple-filter-files)
8471 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8472 (todo-read-category, todo-read-date, todo-read-dayname)
8473 (todo-read-file-name, todo-read-time)
8474 (todo-reevaluate-category-completions-files-defcustom)
8475 (todo-reevaluate-default-file-defcustom)
8476 (todo-reevaluate-filelist-defcustoms)
8477 (todo-reevaluate-filter-files-defcustom)
8478 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8479 (todo-reset-done-separator, todo-reset-done-separator-string)
8480 (todo-reset-done-string, todo-reset-global-current-todo-file)
8481 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8482 (todo-reset-prefix, todo-set-categories)
8483 (todo-set-date-from-calendar, todo-set-show-current-file)
8484 (todo-set-top-priorities, todo-short-file-name)
8485 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8486 (todo-total-item-counts, todo-update-buffer-list)
8487 (todo-update-categories-display, todo-update-categories-sexp)
8488 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8489 New functions.
8490 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8491 New major modes.
8492 (todo-categories, todo-display, todo-edit, todo-faces)
8493 (todo-filtered): New defgroups.
8494 (todo-archived-only, todo-button, todo-category-string, todo-date)
8495 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8496 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8497 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8498 (todo-add-item-if-new-category, todo-always-add-time-string)
8499 (todo-categories-align, todo-categories-archived-label)
8500 (todo-categories-category-label, todo-categories-diary-label)
8501 (todo-categories-done-label, todo-categories-number-separator)
8502 (todo-categories-todo-label, todo-categories-totals-label)
8503 (todo-category-completions-files, todo-completion-ignore-case)
8504 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8505 (todo-done-separator-string, todo-done-string)
8506 (todo-files-function, todo-filter-done-items, todo-filter-files)
8507 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8508 (todo-initial-category, todo-initial-file, todo-item-mark)
8509 (todo-legacy-date-time-regexp, todo-mode-line-function)
8510 (todo-nondiary-marker, todo-number-prefix)
8511 (todo-print-buffer-function, todo-show-current-file)
8512 (todo-show-done-only, todo-show-first, todo-show-with-done)
8513 (todo-skip-archived-categories, todo-top-priorities-overrides)
8514 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8515 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8516 New defcustoms.
8517 (todo-category-done, todo-date-pattern, todo-date-string-start)
8518 (todo-diary-items-buffer, todo-done-string-start)
8519 (todo-filtered-items-buffer, todo-item-start)
8520 (todo-month-abbrev-array, todo-month-name-array)
8521 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8522 (todo-top-priorities-buffer): New defconsts.
8523 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8524 (todo-categories-with-marks, todo-category-string-face)
8525 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8526 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8527 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8528 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8529 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8530 (todo-font-lock-keywords, todo-global-current-todo-file)
8531 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8532 (todo-insertion-commands-args)
8533 (todo-insertion-commands-args-genlist)
8534 (todo-insertion-commands-names, todo-insertion-map)
8535 (todo-key-bindings-t, todo-key-bindings-t+a)
8536 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8537 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8538 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8539 (todo-visited): New variables.
8540
cad5d1cb
GM
85412013-06-21 Glenn Morris <rgm@gnu.org>
8542
8543 * play/cookie1.el (cookie-apropos): Add optional display argument.
8544 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8545 (psychoanalyze-pinhead): Use cookie-doctor.
8546
9e277302
JB
85472013-06-21 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * emacs-lisp/package.el (tar-get-file-descriptor)
8550 (tar--extract): Declare.
8551
c5b0993e
EW
85522013-06-21 Eduard Wiebe <usenet@pusto.de>
8553
8554 Extend flymake's warning predicate to be a function (bug#14217).
8555 * progmodes/flymake.el (flymake-warning-predicate): New.
8556 (flymake-parse-line): Use it.
8557 (flymake-warning-re): Make obsolete alias to
8558 `flymake-warning-predicate'.
8559
a7d2d465
SM
85602013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8561
8562 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8563 (package-obsolete-list): Remove.
8564 (package-activate): Remove min-version argument. Add `force' argument.
8565 Adjust to new package-alist format.
8566 (package-mark-obsolete): Remove.
8567 (package-unpack): Force reload of the package's autoloads.
8568 (package-installed-p): Check builtins if the installed package is not
8569 recent enough.
8570 (package-initialize): Don't reset package-obsolete-list.
8571 Don't specify which package version to activate.
8572 (package-process-define-package, describe-package-1)
8573 (package-menu--generate): Adjust to new package-alist format.
8574
cedf5c9d
JB
85752013-06-21 Juanma Barranquero <lekktu@gmail.com>
8576
8577 * allout-widgets.el (allout-widgets-mode-off)
8578 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8579 (allout-widgets-post-command-business)
8580 (allout-widgets-after-copy-or-kill-function)
8581 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8582 (allout-decorate-item-and-context)
8583 (allout-graphics-modification-handler): Fix typos in docstrings.
8584 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8585
8586 * cmuscheme.el (scheme-start-file): Doc fix.
8587 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8588 (scheme-input-filter): Use `string-match-p'.
8589
8590 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8591
8592 * dired-x.el: Use Dired consistently in docstrings.
8593
8594 * dired.el: Use Dired consistently in docstrings.
8595 (dired-readin, dired-mode): Use `setq-local'.
8596 (dired-switches-alist): Make defvar-local.
8597 (dired-buffers-for-dir): Use `zerop'.
8598 (dired-safe-switches-p, dired-switches-escape-p)
8599 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8600 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8601 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8602 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8603 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8604 (dired-toggle-marks, dired-mark-files-containing-regexp)
8605 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8606 (dired-flag-auto-save-files, dired-flag-backup-files):
8607 Use `looking-at-p'.
8608 (dired-mark-files-regexp, dired-build-subdir-alist):
8609 Use `string-match-p', `looking-at-p'.
8610
8611 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8612 (direct-print-region-helper): Use `string-match-p'.
8613
aed838b5
LL
86142013-06-21 Leo Liu <sdl.web@gmail.com>
8615
cedf5c9d
JB
8616 * comint.el (comint-redirect-results-list-from-process):
8617 Fix infinite loop.
aed838b5 8618
d80a808f
LMI
86192013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8620
8621 * net/eww.el (eww-update-header-line-format): Quote % characters.
8622
e7a526e3
GM
86232013-06-21 Glenn Morris <rgm@gnu.org>
8624
8625 * play/cookie1.el (cookie): New custom group.
8626 (cookie-file): New option.
8627 (cookie-check-file): New function.
8628 (cookie): Make it interactive. Make start and end messages optional.
8629 Interactively, display the result. Default to cookie-file.
8630 (cookie-insert): Default to cookie-file.
8631 (cookie-snarf): Make start and end messages optional.
8632 Default to cookie-file. Use with-temp-buffer.
8633 (cookie-read): Rename from read-cookie.
8634 Make start and end messages optional. Default to cookie-file.
8635 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8636 Do not autoload it.
e7a526e3
GM
8637 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8638 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8639
62efb35e
LL
86402013-06-21 Leo Liu <sdl.web@gmail.com>
8641
8642 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8643
21e3f963
GM
86442013-06-21 Glenn Morris <rgm@gnu.org>
8645
8646 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8647
fd846ab4
SM
86482013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8649 Daniel Hackney <dan@haxney.org>
8650
8651 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8652 Consolidate the single-file vs tarball code.
8653 (package-desc-suffix): New function.
8654 (package-desc-full-name): Don't bother inlining it.
8655 (package-load-descriptor): Return the new package-desc.
8656 (package-mark-obsolete): Remove unused arg `package'.
8657 (package-unpack): Make it work for single files as well.
8658 Make it update package-alist.
8659 (package--make-autoloads-and-stuff): Rename from
8660 package--make-autoloads-and-compile. Don't compile any more.
8661 (package--compile): New function.
8662 (package-generate-description-file): New function, extracted from
8663 package-unpack-single.
8664 (package-unpack-single): Remove.
8665 (package--with-work-buffer): Add indentation and debugging info.
8666 (package-download-single): Remove.
8667 (package-install-from-archive): Rename from package-download-tar, make
8668 it take a pkg-desc, and make it work for single files as well.
8669 (package-download-transaction): Simplify.
8670 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8671 external tar program.
8672 (package-install-from-buffer): Remove `pkg-desc' argument.
8673 Use package-tar-file-info for tar-mode buffers.
8674 (package-install-file): Simplify accordingly.
8675 (package-archive-base): Change to take a pkg-desc.
8676 * tar-mode.el (tar--check-descriptor): New function, extracted from
8677 tar-get-descriptor.
8678 (tar-get-descriptor): Use it.
8679 (tar-get-file-descriptor): New function.
8680 (tar--extract): New function, extracted from tar-extract.
8681 (tar--extract): Use it.
8682 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8683 case the summary uses non-ascii. Adjust to new calling convention of
8684 package-tar-file-info.
8685
b7deae5e
LL
86862013-06-21 Leo Liu <sdl.web@gmail.com>
8687
fd846ab4
SM
8688 * comint.el (comint-redirect-results-list-from-process):
8689 Fix random delay. (Bug#14681)
b7deae5e 8690
7a65a0b2
JB
86912013-06-21 Juanma Barranquero <lekktu@gmail.com>
8692
8693 * profiler.el (profiler-format-number): Use log, not log10.
8694
1493c2af
JB
86952013-06-20 Juanma Barranquero <lekktu@gmail.com>
8696
8697 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8698
aff6371e
SM
86992013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8702 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8703 yet available.
8704 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8705 (AUTOGENEL): ... here.
8706 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8707 (cl--defsubst-expand): Use it.
8708
89561f72
PE
87092013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8710
8711 * subr.el (log10): Move here from C code, and declare as obsolete.
8712 All uses of (log10 X) replaced with (log X 10).
8713
47199123
JB
87142013-06-20 Juanma Barranquero <lekktu@gmail.com>
8715
8716 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8717 Declare with `defvar-local'.
8718 (tabulated-list-use-header-line, tabulated-list-entries)
8719 (tabulated-list-padding, tabulated-list-printer)
8720 (tabulated-list-sort-key): Declare with `defvar-local'.
8721 (tabulated-list-init-header, tabulated-list-print-fake-header):
8722 Use `setq-local'.
8723
4a172eab
MA
87242013-06-20 Michael Albinus <michael.albinus@gmx.de>
8725
47199123
JB
8726 * arc-mode.el (archive-mode): Add `archive-write-file' to
8727 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8728
5fc0acc0
JB
87292013-06-20 Juanma Barranquero <lekktu@gmail.com>
8730
d5b27848
JB
8731 * cus-edit.el (custom-commands): Fix typos.
8732 (custom-display): Fix tooltip text.
8733 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8734 Fix typos in docstrings.
8735 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8736 (custom-unlispify-menu-entry, custom-magic-value-create)
8737 (custom-add-see-also, custom-group-value-create): Use ?\s.
8738 (custom-guess-type, customize-apropos, editable-field)
8739 (custom-face-value-create): Use `string-match-p'.
8740 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8741
8742 * custom.el (custom-load-symbol): Use `string-match-p'.
8743
a5c581d8
JB
8744 * ansi-color.el: Convert to lexical binding.
8745 (ansi-colors): Fix URL.
8746 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8747 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8748 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8749
970ad972
G
87502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8751
8752 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8753
8754 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8755
87562013-06-19 Tom Tromey <tromey@redhat.com>
8757
8758 * net/eww.el (eww-top-url): Remove.
8759 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8760 (eww-render): Set new variables. Don't set eww-top-url.
8761 (eww-handle-link): Handle "prev", "home", and "contents".
8762 Downcase the rel text.
8763 (eww-top-url): Choose best top URL.
8764
87652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8766
8767 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8768 relying in widget.el. Using widget.el leads to too many
8769 user interface inconsistencies.
8770 (eww-self-insert): Implement entering commands in text fields.
8771 (eww-process-text-input): New function to make text input field editing
8772 work.
8773 (eww-submit): Rewrite to use the new-style form methods.
8774 (eww-select-display): Display the correct selected item.
8775 (eww-change-select): Implement changing the select value.
8776 (eww-toggle-checkbox): Implement radio/checkboxes.
8777 (eww-update-field): Fix compilation error.
8778 (eww-tag-textarea): Implement <textarea>.
8779
8780 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8781 we don't shadow mode-specific bindings.
8782
8783 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8784 nothing to push.
8785
8786 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8787
4582a01c 87882013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8789
8790 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8791
15b263dc
MA
87922013-06-19 Michael Albinus <michael.albinus@gmx.de>
8793
8794 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8795 not needed.
8796
8797 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8798
8f5297f7
LMI
87992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8800
8801 * net/browse-url.el (browse-url-browser-function):
8802 `eww-browse-url' has the right calling signature, `eww' does not.
8803
011c4552
GM
88042013-06-19 Glenn Morris <rgm@gnu.org>
8805
2285bd27
GM
8806 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8807 Only eval autoloaded macros.
8808 (byte-compile-autoload): Only give the macro warning for macros.
8809
1d653303
GM
8810 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8811 (ps-underlined-faces): Declare.
8812
bdd779ec
GM
8813 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8814 (speedbar-add-supported-extension): Declare.
8815
011c4552
GM
8816 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8817 Don't include a date stamp in the header of the generated file;
8818 it leads to needless differences between output files.
8819
e59dfb0e
MA
88202013-06-19 Michael Albinus <michael.albinus@gmx.de>
8821
c763842b
SM
8822 * net/secrets.el (secrets-struct-secret-content-type):
8823 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8824 Some servers do not offer introspection.
e59dfb0e 8825
102626e2
SM
88262013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * electric.el (electric-pair-mode): Improve interaction with
8829 electric-layout-mode.
8830 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8831 (electric-pair-syntax): Use text-mode-syntax-table in comments
8832 and strings.
8833 (electric-pair--insert): New function.
8834 (electric-pair-post-self-insert-function): Use it and
8835 electric--after-char-pos.
8836
ad528125
LL
88372013-06-19 Leo Liu <sdl.web@gmail.com>
8838
8839 * progmodes/octave.el (octave-help): Fix regexp.
8840
924d6997
G
88412013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8842
8843 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8844 (shr-table-horizontal-line): Allow nil as a value, and change the
8845 default.
8846 (shr-insert-table-ruler): Respect the nil value.
8847
88482013-06-18 Tom Tromey <tromey@barimba>
8849
8850 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8851 New defvars.
8852 (eww-open-file): New defun.
8853 (eww-render): Initialize new variables.
8854 (eww-display-html): Handle "link" and "a".
8855 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8856 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8857 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8858 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8859 New defuns.
924d6997 8860
d1bbba4f
DG
88612013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8862
8863 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8864 Distinguish ternary operator tokens from slash symbol and slash
8865 char literal.
8866
14dd22d2
JB
88672013-06-18 Juanma Barranquero <lekktu@gmail.com>
8868
8869 Convert symbol prettification into minor mode and global minor mode.
8870
8871 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8872 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8873 (prettify-symbols--keywords): Rename from
8874 `prog-prettify-symbols-alist' and make a local defvar.
8875 (prettify-symbols--compose-symbol): Rename from
8876 `prog--prettify-font-lock-compose-symbol'.
8877 (prettify-symbols--make-keywords): Rename from
8878 `prog-prettify-font-lock-symbols-keywords' and simplify.
8879 (prog-prettify-install): Remove.
8880 (prettify-symbols-mode): New minor mode, based on
8881 `prog-prettify-install'.
8882 (turn-on-prettify-symbols-mode): New function.
8883 (global-prettify-symbols-mode): New globalized minor mode.
8884
8885 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8886 * progmodes/cfengine.el (cfengine3-mode):
8887 * progmodes/perl-mode.el (perl-mode): Don't call
8888 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8889
292c880c
JL
88902013-06-18 Juri Linkov <juri@jurta.org>
8891
8892 * files-x.el (modify-file-local-variable-message): New function.
8893 (modify-file-local-variable)
8894 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8895 and call `modify-file-local-variable-message' when it's non-nil.
8896 (add-file-local-variable, delete-file-local-variable)
8897 (add-file-local-variable-prop-line)
8898 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8899 and use it. (Bug#9820)
8900
0950aa27
JL
89012013-06-18 Juri Linkov <juri@jurta.org>
8902
8903 * emulation/vi.el (vi-shell-op):
8904 * emulation/vip.el (vip-execute-com, ex-command):
8905 * emulation/viper-cmd.el (viper-exec-bang):
8906 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8907 the call of `shell-command-on-region'. (Bug#14637)
8908
8909 * simple.el (shell-command-on-region): Doc fix.
8910
8fbcca16
SM
89112013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8914 (bug#14633).
8915
dd7426ea
GM
89162013-06-18 Glenn Morris <rgm@gnu.org>
8917
4ba54f7d
GM
8918 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8919
dd7426ea
GM
8920 * newcomment.el (comment-search-forward, comment-search-backward):
8921 Doc fix. (Bug#14376)
8922
58aa805b
JB
89232013-06-18 Juanma Barranquero <lekktu@gmail.com>
8924
8925 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8926 (buffer-face-mode-invoke): Doc fix.
8927
9a08a617
MM
89282013-06-18 Matthias Meulien <orontee@gmail.com>
8929
8930 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8931 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8932
f2f426ca
GM
89332013-06-18 Glenn Morris <rgm@gnu.org>
8934
9445f99b
GM
8935 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8936 Replace obsolete function generic-make-keywords with its expansion.
8937
e0df2d14
GM
8938 * progmodes/python.el (ffap-alist): Declare.
8939
f2f426ca
GM
8940 * textmodes/reftex.el (bibtex-mode-map): Declare.
8941
f7f9a720
SM
89422013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8945 (package-unpack, package-unpack-single): Return the pkg-dir.
8946 (package-download-transaction): Use it to update package-alist.
8947
57ff04e0
LMI
89482013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8949
8950 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8951 possible choice.
8952
c048c022
JL
89532013-06-17 Juri Linkov <juri@jurta.org>
8954
8955 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8956
b5bcaee5
DG
89572013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8958
a020afb9
JB
8959 * emacs-lisp/package.el (package-load-descriptor):
8960 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8961 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8962
551e07e5
JB
89632013-06-17 Juanma Barranquero <lekktu@gmail.com>
8964
8965 * startup.el (command-line): Expand package name returned by
8966 `package--description-file' (bug#14639).
8967
d363bffb
DG
89682013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8969
8970 * emacs-lisp/package.el (package-load-descriptor): Do not call
8971 `emacs-lisp-mode', just use its syntax table.
8972
f612933b
JB
89732013-06-17 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8976 `font-lock-extra-managed-props' if any prettifying keyword is added.
8977 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8978 (prog-mode): Use `setq-local'.
8979
db3b7db5
SM
89802013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * international/characters.el (standard-case-table): Set syntax of ?»
8983 and ?« to punctuation.
8984
f3d674df
JB
89852013-06-16 Juanma Barranquero <lekktu@gmail.com>
8986
8987 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8988 Save relevant match data before calling `syntax-ppss' (bug#14595).
8989
31489a32
JL
89902013-06-15 Juri Linkov <juri@jurta.org>
8991
8992 * files-x.el (modify-file-local-variable-prop-line): Add local
8993 variables to the end of the existing comment on the first line.
8994 Use `file-auto-mode-skip' to skip interpreter magic line,
8995 and also skip XML declaration.
8996
66bd25ab
SM
89972013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * startup.el (package--builtin-versions): New var.
9000 (package-subdirectory-regexp): Remove.
9001 (package--description-file): Hard code its value instead.
9002
9003 * emacs-lisp/package.el: Don't activate packages older than builtin.
9004 (package-obsolete-list): Rename from package-obsolete-alist, and make
9005 it into a simple list of package-desc.
9006 (package-strip-version): Remove.
9007 (package-built-in-p): Use package--builtin-versions.
9008 (package-mark-obsolete): Simplify.
9009 (package-process-define-package): Mark it obsolete if older than the
9010 builtin version.
9011 (package-handle-response): Use line-end-position.
9012 (package-read-archive-contents, package--download-one-archive):
9013 Simplify.
9014 (package--add-to-archive-contents): Skip if older than the builtin or
9015 installed version.
9016 (package-menu-describe-package): Fix last change.
9017 (package-list-unversioned): New var.
9018 (package-menu--generate): Use it.
9019
9020 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9021 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9022 (autoload-builtin-package-versions): New variable.
9023 (autoload-generate-file-autoloads): Use them.
9024 Remove the list of autoloaded functions/macros from the
9025 (autoload...) comments.
9026
9027 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9028
9583ec36
EZ
90292013-06-15 Eli Zaretskii <eliz@gnu.org>
9030
9031 * simple.el (line-move-partial): Don't jump to the next screen
9032 line as soon as it becomes visible. Instead, continue enlarging
9033 the vscroll until the portion of a tall screen line that's left on
9034 display is about the height of the frame's default font.
9035 (Bug#14567)
9036
f0100d8a
GM
90372013-06-15 Glenn Morris <rgm@gnu.org>
9038
b86a85ca
GM
9039 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9040 compilation-error-regexp-alist void, or local while let-bound.
9041
f0100d8a
GM
9042 * progmodes/make-mode.el (makefile-mode-syntax-table):
9043 Treat "=" as punctuation. (Bug#14614)
9044
05e7ce90
JB
90452013-06-15 Juanma Barranquero <lekktu@gmail.com>
9046
9047 * help-fns.el (describe-variable):
9048 Add extra line for permanent-local variables.
9049
12e5e86e
SH
90502013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9051
9052 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9053 Add export, import, library. (Bug#9164)
9054 (library): Set indent function.
9055
230dcbaf
GM
90562013-06-14 Glenn Morris <rgm@gnu.org>
9057
9058 * term/xterm.el (xterm--query):
9059 Stop after first matching handler. (Bug#14615)
9060
e36b2d20 90612013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9062
9063 Add support for dired in saveplace.
9064 * dired.el (dired-initial-position-hook): New variable.
9065 (dired-initial-position): Call hook to place cursor position.
9066 * saveplace.el (save-place-to-alist): Add dired position.
9067 (save-place-dired-hook): New function.
9068
0b31660d
SM
90692013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9070
bf1e6ae8
SM
9071 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9072 through a symbol rather than letrec.
9073
1b8dff23
SM
9074 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9075 (package-desc): Add `dir' field.
9076 (package-desc-full-name): New function.
9077 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9078 (package-maybe-load-descriptor): Remove.
9079 (package-load-all-descriptors): Just call package-load-descriptor.
9080 (package--disabled-p): New function.
9081 (package-desc-vers, package-desc-doc): Remove aliases.
9082 (package--dir): Remove function.
9083 (package-activate): Check if a package is disabled.
9084 (package-process-define-package): New function, extracted from
9085 define-package.
9086 (define-package): Turn into a place holder.
9087 (package-unpack-single, package-tar-file-info):
9088 Use package--description-file.
9089 (package-compute-transaction): Use package--disabled-p.
9090 (package-download-transaction): Don't call
9091 package-maybe-load-descriptor since they're all loaded anyway.
9092 (package-install): Change argument to be a pkg-desc.
9093 (package-delete): Use a single pkg-desc argument.
9094 (describe-package-1): Use package-desc-dir instead of package--dir.
9095 Use package-desc property instead of package-symbol.
9096 (package-install-button-action): Adjust accordingly.
9097 (package--push): Rewrite.
9098 (package-menu--print-info): Adjust accordingly. Change the ID format
9099 to be a pkg-desc.
9100 (package-menu-describe-package, package-menu-get-status)
9101 (package-menu--find-upgrades, package-menu-mark-upgrades)
9102 (package-menu-execute, package-menu--name-predicate):
9103 Adjust accordingly.
9104 * startup.el (package--description-file): New function.
9105 (command-line): Use it.
9106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9107 Use package-desc-version.
9108
0b31660d
SM
9109 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9110 (byte-compile-preprocess): Use it.
9111 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9112 can't quite recognize.
9113 (byte-compile-add-to-list): Remove.
9114 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9115 (cconv-closure-convert): Add assertion.
9116
9117 * emacs-lisp/map-ynp.el: Use lexical-binding.
9118 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9119 Factor out some repeated code.
9120
de0503df
SM
91212013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * subr.el (with-eval-after-load): New macro.
9124 (eval-after-load): Allow form to be a function.
9125 take advantage of lexical-binding.
9126 (do-after-load-evaluation): Use dolist and adjust to new format.
9127 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9128
bc5c8c5a
JL
91292013-06-13 Juri Linkov <juri@jurta.org>
9130
9131 * replace.el (perform-replace): Display "symbol " and other search
9132 modes from `isearch-message-prefix' in the *Help* buffer.
9133
9134 * isearch.el (isearch-query-replace): Add " symbol" and other
9135 possible search modes from `isearch-message-prefix' to the prompt.
9136 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9137 when reading a regexp to collect.
9138
a22289f7
JL
91392013-06-13 Juri Linkov <juri@jurta.org>
9140
9141 * isearch.el (word-search-regexp): Match whitespace if the search
9142 string begins or ends in whitespace. The LAX arg is applied to
9143 both ends of the search string. Use `regexp-quote' and explicit
9144 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9145 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9146 boundaries are replaced with symbol boundaries, and characters
9147 between symbols match non-word non-symbol syntax. (Bug#14602)
9148
cb89acab
JL
91492013-06-13 Juri Linkov <juri@jurta.org>
9150
9151 * isearch.el (isearch-del-char): Don't exceed the length of
9152 `isearch-string' by the prefix arg. (Bug#14563)
9153
6e8cfc81
JL
91542013-06-13 Juri Linkov <juri@jurta.org>
9155
9156 * isearch.el (isearch-yank-word, isearch-yank-line)
9157 (isearch-char-by-name, isearch-quote-char)
9158 (isearch-printing-char, isearch-process-search-char):
9159 Add optional count prefix arg. (Bug#14563)
9160
9161 * international/isearch-x.el
9162 (isearch-process-search-multibyte-characters):
9163 Add optional count prefix arg.
9164
c23d55f4
VS
91652013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9168 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9169 lexical-binding.
9170
91712013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9172
9173 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9174
ba947bc4
GM
91752013-06-13 Glenn Morris <rgm@gnu.org>
9176
8baeb37a
GM
9177 * startup.el (tty-handle-args):
9178 Don't just discard "--" and anything after. (Bug#14608)
9179
ba947bc4
GM
9180 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9181
9abefce4
MA
91822013-06-13 Michael Albinus <michael.albinus@gmx.de>
9183
9184 Implement changes in Secret Service API. Make it backward compatible.
9185 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9186 (secrets-create-item): Use it. Prefix properties with interface.
9187
5755011f
MH
91882013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9189
9190 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9191 (term-emulate-terminal): Respect term-suppress-hard-newline.
9192
1261d2da
S
91932013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9194
9195 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9196 Only remove a `thumb-file' overlay. (Bug#14548)
9197
868490bb
GJ
91982013-06-12 Grégoire Jadi <daimrod@gmail.com>
9199
9200 * mail/reporter.el (reporter-submit-bug-report):
9201 Handle missing package-name. (Bug#14600)
9202
79d7167f
TH
92032013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9204
9205 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9206 (reftex-citation-prompt, reftex-default-bibliography)
9207 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9208 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9209 (reftex-bib-sort-author, reftex-bib-sort-year)
9210 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9211 (reftex-extract-bib-entries-from-thebibliography)
9212 (reftex-get-bibkey-default, reftex-get-bib-names)
9213 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9214 (reftex-format-bib-entry, reftex-parse-bibitem)
9215 (reftex-format-bibitem, reftex-do-citation)
9216 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9217 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9218 (reftex-insert-bib-matches, reftex-format-citation)
9219 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9220 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9221 existing comments into docstrings.
9222
5f9dbd7a
XF
92232013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9224
9225 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9226
94df41ab
AS
92272013-06-12 Andreas Schwab <schwab@suse.de>
9228
9229 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9230 for auto-save files.
9231
a7f3fecc
GM
92322013-06-12 Glenn Morris <rgm@gnu.org>
9233
001809f6
GM
9234 * ido.el (ido-delete-ignored-files): Remove.
9235 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9236 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9237
834b5ded
EL
92382013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9239
08c73ed2
EL
9240 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9241
834b5ded
EL
9242 * ido.el (ido-delete-ignored-files): New function,
9243 split from ido-make-file-list-1.
9244 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9245 (ido-make-file-list-1): Use ido-delete-ignored-files.
9246
daabf15a
LL
92472013-06-12 Leo Liu <sdl.web@gmail.com>
9248
9249 * progmodes/octave.el (inferior-octave-startup)
9250 (inferior-octave-completion-table)
9251 (inferior-octave-track-window-width-change)
9252 (octave-eldoc-function-signatures, octave-help)
9253 (octave-find-definition): Use single quoted strings.
9254 (inferior-octave-startup-args): Change default value.
9255 (inferior-octave-startup): Do not hard code "-i" and
9256 "--no-line-editing".
9257 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9258 (inferior-octave-directory-tracker): Use it.
9259 (octave-goto-function-definition): Robustify.
9260 (octave-help): Support highlighting operators in 'See also'.
9261 (octave-find-definition): Find subfunctions only in Octave mode.
9262
cf4e5178
SM
92632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * help-fns.el (help-fns--compiler-macro): If the handler function is
9266 named, then put a link to it.
9267 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9268 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9269 (cl-typep): Use it.
9270 (cl-eval-when): Simplify debug spec.
9271 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9272 compiler-macro function instead of setting `compiler-macro-file'.
9273
99c81280 92742013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9275
9276 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9277 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9278
f56be016
SM
92792013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9280 Daniel Hackney <dan@haxney.org>
9281
9282 First part of Daniel Hackney's patch to package.el.
9283 * emacs-lisp/package.el: Use defstruct.
9284 (package-desc): New, main struct.
9285 (package--bi-desc, package--ac-desc): New structs, used to describe the
9286 format in external files.
9287 (package-desc-vers): Replace with package-desc-version accessor.
9288 (package-desc-doc): Replace with package-desc-summary accessor.
9289 (package-activate-1): Remove `package' arg since the pkg-vec now
9290 includes the name.
9291 (define-package): Use package-desc-from-define.
9292 (package-unpack-single): Change file-name arg to be a symbol.
9293 (package--add-to-archive-contents): Use package-desc-create and new
9294 accessor functions to package--ac-desc.
9295 (package-buffer-info, package-tar-file-info): Return a package-desc.
9296 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9297 arg to be a package-desc.
9298 (package-install-file): Adjust accordingly. Use \' to match EOS.
9299 (package--from-builtin): New function.
9300 (describe-package-1, package-menu--generate): Use it.
9301 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9302 (package-generate-autoloads): Idem and return the name of the file.
9303 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9304 Change pkg-info arg to be a package-desc.
9305 Use package-make-ac-desc.
9306 (package-upload-file): Use \' to match EOS.
9307 * finder.el (finder-compile-keywords): Use package-make-builtin.
9308
31119d63
SM
93092013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9310
931a2762
SM
9311 * vc/vc.el (vc-deduce-fileset): Change error message.
9312 (vc-read-backend): New function.
9313 (vc-next-action): Use it.
9314
5a3eb0c6
SM
9315 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9316
e3eb1bb7
SM
9317 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9318 (prolog-font-lock-keywords): Use regexp-opt instead.
9319 Don't manually highlight strings.
9320 (prolog-mode-variables): Simplify comment-start-skip.
9321 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9322
31119d63
SM
9323 * emacs-lisp/generic.el (generic--normalise-comments)
9324 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9325 (generic-mode-set-comments): Use them.
9326 (generic-bracket-support): Use setq-local.
9327 (generic-make-keywords-list): Declare obsolete.
9328
7de135d0
GM
93292013-06-11 Glenn Morris <rgm@gnu.org>
9330
9331 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9332 Prettify after setting font-lock-defaults. (Bug#14574)
9333
fa6bc6fd
JB
93342013-06-11 Juanma Barranquero <lekktu@gmail.com>
9335
9336 * replace.el (query-replace, occur-read-regexp-defaults-function)
9337 (replace-search):
9338 * subr.el (declare-function, number-sequence, local-set-key)
9339 (substitute-key-definition, locate-user-emacs-file)
9340 (with-silent-modifications, split-string, eval-after-load):
9341 Fix typos, remove unneeded backslashes and reflow some docstrings.
9342
cf1f9b9a
SM
93432013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9346 default for Elisp files.
9347
56602a4b
GM
93482013-06-11 Glenn Morris <rgm@gnu.org>
9349
9350 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9351 although define-derived-mode was doing this anyway. (Bug#14583)
9352
30ae0b2c
JB
93532013-06-10 Juanma Barranquero <lekktu@gmail.com>
9354
9355 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9356 Fix make-variable-buffer-local call to refer to the correct variable.
9357
fa472906
AG
93582013-06-10 Aidan Gauland <aidalgol@amuri.net>
9359
9360 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9361 (eshell-visual-subcommands, eshell-visual-options):
9362 Add summary line to docstrings. Add cross-references.
fa472906 9363
ff4871b9
GM
93642013-06-10 Glenn Morris <rgm@gnu.org>
9365
9366 * epa.el (epa-read-file-name): New function. (Bug#14510)
9367 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9368
04fcf1b0
AG
93692013-06-09 Aidan Gauland <aidalgol@amuri.net>
9370
9371 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9372 output redirection to be ignored with visual commands.
9373
88b00caa
AG
93742013-06-09 Aidan Gauland <aidalgol@amuri.net>
9375
9376 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9377 (eshell-term-initialize): Move long lambda to separate function
9378 eshell-visual-command-p.
e7b41c4c
JB
9379 * eshell/em-dirs.el (eshell-dirs-initialise):
9380 * eshell/em-script.el (eshell-script-initialize):
9381 Add missing #' to lambda.
88b00caa 9382
fda74125
LL
93832013-06-08 Leo Liu <sdl.web@gmail.com>
9384
9385 * progmodes/octave.el (octave-add-log-current-defun): New function.
9386 (octave-mode): Set add-log-current-defun-function.
9387 (octave-goto-function-definition): Do not move point if not found.
9388 (octave-find-definition): Enhance to try subfunctions first.
9389
467f3b33
GM
93902013-06-08 Glenn Morris <rgm@gnu.org>
9391
9392 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9393 (byte-compile-backward-char, byte-compile-backward-word):
9394 Improve previous change, to handle non-explicit nil.
9395
544badc3
SM
93962013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9399 (smie--opener/closer-at-point): New function.
9400 (smie--matching-block-data): Use it. Don't match from right after an
9401 opener or right before a closer. Obey smie-blink-matching-inners.
9402 Don't signal a mismatch for repeated inners like "switch..case..case".
9403
a175bf33
LL
94042013-06-07 Leo Liu <sdl.web@gmail.com>
9405
9406 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9407 to t. (Bug#14303)
ce8209d4
LL
9408 (octave-function-header-regexp): Fix. (Bug#14570)
9409 (octave-help-mode-finish-hook, octave-help-mode-finish):
9410 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9411
9412 * newcomment.el (comment-search-backward): Revert last change.
9413 (Bug#14434)
9414
9415 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9416
a822acff
EZ
94172013-06-07 Eli Zaretskii <eliz@gnu.org>
9418
9419 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9420 through xargs, to avoid failure due to MS-Windows limitations on
9421 command-line length.
9422
961166f5
GM
94232013-06-06 Glenn Morris <rgm@gnu.org>
9424
d0341459
GM
9425 * font-lock.el (lisp-font-lock-keywords-2):
9426 Treat user-error like error.
9427
961166f5
GM
9428 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9429 (byte-compile-backward-char, byte-compile-backward-word):
9430 Handle explicit nil arguments. (Bug#14565)
9431
80fa505f
AM
94322013-06-05 Alan Mackenzie <acm@muc.de>
9433
9434 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9435 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9436 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9437 (Bug#9706)
80fa505f 9438
fccdc796
SM
94392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9440
9441 * autorevert.el (auto-revert-notify-handler): Use memq.
9442 Hide assertion failure.
9443
9444 * skeleton.el: Use cl-lib.
9445 (skeleton-further-elements): Use defvar-local.
9446 (skeleton-insert): Use cl-progv.
9447
9bfff84b
TZ
94482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9449
9450 * progmodes/prog-mode.el (prog-prettify-symbols)
9451 (prog-prettify-install): Update docstrings.
9452
55577e7c
SM
94532013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * simple.el: Move all the prog-mode code to prog-mode.el.
9456 * progmodes/prog-mode.el: New file.
9457 * loadup.el: Add prog-mode.el.
9458
8fc57765
TZ
94592013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9460
9461 * simple.el (prog-prettify-symbols): Add version.
9462 (prog-prettify-install): Add convenience function to prettify symbols.
9463
9464 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9465 (perl--augmented-font-lock-keywords-1)
9466 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9467 variables and use it.
9468
9469 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9470 (cfengine3-mode): Remove unneeded variable and use it.
9471
9472 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9473 (lisp--augmented-font-lock-keywords-1)
9474 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9475 Remove unneeded variables and use it.
9476
650645d5 94772013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9478
9479 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9480 to point when opening the connection. (Bug#14380)
28f5da6d 9481
781b4af6
SM
94822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * subr.el (load-history-regexp, load-history-filename-element)
9485 (eval-after-load, after-load-functions, do-after-load-evaluation)
9486 (eval-next-after-load, display-delayed-warnings)
9487 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9488 definition of save-match-data.
9489 (overriding-local-map): Remove accidental obsolescence declaration.
9490
9491 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9492
3ca0d0b4
TZ
94932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9494
9495 Generalize symbol prettify support to prog-mode and implement it
9496 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9497 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9498 (prog--prettify-font-lock-compose-symbol)
9499 (prog-prettify-font-lock-symbols-keywords): New variables and
9500 functions to support symbol prettification.
9501 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9502 (lisp--augmented-font-lock-keywords-1)
9503 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9504 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9505 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9506 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9507 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9508 * progmodes/perl-mode.el (perl-prettify-symbols)
9509 (perl--font-lock-compose-symbol)
9510 (perl--font-lock-symbols-keywords): Move to prog-mode.
9511 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9512 (perl-font-lock-keywords-1)
9513 (perl-font-lock-keywords-2): Remove explicit prettify support.
9514 (perl--augmented-font-lock-keywords)
9515 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9516 (perl--augmented-font-lock-keywords-2, perl-mode):
9517 Implement prettify support.
3ca0d0b4 9518
976cb066
LL
95192013-06-05 Leo Liu <sdl.web@gmail.com>
9520
9521 Re-implement smie matching block highlight using
9522 show-paren-data-function. (Bug#14395)
9523 * emacs-lisp/smie.el (smie-matching-block-highlight)
9524 (smie--highlight-matching-block-overlay)
9525 (smie--highlight-matching-block-lastpos)
9526 (smie-highlight-matching-block)
9527 (smie-highlight-matching-block-mode): Remove.
9528 (smie--matching-block-data-cache): New variable.
9529 (smie--matching-block-data): New function.
9530 (smie-setup): Use smie--matching-block-data for
9531 show-paren-data-function.
9532
9533 * progmodes/octave.el (octave-mode-menu): Fix.
9534 (octave-find-definition): Skip garbage lines.
9535
208d0342
SM
95362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 Fix compilation error with simultaneous dynamic+lexical scoping.
9539 Add warning when a defvar appears after the first let-binding.
9540 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9541 (byte-compile-close-variables): Initialize it.
9542 (byte-compile--declare-var): New function.
9543 (byte-compile-file-form-defvar)
9544 (byte-compile-file-form-define-abbrev-table)
9545 (byte-compile-file-form-custom-declare-variable): Use it.
9546 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9547 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9548 (byte-compile-bind): Handle dynamic bindings that shadow
9549 lexical bindings.
9550 (byte-compile-unbind): Make arg non-optional.
9551 (byte-compile-let): Simplify.
9552 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9553 (cconv--analyse-function, cconv-analyse-form): Populate it.
9554 Protect byte-compile-bound-variables to limit the scope of defvars.
9555 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9556 Remove unneeded rule for `declare'.
9557
9558 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9559 so as to avoid depending on cl-adjoin at run-time.
9560 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9561
9562 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9563 (macroexp--warn-and-return): Use it.
9564
1ac2891e
GM
95652013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9566
a12bf61e 9567 * subr.el: Convert to lexical binding.
1ac2891e
GM
9568 (overriding-local-map): Make obsolete.
9569 (add-to-list): Doc fix. Add compiler macro.
9570 (read-key): Swap values of local maps.
9571
2587b005
LL
95722013-06-05 Leo Liu <sdl.web@gmail.com>
9573
9574 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9575
f1da3c88
LL
95762013-06-04 Leo Liu <sdl.web@gmail.com>
9577
9578 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9579 (compilation-auto-jump): Suppress the "Mark set" message to give
9580 way to exit message.
9581
3caa391f
AM
95822013-06-04 Alan Mackenzie <acm@muc.de>
9583
9584 Remove faulty optimisation from indentation calculation.
9585 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9586 search limit based on 2000 characters back from indent-point.
9587
068922a2
TH
95882013-06-03 Tassilo Horn <tsdh@gnu.org>
9589
9590 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9591
1f8fdd53
SM
95922013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9593
bbcc4d97
SM
9594 * emacs-lisp/lisp.el: Use lexical-binding.
9595 (lisp--local-variables-1, lisp--local-variables): New functions.
9596 (lisp--local-variables-completion-table): New var.
208d0342 9597 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9598
1f8fdd53
SM
9599 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9600 eagerly (bug#14422).
9601
c9628c79
MA
96022013-06-03 Michael Albinus <michael.albinus@gmx.de>
9603
9604 * autorevert.el (auto-revert-notify-enabled)
9605 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9606 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9607 (auto-revert-notify-handler): Handle also gfilenotify.
9608
e7b41c4c 9609 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9610 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9611 Remove.
c9628c79 9612
e5e4a942
JL
96132013-06-03 Juri Linkov <juri@jurta.org>
9614
9615 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9616 `M-s h .'. (Bug#14427)
9617
9618 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9619 command `hi-lock-face-symbol-at-point'.
9620 (hi-lock-face-symbol-at-point): New command.
9621 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9622 (hi-lock-menu): Add `highlight-symbol-at-point'.
9623 (hi-lock-mode): Doc fix.
9624
9625 * isearch.el (isearch-forward-symbol-at-point): New command.
9626 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9627 (isearch-highlight-regexp): Add a regexp which matches
9628 words/symbols for word/symbol mode.
9629
9630 * subr.el (find-tag-default-bounds): New function with the body
9631 mostly moved from `find-tag-default'.
9632 (find-tag-default): Move most code to `find-tag-default-bounds',
9633 call it and apply `buffer-substring-no-properties' afterwards.
9634
26b3353a
TH
96352013-06-03 Tassilo Horn <tsdh@gnu.org>
9636
781b4af6
SM
9637 * eshell/em-term.el (eshell-term-initialize):
9638 Use `cl-intersection' rather than `intersection'.
26b3353a 9639
51b60f53
XF
96402013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9641
fe054b63 9642 * vc/log-view.el: Doc fix.
d3ffe17c 9643 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9644
a0eb10b3 96452013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9646
9647 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9648 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9649 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9650 (eieio-unbound, eieio-default-superclass)
9651 (eieio--define-field-accessors, method-static, method-before)
9652 (method-primary, method-after, method-num-lists)
9653 (method-generic-before, method-generic-primary)
9654 (method-generic-after, method-num-slots)
9655 (eieio-specialized-key-to-generic-key)
9656 (eieio--check-type, class-v, class-p)
9657 (eieio-class-name, define-obsolete-function-alias)
9658 (eieio-class-parents-fast, eieio-class-children-fast)
9659 (same-class-fast-p, class-constructor, generic-p)
9660 (generic-primary-only-p, generic-primary-only-one-p)
9661 (class-option-assoc, class-option, eieio-object-p)
9662 (class-abstract-p, class-method-invocation-order)
9663 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9664 (eieio-class-un-autoload, eieio-defclass)
9665 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9666 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9667 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9668 (eieio-defgeneric-reset-generic-form)
9669 (eieio-defgeneric-form-primary-only)
9670 (eieio-defgeneric-reset-generic-form-primary-only)
9671 (eieio-defgeneric-form-primary-only-one)
9672 (eieio-defgeneric-reset-generic-form-primary-only-one)
9673 (eieio-unbind-method-implementations)
9674 (eieio--defmethod, eieio--typep)
9675 (eieio-perform-slot-validation, eieio-validate-slot-value)
9676 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9677 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9678 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9679 (eieio-slot-name-index, eieio-class-slot-name-index)
9680 (eieio-set-defaults, eieio-initarg-to-attribute)
9681 (eieio-attribute-to-initarg, eieio-c3-candidate)
9682 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9683 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9684 (eieio-class-precedence-list, eieio-generic-call-methodname)
9685 (eieio-generic-call-arglst, eieio-generic-call-key)
9686 (eieio-generic-call-next-method-list)
9687 (eieio-pre-method-execution-functions, eieio-generic-call)
9688 (eieio-generic-call-primary-only, eieiomt-method-list)
9689 (eieiomt-optimizing-obarray, eieiomt-install)
9690 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9691 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9692 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9693 (defclass): Remove `eval-and-compile' from macro.
9694 (call-next-method, shared-initialize): Instead of using
9695 `scoped-class' variable, use new eieio--scoped-class, and
9696 eieio--with-scoped-class.
9697 (initialize-instance): Rename local variable 'scoped-class' to
9698 'this-class' to remove ambiguitity from old global.
9699
9700 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9701 eieio.el.
4f405069
JB
9702 (eieio--scoped-class-stack): New variable.
9703 (eieio--scoped-class): New fcn.
890f7890
DE
9704 (eieio--with-scoped-class): New scoping macro.
9705 (eieio-defclass): Use pushnew instead of add-to-list.
9706 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9707 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9708 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9709 `scoped-class' variable, use new eieio--scoped-class, and
9710 eieio--with-scoped-class.
9711
9712 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9713
d105b0e2
TH
97142013-06-02 Tassilo Horn <tsdh@gnu.org>
9715
9716 * eshell/esh-ext.el (eshell-external-command): Pass args to
9717 `eshell-find-interpreter'.
9718 (eshell-find-interpreter): Add new second parameter ARGS.
9719
9720 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9721 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9722
9723 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9724 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9725
9726 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9727 (eshell-visual-options): New defcustom.
9728 (eshell-escape-control-x): Adapt docstring.
9729 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9730 `eshell-visual-options' in addition to `eshell-visual-commands'.
9731 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9732
f46305c8 97332013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9734
9735 * progmodes/python.el (python-indent-block-enders): Add break,
9736 continue and raise keywords.
9737
d870df21
GM
97382013-06-01 Glenn Morris <rgm@gnu.org>
9739
9133b82e
GM
9740 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9741
02c992ec 9742 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9743 * progmodes/cc-cmds.el (delete-forward-p):
9744 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9745 * progmodes/cc-engine.el (buffer-syntactic-context):
9746 * progmodes/cc-fonts.el (face-property-instance):
9747 * progmodes/cc-mode.el (set-keymap-parents):
9748 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9749 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9750 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9751 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9752 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9753
31e7b090
GM
9754 * progmodes/cc-vars.el (other): Emacs has this widget since
9755 at least 21.1, so don't (re)define it.
9756
d870df21
GM
9757 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9758 Replace the obsolete alias pcomplete-arg-quote-list.
9759
c75c93c7
LL
97602013-06-01 Leo Liu <sdl.web@gmail.com>
9761
9762 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9763 punctuation syntax.
9764 (inferior-octave-minimal-columns)
9765 (inferior-octave-last-column-width): New variables.
9766 (inferior-octave-track-window-width-change): New function.
9767 (inferior-octave-mode): Adjust column width so that Octave output,
9768 for example from 'ls', can fit into the window nicely.
9769
973d1e12
DG
97702013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9771
9772 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9773 Highlight expansions inside regexp literals.
9774
0888c286
GM
97752013-05-31 Glenn Morris <rgm@gnu.org>
9776
e26aac1f
GM
9777 * obsolete/sym-comp.el (symbol-complete):
9778 Replace obsolete completion-annotate-function.
9779
0888c286
GM
9780 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9781
19bb8e62
DG
97822013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9783
781b4af6
SM
9784 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9785 New function, checks if point is inside a literal that allows
19bb8e62
DG
9786 expression expansion.
9787 (ruby-syntax-propertize-expansion): Use it.
9788 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9789 around the body.
9790
01dea85f
JL
97912013-05-30 Juri Linkov <juri@jurta.org>
9792
9793 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9794 to "\M-si".
9795 (isearch-invisible): New variable.
9796 (isearch-forward): Doc fix.
9797 (isearch-mode): Set `isearch-invisible'
9798 to the value of `search-invisible'.
9799 (isearch-toggle-case-fold): Doc fix.
9800 (isearch-toggle-invisible): New command.
9801 (isearch-query-replace): Let-bind `search-invisible'
9802 to the value of `isearch-invisible'.
9803 (isearch-search): Use `isearch-invisible' instead of
9804 `search-invisible'. Let-bind `search-invisible'
9805 to the value of `isearch-invisible'. (Bug#11378)
9806
ab1bdce5
JL
98072013-05-30 Juri Linkov <juri@jurta.org>
9808
9809 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9810 call when `query-flag' is nil and `search-invisible' is non-nil.
9811 (Bug#11746)
9812
d6d236e2
GM
98132013-05-30 Glenn Morris <rgm@gnu.org>
9814
8accd027
GM
9815 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9816
2a8bed1c
GM
9817 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9818 (cc-require): Suppress spurious "noruntime" warnings.
9819 (cc-require-when-compile): Use fboundp, for sake of compiler.
9820
d6d236e2
GM
9821 * progmodes/cc-mode.el: Move load of cc-vars before that of
9822 cc-langs (which in turn loads cc-vars), to quieten compiler.
9823
9190b35b
SM
98242013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * paren.el: Simplify the code.
9827 (show-paren-mode): Always start the timer.
9828 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9829 (show-paren--overlay, show-paren--overlay-1): Rename from
9830 show-paren-overlay and show-paren-overlay-1, and initialize to an
9831 overlay rather than to nil.
9832 (show-paren-function): Misc cleanup and simplifications.
9833
4f8d1cf6
SM
98342013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * paren.el (show-paren-data-function): New hook.
9837 (show-paren--default): New function, extracted from show-paren-function.
9838 (show-paren-function): Use show-paren-data-function.
9839
02d844b5
GM
98402013-05-30 Glenn Morris <rgm@gnu.org>
9841
d209d4a9
GM
9842 * ielm.el (ielm-map, ielm-complete-symbol):
9843 Use completion-at-point rather than obsolete functions.
9844 (inferior-emacs-lisp-mode): Doc fix.
9845 Set completion-at-point-functions, rather than
9846 comint-dynamic-complete-functions.
9847
2082faa6
GM
9848 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9849 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9850 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9851
dd8620de
GM
9852 * image.el (image-animated-p): Tweak definition.
9853
ceca95b1
GM
9854 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9855 (rlogin-process-connection-type): Tweak default. Add set-after.
9856 (rlogin-host): Doc fix.
9857 (rlogin): Tweak prompt.
9858 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9859
ee9f1acc
GM
9860 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9861 * progmodes/tcl.el (inferior-tcl-mode-map):
9862 Use completion-at-point rather than obsolete alias.
9863
45ce222e
GM
9864 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9865
02d844b5
GM
9866 * minibuffer.el (read-file-name-completion-ignore-case):
9867 Move before completion--in-region, for eager macro expansion.
9868
ac44d6c1
JL
98692013-05-29 Juri Linkov <juri@jurta.org>
9870
9871 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9872 for total count of matching lines. Add `global-matches' for total
9873 count of matches. Rename `matches' to `lines' for count of
9874 matching lines. Add `matches' for count of matches.
9875 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9876 to `prev-line' for line number of prev match endpt.
9877 Increment `matches' for every match. Print the number of
9878 matching lines in the header.
9879 (occur-context-lines): Rename `lines' to `curr-line'.
9880 Rename `prev-lines' to `prev-line'. (Bug#14017)
9881
3c9c9d38
JL
98822013-05-29 Juri Linkov <juri@jurta.org>
9883
9884 * replace.el (perform-replace): Add `skip-read-only-count',
9885 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9886 Increment them for corresponding conditions and report the number
9887 of skipped occurrences in the final message. (Bug#11746)
9888 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9889 (replace-string, replace-regexp): Doc fix.
9890
33e249a2
SM
98912013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9892
8e399682
SM
9893 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9894
33e249a2 9895 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9896 prog-mode-map (bug#14504).
33e249a2 9897
f236dd84
LL
98982013-05-29 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9901 (octave-help): Small simplification.
9902
9903 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9904 off the highlight first.
9905
3694d13f
GM
99062013-05-29 Glenn Morris <rgm@gnu.org>
9907
03983bdc
GM
9908 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9909 Handle idlwave-last-system-routine-info-cons-cell being nil.
9910
bc74a74a
GM
9911 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9912 (idlwave-write-paths): Simplify via with-temp-buffer.
9913
8b394200
GM
9914 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9915 * emulation/cua-rect.el: Also load cua-base at run time.
9916
3694d13f
GM
9917 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9918 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9919 (cperl-imenu-on-info): Require imenu.
9920
336d7284
AM
99212013-05-28 Alan Mackenzie <acm@muc.de>
9922
9923 Handle "capitalised keywords" correctly.
33e249a2 9924 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9925
cb29c582
AG
99262013-05-28 Aidan Gauland <aidalgol@amuri.net>
9927
781b4af6 9928 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9929
690e44b2
GM
99302013-05-28 Glenn Morris <rgm@gnu.org>
9931
e658d75c
GM
9932 * vc/vc-arch.el (vc-exec-after): Declare.
9933 (vc-switches): Autoload.
9934 * vc/vc-bzr.el: No need to require vc when compiling.
9935 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9936 (vc-resynch-buffer, vc-dir-refresh): Declare.
9937 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9938 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9939 (vc-resynch-buffer): Declare.
9940 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9941 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9942 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9943 (grep-read-regexp, grep-read-files, grep-expand-template)
9944 (vc-dir-refresh): Declare.
9945 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9946 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9947 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9948 * vc/vc-mtn.el (vc-exec-after): Declare.
9949 (vc-switches): Autoload.
9950 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9951 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9952 (vc-file-tree-walk): Declare.
712b9732
GM
9953 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9954 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9955 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9956 * vc/vc-svn.el (vc-exec-after): Declare.
9957 (vc-switches, vc-setup-buffer): Autoload.
9958 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9959 Autoload.
9960 (vc-resynch-buffer): Declare.
9961
98e87fb3
GM
9962 * obsolete/fast-lock.el (byte-compile-warnings):
9963 Don't warn about obsolete features in this obsolete file.
9964
f5379553
GM
9965 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9966 Move definition before use.
9967
7a20ef83
GM
9968 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9969 (dun-unix-verbs): Remove dun-zippy.
9970 (dun-zippy): Remove function.
9971
690e44b2
GM
9972 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9973
3a52ccf7
JL
99742013-05-27 Juri Linkov <juri@jurta.org>
9975
9976 * replace.el (replace-search): New function with code moved out
9977 from `perform-replace'.
9978 (replace-highlight, replace-dehighlight): Move function definitions
9979 up closer to `replace-search'. (Bug#11746)
9980
d289938a
JL
99812013-05-27 Juri Linkov <juri@jurta.org>
9982
9983 * replace.el (perform-replace): Ignore invisible matches.
9984 In addition to checking `query-replace-skip-read-only', also
9985 filter out matches by calling `run-hook-with-args-until-failure'
9986 on `isearch-filter-predicates', and also check `search-invisible'
9987 for t or call `isearch-range-invisible'.
9988 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9989
66fc57e3
JL
99902013-05-27 Juri Linkov <juri@jurta.org>
9991
9992 * isearch.el (isearch-filter-predicates): Rename from
9993 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9994 (isearch-message-prefix): Display text from the property
9995 `isearch-message-prefix' of the currently active filters.
9996 (isearch-search): Don't compare `isearch-filter-predicate' with
9997 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9998 on `isearch-filter-predicates'. Also check `search-invisible' for t
9999 or call `isearch-range-invisible'.
10000 (isearch-filter-visible): Make obsolete.
10001 (isearch-lazy-highlight-search):
10002 Call `run-hook-with-args-until-failure' on
10003 `isearch-filter-predicates' and use `isearch-range-invisible'.
10004
10005 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10006 `isearch-filter-predicates' instead of `funcall'ing
10007 `isearch-filter-predicate'.
10008 (Info-mode): Set `Info-isearch-filter' to
10009 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10010
10011 * dired-aux.el (dired-isearch-filter-predicate-orig):
10012 Remove variable.
10013 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10014 (dired-isearch-filenames-end): Add and remove
10015 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10016 instead of changing the value of `isearch-filter-predicate'.
10017 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10018 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10019 Put property `isearch-message-prefix' to "filename " on
10020 `dired-isearch-filter-filenames'.
10021
10022 * wdired.el (wdired-change-to-wdired-mode):
10023 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10024 locally instead of changing `isearch-filter-predicate'.
10025 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10026
f1a60a0f
DG
100272013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10028
10029 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10030 return the commit hash (Bug#14459). Also set the
10031 `vc-git-detached' property.
10032 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10033 (vc-git-mode-line-string): Use the same help-echo format whether
10034 in detached mode or not, because we know the actual revision now.
10035 When in detached mode, shorten the revision to 7 chars.
10036
7f17cc40
SM
100372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * emacs-lisp/easy-mmode.el (define-minor-mode):
10040 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10041 mode hook and provide a docstring.
10042
25c8401c
AM
100432013-05-27 Alan Mackenzie <acm@muc.de>
10044
10045 Remove spurious syntax-table text properties inserted by C-y.
10046 * progmodes/cc-mode.el (c-after-change): Also clear hard
10047 syntax-table property with value nil.
10048
dde84790
MA
100492013-05-27 Michael Albinus <michael.albinus@gmx.de>
10050
10051 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10052 when reading the events; the buffer layout shall not be changed.
10053
837fd9af
LL
100542013-05-27 Leo Liu <sdl.web@gmail.com>
10055
10056 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10057 New variable.
10058 (inferior-octave-directory-tracker): Automatically re-sync
10059 default-directory.
10060 (octave-help): Improve handling of 'See also'.
10061
4fd996b3
SM
100622013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10063
416f1802
SM
10064 * doc-view.el: Minor naming convention tweaks.
10065 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10066
4fd996b3
SM
10067 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10068 even if there's no `display' property yet (bug#14435).
10069
a052ef3b
EZ
100702013-05-25 Eli Zaretskii <eliz@gnu.org>
10071
4fd996b3 10072 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10073
10074 * Makefile.in (custom-deps, finder-data, autoloads)
10075 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10076 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10077 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10078
c9023370
SM
100792013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10082 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10083 Don't burp at EOB.
c9023370 10084
24d699fa
LL
100852013-05-25 Leo Liu <sdl.web@gmail.com>
10086
10087 * comint.el (comint-previous-matching-input): Do not flood the
10088 *Messages* buffer with trivial messages.
10089
17e5c0cc
SM
100902013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * progmodes/flymake.el (flymake-nop): Don't return a string.
10093 (flymake-set-at): Fix typo.
10094
10095 * simple.el (read--expression): New function, extracted from
10096 eval-expression. Set completion-at-point-functions (bug#14465).
10097 (eval-expression, eval-minibuffer): Use it.
10098
5d028165
XF
100992013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10100
10101 * progmodes/flymake.el (flymake-save-buffer-in-file)
10102 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10103 (flymake-selected-frame, flymake-log, flymake-ins-after)
10104 (flymake-set-at, flymake-get-buildfile-from-cache)
10105 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10106 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10107 Refine the doc string.
10108 (flymake-get-file-name-mode-and-masks): Reformat.
10109 (flymake-get-real-file-name-function): Fix a minor bug.
10110
7a1d7ba7
JL
101112013-05-24 Juri Linkov <juri@jurta.org>
10112
10113 * progmodes/grep.el (grep-mode-font-lock-keywords):
10114 Support =linenumber= format used by git-grep for lines with
10115 function names. (Bug#13549)
10116
650cff3d
SM
101172013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10120 0 after a semi-colon; it works better for smie-auto-fill.
10121 (octave--indent-new-comment-line): New function.
10122 (octave-indent-new-comment-line): Use it (indirectly).
10123 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10124 modify comment-line-break-function.
10125
10126 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10127 (smie-setup): Use add-function to set it.
10128
9631677d
SS
101292013-05-24 Sam Steingold <sds@gnu.org>
10130
10131 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10132 argument (before the `interactive' argument).
10133
50105835
SM
101342013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * image-mode.el (image-mode-winprops): Add winprops to
10137 image-mode-winprops-alist before running
10138 image-mode-new-window-functions.
10139 * doc-view.el (doc-view-new-window-function): Don't delay
10140 doc-view-goto-page via timers (bug#14435).
10141
57b9823e
TH
101422013-05-24 Tassilo Horn <tsdh@gnu.org>
10143
10144 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10145 (doc-view-desktop-save-buffer): New function.
10146 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10147 (desktop-buffer-mode-handlers):
10148 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10149 handler.
10150 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10151 `desktop-save-buffer' function.
10152
91aafa16
MA
101532013-05-24 Michael Albinus <michael.albinus@gmx.de>
10154
10155 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10156 (tramp-gvfs-file-name-handler): Raise a user error when
10157 `tramp-gvfs-enabled' is nil.
10158 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10159 Do not raise a user error when loading package. (Bug#14447)
10160
ec076379
MA
10161 * net/xesam.el: Move to obsolete/.
10162
db785726
GM
101632013-05-24 Glenn Morris <rgm@gnu.org>
10164
af5c7606
GM
10165 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10166
e5d1916a
GM
10167 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10168
ded62b08
GM
10169 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10170 (Info-find-node, Man-getpage-in-background): Declare.
10171
9e614a3f
GM
10172 * mail/unrmail.el (unrmail):
10173 Replace obsolete detect-coding-with-priority.
10174
892f8ca3
GM
10175 * net/socks.el (socks-split-string): Use this rather than split-string.
10176 (socks-nslookup-host): Update for above change.
10177 (dynamic-choice, s5-dynamic-choice-match)
10178 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10179 Comment out unused code.
10180
3c291973
GM
10181 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10182 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10183 (gud-tooltip-echo-area): Make obsolete.
10184 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10185
43cc956b
GM
10186 * progmodes/js.el (js--optimize-arglist): Declare.
10187
dab49a3b
GM
10188 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10189
36b9d085
GM
10190 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10191 (ediff-window-C): Declare.
10192
e354ae76
GM
10193 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10194 Tweak requires to silence compiler.
10195
b8e57bf4
GM
10196 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10197 (he-search-string, he-tried-table, he-expand-list)
10198 (he-init-string, he-string-member, he-substitute-string)
10199 (he-reset-string): Declare.
10200
db785726
GM
10201 * obsolete/options.el (list-options): Use custom-variable-p,
10202 rather than obsolete alias.
10203
b3531901
SS
102042013-05-23 Sam Steingold <sds@gnu.org>
10205
10206 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10207 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10208 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10209
bdda4c66
SM
102102013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10211
10212 * emacs-lisp/smie.el (smie-indent-forward-token)
10213 (smie-indent-backward-token): Handle string tokens (bug#14381).
10214
c43d45f9
TH
102152013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10216
fe1eb856
RS
10217 * ielm.el (ielm-menu): New menu.
10218 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10219
fe1eb856
RS
102202013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10221
a12bf61e 10222 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10223 Fix deactivate action.
10224
a12bf61e 10225 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10226 Add cleveref macros.
074dd971 10227
a12bf61e 10228 * textmodes/reftex-parse.el
c43d45f9
TH
10229 (reftex-locate-bibliography-files): Accept options for
10230 bibliography commands.
a12bf61e 10231 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10232 Add addbibresource. Basic Biblatex support.
10233
7764286e
MA
102342013-05-23 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * net/tramp-gvfs.el (top):
10237 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10238 when loading package. (Bug#14447)
10239
d361bc10
GM
102402013-05-23 Glenn Morris <rgm@gnu.org>
10241
8fa23984
GM
10242 * progmodes/js.el: No need to load comint when compiling.
10243 (ring-insert, comint-send-string, comint-send-input)
10244 (comint-last-input-end, ido-chop): Declare.
10245
a5c7df1a
GM
10246 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10247 * vc/ediff-mult.el: Adjust requires.
10248 (ediff-directories-internal, ediff-directory-revisions-internal)
10249 (ediff-patch-file-internal): Declare.
10250 * vc/ediff-ptch.el: Adjust requires.
10251 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10252 (ediff-find-file): Autoload.
10253 * vc/ediff-util.el: No need to load ediff when compiling.
10254 (ediff-regions-internal): Declare.
10255 * vc/ediff-wind.el: Adjust requires.
10256 (ediff-compute-toolbar-width): Define when compiling.
10257 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10258 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10259 (dired-get-filename, dired-get-marked-files)
10260 (ediff-last-dir-patch, ediff-patch-default-directory)
10261 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10262 (ediff-patch-buffer-internal): Declare.
10263
e2aec513
GM
10264 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10265 (ispell-process, ispell-buffer-local-words, lm-summary)
10266 (lm-section-start, lm-section-end): Declare.
10267 (checkdoc-ispell-init): Simplify.
10268
e68bbd7c
GM
10269 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10270 (he-string-member, he-reset-string, he-substitute-string): Declare.
10271
7efe0991
GM
10272 * eshell/em-ls.el: Adjust requires.
10273 (eshell-glob-regexp): Declare.
f87b1284
GM
10274 * eshell/em-tramp.el: Adjust requires.
10275 (eshell-parse-command): Autoload.
10276 * eshell/em-xtra.el: Adjust requires.
10277 (eshell-parse-command): Autoload.
10278 * eshell/esh-ext.el: Adjust requires.
10279 (eshell-parse-command, eshell-close-handles): Autoload.
10280 * eshell/esh-io.el: Adjust requires.
10281 (eshell-output-filter): Autoload.
10282 * eshell/esh-util.el: No need to load tramp when compiling.
10283 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10284 Declare.
10285 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10286 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10287 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10288 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10289 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10290 * eshell/esh-opt.el, eshell/esh-proc.el:
10291 * eshell/esh-var.el: Adjust requires.
10292 * eshell/eshell.el: Do not require esh-util twice.
10293 (eshell-add-input-to-history): Declare.
10294 (eshell-command): Check history module is active before using it.
10295
d361bc10
GM
10296 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10297
85d090a9
LL
102982013-05-22 Leo Liu <sdl.web@gmail.com>
10299
10300 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10301
5d0acd9d
MA
103022013-05-22 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * autorevert.el (auto-revert-notify-add-watch)
10305 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10306 it indicates changes in file modification time.
10307
0cdffd7d
GM
103082013-05-22 Glenn Morris <rgm@gnu.org>
10309
ca5995ec
GM
10310 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10311 Always delete the autoloaded function from the noruntime and
10312 unresolved functions lists.
10313
6450907e
GM
10314 * allout.el: No need to load epa, epg, overlay when compiling.
10315 (epg-context-set-passphrase-callback, epg-list-keys)
10316 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10317 (epg-key-user-id-list): Declare.
10318
9c6906f6
GM
10319 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10320 (viper-set-parsing-style-toggling-macro)
10321 (viper-set-emacs-state-searchstyle-macros):
10322 Use called-interactively-p on Emacs.
10323 (viper-looking-back): Make it an obsolete alias. Update callers.
10324 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10325 Use looking-back rather than viper-looking-back.
10326 (viper-tmp-insert-at-eob, viper-enlarge-region)
10327 (viper-read-string-with-history, viper-register-to-point)
10328 (viper-append-to-register, viper-change-state-to-vi)
10329 (viper-backward-char-carefully, viper-forward-char-carefully)
10330 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10331 (viper-change-state-to-emacs): Declare.
10332 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10333 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10334 * emulation/viper-mous.el: Do not load viper-cmd.
10335 (viper-backward-char-carefully, viper-forward-char-carefully)
10336 (viper-forward-word, viper-adjust-window): Declare.
10337
5f70c169
GM
10338 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10339
b1b7f300
GM
10340 * progmodes/idlw-help.el (idlwave-help-fontify):
10341 Use called-interactively-p.
10342
f6ebbb46
GM
10343 * term/w32console.el (w32-get-console-codepage)
10344 (w32-get-console-output-codepage): Declare.
10345
0cdffd7d
GM
10346 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10347 Remove unnecessary declarations.
10348 (dframe-message): Doc fix.
10349
10350 * info.el (dframe-select-attached-frame, dframe-current-frame):
10351 Declare.
10352
10353 * speedbar.el (speedbar-message): Make it an obsolete alias.
10354 Update all callers.
10355 (speedbar-with-attached-buffer)
10356 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10357 (speedbar-with-writable): Use backquote.
10358 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10359 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10360 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10361 rather than speedbar- aliases.
10362 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10363 (speedbar-make-specialized-keymap, speedbar-insert-button)
10364 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10365 (speedbar-do-function-pointer): Declare.
10366 (rmail-speedbar-button, rmail-speedbar-find-file)
10367 (rmail-speedbar-move-message):
10368 Use dframe-with-attached-buffer rather than speedbar- alias.
10369 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10370 (dframe-message, speedbar-make-specialized-keymap)
10371 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10372 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10373 (speedbar-insert-button, dframe-select-attached-frame)
10374 (dframe-maybee-jump-to-attached-frame)
10375 (speedbar-change-initial-expansion-list)
10376 (speedbar-previously-used-expansion-list-name): Declare.
10377 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10378 Use dframe-message, dframe-with-attached-buffer rather than
10379 speedbar- aliases.
10380 (gud-sentinel): Silence compiler.
10381 * progmodes/vhdl-mode.el (speedbar-refresh)
10382 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10383 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10384 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10385 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10386 (speedbar-file-lists, speedbar-make-tag-line)
10387 (speedbar-line-directory, speedbar-goto-this-file)
10388 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10389 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10390 (speedbar-make-button, speedbar-reset-scanners)
10391 (speedbar-files-item-info, speedbar-line-text)
10392 (speedbar-find-file-in-frame, speedbar-set-timer)
10393 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10394 (speedbar-with-writable): Do not (re)define it.
10395 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10396 rather than speedbar- alias.
10397
ee44b62a
LL
103982013-05-21 Leo Liu <sdl.web@gmail.com>
10399
10400 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10401 menu items.
10402 (octave-mode): Tweak fill-nobreak-predicate.
10403 (inferior-octave-startup): Check process to avoid infinite loop.
10404 (inferior-octave): Pop to buffer first to show abornmal process
10405 exit information.
10406
640f050f
GM
104072013-05-21 Glenn Morris <rgm@gnu.org>
10408
79458038
GM
10409 * printing.el (pr-menu-bar): Define when compiling.
10410
9cc3e83f
LL
104112013-05-21 Leo Liu <sdl.web@gmail.com>
10412
10413 * progmodes/octave.el (octave-auto-fill): Remove.
10414 (octave-indent-new-comment-line): Improve.
10415 (octave-mode): Use auto fill mode through
4f405069 10416 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10417 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10418 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10419 (octave-help): Show parent directory.
10420
f440830d
GM
104212013-05-21 Glenn Morris <rgm@gnu.org>
10422
10423 * files.el (dired-unmark):
10424 * progmodes/gud.el (gdb-input): Update declarations.
10425
10426 * calculator.el (electric, ehelp): No need to load when compiling.
10427 (Electric-command-loop, electric-describe-mode): Declare.
10428
10429 * doc-view.el (doc-view-current-converter-processes): Move before use.
10430
10431 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10432 Move MODE-set-explicitly definition before use.
10433
10434 * international/mule-diag.el (mule-diag):
10435 Don't use obsolete window-system-version.
10436
10437 * mail/feedmail.el (smtpmail): No need to load when compiling.
10438 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10439
10440 * mail/mail-utils.el (rfc822): No need to load when compiling.
10441 (rfc822-addresses): Autoload it.
10442 (mail-strip-quoted-names): Trivial simplification.
10443
10444 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10445 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10446
10447 * net/snmp-mode.el (tempo): Don't duplicate requires.
10448
10449 * progmodes/prolog.el (info): No need to load when compiling.
10450 (comint): Require before shell requires it.
10451 (Info-goto-node): Autoload it.
10452 (Info-follow-nearest-node): Declare.
10453 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10454
10455 * textmodes/artist.el (picture-mode-exit): Declare.
10456
10457 * textmodes/reftex-parse.el (reftex-parse-from-file):
10458 Trivial rewrite so the compiler can parse it better.
10459
b4da2cbb
LL
104602013-05-20 Leo Liu <sdl.web@gmail.com>
10461
10462 * progmodes/octave.el (octave-help-mode-map)
10463 (octave-help-mode-finish-hook): New variables.
10464 (octave-help-mode, octave-help-mode-finish): New functions.
10465 (octave-help): Use octave-help-mode.
10466
33c0f65b
GM
104672013-05-20 Glenn Morris <rgm@gnu.org>
10468
10469 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10470
1a0a0a8a
DG
104712013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10472
10473 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10474 start at point, so that expansion starting right after opening
10475 slash in a regexp is recognized.
10476 (ruby-syntax-before-regexp-re): New defvar, extracted from
10477 ruby-syntax-propertize-function. Since the value of this regexp
10478 is looked up at runtime now, we should be able to turn
10479 `ruby-syntax-methods-before-regexp' into a defcustom later.
10480 (ruby-syntax-propertize-function): Split regexp matching into two
10481 parts, for opening and closing slashes. That allows us to skip
10482 over string interpolations and support multiline regexps.
10483 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10484 for them, which calls `ruby-syntax-propertize-expansion'.
10485 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10486 call to `ruby-syntax-propertize-function'.
10487 (ruby-syntax-propertize-expansion): Extracted from
10488 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10489 (ruby-syntax-propertize-percent-literal): Leave point right after
10490 the percent symbol, so that the expression expansion rule can
10491 propertize the contents.
462388b6
DG
10492 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10493 heredoc openers.
10494 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10495
c1a6c0a4
JL
104962013-05-18 Juri Linkov <juri@jurta.org>
10497
10498 * man.el (Man-default-man-entry): Remove `-' from the end
10499 of the default value. (Bug#14400)
10500
8051fccd
GM
105012013-05-18 Glenn Morris <rgm@gnu.org>
10502
10503 * comint.el (comint-password-prompt-regexp):
10504 Allow "password for XXX" where XXX contains colons (eg https://...).
10505
5e80b74f
LL
105062013-05-18 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10509 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10510 (octave-source-directories): Don't check process.
10511 (octave-source-directories, octave-find-definition): Doc fix.
10512
521a54c5
GM
105132013-05-18 Glenn Morris <rgm@gnu.org>
10514
86a94b05
GM
10515 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10516 Remove backspace/delete bindings. (Bug#14392)
10517
521a54c5
GM
10518 * cus-dep.el (custom-make-dependencies): Sort the output.
10519 (custom-versions-load-alist): Convert comment to doc.
10520
42caeb89
LL
105212013-05-17 Leo Liu <sdl.web@gmail.com>
10522
10523 * newcomment.el (comment-search-backward): Stricter in finding
10524 comment start. (Bug#14303)
10525
10526 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10527 (octave-comment-start-skip): Properly anchored.
10528
e219dd97
LL
105292013-05-17 Leo Liu <sdl.web@gmail.com>
10530
fe1eb856
RS
10531 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10532 Clean up when turned off. (Bug#14395)
e219dd97
LL
10533 (smie--highlight-matching-block-overlay): No longer buffer-local.
10534 (smie-highlight-matching-block): Adjust.
10535
dc5dcb4b
PE
105362013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10537
10538 Doc string fix for "nanoseconds" (Bug#14406).
10539 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10540 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10541
1db165f0
JB
105422013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10543
10544 * calc/calc-units.el (math-extract-units): Preserve powers
10545 of units.
10546
c7a8fcac
LL
105472013-05-17 Leo Liu <sdl.web@gmail.com>
10548
10549 * subr.el (delete-consecutive-dups): New function.
10550 * ido.el (ido-set-matches-1): Use it.
10551 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10552 * ido.el (ido-remove-consecutive-dups): Remove.
10553
f678b18a
SM
105542013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10557 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10558 regexp-opt's `words'.
10559
ebfe68e8
LL
105602013-05-16 Leo Liu <sdl.web@gmail.com>
10561
10562 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10563 (smie--highlight-matching-block-overlay)
10564 (smie--highlight-matching-block-lastpos)
10565 (smie--highlight-matching-block-timer): New variables.
10566 (smie-highlight-matching-block): New function.
10567 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10568 (smie-setup): Conditionally enable smie-blink-matching-open.
10569
bc8bc17d
WS
105702013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10571
10572 Sync with upstream verilog-mode r840.
10573 * progmodes/verilog-mode.el (verilog-mode-version)
10574 (verilog-mode-release-date): Update.
10575 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10576 (verilog-sig-tieoff): Fix string error on
10577 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10578 (verilog-read-decls): Fix parameters confusing
10579 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10580
df065a0b
EZ
105812013-05-16 Eli Zaretskii <eliz@gnu.org>
10582
10583 * subr.el (reveal-filename): New function.
10584
10585 * loadup.el: Compute Emacs executable versions on MS-Windows,
10586 where executables have the .exe extension. Add a hard link
10587 emacs-XX.YY.ZZ.exe on MS-Windows.
10588
10589 * Makefile.in (XARGS_LIMIT): New variable.
10590 (custom-deps, finder-data, autoloads)
10591 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10592 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10593 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10594 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10595
2d4bf34b
LL
105962013-05-16 Leo Liu <sdl.web@gmail.com>
10597
10598 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10599 (octave-mode-menu, octave-mode-map): Remove its uses.
10600
6b9c2d85
RZ
106012013-05-16 Reto Zimmermann <reto@gnu.org>
10602
10603 Sync with upstream vhdl mode v3.34.2.
10604 * progmodes/vhdl-mode.el: Use `push' throughout.
10605 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10606 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10607 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10608 (vhdl-actual-generic-name): New option to derive actual generic name.
10609 (vhdl-port-paste-signals): Replace formal by actual generics.
10610 (vhdl-beautify): New name for old group vhdl-align. Update users.
10611 (vhdl-beautify-options): New option.
10612 (vhdl-last-input-event): New compat alias. Use throughout.
10613 (vhdl-goto-line): Replace user level function `goto-line'.
10614 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10615 vhdl-fix-statement-buffer.
10616 (vhdl-create-mode-menu): Add some entries.
10617 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10618 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10619 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10620 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10621 to force statements on one line.
10622 (vhdl-remove-trailing-spaces-region):
10623 New, split from vhdl-remove-trailing-spaces.
10624 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10625 Respect vhdl-beautify-options.
10626 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10627 (vhdl-update-sensitivity-list): Not add with index if exists without.
10628 Not include array index with signal. Ignore keywords in comments.
10629 (vhdl-get-visible-signals): Regexp tweaks.
10630 (vhdl-template-component-inst): Handle empty library.
10631 (vhdl-template-type): Add template for 'enum' type.
10632 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10633 Use vhdl-replace-string.
10634 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10635 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10636 (vhdl-speedbar-initialize): Update for above name change.
10637 (vhdl-compose-wire-components): Fix in handling of constants.
10638 (vhdl-error-regexp-emacs-alist): New variable.
10639 (vhdl-error-regexp-add-emacs): New function;
10640 adds support for new compile.el (Emacs 22+)
10641 (vhdl-generate-makefile-1): Change target order for single lib. units.
10642 Allow use of absolute file names.
10643
9df4ec5e
LL
106442013-05-16 Leo Liu <sdl.web@gmail.com>
10645
10646 * simple.el (prog-indent-sexp): Indent enclosing defun.
10647
f5ba00a6
GM
106482013-05-15 Glenn Morris <rgm@gnu.org>
10649
ed8be7ff
GM
10650 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10651 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10652 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10653 (whitespace-highlight): Move to whitespace group.
10654
10655 * comint.el (comint-source):
10656 * pcmpl-linux.el (pcmpl-linux):
10657 * shell.el (shell-faces):
10658 * eshell/esh-opt.el (eshell-opt):
10659 * international/ccl.el (ccl): Remove empty custom groups.
10660
10661 * completion.el (dynamic-completion-mode):
10662 * jit-lock.el (jit-lock-debug-mode):
10663 * minibuffer.el (completion-in-region-mode):
10664 * type-break.el (type-break-mode-line-message-mode)
10665 (type-break-query-mode):
10666 * emulation/tpu-edt.el (tpu-edt-mode):
10667 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10668 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10669 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10670
10671 * term/xterm.el (xterm): Change parent group to terminals.
10672
10673 * master.el (master): Remove empty custom group.
10674 (master-mode): Remove unused :group argument.
10675 * textmodes/refill.el (refill): Remove empty custom group.
10676 (refill-mode): Remove unused :group argument.
10677
10678 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10679
82a7c41b
GM
10680 * cus-dep.el: Provide a feature.
10681 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10682 Don't mistakenly ignore files whose basenames match a basename
10683 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10684 Add a fallback method for getting :group.
f5ba00a6 10685
6d65486d
JL
106862013-05-15 Juri Linkov <juri@jurta.org>
10687
da547b32
JL
10688 * isearch.el (isearch-char-by-name): Rename from
10689 `isearch-insert-char-by-name'. Doc fix.
10690 (isearch-forward): Mention `isearch-char-by-name' in
10691 the docstring. (Bug#13348)
10692
6d65486d
JL
10693 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10694 `exit-minibuffer' instead of
10695 `isearch-nonincremental-exit-minibuffer'.
10696 (isearch-edit-string): Remove mention of
10697 `isearch-nonincremental-exit-minibuffer' from docstring.
10698 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10699 (isearch-forward-exit-minibuffer)
10700 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10701
c9990474
SM
107022013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10703
6e911150
SM
10704 * loadup.el: Just use unversioned DOC.
10705
c9990474
SM
10706 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10707 literals as extending to EOB.
10708 (nxml-last-fontify-end): Remove unused variable.
10709 (nxml-after-change1): Use with-silent-modifications.
10710 (nxml-extend-after-change-region): Simplify.
10711 (nxml-extend-after-change-region1): Remove function.
10712 (nxml-after-change1): Don't adjust for dependent regions.
10713 (nxml-fontify-matcher): Simplify.
10714 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10715 (xmltok-add-dependent): Remove function.
10716 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10717 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10718 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10719 unclosed <[[, <?, comment, and other literals as extending to EOB.
10720 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10721 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10722 Remove functions.
10723 (rng-do-some-validation-1): Don't mark dependent regions.
10724 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10725 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10726 (nxml-clear-dependent-regions): Remove functions.
10727 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10728 (nxml-ensure-scan-up-to-date):
10729 Don't clear&mark dependent regions.
10730
e3772e98
LL
107312013-05-15 Leo Liu <sdl.web@gmail.com>
10732
c9990474
SM
10733 * progmodes/octave.el (octave-goto-function-definition):
10734 Improve and fix callers.
e3772e98 10735
5ac2eb34
SM
107362013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10737
c46c57b0
SM
10738 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10739 the setter (bug#14387).
10740
5ac2eb34
SM
10741 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10742 surrounding group (bug#14402).
10743
180ed218
JL
107442013-05-14 Juri Linkov <juri@jurta.org>
10745
10746 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10747 (Bug#14390)
10748
0ac0fecb
GM
107492013-05-14 Glenn Morris <rgm@gnu.org>
10750
10751 * progmodes/f90.el (f90-imenu-generic-expression):
10752 Fix typo in 2013-05-08 change. (Bug#14402)
10753
2e78e6a7
JPG
107542013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10755
5ac2eb34
SM
10756 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10757 Remove signals for which replies are never received.
2e78e6a7 10758
53267cca
JPG
107592013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10760
10761 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10762 (gdb-handler-alist, gdb-handler-number): Remove variables.
10763 (gdb-handler-list): New variable.
10764 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10765 (gdb-pending-handler-p, gdb-handle-reply)
10766 (gdb-remove-all-pending-triggers): New functions.
10767 (gdb-discard-unordered-replies): New defcustom.
10768 (gdb-handler): New defstruct.
10769 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10770 instead of gdb-pending-triggers. Update docstring.
10771 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10772 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10773 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10774 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10775 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10776 (gdb-frame-handler): Pending triggers are now automatically managed.
10777 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10778 Remove argument.
10779 (gdb-input): Automatically handles pending triggers. Update docstring.
10780 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10781 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10782 Update comments.
10783 (gdb-done-or-error): Now use gdb-handle-reply.
10784
d04ce803
JPG
107852013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10786
10787 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10788 gdb-debug-log.
10789
0114073a
GM
107902013-05-14 Glenn Morris <rgm@gnu.org>
10791
10792 * subr.el (user-emacs-directory-warning): New option.
10793 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10794
4d25fd7e
LL
107952013-05-14 Leo Liu <sdl.web@gmail.com>
10796
10797 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10798 during redisplay.
10799 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10800 (octave-font-lock-texinfo-comment): Fix invalid search bound
10801 error: wrong side of point.
4d25fd7e 10802
27c8b6eb
GM
108032013-05-14 Glenn Morris <rgm@gnu.org>
10804
61aaeb01
GM
10805 * progmodes/flymake.el (flymake-xml-program): New option.
10806 (flymake-xml-init): Use it.
10807
5bf90bc5
GM
10808 * term/xterm.el: Provide a feature.
10809
10810 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10811
f4c7dfd2
GM
108122013-05-13 Glenn Morris <rgm@gnu.org>
10813
10814 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10815 Add compat aliases as a hack workaround. (Bug#14384)
10816
2aeb3a1d
LL
108172013-05-13 Leo Liu <sdl.web@gmail.com>
10818
b0e069c2
LL
10819 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10820 ###, and %!.
f5a9432f
LL
10821 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10822 C-M-q.
b0e069c2
LL
10823 (octave-comment-start-skip): Include %!.
10824 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10825
30ea8374
LL
108262013-05-12 Leo Liu <sdl.web@gmail.com>
10827
10828 * progmodes/octave.el (inferior-octave-startup): Store the value
10829 of __octave_srcdir__ for octave-source-directories.
10830 (inferior-octave-check-process): New function refactored out of
10831 inferior-octave-send-list-and-digest.
10832 (octave-source-directories)
10833 (octave-find-definition-filename-function): New variables.
10834 (octave-source-directories)
10835 (octave-find-definition-default-filename): New functions.
10836 (octave-find-definition): Improve to find functions implemented in C++.
10837
472a3834
GM
108382013-05-12 Glenn Morris <rgm@gnu.org>
10839
10840 * calendar/diary-lib.el (diary-outlook-format-1):
10841 Don't include dayname in the output. (Bug#14349)
10842
3191b52f
GM
108432013-05-11 Glenn Morris <rgm@gnu.org>
10844
0060ac73
GM
10845 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10846
3191b52f
GM
10847 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10848 Treat cc-provide like provide.
10849
e065ba74
KR
108502013-05-11 Kevin Ryde <user42@zip.com.au>
10851
10852 * cus-dep.el (custom-make-dependencies):
10853 Use generated-autoload-load-name for the sake of files such
10854 such cedet/semantic/bovine/c.el, where the base file name
10855 is not in load-path. (Bug#5277)
10856
36f84c37
GM
108572013-05-11 Glenn Morris <rgm@gnu.org>
10858
10859 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10860 Provide features.
10861
c8730c3a
LL
108622013-05-11 Leo Liu <sdl.web@gmail.com>
10863
10864 * progmodes/octave.el (octave-indent-comment): Improve.
10865 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10866 (octave-eldoc-function-signatures, octave-eldoc-function):
10867 New functions.
c8730c3a
LL
10868 (octave-mode, inferior-octave-mode): Add eldoc support.
10869
212e29f2
RS
108702013-05-11 Richard Stallman <rms@gnu.org>
10871
10872 * epa.el (epa-decrypt-file): Take output file name as argument
10873 and read it using `interactive'.
10874
083fe0d7
LL
108752013-05-11 Leo Liu <sdl.web@gmail.com>
10876
10877 * progmodes/octave.el (octave-beginning-of-line)
10878 (octave-end-of-line): Check before using up-list because it jumps
10879 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10880 (octave-indent-comment): New function.
10881 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10882 (octave-begin-keywords, octave-end-keywords)
10883 (octave-reserved-words, octave-smie-bnf-table)
10884 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10885
8582e4c4
GM
108862013-05-11 Glenn Morris <rgm@gnu.org>
10887
f20def1f
GM
10888 * faces.el (internal-face-x-get-resource):
10889 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10890 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10891 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10892 Fix declarations.
f20def1f 10893
445f95e2
GM
10894 * calc/calc-menu.el: Make it loadable in isolation.
10895
10896 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10897 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10898 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10899 (eudc-bbdb-query-internal): Require 'bbdb.
10900
99fb2756
GM
10901 * lpr.el (lpr-headers-switches):
10902 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10903
10904 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10905
0da7ad96
GM
10906 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10907
8582e4c4
GM
10908 * term.el (term-set-escape-char): Make it idempotent.
10909
f71c50d0
LL
109102013-05-10 Leo Liu <sdl.web@gmail.com>
10911
5ac2eb34
SM
10912 * progmodes/octave.el (inferior-octave-completion-table):
10913 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10914 completion due to bug#11906.
10915 (octave-beginning-of-defun): Re-write to be more general.
10916
d5837773
GM
109172013-05-10 Glenn Morris <rgm@gnu.org>
10918
10919 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10920
027c0f75
SM
109212013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * comint.el (comint-redirect-send-command-to-process): Use :around
10924 rather than :override for comint-redirect-filter.
10925 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10926 Call it instead of comint-redirect-original-filter-function (which
10927 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10928
4465bfb4
JD
109292013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10930
10931 * frame.el (display-monitor-attributes-list): Add NS case.
10932 (ns-display-monitor-attributes-list): Declare.
10933
2d809ffa 109342013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10935
10936 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10937
e54eeb9b
GM
109382013-05-09 Glenn Morris <rgm@gnu.org>
10939
56cd351d
GM
10940 * international/fontset.el (vertical-centering-font-regexp):
10941 Set standard-value.
10942
d84b6108
GM
10943 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10944
a931698a
GM
10945 * bookmark.el (bookmark-search-delay):
10946 * cus-start.el (vertical-centering-font-regexp):
10947 * ps-mule.el (ps-mule-font-info-database-default):
10948 * ps-print.el (ps-default-fg, ps-default-bg):
10949 * type-break.el (type-break-good-break-interval):
10950 * whitespace.el (whitespace-indentation-regexp)
10951 (whitespace-space-after-tab-regexp):
10952 * emacs-lisp/testcover.el (testcover-1value-functions)
10953 (testcover-noreturn-functions, testcover-progn-functions)
10954 (testcover-prog1-functions):
10955 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10956 * eshell/em-glob.el (eshell-glob-translate-alist):
10957 * play/tetris.el (tetris-tty-colors):
10958 * progmodes/cpp.el (cpp-face-default-list):
10959 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10960 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10961 (idlwave-help-browser-generic-args):
10962 * progmodes/make-mode.el (makefile-special-targets-list):
10963 * progmodes/python.el (python-shell-virtualenv-path):
10964 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10965 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10966 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10967 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10968 * textmodes/reftex-vars.el (reftex-format-label-function):
10969 * textmodes/remember.el (remember-diary-file): Fix custom types.
10970
e54eeb9b
GM
10971 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10972 Add :version.
10973
455851dd
LL
109742013-05-09 Leo Liu <sdl.web@gmail.com>
10975
10976 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10977 Restore file completion. (Bug#14300)
455851dd
LL
10978 (inferior-octave-startup): Fix incorrect highlighting for the
10979 first prompt.
10980
a9e4425b
SM
109812013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * progmodes/ruby-mode.el: First cut at SMIE support.
10984 (ruby-use-smie): New var.
10985 (ruby-smie-grammar): New constant.
10986 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10987 (ruby-smie--forward-token, ruby-smie--backward-token)
10988 (ruby-smie-rules): New functions.
10989 (ruby-mode-variables): Setup SMIE if applicable.
10990
060ca408
EZ
109912013-05-08 Eli Zaretskii <eliz@gnu.org>
10992
10993 * simple.el (line-move-visual): Signal beginning/end of buffer
10994 only if vertical-motion moved less than it was requested. Avoids
10995 silly incorrect error messages when there are display strings with
10996 multiple newlines at EOL.
10997
1d5963cc
SM
109982013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11001 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11002 (prolog-char-quote-workaround):
11003 * progmodes/cperl-mode.el (cperl-under-as-char):
11004 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11005 Mark as obsolete.
11006 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11007 their declaration.
11008 (vhdl-mode-syntax-table-init): Remove.
11009
c9990474
SM
11010 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11011 last change.
1d5963cc
SM
11012
11013 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11014 syntax for "_".
11015 (ld-script-font-lock-keywords):
11016 Change regexps to use things like \_< and \_>.
11017
11018 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11019 Change all regexps to use things like \_< and \_>.
11020
11021 * progmodes/autoconf.el (autoconf-definition-regexp)
11022 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11023 Handle a _ with symbol syntax.
11024 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11025
c9990474
SM
11026 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11027 Consolidate declaration.
1d5963cc
SM
11028 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11029 the declaration.
11030 (ada-create-syntax-table): Remove.
11031 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11032 already has the right syntax nowadays.
11033 (ada-goto-next-word): Don't change the syntax of "_".
11034
11035 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11036 with-wrapper-hook.
11037
72d3cfca
SS
110382013-05-08 Sam Steingold <sds@gnu.org>
11039
11040 * thingatpt.el (thing-at-point): Accept optional second argument
11041 NO-PROPERTIES to strip the text properties from the return value.
11042 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11043 to `thing-at-point' instead of stripping the properties ourselves.
11044 Also, when `thing-at-point' fails to find a url, prepend "http://"
11045 to the filename at point on the assumption that the user is
11046 pointing at something like gnu.org/gnu.
11047
5cb15713
JB
110482013-05-08 Juanma Barranquero <lekktu@gmail.com>
11049
11050 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11051 * faces.el (crm-separator):
11052 Silence byte-compiler.
11053
11054 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11055 (tool-bar-map): Remove unneeded defvars.
11056
ea78b95b
LL
110572013-05-08 Leo Liu <sdl.web@gmail.com>
11058
11059 Re-work a fix for bug#10994 based on Le Wang's patch.
11060 * ido.el (ido-remove-consecutive-dups): New helper.
11061 (ido-completing-read): Use it.
11062 (ido-chop): Revert fix for bug#10994.
11063
dc7466df
AS
110642013-05-08 Adam Spiers <emacs@adamspiers.org>
11065
11066 * cus-edit.el (custom-save-variables):
11067 Pretty-print long values. (Bug#14187)
11068
9ecf672a
GM
110692013-05-08 Glenn Morris <rgm@gnu.org>
11070
11071 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11072 (m4-mode-syntax-table): Init in the defvar.
11073 (m4-mode-abbrev-table): Let define-derived-mode define it.
11074
3f555be8
TT
110752013-05-08 Tom Tromey <tromey@redhat.com>
11076
11077 * progmodes/m4-mode.el (m4-mode-syntax-table):
11078 Do not treat "_" as word constituent. (Bug#14167)
11079
7cc8ae06
GM
110802013-05-07 Glenn Morris <rgm@gnu.org>
11081
4f58bc06
GM
11082 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11083 Remove explicit eshell-isearch-cancel-map.
11084
7cc8ae06
GM
11085 * progmodes/f90.el (f90-smart-end-names): New option.
11086 (f90-smart-end): Doc fix.
11087 (f90-end-block-optional-name): New constant.
11088 (f90-block-match): Respect f90-smart-end-names.
11089
ceb57e59
SM
110902013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11093 about implicit semi-colons (bug#14218).
11094
4e3f9230
YM
110952013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11096
11097 * frame.el (display-monitor-attributes-list)
11098 (frame-monitor-attributes): New functions.
11099
203a5572
LL
111002013-05-06 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (octave-syntax-propertize-function): Change
11103 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11104 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11105 (octave-completion-at-point): Rename from
203a5572
LL
11106 octave-completion-at-point-function.
11107 (inferior-octave-directory-tracker): Robustify.
11108 (octave-text-functions): Remove and fix its uses. No such things
11109 any more.
11110
ee6cff99
SM
111112013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * emacs-lisp/trace.el (trace--display-buffer): New function.
11114 (trace-make-advice): Use it.
11115
32985194
JL
111162013-05-06 Juri Linkov <juri@jurta.org>
11117
11118 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11119 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11120 Doc fix.
11121 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11122 in the help string. (Bug#12985)
11123
a1c700de
KD
111242013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11125
11126 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11127
c67c0839
SM
111282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11129
323885fd
SM
11130 * progmodes/perl-mode.el: Add support for here documents.
11131 (perl-syntax-propertize-function): Match here-doc markers.
11132 (perl-syntax-propertize-special-constructs): Find their end.
11133 (perl-imenu-generic-expression): Use [:alnum:].
11134
c67c0839
SM
11135 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11136 (advice--add-function): Refresh the advice if already present
11137 (bug#14317).
11138
d491e7a8
IA
111392013-05-06 Ivan Andrus <darthandrus@gmail.com>
11140
11141 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11142
ddf9925e
GM
111432013-05-06 Glenn Morris <rgm@gnu.org>
11144
7cc3af27
GM
11145 * w32-fns.el (w32-charset-info-alist): Declare.
11146
16e343d6
GM
11147 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11148 of its defcustom properties.
11149 (eshell-cmpl-initialize): No need to load pcomplete.
11150
7d889a47
GM
11151 * generic-x.el: No need to require comint when compiling.
11152
ddf9925e
GM
11153 * net/eudc-export.el: Make it loadable without bbdb.
11154 (top-level): Use require rather than load-library.
11155 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11156 (eudc-batch-export-records-to-bbdb)
11157 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11158 Require bbdb.
11159
1e2c18df
SM
111602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11163 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11164 some tweaks, instead.
11165
02502a5f
LL
111662013-05-05 Leo Liu <sdl.web@gmail.com>
11167
11168 * progmodes/octave.el (octave-font-lock-keywords)
11169 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11170 (inferior-octave-send-list-and-digest): Improve error message.
11171 (octave-mode, inferior-octave-mode): Use setq-local.
11172 (octave-help): Set info-lookup-mode.
11173
0dc04f42
RS
111742013-05-05 Richard Stallman <rms@gnu.org>
11175
6c54491c
RS
11176 * vc/compare-w.el (compare-windows-whitespace):
11177 Treat no-break space as whitespace.
11178
0dc04f42
RS
11179 * mail/rmailsum.el (rmail-summary-rmail-update):
11180 Detect empty summary and don't change selected message.
11181 (rmail-summary-goto-msg): Likewise.
11182
df8f35df
RS
11183 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11184 Doc fixes, rename args.
11185
5356e1a3
AM
111862013-05-05 Alan Mackenzie <acm@muc.de>
11187
11188 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11189
d44014cb
JL
111902013-05-05 Juri Linkov <juri@jurta.org>
11191
11192 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11193 to not add the length of the summary segment to the return value.
11194 (Bug#14125)
11195
c129b51f
LL
111962013-05-05 Leo Liu <sdl.web@gmail.com>
11197
11198 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11199 (inferior-octave-output-filter): Remove.
11200 (octave-send-region, inferior-octave-startup): Fix callers.
11201 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11202 (octave-binary-file-extensions): New user variable.
11203 (octave-find-definition): Confirm if opening binary files.
11204 (octave-help-file): Use octave-find-definition to get the binary
11205 confirmation.
11206 (octave-help): Adjust for octave-help-file change.
11207
aa7dab97
SM
112082013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11211 Merge the two entries that handle function definitions.
11212 (pascal--syntax-propertize): New const.
11213 (pascal-mode): Use it. Use setq-local.
11214
fd3a9a6b
GM
112152013-05-04 Glenn Morris <rgm@gnu.org>
11216
11217 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11218 (diary-from-outlook): Respect diary-from-outlook-function.
11219
30c7e542
SM
112202013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11223 Move the declaration from C.
11224 (read-minibuffer, eval-minibuffer): Move from C.
11225 (completion-setup-function): Avoid minibuffer-completion-contents.
11226
b54f978b
LL
112272013-05-03 Leo Liu <sdl.web@gmail.com>
11228
11229 * progmodes/octave.el (octave-font-lock-keywords): Do not
11230 dehighlight 'end' in comments or strings.
30c7e542
SM
11231 (octave-completing-read, octave-goto-function-definition):
11232 New helpers.
d4d0f9b3
LL
11233 (octave-help-buffer): New user variable.
11234 (octave-help-file, octave-help-function): New button types.
11235 (octave-help): New command and bind it to C-h ;.
11236 (octave-find-definition): New command and bind it to M-.
d74a1581 11237 (user-error): Alias to error if not defined.
b54f978b 11238
27135018
LL
112392013-05-02 Leo Liu <sdl.web@gmail.com>
11240
11241 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11242 for \. (bug#14332)
11243 (octave-font-lock-keywords): Include [ and {.
11244
0d634d3a
LL
112452013-05-02 Leo Liu <sdl.web@gmail.com>
11246
11247 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11248 (inferior-octave): Remove calling comint-mode and return the buffer.
11249 (inferior-octave-startup): Cosmetic changes.
11250
b4c8295e
LL
112512013-05-02 Leo Liu <sdl.web@gmail.com>
11252
30c7e542
SM
11253 * progmodes/octave.el (octave-syntax-propertize-function):
11254 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11255
f12ad6ec
GM
112562013-05-02 Glenn Morris <rgm@gnu.org>
11257
11258 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11259 * desktop.el (vc-dir-mode): Just autoload it here.
11260
30cac1e0
AM
112612013-05-02 Alan Mackenzie <acm@muc.de>
11262
11263 Eliminate variable c-standard-font-lock-fontify-region-function.
11264 * progmodes/cc-mode.el
11265 (c-standard-font-lock-fontify-region-function): Remove.
11266 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11267
d8ef28b1
LL
112682013-05-01 Leo Liu <sdl.web@gmail.com>
11269
2640d52e 11270 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11271 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11272 variables were removed from Octave in 2007.
d8ef28b1
LL
11273 (inferior-octave-startup): Fix uses.
11274 (comint-line-beginning-position): Remove compatibility code for
11275 emacs 21.
11276
ac63ec89
JL
112772013-05-01 Juri Linkov <juri@jurta.org>
11278
11279 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11280
9e9be37c
JL
112812013-05-01 Juri Linkov <juri@jurta.org>
11282
11283 * comint.el (comint-previous-matching-input): Don't print message
11284 "History item: %d" when `isearch-mode' is active.
11285 (comint-history-isearch-message): Print message "History item: %d"
11286 when `comint-input-ring-index' is not empty and this function is
11287 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11288
9b92c13b
LL
112892013-05-01 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11292 definitions. Use completion-at-point to insert keywords.
11293 (octave-abbrev-start): Remove.
11294 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11295
b12d33d7
LL
112962013-04-30 Leo Liu <sdl.web@gmail.com>
11297
11298 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11299 change.
11300
3d1c39fa
AM
113012013-04-30 Alan Mackenzie <acm@muc.de>
11302
11303 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11304 * progmodes/cc-engine.el (c-back-over-member-initializers):
11305 new function.
3d1c39fa
AM
11306 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11307 (most) member init lists.
11308
5147fc17
RS
113092013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11310
11311 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11312 variable.
11313
5b78d7fc
LL
113142013-04-30 Leo Liu <sdl.web@gmail.com>
11315
11316 * progmodes/octave.el (octave-variables): Remove. No builtin
11317 variables any more. All converted to functions.
11318 (octave-font-lock-keywords, octave-completion-at-point-function):
11319 Fix uses.
11320 (octave-font-lock-texinfo-comment): New user variable.
11321 (octave-texinfo-font-lock-keywords): New variable for texinfo
11322 comment block.
11323 (octave-function-comment-block): New face.
11324 (octave-font-lock-texinfo-comment): New function.
11325 (octave-mode): Font lock texinfo comment block.
11326
38d8527b
LL
113272013-04-29 Leo Liu <sdl.web@gmail.com>
11328
11329 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11330 indexing expression.
11331 (octave-continuation-string): Do not use \.
11332 (inferior-octave-complete-impossible): Remove.
11333 (inferior-octave-completion-table)
11334 (inferior-octave-completion-at-point): Remove its uses.
11335 (inferior-octave-startup): completion_matches was introduced to
11336 Octave in 1996 so safe to assume it.
11337 (octave-function-file-comment): Improve to follow how Octave does it.
11338 (octave-update-function-file-comment): Tweak.
11339
2ec12cb0
LL
113402013-04-29 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11343 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11344 (octave-function-file-comment): Fix typo.
11345 (octave-sync-function-file-names): Use read-char-choice.
11346
6eaed048
JB
113472013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11348
11349 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11350 to t for the less important warnings.
11351
3ffa2d4f
DH
113522013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11353
11354 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11355
685c9501
GM
113562013-04-27 Glenn Morris <rgm@gnu.org>
11357
11358 * vc/log-view.el (log-view-current-entry):
11359 Treat "---" separator lines as part of the following rev. (Bug#14169)
11360
0208ede7
JL
113612013-04-27 Juri Linkov <juri@jurta.org>
11362
11363 * subr.el (read-number): Doc fix about using it by interactive
11364 code letter `n'. (Bug#14254)
11365
5db9dace
JL
113662013-04-27 Juri Linkov <juri@jurta.org>
11367
11368 * desktop.el (desktop-auto-save-timeout): New option.
11369 (desktop-file-checksum): New variable.
11370 (desktop-save): Add optional arg `auto-save' and don't auto-save
11371 if nothing changed.
11372 (desktop-auto-save-timer): New variable.
11373 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11374 (after-init-hook): Call `desktop-auto-save-set-timer'.
11375 Suggested by Reuben Thomas <rrt@sc3d.org> in
11376 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11377
b7260dd4
LL
113782013-04-27 Leo Liu <sdl.web@gmail.com>
11379
11380 * progmodes/octave.el (octave-function-file-p)
11381 (octave-skip-comment-forward, octave-function-file-comment)
11382 (octave-update-function-file-comment): New functions.
11383 (octave-mode-map): Bind C-c ; to
11384 octave-update-function-file-comment.
11385 (octave-mode-menu): Add octave-update-function-file-comment.
11386 (octave-mode, inferior-octave-mode): Fix doc-string.
11387 (octave-insert-defun): Conform to Octave's coding convention.
11388 (Bug#14285)
11389
11390 * files.el (basic-save-buffer): Don't let errors in
11391 before-save-hook prevent saving buffer.
11392
c46da669
RW
113932013-04-20 Roland Winkler <winkler@gnu.org>
11394
11395 * faces.el (read-face-name): Use completing-read if arg multiple
11396 is nil.
11397
a81ee1eb
IL
113982013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11399
11400 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11401 displayed, move point to after the totals line.
11402 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11403 for the details.
11404
4fac34ce
SM
114052013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11408 Add current dir to the load-path.
11409 (package-generate-autoloads): Don't rely on
11410 autoload-ensure-default-file.
11411
f6bfc063
RT
114122013-04-26 Reuben Thomas <rrt@sc3d.org>
11413
d40ab5cf
BG
11414 * textmodes/remember.el (remember-store-in-files): Document that
11415 the file name format is passed to `format-time-string'.
f6bfc063 11416
e55d3b04
LL
114172013-04-26 Leo Liu <sdl.web@gmail.com>
11418
11419 * progmodes/octave.el (octave-sync-function-file-names): New function.
11420 (octave-mode): Use it in before-save-hook.
11421
e53052d3
SM
114222013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11423
140ef50c
SM
11424 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11425 (bug#14274).
11426
e53052d3
SM
11427 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11428 \n and comment, even if it's not an implicit ; (bug#14218).
11429
af80458d 114302013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11431
11432 * subr.el (read-number): Once more use `read' rather than
11433 `string-to-number', to trap non-numeric input. (Bug#14254)
11434
af80458d 114352013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11436
11437 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11438 Use `syntax-multiline' text property consistently instead of
8a621d53 11439 `font-lock-multiline'. (Bug#14237)
70203c2e 11440
e6ea1f6c
GM
114412013-04-26 Glenn Morris <rgm@gnu.org>
11442
11443 * emacs-lisp/shadow.el (list-load-path-shadows):
11444 No longer necessary to check for duplicate simple.el, since
11445 2012-07-07 change to init_lread to not include installation lisp
11446 directories in load-path when running uninstalled. (Bug#14270)
11447
070ccca4
LL
114482013-04-26 Leo Liu <sdl.web@gmail.com>
11449
11450 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11451 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11452 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11453 octave-in-string-or-comment-p.
11454 (octave-in-comment-p, octave-in-string-p)
11455 (octave-in-string-or-comment-p): Replace defsubst with defun.
11456
9d1c5fb6
PE
114572013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11458
11459 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11460
c034abda
BG
114612013-04-25 Bastien Guerry <bzg@gnu.org>
11462
11463 * textmodes/remember.el (remember-data-directory)
11464 (remember-directory-file-name-format): Fix custom types.
11465
584ea277
LL
114662013-04-25 Leo Liu <sdl.web@gmail.com>
11467
e53052d3
SM
11468 * progmodes/octave.el (octave-completion-at-point-function):
11469 Make use of inferior octave process.
584ea277
LL
11470 (octave-initialize-completions): Remove.
11471 (inferior-octave-completion-table): New function.
11472 (inferior-octave-completion-at-point): Use it.
11473 (octave-completion-alist): Remove.
11474
1693b06a
SM
114752013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11478 (opascal-mode-syntax-table): New var.
11479 (opascal-literal-kind, opascal-is-literal-end)
11480 (opascal-literal-token-at): Rewrite.
11481 (opascal--literal-start-re, opascal-font-lock-keywords)
11482 (opascal--syntax-propertize): New constants.
11483 (opascal-font-lock-defaults): Adjust.
11484 (opascal-mode): Use them. Set comment-<foo> variables as well.
11485 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11486 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11487 (delphi-other-face, opascal-other-face): Remove face variables.
11488 (opascal-save-state): Remove macro.
11489 (opascal-fontifying-progress-step): Remove constant.
11490 (opascal--ignore-changes): Remove var.
11491 (opascal-set-token-property, opascal-parse-next-literal)
11492 (opascal-is-stable-literal, opascal-complete-literal)
11493 (opascal-is-literal-start, opascal-face-of)
11494 (opascal-parse-region, opascal-parse-region-until-stable)
11495 (opascal-fontify-region, opascal-after-change)
11496 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11497 (opascal-debug-parse-region, opascal-debug-parse-window)
11498 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11499 (opascal-debug-fontify-buffer): Remove.
11500 (opascal-debug-mode-map): Adjust accordingly.
11501
be64c05d
LL
115022013-04-25 Leo Liu <sdl.web@gmail.com>
11503
11504 Merge octave-mod.el and octave-inf.el into octave.el with some
11505 cleanups.
11506 * progmodes/octave.el: New file renamed from octave-mod.el.
11507 * progmodes/octave-inf.el: Merged into octave.el.
11508 * progmodes/octave-mod.el: Renamed to octave.el.
11509
d79d37bd
TH
115102013-04-25 Tassilo Horn <tsdh@gnu.org>
11511
11512 * textmodes/reftex-vars.el
11513 (reftex-label-ignored-macros-and-environments): New defcustom.
11514
11515 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11516
ced3fc5d
SM
115172013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11520 (smie-indent-keyword): Improve the check to ensure that the next
11521 comment is really on the same line.
11522 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11523
11524 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11525 semi-colons if the line is not otherwise empty (bug#14218).
11526
1c141dad
GM
115272013-04-25 Glenn Morris <rgm@gnu.org>
11528
11529 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11530
5058062a
SM
115312013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * progmodes/opascal.el (opascal-set-token-property): Rename from
11534 opascal-set-text-properties and only set `token' (bug#14134).
11535 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11536 (opascal-literal-text-properties): Remove.
11537 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11538 Adjust callers.
11539
5db9dace 115402013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11541
11542 * textmodes/remember.el (remember-handler-functions): Add an
11543 option for a new handler `remember-store-in-files'.
11544 (remember-data-directory, remember-directory-file-name-format):
11545 New options.
11546 (remember-store-in-files): New function to store remember notes
11547 as separate files within a directory.
11548
4391916c
MH
115492013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11550
11551 * progmodes/compile.el (compilation-next-error-function):
11552 Pass "formats" to compilation-find-file (bug#11777).
11553
bb7cdf58
GM
115542013-04-24 Glenn Morris <rgm@gnu.org>
11555
3b8fe752 11556 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11557 * vc/vc-hg.el (vc-hg-print-log):
11558 * vc/vc-svn.el (vc-svn-print-log):
11559 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11560
bb7cdf58
GM
11561 * vc/vc-bzr.el (vc-bzr-print-log):
11562 * vc/vc-cvs.el (vc-cvs-print-log):
11563 * vc/vc-git.el (vc-git-print-log):
11564 * vc/vc-hg.el (vc-hg-print-log):
11565 * vc/vc-mtn.el (vc-mtn-print-log):
11566 * vc/vc-rcs.el (vc-rcs-print-log):
11567 * vc/vc-sccs.el (vc-sccs-print-log):
11568 * vc/vc-svn.el (vc-svn-print-log):
11569 * vc/vc.el (vc-print-log-internal): Doc fixes.
11570
b46a056e
GM
115712013-04-23 Glenn Morris <rgm@gnu.org>
11572
11573 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11574 Remove venerable code attempting to avoid substitute-command-keys.
11575
0aecf718
TH
115762013-04-23 Tassilo Horn <tsdh@gnu.org>
11577
4391916c
MH
11578 * textmodes/reftex-vars.el (reftex-label-regexps):
11579 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11580
117f94cf
SM
115812013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11582
4391916c 11583 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11584 Use lexical-binding.
11585 (jit-lock-force-redisplay): Use markers, check buffer's continued
11586 existence and beware narrowed buffers.
11587 (jit-lock-fontify-now): Adjust call accordingly.
11588
1d829c64
SM
115892013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11592 to avoid misleading the user.
11593
72d548a9
LL
115942013-04-22 Leo Liu <sdl.web@gmail.com>
11595
11596 * info-look.el: Prefer latex2e.info. (Bug#14240)
11597
d0853629
MA
115982013-04-22 Michael Albinus <michael.albinus@gmx.de>
11599
11600 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11601
11602 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11603 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11604 (tramp-set-completion-function, tramp-parse-putty):
11605 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11606 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11607 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11608 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11609 (tramp-call-local-coding-command): Use `tramp-call-process'
11610 instead of `tramp-compat-call-process'.
11611
11612 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11613 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11614 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11615 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11616 (tramp-maybe-send-script): Check for Perl binary.
11617 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11618
38cc0210
DU
116192013-04-22 Daiki Ueno <ueno@gnu.org>
11620
11621 * epg.el (epg-context-pinentry-mode): New function.
11622 (epg-context-set-pinentry-mode): New function.
11623 (epg--start): Pass --pinentry-mode option to gpg command.
11624
cc641ee1
XF
116252013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11626
02d844b5 11627 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11628 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11629 `completion-at-point'. (Bug#13774)
5d4e5c31 11630
cc641ee1
XF
11631 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11632 default key binding for `describe-distribution' has been moved to
11633 `C-h C-o'. (Bug#13970)
11634
1b42ee43
GM
116352013-04-21 Glenn Morris <rgm@gnu.org>
11636
11637 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11638 Add doc strings.
11639 (vc-print-log): Clarify interactive prompt.
11640
a6d63d97
GM
116412013-04-20 Glenn Morris <rgm@gnu.org>
11642
11643 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11644 No longer include timestamp etc information.
11645
d7f5c16f
RW
116462013-04-20 Roland Winkler <winkler@gnu.org>
11647
11648 * faces.el (read-face-name): Bug fix, return just one face if arg
11649 multiple is nil. (Bug#14209)
11650
bcd7a0a4
SM
116512013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11654 (remove-function): Autoload.
11655
11656 * comint.el (comint-redirect-original-filter-function): Remove.
11657 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11658 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11659 (vc-cvs-annotate-command):
bcd7a0a4
SM
11660 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11661 * progmodes/prolog.el (prolog-consult-compile):
11662 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11663 Use add/remove-function instead.
11664 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11665 (gud-tooltip-process-output, gud-tooltip-tips):
11666 Use add/remove-function instead.
11667 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11668 (scheme-interaction-mode, exit-scheme-interaction-mode):
11669 Use add/remove-function instead.
11670
11671 * vc/vc-dispatcher.el: Use lexical-binding.
11672 (vc--process-sentinel): Rename from vc-process-sentinel.
11673 Change last arg to be the code to run. Don't use vc-previous-sentinel
11674 and vc-sentinel-commands any more.
11675 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11676 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11677
e36b2d20 116782013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11679
bcd7a0a4 11680 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11681 Handle function names with a single character. (Bug#14111)
4d3268ba 11682
781b4af6 116832013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11684
11685 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11686 for subroutines defined in an eval (bug#14182).
11687
7d688336
TV
116882013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11689
11690 * bookmark.el (bookmark-completing-read): Improve handling of empty
11691 string (bug#14176).
11692
31dcede0
SM
116932013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11696
adc31213
FEG
116972013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11698
11699 New faster Imenu implementation (bug#14058).
11700 * progmodes/python.el:
11701 (python-imenu-prev-index-position):
11702 (python-imenu-format-item-label-function)
11703 (python-imenu-format-parent-item-label-function)
11704 (python-imenu-format-parent-item-jump-label-function):
11705 New vars.
11706 (python-imenu-format-item-label)
11707 (python-imenu-format-parent-item-label)
11708 (python-imenu-format-parent-item-jump-label)
11709 (python-imenu--put-parent, python-imenu--build-tree)
11710 (python-imenu-create-index, python-imenu-create-flat-index)
11711 (python-util-popn): New functions.
11712 (python-mode): Set imenu-create-index-function to
11713 python-imenu-create-index.
11714
cdca8255
SM
117152013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * winner.el (winner-active-region): Use region-active-p, activate-mark
11718 and deactivate-mark (bug#14225).
11719
11720 * simple.el (deactivate-mark): Don't inline it.
11721
beb42340
MA
117222013-04-18 Michael Albinus <michael.albinus@gmx.de>
11723
11724 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11725
fc7f4d7e
TH
117262013-04-18 Tassilo Horn <tsdh@gnu.org>
11727
11728 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11729 file extensions from the archive-mode entry in order to prefer
11730 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11731
29f47822
LL
117322013-04-18 Leo Liu <sdl.web@gmail.com>
11733
11734 * bindings.el (help-event-list): Add ?\?.
11735
d36ed1c8
SM
117362013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11737
11738 * subr.el (with-wrapper-hook): Declare obsolete.
11739 * simple.el (filter-buffer-substring-function): New hook.
11740 (filter-buffer-substring): Use it.
11741 (filter-buffer-substring-functions): Mark obsolete.
11742 * minibuffer.el (completion-in-region-function): New hook.
11743 (completion-in-region): Use it.
11744 (completion-in-region-functions): Mark obsolete.
11745 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11746 * abbrev.el (abbrev-expand-function): New hook.
11747 (expand-abbrev): Use it.
11748 (abbrev-expand-functions): Mark obsolete.
11749 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11750 and :filter-return.
11751
04754d36
FEG
117522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11753
11754 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11755 and do not care about match data.
11756
dd8791e9
SM
117572013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11760 completion tables when completing error conditions and
11761 `declare' arguments.
11762 (lisp-complete-symbol, field-complete): Mark as obsolete.
11763 (check-parens): Unmatched parens are user errors.
11764 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11765
ffe54a13
AM
117662013-04-17 Michal Nazarewicz <mina86@mina86.com>
11767
dd8791e9
SM
11768 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11769 command changed buffer (ie. `flyspell-pre-buffer' is not current
11770 buffer), which prevents making decisions based on invalid value of
11771 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11772 cause an error when `flyspell-pre-point' was nil after switching
11773 buffers.
11774 (flyspell-post-command-hook): No longer needs to change buffers when
11775 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11776
ec7e39f2
AM
117772013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11778
11779 * textmodes/ispell.el (ispell-add-per-file-word-list):
11780 Fix `flyspell-correct-word-before-point' error when accepting
11781 words and `coment-padding' is an integer by using
11782 `comment-normalize-vars' (Bug #14214).
11783
083850a6
FEG
117842013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11785
11786 New defun movement commands.
11787 * progmodes/python.el (python-nav--syntactically)
11788 (python-nav--forward-defun, python-nav-backward-defun)
11789 (python-nav-forward-defun): New functions.
11790
619ed6e1
FEG
117912013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11792
11793 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11794 (python-syntax-context): Use named compiler-macro for backwards
11795 compatibility with Emacs 24.x.
11796
7a1beb6c
LL
117972013-04-17 Leo Liu <sdl.web@gmail.com>
11798
11799 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11800 octave-hide-process-buffer.
11801
2d3fa3e5
SM
118022013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11805 (bug#14216).
11806
7ce5be54
JPG
118072013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11808
11809 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11810 Fix adjustment of offset when receiving incomplete responses from GDB
11811 (bug#14129).
11812
351edece
SM
118132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11816 python-mode-abbrev-table.
11817 (python-skeleton-define): Adjust accordingly.
11818 (python-mode-abbrev-table): New table that inherits from it so that
11819 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11820
11821 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11822 (abbrev-symbol): Use it.
11823 (abbrev--before-point): Use it since we already handle inheritance.
11824
613f9481
LL
118252013-04-16 Leo Liu <sdl.web@gmail.com>
11826
11827 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11828 binding to info-lookup-symbol.
11829
51646b62
JB
118302013-04-16 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * minibuffer.el (completion--twq-all):
11833 * term/ns-win.el (ns-initialize-window-system):
11834 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11835
efb3f01d
SM
118362013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11837
36c0a301
SM
11838 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11839 global bindings.
11840
efb3f01d
SM
11841 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11842
fb549d64
DG
118432013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11844
11845 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11846 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11847 to nil.
11848 (ruby-end-of-defun): Remove the unused arg, change the docstring
11849 to reflect that this function is only used as the value of
11850 `end-of-defun-function'.
11851 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11852 to reflect an earlier change that beginning/end-of-defun functions
11853 jump between methods in a class definition, as well as top-level
11854 functions.
11855
21e8fe2f
SM
118562013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * minibuffer.el (minibuffer-complete): Don't just scroll
11859 a *Completions* that's been iconified.
11860 (minibuffer-force-complete): Make sure repetitions do cycle when going
11861 through completion-in-region -> minibuffer-complete.
11862
20e527d0
AM
118632013-04-15 Alan Mackenzie <acm@muc.de>
11864
11865 Correct the placement of c-cpp-delimiters when there're #s not at
11866 col 0.
11867
11868 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11869 place a submatch around the #.
21e8fe2f
SM
11870 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11871 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11872 on the #, not BOL.
11873
dabefae5
SM
118742013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11877 (advice--member-p): New arg `name'.
11878 (advice--add-function, advice-member-p): Use it (bug#14202).
11879
85c9ab64
AM
118802013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11881
11882 Reformulate java imenu-generic-expression.
11883 The old expression contained ill formed regexps.
11884
11885 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11886 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11887 (cc-imenu-java-method-arg-regexp): New defconsts.
11888 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11889 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11890 handling of spaces in the regexp.
11891
0f821d99
AM
118922013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11893
11894 * textmodes/ispell.el (ispell-command-loop): Remove
11895 flyspell highlight of a word when ispell accepts it (bug #14178).
11896
eb922adf
MA
118972013-04-15 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11900 uses code from the previous `ange-ftp-run-real-handler'.
11901 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11902 only in case that function exist. This is needed for proper
11903 unloading of Tramp.
11904
4d9a0979
TH
119052013-04-15 Tassilo Horn <tsdh@gnu.org>
11906
11907 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11908
11909 * textmodes/reftex.el (reftex-compile-variables): Use it.
11910
a829b0dc
SM
119112013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11912
91e8293c
SM
11913 * files.el (normal-mode): Only use default major-mode if no other mode
11914 was specified.
11915
830aed4d
SM
11916 * emacs-lisp/trace.el (trace-values): New function.
11917
a829b0dc
SM
11918 * files.el: Allow : in local variables (bug#14089).
11919 (hack-local-variable-regexp): New var.
11920 (hack-local-variables-prop-line, hack-local-variables): Use it.
11921
7ae9f0fb
RW
119222013-04-13 Roland Winkler <winkler@gnu.org>
11923
11924 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11925 data before it gets modified by bibtex-beginning-of-entry.
11926
6646e848
RW
119272013-04-13 Roland Winkler <winkler@gnu.org>
11928
11929 * textmodes/bibtex.el (bibtex-url): Doc fix.
11930
119312013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11932
11933 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11934 does not visit a BibTeX file, exclude it from the list of buffers
11935 returned by bibtex-initialize.
11936
0aa3616e
SB
119372013-04-13 Stephen Berman <stephen.berman@gmx.net>
11938
11939 * window.el (split-window): Remove interactive form, since as a
11940 command this function is a special case of split-window-below.
11941 Correct doc string.
11942
011cddd6
RW
119432013-04-12 Roland Winkler <winkler@gnu.org>
11944
11945 * faces.el (read-face-name): Do not override value of arg default.
11946 Allow single faces and strings as default values. Remove those
11947 elements from return value that are not faces.
11948 (describe-face): Simplify.
11949 (face-at-point): New optional args thing and multiple so that this
11950 function can provide the same functionality previously provided by
11951 read-face-name.
11952 (make-face-bold, make-face-unbold, make-face-italic)
11953 (make-face-unitalic, make-face-bold-italic, invert-face)
11954 (modify-face, read-face-and-attribute): Use face-at-point.
11955
11956 * cus-edit.el (customize-face, customize-face-other-window)
11957 * cus-theme.el (custom-theme-add-face)
11958 * face-remap.el (buffer-face-set)
11959 * facemenu.el (facemenu-set-face): Use face-at-point.
11960
f24e0036
MA
119612013-04-12 Michael Albinus <michael.albinus@gmx.de>
11962
11963 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11964
da3cda2d
TH
119652013-04-10 Tassilo Horn <tsdh@gnu.org>
11966
11967 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11968 off leading { and trailing } from field values.
11969
15e54145
SM
119702013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11971
78ce603d
SM
11972 * emacs-lisp/timer.el (timer--check): New function.
11973 (timer--time, timer-set-function, timer-event-handler): Use it.
11974 (timer-set-idle-time): Simplify.
11975 (timer--activate): CSE.
11976 (timer-event-handler): Give more info in error message.
11977 (internal-timer-start-idle): New function, moved from C.
11978
15e54145
SM
11979 * mpc.el (mpc-proc): Add `restart' argument.
11980 (mpc-proc-cmd): Use it.
11981 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11982 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11983 less often.
11984
7144c627
MY
119852013-04-10 Masatake YAMATO <yamato@redhat.com>
11986
11987 * progmodes/sh-script.el: Implement `sh-mode' own
11988 `add-log-current-defun-function' (bug#14112).
11989 (sh-current-defun-name): New function.
11990 (sh-mode): Use the function.
11991
b39792eb
BG
119922013-04-09 Bastien Guerry <bzg@gnu.org>
11993
11994 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11995
8acdeb71
SM
119962013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11997
6fcdab68
SM
11998 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11999
8acdeb71
SM
12000 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12001 timer (bug#14156).
12002
e3e7b504
NF
120032013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12004
12005 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12006 declaration.
12007
201bb296
LL
120082013-04-07 Leo Liu <sdl.web@gmail.com>
12009
12010 * pcmpl-x.el: New file.
12011
ebb19708
DA
120122013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12013
12014 Do not set x-display-name until X connection is established.
12015 This is needed to prevent from weird situation described at
12016 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12017 * frame.el (make-frame): Set x-display-name after call to
12018 window system initialization function, not before.
12019 * term/x-win.el (x-initialize-window-system): Add optional
12020 display argument and use it.
12021 * term/w32-win.el (w32-initialize-window-system):
12022 * term/ns-win.el (ns-initialize-window-system):
12023 * term/pc-win.el (msdos-initialize-window-system):
12024 Add compatible optional display argument.
12025
33bb237a
EZ
120262013-04-06 Eli Zaretskii <eliz@gnu.org>
12027
12028 * files.el (normal-backup-enable-predicate): On MS-Windows and
12029 MS-DOS compare truenames of temporary-file-directory and of the
12030 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12031 don't fail comparison by compare-strings. Also, compare file
12032 names case-insensitively on MS-Windows and MS-DOS.
12033
134abf1f
SM
120342013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12037 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12038
d695cb94
DG
120392013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12040
e3e7b504
NF
12041 * whitespace.el (whitespace-color-on, whitespace-color-off):
12042 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12043
f4ad7ea1 120442013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12045
12046 * ispell.el (ispell-set-spellchecker-params):
12047 Really set `ispell-args' for all equivs.
12048
632556e4
SM
120492013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * ido.el (ido-completions): Use extra elements of ido-decorations
12052 (bug#14143).
12053 (ido-decorations): Update docstring.
12054
2a417372
MA
120552013-04-05 Michael Albinus <michael.albinus@gmx.de>
12056
12057 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12058 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12059 nil during initialization, in order not to miss changes since the
12060 file was opened. (Bug#14140)
12061
fc164b0c
LL
120622013-04-05 Leo Liu <sdl.web@gmail.com>
12063
12064 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12065
0ccecc08
JB
120662013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12067
12068 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12069
51af1aa2
GM
120702013-04-04 Glenn Morris <rgm@gnu.org>
12071
12072 * electric.el (electric-pair-inhibit-predicate): Add :version.
12073
b208ebc6
SM
120742013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12077 when a package is required several times (bug#14082).
12078
f3d3eaf0
RW
120792013-04-04 Roland Winkler <winkler@gnu.org>
12080
12081 * faces.el (read-face-name): Behave as promised by the docstring.
12082 Assume that arg default is a list of faces.
12083 (describe-face): Call read-face-name with list of default faces.
12084
2575da50
TV
120852013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12086
12087 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12088 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12089 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12090 the header.
12091 (bookmark-exit-hook-internal): Save even if list is empty.
12092
397703b4
YH
120932013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12094
12095 * emacs-lisp/package.el (package-pinned-packages): New var.
12096 (package--add-to-archive-contents): Obey it (bug#14118).
12097
691e26ae
AM
120982013-04-03 Alan Mackenzie <acm@muc.de>
12099
8a621d53
JB
12100 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12101 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12102
12103 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12104 parameter `not-in-delimiter'. Handle being inside comment opener.
12105 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12106 character in case we're typing a '*' after a '/'.
12107 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12108 instead by passing the parameter to c-state-pp-to-literal.
12109
12110 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12111 for elt. 7 of a parse state.
12112
4b725a70
PE
121132013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12114
12115 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12116 * international/latin1-disp.el, international/mule-util.el:
12117 * language/cyril-util.el, language/european.el, language/ind-util.el:
12118 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12119 * language/tibetan.el, language/viet-util.el:
12120 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12121
15c579f0
SM
121222013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12125 (electric-pair-post-self-insert-function): Use it.
12126 (electric-pair-default-inhibit): New function, extracted from
12127 electric-pair-post-self-insert-function.
12128
a77e2924
RW
121292013-03-31 Roland Winkler <winkler@gnu.org>
12130
12131 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12132
2bd8a4a8
SM
121332013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12136
8d3655be 121372013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12138
12139 Un-indent after "pass" and "return" statements (Bug#13888)
12140 * progmodes/python.el (python-indent-block-enders): New var.
12141 (python-indent-calculate-indentation): Use it.
12142
8d3655be 121432013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12144
12145 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12146 defun. Defining it as defalias could introduce too eager
12147 byte-compiler optimization. (Bug#14030)
12148
8d3655be 121492013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12150
12151 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12152
0b1619da
LL
121532013-03-30 Leo Liu <sdl.web@gmail.com>
12154
12155 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12156 (kmacro-execute-from-register): Pass the keyboard macro to
12157 kmacro-call-macro or repeating won't work correctly.
12158
0b938190
TZ
121592013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12160
12161 * progmodes/subword.el: Back to using `forward-symbol'.
12162
12163 * subr.el (forward-whitespace, forward-symbol)
12164 (forward-same-syntax): Move from thingatpt.el.
12165
35710234
LL
121662013-03-29 Leo Liu <sdl.web@gmail.com>
12167
12168 * kmacro.el (kmacro-to-register): New command.
12169 (kmacro-execute-from-register): New function.
12170 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12171
efc0bb73
SM
121722013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * mpc.el: Use defvar-local and setq-local.
12175 (mpc--proc-connect): Connection failures are not bugs.
12176 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12177 (mpc-volume-map): Bind to the up-events.
12178
75a2f981
TZ
121792013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12180
12181 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12182 instead of `forward-symbol'.
12183
17c781d1
SM
121842013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12187 (edebug--recursive-edit): Use it.
12188 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12189 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12190
f67bfbcf
LL
121912013-03-28 Leo Liu <sdl.web@gmail.com>
12192
12193 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12194
b59f639d
EZ
121952013-03-27 Eli Zaretskii <eliz@gnu.org>
12196
12197 * facemenu.el (list-colors-callback): New defvar.
12198 (list-colors-redisplay): New function.
12199 (list-colors-display): Install list-colors-redisplay as the
12200 revert-buffer-function. (Bug#14063)
12201
f557c1b1
SM
122022013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12203
b1da2957
SM
12204 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12205 and suffixes don't overlap (bug#14061).
12206
f557c1b1
SM
12207 * case-table.el: Use lexical-binding.
12208 (case-table-get-table): New function.
12209 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12210
002668e1
TZ
122112013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12212
12213 * progmodes/subword.el: Add `superword-mode' to do word motion
12214 over symbol_words (parallels and leverages `subword-mode' which
12215 does word motion inside MixedCaseWords).
12216
73572c72
AG
122172013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12218
78b8f320 12219 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12220 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12221
69b2c07e
SM
122222013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12225 Change return value to be a sexp. Delay `get-buffer' to after
12226 restoring the desktop (bug#13951).
12227
08bb5ee2
LL
122282013-03-26 Leo Liu <sdl.web@gmail.com>
12229
12230 * register.el: Move semantic tag handling back to
12231 cedet/semantic/senator.el. (Bug#14052)
12232
8d4c974e
SM
122332013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12234
12235 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12236 into the prompt either (bug#13963).
12237
b234d92c
SM
122382013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12241 part of "(error-foo)".
12242
ddfa3cb4
JL
122432013-03-24 Juri Linkov <juri@jurta.org>
12244
12245 * replace.el (list-matching-lines-prefix-face): New defcustom.
12246 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12247 `occur-engine' if `face-differs-from-default-p' returns t.
12248 (occur-engine): Add `,' inside backquote construct to evaluate
12249 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12250 Pass `prefix-face' to the functions `occur-context-lines' and
12251 `occur-engine-add-prefix'.
12252 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12253 `prefix-face' and propertize the prefix with `prefix-face'.
12254 (Bug#14017)
12255
7b0e2f85
LL
122562013-03-24 Leo Liu <sdl.web@gmail.com>
12257
12258 * nxml/rng-valid.el (rng-validate-while-idle)
12259 (rng-validate-quick-while-idle): Guard against deleted buffer.
12260 (Bug#13999)
12261
12262 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12263 is the last entry in kill-buffer-hook.
12264
12265 * files.el (kill-buffer-hook): Doc fix.
12266
b3082f49
DG
122672013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12268
b234d92c
SM
12269 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12270 Make it safe-local.
bde73d27 12271
b3082f49
DG
12272 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12273
a320a2db
LL
122742013-03-23 Leo Liu <sdl.web@gmail.com>
12275
7e74b0fb
LL
12276 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12277 Remove.
12278
12279 * nxml/rng-valid.el (rng-validate-mode)
12280 (rng-after-change-function, rng-do-some-validation):
12281 * nxml/rng-maint.el (rng-validate-buffer):
12282 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12283 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12284 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12285 (nxml-extend-after-change-region): Use with-silent-modifications.
12286
a320a2db
LL
12287 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12288 timer-idle-list.
12289
12290 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12291 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12292 timer-idle-list. (Bug#13999)
12293
e38e6780
JL
122942013-03-23 Juri Linkov <juri@jurta.org>
12295
12296 * info.el (info-index-match): New face.
12297 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12298 main pattern and add text properties with the new face to matches
12299 in index entries relative to the beginning of the index entry.
12300 (Bug#14015)
12301
e8cc7880
DE
123022013-03-21 Eric Ludlam <zappo@gnu.org>
12303
39c87140 12304 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12305 Inhibit read only while inserting objects.
12306
9bb0d822
TZ
123072013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12308
12309 * progmodes/cfengine.el: Update docs to mention
12310 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12311 symbol motion. Remove "_" from the word syntax.
12312
aa703640
TZ
123132013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12314
12315 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12316 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12317
afff09d0
JL
123182013-03-20 Juri Linkov <juri@jurta.org>
12319
12320 * info.el (Info-next-reference-or-link)
12321 (Info-prev-reference-or-link): New functions.
12322 (Info-next-reference, Info-prev-reference): Use them.
12323 (Info-try-follow-nearest-node): Handle footnote navigation.
12324 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12325
9a1ff164
SM
123262013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12329 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12330
2667d15d
PE
123312013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12332
12333 Suppress unnecessary non-ASCII chatter during build process.
12334 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12335 (batch-skkdic-convert): Suppress most of the chatter.
12336 It's not needed so much now that machines are faster,
12337 and its non-ASCII component was confusing; see Dmitry Gutov in
12338 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12339
438b0579
LL
123402013-03-20 Leo Liu <sdl.web@gmail.com>
12341
12342 * ido.el (ido-chop): Fix bug#10994.
12343
c128ab07
DG
123442013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12345
12346 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12347 Remove vars.
9a1ff164
SM
12348 (whitespace-color-on, whitespace-color-off):
12349 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12350
0e6008c5
SM
123512013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12354 remapping in mode-line.
12355 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12356
627b52b0
DG
123572013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12358
12359 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12360 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12361 (whitespace-font-lock-keywords): Change description.
12362 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12363 the constructed keywords instead.
12364 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12365
50c3a20b
LL
123662013-03-19 Leo Liu <sdl.web@gmail.com>
12367
12368 * progmodes/compile.el (compilation-display-error): New command.
12369 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12370 C-o. (Bug#13992)
12371
2aa2157b
PE
123722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12373
12374 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12375
e477dbfa
JD
123762013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12377
12378 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12379
64ab82d1
MA
123802013-03-18 Michael Albinus <michael.albinus@gmx.de>
12381
12382 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12383
12384 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12385 * net/tramp-gvfs.el (top):
12386 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12387 (tramp-handle-shell-command): Use it.
12388 (tramp-dissect-file-name): Raise an error when hostname is a
12389 method name, and neither method nor user is specified.
12390
12391 * net/trampver.el: Update release number.
12392
33cef733
LL
123932013-03-18 Leo Liu <sdl.web@gmail.com>
12394
12395 Make sure eldoc can be turned off properly.
12396 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12397 eldoc-mode.
12398 (eldoc-display-message-p): Revert last change.
12399 (eldoc-display-message-no-interference-p)
12400 (eldoc-print-current-symbol-info): Tweak.
12401
2167b7b2
TH
124022013-03-18 Tassilo Horn <tsdh@gnu.org>
12403
12404 * doc-view.el (doc-view-new-window-function): Check the new window
12405 overlay's display property instead the char property of the
12406 buffer's first char. Use `with-selected-window' instead of
12407 `save-window-excursion' with `select-window'.
12408 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12409 display property instead the char property of the buffer's first char.
2167b7b2 12410
982efbcd
PE
124112013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12412
12413 Automate the build of ja-dic.el (Bug#13984).
12414 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12415 from the input, rather than assume that it's been done for us by the
12416 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12417 the current date into a ja-dic.el comment, as that complicates
12418 regression testing.
12419
2fcc7665
SM
124202013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * whitespace.el: Fix double evaluation.
12423 (whitespace-space, whitespace-hspace, whitespace-tab)
12424 (whitespace-newline, whitespace-trailing, whitespace-line)
12425 (whitespace-space-before-tab, whitespace-indentation)
12426 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12427 obsolete defvars.
12428 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12429 (whitespace-color-on): Use a single font-lock-add-keywords call.
12430 Fix double-evaluation of face variables.
12431
67c0a6e6
MA
124322013-03-17 Michael Albinus <michael.albinus@gmx.de>
12433
2fcc7665
SM
12434 * net/tramp-adb.el (tramp-adb-parse-device-names):
12435 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12436 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12437
69489f1d
LL
124382013-03-17 Leo Liu <sdl.web@gmail.com>
12439
12440 Extend eldoc to display info in the mode-line. (Bug#13978)
12441 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12442 (eldoc-mode-line-string): New variable.
12443 (eldoc-minibuffer-message): New function.
12444 (eldoc-message-function): New variable.
12445 (eldoc-message): Use it.
12446 (eldoc-display-message-p)
2fcc7665
SM
12447 (eldoc-display-message-no-interference-p):
12448 Support eldoc-post-insert-mode.
69489f1d
LL
12449
12450 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12451 (eval-expression): Run it.
12452
9c44569e
RW
124532013-03-17 Roland Winkler <winkler@gnu.org>
12454
12455 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12456 strings in the list of return values.
12457
327f1f6f
JB
124582013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12459
12460 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12461 radix before checking for HMS forms.
12462
67ed8fcd
LL
124632013-03-16 Leo Liu <sdl.web@gmail.com>
12464
12465 * progmodes/scheme.el: Add indentation and font-locking for λ.
12466 (Bug#13975)
12467
78be8b64 124682013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12469
12470 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12471 token before point (bug#13942).
12472
78be8b64 124732013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12474
95b43468 12475 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12476
98e775e6
EZ
124772013-03-16 Eli Zaretskii <eliz@gnu.org>
12478
12479 * startup.el (command-line-normalize-file-name): Fix handling of
12480 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12481 <xfq.free@gmail.com> in
12482 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12483
2edd6029
MA
124842013-03-15 Michael Albinus <michael.albinus@gmx.de>
12485
12486 Sync with Tramp 2.2.7.
12487
12488 * net/trampver.el: Update release number.
12489
d35f5864
TH
124902013-03-14 Tassilo Horn <tsdh@gnu.org>
12491
e903c210 12492 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12493 (doc-view-insert-image): Don't modify overlay associated to
12494 non-live windows, and implement horizontal centering of image in
12495 case it's smaller than the window.
12496 (doc-view-new-window-function): Force redisplay of new windows on
12497 doc-view buffers.
d35f5864 12498
1c4a85ed
KF
124992013-03-13 Karl Fogel <kfogel@red-bean.com>
12500
12501 * saveplace.el (save-place-alist-to-file): Don't sort
12502 `save-place-alist', just pretty-print it (bug#13882).
12503
85b66a21
MA
125042013-03-13 Michael Albinus <michael.albinus@gmx.de>
12505
a020afb9
JB
12506 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12507 Check whether `default-file-name-coding-system' is bound.
12508 It isn't in XEmacs.
85b66a21 12509
175600da
SM
125102013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12511
e7f7cb1a
SM
12512 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12513 backquotes for `obsolete' (bug#13929).
12514
175600da
SM
12515 * international/mule.el (find-auto-coding): Include file name in
12516 obsolescence warning (bug#13922).
12517
ca68a22e
TZ
125182013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12519
12520 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12521 for CFEngine 3-specific indentation.
12522 (cfengine3-indent-line): Use it. Fix up category regex.
12523 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12524
940e5099
SM
125252013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * type-break.el (type-break-file-name):
12528 * textmodes/remember.el (remember-data-file):
12529 * strokes.el (strokes-file):
12530 * shadowfile.el (shadow-initialize):
12531 * saveplace.el (save-place-file):
12532 * ps-bdf.el (bdf-cache-file):
12533 * progmodes/idlwave.el (idlwave-config-directory):
12534 * net/quickurl.el (quickurl-url-file):
12535 * international/kkc.el (kkc-init-file-name):
12536 * ido.el (ido-save-directory-list-file):
12537 * emulation/viper.el (viper-custom-file-name):
12538 * emulation/vip.el (vip-startup-file):
12539 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12540 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12541
cc725808
PE
125422013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12543
12544 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12545 * language/thai-word.el: Switch to UTF-8.
12546
a020afb9 12547See ChangeLog.16 for earlier changes.
e3d51b27
MR
12548
12549;; Local Variables:
12550;; coding: utf-8
e3d51b27
MR
12551;; End:
12552
ba318903 12553 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12554
12555 This file is part of GNU Emacs.
12556
12557 GNU Emacs is free software: you can redistribute it and/or modify
12558 it under the terms of the GNU General Public License as published by
12559 the Free Software Foundation, either version 3 of the License, or
12560 (at your option) any later version.
12561
12562 GNU Emacs is distributed in the hope that it will be useful,
12563 but WITHOUT ANY WARRANTY; without even the implied warranty of
12564 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12565 GNU General Public License for more details.
12566
12567 You should have received a copy of the GNU General Public License
12568 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.