* lisp/emacs-lisp/cl-macs.el: Improve type->predicate mapping.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d4f0427b
SM
12014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4 (cl--macroexp-fboundp): New function.
5 (cl--make-type-test): Use it.
6
1670e27f
GM
72014-01-23 Glenn Morris <rgm@gnu.org>
8
9 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
10 * simple.el (eval-expression): Doc fixes.
11
80efa207
GM
122014-01-22 Glenn Morris <rgm@gnu.org>
13
14 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
15
29afcbab
SM
162014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * emacs-lisp/package.el: Write files silently.
19 (package-autoload-ensure-default-file, package--write-file-no-coding)
20 (package-generate-description-file, package--download-one-archive)
21 (package-install-from-archive): Tell `write-region' to stay quiet.
22 (package-menu-mode, package-menu--print-info): Omit the Archive column
23 if there's only one archive.
24 (package-all-keywords, package--has-keyword-p): Remove dead code.
25
2a5bce4f
GM
262014-01-22 Glenn Morris <rgm@gnu.org>
27
edace89f
GM
28 * version.el (emacs-bzr-version-bzr): Fix typo.
29
2a5bce4f
GM
30 * version.el (emacs-repository-get-version):
31 Check either .bzr or .git, but not both.
32 Make the git case actually use the DIR argument, and return nil
33 rather than the empty string.
983664c0 34 Avoid error if .git exists but the git executable is not found.
2a5bce4f 35
6cb4da45
MR
362014-01-22 Martin Rudalics <rudalics@gmx.at>
37
38 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
39 * window.el (window-total-size, window-size): New argument ROUND.
40 (window--min-delta-1, window-min-delta, window--max-delta-1):
41 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
42 columns a window can shrink (Bug#16430).
43 (fit-window-to-buffer): Simplify code.
44 * term.el (term-window-width): Call window-body-width again.
45
cc0f2ece
GM
462014-01-22 Glenn Morris <rgm@gnu.org>
47
7b997b14
GM
48 * image.el (image-format-suffixes): Doc fix.
49
44e76f9d
GM
50 * international/quail.el (quail-define-package): Doc fix.
51
73c1c6d7
GM
52 * emacs-lisp/authors.el (authors-valid-file-names):
53 (authors-renamed-files-alist): Additions.
7bfc1caa 54
85a5f61f
GM
55 * vc/vc-git.el (vc-git-print-log): Remove --follow;
56 reverts 2014-01-09 change. (Bug#16422)
57
cc0f2ece
GM
58 * calc/calc-embed.el (thing-at-point-looking-at):
59 * emacs-lisp/map-ynp.el (x-popup-dialog):
60 * obsolete/lmenu.el (x-popup-dialog):
61 * emacs-lisp/package.el (url-recreate-url):
62 * mail/mailclient.el (clipboard-kill-ring-save):
63 * subr.el (x-popup-dialog): Update declaration.
64 * mail/rmail.el (rmail-mime-message-p):
65 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
66
00d2a6bb
DC
672014-01-21 Daniel Colascione <dancol@dancol.org>
68
69 * progmodes/sh-script.el (sh--inside-noncommand-expression):
70 Correctly detect when we're inside an arithmetic expansion form
71 containing nested parenthesis.
72 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
73 to detect cases where we shouldn't expand "<<" to a heredoc
74 skeleton.
75
dd9d2e9d
SM
762014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
79 (eldoc--message-command-p): New function.
80 (eldoc-display-message-p): Use it.
81 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
82 message is not automatically erased for us.
83 (eldoc-print-current-symbol-info): Erase previous message, if any.
84
e7d807ca
TH
852014-01-21 Tassilo Horn <tsdh@gnu.org>
86
4ff0a0e5
TH
87 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
88 specify it's an interactive function.
89
dd9d2e9d
SM
90 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
91 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
92 citations with optional arguments.
93
87503791
LL
942014-01-21 Leo Liu <sdl.web@gmail.com>
95
96 * simple.el (read--expression): Don't enable eldoc-mode.
97
6cc750ee
SM
982014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * simple.el (move-beginning-of-line): Make sure we don't move forward
101 (bug#16497).
102
71f16bda
JL
1032014-01-20 Juri Linkov <juri@jurta.org>
104
105 * saveplace.el (toggle-save-place, save-place-to-alist)
106 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
107 'dired-mode) before checking for dired-directory. (Bug#16477)
108
3c5a4839
JL
1092014-01-20 Juri Linkov <juri@jurta.org>
110
111 * indent.el (indent-line-to): Use backward-to-indentation
112 instead of back-to-indentation. (Bug#16461)
113
f952002e
PE
1142014-01-20 Paul Eggert <eggert@cs.ucla.edu>
115
116 Revert some of the CANNOT_DUMP fix (Bug#16494).
117 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
118 but fixing this can wait until after the next release.
119 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
120
93675500
MA
1212014-01-19 Michael Albinus <michael.albinus@gmx.de>
122
123 * eshell/esh-mode.el (eshell-password-prompt-regexp):
124 Use `password-word-equivalents'.
125 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
126 to t. (Bug#5664, Bug#13124)
127
e3af763f
AM
1282014-01-19 Alan Mackenzie <acm@muc.de>
129
130 Bind open-paren-in-column-0-is-defun-start to nil at some entry
131 points.
132 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
133 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
134 * progmodes/cc-mode.el (c-before-change, c-after-change)
135 (c-font-lock-fontify-region): Bind it here.
136
4ff6d92d
MR
1372014-01-19 Martin Rudalics <rudalics@gmx.at>
138
139 * term.el (term-window-width): Call window-text-width instead of
140 window-width (Bug#16470).
141
9a685cf6
PE
1422014-01-18 Paul Eggert <eggert@cs.ucla.edu>
143
144 * simple.el (password-word-equivalents): Remove duplicates.
145 Sort, to make this easier next time.
146 Downcase. Omit ": " after "jelszó".
147
5aa78c2d
JD
1482014-01-18 Jan Djärv <jan.h.d@swipnet.se>
149
150 * term/common-win.el (saved-region-selection): Defvar it.
151 (x-select-text): Set saved-region-selection (Bug#16382).
152
cabb250c
GM
1532014-01-18 Glenn Morris <rgm@gnu.org>
154
155 * emacs-lisp/authors.el (authors-aliases)
156 (authors-renamed-files-alist): Add some entries.
157
a1340440
MA
1582014-01-17 Michael Albinus <michael.albinus@gmx.de>
159
93675500
MA
160 * net/tramp.el (tramp-password-prompt-regexp):
161 Use `password-word-equivalents' if available.
a1340440
MA
162 (tramp-action-password, tramp-process-one-action)
163 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
164
681ce5d2
CY
1652014-01-17 Chong Yidong <cyd@gnu.org>
166
167 * simple.el (password-word-equivalents): New defcustom.
168 * comint.el (comint-password-prompt-regexp): Use it. Bump version
169 to 24.4.
170 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
171 to t. (Bug#13124)
172
fb3d479c
DG
1732014-01-17 Dmitry Gutov <dgutov@yandex.ru>
174
175 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
176 (ruby-align-to-stmt-keywords): Change the default value.
177 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
178 choices.
179 (ruby-smie-rules): Instead of using a hardcoded list of alignable
180 keywords, check against the value of `ruby-alignable-keywords'
181 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
182
0d613483
GM
1832014-01-17 Glenn Morris <rgm@gnu.org>
184
fc23fe2d
GM
185 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
186
0d613483
GM
187 Make M-x authors return zero *Authors Errors* from current logs.
188 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
189 (authors-ignored-files): Add some entries, remove others.
190 (authors-ambiguous-files, authors-valid-file-names):
191 Add some entries.
192 (authors-renamed-files-alist): Add, remove, and adjust entries.
193 (authors-renamed-files-regexps): Add some entries.
194 Remove some very broad ones. Make some entries `lax'.
195 (authors-lax-changelogs): New constant.
196 (authors-disambiguate-file-name): Treat top-level specially.
197 (authors-lax-changelog-p): New function.
198 (authors-canonical-file-name): Check file as written against
199 authors-valid-file-names. Do not special-case etc/.
200 Handle `lax' logs and authors-renamed-files-regexps elements.
201
2dbf4ffd
DG
2022014-01-16 Dmitry Gutov <dgutov@yandex.ru>
203
204 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
205 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
206 callers.
2dbf4ffd 207
87b2a7f2
SM
2082014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
211 Assume we're already in the proper buffer.
212 Inspired by Anders Lindgren <andlind@gmail.com>.
213 (follow-post-command-hook): Call it from the right buffer.
214 (follow-comint-scroll-to-bottom): Adjust call.
215 (follow-all-followers): Use get-buffer-window-list.
216
93acfb0e
DC
2172014-01-15 Daniel Colascione <dancol@dancol.org>
218
219 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
220 `buffer-file-name' in interactive-form so that we don't leave
221 pathless file names in `file-name-history'.
222
ccc6b208
JL
2232014-01-15 Juri Linkov <juri@jurta.org>
224
225 * indent.el (indent-rigidly): Set deactivate-mark to nil
226 in transient indentation mode. (Bug#16438)
227
5c92e00d
DG
2282014-01-15 Dmitry Gutov <dgutov@yandex.ru>
229
230 * emacs-lisp/package.el (package-desc-keywords): New function
231 (Bug#16222).
232 (describe-package-1, package-all-keywords)
233 (package--has-keyword-p): Use it.
234
dac69660
NR
2352014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
236
237 * simple.el (define-alternatives): When creating the
238 COMMAND-alternatives variable, assign COMMAND as its definition
239 name so that `describe-variable' can relocate it.
240
8b63edf8
ML
2412014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
242
243 * font-lock.el (font-lock-keywords): Fix typo in docstring
244 (bug#16307).
245
c6a0b8eb
AM
2462014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
247
248 * ispell.el (ispell-region): Reset `in-comment' for new line
249 instead of wrongly reset `add-coment' (bug#13577).
250
02bf443d
DU
2512014-01-14 Daiki Ueno <ueno@gnu.org>
252
253 * epa-file.el (epa-file-write-region): Encode the region according
254 to `buffer-file-format'. Problem reported at:
255 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
256
fd7fde15
SM
2572014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
260 so it applies in the right buffer (bug#16410).
261
c176054f
DC
2622014-01-13 Daniel Colascione <dancol@dancol.org>
263
264 * textmodes/rst.el (rst-define-key): Provide deprecated
265 keybindings through named functions instead of anonymous ones so
266 that "??" doesn't appear in describe-mode output.
267
e3f33e5d
BG
2682014-01-13 Bastien Guerry <bzg@gnu.org>
269
270 * simple.el (define-alternatives): Call the selected command
271 interactively. When setting `COMMAND--implementation' for the
272 first time, tell the user how to chose another implementation.
273 Enhance the docstring.
274
c055d654
SM
2752014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
278 (log-edit--match-first-line): New function.
279 (log-edit-font-lock-keywords): Use it.
280 (log-edit-mode): Make jit-lock-defer-multiline work.
281
d791cc3b
BG
2822014-01-13 Bastien Guerry <bzg@gnu.org>
283
284 * rect.el (rectangle-mark-mode): When the region is not active,
285 display a message saying that the mark as been set and that
286 rectangle mode is in use.
287 (rectangle--highlight-for-redisplay): Only put an overlay with a
288 visible vertical bar when (display-graphic-p) is non-nil.
289 This partially fixes Bug#16403.
290
3c0c4562
JL
2912014-01-13 Juri Linkov <juri@jurta.org>
292
293 * info.el (Info-find-file): Go to DIR before displaying the error
294 about a nonexistent file if no previous Info file is visited.
295 Use `user-error' instead of `error' for "Info file %s does not exist".
296 (Info-find-node-2): In case of a nonexistent node in unwind forms
297 go to the Top node if there is no previous node to revert to.
298 (Bug#16405)
299
25a700d0
MR
3002014-01-13 Martin Rudalics <rudalics@gmx.at>
301
302 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
303 * window.el (fit-frame-to-buffer): Fix doc-string.
304 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
305 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
306 when avoiding that frame goes partially off-screen.
307 (fit-window-to-buffer): Respect window-min-height/-width
308 (Bug#14096).
309
6ae948d8
SM
3102014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
313 after an empty line.
314
6137cb82
SM
3152014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * net/shr.el (shr-render-region): Autoload.
318
e6344e17
XF
3192014-01-12 Xue Fuqiao <xfq.free@gmail.com>
320
321 * net/eww.el (eww-download-directory): Rename from
322 `eww-download-path' (Bug#16419).
323
3b922c70
LL
3242014-01-12 Leo Liu <sdl.web@gmail.com>
325
326 * dired-x.el (dired-mode-map): Fix last change.
327
328 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
329
4fa51741
PE
3302014-01-12 Paul Eggert <eggert@cs.ucla.edu>
331
332 Spelling fixes.
333 * emacs-lisp/generic.el (generic--normalize-comments):
334 Rename from generic--normalise-comments. All uses changed.
335 * play/bubbles.el (bubbles--neighborhood-score):
336 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
337 (bubbles--neighborhood-available)
338 (bubbles--update-neighborhood-score):
339 Rename from names with 'neighbourhood'. All uses changed.
340
9b335362
LL
3412014-01-12 Leo Liu <sdl.web@gmail.com>
342
343 Re-implement the feature of showing eldoc info after editing.
344 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
345 (eldoc-edit-message-commands): New function.
346 (eldoc-print-after-edit): New variable.
347 (eldoc-pre-command-refresh-echo-area): Emit message only by
348 eldoc-message-commands.
349 (eldoc-mode): Restrict eldoc-message-commands to editing commands
350 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 351 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 352 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 353
e2a095b1
GM
3542014-01-11 Dani Moncayo <dmoncayo@gmail.com>
355 Eric S. Raymond <esr@thyrsus.com>
9685190b 356
841a6d0c 357 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 358 function works correctly in either a Bazaar or Git repo.
0abf4134 359
e2a095b1
GM
3602014-01-11 Eric S. Raymond <esr@thyrsus.com>
361
6137cb82
SM
362 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
363 Goes with removal of the joke manpages from /etc.
9685190b 364
3923e7bd
KH
3652014-01-10 K. Handa <handa@gnu.org>
366
6137cb82
SM
367 * mail/rmail.el (rmail-get-coding-system):
368 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 369
d2f16e93
GM
3702014-01-10 Glenn Morris <rgm@gnu.org>
371
372 * emacs-lisp/authors.el (authors-fixed-entries):
373 Update for files that no longer exist.
374
7e03bb32
ER
3752014-01-10 Eric S. Raymond <esr@thyrsus.com>
376
377 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 378 24.3 (Tested).
7e03bb32 379
dd806710
BB
3802014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
381
382 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
383 and Podfile.
384
ed6ec139
EZ
3852014-01-10 Eli Zaretskii <eliz@gnu.org>
386
387 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
388
cc33cac9
CY
3892014-01-10 Chong Yidong <cyd@gnu.org>
390
6137cb82 391 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 392
d9d836b5
AL
3932014-01-10 Anders Lindgren <andlind@gmail.com>
394
395 * follow.el (follow-cache-command-list): Include right-char and
396 left-char.
397
06827ec8
PE
3982014-01-10 Paul Eggert <eggert@cs.ucla.edu>
399
400 Spelling fixes.
401 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
402 * woman.el (woman-mark-horizontal-position):
403 Rename from woman-mark-horizonal-position. Use changed.
404
458dbf5e
GM
4052014-01-10 Glenn Morris <rgm@gnu.org>
406
dad6fae7
GM
407 * info.el (info-initialize): If running uninstalled, ensure our
408 own info files are always found first, even if INFOPATH is set.
409
458dbf5e
GM
410 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
411
05e0afce
DE
4122014-01-09 David Engster <deng@randomsample.de>
413
414 * emacs-lisp/eieio-custom.el:
415 * emacs-lisp/eieio-opt.el: Set generated autoload file to
416 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
417 * emacs-lisp/eieio.el: Regenerate autoloads.
418
f29778b3
ER
4192014-01-09 Eric S. Raymond <esr@thyrsus.com>
420
421 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 422 following renames. (Bug#8756)
f29778b3 423
684d44ef
SM
4242014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
425
426 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
427 (bug#16382).
428 (activate-mark): Add `no-tmm' argument.
429 (set-mark, push-mark-command): Use it instead of running
430 activate-mark-hook by hand.
431
9475054f
ER
4322014-01-08 Eric S. Raymond <esr@thyrsus.com>
433
434 In preparation for the move to git, sanitize out some
435 Bazaar-specific names.
436
38942b9c
GM
437 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
438
9475054f 439 * version.el (emacs-bzr-version): Name changed to
689c9ca5 440 emacs-repository-version. Obsolete-variable alias made.
9475054f 441 * loadup.el: Follow through on this name change.
a12bf61e 442 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
443 assumption about the version control system in use.
444
0f918d96 4452014-01-08 David Engster <deng@randomsample.de>
abb82152 446
684d44ef
SM
447 * help-fns.el (help-fns-describe-function-functions):
448 New variable to call functions for augmenting help buffers.
abb82152
DE
449 (describe-function-1): Remove explicit calls to
450 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
451 `help-fns--obsolete'. Put them in above new variable instead, and
452 call them through `run-hook-with-args'.
453 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
454 `eieio-describe-class'. Not meant for interactive use anymore,
455 but to augment existing help buffers. Remove optional second
684d44ef
SM
456 argument. Create proper button for file location.
457 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
458 possible.
459 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
460 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
461 (describe-method, describe-generic, eieio-describe-method):
462 Remove aliases.
0f918d96
DE
463 (eieio-help-constructor, eieio-help-generic): Rename from
464 `eieio-describe-constructor' and `eieio-describe-generic', resp.
465 Rewrite to use `insert' in the current buffer and use proper help
466 buttons.
467 (eieio-help-find-method-definition)
468 (eieio-help-find-class-definition): Also accept symbols as
469 arguments.
470 (eieio-help-mode-augmentation-maybee): Remove.
471 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
472 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
473 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 474
136b74c5
PE
4752014-01-08 Paul Eggert <eggert@cs.ucla.edu>
476
477 Spelling fixes.
478 * language/china-util.el (hz-ascii-designation):
479 Rename from hz-ascii-designnation.
480 (hz-ascii-designation): Rename from hz-ascii-designnation.
481 All uses changed.
482
ec6c7de2
SM
4832014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
486 package-alist.
487
d6262c7c
BG
4882014-01-08 Bastien Guerry <bzg@gnu.org>
489
4b9e6087
GM
490 * emacs-lisp/package.el (package-delete):
491 Correctly delete the package from package-alist.
d6262c7c 492
0a3eec32
DU
4932014-01-08 Daiki Ueno <ueno@gnu.org>
494
495 * emacs-lisp/package.el (url-recreate-url): Declare.
496 (url-http-target-url): Declare.
4b9e6087 497 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
498 (package--check-signature): Don't re-signal errors from
499 package--with-work-buffer. Suggested by Stefan Monnier.
500
68f0bb97
BG
5012014-01-07 Bastien Guerry <bzg@gnu.org>
502
503 * minibuffer.el (completion--try-word-completion): When both a
504 hyphen and a space are possible candidates for the character
505 following a word, display both candidates. (Bug#15980)
506
7e1899d7
MR
5072014-01-07 Martin Rudalics <rudalics@gmx.at>
508
509 * window.el (balance-windows-2): While rounding don't give a
510 window more than the remainder. Bug#16351, Bug#16383.
511
0030ec15
GM
5122014-01-07 Glenn Morris <rgm@gnu.org>
513
514 * menu-bar.el (menu-bar-help-extra-packages): Remove.
515 (menu-bar-help-menu): Use view-external-packages instead.
516
2b6b4f20
BG
5172014-01-07 Bastien Guerry <bzg@gnu.org>
518
519 * emacs-lisp/package.el (package-delete): Also delete the package
520 name from `package-alist', not its description only.
521
e9be0a13
GM
5222014-01-07 Glenn Morris <rgm@gnu.org>
523
524 * help.el (view-external-packages):
525 * menu-bar.el (menu-bar-help-extra-packages):
526 Visit efaq.info rather than etc/MORE.STUFF.
527
e4f74da9
JL
5282014-01-07 Juri Linkov <juri@jurta.org>
529
530 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
531 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
532
533 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
534 that shadows RET. (Bug#16342)
535
de7ce2d1
CY
5362014-01-07 Chong Yidong <cyd@gnu.org>
537
538 * isearch.el (isearch-yank-char, isearch-yank-word)
539 (isearch-yank-line): Doc fix.
540
6bdd9204
SM
5412014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
544 * emacs-lisp/elint.el (elint-find-builtins):
545 * emacs-lisp/eldoc.el (eldoc-symbol-function):
546 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
547 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
549 * apropos.el (apropos-safe-documentation):
550 * subr.el (symbol-file): Remove redundant fboundp.
551 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
552
daccca97
BG
5532014-01-06 Bastien Guerry <bzg@gnu.org>
554
555 * hl-line.el (global-hl-line-overlay): Make a local variable.
556 (global-hl-line-overlays): New variable to store all overlays.
557 (global-hl-line-mode): Don't delete overlays from the current
558 buffer when `global-hl-line-sticky-flag' is non-nil.
559 (global-hl-line-highlight): Add new overlays to
560 `global-hl-line-overlays'.
561 (global-hl-line-unhighlight-all): New function to delete all
562 overlays when turning off `global-hl-line-mode'.
563 This fixes Bug#16183.
564
ec00f20f
SM
5652014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * subr.el (set-transient-map): Fix nested case and docstring.
568
a0031f97
TH
5692014-01-06 Tassilo Horn <tsdh@gnu.org>
570
571 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
572 `Texinfo' entry.
573
bf6a77f3
DC
5742014-01-06 Daniel Colascione <dancol@dancol.org>
575
576 Fix defun navigation in vc log view.
577
578 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
579 like `beginning-of-defun'.
580 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
581 log-view-end-of-defun to log-view-end-of-defun-1. Replace
582 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 583 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 584 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 585
d5081c1e
PE
5862014-01-06 Paul Eggert <eggert@cs.ucla.edu>
587
588 Spelling fixes.
589 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
590 * emacs-lisp/debug.el (cancel-debug-on-entry):
591 * epg.el (epg-error-to-string):
592 * files.el (recover-file):
593 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
594 * mail/emacsbug.el (report-emacs-bug-hook):
595 * mail/sendmail.el (mail-recover):
596 * ses.el (ses-yank-resize):
597 * term/ns-win.el (ns-print-buffer):
598 Spelling fixes in diagnostics, mostly for "canceled" with one L.
599 * epg.el (epg-key-capability-alist): Rename from misspelled version.
600 All uses changed.
601 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
602
53f6b148
LL
6032014-01-06 Leo Liu <sdl.web@gmail.com>
604
605 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 606 to avoid shadowing global key. (Bug#16354)
53f6b148 607
b82ace2f
DC
6082014-01-06 Daniel Colascione <dancol@dancol.org>
609
610 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
611 rst-mode.
612
3669b636
MR
6132014-01-05 Martin Rudalics <rudalics@gmx.at>
614
615 * window.el (balance-windows): Add mising t to fix Bug#16351.
616
1a29adc2
LMI
6172014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
618
619 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
620 (bug#16285).
3d95a0f4
LMI
621 (shr-insert): If we have a word that's longer than `shr-width',
622 break after it anyway. Otherwise we'll do no breaking once we get
623 such a long word.
1a29adc2 624
f4018140
KN
6252014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
626
189340f5
KN
627 * net/eww.el (eww): Support single/double quote for search.
628 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
629 (eww-history-quit): Delete and use quit-window.
630 (eww-history-kill): Delete, because it doesn't work well and
631 not necessary.
632 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 633
4e619754
PE
6342014-01-05 Paul Eggert <eggert@cs.ucla.edu>
635
73dbf960
PE
636 Fix misspelling of 'chinese' in rx (Bug#16237).
637 * emacs-lisp/rx.el (rx-categories): Correct spelling of
638 chinese-two-byte.
639
4e619754
PE
640 Change subword regexps back to vars (Bug#16296).
641 * progmodes/subword.el (subword-forward-regexp)
642 (subword-backward-regexp): Change these back to variables.
643
e18b70fc
SM
6442014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
647 syntax-begin-function (bug#16247).
648
0d53f628
CY
6492014-01-03 Chong Yidong <cyd@gnu.org>
650
651 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
652 (advice--docstring): Delete variable.
653 (advice--make-1): Leave the docstring empty.
654 (advice-add): Use function-documentation for advised docstring.
655
656 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
657 Ignore function-documentation property when getting documentation.
658 (ad-activate-advised-definition): Use function-documentation
659 generate the docstring.
660 (ad-make-advised-definition): Don't call
661 ad-make-advised-definition-docstring.
662 (ad-make-advised-definition-docstring, ad-advised-definition-p):
663 Delete functions.
664
665 * progmodes/sql.el (sql-help): Use function-documentation instead
666 of dynamic-docstring-function property. No need to autoload now.
667 (sql--help-docstring): New variable.
668 (sql--make-help-docstring): Use it.
669
6f547583
SM
6702014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
671
6ef9aed8
SM
672 * ielm.el (ielm-tab): Retarget.
673 (ielm-map): Use ielm-tab for tab.
674 (ielm-complete-filename): Use comint-filename-completion.
675 (ielm-complete-symbol): Remove.
676 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
677 remove ielm-tab from completion-at-point-functions (bug#16224).
678
6f547583
SM
679 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
680 Beware signals raised by predicates (bug#16201).
681
a574edbe
RS
6822014-01-02 Richard Stallman <rms@gnu.org>
683
e831604d
RS
684 * dired-aux.el (dired-do-print): Handle printer-name.
685
6f547583
SM
686 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
687 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
688 (rmail-epa-decrypt): Turn off mime processing.
689
690 * mail/rmail.el (rmail-make-in-reply-to-field):
691 Add parens in message-id.
692
693 * mail/rmail.el (rmail-get-coding-function): Variable.
694 (rmail-get-coding-system): Use it.
695
04311a16
KH
6962013-12-31 Eli Zaretskii <eliz@gnu.org>
697
698 * international/mule-conf.el: Unify the charset indian-is13194.
699 (indian-is13194): Specify unify-map.
700
c8d89778
LL
7012013-12-31 Leo Liu <sdl.web@gmail.com>
702
703 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
704
e63ace37
DC
7052013-12-30 Daniel Colascione <dancol@dancol.org>
706
9e0bf19a
DC
707 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
708 of printing a useless when we resume from sleep.
709
e63ace37
DC
710 * progmodes/sh-script.el
711 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
712 in indentation code. (Bug#16233)
713
e9d6c46a
JT
7142013-12-28 João Távora <joaotavora@gmail.com>
715
6f547583
SM
716 * elec-pair.el (electric-pair-post-self-insert-function):
717 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 718
bf7bea5d
EZ
7192013-12-28 Eli Zaretskii <eliz@gnu.org>
720
721 * frame.el (window-system-for-display): Don't allow to create a
722 GUI frame from a -nw session on MS-Windows. (Bug#14739)
723
8449dd1f
GM
7242013-12-28 Glenn Morris <rgm@gnu.org>
725
9c5a5c77
GM
726 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
727 Update callers.
728
729 * apropos.el (apropos-match-face):
730 * calculator.el (calculator-displayer):
731 * dabbrev.el (dabbrev-search-these-buffers-only):
732 * face-remap.el (buffer-face-mode-face):
733 * simple.el (yank-handled-properties):
734 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
735 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
736 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
737 (hashcash-double-spend-database):
738 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
739 (ruby-deep-indent-paren-style):
740 * textmodes/flyspell.el (flyspell-auto-correct-binding):
741 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
742 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
743 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
744 Specify custom types.
745
bb098075
GM
746 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
747 * bookmark.el (bookmark-bmenu-use-header-line):
748 * doc-view.el (doc-view-scale-internally):
749 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
750 * register.el (register-preview-delay):
751 * net/shr.el (shr-bullet):
752 * progmodes/cfengine.el (cfengine-cf-promises)
753 (cfengine-parameters-indent):
754 * progmodes/octave.el (inferior-octave-error-regexp-alist):
755 * textmodes/reftex-vars.el (reftex-label-regexps):
756 * vc/log-edit.el (log-edit-setup-add-author): Add version.
757
9c61f806
GM
758 * net/tls.el (tls-certtool-program): Fix default value.
759
760 * desktop.el (desktop-restore-in-current-display):
761 * newcomment.el (comment-empty-lines):
762 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
763 (idlwave-pad-keyword):
764 * progmodes/tcl.el (tcl-tab-always-indent):
765 * textmodes/reftex-vars.el (reftex-index-default-tag):
766 * elec-pair.el (electric-pair-skip-whitespace):
767 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
768
8449dd1f
GM
769 * emacs-lisp/authors.el (authors-ignored-files)
770 (authors-valid-file-names, authors-renamed-files-alist): Additions.
771
fdadeb49
JC
7722013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
773
72140a0f
GM
774 * shell.el (shell-dynamic-complete-command): Doc fix.
775 (shell--command-completion-data): Shell completion now matches
776 executable filenames from the current buffer's directory, on
da5ecfa9 777 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 778
e572a7d8
LI
7792013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
780
781 * net/shr.el (shr-insert): Don't infloop if the width is zero.
782
7514d3f8
SM
7832013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
784
a4151f3b
SM
785 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
786 (bug#16251).
787
7514d3f8
SM
788 * electric.el: Move all electric-pair-* to elec-pair.el.
789 * elec-pair.el: New file, split from electric.el.
790
ac5758d1
LI
7912013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
792
793 * net/shr.el (shr-find-fill-point): Don't try to fill if the
794 indentation level is larger than the width, because that will
795 infloop.
796 (shr-insert): Fill repeatedly long texts, so that Japanese is
797 formatted correctly (bug#16263).
24a6b65e
LI
798 (shr-find-fill-point): Off by one error in comparison with the
799 indentation.
ac5758d1 800
7514d3f8 8012013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
802
803 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 804 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
805 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
806 if that keeps or improves their balance in buffers.
807 (electric-pair-delete-adjacent-pairs): Delete the pair when
808 backspacing over adjacent matched delimiters.
809 (electric-pair-open-extra-newline): Open extra newline when
810 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
811 (electric--sort-post-self-insertion-hook):
812 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
813 minor-modes are activated.
814 * simple.el (newline-and-indent): Call newline with interactive
815 set to t.
816 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
817 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
818 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
819 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
820 electric-pair-open-newline-between-pairs to nil.
821
fbcc63a3
FEG
8222013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
823
824 * progmodes/python.el: Use lexical-binding.
825 (python-nav-beginning-of-defun): Stop searching ASAP.
826
ed78d16c
XF
8272013-12-25 Xue Fuqiao <xfq.free@gmail.com>
828
829 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
830 Fix interactive spec. Doc fix. (Bug#15754)
831
38b2c142
KY
8322013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
833
834 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 835 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
836 Fix edebug spec (bug#16184).
837
3c856c14
LI
8382013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
839
83fa295c 840 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
841 (shr-insert): Don't infloop if we can't find a good place to break
842 the line (bug#16256).
3c856c14 843
01379221
FEG
8442013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
845
846 * progmodes/python.el:
847 (python-nav--lisp-forward-sexp): New function.
848 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
849 python-nav-lisp-forward-sexp-safe.
850 (python-nav--forward-sexp): New argument SAFE allows switching
851 forward sexp movement behavior for parens.
852 (python-nav-forward-sexp): Throw errors on unterminated parens
853 (Bug#16191).
854 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
855 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
856 (python-shell-buffer-substring):
857 Use `python-nav-forward-sexp-safe'.
01379221 858
99e4926f
LI
8592013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
860
861 * net/shr.el (shr-find-fill-point): Don't break lines before a
862 quotation mark.
c6c20584
LI
863 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
864 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 865 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 866
fec0e828
KN
8672013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
868
869 * net/eww.el (eww-form-textarea): Use a different face for
870 textareas than text input since they have different keymaps
871 (bug#16142).
872
89c868ad
FEG
8732013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
874
7514d3f8
SM
875 * progmodes/python.el (python-nav-beginning-of-statement):
876 Speed up (Bug#15295).
89c868ad 877
eeef121a
LI
8782013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
879
880 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
881 the window configuration.
882
121ea65f
EZ
8832013-12-24 Eli Zaretskii <eliz@gnu.org>
884
885 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
886 we run on MS-Windows or MS-DOS.
887
18cee9ec
MR
8882013-12-24 Martin Rudalics <rudalics@gmx.at>
889
890 * window.el (balance-windows-area): Call window-size instead of
891 window-height and window-width. Bug#16241.
892
58f2b9a5
LI
8932013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
894
895 * net/eww.el (eww-bookmark-quit): Remove.
896 (eww-bookmark-browse): Restore the window configuration when you
897 choose a bookmark (bug#16144).
898
d64b6308
DC
8992013-12-24 Daniel Colascione <dancol@dancol.org>
900
901 * icomplete.el: Remove redundant :group arguments to `defcustom'
902 throughout.
903 (icomplete-show-matches-on-no-input): New customizable variable.
904 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
905 we have something to show.
7514d3f8 906 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 907
0da54898
DC
9082013-12-23 Daniel Colascione <dancol@dancol.org>
909
910 * icomplete.el: Move `provide' to end of file.
911
b90aa4f4
TZ
9122013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
913
914 * net/gnutls.el (gnutls-verify-error): Add version tag.
915
8cd22a08
CY
9162013-12-23 Chong Yidong <cyd@gnu.org>
917
918 * subr.el (set-transient-map): Rename from
919 set-temporary-overlay-map. Doc fix.
920
921 * face-remap.el (text-scale-adjust):
922 * indent.el (indent-rigidly):
923 * kmacro.el (kmacro-call-macro):
924 * minibuffer.el (minibuffer-force-complete):
925 * repeat.el (repeat):
926 * simple.el (universal-argument--mode):
927 * calendar/todo-mode.el (todo-insert-item--next-param):
928 * progmodes/f90.el (f90-abbrev-start): Callers changed.
929
7510b021
CY
930 * indent.el (indent-rigidly): Use substitute-command-keys.
931
72140a0f 9322013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
933
934 * net/eww.el (eww-tag-select): Add text-property to jump to next
935 select field.
e9dc713d 936 (eww): Add non-supported ftp error.
56890ecd 937
1f87a56c
DG
9382013-12-22 Dmitry Gutov <dgutov@yandex.ru>
939
940 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
941 comments. Handle electric indent after typing `?' and `!'.
942
dca38cf9
CY
9432013-12-22 Chong Yidong <cyd@gnu.org>
944
945 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
946 applicable to a frame, fall back on the defface spec.
947 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 948
f2351498
DG
9492013-12-22 Dmitry Gutov <dgutov@yandex.ru>
950
951 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
952 after `{'. We need it after block openers, and it doesn't seem
953 to hurt after hash openers.
954
6cddebc1
DG
9552013-12-22 Dmitry Gutov <dgutov@yandex.ru>
956
957 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
958 extracted from `ruby-smie-rules'.
959 (ruby--electric-indent-chars): New variable.
960 (ruby--electric-indent-p): New function.
961 (ruby-mode): Use `electric-indent-functions' instead of
962 `electric-indent-chars'.
963
65a1da00
DG
9642013-12-22 Dmitry Gutov <dgutov@yandex.ru>
965
966 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
967 docstring.
968 (ruby-smie-rules): Indent plus one level after `=>'.
969
b51ad4cf
RS
9702013-12-21 Richard Stallman <rms@gnu.org>
971
972 * simple.el (newline): Doc fix.
973
72140a0f 9742013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 975
e9dc713d 976 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
977 (eww-history-browse, eww-history-quit, eww-history-kill)
978 (eww-history-mode-map, eww-history-mode): New command and
979 functions to list browser histories.
e9dc713d
JB
980 (eww-form-text): Support text form with disabled
981 and readonly attributes.
982 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 983
5e1901c1
RS
9842013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
985
986 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
987 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
988 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
989 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
990 Use `user-error'.
991 (eww-bookmark-mode-map): Add menu.
992 (eww-render, eww-mode): Use `setq-local'.
993 (eww-tool-bar-map): New variable.
994 (eww-mode): Set `tool-bar-map'.
995 (eww-view-source): Check for `html-mode' with `fboundp'.
996
073d5cfd
LMI
9972013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
998
999 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1000 elements with text inside. Also remove debugging.
1001
41cf3d11
JD
10022013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1003
1004 * cus-start.el (all): Add ns-use-srgb-colorspace.
1005
aac2b673
CY
10062013-12-21 Chong Yidong <cyd@gnu.org>
1007
1008 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1009 undefined. Thus, theme settings for undefined faces do not take
1010 effect until the faces are defined with defface, the same as with
1011 theme variables.
1012
1013 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1014 (face-spec-reset-face): Don't assign extra properties in temacs.
1015 (face-spec-recalc): Apply X resources too.
1016
bacb0e77
CY
10172013-12-21 Chong Yidong <cyd@gnu.org>
1018
1019 * faces.el (face-spec-set):
1020 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1021 * custom.el (defface): Doc fixes (Bug#16203).
1022
77221051
CY
1023 * indent.el (indent-rigidly-map): Add docstring, and move commands
1024 into named functions.
1025 (indent-rigidly-left, indent-rigidly-right)
1026 (indent-rigidly-left-to-tab-stop)
1027 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1028 indentation direction based on bidi direction, and accumulate
1029 sequential commands in a single undo boundary.
1030 (indent-rigidly--pop-undo): New utility function.
1031
e0eb0550
JB
10322013-12-20 Juanma Barranquero <lekktu@gmail.com>
1033
1034 * faces.el (read-face-name): Require crm.el when using crm-separator.
1035
3282bd2e
DC
10362013-12-20 Daniel Colascione <dancol@dancol.org>
1037
1038 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1039 so that we don't reflow comments into the shebang line.
1040
1d42e5b6
JL
10412013-12-20 Juri Linkov <juri@jurta.org>
1042
1043 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1044 a position when `dired-directory' is non-nil. Check integer
1045 positions with `integerp'.
1046 (toggle-save-place, save-places-to-alist): Add check for
1047 `dired-directory'.
1048 (save-place-find-file-hook): Check integer positions with
1049 `integerp'.
1050 (save-place-dired-hook): Use `dired-goto-file' when
1051 `dired-filename' is found in the assoc list. Check integer
1052 positions with `integerp'.
1053 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1054
1055 * dired.el (dired-initial-position-hook): Rename back from
1056 `dired-initial-point-hook'.
1057 (dired-initial-position): Rename `dired-initial-point-hook' to
1058 `dired-initial-position-hook'.
1059 (dired-file-name-at-point): Doc fix. (Bug#15329)
1060
24da7273
JL
10612013-12-20 Juri Linkov <juri@jurta.org>
1062
1063 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1064 (read-regexp-suggestions): New function.
1065 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1066 Use `read-regexp-suggestions'. Add non-empty default to history
1067 for empty input.
1068 (occur-read-regexp-defaults-function): Remove function.
1069 (occur-read-primary-args): Use `regexp-history-last' instead of
1070 `occur-read-regexp-defaults-function'.
1071
1072 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1073 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1074 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1075 `hi-lock-read-regexp-defaults-function'. Doc fix.
1076 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1077 with `find-tag-default-as-symbol-regexp'. Doc fix.
1078 (hi-lock-read-regexp-defaults): Remove function.
1079 (hi-lock-regexp-okay): Add check for null.
1080
1081 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1082 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1083
1084 * subr.el (find-tag-default-as-symbol-regexp): New function.
1085 (find-tag-default-as-regexp): Move symbol regexp formatting to
1086 `find-tag-default-as-symbol-regexp'.
1087
137f57c8
S
10882013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1089
1090 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1091 (Bug#14179)
1092
f3a66082
SB
10932013-12-20 Stephen Berman <stephen.berman@gmx.net>
1094
1095 * calendar/todo-mode.el: New implementation of item insertion
1096 commands and key bindings.
1097 (todo-key-prompt): New face.
1098 (todo-insert-item): New command.
1099 (todo-insert-item--parameters): New defconst, replacing defvar
1100 todo-insertion-commands-args-genlist.
1101 (todo-insert-item--param-key-alist): New defconst, replacing
1102 defvar todo-insertion-commands-arg-key-list.
1103 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1104 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1105 (todo-insert-item--next-param): New functions.
1106 (todo-insert-item--args, todo-insert-item--argleft)
1107 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1108 New variables.
1109 (todo-key-bindings-t): Change binding of "i" from
1110 todo-insertion-map to todo-insert-item.
1111 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1112 (todo-insertion-command-name, todo-insertion-commands-names)
1113 (todo-define-insertion-command, todo-insertion-commands)
1114 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1115
2f99433b
SB
11162013-12-20 Stephen Berman <stephen.berman@gmx.net>
1117
1118 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1119 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1120 eval-when-compile.
1121 (todo-move-category): Allow choosing a non-existing todo file to
1122 move the category to, and create that file.
1123 (todo-default-priority): New user option.
1124 (todo-set-item-priority): Use it.
1125 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1126 (desktop-restore-file-buffer): Declare.
1127 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1128 (todo-modes-set-2): Locally set desktop-save-buffer to
1129 todo-desktop-save-buffer.
1130 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1131 (auto-mode-alist): Add autoload cookie.
1132
131e4695
BB
11332013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1134
1135 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1136 helpers.el was a poor choice of name.
3cbfb935
BB
1137 (string-remove-prefix): New function.
1138 (string-remove-suffix): New function.
131e4695 1139
c44de18d
MR
11402013-12-20 Martin Rudalics <rudalics@gmx.at>
1141
1142 Fix assignment for new window total sizes.
1143 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1144 (window--pixel-to-total-1, window--pixel-to-total):
1145 Fix calculation of new total sizes.
c44de18d 1146
ca65efcc
VS
11472013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1148
1149 * comint.el (comint-output-filter): Fix rear-nonsticky property
1150 placement (Bug#16010).
1151
a9574eb7
CY
11522013-12-20 Chong Yidong <cyd@gnu.org>
1153
1154 * faces.el (read-color): Minor fix for completion function.
1155
b520f210
DG
11562013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1157
e0eb0550
JB
1158 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1159 New option. (Bug#16182)
b520f210
DG
1160 (ruby-smie--indent-to-stmt-p): Use it.
1161 (ruby-smie-rules): Revert the logic in the handling of `when'.
1162 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1163 (ruby-deep-arglist, ruby-deep-indent-paren)
1164 (ruby-deep-indent-paren-style): Update docstrings to note that the
1165 vars don't have any effect with SMIE.
1166
26b75b45
JB
11672013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1168
1169 * calc/calc.el (calc-enter, calc-pop): Use the variable
1170 `calc-context-sensitive-enter'.
1171
cf91cee7
LMI
11722013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1173
1174 * net/shr.el (shr-insert): Protect against infloops in degenerate
1175 tables.
1176
51d971b4
RS
11772013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1178
1179 * progmodes/octave.el (octave): Add link to manual and octave
1180 homepage.
1181 (octave-mode-menu): Link to octave-mode manual.
1182
8c2e462a
LL
11832013-12-20 Leo Liu <sdl.web@gmail.com>
1184
1185 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1186 insertion using skeleton-end-newline. (Bug#16138)
1187
501158bc
JL
11882013-12-20 Juri Linkov <juri@jurta.org>
1189
1190 * replace.el (occur-engine): Use `add-face-text-property'
1191 to add the face property to matches and titles. (Bug#14645)
1192
1193 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1194 the palette of other hi-lock colors.
1195 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1196
50ab1da6
JL
11972013-12-19 Juri Linkov <juri@jurta.org>
1198
1199 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1200 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1201 (minibuffer-history-symbol): Move variable declaration closer to
1202 its usage.
1203
1204 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1205 (Bug#14785)
1206
3d6e95e7
JL
12072013-12-19 Juri Linkov <juri@jurta.org>
1208
1209 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1210 New function.
1211 (log-edit-hook): Add it to :options. (Bug#16170)
1212
b41594fd
JL
12132013-12-19 Juri Linkov <juri@jurta.org>
1214
1215 * simple.el (eval-expression-print-format): Don't check for
1216 command names and the last command. Always display additional
1217 formats of the integer result in the echo area, and insert them
1218 to the current buffer only with a zero prefix arg.
1219 Display character when char-displayable-p is non-nil.
1220 (eval-expression): With a zero prefix arg, set `print-length' and
1221 `print-level' to nil, and insert the integer values from
1222 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1223
1224 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1225 `eval-last-sexp-arg-internal'. Doc fix.
1226 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1227 `eval-last-sexp-print-value'. Doc fix.
1228 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1229 Set `print-length' and `print-level' to nil when arg is zero.
1230 (eval-last-sexp): Doc fix.
1231 (eval-defun-2): Print the integer values from
1232 `eval-expression-print-format' at the end.
1233
1234 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1235 values from `eval-expression-print-format' at the end.
1236
1237 * ielm.el (ielm-eval-input): Print the integer
1238 values from `eval-expression-print-format' at the end.
1239
8f2be364
TZ
12402013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1241
1242 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1243 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1244
2230a6e3
SM
12452013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1248 (hl-line-highlight, global-hl-line-highlight): Use it.
1249 (hl-line-overlay): Use defvar-local.
1250
1269a680
JD
12512013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1252
1253 * term/ns-win.el: Require dnd.
1254 (global-map): Remove drag items.
1255 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1256 (ns-set-background-at-mouse):
1257 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1258 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1259 New functions.
1269a680 1260
049638ad
GM
12612013-12-19 Glenn Morris <rgm@gnu.org>
1262
1263 * emacs-lisp/ert.el (ert-select-tests):
1264 Fix string/symbol mixup. (Bug#16121)
1265
ce41edb4
DG
12662013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1267
1268 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1269 keywords to their parent.
1270
7e1549c9
DG
12712013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1272
1273 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1274 first arg to be a string (fixed dead code), or an operator symbol.
1275 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1276 operator symbols.
1277 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1278 did nothing. Don't respond to `(:after ".")', it will be called
1279 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1280 change anything. Only return indentation for binary operators
1281 when they are hanging. De-dent opening paren when its parent is
1282 `.', otherwise it looks bad when the dot is not at bol or eol
1283 (bug#16182).
1284
3ee4cd64
JL
12852013-12-19 Juri Linkov <juri@jurta.org>
1286
1287 * replace.el (query-replace-read-args): Split a non-negative arg
1288 and a negative arg into separate elements.
1289 (query-replace, query-replace-regexp, replace-string)
1290 (replace-regexp): Add arg `backward'. Doc fix.
1291 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1292 move point to the beginning of the match.
1293 (replace-search, replace-highlight): Use new arg `backward'
1294 to set the value of `isearch-forward'.
1295 (perform-replace): Add arg `backward' and use it to perform
1296 replacement backward. (Bug#14979)
1297
1298 * isearch.el (isearch-query-replace): Use a negative prefix arg
1299 to call `perform-replace' with a non-nil arg `backward'.
1300
0cda6b7b
JL
13012013-12-18 Juri Linkov <juri@jurta.org>
1302
1303 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1304 to the default list. Move `log-edit-show-files' to the end.
1305 Add more available functions to options.
1306 (log-edit): Move default specific settings to
1307 `log-edit-insert-message-template'. Don't move point.
1308 (log-edit-insert-message-template): New function.
1309 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1310 (Bug#16170)
1311
b216f0a6
JL
13122013-12-18 Juri Linkov <juri@jurta.org>
1313
1314 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1315 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1316
1d1c55dc
LL
13172013-12-18 Leo Liu <sdl.web@gmail.com>
1318
e9dc713d
JB
1319 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1320 (Bug#16186)
1d1c55dc 1321
64e4c76e
EZ
13222013-12-18 Eli Zaretskii <eliz@gnu.org>
1323
1324 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1325 formats for displaying file sizes when the -s switch is given.
1326 Instead, compute a separate format for displaying the size in
1327 blocks, which is displayed in addition to the "regular" size.
1328 When -h is given in addition to -s, produce size in blocks in
1329 human-readable form as well. (Bug#16179)
1330
b2984e39
TH
13312013-12-18 Tassilo Horn <tsdh@gnu.org>
1332
2230a6e3
SM
1333 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1334 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1335
50ff2e06
CY
13362013-12-18 Chong Yidong <cyd@gnu.org>
1337
0081bc84
CY
1338 * cus-edit.el (custom-magic-alist): Fix "themed" description
1339 (Bug#14348).
1340
a7ee9424
CY
1341 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1342 is non-nil, do not create a new entry in the symbol's theme-value
1343 or theme-face property; update theme-settings only (Bug#14664).
18874304 1344 (custom-available-themes): Doc fix.
a7ee9424 1345
8f942537
CY
1346 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1347 (Bug#15674).
1348
50ff2e06
CY
1349 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1350
83c60f60
KI
13512013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1352
1353 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1354 (Bug#13914).
1355
e0eb0550 13562013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1357
1358 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1359
1f41ee56
GM
13602013-12-18 Glenn Morris <rgm@gnu.org>
1361
1362 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1363 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1364
e82134b1
LW
13652013-12-18 Le Wang <l26wang@gmail.com>
1366
2230a6e3
SM
1367 * comint.el (comint-previous-matching-input-from-input):
1368 Retain point (Bug#13404).
e82134b1 1369
33f5d4c1
CY
13702013-12-18 Chong Yidong <cyd@gnu.org>
1371
1372 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1373
ccc9f6dc
GM
13742013-12-18 Glenn Morris <rgm@gnu.org>
1375
1376 * mail/emacsbug.el (report-emacs-bug):
1377 Only mention enable-multibyte-characters if non-standard.
1378
33dd8e95
JL
13792013-12-17 Juri Linkov <juri@jurta.org>
1380
1381 * arc-mode.el (archive-extract-by-file): Check if directory exists
1382 before deletion to not show irrelevant errors if it doesn't exist.
1383
7a409b30
JL
13842013-12-17 Juri Linkov <juri@jurta.org>
1385
1386 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1387 (Bug#14751)
1388
1389 * net/eww.el (browse-web): Add alias to `eww'.
1390 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1391 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1392
1393 * net/browse-url.el (browse-url-browser-function): Move `eww'
1394 closer to similar functions.
1395
1396 * startup.el (fancy-startup-screen, fancy-about-screen):
1397 Set browse-url-browser-function to eww-browse-url locally.
1398 (Bug#14751)
1399
2d6b6005
SM
14002013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * window.el (window--pixel-to-total): Remove unused `mini' var.
1403 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1404 (split-window): Remove unused `new' var.
1405 (window--display-buffer): Remove unused `frame' and `delta' vars.
1406 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1407 and display-width'.
1408
cf2b7efc
MR
14092013-12-17 Martin Rudalics <rudalics@gmx.at>
1410
1411 * dired.el (dired-mark-pop-up):
1412 * register.el (register-preview): Don't bind
1413 split-height-threshold here since it's now done in
1414 display-buffer-below-selected.
1415
ed3af8a7 14162013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1417
1418 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1419 xterm-rgb-convert-to-16bit.
1420 (rxvt-register-default-colors): Standardize with
1421 xterm-register-default-colors (Bug#14078).
1422
76da3455
DK
14232013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1424
1425 * simple.el (kill-region): Pass mark first, then point, so that
1426 kill-append works right (Bug#12819).
1427 (copy-region-as-kill, kill-ring-save): Likewise.
1428
2b84d763
LL
14292013-12-17 Leo Liu <sdl.web@gmail.com>
1430
1431 * net/rcirc.el (rcirc-add-face):
1432 * eshell/em-prompt.el (eshell-emit-prompt):
1433 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1434 (Bug#16167)
1435
e2f6a0bc
CY
14362013-12-17 Chong Yidong <cyd@gnu.org>
1437
1438 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1439 Suggested by Xue Fuqiao.
1440
35b249a6
DG
14412013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1442
1443 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1444
e9145444
SM
14452013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * net/shr.el (shr-insert-document): Remove unused var
1448 `shr-preliminary-table-render'.
1449 (shr-rescale-image): Remove unused arg `force'.
1450 (shr-put-image): Update calls accordingly.
1451 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1452
5556c0ce
DG
14532013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1454
1455 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1456 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1457 :close-all, to see which indentation method to use (Bug#16116).
1458 (smie-rules-function): Document the method :close-all.
1459
11bade0a
LMI
14602013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1461
1c4b1e61
LMI
1462 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1463
11bade0a
LMI
1464 * net/eww.el (eww-display-html): If we can't find the anchor we're
1465 looking for, then go to point-min.
1466
8fb8c4f3
PE
14672013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1468
1469 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1470 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1471 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1472 Expand dir too, in case it's relative.
1473
6c8e0ae6
JL
14742013-12-16 Juri Linkov <juri@jurta.org>
1475
1476 * desktop.el (desktop-auto-save-timeout): Change default to
1477 `auto-save-timeout'. Doc fix.
1478 (desktop-save): Skip the timestamp in desktop-saved-frameset
1479 when checking for auto-save changes.
1480 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1481 `desktop-auto-save' is called repeatedly by the idle timer.
1482 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1483 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1484 (Bug#15331)
1485
2178e858
JL
14862013-12-16 Juri Linkov <juri@jurta.org>
1487
1488 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1489 (Bug#16035)
1490 (isearch-pre-command-hook): Check `this-command' for symbolp.
1491
39cb42c6
SM
14922013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1495
5b9b750a
TZ
14962013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1497
1498 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1499 (cfengine3--current-function): Bring in the current-function
1500 functionality from `cfengine3--current-word'.
1501 (cfengine3-completion-function): Bring in the
1502 bounds-of-current-word functionality from
1503 `cfengine3--current-word'.
1504
d144ef06
MR
15052013-12-16 Martin Rudalics <rudalics@gmx.at>
1506
39cb42c6
SM
1507 * window.el (display-buffer-below-selected):
1508 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1509
a8bbe298
LL
15102013-12-16 Leo Liu <sdl.web@gmail.com>
1511
1512 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1513 Remove NOMSG arg and all uses changed.
1514
2013a2f9
SM
15152013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1518 (cua--deactivate-rectangle): Don't deactivate the mark.
1519 (cua-set-rectangle-mark): Don't set mark-active since
1520 cua--activate-rectangle already does it for us.
1521 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1522 non-rectangular region.
1523
1524 * emulation/cua-base.el (cua-repeat-replace-region):
1525 Use with-current-buffer.
1526
1527 * net/gnutls.el: Use cl-lib.
1528 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1529
5ae811dd
TZ
15302013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1531
1532 * emacs-lisp/package.el (package-built-in-p): Support both
1533 built-in and the package.el converted package descriptions.
1534 (package-show-package-list): Allow keywords.
1535 (package-keyword-button-action): Use it instead of
1536 `finder-list-matches'.
1537 (package-menu-filter-interactive): Interactive filtering (by
1538 keyword) function.
1539 (package-menu--generate): Support keywords and change keymappings
1540 and headers when they are given.
1541 (package--has-keyword-p): Helper function.
1542 (package-menu--refresh): Use it.
1543 (package--mapc): Helper function.
1544 (package-all-keywords): Use it.
1545 (package-menu-mode-map): Set up menu items and keybindings to
1546 provide a filtering UI.
1547
31b4827e
TZ
15482013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1549
1550 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1551 the behavior when a certificate fails validation. Defaults to
1552 old behavior: never abort, just warn.
1553 (gnutls-negotiate): Use it.
1554
f93cc74f
MR
15552013-12-14 Martin Rudalics <rudalics@gmx.at>
1556
1557 * window.el (display-buffer-below-selected): Never split window
1558 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1559
f77d7d17
TW
15602013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1561
1562 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1563 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1564
7514d3f8
SM
15652013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1566
aa2bddd7 1567 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1568 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1569
276bc333
DG
15702013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1571
1572 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1573 open-paren tokens when preceded by a open-paren, too.
1574 (ruby-smie-rules): Handle virtual indentation after open-paren
1575 tokens specially. If there is code between it and eol, return the
1576 column where is starts (Bug#16118).
1577
d43957f3
TZ
15782013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1579
a5c1ac0c 1580 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1581 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1582 (cfengine3--current-word): Fix parameters.
1583 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1584 (cfengine3-completion-function, cfengine3--current-function):
1585 Use `assq' for symbols.
d43957f3
TZ
1586 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1587
06a4f110
GM
15882013-12-13 Glenn Morris <rgm@gnu.org>
1589
1590 * loadup.el (load-path): Warn if site-load or site-init changes it.
1591 No more need to reset it when bootstrapping.
1592
978a5fda
TZ
15932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1594
1595 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1596 locations for cf-promises.
1597 (cfengine-mode-syntax-functions-regex): New caching variable.
1598 (cfengine3-fallback-syntax): Fallback syntax for cases where
1599 cf-promises doesn't run.
1600 (cfengine3--current-word): Reimplement using
1601 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1602 (cfengine3-completion-function, cfengine3--current-function):
1603 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1604 (cfengine3-clear-syntax-cache): New function.
1605 (cfengine3-make-syntax-cache): Simplify and create
1606 `cfengine-mode-syntax-functions-regex' on demand.
1607 (cfengine3-format-function-docstring): Don't call
1608 `cfengine3-make-syntax-cache' explicitly.
1609
71e6691e
MR
16102013-12-13 Martin Rudalics <rudalics@gmx.at>
1611
1612 Fix windmove-find-other-window broken after pixelwise resizing
1613 (Bug#16017).
1614 * windmove.el (windmove-other-window-loc): Revert change from
1615 2013-12-04.
1616 (windmove-find-other-window): Call window-in-direction.
1617 * window.el (window-in-direction): New arguments SIGN, WRAP and
1618 MINI to emulate original windmove-find-other-window behavior.
1619
84c73ba0
DG
16202013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1621
1622 * simple.el (blink-matching--overlay): New variable.
1623 (blink-matching-open): Instead of moving point, highlight the
1624 matching paren with an overlay
1625 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1626
1627 * faces.el (paren-showing-faces, show-paren-match)
1628 (show-paren-mismatch): Move from paren.el.
1629
b9e20952
LL
16302013-12-13 Leo Liu <sdl.web@gmail.com>
1631
1632 * indent.el (indent-region): Disable progress reporter in
1633 minibuffer. (Bug#16108)
1634
1635 * bindings.el (visual-order-cursor-movement): Fix version.
1636
ce030451
FEG
16372013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1638
1639 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1640 Also match after beginning of line.
1641 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1642 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1643
4a9c6865
JL
16442013-12-13 Juri Linkov <juri@jurta.org>
1645
1646 * simple.el <Keypad support>: Remove key bindings duplicated
1647 with bindings.el. (Bug#14397)
1648
2bc170c3
JL
16492013-12-13 Juri Linkov <juri@jurta.org>
1650
1651 * comint.el (comint-mode-map): Replace `delete-char' with
1652 `delete-forward-char'. (Bug#16109)
1653
bc9222c9
FEG
16542013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1655
aa2bddd7 1656 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1657 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1658
cb3a1380
SM
16592013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1662 (advice--make): Pay attention to `depth'.
1663 (advice--make-1): Don't autoload commands eagerly.
1664 * emacs-lisp/elp.el (elp-instrument-function):
1665 * emacs-lisp/trace.el (trace-function-internal):
1666 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1667
1668 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1669
01633a17
EZ
16702013-12-12 Eli Zaretskii <eliz@gnu.org>
1671
1672 * term/w32-win.el (w32-handle-dropped-file):
1673 * startup.el (normal-top-level):
1674 * net/browse-url.el (browse-url-file-url):
1675 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1676 decode file names using 'utf-8' rather than
1677 file-name-coding-system.
1678
09faee72
FEG
16792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1680
1681 * progmodes/python.el (python-indent-context)
1682 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1683 behavior for comment blocks. (Bug#15916)
09faee72 1684
f4f84024 16852013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1686
cb3a1380
SM
1687 * progmodes/python.el (python-indent-calculate-indentation):
1688 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1689 operators when they are just string constituents. (Bug#15812)
1690
d5ccb7be
JL
16912013-12-12 Juri Linkov <juri@jurta.org>
1692
1693 * uniquify.el (uniquify-buffer-name-style): Change default to
1694 `post-forward-angle-brackets'.
1695
1696 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1697 `uniquify'. Change default to `post-forward-angle-brackets'.
1698
7b3f5679
GM
16992013-12-11 Glenn Morris <rgm@gnu.org>
1700
1701 * emacs-lisp/package.el (finder-list-matches):
1702 Autoload rather than falsely declaring.
1703
f4fe8fdd
TZ
17042013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1705
1706 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1707 (eww-mode-map): Use them.
1708
3c29190f
MR
17092013-12-11 Martin Rudalics <rudalics@gmx.at>
1710
1711 * window.el (display-buffer-in-side-window): Fix doc-string
1712 (Bug#16115).
1713
0cd616a2
JB
17142013-12-11 Juanma Barranquero <lekktu@gmail.com>
1715
1716 * vc/vc-git.el: Silence byte-compiler warnings.
1717 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1718 (log-edit-set-header): Declare.
1719
3ef8e0d1
EZ
17202013-12-11 Eli Zaretskii <eliz@gnu.org>
1721
1722 * Makefile.in (custom-deps, finder-data): Run output file names
1723 through unmsys--file-name. (Bug#16099)
1724
afdadaf7
SM
17252013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1726
7ae3ae39 1727 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1728 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1729
5b4f37ab
SM
1730 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1731 instead of deleting the selection "by hand" (bug#16098).
1732 Rely on insert-for-yank to yank rectangles.
1733 (cua-highlight-region-shift-only): Mark obsolete.
1734 (cua-mode): Don't enable/disable transient-mark-mode,
1735 shift-select-mode (cua-mode works both with and without them), and
1736 pc-selection-mode (obsolete).
1737 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1738 (cua--deactivate-rectangle): Deactivate it.
1739
4b72c12b
SM
1740 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1741 (delete-selection-helper): Make sure yank starts at the top of the
1742 deleted region.
1743 (minibuffer-keyboard-quit): Use region-active-p.
1744
e82af72d
SM
1745 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1746
afdadaf7
SM
1747 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1748 to `delete' (bug#16109).
1749
ed4bc201
RS
17502013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1751
1752 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1753 info manual and show keybindings and set `:group' keyword.
1754
bb8097b9
JL
17552013-12-11 Juri Linkov <juri@jurta.org>
1756
1757 * delsel.el (delete-active-region): Let-bind `this-command'
1758 to prevent `kill-region' from changing its original value.
1759 (delete-selection-helper): Handle `overwrite-mode' for the type
1760 `kill' exactly the same way as for the type `t'.
1761 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1762 Support more commands. (Bug#13312)
1763
c1916ff5
JL
17642013-12-11 Juri Linkov <juri@jurta.org>
1765
1766 * bindings.el: Map kp keys to non-kp keys systematically
1767 with basic modifiers control, meta and shift. (Bug#14397)
1768
7514d3f8 17692013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1770
1771 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1772 "Close browser" menu items. Fix wrong function of "List
1773 bookmarks".
1774
4cc51eaf
JL
17752013-12-11 Juri Linkov <juri@jurta.org>
1776
1777 * misearch.el (multi-isearch-buffers): Set the value of
1778 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1779 arg of isearch-forward to t.
1780 (multi-isearch-buffers-regexp): Set the value of
1781 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1782 arg of isearch-forward-regexp to t.
1783 (multi-isearch-files): Set the value of
1784 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1785 arg of isearch-forward to t.
1786 (multi-isearch-files-regexp): Set the value of
1787 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1788 arg of isearch-forward-regexp to t. (Bug#16035)
1789
1790 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1791 arg of isearch-forward to t.
1792 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1793 arg of isearch-forward-regexp to t.
1794 (dired-isearch-filter-filenames): Remove unnecessary check for
1795 `dired-isearch-filenames'.
1796
1797 * comint.el (comint-history-isearch-backward):
1798 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1799 (comint-history-isearch-backward-regexp):
1800 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1801
ceac12b7
EZ
18022013-12-10 Eli Zaretskii <eliz@gnu.org>
1803
1804 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1805 unmsys--file-name. (Bug#16099)
1806
5a565782
TZ
18072013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1808
cb3a1380
SM
1809 * emacs-lisp/package.el (package-keyword-button-action):
1810 Remove finder.el require dependency.
5a565782 1811
a81fc7ba
TZ
18122013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1813
1814 * emacs-lisp/package.el: Require finder.el.
1815 (describe-package-1): Add keyword buttons.
1816 (package-make-button): New convenience function.
1817 (package-keyword-button-action): Keyword button action using
e0eb0550 1818 `finder-list-matches'.
a81fc7ba 1819
6aaca951
EZ
18202013-12-09 Eli Zaretskii <eliz@gnu.org>
1821
1822 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1823 last commit.
1824
a1099a91
MA
18252013-12-09 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1828 symlinked files.
1829
8212d9c0
DG
18302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1831
1832 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1833 after the end of a percent literal.
1834
8f48d131
CD
18352013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1836
cb3a1380
SM
1837 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1838 Handle caret-delimited strings (Bug#16079).
8f48d131 1839
ff8c9764
DG
18402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1841
cb3a1380
SM
1842 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1843 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1844 `ruby-parse-partial' (Bug#16078).
1845
d64643b4
LL
18462013-12-09 Leo Liu <sdl.web@gmail.com>
1847
1848 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1849
47e59c66
DG
18502013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1853 (js-switch-indent-offset): New option.
1854 (js--proper-indentation): Use it. And handle the case when
1855 "default" is actually a key in an object literal.
1856 (js--same-line): New function.
1857 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1858 (js--indent-in-array-comp, js--array-comp-indentation):
1859 New functions.
47e59c66
DG
1860 (js--proper-indentation): Use them, to handle array comprehension
1861 continuations.
1862
974ebc9c
LL
18632013-12-08 Leo Liu <sdl.web@gmail.com>
1864
1865 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1866 (flymake-make-overlay): Remove arg MOUSE-FACE.
1867 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1868
27262e39
SM
18692013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1872 New function.
1873 (redisplay-highlight-region-function): Use it.
1874
1875 * emulation/cua-base.el (cua--explicit-region-start)
1876 (cua--last-region-shifted): Remove.
1877 (cua--deactivate): Use deactivate-mark.
1878 (cua--pre-command-handler-1): Don't handle shift-selection.
1879 (cua--post-command-handler-1): Don't change transient-mark-mode.
1880 (cua--select-keymaps): Use region-active-p rather than
1881 cua--explicit-region-start or cua--last-region-shifted.
1882 (cua-mode): Enable shift-select-mode.
1883
6407822c
LL
18842013-12-08 Leo Liu <sdl.web@gmail.com>
1885
27262e39
SM
1886 * progmodes/flymake.el (flymake-popup-current-error-menu):
1887 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1888 (flymake-posn-at-point-as-event, flymake-popup-menu)
1889 (flymake-make-emacs-menu): Remove. (Bug#16077)
1890
00a2b823
SM
18912013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1892
02033d49
SM
1893 * rect.el (rectangle-mark-mode): Activate mark even if
1894 transient-mark-mode is off (bug#16066).
1895 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1896 is > mark and at bolp.
1897
6f8dfccf
SM
1898 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1899 (region-extract-function): Use it.
1900 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1901 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1902 Delete functions.
1903 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1904 kill-ring-save, kill-region, delete-char, delete-forward-char.
1905 Ignore self-insert-iso.
1906
1907 * emulation/cua-gmrk.el (cua--init-global-mark):
1908 Ignore `self-insert-iso'.
1909
1910 * emulation/cua-base.el (cua--prefix-copy-handler)
1911 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1912 checking cua--rectangle.
1913 (cua-delete-region): Use region-extract-function.
1914 (cua-replace-region): Delete function.
1915 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1916 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1917 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1918 (cua--init-keymaps): Don't remap delete-selection commands.
1919 (cua-mode): Use delete-selection-mode instead of rolling our own
1920 (bug#16085).
1921
1922 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1923 Obey region-extract-function.
1924
00a2b823
SM
1925 Make registers and delete-selection-mode work on rectangles.
1926 * register.el (describe-register-1): Don't modify the register's value.
1927 (copy-to-register): Obey region-extract-function.
1928 * delsel.el (delete-active-region): Obey region-extract-function.
1929
a92fa5f1
LL
19302013-12-08 Leo Liu <sdl.web@gmail.com>
1931
1932 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1933 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1934 (flymake-compilation-prevents-syntax-check)
1935 (flymake-start-syntax-check-on-newline)
1936 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1937 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1938 (flymake-xml-program, flymake-master-file-dirs)
1939 (flymake-master-file-count-limit)
1940 (flymake-allowed-file-name-masks): Relocate.
1941 (flymake-makehash, flymake-float-time)
1942 (flymake-replace-regexp-in-string, flymake-split-string)
1943 (flymake-get-temp-dir): Remove.
1944 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1945 (flymake-current-row, flymake-selected-frame)
1946 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1947 related functions. (Bug#16077)
1948
73c8ceea
BB
19492013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1950
1951 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1952
faec28d9
TH
19532013-12-07 Tassilo Horn <tsdh@gnu.org>
1954
1955 * help-fns.el (describe-function-1): Use new advice-* functions
1956 rather than old ad-* functions. Fix function type description and
1957 source links for advised functions and subrs.
1958
e330b646
LMI
19592013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1960
00a2b823 1961 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1962
4803595d
MA
19632013-12-06 Michael Albinus <michael.albinus@gmx.de>
1964
1965 * progmodes/compile.el (compilation-start):
1966 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1967
1968 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1969 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1970
fa834a93
DG
19712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1972
00a2b823
SM
1973 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1974 Touch up the last change.
fa834a93 1975
b2856a6f
LL
19762013-12-06 Leo Liu <sdl.web@gmail.com>
1977
1978 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1979 (inferior-octave-startup): Always use "octave> " for prompt.
1980 (octave-goto-function-definition)
1981 (octave-sync-function-file-names)
1982 (octave-find-definition-default-filename): Remove redundant backquotes.
1983
af67e79a
DG
19842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1985
1986 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1987 syntax for `?'.
1988 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1989 where appropriate already.
1990 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1991 end of method names (Bug#15874).
1992
bf093209
JL
19932013-12-06 Juri Linkov <juri@jurta.org>
1994
1995 * isearch.el (isearch--saved-overriding-local-map):
1996 New internal variable.
1997 (isearch-mode): Set it to the initial value of
1998 `overriding-terminal-local-map'.
1999 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2000 with `isearch--saved-overriding-local-map'. (Bug#16035)
2001
16588fad
DG
20022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2003
00a2b823
SM
2004 * progmodes/octave.el (inferior-octave-completion-table):
2005 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2006 (Bug#11906). Update all references.
2007
2008 * minibuffer.el (completion-table-with-cache): New function.
2009
bf4906d7
CD
20102013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2011
2012 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2013
ff69c18f
TZ
20142013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2015
2016 * net/eww.el (eww-current-source): New variable to store page
2017 source.
2018 (eww-display-html, eww-mode, eww-save-history)
2019 (eww-restore-history): Use it.
2020 (eww-view-source): New command to view page source.
2021 Opportunistically uses `html-mode' to highlight the buffer.
2022 (eww-mode-map): Install it.
2023
b85eff45
MA
20242013-12-05 Michael Albinus <michael.albinus@gmx.de>
2025
2026 * net/dbus.el (dbus-unregister-service)
2027 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2028 Fix docstring.
2029 (dbus-unregister-service): Skip :serial entries in
2030 `dbus-registered-objects-table'.
2031 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2032
39eb0899
TZ
20332013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2034
2035 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2036 around keywords with extra `split-string' argument.
2037
456760a5
MR
20382013-12-04 Martin Rudalics <rudalics@gmx.at>
2039
2040 * windmove.el (windmove-other-window-loc): Handle navigation
2041 between windows (excluding the minibuffer window - Bug#16017).
2042
81961e4c
MA
20432013-12-04 Michael Albinus <michael.albinus@gmx.de>
2044
2045 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2046 in D-Bus type syntax.
2047 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2048 preserve unibyte strings. (Bug#16048)
2049
8497f938
SM
20502013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2053 Call force-mode-line-update is the proper buffer (bug#16042).
2054
dda61916
DG
20552013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2056
2057 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2058 `log-edit-remember-comment', make argument optional. Adjust all
2059 callers.
2060 (log-edit-mode): Add `log-edit-remember-comment' to
2061 `kill-buffer-hook' locally.
2062 (log-edit-kill-buffer): Don't remember comment explicitly since
2063 the buffer is killed anyway.
2064
c085e5b9
JL
20652013-12-04 Juri Linkov <juri@jurta.org>
2066
2067 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2068 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2069
e0eb0550 20702013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2071
2072 * notifications.el (notifications-close-notification): Call the
81961e4c 2073 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2074
39fa32d6
KY
20752013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2076
2077 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2078
9139632a
JL
20792013-12-03 Juri Linkov <juri@jurta.org>
2080
2081 * progmodes/compile.el (compilation-start): Rename window alist
2082 entry `no-display-ok' to `allow-no-window'.
2083
2084 * simple.el (shell-command): Add window alist entry
2085 `allow-no-window' to `display-buffer'.
2086 (async-shell-command): Doc fix.
2087
2088 * window.el (display-buffer-no-window): New action function.
2089 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2090
0f457a37
DG
20912013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2092
2093 * vc/log-edit.el (log-edit-set-header): Extract from
2094 `log-edit-toggle-header'.
2095 (log-edit-extract-headers): Separate the summary, when extracted
2096 from header, from the rest of the message with an empty line.
2097
2098 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2099 line, if present, to the Summary header.
2100
0962f376
SM
21012013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2104 in current-buffer (bug#16029).
2105
f345395c
HE
21062013-12-02 Helmut Eller <eller.helmut@gmail.com>
2107
2108 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2109 (debugger-mode-map): Bind it.
2110 (debugger--backtrace-base): New function.
2111 (debugger-eval-expression): Use it.
2112 (debugger-frame-number): Skip local vars when present.
2113 (debugger--locals-visible-p, debugger--insert-locals)
2114 (debugger--show-locals, debugger--hide-locals): New functions.
2115
a8a15d9d
MA
21162013-12-02 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2119 "LC_ALL".
2120 (tramp-get-remote-locale): New defun.
2121 (tramp-open-connection-setup-interactive-shell): Use it.
2122
0518b057
LL
21232013-12-02 Leo Liu <sdl.web@gmail.com>
2124
2125 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2126
2127 * progmodes/sh-script.el (sh-shell-process):
2128 * progmodes/octave.el (inferior-octave-process-live-p):
2129 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2130 (gdb-inferior-io-sentinel):
2131 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2132
3adc9c6d
DG
21332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2136 `save-selected-window' to `log-edit-hide-buf'. This makes
2137 `log-edit-show-files' idempotent.
2138 (log-edit-show-files): Mark the new window as dedicated.
2139
47e8b74e
DG
21402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2141
2142 * vc/log-edit.el (log-edit-mode-map): Add binding for
2143 `log-edit-kill-biffer'.
2144 (log-edit-hide-buf): Add a FIXME comment.
2145 (log-edit-add-new-comment): New function, extracted from
2146 `log-edit-done'.
2147 (log-edit-done, log-edit-add-to-changelog): Use it.
2148 (log-edit-kill-buffer): New command.
2149
1f6e1bb0
LMI
21502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2151
2152 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2153 instead of killing the buffer.
2154
fb651d15
SM
21552013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2158
8feacce0
RS
21592013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2160
fb651d15 2161 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2162 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2163 (eww-form-checkbox, eww-toggle-checkbox):
2164 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2165
e0eb0550 2166 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2167 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2168 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2169 no :src tag was specified.
2170
fb651d15 2171 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2172 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2173 Use \\` to match beginning of string instead of ^.
2174 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2175 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2176
177948a5
RS
2177 * net/shr.el (shr-tag-video): Display content for video if no
2178 poster is available.
eb2dd24d 2179 (shr-tag-audio): Add support for <audio> tag.
177948a5 2180
e0eb0550 2181 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2182 (eww-process-text-input): Treat input types in
2183 `eww-text-input-types' as text.
2184
8feacce0
RS
2185 * net/shr.el (shr-tag-table): Fix comment typo.
2186
513562a1
LMI
21872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2188
2189 * net/eww.el (eww-follow-link): New command to avoid reloading
2190 pages when we follow #target links (bug#15243).
de8a5633 2191 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2192
9dd99753
KN
21932013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2194
2195 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2196 forms.
2197
3e9876de
LMI
21982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2199
2200 * net/eww.el (eww-restore-history): Update the window title after
2201 moving in the history.
ab6dea82 2202 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2203
52789f7f
DG
22042013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2205
2206 * vc/log-edit.el (log-edit-mode-map): Add binding for
2207 `log-edit-beginning-of-line'.
2208 (log-edit-setup-add-author): New user option.
2209 (log-edit-beginning-of-line): New command.
2210 (log-edit): Move major mode call above the contents setup so that
2211 the local variable values are already applied.
2212 (log-edit): Only insert "Author: " when
2213 `log-edit-setup-add-author' is non-nil.
2214 (log-edit): When SETUP is non-nil, position point after ": "
2215 instead of point-min.
2216
2e6710c3
GM
22172013-12-01 Glenn Morris <rgm@gnu.org>
2218
2219 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2220
fadec31f
EZ
22212013-11-30 Eli Zaretskii <eliz@gnu.org>
2222
2223 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2224 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2225 visible. (Bug#16014)
2226
10634b40 22272013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2228
2229 Support resizing frames and windows pixelwise.
2230 * cus-start.el (frame-resize-pixelwise)
2231 (window-resize-pixelwise): New entries.
2232 * emacs-lisp/debug.el (debug): Use window-total-height instead
2233 of window-total-size.
2234 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2235 * help.el (describe-bindings-internal): Call help-buffer
2236 (temp-buffer-max-width): New option.
2237 (resize-temp-buffer-window, help-window-setup)
2238 (with-help-window): Rewrite.
2239 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2240 dragging dividers.
2241 * window.el (frame-char-size, window-min-pixel-height)
2242 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2243 (window-min-pixel-width, window-safe-min-pixel-size)
2244 (window-combination-p, window-safe-min-size)
2245 (window-resizable-p, window--size-to-pixel)
2246 (window--pixel-to-size, window--resize-apply-p): New functions.
2247 (window-safe-min-height): Fix doc-string.
2248 (window-size, window-min-size, window--min-size-1)
2249 (window-sizable, window-sizable-p, window--min-delta-1)
2250 (window-min-delta, window--max-delta-1, window-max-delta)
2251 (window--resizable, window--resizable-p, window-resizable)
2252 (window-full-height-p, window-full-width-p, window-at-side-p)
2253 (window--in-direction-2, window-in-direction)
2254 (window--resize-reset-1, window--resize-mini-window)
2255 (window-resize, window-resize-no-error)
2256 (window--resize-child-windows-normal)
2257 (window--resize-child-windows, window--resize-siblings)
2258 (window--resize-this-window, window--resize-root-window)
2259 (window--resize-root-window-vertically)
2260 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2261 (maximize-window, minimize-window, delete-window)
2262 (quit-restore-window, window-split-min-size, split-window)
2263 (balance-windows-2, balance-windows)
2264 (balance-windows-area-adjust, balance-windows-area)
2265 (window--state-get-1, window-state-get, window--state-put-1)
2266 (window--state-put-2, window-state-put)
fb651d15
SM
2267 (display-buffer-record-window, window--display-buffer):
2268 Make functions handle pixelwise sizing of windows.
880e6158 2269 (display-buffer--action-function-custom-type)
fb651d15
SM
2270 (display-buffer-fallback-action):
2271 Add display-buffer-in-previous-window.
880e6158
MR
2272 (display-buffer-use-some-window): Resize window to height it had
2273 before.
2274 (fit-window-to-buffer-horizontally): New option.
2275 (fit-frame-to-buffer): Describe new values.
2276 (fit-frame-to-buffer-bottom-margin): Replace with
2277 fit-frame-to-buffer-margins.
2278 (window--sanitize-margin): New function.
2279 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2280 using window-text-pixel-size.
2281
f9b697dd
GM
22822013-11-30 Glenn Morris <rgm@gnu.org>
2283
3e2fb4db
GM
2284 * emacs-lisp/bytecomp.el (byte-compile-form):
2285 Make the `interactive-only' warning like the `obsolete' one.
2286 * comint.el (comint-run):
2287 * files.el (insert-file-literally, insert-file):
2288 * replace.el (replace-string, replace-regexp):
2289 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2290 (goto-line, insert-buffer, next-line, previous-line):
2291 Tweak `interactive-only' spec.
2292
f9b697dd
GM
2293 Stop keeping (most) generated cedet grammar files in the repository.
2294 * Makefile.in (semantic): New.
2295 (compile-main): Depend on semantic.
2296
da048127
SM
22972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2298
7784b779
SM
2299 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2300 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2301
4e36a6a6
SM
2302 * uniquify.el (uniquify-buffer-name-style): Change default.
2303
2304 * loadup.el: Preload "uniquify".
2305
e0ba1308
SM
2306 * time.el (display-time-update): Update all mode lines (bug#15999).
2307
da048127
SM
2308 * electric.el (electric-indent-mode): Enable by default.
2309 * loadup.el: Preload "electric".
2310
015b3b3e
BB
23112013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2312
2313 * emacs-lisp/helpers.el (string-empty-p): New function.
2314 (string-blank-p): New function.
2315
7efb806d
AP
23162013-11-29 Andreas Politz <politza@hochschule-trier.de>
2317
2318 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2319 (Bug#14029).
2320
c8f0efc2
AP
23212013-11-29 Andreas Politz <politza@fh-trier.de>
2322 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2323 allow non-lambda lists as functions.
2324 (imenu--in-alist): Don't recurse into non-subalists.
2325 (imenu): Don't pass function itself as an argument (Bug#14029).
2326
bd15d9d1
SM
23272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * progmodes/python.el (python-mode-map): Remove binding for ":".
2330 (python-indent-electric-colon): Remove command.
2331 (python-indent-post-self-insert-function): Integrate the previous code
2332 of python-indent-electric-colon. Make it conditional on
2333 electric-indent-mode.
2334 (python-mode): Add ?: to electric-indent-chars.
2335 Move python-indent-post-self-insert-function to the end of
2336 post-self-insert-hook.
2337
1b10adb6
SM
23382013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2339
655ab9a3
SM
2340 * doc-view.el (doc-view-goto-page): Update mode-line.
2341
1b10adb6
SM
2342 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2343
7e3bf78c
GM
23442013-11-27 Glenn Morris <rgm@gnu.org>
2345
2346 * international/charprop.el, international/uni-bidi.el:
2347 * international/uni-category.el, international/uni-combining.el:
2348 * international/uni-comment.el, international/uni-decimal.el:
2349 * international/uni-decomposition.el, international/uni-digit.el:
2350 * international/uni-lowercase.el, international/uni-mirrored.el:
2351 * international/uni-name.el, international/uni-numeric.el:
2352 * international/uni-old-name.el, international/uni-titlecase.el:
2353 * international/uni-uppercase.el:
2354 Remove generated files from VCS repository.
2355
fb6a5d68
EZ
23562013-11-27 Eli Zaretskii <eliz@gnu.org>
2357
2358 * filenotify.el (file-notify-add-watch): Don't special-case
2359 w32notify when computing the directory to watch.
2360
cb6c95a3
GM
23612013-11-27 Glenn Morris <rgm@gnu.org>
2362
20372d0c
GM
2363 Make bootstrap without generated uni-*.el files possible again.
2364 * loadup.el: Update command-line-args checking for unidata-gen.
2365 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2366 * composite.el, international/characters.el:
2367 Handle unicode tables being undefined.
2368
52d6635f 2369 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2370 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2371 (compile-main): Depend on leim rule.
2372 (leim): New rule.
2373 * loadup.el: Move leim-list.el to leim/ subdirectory.
2374 * startup.el (normal-top-level): No more leim directory.
2375 * international/ja-dic-cnv.el (skkdic-convert):
2376 Disable version-control and autoloads in output files.
2377 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2378 Disable version-control and autoloads in output files.
2379 * leim/quail: Move here from ../leim.
2380 * leim/quail/hangul.el (hangul-input-method-activate):
2381 Add autoload cookie.
2382 (generated-autoload-load-name): Set file-local value.
2383 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2384 (generated-autoload-load-name): Set file-local value.
2385
7514d3f8 23862013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2387
e0eb0550 2388 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2389 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2390 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2391
0e2c793f
EZ
23922013-11-26 Eli Zaretskii <eliz@gnu.org>
2393
2394 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2395 reading output from Diff on MS-Windows and MS-DOS.
2396
447bdcb8
BB
23972013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2398
2399 * emacs-lisp/helpers.el (string-reverse): New function.
2400
5fbf6856
MA
24012013-11-26 Michael Albinus <michael.albinus@gmx.de>
2402
2403 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2404 names on MS Windows, like "/[::1]:".
2405
2406 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2407 SWITCHES.
2408
624780f0
GM
24092013-11-26 Glenn Morris <rgm@gnu.org>
2410
0bf3f0fa
GM
2411 * progmodes/python.el (python-indent-guess-indent-offset):
2412 Avoid corner-case error. (Bug#15975)
2413
624780f0
GM
2414 Preload leim-list.el. (Bug#4789)
2415 * loadup.el: Load leim-list.el when found.
2416 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2417
4301875e 24182013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2419
2420 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2421
4301875e
BB
2422 * emacs-lisp/helpers.el (string-join): New function.
2423
1633a815 24242013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2425
2426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2427 Mark as obsolete and replace it with a symbol property.
2428 (byte-compile-form): Use new 'interactive-only property.
2429 * comint.el, files.el, replace.el, simple.el:
2430 Apply new 'interactive-only properly.
2431
00139435
MR
24322013-11-25 Martin Rudalics <rudalics@gmx.at>
2433
2434 * window.el (display-buffer-at-bottom): Make sure that
2435 split-window-sensibly creates the new window on bottom
2436 (Bug#15961).
2437
5f5b128d
DK
24382013-11-23 David Kastrup <dak@gnu.org>
2439
2440 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2441 on the conflict markers when available.
2442 (smerge--get-marker): New function.
2443 (smerge-end-re, smerge-base-re): Add subgroup.
2444
623891e5
SM
24452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * frame.el (handle-focus-in, handle-focus-out): Add missing
2448 interactive spec.
2449
05ca27d8
MA
24502013-11-25 Michael Albinus <michael.albinus@gmx.de>
2451
2452 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2453 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2454
511fa0d3
SM
24552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2456
e82ad66c
SM
2457 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2458 (gomoku--last-pos): New var.
2459 (gomoku--intangible-chars): New const.
2460 (gomoku--intangible): New function.
2461 (gomoku-mode): Use it. Derive from special-mode.
2462 (gomoku-move-up): Adjust line count.
2463 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2464 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2465 Simplify accordingly.
2466
511fa0d3
SM
2467 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2468 Remove blink-cursor code.
2469 (blink-cursor-timer-function, blink-cursor-suspend):
2470 Don't special-case GUIs.
2471 (blink-cursor-mode): Use focus-in/out-hook.
2472
6f20dd03
DG
24732013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2474
2475 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2476 work when annotation is invisible (Bug#13886).
2477
431dec31 24782013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2479
2480 * json.el (json-alist-p): Only return non-nil if the alist has
2481 simple keys (Bug#13518).
2482
431dec31 24832013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2484
2485 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2486 when control-statement is the first statement in a buffer (Bug#15956).
2487
ee4f0261
DG
24882013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2489
2490 * imenu.el (imenu-generic-skip-comments-and-strings):
2491 New option (Bug#15560).
2492 (imenu--generic-function): Use it.
2493
c484f866
JS
24942013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2495
e9dc713d
JB
2496 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2497 (Bug#13898)
c484f866 2498
41ce6f70
BB
24992013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2500
b55aea38
BB
2501 * emacs-lisp/helpers.el: Add some string helpers.
2502 (string-trim-left): Removes leading whitespace.
2503 (string-trim-right): Removes trailing whitespace.
2504 (string-trim): Removes leading and trailing whitespace.
2505
41ce6f70
BB
2506 * subr.el (string-suffix-p): New function.
2507
3cfb6af3
GM
25082013-11-23 Glenn Morris <rgm@gnu.org>
2509
2510 * progmodes/python.el (python-shell-send-file):
2511 Add option to delete file when done. (Bug#15647)
2512 (python-shell-send-string, python-shell-send-region): Use it.
2513
c27924b7
IS
25142013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2515
e1b01c7f
IS
2516 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2517 to set buffer-read-only to t, never to nil. (Bug#15938)
2518
c27924b7
IS
2519 * textmodes/tex-mode.el (latex-noindent-environments):
2520 Add safe-local-variable property. (Bug#15936)
2521
17e0445b
GM
25222013-11-23 Glenn Morris <rgm@gnu.org>
2523
92f78ea3
GM
2524 * textmodes/enriched.el (enriched-mode): Doc fix.
2525 * emacs-lisp/authors.el (authors-renamed-files-alist):
2526 Add enriched.doc -> enriched.txt.
2527
17e0445b
GM
2528 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2529
965bb23a
LL
25302013-11-22 Leo Liu <sdl.web@gmail.com>
2531
2532 * progmodes/octave.el (inferior-octave-startup): Spit out error
2533 message.
2534
d19ffd64
BB
25352013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2536
2537 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2538 Improve docstring.
15ba2182
BB
2539 Add :version.
2540 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2541
7a7567d2
LL
25422013-11-22 Leo Liu <sdl.web@gmail.com>
2543
2544 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2545 (Bug#15076)
8c09f64b
LL
2546 (octave-help-mode): Adapt to change to help-mode-finish to use
2547 derived-mode-p on 2013-09-17.
2548 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2549 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2550
724bc265
LL
25512013-11-22 Leo Liu <sdl.web@gmail.com>
2552
2553 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2554 (inferior-octave-startup, inferior-octave-check-process)
2555 (inferior-octave-track-window-width-change)
2556 (octave-completion-at-point, octave-eldoc-function): Use it.
2557 (octave-kill-process): Provide confirmation. (Bug#10564)
2558
38637cca
LL
25592013-11-21 Leo Liu <sdl.web@gmail.com>
2560
511fa0d3
SM
2561 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2562 Fix obsolete variable comment-use-global-state.
38637cca 2563
06e752b4
RS
25642013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2565
511fa0d3
SM
2566 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2567 Add `octave-source-file'.
06e752b4
RS
2568 (octave-source-file): New function. (Bug#15935)
2569
7514d3f8 25702013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2571
2572 * net/eww.el (eww-local-regex): New variable.
2573 (eww): Use it to detect localhost and similar.
2574
b6ffa04a
LL
25752013-11-21 Leo Liu <sdl.web@gmail.com>
2576
2577 Add completion for command `ag'.
2021a200
LL
2578 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2579 (pcomplete/ag): New function.
e9dc713d 2580 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2581
d1a6bccc
SM
25822013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2585 (bug#14646).
2586 (make-obsolete): Remove interactive spec.
2587
2df10228
GM
25882013-11-21 Glenn Morris <rgm@gnu.org>
2589
2590 * startup.el (command-line-1): Use path-separator with -L.
2591
86fd16b6
TZ
25922013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2593
2594 * emacs-lisp/package.el (describe-package-1): Add package archive
2595 to shown fields.
2596
0449d6cd 25972013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2598
2599 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2600 Change default to "# encoding: %s" to differentiate it from the
2601 default Ruby encoding comment template.
2602
dc7e8c17 26032013-11-20 era eriksson <era+emacsbugs@iki.fi>
2604
2605 * ses.el (ses-mode): Doc fix. (Bug#14748)
2606
f0cfa5fe
LL
26072013-11-20 Leo Liu <sdl.web@gmail.com>
2608
2609 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2610
826dc7b6
DN
26112013-11-19 Dan Nicolaescu <dann@gnu.org>
2612
2613 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2614 when rebase or bisect are in progress.
2615
a6e3a5d5
XF
26162013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2617
2618 * filenotify.el (file-notify-add-watch): Doc fix.
2619
f130cb76
LL
26202013-11-19 Leo Liu <sdl.web@gmail.com>
2621
e0855d7d
LL
2622 * obsolete/rcompile.el: Mark obsolete.
2623
f130cb76 2624 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2625 (compilation-goto-locus, compilation-find-file):
2626 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2627 (Bug#13594)
2628
2629 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2630 new parameter no-display-ok. Return either a window or nil
2631 but never a non-window value.
f130cb76 2632
1f35d401
SM
26332013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2634
25158c76
SM
2635 * electric.el (electric-indent-mode-map): Remove.
2636 (electric-indent-mode): Change the global-map instead (bug#15915).
2637
2638 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2639 Use add-function.
1f35d401 2640
9bc67baa
SM
26412013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2642
986545b5
SM
2643 * emacs-lisp/nadvice.el (remove-function): Align with
2644 add-function's behavior.
2645
9bc67baa
SM
2646 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2647 (gdb--string-regexp): New constant.
2648 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2649 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2650 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2651 submatch 1.
2652 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2653 Adjust use accordingly.
2654 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2655
56cd894e
AS
26562013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2657
2658 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2659 interpolation curlies (Bug#15914).
2660
014690de
JB
26612013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2662
2663 * calc/calc.el (calc-context-sensitive-enter): New variable.
2664 (calc-enter): Use `calc-context-sensitive-enter'.
2665
7e26a6c3
TZ
26662013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2667
2668 * progmodes/cfengine.el: Version bump.
2669 (cfengine-cf-promises): New defcustom to locate cf-promises.
2670 (cfengine3-vartypes): Add new "data" type.
2671 (cfengine3--current-word): New function to get current name-like
2672 word or its bounds.
2673 (cfengine3--current-function): New function to look up a CFEngine
2674 function's definition.
2675 (cfengine3-format-function-docstring): New function.
2676 (cfengine3-make-syntax-cache): New function.
2677 (cfengine3-documentation-function): New function: ElDoc glue.
2678 (cfengine3-completion-function): New function: completion glue.
2679 (cfengine3-mode): Set `compile-command',
2680 `eldoc-documentation-function', and add to
2681 `completion-at-point-functions'.
2682
355204dd
MA
26832013-11-16 Michael Albinus <michael.albinus@gmx.de>
2684
2685 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2686 `tramp-current-connection'.
2687
43cebc23
DG
26882013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2691 nil/self/true/false with "end of symbol".
2692
a3fed6ff
BB
26932013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2694
2695 * subr.el (version-regexp-alist): Fix a typo.
2696
e675b3e4
MA
26972013-11-15 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2700 "en_US.utf8" and "LC_CTYPE" to "".
2701 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2702 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2703
a1f03e89
LL
27042013-11-15 Leo Liu <sdl.web@gmail.com>
2705
2706 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2707
5d9d9451
SM
27082013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2709
58362662
CS
2710 * progmodes/gud.el (ctl-x-map):
2711 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2712 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2713
6c1bf086
BB
27142013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2715
0d5363c4
BB
2716 * subr.el (version-regexp-alist):
2717 Recognize hg, svn and darcs versions as snapshot versions.
2718
4e9fc48c
BB
2719 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2720 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2721 (ruby--encoding-comment-required-p): Extract from
2722 `ruby-mode-set-encoding'.
2723 (ruby-mode-set-encoding): Add the ability to always insert an
2724 utf-8 encoding comment. Fix and simplify coding comment update
2725 logic.
6c1bf086 2726
2f7e72f8
MA
27272013-11-14 Michael Albinus <michael.albinus@gmx.de>
2728
2729 * net/tramp-gvfs.el (top): Run init code only when
2730 `tramp-gvfs-enabled' is not nil.
2731 (tramp-gvfs-enabled): Check also :system bus.
2732
0f137a73
SM
27332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 Sync with upstream verilog-mode revision 78e66ba.
2736 * progmodes/verilog-mode.el (verilog-end-of-defun)
2737 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2738 (verilog-get-end-of-defun): Remove unused argument.
2739 (verilog-comment-depth): Remove unused local `e'.
2740 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2741 Don't pass arg to verilog-get-end-of-defun.
2742
1c276bdd
GM
27432013-11-14 Glenn Morris <rgm@gnu.org>
2744
2745 * obsolete/assoc.el (aget): Prefix dynamic variable.
2746
2747 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2748
ff6ec81d
SM
27492013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2750
2751 * widget.el, hfy-cmap.el: Remove bogus package version number.
2752
75f777b6
GM
27532013-11-13 Glenn Morris <rgm@gnu.org>
2754
1d43dba1
GM
2755 * replace.el (replace-eval-replacement):
2756 Try to give more helpful error message. (Bug#15836)
2757
ff4b7bd5
GM
2758 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2759 (archive-7z-update): Avoid custom type mismatches.
2760
75f777b6
GM
2761 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2762
11151a06
MA
27632013-11-13 Michael Albinus <michael.albinus@gmx.de>
2764
e675b3e4 2765 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2766 address can be empty.
2767
2768 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2769 Accept nil SWITCHES.
2770 (tramp-gvfs-handle-write-region): Implement APPEND.
2771
7b08f97e
DG
27722013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2775 binary "|" operator and closing block args delimiter.
2776 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2777 (ruby-smie--implicit-semi-p): Not after "|" operator.
2778 (ruby-smie--closing-pipe-p): New function.
2779 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2780 (ruby-smie-rules): Indent after "|".
2781
f201cf3a
GM
27822013-11-12 Glenn Morris <rgm@gnu.org>
2783
2784 * ps-print.el (ps-face-attribute-list):
2785 Handle anonymous faces. (Bug#15827)
2786
e6f759f9
MR
27872013-11-12 Martin Rudalics <rudalics@gmx.at>
2788
2789 * window.el (display-buffer-other-frame): Fix doc-string.
2790 (Bug#15868)
2791
ecda65d4
SM
27922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2795
7ce8fcc3
MA
27962013-11-11 Michael Albinus <michael.albinus@gmx.de>
2797
2798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2799 (tramp-sh-handle-file-local-copy): Don't write a message when
2800 saving temporary files.
2801
2802 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2803 both directories are remote.
2804 (tramp-smb-handle-directory-files): Do not return double entries.
2805 Do not expand full file names.
2806 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2807 (tramp-smb-handle-write-region): Implement APPEND.
2808 (tramp-smb-get-stat-capability): Fix a stupid bug.
2809
7818df11
SM
28102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2813
608c2085
NT
28142013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2815
2816 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2817 throwing error over malformed let/let* (bug#15814).
2818
122a7e46
SM
28192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * iswitchb.el (iswitchb-mode): Mark obsolete.
2822
766284d9
GM
28232013-11-11 Glenn Morris <rgm@gnu.org>
2824
2825 * international/uni-bidi.el, international/uni-category.el:
2826 * international/uni-name.el, international/uni-numeric.el:
2827 Regenerate for Unicode 6.3.0.
2828
7072a4e9
MA
28292013-11-10 Michael Albinus <michael.albinus@gmx.de>
2830
2831 * net/tramp.el (tramp-methods):
2832 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2833 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2834
c9df215b
AS
28352013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2836
608c2085
NT
2837 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2838 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2839
fa47d796
DG
28402013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2841
2842 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2843 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2844 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2845 (ispell-complete-word): Call `ispell-lookup-words' with the value
2846 independent of `ispell-look-p'.
2847
1629a329
DG
28482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2849
2850 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2851 Not after "||".
2852 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2853 their parent.
2854
ad16897c
SM
28552013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2858 (ruby-font-lock-keywords): Use backquote.
2859
ffa2df72
DG
28602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2863 (ruby-smie--backward-token): Only consider full-string matches.
2864
5b97b4c0
JD
28652013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2866
2867 * faces.el (describe-face): Add distant-foreground.
2868
71731c03
BB
28692013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2870
4e9fc48c
BB
2871 * progmodes/ruby-mode.el: Improve encoding comment handling.
2872 (ruby-encoding-magic-comment-style): New option.
2873 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2874 (ruby--insert-coding-comment, ruby--detect-encoding):
2875 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2876 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2877 to control the style of the auto-inserted encoding comment.
71731c03 2878
da3b328d
DG
28792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2880
ad16897c
SM
2881 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2882 Use `smie-backward-sexp' with token argument.
da3b328d 2883
1606c2d3
MA
28842013-11-08 Michael Albinus <michael.albinus@gmx.de>
2885
2886 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2887 Remove instrumentation code.
2888
b0f4c320
GM
28892013-11-08 Glenn Morris <rgm@gnu.org>
2890
2891 * progmodes/autoconf.el (autoconf-mode):
2892 Tweak comment-start-skip. (Bug#15822)
2893
43668fb1
SM
28942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2897 at bobp (bug#15826).
2898 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2899
daddb3fd
DH
29002013-11-08 Darren Hoo <darren.hoo@gmail.com>
2901
2902 * man.el (Man-start-calling): New macro, extracted from
2903 Man-getpage-in-background.
2904 (Man-getpage-in-background): Use it.
2905 (Man-update-manpage): New command.
2906 (Man-mode-map): Bind it.
2907
1f923923
DG
29082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2909
2910 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2911 of "and", "or", "&&" and "||".
2912 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2913 argument. Prohibit opening curly brace because it could only be a
2914 block opener in that position.
daddb3fd
DH
2915 (ruby-smie--forward-token, ruby-smie--backward-token):
2916 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2917 arguments.
2918 (ruby-smie--indent-to-stmt): New function, seeks the end of
2919 previous statement or beginning of buffer.
2920 (ruby-smie-rules): Use it.
2921 (ruby-smie-rules): Check if there's a ":" before a curly block
2922 opener candidate; if there is, it's a hash.
2923
3220d527
SM
29242013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2927 (cl--block-wrapper): Fix last accidental change.
2928
1eb1f9e0
MA
29292013-11-07 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2932 Instrument, in order to hunt failure on hydra.
2933
e6e4db3c
NT
29342013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2935
2936 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2937 malformed bindings form (bug#15814).
2938
b420ccfc
DG
29392013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2940
2941 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2942 "." compared to " @ ". This incidentally fixes some indentation
2943 examples with "do".
e6e4db3c 2944 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2945 (ruby-smie-grammar): New tokens: "and" and "or".
2946 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2947 Exclude "and" and "or". Remove "do" in order to work around token
2948 priorities.
2949 (ruby-smie-rules): Add all infix tokens. Handle the case of
2950 beginning-of-buffer.
b420ccfc 2951
6b4ac03e
GM
29522013-11-06 Glenn Morris <rgm@gnu.org>
2953
2954 * Makefile.in (setwins_almost, setwins_for_subdirs):
2955 Avoid accidental matches.
2956
5ca114d1
SM
29572013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * menu-bar.el (popup-menu): Use key-binding.
2960
f72552bd
EZ
29612013-11-06 Eli Zaretskii <eliz@gnu.org>
2962
2963 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2964 menus, support also the menus produced by minor modes.
2965 (Bug#15817)
2966
5d5c701e
LL
29672013-11-06 Leo Liu <sdl.web@gmail.com>
2968
2969 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2970 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2971
0a8b75e2
GM
29722013-11-06 Glenn Morris <rgm@gnu.org>
2973
2974 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2975 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2976 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2977
a35287ea
SM
29782013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2979
feca4e2d
SM
2980 * electric.el (electric-indent-just-newline): New command.
2981 (electric-indent-mode-map): New keymap.
2982 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2983 Re-add :group which weren't redundant.
2984
a35287ea
SM
2985 * electric.el (electric-indent-local-mode): New minor mode.
2986 (electric-indent-functions-without-reindent): New var.
2987 (electric-indent-post-self-insert-function): Use it.
2988 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2989
375761b2
EZ
29902013-11-05 Eli Zaretskii <eliz@gnu.org>
2991
9a6ad735
EZ
2992 * international/quail.el (quail-help): Be more explicit about the
2993 meaning of the labels shown on the keys. (Bug#15800)
2994
375761b2
EZ
2995 * startup.el (normal-top-level): Load the subdirs.el files before
2996 setting the locale environment. (Bug#15805)
2997
520a6e4a
SM
29982013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2999
0acfafef
SM
3000 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3001 via arguments so as to get the right ones (bug#15418).
3002
520a6e4a
SM
3003 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3004
15826261
MA
30052013-11-05 Michael Albinus <michael.albinus@gmx.de>
3006
3007 Fix problems found while writing a test suite.
3008
3009 * net/tramp-compat.el (tramp-compat-load): New defun.
3010 * net/tramp.el (tramp-handle-load): Use it.
3011
3012 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3013 "(numberp ok-if-already-exists)" correctly.
3014
d35f31a4
XF
30152013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3016
3017 * international/characters.el (glyphless-char-display-control):
3018 Add usage note.
3019
ae93bc74
BB
30202013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3021
520a6e4a
SM
3022 * progmodes/python.el (python-mode):
3023 * progmodes/scheme.el (scheme-mode):
3024 * progmodes/prolog.el (prolog-mode):
3025 * progmodes/ruby-mode.el (ruby-mode):
3026 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3027 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3028
0ade65b5
SM
30292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3030
a0d5f7a4
SM
3031 * rect.el (rectangle--highlight-for-redisplay):
3032 * emacs-lisp/smie.el (smie--next-indent-change):
3033 Use buffer-chars-modified-tick.
3034
c93f3f5c
SM
3035 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3036
0ade65b5
SM
3037 * electric.el (electric-indent-post-self-insert-function):
3038 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3039
ef9dd188
HE
30402013-11-04 Helmut Eller <eller.helmut@gmail.com>
3041
3042 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3043
306e7308
NT
30442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3045
3046 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3047 (bug#15786).
3048
e5afbcac
SM
30492013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3050
1d01ad41
SM
3051 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3052
e5afbcac
SM
3053 * progmodes/python.el: Fix up last change.
3054 (python-shell--save-temp-file): New function.
3055 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3056 `string' comes from the current buffer.
3057 (python-shell-send-string-no-output): Remove `msg' arg.
3058 (python--use-fake-loc): New var.
3059 (python-shell-buffer-substring): Obey it. Try to compensate for the
3060 extra coding line added by python-shell--save-temp-file.
3061 (python-shell-send-region): Use python-shell--save-temp-file and
3062 python-shell-send-file directly. Add `nomain' argument.
3063 (python-shell-send-buffer): Use python-shell-send-region.
3064 (python-electric-pair-string-delimiter): New function.
3065 (python-mode): Use it.
3066
d0065ff1
EZ
30672013-11-04 Eli Zaretskii <eliz@gnu.org>
3068
3069 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3070 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3071 environment and decoding all of the default-directory's to here
3072 from command-line.
3073 (command-line): Decode also argv[0].
3074
3075 * loadup.el: Error out if default-directory is a multibyte string
3076 when we are dumping.
3077
3078 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3079
7397c587
TZ
30802013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3081
3082 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3083 (package-menu--print-info, package-menu--archive-predicate):
3084 Add Archive column to package list.
7397c587 3085
b27cc9fc
MA
30862013-11-04 Michael Albinus <michael.albinus@gmx.de>
3087
3088 Fix problems found while writing a test suite.
3089
3090 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3091 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3092 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3093 to nil when running original file name handler. Otherwise,
3094 there are problems with constructs like "$$FOO".
3095
3096 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3097 for `localname'.
3098
d8c4f18a
BB
30992013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3100
7b530552
BB
3101 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3102
3103 * subr.el (version<, version<=, version=):
3104 Update docstrings with information for snapshot versions.
3105
d8c4f18a
BB
3106 * helpers.el: New library for misc helper functions.
3107 (hash-table-keys): New function returning a list of hash keys.
3108 (hash-table-values): New function returning a list of hash values.
3109
dca01b09
DG
31102013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3111
3112 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3113 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3114
0a749fa0
MN
31152013-11-04 Michal Nazarewicz <mina86@mina86.com>
3116
3117 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3118 checking whether point is after a 1-letter word.
3119
31202013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3121
3122 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3123 Don't infloop when expanding region over `multiline' syntax-type that
3124 begins a line (bug#15778).
3125
4aca7145
SM
31262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3129 Make it into a proper minor mode.
3130 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3131 (rectangle-mark-mode-map): New keymap.
3132 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3133
a0833f62
GM
31342013-11-04 Glenn Morris <rgm@gnu.org>
3135
3136 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3137
e61845c1
SM
31382013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3141 (ruby-smie-rules): Use smie-rule-parent instead.
3142
3143 * emacs-lisp/smie.el (smie-rule-parent): Always call
3144 smie-indent-virtual rather than only for hanging tokens.
3145 (smie--next-indent-change): New helper command.
3146
62942f89
GM
31472013-11-03 Glenn Morris <rgm@gnu.org>
3148
3149 * Makefile.in (abs_srcdir): Remove.
3150 (emacs): Unset EMACSLOADPATH.
3151
b0b9e592
GM
31522013-11-02 Glenn Morris <rgm@gnu.org>
3153
18ba6a33 3154 * Makefile.in (EMACS): Use a relative filename.
8061810d 3155 (abs_top_builddir): Remove.
18ba6a33
GM
3156 (custom-deps, finder-data, autoloads): Use --chdir.
3157
6a8b929e
GM
3158 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3159
c617f3d0
GM
3160 Use relative filenames in TAGS files.
3161 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3162 (lisptagsfiles4, TAGS): Use relative file names.
3163 (TAGS-LISP): Remove.
3164 (maintainer-clean): No more TAGS-LISP file.
3165
b0b9e592
GM
3166 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3167 (lisptagsfiles4): Use absolute filenames again.
3168 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3169 Remove all *loaddefs files, not just the first. Remove esh-groups.
3170 (maintainer-clean): Delete TAGS, TAGS-LISP.
3171
d1c0ea6a
BB
31722013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3173
e61845c1
SM
3174 * emacs-lisp/package.el (package-version-join):
3175 Recognize snapshot versions.
d1c0ea6a 3176
684d71c6
BB
31772013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3178
3179 * subr.el (version-regexp-alist): Add support for snapshot versions.
3180
3d42b968
DG
31812013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3182
e61845c1
SM
3183 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3184 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3185 skip over our direct parent if it's an assignment token..
3186 (ruby-smie-rules): Use it.
3187
7ffd3721
DG
31882013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3189
8449dd1f 3190 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3191 unconditionally. Remove now unnecessary forward declarations.
3192 Remove XEmacs-specific setup.
3193 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3194 (ruby-font-lock-syntactic-keywords)
3195 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3196 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3197 (ruby-here-doc-end-syntax): Remove.
3198 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3199 defined as function.
3200
a3996a2e
BB
32012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3202
3203 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3204
6f9260e8
BB
32052013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3206
3207 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3208 table and abbrev table, `define-derived-mode' does that for us
3209 anyway.
3210
6014de84
GM
32112013-11-01 Glenn Morris <rgm@gnu.org>
3212
3213 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3214 files is atomic for some time, so no parallel compilation issues).
3215
3c334c14
JD
32162013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3217
3218 * faces.el (face-x-resources): Add :distant-foreground.
3219 (region): Use :distant-foreground for gtk and ns.
3220
9bc236c8
TH
32212013-11-01 Tassilo Horn <tsdh@gnu.org>
3222
5246583b 3223 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3224 BibTeX.
3225 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3226 (reftex-locate-bibliography-files): Us it.
3227
d14c81ee
CB
32282013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3229
0e7690de
CB
3230 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3231 allow comments in pbm files.
3232
d14c81ee
CB
3233 * term/w32-win.el (dynamic-library-alist): Support newer versions
3234 of libjpeg starting with v7: look only for the DLL from the
3235 version against which Emacs was built.
ac1bf374 3236 Support versions of libpng beyond 1.4.x.
019c8218 3237 Support libtiff v4.x.
d14c81ee 3238
983d0df5
BB
32392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3240
3241 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3242 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3243 Add property :safe.
3244 (ruby-deep-arglist): Add property :type.
3245
47f58d85
GM
32462013-10-31 Glenn Morris <rgm@gnu.org>
3247
3248 * Makefile.in (custom-deps, finder-data): No need to setq the target
3249 variables, we are in the right directory and the defaults work fine.
3250
4f85b479
GM
32512013-10-30 Glenn Morris <rgm@gnu.org>
3252
ca7dd4cd
GM
3253 * Makefile.in (autoloads): Do not use abs_lisp.
3254
4f85b479
GM
3255 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3256 `newline' does not respect `standard-output', so use `princ'.
3257
cf59e41c
AA
32582013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3259
3260 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3261 * buff-menu.el (Buffer-menu--unmark): New function.
3262 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3263
74cf04fb
GM
32642013-10-30 Glenn Morris <rgm@gnu.org>
3265
b040b60e
GM
3266 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3267
f53d3815
GM
3268 * emacs-lisp/package.el (lm-homepage): Declare.
3269
5413d873
GM
3270 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3271 Fix doc typos.
3272
cecedb36
GM
3273 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3274
74cf04fb
GM
3275 * Makefile.in (finder-data, autoloads, update-subdirs)
3276 (compile-main, compile-clean, compile-always, bootstrap-clean):
3277 Check return value of cd.
3278 (compile-calc): Remove.
3279
195ee2f0
SM
32802013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3281
ae4002ce
SM
3282 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3283
3284 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3285 (byte-compile-and-folded): New function.
3286 (=, <, >, <=, >=): Use it.
3287
3288 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3289 (path-separator, null-device, buffer-file-coding-system)
3290 (lpr-headers-switches): Check system-type before modifying them.
3291 (find-buffer-file-type-coding-system): Mark obsolete.
3292 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3293 find-file-not-found-set-buffer-file-coding-system.
3294 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3295 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3296 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3297 (w32-direct-print-region-helper, w32-direct-print-region-function)
3298 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3299 * startup.el (normal-top-level-add-subdirs-to-load-path):
3300 * ps-print.el (ps-print-region-function):
3301 * lpr.el (print-region-function): Use new name.
3302
53b39e89
SM
3303 * subr.el (custom-declare-variable-early): Remove function.
3304 (custom-declare-variable-list): Remove var.
3305 (error, user-error): Remove `while' loop.
3306 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3307 (user-emacs-directory-warning, locate-user-emacs-file):
3308 Move to files.el.
3309 * simple.el (read-quoted-char-radix, read-quoted-char):
3310 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3311 Move from subr.el.
3312 * custom.el (custom-declare-variable-list): Don't process
3313 custom-declare-variable-list.
3314
195ee2f0
SM
3315 * progmodes/python.el (python-shell-get-buffer): New function.
3316 (python-shell-get-process): Use it.
3317 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3318 Python which encoding was used. Don't split-string since we only care
3319 about the first line. Return the temp-file, if applicable.
3320 (python-shell-send-region): Tell compile.el how to turn locations in
3321 the temp-file into locations in the source buffer.
3322
7e3561ee
SM
33232013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3324
4c9797cb
SM
3325 * subr.el (undefined): Add missing behavior from the C code for
3326 unbound keys.
3327
3472b6c6
SM
3328 * rect.el: Use lexical-binding. Add new rectangular region support.
3329 (rectangle-mark): New command.
3330 (rectangle--region): New var.
3331 (deactivate-mark-hook): Reset rectangle--region.
3332 (rectangle--extract-region, rectangle--insert-for-yank)
3333 (rectangle--highlight-for-redisplay)
3334 (rectangle--unhighlight-for-redisplay): New functions.
3335 (region-extract-function, redisplay-unhighlight-region-function)
3336 (redisplay-highlight-region-function): Use them to handle
3337 rectangular region.
3338 * simple.el (region-extract-function): New var.
3339 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3340 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3341 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3342 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3343 (redisplay-unhighlight-region-function)
3344 (redisplay-highlight-region-function): New vars.
3345 (redisplay--update-region-highlight): New function.
3346 (pre-redisplay-function): Use it.
3347 (exchange-point-and-mark): Don't deactivate the mark before
3348 reactivate-it anyway.
3349 * comint.el (comint-kill-region): Remove yank-handler argument.
3350 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3351 (delete-char): Remove property, since it's now part of their
3352 default behavior.
3353 (self-insert-iso): Remove property since this command doesn't exist.
3354
7e3561ee
SM
3355 * emacs-lisp/package.el (package--download-one-archive)
3356 (describe-package-1): Don't query the user about final newline.
3357
b9bef71f
DC
33582013-10-29 Daniel Colascione <dancol@dancol.org>
3359
3360 * net/tramp.el (tramp-methods): Document new functionality.
3361 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3362 tramp-hostname-checker if method provides one instead of scanning
3363 argument list for "%h" to decide hostname acceptability.
3364
4efc33f0
MA
33652013-10-28 Michael Albinus <michael.albinus@gmx.de>
3366
3367 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3368 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3369 Handle COPY-CONTENTS. (Bug#15737)
3370
ed42a877
DU
33712013-10-28 Daiki Ueno <ueno@gnu.org>
3372
3373 * epa-file.el
7e3561ee
SM
3374 (epa-file-cache-passphrase-for-symmetric-encryption):
3375 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3376
18c9f8a2
XF
33772013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3378
7a4bc7be
XF
3379 * image.el (defimage):
3380 (image-load-path): Doc fixes.
18c9f8a2 3381
b1e8e010
AM
33822013-10-27 Alan Mackenzie <acm@muc.de>
3383
3384 Indent statements in macros following "##" correctly.
7e3561ee
SM
3385 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3386 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3387
73d40d1e 33882013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3389
3390 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3391
c8c605ac
DG
33922013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3393
3394 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3395 after `=' is probably a new expression.
3396
ca7e59d4
RS
33972013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3398
3399 * man.el (man-imenu-title): New option.
3400 (Man-mode-map): Add menu. (Bug#15722)
3401 (Man-mode): Add imenu to menu.
3402
bae91342
DG
34032013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3404
3405 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3406 specific in what the first arg can be: a non-keyword word,
3407 string/regexp/percent literal opener, opening paren, or unary
3408 operator followed directly by word.
3409
eb89dc14
SM
34102013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3413 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3414 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3415 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3416 Remove vars, they do not apply any more.
3417 (prolog-mode-abbrev-table): Remove redundant declaration.
3418 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3419 (prolog-use-smie): Remove.
3420 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3421 supported by prolog-electric-if-then-else-flag.
3422 (prolog-mode-variables, prolog-menu): Use setq-local.
3423 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3424 Remove binding to `Backspace' since this key doesn't exist anyway.
3425 Remove bindings for electric self-inserting keys.
3426 (prog-mode): Assume it's defined.
3427 (prolog-post-self-insert): New function.
3428 (prolog-mode): Use it.
3429 (prolog-indent-line, prolog-indent-level)
3430 (prolog-find-indent-of-matching-paren)
3431 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3432 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3433 (prolog-goto-next-paren, prolog-in-string-or-comment)
3434 (prolog-tokenize, prolog-inside-mline-comment)
3435 (prolog-find-start-of-mline-comment): Remove functions.
3436 (prolog-find-unmatched-paren, prolog-clause-end)
3437 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3438 (prolog-electric--if-then-else): Rename from
3439 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3440 (prolog-tokenize-searchkey): Remove const.
3441 (prolog-clause-info): Use forward-sexp.
3442 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3443 (prolog-electric-if-then-else): Remove commands.
3444 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3445 for use in post-self-insert-hook.
3446 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3447 for use in post-self-insert-hook.
3448 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3449 for use in post-self-insert-hook.
3450 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3451 adapt it for use in post-self-insert-hook.
3452
3dab0a83
MA
34532013-10-25 Michael Albinus <michael.albinus@gmx.de>
3454
3455 * emacs-lisp/ert.el (ert-run-tests-interactively):
3456 Use `completing-read'. (Bug#9756)
3457
fbfd0e1d
EZ
34582013-10-25 Eli Zaretskii <eliz@gnu.org>
3459
3460 * simple.el (line-move): Call line-move-1 instead of
3461 line-move-visual when the current window hscroll is zero, but
3462 temporary-goal-column indicates we will need to hscroll as result
3463 of the movement. (Bug#15712)
3464
963ce636
DG
34652013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3466
3467 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3468 capitalization. Use :visible instead of :active.
3469 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3470 commands that are used with SMIE.
3471 (ruby-do-end-to-brace): Insert space after `{'.
3472
a0be396a
JA
34732013-10-25 John Anthony <john@jo.hnanthony.com>
3474
f73754c9
JA
3475 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3476
3477 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3478
f5bf77df
GM
34792013-10-25 Glenn Morris <rgm@gnu.org>
3480
3481 * vc/vc.el (vc-print-log): Don't use a working revision unless
3482 one was explicitly specified. (Bug#15322)
3483
37241f62
SM
34842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * subr.el (add-to-list): Preserve return value in compiler-macro
3487 (bug#15692).
3488
6408a65d
RS
34892013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3490
3491 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3492 result. Ask user to retry using '-all' flag. (Bug#15701)
3493
71e3276b
SM
34942013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * emacs-lisp/smie.el: New smie-config system.
3497 (smie-config): New defcustom.
3498 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3499 (smie-config-guess, smie-config-save): New commands.
3500 (smie-config--mode-local, smie-config--buffer-local)
3501 (smie-config--trace, smie-config--modefuns): New vars.
3502 (smie-config--advice, smie-config--mode-hook)
3503 (smie-config--setter, smie-config-local, smie-config--get-trace)
3504 (smie-config--guess-value, smie-config--guess): New functions.
3505 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3506 text properties. Treat "string fence" syntax like string syntax.
3507
3508 * progmodes/sh-script.el (sh-use-smie): Change default.
3509 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3510 (sh-var-value): Simplify by CSE.
3511 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3512 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3513 is used.
3514 (sh-guess-basic-offset): Use cl-incf.
3515 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3516
60db713e
HE
35172013-10-24 Helmut Eller <eller.helmut@gmail.com>
3518
3519 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3520 (bug#15699).
3521
8b251df6
GM
35222013-10-24 Glenn Morris <rgm@gnu.org>
3523
3524 * Makefile.in (abs_top_srcdir): Remove.
3525 (update-subdirs): Use relative path to update-subdirs.
3526
6be0e22b
EZ
35272013-10-24 Eli Zaretskii <eliz@gnu.org>
3528
3529 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3530 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3531 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3532 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3533
50b5b857
MA
35342013-10-24 Michael Albinus <michael.albinus@gmx.de>
3535
3536 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3537 (ert-test-skipped): New error.
3538 (ert-skip, ert-stats-skipped): New defuns.
3539 (ert--skip-unless): New macro.
3540 (ert-test-skipped): New struct.
3541 (ert--run-test-debugger, ert-test-result-type-p)
3542 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3543 (ert--stats-set-test-and-result, ert-char-for-test-result)
3544 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3545 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3546 Handle skipped tests. (Bug#9803)
50b5b857 3547
6f317c2f
GM
35482013-10-24 Glenn Morris <rgm@gnu.org>
3549
e43817c1
GM
3550 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3551
6f317c2f
GM
3552 * Makefile.in (abs_top_srcdir): New, set by configure.
3553 (update-subdirs): Correct build-aux location.
3554
369bbf71
DG
35552013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3556
8297b2cf
DG
3557 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3558 value, whether we could auto-deduce `backend', or not.
3559
369bbf71
DG
3560 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3561 with parameters" example. Simplify the "is it block or is it
3562 hash" check, but also make it more thorough.
3563
d5f1282f
MF
35642013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3565
3566 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3567
bc4aaa31
SM
35682013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3569
03d44565
SM
3570 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3571 { if it is hanging.
3572
bc4aaa31
SM
3573 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3574 :before ";".
3575
f493ff19
JB
35762013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3577
3578 * progmodes/compile.el (compilation-directory-matcher)
3579 (compilation-page-delimiter):
3580 Support GNU Make-4.0 directory quoting. (Bug#15678)
3581
c744a3b9
LL
35822013-10-23 Leo Liu <sdl.web@gmail.com>
3583
3584 * ido.el (ido-tidy): Handle read-only text.
3585
b8e3b0a9
GM
35862013-10-23 Glenn Morris <rgm@gnu.org>
3587
3588 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3589 (emacs, compile, compile-always):
3590 Quote entities that might contain whitespace.
3591 (custom-deps, finder-data, autoloads): Use abs_lisp.
3592 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3593 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3594 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3595
ee4282cd
DG
35962013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3597
bc4aaa31
SM
3598 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3599 Use `following-char'.
7790a270 3600
ee4282cd 36012013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3602
3603 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3604 * progmodes/ruby-mode.el (ruby-smie-rules):
3605 Remove corresponding workaround. Fix indentation rule of ";" so it
3606 also applies when ";" is the parent.
3607
d40a46d7
XF
36082013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3609
3610 * frame.el (display-screens, display-pixel-height)
3611 (display-pixel-width, display-mm-width, display-backing-store)
3612 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3613 (display-visual-class, display-monitor-attributes-list):
3614 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3615
a0f143c9
MG
36162013-10-22 Michael Gauland <mikelygee@amuri.net>
3617
3618 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3619 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3620
18cacc39
DG
36212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3622
3623 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3624 TODO. Add "." after " @ ".
3625 (ruby-smie--at-dot-call): New function. Checks if point at method
3626 call with explicit target.
3627 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3628 to the method name tokens when it precedes them.
3629 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3630 (ruby-smie-rules): Add rule for indentation before and after "."
3631 token.
3632
df74c4be
SM
36332013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3634
c6dab55f
SM
3635 * textmodes/remember.el (remember-diary-extract-entries):
3636 Avoid add-to-list.
3637
df74c4be
SM
3638 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3639 an instruction.
3640
8c1ae481
DG
36412013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3642
e9dc713d
JB
3643 * progmodes/ruby-mode.el (ruby-smie-grammar):
3644 Add (almost) all infix operators.
cfef16c0
DG
3645 (ruby-smie--implicit-semi-p): Add new operator chars.
3646
8c1ae481
DG
3647 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3648 `smie-down-list'.
3649 (ruby-smie--args-separator-p): Check that there's no newline
3650 between method call and its arguments.
3651
87756ca9
AM
36522013-10-20 Alan Mackenzie <acm@muc.de>
3653
3654 Allow comma separated lists after Java "implements".
3655
df74c4be
SM
3656 * progmodes/cc-engine.el (c-backward-over-enum-header):
3657 Parse commas.
87756ca9
AM
3658 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3659 from a "disallowed" list in enum fontification.
3660
c25f8957
JB
36612013-10-20 Johan Bockgård <bojohan@gnu.org>
3662
df74c4be 3663 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3664
c25f8957
JB
3665 * progmodes/verilog-mode.el (verilog-mode): Don't set
3666 comment-indent-function globally.
3667
aca5fcdc
JD
36682013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3669
5f161884
JD
3670 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3671 Move Info menu item creation to ns-win.el.
3672
3673 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3674 in menu bar.
3675
a6c4680a 3676 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3677
3678 * term/ns-win.el (ns-initialize-window-system): ... to here.
3679
914b7f98
SM
36802013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 * simple.el (newline): Only run post-self-insert-hook when
3683 called interactively.
3684
846ffe77
JB
36852013-10-19 Johan Bockgård <bojohan@gnu.org>
3686
3687 * icomplete.el (icomplete-with-completion-tables): Add :version.
3688
033f22dd
AM
36892013-10-19 Alan Mackenzie <acm@muc.de>
3690
3691 Fix fontification bugs with constructors and const.
3692
3693 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3694 CASE 2) Remove the check for the absence of a suffix construct
3695 after a function declaration with only types (no identifiers) in
3696 the parentheses. Also, accept a function declaration with just a
3697 type inside the parentheses, if this type can be positively
3698 recognised as such, or if a prefix keyword like "explicit" nails
3699 down the construct as a declaration.
3700
58ce0cfc
EZ
37012013-10-19 Eli Zaretskii <eliz@gnu.org>
3702
3703 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3704 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3705 the problem whereby selecting a menu item that leads to a
3706 minibuffer prompt moves the cursor out of the minibuffer window,
3707 making it hard to type at the prompt. Suggested by Stefan Monnier
3708 <monnier@iro.umontreal.ca>.
3709
50e28e7d
JD
37102013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3711
3712 * menu-bar.el: Don't make Services menu.
3713
7deed4bf
RS
37142013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3715
3716 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3717 (ffap-alist): Use ffap-c++-mode for c++-mode.
3718 (ffap-c++-path): New variable.
3719 (ffap-c++-mode): New function.
3720
7bcb455b
JVJ
37212013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3722
3723 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3724
f0ff1cd5
MA
37252013-10-18 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3728 introduced on 2013-09-08, which results in an infinite loop
3729 requesting a password.
3730
d64da4b7
GM
37312013-10-18 Glenn Morris <rgm@gnu.org>
3732
3733 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3734
ea89ff08
WS
37352013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3736
3737 Sync with upstream verilog-mode revision 1a6ecec7.
3738 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3739 (verilog-mode-release-date): Remove.
3740 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3741 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3742 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3743 (verilog-auto-tieoff-ignore-regexp)
3744 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3745 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3746 (verilog-signals-with, verilog-dir-cache-preserving)
3747 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3748 Doc fixes.
3749 (verilog-case-fold): New option, to control case folding in
3750 regexp searches, bug597.
3751 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3752 (verilog-string-match-fold, verilog-in-paren-count)
3753 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3754 (verilog-at-close-struct-p): New functions.
3755 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3756 (verilog-forward-sexp, verilog-set-auto-endcomments):
3757 (verilog-leap-to-case-head): Handle "unique0" case.
3758 (verilog-in-constraint-re): New constant.
3759 (verilog-keywords, verilog-type-font-keywords):
3760 Add some SystemVerilog 1800-2012 keywords.
3761 (verilog-label-be): Remove unimplemented argument, bug669.
3762 (verilog-batch-execute-func): When batch expanding clear
3763 create-lockfiles to prevent spurious user locks when a file ends
3764 up not changing.
3765 (verilog-calculate-indent, verilog-calc-1)
3766 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3767 (verilog-do-indent): Fix indentation of nested constraints
3768 and structures.
3769 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3770 (verilog-auto-inst-param): Use verilog-string-match-fold.
3771 (verilog-read-inst-module-matcher):
3772 Fix AUTOINST on gate primitives with #1.
3773 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3774 Reads all user-defined typed variables.
3775 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3776 (verilog-signals-matching-regexp)
3777 (verilog-signals-not-matching-regexp, verilog-auto):
3778 Respect verilog-case-fold.
3779 (verilog-diff-report): Fix line count.
3780 (verilog-auto-assign-modport): Remove unused local `modi'.
3781 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3782 better handle multidimensional arrays.
3783 Fix packed array ports misadding bit index in AUTOINST, bug637.
3784 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3785 to not double-declare existing outputs and inputs, respectively.
3786 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3787 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3788 (verilog-sk-uvm-component): New skeleton.
3789 (verilog-submit-bug-report): Add verilog-case-fold,
3790 remove verilog-mode-release-date.
3791
ef566920
BR
37922013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3793
a12bf61e 3794 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3795 as before.
3796
29df8a0b
RT
37972013-10-18 Reuben Thomas <rrt@sc3d.org>
3798
e0eb0550 3799 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3800 remember buffers (bug#13566).
3801
04a19a79
DC
38022013-10-18 Daniel Colascione <dancol@dancol.org>
3803
3804 When evaluating forms in ielm, direct standard output to ielm
3805 buffer. Add new ielm-return-for-effect command. Remove trailing
3806 whitespace throughout.
3807
3808 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3809 (ielm-return-for-effect): New command.
3810 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3811 (ielm-eval-input): Accept optional `for-effect' parameter.
3812 Bind `standard-output' to stream we create using
04a19a79
DC
3813 `ielm-standard-output-impl'. Suppress printing result when
3814 `for-effect'.
3815 (ielm-standard-output-impl): New function.
3816 (inferior-emacs-lisp-mode): Explain new features in documentation.
3817
4c1f03ef
MA
38182013-10-17 Michael Albinus <michael.albinus@gmx.de>
3819
3820 Code cleanup.
3821
3822 * net/tramp.el (tramp-debug-message): Do not check for connection
3823 buffer.
3824 (tramp-message): Use "vector" connection property.
3825
3826 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3827 (tramp-equal-remote, tramp-eshell-directory-change)
3828 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3829 (tramp-adb-handle-rename-file)
3830 * net/tramp-cmds.el (tramp-list-remote-buffers)
3831 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3832 * net/tramp-compat.el (tramp-compat-process-running-p)
3833 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3834 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3835 (tramp-gvfs-handle-rename-file)
3836 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3837 (tramp-set-file-uid-gid)
3838 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3839 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3840 of `file-remote-p'.
3841
3842 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3843 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3844 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3845 (tramp-gw-open-network-stream): Suppress unrelated traces.
3846
3847 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3848 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3850 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3851 connection property.
3852
3853 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3854 persistency file.
4c1f03ef
MA
3855
3856 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3857 Refactor common code. Improve debug message.
3858 (tramp-maybe-open-connection)
3859 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3860 connection buffer too early.
3861
3862 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3863 from `tramp-smb-actions-with-acl'.
3864 (tramp-smb-actions-set-acl): New defconst.
3865 (tramp-smb-handle-copy-directory)
3866 (tramp-smb-action-get-acl): New defun, renamed from
3867 `tramp-smb-action-with-acl'.
3868 (tramp-smb-action-set-acl): New defun.
3869 (tramp-smb-handle-set-file-acl): Rewrite.
3870
642eb8b6
GM
38712013-10-17 Glenn Morris <rgm@gnu.org>
3872
3873 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3874
85527ff3
SM
38752013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3876
921c1d62
SM
3877 * skeleton.el (skeleton-newline): Remove.
3878 (skeleton-internal-1): Use (insert "\n") instead.
3879
e333fb10
SM
3880 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3881 let-bindings.
3882
85527ff3
SM
3883 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3884 forward-sexp-function while we redo its job (bug#15613).
3885
c8722a97
JB
38862013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3887
3888 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3889 represented by lists.
3890
7a550bbb
GM
38912013-10-16 Glenn Morris <rgm@gnu.org>
3892
3893 * tmm.el (tmm--history): New dynamic variable.
3894 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3895
f19da8ad
MA
38962013-10-16 Michael Albinus <michael.albinus@gmx.de>
3897
3898 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3899 (tramp-smb-errors): Add error messages.
3900 (tramp-smb-actions-with-acl): New defconst.
3901 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3902 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3903 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3904 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3905 (tramp-smb-get-stat-capability): Fix tests.
3906
a24b9961
DK
39072013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3908
3909 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3910 (bug#15580).
3911
62ad85e6
GM
39122013-10-16 Glenn Morris <rgm@gnu.org>
3913
0283d6b0
GM
3914 * ansi-color.el (ansi-color-drop-regexp):
3915 Add 1J, 1K, 2K. (Bug#15617)
3916
012e2f9f
GM
3917 * files.el (hack-local-variables--warned-lexical): New.
3918 (hack-local-variables):
3919 Warn about misplaced lexical-binding. (Bug#15616)
3920
62ad85e6
GM
3921 * net/eww.el (eww-render): Always set eww-current-url,
3922 and update header line. (Bug#15622)
3923 (eww-display-html): ... Rather than just doing it here.
3924
6456c0ea
EZ
39252013-10-15 Eli Zaretskii <eliz@gnu.org>
3926
3927 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3928 menu navigations commands.
3929
c2de5588
DK
39302013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3931
3932 * progmodes/subword.el (subword-capitalize): Be careful when
3933 the search for [[:alpha:]] fails (bug#15580).
3934
ccd4a783
EZ
39352013-10-14 Eli Zaretskii <eliz@gnu.org>
3936
3937 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3938 to commands that scroll the menu.
3939
1eda1d8d
DG
39402013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3941
c2de5588
DK
3942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3943 Handle methods ending with `?' and `!'.
1eda1d8d 3944
e70181b8
AM
39452013-10-14 Akinori MUSHA <knu@iDaemons.org>
3946
3947 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3948 `japanese-cp932' to `cp932' to fix the problem where saving a
3949 source file written in Shift_JIS twice would end up having
3950 `coding: japanese-cp932' which Ruby could not recognize.
3951 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3952 in `ruby-encoding-map'.
3953 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3954 doesn't need to be explicitly declared in magic comment.
3955 (ruby-encoding-map): Add type declaration for better customize UI.
3956
9148ee92
GM
39572013-10-13 Glenn Morris <rgm@gnu.org>
3958
a5d38e34
GM
3959 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3960 Occur buffers are read-only. http://bugs.debian.org/720775
3961
9148ee92
GM
3962 * emacs-lisp/authors.el (authors-fixed-entries):
3963 Comment out old alpha stuff.
3964
a9ba094b
DG
39652013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3966
3967 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3968 to `after-save-hook' instead of `before-save-hook'.
3969 (ruby-mode-set-encoding): Use the value of coding system used to
3970 write the file. Call `basic-save-buffer-1' after modifying the
3971 buffer.
3972
7a068717
AM
39732013-10-13 Alan Mackenzie <acm@muc.de>
3974
3975 Fix indentation/fontification of Java enum with
3976 "implements"/generic.
3977
c2de5588
DK
3978 * progmodes/cc-engine.el (c-backward-over-enum-header):
3979 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3980 (c-inside-bracelist-p): Uses new function above.
3981 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3982 function above.
3983 (c-font-lock-enum-tail): Uses new function above.
3984
85b64f02
KH
39852013-10-13 Kenichi Handa <handa@gnu.org>
3986
3987 * international/mule-cmds.el (select-safe-coding-system): Remove a
3988 superfluous condition in chekcing whether a coding system is safe
3989 or not.
3990
fc7f501b
OK
39912013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3992
3993 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3994
fdcb2049
AP
39952013-10-13 Andreas Politz <politza@hochschule-trier.de>
3996
3997 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3998
8c106d17
GM
39992013-10-13 Glenn Morris <rgm@gnu.org>
4000
feab892d
GM
4001 * menu-bar.el (menu-bar-update-buffers):
4002 Unify Buffers menu prompt string. (Bug#15576)
4003
b22d0686
GM
4004 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4005
8c106d17
GM
4006 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4007 Add some entries.
4008 (authors-fixed-entries): Use accented form of name.
4009
1b12c797
SM
40102013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4011
650fa7bf 4012 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4013 method calls (bug#15594).
650fa7bf
SM
4014 (ruby-smie--args-separator-p): New function.
4015 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4016 recognize paren-free method calls.
4017
1b12c797
SM
4018 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4019 internals of universal-argument.
4020
029619c8
EZ
40212013-10-11 Eli Zaretskii <eliz@gnu.org>
4022
4023 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4024 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4025 dropped menu on second mouse click on the menu bar.
029619c8 4026
dd070019
SM
40272013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4030 (explicit-shell-file-name): Declare.
4031 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4032 (sh-completion-at-point-function): New function.
4033 (sh-mode): Use it.
4034 (sh-smie--keyword-p): Remove unused argument.
4035 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4036 vars.
4037 (sh-set-shell): Always setup SMIE, even if we use the
4038 old indentation code.
4039
0922b826
DG
40402013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4041
b68e2926
DG
4042 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4043 cases of ? and =.
4044 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4045 predicate would return nil are almost non-existent.
4046 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4047
0922b826
DG
4048 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4049 cache also after commands that modify the buffer but don't move
4050 point.
4051
ee041f2d
SM
40522013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * env.el (substitute-env-in-file-name): New function.
4055 (substitute-env-vars): Extend the meaning of the optional arg.
4056
a5dab159
EZ
40572013-10-10 Eli Zaretskii <eliz@gnu.org>
4058
4059 * term/w32-win.el (dynamic-library-alist): Define separate lists
4060 of GIF DLLs for versions before and after 5.0.0 of giflib.
4061 (Bug#15531)
4062
0449d6cd 40632013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4064
4065 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4066 not locked, use last revision and current source as
4067 defaults. (Bug#15569)
4068
2f6e161e
MY
40692013-10-10 Masatake YAMATO <yamato@redhat.com>
4070
4071 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4072 menu-bar is hidden.
4073
6c8413fc
MR
40742013-10-10 Martin Rudalics <rudalics@gmx.at>
4075
4076 * window.el (pop-to-buffer-same-window): Fix doc-string.
4077 (Bug#15492)
4078
20832de0
SM
40792013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4082
c6e8ae77
AC
40832013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4084
4085 * calendar/icalendar.el (icalendar-import-file):
4086 Fix interactive spec. (Bug#15482)
4087
9db13baf
GM
40882013-10-10 Glenn Morris <rgm@gnu.org>
4089
9271e90e
GM
4090 * desktop.el (desktop-save): Default to saving in .emacs.d,
4091 since PWD is no longer in desktop-path by default. (Bug#15319)
4092
9db13baf
GM
4093 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4094 now that text mode has a menu with the same entry.
4095 (menu-bar-text-mode-auto-fill): Remove now unused func.
4096 * textmodes/text-mode.el (text-mode-map):
4097 Use auto-fill help text from menu-bar.el.
4098
a0be396a 40992013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4100
4101 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4102
2edcd3c7
JL
41032013-10-09 Juri Linkov <juri@jurta.org>
4104
4105 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4106 instead of this-command-keys. Add universal-argument-more and
4107 universal-argument-minus to the list of prefix commands. (Bug#15568)
4108
574411d0
GM
41092013-10-09 Glenn Morris <rgm@gnu.org>
4110
14afa541
GM
4111 * vc/vc-svn.el (vc-svn-create-repo):
4112 Expand paths in file://... url. (Bug#15446)
4113
574411d0
GM
4114 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4115 Add some entries.
4116 (authors): Remove unused local variables.
4117
79804536
SM
41182013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * profiler.el: Create a more coherent calltree from partial backtraces.
4121 (profiler-format): Hide the tail with `invisible' so that C-s can still
4122 find the hidden elements.
4123 (profiler-calltree-depth): Don't recurse so enthusiastically.
4124 (profiler-function-equal): New hash-table-test.
4125 (profiler-calltree-build-unified): New function.
4126 (profiler-calltree-build): Use it.
4127 (profiler-report-make-name-part): Indent the calltree less.
4128 (profiler-report-mode): Add visibility specs for profiler-format.
4129 (profiler-report-expand-entry, profiler-report-toggle-entry):
4130 Expand the whole subtree when provided with a prefix arg.
4131
238150c8
DG
41322013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4135 iuwu-mod token.
4136 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4137 hanging iuwu-mod token.
4138 (ruby-smie--forward-token): Do not include a dot after a token in
4139 that token.
4140 (ruby-smie--backward-token): Likewise.
4141
b0949cc4
JL
41422013-10-08 Juri Linkov <juri@jurta.org>
4143
4144 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4145 to isearch-other-control-char.
4146 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4147 and isearch-post-command-hook to post-command-hook.
4148 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4149 and isearch-post-command-hook from post-command-hook.
4150 (isearch-unread-key-sequence)
4151 (isearch-reread-key-sequence-naturally)
4152 (isearch-lookup-scroll-key, isearch-other-control-char)
4153 (isearch-other-meta-char): Remove functions.
4154 (isearch-pre-command-hook, isearch-post-command-hook):
4155 New functions based on isearch-other-meta-char rewritten
4156 relying on the new behavior of overriding-terminal-local-map
4157 that does not replace the local keymaps any more. (Bug#15200)
4158
4ed77415
EZ
41592013-10-08 Eli Zaretskii <eliz@gnu.org>
4160
4161 Support menus on text-mode terminals.
4162 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4163 functionality.
4164
4165 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4166
c2de5588
DK
4167 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4168 Move here from mouse.el.
4ed77415
EZ
4169 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4170 and arrow keys.
4171 (tty-menu-navigation-map): New map for TTY menu navigation.
4172
4173 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4174
4175 * frame.el (display-mouse-p): Report text-mode mouse as available
4176 on w32.
4177 (display-popup-menus-p): Report availability if mouse is
4178 available; don't condition on window-system.
4179
4180 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4181 (tty-menu-selected-face): New faces.
4182
b7d5bd82
TL
41832013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4184
06286513
SM
4185 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4186 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4187 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4188 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4189 New constants.
4190 (lisp-mode-variables): New `elisp' argument.
4191 (emacs-lisp-mode): Use it.
4192 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4193 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4194
b7d5bd82
TL
4195 * indent.el: Use lexical-binding.
4196 (indent-region): Add progress reporter.
4197 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4198 last step.
4199 (indent--next-tab-stop): New function to implement this behavior.
4200 (tab-to-tab-stop, move-to-tab-stop): Use it.
4201
42022013-10-08 Teemu Likonen <tlikonen@iki.fi>
4203
4204 * indent.el (indent-rigidly--current-indentation): New function.
4205 (indent-rigidly-map): New var.
4206 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4207
5ea75d23
BG
42082013-10-08 Bastien Guerry <bzg@gnu.org>
4209
4210 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4211
cc5da1ec
SM
42122013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4213
8ffa1a0b
SM
4214 * progmodes/perl-mode.el: Use lexical-binding.
4215 Remove redundant :group args.
4216 (perl-nochange): Change default to be closer to other major modes's
4217 standard behavior.
4218 (perl-indent-line): Don't consider text on current line as a
4219 valid beginning of function from which to indent.
4220
f2223371
SM
4221 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4222 with more than one argument (bug#15538).
4223
44256060
SM
4224 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4225
cc5da1ec
SM
4226 * vc/pcvs.el: Use lexical-binding.
4227 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4228 environment of `eval'.
4229 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4230 than a list of expressions. Adjust callers.
4231 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4232
0ea1599d
DG
42332013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4234
4235 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4236 case of the dot in a chained method call being on the following line.
0ea1599d 4237
da3e5ebb
SM
42382013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4239
2abb4e65
SM
4240 * electric.el (electric-indent-inhibit): New var.
4241 (electric-indent-post-self-insert-function): Use it.
4242 * progmodes/python.el (python-mode): Set it.
4243
d2e0e795
SM
4244 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4245 open braces.
4246
4247 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4248
bdc6b4c8
SM
4249 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4250 (css-mode): Use electric-indent-chars.
4251
da3e5ebb
SM
4252 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4253 (font-lock-beg, font-lock-end): Move before first use.
4254 (nxml-mode): Use syntax-propertize-function.
4255 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4256 (nxml-extend-after-change-region): Remove.
4257 * nxml/xmltok.el: Use lexical-binding.
4258 (xmltok-save): Use `declare'.
4259 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4260 * nxml/nxml-util.el: Use lexical-binding.
4261 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4262 Use `declare'.
4263 * nxml/nxml-ns.el: Use lexical-binding.
4264 (nxml-ns-save): Use `declare'.
4265 (nxml-ns-prefixes-for): Avoid add-to-list.
4266 * nxml/rng-match.el: Use lexical-binding.
4267 (rng--ipattern): Use cl-defstruct.
4268 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4269 (rng-cons-group-after, rng-subst-group-after)
4270 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4271 Use closures instead of `(lambda...).
4272
f8f91d5d
MA
42732013-10-07 Michael Albinus <michael.albinus@gmx.de>
4274
4275 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4276 of BEG and END.
4277
da3e5ebb
SM
4278 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4279 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4280 (tramp-gvfs-handle-insert-file-contents): Remove function.
4281
da3e5ebb
SM
4282 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4283 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4284
4285 * net/trampver.el: Update release number.
4286
7ccae3b1
SM
42872013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4288
55ca2c0d
SM
4289 * progmodes/compile.el (compilation-parse-errors):
4290 Use compilation--put-prop.
4291 (compilation--ensure-parse): Check compilation-multiline.
4292
731fc3ae
SM
4293 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4294
da3e5ebb
SM
4295 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4296 lexical-binding.
a5833280 4297
2e7ba2c2
SM
4298 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4299
7ccae3b1
SM
4300 * progmodes/ruby-mode.el: Fix recently added tests.
4301 (ruby-smie-grammar): Add - and +.
4302 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4303 (ruby-smie--backward-id): New functions.
4304 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4305 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4306 any more.
4307
85698d63
LL
43082013-10-07 Leo Liu <sdl.web@gmail.com>
4309
4310 * register.el (register-preview-delay)
4311 (register-preview-functions): New variables.
4312 (register-read-with-preview, register-preview)
4313 (register-describe-oneline): New functions.
4314 (point-to-register, window-configuration-to-register)
4315 (frame-configuration-to-register, jump-to-register)
4316 (number-to-register, view-register, insert-register)
4317 (copy-to-register, append-to-register, prepend-to-register)
4318 (copy-rectangle-to-register): Use register-read-with-preview to
4319 read register. (Bug#15525)
4320
3986af6c
DS
43212013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4322
4323 * net/network-stream.el (network-stream-open-starttls): Don't add
4324 --insecure if it's already present, because that gnutls-cli
4325 rejects getting that parameter twice.
4326
5cd9cda9
DG
43272013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4330 keyword, too.
4331
da9ea6d9
DG
43322013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4333
4334 * newcomment.el (comment-use-global-state): Change default value
4335 to t, mark obsolete (Bug#15251).
4336 (comment-beginning): In addition to `comment-to-syntax', check the
4337 value of `comment-use-global-state'.
4338
34d1a133
SM
43392013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4342 (ruby-comment-column): Follow the global default, by default.
4343 (ruby-smie-grammar): Add assignment syntax.
4344 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4345 open-paren, a comma, or a \.
4346 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4347 and line continuations.
4348 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4349 followed by implicit semi-colons. Add rule for string concatenation
4350 and for indentation at BOB.
4351 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4352
4353 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4354 calling next-sexp, since next-token may have skipped chars which
4355 next-sexp doesn't know should be skipped!
4356
6f6ab820
LL
43572013-10-05 Leo Liu <sdl.web@gmail.com>
4358
34d1a133
SM
4359 * progmodes/octave.el (octave-send-region):
4360 Call compilation-forget-errors.
6f6ab820 4361
34ca0f4c
XF
43622013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4363
4364 * vc/vc-svn.el (vc-svn-find-admin-dir):
4365 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4366 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4367 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4368 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4369
a27c1b72
SM
43702013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4373
258ab3bc
SM
43742013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * subr.el (read-passwd): Hide chars even when called within a context
4377 where after-change-functions is disabled (bug#15501).
4378 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4379 until we removed ourself from overriding-terminal-local-map.
4380
939fb29c
LL
43812013-10-04 Leo Liu <sdl.web@gmail.com>
4382
258ab3bc
SM
4383 * progmodes/octave.el (inferior-octave-mode):
4384 Call compilation-forget-errors.
939fb29c 4385
63bd7f35
XF
43862013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4387
4388 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4389
9e6229fa
MA
43902013-10-04 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * net/secrets.el (secrets-create-collection): Add optional
4393 argument ALIAS. Use proper Label keyword. Append ALIAS as
4394 dbus-call-method argument. (Bug#15516)
4395
1dab32a3
LL
43962013-10-04 Leo Liu <sdl.web@gmail.com>
4397
4398 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4399 (inferior-octave-compilation-font-lock-keywords): New variables.
4400 (compilation-error-regexp-alist)
4401 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4402 (inferior-octave-mode): Use compilation-shell-minor-mode.
4403
6cad7ba3
JS
44042013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4405
4406 * minibuffer.el (completion--replace): Be careful that `end' might be
4407 a marker.
4408
acbadd00
DU
44092013-10-03 Daiki Ueno <ueno@gnu.org>
4410
4411 Add support for package signature checking.
4412 * emacs-lisp/package.el (url-http-file-exists-p)
4413 (epg-make-context, epg-context-set-home-directory)
4414 (epg-verify-string, epg-context-result-for)
4415 (epg-signature-status, epg-signature-to-string)
4416 (epg-check-configuration, epg-configuration)
4417 (epg-import-keys-from-file): Declare.
4418 (package-check-signature): New user option.
4419 (package-unsigned-archives): New user option.
4420 (package-desc): Add `signed' field.
4421 (package-load-descriptor): Set `signed' field if .signed file exists.
4422 (package--archive-file-exists-p): New function.
4423 (package--check-signature): New function.
4424 (package-install-from-archive): Check package signature.
4425 (package--download-one-archive): Check archive signature.
4426 (package-delete): Remove .signed file.
4427 (package-import-keyring): New command.
4428 (package-refresh-contents): Import default keyring.
4429 (package-desc-status): Add "unsigned" status.
4430 (describe-package-1, package-menu--print-info)
4431 (package-menu-mark-delete, package-menu--find-upgrades)
4432 (package-menu--status-predicate): Support "unsigned" status.
4433
adf2aa61
SM
44342013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4437 the new compilation scheme using the new byte-codes.
4438
4439 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4440 (byte-pophandler): New byte codes.
4441 (byte-goto-ops): Adjust accordingly.
4442 (byte-compile--use-old-handlers): New var.
4443 (byte-compile-catch): Use new byte codes depending on
4444 byte-compile--use-old-handlers.
4445 (byte-compile-condition-case--old): Rename from
4446 byte-compile-condition-case.
4447 (byte-compile-condition-case--new): New function.
4448 (byte-compile-condition-case): New function that dispatches depending
4449 on byte-compile--use-old-handlers.
4450 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4451 when we can.
4452
4453 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4454 Optimize under `condition-case' and `catch' if
4455 byte-compile--use-old-handlers is nil.
4456 (disassemble-offset): Handle new bytecodes.
4457
328a8179
SM
44582013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * subr.el (error): Use `declare'.
4461 (decode-char, encode-char): Use advertised-calling-convention instead
4462 of the docstring to discourage use of the `restriction' arg.
4463
15a1e936
DU
44642013-10-03 Daiki Ueno <ueno@gnu.org>
4465
4466 * epg.el (epg-verify-file): Add a comment saying that it does not
4467 notify verification error as a return value nor a signal.
4468 (epg-verify-string): Ditto.
4469
376f862a
KR
44702013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4471
4472 * progmodes/compile.el (compilation-start): Try globbing the arg to
4473 `cd' (bug#15417).
4474
a2f93a5f
MA
44752013-10-02 Michael Albinus <michael.albinus@gmx.de>
4476
4477 Sync with Tramp 2.2.8.
4478
4479 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4480 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4481 * net/trampver.el: Update release number.
4482
0daa0804
JD
44832013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4484
4485 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4486 and default-process-coding-system for darwin only.
4487
abd1ae34
SM
44882013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4491
be4e325d
MH
44922013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4493
4494 * vc/vc-git.el (vc-git-grep): Disable pager.
4495
e9155c4a
DG
44962013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4497
494e898b
DG
4498 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4499 Use :url instead of :homepage, as per
4500 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4501
e9155c4a
DG
4502 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4503 non-nil, use `syntax-ppss' (Bug#15251).
4504
481a8e0f
RS
45052013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4506
be4e325d
MH
4507 * progmodes/octave.el (inferior-octave-startup-file):
4508 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4509
056453c6
DG
45102013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4511
be4e325d
MH
4512 * emacs-lisp/package.el (package-desc-from-define):
4513 Accept additional arguments as plist, convert them to an alist and store
4514 them in the `extras' slot.
056453c6
DG
4515 (package-generate-description-file): Convert extras alist back to
4516 plist and append to the `define-package' form arguments.
4517 (package--alist-to-plist): New function.
4518 (package--ac-desc): Add `extras' slot.
4519 (package--add-to-archive-contents): Check if the archive-contents
4520 vector is long enough, and if it is, pass its `extras' slot value
4521 to `package-desc-create'.
4522 (package-buffer-info): Call `lm-homepage', pass the returned value
4523 to `package-desc-from-define'.
4524 (describe-package-1): Render the homepage button (Bug#13291).
4525
be4e325d
MH
4526 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4527 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4528
832966e5
JD
45292013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4530
4531 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4532 and default-process-coding-system to utf-8-unix (Bug#15402).
4533
6cfe977d
XF
45342013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4535
4536 * subr.el (looking-back): Do not recommend using looking-back.
4537
38de11bd
AM
45382013-09-28 Alan Mackenzie <acm@muc.de>
4539
4540 Fix indentation/fontification of Java enum with "implements".
4541
4542 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4543 regexp which matches "implements", etc., in Java.
4544 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4545 specifier clauses coming after "enum".
4546 * progmodes/cc-fonts.el (c-font-lock-declarations)
4547 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4548 after "enum".
4549
1610938f
JD
45502013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4551
4552 * faces.el (region): Change ns_selection_color to
4553 ns_selection_fg_color, add ns_selection_bg_color.
4554
e090f499
LL
45552013-09-28 Leo Liu <sdl.web@gmail.com>
4556
4d2e94d1
LL
4557 * progmodes/octave.el (inferior-octave-completion-table)
4558 (inferior-octave-completion-at-point): Minor tweaks.
4559
e090f499
LL
4560 * textmodes/ispell.el (ispell-lookup-words): Rename from
4561 lookup-words. (Bug#15460)
4562 (lookup-words): Obsolete.
4563 (ispell-complete-word, ispell-command-loop): All uses changed.
4564
7e138a62
RS
45652013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4566
a12bf61e 4567 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4568 (octave-mode-menu): Add octave-send-buffer.
4569 (octave-send-buffer): New function.
4570
5af5ed08
RS
45712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4572
a12bf61e 4573 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4574 octave-lookfor.
4575 (octave-mode-menu): Add octave-lookfor.
4576 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4577 octave-lookfor.
4578 (octave-lookfor): New function.
4579
3b7b2692
SM
45802013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/cl-macs.el:
4583 (cl--loop-destr-temps): Remove.
4584 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4585 its convention.
4586 (cl--loop-set-iterator-function): New function.
4587 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4588 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4589 Bind `it' with `let' instead of substituting it with `cl-subst'.
4590 (cl--unused-var-p): New function.
4591 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4592 Eliminate some unused variable warnings (bug#15326).
4593
529fb53f
TH
45942013-09-27 Tassilo Horn <tsdh@gnu.org>
4595
4596 * doc-view.el (doc-view-scale-reset): Rename from
4597 `doc-view-reset-zoom-level'.
4598 (doc-view-scale-adjust): New command.
4599 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4600 `doc-view-scale-adjust'.
4601
0550c95a
TH
46022013-09-26 Tassilo Horn <tsdh@gnu.org>
4603
4604 * doc-view.el (doc-view-reset-zoom-level): New command.
4605 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4606 zoom commands (bug#15466).
4607
6950f152
KH
46082013-09-26 Kenichi Handa <handa@gnu.org>
4609
4610 * international/quail.el (quail-help): Make it not a command.
4611
39587580
LL
46122013-09-26 Leo Liu <sdl.web@gmail.com>
4613
4614 * minibuffer.el (completion-all-sorted-completions): Make args
4615 optional as they are.
4616
00578659
DC
46172013-09-25 Daniel Colascione <dancol@dancol.org>
4618
4619 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4620 specs are and that they're not evaluated.
4621
0c173878
SS
46222013-09-24 Sam Steingold <sds@gnu.org>
4623
4624 * midnight.el (clean-buffer-list-kill-regexps)
4625 (clean-buffer-list-kill-buffer-names): Update for the new Man
4626 buffer naming which includes the object name.
4627
84998447
SM
46282013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4631 (eshell-parse-command, eshell-parse-pipeline): Use it since
4632 eshell-separate-commands requires a dynamic scoped var.
4633 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4634
33215353
LL
46352013-09-23 Leo Liu <sdl.web@gmail.com>
4636
4637 * autoinsert.el (auto-insert-alist): Make the value of
4638 lexical-binding match its file setting.
4639
57b16162
JB
46402013-09-23 Juanma Barranquero <lekktu@gmail.com>
4641
c8af4e67
JB
4642 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4643
57b16162
JB
4644 * autoarg.el (autoarg-kp-digit-argument):
4645 * electric.el (Electric-command-loop):
4646 * kmacro.el (kmacro-step-edit-insert):
4647 Do not set universal-argument-num-events.
4648
7186ba60
LL
46492013-09-22 Leo Liu <sdl.web@gmail.com>
4650
4651 * files.el (interpreter-mode-alist): Add octave.
4652
ece15004
AM
46532013-09-21 Alan Mackenzie <acm@muc.de>
4654
4655 C++: fontify identifier in declaration following "public:" correctly.
4656 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4657 to match "public", etc.
4658 (c-decl-prefix-re): Add ":" into the C++ value.
4659 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4660 bit. Add a check for a ":" preceded by "public", etc.
4661
75d83e22
EZ
46622013-09-21 Eli Zaretskii <eliz@gnu.org>
4663
4664 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4665 recognized by GDB 7.5 and later.
4666
d052d3bd
XF
46672013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4668
4669 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4670
31dca772
R
46712013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * subr.el (internal--call-interactively): New const.
4674 (called-interactively-p): Use it (bug#3984).
4675
98ccf24e
XF
46762013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4677
4678 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4679 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4680 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4681
c39cc7d1
SM
46822013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4685 (eshell-ls-orig-insert-directory): Remove.
4686 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4687 (eshell-ls-use-in-dired): Use advice-add/remove.
4688 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4689 Add `orig-fun' arg for use in :around advice.
4690 Make it check (redundantly) eshell-ls-use-in-dired.
4691
9a0289a2
GM
46922013-09-19 Glenn Morris <rgm@gnu.org>
4693
a2c501b8
GM
4694 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4695
c440407a
GM
4696 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4697
9a0289a2
GM
4698 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4699
85e05915
MA
47002013-09-19 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4703 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4704 (tramp-get-remote-python): New defuns.
4705 (tramp-get-remote-uid-with-perl)
4706 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4707 contributed by yary <not.com@gmail.com> (tiny change).
4708 (tramp-get-remote-uid-with-python)
4709 (tramp-get-remote-gid-with-python): New defuns. Python code
4710 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4711 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4712
ce503312
GM
47132013-09-19 Glenn Morris <rgm@gnu.org>
4714
f7544773
GM
4715 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4716
72fd2877
GM
4717 * eshell/em-unix.el (eshell-remove-entries):
4718 Rename argument to avoid name-clash with global `top-level'.
4719
336b5a56
GM
4720 * eshell/esh-proc.el (eshell-kill-process-function):
4721 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4722 (eshell-reset-after-proc): Remove unused arg `proc'.
4723
57a3a53d
GM
4724 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4725 (directory-files-and-attributes): Mark unused arg.
4726
3261d4af
GM
4727 * eshell/em-unix.el (eshell-remove-entries):
4728 Remove unused arg `path'. Update callers.
4729
8e51b5d0
GM
4730 * eshell/em-hist.el (eshell-hist-parse-arguments):
4731 Remove unused arg `silent'. Update callers.
4732
ce503312
GM
4733 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4734 Fix (f)boundp mix-up.
4735
4736 * eshell/em-smart.el (eshell-smart-scroll-window)
4737 (eshell-disable-after-change):
336b5a56 4738 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4739
ee3ce8a7
AM
47402013-09-18 Alan Mackenzie <acm@muc.de>
4741
4742 Fix fontification of type when followed by "const".
4743 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4744 "known" types from fontification.
4745
ec9177ba
GM
47462013-09-18 Glenn Morris <rgm@gnu.org>
4747
7bb3e768
GM
4748 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4749 (chart-face-list): Drop Emacsen without display-color-p.
4750
5148da15
GM
4751 * net/eww.el (libxml-parse-html-region): Declare.
4752 (eww-display-html): Explicit error if no libxml2 support.
4753
2f68e157
GM
4754 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4755
9019d095
GM
4756 * image.el (image-type-from-buffer, image-multi-frame-p):
4757 Remove --without-x warning/error.
67645389 4758
5f30349b 4759 * mouse.el (mouse-yank-primary):
45069b2e 4760 * term.el (term-mouse-paste):
5f30349b
GM
4761 Reorder to silence --without-x compilation.
4762
cd8edbbe
GM
4763 * mpc.el (doc-view-mode): Silence --without-x compilation.
4764
8a78544e
GM
4765 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4766 Silence --without-x compilation.
4767
12679bfd
GM
4768 * progmodes/gud.el (gud-find-file, gud-mode):
4769 Silence --without-x compilation.
4770 (tooltip-mode): Declare.
30810a05 4771
f0047cb9
GM
4772 * wdired.el (dired-backup-overwrite): Remove declaration.
4773 (wdired-mode-map): Add doc string.
4774
e740f9d2
GM
4775 * custom.el (x-get-resource): Declare.
4776
92d77c89
GM
4777 * eshell/em-glob.el (ange-cache):
4778 * eshell/em-unix.el (ange-cache): Declare.
4779
76e69577
GM
4780 * faces.el (x-display-list, x-open-connection, x-get-resource):
4781 Declare.
7e58af4b
GM
4782
4783 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4784 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4785 Declare.
76e69577 4786
4bd4c0af 4787 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4788
ffb82dbd
GM
4789 * net/gnutls.el (gnutls-log-level): Declare.
4790
986ed135
GM
4791 * net/shr.el (image-size, image-animate): Declare.
4792
e740f9d2
GM
4793 * simple.el (font-info): Declare.
4794
d2f3e9f8
GM
4795 * subr.el (x-popup-dialog): Declare.
4796
047a1a4c
GM
4797 * term/common-win.el (x-select-enable-primary)
4798 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4799 Declare.
4800
f4a1d572
GM
4801 * term/ns-win.el (x-handle-args): Declare.
4802
e843de77
GM
4803 * term/x-win.el (x-select-enable-clipboard): Declare.
4804
5fa89513
GM
4805 * term/w32-win.el (create-default-fontset): Declare.
4806
38702b5b
GM
4807 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4808 Declare.
4809
e740f9d2
GM
4810 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4811 (fit-frame-to-buffer): Explicit error if --without-x.
4812 (mouse-autoselect-window-select): Silence compiler.
4813
49a053fc
GM
4814 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4815
4816 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4817 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4818 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4819 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4820 Remove unused local variables.
4821
4822 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4823
ec9177ba
GM
4824 * textmodes/two-column.el: Make 2C-split work for --without-x.
4825 (scroll-bar-columns): Autoload.
4826 (top-level): Require fringe when compiling.
4827
9f25cb77
LL
48282013-09-18 Leo Liu <sdl.web@gmail.com>
4829
4830 * subr.el (add-hook): Robustify to handle closure as well.
4831
2b42da98
GM
48322013-09-17 Glenn Morris <rgm@gnu.org>
4833
4834 * simple.el (messages-buffer-mode-map): Unbind "g".
4835
e8b66a6a
SM
48362013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4837
9c0ad4f7
SM
4838 * help-mode.el (help-mode-finish): Use derived-mode-p.
4839 Remove obsolete highlighting.
4840
7a806dfb
SM
4841 * play/life.el (life-mode): Use define-derived-mode. Derive from
4842 special-mode.
4843 (life): Let-bind inhibit-read-only.
4844 (life-setup): Avoid `setq'. Use `life-mode'.
4845
96dbf5a8
SM
4846 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4847 which should not be needed any more.
4848 (package-menu-refresh, package-menu-describe-package): Use user-error.
4849
e8b66a6a
SM
4850 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4851 (eshell-post-rewrite-command-hook): Make obsolete.
4852 (eshell-parse-command): Simplify.
4853 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4854 (eshell--cmd): Declare.
4855 (eshell-parse-pipeline): Remove unused var `final-p'.
4856 Pass a dynvar to eshell-post-rewrite-command-hook.
4857 Implement the new eshell-post-rewrite-command-function.
4858 (eshell-invoke-directly): Remove unused arg `input'.
4859 * eshell/esh-io.el (eshell-io-initialize):
4860 Use eshell-post-rewrite-command-function (bug#15399).
4861 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4862 adjust to new calling convention.
4863 (eshell-create-handles): Rename args to avoid clashing with dynvar
4864 `standard-output'.
4865
90582f05
GM
48662013-09-17 Glenn Morris <rgm@gnu.org>
4867
4868 * simple.el (messages-buffer-mode): New major mode.
4869 (messages-buffer): New function.
4870 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4871 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4872 (ert-run-test): Use `messages-buffer' function.
90582f05 4873 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4874 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4875 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4876
39eb0cb5 48772013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4878
4879 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4880
1d42e5b6 4881 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4882
70568a90
SM
48832013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4884
504a0381
SM
4885 * icomplete.el (icomplete-in-buffer): New var.
4886 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4887 vars and replace them with functions.
4888 (icomplete-minibuffer-setup): Adjust accordingly.
4889 (icomplete--completion-table, icomplete--completion-predicate)
4890 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4891 New functions.
4892 (icomplete-forward-completions, icomplete-backward-completions)
4893 (icomplete-simple-completing-p, icomplete-exhibit)
4894 (icomplete-completions): Use them.
4895 (icomplete--in-region-buffer): New var.
4896 (icomplete--in-region-setup): New function.
4897 (icomplete-mode): Use it.
4898
70568a90
SM
4899 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4900 (bug#15379).
4901 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4902 return args and options.
4903 (eshell-eval-using-options): Use the new return value of
4904 eshell--do-opts to set the options's vars in their scope.
4905 (eshell--set-option): Rename from eshell-set-option.
4906 Add arg `opt-vals'.
4907 (eshell--process-option): Rename from eshell-process-option.
4908 Add arg `opt-vals'.
4909 (eshell--process-args): Use an `opt-vals' alist to store the options's
4910 values during their processing and return them additionally to the
4911 remaining args.
4912
578c21bc
DG
49132013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4914
4915 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4916 continuation character an operator, as far as indentation is
4917 concerned (Bug#15369).
4918
c089653d
MR
49192013-09-15 Martin Rudalics <rudalics@gmx.at>
4920
4921 * window.el (window--state-put-2): Don't process buffer state
4922 when buffer doesn't exist any more (Bug#15382).
4923
1e53bb4b
GM
49242013-09-15 Glenn Morris <rgm@gnu.org>
4925
30753242
GM
4926 * eshell/em-unix.el (eshell/rm):
4927 Make -f ignore missing files. (Bug#15373)
4928
1e53bb4b
GM
4929 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4930 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4931 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4932
0d8863b3
GM
49332013-09-14 Glenn Morris <rgm@gnu.org>
4934
4935 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4936
d3fc6549
GM
49372013-09-13 Glenn Morris <rgm@gnu.org>
4938
4939 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4940 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4941
fcd42c11
DA
49422013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4943
4944 * frame.el (x-focus-frame): Mark as declared in frame.c.
4945
7830899f
SM
49462013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * ls-lisp.el: Use advice-add.
4949 (original-insert-directory): Remove.
4950 (ls-lisp--insert-directory): Rename from insert-directory; add
4951 `orig-fun' argument.
4952 (insert-directory): Advise.
4953
84387cd2
EZ
49542013-09-13 Eli Zaretskii <eliz@gnu.org>
4955
4956 * term.el (term-emulate-terminal): Decode the command string
4957 before passing it to term-command-hook. (Bug#15337)
4958
35ffc6ba
GM
49592013-09-13 Glenn Morris <rgm@gnu.org>
4960
5c3f9bcc
GM
4961 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4962
2ada368a
GM
4963 * eshell/esh-ext.el (eshell-search-path): Declare.
4964
fcef2e13
GM
4965 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4966 Otherwise an error occurs if eshell-dirs module not loaded.
4967
35ffc6ba
GM
4968 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4969
35c3d36e
MA
49702013-09-13 Michael Albinus <michael.albinus@gmx.de>
4971
4972 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4973 `tramp-check-proper-host'. Check for a valid method name.
4974
4975 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4976 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4977 * net/tramp-sh.el (tramp-maybe-open-connection):
4978 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4979
4980 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4981 also for hash values.
4982
ae5e4c48
SM
49832013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4984
379add74
SM
4985 * term/ns-win.el (parameters): Don't declare as dynamic.
4986 (before-make-frame-hook): Don't add ineffective function.
4987
ae5e4c48
SM
4988 * eshell/*.el: Use lexical-binding (bug#15231).
4989
b5623270
KH
49902013-09-12 Kenichi Handa <handa@gnu.org>
4991
ae5e4c48 4992 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4993
30213927
GM
49942013-09-12 Glenn Morris <rgm@gnu.org>
4995
be94d713 4996 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4997 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4998
44915370
GM
4999 * subr.el (do-after-load-evaluation): Also give compiler warnings
5000 when obsolete files are used (except by obsolete files).
5001
a6ae021f
GM
5002 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5003 in the status output, assume `filename' is the first. (Bug#15322)
5004
40e64f0c
GM
5005 * vc/vc.el (vc-deduce-fileset): Doc fix.
5006
16d9f896
GM
5007 * calc/calc-help.el (Info-goto-node):
5008 * progmodes/cperl-mode.el (Info-find-node):
5009 * vc/ediff.el (Info-goto-node): Update declarations.
5010
dea01c6e
GM
5011 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5012
759880bf 5013 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5014 (vc-bzr-pull): Require vc-dispatcher.
5015 * vc/vc-git.el (vc-compilation-mode): Declare.
5016 (vc-git-pull): Require vc-dispatcher.
5017
08d66420
GM
5018 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5019
30b626e9
GM
5020 * progmodes/octave.el (help-button-action): Declare.
5021
8c05cb10
GM
5022 * shell.el (shell-directory-tracker): Output error as a message
5023 rather than just returning it as a string.
5024 (shell-process-pushd): Remove useless use of message.
5025
30213927
GM
5026 * dframe.el (dframe-timer-fn):
5027 * files.el (dir-locals-read-from-file):
5028 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5029 (mpc-format):
5030 * reveal.el (reveal-post-command):
5031 * saveplace.el (load-save-place-alist-from-file):
5032 * shell.el (shell-resync-dirs):
5033 * w32-common-fns.el (x-get-selection-value):
5034 * emacs-lisp/copyright.el (copyright-find-copyright):
5035 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5036 * emulation/tpu-edt.el (tpu-copy-keyfile):
5037 * play/bubbles.el (bubbles--mark-neighbourhood):
5038 * progmodes/executable.el
5039 (executable-make-buffer-file-executable-if-script-p):
5040 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5041
d3b049e6
SM
50422013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5043
170266d0
SM
5044 Cleanup Eshell to rely less on dynamic scoping.
5045 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5046 last-value, and ext-command here. Bind `args' closer to `body'.
5047 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5048 (eshell--args): Declare new dynamic var.
5049 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5050 last-value, and ext-command. Pass `args' to `body'.
5051 (eshell-process-args): Bind eshell--args.
5052 (eshell-set-option): Use eshell--args.
5053 * eshell/eshell.el (eshell): Use derived-mode-p.
5054 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5055 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5056 (eshell-glob-function): Declare.
5057 * eshell/esh-util.el: Require cl-lib.
5058 (eshell-read-hosts-file): Avoid add-to-list.
5059 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5060 `err'.
5061 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5062 Declare.
5063 (eshell/diff): Remove unused var `err'.
5064 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5065 `killflag'.
5066 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5067 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5068 first use.
5069 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5070 Move declaration before first use.
5071 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5072 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5073 rely on cl-return.
5074
56834f3b
GM
50752013-09-12 Glenn Morris <rgm@gnu.org>
5076
5077 * term/ns-win.el (global-map): Remove binding for ispell-next,
5078 deleted 1999-05-29. (Bug#15357)
5079
5c91a2b8
GM
50802013-09-11 Glenn Morris <rgm@gnu.org>
5081
da712f22
GM
5082 * echistory.el (electric-command-history): Remove call to deleted func.
5083
512e4cdc
GM
5084 * play/landmark.el (landmark-mode): Fix typos.
5085
d3506ca5
GM
5086 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5087 Check cvs-sort-ignore-file is bound.
5088
5c91a2b8
GM
5089 * savehist.el: No need for cl when compiling on Emacs.
5090
feeff482
SM
50912013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5092
656bd483
SM
5093 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5094 (bug#15338).
d3b049e6
SM
5095 (eshell-self-insert-command, eshell-send-invisible):
5096 Remove unused argument.
656bd483
SM
5097 (eshell-handle-control-codes): Remove unused var `orig'.
5098 Avoid delete-backward-char.
5099
feeff482
SM
5100 * files.el (set-auto-mode): Simplify a bit further.
5101
2a08047a
GM
51022013-09-11 Glenn Morris <rgm@gnu.org>
5103
5104 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5105 (set-auto-mode): Don't regexp-quote elements.
5106 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5107 * progmodes/cc-mode.el (interpreter-mode-alist):
5108 * progmodes/ruby-mode.el (interpreter-mode-alist):
5109 Revert previous change.
5110
34675540
SM
51112013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5112
1b3b87df
SM
5113 * play/snake.el (snake-mode):
5114 * play/mpuz.el (mpuz-mode):
5115 * play/landmark.el (lm-mode):
5116 * play/blackbox.el (blackbox-mode):
5117 * play/5x5.el (5x5-mode):
5118 * obsolete/options.el (Edit-options-mode):
5119 * net/quickurl.el (quickurl-list-mode):
5120 * net/newst-treeview.el (newsticker-treeview-mode):
5121 * mail/rmailsum.el (rmail-summary-mode):
5122 * mail/mspools.el (mspools-mode):
5123 * locate.el (locate-mode):
5124 * ibuffer.el (ibuffer-mode):
5125 * emulation/ws-mode.el (wordstar-mode):
5126 * emacs-lisp/debug.el (debugger-mode):
5127 * array.el (array-mode):
5128 * net/eudc.el (eudc-mode): Use define-derived-mode.
5129 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5130 Move initialization into declaration.
5131 (mairix-searches-mode): Use define-derived-mode.
5132 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5133 (eudc-edit-hotlist): Use dolist.
5134 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5135 (Man-mode): Use define-derived-mode.
5136 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5137 (Info-edit-mode): Use define-derived-mode.
5138 (Info-cease-edit): Use Info-mode.
5139 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5140 into declaration.
5141 (eshell-mode): Use define-derived-mode.
5142 * chistory.el (command-history-mode-map): Rename from
5143 command-history-map.
5144 (command-history-mode): Use define-derived-mode.
da712f22 5145 (Command-history-setup): Remove function.
1b3b87df
SM
5146 * calc/calc.el (calc-trail-mode-map): New var.
5147 (calc-trail-mode): Use define-derived-mode.
5148 (calc-trail-buffer): Set calc-main-buffer manually.
5149 * bookmark.el (bookmark-insert-annotation): New function.
5150 (bookmark-edit-annotation): Use it.
5151 (bookmark-edit-annotation-mode): Make it a proper major mode.
5152 (bookmark-send-edited-annotation): Use derived-mode-p.
5153 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5154 closer to its ideal place. Use \' to match EOS.
5155
34675540
SM
5156 * profiler.el (profiler-calltree-find): Use function-equal.
5157
6a5c15d9
GM
51582013-09-10 Glenn Morris <rgm@gnu.org>
5159
1af4c220
GM
5160 * files.el (interpreter-mode-alist): Convert to regexps.
5161 (set-auto-mode): Adapt for this. (Bug#15306)
5162 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5163 Comment out unused variable.
5164 * progmodes/cc-mode.el (interpreter-mode-alist):
5165 * progmodes/python.el (interpreter-mode-alist):
5166 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5167 * progmodes/sh-script.el (sh-set-shell):
5168 No longer use interpreter-mode-alist to get list of shells.
5169
6a5c15d9
GM
5170 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5171
8c27f5ff
SM
51722013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5173
02ef6c1a 5174 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5175 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5176 Bind switch-frame explicitly. Replace universal-argument-minus with
5177 a conditional binding.
5178 (universal-argument-num-events, saved-overriding-map): Remove.
5179 (restore-overriding-map): Remove.
5180 (universal-argument--mode): Rename from save&set-overriding-map,
5181 and rewrite.
5182 (universal-argument, universal-argument-more, negative-argument)
5183 (digit-argument): Adjust accordingly.
5184 (universal-argument-minus): Remove.
5185 (universal-argument-other-key): Remove.
5186
8c27f5ff
SM
5187 * subr.el (with-demoted-errors): Add `format' argument.
5188
6480194c
MA
51892013-09-10 Michael Albinus <michael.albinus@gmx.de>
5190
5191 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5192 `tramp-cleanup-connection'.
5193
5194 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5195 parameters KEEP-DEBUG and KEEP-PASSWORD.
5196
5197 * net/tramp.el (tramp-file-name-handler):
5198 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5199 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5200 (tramp-maybe-open-connection):
8c27f5ff
SM
5201 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5202 Use `tramp-cleanup-connection'.
6480194c 5203
8c27f5ff
SM
5204 * net/tramp-sh.el (tramp-maybe-open-connection):
5205 Catch 'uname-changed inside the progress reporter.
6480194c 5206
e5e916d8
GM
52072013-09-10 Glenn Morris <rgm@gnu.org>
5208
9a2c9b47
GM
5209 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5210
e5e916d8
GM
5211 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5212 returns "alternate access method" in mode (eg "-rw-r--r--.").
5213
144e38fe
GM
52142013-09-08 Glenn Morris <rgm@gnu.org>
5215
5216 * saveplace.el (load-save-place-alist-from-file):
5217 Demote errors. (Bug#15305)
5218
af9ff9e8
MA
52192013-09-08 Michael Albinus <michael.albinus@gmx.de>
5220
5221 Improve compatibility with older Emacsen, and XEmacs.
5222
5223 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5224 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5225 (with-tramp-progress-reporter): Do not let-bind `result'.
5226 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5227 (tramp-handle-make-auto-save-file-name): New function, moved from
5228 tramp-sh.el.
5229
5230 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5231 for `make-auto-save-file-name'.
8c27f5ff
SM
5232 (tramp-adb--gnu-switches-to-ash):
5233 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5234
5235 * net/tramp-cache.el (tramp-cache-print): Call
5236 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5237
5238 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5239 bound. It isn't for XEmacs.
5240
8c27f5ff
SM
5241 * net/tramp-compat.el (tramp-compat-copy-file):
5242 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5243 (tramp-compat-replace-regexp-in-string): New defun.
5244
5245 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5246 for `make-auto-save-file-name'.
5247 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5248 `copy-file'.
5249 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5250 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5251 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5252
8c27f5ff
SM
5253 * net/tramp-gw.el (tramp-gw-open-network-stream):
5254 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5255
8c27f5ff
SM
5256 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5257 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5258 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5259 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5260 (tramp-sh-file-inotifywait-process-filter):
5261 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5262 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5263
5264 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5265 for `make-auto-save-file-name'.
8c27f5ff
SM
5266 (tramp-smb-handle-copy-directory):
5267 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5268 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5269 (tramp-smb-handle-copy-file): Improve error message.
5270 (tramp-smb-handle-rename-file): Rename directly only in case
5271 `newname' does not exist yet. This is a restriction of smbclient.
5272 (tramp-smb-maybe-open-connection): Rerun the function only when
5273 `auth-sources' is non-nil.
5274
0ca754d0
KH
52752013-09-08 Kenichi Handa <handa@gnu.org>
5276
e0eb0550 5277 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5278 more characters.
5279
e8dd0787
AM
52802013-09-07 Alan Mackenzie <acm@muc.de>
5281
5282 Correctly fontify Java class constructors.
5283 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5284 in Java Mode.
5285 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5286 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5287 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5288 "typeless" declaration there.
5289
f2f248e7
RW
52902013-09-07 Roland Winkler <winkler@gnu.org>
5291
5292 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5293 field subtitle for entry type book.
5294
67982e2b
SM
52952013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * minibuffer.el: Make minibuffer-complete call completion-in-region
5298 rather than other way around.
5299 (completion--some, completion-pcm--find-all-completions):
5300 Don't delay signals when debugging.
5301 (minibuffer-completion-contents): Beware fields within the
5302 minibuffer contents.
5303 (completion-all-sorted-completions): Use defvar-local.
5304 (completion--do-completion, completion--cache-all-sorted-completions)
5305 (completion-all-sorted-completions, minibuffer-force-complete):
5306 Add args `beg' and `end'.
5307 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5308 (minibuffer-complete): Use completion-in-region.
5309 (completion-complete-and-exit): New fun, extracted from
5310 minibuffer-complete-and-exit.
5311 (minibuffer-complete-and-exit): Use it.
5312 (completion--complete-and-exit): Rename from
5313 minibuffer--complete-and-exit.
5314 (completion-in-region--single-word): New function, extracted from
5315 minibuffer-complete-word.
5316 (minibuffer-complete-word): Use it.
5317 (display-completion-list): Make `common-substring' argument obsolete.
5318 (completion--in-region): Call completion--in-region-1 instead of
5319 minibuffer-complete.
5320 (completion-help-at-point): Pass boundaries to
5321 minibuffer-completion-help as args rather than via an overlay.
5322 (completion-pcm--string->pattern): Use `any-delim'.
5323 (completion-pcm--optimize-pattern): New function.
5324 (completion-pcm--pattern->regex): Handle `any-delim'.
5325 * icomplete.el (icomplete-forward-completions)
5326 (icomplete-backward-completions, icomplete-completions):
5327 Adjust calls to completion-all-sorted-completions and
5328 completion--cache-all-sorted-completions.
5329 (icomplete-with-completion-tables): Default to t.
5330 * emacs-lisp/crm.el (crm--current-element): Rename from
5331 crm--select-current-element. Don't put an overlay but return the
5332 boundaries instead.
5333 (crm--completion-command): Take two new args to bind to the boundaries.
5334 (crm-completion-help): Adjust accordingly.
5335 (crm-complete): Use completion-in-region.
5336 (crm-complete-word): Use completion-in-region--single-word.
5337 (crm-complete-and-exit): Use completion-complete-and-exit.
5338
e17d94a5
SM
53392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5342 than dynamically.
5343
96727100
JL
53442013-09-06 Juri Linkov <juri@jurta.org>
5345
5346 * info.el (Info-display-images-node): When image file doesn't exist
5347 display text version of the image if it's provided in the Info file.
5348 Otherwise, display the location of missing image from SRC attribute.
5349 Add help-echo text property from ALT attribute. (Bug#15279)
5350
86cf7329
SM
53512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5354 (edit-abbrevs-mode): Use define-derived-mode.
5355
5356 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5357 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5358 that it's defined.
5359 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5360 Use define-derived-mode.
5361
5362 * epg.el (epg-start-encrypt): Minor CSE simplification.
5363
816244a2
WX
53642013-09-06 William Xu <william.xwl@gmail.com>
5365
5366 * arc-mode.el: Add support for 7za (bug#15264).
5367 (archive-7z-program): New var.
5368 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5369 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5370 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5371
1486fa31
MA
53722013-09-06 Michael Albinus <michael.albinus@gmx.de>
5373
5374 Remove URL syntax.
5375
5376 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5377 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5378 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5379 (tramp-postfix-host-format, tramp-file-name-regexp)
5380 (tramp-completion-file-name-regexp)
5381 (tramp-completion-dissect-file-name)
5382 (tramp-handle-substitute-in-file-name): Remove 'url case.
5383 (tramp-file-name-regexp-url)
5384 (tramp-completion-file-name-regexp-url): Remove constants.
5385
39785324
GM
53862013-09-06 Glenn Morris <rgm@gnu.org>
5387
5388 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5389
1f896cb7
DG
53902013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5391
5392 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5393 keywords" below "here-doc beginnings" (Bug#15270).
5394
c0458e0b
SM
53952013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * subr.el (pop): Use `car-safe'.
5398 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5399 to detect unused `pop' return value.
5400
5401 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5402 var `block-regexp'.
5403 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5404 (python-fill-string): Remove unused var `marker'.
5405 (python-skeleton-add-menu-items): Remove unused var `items'.
5406
5407 * international/mule-cmds.el: Require CL.
5408 (find-coding-systems-for-charsets): Avoid add-to-list.
5409 (sanitize-coding-system-list): New function, extracted from
5410 select-safe-coding-system-interactively.
5411 (select-safe-coding-system-interactively): Use it.
5412 (read-input-method-name): Accept symbols for `default'.
5413
5414 * emacs-lisp/advice.el (defadvice): Add indent rule.
5415
6c42fc3e
DH
54162013-09-05 Daniel Hackney <dan@haxney.org>
5417
5418 * dired-x.el:
5419 * net/ange-ftp.el:
5420 * net/browse-url.el:
5421 * net/dbus.el:
5422 * net/eudc.el:
5423 * net/eudcb-ldap.el:
5424 * net/eww.el:
5425 * net/imap.el:
5426 * printing.el:
5427 * vc/ediff-diff.el:
5428 * vc/ediff-init.el:
5429 * vc/ediff-merg.el:
5430 * vc/ediff-mult.el:
5431 * vc/ediff-util.el:
5432 * vc/ediff-wind.el:
5433 * vc/ediff.el:
5434 * vc/emerge.el:
5435 * vc/pcvs.el:
5436 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5437 byte compiler. Remove some unused let-bound variables.
5438
4c528aab
SM
54392013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5442 a "ref-cell", since it gets better optimized (bug#14883).
5443
bd15c390
GM
54442013-09-05 Glenn Morris <rgm@gnu.org>
5445
5446 * progmodes/cc-awk.el (c-forward-sws): Declare.
5447
1c3ac2e5
GM
54482013-09-04 Glenn Morris <rgm@gnu.org>
5449
5450 * generic-x.el [rul-generic-mode]: Require cc-mode.
5451 (c++-mode-syntax-table): Declare.
5452 (rul-generic-mode-syntax-table): Init in the defvar.
5453
52b1cc79
SM
54542013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5455
c828af56
SM
5456 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5457 (vc-do-command, vc-set-async-update):
5458 * vc/vc-mtn.el (vc-mtn-dir-status):
5459 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5460 (vc-hg-pull, vc-hg-merge-branch):
5461 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5462 (vc-git-merge-branch):
5463 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5464 (vc-cvs-dir-status-files):
5465 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5466 (vc-bzr-dir-status-files):
5467 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5468 * vc/vc-annotate.el: Use lexical-binding.
5469 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5470 (vc-sentinel-movepoint): Declare.
5471 (vc-annotate): Don't use `goto-line'.
5472 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5473 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5474 (vc-sentinel-movepoint): Declare.
5475 * vc/vc-svn.el: Use lexical-binding.
5476 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5477 * vc/vc-sccs.el:
5478 * vc/vc-rcs.el: Use lexical-binding.
5479
abae272c
SM
5480 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5481 `deleted'. Don't drop errors silently.
5482
52b1cc79
SM
5483 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5484
63191d9f
XF
54852013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5486
5487 * vc/vc.el (vc-ignore): Rewrite.
5488 (vc-default-ignore): New function.
5489 (vc-default-ignore-completion-table): Use find-ignore-file.
5490
5491 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5492 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5493 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5494 Remove. Most code moved to vc.el.
5495
9d3f707c
SM
54962013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5497
abae272c 5498 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5499 * net/tramp-smb.el (tramp-smb-get-file-entries):
5500 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5501 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5502
fde38d49
SM
5503 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5504 Update call to it.
5505 (eww-change-select): Remove unused var `properties'.
5506 (eww-make-unique-file-name): Remove unused var `base'.
5507
5508 * finder.el (finder-compile-keywords): Don't mess with windows.
5509
84032db7
SM
5510 * calculator.el (calculator-funcall): Fix typo in last change.
5511
724f5e41
SM
5512 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5513
14b511d4
SM
5514 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5515 <pkg>-autoloads.el file stop us.
5516
9d3f707c 5517 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5518 warnings, and factor out common code.
9d3f707c 5519
88527bc0
DG
55202013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5521
5522 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5523 two-character operators and whether the character preceding them
5524 changes their meaning (Bug#15208).
5525
96edb677
FEG
55262013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5527
5528 Format code sent to Python shell for robustness.
9d3f707c
SM
5529 * progmodes/python.el (python-shell-buffer-substring):
5530 New function.
96edb677
FEG
5531 (python-shell-send-region, python-shell-send-buffer): Use it.
5532
95beaef3
MA
55332013-09-02 Michael Albinus <michael.albinus@gmx.de>
5534
5535 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5536 * net/tramp.el (tramp-user-error): ... here.
5537 (tramp-find-method, tramp-check-proper-host)
5538 (tramp-dissect-file-name, tramp-debug-message)
5539 (tramp-handle-shell-command):
5540 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5542
5543 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5544
f167c27b
MR
55452013-09-02 Martin Rudalics <rudalics@gmx.at>
5546
5547 * avoid.el (mouse-avoidance-point-position)
5548 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5549 returns nil.
5550
cd16c5f1
FEG
55512013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5552
5553 * progmodes/python.el (python-shell-completion-get-completions):
5554 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5555 (python-nav-if-name-main): New command.
cd16c5f1 5556
e73c3a0d
GM
55572013-09-01 Glenn Morris <rgm@gnu.org>
5558
f8ccce03
GM
5559 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5560 Avoid leading space in $wins. Otherwise the sed command used by
5561 eg compile-main ends up containing "/*.el". (Bug#15170)
5562
e73c3a0d
GM
5563 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5564
415f808e
GM
55652013-08-30 Glenn Morris <rgm@gnu.org>
5566
5567 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5568 Fix is-this-a-directory logic. (Bug#15220)
5569
f069bba8
SM
55702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5571
112798c1
SM
5572 * textmodes/css-mode.el: Use SMIE.
5573 (css-smie-grammar): New var.
5574 (css-smie--forward-token, css-smie--backward-token)
5575 (css-smie-rules): New functions.
5576 (css-mode): Use them.
5577 (css-navigation-syntax-table): Remove var.
5578 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5579 (css-indent-calculate, css-indent-line): Remove functions.
5580
5581 Misc changes to reduce use of `(lambda...); and other cleanups.
5582 * cus-edit.el: Use lexical-binding.
5583 (customize-push-and-save, customize-apropos)
5584 (custom-buffer-create-internal): Use closures.
5585 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5586 * progmodes/ada-xref.el: Use setq.
5587 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5588 * dframe.el: Use lexical-binding.
5589 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5590 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5591 * descr-text.el: Use lexical-binding.
5592 (describe-text-widget, describe-text-sexp, describe-property-list):
5593 Use closures.
5594 * comint.el (comint-history-isearch-push-state): Use a closure.
5595 * calculator.el: Use lexical-binding.
5596 (calculator-number-to-string): Make it work with lexical-binding.
5597 (calculator-funcall): Same and use cl-letf.
5598
2da4c3ab
SM
5599 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5600 (lisp--company-doc-string, lisp--company-location): New functions.
5601 (lisp-completion-at-point): Use them to improve Company support.
5602
f069bba8
SM
5603 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5604 params of lambda expressions.
5605 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5606 (ruby-smie--opening-pipe-p): New function.
5607 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5608 symbols and matched |...| for formal params.
5609 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5610 from being treated as hanging. Handle "rescue".
5611
6758b6a8
GM
56122013-08-29 Glenn Morris <rgm@gnu.org>
5613
5614 * progmodes/cc-engine.el (c-pull-open-brace):
5615 Move definition before use.
5616
e8dfd197
SM
56172013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5620 are immutable. Don't use `unsafe' any more.
5621 (cl--defsubst-expand): Don't substitute at the same time as keeping
5622 a residual unused let-binding. Don't use `unsafe' any more.
5623
cc585c96
GM
56242013-08-29 Glenn Morris <rgm@gnu.org>
5625
ba579ea6
GM
5626 * calendar/cal-china.el (calendar-chinese-year-cache):
5627 Recenter on 2015.
5628
8201a87e
GM
5629 * nxml/nxml-util.el (nxml-debug-clear-inside):
5630 Use cl-loop rather than loop.
5631
6ee877c7
GM
5632 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5633
cc585c96
GM
5634 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5635
27be8d39
GM
56362013-08-28 Glenn Morris <rgm@gnu.org>
5637
397440a1
GM
5638 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5639
2bb762d4
GM
5640 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5641
27be8d39
GM
5642 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5643
2d69b99e
SM
56442013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5645
f663baa7
SM
5646 * simple.el (repeat-complex-command--called-interactively-skip):
5647 New function.
5648 (repeat-complex-command): Use it (bug#14136).
5649
dd4f8b74
SM
5650 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5651 (c-define-abbrev-table): Add `doc' argument.
5652 (c-mode-abbrev-table, c++-mode-abbrev-table)
5653 (objc-mode-abbrev-table, java-mode-abbrev-table)
5654 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5655 (awk-mode-abbrev-table): Use it.
5656 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5657 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5658 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5659 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5660 Move initialization into the declaration; and remove any
5661 autoload cookie.
5662
b58969f7
SM
5663 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5664 and dynamic let binding.
5665
4021d6a6
SM
5666 * vc/smerge-mode.el: Remove redundant :group args.
5667
2d69b99e
SM
5668 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5669 to load-path.
5670
274919fd
JL
56712013-08-28 Juri Linkov <juri@jurta.org>
5672
5673 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5674 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5675 (isearch-other-meta-char): Handle an undefined shifted printing
5676 character by downshifting it. (Bug#15200)
5677
121f8c95
JL
56782013-08-28 Juri Linkov <juri@jurta.org>
5679
5680 * isearch.el (isearch-search): Change regexp error message for
5681 non-regexp searches. (Bug#15166)
5682
50b13cde
PE
56832013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5684
5685 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5686 for portability to hosts where /bin/sh has problems.
5687
95888bca
SM
56882013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5691
bbe558f1
JL
56922013-08-27 Juri Linkov <juri@jurta.org>
5693
5694 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5695 in the keyboard macro. (Bug#15126)
5696
26f98a7d
JL
56972013-08-27 Juri Linkov <juri@jurta.org>
5698
5699 * isearch.el (isearch-quote-char): Comment out converting unibyte
5700 to multibyte, thus syncing with its `quoted-insert' counterpart.
5701 (Bug#15166)
5702
7c97d35e
MR
57032013-08-27 Martin Rudalics <rudalics@gmx.at>
5704
5705 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5706 argument in call of get-largest-window (Bug#15185).
5707 Reported by Stephen Leake.
7c97d35e 5708
a0b5606e 57092013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5710
5711 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5712
9e89d835
SM
57132013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5716 from a matcher-function unless there's no more matches (bug#15161).
5717
78fc2530
MA
57182013-08-26 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * minibuffer.el: Revert change from 2013-08-20.
5721
5722 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5723 with text property `tramp-default', if appropriate.
5724 (tramp-check-proper-host): New defun.
5725 (tramp-dissect-file-name): Do not check hostname. Revert change
5726 of 2013-03-18.
5727 (tramp-backtrace): Make VEC-OR-PROC optional.
5728
5729 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5730 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5731 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5732 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5733 Apply `tramp-check-proper-host'.
78fc2530 5734
edca97cd
TH
57352013-08-26 Tassilo Horn <tsdh@gnu.org>
5736
5737 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5738 lambda expression in order to have `describe-variable' display it.
5739
df54bcbd
MA
57402013-08-26 Michael Albinus <michael.albinus@gmx.de>
5741
5742 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5743 BUF can be optional. (Bug#15186)
5744
eed99101
XF
57452013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5746
5747 * progmodes/flymake.el (flymake-get-real-file-name-function):
5748 Fix broken customization. (Bug#15184)
5749
b5eb9035
AM
57502013-08-25 Alan Mackenzie <acm@muc.de>
5751
8a51e842
AM
5752 Improve indentation of bracelists defined by macros (without "=").
5753
5754 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5755 expansion begins with "{", regard it as bracelist when it doesn't
5756 contain a ";".
5757
869455d4
AM
5758 Parse C++ inher-intro when there's a template split over 2 lines.
5759
5760 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5761 rigorously the search for "class" etc. followed by ":".
5762
5763 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5764 random languages a regexp which never matches rather than nil.
5765
b5eb9035
AM
5766 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5767
5768 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5769 (c-awk-regexp-one-line-possibly-open-char-list-re)
5770 (c-awk-one-line-possibly-open-regexp-re)
5771 (c-awk-one-line-non-syn-ws*-re): Remove.
5772 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5773 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5774 (c-awk-space*-unclosed-regexp-/-re): New constants.
5775 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5776 aren't regexp delimiters.
5777
5778 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5779 handling for a rare situation in AWK Mode involving unterminated
5780 strings/regexps.
5781
61611d54
GM
57822013-08-23 Glenn Morris <rgm@gnu.org>
5783
2d85dc34
GM
5784 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5785
cb8d2612
GM
5786 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5787
bb35f42f
GM
5788 * files.el (create-file-buffer): If the result would begin with
5789 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5790
b9808e77
SM
57912013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5792
e3a66363
SM
5793 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5794 text-properties (bug#15155).
5795
b9808e77
SM
5796 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5797 exist any more.
5798 (calc-keypad-redraw): Remove unused var `pad'.
5799 (calc-keypad-press): Remove unused var `menu'.
5800
7fd5f65e
MR
58012013-08-23 Martin Rudalics <rudalics@gmx.at>
5802
b9808e77
SM
5803 * window.el (display-buffer-pop-up-frame):
5804 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5805 use it as the new frame's buffer (Bug#15133).
5806
8352b530
SM
58072013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * calendar/timeclock.el: Minor cleanups.
5810 (timeclock-ask-before-exiting, timeclock-use-display-time):
5811 Use `symbol'.
5812 (timeclock-modeline-display): Define as alias before the
5813 actual definition.
5814 (timeclock-mode-line-display): Use define-minor-mode.
5815 (timeclock-day-list-template): Make it a function, add an argument.
5816 (timeclock-day-list-required, timeclock-day-list-length)
5817 (timeclock-day-list-debt, timeclock-day-list-span)
5818 (timeclock-day-list-break): Adjust calls accordingly.
5819
9f7b1925
SM
58202013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5823 Use read--expression so that completion works again.
5824
6e50e983
SS
58252013-08-21 Sam Steingold <sds@gnu.org>
5826
5827 Add rudimentary inferior shell interaction
5828 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5829 (sh-set-shell): Reset it.
9f7b1925
SM
5830 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5831 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5832
dbb0d350
SM
58332013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * align.el: Use lexical-binding.
5836 (align-region): Simplify accordingly.
5837
c88586a9
MA
58382013-08-20 Michael Albinus <michael.albinus@gmx.de>
5839
5840 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5841
5842 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5843 `non-essential' up.
5844
f95527c8
MA
58452013-08-17 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * net/tramp.el:
5848 * net/tramp-adb.el:
5849 * net/tramp-cmds.el:
5850 * net/tramp-ftp.el:
5851 * net/tramp-gvfs.el:
5852 * net/tramp-gw.el:
5853 * net/tramp-sh.el: Don't wrap external variable declarations by
5854 `eval-when-compile'.
5855
4b5fe4ee
LMI
58562013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
5858 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5859 now that Emacs supports ImageMagick animations.
5860
13c366c9
MA
58612013-08-16 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5864 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5865
3dfc5cd6
MR
58662013-08-16 Martin Rudalics <rudalics@gmx.at>
5867
5868 * window.el (mouse-autoselect-window-select): Do autoselect when
5869 mouse pointer is on margin.
5870
4bbb4381
WP
58712013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5872
5873 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5874
3a2ddc2d
GM
58752013-08-16 Glenn Morris <rgm@gnu.org>
5876
e8bedf5a
GM
5877 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5878 Handle "Remote Directory" response of some clients. (Bug#15058)
5879
58c4682f
GM
5880 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5881 Tweak warning. (Bug#14926)
5882
57953f49
GM
5883 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5884 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5885
3a2ddc2d
GM
5886 * image-mode.el (image-mode-map): Add menu items to reverse,
5887 increase, decrease, reset animation speed.
5888 (image--set-speed, image-increase-speed, image-decrease-speed)
5889 (image-reverse-speed, image-reset-speed): New functions.
5890 (image-mode-map): Add bindings for speed commands.
5891
5892 * image.el (image-animate-get-speed, image-animate-set-speed):
5893 New functions.
5894 (image-animate-timeout): Respect image :speed property.
5895
10fa0ed3
SM
58962013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5899 previous line (bug#15101).
5900 (debugger-eval-expression, debugger-record-expression):
5901 Use read--expression (bug#15102).
5902
5d89d9d2
MA
59032013-08-15 Michael Albinus <michael.albinus@gmx.de>
5904
5905 Remove byte compiler warnings, visible when compiling with
5906 `byte-compile-force-lexical-warnings' set to t.
5907
5908 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5909 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5910 (tramp-handle-unhandled-file-name-directory)
5911 (tramp-handle-file-notify-add-watch, tramp-action-login)
5912 (tramp-action-succeed, tramp-action-permission-denied)
5913 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5914 arguments with "_".
5915
5916 * net/tramp-adb.el (tramp-adb-parse-device-names)
5917 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5918 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5919 (tramp-adb-handle-file-truename): Remove unused arguments.
5920
5921 * net/tramp-cache.el (tramp-flush-directory-property)
5922 (tramp-flush-connection-property, tramp-list-connections)
5923 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5924
10fa0ed3
SM
5925 * net/tramp-compat.el (tramp-compat-make-temp-file):
5926 Rename FILENAME to F.
5d89d9d2
MA
5927
5928 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5929 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5930 (tramp-zeroconf-parse-workstation-device-names)
5931 (tramp-zeroconf-parse-webdav-device-names)
5932 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5933
5934 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5935 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5936
5937 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5938 arguments.
5939 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5940 (tramp-sh-handle-insert-file-contents-literally)
5941 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5942 with "_".
5943 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5944 Remove unused variables.
5945
5946 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5947 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5948 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5949
5950 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5951 Make them a defconst.
5952 (tramp-uuencode-region): Remove unused variable.
5953
62f33bae
JB
59542013-08-14 Juanma Barranquero <lekktu@gmail.com>
5955
5956 * frameset.el (frameset--prop-setter): New function.
5957 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5958 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5959 parameter was already set in FILTERED. Doc fix.
5960 (frameset--record-minibuffer-relationships): Allow saving a
5961 minibufferless frame without its corresponding minibuffer frame.
5962 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5963 frame, if the frame id matches.
5964 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5965 frames before orphaned ones.
5966 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5967
c660a885
MR
59682013-08-14 Martin Rudalics <rudalics@gmx.at>
5969
5970 * window.el (window-make-atom): Don't overwrite parameter
5971 already present.
5972 (display-buffer-in-atom-window): Handle special case where we
5973 split an already atomic window.
5974 (window--major-non-side-window, display-buffer-in-side-window)
5975 (window--side-check): Ignore minibuffer window when walking
5976 window tree.
5977 (window-deletable-p): Return 'frame only if no other frame uses
5978 our minibuffer window.
5979 (record-window-buffer): Run buffer-list-update-hook.
5980 (split-window): Make sure window--check-frame won't destroy an
5981 existing atomic window in case the new window gets nested
5982 inside.
5983 (display-buffer-at-bottom): Ignore minibuffer window when
5984 walking window tree. Don't split a side window.
5985 (pop-to-buffer): Don't set-buffer here, the select-window call
5986 should do that.
5987 (mouse-autoselect-window-select): Autoselect only if we are in the
5988 text portion of the window.
5989
8259030d
LMI
59902013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
21c58ae2
LMI
5992 * net/shr.el (shr-parse-image-data): New function to grab both the
5993 data itself and the Content-Type.
5994 (shr-put-image): Use it.
5995
5996 * net/eww.el (eww-display-image): Ditto.
5997
8259030d
LMI
5998 * image.el (image-content-type-suffixes): New variable.
5999
ad756449
FEG
60002013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6001
6002 * progmodes/python.el (python-imenu--build-tree)
6003 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6004
f73f4ce6
XF
60052013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6006
6007 * simple.el (backward-word): Mention the optional argument.
6008
1f585e65
SM
60092013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * frameset.el (frameset--make): Rename constructor from make-frameset.
6012 (frameset-p, frameset-valid-p): Don't autoload.
6013 (frameset-valid-p): Use normal accessors.
6014
af1c6c84
GM
60152013-08-13 Glenn Morris <rgm@gnu.org>
6016
55e47f95
GM
6017 * progmodes/compile.el (compile-command): Tweak example in doc.
6018 * obsolete/scribe.el (scribe-mode):
6019 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6020
f0024d8c
GM
6021 * mail/feedmail.el (feedmail-confirm-outgoing)
6022 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6023
6024 * cus-start.el (truncate-partial-width-windows): Fix type.
6025
6026 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6027
af1c6c84
GM
6028 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6029
5514cc4c
SM
60302013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * emacs-lisp/timer.el (timer--time-setter): New function.
6033 (timer--time): Use it as gv-setter.
6034
6035 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6036 setter is not a symbol.
6037
7997a2f1
GJ
60382013-08-12 Grégoire Jadi <daimrod@gmail.com>
6039
6040 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6041 if sending fails. This makes debugging easier.
6042
01f1a9ab
JB
60432013-08-12 Juanma Barranquero <lekktu@gmail.com>
6044
6045 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6046 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6047 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6048
594a4307
EZ
60492013-08-12 Eli Zaretskii <eliz@gnu.org>
6050
6051 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6052
7a22490f 60532013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6054
6055 * format.el (format-annotate-function):
6056 Handle read-only text properties in the source. (Bug#14887)
6057
3e41a054
LMI
60582013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
5514cc4c
SM
6060 * net/eww.el (eww-display-html): Ignore coding system errors.
6061 One web site uses "utf-8lias" as the coding system.
3e41a054 6062
7ec326db
JB
60632013-08-11 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6066
5660113b
JB
60672013-08-10 Juanma Barranquero <lekktu@gmail.com>
6068
9a4ebc74
JB
6069 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6070 (tutorial--detailed-help): Remove unused local variables.
6071 (tutorial--save-tutorial-to): Use ignore-errors.
6072 (help-with-tutorial): Use looking-at-p.
6073
6074 * view.el (view-buffer-other-window, view-buffer-other-frame):
6075 Mark unused arguments.
6076
6077 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6078 (woman-select-symbol-fonts, woman, woman-find-file)
6079 (woman-insert-file-contents, woman-non-underline-faces):
6080 Use string-match-p.
6081 (woman1-unquote): Move declaration.
6082
6083 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6084 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6085 argument. Remove unused local variable.
6086 (xml-parse-elem-type): Use string-match-p.
6087 (xml-substitute-numeric-entities): Use ignore-errors.
6088
45fdb482
JB
6089 * calculator.el (calculator): Mark unused argument.
6090 (calculator-paste, calculator-quit, calculator-integer-p):
6091 Use ignore-errors.
6092 (calculator-string-to-number, calculator-decimal, calculator-exp)
6093 (calculator-op-or-exp): Use string-match-p.
6094
6095 * dired.el (dired-buffer-more-recently-used-p): Declare.
6096 (dired-insert-set-properties, dired-insert-old-subdirs):
6097 Use ignore-errors.
6098
6099 * dired-aux.el (dired-compress): Use ignore-errors.
6100 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6101 (dired-do-async-shell-command, dired-do-shell-command)
6102 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6103 (dired-insert-subdir-validate): Use string-match-p.
6104 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6105 (dired-add-entry): Use string-match-p, looking-at-p.
6106 (dired-insert-subdir-newpos): Remove unused local variable.
6107
6108 * filenotify.el (file-notify-callback): Remove unused local variable.
6109
6110 * filesets.el (filesets-error): Mark unused argument.
6111 (filesets-which-command-p, filesets-filter-dir-names)
6112 (filesets-directory-files, filesets-get-external-viewer)
6113 (filesets-ingroup-get-data): Use string-match-p.
6114
6115 * find-file.el (ff-other-file-name, ff-other-file-name)
6116 (ff-find-the-other-file, ff-cc-hh-converter):
6117 Remove unused local variables.
6118 (ff-get-file-name): Use string-match-p.
6119 (ff-all-dirs-under): Use ignore-errors.
6120
6121 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6122 (follow-select-if-visible): Remove unused local variable.
6123
6124 * forms.el (read-file-filter): Move declaration.
6125 (forms--make-format, forms--make-parser, forms-insert-record):
6126 Quote function with #'.
6127 (forms--update): Use string-match-p. Quote function with #'.
6128
6129 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6130 (help-make-xrefs): Use looking-at-p.
6131 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6132
6133 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6134 (ibuffer-confirm-operation-on): Use string-match-p.
6135
6136 * msb.el (msb-item-handler, msb-dired-item-handler):
6137 Mark unused arguments.
6138
6139 * ses.el (ses-decode-cell-symbol)
6140 (ses-kill-override): Remove unused local variable.
6141 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6142 (ses-load): Use ignore-errors, looking-at-p.
6143 (ses-jump-safe): Use ignore-errors.
6144 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6145
6146 * tabify.el (untabify, tabify): Mark unused arguments.
6147
6148 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6149 Mark unused argument.
6150 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6151 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6152
c880af52
JB
6153 * emacs-lisp/timer.el (timer--time): Define setter with
6154 gv-define-setter to avoid deprecation warning.
6155
5660113b 6156 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6157 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6158 (cmpl-statistics-block): Remove (body was commented out).
6159 All callers changed.
6160 (add-completions-from-buffer, load-completions-from-file):
6161 Remove unused variables.
6162
156aab80
JB
61632013-08-09 Juanma Barranquero <lekktu@gmail.com>
6164
5c5dee78
JB
6165 * filecache.el (file-cache-delete-file-list):
6166 Print message only when told so.
6167 (file-cache-files-matching): Use #' in mapconcat argument.
6168
156aab80
JB
6169 * ffap.el (ffap-url-at-point): Fix reference to variable
6170 thing-at-point-default-mail-uri-scheme.
6171
ad9dcd70
SM
61722013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6173
54bd972f
SM
6174 * subr.el (define-error): New function.
6175 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6176 error-file-not-found and define with define-error.
6177 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6178 and define with define-error.
6179 * userlock.el (file-locked, file-supersession):
6180 * simple.el (mark-inactive):
6181 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6182 * progmodes/ada-mode.el (ada-mode-errors):
6183 * play/life.el (life-extinct):
6184 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6185 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6186 * nxml/rng-util.el (rng-error):
6187 * nxml/rng-uri.el (rng-uri-error):
6188 * nxml/rng-match.el (rng-compile-error):
6189 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6190 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6191 * nxml/nxml-rap.el (nxml-scan-error):
6192 * nxml/nxml-outln.el (nxml-outline-error):
6193 * net/soap-client.el (soap-error):
6194 * net/gnutls.el (gnutls-error):
6195 * net/ange-ftp.el (ftp-error):
6196 * mpc.el (mpc-proc-error):
6197 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6198 (json-number-format, json-string-escape, json-string-format)
6199 (json-key-format, json-object-format):
6200 * jka-compr.el (compression-error):
6201 * international/quail.el (quail-error):
6202 * international/kkc.el (kkc-error):
6203 * emacs-lisp/ert.el (ert-test-failed):
6204 * calc/calc.el (calc-error, inexact-result, math-overflow)
6205 (math-underflow):
6206 * bookmark.el (bookmark-error-no-filename):
6207 * epg.el (epg-error): Define with define-error.
6208
0ea9e53a
SM
6209 * time.el (display-time-event-handler)
6210 (display-time-next-load-average): Don't call sit-for since it seems
6211 unnecessary (bug#15045).
6212
b0429158
SM
6213 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6214 Use #' instead of ' to quote functions.
6215 (checkdoc-output-mode): Use setq-local.
6216 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6217 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6218 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6219 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6220 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6221 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6222 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6223 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6224
ad9dcd70
SM
6225 * ido.el (ido-completion-help): Fix up compiler warning.
6226
77187e6f
JB
62272013-08-09 Juanma Barranquero <lekktu@gmail.com>
6228
6229 * frameset.el (frameset-p): Add autoload cookie.
6230 (frameset--jump-to-register): New function, based on code moved from
6231 register.el.
6232 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6233
6234 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6235 (frameset-restore, frameset-save, frameset-session-filter-alist):
6236 Remove declarations.
6237 (register-alist): Doc fix.
6238 (frameset-to-register): Move to frameset.el.
6239 (jump-to-register, describe-register-1): Remove frameset-specific code.
6240
9d3aa82c
JB
62412013-08-08 Juanma Barranquero <lekktu@gmail.com>
6242
6243 * allout-widgets.el (allout-widgets-pre-command-business)
6244 (allout-widgets-post-command-business)
6245 (allout-widgets-after-change-handler)
6246 (allout-decorate-item-and-context, allout-set-boundary-marker)
6247 (allout-body-modification-handler)
6248 (allout-graphics-modification-handler): Mark ignored arguments.
6249 (allout-widgets-post-command-business)
6250 (allout-widgets-exposure-change-processor)
6251 (allout-widgets-exposure-undo-processor)
6252 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6253 (allout-parse-item-at-point, allout-decorate-item-guides)
6254 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6255 * allout.el (epa-passphrase-callback-function): Declare.
6256 (allout-overlay-insert-in-front-handler)
6257 (allout-overlay-interior-modification-handler)
6258 (allout-isearch-end-handler, allout-chart-siblings)
6259 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6260 (allout-yank-processing, allout-process-exposed)
6261 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6262 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6263 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6264 (lisp-indent-defform): Mark ignored arguments.
6265 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6266 (calculate-lisp-indent): Remove unused variables.
6267 * international/characters.el (indian-2-column, arabic-2-column)
6268 (tibetan): Mark ignored arguments.
6269 (use-cjk-char-width-table): Mark ignored arguments.
6270 Remove unused variables.
6271 * international/fontset.el (build-default-fontset-data)
6272 (x-compose-font-name, create-fontset-from-fontset-spec):
6273 Mark ignored arguments.
6274 (fontset-plain-name): Remove unused variables.
6275 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6276 (keyboard-coding-system): Mark ignored arguments.
6277 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6278 * help.el (resize-temp-buffer-window):
6279 * window.el (display-buffer-in-major-side-window)
6280 (display-buffer-in-side-window, display-buffer-in-previous-window):
6281 Remove unused variables.
6282 * isearch.el (isearch-forward-symbol):
6283 * version.el (emacs-bzr-version-bzr):
6284 * international/mule-cmds.el (current-language-environment):
6285 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6286 (x-handle-display):
6287 * term/pc-win.el (x-list-fonts, x-display-planes)
6288 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6289 (x-server-version, x-display-screens, x-display-mm-height)
6290 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6291 (x-selection-owner-p, x-own-selection-internal)
6292 (x-disown-selection-internal, x-get-selection-internal)
6293 (msdos-initialize-window-system):
6294 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6295 * term/x-win.el (x-handle-no-bitmap-icon):
6296 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6297 (vc-default-find-file-hook, vc-default-extra-menu):
6298 Mark ignored arguments.
6299
0ca3f70e
SM
63002013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6301
6302 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6303 break-condition in the context of the debugged code (bug#12685).
6304
74c5d24c
CS
63052013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6306
6307 * comint.el:
6308 Do not use an overlay to highlight the last prompt. (Bug#14744)
6309 (comint-mode): Make comint-last-prompt buffer local.
6310 (comint-last-prompt): New variable.
6311 (comint-last-prompt-overlay): Remove. Superseded by
6312 comint-last-prompt.
0ca3f70e
SM
6313 (comint-snapshot-last-prompt, comint-output-filter):
6314 Use comint-last-prompt.
74c5d24c 6315
c03c02ee
JB
63162013-08-08 Juanma Barranquero <lekktu@gmail.com>
6317
a3738d20 6318 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6319 (frameset-save): Check validity of the resulting frameset.
6320
04263d23
XF
63212013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6322
6323 * ido.el (ido-record-command): Add doc string.
6324
76c5e5ab
JB
63252013-08-08 Juanma Barranquero <lekktu@gmail.com>
6326
6327 * frameset.el (frameset): Do not disable creation of the default
6328 frameset-p predicate. Doc fix.
6329 (frameset-valid-p): New function, copied from the old predicate-p.
6330 Add additional checks.
6331 (frameset-restore): Check with frameset-valid-p.
6332 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6333 (frameset-name, frameset-description, frameset-properties)
6334 (frameset-states): Add docstring.
f9dbf1cb
JB
6335 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6336 (frameset-filter-alist): Doc fixes.
76c5e5ab 6337
bd0c3c0b
JB
63382013-08-08 Juanma Barranquero <lekktu@gmail.com>
6339
6340 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6341
c735544c
SM
63422013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6345 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6346 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6347 (byte-compile-normal-call): Remove obsolescence check.
6348
2805a651
JB
63492013-08-08 Juanma Barranquero <lekktu@gmail.com>
6350
3677ffeb
JB
6351 * frameset.el (frameset-restore): Doc fix.
6352
2805a651
JB
6353 * register.el (frameset-frame-id, frameset-frame-with-id)
6354 (frameset-p, frameset-restore, frameset-save): Declare.
6355 (register-alist): Document framesets.
6356 (frameset-session-filter-alist): Declare.
6357 (frameset-to-register): New function.
6358 (jump-to-register): Implement jumping to framesets. Doc fix.
6359 (describe-register-1): Describe framesets.
6360
6361 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6362
a912c016
JB
63632013-08-07 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6366 Use lexical-binding.
6367
6368 * frameset.el (frameset): Use type vector, not list (incompatible
6369 change). Do not declare a new constructor, use the default one.
6370 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6371 `name' and `description', respectively, and add read-only slot
6372 `timestamp'. Doc fixes.
6373 (frameset-copy, frameset-persistent-filter-alist)
6374 (frameset-filter-alist, frameset-switch-to-gui-p)
6375 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6376 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6377 (frameset-filter-iconified, frameset-keep-original-display-p):
6378 Doc fixes.
6379 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6380 Rename from frameset-filter-(save|restore)-param. All callers changed.
6381 Doc fix.
6382 (frameset-p): Adapt to change to vector and be more thorough.
6383 Change arg name to OBJECT. Doc fix.
6384 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6385 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6386 All callers changed.
6387 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6388 All callers changed.
6389 (frameset--record-minibuffer-relationships): Rename from
6390 frameset--process-minibuffer-frames. All callers changed.
6391 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6392 Use new default constructor (again). Doc fix.
6393 (frameset--find-frame-if): Rename from `frameset--find-frame.
6394 All callers changed.
6395 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6396 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6397 Doc fix.
6398 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6399 PARAMETERS and WINDOW-STATE, respectively.
6400 (frameset-restore): Add new keyword argument PREDICATE.
6401 Reset frameset--target-display to nil. Doc fix.
6402
bb41480a
SM
64032013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6404
f001e98e
SM
6405 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6406 (bat-mode): Use it.
6407 (bat-mode-syntax-table): Mark \n as end-of-comment.
6408 (bat-font-lock-keywords): Remove comment rule.
6409
7679edb1
SM
6410 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6411 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6412
bb41480a
SM
6413 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6414 (byte-compile-callargs-warn): Use `push'.
6415 (byte-compile-arglist-warn): Ignore higher-order "calls".
6416 (byte-compile-file-form-autoload): Use `pcase'.
6417 (byte-compile-function-form): If quoting a symbol, check that it exists.
6418
cdc1ebb9
EZ
64192013-08-07 Eli Zaretskii <eliz@gnu.org>
6420
6421 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6422 and add a few popular commands found in batch files.
6423 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6424 (dos-mode): Doc fixes.
6425
312b1740
SM
64262013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6429 (dos-mode): Use setq-local. Add space after "rem".
6430 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6431 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6432
400a3178
AM
64332013-08-07 Arni Magnusson <arnima@hafro.is>
6434
6435 * progmodes/dos.el: New file.
6436 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6437 dos-mode.
6438
3b5c03d3
GM
64392013-08-06 Glenn Morris <rgm@gnu.org>
6440
6441 * calendar/calendar.el: Add new faces, and day-header-array.
6442 (calendar-weekday-header, calendar-weekend-header)
6443 (calendar-month-header): New faces.
6444 (calendar-day-header-construct): New function.
6445 (calendar-day-header-width): Also :set calendar-day-header-array.
6446 (calendar-american-month-header, calendar-european-month-header)
6447 (calendar-iso-month-header): Use calendar- faces.
6448 (calendar-generate-month):
6449 Use calendar-day-header-array for day headers; apply faces to them.
6450 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6451 (calendar-abbrev-construct): Add optional maxlen argument.
6452 (calendar-day-name-array): Doc fix.
6453 (calendar-day-name-array, calendar-abbrev-length)
6454 (calendar-day-abbrev-array):
6455 Also :set calendar-day-header-array, and maybe redraw.
6456 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6457 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6458 (calendar-day-name): Add option to use header array.
6459
ec6a2d7a
LMI
64602013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6461
6462 * net/shr.el (shr-render-td): Remove debugging.
6463 (shr-render-td): Make width computation consistent by defaulting
6464 all zero-width columns to 10 characters. This may not be optimal,
6465 but it's at least consistent.
2122cb6d
LMI
6466 (shr-make-table-1): Redo last change to fix the real problem in
6467 colspan handling.
ec6a2d7a 6468
ed4fd9c5
DA
64692013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6470
0ca3f70e
SM
6471 * files.el (cache-long-line-scans):
6472 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6473
64e22afe
JB
64742013-08-06 Juanma Barranquero <lekktu@gmail.com>
6475
024b38fc
JB
6476 * frameset.el (frameset, frameset-filter-alist)
6477 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6478 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6479 (frameset-compute-pos): Rename from frameset--compute-pos,
6480 and add docstring.
6481 (frameset-move-onscreen): Use frameset-compute-pos.
6482 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6483
64e22afe
JB
6484 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6485 Fix typos in docstrings.
6486
c8c2aca8
DA
64872013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6488
6489 * frame.el (get-other-frame): Tiny cleanup.
6490
1d237bba
JB
64912013-08-06 Juanma Barranquero <lekktu@gmail.com>
6492
8951efef
JB
6493 * vc/vc.el (vc-default-ignore-completion-table):
6494 Silence byte-compiler warning.
6495
307764cc
JB
6496 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6497 slot , which can indeed be nil.
6498 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6499 Move entry for `left' from persistent to live filter alist.
6500 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6501 Doc fixes.
6502 (frameset-filter-params): When restoring a frame, copy items added to
6503 `filtered', to avoid unwittingly modifying the original parameters.
6504 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6505 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6506
1d237bba
JB
6507 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6508 to use looking-at-p instead of looking-at. (Bug#15028)
6509
dc6c0eda
SM
65102013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 Revert introduction of isearch-filter-predicates (bug#14714).
6513 Rely on add-function instead.
6514 * isearch.el (isearch-filter-predicates): Rename it back to
6515 isearch-filter-predicate.
6516 (isearch-message-prefix): Use advice-function-mapc and advice
6517 properties to get the isearch-message-prefix.
6518 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6519 instead of run-hook-with-args-until-failure.
6520 (isearch-filter-visible): Not obsolete any more.
6521 * loadup.el: Preload nadvice.
6522 * replace.el (perform-replace): Revert to funcall
6523 instead of run-hook-with-args-until-failure.
6524 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6525 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6526 dired-isearch-filenames-toggle; make it into a proper minor mode.
6527 Use add/remove-function.
6528 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6529 Call the minor-mode rather than add/remove-hook.
6530 (dired-isearch-filter-filenames):
6531 Remove isearch-message-prefix property.
6532 * info.el (Info--search-loop): New function, extracted from Info-search.
6533 Funcall isearch-filter-predicate instead of
6534 run-hook-with-args-until-failure isearch-filter-predicates.
6535 (Info-search): Use it.
6536 (Info-mode): Use isearch-filter-predicate instead of
6537 isearch-filter-predicates.
6538
290d5b58
DA
65392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6540
6541 Do not call to `selected-window' where it is assumed by default.
6542 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6543 `window-hscroll', `window-width', `window-height', `window-buffer',
6544 `window-frame', `window-start', `window-point', `next-window'
6545 and `window-display-table'.
6546 * abbrev.el (abbrev--default-expand):
6547 * bs.el (bs--show-with-configuration):
6548 * buff-menu.el (Buffer-menu-mouse-select):
6549 * calc/calc.el (calc):
6550 * calendar/calendar.el (calendar-generate-window):
6551 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6552 (diary-make-entry):
6553 * comint.el (send-invisible, comint-dynamic-complete-filename)
6554 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6555 * completion.el (complete):
6556 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6557 * disp-table.el (describe-current-display-table):
6558 * doc-view.el (doc-view-insert-image):
6559 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6560 * ehelp.el (with-electric-help):
6561 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6562 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6563 * emacs-lisp/helper.el (Helper-help-scroller):
6564 * emulation/cua-base.el (cua--post-command-handler-1):
6565 * eshell/esh-mode.el (eshell-output-filter):
6566 * ffap.el (ffap-gnus-wrapper):
6567 * help-macro.el (make-help-screen):
6568 * hilit-chg.el (highlight-compare-buffers):
6569 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6570 * hl-line.el (global-hl-line-highlight):
6571 * icomplete.el (icomplete-simple-completing-p):
6572 * isearch.el (isearch-done):
6573 * jit-lock.el (jit-lock-stealth-fontify):
6574 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6575 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6576 * mpc.el (mpc-tagbrowser, mpc):
6577 * net/rcirc.el (rcirc-any-buffer):
6578 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6579 * play/landmark.el (landmark-max-width, landmark-max-height):
6580 * play/zone.el (zone):
6581 * progmodes/compile.el (compilation-goto-locus):
6582 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6583 * progmodes/etags.el (find-tag-other-window):
6584 * progmodes/fortran.el (fortran-column-ruler):
6585 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6586 * progmodes/verilog-mode.el (verilog-point-text):
6587 * reposition.el (reposition-window):
6588 * rot13.el (toggle-rot13-mode):
6589 * server.el (server-switch-buffer):
6590 * shell.el (shell-dynamic-complete-command)
6591 (shell-dynamic-complete-environment-variable):
6592 * simple.el (insert-buffer, set-selective-display)
6593 (delete-completion-window):
6594 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6595 (speedbar-recenter):
6596 * startup.el (fancy-splash-head):
6597 * textmodes/ispell.el (ispell-command-loop):
6598 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6599 * tutorial.el (help-with-tutorial):
6600 * vc/add-log.el (add-change-log-entry):
6601 * vc/compare-w.el (compare-windows):
6602 * vc/ediff-help.el (ediff-indent-help-message):
6603 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6604 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6605 (ediff-setup-control-frame):
6606 * vc/emerge.el (emerge-position-region):
6607 * vc/pcvs-util.el (cvs-bury-buffer):
6608 * window.el (walk-windows, mouse-autoselect-window-select):
6609 * winner.el (winner-set-conf, winner-undo): Related users changed.
6610
38276e01
JB
66112013-08-05 Juanma Barranquero <lekktu@gmail.com>
6612
6613 * frameset.el (frameset--set-id): Doc fix.
6614 (frameset-frame-id, frameset-frame-id-equal-p)
6615 (frameset-locate-frame-id): New functions.
6616 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6617 (frameset-restore): Use them.
6618
12b4c0ea
DA
66192013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6620
6621 Do not call to `selected-frame' where it is assumed by default.
6622 Affected functions are `raise-frame', `redraw-frame',
6623 `frame-first-window', `frame-terminal' and `delete-frame'.
6624 * calendar/appt.el (appt-disp-window):
6625 * epg.el (epg-wait-for-completion):
6626 * follow.el (follow-delete-other-windows-and-split)
6627 (follow-avoid-tail-recenter):
6628 * international/mule.el (set-terminal-coding-system):
6629 * mail/rmail.el (rmail-mail-return):
6630 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6631 * progmodes/f90.el (f90-add-imenu-menu):
6632 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6633 * server.el (server-switch-buffer):
6634 * simple.el (delete-completion-window):
6635 * talk.el (talk):
6636 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6637 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6638 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6639 * vc/ediff.el (ediff-documentation): Related users changed.
6640 * frame.el (selected-terminal): Remove the leftover.
6641
17f25e76
GM
66422013-08-05 Glenn Morris <rgm@gnu.org>
6643
6644 * calendar/calendar.el (calendar-generate-month):
6645 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6646 (calendar-generate-month, calendar-font-lock-keywords):
6647 Fix for calendar-day-header-width > length of any day name.
17f25e76 6648
063233c3
JB
66492013-08-05 Juanma Barranquero <lekktu@gmail.com>
6650
6651 * desktop.el (desktop-clear): Use new name of sort predicate.
6652
6653 * frameset.el (frameset): Add docstring. Move :version property to its
6654 own `version' slot.
6655 (frameset-copy): Rename from copy-frameset.
6656 (frameset-p): Check more thoroughly.
6657 (frameset-prop): Do not check for :version, which is no longer a prop.
6658 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6659 Use new :never value instead of t.
6660 (frameset-filter-alist): Expand and clarify docstring.
6661 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6662 (frameset-filter-minibuffer, frameset-filter-save-param)
6663 (frameset-filter-restore-param, frameset-filter-iconified):
6664 Add pointer to docstring of frameset-filter-alist.
6665 (frameset-filter-params): Rename filter values to be more meaningful:
6666 :never instead of t, and reverse the meanings of :save and :restore.
6667 (frameset--process-minibuffer-frames): Clarify error message.
6668 (frameset-save): Avoid unnecessary and confusing call to framep.
6669 Use new BOA constructor for framesets.
6670 (frameset--reuse-list): Doc fix.
6671 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6672 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6673 (frameset-minibufferless-first-p): Doc fix.
6674 Rename from frameset-sort-frames-for-deletion.
6675 (frameset-restore): Doc fixes. Use new function names.
6676 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6677
d5671a82
JB
66782013-08-04 Juanma Barranquero <lekktu@gmail.com>
6679
6680 * desktop.el (desktop-restore-forces-onscreen)
6681 (desktop-restore-reuses-frames): Document :keyword constant values.
6682 (desktop-filter-parameters-alist): Remove, now identical to
6683 frameset-filter-alist.
6684 (desktop--filter-tty*): Remove, moved to frameset.el.
6685 (desktop-save-frameset, desktop-restore-frameset):
6686 Do not pass :filters argument.
6687
6688 * frameset.el (frameset-live-filter-alist)
6689 (frameset-persistent-filter-alist): New variables.
6690 (frameset-filter-alist): Use them. Add autoload cookie.
6691 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6692 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6693 `frameset--id' (it's supposed to be internal to frameset.el).
6694 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6695 (frameset--initial-params): New function.
6696 (frameset--get-frame): Use it. Doc fix.
6697 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6698 Accept :all, not 'all.
6699 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6700 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6701 with fbound symbols. Fix frame id matching, and remove matching ids if
6702 the frame being restored is deleted. Obey :delete.
6703
671d5c16
SM
67042013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * subr.el (macrop): New function.
6707 (text-clone--maintaining): New var.
6708 (text-clone--maintain): Rename from text-clone-maintain. Use it
6709 instead of inhibit-modification-hooks.
6710
6711 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6712 a proxy, so as handle autoloads and redefinitions of the target.
6713 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6714
6715 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6716 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6717 (pcase--mutually-exclusive-p): New function.
6718 (pcase--split-consp): Use it.
6719 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6720 mutually exclusive with the current predicate.
6721
6722 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6723 (edebug-macrop): Remove. Use `macrop' instead.
6724 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6725 (ad-macro-p):
6726 * eshell/esh-cmd.el (eshell-macrop):
6727 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6728
1d44e9dc
SM
67292013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6732 (advice-mapc): New function, using it.
6733 (advice-function-member-p): New function.
6734 (advice--normalize): Store the cdr in advice--saved-rewrite since
6735 that's the part that will be changed.
6736 (advice--symbol-function): New function.
6737 (advice-remove): Handle removal before the function is defined.
6738 Adjust to new advice--saved-rewrite.
6739 (advice-member-p): Use advice-function-member-p and
6740 advice--symbol-function.
6741
5414a283
JB
67422013-08-04 Juanma Barranquero <lekktu@gmail.com>
6743
51d30f2c
JB
6744 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6745 (frameset-filter-minibuffer): Doc fix.
6746 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6747 (frameset--set-id, frameset--process-minibuffer-frames)
6748 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6749 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6750
5414a283
JB
6751 * desktop.el (desktop-clear): Only delete frames when called
6752 interactively and desktop-restore-frames is non-nil. Doc fix.
6753 (desktop-read): Set desktop-saved-frameset to nil.
6754
ab419665
XF
67552013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6756
6757 * vc/vc.el (vc-ignore): Rewrite.
6758 (vc-default-ignore-completion-table):
6759 (vc--read-lines):
6760 (vc--add-line, vc--remove-regexp): New functions.
6761
6762 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6763 (vc-svn-ignore-completion-table): New function.
6764
6765 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6766 (vc-hg-ignore-completion-table):
6767 (vc-hg-find-ignore-file): New functions.
6768
6769 * vc/vc-git.el (vc-git-ignore): Rewrite.
6770 (vc-git-ignore-completion-table):
6771 (vc-git-find-ignore-file): New functions.
6772
6773 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6774
6775 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6776 (vc-bzr-ignore-completion-table):
6777 (vc-bzr-find-ignore-file): New functions.
6778
2613dea2
JB
67792013-08-03 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * frameset.el (frameset-prop): New function and setter.
6782 (frameset-save): Do not modify frame list passed by the caller.
6783
9c959872
SM
67842013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6787
a104f656
SM
67882013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6789
70122acf
SM
6790 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6791 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6792
a104f656
SM
6793 * custom.el (custom-initialize-default, custom-initialize-set)
6794 (custom-initialize-reset, custom-initialize-changed): Affect the
6795 toplevel-default-value (bug#6275, bug#14586).
6796 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6797 for bug#6275.
6798
f078d570
JB
67992013-08-02 Juanma Barranquero <lekktu@gmail.com>
6800
185e3b5a
JB
6801 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6802 Add cl-def* expressions.
6803
f078d570
JB
6804 * frameset.el (frameset-filter-params): Fix order of arguments.
6805
9421876d
JB
68062013-08-02 Juanma Barranquero <lekktu@gmail.com>
6807
6808 Move code related to saving frames to frameset.el.
6809 * desktop.el: Require frameset.
6810 (desktop-restore-frames): Doc fix.
6811 (desktop-restore-reuses-frames): Rename from
6812 desktop-restoring-reuses-frames.
6813 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6814 (desktop-clear): Clear frames too.
6815 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6816 (desktop--filter-tty*, desktop-save, desktop-read):
6817 Use frameset functions.
6818 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6819 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6820 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6821 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6822 (desktop--process-minibuffer-frames, desktop-save-frames)
6823 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6824 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6825 (desktop--sort-states, desktop-restoring-frames-p)
6826 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6827 (desktop-restoring-frameset-p, desktop-restore-frameset)
6828 (desktop--check-dont-save, desktop-save-frameset): New functions.
6829 (desktop--app-id): New constant.
6830 (desktop-first-buffer, desktop-buffer-ok-count)
6831 (desktop-buffer-fail-count): Move before first use.
6832 * frameset.el: New file.
6833
76dc5996
SM
68342013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * files.el: Use lexical-binding.
6837 (dir-locals-read-from-file): Remove unused `err' variable.
6838 (hack-dir-local-variables--warned-coding): New var.
6839 (hack-dir-local-variables): Use it to avoid repeated warnings.
6840 (make-backup-file-name--default-function): New function.
6841 (make-backup-file-name-function): Use it as default.
6842 (buffer-stale--default-function): New function.
6843 (buffer-stale-function): Use it as default.
6844 (revert-buffer-insert-file-contents--default-function): New function.
6845 (revert-buffer-insert-file-contents-function): Use it as default.
6846 (insert-directory): Avoid add-to-list.
6847
6848 * autorevert.el (auto-revert-handler): Simplify.
6849 Use buffer-stale--default-function.
6850
06d36e2b
TH
68512013-08-01 Tassilo Horn <tsdh@gnu.org>
6852
5f648ab4
TH
6853 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6854
06d36e2b
TH
6855 * whitespace.el (whitespace-ensure-local-variables): New function.
6856 (whitespace-cleanup-region): Call it.
6857 (whitespace-turn-on): Call it.
6858
a43dc424
MA
68592013-08-01 Michael Albinus <michael.albinus@gmx.de>
6860
6861 Complete file name handlers.
6862
6863 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6864 (tramp-handle-verify-visited-file-modtime)
6865 (tramp-handle-file-notify-rm-watch): New functions.
6866 (tramp-call-process): Do not bind `default-directory'.
6867
44e18199
JB
6868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6869 Order alphabetically.
a43dc424
MA
6870 [access-file, add-name-to-file, dired-call-process]:
6871 [dired-compress-file, file-acl, file-notify-rm-watch]:
6872 [file-ownership-preserved-p, file-selinux-context]:
6873 [make-directory-internal, make-symbolic-link, set-file-acl]:
6874 [set-file-selinux-context, set-visited-file-modtime]:
6875 [verify-visited-file-modtime]: Add handler.
6876 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6877
6878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6879 [file-notify-add-watch, file-notify-rm-watch]:
6880 [set-file-times, set-visited-file-modtime]:
6881 [verify-visited-file-modtime]: Add handler.
6882 (with-tramp-gvfs-error-message)
6883 (tramp-gvfs-handle-set-visited-file-modtime)
6884 (tramp-gvfs-fuse-file-name): Remove.
6885 (tramp-gvfs-handle-file-notify-add-watch)
6886 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6887 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6888
44e18199
JB
6889 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6890 Order alphabetically.
a43dc424
MA
6891 [file-notify-rm-watch ]: Use default Tramp handler.
6892 [executable-find]: Remove private handler.
6893 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6894 `default-directory'.
6895 (tramp-sh-handle-executable-find)
6896 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6897 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6898 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6899 Do not use `format' in `tramp-message'.
6900
6901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6902 [file-notify-rm-watch, set-visited-file-modtime]:
6903 [verify-visited-file-modtime]: Add handler.
6904 (tramp-smb-call-winexe): Do not bind `default-directory'.
6905
7188b515
XF
69062013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6907
6908 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6909
2412ee1a
DG
69102013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6911
6912 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6913 use it.
6914 (log-view-diff-changeset): Same.
6915 (log-view-diff-common): Call backend command `previous-revision'
6916 to find out the previous revision, in both cases. Swap the
6917 variables `to' and `fr', so that `fr' usually refers to the
6918 earlier revision (Bug#14989).
6919
5002a754
KRC
69202013-07-31 Kan-Ru Chen <kanru@kanru.info>
6921
6922 * ibuf-ext.el (ibuffer-filter-by-filename):
6923 Make it work with dired buffers too.
6924
44e18199 69252013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6926
6927 * emacs-lisp/re-builder.el (reb-color-display-p):
6928 * files.el (save-buffers-kill-terminal):
6929 * net/browse-url.el (browse-url):
6930 * server.el (server-save-buffers-kill-terminal):
6931 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6932 Prefer nil to selected-frame for the first arg of frame-parameter.
6933
aeca3fbb
XF
69342013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6935
6936 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6937
158bc55c
SB
69382013-07-30 Stephen Berman <stephen.berman@gmx.net>
6939
6940 * minibuffer.el (completion--twq-all): Try and preserve each
6941 completion's case choice (bug#14907).
6942
d50fceab
LMI
69432013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6944
ac38e731
LMI
6945 * net/network-stream.el (open-network-stream): Mention the new
6946 :nogreeting parameter.
6947 (network-stream-open-starttls): Use the :nogreeting parameter
6948 (bug#14938).
6949
1211de50
LMI
6950 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6951
997798bf
LMI
6952 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6953 more natural than popping.
6954
d50fceab 6955 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6956 (shr-urlify): Highlight under mouse.
d50fceab 6957
5c09de04
XF
69582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6959
207d1d04
XF
6960 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6961
6962 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6963
5c09de04
XF
6964 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6965 buffer for output.
6966
3cd51eaa
XF
6967 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6968 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6969
44e18199 6970 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6971 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6972
6973 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6974
6975 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6976 buffer for output.
6977
35a89bdd
EZ
69782013-07-29 Eli Zaretskii <eliz@gnu.org>
6979
6980 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6981 initial frame is minibuffer-less. (Bug#14841)
6982
78822e94
MA
69832013-07-29 Michael Albinus <michael.albinus@gmx.de>
6984
6985 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6986 option.
6987
6988 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6989 (tramp-maybe-open-connection): Use it.
6990
9503c190
JB
69912013-07-28 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6994 minimal set of parameters passed when creating a frame, because
6995 the minibuffer status of a frame cannot be changed later.
6996
d5a845b4
SB
69972013-07-28 Stephen Berman <stephen.berman@gmx.net>
6998
6999 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7000 replace-regexp-in-string and inadvertent omissions in previous change.
7001 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7002 name of filtered items buffer.
d5a845b4 7003
ddeffb17
JB
70042013-07-28 Juanma Barranquero <lekktu@gmail.com>
7005
7006 * desktop.el: Optionally force offscreen frames back onscreen.
7007 (desktop-restoring-reuses-frames): New option.
7008 (desktop--compute-pos, desktop--move-onscreen): New functions.
7009 (desktop--make-frame): Use desktop--move-onscreen.
7010
f5950f7a
AM
70112013-07-27 Alan Mackenzie <acm@muc.de>
7012
7013 Fontify a Java generic method as a function.
7014 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7015 value to t.
7016
ae43b66a
SB
70172013-07-27 Stephen Berman <stephen.berman@gmx.net>
7018
7019 * calendar/todo-mode.el: Add command to rename todo files.
7020 (todo-rename-file): New command.
7021 (todo-key-bindings-t): Add key binding for it. Change the
7022 bindings of todo-filter-regexp-items(-multifile) to use `x'
7023 instead of `r', since the latter is better suited to the new
7024 renaming command.
7025
5ab78d3d
AM
70262013-07-27 Alan Mackenzie <acm@muc.de>
7027
7028 Make Java try-with-resources statement parse properly.
7029 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7030 (c-block-stmt-1-2-key): New language constants/variables.
7031 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7032 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7033 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7034 with c-block-stmt-1-2-key.
5ab78d3d 7035
d85c4d50
JB
70362013-07-27 Juanma Barranquero <lekktu@gmail.com>
7037
7038 * desktop.el (desktop--make-frame): Apply most frame parameters after
7039 creating the frame to force (partially or totally) offscreen frames to
7040 be restored as such.
7041
e4c467f9
XF
70422013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7043
7044 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7045 (Bug#14948)
e4c467f9 7046
7ced0d04
SM
70472013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7050 `base' arg of backtrace-frame.
7051
fec92060
EZ
70522013-07-26 Eli Zaretskii <eliz@gnu.org>
7053
7054 * simple.el (list-processes): Doc fix.
7055
d58d31fb
JB
70562013-07-26 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * desktop.el (desktop--select-frame):
d85c4d50 7059 Try harder to reuse existing frames.
d58d31fb 7060
53ff3e77
SM
70612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7064 (edebug-eval): Use backtrace-eval.
7065 (edebug--display, edebug--recursive-edit): Don't let-bind the
7066 edebug-outer-* vars that keep track of variables we locally let-bind.
7067 (edebug-outside-excursion): Don't restore outside values of locally
7068 let-bound vars.
7069 (edebug--display): Use user-error.
7070 (cl-lexical-debug, cl-debug-env): Remove.
7071
045f7a53
JB
70722013-07-26 Juanma Barranquero <lekktu@gmail.com>
7073
7074 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7075 are restored to be sure that they are visible before deleting any
7076 remaining ones.
7077
59070b32
MM
70782013-07-26 Matthias Meulien <orontee@gmail.com>
7079
742a3501
XF
7080 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7081 vc-print-root-log. (Bug#14948)
59070b32 7082
b1fb3596
RS
70832013-07-26 Richard Stallman <rms@gnu.org>
7084
7085 Add aliases for encrypting mail.
7086 * epa.el (epa-mail-aliases): New option.
7087 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7088 Bind inhibit-read-only so read-only text doesn't ruin everything.
7089 (epa-mail-default-recipients): New subroutine broken out.
7090 Handle epa-mail-aliases.
7091
56ea7291
SM
70922013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 Add support for lexical variables to the debugger's `e' command.
7095 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7096 vars, except for debugger-outer-match-data.
7097 (debugger-frame-number): Move check for "on a function call" from
7098 callers into it. Add `skip-base' argument.
7099 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7100 (debugger-env-macro): Only reset the state stored in non-variables,
7101 i.e. current-buffer and match-data.
7102 (debugger-eval-expression): Rewrite using backtrace-eval.
7103 * subr.el (internal--called-interactively-p--get-frame): Remove.
7104 (called-interactively-p):
7105 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7106 `base' arg of backtrace-frame instead.
7107
15ac32d5
GM
71082013-07-26 Glenn Morris <rgm@gnu.org>
7109
8358a09d
GM
7110 * align.el (align-regexp): Doc fix. (Bug#14857)
7111 (align-region): Explicit error if subexpression missing/does not match.
7112
15ac32d5
GM
7113 * simple.el (global-visual-line-mode):
7114 Do not duplicate the mode lighter. (Bug#14858)
7115
f47ad11b
MR
71162013-07-25 Martin Rudalics <rudalics@gmx.at>
7117
7118 * window.el (display-buffer): In display-buffer bind
7119 split-window-keep-point to t, bug#14829.
7120
02530987
JB
71212013-07-25 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7124 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7125 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7126 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7127 Change accordingly.
f63ebeb5
JB
7128 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7129 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7130
6ccb9cab 71312013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7132
6ccb9cab 7133 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7134
cb3a56d2
JB
71352013-07-25 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7138 parameter to modify-frame-parameters if the value has not changed;
7139 this is a workaround for bug#14949.
7140 (desktop--make-frame): On cl-delete-if call, check parameter name,
7141 not full parameter.
7142
7aa7fff0
XF
71432013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7144
7145 * vc/vc.el (vc-ignore): New function.
7146
7147 * vc/vc-svn.el (vc-svn-ignore): New function.
7148
7149 * vc/vc-hg.el (vc-hg-ignore): New function.
7150
7151 * vc/vc-git.el (vc-git-ignore): New function.
7152
7153 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7154 (vc-dir-ignore): New function.
7155
7156 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7157 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7158
7159 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7160
7161 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7162
889acc5c
JB
71632013-07-24 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7166 (desktop-restore-frames): Warn when deleting an existing frame failed.
7167
86c40970
GM
71682013-07-24 Glenn Morris <rgm@gnu.org>
7169
7170 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7171
d5d3c58a
MA
71722013-07-24 Michael Albinus <michael.albinus@gmx.de>
7173
7174 * filenotify.el (file-notify-supported-p):
7175 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7176 Remove functions.
7177
7178 * autorevert.el (auto-revert-use-notify):
7179 (auto-revert-notify-add-watch):
7180 * net/tramp.el (tramp-file-name-for-operation):
7181 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7183 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7184 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7185 Remove `file-notify-supported-p' entry.
7186
d100084b
GM
71872013-07-24 Glenn Morris <rgm@gnu.org>
7188
7189 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7190 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7191
ac93e56b
SM
71922013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7193
249eea30
SM
7194 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7195 checked with memq (bug#14935).
7196
ac93e56b
SM
7197 * files.el (revert-buffer-function): Use a non-nil default.
7198 (revert-buffer-preserve-modes): Declare var to
7199 provide access to the `preserve-modes' argument.
7200 (revert-buffer): Let-bind it.
7201 (revert-buffer--default): New function, extracted from revert-buffer.
7202
2cdeb903
SM
72032013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * lpr.el: Signal print errors more prominently.
7206 (print-region-function): Don't default to nil.
7207 (lpr-print-region): New function, extracted from print-region-1.
7208 Check lpr's return value and signal an error in case of problem.
7209 (print-region-1): Use it.
7210 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7211 versions instead.
7212 (ps-printer-name): Default to nil.
7213 (ps-printer-name-option): Default to lpr-printer-switch.
7214 (ps-print-region-function): Don't default to nil.
7215 (ps-postscript-code-directory): Simplify default.
7216 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7217 (ps-string-list, ps-eval-switch, ps-flatten-list)
7218 (ps-flatten-list-1): Remove.
7219 (ps-multibyte-buffer): Avoid setq.
7220 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7221 (print-region-function, ps-print-region-function): Don't set them here.
7222
73600831
XF
72232013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7224
0e55c076
XF
7225 * ido.el (ido-fractionp):
7226 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7227 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7228 (ido-max-directory-size, ido-max-dir-file-cache)
7229 (ido-decorations): Doc fix.
7230
73600831
XF
7231 * ansi-color.el: Fix old URL.
7232
3d012865
MM
72332013-07-23 Michael R. Mauger <michael@mauger.com>
7234
e903c210 7235 * progmodes/sql.el: Version 3.3
3d012865
MM
7236 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7237 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7238 (sql-interactive-remove-continuation-prompt): Rewrite, use
7239 functions above. Fix continuation prompt and complete output line
7240 handling.
7241 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7242 redirected output buffer.
7243 (sql-mode): Restore deleted code (Bug#13591).
7244
da77a2e2
JB
72452013-07-23 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7248
80ff0c71
MA
72492013-07-23 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7252
7253 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7254 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7255 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7256
b61d71e4
JB
72572013-07-23 Juanma Barranquero <lekktu@gmail.com>
7258
7259 * desktop.el (desktop-clear): Simplify; remove useless checks
7260 against invalid buffer names.
7261 (desktop-list*): Use cl-list*.
7262 (desktop-buffer-info, desktop-create-buffer): Simplify.
7263
c3512092
LL
72642013-07-23 Leo Liu <sdl.web@gmail.com>
7265
7266 * bookmark.el (bookmark-make-record): Restore NAME as a default
7267 value. (Bug#14933)
7268
0ac26976
SM
72692013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7d22ce18
SM
7271 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7272 extracted from autoload--insert-text.
7273 (autoload--insert-text): Remove.
7274 (autoload--print-cookie-text): New function, extracted from
7275 autoload--insert-cookie-text.
7276 (autoload--insert-cookie-text): Remove.
7277 (autoload-generate-file-autoloads): Adjust calls accordingly.
7278
9b2607e8
SM
7279 * winner.el (winner-hook-installed-p): Remove.
7280 (winner-mode): Simplify accordingly.
7281
c43a8618
SM
7282 * subr.el (add-to-list): Fix compiler-macro when `append' is
7283 not constant. Don't use `cl-member' for the base case.
7284
0ac26976
SM
7285 * progmodes/subword.el: Fix boundary case (bug#13758).
7286 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7287 own group.
7288 (subword-backward-regexp): Make it a constant.
7289 (subword-forward-internal): Don't treat a trailing capital as the
7290 beginning of a word.
7291
6874724a
AR
72922013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7293
7294 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7295 global value of tabulated-list-revert-hook (bug#14930).
7296
70f1b5e8
JB
72972013-07-22 Juanma Barranquero <lekktu@gmail.com>
7298
a1c80d9d
JB
7299 * desktop.el: Require 'cl-lib.
7300 (desktop-before-saving-frames-functions): New hook.
7301 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7302 for frames being saved. Rename from desktop--save-minibuffer-frames.
7303 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7304 Do not save frames with non-nil `desktop-dont-save' parameter.
7305 Filter out deleted frames.
a1c80d9d
JB
7306 (desktop--find-frame): Use cl-find-if.
7307 (desktop--select-frame): Use cl-(first|second|third) to access values
7308 of desktop-mini.
7309 (desktop--make-frame): Use cl-delete-if.
7310 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7311 (desktop-restore-frames): Use cl-(first|second|third) to access values
7312 of desktop-mini. Look for visible frame at the end, not while
7313 restoring frames.
7314
70f1b5e8
JB
7315 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7316 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7317 Use string-match-p, looking-at-p (bug#14927).
7318
728dc3cc
JB
73192013-07-21 Juanma Barranquero <lekktu@gmail.com>
7320
56bc453c
JB
7321 * desktop.el (desktop-saved-frame-states):
7322 Rename from desktop--saved-states; all users changed.
7323 (desktop-save-frames): Rename from desktop--save-frames.
7324 Do not save state to desktop file.
7325 (desktop-save): Save desktop-saved-frame-states to desktop file
7326 and reset to nil.
7327 (desktop-restoring-frames-p): New function.
7328 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7329 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7330 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7331
728dc3cc
JB
7332 * desktop.el: Correctly restore iconified frames.
7333 (desktop--filter-iconified-position): New function.
7334 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7335
862f1c9c
GM
73362013-07-20 Glenn Morris <rgm@gnu.org>
7337
c4074c9f
GM
7338 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7339 Let `message' do the formatting.
7340 (def-gdb-preempt-display-buffer): Add explicit format.
7341
d828e5f9
GM
7342 * image-dired.el (image-dired-track-original-file):
7343 Use with-current-buffer.
7344 (image-dired-track-thumbnail): Use with-current-buffer.
7345 Avoid changing point of wrong window.
7346
862f1c9c
GM
7347 * image-dired.el (image-dired-track-original-file):
7348 Avoid changing point of wrong window. (Bug#14909)
7349
f0398ec1 73502013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7351
7352 * progmodes/gdb-mi.el (gdb-done-or-error):
7353 Guard against "%" in gdb output. (Bug#14127)
7354
1451928f
AS
73552013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7356
763a086d
JB
7357 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7358 (Bug#14826)
f7a03897 7359
1451928f
AS
7360 * international/mule.el (coding-system-iso-2022-flags): Fix last
7361 change.
7362
99107004
KH
73632013-07-20 Kenichi Handa <handa@gnu.org>
7364
763a086d
JB
7365 * international/mule.el (coding-system-iso-2022-flags):
7366 Add `8-bit-level-4'. (Bug#8522)
99107004 7367
48494e06
LMI
73682013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
8ba8eec5
LMI
7370 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7371 (bug#14815).
7372
dfbc66e3
LMI
7373 * net/eww.el (eww-process-text-input): Allow inputting when the
7374 point is at the start of the line, as the properties aren't
7375 front-sticky.
7376
48494e06
LMI
7377 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7378 degenerate widths.
7379
77c92cb9
RS
73802013-07-19 Richard Stallman <rms@gnu.org>
7381
aec7da77
RS
7382 * epa.el (epa-popup-info-window): Doc fix.
7383
77c92cb9
RS
7384 * subr.el (split-string): New arg TRIM.
7385
945c5bb1
JB
73862013-07-18 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7389 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7390
e06ec67f
MA
73912013-07-18 Michael Albinus <michael.albinus@gmx.de>
7392
c7064f05 7393 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7394 `file-notify-support'. Do not autoload. Adapt all uses.
7395 (file-notify-supported-p): New defun.
7396
c7064f05
JB
7397 * autorevert.el (auto-revert-use-notify):
7398 Use `file-notify-supported-p' instead of `file-notify-support'.
7399 Adapt docstring.
e06ec67f
MA
7400 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7401
7402 * net/tramp.el (tramp-file-name-for-operation):
7403 Add `file-notify-supported-p'.
7404
7405 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7406 New defun.
7407 (tramp-sh-file-name-handler-alist): Add it as handler for
7408 `file-notify-supported-p '.
7409
7410 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7411 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7412 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7413 Add `ignore' as handler for `file-notify-*' functions.
7414
5dc8a629
EZ
74152013-07-17 Eli Zaretskii <eliz@gnu.org>
7416
7417 * simple.el (line-move-partial, line-move): Don't start vscroll or
7418 scroll-up if the current line is not taller than the window.
7419 (Bug#14881)
7420
77aea2fb
DG
74212013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7424 highlight question marks in the method names as strings.
ac72c08d
DG
7425 (ruby-block-beg-keywords): Inline.
7426 (ruby-font-lock-keyword-beg-re): Extract from
7427 `ruby-font-lock-keywords'.
77aea2fb 7428
18c26d81
JD
74292013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7430
7431 * frame.el (blink-cursor-blinks): New defcustom.
7432 (blink-cursor-blinks-done): New defvar.
7433 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7434 (blink-cursor-timer-function): Check if number of blinks has been
7435 done on X and NS.
7436 (blink-cursor-suspend, blink-cursor-check): New defuns.
7437
da48522e
GM
74382013-07-15 Glenn Morris <rgm@gnu.org>
7439
7440 * edmacro.el (edmacro-format-keys): Fix previous change.
7441
0463c1ef
PE
74422013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7443
7444 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7445 The hack didn't work outside English locales anyway.
7446
b43f6451
JB
74472013-07-15 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * simple.el (define-alternatives): Rename from alternatives-define,
7450 per RMS' suggestion.
7451
b958c0ad
JB
74522013-07-14 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * desktop.el (desktop-restore-frames): Change default to t.
7455 (desktop-restore-in-current-display): Now offer more options.
7456 (desktop-restoring-reuses-frames): New customization option.
7457 (desktop--saved-states): Doc fix.
7458 (desktop-filter-parameters-alist): New variable, renamed and expanded
7459 from desktop--excluded-frame-parameters.
7460 (desktop--target-display): New variable.
7461 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7462 (desktop--filter-tty*, desktop--filter-*-color)
7463 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7464 (desktop--filter-save-desktop-parm)
7465 (desktop-restore-in-original-display-p): New functions.
7466 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7467 (desktop--save-minibuffer-frames): New function, inspired by a similar
7468 function from Martin Rudalics.
7469 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7470 (desktop--restore-in-this-display-p): Remove.
7471 (desktop--find-frame): Rename from desktop--find-frame-in-display
7472 and add predicate argument.
7473 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7474 (desktop--reuse-list): New variable.
7475 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7476 New functions.
7477 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7478
f6dd8b36
MA
74792013-07-14 Michael Albinus <michael.albinus@gmx.de>
7480
7481 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7482
2ce3c565
DG
74832013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7484
763a086d
JB
7485 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7486 Highlight conversion methods on Kernel.
2ce3c565 7487
2cdb7698
AM
74882013-07-13 Alan Mackenzie <acm@muc.de>
7489
7490 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7491 and comment it out. This out-commenting enables certain C++
7492 declarations to be parsed correctly.
7493
1a67b811
EZ
74942013-07-13 Eli Zaretskii <eliz@gnu.org>
7495
1b796d6b
EZ
7496 * international/mule.el (define-coding-system): Doc fix.
7497
1a67b811
EZ
7498 * simple.el (default-font-height): Don't call font-info if the
7499 frame's default font didn't change since the frame was created.
7500 (Bug#14838)
7501
58fbe886
LL
75022013-07-13 Leo Liu <sdl.web@gmail.com>
7503
7504 * ido.el (ido-read-file-name): Guard against non-symbol value.
7505
1f0480d4
FEG
75062013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7507
7508 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7509 in nested defuns.
7510
97ead0e5
LL
75112013-07-13 Leo Liu <sdl.web@gmail.com>
7512
7513 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7514 ido-set-matches call. (Bug#6852)
7515
0880a952
DG
75162013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7517
7518 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7519 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7520 Ruby 2.0.
7521 (ruby-font-lock-keywords): Distinguish calls to functions with
7522 module-like names from module references. Highlight character
7523 literals.
7524
a7d8babb
SDJ
75252013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7526
7527 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7528 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7529
acfcc8c5
JB
75302013-07-12 Juanma Barranquero <lekktu@gmail.com>
7531
7532 * desktop.el (desktop--v2s): Remove unused local variable.
7533 (desktop-save-buffer): Make defvar-local; adjust docstring.
7534 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7535 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7536
051f2775
AS
75372013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7538
7539 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7540
f24e7572
GM
75412013-07-12 Eli Zaretskii <eliz@gnu.org>
7542
7543 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7544 (Bug#14842)
7545
539a920c
GM
75462013-07-12 Glenn Morris <rgm@gnu.org>
7547
7548 * doc-view.el: Require cl-lib at runtime too.
7549 (doc-view-remove-if): Remove.
7550 (doc-view-search-next-match, doc-view-search-previous-match):
7551 Use cl-remove-if.
7552
7553 * edmacro.el: Require cl-lib at runtime too.
7554 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7555 (edmacro-mismatch, edmacro-subseq): Remove.
7556
7557 * shadowfile.el: Require cl-lib.
7558 (shadow-remove-if): Remove.
7559 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7560 Use cl-remove-if.
7561
7562 * wid-edit.el: Require cl-lib.
7563 (widget-choose): Use cl-remove-if.
7564 (widget-remove-if): Remove.
7565
7566 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7567 (ebrowse-delete-if-not): Remove.
7568 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7569 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7570 Use cl-delete-if-not.
7571
1048af7c
JB
75722013-07-12 Juanma Barranquero <lekktu@gmail.com>
7573
7574 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7575 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7576
6c0674ee
LL
75772013-07-12 Leo Liu <sdl.web@gmail.com>
7578
7579 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7580
a19b3c2d
GM
75812013-07-11 Glenn Morris <rgm@gnu.org>
7582
4582a01c
GM
7583 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7584 (edebug-gensym-index, edebug-gensym):
7585 Remove reimplementation of cl-gensym.
7586 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7587
7588 * thumbs.el: Require cl-lib at run-time too.
7589 (thumbs-gensym-counter, thumbs-gensym):
7590 Remove reimplementation of cl-gensym.
7591 (thumbs-temp-file): Use cl-gensym.
7592
a19b3c2d
GM
7593 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7594 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7595 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7596 (ert--union, ert--gensym-counter, ert--gensym-counter)
7597 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7598 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7599 (ert-make-test-unbound, ert--expand-should-1)
7600 (ert--expand-should, ert--should-error-handle-error)
7601 (should-error, ert--explain-equal-rec)
7602 (ert--plist-difference-explanation, ert-select-tests)
7603 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7604 Use cl-lib functions rather than reimplementations.
7605
88f6a933
MA
76062013-07-11 Michael Albinus <michael.albinus@gmx.de>
7607
7608 * net/tramp.el (tramp-methods): Extend docstring.
7609 (tramp-connection-timeout): New defcustom.
7610 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7611 (with-tramp-progress-reporter): Simplify.
7612 (tramp-process-actions): Improve messages.
7613
7614 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7615 * net/tramp-sh.el (tramp-maybe-open-connection):
7616 Use `tramp-connection-timeout'.
7617 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7618 (Bug#14808)
7619
a43d577e
LL
76202013-07-11 Leo Liu <sdl.web@gmail.com>
7621
7622 * ido.el (ido-read-file-name): Conform to the requirements of
7623 read-file-name. (Bug#11861)
7624 (ido-read-directory-name): Conform to the requirements of
7625 read-directory-name.
7626
d77974bf
JB
76272013-07-11 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * subr.el (delay-warning): New function.
7630
35cb8a3e
EZ
76312013-07-10 Eli Zaretskii <eliz@gnu.org>
7632
7633 * simple.el (default-line-height): New function.
7634 (line-move-partial, line-move): Use it instead of computing the
7635 line height inline.
7636 (line-move-partial): Always compute ROWH. If the last line is
7637 partially-visible, but its text is completely visible, allow
7638 cursor to enter such a partially-visible line.
7639
525c5c77
MA
76402013-07-10 Michael Albinus <michael.albinus@gmx.de>
7641
7642 Improve error messages. (Bug#14808)
7643
7644 * net/tramp.el (tramp-current-connection): New defvar, moved from
7645 tramp-sh.el.
0ac26976 7646 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7647 needed anymore.
0ac26976
SM
7648 (tramp-error-with-buffer): Show message in minibuffer.
7649 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7650 (with-tramp-progress-reporter): Improve messages.
7651 (tramp-process-actions): Use progress reporter. Delete process in
7652 case of error. Improve messages.
7653
763a086d
JB
7654 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7655 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7656 (tramp-current-connection): Remove.
525c5c77
MA
7657 (tramp-maybe-open-connection): The car of
7658 `tramp-current-connection' are the first 3 slots of the vector.
7659
c7a4d368
TZ
76602013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7661
7662 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7663 inside continued strings.
7664
954b166e
PE
76652013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7666
7667 Timestamp fixes for undo (Bug#14824).
7668 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7669
56973319
LL
76702013-07-10 Leo Liu <sdl.web@gmail.com>
7671
7672 * files.el (require-final-newline): Allow safe local value.
7673 (Bug#14834)
7674
5550a72c
LL
76752013-07-09 Leo Liu <sdl.web@gmail.com>
7676
7677 * ido.el (ido-read-directory-name): Handle fallback.
7678 (ido-read-file-name): Update DIR to ido-current-directory.
7679 (Bug#1516)
c28b9050 7680 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7681
70c46b28
DG
76822013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7683
7684 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7685 "autoload". Remove "warn lower camel case" section, previously
7686 commented out. Highlight negation char. Do not highlight the
7687 target in singleton method definitions.
7688
0b64b838
SM
76892013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7fd72e2c
SM
7691 * faces.el (tty-setup-hook): Declare the hook.
7692
0b64b838
SM
7693 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7694 and detect when a guard/pred depends on local vars (bug#14773).
7695 (pcase--u1): Adjust caller.
7696
ab49d60b
EZ
76972013-07-08 Eli Zaretskii <eliz@gnu.org>
7698
7699 * simple.el (line-move-partial, line-move): Account for
7700 line-spacing.
701d79aa
EZ
7701 (line-move-partial): Avoid setting vscroll when the last
7702 partially-visible line in window is of default height.
ab49d60b 7703
2d756ae0
LMI
77042013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
7706 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7707 been used a while.
7708
ed095bd7
JB
77092013-07-07 Juanma Barranquero <lekktu@gmail.com>
7710
7711 * subr.el (read-quoted-char): Remove unused local variable `char'.
7712
f1e6674b
MK
77132013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7714
584ee3fc
GM
7715 * ediff.el (ediff-version): Version update.
7716 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7717 (ediff-merge-with-ancestor-command, ediff-directories-command)
7718 (ediff-directories3-command, ediff-merge-directories-command)
7719 (ediff-merge-directories-with-ancestor-command): New functions.
7720 All are command-line interfaces to ediff: to facilitate calling
7721 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7722
7723 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7724 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7725
584ee3fc
GM
7726 * viper.el (viper-version): Version update.
7727 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7728
584ee3fc
GM
77292013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7732 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7733 (viper-intercept-ESC-key): Simplify.
7734 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7735 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7736 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7737 (viper-setup-ESC-to-escape): New functions.
7738 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7739 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7740
9aff9b38
EZ
77412013-07-07 Eli Zaretskii <eliz@gnu.org>
7742
5165d44a
JB
7743 * simple.el (default-font-height, window-screen-lines):
7744 New functions.
9aff9b38
EZ
7745 (line-move, line-move-partial): Use them instead of
7746 frame-char-height and window-text-height. This makes scrolling
7747 text smoother when the buffer's default face uses a font that is
7748 different from the frame's default font.
7749
1afb1d07
JD
77502013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7751
7752 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7753 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7754
23de972a
EZ
77552013-07-06 Eli Zaretskii <eliz@gnu.org>
7756
7757 * simple.el (line-move-partial): Adjust the row returned by
7758 posn-at-point for the current window-vscroll. (Bug#14567)
7759
54a42486
MA
77602013-07-06 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7763 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7764 spaces.
7765
34ada5f4
MR
77662013-07-06 Martin Rudalics <rudalics@gmx.at>
7767
7768 * window.el (window-state-put-stale-windows): New variable.
7769 (window--state-put-2): Save list of windows without matching buffer.
7770 (window-state-put): Remove "bufferless" windows if possible.
7771
11e03d89
JB
77722013-07-06 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * simple.el (alternatives-define): Remove leftover :group keyword.
7775 Tweak docstring.
7776
3504a4be
LL
77772013-07-06 Leo Liu <sdl.web@gmail.com>
7778
7779 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7780 (ido-enable-virtual-buffers): New variable.
7781 (ido-buffer-internal, ido-toggle-virtual-buffers)
7782 (ido-make-buffer-list): Use it.
7783 (ido-exhibit): Support turning on and off virtual buffers
7784 automatically.
7785
61e56e2c
JB
77862013-07-06 Juanma Barranquero <lekktu@gmail.com>
7787
7788 * simple.el (alternatives-define): New macro.
7789
321e1a9c
SM
77902013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * subr.el (read-quoted-char): Use read-key.
7793 (sit-for): Let read-event decode tty input (bug#14782).
7794
d610f6dd
SB
77952013-07-05 Stephen Berman <stephen.berman@gmx.net>
7796
7797 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7798 mode command and externally. Fix various related bugs.
7799 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7800 (todo-delete-file): New command.
7801 (todo-check-file): New function.
7802 (todo-show): Handle external deletion of the file we're trying to
7803 show (bug#14688). Replace called-interactively-p by an optional
7804 prefix argument to avoid problematic interaction with catch form
7805 when byte compiled (bug#14702).
7806 (todo-quit): Handle external deletion of the archive's todo file.
7807 Make sure the buffer that was visiting the archive file is still
7808 live before trying to bury it.
7809 (todo-category-completions): Handle external deletion of any
7810 category completion files.
7811 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7812 of todo files, in case of external deletion.
7813 (todo-add-file): Replace unnecessary setq by let-binding.
7814 (todo-find-archive): Check whether there are any archives.
7815 Replace unnecessary setq by let-binding.
7816 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7817 archive buffer whether or not the archive already exists.
7818 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7819 check if the archive is new; if it is, update list of archives.
7820 (todo-default-todo-file): Allow nil to be a valid value for when
7821 there are no todo files.
7822 (todo-reevaluate-default-file-defcustom): Use corrected definition
7823 of todo-default-todo-file.
7824 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7825 (todo-delete-category, todo-show-categories-table)
7826 (todo-category-number): Clarify comment.
7827 (todo-filter-items): Clarify documentation string.
7828 (todo-show-current-file, todo-display-as-todo-file)
7829 (todo-reset-and-enable-done-separator): Tweak documentation string.
7830 (todo-done-separator): Make separator length window-width, since
7831 bug#2749 is now fixed.
7832
ddbdfd6f
MA
78332013-07-05 Michael Albinus <michael.albinus@gmx.de>
7834
321e1a9c
SM
7835 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7836 Support both "gvfs-monitor-dir" and "inotifywait".
7837 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7838 `tramp-sh-file-notify-process-filter'.
7839 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7840 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7841
96eb829a
LL
78422013-07-05 Leo Liu <sdl.web@gmail.com>
7843
7844 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7845
cf13177e
YM
78462013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7847
7848 * frame.el (display-pixel-height, display-pixel-width)
7849 (display-mm-height, display-mm-width): Mention behavior on
7850 multi-monitor setups in docstrings.
7851 (w32-display-monitor-attributes-list): Declare function.
7852 (display-monitor-attributes-list): Use it.
7853
864c58ca
MA
78542013-07-04 Michael Albinus <michael.albinus@gmx.de>
7855
7856 * filenotify.el: New package.
7857
7858 * autorevert.el (top): Require filenotify.el.
7859 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7860 instead.
7861 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7862 (auto-revert-notify-handler): Use `file-notify-*' functions.
7863
7864 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7865
321e1a9c
SM
7866 * net/tramp.el (tramp-file-name-for-operation):
7867 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7868
7869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7870 for `file-notify-add-watch' and `file-notify-rm-watch'.
7871 (tramp-process-sentinel): Improve trace.
7872 (tramp-sh-handle-file-notify-add-watch)
7873 (tramp-sh-file-notify-process-filter)
7874 (tramp-sh-handle-file-notify-rm-watch)
7875 (tramp-get-remote-inotifywait): New defuns.
7876
96673afe
JL
78772013-07-03 Juri Linkov <juri@jurta.org>
7878
7879 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7880 call of `occur-read-primary-args' to interactive spec.
7881
7882 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7883 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7884
924494f4
MM
78852013-07-03 Matthias Meulien <orontee@gmail.com>
7886
7887 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7888 `Buffer-menu-multi-occur'. Add it to the menu.
7889 (Buffer-menu-mode): Document it in docstring.
7890 (Buffer-menu-multi-occur): New command. (Bug#14673)
7891
56f75efc
DG
78922013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7893
7894 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7895 keywords and built-ins.
7896
9b057d61
GM
78972013-07-03 Glenn Morris <rgm@gnu.org>
7898
208dee4d
GM
7899 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7900
9b057d61
GM
7901 Make info-xref checks case-sensitive by default
7902 * info.el (Info-find-node, Info-find-in-tag-table)
7903 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7904 Add option for exact case matching of nodes.
7905 * info-xref.el (info-xref): New custom group.
7906 (info-xref-case-fold): New option.
7907 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7908
e01aa29c
LL
79092013-07-03 Leo Liu <sdl.web@gmail.com>
7910
7911 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7912
3086ca2e
DG
79132013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7914
7915 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7916 middle of block statement initially, lower the depth. Remove
7917 FIXME comment, not longer valid. Remove middle of block statement
7918 detection, no need to do that anymore since we've been using
7919 `ruby-parse-region' here.
7920
a3b49114
JD
79212013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7922
7923 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7924
08e5c823 79252013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7926
7927 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7928
2addf922
JB
79292013-07-01 Juanma Barranquero <lekktu@gmail.com>
7930
7931 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7932 (desktop-restore-in-current-display): New customization option.
7933 (desktop--excluded-frame-parameters): Add `font'.
7934 (desktop--save-frames): Rename from desktop--save-windows.
7935 (desktop--restore-in-this-display-p): New function.
7936 (desktop--make-full-frame): Remove unwanted width/height from
7937 full(width|height) frames.
7938 (desktop--restore-frames): Rename from desktop--restore-windows.
7939 Obey desktop-restore-current-display. Do not delete old frames or
7940 select a new frame unless we were able to restore at least one frame.
7941
ef099a94
MN
79422013-06-30 Michal Nazarewicz <mina86@mina86.com>
7943
7944 * files.el (find-file-noselect): Simplify conditional expression.
7945
a12bf61e 7946 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7947 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7948
7949 Add `remember-notes' function to store random notes across Emacs
7950 restarts.
a12bf61e 7951 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7952 notes buffer (if any).
7953 (remember-notes): New command.
7954 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7955 New defcustoms for the `remember-notes' function.
7956 (remember-notes-save-and-bury-buffer): New command.
7957 (remember-notes-mode-map): New variable.
7958 (remember-mode): New minor mode.
7959 (remember-notes--kill-buffer-query): New function.
7960 * startup.el (initial-buffer-choice): Add notes to custom type.
7961
0865d506
EZ
79622013-06-30 Eli Zaretskii <eliz@gnu.org>
7963
0ba54312
EZ
7964 * bindings.el (right-char, left-char): Don't call sit-for, this is
7965 no longer needed. Use arithmetic comparison only for numerical
7966 arguments.
7967
ef099a94
MN
7968 * international/mule-cmds.el (select-safe-coding-system):
7969 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7970
2fae38e5
LMI
79712013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7972
7973 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7974 progression on degenerate tables.
ef099a94 7975 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7976
a47cbd64
JB
79772013-06-30 Juanma Barranquero <lekktu@gmail.com>
7978
7979 Some fixes and improvements for desktop frame restoration.
7980 It is still experimental and disabled by default.
7981 * desktop.el (desktop--save-windows): Put the selected frame at
7982 the head of the list.
7983 (desktop--make-full-frame): New function.
7984 (desktop--restore-windows): Try to re-select the frame that was
7985 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7986 just show an error message and continue. Set up maximized frames
7987 so they have default non-maximized dimensions.
a47cbd64 7988
6dbafa30
DG
79892013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7990
ef099a94
MN
7991 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7992 Don't start heredoc inside a string or comment.
6dbafa30 7993
4c672a0f
EZ
79942013-06-29 Eli Zaretskii <eliz@gnu.org>
7995
7996 * bindings.el (visual-order-cursor-movement): New defcustom.
7997 (right-char, left-char): Provide visual-order cursor motion by
7998 calling move-point-visually. Update the doc strings.
7999
50960f36
KH
80002013-06-28 Kenichi Handa <handa@gnu.org>
8001
8002 * international/mule.el (define-coding-system): New coding system
8003 properties :inhibit-null-byte-detection,
8004 :inhibit-iso-escape-detection, and :prefer-utf-8.
8005 (set-buffer-file-coding-system): If :charset-list property of
8006 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8007 appropriate for setting.
8008
c1ea3abf
JB
8009 * international/mule-cmds.el (select-safe-coding-system):
8010 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8011 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8012
8013 * international/mule-conf.el (prefer-utf-8): New coding system.
8014 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8015 files.
8016
75dbaf9d
IK
80172013-06-28 Ivan Kanis <ivan@kanis.fr>
8018
eadb6068
IK
8019 * net/shr.el (shr-render-region): New function.
8020
75dbaf9d
IK
8021 * net/eww.el: Autoload `eww-browse-url'.
8022
9ea5cf9f
DG
80232013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8024
c1ea3abf
JB
8025 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8026 Adapt to `package-desc-version' being a list.
8027 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8028 archive element.
8029
39c0e36f
JB
80302013-06-27 Juanma Barranquero <lekktu@gmail.com>
8031
8032 New experimental feature to save&restore window and frame setup.
8033 * desktop.el (desktop-save-windows): New defcustom.
8034 (desktop--saved-states): New var.
8035 (desktop--excluded-frame-parameters): New defconst.
8036 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8037 (desktop--restore-windows, desktop--save-windows): New functions.
8038 (desktop-save): Call `desktop--save-windows'.
8039 (desktop-read): Call `desktop--restore-windows'.
8040
7f13406b
LMI
80412013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8042
ef099a94 8043 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8044
1e072639
SB
80452013-06-27 Stephen Berman <stephen.berman@gmx.net>
8046
8047 * info.el (Info-try-follow-nearest-node): Move search for footnote
8048 above search for node name to prevent missing a footnote (bug#14717).
8049
f3e2cbde
SB
80502013-06-27 Stephen Berman <stephen.berman@gmx.net>
8051
8052 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8053
99906aa0
LL
80542013-06-27 Leo Liu <sdl.web@gmail.com>
8055
8056 * net/eww.el (eww-read-bookmarks): Check file size.
8057
539f75f4
SM
80582013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8061 advice--pending if newdef is nil or an autoload (bug#13820).
8062 (advice-mapc): New function.
8063
843571cb
LMI
80642013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
8066 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8067 probably.
23a75d7f 8068 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8069 (eww-add-bookmark): New command.
8070 (eww-bookmark-mode): New mode and commands.
a285ce99 8071 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8072 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8073
f2136e1e
GM
80742013-06-26 Glenn Morris <rgm@gnu.org>
8075
eab35f39
GM
8076 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8077 (hfy-size): Handle ttys. (Bug#14668)
8078
f2136e1e
GM
8079 * info-xref.el: Update for Texinfo 5 change in *note format.
8080 (info-xref-node-re, info-xref-note-re): New constants.
8081 (info-xref-check-buffer): Use info-xref-note-re.
8082
a49ff80c
SM
80832013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8084
a343d218
SM
8085 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8086
a49ff80c
SM
8087 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8088 nil terminate the loop (bug#14718).
8089
8308f184
LMI
80902013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8091
8092 * net/eww.el: Rework history traversal. When going forward/back,
8093 put these actions into the history, too, so that they can be
8094 replayed.
26bf2b82 8095 (eww-render): Move the history reset to the correct buffer.
8308f184 8096
ec64c273
JL
80972013-06-25 Juri Linkov <juri@jurta.org>
8098
8099 * files-x.el (modify-dir-local-variable): Change the header comment
8100 in the file with directory local variables. (Bug#14692)
8101
e080a9d7
JL
8102 * files-x.el (read-file-local-variable-value): Add `default'.
8103 (Bug#14710)
8104
bfbc93a1
IK
81052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106
8107 * net/eww.el (eww-make-unique-file-name): Create a unique file
8108 name before saving to entering `y' accidentally asynchronously.
8109
81102013-06-25 Ivan Kanis <ivan@kanis.fr>
8111
8112 * net/eww.el (eww-download): New command and keystroke.
8113
16f74f10
LMI
81142013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8115
a49ff80c 8116 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8117
8118 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8119 be more consistent with Info and dired.
8120
8121 * net/eww.el (eww-mode-map): Ditto.
8122
12059709
SM
81232013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8126 packages from archives.
8127 (package-archive-contents): Change format; include obsolete packages.
8128 (package-desc): Use `dir' to mark builtin packages.
8129 (package--from-builtin): Set the `dir' field to `builtin'.
8130 (generated-autoload-file, version-control): Declare.
8131 (package-compute-transaction): Change first arg and return value to be
8132 lists of package-descs. Adjust to new package-archive-contents format.
8133 (package--add-to-archive-contents): Adjust to new
8134 package-archive-contents format.
8135 (package-download-transaction): Arg is now a list of package-descs.
8136 (package-install): If `pkg' is a package name, pass it as
8137 a requirement, so it is subject to the usual (e.g. disabled) checks.
8138 (describe-package): Accept package-desc as well.
8139 (describe-package-1): Describe a specific package-desc. Add links to
8140 other package-descs for the same package name.
8141 (package-menu-describe-package): Pass the actual package-desc.
8142 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8143 works correctly.
8144 (package-desc-status): New function.
8145 (package-menu--refresh): New function, extracted
8146 from package-menu--generate.
8147 (package-menu--generate): Use it.
8148 (package-delete): Update package-alist.
8149 (package-menu-execute): Don't call package-initialize.
8150
8151 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8152 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8153 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8154 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8155 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8156 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8157
8bbdea0f
MR
81582013-06-25 Martin Rudalics <rudalics@gmx.at>
8159
8160 * window.el (window--state-get-1): Workaround for bug#14527.
8161 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8162
e82b0991
LMI
81632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8164
8165 * net/eww.el (eww-back-url): Implement the history by stashing all
8166 the data into a list.
d3f0f918 8167 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8168
c763842b
SM
81692013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8172 for values and use read--expression for expressions (bug#14710).
8173 (read-file-local-variable): Avoid setq.
8174 (read-file-local-variable-mode): Use minor-mode-list.
8175
bceff189
RW
81762013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8177
864c58ca 8178 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8179 for DOI URLs.
8180
45f431c6
RW
81812013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8182
864c58ca 8183 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8184 Update imenu-support when dialect changes.
8185
f42d8237
LL
81862013-06-25 Leo Liu <sdl.web@gmail.com>
8187
8188 * ido.el (ido-read-internal): Allow forward slash on windows.
8189
be549ce6
LMI
81902013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8191
8192 * net/eww.el (eww): Start of strings is \\`, not ^.
8193
71d4c19d
IK
81942013-06-24 Ivan Kanis <ivan@kanis.fr>
8195
5196f88a
IK
8196 * net/shr.el (shr-browse-url): Fix interactive spec.
8197
71d4c19d
IK
8198 * net/eww.el (eww): Add a trailing slash to domain names.
8199
ae36ca55
JB
82002013-06-24 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8203
0ebd92a3
LMI
82042013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8205
bdaa086b
LMI
8206 * net/shr.el (shr-browse-url): Use an external browser if given a
8207 prefix.
8208
c763842b 8209 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8210
b89fc156
IK
82112013-06-24 Ivan Kanis <ivan@kanis.fr>
8212
8213 * net/eww.el (eww): Work more correctly for file: URLs.
8214 (eww-detect-charset): Allow quoted charsets.
8215 (eww-yank-page-url): New command and keystroke.
8216
18eb4bca
DU
82172013-06-24 Daiki Ueno <ueno@gnu.org>
8218
8219 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8220 file name of gpg executable.
8221 (epg-context-program): New function.
8222 (epg-context-home-directory): New function.
8223 (epg-context-set-program): New function.
8224 (epg-context-set-home-directory): New function.
8225 (epg--start): Use `epg-context-program' instead of
8226 'epg-gpg-program'.
8227 (epg--list-keys-1): Likewise.
8228
6c6268c8
LL
82292013-06-24 Leo Liu <sdl.web@gmail.com>
8230
8231 * ido.el (ido-read-internal): Fix bug#14620.
8232
5e400cb3
JB
82332013-06-23 Juanma Barranquero <lekktu@gmail.com>
8234
8235 * faces.el (face-documentation): Simplify.
8236 (read-face-attribute, tty-find-type, x-resolve-font-name):
8237 Use `string-match-p'.
8238 (list-faces-display): Use `string-match-p'. Simplify.
8239 (face-spec-recalc): Check face to avoid face alias loops.
8240 (read-color): Use `string-match-p' and non-capturing parenthesis.
8241
f3f9606c
LMI
82422013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8243
8244 * net/shr.el (shr-rescale-image): Use the new
8245 :max-width/:max-height functionality.
8246
a3ca09b9
IK
82472013-06-23 Ivan Kanis <ivan@kanis.fr>
8248
8249 * net/eww.el (eww-search-prefix): New variable.
8250 (eww): Use it.
f865b474
IK
8251 (eww-external-browser): New variable.
8252 (eww-mode-map): New keystroke.
8253 (eww-browse-with-external-browser): New command.
a3ca09b9 8254
e854cfc7
IK
8255 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8256
18bb9e21
JB
82572013-06-23 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8260 Don't skip aligning the next header field when padding is 0;
8261 otherwise, field width is not respected unless the title is as
8262 wide as the field.
8263
5b165ade
SM
82642013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * emacs-lisp/package.el (package-el-version): Remove.
8267 (package-process-define-package): Fix inf-loop.
8268 (package-install): Allow symbols as arguments again.
8269
12adebe9
DG
82702013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8271
8272 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8273 add some more keyword-like methods.
8274 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8275
388573ee
JB
82762013-06-22 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * bs.el (bs-buffer-show-mark): Make defvar-local.
8279 (bs-mode): Use setq-local.
8280
8281 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8282 (emacs-lock--try-unlocking): Make defvar-local.
8283
4582a01c 82842013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8285
2663dd23
GM
8286 * play/cookie1.el (cookie-apropos): Minor simplification.
8287
3d94f3ad
GM
8288 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8289
f72e2fdb
DG
82902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8291
8292 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8293 `regexp-opt', it breaks the build during dumping.
8294
73eab938
DG
82952013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8296
c763842b
SM
8297 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8298 Highlight keyword-like methods on Kernel and Module with
73eab938 8299 font-lock-builtin-face.
5cf8176d
DG
8300 (auto-mode-alist): Consolidate different entries into one regexp
8301 and add more *file-s.
73eab938 8302
d26255f6
SB
83032013-06-21 Stephen Berman <stephen.berman@gmx.net>
8304
8305 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8306
8307 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8308 (diary-entry): Use it in the action of this button type instead of
8309 diary-goto-entry.
8310
8311 * calendar/todo-mode.el: New version.
8312 (todo-add-category): Append new category to end of file and give
8313 it the highest number, instead of putting it at the beginning and
8314 giving it 0. Incorporate noninteractive functionality.
8315 (todo-forward-category): Adapt to 1-based category numbering.
8316 Allow skipping over archived categories.
8317 (todo-backward-category): Derive from todo-forward-category.
8318 (todo-backward-item, todo-forward-item): Make noninteractive and
8319 delegate interactive part to new commands. Make sensitive to done items.
8320 (todo-categories): Make value an alist of category names and
8321 vectors of item counts.
8322 (todo-category-beg): Make a defconst.
8323 (todo-category-number): Use 1 instead of 0 as initial value.
8324 (todo-category-select): Make sensitive to overlays, optional item
8325 highlighting and done items.
8326 (todo-delete-item): Make sensitive to overlays and marked and done items.
8327 (todo-edit-item): Make sensitive to overlays and editing of
8328 date/time header optional. Add format checks.
8329 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8330 no-op if point is not on an item. Advertise using todo-edit-quit.
8331 (todo-edit-mode): Make sensitive to new format, font-locking, and
8332 multiple todo files.
8333 (todo-insert-item, todo-insert-item-here): Derive from
8334 todo-basic-insert-item and extend functionality.
8335 (todo-item-end, todo-item-start): Make sensitive to done items.
8336 (todo-item-string): Don't return text properties. Restore point.
8337 (todo-jump-to-category): Make sensitive to multiple todo files and
8338 todo archives. Use extended category completion.
8339 (todo-lower-item, todo-raise-item): Rename to *-priority and
8340 derive from todo-set-item-priority.
8341 (todo-mode): Derive from special-mode. Make sensitive to new
8342 format, font-locking and multiple todo files. Make read-only.
8343 (todo-mode-map): Don't suppress digit keys, so they can supply
8344 prefix arguments. Add many new key bindings.
8345 (todo-prefix): Insert as an overlay instead of file text.
8346 Change semantics from diary date expression to purely visual mark.
8347 (todo-print): Rename to todo-print-buffer. Make buffer display
8348 features printable. Remove option to restrict number of items
8349 printed. Add option to print to file.
8350 (todo-print-function): Rename to todo-print-buffer-function.
8351 (todo-quit): Extend to handle exiting new todo modes.
8352 (todo-remove-item): Make sensitive to overlays.
8353 (todo-save): Extend to buffers of filtered items.
8354 (todo-show): Make sensitive to done items, multiple todo files and
8355 new todo modes. Offer to convert legacy todo file before creating
8356 first new todo file.
8357 (todo-show-priorities): Rename to todo-top-priorities.
8358 Change semantics of value 0.
8359 (todo-top-priorities): Rename to todo-filter-top-priorities,
8360 derive from todo-filter-items and extend functionality.
8361 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8362 and extend functionality to other types of filtered items.
8363 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8364 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8365 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8366 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8367 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8368 (todo-edit-mode-hook, todo-entry-prefix-function)
8369 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8370 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8371 (todo-initials, todo-insert-threshold, todo-item-string-start)
8372 (todo-line-string, todo-menu, todo-mode-hook)
8373 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8374 (todo-print-priorities, todo-remove-separator)
8375 (todo-save-top-priorities-too, todo-string-count-lines)
8376 (todo-string-multiline-p, todo-time-string-format)
8377 (todo-tmp-buffer-name): Remove.
8378 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8379 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8380 (todo-edit-category-diary-inclusion)
8381 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8382 (todo-edit-file, todo-edit-item-date-day)
8383 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8384 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8385 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8386 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8387 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8388 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8389 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8390 (todo-filter-top-priorities-multifile, todo-find-archive)
8391 (todo-find-filtered-items-file, todo-go-to-source-item)
8392 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8393 (todo-jump-to-archive-category, todo-lower-category)
8394 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8395 (todo-move-category, todo-move-item, todo-next-button)
8396 (todo-next-item, todo-padded-string, todo-powerset)
8397 (todo-previous-button, todo-previous-item)
8398 (todo-print-buffer-to-file, todo-raise-category)
8399 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8400 (todo-set-category-number, todo-set-item-priority)
8401 (todo-set-top-priorities-in-category)
8402 (todo-set-top-priorities-in-file, todo-show-categories-table)
8403 (todo-sort-categories-alphabetically-or-numerically)
8404 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8405 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8406 (todo-toggle-item-header, todo-toggle-item-highlighting)
8407 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8408 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8409 (todo-unarchive-items, todo-unmark-category): New commands.
8410 (todo-absolute-file-name, todo-add-to-buffer-list)
8411 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8412 (todo-basic-insert-item, todo-category-completions)
8413 (todo-category-number, todo-category-string-matcher-1)
8414 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8415 (todo-check-format, todo-clear-matches)
8416 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8417 (todo-current-category, todo-date-string-matcher)
8418 (todo-define-insertion-command, todo-diary-expired-matcher)
8419 (todo-diary-goto-entry, todo-diary-item-p)
8420 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8421 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8422 (todo-done-item-section-p, todo-done-separator)
8423 (todo-done-string-matcher, todo-files, todo-filter-items)
8424 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8425 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8426 (todo-insert-category-line, todo-insert-item-from-calendar)
8427 (todo-insert-sort-button, todo-insert-with-overlays)
8428 (todo-insertion-command-name, todo-insertion-key-bindings)
8429 (todo-label-to-key, todo-longest-category-name-length)
8430 (todo-make-categories-list, todo-mode-external-set)
8431 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8432 (todo-modes-set-3, todo-multiple-filter-files)
8433 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8434 (todo-read-category, todo-read-date, todo-read-dayname)
8435 (todo-read-file-name, todo-read-time)
8436 (todo-reevaluate-category-completions-files-defcustom)
8437 (todo-reevaluate-default-file-defcustom)
8438 (todo-reevaluate-filelist-defcustoms)
8439 (todo-reevaluate-filter-files-defcustom)
8440 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8441 (todo-reset-done-separator, todo-reset-done-separator-string)
8442 (todo-reset-done-string, todo-reset-global-current-todo-file)
8443 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8444 (todo-reset-prefix, todo-set-categories)
8445 (todo-set-date-from-calendar, todo-set-show-current-file)
8446 (todo-set-top-priorities, todo-short-file-name)
8447 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8448 (todo-total-item-counts, todo-update-buffer-list)
8449 (todo-update-categories-display, todo-update-categories-sexp)
8450 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8451 New functions.
8452 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8453 New major modes.
8454 (todo-categories, todo-display, todo-edit, todo-faces)
8455 (todo-filtered): New defgroups.
8456 (todo-archived-only, todo-button, todo-category-string, todo-date)
8457 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8458 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8459 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8460 (todo-add-item-if-new-category, todo-always-add-time-string)
8461 (todo-categories-align, todo-categories-archived-label)
8462 (todo-categories-category-label, todo-categories-diary-label)
8463 (todo-categories-done-label, todo-categories-number-separator)
8464 (todo-categories-todo-label, todo-categories-totals-label)
8465 (todo-category-completions-files, todo-completion-ignore-case)
8466 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8467 (todo-done-separator-string, todo-done-string)
8468 (todo-files-function, todo-filter-done-items, todo-filter-files)
8469 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8470 (todo-initial-category, todo-initial-file, todo-item-mark)
8471 (todo-legacy-date-time-regexp, todo-mode-line-function)
8472 (todo-nondiary-marker, todo-number-prefix)
8473 (todo-print-buffer-function, todo-show-current-file)
8474 (todo-show-done-only, todo-show-first, todo-show-with-done)
8475 (todo-skip-archived-categories, todo-top-priorities-overrides)
8476 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8477 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8478 New defcustoms.
8479 (todo-category-done, todo-date-pattern, todo-date-string-start)
8480 (todo-diary-items-buffer, todo-done-string-start)
8481 (todo-filtered-items-buffer, todo-item-start)
8482 (todo-month-abbrev-array, todo-month-name-array)
8483 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8484 (todo-top-priorities-buffer): New defconsts.
8485 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8486 (todo-categories-with-marks, todo-category-string-face)
8487 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8488 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8489 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8490 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8491 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8492 (todo-font-lock-keywords, todo-global-current-todo-file)
8493 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8494 (todo-insertion-commands-args)
8495 (todo-insertion-commands-args-genlist)
8496 (todo-insertion-commands-names, todo-insertion-map)
8497 (todo-key-bindings-t, todo-key-bindings-t+a)
8498 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8499 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8500 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8501 (todo-visited): New variables.
8502
cad5d1cb
GM
85032013-06-21 Glenn Morris <rgm@gnu.org>
8504
8505 * play/cookie1.el (cookie-apropos): Add optional display argument.
8506 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8507 (psychoanalyze-pinhead): Use cookie-doctor.
8508
9e277302
JB
85092013-06-21 Juanma Barranquero <lekktu@gmail.com>
8510
8511 * emacs-lisp/package.el (tar-get-file-descriptor)
8512 (tar--extract): Declare.
8513
c5b0993e
EW
85142013-06-21 Eduard Wiebe <usenet@pusto.de>
8515
8516 Extend flymake's warning predicate to be a function (bug#14217).
8517 * progmodes/flymake.el (flymake-warning-predicate): New.
8518 (flymake-parse-line): Use it.
8519 (flymake-warning-re): Make obsolete alias to
8520 `flymake-warning-predicate'.
8521
a7d2d465
SM
85222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8525 (package-obsolete-list): Remove.
8526 (package-activate): Remove min-version argument. Add `force' argument.
8527 Adjust to new package-alist format.
8528 (package-mark-obsolete): Remove.
8529 (package-unpack): Force reload of the package's autoloads.
8530 (package-installed-p): Check builtins if the installed package is not
8531 recent enough.
8532 (package-initialize): Don't reset package-obsolete-list.
8533 Don't specify which package version to activate.
8534 (package-process-define-package, describe-package-1)
8535 (package-menu--generate): Adjust to new package-alist format.
8536
cedf5c9d
JB
85372013-06-21 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * allout-widgets.el (allout-widgets-mode-off)
8540 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8541 (allout-widgets-post-command-business)
8542 (allout-widgets-after-copy-or-kill-function)
8543 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8544 (allout-decorate-item-and-context)
8545 (allout-graphics-modification-handler): Fix typos in docstrings.
8546 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8547
8548 * cmuscheme.el (scheme-start-file): Doc fix.
8549 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8550 (scheme-input-filter): Use `string-match-p'.
8551
8552 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8553
8554 * dired-x.el: Use Dired consistently in docstrings.
8555
8556 * dired.el: Use Dired consistently in docstrings.
8557 (dired-readin, dired-mode): Use `setq-local'.
8558 (dired-switches-alist): Make defvar-local.
8559 (dired-buffers-for-dir): Use `zerop'.
8560 (dired-safe-switches-p, dired-switches-escape-p)
8561 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8562 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8563 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8564 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8565 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8566 (dired-toggle-marks, dired-mark-files-containing-regexp)
8567 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8568 (dired-flag-auto-save-files, dired-flag-backup-files):
8569 Use `looking-at-p'.
8570 (dired-mark-files-regexp, dired-build-subdir-alist):
8571 Use `string-match-p', `looking-at-p'.
8572
8573 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8574 (direct-print-region-helper): Use `string-match-p'.
8575
aed838b5
LL
85762013-06-21 Leo Liu <sdl.web@gmail.com>
8577
cedf5c9d
JB
8578 * comint.el (comint-redirect-results-list-from-process):
8579 Fix infinite loop.
aed838b5 8580
d80a808f
LMI
85812013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8582
8583 * net/eww.el (eww-update-header-line-format): Quote % characters.
8584
e7a526e3
GM
85852013-06-21 Glenn Morris <rgm@gnu.org>
8586
8587 * play/cookie1.el (cookie): New custom group.
8588 (cookie-file): New option.
8589 (cookie-check-file): New function.
8590 (cookie): Make it interactive. Make start and end messages optional.
8591 Interactively, display the result. Default to cookie-file.
8592 (cookie-insert): Default to cookie-file.
8593 (cookie-snarf): Make start and end messages optional.
8594 Default to cookie-file. Use with-temp-buffer.
8595 (cookie-read): Rename from read-cookie.
8596 Make start and end messages optional. Default to cookie-file.
8597 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8598 Do not autoload it.
e7a526e3
GM
8599 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8600 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8601
62efb35e
LL
86022013-06-21 Leo Liu <sdl.web@gmail.com>
8603
8604 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8605
21e3f963
GM
86062013-06-21 Glenn Morris <rgm@gnu.org>
8607
8608 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8609
fd846ab4
SM
86102013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8611 Daniel Hackney <dan@haxney.org>
8612
8613 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8614 Consolidate the single-file vs tarball code.
8615 (package-desc-suffix): New function.
8616 (package-desc-full-name): Don't bother inlining it.
8617 (package-load-descriptor): Return the new package-desc.
8618 (package-mark-obsolete): Remove unused arg `package'.
8619 (package-unpack): Make it work for single files as well.
8620 Make it update package-alist.
8621 (package--make-autoloads-and-stuff): Rename from
8622 package--make-autoloads-and-compile. Don't compile any more.
8623 (package--compile): New function.
8624 (package-generate-description-file): New function, extracted from
8625 package-unpack-single.
8626 (package-unpack-single): Remove.
8627 (package--with-work-buffer): Add indentation and debugging info.
8628 (package-download-single): Remove.
8629 (package-install-from-archive): Rename from package-download-tar, make
8630 it take a pkg-desc, and make it work for single files as well.
8631 (package-download-transaction): Simplify.
8632 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8633 external tar program.
8634 (package-install-from-buffer): Remove `pkg-desc' argument.
8635 Use package-tar-file-info for tar-mode buffers.
8636 (package-install-file): Simplify accordingly.
8637 (package-archive-base): Change to take a pkg-desc.
8638 * tar-mode.el (tar--check-descriptor): New function, extracted from
8639 tar-get-descriptor.
8640 (tar-get-descriptor): Use it.
8641 (tar-get-file-descriptor): New function.
8642 (tar--extract): New function, extracted from tar-extract.
8643 (tar--extract): Use it.
8644 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8645 case the summary uses non-ascii. Adjust to new calling convention of
8646 package-tar-file-info.
8647
b7deae5e
LL
86482013-06-21 Leo Liu <sdl.web@gmail.com>
8649
fd846ab4
SM
8650 * comint.el (comint-redirect-results-list-from-process):
8651 Fix random delay. (Bug#14681)
b7deae5e 8652
7a65a0b2
JB
86532013-06-21 Juanma Barranquero <lekktu@gmail.com>
8654
8655 * profiler.el (profiler-format-number): Use log, not log10.
8656
1493c2af
JB
86572013-06-20 Juanma Barranquero <lekktu@gmail.com>
8658
8659 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8660
aff6371e
SM
86612013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8662
8663 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8664 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8665 yet available.
8666 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8667 (AUTOGENEL): ... here.
8668 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8669 (cl--defsubst-expand): Use it.
8670
89561f72
PE
86712013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8672
8673 * subr.el (log10): Move here from C code, and declare as obsolete.
8674 All uses of (log10 X) replaced with (log X 10).
8675
47199123
JB
86762013-06-20 Juanma Barranquero <lekktu@gmail.com>
8677
8678 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8679 Declare with `defvar-local'.
8680 (tabulated-list-use-header-line, tabulated-list-entries)
8681 (tabulated-list-padding, tabulated-list-printer)
8682 (tabulated-list-sort-key): Declare with `defvar-local'.
8683 (tabulated-list-init-header, tabulated-list-print-fake-header):
8684 Use `setq-local'.
8685
4a172eab
MA
86862013-06-20 Michael Albinus <michael.albinus@gmx.de>
8687
47199123
JB
8688 * arc-mode.el (archive-mode): Add `archive-write-file' to
8689 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8690
5fc0acc0
JB
86912013-06-20 Juanma Barranquero <lekktu@gmail.com>
8692
d5b27848
JB
8693 * cus-edit.el (custom-commands): Fix typos.
8694 (custom-display): Fix tooltip text.
8695 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8696 Fix typos in docstrings.
8697 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8698 (custom-unlispify-menu-entry, custom-magic-value-create)
8699 (custom-add-see-also, custom-group-value-create): Use ?\s.
8700 (custom-guess-type, customize-apropos, editable-field)
8701 (custom-face-value-create): Use `string-match-p'.
8702 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8703
8704 * custom.el (custom-load-symbol): Use `string-match-p'.
8705
a5c581d8
JB
8706 * ansi-color.el: Convert to lexical binding.
8707 (ansi-colors): Fix URL.
8708 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8709 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8710 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8711
970ad972
G
87122013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
8714 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8715
8716 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8717
87182013-06-19 Tom Tromey <tromey@redhat.com>
8719
8720 * net/eww.el (eww-top-url): Remove.
8721 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8722 (eww-render): Set new variables. Don't set eww-top-url.
8723 (eww-handle-link): Handle "prev", "home", and "contents".
8724 Downcase the rel text.
8725 (eww-top-url): Choose best top URL.
8726
87272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728
8729 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8730 relying in widget.el. Using widget.el leads to too many
8731 user interface inconsistencies.
8732 (eww-self-insert): Implement entering commands in text fields.
8733 (eww-process-text-input): New function to make text input field editing
8734 work.
8735 (eww-submit): Rewrite to use the new-style form methods.
8736 (eww-select-display): Display the correct selected item.
8737 (eww-change-select): Implement changing the select value.
8738 (eww-toggle-checkbox): Implement radio/checkboxes.
8739 (eww-update-field): Fix compilation error.
8740 (eww-tag-textarea): Implement <textarea>.
8741
8742 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8743 we don't shadow mode-specific bindings.
8744
8745 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8746 nothing to push.
8747
8748 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8749
4582a01c 87502013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8751
8752 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8753
15b263dc
MA
87542013-06-19 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8757 not needed.
8758
8759 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8760
8f5297f7
LMI
87612013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8762
8763 * net/browse-url.el (browse-url-browser-function):
8764 `eww-browse-url' has the right calling signature, `eww' does not.
8765
011c4552
GM
87662013-06-19 Glenn Morris <rgm@gnu.org>
8767
2285bd27
GM
8768 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8769 Only eval autoloaded macros.
8770 (byte-compile-autoload): Only give the macro warning for macros.
8771
1d653303
GM
8772 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8773 (ps-underlined-faces): Declare.
8774
bdd779ec
GM
8775 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8776 (speedbar-add-supported-extension): Declare.
8777
011c4552
GM
8778 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8779 Don't include a date stamp in the header of the generated file;
8780 it leads to needless differences between output files.
8781
e59dfb0e
MA
87822013-06-19 Michael Albinus <michael.albinus@gmx.de>
8783
c763842b
SM
8784 * net/secrets.el (secrets-struct-secret-content-type):
8785 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8786 Some servers do not offer introspection.
e59dfb0e 8787
102626e2
SM
87882013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * electric.el (electric-pair-mode): Improve interaction with
8791 electric-layout-mode.
8792 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8793 (electric-pair-syntax): Use text-mode-syntax-table in comments
8794 and strings.
8795 (electric-pair--insert): New function.
8796 (electric-pair-post-self-insert-function): Use it and
8797 electric--after-char-pos.
8798
ad528125
LL
87992013-06-19 Leo Liu <sdl.web@gmail.com>
8800
8801 * progmodes/octave.el (octave-help): Fix regexp.
8802
924d6997
G
88032013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
8805 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8806 (shr-table-horizontal-line): Allow nil as a value, and change the
8807 default.
8808 (shr-insert-table-ruler): Respect the nil value.
8809
88102013-06-18 Tom Tromey <tromey@barimba>
8811
8812 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8813 New defvars.
8814 (eww-open-file): New defun.
8815 (eww-render): Initialize new variables.
8816 (eww-display-html): Handle "link" and "a".
8817 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8818 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8819 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8820 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8821 New defuns.
924d6997 8822
d1bbba4f
DG
88232013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8824
8825 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8826 Distinguish ternary operator tokens from slash symbol and slash
8827 char literal.
8828
14dd22d2
JB
88292013-06-18 Juanma Barranquero <lekktu@gmail.com>
8830
8831 Convert symbol prettification into minor mode and global minor mode.
8832
8833 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8834 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8835 (prettify-symbols--keywords): Rename from
8836 `prog-prettify-symbols-alist' and make a local defvar.
8837 (prettify-symbols--compose-symbol): Rename from
8838 `prog--prettify-font-lock-compose-symbol'.
8839 (prettify-symbols--make-keywords): Rename from
8840 `prog-prettify-font-lock-symbols-keywords' and simplify.
8841 (prog-prettify-install): Remove.
8842 (prettify-symbols-mode): New minor mode, based on
8843 `prog-prettify-install'.
8844 (turn-on-prettify-symbols-mode): New function.
8845 (global-prettify-symbols-mode): New globalized minor mode.
8846
8847 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8848 * progmodes/cfengine.el (cfengine3-mode):
8849 * progmodes/perl-mode.el (perl-mode): Don't call
8850 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8851
292c880c
JL
88522013-06-18 Juri Linkov <juri@jurta.org>
8853
8854 * files-x.el (modify-file-local-variable-message): New function.
8855 (modify-file-local-variable)
8856 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8857 and call `modify-file-local-variable-message' when it's non-nil.
8858 (add-file-local-variable, delete-file-local-variable)
8859 (add-file-local-variable-prop-line)
8860 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8861 and use it. (Bug#9820)
8862
0950aa27
JL
88632013-06-18 Juri Linkov <juri@jurta.org>
8864
8865 * emulation/vi.el (vi-shell-op):
8866 * emulation/vip.el (vip-execute-com, ex-command):
8867 * emulation/viper-cmd.el (viper-exec-bang):
8868 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8869 the call of `shell-command-on-region'. (Bug#14637)
8870
8871 * simple.el (shell-command-on-region): Doc fix.
8872
8fbcca16
SM
88732013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8876 (bug#14633).
8877
dd7426ea
GM
88782013-06-18 Glenn Morris <rgm@gnu.org>
8879
4ba54f7d
GM
8880 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8881
dd7426ea
GM
8882 * newcomment.el (comment-search-forward, comment-search-backward):
8883 Doc fix. (Bug#14376)
8884
58aa805b
JB
88852013-06-18 Juanma Barranquero <lekktu@gmail.com>
8886
8887 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8888 (buffer-face-mode-invoke): Doc fix.
8889
9a08a617
MM
88902013-06-18 Matthias Meulien <orontee@gmail.com>
8891
8892 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8893 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8894
f2f426ca
GM
88952013-06-18 Glenn Morris <rgm@gnu.org>
8896
9445f99b
GM
8897 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8898 Replace obsolete function generic-make-keywords with its expansion.
8899
e0df2d14
GM
8900 * progmodes/python.el (ffap-alist): Declare.
8901
f2f426ca
GM
8902 * textmodes/reftex.el (bibtex-mode-map): Declare.
8903
f7f9a720
SM
89042013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8907 (package-unpack, package-unpack-single): Return the pkg-dir.
8908 (package-download-transaction): Use it to update package-alist.
8909
57ff04e0
LMI
89102013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8911
8912 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8913 possible choice.
8914
c048c022
JL
89152013-06-17 Juri Linkov <juri@jurta.org>
8916
8917 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8918
b5bcaee5
DG
89192013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8920
a020afb9
JB
8921 * emacs-lisp/package.el (package-load-descriptor):
8922 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8923 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8924
551e07e5
JB
89252013-06-17 Juanma Barranquero <lekktu@gmail.com>
8926
8927 * startup.el (command-line): Expand package name returned by
8928 `package--description-file' (bug#14639).
8929
d363bffb
DG
89302013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8931
8932 * emacs-lisp/package.el (package-load-descriptor): Do not call
8933 `emacs-lisp-mode', just use its syntax table.
8934
f612933b
JB
89352013-06-17 Juanma Barranquero <lekktu@gmail.com>
8936
8937 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8938 `font-lock-extra-managed-props' if any prettifying keyword is added.
8939 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8940 (prog-mode): Use `setq-local'.
8941
db3b7db5
SM
89422013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * international/characters.el (standard-case-table): Set syntax of ?»
8945 and ?« to punctuation.
8946
f3d674df
JB
89472013-06-16 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8950 Save relevant match data before calling `syntax-ppss' (bug#14595).
8951
31489a32
JL
89522013-06-15 Juri Linkov <juri@jurta.org>
8953
8954 * files-x.el (modify-file-local-variable-prop-line): Add local
8955 variables to the end of the existing comment on the first line.
8956 Use `file-auto-mode-skip' to skip interpreter magic line,
8957 and also skip XML declaration.
8958
66bd25ab
SM
89592013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * startup.el (package--builtin-versions): New var.
8962 (package-subdirectory-regexp): Remove.
8963 (package--description-file): Hard code its value instead.
8964
8965 * emacs-lisp/package.el: Don't activate packages older than builtin.
8966 (package-obsolete-list): Rename from package-obsolete-alist, and make
8967 it into a simple list of package-desc.
8968 (package-strip-version): Remove.
8969 (package-built-in-p): Use package--builtin-versions.
8970 (package-mark-obsolete): Simplify.
8971 (package-process-define-package): Mark it obsolete if older than the
8972 builtin version.
8973 (package-handle-response): Use line-end-position.
8974 (package-read-archive-contents, package--download-one-archive):
8975 Simplify.
8976 (package--add-to-archive-contents): Skip if older than the builtin or
8977 installed version.
8978 (package-menu-describe-package): Fix last change.
8979 (package-list-unversioned): New var.
8980 (package-menu--generate): Use it.
8981
8982 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8983 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8984 (autoload-builtin-package-versions): New variable.
8985 (autoload-generate-file-autoloads): Use them.
8986 Remove the list of autoloaded functions/macros from the
8987 (autoload...) comments.
8988
8989 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8990
9583ec36
EZ
89912013-06-15 Eli Zaretskii <eliz@gnu.org>
8992
8993 * simple.el (line-move-partial): Don't jump to the next screen
8994 line as soon as it becomes visible. Instead, continue enlarging
8995 the vscroll until the portion of a tall screen line that's left on
8996 display is about the height of the frame's default font.
8997 (Bug#14567)
8998
f0100d8a
GM
89992013-06-15 Glenn Morris <rgm@gnu.org>
9000
b86a85ca
GM
9001 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9002 compilation-error-regexp-alist void, or local while let-bound.
9003
f0100d8a
GM
9004 * progmodes/make-mode.el (makefile-mode-syntax-table):
9005 Treat "=" as punctuation. (Bug#14614)
9006
05e7ce90
JB
90072013-06-15 Juanma Barranquero <lekktu@gmail.com>
9008
9009 * help-fns.el (describe-variable):
9010 Add extra line for permanent-local variables.
9011
12e5e86e
SH
90122013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9013
9014 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9015 Add export, import, library. (Bug#9164)
9016 (library): Set indent function.
9017
230dcbaf
GM
90182013-06-14 Glenn Morris <rgm@gnu.org>
9019
9020 * term/xterm.el (xterm--query):
9021 Stop after first matching handler. (Bug#14615)
9022
e36b2d20 90232013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9024
9025 Add support for dired in saveplace.
9026 * dired.el (dired-initial-position-hook): New variable.
9027 (dired-initial-position): Call hook to place cursor position.
9028 * saveplace.el (save-place-to-alist): Add dired position.
9029 (save-place-dired-hook): New function.
9030
0b31660d
SM
90312013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9032
bf1e6ae8
SM
9033 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9034 through a symbol rather than letrec.
9035
1b8dff23
SM
9036 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9037 (package-desc): Add `dir' field.
9038 (package-desc-full-name): New function.
9039 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9040 (package-maybe-load-descriptor): Remove.
9041 (package-load-all-descriptors): Just call package-load-descriptor.
9042 (package--disabled-p): New function.
9043 (package-desc-vers, package-desc-doc): Remove aliases.
9044 (package--dir): Remove function.
9045 (package-activate): Check if a package is disabled.
9046 (package-process-define-package): New function, extracted from
9047 define-package.
9048 (define-package): Turn into a place holder.
9049 (package-unpack-single, package-tar-file-info):
9050 Use package--description-file.
9051 (package-compute-transaction): Use package--disabled-p.
9052 (package-download-transaction): Don't call
9053 package-maybe-load-descriptor since they're all loaded anyway.
9054 (package-install): Change argument to be a pkg-desc.
9055 (package-delete): Use a single pkg-desc argument.
9056 (describe-package-1): Use package-desc-dir instead of package--dir.
9057 Use package-desc property instead of package-symbol.
9058 (package-install-button-action): Adjust accordingly.
9059 (package--push): Rewrite.
9060 (package-menu--print-info): Adjust accordingly. Change the ID format
9061 to be a pkg-desc.
9062 (package-menu-describe-package, package-menu-get-status)
9063 (package-menu--find-upgrades, package-menu-mark-upgrades)
9064 (package-menu-execute, package-menu--name-predicate):
9065 Adjust accordingly.
9066 * startup.el (package--description-file): New function.
9067 (command-line): Use it.
9068 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9069 Use package-desc-version.
9070
0b31660d
SM
9071 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9072 (byte-compile-preprocess): Use it.
9073 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9074 can't quite recognize.
9075 (byte-compile-add-to-list): Remove.
9076 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9077 (cconv-closure-convert): Add assertion.
9078
9079 * emacs-lisp/map-ynp.el: Use lexical-binding.
9080 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9081 Factor out some repeated code.
9082
de0503df
SM
90832013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * subr.el (with-eval-after-load): New macro.
9086 (eval-after-load): Allow form to be a function.
9087 take advantage of lexical-binding.
9088 (do-after-load-evaluation): Use dolist and adjust to new format.
9089 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9090
bc5c8c5a
JL
90912013-06-13 Juri Linkov <juri@jurta.org>
9092
9093 * replace.el (perform-replace): Display "symbol " and other search
9094 modes from `isearch-message-prefix' in the *Help* buffer.
9095
9096 * isearch.el (isearch-query-replace): Add " symbol" and other
9097 possible search modes from `isearch-message-prefix' to the prompt.
9098 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9099 when reading a regexp to collect.
9100
a22289f7
JL
91012013-06-13 Juri Linkov <juri@jurta.org>
9102
9103 * isearch.el (word-search-regexp): Match whitespace if the search
9104 string begins or ends in whitespace. The LAX arg is applied to
9105 both ends of the search string. Use `regexp-quote' and explicit
9106 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9107 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9108 boundaries are replaced with symbol boundaries, and characters
9109 between symbols match non-word non-symbol syntax. (Bug#14602)
9110
cb89acab
JL
91112013-06-13 Juri Linkov <juri@jurta.org>
9112
9113 * isearch.el (isearch-del-char): Don't exceed the length of
9114 `isearch-string' by the prefix arg. (Bug#14563)
9115
6e8cfc81
JL
91162013-06-13 Juri Linkov <juri@jurta.org>
9117
9118 * isearch.el (isearch-yank-word, isearch-yank-line)
9119 (isearch-char-by-name, isearch-quote-char)
9120 (isearch-printing-char, isearch-process-search-char):
9121 Add optional count prefix arg. (Bug#14563)
9122
9123 * international/isearch-x.el
9124 (isearch-process-search-multibyte-characters):
9125 Add optional count prefix arg.
9126
c23d55f4
VS
91272013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9130 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9131 lexical-binding.
9132
91332013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9134
9135 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9136
ba947bc4
GM
91372013-06-13 Glenn Morris <rgm@gnu.org>
9138
8baeb37a
GM
9139 * startup.el (tty-handle-args):
9140 Don't just discard "--" and anything after. (Bug#14608)
9141
ba947bc4
GM
9142 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9143
9abefce4
MA
91442013-06-13 Michael Albinus <michael.albinus@gmx.de>
9145
9146 Implement changes in Secret Service API. Make it backward compatible.
9147 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9148 (secrets-create-item): Use it. Prefix properties with interface.
9149
5755011f
MH
91502013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9151
9152 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9153 (term-emulate-terminal): Respect term-suppress-hard-newline.
9154
1261d2da
S
91552013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9156
9157 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9158 Only remove a `thumb-file' overlay. (Bug#14548)
9159
868490bb
GJ
91602013-06-12 Grégoire Jadi <daimrod@gmail.com>
9161
9162 * mail/reporter.el (reporter-submit-bug-report):
9163 Handle missing package-name. (Bug#14600)
9164
79d7167f
TH
91652013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9166
9167 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9168 (reftex-citation-prompt, reftex-default-bibliography)
9169 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9170 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9171 (reftex-bib-sort-author, reftex-bib-sort-year)
9172 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9173 (reftex-extract-bib-entries-from-thebibliography)
9174 (reftex-get-bibkey-default, reftex-get-bib-names)
9175 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9176 (reftex-format-bib-entry, reftex-parse-bibitem)
9177 (reftex-format-bibitem, reftex-do-citation)
9178 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9179 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9180 (reftex-insert-bib-matches, reftex-format-citation)
9181 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9182 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9183 existing comments into docstrings.
9184
5f9dbd7a
XF
91852013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9186
9187 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9188
94df41ab
AS
91892013-06-12 Andreas Schwab <schwab@suse.de>
9190
9191 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9192 for auto-save files.
9193
a7f3fecc
GM
91942013-06-12 Glenn Morris <rgm@gnu.org>
9195
001809f6
GM
9196 * ido.el (ido-delete-ignored-files): Remove.
9197 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9198 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9199
834b5ded
EL
92002013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9201
08c73ed2
EL
9202 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9203
834b5ded
EL
9204 * ido.el (ido-delete-ignored-files): New function,
9205 split from ido-make-file-list-1.
9206 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9207 (ido-make-file-list-1): Use ido-delete-ignored-files.
9208
daabf15a
LL
92092013-06-12 Leo Liu <sdl.web@gmail.com>
9210
9211 * progmodes/octave.el (inferior-octave-startup)
9212 (inferior-octave-completion-table)
9213 (inferior-octave-track-window-width-change)
9214 (octave-eldoc-function-signatures, octave-help)
9215 (octave-find-definition): Use single quoted strings.
9216 (inferior-octave-startup-args): Change default value.
9217 (inferior-octave-startup): Do not hard code "-i" and
9218 "--no-line-editing".
9219 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9220 (inferior-octave-directory-tracker): Use it.
9221 (octave-goto-function-definition): Robustify.
9222 (octave-help): Support highlighting operators in 'See also'.
9223 (octave-find-definition): Find subfunctions only in Octave mode.
9224
cf4e5178
SM
92252013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * help-fns.el (help-fns--compiler-macro): If the handler function is
9228 named, then put a link to it.
9229 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9230 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9231 (cl-typep): Use it.
9232 (cl-eval-when): Simplify debug spec.
9233 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9234 compiler-macro function instead of setting `compiler-macro-file'.
9235
99c81280 92362013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9237
9238 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9239 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9240
f56be016
SM
92412013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9242 Daniel Hackney <dan@haxney.org>
9243
9244 First part of Daniel Hackney's patch to package.el.
9245 * emacs-lisp/package.el: Use defstruct.
9246 (package-desc): New, main struct.
9247 (package--bi-desc, package--ac-desc): New structs, used to describe the
9248 format in external files.
9249 (package-desc-vers): Replace with package-desc-version accessor.
9250 (package-desc-doc): Replace with package-desc-summary accessor.
9251 (package-activate-1): Remove `package' arg since the pkg-vec now
9252 includes the name.
9253 (define-package): Use package-desc-from-define.
9254 (package-unpack-single): Change file-name arg to be a symbol.
9255 (package--add-to-archive-contents): Use package-desc-create and new
9256 accessor functions to package--ac-desc.
9257 (package-buffer-info, package-tar-file-info): Return a package-desc.
9258 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9259 arg to be a package-desc.
9260 (package-install-file): Adjust accordingly. Use \' to match EOS.
9261 (package--from-builtin): New function.
9262 (describe-package-1, package-menu--generate): Use it.
9263 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9264 (package-generate-autoloads): Idem and return the name of the file.
9265 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9266 Change pkg-info arg to be a package-desc.
9267 Use package-make-ac-desc.
9268 (package-upload-file): Use \' to match EOS.
9269 * finder.el (finder-compile-keywords): Use package-make-builtin.
9270
31119d63
SM
92712013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9272
931a2762
SM
9273 * vc/vc.el (vc-deduce-fileset): Change error message.
9274 (vc-read-backend): New function.
9275 (vc-next-action): Use it.
9276
5a3eb0c6
SM
9277 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9278
e3eb1bb7
SM
9279 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9280 (prolog-font-lock-keywords): Use regexp-opt instead.
9281 Don't manually highlight strings.
9282 (prolog-mode-variables): Simplify comment-start-skip.
9283 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9284
31119d63
SM
9285 * emacs-lisp/generic.el (generic--normalise-comments)
9286 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9287 (generic-mode-set-comments): Use them.
9288 (generic-bracket-support): Use setq-local.
9289 (generic-make-keywords-list): Declare obsolete.
9290
7de135d0
GM
92912013-06-11 Glenn Morris <rgm@gnu.org>
9292
9293 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9294 Prettify after setting font-lock-defaults. (Bug#14574)
9295
fa6bc6fd
JB
92962013-06-11 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * replace.el (query-replace, occur-read-regexp-defaults-function)
9299 (replace-search):
9300 * subr.el (declare-function, number-sequence, local-set-key)
9301 (substitute-key-definition, locate-user-emacs-file)
9302 (with-silent-modifications, split-string, eval-after-load):
9303 Fix typos, remove unneeded backslashes and reflow some docstrings.
9304
cf1f9b9a
SM
93052013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9308 default for Elisp files.
9309
56602a4b
GM
93102013-06-11 Glenn Morris <rgm@gnu.org>
9311
9312 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9313 although define-derived-mode was doing this anyway. (Bug#14583)
9314
30ae0b2c
JB
93152013-06-10 Juanma Barranquero <lekktu@gmail.com>
9316
9317 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9318 Fix make-variable-buffer-local call to refer to the correct variable.
9319
fa472906
AG
93202013-06-10 Aidan Gauland <aidalgol@amuri.net>
9321
9322 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9323 (eshell-visual-subcommands, eshell-visual-options):
9324 Add summary line to docstrings. Add cross-references.
fa472906 9325
ff4871b9
GM
93262013-06-10 Glenn Morris <rgm@gnu.org>
9327
9328 * epa.el (epa-read-file-name): New function. (Bug#14510)
9329 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9330
04fcf1b0
AG
93312013-06-09 Aidan Gauland <aidalgol@amuri.net>
9332
9333 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9334 output redirection to be ignored with visual commands.
9335
88b00caa
AG
93362013-06-09 Aidan Gauland <aidalgol@amuri.net>
9337
9338 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9339 (eshell-term-initialize): Move long lambda to separate function
9340 eshell-visual-command-p.
e7b41c4c
JB
9341 * eshell/em-dirs.el (eshell-dirs-initialise):
9342 * eshell/em-script.el (eshell-script-initialize):
9343 Add missing #' to lambda.
88b00caa 9344
fda74125
LL
93452013-06-08 Leo Liu <sdl.web@gmail.com>
9346
9347 * progmodes/octave.el (octave-add-log-current-defun): New function.
9348 (octave-mode): Set add-log-current-defun-function.
9349 (octave-goto-function-definition): Do not move point if not found.
9350 (octave-find-definition): Enhance to try subfunctions first.
9351
467f3b33
GM
93522013-06-08 Glenn Morris <rgm@gnu.org>
9353
9354 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9355 (byte-compile-backward-char, byte-compile-backward-word):
9356 Improve previous change, to handle non-explicit nil.
9357
544badc3
SM
93582013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9361 (smie--opener/closer-at-point): New function.
9362 (smie--matching-block-data): Use it. Don't match from right after an
9363 opener or right before a closer. Obey smie-blink-matching-inners.
9364 Don't signal a mismatch for repeated inners like "switch..case..case".
9365
a175bf33
LL
93662013-06-07 Leo Liu <sdl.web@gmail.com>
9367
9368 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9369 to t. (Bug#14303)
ce8209d4
LL
9370 (octave-function-header-regexp): Fix. (Bug#14570)
9371 (octave-help-mode-finish-hook, octave-help-mode-finish):
9372 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9373
9374 * newcomment.el (comment-search-backward): Revert last change.
9375 (Bug#14434)
9376
9377 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9378
a822acff
EZ
93792013-06-07 Eli Zaretskii <eliz@gnu.org>
9380
9381 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9382 through xargs, to avoid failure due to MS-Windows limitations on
9383 command-line length.
9384
961166f5
GM
93852013-06-06 Glenn Morris <rgm@gnu.org>
9386
d0341459
GM
9387 * font-lock.el (lisp-font-lock-keywords-2):
9388 Treat user-error like error.
9389
961166f5
GM
9390 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9391 (byte-compile-backward-char, byte-compile-backward-word):
9392 Handle explicit nil arguments. (Bug#14565)
9393
80fa505f
AM
93942013-06-05 Alan Mackenzie <acm@muc.de>
9395
9396 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9397 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9398 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9399 (Bug#9706)
80fa505f 9400
fccdc796
SM
94012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * autorevert.el (auto-revert-notify-handler): Use memq.
9404 Hide assertion failure.
9405
9406 * skeleton.el: Use cl-lib.
9407 (skeleton-further-elements): Use defvar-local.
9408 (skeleton-insert): Use cl-progv.
9409
9bfff84b
TZ
94102013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9411
9412 * progmodes/prog-mode.el (prog-prettify-symbols)
9413 (prog-prettify-install): Update docstrings.
9414
55577e7c
SM
94152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * simple.el: Move all the prog-mode code to prog-mode.el.
9418 * progmodes/prog-mode.el: New file.
9419 * loadup.el: Add prog-mode.el.
9420
8fc57765
TZ
94212013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9422
9423 * simple.el (prog-prettify-symbols): Add version.
9424 (prog-prettify-install): Add convenience function to prettify symbols.
9425
9426 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9427 (perl--augmented-font-lock-keywords-1)
9428 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9429 variables and use it.
9430
9431 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9432 (cfengine3-mode): Remove unneeded variable and use it.
9433
9434 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9435 (lisp--augmented-font-lock-keywords-1)
9436 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9437 Remove unneeded variables and use it.
9438
650645d5 94392013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9440
9441 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9442 to point when opening the connection. (Bug#14380)
28f5da6d 9443
781b4af6
SM
94442013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * subr.el (load-history-regexp, load-history-filename-element)
9447 (eval-after-load, after-load-functions, do-after-load-evaluation)
9448 (eval-next-after-load, display-delayed-warnings)
9449 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9450 definition of save-match-data.
9451 (overriding-local-map): Remove accidental obsolescence declaration.
9452
9453 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9454
3ca0d0b4
TZ
94552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9456
9457 Generalize symbol prettify support to prog-mode and implement it
9458 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9459 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9460 (prog--prettify-font-lock-compose-symbol)
9461 (prog-prettify-font-lock-symbols-keywords): New variables and
9462 functions to support symbol prettification.
9463 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9464 (lisp--augmented-font-lock-keywords-1)
9465 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9466 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9467 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9468 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9469 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9470 * progmodes/perl-mode.el (perl-prettify-symbols)
9471 (perl--font-lock-compose-symbol)
9472 (perl--font-lock-symbols-keywords): Move to prog-mode.
9473 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9474 (perl-font-lock-keywords-1)
9475 (perl-font-lock-keywords-2): Remove explicit prettify support.
9476 (perl--augmented-font-lock-keywords)
9477 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9478 (perl--augmented-font-lock-keywords-2, perl-mode):
9479 Implement prettify support.
3ca0d0b4 9480
976cb066
LL
94812013-06-05 Leo Liu <sdl.web@gmail.com>
9482
9483 Re-implement smie matching block highlight using
9484 show-paren-data-function. (Bug#14395)
9485 * emacs-lisp/smie.el (smie-matching-block-highlight)
9486 (smie--highlight-matching-block-overlay)
9487 (smie--highlight-matching-block-lastpos)
9488 (smie-highlight-matching-block)
9489 (smie-highlight-matching-block-mode): Remove.
9490 (smie--matching-block-data-cache): New variable.
9491 (smie--matching-block-data): New function.
9492 (smie-setup): Use smie--matching-block-data for
9493 show-paren-data-function.
9494
9495 * progmodes/octave.el (octave-mode-menu): Fix.
9496 (octave-find-definition): Skip garbage lines.
9497
208d0342
SM
94982013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 Fix compilation error with simultaneous dynamic+lexical scoping.
9501 Add warning when a defvar appears after the first let-binding.
9502 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9503 (byte-compile-close-variables): Initialize it.
9504 (byte-compile--declare-var): New function.
9505 (byte-compile-file-form-defvar)
9506 (byte-compile-file-form-define-abbrev-table)
9507 (byte-compile-file-form-custom-declare-variable): Use it.
9508 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9509 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9510 (byte-compile-bind): Handle dynamic bindings that shadow
9511 lexical bindings.
9512 (byte-compile-unbind): Make arg non-optional.
9513 (byte-compile-let): Simplify.
9514 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9515 (cconv--analyse-function, cconv-analyse-form): Populate it.
9516 Protect byte-compile-bound-variables to limit the scope of defvars.
9517 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9518 Remove unneeded rule for `declare'.
9519
9520 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9521 so as to avoid depending on cl-adjoin at run-time.
9522 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9523
9524 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9525 (macroexp--warn-and-return): Use it.
9526
1ac2891e
GM
95272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9528
a12bf61e 9529 * subr.el: Convert to lexical binding.
1ac2891e
GM
9530 (overriding-local-map): Make obsolete.
9531 (add-to-list): Doc fix. Add compiler macro.
9532 (read-key): Swap values of local maps.
9533
2587b005
LL
95342013-06-05 Leo Liu <sdl.web@gmail.com>
9535
9536 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9537
f1da3c88
LL
95382013-06-04 Leo Liu <sdl.web@gmail.com>
9539
9540 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9541 (compilation-auto-jump): Suppress the "Mark set" message to give
9542 way to exit message.
9543
3caa391f
AM
95442013-06-04 Alan Mackenzie <acm@muc.de>
9545
9546 Remove faulty optimisation from indentation calculation.
9547 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9548 search limit based on 2000 characters back from indent-point.
9549
068922a2
TH
95502013-06-03 Tassilo Horn <tsdh@gnu.org>
9551
9552 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9553
1f8fdd53
SM
95542013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9555
bbcc4d97
SM
9556 * emacs-lisp/lisp.el: Use lexical-binding.
9557 (lisp--local-variables-1, lisp--local-variables): New functions.
9558 (lisp--local-variables-completion-table): New var.
208d0342 9559 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9560
1f8fdd53
SM
9561 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9562 eagerly (bug#14422).
9563
c9628c79
MA
95642013-06-03 Michael Albinus <michael.albinus@gmx.de>
9565
9566 * autorevert.el (auto-revert-notify-enabled)
9567 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9568 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9569 (auto-revert-notify-handler): Handle also gfilenotify.
9570
e7b41c4c 9571 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9572 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9573 Remove.
c9628c79 9574
e5e4a942
JL
95752013-06-03 Juri Linkov <juri@jurta.org>
9576
9577 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9578 `M-s h .'. (Bug#14427)
9579
9580 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9581 command `hi-lock-face-symbol-at-point'.
9582 (hi-lock-face-symbol-at-point): New command.
9583 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9584 (hi-lock-menu): Add `highlight-symbol-at-point'.
9585 (hi-lock-mode): Doc fix.
9586
9587 * isearch.el (isearch-forward-symbol-at-point): New command.
9588 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9589 (isearch-highlight-regexp): Add a regexp which matches
9590 words/symbols for word/symbol mode.
9591
9592 * subr.el (find-tag-default-bounds): New function with the body
9593 mostly moved from `find-tag-default'.
9594 (find-tag-default): Move most code to `find-tag-default-bounds',
9595 call it and apply `buffer-substring-no-properties' afterwards.
9596
26b3353a
TH
95972013-06-03 Tassilo Horn <tsdh@gnu.org>
9598
781b4af6
SM
9599 * eshell/em-term.el (eshell-term-initialize):
9600 Use `cl-intersection' rather than `intersection'.
26b3353a 9601
51b60f53
XF
96022013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9603
fe054b63 9604 * vc/log-view.el: Doc fix.
d3ffe17c 9605 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9606
a0eb10b3 96072013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9608
9609 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9610 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9611 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9612 (eieio-unbound, eieio-default-superclass)
9613 (eieio--define-field-accessors, method-static, method-before)
9614 (method-primary, method-after, method-num-lists)
9615 (method-generic-before, method-generic-primary)
9616 (method-generic-after, method-num-slots)
9617 (eieio-specialized-key-to-generic-key)
9618 (eieio--check-type, class-v, class-p)
9619 (eieio-class-name, define-obsolete-function-alias)
9620 (eieio-class-parents-fast, eieio-class-children-fast)
9621 (same-class-fast-p, class-constructor, generic-p)
9622 (generic-primary-only-p, generic-primary-only-one-p)
9623 (class-option-assoc, class-option, eieio-object-p)
9624 (class-abstract-p, class-method-invocation-order)
9625 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9626 (eieio-class-un-autoload, eieio-defclass)
9627 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9628 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9629 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9630 (eieio-defgeneric-reset-generic-form)
9631 (eieio-defgeneric-form-primary-only)
9632 (eieio-defgeneric-reset-generic-form-primary-only)
9633 (eieio-defgeneric-form-primary-only-one)
9634 (eieio-defgeneric-reset-generic-form-primary-only-one)
9635 (eieio-unbind-method-implementations)
9636 (eieio--defmethod, eieio--typep)
9637 (eieio-perform-slot-validation, eieio-validate-slot-value)
9638 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9639 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9640 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9641 (eieio-slot-name-index, eieio-class-slot-name-index)
9642 (eieio-set-defaults, eieio-initarg-to-attribute)
9643 (eieio-attribute-to-initarg, eieio-c3-candidate)
9644 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9645 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9646 (eieio-class-precedence-list, eieio-generic-call-methodname)
9647 (eieio-generic-call-arglst, eieio-generic-call-key)
9648 (eieio-generic-call-next-method-list)
9649 (eieio-pre-method-execution-functions, eieio-generic-call)
9650 (eieio-generic-call-primary-only, eieiomt-method-list)
9651 (eieiomt-optimizing-obarray, eieiomt-install)
9652 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9653 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9654 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9655 (defclass): Remove `eval-and-compile' from macro.
9656 (call-next-method, shared-initialize): Instead of using
9657 `scoped-class' variable, use new eieio--scoped-class, and
9658 eieio--with-scoped-class.
9659 (initialize-instance): Rename local variable 'scoped-class' to
9660 'this-class' to remove ambiguitity from old global.
9661
9662 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9663 eieio.el.
4f405069
JB
9664 (eieio--scoped-class-stack): New variable.
9665 (eieio--scoped-class): New fcn.
890f7890
DE
9666 (eieio--with-scoped-class): New scoping macro.
9667 (eieio-defclass): Use pushnew instead of add-to-list.
9668 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9669 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9670 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9671 `scoped-class' variable, use new eieio--scoped-class, and
9672 eieio--with-scoped-class.
9673
9674 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9675
d105b0e2
TH
96762013-06-02 Tassilo Horn <tsdh@gnu.org>
9677
9678 * eshell/esh-ext.el (eshell-external-command): Pass args to
9679 `eshell-find-interpreter'.
9680 (eshell-find-interpreter): Add new second parameter ARGS.
9681
9682 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9683 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9684
9685 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9686 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9687
9688 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9689 (eshell-visual-options): New defcustom.
9690 (eshell-escape-control-x): Adapt docstring.
9691 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9692 `eshell-visual-options' in addition to `eshell-visual-commands'.
9693 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9694
f46305c8 96952013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9696
9697 * progmodes/python.el (python-indent-block-enders): Add break,
9698 continue and raise keywords.
9699
d870df21
GM
97002013-06-01 Glenn Morris <rgm@gnu.org>
9701
9133b82e
GM
9702 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9703
02c992ec 9704 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9705 * progmodes/cc-cmds.el (delete-forward-p):
9706 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9707 * progmodes/cc-engine.el (buffer-syntactic-context):
9708 * progmodes/cc-fonts.el (face-property-instance):
9709 * progmodes/cc-mode.el (set-keymap-parents):
9710 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9711 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9712 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9713 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9714 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9715
31e7b090
GM
9716 * progmodes/cc-vars.el (other): Emacs has this widget since
9717 at least 21.1, so don't (re)define it.
9718
d870df21
GM
9719 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9720 Replace the obsolete alias pcomplete-arg-quote-list.
9721
c75c93c7
LL
97222013-06-01 Leo Liu <sdl.web@gmail.com>
9723
9724 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9725 punctuation syntax.
9726 (inferior-octave-minimal-columns)
9727 (inferior-octave-last-column-width): New variables.
9728 (inferior-octave-track-window-width-change): New function.
9729 (inferior-octave-mode): Adjust column width so that Octave output,
9730 for example from 'ls', can fit into the window nicely.
9731
973d1e12
DG
97322013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9733
9734 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9735 Highlight expansions inside regexp literals.
9736
0888c286
GM
97372013-05-31 Glenn Morris <rgm@gnu.org>
9738
e26aac1f
GM
9739 * obsolete/sym-comp.el (symbol-complete):
9740 Replace obsolete completion-annotate-function.
9741
0888c286
GM
9742 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9743
19bb8e62
DG
97442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9745
781b4af6
SM
9746 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9747 New function, checks if point is inside a literal that allows
19bb8e62
DG
9748 expression expansion.
9749 (ruby-syntax-propertize-expansion): Use it.
9750 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9751 around the body.
9752
01dea85f
JL
97532013-05-30 Juri Linkov <juri@jurta.org>
9754
9755 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9756 to "\M-si".
9757 (isearch-invisible): New variable.
9758 (isearch-forward): Doc fix.
9759 (isearch-mode): Set `isearch-invisible'
9760 to the value of `search-invisible'.
9761 (isearch-toggle-case-fold): Doc fix.
9762 (isearch-toggle-invisible): New command.
9763 (isearch-query-replace): Let-bind `search-invisible'
9764 to the value of `isearch-invisible'.
9765 (isearch-search): Use `isearch-invisible' instead of
9766 `search-invisible'. Let-bind `search-invisible'
9767 to the value of `isearch-invisible'. (Bug#11378)
9768
ab1bdce5
JL
97692013-05-30 Juri Linkov <juri@jurta.org>
9770
9771 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9772 call when `query-flag' is nil and `search-invisible' is non-nil.
9773 (Bug#11746)
9774
d6d236e2
GM
97752013-05-30 Glenn Morris <rgm@gnu.org>
9776
8accd027
GM
9777 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9778
2a8bed1c
GM
9779 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9780 (cc-require): Suppress spurious "noruntime" warnings.
9781 (cc-require-when-compile): Use fboundp, for sake of compiler.
9782
d6d236e2
GM
9783 * progmodes/cc-mode.el: Move load of cc-vars before that of
9784 cc-langs (which in turn loads cc-vars), to quieten compiler.
9785
9190b35b
SM
97862013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * paren.el: Simplify the code.
9789 (show-paren-mode): Always start the timer.
9790 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9791 (show-paren--overlay, show-paren--overlay-1): Rename from
9792 show-paren-overlay and show-paren-overlay-1, and initialize to an
9793 overlay rather than to nil.
9794 (show-paren-function): Misc cleanup and simplifications.
9795
4f8d1cf6
SM
97962013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * paren.el (show-paren-data-function): New hook.
9799 (show-paren--default): New function, extracted from show-paren-function.
9800 (show-paren-function): Use show-paren-data-function.
9801
02d844b5
GM
98022013-05-30 Glenn Morris <rgm@gnu.org>
9803
d209d4a9
GM
9804 * ielm.el (ielm-map, ielm-complete-symbol):
9805 Use completion-at-point rather than obsolete functions.
9806 (inferior-emacs-lisp-mode): Doc fix.
9807 Set completion-at-point-functions, rather than
9808 comint-dynamic-complete-functions.
9809
2082faa6
GM
9810 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9811 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9812 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9813
dd8620de
GM
9814 * image.el (image-animated-p): Tweak definition.
9815
ceca95b1
GM
9816 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9817 (rlogin-process-connection-type): Tweak default. Add set-after.
9818 (rlogin-host): Doc fix.
9819 (rlogin): Tweak prompt.
9820 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9821
ee9f1acc
GM
9822 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9823 * progmodes/tcl.el (inferior-tcl-mode-map):
9824 Use completion-at-point rather than obsolete alias.
9825
45ce222e
GM
9826 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9827
02d844b5
GM
9828 * minibuffer.el (read-file-name-completion-ignore-case):
9829 Move before completion--in-region, for eager macro expansion.
9830
ac44d6c1
JL
98312013-05-29 Juri Linkov <juri@jurta.org>
9832
9833 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9834 for total count of matching lines. Add `global-matches' for total
9835 count of matches. Rename `matches' to `lines' for count of
9836 matching lines. Add `matches' for count of matches.
9837 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9838 to `prev-line' for line number of prev match endpt.
9839 Increment `matches' for every match. Print the number of
9840 matching lines in the header.
9841 (occur-context-lines): Rename `lines' to `curr-line'.
9842 Rename `prev-lines' to `prev-line'. (Bug#14017)
9843
3c9c9d38
JL
98442013-05-29 Juri Linkov <juri@jurta.org>
9845
9846 * replace.el (perform-replace): Add `skip-read-only-count',
9847 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9848 Increment them for corresponding conditions and report the number
9849 of skipped occurrences in the final message. (Bug#11746)
9850 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9851 (replace-string, replace-regexp): Doc fix.
9852
33e249a2
SM
98532013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9854
8e399682
SM
9855 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9856
33e249a2 9857 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9858 prog-mode-map (bug#14504).
33e249a2 9859
f236dd84
LL
98602013-05-29 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9863 (octave-help): Small simplification.
9864
9865 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9866 off the highlight first.
9867
3694d13f
GM
98682013-05-29 Glenn Morris <rgm@gnu.org>
9869
03983bdc
GM
9870 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9871 Handle idlwave-last-system-routine-info-cons-cell being nil.
9872
bc74a74a
GM
9873 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9874 (idlwave-write-paths): Simplify via with-temp-buffer.
9875
8b394200
GM
9876 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9877 * emulation/cua-rect.el: Also load cua-base at run time.
9878
3694d13f
GM
9879 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9880 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9881 (cperl-imenu-on-info): Require imenu.
9882
336d7284
AM
98832013-05-28 Alan Mackenzie <acm@muc.de>
9884
9885 Handle "capitalised keywords" correctly.
33e249a2 9886 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9887
cb29c582
AG
98882013-05-28 Aidan Gauland <aidalgol@amuri.net>
9889
781b4af6 9890 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9891
690e44b2
GM
98922013-05-28 Glenn Morris <rgm@gnu.org>
9893
e658d75c
GM
9894 * vc/vc-arch.el (vc-exec-after): Declare.
9895 (vc-switches): Autoload.
9896 * vc/vc-bzr.el: No need to require vc when compiling.
9897 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9898 (vc-resynch-buffer, vc-dir-refresh): Declare.
9899 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9900 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9901 (vc-resynch-buffer): Declare.
9902 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9903 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9904 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9905 (grep-read-regexp, grep-read-files, grep-expand-template)
9906 (vc-dir-refresh): Declare.
9907 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9908 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9909 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9910 * vc/vc-mtn.el (vc-exec-after): Declare.
9911 (vc-switches): Autoload.
9912 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9913 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9914 (vc-file-tree-walk): Declare.
712b9732
GM
9915 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9916 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9917 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9918 * vc/vc-svn.el (vc-exec-after): Declare.
9919 (vc-switches, vc-setup-buffer): Autoload.
9920 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9921 Autoload.
9922 (vc-resynch-buffer): Declare.
9923
98e87fb3
GM
9924 * obsolete/fast-lock.el (byte-compile-warnings):
9925 Don't warn about obsolete features in this obsolete file.
9926
f5379553
GM
9927 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9928 Move definition before use.
9929
7a20ef83
GM
9930 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9931 (dun-unix-verbs): Remove dun-zippy.
9932 (dun-zippy): Remove function.
9933
690e44b2
GM
9934 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9935
3a52ccf7
JL
99362013-05-27 Juri Linkov <juri@jurta.org>
9937
9938 * replace.el (replace-search): New function with code moved out
9939 from `perform-replace'.
9940 (replace-highlight, replace-dehighlight): Move function definitions
9941 up closer to `replace-search'. (Bug#11746)
9942
d289938a
JL
99432013-05-27 Juri Linkov <juri@jurta.org>
9944
9945 * replace.el (perform-replace): Ignore invisible matches.
9946 In addition to checking `query-replace-skip-read-only', also
9947 filter out matches by calling `run-hook-with-args-until-failure'
9948 on `isearch-filter-predicates', and also check `search-invisible'
9949 for t or call `isearch-range-invisible'.
9950 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9951
66fc57e3
JL
99522013-05-27 Juri Linkov <juri@jurta.org>
9953
9954 * isearch.el (isearch-filter-predicates): Rename from
9955 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9956 (isearch-message-prefix): Display text from the property
9957 `isearch-message-prefix' of the currently active filters.
9958 (isearch-search): Don't compare `isearch-filter-predicate' with
9959 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9960 on `isearch-filter-predicates'. Also check `search-invisible' for t
9961 or call `isearch-range-invisible'.
9962 (isearch-filter-visible): Make obsolete.
9963 (isearch-lazy-highlight-search):
9964 Call `run-hook-with-args-until-failure' on
9965 `isearch-filter-predicates' and use `isearch-range-invisible'.
9966
9967 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9968 `isearch-filter-predicates' instead of `funcall'ing
9969 `isearch-filter-predicate'.
9970 (Info-mode): Set `Info-isearch-filter' to
9971 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9972
9973 * dired-aux.el (dired-isearch-filter-predicate-orig):
9974 Remove variable.
9975 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9976 (dired-isearch-filenames-end): Add and remove
9977 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9978 instead of changing the value of `isearch-filter-predicate'.
9979 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9980 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9981 Put property `isearch-message-prefix' to "filename " on
9982 `dired-isearch-filter-filenames'.
9983
9984 * wdired.el (wdired-change-to-wdired-mode):
9985 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9986 locally instead of changing `isearch-filter-predicate'.
9987 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9988
f1a60a0f
DG
99892013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9990
9991 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9992 return the commit hash (Bug#14459). Also set the
9993 `vc-git-detached' property.
9994 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9995 (vc-git-mode-line-string): Use the same help-echo format whether
9996 in detached mode or not, because we know the actual revision now.
9997 When in detached mode, shorten the revision to 7 chars.
9998
7f17cc40
SM
99992013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * emacs-lisp/easy-mmode.el (define-minor-mode):
10002 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10003 mode hook and provide a docstring.
10004
25c8401c
AM
100052013-05-27 Alan Mackenzie <acm@muc.de>
10006
10007 Remove spurious syntax-table text properties inserted by C-y.
10008 * progmodes/cc-mode.el (c-after-change): Also clear hard
10009 syntax-table property with value nil.
10010
dde84790
MA
100112013-05-27 Michael Albinus <michael.albinus@gmx.de>
10012
10013 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10014 when reading the events; the buffer layout shall not be changed.
10015
837fd9af
LL
100162013-05-27 Leo Liu <sdl.web@gmail.com>
10017
10018 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10019 New variable.
10020 (inferior-octave-directory-tracker): Automatically re-sync
10021 default-directory.
10022 (octave-help): Improve handling of 'See also'.
10023
4fd996b3
SM
100242013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10025
416f1802
SM
10026 * doc-view.el: Minor naming convention tweaks.
10027 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10028
4fd996b3
SM
10029 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10030 even if there's no `display' property yet (bug#14435).
10031
a052ef3b
EZ
100322013-05-25 Eli Zaretskii <eliz@gnu.org>
10033
4fd996b3 10034 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10035
10036 * Makefile.in (custom-deps, finder-data, autoloads)
10037 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10038 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10039 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10040
c9023370
SM
100412013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10044 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10045 Don't burp at EOB.
c9023370 10046
24d699fa
LL
100472013-05-25 Leo Liu <sdl.web@gmail.com>
10048
10049 * comint.el (comint-previous-matching-input): Do not flood the
10050 *Messages* buffer with trivial messages.
10051
17e5c0cc
SM
100522013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * progmodes/flymake.el (flymake-nop): Don't return a string.
10055 (flymake-set-at): Fix typo.
10056
10057 * simple.el (read--expression): New function, extracted from
10058 eval-expression. Set completion-at-point-functions (bug#14465).
10059 (eval-expression, eval-minibuffer): Use it.
10060
5d028165
XF
100612013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10062
10063 * progmodes/flymake.el (flymake-save-buffer-in-file)
10064 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10065 (flymake-selected-frame, flymake-log, flymake-ins-after)
10066 (flymake-set-at, flymake-get-buildfile-from-cache)
10067 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10068 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10069 Refine the doc string.
10070 (flymake-get-file-name-mode-and-masks): Reformat.
10071 (flymake-get-real-file-name-function): Fix a minor bug.
10072
7a1d7ba7
JL
100732013-05-24 Juri Linkov <juri@jurta.org>
10074
10075 * progmodes/grep.el (grep-mode-font-lock-keywords):
10076 Support =linenumber= format used by git-grep for lines with
10077 function names. (Bug#13549)
10078
650cff3d
SM
100792013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10082 0 after a semi-colon; it works better for smie-auto-fill.
10083 (octave--indent-new-comment-line): New function.
10084 (octave-indent-new-comment-line): Use it (indirectly).
10085 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10086 modify comment-line-break-function.
10087
10088 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10089 (smie-setup): Use add-function to set it.
10090
9631677d
SS
100912013-05-24 Sam Steingold <sds@gnu.org>
10092
10093 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10094 argument (before the `interactive' argument).
10095
50105835
SM
100962013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * image-mode.el (image-mode-winprops): Add winprops to
10099 image-mode-winprops-alist before running
10100 image-mode-new-window-functions.
10101 * doc-view.el (doc-view-new-window-function): Don't delay
10102 doc-view-goto-page via timers (bug#14435).
10103
57b9823e
TH
101042013-05-24 Tassilo Horn <tsdh@gnu.org>
10105
10106 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10107 (doc-view-desktop-save-buffer): New function.
10108 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10109 (desktop-buffer-mode-handlers):
10110 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10111 handler.
10112 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10113 `desktop-save-buffer' function.
10114
91aafa16
MA
101152013-05-24 Michael Albinus <michael.albinus@gmx.de>
10116
10117 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10118 (tramp-gvfs-file-name-handler): Raise a user error when
10119 `tramp-gvfs-enabled' is nil.
10120 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10121 Do not raise a user error when loading package. (Bug#14447)
10122
ec076379
MA
10123 * net/xesam.el: Move to obsolete/.
10124
db785726
GM
101252013-05-24 Glenn Morris <rgm@gnu.org>
10126
af5c7606
GM
10127 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10128
e5d1916a
GM
10129 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10130
ded62b08
GM
10131 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10132 (Info-find-node, Man-getpage-in-background): Declare.
10133
9e614a3f
GM
10134 * mail/unrmail.el (unrmail):
10135 Replace obsolete detect-coding-with-priority.
10136
892f8ca3
GM
10137 * net/socks.el (socks-split-string): Use this rather than split-string.
10138 (socks-nslookup-host): Update for above change.
10139 (dynamic-choice, s5-dynamic-choice-match)
10140 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10141 Comment out unused code.
10142
3c291973
GM
10143 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10144 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10145 (gud-tooltip-echo-area): Make obsolete.
10146 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10147
43cc956b
GM
10148 * progmodes/js.el (js--optimize-arglist): Declare.
10149
dab49a3b
GM
10150 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10151
36b9d085
GM
10152 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10153 (ediff-window-C): Declare.
10154
e354ae76
GM
10155 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10156 Tweak requires to silence compiler.
10157
b8e57bf4
GM
10158 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10159 (he-search-string, he-tried-table, he-expand-list)
10160 (he-init-string, he-string-member, he-substitute-string)
10161 (he-reset-string): Declare.
10162
db785726
GM
10163 * obsolete/options.el (list-options): Use custom-variable-p,
10164 rather than obsolete alias.
10165
b3531901
SS
101662013-05-23 Sam Steingold <sds@gnu.org>
10167
10168 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10169 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10170 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10171
bdda4c66
SM
101722013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * emacs-lisp/smie.el (smie-indent-forward-token)
10175 (smie-indent-backward-token): Handle string tokens (bug#14381).
10176
c43d45f9
TH
101772013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10178
fe1eb856
RS
10179 * ielm.el (ielm-menu): New menu.
10180 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10181
fe1eb856
RS
101822013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10183
a12bf61e 10184 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10185 Fix deactivate action.
10186
a12bf61e 10187 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10188 Add cleveref macros.
074dd971 10189
a12bf61e 10190 * textmodes/reftex-parse.el
c43d45f9
TH
10191 (reftex-locate-bibliography-files): Accept options for
10192 bibliography commands.
a12bf61e 10193 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10194 Add addbibresource. Basic Biblatex support.
10195
7764286e
MA
101962013-05-23 Michael Albinus <michael.albinus@gmx.de>
10197
10198 * net/tramp-gvfs.el (top):
10199 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10200 when loading package. (Bug#14447)
10201
d361bc10
GM
102022013-05-23 Glenn Morris <rgm@gnu.org>
10203
8fa23984
GM
10204 * progmodes/js.el: No need to load comint when compiling.
10205 (ring-insert, comint-send-string, comint-send-input)
10206 (comint-last-input-end, ido-chop): Declare.
10207
a5c7df1a
GM
10208 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10209 * vc/ediff-mult.el: Adjust requires.
10210 (ediff-directories-internal, ediff-directory-revisions-internal)
10211 (ediff-patch-file-internal): Declare.
10212 * vc/ediff-ptch.el: Adjust requires.
10213 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10214 (ediff-find-file): Autoload.
10215 * vc/ediff-util.el: No need to load ediff when compiling.
10216 (ediff-regions-internal): Declare.
10217 * vc/ediff-wind.el: Adjust requires.
10218 (ediff-compute-toolbar-width): Define when compiling.
10219 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10220 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10221 (dired-get-filename, dired-get-marked-files)
10222 (ediff-last-dir-patch, ediff-patch-default-directory)
10223 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10224 (ediff-patch-buffer-internal): Declare.
10225
e2aec513
GM
10226 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10227 (ispell-process, ispell-buffer-local-words, lm-summary)
10228 (lm-section-start, lm-section-end): Declare.
10229 (checkdoc-ispell-init): Simplify.
10230
e68bbd7c
GM
10231 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10232 (he-string-member, he-reset-string, he-substitute-string): Declare.
10233
7efe0991
GM
10234 * eshell/em-ls.el: Adjust requires.
10235 (eshell-glob-regexp): Declare.
f87b1284
GM
10236 * eshell/em-tramp.el: Adjust requires.
10237 (eshell-parse-command): Autoload.
10238 * eshell/em-xtra.el: Adjust requires.
10239 (eshell-parse-command): Autoload.
10240 * eshell/esh-ext.el: Adjust requires.
10241 (eshell-parse-command, eshell-close-handles): Autoload.
10242 * eshell/esh-io.el: Adjust requires.
10243 (eshell-output-filter): Autoload.
10244 * eshell/esh-util.el: No need to load tramp when compiling.
10245 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10246 Declare.
10247 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10248 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10249 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10250 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10251 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10252 * eshell/esh-opt.el, eshell/esh-proc.el:
10253 * eshell/esh-var.el: Adjust requires.
10254 * eshell/eshell.el: Do not require esh-util twice.
10255 (eshell-add-input-to-history): Declare.
10256 (eshell-command): Check history module is active before using it.
10257
d361bc10
GM
10258 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10259
85d090a9
LL
102602013-05-22 Leo Liu <sdl.web@gmail.com>
10261
10262 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10263
5d0acd9d
MA
102642013-05-22 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * autorevert.el (auto-revert-notify-add-watch)
10267 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10268 it indicates changes in file modification time.
10269
0cdffd7d
GM
102702013-05-22 Glenn Morris <rgm@gnu.org>
10271
ca5995ec
GM
10272 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10273 Always delete the autoloaded function from the noruntime and
10274 unresolved functions lists.
10275
6450907e
GM
10276 * allout.el: No need to load epa, epg, overlay when compiling.
10277 (epg-context-set-passphrase-callback, epg-list-keys)
10278 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10279 (epg-key-user-id-list): Declare.
10280
9c6906f6
GM
10281 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10282 (viper-set-parsing-style-toggling-macro)
10283 (viper-set-emacs-state-searchstyle-macros):
10284 Use called-interactively-p on Emacs.
10285 (viper-looking-back): Make it an obsolete alias. Update callers.
10286 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10287 Use looking-back rather than viper-looking-back.
10288 (viper-tmp-insert-at-eob, viper-enlarge-region)
10289 (viper-read-string-with-history, viper-register-to-point)
10290 (viper-append-to-register, viper-change-state-to-vi)
10291 (viper-backward-char-carefully, viper-forward-char-carefully)
10292 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10293 (viper-change-state-to-emacs): Declare.
10294 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10295 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10296 * emulation/viper-mous.el: Do not load viper-cmd.
10297 (viper-backward-char-carefully, viper-forward-char-carefully)
10298 (viper-forward-word, viper-adjust-window): Declare.
10299
5f70c169
GM
10300 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10301
b1b7f300
GM
10302 * progmodes/idlw-help.el (idlwave-help-fontify):
10303 Use called-interactively-p.
10304
f6ebbb46
GM
10305 * term/w32console.el (w32-get-console-codepage)
10306 (w32-get-console-output-codepage): Declare.
10307
0cdffd7d
GM
10308 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10309 Remove unnecessary declarations.
10310 (dframe-message): Doc fix.
10311
10312 * info.el (dframe-select-attached-frame, dframe-current-frame):
10313 Declare.
10314
10315 * speedbar.el (speedbar-message): Make it an obsolete alias.
10316 Update all callers.
10317 (speedbar-with-attached-buffer)
10318 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10319 (speedbar-with-writable): Use backquote.
10320 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10321 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10322 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10323 rather than speedbar- aliases.
10324 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10325 (speedbar-make-specialized-keymap, speedbar-insert-button)
10326 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10327 (speedbar-do-function-pointer): Declare.
10328 (rmail-speedbar-button, rmail-speedbar-find-file)
10329 (rmail-speedbar-move-message):
10330 Use dframe-with-attached-buffer rather than speedbar- alias.
10331 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10332 (dframe-message, speedbar-make-specialized-keymap)
10333 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10334 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10335 (speedbar-insert-button, dframe-select-attached-frame)
10336 (dframe-maybee-jump-to-attached-frame)
10337 (speedbar-change-initial-expansion-list)
10338 (speedbar-previously-used-expansion-list-name): Declare.
10339 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10340 Use dframe-message, dframe-with-attached-buffer rather than
10341 speedbar- aliases.
10342 (gud-sentinel): Silence compiler.
10343 * progmodes/vhdl-mode.el (speedbar-refresh)
10344 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10345 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10346 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10347 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10348 (speedbar-file-lists, speedbar-make-tag-line)
10349 (speedbar-line-directory, speedbar-goto-this-file)
10350 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10351 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10352 (speedbar-make-button, speedbar-reset-scanners)
10353 (speedbar-files-item-info, speedbar-line-text)
10354 (speedbar-find-file-in-frame, speedbar-set-timer)
10355 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10356 (speedbar-with-writable): Do not (re)define it.
10357 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10358 rather than speedbar- alias.
10359
ee44b62a
LL
103602013-05-21 Leo Liu <sdl.web@gmail.com>
10361
10362 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10363 menu items.
10364 (octave-mode): Tweak fill-nobreak-predicate.
10365 (inferior-octave-startup): Check process to avoid infinite loop.
10366 (inferior-octave): Pop to buffer first to show abornmal process
10367 exit information.
10368
640f050f
GM
103692013-05-21 Glenn Morris <rgm@gnu.org>
10370
79458038
GM
10371 * printing.el (pr-menu-bar): Define when compiling.
10372
9cc3e83f
LL
103732013-05-21 Leo Liu <sdl.web@gmail.com>
10374
10375 * progmodes/octave.el (octave-auto-fill): Remove.
10376 (octave-indent-new-comment-line): Improve.
10377 (octave-mode): Use auto fill mode through
4f405069 10378 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10379 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10380 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10381 (octave-help): Show parent directory.
10382
f440830d
GM
103832013-05-21 Glenn Morris <rgm@gnu.org>
10384
10385 * files.el (dired-unmark):
10386 * progmodes/gud.el (gdb-input): Update declarations.
10387
10388 * calculator.el (electric, ehelp): No need to load when compiling.
10389 (Electric-command-loop, electric-describe-mode): Declare.
10390
10391 * doc-view.el (doc-view-current-converter-processes): Move before use.
10392
10393 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10394 Move MODE-set-explicitly definition before use.
10395
10396 * international/mule-diag.el (mule-diag):
10397 Don't use obsolete window-system-version.
10398
10399 * mail/feedmail.el (smtpmail): No need to load when compiling.
10400 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10401
10402 * mail/mail-utils.el (rfc822): No need to load when compiling.
10403 (rfc822-addresses): Autoload it.
10404 (mail-strip-quoted-names): Trivial simplification.
10405
10406 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10407 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10408
10409 * net/snmp-mode.el (tempo): Don't duplicate requires.
10410
10411 * progmodes/prolog.el (info): No need to load when compiling.
10412 (comint): Require before shell requires it.
10413 (Info-goto-node): Autoload it.
10414 (Info-follow-nearest-node): Declare.
10415 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10416
10417 * textmodes/artist.el (picture-mode-exit): Declare.
10418
10419 * textmodes/reftex-parse.el (reftex-parse-from-file):
10420 Trivial rewrite so the compiler can parse it better.
10421
b4da2cbb
LL
104222013-05-20 Leo Liu <sdl.web@gmail.com>
10423
10424 * progmodes/octave.el (octave-help-mode-map)
10425 (octave-help-mode-finish-hook): New variables.
10426 (octave-help-mode, octave-help-mode-finish): New functions.
10427 (octave-help): Use octave-help-mode.
10428
33c0f65b
GM
104292013-05-20 Glenn Morris <rgm@gnu.org>
10430
10431 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10432
1a0a0a8a
DG
104332013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10434
10435 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10436 start at point, so that expansion starting right after opening
10437 slash in a regexp is recognized.
10438 (ruby-syntax-before-regexp-re): New defvar, extracted from
10439 ruby-syntax-propertize-function. Since the value of this regexp
10440 is looked up at runtime now, we should be able to turn
10441 `ruby-syntax-methods-before-regexp' into a defcustom later.
10442 (ruby-syntax-propertize-function): Split regexp matching into two
10443 parts, for opening and closing slashes. That allows us to skip
10444 over string interpolations and support multiline regexps.
10445 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10446 for them, which calls `ruby-syntax-propertize-expansion'.
10447 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10448 call to `ruby-syntax-propertize-function'.
10449 (ruby-syntax-propertize-expansion): Extracted from
10450 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10451 (ruby-syntax-propertize-percent-literal): Leave point right after
10452 the percent symbol, so that the expression expansion rule can
10453 propertize the contents.
462388b6
DG
10454 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10455 heredoc openers.
10456 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10457
c1a6c0a4
JL
104582013-05-18 Juri Linkov <juri@jurta.org>
10459
10460 * man.el (Man-default-man-entry): Remove `-' from the end
10461 of the default value. (Bug#14400)
10462
8051fccd
GM
104632013-05-18 Glenn Morris <rgm@gnu.org>
10464
10465 * comint.el (comint-password-prompt-regexp):
10466 Allow "password for XXX" where XXX contains colons (eg https://...).
10467
5e80b74f
LL
104682013-05-18 Leo Liu <sdl.web@gmail.com>
10469
10470 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10471 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10472 (octave-source-directories): Don't check process.
10473 (octave-source-directories, octave-find-definition): Doc fix.
10474
521a54c5
GM
104752013-05-18 Glenn Morris <rgm@gnu.org>
10476
86a94b05
GM
10477 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10478 Remove backspace/delete bindings. (Bug#14392)
10479
521a54c5
GM
10480 * cus-dep.el (custom-make-dependencies): Sort the output.
10481 (custom-versions-load-alist): Convert comment to doc.
10482
42caeb89
LL
104832013-05-17 Leo Liu <sdl.web@gmail.com>
10484
10485 * newcomment.el (comment-search-backward): Stricter in finding
10486 comment start. (Bug#14303)
10487
10488 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10489 (octave-comment-start-skip): Properly anchored.
10490
e219dd97
LL
104912013-05-17 Leo Liu <sdl.web@gmail.com>
10492
fe1eb856
RS
10493 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10494 Clean up when turned off. (Bug#14395)
e219dd97
LL
10495 (smie--highlight-matching-block-overlay): No longer buffer-local.
10496 (smie-highlight-matching-block): Adjust.
10497
dc5dcb4b
PE
104982013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10499
10500 Doc string fix for "nanoseconds" (Bug#14406).
10501 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10502 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10503
1db165f0
JB
105042013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10505
10506 * calc/calc-units.el (math-extract-units): Preserve powers
10507 of units.
10508
c7a8fcac
LL
105092013-05-17 Leo Liu <sdl.web@gmail.com>
10510
10511 * subr.el (delete-consecutive-dups): New function.
10512 * ido.el (ido-set-matches-1): Use it.
10513 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10514 * ido.el (ido-remove-consecutive-dups): Remove.
10515
f678b18a
SM
105162013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10519 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10520 regexp-opt's `words'.
10521
ebfe68e8
LL
105222013-05-16 Leo Liu <sdl.web@gmail.com>
10523
10524 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10525 (smie--highlight-matching-block-overlay)
10526 (smie--highlight-matching-block-lastpos)
10527 (smie--highlight-matching-block-timer): New variables.
10528 (smie-highlight-matching-block): New function.
10529 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10530 (smie-setup): Conditionally enable smie-blink-matching-open.
10531
bc8bc17d
WS
105322013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10533
10534 Sync with upstream verilog-mode r840.
10535 * progmodes/verilog-mode.el (verilog-mode-version)
10536 (verilog-mode-release-date): Update.
10537 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10538 (verilog-sig-tieoff): Fix string error on
10539 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10540 (verilog-read-decls): Fix parameters confusing
10541 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10542
df065a0b
EZ
105432013-05-16 Eli Zaretskii <eliz@gnu.org>
10544
10545 * subr.el (reveal-filename): New function.
10546
10547 * loadup.el: Compute Emacs executable versions on MS-Windows,
10548 where executables have the .exe extension. Add a hard link
10549 emacs-XX.YY.ZZ.exe on MS-Windows.
10550
10551 * Makefile.in (XARGS_LIMIT): New variable.
10552 (custom-deps, finder-data, autoloads)
10553 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10554 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10555 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10556 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10557
2d4bf34b
LL
105582013-05-16 Leo Liu <sdl.web@gmail.com>
10559
10560 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10561 (octave-mode-menu, octave-mode-map): Remove its uses.
10562
6b9c2d85
RZ
105632013-05-16 Reto Zimmermann <reto@gnu.org>
10564
10565 Sync with upstream vhdl mode v3.34.2.
10566 * progmodes/vhdl-mode.el: Use `push' throughout.
10567 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10568 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10569 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10570 (vhdl-actual-generic-name): New option to derive actual generic name.
10571 (vhdl-port-paste-signals): Replace formal by actual generics.
10572 (vhdl-beautify): New name for old group vhdl-align. Update users.
10573 (vhdl-beautify-options): New option.
10574 (vhdl-last-input-event): New compat alias. Use throughout.
10575 (vhdl-goto-line): Replace user level function `goto-line'.
10576 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10577 vhdl-fix-statement-buffer.
10578 (vhdl-create-mode-menu): Add some entries.
10579 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10580 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10581 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10582 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10583 to force statements on one line.
10584 (vhdl-remove-trailing-spaces-region):
10585 New, split from vhdl-remove-trailing-spaces.
10586 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10587 Respect vhdl-beautify-options.
10588 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10589 (vhdl-update-sensitivity-list): Not add with index if exists without.
10590 Not include array index with signal. Ignore keywords in comments.
10591 (vhdl-get-visible-signals): Regexp tweaks.
10592 (vhdl-template-component-inst): Handle empty library.
10593 (vhdl-template-type): Add template for 'enum' type.
10594 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10595 Use vhdl-replace-string.
10596 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10597 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10598 (vhdl-speedbar-initialize): Update for above name change.
10599 (vhdl-compose-wire-components): Fix in handling of constants.
10600 (vhdl-error-regexp-emacs-alist): New variable.
10601 (vhdl-error-regexp-add-emacs): New function;
10602 adds support for new compile.el (Emacs 22+)
10603 (vhdl-generate-makefile-1): Change target order for single lib. units.
10604 Allow use of absolute file names.
10605
9df4ec5e
LL
106062013-05-16 Leo Liu <sdl.web@gmail.com>
10607
10608 * simple.el (prog-indent-sexp): Indent enclosing defun.
10609
f5ba00a6
GM
106102013-05-15 Glenn Morris <rgm@gnu.org>
10611
ed8be7ff
GM
10612 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10613 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10614 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10615 (whitespace-highlight): Move to whitespace group.
10616
10617 * comint.el (comint-source):
10618 * pcmpl-linux.el (pcmpl-linux):
10619 * shell.el (shell-faces):
10620 * eshell/esh-opt.el (eshell-opt):
10621 * international/ccl.el (ccl): Remove empty custom groups.
10622
10623 * completion.el (dynamic-completion-mode):
10624 * jit-lock.el (jit-lock-debug-mode):
10625 * minibuffer.el (completion-in-region-mode):
10626 * type-break.el (type-break-mode-line-message-mode)
10627 (type-break-query-mode):
10628 * emulation/tpu-edt.el (tpu-edt-mode):
10629 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10630 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10631 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10632
10633 * term/xterm.el (xterm): Change parent group to terminals.
10634
10635 * master.el (master): Remove empty custom group.
10636 (master-mode): Remove unused :group argument.
10637 * textmodes/refill.el (refill): Remove empty custom group.
10638 (refill-mode): Remove unused :group argument.
10639
10640 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10641
82a7c41b
GM
10642 * cus-dep.el: Provide a feature.
10643 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10644 Don't mistakenly ignore files whose basenames match a basename
10645 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10646 Add a fallback method for getting :group.
f5ba00a6 10647
6d65486d
JL
106482013-05-15 Juri Linkov <juri@jurta.org>
10649
da547b32
JL
10650 * isearch.el (isearch-char-by-name): Rename from
10651 `isearch-insert-char-by-name'. Doc fix.
10652 (isearch-forward): Mention `isearch-char-by-name' in
10653 the docstring. (Bug#13348)
10654
6d65486d
JL
10655 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10656 `exit-minibuffer' instead of
10657 `isearch-nonincremental-exit-minibuffer'.
10658 (isearch-edit-string): Remove mention of
10659 `isearch-nonincremental-exit-minibuffer' from docstring.
10660 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10661 (isearch-forward-exit-minibuffer)
10662 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10663
c9990474
SM
106642013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10665
6e911150
SM
10666 * loadup.el: Just use unversioned DOC.
10667
c9990474
SM
10668 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10669 literals as extending to EOB.
10670 (nxml-last-fontify-end): Remove unused variable.
10671 (nxml-after-change1): Use with-silent-modifications.
10672 (nxml-extend-after-change-region): Simplify.
10673 (nxml-extend-after-change-region1): Remove function.
10674 (nxml-after-change1): Don't adjust for dependent regions.
10675 (nxml-fontify-matcher): Simplify.
10676 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10677 (xmltok-add-dependent): Remove function.
10678 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10679 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10680 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10681 unclosed <[[, <?, comment, and other literals as extending to EOB.
10682 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10683 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10684 Remove functions.
10685 (rng-do-some-validation-1): Don't mark dependent regions.
10686 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10687 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10688 (nxml-clear-dependent-regions): Remove functions.
10689 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10690 (nxml-ensure-scan-up-to-date):
10691 Don't clear&mark dependent regions.
10692
e3772e98
LL
106932013-05-15 Leo Liu <sdl.web@gmail.com>
10694
c9990474
SM
10695 * progmodes/octave.el (octave-goto-function-definition):
10696 Improve and fix callers.
e3772e98 10697
5ac2eb34
SM
106982013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10699
c46c57b0
SM
10700 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10701 the setter (bug#14387).
10702
5ac2eb34
SM
10703 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10704 surrounding group (bug#14402).
10705
180ed218
JL
107062013-05-14 Juri Linkov <juri@jurta.org>
10707
10708 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10709 (Bug#14390)
10710
0ac0fecb
GM
107112013-05-14 Glenn Morris <rgm@gnu.org>
10712
10713 * progmodes/f90.el (f90-imenu-generic-expression):
10714 Fix typo in 2013-05-08 change. (Bug#14402)
10715
2e78e6a7
JPG
107162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10717
5ac2eb34
SM
10718 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10719 Remove signals for which replies are never received.
2e78e6a7 10720
53267cca
JPG
107212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10722
10723 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10724 (gdb-handler-alist, gdb-handler-number): Remove variables.
10725 (gdb-handler-list): New variable.
10726 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10727 (gdb-pending-handler-p, gdb-handle-reply)
10728 (gdb-remove-all-pending-triggers): New functions.
10729 (gdb-discard-unordered-replies): New defcustom.
10730 (gdb-handler): New defstruct.
10731 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10732 instead of gdb-pending-triggers. Update docstring.
10733 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10734 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10735 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10736 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10737 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10738 (gdb-frame-handler): Pending triggers are now automatically managed.
10739 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10740 Remove argument.
10741 (gdb-input): Automatically handles pending triggers. Update docstring.
10742 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10743 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10744 Update comments.
10745 (gdb-done-or-error): Now use gdb-handle-reply.
10746
d04ce803
JPG
107472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10748
10749 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10750 gdb-debug-log.
10751
0114073a
GM
107522013-05-14 Glenn Morris <rgm@gnu.org>
10753
10754 * subr.el (user-emacs-directory-warning): New option.
10755 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10756
4d25fd7e
LL
107572013-05-14 Leo Liu <sdl.web@gmail.com>
10758
10759 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10760 during redisplay.
10761 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10762 (octave-font-lock-texinfo-comment): Fix invalid search bound
10763 error: wrong side of point.
4d25fd7e 10764
27c8b6eb
GM
107652013-05-14 Glenn Morris <rgm@gnu.org>
10766
61aaeb01
GM
10767 * progmodes/flymake.el (flymake-xml-program): New option.
10768 (flymake-xml-init): Use it.
10769
5bf90bc5
GM
10770 * term/xterm.el: Provide a feature.
10771
10772 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10773
f4c7dfd2
GM
107742013-05-13 Glenn Morris <rgm@gnu.org>
10775
10776 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10777 Add compat aliases as a hack workaround. (Bug#14384)
10778
2aeb3a1d
LL
107792013-05-13 Leo Liu <sdl.web@gmail.com>
10780
b0e069c2
LL
10781 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10782 ###, and %!.
f5a9432f
LL
10783 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10784 C-M-q.
b0e069c2
LL
10785 (octave-comment-start-skip): Include %!.
10786 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10787
30ea8374
LL
107882013-05-12 Leo Liu <sdl.web@gmail.com>
10789
10790 * progmodes/octave.el (inferior-octave-startup): Store the value
10791 of __octave_srcdir__ for octave-source-directories.
10792 (inferior-octave-check-process): New function refactored out of
10793 inferior-octave-send-list-and-digest.
10794 (octave-source-directories)
10795 (octave-find-definition-filename-function): New variables.
10796 (octave-source-directories)
10797 (octave-find-definition-default-filename): New functions.
10798 (octave-find-definition): Improve to find functions implemented in C++.
10799
472a3834
GM
108002013-05-12 Glenn Morris <rgm@gnu.org>
10801
10802 * calendar/diary-lib.el (diary-outlook-format-1):
10803 Don't include dayname in the output. (Bug#14349)
10804
3191b52f
GM
108052013-05-11 Glenn Morris <rgm@gnu.org>
10806
0060ac73
GM
10807 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10808
3191b52f
GM
10809 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10810 Treat cc-provide like provide.
10811
e065ba74
KR
108122013-05-11 Kevin Ryde <user42@zip.com.au>
10813
10814 * cus-dep.el (custom-make-dependencies):
10815 Use generated-autoload-load-name for the sake of files such
10816 such cedet/semantic/bovine/c.el, where the base file name
10817 is not in load-path. (Bug#5277)
10818
36f84c37
GM
108192013-05-11 Glenn Morris <rgm@gnu.org>
10820
10821 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10822 Provide features.
10823
c8730c3a
LL
108242013-05-11 Leo Liu <sdl.web@gmail.com>
10825
10826 * progmodes/octave.el (octave-indent-comment): Improve.
10827 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10828 (octave-eldoc-function-signatures, octave-eldoc-function):
10829 New functions.
c8730c3a
LL
10830 (octave-mode, inferior-octave-mode): Add eldoc support.
10831
212e29f2
RS
108322013-05-11 Richard Stallman <rms@gnu.org>
10833
10834 * epa.el (epa-decrypt-file): Take output file name as argument
10835 and read it using `interactive'.
10836
083fe0d7
LL
108372013-05-11 Leo Liu <sdl.web@gmail.com>
10838
10839 * progmodes/octave.el (octave-beginning-of-line)
10840 (octave-end-of-line): Check before using up-list because it jumps
10841 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10842 (octave-indent-comment): New function.
10843 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10844 (octave-begin-keywords, octave-end-keywords)
10845 (octave-reserved-words, octave-smie-bnf-table)
10846 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10847
8582e4c4
GM
108482013-05-11 Glenn Morris <rgm@gnu.org>
10849
f20def1f
GM
10850 * faces.el (internal-face-x-get-resource):
10851 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10852 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10853 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10854 Fix declarations.
f20def1f 10855
445f95e2
GM
10856 * calc/calc-menu.el: Make it loadable in isolation.
10857
10858 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10859 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10860 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10861 (eudc-bbdb-query-internal): Require 'bbdb.
10862
99fb2756
GM
10863 * lpr.el (lpr-headers-switches):
10864 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10865
10866 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10867
0da7ad96
GM
10868 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10869
8582e4c4
GM
10870 * term.el (term-set-escape-char): Make it idempotent.
10871
f71c50d0
LL
108722013-05-10 Leo Liu <sdl.web@gmail.com>
10873
5ac2eb34
SM
10874 * progmodes/octave.el (inferior-octave-completion-table):
10875 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10876 completion due to bug#11906.
10877 (octave-beginning-of-defun): Re-write to be more general.
10878
d5837773
GM
108792013-05-10 Glenn Morris <rgm@gnu.org>
10880
10881 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10882
027c0f75
SM
108832013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * comint.el (comint-redirect-send-command-to-process): Use :around
10886 rather than :override for comint-redirect-filter.
10887 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10888 Call it instead of comint-redirect-original-filter-function (which
10889 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10890
4465bfb4
JD
108912013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10892
10893 * frame.el (display-monitor-attributes-list): Add NS case.
10894 (ns-display-monitor-attributes-list): Declare.
10895
2d809ffa 108962013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10897
10898 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10899
e54eeb9b
GM
109002013-05-09 Glenn Morris <rgm@gnu.org>
10901
56cd351d
GM
10902 * international/fontset.el (vertical-centering-font-regexp):
10903 Set standard-value.
10904
d84b6108
GM
10905 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10906
a931698a
GM
10907 * bookmark.el (bookmark-search-delay):
10908 * cus-start.el (vertical-centering-font-regexp):
10909 * ps-mule.el (ps-mule-font-info-database-default):
10910 * ps-print.el (ps-default-fg, ps-default-bg):
10911 * type-break.el (type-break-good-break-interval):
10912 * whitespace.el (whitespace-indentation-regexp)
10913 (whitespace-space-after-tab-regexp):
10914 * emacs-lisp/testcover.el (testcover-1value-functions)
10915 (testcover-noreturn-functions, testcover-progn-functions)
10916 (testcover-prog1-functions):
10917 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10918 * eshell/em-glob.el (eshell-glob-translate-alist):
10919 * play/tetris.el (tetris-tty-colors):
10920 * progmodes/cpp.el (cpp-face-default-list):
10921 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10922 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10923 (idlwave-help-browser-generic-args):
10924 * progmodes/make-mode.el (makefile-special-targets-list):
10925 * progmodes/python.el (python-shell-virtualenv-path):
10926 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10927 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10928 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10929 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10930 * textmodes/reftex-vars.el (reftex-format-label-function):
10931 * textmodes/remember.el (remember-diary-file): Fix custom types.
10932
e54eeb9b
GM
10933 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10934 Add :version.
10935
455851dd
LL
109362013-05-09 Leo Liu <sdl.web@gmail.com>
10937
10938 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10939 Restore file completion. (Bug#14300)
455851dd
LL
10940 (inferior-octave-startup): Fix incorrect highlighting for the
10941 first prompt.
10942
a9e4425b
SM
109432013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * progmodes/ruby-mode.el: First cut at SMIE support.
10946 (ruby-use-smie): New var.
10947 (ruby-smie-grammar): New constant.
10948 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10949 (ruby-smie--forward-token, ruby-smie--backward-token)
10950 (ruby-smie-rules): New functions.
10951 (ruby-mode-variables): Setup SMIE if applicable.
10952
060ca408
EZ
109532013-05-08 Eli Zaretskii <eliz@gnu.org>
10954
10955 * simple.el (line-move-visual): Signal beginning/end of buffer
10956 only if vertical-motion moved less than it was requested. Avoids
10957 silly incorrect error messages when there are display strings with
10958 multiple newlines at EOL.
10959
1d5963cc
SM
109602013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10963 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10964 (prolog-char-quote-workaround):
10965 * progmodes/cperl-mode.el (cperl-under-as-char):
10966 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10967 Mark as obsolete.
10968 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10969 their declaration.
10970 (vhdl-mode-syntax-table-init): Remove.
10971
c9990474
SM
10972 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10973 last change.
1d5963cc
SM
10974
10975 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10976 syntax for "_".
10977 (ld-script-font-lock-keywords):
10978 Change regexps to use things like \_< and \_>.
10979
10980 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10981 Change all regexps to use things like \_< and \_>.
10982
10983 * progmodes/autoconf.el (autoconf-definition-regexp)
10984 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10985 Handle a _ with symbol syntax.
10986 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10987
c9990474
SM
10988 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10989 Consolidate declaration.
1d5963cc
SM
10990 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10991 the declaration.
10992 (ada-create-syntax-table): Remove.
10993 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10994 already has the right syntax nowadays.
10995 (ada-goto-next-word): Don't change the syntax of "_".
10996
10997 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10998 with-wrapper-hook.
10999
72d3cfca
SS
110002013-05-08 Sam Steingold <sds@gnu.org>
11001
11002 * thingatpt.el (thing-at-point): Accept optional second argument
11003 NO-PROPERTIES to strip the text properties from the return value.
11004 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11005 to `thing-at-point' instead of stripping the properties ourselves.
11006 Also, when `thing-at-point' fails to find a url, prepend "http://"
11007 to the filename at point on the assumption that the user is
11008 pointing at something like gnu.org/gnu.
11009
5cb15713
JB
110102013-05-08 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11013 * faces.el (crm-separator):
11014 Silence byte-compiler.
11015
11016 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11017 (tool-bar-map): Remove unneeded defvars.
11018
ea78b95b
LL
110192013-05-08 Leo Liu <sdl.web@gmail.com>
11020
11021 Re-work a fix for bug#10994 based on Le Wang's patch.
11022 * ido.el (ido-remove-consecutive-dups): New helper.
11023 (ido-completing-read): Use it.
11024 (ido-chop): Revert fix for bug#10994.
11025
dc7466df
AS
110262013-05-08 Adam Spiers <emacs@adamspiers.org>
11027
11028 * cus-edit.el (custom-save-variables):
11029 Pretty-print long values. (Bug#14187)
11030
9ecf672a
GM
110312013-05-08 Glenn Morris <rgm@gnu.org>
11032
11033 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11034 (m4-mode-syntax-table): Init in the defvar.
11035 (m4-mode-abbrev-table): Let define-derived-mode define it.
11036
3f555be8
TT
110372013-05-08 Tom Tromey <tromey@redhat.com>
11038
11039 * progmodes/m4-mode.el (m4-mode-syntax-table):
11040 Do not treat "_" as word constituent. (Bug#14167)
11041
7cc8ae06
GM
110422013-05-07 Glenn Morris <rgm@gnu.org>
11043
4f58bc06
GM
11044 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11045 Remove explicit eshell-isearch-cancel-map.
11046
7cc8ae06
GM
11047 * progmodes/f90.el (f90-smart-end-names): New option.
11048 (f90-smart-end): Doc fix.
11049 (f90-end-block-optional-name): New constant.
11050 (f90-block-match): Respect f90-smart-end-names.
11051
ceb57e59
SM
110522013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11055 about implicit semi-colons (bug#14218).
11056
4e3f9230
YM
110572013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11058
11059 * frame.el (display-monitor-attributes-list)
11060 (frame-monitor-attributes): New functions.
11061
203a5572
LL
110622013-05-06 Leo Liu <sdl.web@gmail.com>
11063
11064 * progmodes/octave.el (octave-syntax-propertize-function): Change
11065 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11066 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11067 (octave-completion-at-point): Rename from
203a5572
LL
11068 octave-completion-at-point-function.
11069 (inferior-octave-directory-tracker): Robustify.
11070 (octave-text-functions): Remove and fix its uses. No such things
11071 any more.
11072
ee6cff99
SM
110732013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * emacs-lisp/trace.el (trace--display-buffer): New function.
11076 (trace-make-advice): Use it.
11077
32985194
JL
110782013-05-06 Juri Linkov <juri@jurta.org>
11079
11080 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11081 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11082 Doc fix.
11083 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11084 in the help string. (Bug#12985)
11085
a1c700de
KD
110862013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11087
11088 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11089
c67c0839
SM
110902013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11091
323885fd
SM
11092 * progmodes/perl-mode.el: Add support for here documents.
11093 (perl-syntax-propertize-function): Match here-doc markers.
11094 (perl-syntax-propertize-special-constructs): Find their end.
11095 (perl-imenu-generic-expression): Use [:alnum:].
11096
c67c0839
SM
11097 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11098 (advice--add-function): Refresh the advice if already present
11099 (bug#14317).
11100
d491e7a8
IA
111012013-05-06 Ivan Andrus <darthandrus@gmail.com>
11102
11103 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11104
ddf9925e
GM
111052013-05-06 Glenn Morris <rgm@gnu.org>
11106
7cc3af27
GM
11107 * w32-fns.el (w32-charset-info-alist): Declare.
11108
16e343d6
GM
11109 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11110 of its defcustom properties.
11111 (eshell-cmpl-initialize): No need to load pcomplete.
11112
7d889a47
GM
11113 * generic-x.el: No need to require comint when compiling.
11114
ddf9925e
GM
11115 * net/eudc-export.el: Make it loadable without bbdb.
11116 (top-level): Use require rather than load-library.
11117 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11118 (eudc-batch-export-records-to-bbdb)
11119 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11120 Require bbdb.
11121
1e2c18df
SM
111222013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11125 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11126 some tweaks, instead.
11127
02502a5f
LL
111282013-05-05 Leo Liu <sdl.web@gmail.com>
11129
11130 * progmodes/octave.el (octave-font-lock-keywords)
11131 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11132 (inferior-octave-send-list-and-digest): Improve error message.
11133 (octave-mode, inferior-octave-mode): Use setq-local.
11134 (octave-help): Set info-lookup-mode.
11135
0dc04f42
RS
111362013-05-05 Richard Stallman <rms@gnu.org>
11137
6c54491c
RS
11138 * vc/compare-w.el (compare-windows-whitespace):
11139 Treat no-break space as whitespace.
11140
0dc04f42
RS
11141 * mail/rmailsum.el (rmail-summary-rmail-update):
11142 Detect empty summary and don't change selected message.
11143 (rmail-summary-goto-msg): Likewise.
11144
df8f35df
RS
11145 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11146 Doc fixes, rename args.
11147
5356e1a3
AM
111482013-05-05 Alan Mackenzie <acm@muc.de>
11149
11150 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11151
d44014cb
JL
111522013-05-05 Juri Linkov <juri@jurta.org>
11153
11154 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11155 to not add the length of the summary segment to the return value.
11156 (Bug#14125)
11157
c129b51f
LL
111582013-05-05 Leo Liu <sdl.web@gmail.com>
11159
11160 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11161 (inferior-octave-output-filter): Remove.
11162 (octave-send-region, inferior-octave-startup): Fix callers.
11163 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11164 (octave-binary-file-extensions): New user variable.
11165 (octave-find-definition): Confirm if opening binary files.
11166 (octave-help-file): Use octave-find-definition to get the binary
11167 confirmation.
11168 (octave-help): Adjust for octave-help-file change.
11169
aa7dab97
SM
111702013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11173 Merge the two entries that handle function definitions.
11174 (pascal--syntax-propertize): New const.
11175 (pascal-mode): Use it. Use setq-local.
11176
fd3a9a6b
GM
111772013-05-04 Glenn Morris <rgm@gnu.org>
11178
11179 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11180 (diary-from-outlook): Respect diary-from-outlook-function.
11181
30c7e542
SM
111822013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11185 Move the declaration from C.
11186 (read-minibuffer, eval-minibuffer): Move from C.
11187 (completion-setup-function): Avoid minibuffer-completion-contents.
11188
b54f978b
LL
111892013-05-03 Leo Liu <sdl.web@gmail.com>
11190
11191 * progmodes/octave.el (octave-font-lock-keywords): Do not
11192 dehighlight 'end' in comments or strings.
30c7e542
SM
11193 (octave-completing-read, octave-goto-function-definition):
11194 New helpers.
d4d0f9b3
LL
11195 (octave-help-buffer): New user variable.
11196 (octave-help-file, octave-help-function): New button types.
11197 (octave-help): New command and bind it to C-h ;.
11198 (octave-find-definition): New command and bind it to M-.
d74a1581 11199 (user-error): Alias to error if not defined.
b54f978b 11200
27135018
LL
112012013-05-02 Leo Liu <sdl.web@gmail.com>
11202
11203 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11204 for \. (bug#14332)
11205 (octave-font-lock-keywords): Include [ and {.
11206
0d634d3a
LL
112072013-05-02 Leo Liu <sdl.web@gmail.com>
11208
11209 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11210 (inferior-octave): Remove calling comint-mode and return the buffer.
11211 (inferior-octave-startup): Cosmetic changes.
11212
b4c8295e
LL
112132013-05-02 Leo Liu <sdl.web@gmail.com>
11214
30c7e542
SM
11215 * progmodes/octave.el (octave-syntax-propertize-function):
11216 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11217
f12ad6ec
GM
112182013-05-02 Glenn Morris <rgm@gnu.org>
11219
11220 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11221 * desktop.el (vc-dir-mode): Just autoload it here.
11222
30cac1e0
AM
112232013-05-02 Alan Mackenzie <acm@muc.de>
11224
11225 Eliminate variable c-standard-font-lock-fontify-region-function.
11226 * progmodes/cc-mode.el
11227 (c-standard-font-lock-fontify-region-function): Remove.
11228 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11229
d8ef28b1
LL
112302013-05-01 Leo Liu <sdl.web@gmail.com>
11231
2640d52e 11232 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11233 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11234 variables were removed from Octave in 2007.
d8ef28b1
LL
11235 (inferior-octave-startup): Fix uses.
11236 (comint-line-beginning-position): Remove compatibility code for
11237 emacs 21.
11238
ac63ec89
JL
112392013-05-01 Juri Linkov <juri@jurta.org>
11240
11241 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11242
9e9be37c
JL
112432013-05-01 Juri Linkov <juri@jurta.org>
11244
11245 * comint.el (comint-previous-matching-input): Don't print message
11246 "History item: %d" when `isearch-mode' is active.
11247 (comint-history-isearch-message): Print message "History item: %d"
11248 when `comint-input-ring-index' is not empty and this function is
11249 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11250
9b92c13b
LL
112512013-05-01 Leo Liu <sdl.web@gmail.com>
11252
11253 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11254 definitions. Use completion-at-point to insert keywords.
11255 (octave-abbrev-start): Remove.
11256 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11257
b12d33d7
LL
112582013-04-30 Leo Liu <sdl.web@gmail.com>
11259
11260 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11261 change.
11262
3d1c39fa
AM
112632013-04-30 Alan Mackenzie <acm@muc.de>
11264
11265 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11266 * progmodes/cc-engine.el (c-back-over-member-initializers):
11267 new function.
3d1c39fa
AM
11268 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11269 (most) member init lists.
11270
5147fc17
RS
112712013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11272
11273 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11274 variable.
11275
5b78d7fc
LL
112762013-04-30 Leo Liu <sdl.web@gmail.com>
11277
11278 * progmodes/octave.el (octave-variables): Remove. No builtin
11279 variables any more. All converted to functions.
11280 (octave-font-lock-keywords, octave-completion-at-point-function):
11281 Fix uses.
11282 (octave-font-lock-texinfo-comment): New user variable.
11283 (octave-texinfo-font-lock-keywords): New variable for texinfo
11284 comment block.
11285 (octave-function-comment-block): New face.
11286 (octave-font-lock-texinfo-comment): New function.
11287 (octave-mode): Font lock texinfo comment block.
11288
38d8527b
LL
112892013-04-29 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11292 indexing expression.
11293 (octave-continuation-string): Do not use \.
11294 (inferior-octave-complete-impossible): Remove.
11295 (inferior-octave-completion-table)
11296 (inferior-octave-completion-at-point): Remove its uses.
11297 (inferior-octave-startup): completion_matches was introduced to
11298 Octave in 1996 so safe to assume it.
11299 (octave-function-file-comment): Improve to follow how Octave does it.
11300 (octave-update-function-file-comment): Tweak.
11301
2ec12cb0
LL
113022013-04-29 Leo Liu <sdl.web@gmail.com>
11303
11304 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11305 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11306 (octave-function-file-comment): Fix typo.
11307 (octave-sync-function-file-names): Use read-char-choice.
11308
6eaed048
JB
113092013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11310
11311 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11312 to t for the less important warnings.
11313
3ffa2d4f
DH
113142013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11315
11316 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11317
685c9501
GM
113182013-04-27 Glenn Morris <rgm@gnu.org>
11319
11320 * vc/log-view.el (log-view-current-entry):
11321 Treat "---" separator lines as part of the following rev. (Bug#14169)
11322
0208ede7
JL
113232013-04-27 Juri Linkov <juri@jurta.org>
11324
11325 * subr.el (read-number): Doc fix about using it by interactive
11326 code letter `n'. (Bug#14254)
11327
5db9dace
JL
113282013-04-27 Juri Linkov <juri@jurta.org>
11329
11330 * desktop.el (desktop-auto-save-timeout): New option.
11331 (desktop-file-checksum): New variable.
11332 (desktop-save): Add optional arg `auto-save' and don't auto-save
11333 if nothing changed.
11334 (desktop-auto-save-timer): New variable.
11335 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11336 (after-init-hook): Call `desktop-auto-save-set-timer'.
11337 Suggested by Reuben Thomas <rrt@sc3d.org> in
11338 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11339
b7260dd4
LL
113402013-04-27 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/octave.el (octave-function-file-p)
11343 (octave-skip-comment-forward, octave-function-file-comment)
11344 (octave-update-function-file-comment): New functions.
11345 (octave-mode-map): Bind C-c ; to
11346 octave-update-function-file-comment.
11347 (octave-mode-menu): Add octave-update-function-file-comment.
11348 (octave-mode, inferior-octave-mode): Fix doc-string.
11349 (octave-insert-defun): Conform to Octave's coding convention.
11350 (Bug#14285)
11351
11352 * files.el (basic-save-buffer): Don't let errors in
11353 before-save-hook prevent saving buffer.
11354
c46da669
RW
113552013-04-20 Roland Winkler <winkler@gnu.org>
11356
11357 * faces.el (read-face-name): Use completing-read if arg multiple
11358 is nil.
11359
a81ee1eb
IL
113602013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11361
11362 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11363 displayed, move point to after the totals line.
11364 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11365 for the details.
11366
4fac34ce
SM
113672013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11370 Add current dir to the load-path.
11371 (package-generate-autoloads): Don't rely on
11372 autoload-ensure-default-file.
11373
f6bfc063
RT
113742013-04-26 Reuben Thomas <rrt@sc3d.org>
11375
d40ab5cf
BG
11376 * textmodes/remember.el (remember-store-in-files): Document that
11377 the file name format is passed to `format-time-string'.
f6bfc063 11378
e55d3b04
LL
113792013-04-26 Leo Liu <sdl.web@gmail.com>
11380
11381 * progmodes/octave.el (octave-sync-function-file-names): New function.
11382 (octave-mode): Use it in before-save-hook.
11383
e53052d3
SM
113842013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11385
140ef50c
SM
11386 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11387 (bug#14274).
11388
e53052d3
SM
11389 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11390 \n and comment, even if it's not an implicit ; (bug#14218).
11391
af80458d 113922013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11393
11394 * subr.el (read-number): Once more use `read' rather than
11395 `string-to-number', to trap non-numeric input. (Bug#14254)
11396
af80458d 113972013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11398
11399 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11400 Use `syntax-multiline' text property consistently instead of
8a621d53 11401 `font-lock-multiline'. (Bug#14237)
70203c2e 11402
e6ea1f6c
GM
114032013-04-26 Glenn Morris <rgm@gnu.org>
11404
11405 * emacs-lisp/shadow.el (list-load-path-shadows):
11406 No longer necessary to check for duplicate simple.el, since
11407 2012-07-07 change to init_lread to not include installation lisp
11408 directories in load-path when running uninstalled. (Bug#14270)
11409
070ccca4
LL
114102013-04-26 Leo Liu <sdl.web@gmail.com>
11411
11412 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11413 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11414 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11415 octave-in-string-or-comment-p.
11416 (octave-in-comment-p, octave-in-string-p)
11417 (octave-in-string-or-comment-p): Replace defsubst with defun.
11418
9d1c5fb6
PE
114192013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11420
11421 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11422
c034abda
BG
114232013-04-25 Bastien Guerry <bzg@gnu.org>
11424
11425 * textmodes/remember.el (remember-data-directory)
11426 (remember-directory-file-name-format): Fix custom types.
11427
584ea277
LL
114282013-04-25 Leo Liu <sdl.web@gmail.com>
11429
e53052d3
SM
11430 * progmodes/octave.el (octave-completion-at-point-function):
11431 Make use of inferior octave process.
584ea277
LL
11432 (octave-initialize-completions): Remove.
11433 (inferior-octave-completion-table): New function.
11434 (inferior-octave-completion-at-point): Use it.
11435 (octave-completion-alist): Remove.
11436
1693b06a
SM
114372013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11440 (opascal-mode-syntax-table): New var.
11441 (opascal-literal-kind, opascal-is-literal-end)
11442 (opascal-literal-token-at): Rewrite.
11443 (opascal--literal-start-re, opascal-font-lock-keywords)
11444 (opascal--syntax-propertize): New constants.
11445 (opascal-font-lock-defaults): Adjust.
11446 (opascal-mode): Use them. Set comment-<foo> variables as well.
11447 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11448 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11449 (delphi-other-face, opascal-other-face): Remove face variables.
11450 (opascal-save-state): Remove macro.
11451 (opascal-fontifying-progress-step): Remove constant.
11452 (opascal--ignore-changes): Remove var.
11453 (opascal-set-token-property, opascal-parse-next-literal)
11454 (opascal-is-stable-literal, opascal-complete-literal)
11455 (opascal-is-literal-start, opascal-face-of)
11456 (opascal-parse-region, opascal-parse-region-until-stable)
11457 (opascal-fontify-region, opascal-after-change)
11458 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11459 (opascal-debug-parse-region, opascal-debug-parse-window)
11460 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11461 (opascal-debug-fontify-buffer): Remove.
11462 (opascal-debug-mode-map): Adjust accordingly.
11463
be64c05d
LL
114642013-04-25 Leo Liu <sdl.web@gmail.com>
11465
11466 Merge octave-mod.el and octave-inf.el into octave.el with some
11467 cleanups.
11468 * progmodes/octave.el: New file renamed from octave-mod.el.
11469 * progmodes/octave-inf.el: Merged into octave.el.
11470 * progmodes/octave-mod.el: Renamed to octave.el.
11471
d79d37bd
TH
114722013-04-25 Tassilo Horn <tsdh@gnu.org>
11473
11474 * textmodes/reftex-vars.el
11475 (reftex-label-ignored-macros-and-environments): New defcustom.
11476
11477 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11478
ced3fc5d
SM
114792013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11482 (smie-indent-keyword): Improve the check to ensure that the next
11483 comment is really on the same line.
11484 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11485
11486 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11487 semi-colons if the line is not otherwise empty (bug#14218).
11488
1c141dad
GM
114892013-04-25 Glenn Morris <rgm@gnu.org>
11490
11491 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11492
5058062a
SM
114932013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * progmodes/opascal.el (opascal-set-token-property): Rename from
11496 opascal-set-text-properties and only set `token' (bug#14134).
11497 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11498 (opascal-literal-text-properties): Remove.
11499 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11500 Adjust callers.
11501
5db9dace 115022013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11503
11504 * textmodes/remember.el (remember-handler-functions): Add an
11505 option for a new handler `remember-store-in-files'.
11506 (remember-data-directory, remember-directory-file-name-format):
11507 New options.
11508 (remember-store-in-files): New function to store remember notes
11509 as separate files within a directory.
11510
4391916c
MH
115112013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11512
11513 * progmodes/compile.el (compilation-next-error-function):
11514 Pass "formats" to compilation-find-file (bug#11777).
11515
bb7cdf58
GM
115162013-04-24 Glenn Morris <rgm@gnu.org>
11517
3b8fe752 11518 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11519 * vc/vc-hg.el (vc-hg-print-log):
11520 * vc/vc-svn.el (vc-svn-print-log):
11521 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11522
bb7cdf58
GM
11523 * vc/vc-bzr.el (vc-bzr-print-log):
11524 * vc/vc-cvs.el (vc-cvs-print-log):
11525 * vc/vc-git.el (vc-git-print-log):
11526 * vc/vc-hg.el (vc-hg-print-log):
11527 * vc/vc-mtn.el (vc-mtn-print-log):
11528 * vc/vc-rcs.el (vc-rcs-print-log):
11529 * vc/vc-sccs.el (vc-sccs-print-log):
11530 * vc/vc-svn.el (vc-svn-print-log):
11531 * vc/vc.el (vc-print-log-internal): Doc fixes.
11532
b46a056e
GM
115332013-04-23 Glenn Morris <rgm@gnu.org>
11534
11535 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11536 Remove venerable code attempting to avoid substitute-command-keys.
11537
0aecf718
TH
115382013-04-23 Tassilo Horn <tsdh@gnu.org>
11539
4391916c
MH
11540 * textmodes/reftex-vars.el (reftex-label-regexps):
11541 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11542
117f94cf
SM
115432013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11544
4391916c 11545 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11546 Use lexical-binding.
11547 (jit-lock-force-redisplay): Use markers, check buffer's continued
11548 existence and beware narrowed buffers.
11549 (jit-lock-fontify-now): Adjust call accordingly.
11550
1d829c64
SM
115512013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11554 to avoid misleading the user.
11555
72d548a9
LL
115562013-04-22 Leo Liu <sdl.web@gmail.com>
11557
11558 * info-look.el: Prefer latex2e.info. (Bug#14240)
11559
d0853629
MA
115602013-04-22 Michael Albinus <michael.albinus@gmx.de>
11561
11562 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11563
11564 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11565 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11566 (tramp-set-completion-function, tramp-parse-putty):
11567 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11568 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11569 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11570 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11571 (tramp-call-local-coding-command): Use `tramp-call-process'
11572 instead of `tramp-compat-call-process'.
11573
11574 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11575 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11576 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11577 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11578 (tramp-maybe-send-script): Check for Perl binary.
11579 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11580
38cc0210
DU
115812013-04-22 Daiki Ueno <ueno@gnu.org>
11582
11583 * epg.el (epg-context-pinentry-mode): New function.
11584 (epg-context-set-pinentry-mode): New function.
11585 (epg--start): Pass --pinentry-mode option to gpg command.
11586
cc641ee1
XF
115872013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11588
02d844b5 11589 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11590 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11591 `completion-at-point'. (Bug#13774)
5d4e5c31 11592
cc641ee1
XF
11593 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11594 default key binding for `describe-distribution' has been moved to
11595 `C-h C-o'. (Bug#13970)
11596
1b42ee43
GM
115972013-04-21 Glenn Morris <rgm@gnu.org>
11598
11599 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11600 Add doc strings.
11601 (vc-print-log): Clarify interactive prompt.
11602
a6d63d97
GM
116032013-04-20 Glenn Morris <rgm@gnu.org>
11604
11605 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11606 No longer include timestamp etc information.
11607
d7f5c16f
RW
116082013-04-20 Roland Winkler <winkler@gnu.org>
11609
11610 * faces.el (read-face-name): Bug fix, return just one face if arg
11611 multiple is nil. (Bug#14209)
11612
bcd7a0a4
SM
116132013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11616 (remove-function): Autoload.
11617
11618 * comint.el (comint-redirect-original-filter-function): Remove.
11619 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11620 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11621 (vc-cvs-annotate-command):
bcd7a0a4
SM
11622 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11623 * progmodes/prolog.el (prolog-consult-compile):
11624 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11625 Use add/remove-function instead.
11626 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11627 (gud-tooltip-process-output, gud-tooltip-tips):
11628 Use add/remove-function instead.
11629 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11630 (scheme-interaction-mode, exit-scheme-interaction-mode):
11631 Use add/remove-function instead.
11632
11633 * vc/vc-dispatcher.el: Use lexical-binding.
11634 (vc--process-sentinel): Rename from vc-process-sentinel.
11635 Change last arg to be the code to run. Don't use vc-previous-sentinel
11636 and vc-sentinel-commands any more.
11637 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11638 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11639
e36b2d20 116402013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11641
bcd7a0a4 11642 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11643 Handle function names with a single character. (Bug#14111)
4d3268ba 11644
781b4af6 116452013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11646
11647 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11648 for subroutines defined in an eval (bug#14182).
11649
7d688336
TV
116502013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11651
11652 * bookmark.el (bookmark-completing-read): Improve handling of empty
11653 string (bug#14176).
11654
31dcede0
SM
116552013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11658
adc31213
FEG
116592013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11660
11661 New faster Imenu implementation (bug#14058).
11662 * progmodes/python.el:
11663 (python-imenu-prev-index-position):
11664 (python-imenu-format-item-label-function)
11665 (python-imenu-format-parent-item-label-function)
11666 (python-imenu-format-parent-item-jump-label-function):
11667 New vars.
11668 (python-imenu-format-item-label)
11669 (python-imenu-format-parent-item-label)
11670 (python-imenu-format-parent-item-jump-label)
11671 (python-imenu--put-parent, python-imenu--build-tree)
11672 (python-imenu-create-index, python-imenu-create-flat-index)
11673 (python-util-popn): New functions.
11674 (python-mode): Set imenu-create-index-function to
11675 python-imenu-create-index.
11676
cdca8255
SM
116772013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * winner.el (winner-active-region): Use region-active-p, activate-mark
11680 and deactivate-mark (bug#14225).
11681
11682 * simple.el (deactivate-mark): Don't inline it.
11683
beb42340
MA
116842013-04-18 Michael Albinus <michael.albinus@gmx.de>
11685
11686 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11687
fc7f4d7e
TH
116882013-04-18 Tassilo Horn <tsdh@gnu.org>
11689
11690 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11691 file extensions from the archive-mode entry in order to prefer
11692 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11693
29f47822
LL
116942013-04-18 Leo Liu <sdl.web@gmail.com>
11695
11696 * bindings.el (help-event-list): Add ?\?.
11697
d36ed1c8
SM
116982013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * subr.el (with-wrapper-hook): Declare obsolete.
11701 * simple.el (filter-buffer-substring-function): New hook.
11702 (filter-buffer-substring): Use it.
11703 (filter-buffer-substring-functions): Mark obsolete.
11704 * minibuffer.el (completion-in-region-function): New hook.
11705 (completion-in-region): Use it.
11706 (completion-in-region-functions): Mark obsolete.
11707 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11708 * abbrev.el (abbrev-expand-function): New hook.
11709 (expand-abbrev): Use it.
11710 (abbrev-expand-functions): Mark obsolete.
11711 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11712 and :filter-return.
11713
04754d36
FEG
117142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11715
11716 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11717 and do not care about match data.
11718
dd8791e9
SM
117192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11722 completion tables when completing error conditions and
11723 `declare' arguments.
11724 (lisp-complete-symbol, field-complete): Mark as obsolete.
11725 (check-parens): Unmatched parens are user errors.
11726 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11727
ffe54a13
AM
117282013-04-17 Michal Nazarewicz <mina86@mina86.com>
11729
dd8791e9
SM
11730 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11731 command changed buffer (ie. `flyspell-pre-buffer' is not current
11732 buffer), which prevents making decisions based on invalid value of
11733 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11734 cause an error when `flyspell-pre-point' was nil after switching
11735 buffers.
11736 (flyspell-post-command-hook): No longer needs to change buffers when
11737 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11738
ec7e39f2
AM
117392013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11740
11741 * textmodes/ispell.el (ispell-add-per-file-word-list):
11742 Fix `flyspell-correct-word-before-point' error when accepting
11743 words and `coment-padding' is an integer by using
11744 `comment-normalize-vars' (Bug #14214).
11745
083850a6
FEG
117462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11747
11748 New defun movement commands.
11749 * progmodes/python.el (python-nav--syntactically)
11750 (python-nav--forward-defun, python-nav-backward-defun)
11751 (python-nav-forward-defun): New functions.
11752
619ed6e1
FEG
117532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11754
11755 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11756 (python-syntax-context): Use named compiler-macro for backwards
11757 compatibility with Emacs 24.x.
11758
7a1beb6c
LL
117592013-04-17 Leo Liu <sdl.web@gmail.com>
11760
11761 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11762 octave-hide-process-buffer.
11763
2d3fa3e5
SM
117642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11767 (bug#14216).
11768
7ce5be54
JPG
117692013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11770
11771 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11772 Fix adjustment of offset when receiving incomplete responses from GDB
11773 (bug#14129).
11774
351edece
SM
117752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11778 python-mode-abbrev-table.
11779 (python-skeleton-define): Adjust accordingly.
11780 (python-mode-abbrev-table): New table that inherits from it so that
11781 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11782
11783 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11784 (abbrev-symbol): Use it.
11785 (abbrev--before-point): Use it since we already handle inheritance.
11786
613f9481
LL
117872013-04-16 Leo Liu <sdl.web@gmail.com>
11788
11789 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11790 binding to info-lookup-symbol.
11791
51646b62
JB
117922013-04-16 Juanma Barranquero <lekktu@gmail.com>
11793
11794 * minibuffer.el (completion--twq-all):
11795 * term/ns-win.el (ns-initialize-window-system):
11796 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11797
efb3f01d
SM
117982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11799
36c0a301
SM
11800 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11801 global bindings.
11802
efb3f01d
SM
11803 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11804
fb549d64
DG
118052013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11806
11807 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11808 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11809 to nil.
11810 (ruby-end-of-defun): Remove the unused arg, change the docstring
11811 to reflect that this function is only used as the value of
11812 `end-of-defun-function'.
11813 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11814 to reflect an earlier change that beginning/end-of-defun functions
11815 jump between methods in a class definition, as well as top-level
11816 functions.
11817
21e8fe2f
SM
118182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * minibuffer.el (minibuffer-complete): Don't just scroll
11821 a *Completions* that's been iconified.
11822 (minibuffer-force-complete): Make sure repetitions do cycle when going
11823 through completion-in-region -> minibuffer-complete.
11824
20e527d0
AM
118252013-04-15 Alan Mackenzie <acm@muc.de>
11826
11827 Correct the placement of c-cpp-delimiters when there're #s not at
11828 col 0.
11829
11830 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11831 place a submatch around the #.
21e8fe2f
SM
11832 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11833 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11834 on the #, not BOL.
11835
dabefae5
SM
118362013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11839 (advice--member-p): New arg `name'.
11840 (advice--add-function, advice-member-p): Use it (bug#14202).
11841
85c9ab64
AM
118422013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11843
11844 Reformulate java imenu-generic-expression.
11845 The old expression contained ill formed regexps.
11846
11847 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11848 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11849 (cc-imenu-java-method-arg-regexp): New defconsts.
11850 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11851 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11852 handling of spaces in the regexp.
11853
0f821d99
AM
118542013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11855
11856 * textmodes/ispell.el (ispell-command-loop): Remove
11857 flyspell highlight of a word when ispell accepts it (bug #14178).
11858
eb922adf
MA
118592013-04-15 Michael Albinus <michael.albinus@gmx.de>
11860
11861 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11862 uses code from the previous `ange-ftp-run-real-handler'.
11863 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11864 only in case that function exist. This is needed for proper
11865 unloading of Tramp.
11866
4d9a0979
TH
118672013-04-15 Tassilo Horn <tsdh@gnu.org>
11868
11869 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11870
11871 * textmodes/reftex.el (reftex-compile-variables): Use it.
11872
a829b0dc
SM
118732013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11874
91e8293c
SM
11875 * files.el (normal-mode): Only use default major-mode if no other mode
11876 was specified.
11877
830aed4d
SM
11878 * emacs-lisp/trace.el (trace-values): New function.
11879
a829b0dc
SM
11880 * files.el: Allow : in local variables (bug#14089).
11881 (hack-local-variable-regexp): New var.
11882 (hack-local-variables-prop-line, hack-local-variables): Use it.
11883
7ae9f0fb
RW
118842013-04-13 Roland Winkler <winkler@gnu.org>
11885
11886 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11887 data before it gets modified by bibtex-beginning-of-entry.
11888
6646e848
RW
118892013-04-13 Roland Winkler <winkler@gnu.org>
11890
11891 * textmodes/bibtex.el (bibtex-url): Doc fix.
11892
118932013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11894
11895 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11896 does not visit a BibTeX file, exclude it from the list of buffers
11897 returned by bibtex-initialize.
11898
0aa3616e
SB
118992013-04-13 Stephen Berman <stephen.berman@gmx.net>
11900
11901 * window.el (split-window): Remove interactive form, since as a
11902 command this function is a special case of split-window-below.
11903 Correct doc string.
11904
011cddd6
RW
119052013-04-12 Roland Winkler <winkler@gnu.org>
11906
11907 * faces.el (read-face-name): Do not override value of arg default.
11908 Allow single faces and strings as default values. Remove those
11909 elements from return value that are not faces.
11910 (describe-face): Simplify.
11911 (face-at-point): New optional args thing and multiple so that this
11912 function can provide the same functionality previously provided by
11913 read-face-name.
11914 (make-face-bold, make-face-unbold, make-face-italic)
11915 (make-face-unitalic, make-face-bold-italic, invert-face)
11916 (modify-face, read-face-and-attribute): Use face-at-point.
11917
11918 * cus-edit.el (customize-face, customize-face-other-window)
11919 * cus-theme.el (custom-theme-add-face)
11920 * face-remap.el (buffer-face-set)
11921 * facemenu.el (facemenu-set-face): Use face-at-point.
11922
f24e0036
MA
119232013-04-12 Michael Albinus <michael.albinus@gmx.de>
11924
11925 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11926
da3cda2d
TH
119272013-04-10 Tassilo Horn <tsdh@gnu.org>
11928
11929 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11930 off leading { and trailing } from field values.
11931
15e54145
SM
119322013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11933
78ce603d
SM
11934 * emacs-lisp/timer.el (timer--check): New function.
11935 (timer--time, timer-set-function, timer-event-handler): Use it.
11936 (timer-set-idle-time): Simplify.
11937 (timer--activate): CSE.
11938 (timer-event-handler): Give more info in error message.
11939 (internal-timer-start-idle): New function, moved from C.
11940
15e54145
SM
11941 * mpc.el (mpc-proc): Add `restart' argument.
11942 (mpc-proc-cmd): Use it.
11943 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11944 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11945 less often.
11946
7144c627
MY
119472013-04-10 Masatake YAMATO <yamato@redhat.com>
11948
11949 * progmodes/sh-script.el: Implement `sh-mode' own
11950 `add-log-current-defun-function' (bug#14112).
11951 (sh-current-defun-name): New function.
11952 (sh-mode): Use the function.
11953
b39792eb
BG
119542013-04-09 Bastien Guerry <bzg@gnu.org>
11955
11956 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11957
8acdeb71
SM
119582013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11959
6fcdab68
SM
11960 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11961
8acdeb71
SM
11962 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11963 timer (bug#14156).
11964
e3e7b504
NF
119652013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11966
11967 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11968 declaration.
11969
201bb296
LL
119702013-04-07 Leo Liu <sdl.web@gmail.com>
11971
11972 * pcmpl-x.el: New file.
11973
ebb19708
DA
119742013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11975
11976 Do not set x-display-name until X connection is established.
11977 This is needed to prevent from weird situation described at
11978 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11979 * frame.el (make-frame): Set x-display-name after call to
11980 window system initialization function, not before.
11981 * term/x-win.el (x-initialize-window-system): Add optional
11982 display argument and use it.
11983 * term/w32-win.el (w32-initialize-window-system):
11984 * term/ns-win.el (ns-initialize-window-system):
11985 * term/pc-win.el (msdos-initialize-window-system):
11986 Add compatible optional display argument.
11987
33bb237a
EZ
119882013-04-06 Eli Zaretskii <eliz@gnu.org>
11989
11990 * files.el (normal-backup-enable-predicate): On MS-Windows and
11991 MS-DOS compare truenames of temporary-file-directory and of the
11992 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11993 don't fail comparison by compare-strings. Also, compare file
11994 names case-insensitively on MS-Windows and MS-DOS.
11995
134abf1f
SM
119962013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11999 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12000
d695cb94
DG
120012013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12002
e3e7b504
NF
12003 * whitespace.el (whitespace-color-on, whitespace-color-off):
12004 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12005
f4ad7ea1 120062013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12007
12008 * ispell.el (ispell-set-spellchecker-params):
12009 Really set `ispell-args' for all equivs.
12010
632556e4
SM
120112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 * ido.el (ido-completions): Use extra elements of ido-decorations
12014 (bug#14143).
12015 (ido-decorations): Update docstring.
12016
2a417372
MA
120172013-04-05 Michael Albinus <michael.albinus@gmx.de>
12018
12019 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12020 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12021 nil during initialization, in order not to miss changes since the
12022 file was opened. (Bug#14140)
12023
fc164b0c
LL
120242013-04-05 Leo Liu <sdl.web@gmail.com>
12025
12026 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12027
0ccecc08
JB
120282013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12029
12030 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12031
51af1aa2
GM
120322013-04-04 Glenn Morris <rgm@gnu.org>
12033
12034 * electric.el (electric-pair-inhibit-predicate): Add :version.
12035
b208ebc6
SM
120362013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12039 when a package is required several times (bug#14082).
12040
f3d3eaf0
RW
120412013-04-04 Roland Winkler <winkler@gnu.org>
12042
12043 * faces.el (read-face-name): Behave as promised by the docstring.
12044 Assume that arg default is a list of faces.
12045 (describe-face): Call read-face-name with list of default faces.
12046
2575da50
TV
120472013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12048
12049 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12050 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12051 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12052 the header.
12053 (bookmark-exit-hook-internal): Save even if list is empty.
12054
397703b4
YH
120552013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12056
12057 * emacs-lisp/package.el (package-pinned-packages): New var.
12058 (package--add-to-archive-contents): Obey it (bug#14118).
12059
691e26ae
AM
120602013-04-03 Alan Mackenzie <acm@muc.de>
12061
8a621d53
JB
12062 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12063 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12064
12065 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12066 parameter `not-in-delimiter'. Handle being inside comment opener.
12067 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12068 character in case we're typing a '*' after a '/'.
12069 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12070 instead by passing the parameter to c-state-pp-to-literal.
12071
12072 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12073 for elt. 7 of a parse state.
12074
4b725a70
PE
120752013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12076
12077 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12078 * international/latin1-disp.el, international/mule-util.el:
12079 * language/cyril-util.el, language/european.el, language/ind-util.el:
12080 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12081 * language/tibetan.el, language/viet-util.el:
12082 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12083
15c579f0
SM
120842013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12087 (electric-pair-post-self-insert-function): Use it.
12088 (electric-pair-default-inhibit): New function, extracted from
12089 electric-pair-post-self-insert-function.
12090
a77e2924
RW
120912013-03-31 Roland Winkler <winkler@gnu.org>
12092
12093 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12094
2bd8a4a8
SM
120952013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12098
8d3655be 120992013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12100
12101 Un-indent after "pass" and "return" statements (Bug#13888)
12102 * progmodes/python.el (python-indent-block-enders): New var.
12103 (python-indent-calculate-indentation): Use it.
12104
8d3655be 121052013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12106
12107 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12108 defun. Defining it as defalias could introduce too eager
12109 byte-compiler optimization. (Bug#14030)
12110
8d3655be 121112013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12112
12113 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12114
0b1619da
LL
121152013-03-30 Leo Liu <sdl.web@gmail.com>
12116
12117 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12118 (kmacro-execute-from-register): Pass the keyboard macro to
12119 kmacro-call-macro or repeating won't work correctly.
12120
0b938190
TZ
121212013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12122
12123 * progmodes/subword.el: Back to using `forward-symbol'.
12124
12125 * subr.el (forward-whitespace, forward-symbol)
12126 (forward-same-syntax): Move from thingatpt.el.
12127
35710234
LL
121282013-03-29 Leo Liu <sdl.web@gmail.com>
12129
12130 * kmacro.el (kmacro-to-register): New command.
12131 (kmacro-execute-from-register): New function.
12132 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12133
efc0bb73
SM
121342013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * mpc.el: Use defvar-local and setq-local.
12137 (mpc--proc-connect): Connection failures are not bugs.
12138 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12139 (mpc-volume-map): Bind to the up-events.
12140
75a2f981
TZ
121412013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12142
12143 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12144 instead of `forward-symbol'.
12145
17c781d1
SM
121462013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12149 (edebug--recursive-edit): Use it.
12150 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12151 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12152
f67bfbcf
LL
121532013-03-28 Leo Liu <sdl.web@gmail.com>
12154
12155 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12156
b59f639d
EZ
121572013-03-27 Eli Zaretskii <eliz@gnu.org>
12158
12159 * facemenu.el (list-colors-callback): New defvar.
12160 (list-colors-redisplay): New function.
12161 (list-colors-display): Install list-colors-redisplay as the
12162 revert-buffer-function. (Bug#14063)
12163
f557c1b1
SM
121642013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12165
b1da2957
SM
12166 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12167 and suffixes don't overlap (bug#14061).
12168
f557c1b1
SM
12169 * case-table.el: Use lexical-binding.
12170 (case-table-get-table): New function.
12171 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12172
002668e1
TZ
121732013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12174
12175 * progmodes/subword.el: Add `superword-mode' to do word motion
12176 over symbol_words (parallels and leverages `subword-mode' which
12177 does word motion inside MixedCaseWords).
12178
73572c72
AG
121792013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12180
78b8f320 12181 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12182 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12183
69b2c07e
SM
121842013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12187 Change return value to be a sexp. Delay `get-buffer' to after
12188 restoring the desktop (bug#13951).
12189
08bb5ee2
LL
121902013-03-26 Leo Liu <sdl.web@gmail.com>
12191
12192 * register.el: Move semantic tag handling back to
12193 cedet/semantic/senator.el. (Bug#14052)
12194
8d4c974e
SM
121952013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12198 into the prompt either (bug#13963).
12199
b234d92c
SM
122002013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12203 part of "(error-foo)".
12204
ddfa3cb4
JL
122052013-03-24 Juri Linkov <juri@jurta.org>
12206
12207 * replace.el (list-matching-lines-prefix-face): New defcustom.
12208 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12209 `occur-engine' if `face-differs-from-default-p' returns t.
12210 (occur-engine): Add `,' inside backquote construct to evaluate
12211 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12212 Pass `prefix-face' to the functions `occur-context-lines' and
12213 `occur-engine-add-prefix'.
12214 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12215 `prefix-face' and propertize the prefix with `prefix-face'.
12216 (Bug#14017)
12217
7b0e2f85
LL
122182013-03-24 Leo Liu <sdl.web@gmail.com>
12219
12220 * nxml/rng-valid.el (rng-validate-while-idle)
12221 (rng-validate-quick-while-idle): Guard against deleted buffer.
12222 (Bug#13999)
12223
12224 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12225 is the last entry in kill-buffer-hook.
12226
12227 * files.el (kill-buffer-hook): Doc fix.
12228
b3082f49
DG
122292013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12230
b234d92c
SM
12231 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12232 Make it safe-local.
bde73d27 12233
b3082f49
DG
12234 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12235
a320a2db
LL
122362013-03-23 Leo Liu <sdl.web@gmail.com>
12237
7e74b0fb
LL
12238 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12239 Remove.
12240
12241 * nxml/rng-valid.el (rng-validate-mode)
12242 (rng-after-change-function, rng-do-some-validation):
12243 * nxml/rng-maint.el (rng-validate-buffer):
12244 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12245 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12246 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12247 (nxml-extend-after-change-region): Use with-silent-modifications.
12248
a320a2db
LL
12249 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12250 timer-idle-list.
12251
12252 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12253 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12254 timer-idle-list. (Bug#13999)
12255
e38e6780
JL
122562013-03-23 Juri Linkov <juri@jurta.org>
12257
12258 * info.el (info-index-match): New face.
12259 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12260 main pattern and add text properties with the new face to matches
12261 in index entries relative to the beginning of the index entry.
12262 (Bug#14015)
12263
e8cc7880
DE
122642013-03-21 Eric Ludlam <zappo@gnu.org>
12265
39c87140 12266 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12267 Inhibit read only while inserting objects.
12268
9bb0d822
TZ
122692013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12270
12271 * progmodes/cfengine.el: Update docs to mention
12272 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12273 symbol motion. Remove "_" from the word syntax.
12274
aa703640
TZ
122752013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12276
12277 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12278 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12279
afff09d0
JL
122802013-03-20 Juri Linkov <juri@jurta.org>
12281
12282 * info.el (Info-next-reference-or-link)
12283 (Info-prev-reference-or-link): New functions.
12284 (Info-next-reference, Info-prev-reference): Use them.
12285 (Info-try-follow-nearest-node): Handle footnote navigation.
12286 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12287
9a1ff164
SM
122882013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12291 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12292
2667d15d
PE
122932013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12294
12295 Suppress unnecessary non-ASCII chatter during build process.
12296 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12297 (batch-skkdic-convert): Suppress most of the chatter.
12298 It's not needed so much now that machines are faster,
12299 and its non-ASCII component was confusing; see Dmitry Gutov in
12300 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12301
438b0579
LL
123022013-03-20 Leo Liu <sdl.web@gmail.com>
12303
12304 * ido.el (ido-chop): Fix bug#10994.
12305
c128ab07
DG
123062013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12307
12308 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12309 Remove vars.
9a1ff164
SM
12310 (whitespace-color-on, whitespace-color-off):
12311 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12312
0e6008c5
SM
123132013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12316 remapping in mode-line.
12317 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12318
627b52b0
DG
123192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12320
12321 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12322 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12323 (whitespace-font-lock-keywords): Change description.
12324 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12325 the constructed keywords instead.
12326 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12327
50c3a20b
LL
123282013-03-19 Leo Liu <sdl.web@gmail.com>
12329
12330 * progmodes/compile.el (compilation-display-error): New command.
12331 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12332 C-o. (Bug#13992)
12333
2aa2157b
PE
123342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12335
12336 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12337
e477dbfa
JD
123382013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12339
12340 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12341
64ab82d1
MA
123422013-03-18 Michael Albinus <michael.albinus@gmx.de>
12343
12344 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12345
12346 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12347 * net/tramp-gvfs.el (top):
12348 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12349 (tramp-handle-shell-command): Use it.
12350 (tramp-dissect-file-name): Raise an error when hostname is a
12351 method name, and neither method nor user is specified.
12352
12353 * net/trampver.el: Update release number.
12354
33cef733
LL
123552013-03-18 Leo Liu <sdl.web@gmail.com>
12356
12357 Make sure eldoc can be turned off properly.
12358 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12359 eldoc-mode.
12360 (eldoc-display-message-p): Revert last change.
12361 (eldoc-display-message-no-interference-p)
12362 (eldoc-print-current-symbol-info): Tweak.
12363
2167b7b2
TH
123642013-03-18 Tassilo Horn <tsdh@gnu.org>
12365
12366 * doc-view.el (doc-view-new-window-function): Check the new window
12367 overlay's display property instead the char property of the
12368 buffer's first char. Use `with-selected-window' instead of
12369 `save-window-excursion' with `select-window'.
12370 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12371 display property instead the char property of the buffer's first char.
2167b7b2 12372
982efbcd
PE
123732013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12374
12375 Automate the build of ja-dic.el (Bug#13984).
12376 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12377 from the input, rather than assume that it's been done for us by the
12378 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12379 the current date into a ja-dic.el comment, as that complicates
12380 regression testing.
12381
2fcc7665
SM
123822013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12383
12384 * whitespace.el: Fix double evaluation.
12385 (whitespace-space, whitespace-hspace, whitespace-tab)
12386 (whitespace-newline, whitespace-trailing, whitespace-line)
12387 (whitespace-space-before-tab, whitespace-indentation)
12388 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12389 obsolete defvars.
12390 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12391 (whitespace-color-on): Use a single font-lock-add-keywords call.
12392 Fix double-evaluation of face variables.
12393
67c0a6e6
MA
123942013-03-17 Michael Albinus <michael.albinus@gmx.de>
12395
2fcc7665
SM
12396 * net/tramp-adb.el (tramp-adb-parse-device-names):
12397 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12398 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12399
69489f1d
LL
124002013-03-17 Leo Liu <sdl.web@gmail.com>
12401
12402 Extend eldoc to display info in the mode-line. (Bug#13978)
12403 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12404 (eldoc-mode-line-string): New variable.
12405 (eldoc-minibuffer-message): New function.
12406 (eldoc-message-function): New variable.
12407 (eldoc-message): Use it.
12408 (eldoc-display-message-p)
2fcc7665
SM
12409 (eldoc-display-message-no-interference-p):
12410 Support eldoc-post-insert-mode.
69489f1d
LL
12411
12412 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12413 (eval-expression): Run it.
12414
9c44569e
RW
124152013-03-17 Roland Winkler <winkler@gnu.org>
12416
12417 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12418 strings in the list of return values.
12419
327f1f6f
JB
124202013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12421
12422 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12423 radix before checking for HMS forms.
12424
67ed8fcd
LL
124252013-03-16 Leo Liu <sdl.web@gmail.com>
12426
12427 * progmodes/scheme.el: Add indentation and font-locking for λ.
12428 (Bug#13975)
12429
78be8b64 124302013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12431
12432 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12433 token before point (bug#13942).
12434
78be8b64 124352013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12436
95b43468 12437 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12438
98e775e6
EZ
124392013-03-16 Eli Zaretskii <eliz@gnu.org>
12440
12441 * startup.el (command-line-normalize-file-name): Fix handling of
12442 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12443 <xfq.free@gmail.com> in
12444 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12445
2edd6029
MA
124462013-03-15 Michael Albinus <michael.albinus@gmx.de>
12447
12448 Sync with Tramp 2.2.7.
12449
12450 * net/trampver.el: Update release number.
12451
d35f5864
TH
124522013-03-14 Tassilo Horn <tsdh@gnu.org>
12453
e903c210 12454 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12455 (doc-view-insert-image): Don't modify overlay associated to
12456 non-live windows, and implement horizontal centering of image in
12457 case it's smaller than the window.
12458 (doc-view-new-window-function): Force redisplay of new windows on
12459 doc-view buffers.
d35f5864 12460
1c4a85ed
KF
124612013-03-13 Karl Fogel <kfogel@red-bean.com>
12462
12463 * saveplace.el (save-place-alist-to-file): Don't sort
12464 `save-place-alist', just pretty-print it (bug#13882).
12465
85b66a21
MA
124662013-03-13 Michael Albinus <michael.albinus@gmx.de>
12467
a020afb9
JB
12468 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12469 Check whether `default-file-name-coding-system' is bound.
12470 It isn't in XEmacs.
85b66a21 12471
175600da
SM
124722013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12473
e7f7cb1a
SM
12474 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12475 backquotes for `obsolete' (bug#13929).
12476
175600da
SM
12477 * international/mule.el (find-auto-coding): Include file name in
12478 obsolescence warning (bug#13922).
12479
ca68a22e
TZ
124802013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12481
12482 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12483 for CFEngine 3-specific indentation.
12484 (cfengine3-indent-line): Use it. Fix up category regex.
12485 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12486
940e5099
SM
124872013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * type-break.el (type-break-file-name):
12490 * textmodes/remember.el (remember-data-file):
12491 * strokes.el (strokes-file):
12492 * shadowfile.el (shadow-initialize):
12493 * saveplace.el (save-place-file):
12494 * ps-bdf.el (bdf-cache-file):
12495 * progmodes/idlwave.el (idlwave-config-directory):
12496 * net/quickurl.el (quickurl-url-file):
12497 * international/kkc.el (kkc-init-file-name):
12498 * ido.el (ido-save-directory-list-file):
12499 * emulation/viper.el (viper-custom-file-name):
12500 * emulation/vip.el (vip-startup-file):
12501 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12502 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12503
cc725808
PE
125042013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12505
12506 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12507 * language/thai-word.el: Switch to UTF-8.
12508
a020afb9 12509See ChangeLog.16 for earlier changes.
e3d51b27
MR
12510
12511;; Local Variables:
12512;; coding: utf-8
e3d51b27
MR
12513;; End:
12514
ba318903 12515 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12516
12517 This file is part of GNU Emacs.
12518
12519 GNU Emacs is free software: you can redistribute it and/or modify
12520 it under the terms of the GNU General Public License as published by
12521 the Free Software Foundation, either version 3 of the License, or
12522 (at your option) any later version.
12523
12524 GNU Emacs is distributed in the hope that it will be useful,
12525 but WITHOUT ANY WARRANTY; without even the implied warranty of
12526 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12527 GNU General Public License for more details.
12528
12529 You should have received a copy of the GNU General Public License
12530 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.