* vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fed00072
MA
12013-02-07 Michael Albinus <michael.albinus@gmx.de>
2
3 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
4 be nil. Handle this. (Bug#13636)
5
469c5a60
RS
62013-02-07 Richard Stallman <rms@gnu.org>
7
8 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
9 `save-buffer-coding-system'.
10
8c4b24b2 112013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 12
8c4b24b2 13 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
14 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
15 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
16 (c-append-lower-brace-pair-to-state-cache):
17 Extra parameter HERE instead of narrowing.
18 Widen to top of buffer before searching backwards for a brace pair.
19 (c-state-push-any-brace-pair): Add HERE parameter to function call.
20 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
21 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
22 (c-remove-stale-state-cache): Extra parameter HERE in place of
23 narrowing. Check there's an open brace in the cache before
24 searching for its match.
25 (c-invalidate-state-cache-1): Add HERE parameter to function call.
26 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
27 instead passing extra parameter HERE to several functions.
28 Remove 'BOD strategy.
d23b0804 29
55b056ba
NR
302013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
31
32 * emacs-lisp/package.el (describe-package-1): Tell what archive is
33 used to install the package.
34
e86762ec
GM
352013-02-06 Glenn Morris <rgm@gnu.org>
36
5fd03926
GM
37 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
38 if we can't get user input. (Bug#6567)
39
e86762ec
GM
40 * startup.el (command-line): If simple.el is missing,
41 test and warn about for some possible causes.
42
6871e574
JD
432013-02-05 Jan Djärv <jan.h.d@swipnet.se>
44
45 * cus-start.el (all): Add ns-use-native-fullscreen.
46
3505fa02
GM
472013-02-05 Glenn Morris <rgm@gnu.org>
48
ed746aa7
GM
49 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
50
3505fa02
GM
51 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
52 Fix directory creation in fallback case.
53
50fdf399
TV
542013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
55
56 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
57 (vc-update-change-log): Use dolist.
58
6e5c1569
CY
592013-02-04 Chong Yidong <cyd@gnu.org>
60
61 * thingatpt.el: Rewrite the URL detection routines, absorbing some
62 code from ffap.el.
63 (thing-at-point-beginning-of-url-regexp): New var.
64 (thing-at-point-uri-schemes): Update list of URI schemes.
65 (thing-at-point-url-regexp): Variable deleted.
66 (thing-at-point-markedup-url-regexp): Disallow newlines.
67 (thing-at-point-newsgroup-regexp)
68 (thing-at-point-newsgroup-heads)
69 (thing-at-point-default-mail-uri-scheme): New variables.
70 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
71 method to find the possible bounds of the URI at point.
72 New optional argument to find ill-formed URIs.
6e5c1569
CY
73 (thing-at-point-url-at-point): Rewrite. New arguments for finding
74 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
75 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
76 (thing-at-point--bounds-of-well-formed-url): New function.
77 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
78 (Bug#9153).
79
80 * ffap.el: Require thingatpt.
81 (ffap-url-at-point): Delegate URI detection to thing-at-point.
82 All URI-valid characters are now recognized (Bug#5673).
83 (ffap-string-at-point): Use use-region-p.
84 (ffap-url-regexp): Extra character is handled by thing-at-point.
85 (ffap-string-at-point-mode-alist): Allow parentheses.
86 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
87 Convert to aliases; code moved to thingatpt.el.
88 (ffap-gnus-hook): Use setq-local.
89
84a06b50
GM
902013-02-04 Glenn Morris <rgm@gnu.org>
91
92 * emacs-lisp/ert.el (ert--explain-format-atom):
93 Don't try to print non-characters as characters. (Bug#13543)
94
5870b2b1
MA
952013-02-03 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp.el (tramp-debug-message): Extend function exclude list.
98 (tramp-backtrace): New defun.
99 (tramp-handle-insert-file-contents): Use `visit' when inserting
100 the local copy.
101
50fdf399
TV
102 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
103 Use `remote-file-name-inhibit-cache'.
5870b2b1 104
659a9010
SM
1052013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
106
4813c453
SM
107 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
108 (bug#13614).
109
659a9010
SM
110 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
111 current-load-list (bug#13366).
112
35114711
CS
1132013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
114
115 * progmodes/compile.el (compilation-error-regexp-alist-alist):
116 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
117 (compilation-mode-hook, compilation-start-hook)
118 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 119
94fbc901 1202013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
121
122 * mouse.el (mouse-drag-track): Always deactivate the mark before
123 running the final event's command since that command is in charge of
124 activating the mark if needed (bug#13523).
125
94fbc901 1262013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
127
128 * replace.el (perform-replace): Move let-bindings of isearch-*
129 variables deeper to the loop that searches for the next match.
130 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
131 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
132 (Bug#13579)
133
134 * isearch.el (isearch-search-fun-default): Check for null
135 first element of isearch-cmds as a precaution when it's used
136 with inactive isearch.
137
94fbc901 1382013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
139
140 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
141 error when buffer in question is narrowed so position 1 is out of
142 visible part.
143
94fbc901 1442013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
145
146 * textmodes/remember.el (remember-clipboard): Doc fix.
147
94fbc901 1482013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
149
150 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
151 properties (bug#13179).
152
98da8c0f
JL
1532013-02-02 Juri Linkov <juri@jurta.org>
154
155 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
156 instead of hard-coded default face `match'. (Bug#9438)
157
7b6d5ecf
CS
1582012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
159
af314ba0
CS
160 * vc/vc-arch.el (vc-arch-registered):
161 * vc/vc-bzr.el (vc-bzr-registered):
162 * vc/vc-cvs.el (vc-cvs-registered):
163 * vc/vc-git.el (vc-git-registered):
164 * vc/vc-hg.el (vc-hg-registered):
165 * vc/vc-mtn.el (vc-mtn-registered):
166 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
167 (Bug#13139)
168
7b6d5ecf
CS
169 * info.el (Info-next-reference, Info-prev-reference): Add numeric
170 prefix argument. (Bug#11656)
171
686d9fb6
SM
1722013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
175
48c828b9
GM
1762013-02-01 Glenn Morris <rgm@gnu.org>
177
1f4f0f46
GM
178 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
179 if the backend is known not to support it.
180
48c828b9
GM
181 * imenu.el (imenu-default-create-index-function):
182 Tweak infinite loop test to check for forward motion as well as none.
183
cd87ae10
AH
1842013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
185
186 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
187 `url-request-data' as UTF-8.
188 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 189
86e100a6
GM
1902013-02-01 Glenn Morris <rgm@gnu.org>
191
192 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
193
0eb61895
GM
194 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
195
61642d9a
MA
1962013-01-31 Michael Albinus <michael.albinus@gmx.de>
197
198 * net/tramp.el (tramp-tramp-file-p): Comment check for
199 `string-as-unibyte'. The function does not exist on XEmacs, and
200 likely we need another approach.
201
202 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
203 `tramp-gw-*' variables are bound.
204
9dbda100
GM
2052013-01-31 Glenn Morris <rgm@gnu.org>
206
207 * files.el (basic-save-buffer-2): Choose coding system for
208 writing the file before backing it up, to reduce delay between
209 backing up and writing the new version. (Bug#13522)
210
ad4de702
MN
2112013-01-31 Michal Nazarewicz <mina86@mina86.com>
212
213 * simple.el (cycle-spacing): New command.
214 (just-one-space): Use it.
215
9ca243c6
SM
2162013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
217
c4f268a1
SM
218 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
219 (opascal-newline-always-indents): Remove custom.
220 (opascal-tab, opascal-newline): Remove commands.
221 (opascal-new-comment-line): Insert "\n" instead of calling newline.
222 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
223 (opascal-save-match-data): Remove, use save-match-data instead.
224 (opascal-save-state): Use with-silent-modifications.
225
9ca243c6
SM
226 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
227 (bug#13585).
228
64ced394
JL
2292013-01-30 Juri Linkov <juri@jurta.org>
230
231 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
232 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
233 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
234
c56d2269
SM
2352013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
238 column if we're just deleting the backslashes.
239 (makefile-fill-paragraph): Use eolp.
240
382936d1
MA
2412013-01-30 Michael Albinus <michael.albinus@gmx.de>
242
243 * autorevert.el (auto-revert-use-notify): Fix docstring.
244
dd331297
LL
2452013-01-30 Leo Liu <sdl.web@gmail.com>
246
686d9fb6 247 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 248
c491dd70
GM
2492013-01-30 Glenn Morris <rgm@gnu.org>
250
251 * mouse.el (mouse-drag-line): Avoid pushing same event onto
252 unread-command-events twice in some cases. This tries to implement
253 the 2012-07-26 changes in a different way. (Bug#13560)
254
6ff930c3
FEG
2552013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
256
257 * progmodes/python.el
258 (python-pdbtrack-comint-output-filter-function): Enhancements on
259 stacktrace detection. (thanks @gnovak)
260
1d4e7225
SM
2612013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
264 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
265 Use defvar-local.
266 (jit-lock-register): Use setq-local.
267
7c3fb76f
JB
2682013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
269
270 * calc-units.el (math-default-units-table): Remove initial value.
271 (calc-convert-units): Treat expressions where all the units cancel as
272 if they didn't have units.
273
8bc8712e
MA
2742013-01-30 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp.el (tramp-process-connection-type): Fix docstring.
277 (tramp-completion-reread-directory-timeout): Fix type.
278 (tramp-connection-min-time-diff): New defcustom.
279
280 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
281
1886a16d
GM
2822013-01-30 Glenn Morris <rgm@gnu.org>
283
284 * imenu.el (imenu-default-create-index-function):
285 Put back a version of the infinite loop test removed 2013-01-23.
286
3f82a88a 2872013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 288
1d4e7225
SM
289 * progmodes/python.el (python-shell-parse-command):
290 Find python-shell-interpreter with modified environment.
e4497086 291
3f82a88a 2922013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
293
294 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
295
953e5b8c
AM
2962013-01-29 Alan Mackenzie <acm@muc.de>
297
298 Amend to fontify /regexp/s in actions correctly.
299 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 300 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
301 are no longer included.
302 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
303 What used to be these variables without "-line" in the name.
686d9fb6 304 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
305 (c-awk-non-arith-op-bra-re): Now also matches {.
306 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
307 "return", and "case".
308 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
309 by /.
310 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 311 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 312
1b69262a
MA
3132013-01-29 Michael Albinus <michael.albinus@gmx.de>
314
1d4e7225
SM
315 * autorevert.el (auto-revert-use-notify):
316 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 317
1b69262a
MA
318 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
319
1d4e7225
SM
320 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
321 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 322 in `tramp-file-name-handler'.
ea55064c
MA
323 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
324 compatibility.
325 (tramp-compute-multi-hops): Check, whether
326 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 327
b2dc4f52
SM
3282013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
331 (bug#13297).
332
499572e4
DG
3332013-01-27 Dmitry Gutov <dgutov@yandex.ru>
334
335 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
336 checks made superfluous by the \_< operator.
a324b8c7
DG
337 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
338 temporarily) broken indentation.
b2dc4f52
SM
339 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
340 Highlight nested constants, too. \_< broke that.
499572e4
DG
341
3422013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
343
344 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
345 instead of "\\b".
346
629cb6ec
MA
3472013-01-27 Michael Albinus <michael.albinus@gmx.de>
348
349 * autorevert.el (auto-revert-handler): Notifications which result
350 from a saved file shall not be taken into account. (Bug#13557)
351
cc17363f
AS
3522013-01-26 Andreas Schwab <schwab@linux-m68k.org>
353
354 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
355 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
356 (lisp-mode): Pass t for it. (Bug#13556)
357
b7aea0ff
AM
3582013-01-25 Alan Mackenzie <acm@muc.de>
359
360 AWK Mode: Fix indentation bug at top level. Bug #12274.
361
362 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
363 just before CASE 5D.
364
1314a64c
DA
3652013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
366
367 * net/socks.el (socks-nslookup-host): Use string-to-number.
368
ef3544f6
MA
3692013-01-25 Michael Albinus <michael.albinus@gmx.de>
370
371 * autorevert.el (auto-revert-remote-files)
372 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
373 (auto-revert-notify-enabled, auto-revert-use-notify)
374 (auto-revert-notify-watch-descriptor-hash-list)
375 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
376 (auto-revert-notify-event-descriptor)
377 (auto-revert-notify-event-action)
378 (auto-revert-notify-event-file-name): Doc fix.
379 (global-auto-revert-mode): Reorder checks.
380 (auto-revert-notify-rm-watch): Respect changed values of
381 `auto-revert-notify-watch-descriptor-hash-list'.
382 (auto-revert-notify-add-watch): Check for
383 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
384 `inotify-add-watch'. Watch `default-directory' instead of
385 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
386 has a changed meaning now. (Bug#13540)
387 (auto-revert-notify-handler): Change implementation wrt events
388 returning from a directory.
389 (auto-revert-handler): Reorder implementation for checks of remote
390 files.
391 (auto-revert-buffers): Fix parentheses error.
392
830e46e6 3932013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
394
395 * progmodes/python.el: Enhancements to header documentation about
396 skeletons. (Bug#5716)
397
ddc62155
FEG
398 * imenu.el (imenu-default-create-index-function): Remove useless
399 infinite loop check. (Bug#13438)
400
830e46e6 4012013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
402
403 Fix a bug in the state cache mechanism. Refactor this a bit.
404
405 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
406 `cache-pos' element from the return value.
407 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
408 buffer to enable proper searching from beyond HERE. Amend the
409 test for detecting the sought brace pair. Amend the value written
410 to the "brace desert cache" when the brace isn't found.
411 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
412 and several other variables analogously.
413 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
414 parameter to a locally calculated variable.
415 (c-parse-state-1): Change the calling conventions to the two
416 defuns involving `cache-pos'.
417
830e46e6 4182013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
419
420 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
421
3d4147ba
BG
4222013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
423
424 * paren.el (show-paren-function): Make sure to set 'priority and
425 'face only if the overlay does exist.
426
e1ffa412
MA
4272013-01-24 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
430
431 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
432 basic attributes.
433 (tramp-sh-handle-set-file-acl): Improve error checking.
434
5ad86e34
DA
4352013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
436
437 * doc-view.el (doc-view-display): Force mode line update until all
438 document is converted. Suggested by Stefan Monnier (Bug#13164).
439
d6f9c03f
BG
4402013-01-23 Bastien Guerry <bzg@gnu.org>
441
442 * paren.el (show-paren-function): Make sure an overlay exists
443 before trying to delete it. Also use `pos' as a position only
444 when it is an integer.
445
3544e11a
DA
4462013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
447
448 * play/gametree.el (gametree-break-line-here): Use point-marker.
449
19b50424
MA
4502013-01-22 Michael Albinus <michael.albinus@gmx.de>
451
b2dc4f52
SM
452 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
453 Mark descriptive parts with `display' property.
19b50424 454
7fd5a843
AM
4552013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
456
457 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
458 New variable to map standard dict names to hunspell ones.
459 (ispell-set-spellchecker-params): Make sure specific dict names
460 are used for standard dicts with hunspell.
461
e6aff855
TH
4622013-01-21 Tassilo Horn <tsdh@gnu.org>
463
464 * textmodes/reftex-cite.el (reftex-format-citation): Add format
465 chars for note (%N) and url (%U).
466 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
467
c84b0881
JL
4682013-01-21 Juri Linkov <juri@jurta.org>
469
470 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
471 in addition to existing separate binding `meta f10' in `global-map'.
472 (Bug#13484)
473
a36e2d26
MA
4742013-01-21 Michael Albinus <michael.albinus@gmx.de>
475
476 Improve XEmacs compatibility.
477
478 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
479
480 * net/tramp-adb.el (top): Require `time-date'.
481 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
482 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
483 Use `tramp-file-name-handler'.
484 (tramp-adb-maybe-open-connection):
485 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 486
b2dc4f52
SM
487 * net/tramp-sh.el (tramp-sh-handle-file-acl):
488 Use `tramp-compat-funcall'.
a36e2d26
MA
489
490 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
491 `tramp-compat-funcall'.
492
88c7dfa3
JH
4932013-01-21 Jürgen Hötzel <juergen@archlinux.org>
494
495 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
496 reimplementation using "adb shell command ..." instead of running
497 remote shell interactively.
498
15df6fa4
GM
4992013-01-20 Glenn Morris <rgm@gnu.org>
500
a576cc76
GM
501 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
502 Add native profiler menu entries.
503
15df6fa4
GM
504 * profiler.el (profiler-running-p): New function.
505 (profiler-cpu-profile): Use profiler-running-p.
506 (profiler-report-mode-map): Add some more menu entries.
507
c4d1e0c3
GM
5082013-01-19 Glenn Morris <rgm@gnu.org>
509
510 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
511 fixes 2012-12-07 change. (Bug#13499)
512
795e7a5b 5132013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
514
515 * dired.el (dired-get-marked-files): Prune erroneous values due to
516 last change. (Bug#13152)
517
795e7a5b 5182013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
519
520 * progmodes/etags.el (tags-table-check-computed-list):
521 Preserve point in tags buffer. (Bug#13412)
522
f8a42ad6
GM
523 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
524
20de6ab6
CW
5252013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
526 Chong Yidong <cyd@gnu.org>
527
b2dc4f52
SM
528 * image-mode.el (image-next-file, image-previous-file):
529 New commands (Bug#8453).
20de6ab6
CW
530 (image-mode-map): Bind them to n and p.
531 (image-mode--images-in-directory): New helper function.
532
2a43515a
CY
5332013-01-19 Chong Yidong <cyd@gnu.org>
534
535 * image-mode.el (image-mode-fit-frame): Add a frame argument.
536 Suggested by Drew Adams (Bug#7730). Handle window decorations;
537 save and restore the old window configuration.
538
b1170947
LL
5392013-01-18 Leo Liu <sdl.web@gmail.com>
540
541 * progmodes/js.el: Tweak autoload cookie for alias.
542
0eb87688
MA
5432013-01-17 Michael Albinus <michael.albinus@gmx.de>
544
545 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
546 buffer local, again. This was lost with the fix on 2013-01-12.
547
99d36ea8
JH
5482013-01-17 Jürgen Hötzel <juergen@archlinux.org>
549
550 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
551 order to support several eshell buffers in parallel.
552
68a08a32
MA
5532013-01-17 Michael Albinus <michael.albinus@gmx.de>
554
555 * autorevert.el (auto-revert-use-notify): In the :set function, do
556 not modify `kill-buffer-hook'.
b2dc4f52
SM
557 (auto-revert-notify-rm-watch):
558 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
559 (auto-revert-notify-add-watch): Do not call
560 `auto-revert-notify-rm-watch', but add it to a buffer local
561 `kill-buffer-hook'.
562
e59eee43
SM
5632013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
566 call to `eval' rather than a backquoted lambda.
567
6e8cd0ae
SM
5682013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
569
cb9c0a53
SM
570 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
571 to return an explicit nil.
572 (advice--remove-function): Change accordingly.
573
574 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
575 the use of nadvice.el.
576
6e8cd0ae
SM
577 * progmodes/which-func.el (which-function): Silence imenu errors
578 (bug#13433).
579
4586ce8a
MM
5802013-01-15 Michael R. Mauger <mmaug@yahoo.com>
581
6e8cd0ae 582 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
583 (sql-mode-font-lock-object-name): Match schema qualified names.
584 (sql-connect): Use string keys.
585 (sql-product-interactive): Wait for interpreter prompt.
586 (sql-comint-oracle): Set process coding based on NLS_LANG.
587
9d55215c
MM
5882013-01-15 Michael R. Mauger <mmaug@yahoo.com>
589
590 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
591 (sql-interactive-remove-continuation-prompt):
592 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 593
57dd9e68
LL
5942013-01-14 Leo Liu <sdl.web@gmail.com>
595
596 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
597 (Bug#13420)
598
51e73492
GM
5992013-01-14 Glenn Morris <rgm@gnu.org>
600
601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
602 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
603
c0511b57 6042013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 605
6e8cd0ae
SM
606 * progmodes/python.el (python-nav-end-of-statement):
607 Fix cornercase when handling multiline strings.
50620051 608
4c0a6d4a
RS
6092013-01-13 Richard Stallman <rms@gnu.org>
610
9f7e86ef
RS
611 * mail/sendmail.el (mail-position-on-field): Add doc string.
612
6e8cd0ae
SM
613 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
614 Get current message boundaries and pass them to
4c0a6d4a
RS
615 message-forward-make-body-mime. Minor style changes.
616
ad33a799
EZ
6172013-01-13 Eli Zaretskii <eliz@gnu.org>
618
619 * cus-start.el (all): Avoid warnings about
6e8cd0ae 620 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 621
616763d5
JD
6222013-01-11 Jan Djärv <jan.h.d@swipnet.se>
623
624 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
625
e5b5a34d
SM
6262013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
627
628 * jit-lock.el (jit-lock-debug-mode): New minor mode.
629 (jit-lock--debug-fontifying): New var.
630 (jit-lock--debug-fontify): New function.
631 * subr.el (condition-case-unless-debug): Don't prevent catching the
632 error, just let the debbugger run.
633 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
634 timer code and don't drop errors silently.
635
2daddd9e
MA
6362013-01-12 Michael Albinus <michael.albinus@gmx.de>
637
638 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
639 `permanent-local' property.
71c661e4 640 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 641
86fbb162
EZ
6422013-01-12 Eli Zaretskii <eliz@gnu.org>
643
644 * autorevert.el (auto-revert-notify-handler): Fix filtering of
645 file notification by ACTION. For filtering by file name, compare
646 only the non-directory part of the file name.
647
a0784609
SM
6482013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
649
96c421bb
SM
650 * autorevert.el: Use cl-lib instead of cl.
651
a0784609
SM
652 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
653 (vc-bzr-checkin): Use it.
654 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
655 will preserve match-data.
656
f90ff906 6572013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 658
f90ff906
FD
659 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
660 (js--declaration-keyword-re): New var.
661 (js--multi-line-declaration-indentation): New function.
662 (js--proper-indentation): Use it.
9fc9a531 663
f90ff906 6642013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 665
f90ff906
FD
666 * calc/calc.el (calc-highlight-selections-with-faces)
667 (calc-dispatch):
668 * comint.el (comint-history-isearch-message):
669 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
670 * ffap.el (ffap-string-at-point-region, ffap-next)
671 (ffap-string-at-point, ffap-string-around)
672 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 673 (ffap-literally):
9fc9a531 674 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
675 (font-lock-removed-keywords-alist):
676 * help-mode.el (help-xref-symbol-regexp):
677 * info.el (Info-find-emacs-command-nodes):
678 * international/mule.el (add-to-coding-system-list):
679 * isearch.el (isearch-message-function, isearch-fail-pos):
680 * misearch.el (multi-isearch-next-buffer-function):
681 * newcomment.el (comment-box):
9fc9a531 682 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 683 (pr-setting-database):
9fc9a531
AH
684 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
685 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
686 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
687 (pike-font-lock-keywords-3):
688 * progmodes/compile.el (compile):
9fc9a531 689 * progmodes/etags.el (tags-table-files)
f90ff906 690 (tags-table-files-function, tags-included-tables-function):
9fc9a531 691 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 692 (gdb-restore-windows):
9fc9a531 693 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
694 (ps-n-up-filling-database):
695 * server.el (server-buffer, server-log):
9fc9a531
AH
696 * simple.el (newline, delete-backward-char, delete-forward-char)
697 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 698 (temporary-goal-column):
9fc9a531 699 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
700 (flyspell-default-deplacement-commands):
701 * textmodes/ispell.el (ispell-accept-output):
702 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 703 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
704 (compare-ignore-case, compare-windows-dehighlight):
705 * vc/diff.el (diff):
9fc9a531
AH
706 * whitespace.el (whitespace-point)
707 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 708 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 709
65adfa20
MA
7102013-01-11 Michael Albinus <michael.albinus@gmx.de>
711
712 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
713 (auto-revert-notify-rm-watch): Ignore errors.
714 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
715 inotify, and '(size last-write-time) for w32notify.
716 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
717 watch fails - this is a fallback to the file modification check.
718 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
719 (auto-revert-notify-event-action)
720 (auto-revert-notify-event-file-name): New defuns.
721 (auto-revert-notify-handler): Use them. Implement first
722 plausibility checks.
723 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
724
43b2e2e7
JD
7252013-01-11 Julien Danjou <julien@danjou.info>
726
727 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
728 max are almost equal. Also return the correct value for V which is
729 already between 0 and 1.
730
30818a23
DA
7312013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
732
733 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
734
10e714d5
EZ
7352013-01-11 Eli Zaretskii <eliz@gnu.org>
736
737 * autorevert.el (auto-revert-notify-rm-watch)
738 (auto-revert-notify-add-watch): Fix typos in w32notify function
739 names.
740
a778dd57
MA
7412013-01-10 Michael Albinus <michael.albinus@gmx.de>
742
743 * autorevert.el (auto-revert-notify-enabled): Move up.
744 (auto-revert-use-notify): New defcustom.
745 (auto-revert-mode, global-auto-revert-mode)
746 (auto-revert-notify-add-watch, auto-revert-handler)
747 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
748 `auto-revert-notify-enabled'.
749
72781fef
EP
7502013-01-10 Elias Pipping <pipping@exherbo.org>
751
752 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
753 * doc-view.el (doc-view-document->bitmap):
754 Use doc-view-single-page-converter-function instead of
755 single-page-converter arg; adjust callers.
756
e6ed8f08
FL
7572013-01-10 Feng Li <fengli@gmail.com> (tiny change)
758
759 * progmodes/which-func.el (which-function): Understand Semantic's use
760 of overlays in imenu--index-alist.
761
327a6cca
WJ
7622013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
763
764 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
765 (Man-man-k-use-anchor): New var.
766 (Man-parse-man-k): New function.
767 (Man-completion-table): Use it.
768 (man): Flush the completion cache between uses.
769
ed911257
MA
7702013-01-10 Michael Albinus <michael.albinus@gmx.de>
771
772 * autorevert.el: Add file watch support.
773 (auto-revert-notify-enabled): New defconst.
774 (auto-revert-notify-watch-descriptor-hash-list)
775 (auto-revert-notify-watch-descriptor)
776 (auto-revert-notify-modified-p): New defvars.
777 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
778 (auto-revert-notify-handler): New defuns.
779 (auto-revert-mode, global-auto-revert-mode): Remove file watches
780 when mode is disabled.
781 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
782 (auto-revert-buffers): Add file watches for active buffers.
783
58cc0a01
DA
7842013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
785
786 * cus-start.el (toplevel): Only allow float values for
787 scroll-up-aggressively and scroll-down-aggressively.
788 Allow any number for line-spacing.
789
bbc7ff25
SM
7902013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
793 (doc-view-pdf->png-converter-function): Use mupdf if available.
794 (doc-view-djvu->png-converter-function)
795 (doc-view-ps->png-converter-function): Remove.
796 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
797 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
798 (doc-view-already-converted-p): Adjust accordingly.
799 (doc-view-mode-p): Simplify.
800 (doc-view-enlarge): Use setq-local.
801 (doc-view-pdf->png-converter-ghostscript)
802 (doc-view-djvu->png-converter-ddjvu)
803 (doc-view-pdf->png-converter-mupdf): Rework to call
804 doc-view-start-process directly.
805 (doc-view-pdf/ps->png): Simplify accordingly.
806 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
807 (doc-view-document->bitmap): Rename from doc-view-document->png.
808 (doc-view-convert-current-doc): Merge pdf and djvu cases.
809 (doc-view-set-slice-from-bounding-box): Fix completion table.
810 (doc-view-mode): Use add-hook for after-revert-hook.
811
3c855b96
GM
8122013-01-10 Glenn Morris <rgm@gnu.org>
813
814 * emacs-lisp/authors.el (authors-ignored-files)
815 (authors-valid-file-names, authors-renamed-files-alist):
816 Add some more entries.
817
3f9549e8 8182013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
819
820 * image-mode.el (image-mode-winprops): Don't throw away the fallback
821 `t' pseudo-window entry.
822
3f9549e8 8232013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
824
825 Fix bugs in the c-parse-state mechanism. Reuse some markers
826 instead of continually generating new ones.
827
828 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
829 (c-state-old-cpp-end-marker): New variables.
830 (c-append-lower-brace-pair-to-state-cache): Start a backward
831 search for "}" definitively outside CPP constructs.
832 (c-remove-stale-state-cache): Inform the caller of a need to
833 search back for a brace pair in certain circumstances.
834 (c-state-maybe-marker): New macro.
835 (c-parse-state): Reuse markers when appropriate.
836
3f9549e8 8372013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
838
839 * simple.el (execute-extended-command): Doc fix.
840 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
841
3f9549e8 8422013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
843
844 * faces.el (read-face-name): Doc fix.
845
b14abca9
RW
8462013-01-10 Roland Winkler <winkler@gnu.org>
847
848 * emacs-lisp/crm.el: Allow any regexp for separators.
849 (crm-default-separator): All spaces around the default comma separator.
850 (crm--completion-command): New macro.
851 (crm-completion-help, crm-complete, crm-complete-word): Use it.
852 (crm-complete-and-exit): Handle non-single-char separators.
853
2b541f9a
EP
8542013-01-09 Elias Pipping <pipping@lavabit.com>
855
856 * doc-view.el: Add support for DjVu (bug#13164).
857 (doc-view-djvu->png-converter-function): New config var.
858 (doc-view-single-page-converter-function, doc-view--image-type)
859 (doc-view--image-file-extension): New vars.
860 (doc-view-mode): Initialize them.
861 (doc-view-goto-page): Use them.
862 (doc-view-mode-p): Add support for ddjvu.
863 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
864 (doc-view-set-up-single-converter): New funs.
865 (doc-view-pdf/ps->png): Extend for djvu.
866 (doc-view-document->png): Rename from doc-view-pdf->png.
867 (doc-view-convert-current-doc): Handle djvu.
868 (doc-view-insert-image, doc-view-display)
869 (doc-view-already-converted-p): Don't hardcode png.
870 (doc-view-set-doc-type): Recognize djvu docs.
871
85f17e35
EP
8722013-01-09 Elias Pipping <pipping@lavabit.com>
873
874 * doc-view.el: Add support for mupdf converter (bug#13164).
875 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
876 (doc-view-ps->png-converter-function): New config vars.
877 (doc-view-pdf->png-converter-ghostscript)
878 (doc-view-ps->png-converter-ghostscript)
879 (doc-view-pdf->png-converter-mupdf): New functions.
880 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
881
ccd04887
MA
8822013-01-09 Jürgen Hötzel <juergen@archlinux.org>
883
884 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
885 first in session cache: When `tramp-own-remote-path' is in
886 `tramp-remote-path', the remote path is only set in the session
887 cache.
888
c5ad92de
GM
8892013-01-09 Glenn Morris <rgm@gnu.org>
890
fb9f7146
GM
891 * emacs-lisp/trace.el (trace-function-foreground)
892 (trace-function-background): Doc fix.
c5ad92de 893
39a0786e
JL
8942013-01-09 Juri Linkov <juri@jurta.org>
895
896 * international/mule-cmds.el (read-char-by-name): Move let-binding
897 of completion-ignore-case around completing-read to fix regression
898 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
899 `string-match-p' using the nil value of `case-fold-search' and
900 `completion-ignore-case' in `completion-pcm--all-completions'.
901 (Bug#12615).
902
fb9f7146 9032013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
904
905 * progmodes/compile.el (compilation-parse-errors):
906 Fix typo. (Bug#13369)
907
fb9f7146 9082013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
909
910 * comint.el (comint-send-input): Check size of buffer before
911 waiting for process output, in case already accepted. (Bug#13290)
912
677d5c92
PE
9132013-01-09 Paul Eggert <eggert@cs.ucla.edu>
914
915 Spelling fixes.
916 * net/tramp-adb.el (tramp-adb-get-toolbox):
917 Fix misspelling of 'unknown'.
918
073ca75b
JL
9192013-01-08 Juri Linkov <juri@jurta.org>
920
921 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
922 * progmodes/flymake.el (flymake-errline, flymake-warnline):
923 Use underline style wave on terminals that support it. (Bug#13000)
924
a4648137
SM
9252013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
926
4bdc3526
SM
927 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
928 the predicate returns nil.
929
a4648137
SM
930 * simple.el: Use lexical-binding.
931 (primitive-undo): Use pcase.
932 (minibuffer-history-isearch-push-state): Use a closure.
933
3bace969
AH
9342013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
935
936 * simple.el (primitive-undo): Move from undo.c.
937
a731fc1b
SM
9382013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
939
1c851e98
SM
940 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
941 (cvs-mode-remove-handled): Use it (bug#13380).
942
a731fc1b
SM
943 * emacs-lisp/nadvice.el (advice--tweak): New function.
944 (advice--remove-function, advice--subst-main): Use it.
945
946 * emacs-lisp/advice.el: Update commentary.
947
2a22c83b
MA
9482013-01-08 Michael Albinus <michael.albinus@gmx.de>
949
a731fc1b
SM
950 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
951 Remove spurious entry.
2a22c83b 952
83c1803a
GM
9532013-01-08 Glenn Morris <rgm@gnu.org>
954
955 * net/tramp.el (tramp-default-host-alist): Add :version.
956
8a2e287c
JL
9572013-01-08 Juri Linkov <juri@jurta.org>
958
959 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
960 single completion. (Bug#12456)
961 (info--manual-names): Expand node completions into an explicit list
962 before appending it to another list. Filter out internal buffers
963 with the leading space in the buffer name. (Bug#10771)
964
c6a22ce2
JL
9652013-01-08 Juri Linkov <juri@jurta.org>
966
967 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
968 that defaults to the Top node.
969 (Info-goto-node, Info-read-node-name): Doc fix to mention that
970 the short format (FILENAME) goes to the Top node.
971 (Info-build-node-completions): Rename arg `file' to `filename'.
972 (Bug#13365)
973
acfe10b7
BG
9742013-01-07 Bastien Guerry <bzg@gnu.org>
975
a731fc1b
SM
976 * menu-bar.el (menu-bar-search-documentation-menu):
977 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
978
9792013-01-07 Bastien Guerry <bzg@gnu.org>
980
981 * apropos.el (apropos-do-all): Update docstring.
982 (apropos-user-option-button): New face.
983 (apropos-user-option): Rename from `apropos-variable' and update
984 docstring.
985 (apropos-variable): Rewrite, now show all variables by default.
986 (apropos-print): Mention "User option" instead of "Variable" when
987 printing doc for user options. (Bug#13276)
988
62bcf670
JH
9892013-01-07 Jürgen Hötzel <juergen@archlinux.org>
990
991 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
992 Handle filename correctly, when parsing "source -> target" symlink
993 output.
994 (tramp-adb-handle-set-file-times): New defun.
995
4986fa21
SM
9962013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
999 advice list when the interactive-spec of ad-Advice-* changes.
1000
3bee311e
KY
10012013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1002
1003 * wid-edit.el (widget-default-get): Work for inlined elements.
1004 (Bug#12670)
1005
b49eebcc
MA
10062013-01-07 Michael Albinus <michael.albinus@gmx.de>
1007
1008 * net/tramp.el (tramp-default-host-alist): New defcustom.
1009 (tramp-find-host): Use it.
4986fa21 1010 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
1011 `eshell-directory-change-hook'.
1012
1013 * net/tramp-adb.el (top): Add adb specific entry in
1014 `tramp-default-host-alist'.
1015 (tramp-adb-file-name-host): Remove function.
1016 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1017 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1018
3bee311e 1019 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 1020
84f6744a
JH
10212013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1022
1023 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1024
b6cfbcd0
MA
10252013-01-06 Michael Albinus <michael.albinus@gmx.de>
1026
1027 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 1028 consist of more than one digit.
4986fa21
SM
1029 (tramp-adb-file-name-handler-alist):
1030 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
1031 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1032 (tramp-adb-handle-file-exists-p): Remove function.
1033 (tramp-adb-file-name-host): New defun.
1034 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1035 Use it.
1036 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1037
58ba7b1b
CY
10382013-01-06 Chong Yidong <cyd@gnu.org>
1039
1040 * vc/vc.el (vc-next-action): Detect buffer modifications
1041 conflicting with locking VCS operation (Bug#11490).
1042
1043 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1044
f4566fe9
MA
10452013-01-05 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1048 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1049
838cf298
MA
10502013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1051
1052 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1053 parsing of ls output using regular expression (handle filenames
1054 with spaces). Use virtual device number.
1055 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1056 cleanup).
1057
1bd71e9f
DU
10582013-01-04 Daiki Ueno <ueno@gnu.org>
1059
1060 * epg.el: Silence byte-compiler warnings.
1061 (epg--start): Use delete-char instead of delete-backward-char.
1062 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1063
00cd4c1c
DU
10642013-01-04 Daiki Ueno <ueno@gnu.org>
1065
1066 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1067 Suggested by Eli Zaretskii <eliz@gnu.org>.
1068
f99ced35
MA
10692013-01-04 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1072 non-negative integers. Otherwise, the default values are used.
1073 (tramp-convert-file-attributes): Convert uid and gid to integers.
1074
0f668a4d 10752013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 1076
d2be4dcc
GM
1077 * term.el (term-handle-colors-array): Ensure face attributes
1078 are fully specified, not nil. (Bug#13337)
1079
5b00b749
GM
1080 * term.el (term-default-fg-color, term-default-bg-color):
1081 Fix custom type.
1082
220740a3
GM
1083 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1084 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1085 rather than 'jka-compr being loaded. (Bug#13338)
1086
bdd9367d
WD
10872013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1088
1089 * icomplete.el (icomplete-completions):
1090 Honor icomplete-prospects-height once more following
1091 2012-11-29 changes. (Bug#13224)
1092
96dd18b1
SM
10932013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1094
c0bd248c
SM
1095 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1096 of called-interactively-p as well (bug#13237).
1097
4a74c818
SM
1098 * view.el (view--enable, view--disable): Rename from view-mode-enable
1099 and view-mode-disable and assume it's called from view-mode.
1100 (view-mode-enable, view-mode-disable): Redefine as obsolete
1101 compatibility layer above view-mode.
1102 (view-mode-enter): Call `view-mode'.
1103
1104 * files.el (after-find-file): Call `view-mode'.
1105
96dd18b1
SM
1106 * doc-view.el (doc-view-scale-internally): New var.
1107 (doc-view-enlarge, doc-view-insert-image): Obey it.
1108
c2cf1829
DU
11092013-01-03 Daiki Ueno <ueno@gnu.org>
1110
1111 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1112 exist. (Bug#13344)
1113
ad235a8b
GM
11142013-01-03 Glenn Morris <rgm@gnu.org>
1115
a8aa6c2d
GM
1116 * mail/rmail.el (rmail-set-header-1): Ignore case.
1117 Handle multi-line headers. (Bug#13330)
1118
a6d6c20b
GM
1119 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1120 Handle paragraph starting at beginning of buffer.
1121
ed5bdeb9
GM
1122 * subr.el (eval-after-load): Don't purecopy the form, so that it
1123 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1124
ad235a8b
GM
1125 * emacs-lisp/byte-run.el (defun): Place cl declarations
1126 after any interactive spec. (Bug#13265)
1127
9539d465 11282013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
1129
1130 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1131 defun. Don't check for DECL if DOCSTRING isn't a string.
1132 (defun): Likewise.
1133
9539d465 11342013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 1135
5ee1772e
GM
1136 * eshell/em-cmpl.el (eshell-pcomplete):
1137 More thoroughly imitate pcomplete. (Bug#13293)
1138
4cddca30
GM
1139 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1140 Return nil for empty path elements. (Bug#13296)
1141
9539d465 11422013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
1143
1144 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1145 order to improve efficiency (Based on Daniel Colascione's
1146 <dancol@dancol.org> patch). (Bug#13182)
1147
9539d465 11482013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
1149
1150 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1151
9539d465 11522013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
1153
1154 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1155 neither DOCSTRING nor DECL was given. (Bug#13316)
1156
aca3d51d
MA
11572013-01-02 Michael Albinus <michael.albinus@gmx.de>
1158
1159 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1160 `error' call.
1161 (tramp-do-copy-or-rename-file): Ignore errors when calling
1162 `set-file-extended-attributes'.
1163
4986fa21
SM
1164 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1165 Add handler for `file-acl'.
aca3d51d
MA
1166 (tramp-smb-handle-file-acl): New defun.
1167
87e65f96
JB
11682013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1169
1170 * calc/README: Mention ISO 8601 week-numbering dates.
1171
0aac98ac
MR
11722013-01-01 Martin Rudalics <rudalics@gmx.at>
1173
1174 * view.el (view-mode-enable): New argument run-view-mode-hook.
1175 Run view-mode-hook only when it's non-nil (Bug#13315).
1176 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1177 argument t.
1178
1a82330c
JH
11792012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1180
1181 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1182 (No device connected, invalid device name). (Bug #13299)
1183
27fcfe31
MR
11842012-12-31 Martin Rudalics <rudalics@gmx.at>
1185
1186 * window.el (window-resizable--p): Rename to window-resizable-p.
1187 (window-resize-no-error): New function.
1188
1189 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1190 broken in fix from 2012-12-28.
1191
96c052a5
SM
11922012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * subr.el (special-form-p): Don't signal errors on undef aliases.
1195
fd1f1603
JB
11962012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1197
1198 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1199 `math-parse-iso-date' when it looks like it might be needed.
1200 Allow times of 24:00.
fd1f1603
JB
1201 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1202 of 24:00.
1203
8db39aeb
GM
12042012-12-30 Glenn Morris <rgm@gnu.org>
1205
1206 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1207 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1208 (rmail-summary-displayed, rmail-summary): Declare.
1209 (mairix-rmail-display): Just require rmail.
1210
d5e5e7b4 12112012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
1212
1213 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1214 check for the tarball contents.
1215
d5e5e7b4 12162012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
1217
1218 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1219 tarfile content listings (Bug#13136).
1220
d5e5e7b4 12212012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 1222
96c052a5
SM
1223 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1224 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 1225
4f752957
MA
12262012-12-30 Michael Albinus <michael.albinus@gmx.de>
1227
3ee24a3b
MA
1228 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1229 integers, if they are real numbers. (Bug#13282)
1230
4f752957
MA
1231 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1232 Return `t' on success.
1233
96c052a5
SM
1234 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1235 Add handler for `set-file-selinux-context'.
4f752957 1236
eff2eb58
MA
12372012-12-29 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1240 (tramp-sh-handle-set-file-acl): Return `t' on success.
1241
ccad023b
EZ
12422012-12-29 Eli Zaretskii <eliz@gnu.org>
1243
96c052a5
SM
1244 * files.el (backup-buffer-copy, basic-save-buffer-2):
1245 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1246 instead of signaling an error. (Bug#13298)
7e56b103 1247 (basic-save-buffer): Likewise.
ccad023b 1248
ccb1c17e
FEG
12492012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1250
1251 * progmodes/python.el: Support other commands triggering
1252 python-indent-line so indentation cycling continues to work.
1253 (python-indent-trigger-commands): New defcustom.
1254 (python-indent-line): Use it.
1255
16768034
FEG
12562012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1257
1258 * progmodes/python.el (python-shell-send-region): Add blank lines
1259 for non sent code so backtraces remain correct.
1260
66164d2f
FEG
12612012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1262
1263 * progmodes/python.el: Remove cl dependency.
1264 (python-syntax-count-quotes): Replace incf call.
1265 (python-fill-string): Replace setf call.
1266
761231d1
DC
12672012-12-29 Damien Cassou <damien.cassou@gmail.com>
1268
43ebd12b 1269 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1270
7c3e220a
MR
12712012-12-28 Martin Rudalics <rudalics@gmx.at>
1272
96c052a5
SM
1273 * mail/rmail.el (rmail-maybe-display-summary):
1274 Rewrite (Bug#13066).
7c3e220a 1275
361828b5
AS
12762012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1277
1278 * epg.el (epg--start): Modify process-environment locally.
1279
23bd348c
DU
12802012-12-28 Daiki Ueno <ueno@gnu.org>
1281
1282 * epg.el: Support pinentry-curses.
1283 Suggested by Werner Koch in
1284 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1285 (epg-agent-file, epg-agent-mtime): New variable.
1286 (epg--start): Record the modified time of gpg-agent socket file,
1287 to restore Emacs frame after pinentry-curses termination.
1288 (epg-wait-for-completion): Restore Emacs frame here.
1289
313f39aa
JL
12902012-12-27 Juri Linkov <juri@jurta.org>
1291
1292 * info.el (Info-file-completions): New variable.
1293 (Info-read-node-name-1): Complete node names in the Info file
1294 when a file name is given. Call `Info-build-node-completions'
1295 with a file name.
1296 (Info-build-node-completions): Add new arg `file'. When it is
1297 non-nil, visit it in a temporary buffer and cache its completions in
1298 `Info-current-file-completions'. Move most of the function body to
1299 `Info-build-node-completions-1'.
1300 (Info-build-node-completions-1): New function with the body from
1301 `Info-build-node-completions'. (Bug#12456)
1302
a45b7647
JL
13032012-12-27 Juri Linkov <juri@jurta.org>
1304
1305 * frame.el (frame-maximization-style): Remove user option.
1306 (cycle-frame-maximized): Remove function.
1307 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1308 (toggle-frame-fullscreen): New command bound to <f11> instead of
1309 `toggle-frame-maximized'.
1310 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1311
10ffd0be
MA
13122012-12-27 Michael Albinus <michael.albinus@gmx.de>
1313
1314 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1315
1316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1319 for `file-accessible-directory-p'. (Bug#13275)
1320
fd146719
SS
13212012-12-27 Sam Steingold <sds@gnu.org>
1322
1323 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1324 continuations, see <http://stackoverflow.com/questions/3582436>.
1325
82e2a1f0 13262012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1327
1328 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1329 "module" and "def" to have indentation before them.
1330 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1331
ea0857a1
DG
1332 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1333
82e2a1f0 13342012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1335
1336 Speed up fontification where there's large brace blocks.
1337 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1338 to a call of c-beginning-of-decl-1.
1339
c34339f3
VS
13402012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1341
1342 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1343 (comint-postoutput-scroll-to-bottom):
1344 Call comint-adjust-window-point (Bug#13248).
c34339f3 1345
78269b95
DG
13462012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1347
1348 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1349 Rakefile regexp.
1350 (auto-mode-alist): Associate .gemspec files with ruby-mode
1351 (https://bugs.ruby-lang.org/issues/5453).
1352
bd8c13f9
JH
13532012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1354
96c052a5
SM
1355 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1356 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1357 CyanogenMod).
bd8c13f9
JH
1358 (tramp-adb-handle-file-attributes)
1359 (tramp-adb-handle-insert-directory)
1360 (tramp-adb-handle-file-name-all-completions): Use it.
1361 (tramp-adb-get-toolbox): New defun. Check for remote shell
1362 implementation (BusyBox or Toolbox).
1363
dc646358
CK
13642012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1365
1366 * startup.el (initial-buffer-choice): Allow function as value
1367 (Bug#13251).
1368 (command-line-1): Handle case where initial-buffer-choice
1369 specifies a function.
1370 * server.el (server-execute): Handle case where
1371 initial-buffer-choice specifies a function.
1372
e7d52a4d
LI
13732012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1374
1375 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1376 its own function.
1377 (smtpmail-try-auth-methods): Forget the user name/password if the
1378 login is unsuccessful (bug#12424).
1379
cdb07539
MA
13802012-12-22 Michael Albinus <michael.albinus@gmx.de>
1381
1ef5f225
MA
1382 * notifications.el (notifications-notify): Protect body with
1383 `with-demoted-errors'.
1384
96c052a5
SM
1385 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1386 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1387 change.
1388
594f37aa
CY
13892012-12-21 Chong Yidong <cyd@gnu.org>
1390
1391 * sort.el (sort-subr): Doc fix (Bug#13056).
1392
a4b0cca1 13932012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1394
acc650b8
BG
1395 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1396
0e9c7693
MA
13972012-12-21 Michael Albinus <michael.albinus@gmx.de>
1398
1399 * simple.el (process-file): Overwrite stderr file, if exists.
1400
c6609164
DU
14012012-12-21 Daiki Ueno <ueno@gnu.org>
1402
1403 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1404 (epg-error): Set `error-message' property.
c6609164 1405
aa26f345
CY
14062012-12-21 Chong Yidong <cyd@gnu.org>
1407
34b4b7eb
CY
1408 * international/mule-cmds.el (read-char-by-name): Signal an error
1409 if the user does not supply a valid character (Bug#13177).
1410
aa26f345
CY
1411 * simple.el (transpose-subr-1): Preserve marker positions by
1412 changing the insertion sequence (Bug#13122).
1413
05c22d87
KD
14142012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1415
1416 * simple.el (kill-region): Deactivate mark even for empty regions
1417 (Bug#13169).
1418
f5733f87
CY
14192012-12-21 Chong Yidong <cyd@gnu.org>
1420
1421 * help-fns.el (describe-variable): Make sure we get the right
1422 buffer name (Bug#13105). Suggested by Kelly Dean.
1423
fab6916d
MM
14242012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1425
1426 * comint.el (comint-redirect-previous-input-string): New variable.
1427 (comint-redirect-setup, comint-redirect-cleanup)
1428 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1429 (comint-redirect-preoutput-filter): Fix verbose message.
1430
91b982a0
MA
14312012-12-20 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1434 is too long for Tramp. See discussion in
1435 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1436
1437 * progmodes/compile.el (compilation-start): Remove line escape
1438 template.
1439
87523aed
DA
14402012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1441
1442 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1443 Adjust comment.
1444
ee3c0aec
JB
14452012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1446
1447 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1448 following non-comment text (bug#13207).
1449 (lm-header-multiline): Continuation lines need to be indented more than
1450 the first line.
1451 (lm-homepage): New function.
1452 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1453
4a74c818
SM
14542012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1455
f4d79bd0
SM
1456 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1457 very beginning of a hunk (e.g. killing the first line).
1458
3c532af6
MA
14592012-12-19 Michael Albinus <michael.albinus@gmx.de>
1460
1461 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1462 and text properties from returned ACL string.
1463 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1464 for "setfacl" command.
1465
e0d01ef3
MA
14662012-12-18 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1469 `tramp-cleanup-this-connection', when the process has died.
1470 (Bug#13151)
1471
2387610d
SM
14722012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1475
19156242
KR
14762012-12-17 Kevin Ryde <user42@zip.com.au>
1477
1478 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1479
53b6a8b1
MA
14802012-12-17 Michael Albinus <michael.albinus@gmx.de>
1481
1482 Add support for preserving ACL entries of files.
1483
1484 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1485 `set-file-acl' handlers.
1486
19156242
KR
1487 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1488 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1489
19156242
KR
1490 * net/tramp-compat.el (tramp-compat-copy-file):
1491 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1492
19156242
KR
1493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1494 Add `file-acl' and `set-file-acl' handlers.
1495 (tramp-gvfs-handle-copy-file):
1496 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1497 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1498 New defuns.
53b6a8b1 1499
19156242
KR
1500 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1501 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1502 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1503 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1504 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1505 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1506
19156242
KR
1507 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1508 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1509 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1510
6ae57a67
KD
15112012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1512
1513 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1514 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1515 *Metahelp* with a leading space (Bug#13190).
1516
7c3d167f
RF
15172012-12-16 Romain Francoise <romain@orebokech.com>
1518
1519 * files.el (file-extended-attributes)
1520 (set-file-extended-attributes): New functions.
1521 (backup-buffer): Use them to handle both SELinux context and ACL
1522 entries.
1523 (backup-buffer-copy): Work with an alist of extended attributes,
1524 rather than an SELinux context.
1525 (basic-save-buffer-2): Ditto.
1526
19b748ad
TM
15272012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1528
1529 * battery.el (battery-bsd-apm): New function.
1530
70042c64
JB
15312012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1532
1533 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1534 standard date formats.
1535
279f9b06
JL
15362012-12-15 Juri Linkov <juri@jurta.org>
1537
1538 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1539 `isearch-insert-char-by-name'.
1540 (with-isearch-suspended): New defmacro with body mostly from
1541 `isearch-edit-string' except the part that sets
1542 `isearch-new-string' and `isearch-new-message'.
1543 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1544 body that sets `isearch-new-string' and `isearch-new-message'.
1545 (isearch-insert-char-by-name): New command.
1546 * international/mule-cmds.el (read-char-by-name): Let-bind
1547 `enable-recursive-minibuffers' to t.
1548 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1549
8370def5
JL
15502012-12-15 Juri Linkov <juri@jurta.org>
1551
1552 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1553 (Bug#13175)
1554
178fb95d
CS
15552012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1556
1557 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1558 the prompt. (Bug#13045)
1559
a5f74442
GM
15602012-12-14 Glenn Morris <rgm@gnu.org>
1561
1562 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1563 Try to include filename in non-bytecomp warning. (Bug#13132)
1564
97976f9f
PE
15652012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1566
1567 Fix permissions bugs with setgid directories etc. (Bug#13125)
1568 * files.el (backup-buffer): Don't rely on 9th output of
1569 file-attributes, as it's now a placeholder. Instead, use the new
1570 optional arg of file-ownership-preserved-p.
1571 (file-ownership-preserved-p): New optional arg GROUP.
1572 Fix mishandling of setuid directories that would cause this
1573 function to return t when it should have returned nil.
1574 Document what happens if the file does not exist, and when
1575 it's not known whether the ownership will be preserved.
1576 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1577 Likewise.
1578 (tramp-get-local-gid): Use group-gid for integer, as that's
1579 faster and more reliable.
1580
016b2a42
JD
15812012-12-14 Julien Danjou <julien@danjou.info>
1582
19156242
KR
1583 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1584 Update keywords list, data type and PL/pgSQL.
016b2a42 1585
665e5e07
DA
15862012-12-14 Dave Abrahams <dave@boostpro.com>
1587
1588 * vc/ediff-util.el (ediff-buffer-type): New function.
1589 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1590 rather than taking it as as argument.
1591 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1592
d72e9e92
RC
15932012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1594
1595 * json.el: Add pretty-print option (bug#12634).
1596 (json-encoding-separator, json-encoding-default-indentation)
1597 (json--encoding-current-indentation, json-encoding-pretty-print)
1598 (json-encoding-lisp-style-closings): New vars.
1599 (json--with-indentation): New macro.
1600 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1601 (json-encode-array): Use it to obey json-encoding-pretty-print.
1602 (json-pretty-print-buffer, json-pretty-print): New commands.
1603
dbb530d9
DG
16042012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1605
1606 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1607 Extract `ruby-syntax-propertize-expansions'.
1608 (ruby-syntax-propertize-expansions): Only change syntax on
1609 certain string delimiters, to punctuation. This way the common
1610 functions like forward-word and thing-at-point still work.
1611 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1612 (ruby-block-contains-point): New function.
1613 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1614
ce0440ff
JB
16152012-12-13 Juanma Barranquero <lekktu@gmail.com>
1616
1617 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1618 unload-feature finishes even when aborting an ongoing edebug session.
1619 Also, do not worry about edebug-mode, unload-feature takes care of it.
1620
f10331bf
AS
16212012-12-13 Andreas Schwab <schwab@suse.de>
1622
1623 * net/tls.el (tls-program): Update customize type.
1624
5f3a3bb1
JB
16252012-12-13 Juanma Barranquero <lekktu@gmail.com>
1626
1627 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1628 (edebug-setup-hook, cl-read-load-hooks): Use it.
1629 (edebug-unload-function): New function. (Bug#13163)
1630
6ce21463
MA
16312012-12-13 Michael Albinus <michael.albinus@gmx.de>
1632
1633 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1634 Otherwise, there could be errors in autoloading. (Bug#13151)
1635
d754b364
JH
16362012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1637
1638 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1639 sequences.
1640
727f9739 16412012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1642
1643 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1644 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1645 around `forward-comment' not recognizing ^M as whitespace.
1646
727f9739 16472012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1648
1649 * progmodes/python.el (python-skeleton-class)
1650 (python-skeleton-def): Do not add space after defun name.
1651
eb8006c6
SM
16522012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1655 (cl--symbol-function): Remove (now that funbound is like nil).
1656
4c74b1e4
GM
16572012-12-12 Glenn Morris <rgm@gnu.org>
1658
1659 * button.el (button--area-button-p): Fix typo.
1660
37f38bca
SS
16612012-12-12 Sam Steingold <sds@gnu.org>
1662
1663 * frame.el (frame-maximization-style): New user option.
1664 (toggle-frame-maximized): Toggle frame maximization according to
1665 `frame-maximization-style', bound to <f11>.
1666 (cycle-frame-maximized): Cycle between all maximization styles and
1667 non-maximized frame, bound to shift-<f11>.
1668
fd49a218
DC
16692012-12-12 David Cadé <codename68@gmail.com>
1670
1671 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1672
69e1c203
JB
16732012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1674
1675 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1676 (eieio-override-prin1): Don't quote kewords and booleans.
1677 (object-write) <eieio-default-superclass>: Don't put closing parens
1678 on new line, avoid needless empty lines, align values that are objects
1679 with the slot keyword (instead of beginning on the same line).
1680 (eieio-list-prin1): Align value with slot keyword; increase
1681 eieio-print-depth before printing members of the list.
1682
4b0df848
SM
16832012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1684
030f4af5
SM
1685 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1686 a display text-property.
1687 (report-emacs-bug-hook): Don't bother deleting it any more.
1688
6ac1f8ca
SM
1689 * hilit-chg.el (highlight-save-buffer-state): Delete.
1690 Use with-silent-modifications instead.
1691 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1692
4b0df848
SM
1693 * button.el: Handle buttons in display text-properties.
1694 (button--area-button-p, button--area-button-string):
1695 Use (STRING . STRING-POS) representation instead of just STRING.
1696
d46d2d3a
EZ
16972012-12-11 Eli Zaretskii <eliz@gnu.org>
1698
1699 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1700 subdirectory be skipped.
1701
a0099d31
GM
17022012-12-11 Glenn Morris <rgm@gnu.org>
1703
36327e4f
GM
1704 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1705
a0099d31
GM
1706 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1707 Treat preprocessor lines embedded in continuations like comments.
1708 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1709
ff3f6c26
JB
17102012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1711
1712 * calc/calc.el (calc-standard-date-formats): Add more date
1713 formats.
1714 * calc/calc-forms.el (math-parse-iso-date): New function.
1715 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1716 (math-parse-iso-date-validate): Add extra error checking.
1717 (calc-date-notation): Add ability to access new date formats.
1718
ed6f2cd4
SM
17192012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1722 font-lock as well as when there's no text-property.
1723
c868b919
J
17242012-12-10 Jambunathan K <kjambunathan@gmail.com>
1725
1726 * hi-lock.el: Refine the choice of default face.
1727 (hi-lock-keyword->face): New function. Use it wherever we used
1728 cadadadr instead.
1729 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1730 (hi-lock--last-face): Remove var.
1731 (hi-lock--unused-faces): New var to replace it.
1732 (hi-lock-read-face-name): Use/maintain it.
1733 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1734 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1735 if it has another face.
1736
2b8c9064
EZ
17372012-12-10 Eli Zaretskii <eliz@gnu.org>
1738
1739 * subr.el (w32notify-handle-event): New function.
1740 (inotify-handle-event): Doc fix.
1741
81606b10
RS
17422012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1743
1744 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1745
265c2fbf 17462012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1747
1748 * simple.el (just-one-space): Doc fix.
1749
265c2fbf 17502012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1751
c868b919 1752 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1753
265c2fbf 17542012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1755
1756 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1757 narrowed buffer (bug#12361).
1758
265c2fbf 17592012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1760
1761 * vc/vc-hooks.el (vc-state): Doc fix.
1762
265c2fbf 17632012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1764
1765 * mail/rmail.el (rmail-maybe-display-summary):
1766 Preserve buffer, in case select-window changes it. (Bug#13066)
1767
265c2fbf 17682012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1769
1770 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1771 cl-load-hook where they belong.
1772
bad162fd
SM
17732012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1776
ca065258
EZ
17772012-12-09 Eli Zaretskii <eliz@gnu.org>
1778
1779 Parallelize byte compilation on MS-Windows.
1780 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1781 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1782 (WINS_BASIC): Define as concatenation of the above.
1783 (compile): Subdivide into 4 separate and independent jobs that can
1784 be run in parallel.
1785 (compile0-CMD, compile0-SH): New targets for compiling
1786 COMPILE_FIRST files, which are prerequisites for the rest of the
1787 byte-compilation.
bad162fd
SM
1788 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1789 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1790 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1791 compiling under a Unixy shell.
1792
5dea55d2
CY
17932012-12-09 Chong Yidong <cyd@gnu.org>
1794
1795 * simple.el (set-mark-default-inactive): Delete this
1796 accidentally-introduced option.
1797 (set-mark-command, exchange-point-and-mark): Remove calls.
1798
c6c08d3f
GM
17992012-12-09 Glenn Morris <rgm@gnu.org>
1800
1801 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1802 Respect a defcustom's :set function, if appropriate. (Bug#109)
1803 (eval-defun): Doc fix.
1804
858aab4c
JL
18052012-12-08 Juri Linkov <juri@jurta.org>
1806
1807 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1808 (Info-fontify-node, Info-bookmark-make-record): Remove the
1809 file extension from Info-current-file (Bug#13016).
1810
2e4ad7e5
SM
18112012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1814 point, still provide some default.
1815 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1816 names, since we don't use it right now. Actually return the list.
1817 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1818
75498db0
CY
18192012-12-07 Chong Yidong <cyd@gnu.org>
1820
ffe7ba8f
CY
1821 * novice.el (disabled-command-function): Remove a spurious help
1822 xref (Bug#13043). Suggested by Kelly Dean.
1823
454eb095
CY
1824 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1825 syntax is specified (Bug#13025).
1826
75498db0
CY
1827 * info.el (Info-set-mode-line): Remove the file extension from
1828 Info-current-file if there is one (Bug#13016).
1829
13a40633
GM
18302012-12-07 Glenn Morris <rgm@gnu.org>
1831
54c8b5ba
GM
1832 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1833 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1834 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1835 and rmail-mime-decoded. (Bug#9841)
1836
13a40633
GM
1837 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1838 (batch-unrmail, unrmail): Doc fixes.
1839 (unrmail): Respect unrmail-mbox-format.
1840 * mail/rmail.el (rmail-mbox-format): New option.
1841 (rmail-show-message-1): Respect rmail-mbox-format.
1842
4611a3cc
SM
18432012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1846
1812c724
SM
18472012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1848
338bfefa
SM
1849 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1850 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1851 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1852 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1853 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1854 (cl-progv): Don't rely on dynamic scoping to find the body.
1855 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1856 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1857 (cl-declaim): Use backquotes.
1858 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1859 Use "cl--" prefix for the object's tag.
1860
1812c724
SM
1861 * ses.el: Use advice-add/remove.
1862 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1863 (copy-region-as-kill, yank): Use advice-add.
1864 (ses-unload-function): Use advice-remove.
1865
24fc9480
JB
18662012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1867
1868 * button.el: Make them work in header-lines (bug#12817).
1869 (button-map): Add bindings for header-line and mode-line use.
1870 (button-get, button-put, button-label): `button' may now be a string.
1871 (button-activate): Don't make it a defsubst.
1872 (button--area-button-p, button--area-button-string): New functions.
1873 (make-text-button): Fix the return value when `beg' was a string.
1874 (push-button): Handle the mode-line case.
1875
853c1ffc
SM
18762012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1877
93852cb0
SM
1878 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1879 (sql-signum): Remove. Use `cl-signum' instead.
1880 (sql-read-passwd): Remove; use read-passwd instread.
1881 (sql-get-login-ext): Use read-string.
1882 (sql-get-login): Use dolist and pcase.
1883 (sql--completion-table): Rename from sql-try-completion.
1884 Use complete-with-action.
1885 (sql-mode): Don't change abbrev-all-caps globally.
1886 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1887 (sql-postgres-completion-object): Initialize vars in their `let'.
1888 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1889 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1890 (sql-comint-interbase): Use a single append, without setq.
1891 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1892
853c1ffc
SM
1893 * hi-lock.el: Rework the default face and the serialize regexp code.
1894 (hi-lock--auto-select-face-defaults): Remove.
1895 (hi-lock-string-serialize-serial): Remove.
1896 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1897 make weak.
1898 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1899 equal string.
1900 (hi-lock-set-pattern): Adjust accordingly.
1901 (hi-lock--regexps-at-point): Simplify accordingly.
1902 (hi-lock--auto-select-face-defaults): Remove.
1903 (hi-lock--last-face): New var to replace it.
1904 (hi-lock-read-face-name): Rewrite (bug#11095).
1905 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1906
5504e2c7
MA
19072012-12-06 Michael Albinus <michael.albinus@gmx.de>
1908
853c1ffc
SM
1909 * net/tramp.el (tramp-replace-environment-variables):
1910 Hide compiler warning.
5504e2c7
MA
1911 (tramp-file-name-for-operation): Remove `executable-find',
1912 `start-process', `call-process' and `call-process-region'.
1913
853c1ffc 1914 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1915
1916 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1917 compatibility.
1918
1919 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1920
e1d51545
CY
19212012-12-06 Chong Yidong <cyd@gnu.org>
1922
1923 * ffap.el (ffap-replace-file-component): Fix typo.
1924
d8ad4d3f 19252012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1926
1927 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1928 fix open-paren-like token test (bug#12785).
1929
d8ad4d3f 19302012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1931
1932 * mail/rmailsum.el (rmail-new-summary): Tweak for
1933 rmail-maybe-display-summary changing buffer. (Bug#13066)
1934
d8ad4d3f 19352012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1936
1937 * info.el (Info-fontify-node): Don't hide the last newline.
1938 (Bug#12272)
1939
9ad948e2
KY
19402012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1941
1942 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1943 so as to enable message-read-from-minibuffer to expand mail aliases.
1944
4b5c89ee
SM
19452012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1948 the `intangible' property.
1949 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1950
5602a53a
DD
19512012-12-05 Deniz Dogan <deniz@dogan.se>
1952
1953 * net/rcirc.el (rcirc-urls): Update documentation.
1954 (rcirc-condition-filter): New function.
1955 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1956 and exclude consecutive duplicate URLs (Bug#6082).
1957
51b890ac
MA
19582012-12-05 Michael Albinus <michael.albinus@gmx.de>
1959
d5f97f62
MA
1960 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1961 Check return code of copy command.
1962
853c1ffc
SM
1963 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1964 Use group `tramp'. Add version.
51b890ac 1965
04b14f2b
CY
19662012-12-05 Chong Yidong <cyd@gnu.org>
1967
a3680194
CY
1968 * ffap.el (ffap-url-regexp): Don't require matching at front of
1969 string (Bug#4952).
1970 (ffap-url-p): If only a substring matches, return that.
1971 (ffap-url-at-point): Use the return value of ffap-url-p.
1972 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1973 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1974 (ffap-guess-file-name-at-point): Likewise.
1975 (ffap-replace-file-component): Fix typo.
1976
04b14f2b
CY
1977 * info.el (info-display-manual): Add existing Info buffers, whose
1978 files may not be in Info-directory-list, to the completion.
1979 (info--manual-names): New helper function.
1980
49596095
GM
19812012-12-05 Glenn Morris <rgm@gnu.org>
1982
1983 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1984 New functions, for detecting and resolving conflicts. (Bug#10709)
1985
b85aec93
J
19862012-12-04 Jambunathan K <kjambunathan@gmail.com>
1987
1988 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1989 (hi-lock-auto-select-face-defaults): New buffer local variable.
1990 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1991 (hi-lock-unface-buffer): Prompt user with useful defaults.
1992 With prefix arg, unhighlight all hi-lock patterns in buffer.
1993
8515507f
SM
19942012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1997
72cebfb7
MA
19982012-12-04 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * Makefile.in (TRAMP_SRC):
2001 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2002
0ec3f7ea
JH
20032012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2004
2005 * net/tramp-adb.el: New package.
2006
770de7cf
CY
20072012-12-04 Chong Yidong <cyd@gnu.org>
2008
ce3e7725
CY
2009 * terminal.el: Move to obsolete/.
2010
770de7cf
CY
2011 * longlines.el: Move to obsolete/.
2012
2013 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2014 Remove code referring to longlines mode.
2015
c38a186c
JL
20162012-12-03 Juri Linkov <juri@jurta.org>
2017
2018 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2019
329bfd64
AM
20202012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2021
2022 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
2023 (ispell-start-process, ispell-internal-change-dictionary):
2024 Make sure personal dictionary name is expanded after initial
2025 `default-directory' value. Use expanded strings for
2026 keep/restart checks and for value (Bug#13019).
329bfd64 2027
77a74935
JB
20282012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2029
2030 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2031
c5bc2d1d 20322012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
2033
2034 * files.el (dir-locals-read-from-file): Check file non-empty
2035 before reading. (Bug#13038)
2036
c5bc2d1d 20372012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
2038
2039 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2040 Remove any version extension before checking filename. (Bug#13006)
2041 (jka-compr-compression-info-list): Belated :version bump.
2042
c5bc2d1d 20432012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 2044
8ecba97d
CY
2045 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2046
a5bf43ba
CY
2047 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2048 (buffer-menu): Doc fix (Bug#12294).
2049
c5bc2d1d 20502012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
2051
2052 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2053 of diary-show-all-entries in the diary buffer (Bug#12994).
2054
c5bc2d1d 20552012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
2056
2057 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2058 "<STDIN>". This is binary safe.
2059
682ceaf8
JB
20602012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2061
2062 * calc/calc-forms.el (math-absolute-from-iso-dt)
2063 (math-date-to-iso-dt, math-parse-iso-date-validate)
2064 (math-iso-dt-to-date): New functions.
2065 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2066 (math-fd-isoweekday): New variables.
2067 (calc-date-notation, math-parse-standard-date, math-format-date)
2068 (math-format-date-part): Add support for more formatting codes.
2069
db47d5e9
DG
20702012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2071
2072 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2073 current buffer's file name when called interactively (Bug#12488).
2074
3faf4944
JL
20752012-12-02 Juri Linkov <juri@jurta.org>
2076
2077 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 2078 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 2079
cb5d51dc
YN
20802012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2081
2082 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2083 before using it for comparison (Bug#5297).
2084
f38cd76e
JA
20852012-12-01 Jari Aalto <jari.aalto@cante.net>
2086
2087 * textmodes/css-mode.el (css-current-defun-name): New function.
2088 (css-mode): Use it.
2089
2090 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2091 (html-mode): Use it.
2092
ba03d0d9
CY
20932012-12-01 Chong Yidong <cyd@gnu.org>
2094
2095 Modularize add-log-current-defun (Bug#2224).
2096 Suggested by Jari Aalto.
2097
2098 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2099 (add-log-current-defun): Move mode-specific code to other files.
2100 (add-log-lisp-like-modes, add-log-c-like-modes)
2101 (add-log-tex-like-modes): Variables deleted.
2102
2103 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2104 (lisp-mode-variables): Use it.
2105
2106 * progmodes/cc-mode.el (c-common-init):
2107 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2108 add-log-current-defun-function.
2109
2110 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2111 (m4-mode): Use it.
2112
2113 * progmodes/perl-mode.el (perl-current-defun-name): New.
2114 (perl-mode): Use it.
2115
853c1ffc
SM
2116 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2117 Use lisp-current-defun-name.
ba03d0d9
CY
2118
2119 * textmodes/tex-mode.el (tex-current-defun-name): New.
2120 (tex-common-initialization): Use it.
2121
2122 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2123 (texinfo-mode): Use it.
2124
92eadba5
CY
21252012-12-01 Chong Yidong <cyd@gnu.org>
2126
2127 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2128 * progmodes/autoconf.el (autoconf-mode):
2129 * progmodes/js.el (js-mode):
2130 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2131 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2132 * progmodes/perl-mode.el (perl-mode):
2133 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2134 * textmodes/css-mode.el (css-mode):
2135 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2136 (sgml-tags-invisible, sgml-guess-indent):
2137 * textmodes/tex-mode.el (tex-common-initialization)
2138 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2139 (doctex-mode, plain-tex-mode, latex-mode):
2140 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2141
3ddbf803
KK
21422012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2143
2144 * vc/vc-hg.el (vc-hg-next-revision):
2145 Ensure use of default "tip" output format. (Bug#6968)
2146
f0b6ae63
KS
21472012-12-01 Kim F. Storm <storm@cua.dk>
2148
2149 * startup.el (fancy-startup-tail): Add a clickable link
2150 (Bug#2176).
2151
c01bf73e
CY
21522012-12-01 Chong Yidong <cyd@gnu.org>
2153
2154 * startup.el (fancy-startup-tail): Improve the message about
2155 auto-save files (Bug#2176).
2156
f0b6ae63
KS
2157 * files.el (recover-session): Improve the descriptive message, and
2158 use substitute-command-keys.
2159
a9400458
GM
21602012-12-01 Glenn Morris <rgm@gnu.org>
2161
2162 * ido.el (ido-file-internal):
2163 Handle other-window, other-frame for dired. (Bug#13036)
2164
fb3bf6ce
GM
21652012-11-30 Glenn Morris <rgm@gnu.org>
2166
2167 * icomplete.el (icomplete-separator): Fix :version.
2168
a813fe3f
CY
21692012-11-30 Chong Yidong <cyd@gnu.org>
2170
2171 * shell.el (shell): For C-u M-x shell, use an inactive shell
2172 buffer as the default (Bug#1975).
276479fd
CY
2173 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2174 (shell-mode): Use them to reapply ansi colorization if Shell mode
2175 is re-enabled.
a813fe3f 2176
a8b733a5
CY
21772012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2178
2179 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2180
6fccd6e8
SB
21812012-11-30 Samuel Bronson <naesten@gmail.com>
2182
2183 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2184 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2185
53c9a337
TT
21862012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2187
2188 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2189 by move-to-column (Bug#3234).
2190
ccf520bb
CY
21912012-11-30 Chong Yidong <cyd@gnu.org>
2192
2193 * longlines.el (longlines-wrap-line, longlines-encode-region):
2194 Preserve text properties (Bug#1425).
2195
171b0949
OT
21962012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2197
2198 * vc/vc.el (vc-register): Allow registering a file which is
2199 already registered with a different backend (Bug#10589).
2200
cc37e70f
J
22012012-11-29 Jambunathan K <kjambunathan@gmail.com>
2202 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * icomplete.el: Change separator; add ido-style commands.
2205 (icomplete-show-key-bindings): Remove custom var.
2206 (icomplete-get-keys): Remove function.
2207 (icomplete-forward-completions, icomplete-backward-completions):
2208 New commands.
2209 (icomplete-minibuffer-map): New var.
2210 (icomplete-minibuffer-setup): Use it.
2211 (icomplete-exhibit): Don't delay if the list of completions is known.
2212 (icomplete-separator): New custom.
2213 (icomplete-completions): Use it.
2214 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2215 (minibuffer-force-complete-and-exit): New command.
2216 (minibuffer--complete-and-exit): New function extracted from
2217 minibuffer-complete-and-exit.
2218 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
2219
2220 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2221 error message when the file doesn't exist (bug#12974).
2222
31646597
KD
22232012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2224
2225 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2226
e9df8f87
GM
22272012-11-29 Glenn Morris <rgm@gnu.org>
2228
824eefe4
GM
2229 * files.el (hack-dir-local-variables): Warn if try to set
2230 coding via dir-locals, since it doesn't work. (Bug#7169)
2231
4ad900d9
GM
2232 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2233 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2234 Set buffer-local value of desktop-save-buffer.
2235 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2236 New functions.
2237 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2238 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2239
e9df8f87
GM
2240 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2241 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2242 Doc fix.
2243 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2244 Doc fixes.
2245
e7c8fcc4
JB
22462012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2247
2248 * calc/calc-forms.el (calc-date-notation): Fix regexp
2249 used to find time codes. Fix symbol for seconds.
2250
48d6d9c0
GM
22512012-11-27 Glenn Morris <rgm@gnu.org>
2252
2253 * emacs-lisp/derived.el (derived-mode-make-docstring):
2254 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2255
369f945d
SM
22562012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2259 lexically scoped variables (bug#13005).
2260
5c9cf0a3 22612012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2262
999e745e
GM
2263 * vc/vc-hooks.el (vc-mistrust-permissions):
2264 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2265
5c9cf0a3 22662012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2267
999e745e
GM
2268 * progmodes/python.el (python-indent-guess-indent-offset):
2269 If indentation is guessed make python-indent-offset buffer-local.
2270
207cb73c 2271 Fix Imenu regression.
999e745e
GM
2272 * progmodes/python.el (python-nav-beginning-of-defun):
2273 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2274 (python-imenu-prev-index-position): New function.
2275
5c9cf0a3 22762012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2277
2278 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2279
2280 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2281 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2282
5c9cf0a3 22832012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2284
2285 * hippie-exp.el (hippie-expand-try-functions-list):
2286 Re-autoload it. (Bug#12982)
2287
5c9cf0a3 22882012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2289
369f945d
SM
2290 * descr-text.el (describe-char-padded-string):
2291 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2292
5c9cf0a3 22932012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2294
2295 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2296 and obsoletion message.
2297
5c9cf0a3 22982012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2299
2300 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2301 the constructs to keep outside of the `cl-block' (bug#12977).
2302
5c9cf0a3 23032012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2304
2305 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2306 keep reading until we get the up-event anyway, in order to process
2307 the up-event for mouse-1-click-follows-link (Bug#12971).
2308
848a2dd1
SM
23092012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2312 base function is not yet defined (bug#12965).
2313 (ad-activate-advised-definition): Use ad-compile-function.
2314 (ad-activate): Use cond.
2315
9ad79506
LL
23162012-11-25 Leo Liu <sdl.web@gmail.com>
2317
2318 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2319 (Bug#12979)
2320
e2cb57f5
VB
23212012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2322
2323 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2324 reftex-section-info-function in order to be compatible with
2325 Texinfo integration.
2326
2327 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2328 (reftex-section-post-regexp, reftex-section-info-function):
2329 New variable.
2330 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2331 reftex-section-post-regexp, and reftex-section-info-function in order
2332 to be compatible with Texinfo integration.
2333
2334 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2335 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2336 Texinfo integration.
2337
1c4f115d
CY
23382012-11-25 Chong Yidong <cyd@gnu.org>
2339
2340 * faces.el: Make face-spec-set more analogous to setq.
2341 (face-spec-set): Change the third arg to specify whether this
2342 function is being called via defface, customize, or a third party.
2343 Set the appropriate symbol properties. Clear the override spec if
2344 setting via Custom. Initialize face if necessary. (Bug#4988)
2345 (face-spec-recalc): Allow theme faces to completely replace the
2346 defface spec, in the same way as custom faces (Bug#8454).
2347
2348 * cus-face.el (custom-declare-face): Move face initialization to
2349 face-spec-set.
2350 (custom-theme-set-faces): Don't initialize the face name here, as
2351 that is now done in face-spec-set.
2352
2353 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2354 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2355 Simplify by using the new arg to face-spec-set.
2356
2357 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2358 reset face-override-spec too, and use custom-declare-face.
2359
c2350548
JD
23602012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2361
2362 * term/ns-win.el (ns-initialize-window-system): Move creation of
2363 fontsets here (Bug#11964).
2364
ecfc364c
VB
23652012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2366
2367 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2368 cell renaming.
2369
0917cc54
CY
23702012-11-24 Chong Yidong <cyd@gnu.org>
2371
433212bf
CY
2372 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2373 obsolete.
2374
0917cc54
CY
2375 * custom.el (custom-theme-set-variables): Use a topological sort
2376 for ordering by custom dependencies (Bug#12952).
2377 (custom--sort-vars, custom--sort-vars-1): New functions.
2378
d125ca15 23792012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2380
2381 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2382 lexical-binding (bug#12938).
2383
d125ca15 23842012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2385
2386 * image-mode.el (image-transform-check-size): Use assertions only
2387 for images of type imagemagick.
2388
2389 Otherwise no error, image-transform-fit-to-{width,height} is
2390 silently ignored, as before. Doc fix.
2391
d125ca15 23922012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2393
2394 * faces.el (color-defined-p): Doc fix (Bug#12853).
2395
d125ca15 23962012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2397
2398 * dired.el (dired-mark): Add optional arg `interactive'.
2399 Check for `use-region-p' if `interactive' is non-nil.
2400 (dired-unmark, dired-flag-file-deletion): Add optional arg
2401 `interactive'. Call `dired-mark' with the arg `interactive'.
2402 (Bug#10624)
2403
cc4c01bd
JL
2404 * wdired.el: Revert 2012-10-17 change partly and replace it with
2405 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2406 (wdired-finish-edit): Add marks for new file names to
2407 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2408 after `revert-buffer'.
2409 (wdired-do-renames): Remove calls to `dired-remove-file',
2410 `dired-add-file', `dired-add-entry'. (Bug#11795)
2411
d125ca15 24122012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2413
dc310ed0
AM
2414 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2415
b03aabda
AM
2416 Fix bugs in the state cache. Enhance a debugging mechanism.
2417 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2418 "brace at column zero" strategy for C++.
2419 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2420 (c-parse-state-point): New variable.
2421 (c-record-parse-state-state): Record old parse state with
2422 `copy-tree'. Record previous value of point.
2423 (c-debug-parse-state-double-cons): New debugging function.
2424 (c-debug-parse-state): Call the above new function.
2425 (c-toggle-parse-state-debug): Output a confirmatory message.
2426
002c019c
SM
2427 * progmodes/cc-mode.el (c-before-change, c-after-change):
2428 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2429 `c-after-change'.
2430
930a6273
CY
24312012-11-23 Chong Yidong <cyd@gnu.org>
2432
2433 * find-cmd.el (find-constituents): Add executable, ipath,
2434 readable, samefile, writable, daystart, regextype (Bug#12856).
2435
15c9d04e
SM
24362012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2439
2ecb2679
PE
24402012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2441
2442 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2443 definition. This fixes a bootstrap failure.
a14a5a40
PE
2444 (calc-gregorian-switch): In menu, put dates before regions.
2445 This is easier to follow, lines up better in the menu, and lets us
2446 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2447 names, not "Vatican", as that's better for non-expert users.
2448 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2449 Bohemia and Moravia (which existed then and now) and not
2450 Czechoslovakia (which didn't exist then and doesn't exist now).
2451 What is now the U.S. mostly did not switch at the same time as
2452 Britain, so omit the U.S. Correct spelling of "Britain".
2453 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2454
723da6aa
JB
24552012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2456
2457 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2458 after the variable is changed.
2459
21fa2482
DC
24602012-11-21 Daniel Colascione <dancol@dancol.org>
2461
2462 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2463 in SQL declarations for font-lock.
2464 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2465
3ca2f1bf
GM
24662012-11-21 Glenn Morris <rgm@gnu.org>
2467
1bf335cf
GM
2468 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2469 (face-italic-p): Add optional argument "inherit".
2470
3ca2f1bf
GM
2471 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2472 Remove -p suffix from names, for consistency with other set-face-*.
2473 (set-face-inverse-video): Fix interactive spec.
2474 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2475 * textmodes/table.el (table--update-cell-face):
2476 Use set-face-inverse-video rather than now obsolete alias.
2477
6ef2e5ef 24782012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2479
2480 * simple.el (line-move): Don't call line-move-partial if
2481 scroll-conservatively is in effect. (Bug#12927)
2482
6ef2e5ef 24832012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2484
93b05041
SM
2485 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2486 Fallback on completion-at-point rather than
2487 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2488 (eshell-cmpl-initialize): Setup completion-at-point.
2489
2490 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2491
bc715d67
SM
2492 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2493
6ef2e5ef 24942012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2495
2496 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2497 are remote, check out-of-band property for both.
2498
6ef2e5ef 24992012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2500
2501 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2502 code rewrite.
2503
6ef2e5ef 25042012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2505
535efd4a
PE
2506 More minor time fixes.
2507 * calendar/time-date.el: Commentary fix.
2508 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2509 too much other code depends on (0 0) time stamps.
2510 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2511 Add a couple of FIXME comments.
2512
0c93aa38
PE
2513 Minor cleanup for times as lists of four integers.
2514 * files.el (dir-locals-directory-cache):
2515 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2516 Doc fixes.
2517 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2518 * ps-bdf.el (bdf-file-newer-than-time):
2519 Process four-integers time stamps, not two. Doc fixes.
2520
23ba2705
SM
25212012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2e31777b
SM
2523 * uniquify.el (uniquify-managed): Use defvar-local.
2524 (rename-buffer, create-file-buffer): Advise with advice-add.
2525 (uniquify-unload-function): Unadvise accordingly.
2526
8b62d742
SM
2527 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2528 (trace-buffer): Don't purecopy.
2529 (trace-entry-message, trace-exit-message): Add `context' arg.
2530 (trace--timer): New var.
2531 (trace-make-advice): Adjust for use in nadvice.
2532 Add `context' argument. Delay `display-buffer' via a timer.
2533 (trace-function-internal): Use advice-add.
2534 (trace--read-args): New function.
2535 (trace-function-foreground, trace-function-background): Use it.
2536 (trace-function): Rename to trace-function-foreground and redefine as
2537 an alias to that new name.
2538 (untrace-function, untrace-all): Adjust to the use of nadvice.
2539
5d0ccd95
SM
2540 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2541
3837d988
SM
2542 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2543
23ba2705
SM
2544 * subr.el (called-interactively-p-functions): New var.
2545 (internal--called-interactively-p--get-frame): New macro.
2546 (called-interactively-p, interactive-p): Rewrite in Lisp.
2547 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2548 (called-interactively-p-functions): Use it.
2549 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2550 (called-interactively-p-functions): Use it.
2551 * allout.el (allout-called-interactively-p): Don't assume
2552 called-interactively-p is a subr.
2553
b0636be7
GM
25542012-11-20 Glenn Morris <rgm@gnu.org>
2555
2556 * profiler.el (profiler-report-mode-map): Add a menu.
2557 No need to bind `q' because we derive from special-mode.
2558 (profiler-report-find-entry): Handle calls from the menu-bar.
2559
855b17af
SM
25602012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2561
14146222
SM
2562 * emacs-lisp/byte-run.el (defun-declarations-alist):
2563 Allow a compiler-macro to be a lambda expression.
2564
2565 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2566 eval-when-compile.
2567 (python-syntax-context): Add compiler-macro.
2568 (python-font-lock-keywords): Simplify with De Morgan.
2569
1000d895
SM
2570 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2571
ac5392dc
SM
2572 * files.el (load-file): Require match in minibuffer selection, as was
2573 the case in Emacs-20 before we changed the spec to allow .elc files
2574 (bug#12935).
2575
19dc7206
SM
2576 * json.el: Don't require cl since we don't use it.
2577 * color.el: Don't require cl.
2578 (color-complement): `caddr' -> `nth 2'.
2579
855b17af
SM
2580 * calendar/time-date.el (time-to-seconds): De-obsolete.
2581
e8909bdc
JB
25822012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2583
2584 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2585 year numbers.
2586 (math-date-to-julian-dt): Adjust the initial approximation for the
2587 year to deal with the new definition of the DATE.
2588
6e9f7997
DC
25892012-11-19 Daniel Colascione <dancol@dancol.org>
2590
855b17af
SM
2591 * term/w32-win.el (cygwin-convert-path-from-windows):
2592 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2593
6a3dd257
CY
25942012-11-18 Chong Yidong <cyd@gnu.org>
2595
2596 * filecache.el (file-cache--read-list): New function.
2597 (file-cache-add-directory-list, file-cache-add-file-list)
2598 (file-cache-delete-file-list, file-cache-delete-directory-list):
2599 Use it to read a list of files or directories (Bug#12846).
2600 (file-cache-add-file, file-cache-add-directory)
2601 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2602 (file-cache-delete-directory): Print an message.
2603
eef97f35
JB
26042012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2605
2606 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2607 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2608
913c8291
GM
26092012-11-18 Glenn Morris <rgm@gnu.org>
2610
2611 * image.el (insert-image, insert-sliced-image): Doc fix.
2612
2ac9538d 26132012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2614
2615 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2616 (Bug#12810).
2617
2ac9538d 26182012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2619
2620 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2621 response when the target file is in a subdirectory (Bug#12757).
2622
2ac9538d 26232012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2624
2625 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2626
2ac9538d 26272012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2628
9a5e2ee3
GM
2629 * emacs-lisp/cl-lib.el (face-underline-p):
2630 Use set-face-underline rather than the alias set-face-underline-p.
2631
65463c40 2632 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2633 * subr.el (with-output-to-temp-buffer):
2634 Add doc xref to with-temp-buffer-window.
65463c40 2635
c9ed8e3d
JB
26362012-11-18 Juanma Barranquero <lekktu@gmail.com>
2637
2638 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2639 * calc/calc.el (math-format-date-cache): Declare.
2640
310e60d9
PE
26412012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2642
6f6b82d6
PE
2643 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2644 It also uses January 1, 1 AD as its day number 1.
310e60d9 2645 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2646 (math-julian-date-beginning-int): Implement this.
310e60d9 2647
d7fe6352
JB
26482012-11-17 Juanma Barranquero <lekktu@gmail.com>
2649
2650 * descr-text.el (quail-find-key):
2651 * dired.el (desktop-file-name):
2652 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2653 * generic-x.el (comint-mode, comint-exec):
2654 * image-dired.el (widget-forward):
2655 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2656 (speedbar-change-expand-button-char)
2657 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2658 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2659 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2660 (widget-field-action, widget-value-set):
2661 * speedbar.el (imenu--make-index-alist):
2662 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2663 (ring-length, ring-insert):
2664 * vcursor.el (compare-windows-skip-whitespace):
2665 * woman.el (dired-get-filename):
2666 Declare functions.
2667
2668 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2669
c9f618db
JB
26702012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2671
2672 * calc/calc.el (calc-gregorian-switch): New variable.
2673
2674 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2675 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2676 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2677 (math-leap-year-p): Add option to distinguish between Julian
2678 and Gregorian calendars.
2679 (math-day-number): Use `math-day-in-year' to do the computations.
2680 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2681 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2682 to do the computations.
2683 (math-date-to-dt): Use `math-date-to-julian-dt' and
2684 `math-date-to-gregorian-dt' to do the computations.
2685 (calcFunc-weekday, math-format-date-part): Use the new version of
2686 the DATE to determine the weekday.
2687 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2688 when necessary.
2689
3804f7bc
EZ
26902012-11-17 Eli Zaretskii <eliz@gnu.org>
2691
2692 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2693 Cygwin; otherwise use 'file:'. (Bug#12914)
2694 (cygwin-convert-path-from-windows): Declare, to avoid
2695 byte-compiler warnings.
2696
de959d4d
AP
26972012-11-17 Andreas Politz <politza@fh-trier.de>
2698
2699 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2700 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2701 prefix and negative numeric prefix args (Bug#12795).
2702
e45deaef
SB
27032012-11-17 Stephen Berman <stephen.berman@gmx.net>
2704
2705 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2706 Don't signal an error with a score that is too low to add to the
2707 list of top scores. (Bug#12779)
2708
ec15e0ff
CY
27092012-11-17 Chong Yidong <cyd@gnu.org>
2710
8e7696a1
CY
2711 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2712
ec15e0ff
CY
2713 * filecache.el (file-cache-add-file): Handle relative file name in
2714 the argument (Bug#12694).
2715
60c4ee66
JH
27162012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2717
2718 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2719
cdc5d88c
SM
27202012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2721
dd0c5bbb
SM
2722 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2723
cdc5d88c
SM
2724 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2725
0ff7851c
MR
27262012-11-16 Martin Rudalics <rudalics@gmx.at>
2727
2728 * window.el (enlarge-window, shrink-window): Don't mention return
2729 value in doc-string (Bug#12896).
2730 (window--display-buffer): Don't resize frames - it won't work
2731 with all window managers and defeat pop-up-frame-alist.
2732 (display-buffer-alist): In doc-string explain that CONDITION can
2733 be a function and which arguments are passed to it (Bug#12854).
2734 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2735 expressions (Bug#12854).
2736 (display-buffer): Pass ACTION argument to
2737 display-buffer-assq-regexp.
2738
dedd1884
GM
27392012-11-16 Glenn Morris <rgm@gnu.org>
2740
7c82753d
GM
2741 * window.el (fit-frame-to-buffer-bottom-margin)
2742 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2743
dedd1884
GM
2744 * faces.el (face-underline-p): Use face-attribute-specified-or.
2745
96e05507 27462012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2747
2748 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2749
96e05507 27502012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2751
2752 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2753
96e05507 27542012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2755
17c083ac
GM
2756 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2757 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2758
bde3c6c0
GM
2759 * faces.el (face-underline-p): Doc fix. Handle :underline being
2760 things other than `t' (a string, a list).
2761 (face-inverse-video-p): Doc fix.
2762 (set-face-underline): Rename it back from set-face-underline-p.
2763 Doc fix. Allow interactive input of values other than t.
2764 (read-face-attribute): Apply formatting to :underline,
2765 since like :box and :stipple it can take list values.
2766
e2e13f18
GM
2767 * term.el (ansi-term): Don't let C-x escape-char binding
2768 clobber the more standard C-c binding. (Bug#12842)
2769
e0ea8060
GM
2770 * subr.el (set-temporary-overlay-map): Doc fix.
2771
96e05507 27722012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2773
2774 * window.el (record-window-buffer)
2775 (display-buffer-record-window): When copying the markers to
2776 window-point preserve window-point-insertion-type. (Bug#12588)
2777
96e05507 27782012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2779
2780 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2781 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2782 Use new names for hooks rather than obsolete aliases.
2783
faeafc01
DC
27842012-11-15 Daniel Colascione <dancol@dancol.org>
2785
2786 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2787 prefix instead of "file:" so that when FILE-NAME begins with "//",
2788 as it does when the target file is on a network share, url-handler
2789 isn't confused.
2790
1232d6c2
SM
27912012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2794 a preactivated advice from an old advice.el; they're not compatible!
2795
47f01a8a
KY
27962012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2797
2798 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2799 Fix string-spec case.
2800
2801 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2802
a61428c4
SM
28032012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2804
2805 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2806 (advice--buffer-local-function-sample): New var.
2807 (advice--set-buffer-local, advice--buffer-local): New functions.
2808 (add-function, remove-function): Use them.
2809
875ce3a7
DA
28102012-11-15 Drew Adams <drew.adams@oracle.com>
2811
2812 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2813
589fc479
SM
28142012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2815
2816 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2817 potential binding of print-gensym to t, and prettify (back)quotes in
2818 case they appear in args's default values (bug#12884).
2819
1668ea90
SM
28202012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2823 (advice-eval-interactive-spec): New function.
2824 (advice--make-interactive-form): Support around advice (bug#12844).
2825
8619323f
DG
28262012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2827
2828 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2829 more strict. Add docstring.
c62792e7
DG
2830 (ruby-expression-expansion-re): Extract from
2831 `ruby-match-expression-expansion'.
2832 (ruby-syntax-propertize-function): After everything else, search
2833 for expansions in string literals, mark their insides as
2834 whitespace syntax and save match data for font-lock.
2835 (ruby-font-lock-keywords): Use the 2nd group from expression
2836 expansion matches.
2837 (ruby-match-expression-expansion): Use the match data saved to the
2838 text property in ruby-syntax-propertize-function.
8619323f 2839
9c3912d3
SM
28402012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2843 (bug#12879).
2844
5e9419e8
DG
28452012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2846
2847 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2848 start/end keyword a bit harder. Works with different values of N.
2849 Add more comments.
2850 (ruby-end-of-block): Update accordingly.
2851
3c442f8b
SM
28522012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2853
fa470af0
SM
2854 * woman.el (woman-file-name): Don't mess with unread-command-events
2855 (bug#12861).
2856
3c442f8b
SM
2857 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2858 Remove out of date self-require hack.
2859 (ad-do-advised-functions): Use simple `dolist'.
2860 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2861 (ad-advice-definition): Redefine as functions.
2862 (ad-advice-classes): Move before first use.
2863 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2864 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2865 (ad--defalias-fset): Remove functions.
fa470af0 2866 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2867 (ad-get-orig-definition): Rewrite.
2868 (ad-make-advised-definition-docstring): Change base docstring.
2869 (ad-real-orig-definition): Rewrite.
2870 (ad-map-arglists): Change name of called function.
2871 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2872 (ad-make-advised-definition): Simplify.
2873 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2874 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2875 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2876 function and call ad-activate if needed.
2877 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2878 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2879 (ad-compile-function): Compile ad-Advice-*.
2880 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2881 (ad-start-advice, ad-stop-advice): Remove.
2882
5745cae6
DG
28832012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2884
2885 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2886 period before class method names, not after. Remove handling of
2887 one impossible case. Add comments.
2888
413d4689
SM
28892012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2890
7db1bda8
SM
2891 * emacs-lisp/advice.el: Remove support for freezing.
2892 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2893 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2894 Remove support for `freeze'.
2895
413d4689
SM
2896 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2897 override the default.
2898 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2899 cl--dotimes/dolist.
2900 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2901 `cl' is loaded.
2902
2903 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2904 from add-advice.
2905 (advice--strip-macro): New function.
2906 (advice--defalias-fset): Use them to handle macros.
2907 (advice-add): Use them.
2908 (advice-member-p): Correctly handle macros.
2909
f178c32d
DG
29102012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2911
7db1bda8
SM
2912 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2913 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2914
f78ee6af 29152012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2916
2917 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2918
f78ee6af 29192012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2920
2921 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2922 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2923 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2924
f78ee6af 29252012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2926
2927 Fix end-of-defun misbehavior.
2928 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2929 python-beginning-of-defun-function. Handle nested defuns
2930 correctly.
2931 (python-nav-end-of-defun): Rename from
2932 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2933 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2934 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2935 parent defuns as soon as possible.
2936
f78ee6af 29372012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2938
2939 * progmodes/flymake.el (flymake-error-bitmap)
2940 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2941 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2942
f78ee6af 29432012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2944
2945 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2946 backward, always stop at indentation. Reverts the change from
2947 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2948
f78ee6af 29492012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2950
a1d3e07e
GM
2951 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2952 Add ibuffer-filter-by-derived-mode.
2953
84acf328
GM
2954 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2955 the same name shadowing each other.
2956
38785e75
GM
2957 * window.el (with-temp-buffer-window): Doc tweak.
2958
57fc0fee
GM
2959 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2960
6ba6a3e5
GM
2961 * help.el (temp-buffer-max-height):
2962 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2963 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2964
231d8498
SM
29652012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/nadvice.el: New package.
2968 * subr.el (special-form-p): New function.
2969 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2970 (elp-all-instrumented-list): Remove var.
2971 (elp-not-profilable): Remove elp-wrapper.
2972 (elp-profilable-p): Use autoloadp and special-form-p.
2973 (elp--advice-name): New const.
2974 (elp-instrument-function): Use advice-add.
2975 (elp--instrumented-p): New predicate.
2976 (elp-restore-function): Use advice-remove.
2977 (elp-restore-all, elp-reset-all): Use mapatoms.
2978 (elp-set-master): Use elp--instrumented-p.
2979 (elp--make-wrapper): Rename from elp-wrapper, return a function
2980 suitable for advice-add. Use cl-inf.
2981 (elp-results): Use mapatoms+elp--instrumented-p.
2982 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2983 (debug-function-list): Remove var.
2984 (debug): Rename arg, and then let-bind it explicitly inside.
2985 (debugger-setup-buffer): Rename arg.
2986 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2987 (debugger-frame-number): Adjust to new debug-on-entry setup.
2988 (debug--implement-debug-on-entry): Rename from
2989 implement-debug-on-entry, add argument.
2990 (debugger-special-form-p): Remove, use special-form-p instead.
2991 (debug-on-entry): Use advice-add.
2992 (debug--function-list): New function.
2993 (cancel-debug-on-entry): Use it, along with advice-remove.
2994 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2995 (debugger-list-functions): Use debug--function-list instead of
2996 debug-function-list.
2997 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2998 (ad-special-form-p): Remove, use special-form-p instead.
2999 (ad-set-advice-info): Use add-function and remove-function.
3000 (ad--defalias-fset): Adjust accordingly.
3001
19e09879
GM
30022012-11-10 Glenn Morris <rgm@gnu.org>
3003
714cebd1
GM
3004 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3005 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3006 (report-emacs-bug-create-existing-bugs-buffer)
3007 (report-emacs-bug-parse-query-results)
3008 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3009
bf67dafa
GM
3010 * term.el (term-default-fg-color, term-default-bg-color):
3011 Make obsolete, rather than just saying "deprecated" in the doc.
3012
19e09879
GM
3013 * term.el (term): Rename from `term-face'.
3014 (term-current-face, ansi-term-color-vector)
3015 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3016 Update all users.
3017
6baf66d5 30182012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
3019
3020 * server.el (server-create-window-system-frame): Handle Nextstep
3021 specially (Bug#12780).
3022
6baf66d5 30232012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
3024
3025 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3026 Unautoload, and make obsolete. (Bug#7449)
3027
6baf66d5 30282012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
3029
3030 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3031 rename from diff-remove-trailing-whitespace (Bug#12831).
3032
6baf66d5 30332012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
3034
3035 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3036 miscompilation of trace.el.
3037
6baf66d5 30382012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
3039
3040 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3041
6baf66d5 30422012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
3043
3044 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3045 (bug#12812).
3046
6baf66d5 30472012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
3048
3049 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3050 a defcustom with an appropriate :set function.
3051 (minibuffer-default--in-prompt-regexps): New function.
3052
6baf66d5 30532012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 3054
031b2ea7
GM
3055 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3056 (define-modify-macro): Doc fixes.
3057
2ee1d59f
GM
3058 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3059 (gv-define-simple-setter): Update doc of `fix-return'.
3060
6baf66d5 30612012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 3062
b715ed44
SM
3063 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3064 twice when `fix-return' is set (bug#12813).
3065
d57c286e
SM
3066 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3067 gv-define-simple-setter (bug#12812).
3068
c9cac599
SM
3069 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3070 (bug#12756).
3071
6baf66d5 30722012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
3073
3074 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3075
5593ed90
GM
3076 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3077 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3078 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3079 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3080
3081 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3082
05a859c1
LL
30832012-11-10 Leo Liu <sdl.web@gmail.com>
3084
3085 * ido.el (ido-set-matches-1): Improve flex matching performance by
3086 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3087
32e5c58c
SM
30882012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3089
3090 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3091 (ad--defalias-fset): New function.
3092 (ad-safe-fset): Remove.
3093 (ad-make-freeze-definition): Use cl-letf*.
3094
f5925cd9
SM
30952012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3096
da03ef8a
SM
3097 * subr.el (dolist): Don't bind VAR in RESULT.
3098
6858633a
SM
3099 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3100 (fset, documentation): Don't save real def since we don't advise.
3101 (ad-do-advised-functions): Remove problematic `result-form'.
3102 (ad-safe-fset): `ad-real-fset' => `fset'.
3103 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3104 uses CL's dolist internally.
3105 (ad-arglist): Remove unused arg `name'.
3106 (ad-docstring, ad-make-advised-docstring):
3107 `ad-real-documentation' => `documentation'.
3108 (warning-suppress-types): Declare.
3109 (ad-set-arguments): Simple CSE.
3110 (ad-recover-normality): Sanity check.
3111
f5925cd9
SM
3112 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3113 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3114
93a66b3a
VB
31152012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3116
3117 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
3118 `ses-cell'. This means that the same mapping is done for all SES
3119 sheets. That is good enough for cells with standard A1 names, but
3120 not for named cell. So a hash map is added for the latter.
3121 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
3122 (ses-sym-rowcol): Use hashmap for named cell.
3123 (ses-is-cell-sym-p): New defun.
3124 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
3125 (ses-create-cell-variable): Add cell to hashmap when name is not
3126 A1-like.
93a66b3a
VB
3127 (ses-rename-cell): Check that cell new name is not already in
3128 spreadsheet with the use of ses-is-cell-sym-p
3129 (ses-rename-cell): Use hash map for named cells, but accept also
3130 renaming back to A1-like.
3131
67dd8ad1
SM
31322012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3133
57618ecf
SM
3134 * emacs-lisp/advice.el: Use new dynamic docstrings.
3135 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3136 Use dynamic-docstring-function instead of ad-advice-info.
3137 (ad--make-advised-docstring): New function extracted from
3138 ad-make-advised-docstring.
3139 (ad-make-advised-docstring): Use it.
3140 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3141 from sql-help.
3142 (sql-help): Use it with dynamic-docstring-function.
3143
67dd8ad1
SM
3144 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3145
be883b34
SM
31462012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3147
d41706aa
SM
3148 * files.el (hack-one-local-variable--obsolete): New function.
3149 (hack-one-local-variable): Use it for obsolete settings.
3150
85e55412
SM
3151 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3152 the new name.
3153
be883b34
SM
3154 * progmodes/js.el (js--filling-paragraph): New var.
3155 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3156 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3157 less sneaky.
3158
cabc040a
JD
31592012-11-08 Julien Danjou <julien@danjou.info>
3160
3161 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3162 `auto-mode-alist' (Bug#12835).
3163
d14bb752
SM
31642012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3165
79b3e376
SM
3166 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3167 (perl--prettify-symbols-alist): New const.
3168 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3169 New functions.
3170 (perl-font-lock-keywords-2): Use them.
3171 (perl-electric-noindent-p): New function.
3172 (perl-mode): Use it to set up electric-indent-mode.
3173 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3174 (perl-mode-map): Remove bindings for them.
3175 (perl-imenu-generic-expression, perl-outline-level):
3176 Match functions&packages in column>0.
3177
3b11e6ac
SM
3178 * env.el (env--substitute-vars-regexp): New const.
3179 (substitute-env-vars): Use it. Add `only-defined' arg.
3180 * net/tramp.el (tramp-replace-environment-variables): Use it.
3181
784c1a7b
SM
3182 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3183 Byte-compile *before* eval in eval-and-compile.
3184 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3185 (byte-compile-file-form-autoload): Don't hide actual definition.
3186 (byte-compile-maybe-guarded): Accept `functionp' as well.
3187
d14bb752
SM
3188 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3189
499a0f7a
MA
31902012-11-07 Michael Albinus <michael.albinus@gmx.de>
3191
3192 * notifications.el (notifications-get-server-information-method):
3193 New defconst.
3194 (notifications-get-capabilities): Fix docstring.
3195 (notifications-get-server-information): New defun.
3196
f0704a9a
AM
31972012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3198
3199 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3200 readability.
3201
b159a1fd
AM
3202 * textmodes/ispell.el: Experimental support for support debugging.
3203 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3204 buffer for ispell.
3205 (ispell-print-if-debug): New function to print stuff to
3206 `ispell-debug-buffer' if debugging is enabled.
3207 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3208 show some debugging info.
3209 (ispell-buffer-with-debug): New function that creates a debugging
3210 buffer and calls `ispell-buffer' with debugging enabled.
3211
056cb3a1
AM
3212 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3213 comment in autoconf mode. (Bug#12768)
3214
8e6a67b7
DA
32152012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3216
3217 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3218 frame-first-window, frame-root-window, frame-selected-window,
3219 minibuffer-selected-window, minibuffer-window,
3220 window-absolute-pixel-edges, window-at, window-body-height,
3221 window-body-width, window-display-table, window-combination-limit,
3222 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3223 window-inside-edges, window-inside-pixel-edges, window-left-child,
3224 window-left-column, window-margins, window-next-buffers,
3225 window-next-sibling, window-new-normal, window-new-total,
3226 window-normal-size, window-parameter, window-parameters, window-parent,
3227 window-pixel-edges, window-point, window-prev-buffers,
3228 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3229 window-start, window-text-height, window-top-child, window-top-line,
3230 window-total-height, window-total-width and window-use-time to the list
3231 of functions without side-effects.
3232 (toplevel): Add window-valid-p to the list of error-free functions
3233 without side-effects.
3234
53fc914f
AM
32352012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3236
f5925cd9
SM
3237 * textmodes/ispell.el (ispell-program-name):
3238 Update spellchecker parameters when customized.
53fc914f 3239
9749e2b0
GM
32402012-11-04 Glenn Morris <rgm@gnu.org>
3241
3242 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3243
2cbafa56
CY
32442012-11-04 Chong Yidong <cyd@gnu.org>
3245
3246 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3247 same-window-* variables.
3248
85178ca1
JL
32492012-11-04 Juri Linkov <juri@jurta.org>
3250
3251 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3252 (isearch-describe-key, isearch-describe-mode): Use a display
3253 action instead of binding same-window-* variables (Bug#10040).
3254
5c677d44
GM
32552012-11-03 Glenn Morris <rgm@gnu.org>
3256
49138400
GM
3257 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3258 Rename handler properties back from cl-- to cl-. (Bug#12788)
3259
5c677d44
GM
3260 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3261
1d4341f9
EZ
32622012-11-03 Eli Zaretskii <eliz@gnu.org>
3263
3264 * term/pc-win.el: Don't load term/internal from here.
3265
3266 * loadup.el: Load term/internal from here.
3267
12fd5ee1
FEG
32682012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3269
3270 * progmodes/python.el (inferior-python-mode): Fix hang in
3271 jit-lock (Bug#12645).
3272
43bcfda6
MR
32732012-11-03 Martin Rudalics <rudalics@gmx.at>
3274
3275 * window.el (switch-to-visible-buffer)
3276 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3277
376a8e83
GM
32782012-11-03 Glenn Morris <rgm@gnu.org>
3279
3280 * emacs-lisp/cl-lib.el (cl--random-time):
3281 Rename from cl-random-time. (Bug#12773)
3282 (cl--gensym-counter, cl--random-state): Update callers.
3283 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3284
0f7b074f
CY
32852012-11-03 Chong Yidong <cyd@gnu.org>
3286
3287 * cus-start.el: Make cursor-type customizable (Bug#11633).
3288
3a6851d9
GM
32892012-11-02 Glenn Morris <rgm@gnu.org>
3290
00a3b041
GM
3291 * filecache.el: No need to load find-lisp when compiling.
3292 (find-lisp-find-files): Autoload it.
3293 (file-cache-add-directory-recursively): Don't require find-lisp.
3294
11fef14a
GM
3295 * image.el (image-type-from-file-name): Trivial simplification.
3296
3a6851d9
GM
3297 * emacs-lisp/bytecomp.el (byte-compile-eval):
3298 Decouple "noruntime" and "cl-functions" warnings.
3299
b4b096e4
SB
33002012-11-01 Stephen Berman <stephen.berman@gmx.net>
3301
3302 * play/gomoku.el (gomoku-display-statistics): Update mode line
3303 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3304
218e997a
MR
33052012-10-31 Martin Rudalics <rudalics@gmx.at>
3306
3307 * window.el (quit-restore-window): If the window has been
3308 created on an existing frame and ended up as the sole window on
3309 that frame, do not delete it (Bug#12764).
3310
b08b6da7
SM
33112012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3618df45
SM
3313 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3314 Rename from sh--inside-arithmetic-expression, handle more cases
3315 (bug#11263).
3316
b08b6da7
SM
3317 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3318 (sh-font-lock-open-heredoc): Use it (bug#12770).
3319
4ddedf94
GM
33202012-10-30 Glenn Morris <rgm@gnu.org>
3321
f43a5263
GM
3322 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3323
4ddedf94
GM
3324 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3325
748b0d84
CY
33262012-10-29 Chong Yidong <cyd@gnu.org>
3327
b5dd9a77
CY
3328 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3329 function key is stored in a keyboard macro (Bug#4894).
3330
748b0d84
CY
3331 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3332
e07fcbdc
SM
33332012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3334
d7f9cc85
SM
3335 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3336 header comments".
3337 (diff-unified->context, diff-context->unified)
3338 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3339
c606253c
SM
3340 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3341
e07fcbdc
SM
3342 * files.el (find-alternate-file): Only ask one question (bug#12487).
3343
894b9dd9
CY
33442012-10-29 Chong Yidong <cyd@gnu.org>
3345
1dc2755a
CY
3346 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3347 Suggested by Dan Nicolaescu (Bug#6326).
3348
329c48d8
CY
3349 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3350
2230fa5b 3351 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3352
e84cad57
CY
3353 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3354
1913c5f5
CY
3355 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3356
894b9dd9
CY
3357 * face-remap.el (face-remap-add-relative): Handle the case where a
3358 face-remapping-alist entry is a cons cell (Bug#12762).
3359
329c48d8
CY
33602012-10-29 Kevin Ryde <user42@zip.com.au>
3361
3362 * woman.el (woman-parse-numeric-value): Handle picas correctly
3363 (Bug#12639).
3364
a0ccbcbd
GM
33652012-10-29 Glenn Morris <rgm@gnu.org>
3366
3367 * emacs-lisp/cl.el (defsetf): Doc fix.
3368
b3871e59
SM
33692012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3372 syntax to the matching opener, if any (bug#12547).
3373 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3374 matching open as a "case-(".
3375 (sh-smie-rc-grammar): Add a corresponding rule for it.
3376
cd44022c
DH
33772012-10-28 Daniel Hackney <dan@haxney.org>
3378
3379 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3380 "PKGNAME-autoloads.el" in case we created it.
3381
70edffb1
SM
33822012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3383
86957a0c
SM
3384 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3385 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3386 (completion--twq-all): Disable too-strict assertions.
86957a0c 3387
70edffb1
SM
3388 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3389
d069271c
EZ
33902012-10-27 Eli Zaretskii <eliz@gnu.org>
3391
3392 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3393 text to match the real keybindings.
3394
e2f022a3
JL
33952012-10-27 Juri Linkov <juri@jurta.org>
3396
3397 * wdired.el (wdired-keep-marker-rename): New defcustom.
3398 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3399 (Bug#11795)
3400
3401 * dired.el (dired-keep-marker-rename): Add reference to
3402 `wdired-keep-marker-rename' in the docstring.
3403 Add default character value ?R to display initially in
3404 Customization UI instead of ?@.
3405
df171c23
MR
34062012-10-27 Martin Rudalics <rudalics@gmx.at>
3407
3408 * window.el (display-buffer): In doc-string describe
3409 window-height and window-width alist entries.
3410
3411 * time.el (display-time-world): Restore fit-window-to-buffer
3412 behavior.
3413
05b621a6
CY
34142012-10-27 Chong Yidong <cyd@gnu.org>
3415
3416 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3417
55f197b2
J
34182012-10-26 Jambunathan K <kjambunathan@gmail.com>
3419
3420 * minibuffer.el (completion-category-overrides): New completion
3421 category `bookmark' (bug#11131).
3422
372212df
SM
34232012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3424
150f809c
SM
3425 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3426 Silence bogus compiler warnings for ad-do-it.
3427
372212df
SM
3428 * bookmark.el (bookmark-completing-read): Set the completion category
3429 to `bookmark' (bug#11131).
3430
c5772569
B
34312012-10-26 Bastien <bzg@altern.org>
3432 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * face-remap.el: Use lexical-binding.
3435 (text-scale-adjust): Improve docstring. Use itself for the temporary
3436 overlay-map bindings, so as to repeat the "Use..." message each time.
3437
a2be0357
SM
34382012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3439
63314e57
SM
3440 * emacs-lisp/macroexp.el (macroexp--expand-all):
3441 Obey byte-compile-warning-enabled-p (bug#12486).
3442
a2be0357
SM
3443 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3444 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3445
8c7727c3
MR
34462012-10-26 Martin Rudalics <rudalics@gmx.at>
3447
3448 * mouse.el (mouse-drag-line): Move last form into preceding when
3449 clause (Bug#12731).
3450
3451 * help.el (resize-temp-buffer-window): Fix doc-string.
3452
3f2a848d
DE
34532012-10-25 David Engster <deng@randomsample.de>
3454
3455 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3456 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3457
3458 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3459 always loaded. Require `speedbar' unconditionally.
3460
a7723be6
SM
34612012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3462
aaabfc8b
SM
3463 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3464
414a8595
SM
3465 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3466
fb5b9475
SM
3467 * net/ldap.el (ldap-search-internal): The official ldif format starts
3468 with a "version: 1" header (bug#12724).
3469
a7723be6
SM
3470 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3471 (bug#12721).
3472
a05cb6e3
GM
34732012-10-25 Glenn Morris <rgm@gnu.org>
3474
3475 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3476
3c92de70
SM
34772012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * minibuffer.el (minibuffer-force-complete): Use one more marker
3480 for the temporary-overlay-map command (bug#12619).
3481
a4b6d7c6
CY
34822012-10-24 Chong Yidong <cyd@gnu.org>
3483
3484 * time.el (display-time-world-mode): Derive from special-mode.
3485 (display-time-world): Use display-buffer (Bug#12708).
3486 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3487 (display-time-world-display): Wrap the final delete-char inside
3488 inhibit-read-only.
a4b6d7c6 3489
75e8f9d2
CY
34902012-10-24 Chong Yidong <cyd@gnu.org>
3491
cd996018
CY
3492 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3493 Doc fix.
3494
75e8f9d2
CY
3495 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3496
d92df117
SM
34972012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * minibuffer.el (completion--all-sorted-completions-location): New var.
3500 (completion--cache-all-sorted-completions)
3501 (completion--flush-all-sorted-completions): Use it.
3502 (completion-in-region, completion-in-region--postch)
3503 (completion-at-point, completion-help-at-point): Use markers in
3504 completion-in-region--data (bug#12619).
3505
9c3e39f3
SM
35062012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3507
c79825bd
SM
3508 * progmodes/compile.el (compilation-start): Try to handle common
3509 quoting of `cd' argument (bug#12640).
3510
9c3e39f3
SM
3511 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3512 (bug#12671).
3513
a6709bc7
GM
35142012-10-23 Glenn Morris <rgm@gnu.org>
3515
3516 * progmodes/gud.el (gud-menu-map):
3517 Check gdb-active-process is bound. (Bug#12358)
3518
d1069532
SM
35192012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3520
d20d69c0
SM
3521 * repeat.el (repeat): Set real-this-command (bug#12232).
3522
d1069532
SM
3523 * htmlfontify.el (hfy-post-html-hook):
3524 * filesets.el (filesets-cache-fill-content-hook):
3525 * arc-mode.el (archive-extract-hook):
3526 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3527 * net/rcirc.el (rcirc-sentinel-functions)
3528 (rcirc-receive-message-functions, rcirc-activity-functions)
3529 (rcirc-print-functions):
3530 * net/dbus.el (dbus-event-error-functions):
3531 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3532 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3533 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3534 * term/sun.el (sun-raw-prefix-hooks):
3535 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3536
f7eac6d8
MA
35372012-10-23 Michael Albinus <michael.albinus@gmx.de>
3538
d1069532
SM
3539 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3540 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3541 (tramp-smb-wait-for-output): Add timeout to
3542 `tramp-accept-process-output' calls.
3543
608d9d7c
CY
35442012-10-23 Chong Yidong <cyd@gnu.org>
3545
49238e7f
CY
3546 * faces.el (font-list-limit): Define as an obsolete variable.
3547
3548 * startup.el (command-line):
3549 * cus-start.el: Don't refer to font-list-limit.
3550
608d9d7c
CY
3551 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3552
4ff5b1b2
SM
35532012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * subr.el (internal-temp-output-buffer-show): Rename from
3556 temp-output-buffer-show, since previously compiled files expect this name.
3557
ea1d4aac
GM
35582012-10-23 Glenn Morris <rgm@gnu.org>
3559
3560 * image.el (image-type-from-file-name): If multiple types match,
3561 return the first one that is supported. (Bug#9045)
3562
eda82a31
GM
35632012-10-22 Glenn Morris <rgm@gnu.org>
3564
3565 * image.el (imagemagick-enabled-types): Doc fix.
3566
4f020bec
TA
35672012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3568
3569 * progmodes/which-func.el (which-func-current): The hash-table may have
3570 an explicit nil (bug#12338).
3571
c77d37e2
SM
35722012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * electric.el (electric-pair-delete-selection-self-insert-function):
3575 Rename to electric-pair-will-use-region, return a boolean.
3576 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3577
3578 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3579 (delete-selection-pre-hook): Use use-region-p.
3580 (delete-selection-self-insert-function): Remove.
3581 (self-insert-command): Obey self-insert-uses-region-functions.
3582 (self-insert-iso): Revert to previous setting, since we don't actually
3583 know what that command does.
3584 (delete-selection-self-insert-hooks): Remove.
3585
b1d39ccc
SL
35862012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3587
3588 * delsel.el (delete-selection-helper): New function, extracted from
3589 delete-selection-pre-hook.
3590 (delete-selection-pre-hook): Use it.
3591 (delete-selection-self-insert-function): New function.
3592 (delete-selection-self-insert-hooks): New hook.
3593 (self-insert-command, self-insert-iso): Use it.
3594 * electric.el (electric-pair-syntax): New function, extracted from
3595 electric-pair-post-self-insert-function.
3596 (electric-pair-post-self-insert-function): Use it.
3597 (electric-pair-delete-selection-self-insert-function): New function.
3598 (electric-pair-mode): Require delsel and setup
3599 delete-selection-self-insert-hooks (bug#11520).
3600
045ef729
CY
36012012-10-20 Chong Yidong <cyd@gnu.org>
3602
4c5d08a8
CY
3603 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3604 no changes to show (Bug#12586).
3605
045ef729
CY
3606 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3607 list explicitly (Bug#12571).
3608
3503c798 36092012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3610
b1d39ccc
SL
3611 * progmodes/flymake.el (flymake-create-temp-inplace):
3612 Use file-truename.
79e1997a 3613
2068905b
EZ
36142012-10-20 Eli Zaretskii <eliz@gnu.org>
3615
3616 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3617
4c9e9550
JB
36182012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3619
3620 * calc/calc-units.el (math-extract-units): Properly extract powers
3621 of units.
3622
1a6e7e38
DC
36232012-10-20 Daniel Colascione <dancol@dancol.org>
3624
3625 * frame.el (make-frame): Set x-display-name as we used to in order
3626 to unbreak creating an X11 frame from an Emacs daemon started
3627 without a display.
3628
8e808318
SM
36292012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3632 the same completion-field (bug#12221).
8e808318 3633
fb0104da
MR
36342012-10-19 Martin Rudalics <rudalics@gmx.at>
3635
3636 * emacs-lisp/debug.el (debug): Record height of debugger window
3637 also when debugger will be back (Bug#8789).
3638
8c27235e
CY
36392012-10-18 Chong Yidong <cyd@gnu.org>
3640
3641 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3642 Convert to defcustom.
3643 (gdb-get-source-file): Don't bind pop-up-windows.
3644
3645 * progmodes/gud.el (gud-display-line): Don't specially re-use
3646 other frames for the gdb-mi case (Bug#12648).
3647
90eacf99
SM
36482012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3649
aaf0c300
SM
3650 * emacs-lisp/advice.el: Clean up commentary a bit.
3651 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3652 (byte-code-function-p): Never redefine.
3653
90eacf99
SM
3654 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3655
281c9d2b
GM
36562012-10-18 Glenn Morris <rgm@gnu.org>
3657
40714e3d
GM
3658 * dired.el (dired-sort-toggle): Some ls implementations only allow
3659 a single option string. (Bug#12666)
3660
281c9d2b
GM
3661 * minibuffer.el (completion-cycle-threshold): Doc fix.
3662
b278604e
KH
36632012-10-17 Kenichi Handa <handa@gnu.org>
3664
90eacf99
SM
3665 * international/mule.el (set-keyboard-coding-system):
3666 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3667 Supply TERMINAL arg to set-input-meta-mode.
3668
df171c23 36692012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3670
3671 * wdired.el (wdired-old-marks): New variable.
3672 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3673 (wdired-do-renames): Move point with renamed file and don't lose
3674 mark status (Bug#11795).
3675
e5a94ec4
JL
36762012-10-16 Juri Linkov <juri@jurta.org>
3677
3678 * replace.el (query-replace-help): Mention multi-buffer replacement
3679 keys in the Help message. (Bug#12655)
3680
d18a0d24
CY
36812012-10-15 Chong Yidong <cyd@gnu.org>
3682
3683 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3684
8111f5e6
EZ
36852012-10-14 Eli Zaretskii <eliz@gnu.org>
3686
7b9abf24
EZ
3687 * window.el (display-buffer): Doc fix.
3688
8111f5e6
EZ
3689 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3690 Adjust the msft regexp to the output of Studio 2010, and move msft
3691 before edg-1. See the discussion on emacs-devel,
3692 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3693 for the details.
3694
5046ef67
SM
36952012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3696
9760c73c
SM
3697 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3698 (oset): Move uses of object-class-fast macro after its definition.
3699
5046ef67
SM
3700 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3701
0d11ff1c
CY
37022012-10-13 Chong Yidong <cyd@gnu.org>
3703
3704 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3705 enabled, re-enable it (Bug#11963).
3706
88ded8ac
MR
37072012-10-13 Martin Rudalics <rudalics@gmx.at>
3708
3709 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3710 non-nil, restore window configuration (Bug#12623).
3711
bd0ffffd
SM
37122012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3713
06485aa8
SM
3714 * help-fns.el (describe-variable, describe-function-1):
3715 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3716
bd0ffffd
SM
3717 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3718
3a989246
GM
37192012-10-12 Glenn Morris <rgm@gnu.org>
3720
3721 * mail/rmailsum.el (rmail-header-summary):
3722 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3723
55cd00c8
FEG
37242012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3725
bd0ffffd
SM
3726 * progmodes/python.el (python-mode-map):
3727 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3728 (python-nav--up-list): Fix behavior for blocks on the same level.
3729
ac9fc2c7
SM
37302012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3731
d8cc4c00 3732 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3733
5253a5fd
SM
3734 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3735 changes to the format of load-history.
3736
ac9fc2c7
SM
3737 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3738 completion-ignore-case in case that var is buffer-local (bug#12615).
3739
cde44a77
KH
37402012-10-11 Kenichi Handa <handa@gnu.org>
3741
3742 * international/eucjp-ms.el: Re-generated.
3743
4ef4a10d
KH
37442012-10-10 Kenichi Handa <handa@gnu.org>
3745
3746 * select.el (xselect--encode-string): If a coding is specified for
3747 selection, and that is compatible with COMPOUND_TEXT, use it.
3748
9d7f027b
MR
37492012-10-10 Martin Rudalics <rudalics@gmx.at>
3750
3751 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3752 (switch-to-buffer):
3753 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3754
238f3a58
SM
37552012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3758 Don't document nil as a useful value (bug#12583).
3759
1d51f99c
MA
37602012-10-09 Michael Albinus <michael.albinus@gmx.de>
3761
238f3a58
SM
3762 * net/tramp.el (tramp-debug-message):
3763 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3764 (with-tramp-progress-reporter): Rename from
3765 `tramp-with-progress-reporter'.
238f3a58
SM
3766 (with-tramp-file-property, with-tramp-connection-property):
3767 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3768 `with-connection-property', respectively.
3769
3770 * net/tramp-cache.el: Remove `with-file-property' and
3771 `with-connection-property'.
3772
3773 * net/tramp.el:
3774 * net/tramp-gvfs.el:
3775 * net/tramp-sh.el:
3776 * net/tramp-smb.el: Adapt callees.
3777
3778 * net/trampver.el: Update release number.
3779
26b77251
GM
37802012-10-09 Glenn Morris <rgm@gnu.org>
3781
9a5f296f
GM
3782 * w32-fns.el (set-message-beep):
3783 * term/w32-win.el (set-message-beep): Update declarations.
3784
94c66ce5
SM
37852012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3786
10766e9e
SM
3787 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3788 (mode-line-widen, mode-line-input-method-map)
3789 (mode-line-coding-system-map, mode-line-remote)
3790 (mode-line-unbury-buffer, mode-line-bury-buffer)
3791 (mode-line-next-buffer, mode-line-previous-buffer):
3792 Replace save-selected-window+select-window => with-selected-window.
3793
f754db08
SM
3794 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3795 * progmodes/cc-vars.el (bq-process): Remove, unused.
3796
94c66ce5
SM
3797 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3798
a4ff7fe1
FEG
37992012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3800
3801 Implemented `backward-up-list'-like navigation.
3802 * progmodes/python.el (python-nav-up-list)
3803 (python-nav-backward-up-list): New functions.
3804 (python-mode-map): Define substitute key for backward-up-list to
3805 python-nav-backward-up-list.
3806
24517d82
FEG
38072012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3808
3809 * progmodes/python.el (python-fill-paragraph): Rename from
3810 python-fill-paragraph-function. Fixed fill-paragraph for
3811 decorators (Bug#12605).
3812
51867ae2
FEG
38132012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3814
3815 * progmodes/python.el (python-shell-output-filter): Handle extra
3816 carriage return in OSX (Bug#12409).
3817
a5b773c4
FEG
38182012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3819
3820 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3821 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3822 (python-syntax-propertize-function): Use it.
3823 (python-shell-output-syntax-table): New var.
3824 (inferior-python-mode): Prevent unbalanced parens/quotes from
3825 previous output mess with current input context.
3826
13373538
JB
38272012-10-08 Juanma Barranquero <lekktu@gmail.com>
3828
3829 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3830 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3831
775a132d
MA
38322012-10-08 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * ffap.el (ffap-replace-file-component): Support Tramp file name
3835 syntax, not only ange-ftp's one.
3836
3ab44929
GM
38372012-10-08 Glenn Morris <rgm@gnu.org>
3838
57f1dee4
GM
3839 * cus-start.el (message-log-max): Set :version.
3840
3ab44929
GM
3841 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3842
6a088630
MR
38432012-10-08 Martin Rudalics <rudalics@gmx.at>
3844
3845 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3846 the minibuffer window (Bug#10851).
3847
8dbce54c
FEG
38482012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3849
3850 Enhancements on forward-sexp movement.
3851 * progmodes/python.el (python-nav-beginning-of-statement)
3852 (python-nav-end-of-statement): Return point-marker.
3853 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3854 (python-info-current-symbol)
3855 (python-info-statement-starts-block-p): Rename from
3856 python-info-beginning-of-block-p.
3857 (python-info-statement-ends-block-p): Rename from
3858 python-info-end-of-block-p.
3859 (python-info-beginning-of-statement-p)
3860 (python-info-end-of-statement-p)
3861 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3862 New functions.
3863
5acd2b3e
SM
38642012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3867 frame-selected-windows.
3868
e08348a0
DC
38692012-10-08 Daniel Colascione <dancol@dancol.org>
3870
3871 * battery.el (battery-status-function): Check for
3872 w32-battery-status itself, not system-time windows-nt.
3873
3874 * frame.el: Require cl-lib.
3875 (display-format-alist): New variable mapping frame types to
3876 functions that initialize them.
3877 (window-system-for-display): New function: interprets
3878 display-format-alist.
3879 (make-frame-on-display): Remove existing display-selection logic
3880 and just forward to make-frame, which will now DTRT.
3881 (make-frame): Restructure to use window-system-for-display to
3882 figure out how to create a frame on a given display.
3883 (display-mouse-p): Look for frame-type w32, not a particular
3884 system-type.
3885
3886 * loadup.el: Load w32 lisp code when we have the w32 feature.
3887
3888 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3889 system-type windows-nt.
3890
3891 * server.el (server-create-window-system-frame): Look for window
3892 type.
3893 (server-proces-filter): Only force a window system when windows-nt
3894 _and_ w32. Explain why.
3895
3896 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3897 of window systems we configure for the mode.
3898
3899 * startup.el (command-line): Mark window system is initialized
3900 after we've done it.
3901
3902 * common-win.el (x-select-text): Look for w32, not windows-nt.
3903
3904 * ns-win.el: Require cl-lib. Add ourselves to
3905 display-format-alist.
3906 (ns-initialize-window-system): Assert we're not initialized twice.
3907
3908 * w32-win.el: Enable lexical binding; require cl-lib; add
3909 ourselves to display-format-alist.
3910 (w32-handle-dropped-file): Convert incoming dropped files from
3911 Windows paths to Cygwin ones before passing them on to the rest of
3912 Emacs.
3913 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3914 (w32-initialize-window-system): Assert we're not initialized twice.
3915
3916 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3917 (x-initialize-window-system): Assert we're not initialized twice.
3918
3919 * w32-common-fns.el: New File.
3920 (w32-version, w32-using-nt, w32-get-clipboard-data)
3921 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3922 (w32-charset-info-alist, x-last-selected, text)
3923 (x-get-selection-value, x-selection-value): Move here.
3924
3925 * w32-fns.el: Require w32-common-fns.
3926 (w32-version, w32-using-nt, w32-get-clipboard-data)
3927 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3928 (w32-charset-info-alist, x-last-selected, text)
3929 (x-get-selection-value, x-selection-value): Move to
3930 w32-common-fns.
3931
3932 * w32-vars.el:
3933 (w32-allow-system-shell, w32-system-shells): Define only in
3934 non-cygwin case.
3935
795b1482
SM
39362012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3939 (read-passwd): Remove a few more potential sources of leaks.
3940
f27c99dc
FEG
39412012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3942
3943 * progmodes/python.el (inferior-python-mode)
795b1482 3944 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3945 variables copied from parent buffer.
3946
fcacb558
JD
39472012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3948
3949 * term/ns-win.el (ns-read-file-name): Update declaration to match
3950 nsfns.m.
3951 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3952 it is set when font is acted upon.
3953
be0d5bae
FEG
39542012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3955
3956 Enhancements to indentation.
3957 * progmodes/python.el (python-indent-context): Give priority to
3958 inside-string context. Make comments indentation markers.
3959 (python-indent-region): Do not mess with strings, unless it's the
3960 enclosing set of quotes.
3961
13af0d10
SM
39622012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3963
662a9d0e
SM
3964 * window.el (internal--before-save-selected-window)
3965 (internal--after-save-selected-window): New functions extracted from
3966 save-selected-window. Make sure we return the `alist' we construct.
3967 (save-selected-window): Use them.
3968
3969 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3970 Use with-selected-window.
3971
13af0d10
SM
3972 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3973 forms that define macros (bug#12593).
3974
6aa75fb6
KH
39752012-10-07 Kenichi Handa <handa@gnu.org>
3976
13af0d10
SM
3977 * international/mule-conf.el (compound-text-with-extensions):
3978 Add :mime-charset property as x-ctext.
6aa75fb6 3979
78d876b9
SM
39802012-10-07 Stefan Merten <smerten@oekonux.de>
3981
3982 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3983 (rst-indent-literal-normal, rst-indent-literal-minimized)
3984 (rst-indent-comment): Correct :version tag.
557337e9 3985 (rst-official-cvs-rev): Correct version string.
78d876b9 3986
99a1e701
GM
39872012-10-07 Glenn Morris <rgm@gnu.org>
3988
3989 * mail/rmailmm.el (rmail-mime-process-multipart):
3990 Do not confuse a multipart message with an epilogue
3991 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3992
08f18c3d
FEG
39932012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3994
3995 Fix shell output retrieval and comint-prompt-regexp init.
3996 * progmodes/python.el (inferior-python-mode):
3997 (python-shell-make-comint): Fix initialization of
3998 comint-prompt-regexp from copied file local variables.
3999 (python-shell-fetched-lines): Remove var.
4000 (python-shell-output-filter-in-progress): Rename from
4001 python-shell-fetch-lines-in-progress.
4002 (python-shell-output-filter-buffer): Rename from
4003 python-shell-fetch-lines-string.
4004 (python-shell-fetch-lines-filter): Delete function.
4005 (python-shell-output-filter): New function.
4006 (python-shell-send-string-no-output): Use them.
4007
82ed3ab4
GM
40082012-10-07 Glenn Morris <rgm@gnu.org>
4009
1595ecfa
GM
4010 * hi-lock.el (hi-lock-process-phrase):
4011 Try to make it less fragile. (Bug#7161)
4012
82ed3ab4
GM
4013 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4014
f1f4dba0
GM
40152012-10-06 Glenn Morris <rgm@gnu.org>
4016
addc11ed 4017 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
4018 non-existent mode `help'.
4019 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 4020
460042b8
GM
4021 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4022 (reftex-create-bibtex-footer): Fix custom types.
4023
67667c70
GM
4024 * progmodes/sh-script.el (sh-indent-after-continuation):
4025 Add explicit :group.
4026
18dec750
GM
4027 * textmodes/rst.el (rst-preferred-decorations)
4028 (rst-shift-basic-offset): Clarify obsolescence versions.
4029
d1a1c7e6
GM
4030 * profiler.el (profiler): Add missing group :version tag.
4031 * avoid.el (mouse-avoidance-banish-position):
4032 * proced.el (proced-renice-command):
4033 * calc/calc.el (calc-ensure-consistent-units):
4034 * calendar/icalendar.el (icalendar-import-format-uid):
4035 * net/tramp.el (tramp-save-ad-hoc-proxies):
4036 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4037 * progmodes/flymake.el (flymake-error-bitmap)
4038 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4039 * progmodes/sh-script.el (sh-indent-after-continuation):
4040 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4041 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4042 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4043 (vhdl-array-index-record-field-in-sensitivity-list)
4044 (vhdl-indent-comment-like-next-code-line):
4045 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4046 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4047 (reftex-cite-key-separator, reftex-create-bibtex-header)
4048 (reftex-create-bibtex-footer):
4049 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4050 (rst-indent-literal-normal, rst-indent-literal-minimized)
4051 (rst-indent-comment): Add missing custom :version tags.
4052
ef35abb4
GM
4053 * calendar/timeclock.el (timeclock-modeline-display):
4054 Add missing obsolete alias for renamed user option.
4055
d1aae614
GM
4056 * strokes.el (strokes-modeline-string):
4057 * emulation/crisp.el (crisp-mode-modeline-string):
4058 * eshell/esh-mode.el (eshell-status-in-modeline):
4059 Aliases to defcustoms must come before the defcustom.
4060
f1f4dba0
GM
4061 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4062 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4063 (cal-tex-cursor-week-monday): Doc fixes.
4064 (cal-tex-cursor-week2-summary): Doc fix.
4065 Rename from cal-tex-cursor-week-at-a-glance.
4066
4067 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4068 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4069
4070 * calendar/calendar.el (calendar-mode-map):
4071 Add cal-tex-cursor-week2-summary.
4072
d39109c3
SM
40732012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4074
685f87b0
SM
4075 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4076
d39109c3
SM
4077 * subr.el (read-passwd-map): New var.
4078 (read-passwd): Use `read-string' again.
4079 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4080
5694896d
J
40812012-10-06 Jambunathan K <kjambunathan@gmail.com>
4082
4083 * register.el (append-to-register, prepend-to-register):
4084 Deactivate mark, as does `copy-to-register' (bug#12389).
4085
9414dd8d
CY
40862012-10-06 Chong Yidong <cyd@gnu.org>
4087
4088 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4089
2b89bca4
KH
40902012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4091
4092 * international/characters.el: Fix simple mistake ((car chars) ->
4093 elt), delete duplicated code.
4094
d5acb99a
GM
40952012-10-06 Glenn Morris <rgm@gnu.org>
4096
4097 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4098
123ec157
JS
40992012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4100
4101 * color.el (color-hsl-to-rgb): Fix incorrect results for
4102 small and large hue values. (Bug#12559)
4103
7fa36ccb
FEG
41042012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4105
4106 Enhancements to docstring formatting when filling paragraphs.
4107 * progmodes/python.el (python-fill-docstring-style): Rename from
4108 python-fill-string-style. Added new style.
4109 (python-fill-string): Use new style. Better checks for
4110 docstrings.
4111
d8788e1e
GM
41122012-10-05 Glenn Morris <rgm@gnu.org>
4113
204f3953
GM
4114 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4115
d8788e1e
GM
4116 * color.el (color-name-to-rgb, color-rgb-to-hex)
4117 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4118 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4119 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4120 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4121
8d956cef
GM
4122 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4123
e8757f09 41242012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
4125
4126 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4127 to get the correct size across symlinks.
4128
e8757f09
GM
4129 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4130
0e2ae83d
JL
41312012-10-04 Juri Linkov <juri@jurta.org>
4132
4133 * replace.el (query-replace-interactive): Declare obsolete.
4134 (query-replace-read-from): Add the last incremental search string
4135 to the list of default values accessible via M-n.
4136 (map-query-replace-regexp): Use `read-regexp'.
4137 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4138 (map-query-replace-regexp, replace-string, replace-regexp):
4139 Fix docstrings to replace mentions of `query-replace-interactive'
4140 with alternatives. (Bug#12526)
4141
93cacb6d
JL
41422012-10-04 Juri Linkov <juri@jurta.org>
4143
4144 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4145 (dired-pop-to-buffer): Declare obsolete.
4146 (dired-mark-pop-up): Doc fix.
4147
fc345011
FEG
41482012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4149
4150 Allow user to set docstring style for fill-paragraph.
4151 * progmodes/python.el
4152 (python-fill-comment-function, python-fill-string-function)
4153 (python-fill-decorator-function, python-fill-paren-function):
4154 Remove :safe for defcustoms.
4155 (python-fill-string-style): New defcustom
5694896d 4156 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4157 (python-fill-string): Honor python-fill-string-style settings.
4158
6bab5d8b
MR
41592012-10-04 Martin Rudalics <rudalics@gmx.at>
4160
4161 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4162 after setting its buffer (Bug#10805).
4163
a1a9f411
FEG
41642012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4165
4166 Fix cornercase for string syntax.
4167 * progmodes/python.el (python-syntax-propertize-function):
4168 Simplify and enhance the regexp for unescaped quotes. Now it also
4169 matches quotes in weird situations like the single quote in
4170 "something\"'".
4171 (python-syntax-stringify): Simplify num-quotes detecting code.
4172
05e153a6
GM
41732012-10-03 Glenn Morris <rgm@gnu.org>
4174
4175 * help-macro.el (three-step-help):
4176 Revert 2012-09-29 change. (Bug#12567)
4177
2e566ecb
MR
41782012-10-03 Martin Rudalics <rudalics@gmx.at>
4179
96ef9ccd
MR
4180 * menu-bar.el (kill-this-buffer): Don't do anything when
4181 `menu-frame' is not alive or visible (Bug#8184).
4182
2e566ecb
MR
4183 * emacs-lisp/debug.el (debug): When quitting the debugger window
4184 restore current buffer (Bug#12502).
4185
a96e1cb7
CY
41862012-10-02 Chong Yidong <cyd@gnu.org>
4187
5694896d
J
4188 * progmodes/hideif.el (hif-lookup, hif-defined):
4189 Handle semantic-c-takeover-hideif.
a96e1cb7 4190
b3ecad33
PE
41912012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4192
4193 Change sampling interval units from ms to ns.
4194 * profiler.el (profiler-sampling-interval): Change units
4195 from ms to ns, multiplying the default by 1000000 so that
4196 it remains 1 ms.
4197 (profiler-report-cpu-line-format): Give enough room for
4198 the maximum counters on 64-bit hosts.
4199 (profiler-report-render-calltree-1): Call them "CPU samples",
4200 not "Time (ms)", since they are not milliseconds now (and
4201 never really were).
4202
8cb51b66 42032012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4204
5694896d
J
4205 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4206 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4207
fd795bf4
CY
42082012-10-02 Chong Yidong <cyd@gnu.org>
4209
4210 * emacs-lisp/eieio.el: Restore Version header.
4211
fe0a74f9
SM
42122012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4213
6be9197e
SM
4214 * vc/diff-mode.el (diff--auto-refine-data): New var.
4215 (diff-hunk): Use it to delay refinement.
4216 (diff-mode): Remove overlays when we turn off font-lock.
4217
18486139
SM
4218 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4219 (table-initialize-table-fixed-width-mode)
4220 (table-set-table-fixed-width-mode): Remove functions.
4221 (table-command-list): Move initialization into declaration.
4222 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4223 (table-with-cache-buffer): Use `declare'.
4224 (table-span-cell): Simplify via CSE.
4225 (table-fixed-width-mode): Use define-minor-mode.
4226 (table-call-interactively, table-funcall, table-apply): Remove.
4227 (table-function): New function, to replace them.
4228
d83ef976
SM
4229 * bookmark.el (bookmark-search-pattern): Remove var.
4230 (bookmark-read-search-input): Remove function.
4231 (bookmark-bmenu-search): Reimplement using a minibuffer.
4232
cd386662
SM
4233 * faces.el (modeline): Remove obsolete face name.
4234
fe0a74f9
SM
4235 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4236 and give a non-nil default value.
4237 (add-change-log-entry): Simplify accordingly.
4238
9f7b98f8
DG
42392012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4240
4241 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4242 (vc-git-log-edit-toggle-amend): New function.
4243 (vc-git-log-edit-toggle-signoff): New function.
4244 (vc-git-log-edit-mode): New major mode.
4245 (vc-git-log-edit-mode-map): Keymap for it.
4246 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4247
4248 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4249 header names.
4250 (log-edit-toggle-header): New function.
4251 (log-edit-extract-headers): Accept function values in HEADERS alist.
4252
62a81506
CY
42532012-10-01 David Engster <deng@randomsample.de>
4254
4255 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4256 from symbol property and change message to be more consistent with
4257 Emacs proper.
4258 (eieio-describe-generic): Add filename for each implementation.
4259 Fix indices for generic and normal methods.
4260 (eieio-method-def, eieio-class-def): New buttons.
4261 (eieio-help-find-method-definition)
4262 (eieio-help-find-class-definition): New functions.
4263 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4264 class, constructor and method definitions.
4265
4266 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4267 information in symbol property.
4268 (scoped-class): Remove.
4269 (eieio-slot-name-index, call-next-method): Check if it is bound.
4270
42712012-10-01 Leo P. White <lpw25@cam.ac.uk>
4272
4273 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4274 (eieio-custom-mode): New major mode.
4275 (eieio-customize-object): Use it.
4276
42772012-10-01 Eric Ludlam <zappo@gnu.org>
4278
4279 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4280 specifying the expected class, and whether subclassing is allowed.
4281 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4282 (eieio-persistent-validate/fix-slot-value)
4283 (eieio-persistent-slot-type-is-class-p): New functions.
4284 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4285
4286 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4287 Stop using unused publd variable.
4288
4289 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4290 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4291 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4292 (eieio-speedbar-handle-click): Do not specify a class for the
4293 method. Fixes method invocation order problems with EDE.
4294
375e49d4
SM
42952012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4296
4297 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4298 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4299
16ce6ccd
KF
43002012-10-01 Karl Fogel <kfogel@red-bean.com>
4301
4302 * bookmark.el (bookmark-version-control): Give tags in the
4303 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4304 (bookmark-write-file): Bind `print-circle' to `t' to allow
4305 circular custom bookmark types. (Bug#12503)
16ce6ccd 4306
19e54a4d
PE
43072012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4308
86ec63ba
PE
4309 Revert the FOLLOW-SYMLINKS change for file-attributes.
4310 * files.el (remote-file-name-inhibit-cache, after-find-file):
4311 * time.el (display-time-file-nonempty-p): Undo last change.
4312
19e54a4d
PE
4313 * profiler.el (profiler-sampling-interval): Change default back to 1.
4314 See Stefan Monnier in
4315 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4316
0478776b
FEG
43172012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4318
4319 Shell output catching a la gud-gdb.
4320 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4321 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4322 New Vars.
0478776b
FEG
4323 (python-shell-fetch-lines-filter): New function.
4324 (python-shell-send-string-no-output): Use them.
4325
c22bac2c
TM
43262012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4327
4328 * profiler.el (profiler-sampling-interval): Rename from
4329 profiler-sample-interval.
4330 (profiler-sampling-interval): Default to 10.
4331 (profiler-find-profile): New command (was profiler-find-log).
4332 (profiler-find-profile-other-window): New command.
4333 (profiler-find-profile-other-frame): New command.
4334 (profiler-profile): Introduce API-level data structure.
4335
e7a2937b
PE
43362012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4337
4338 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4339 * files.el (remote-file-name-inhibit-cache):
4340 * time.el (display-time-file-nonempty-p): Use it.
4341 * files.el (after-find-file): Don't chase links before calling
4342 file-exists-p, as file-exists-p already does the right thing.
4343
4f595e15
RA
43442012-09-30 Ralf Angeli <angeli@caeruleus.net>
4345
4346 Merge from standalone RefTeX repository.
4347
4348 The following ChangeLog entries are shortened versions of the
4349 original ones with file paths adapted. A not so strongly edited
4350 version of the original ChangeLog can be found in the commit log.
4351
4352 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4353 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4354 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4355
4356 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4357 that entries with whitespace at various places are found.
4358 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4359 Include @String definitions in the resulting bib file. Add header
4360 and footer defined in `reftex-create-bibtex-header' and
4361 `reftex-create-bibtex-footer'.
4362 (reftex-do-citation): Make it possible again to insert
4363 non-existent entries. Save match data when asking for optional
4364 arguments. Return all keys, not just the first one.
4365 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4366 all citations in the same line.
4367 (reftex-parse-bibtex-entry): Accept additional optional argument
4368 `raw' and keep quotes or braces if it is non-nil. Match fields
4369 containing hyphens besides word constituents.
4370 (reftex-get-string-refs): New function.
4371 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4372 and ask if it should be reread in case it did.
4373 (reftex-pop-to-bibtex-entry)
4374 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4375 entries with spaces or tabs in front of arguments.
4376 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4377 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4378 Match entries containing numbers and symbol constituents.
4379 (reftex-do-citation, reftex-figure-out-cite-format):
4380 Use `reftex-cite-key-separator'.
4f595e15
RA
4381
4382 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4383 (reftex-mouse-view-crossref): Explain why point is set.
4384
4385 * textmodes/reftex-global.el: Whitespace changes.
4386
4387 * textmodes/reftex-index.el: Move provide statement to end of
4388 file.
4389 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4390 (reftex-index-visit-phrases-buffer): Set marker when visiting
4391 buffer. This allows for returning from the phrases file to the
4392 file one was just editing instead of the file where the last
4393 phrases was added from.
4394 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4395 punctuation syntax as it usually is not used as string quote in
4396 TeX-related modes and may occur unmatched. The change also
4397 prevents fontification of quoted content.
4398 (reftex-index-phrases-mode): Use it.
4399
375e49d4
SM
4400 * textmodes/reftex-parse.el (reftex-parse-from-file):
4401 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4402 (reftex-parse-from-file): Use beginning of match instead of end as
4403 bound.
4404
4405 * textmodes/reftex-ref.el: Adapt creation of
4406 `reftex-<package>-<macro>' functions to new structure of
4407 `reftex-ref-style-alist'.
375e49d4
SM
4408 (reftex-reference): Use `reftex-ref-style-list' function.
4409 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4410 reference macro if `reftex-ref-macro-prompt' is non-nil.
4411 (reftex-reference): Pass refstyle to `reftex-format-special'.
4412 Determine reference macro by looking at
375e49d4
SM
4413 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4414 Use only one special format function.
4f595e15
RA
4415 (reftex-varioref-vref, reftex-fancyref-fref)
4416 (reftex-fancyref-Fref): Remove definitions. The functions are now
4417 generated from `reftex-ref-style-alist'.
4418 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4419 Remove.
4420 (reftex-format-special): New function.
4421
4422 * textmodes/reftex-sel.el
4423 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4424 of `reftex-ref-style-alist'. Remove code for testing macro type.
4425 (reftex-select-toggle-varioref)
4426 (reftex-select-toggle-fancyref): Remove.
4427 (reftex-select-cycle-ref-style-internal)
4428 (reftex-select-cycle-ref-style-forward)
4429 (reftex-select-cycle-ref-style-backward): New functions.
4430 (reftex-select-label-map): Use `v' and `V' for general cycling
4431 through reference styles. Add `p' for switching between number
4432 and page reference types.
4433
375e49d4
SM
4434 * textmodes/reftex-toc.el (reftex-re-enlarge):
4435 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4436 the horizontal version throws an error even if the parameter is 0.
4437
4438 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4439 (reftex-plug-into-AUCTeX): Doc fix.
4440 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4441 string. Adapt to new name.
4442 (reftex-ref-style-alist): Change structure so that it is not
4443 possible to use multiple different package names within a style.
375e49d4
SM
4444 Remove the symbols for symbols for macro type distinction.
4445 Add characters for macro selection.
4f595e15
RA
4446 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4447 (reftex-create-bibtex-footer): New variables.
4448 (reftex-format-ref-function): Mention third argument of special
4449 format function.
375e49d4
SM
4450 (reftex-ref-style-alist, reftex-ref-style-default-list):
4451 New variables.
4f595e15
RA
4452 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4453 to new implementation. Mark as obsolete. Add compatibility code
4454 for honoring the variable values in case they are set.
375e49d4
SM
4455 (reftex-cite-format-builtin, reftex-bibliography-commands):
4456 Add support for ConTeXt.
4457 (reftex-format-ref-function, reftex-format-cite-function):
4458 Fix custom type.
4f595e15
RA
4459 (reftex-cite-key-separator): New variable.
4460
4461 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4462 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4463 `reftex-syntax-table' because parens have to retain their paren
4464 syntax in order for parsing of BibTeX entries like @book(...) to
4465 work.
4466 (reftex-in-comment): Do not error out if `comment-start-skip' is
4467 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4468 (reftex-tie-multifile-symbols): Add doc string.
4469 Initialize `reftex-ref-style-list'.
4f595e15
RA
4470 (reftex-untie-multifile-symbols): Add doc string.
4471 (reftex-add-index-macros): Doc fix.
4472 (reftex-ref-style-activate, reftex-ref-style-toggle)
4473 (reftex-ref-style-list): New functions.
4474 (reftex-mode-menu): Use them. Adapt to new structure of
4475 `reftex-ref-style-alist'.
4476 (reftex-select-with-char): Kill the RefTeX Select buffer when
4477 done.
4478 (reftex-remove-if): New function.
4479 (reftex-erase-all-selection-and-index-buffers)
4480 (reftex-mode-menu): Reference styles are now computed from
4481 `reftex-ref-style-alist'. Fix typo.
4482 (reftex-report-bug): New function.
4483 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4484 algorithms with O(n log n). Introduce optional argument SORT (not
4485 yet used).
4486
440ba395
FEG
44872012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4488
4489 Enhancements for triple-quote string syntax.
375e49d4
SM
4490 * progmodes/python.el (python-syntax-propertize-function):
4491 Match both quote cases in one regexp.
440ba395
FEG
4492 (python-syntax-stringify): Handle matches properly.
4493
4c478e6b
JL
44942012-09-30 Juri Linkov <juri@jurta.org>
4495
4496 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4497 to nil around the call to `insert' to prevent
4c478e6b
JL
4498 directory time modification by lock_file. (Bug#2295)
4499 * tar-mode.el (tar-summarize-buffer): Idem.
4500
d80d54b2
JL
45012012-09-30 Juri Linkov <juri@jurta.org>
4502
4503 * facemenu.el (list-colors-sort): Add option "Luminance".
4504 (list-colors-sort-key): Implement it.
4505
4506 * vc/diff-mode.el (diff-refine-removed):
4507 * vc/ediff-init.el (ediff-fine-diff-A):
4508 * vc/smerge-mode.el (smerge-refined-removed):
4509 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4510
d7e642cc
JD
45112012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4512
4513 * term/ns-win.el (x-file-dialog): New function.
4514
ee41332b
JB
45152012-09-30 Juanma Barranquero <lekktu@gmail.com>
4516
4517 * ido.el (ido-max-directory-size): Default to nil; the current
4518 default is small for POSIX systems, and impractical on Windows 7
4519 now that lstat returns directory sizes for NTFS.
4520
5938d519
MR
45212012-09-30 Martin Rudalics <rudalics@gmx.at>
4522
4523 In buffer display functions handle window-height/window-width
4524 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4525 * window.el (window--display-buffer): New argument ALIST.
4526 Obey window-height and window-width alist entries.
4527 (window--try-to-split-window): New argument ALIST.
4528 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4529 changed and window-combination-limit equals `window-size'.
4530 (display-buffer-in-atom-window)
4531 (display-buffer-in-major-side-window)
4532 (display-buffer-in-side-window, display-buffer-same-window)
4533 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4534 (display-buffer-pop-up-window, display-buffer-below-selected)
4535 (display-buffer-at-bottom, display-buffer-in-previous-window)
4536 (display-buffer-use-some-window): Adjust all callers of
4537 window--display-buffer and window--try-to-split-window.
4538 (fit-frame-to-buffer): New option.
4539 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4540 is non-nil.
4541 (display-buffer-in-major-side-window): Evaluate window-height /
4542 window-width alist entries.
4543
4544 * help.el (temp-buffer-resize-frames)
4545 (temp-buffer-resize-regexps): Remove options.
4546 (temp-buffer-resize-mode): Adjust doc-string.
4547 (resize-temp-buffer-window): Don't consult
4548 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4549 temp-buffer-resize-frames.
4550
375e49d4
SM
4551 * dired.el (dired-mark-pop-up):
4552 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4553 entry.
4554
c4c0c2df
CY
45552012-09-30 Chong Yidong <cyd@gnu.org>
4556
48de8b12
CY
4557 * server.el (server-host): Document the security implications.
4558 (server-auth-key): Doc fix.
4559
4560 * startup.el (initial-buffer-choice): Doc fix.
4561
4562 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4563
a97dc380
CY
4564 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4565 restriction change.
4566
d39d3c8e
CY
4567 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4568
c4c0c2df
CY
4569 * help-fns.el (help-fns--obsolete): Fix last change.
4570
98a5e33b
SM
45712012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4572
34cf6f39
SM
4573 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4574 (minor-mode-map-alist): Remove redundant code.
4575
e01c13fe
SM
4576 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4577 visited in a buffer.
4578 (cvs-insert-visited-file): New function.
4579 (find-file-hook): Use it.
4580
4581 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4582
02661b3a
SM
4583 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4584 chose face.
4585 (log-edit-empty-buffer-p): Don't require a space after a header.
4586
43711d4b
SM
4587 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4588
38a30d64
SM
4589 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4590
4ffb41a9
SM
4591 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4592 a proper minor-mode.
4593
98a5e33b
SM
4594 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4595
de82e29b
GM
45962012-09-29 Glenn Morris <rgm@gnu.org>
4597
5cc2e639
GM
4598 * winner.el (winner-mode): Remove variable (let define-minor-mode
4599 handle it).
4600 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4601 Doc fixes.
4602 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4603 (winner-mode): Use define-minor-mode.
4604
7bd302eb
GM
4605 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4606 the full definition in loaddefs, rather than duplicating it.
4607
2923922f 4608 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4609
0e3e4156
GM
4610 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4611 (inferior-lisp-program, inferior-lisp-load-command)
4612 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4613 No need to autoload defcustoms.
0e3e4156 4614
de82e29b
GM
4615 * hippie-exp.el (hippie-expand-try-functions-list)
4616 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4617 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4618 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4619 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4620 * progmodes/vhdl-mode.el (vhdl-line-expand):
4621 Explicitly load hippie-exp, so it does not get autoloaded
4622 while hippie-expand-try-functions-list is let-bound.
4623
e60b51ab
GM
46242012-09-28 Glenn Morris <rgm@gnu.org>
4625
277f0cfa
GM
4626 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4627
e60b51ab
GM
4628 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4629 Only "cl.el" counts as cl these days.
4630
53baf48a
JL
46312012-09-28 Juri Linkov <juri@jurta.org>
4632
4633 Display archive errors in the echo area instead of inserting
4634 to the file buffer.
4635
4636 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4637 to STDERR-TEST that can be a regexp matching a successful output.
4638 Create a temporary file and redirect stderr to it. Search for
4639 STDERR-TEST in the stderr output and display it in the echo area
4640 if no match is found.
4641 (archive-extract-by-file): New function like
4642 `archive-extract-by-stdout' but extracting archives to files
4643 and looking for successful matches in stdout. Function body is
4644 mostly copied from `archive-rar-extract'.
4645 (archive-rar-extract): Use `archive-extract-by-file'.
4646 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4647
9c1228c3
LL
46482012-09-28 Leo Liu <sdl.web@gmail.com>
4649
375e49d4
SM
4650 * pcomplete.el (pcomplete-show-completions):
4651 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4652
9c1228c3
LL
4653 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4654
7f457c06
SM
46552012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4656
3df749b0
SM
4657 * type-break.el: Use lexical-binding.
4658 (type-break-mode): Use define-minor-mode.
4659
7f457c06
SM
4660 * emacs-lisp/pcase.el (pcase--mark-used): New.
4661 (pcase--u1): Use it (bug#12512).
4662
4663 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4664 in load-history with the right file name.
4665
c00ebc98
TH
46662012-09-28 Tassilo Horn <tsdh@gnu.org>
4667
4668 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4669 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4670 (doc-view-get-bounding-box): Make bounding box slicing work for
4671 ODF and DVI documents.
4672
96fb7170
GM
46732012-09-28 Glenn Morris <rgm@gnu.org>
4674
4675 * type-break.el (type-break-mode, type-break-interval)
4676 (type-break-good-rest-interval, type-break-keystroke-threshold):
4677 No need to autoload.
4678 (type-break-good-rest-interval, type-break-keystroke-threshold):
4679 Add :set-after.
4680
5bc93c67
CY
46812012-09-28 Chong Yidong <cyd@gnu.org>
4682
4683 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4684 Add :version tag.
4685
9cad61d6
SM
46862012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4687
e28e67b3 4688 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4689
daee954c
GM
46902012-09-27 Glenn Morris <rgm@gnu.org>
4691
a88324d4
GM
4692 * faces.el (x-display-name): Declare (for without-x builds).
4693
8e5064e5
GM
4694 * linum.el (linum-format): Don't autoload it. Improve :type.
4695
cc1783c2
GM
4696 * progmodes/tcl.el: Don't require outline when compiling.
4697 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4698 * textmodes/sgml-mode.el: Don't require outline when compiling.
4699 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4700
48c339f2
GM
4701 * term.el (term-ansi-reset):
4702 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4703
daee954c
GM
4704 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4705 files for RCS and SCCS. (Bug#9781)
4706
b7f42161
CY
47072012-09-27 Chong Yidong <cyd@gnu.org>
4708
4709 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4710 change; value should be t.
4711
a2e770db
SM
47122012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4713
83600dc8
SM
4714 * image-mode.el: Use lexical-binding.
4715 (image-mode-winprops): Use t to stand for the window of
4716 a buffer that's not displayed.
4717 * doc-view.el (doc-view-new-window-function): Handle the new
4718 t in winprops.
4719 (doc-view-enlarge): Make it a real nop if the size is not changed.
4720 (doc-view-display): Handle the case where the buffer is not (yet?)
4721 displayed in any window.
4722 (doc-view-saved-settings): New var.
4723 (doc-view-mode): Use it.
4724 (doc-view-fallback-mode): Set it.
4725
a2e770db
SM
4726 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4727 Set lexical-binding.
4728 (minibuffer-eldef-shorten-default): New var.
4729 (minibuffer-default-in-prompt-regexps): Use it for new default.
4730 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4731
e3b60857
JB
47322012-09-26 Juanma Barranquero <lekktu@gmail.com>
4733
4734 * international/uni-bidi.el:
4735 * international/uni-category.el:
4736 * international/uni-name.el:
4737 * international/uni-numeric.el: Regenerate.
4738
3a880af4
SM
47392012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4740 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * profiler.el: New file.
4743
07b1a5fb
SM
47442012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4747 (testcover-reinstrument): Simplify with CSE.
4748
42019c2e
JB
47492012-09-26 Juanma Barranquero <lekktu@gmail.com>
4750
4751 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4752
179f044b
WS
47532012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4754
4755 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4756 (verilog-auto-input, verilog-auto-insert-lisp)
4757 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4758 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4759 (verilog-auto-unused, verilog-auto-wire)
4760 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4761 newline. Reported by Andrew Jones.
4762 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4763 Reported by Brad Dobbie.
07b1a5fb
SM
4764 (verilog-batch-delete-trailing-whitespace):
4765 Create verilog-batch-delete-trailing-whitespace.
4766 Reported by Brad Dobbie.
179f044b
WS
4767 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4768 parameters from another module. Reported by Dan Katz.
4769 (verilog-auto, verilog-auto-assign-modport)
4770 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4771 AUTOINOUTMODPORT for UVM interface module shell generation.
4772 Reported by Brad Dobbie.
4773 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4774 standard behavior.
4775 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4776 Reported by Matt Martin.
4777
9c52dd5a
MR
47782012-09-25 Martin Rudalics <rudalics@gmx.at>
4779
4780 * window.el (window--resize-child-windows): When resizing child
4781 windows proportionally, process them in reverse order to
4782 preserve the "when splitting a window the new one gets the odd
4783 line" behavior.
4784 (window--resize-root-window-vertically): When resizing the
4785 minibuffer window try to affect only windows at the bottom of the
4786 frame. (Bug#12419)
4787
863666eb
CY
47882012-09-25 Chong Yidong <cyd@gnu.org>
4789
4790 * subr.el (declare): Doc fix.
4791
4792 * help-fns.el (help-fns--obsolete): Handle macros properly.
4793
59f7af81
CY
47942012-09-25 Chong Yidong <cyd@gnu.org>
4795
4796 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4797 this function obsolete.
4798
4799 * calendar/cal-x.el (calendar-two-frame-setup)
4800 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4801 * calendar/calendar.el (american-calendar, european-calendar)
4802 (calendar-for-loop):
4803 * comint.el (comint-dynamic-simple-complete)
4804 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4805 * desktop.el (desktop-load-default):
4806 * dired-x.el (dired-omit-here-always)
4807 (dired-hack-local-variables, dired-default-directory):
4808 * emacs-lisp/derived.el (derived-mode-class):
4809 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4810 * emacs-lock.el (toggle-emacs-lock):
4811 * epa.el (epa-display-verify-result):
4812 * epg.el (epg-sign-keys, epg-start-sign-keys)
4813 (epg-passphrase-callback-function):
4814 * eshell/esh-util.el (eshell-for):
4815 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4816 (eshell-add-to-window-buffer-names):
4817 * files.el (locate-file-completion):
4818 * imenu.el (imenu-example--create-c-index)
4819 (imenu-example--create-lisp-index)
4820 (imenu-example--lisp-extract-index-name)
4821 (imenu-example--name-and-position):
4822 * international/mule-cmds.el (princ-list):
4823 * international/mule-diag.el (decode-codepage-char):
4824 * international/mule-util.el (detect-coding-with-priority):
4825 * iswitchb.el (iswitchb-read-buffer):
4826 * mail/mailalias.el (mail-complete):
4827 * mail/sendmail.el (mail-sent-via):
4828 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4829 (mouse-major-mode-menu):
4830 * password-cache.el (password-read-and-add):
4831 * pcomplete.el (pcomplete-parse-comint-arguments):
4832 * progmodes/sh-script.el (sh-maybe-here-document):
4833 * replace.el (query-replace-regexp-eval):
4834 * savehist.el (savehist-load):
4835 * simple.el (choose-completion-delete-max-match):
4836 * term.el (term-dynamic-simple-complete):
4837 * vc/ediff-init.el (ediff-check-version):
4838 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4839 * vc/vc.el (vc-diff-switches-list):
4840 * view.el (view-return-to-alist-update): Likewise.
4841
4842 * subr.el (eval-next-after-load, makehash, insert-string)
4843 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4844 mark obsolete.
4845 (mode-line-inverse-video): Variable deleted.
4846
4847 * international/mule-util.el (string-to-sequence): Remove.
4848
4849 * calendar/calendar.el (calendar-version):
4850 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4851 (icalendar-convert-diary-to-ical):
4852 * cus-edit.el (custom-mode):
4853 * ansi-color.el (ansi-color-unfontify-region):
4854 * international/latin1-disp.el (latin1-char-displayable-p):
4855 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4856 * progmodes/which-func.el (which-func-update-1):
4857 Use define-obsolete-function-alias.
59f7af81
CY
4858
4859 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4860 * net/newst-treeview.el (newsticker-groups-filename):
4861 Fix incorrect obsolescence declaration.
59f7af81
CY
4862
4863 * allout.el (allout-passphrase-hint-string): Likewise.
4864 (allout-init): Use a declare form to mark obsolete.
4865
4866 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4867 this applies to functions.
4868
4869 * iswitchb.el (iswitchb-read-buffer): Move code of
4870 iswitchb-define-mode-map here, and delete that obsolete function.
4871
4872 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4873 font-lock-reference-face.
4874
cca96c97
GM
48752012-09-25 Glenn Morris <rgm@gnu.org>
4876
b06eeda8
GM
4877 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4878 Doc fixes.
4879
cca96c97
GM
4880 * eshell/em-term.el (eshell-term-name):
4881 Default to term-term-name. (Bug#12485)
4882
dc4f818b
FEG
48832012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4884
cca96c97
GM
4885 * progmodes/python.el (python-shell-send-buffer): Better handling
4886 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4887
289c24bd
GM
48882012-09-24 Glenn Morris <rgm@gnu.org>
4889
4890 * eshell/esh-cmd.el (eshell-find-alias-function):
4891 Tighten up file-name regexp. (Bug#12499)
4892
8fb8b88f
FEG
48932012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4894
4895 Enhancements for triple-quote string syntax.
4896 * progmodes/python.el (python-quote-syntax): Remove.
4897 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4898 (python-syntax-count-quotes, python-syntax-stringify):
4899 New functions.
8fb8b88f 4900
6c27f0f8
CY
49012012-09-24 Chong Yidong <cyd@gnu.org>
4902
a5f2b6ec
CY
4903 * mail/supercite.el (sc-version): Remove obsolete function.
4904 (sc-describe): Don't mark as obsolete, since it is bound.
4905 (sc-submit-bug-report): Remove.
4906
4907 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4908 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4909 (log-edit-require-final-newline)
4910 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4911
4912 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4913 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4914 * vc/vc.el (vc-checkout-carefully): Likewise.
4915
4916 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4917 (emerge-version): Remove.
4918
4919 * progmodes/compile.el (compile-internal): Remove.
4920 (compilation-parse-errors-function): Fix typo.
4921
4922 * international/mule.el (set-char-table-default): Remove.
4923 (set-coding-priority, make-coding-system, generic-char-p)
4924 (charset-list, charset-bytes, charset-id): Use declare to mark
4925 functions as obsolete.
4926
4927 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4928 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4929 * vc/vc-hooks.el (vc-default-registered): Don't use
4930 vc-master-templates.
4931
07b1a5fb
SM
4932 * font-lock.el (font-lock-reference-face):
4933 Use define-obsolete-variable-alias.
6c27f0f8
CY
4934
4935 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4936 * calendar/calendar.el (calendar-font-lock-keywords):
4937 * calendar/diary-lib.el (diary-font-lock-keywords)
4938 (diary-fancy-font-lock-keywords):
4939 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4940 * textmodes/reftex-index.el (reftex-insert-index):
4941 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4942 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4943 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4944 * progmodes/prolog.el (prolog-font-lock-keywords):
4945 * progmodes/idlwave.el (idlwave-idl-keywords):
4946 * progmodes/ada-mode.el (ada-font-lock-keywords):
4947 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4948
bcc0adbf
GM
49492012-09-24 Glenn Morris <rgm@gnu.org>
4950
4951 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4952
095bb823
FEG
49532012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4954
4955 * progmodes/python.el (python-indent-line): More consistent cursor
4956 movement behavior.
4957
70efc5c9
SM
49582012-09-23 Stefan Merten <smerten@oekonux.de>
4959
4960 * textmodes/rst.el: Fix compiler warning.
4961
2f438239
RW
49622012-09-23 Roland Winkler <winkler@gnu.org>
4963
07b1a5fb
SM
4964 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4965 Transcribe also LaTeX hyphenation.
2f438239
RW
4966 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4967 bibtex-reformat-previous-options.
4968
936ad041
RW
49692012-09-23 Roland Winkler <winkler@gnu.org>
4970
4971 * proced.el (proced-renice-command): New variable.
4972 (proced-marked-processes): New function.
4973 (proced-with-processes-buffer): New macro.
4974 (proced-send-signal): Use them.
4975 (proced-renice): New command bound to r.
4976
6fab0274
RW
49772012-09-23 Roland Winkler <winkler@gnu.org>
4978
4979 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4980 ibuffer-saved-filter-groups has one element, shortcut the call of
4981 completing-read. (Bug#12331)
4982
9a930676
CY
49832012-09-23 Chong Yidong <cyd@gnu.org>
4984
4985 * bindings.el (mode-line-toggle-read-only):
4986 * bs.el (bs-toggle-readonly):
4987 * buff-menu.el (Buffer-menu-toggle-read-only):
4988 * dired.el (dired-toggle-read-only):
4989 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4990
d07ff9db
CY
49912012-09-23 Chong Yidong <cyd@gnu.org>
4992
4993 * image.el (image-type-available-p): Adapt to init-image-library
4994 argument changes.
4995
51c4474e
JL
49962012-09-22 Juri Linkov <juri@jurta.org>
4997
4998 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4999 `dired-toggle-read-only'. (Bug#12462)
5000
43bf5e8e
MR
50012012-09-22 Martin Rudalics <rudalics@gmx.at>
5002
5003 * subr.el (temp-output-buffer-show): New function.
5004 (with-output-to-temp-buffer): Call temp-output-buffer-show
5005 instead of internal-temp-output-buffer-show.
5006
c88b867f
CY
50072012-09-22 Chong Yidong <cyd@gnu.org>
5008
3df47cd5
CY
5009 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5010 (Bug#12462).
5011
c88b867f
CY
5012 * repeat.el (repeat): Doc fix (Bug#12348).
5013
5014 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5015 (Bug#10909).
5016
5017 * simple.el (shell-command-on-region): Doc fix.
3171e303 5018 (read-only-mode): Doc fix.
c88b867f 5019
df9685f3
EZ
50202012-09-22 Eli Zaretskii <eliz@gnu.org>
5021
5022 * emacs-lisp/timer.el (run-with-idle-timer)
5023 (timer-activate-when-idle): Warn against reinvoking an idle timer
5024 from within its own timer action. (Bug#12447)
5025
8e17c9ba
MR
50262012-09-22 Martin Rudalics <rudalics@gmx.at>
5027
5028 * cus-start.el (window-combination-limit): Add new optional
5029 values.
5030 * window.el (temp-buffer-window-show)
5031 (window--try-to-split-window): Handle new values of
5032 window-combination-limit (Bug#1806).
5033 (split-window): Test window-combination-limit for t instead of
5034 non-nil.
5035 (display-buffer-at-bottom): New buffer display action function.
5036 * help.el (temp-buffer-resize-regexps): New option.
5037 (temp-buffer-resize-mode): Rewrite doc-string.
5038 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 5039 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 5040
48a24920
SM
50412012-09-22 Stefan Merten <smerten@oekonux.de>
5042
70efc5c9 5043 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
5044 (rst-official-version)
5045 (rst-package-emacs-version-alist): Sync with official version
5046 V1.4.0.
5047 (rst-faces-defaults, rst-set-level-default)
5048 (rst-level-face-max, rst-level-face-base-color)
5049 (rst-level-face-base-light, rst-level-face-format-light)
5050 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5051 (rst-adornment-faces-alist): Match new setup.
5052 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5053 (rst-level-5, rst-level-6): New faces.
5054
82f8cd94
CY
50552012-09-22 Chong Yidong <cyd@gnu.org>
5056
5057 * simple.el (undo): Handle indirect buffers (Bug#8207).
5058
acfa068f 50592012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
5060
5061 IDO: Disable match re-ordering for buffer switching.
2bc9406c 5062 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
5063 (ido-set-matches-1): Use it. (Bug#2042)
5064
acfa068f 50652012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
5066
5067 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5068 Fix 2011-05-17 change. (Bug#12418)
5069
acfa068f 50702012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
5071
5072 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5073
acfa068f 50742012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
5075
5076 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5077 Be more robust about locating simple.el.
5078
acfa068f 50792012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
5080
5081 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5082
acfa068f
CY
50832012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5084
5085 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5086
41a97e6f
JL
50872012-09-20 Juri Linkov <juri@jurta.org>
5088
eb2deaff
JL
5089 * replace.el (query-replace-read-from): Use `read-regexp' instead
5090 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5091 (occur-read-primary-args): Use `read-regexp' instead of
5092 `read-string'.
5093 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5094 `read-from-minibuffer'.
5095 * isearch.el (isearch-occur): Use `read-regexp' instead of
5096 `read-string'.
5097 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5098 `read-from-minibuffer'.
5099 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5100 of `read-string'. (Bug#7567)
5101
5825610b
JL
5102 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5103 and allow accepting a list of strings prepended to a list of
5104 standard default values. Doc fix. (Bug#12321)
5105
eebbf404
JL
5106 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5107
41a97e6f
JL
5108 * replace.el (read-regexp): Don't add ": " when PROMPT already
5109 ends with a colon and space. (Bug#12321)
5110
c9e452d3
TH
51112012-09-20 Tassilo Horn <tsdh@gnu.org>
5112
5113 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5114 error.
5115
ee97deee
SM
51162012-09-20 Stefan Merten <smerten@oekonux.de>
5117
70efc5c9 5118 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
5119 Fixes feature request bug#11711.
5120 (rst-mode): Create `imenu-create-index-function'.
5121 (rst-get-stripped-line): Delete after refactoring.
5122 (rst-section-tree, rst-section-tree-rec)
5123 (rst-section-tree-point): Refactor and document properly.
5124 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
5125 (rst-imenu-convert-cell, rst-imenu-create-index):
5126 New function.
ee97deee 5127
f490dab9
SM
51282012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5129
95b9712e
SM
5130 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5131 (macroexp--expand-all): Use it.
5132 (macroexp--funcall-and-return): Remove by folding it into its sole
5133 caller (macroexp--warn-and-return).
5134 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5135 Use macroexp--obsolete-warning.
5136
f490dab9
SM
5137 * calc/calc.el: Fix last change by removing the whole chunk, since it
5138 was only needed back when Calc was not bundled.
5139
96e8d411
MR
51402012-09-20 Martin Rudalics <rudalics@gmx.at>
5141
5142 * emacs-lisp/debug.el (debug): Restore assignment to
5143 debugger-old-buffer removed on 2012-09-08.
5144
0876a82d
JL
51452012-09-20 Juri Linkov <juri@jurta.org>
5146
5147 * dired-aux.el (dired-diff): Remove (require 'diff) since
5148 `diff-latest-backup-file' is now autoloaded.
5149
9f7c28f0
CY
51502012-09-20 Chong Yidong <cyd@gnu.org>
5151
5152 * vc/diff.el (diff-latest-backup-file): Autoload.
5153
7a04bee9
SM
51542012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5155
e6f0a80d
SM
5156 * calc/calc.el: Remove redundant autoload shape check.
5157 (sel-mode): Don't defvar.
5158 (calc-get-stack-element): Add `sel-mode' arg instead.
5159 (calc-top, calc-top-list): Pass it this additional argument.
5160 * calc/calc-store.el (calc-store-map):
5161 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5162 (calc-map-equation, calc-outer-product, calc-inner-product):
5163 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5164
7a04bee9
SM
5165 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5166
12734222
JL
51672012-09-19 Juri Linkov <juri@jurta.org>
5168
5169 * dired-aux.el (dired-diff): Add (require 'diff) because
5170 `diff-latest-backup-file' is not autoloaded.
5171 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5172 of `dired-get-filename' to t to not report error when there is
5173 no default file on the current line.
5174
46624b4f
SM
51752012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176
ce97595b
SM
5177 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5178 macroexp--eval-if-compile.
5179 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5180 (macroexp--expand-all): Use them (bug#12371).
5181
46624b4f
SM
5182 * doc-view.el (doc-view-guess-paper-size)
5183 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5184
db8a5a18
TH
51852012-09-19 Tassilo Horn <tsdh@gnu.org>
5186
5187 New feature: set optimal slice from BoundingBox information.
5188 * doc-view.el (doc-view-mode-map): Add keybinding.
5189 (doc-view-menu): Add menu entry.
5190 (doc-view-set-slice): Adapt docstring.
5191 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5192 (doc-view-scale-bounding-box)
5193 (doc-view-set-slice-from-bounding-box): New functions.
5194 (doc-view-paper-sizes): New defvar.
5195
69f6644c
GM
51962012-09-19 Glenn Morris <rgm@gnu.org>
5197
35f5b19d
GM
5198 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5199 (byte-compile-log-warning): Autoload. (Bug#12371)
5200
69f6644c
GM
5201 * calendar/calendar.el (calendar-american-month-header)
5202 (calendar-european-month-header, calendar-iso-month-header)
5203 (calendar-month-header): New options.
5204 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5205 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5206
e543ae91
JD
52072012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5208
5209 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5210
2fd5e67d
JL
52112012-09-18 Juri Linkov <juri@jurta.org>
5212
5213 * dired-aux.el (dired-diff): Restore original functionality of
5214 getting the default value, but keep new feature of using the
5215 latest existing backup file (`diff-latest-backup-file').
5216
42917e79
JL
52172012-09-18 Juri Linkov <juri@jurta.org>
5218
5219 * dired.el (dired-mark): If the region is active in Transient Mark
5220 mode, mark all files in the active region. Doc fix.
5221 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5222 Doc fix. (Bug#10624)
5223
20f70ede
JL
52242012-09-18 Juri Linkov <juri@jurta.org>
5225
5226 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5227 attributes for M-n are pulled from the file at point.
5228 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5229 Suggested by Drew Adams. (Bug#10624)
5230
32fb8162
DG
52312012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5232
5233 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5234 whitespace after "end".
5235 (ruby-do-end-to-brace): Collapse block to one line if it fits
5236 within fill-column.
5237
37ab5092
MR
52382012-09-18 Martin Rudalics <rudalics@gmx.at>
5239
5240 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5241 value.
5242 (debug): Don't remove debugger window when debugger is expected
5243 to be back.
5244
ed1f0bd3
CY
52452012-09-18 Chong Yidong <cyd@gnu.org>
5246
5247 * custom.el (defface): Doc fix.
5248
5249 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5250
a11035b8
MB
52512012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5252
5253 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5254 to initialize query-on-exit; then test that instead (bug#12288).
5255
64f6a736
SM
52562012-09-17 Stefan Merten <smerten@oekonux.de>
5257
70efc5c9 5258 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5259 (rst-defcustom-testcover, rst-testcover-add-compose)
5260 (rst-testcover-add-1value): New functions.
5261 (rst-portable-mark-active-p): Replace by `use-region-p'.
5262 (rst-update-section, rst-classify-adornment)
5263 (rst-find-title-line): Mark `1value' forms.
5264 (rst-classify-adornment): Remove superfluous form.
5265 (rst-update-section, rst-get-adornments-around)
5266 (rst-adornment-complete-p, rst-get-next-adornment)
5267 (rst-adjust, rst-promote-region)
5268 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5269 (rst-find-pfx-in-region, rst-section-tree-rec)
5270 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5271 (rst-toc-node, rst-toc, rst-forward-section)
5272 (rst-iterate-leftmost-paragraphs)
5273 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5274 (rst-bullet-list-region)
5275 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5276 (rst-compile-find-conf, rst-compile)
5277 (rst-repeat-last-character): Fix style.
5278
580bd868
CY
52792012-09-17 Chong Yidong <cyd@gnu.org>
5280
5281 * comint.el (comint--complete-file-name-data): Don't add a space
5282 if the status is `sole'; that adds a gratuitous space in the
5283 completion-cycling case (Bug#12092).
5284
5285 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5286
69de3ec6
RS
52872012-09-17 Richard Stallman <rms@gnu.org>
5288
0dee970c
RS
5289 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5290 only in the mime-shown mode, not in raw mode.
5291 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5292 mime processing. (Bug#12305)
0dee970c 5293
6b250df6
GM
5294 * mail/rmail.el (rmail-retry-failure):
5295 Turn off mime processing first. (Bug#12037)
acb1c47b 5296
69de3ec6
RS
5297 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5298
d079ee5f
CY
52992012-09-17 Chong Yidong <cyd@gnu.org>
5300
5301 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5302 (shell-dynamic-complete-functions): Convert to defcustom.
5303 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5304
865fe16f
CY
5305 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5306 * comint.el (comint-prompt-read-only):
5307 * custom.el (defcustom):
5308 * hi-lock.el (hi-lock-mode):
5309 * ibuffer.el (ibuffer-formats):
5310 * ielm.el (ielm-prompt-read-only):
5311 * novice.el (disable-command):
5312 * saveplace.el (toggle-save-place):
5313 * speedbar.el (speedbar-supported-extension-expressions):
5314 * startup.el (auto-save-list-file-prefix, init-file-user)
5315 (after-init-hook, inhibit-startup-echo-area-message):
5316 * strokes.el (strokes-help):
5317 * time-stamp.el (time-stamp):
5318 * calendar/calendar.el (calendar, diary-file):
5319 * calendar/diary-lib.el (diary-mail-entries, diary)
5320 (diary-list-entries-hook):
5321 * calendar/holidays.el (holidays, calendar-holidays):
5322 * calendar/lunar.el (lunar-phases):
5323 * calendar/solar.el (sunrise-sunset):
5324 * emulation/edt.el (edt-load-keys):
5325 * emulation/viper.el (viper-mode):
5326 * eshell/em-alias.el (eshell-command-aliases-list):
5327 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5328 * international/ogonek.el (ogonek-information):
5329 * net/tramp-cmds.el (tramp-bug):
5330 * net/quickurl.el (quickurl-reread-hook-postfix):
5331 * play/decipher.el (decipher-font-lock-keywords):
5332 * progmodes/cc-styles.el (c-set-style):
5333 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5334 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5335 * progmodes/octave-mod.el (octave-mode):
5336 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5337 * progmodes/verilog-mode.el (verilog-read-defines):
5338 * textmodes/two-column.el (2C-mode): Likewise.
5339
48093eb9
KY
53402012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5341
5342 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5343 that holds many addresses.
5344
c584eaf9
CY
53452012-09-16 Chong Yidong <cyd@gnu.org>
5346
40d70ecb
CY
5347 * align.el (align-areas): Call the indication function with
5348 positions instead of markers for arguments (Bug#12343).
5349
1667e065
CY
5350 * files.el (parse-colon-path): Use split-string (Bug#12351).
5351
fdc2806d 5352 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5353 (display-buffer-function): Mark as obsolete.
fdc2806d 5354
f1be615c 5355 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5356 values similar to font-lock-keywords (Bug#12136).
5357 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5358 (compilation-error-regexp-alist): Doc fix.
5359
f40a9709
GM
53602012-09-15 Glenn Morris <rgm@gnu.org>
5361
72aa16e1
GM
5362 * version.el (emacs-bzr-version-bzr): New function.
5363 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5364
82375160
GM
5365 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5366 checkouts, check the parent dirstate matches the branch.
5367 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5368 empty string.
5369
f40a9709
GM
5370 * version.el (emacs-bzr-version): Doc fix.
5371 (emacs-bzr-version-dirstate): New function.
5372 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5373 is local try and check that it matches the branch. If not, just
5374 use dirstate information. (Bug#12441)
5375
cb26b7f5
JL
53762012-09-14 Juri Linkov <juri@jurta.org>
5377
5378 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5379 (Bug#12399)
5380
2de39f08
SM
53812012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5382
0fb3cb7c
SM
5383 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5384
2de39f08
SM
5385 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5386 Remove obsolete byte-compiler hack that tried to silence some warnings.
5387 (edebug-submit-bug-report): Remove.
5388 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5389 Remove aliases, use the un-prefixed name instead.
5390 (edebug-pop-to-buffer): Consider other frames.
5391 (edebug-original-read):: Make it more obvious that it's always defined.
5392 (edebug--make-form-data-entry, edebug--form-data-name)
5393 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5394 single-dashed name, and implement with cl-defstruct.
5395 (edebug-set-form-data-entry): Use the standard accessors.
5396 (edebug-make-top-form-data-entry): Use push.
5397 (edebug-no-match): Drop useless `funcall'.
5398 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5399 to functions.
5400 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5401 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5402 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5403 (easy-menu-define, with-custom-print): Remove redundant specs.
5404 (edebug-outside-overriding-local-map)
5405 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5406 (edebug--display): Bind unread-command-events directly to nil rather
5407 than binding it to unread-command-events and later setting it to nil.
5408 (edebug--display): Kill edebug-eval-buffer here...
5409 (edebug--recursive-edit): ...rather than here.
5410 Bind standard-output and standard-input.
5411 (edebug-eval): Check cl-macroexpand-all is fboundp.
5412 (edebug-temp-display-freq-count): Fix last change.
5413
5414 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5415 * subr.el (noreturn, 1value): Add `debug' spec.
5416 * emacs-lisp/advice.el: Require cl-lib.
5417 (ad-copy-tree): Remove, use copy-tree instead.
5418 (ad-dolist): Remove use dolist or cl-dolist instead.
5419 (ad-do-return): Remove, use cl-return instead.
5420 (defadvice): Add `debug' spec.
5421
5b68b333
JL
54222012-09-13 Juri Linkov <juri@jurta.org>
5423
5424 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5425 (Bug#12399)
5426
b9800ec4
GM
54272012-09-13 Glenn Morris <rgm@gnu.org>
5428
6a2e6868
GM
5429 * calc/calc.el (math-compose-expr):
5430 * calc/calc-ext.el (math-compose-expr):
5431 * progmodes/cc-defs.el (cl-macroexpand-all):
5432 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5433 (cl-macroexpand-all): Update declarations.
5434
b9800ec4
GM
5435 * vc/vc.el: No need to require ediff.
5436 (ediff-load-version-control): Declare.
5437 (ediff-vc-internal): Fix declaration.
5438 (vc-version-ediff): Require ediff.
5439
c18e885b
PE
54402012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5441
5442 Use a more backwards-compatible timer format (Bug#12430).
5443 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5444 being right after USECS, as that better supports old code that
5445 inadvisedly looked directly at the timer vector.
5446
d607d303
KH
54472012-09-13 Kenichi Handa <handa@gnu.org>
5448
5449 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5450 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5451 `coding-priority' property of these language environment.
5452
72eac303
PE
54532012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5454
5455 Fix glitches caused by addition of psec to timers (Bug#12430).
5456 * image.el (image-animate-timer):
5457 * time.el (display-time-world-timer):
5458 Use timer--function and timer--args rather than raw access to
5459 timer vector.
5460
2168fe4f
GM
54612012-09-13 Glenn Morris <rgm@gnu.org>
5462
5463 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5464 If not compiling a file, try using load-file-name.
5465
bd8d6108
SM
54662012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5467
c0c54fbd
SM
5468 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5469 Fix last change.
5470 (edebug-update-eval-list): Use `push'.
5471
bd8d6108
SM
5472 * emacs-lisp/edebug.el: Use lexical-binding.
5473 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5474 Mark unused args with underscore.
5475 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5476 (edebug-form-data): Use defvar-local.
5477 (edebug-make-before-and-after-form, edebug-make-after-form):
5478 Use backquote.
5479 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5480 Not dynamically scoped any more.
5481 (edebug--enter-trace): Add arguments `function' and `args'.
5482 Rename from edebug-enter-trace.
5483 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5484 (edebug--update-coverage): Add `after-index' and `value' args.
5485 Rename from edebug-update-coverage.
5486 (edebug-slow-after): Call it accordingly.
5487 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5488 edebug-recursive-edit.
5489 (edebug--display): Call it accordingly. Add args `value',
5490 `offset-index', and `arg-mode'. Rename from edebug-display.
5491 (edebug-debugger, edebug): Call it accordingly.
5492 (edebug-eval-display-list): Use dolist.
5493
a9f9d9de
JL
54942012-09-12 Juri Linkov <juri@jurta.org>
5495
5496 * info.el (Info-search): Don't check for isearch-mode and
5497 isearch-regexp before let-binding search-spaces-regexp to
5498 Info-search-whitespace-regexp.
5499 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5500 search-whitespace-regexp if isearch-lax-whitespace or
5501 isearch-regexp-lax-whitespace is non-nil.
5502 (Info-mode): Don't set local variable search-whitespace-regexp.
5503 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5504
bfeae2cf
SM
55052012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5508 (debugger-env-macro): Remove support for unread-command-char.
5509
5510 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5511 the temporary map re-appearing on emulation-mode-map-alists.
5512
5513 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5514 since 22.1.
5515
5516 * ehelp.el (with-electric-help): Accept functions in
5517 electric-help-form-to-execute.
5518 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5519 And replace unread-command-char -> unread-command-events.
5520
fbbcaf1b
MA
55212012-09-12 Michael Albinus <michael.albinus@gmx.de>
5522
5523 Sync with Tramp 2.2.6.
5524
5525 * net/tramp.el (tramp-accept-process-output): Don't use
5526 JUST-THIS-ONE in the XEmacs case.
5527
5528 * net/trampver.el: Update release number.
5529
4dece104
MR
55302012-09-12 Martin Rudalics <rudalics@gmx.at>
5531
bfeae2cf
SM
5532 * emacs-lisp/debug.el (debugger-previous-window-height):
5533 New variable.
4dece104
MR
5534 (debug): When debugger-jumping-flag is non-nil try to restore
5535 height of debugger window. (Bug#8789)
5536
45b82ad0
SM
55372012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5538
60c49c0f
SM
5539 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5540 overriding-local-map and pre/post-command-hook here.
5541 (edebug-recursive-edit): Do it here instead (bug#12345).
5542 (edebug-outside-unread-command-char): Remove all uses of
5543 unread-command-char.
5544
45b82ad0
SM
5545 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5546 inhibit-debugger is bound instead.
5547
baa26ea0
BG
55482012-09-11 Bastien Guerry <bzg@gnu.org>
5549
5550 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5551 (Bug#12346)
baa26ea0 5552
04e8abfa
BG
55532012-09-11 Bastien Guerry <bzg@gnu.org>
5554
96d03571 5555 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5556 (Bug#12347)
96d03571
BG
5557
55582012-09-11 Bastien Guerry <bzg@gnu.org>
5559
fc0c31f8 5560 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5561
04e082b0
MM
55622012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5563
5564 * progmodes/sql.el: Version 3.1
5565 (sql-db2-escape-newlines): New variable.
5566 (sql-escape-newlines-filter): Use it.
5567
399a361b
JB
55682012-09-10 Juanma Barranquero <lekktu@gmail.com>
5569
5570 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5571
0780c517
DN
55722012-09-10 Dan Nicolaescu <dann@gnu.org>
5573
45b82ad0
SM
5574 * vc/diff-mode.el (diff-mode-menu):
5575 Bind diff-remove-trailing-whitespace.
0780c517 5576
9b851e25
SM
55772012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5580 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5581 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5582 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5583 (eval-defun-2): Remove bogus interactive spec.
5584 (lisp-indent-line): Remove redundant whole-exp code, now done in
5585 indent-according-to-mode.
5586 (save-match-data): Remove redundant indent data.
5587
5588 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5589 Use `declare'.
5590
3231d532
JL
55912012-09-09 Juri Linkov <juri@jurta.org>
5592
5593 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5594 (replace-lax-whitespace, query-replace-regexp)
5595 (query-replace-regexp-eval, replace-regexp): Doc fix.
5596 (perform-replace, replace-highlight): Let-bind
5597 isearch-lax-whitespace to replace-lax-whitespace and
5598 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5599
5600 * isearch.el (isearch-query-replace): Let-bind
5601 replace-lax-whitespace to isearch-lax-whitespace and
5602 replace-regexp-lax-whitespace to
5603 isearch-regexp-lax-whitespace. (Bug#10885)
5604
70fe8236
SM
56052012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5608
8ed43f15
AM
56092012-09-09 Alan Mackenzie <acm@muc.de>
5610
70fe8236
SM
5611 * progmodes/cc-engine.el (c-state-cache-init):
5612 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5613 (c-record-parse-state-state):
5614 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5615
bfabf70a
AS
56162012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5617
5618 * register.el (register-separator): Rename from
5619 separator-register. All uses changed. Doc fix.
5620 (register): Fix version.
5621
011474aa
CY
56222012-09-09 Chong Yidong <cyd@gnu.org>
5623
5624 * replace.el (query-replace-map): Bind four new symbols for
5625 requesting window scrolling.
5626
5627 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5628 query-replace-map (Bug#8948).
5629
5630 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5631
5632 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5633 since they are now in query-replace-map.
5634
5635 * window.el (scroll-other-window-down): Make the arg optional.
5636
a8b7cd8d
CY
56372012-09-09 Chong Yidong <cyd@gnu.org>
5638
5639 * files.el (hack-local-variables-confirm): Use quit-window to kill
5640 the *Local Variables* buffer.
5641
c3268831
DG
56422012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5643
5644 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5645 not just expect to be at its beginning. Adjust callees.
5646 Succeed when do-end block has no space before the pipe character.
5647 (ruby-brace-to-do-end): When the original block is one-liner,
5648 convert to multiline. Reindent the result.
5649
0979429b
J
56502012-09-08 Jambunathan K <kjambunathan@gmail.com>
5651
5652 * register.el (register): New group.
27359e99 5653 (separator-register): New user option.
0979429b
J
5654 (increment-register): Route it to `append-to-register', if
5655 register contains text. Implication is that `C-x r +' can now be
5656 used for appending to a text register (bug#12217).
5657 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5658 `separator-register'.
0979429b 5659
ace2989a
AM
56602012-09-08 Alan Mackenzie <acm@muc.de>
5661
5662 AWK Mode: make auto-newline work when there's "==" in the pattern.
5663 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5664 correctly.
0979429b
J
5665 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5666 Test more rigorously for "=" token.
ace2989a 5667
616c6c36
DG
56682012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5669
0979429b
J
5670 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5671 Only fail when reached LIMIT.
616c6c36 5672
35d98877
CY
56732012-09-08 Chong Yidong <cyd@gnu.org>
5674
5675 * dired.el (dired-mode-map): Don't bind M-=.
5676
5677 * dired-aux.el (dired-diff): Use backup file as default.
5678
1715f2db
DA
56792012-09-08 Drew Adams <drew.adams@oracle.com>
5680
5681 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5682
6dcef6ec
CY
56832012-09-08 Chong Yidong <cyd@gnu.org>
5684
5685 * subr.el (syntax-after, syntax-class): Doc fix.
5686
fa2bcf43
MR
56872012-09-08 Martin Rudalics <rudalics@gmx.at>
5688
5689 * window.el (display-buffer-in-previous-window): New buffer
5690 display action function.
5691
5692 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5693 (debugger-previous-window): New variable.
5694 (debug): Rewrite using display-buffer-in-previous-window,
5695 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5696
daac280a
SM
56972012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5700
9dd40b00
MM
57012012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5702
daac280a
SM
5703 * progmodes/python.el (python-shell-send-string):
5704 When default-directory is remote, create temp file on remote
9dd40b00
MM
5705 filesystem.
5706 (python-shell-send-file): When file is remote, pass local view of
5707 file paths to remote Python interpreter. (Bug#12340)
5708
145823ec
CY
57092012-09-07 Chong Yidong <cyd@gnu.org>
5710
cee2e90d
CY
5711 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5712
0d7eb2ea
CY
5713 * files.el (after-find-file): Don't fail on a read-only buffer if
5714 require-final-newline is `visit' or `visit-save' (Bug#11156).
5715
145823ec
CY
5716 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5717
daac280a
SM
5718 * userlock.el (ask-user-about-supersession-threat):
5719 Use read-char-choice (Bug#12093).
145823ec 5720
74c582e6
CY
57212012-09-07 Chong Yidong <cyd@gnu.org>
5722
e5c2edf7
CY
5723 * subr.el (buffer-narrowed-p): New function.
5724
5725 * ses.el (ses-widen):
5726 * simple.el (count-words--buffer-message):
1f9f395d 5727 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5728
5729 * simple.el (count-words-region): Don't signal an error if there
5730 is a non-nil prefix arg and the mark is not set.
c640e87d 5731
74c582e6
CY
5732 * help.el (describe-key-briefly): Allow the message to be seen
5733 when invoked from the minibuffer (Bug#7014).
5734
d81ceaaf
DG
57352012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5736
5737 * progmodes/ruby-mode.el (ruby-end-of-defun)
5738 (ruby-beginning-of-defun): Simplify, allow indentation before
5739 block beginning and end keywords.
8f06acce
DG
5740 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5741 (ruby-end-of-defun): Expect that the point is at the beginning of
5742 the defun.
d81ceaaf 5743
d458ef98
SM
57442012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5747 (bug#12367).
5748 (cl--make-usage-args): Strip _ from argument names.
5749
20367d28
RS
57502012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5751
5752 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5753 obsolete alias speedbar-key-map.
5754 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5755 (vhdl-index-menu-init): Don't use obsolete variable
5756 font-lock-maximum-size.
5757
3424a4f6
CY
57582012-09-06 Chong Yidong <cyd@gnu.org>
5759
5760 * frame.el (window-system-version): Mark as obsolete.
5761
fcbfbdea
CY
5762 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5763 of obsolete variable speedbar-key-map.
5764
826b3235
JL
57652012-09-06 Juri Linkov <juri@jurta.org>
5766
5767 * replace.el (replace-lax-whitespace): New defcustom.
5768 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5769 (replace-string, replace-regexp): Mention it in docstrings.
5770 (perform-replace, replace-highlight): Let-bind
5771 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5772 to the values of replace-lax-whitespace and regexp-flag.
5773 Don't let-bind search-whitespace-regexp. (Bug#10885)
5774
5775 * isearch.el (isearch-query-replace): Let-bind
5776 replace-lax-whitespace instead of let-binding
5777 replace-search-function and replace-re-search-function.
5778 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5779 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5780 (isearch-toggle-symbol): Set isearch-regexp to nil
5781 in isearch-word mode (like in isearch-toggle-word).
5782
1ec5e41d
JL
57832012-09-06 Juri Linkov <juri@jurta.org>
5784
5785 * replace.el (replace-search-function)
5786 (replace-re-search-function): Set default values to nil.
5787 (perform-replace): Let-bind isearch-related variables based on
5788 replace-related values, call `isearch-search-fun' and let-bind
5789 the result to `search-function'. Remove code that sets
5790 `search-function' and `search-string' separately for
5791 `delimited-flag'.
5792 (replace-highlight): Add new argument `delimited-flag' and
5793 rename other arguments to the names used in `perform-replace'.
5794 Let-bind `isearch-word' to the argument `delimited-flag'.
5795 (Bug#10885, bug#10887)
5796
0ba2d4b6
DG
57972012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5798
5799 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5800 ruby-beginning-of-indent, simplify, allow all keywords to have
5801 indentation before them.
5802 (ruby-beginning-of-indent): Adjust for above. Search until the
5803 found point is not inside a string or comment.
5804 (ruby-font-lock-keywords): Allow symbols to start with "@"
5805 character, give them higher priority than variables.
5806 (ruby-syntax-propertize-function)
5807 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5808 matchers. Expression expansions are not comments when inside a
5809 string, and there comment syntax status is irrelevant.
5810 (ruby-match-expression-expansion): New function. Check that
5811 expression expansion is inside a string, and it's not escaped.
5812 (ruby-font-lock-keywords): Use it.
5813
ef654460
MR
58142012-09-05 Martin Rudalics <rudalics@gmx.at>
5815
5816 * help.el (temp-buffer-max-height): New default value.
5817 (temp-buffer-resize-frames): New option.
5818 (resize-temp-buffer-window): Optionally resize frame.
5819
5820 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5821 (fit-frame-to-buffer): New function.
5822
7e570fbf 58232012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5824
5825 * emulation/cua-rect.el (cua--init-rectangles):
5826 * textmodes/picture.el (picture-mode-map):
5827 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5828 like forward-char and backward-char. (Bug#12317)
5829
7e570fbf 58302012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5831
5832 * progmodes/flymake.el (flymake-warning-re): New variable.
5833 (flymake-parse-line): Use it.
5834
7e570fbf 58352012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5836
5837 * calendar/holidays.el (holiday-christian-holidays):
5838 Rename an entry. (Bug#12289)
5839
7e570fbf 58402012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5841
5842 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5843 (bug#12222).
5844
972debf2
SM
58452012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * loadup.el: Load macroexp. Remove hack.
5848 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5849 (macroexp--expand-all): Use it to get better warnings.
5850 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5851 (internal-macroexpand-for-load): New functions.
5852 (macroexp--pending-eager-loads): New var.
5853 (emacs-startup-hook): New hack to replace one in loadup.el.
5854 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5855 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5856 (cl-psetf): Simplify.
5857 (cl-defstruct): Add indent rule.
5858
8ce192e3
LI
58592012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5860
5861 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5862 over `user-mail-address' for the SMTP MAIL FROM envelope.
5863 (smtpmail-via-smtp): Ditto.
5864
6578b4d8
DG
58652012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5866
5867 * progmodes/ruby-mode.el: Clean up keybindings.
5868 (ruby-mode-map): Don't bind ruby-electric-brace,
5869 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5870 backward-kill-word, reindent-then-newline-and-indent.
5871 (ruby-mark-defun): Remove.
5872 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5873 (ruby-mode): Set local beginning-of-defun-function and
5874 end-of-defun-function values.
5875
c5e28e39
MR
58762012-09-03 Martin Rudalics <rudalics@gmx.at>
5877
5878 * window.el (temp-buffer-window-setup-hook)
5879 (temp-buffer-window-show-hook): New hooks.
5880 (temp-buffer-window-setup, temp-buffer-window-show)
5881 (with-temp-buffer-window): New functions.
972debf2
SM
5882 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5883 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5884
5885 * help.el (temp-buffer-resize-mode): Fix doc-string.
5886 (resize-temp-buffer-window): New optional argument WINDOW.
5887
5888 * files.el (recover-file, save-buffers-kill-emacs):
5889 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5890
73406194
MA
58912012-09-02 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5894 remote definition of `default-directory', ensure we can connect.
5895
63dd1c6f
JL
58962012-09-02 Juri Linkov <juri@jurta.org>
5897
5898 Toggle whitespace matching mode with M-s SPC.
5899 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5900
5901 * isearch.el (search-whitespace-regexp): Doc fix.
5902 Remove cons cell customization.
5903 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5904 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5905 New variables.
5906 (isearch-forward, isearch-forward-regexp): Doc fix.
5907 (isearch-toggle-lax-whitespace): New command.
5908 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5909 (re-search-forward-lax-whitespace)
5910 (re-search-backward-lax-whitespace): New functions.
5911 (isearch-whitespace-regexp): Remove function.
5912 (isearch-query-replace): Let-bind replace-search-function and
5913 replace-re-search-function.
5914 (isearch-occur): Let-bind search-spaces-regexp according to the
5915 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5916 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5917 condition for C-q SPC.
5918 (isearch-search-fun-default): Use new functions mentioned above.
5919 (isearch-search-forward, isearch-search-backward): Remove functions.
5920 (isearch-search): Don't let-bind search-spaces-regexp.
5921 (isearch-lazy-highlight-space-regexp): Remove variable.
5922 (isearch-lazy-highlight-lax-whitespace)
5923 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5924 (isearch-lazy-highlight-new-loop): Use them.
5925 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5926
af7dda05
CY
59272012-09-02 Chong Yidong <cyd@gnu.org>
5928
5929 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5930
d67d3afd
GM
59312012-09-02 Glenn Morris <rgm@gnu.org>
5932
5933 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5934
69678719
GM
59352012-09-01 Glenn Morris <rgm@gnu.org>
5936
5937 * term.el: Tidy up menu definitions.
5938 (term-mode-map): Use easymenu for In/Out, Complete menus.
5939 (term-pager-break-map): Initialize in the defvar.
5940 (term-terminal-menu, term-signals-menu): Define with easymenu.
5941 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5942 (term-pager-menu): New, extracted from term-process-pager.
5943 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5944 (term-update-mode-line): Propertize line/char and page items.
5945 (term-process-pager): Move keymap initialization elsewhere.
5946
78dd6ab1
MR
59472012-09-01 Martin Rudalics <rudalics@gmx.at>
5948
5949 * window.el (switch-to-prev-buffer): Handle additional values of
5950 BURY-OR-KILL argument. Don't switch in minibuffer window.
5951 (switch-to-next-buffer): Don't switch in minibuffer window.
5952 (quit-restore-window): New function based on quit-window.
5953 Handle additional values of former KILL argument.
5954 (quit-window): Call quit-restore-window with appropriate
5955 interpretation of KILL argument.
5956 (display-buffer-below-selected): New buffer display action
5957 function.
5958
3d10e134
SM
59592012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * minibuffer.el (completion-at-point-functions): Complete docstring
5962 (bug#12254).
5963
0e23ef9d
PE
59642012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5965
5966 Better seed support for (random).
5967 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5968 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5969 * play/mpuz.el, play/tetris.el, play/zone.el:
5970 * calc/calc-comb.el (math-init-random-base):
5971 * play/blackbox.el (bb-init-board):
5972 * play/life.el (life):
5973 * server.el (server-use-tcp):
5974 * type-break.el (type-break):
5975 Remove unnecessary call to (random t).
5976 * net/sasl.el (sasl-unique-id-function):
5977 Change (random t) to (random), now that the latter is more random.
5978 * play/life.el (life-initialized): Remove no-longer-needed var.
5979
862382df
MR
59802012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5981
5982 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5983 Consider frame's buffer predicate when choosing the buffer.
5984 (Bug#12081)
5985
262a66e1
RS
59862012-08-30 Richard Stallman <rms@gnu.org>
5987
5988 * simple.el (special-mode-map): Delete binding for `z'.
5989
f17e1d00
AS
59902012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5991
5992 * progmodes/compile.el (compilation-always-kill): Doc fix.
5993
24777832
CY
59942012-08-30 Chong Yidong <cyd@gnu.org>
5995
5996 * window.el (display-buffer-reuse-frames): Make the obsolescence
5997 message more informative.
5998
69ba1f04
GM
59992012-08-30 Glenn Morris <rgm@gnu.org>
6000
6001 * paren.el (show-paren-delay):
6002 Add a :set function. Doc fix. (Bug#12297)
6003
f0019ede
MB
60042012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6005
6006 * progmodes/compile.el (compilation-always-kill): New var.
6007 (compilation-start): Use it.
6008
35e62fc9
SM
60092012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6010
af070a1c
SM
6011 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6012 * files.el (read-only-mode): Move to simple.el.
6013
35e62fc9
SM
6014 * files.el (read-only-mode): New minor mode.
6015 (toggle-read-only): Use it and mark obsolete.
6016 (find-file--read-only):
6017 * vc/vc.el (vc-next-action, vc-checkout):
6018 * vc/vc-cvs.el (vc-cvs-checkout):
6019 * obsolete/vc-mcvs.el (vc-mcvs-update):
6020 * ffap.el (ffap--toggle-read-only): Update callers.
6021
c2c43c23
MA
60222012-08-29 Michael Albinus <michael.albinus@gmx.de>
6023
6024 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
6025 remote shell scripts.
6026 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
6027
6028 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6029 "/usr/local/sbin".
6030
9fba804b
SM
60312012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6034
eada0861 60352012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 6036
806f0cc7
LL
6037 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6038 completion-at-point. (Bug#12220)
6039
3bb213b9
LL
6040 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6041
22ab32ef
LL
6042 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6043
eada0861 60442012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 6045
19c17fc1
CY
6046 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6047 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 6048
eada0861 60492012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
6050
6051 * progmodes/hideif.el (hif-compress-define-list):
6052 Fix typo. (Bug#11951)
6053
eada0861 60542012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
6055
6056 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6057 buffer local setting.
6058
27d6c5a8
LL
6059 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6060 rcirc-encode-coding-system.
6061
eada0861 60622012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
6063
6064 * net/rcirc.el (rcirc-split-message): New function.
6065 (rcirc-send-message): Use it. (Bug#12051)
6066
d44688e4
JL
60672012-08-28 Juri Linkov <juri@jurta.org>
6068
6069 * info.el (Info-fontify-node): Hide empty lines at the end of
6070 the node. (Bug#12272)
6071
34f10d41
MR
60722012-08-27 Drew Adams <drew.adams@oracle.com>
6073
6074 * dired.el (dired-pop-to-buffer): Make window start at beginning
6075 of buffer (Bug#12281).
6076
77f1f99c
CY
60772012-08-26 Chong Yidong <cyd@gnu.org>
6078
6079 * window.el (special-display-regexps, special-display-frame-alist)
6080 (special-display-buffer-names, special-display-function)
6081 (display-buffer-reuse-frames): Mark as obsolete.
6082
6083 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6084
6085 * help.el (help-print-return-message): Don't treat
6086 display-buffer-reuse-frames specially.
6087
d97af5a0
CY
60882012-08-26 Chong Yidong <cyd@gnu.org>
6089
9fba804b
SM
6090 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6091 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
6092 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6093 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6094 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6095 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6096 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6097 the functions directly with gdb-display-buffer-other-frame-action.
6098 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6099 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6100 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6101 (gdb-display-registers-buffer): Define directly.
6102 (def-gdb-display-buffer): Macro deleted.
6103 (gdb-display-buffer): Remove second and third args, callers don't
6104 use them. Defer to the default display-buffer behavior, apart
6105 from making windows dedicated.
6106 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6107
6108 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6109
6110 * window.el (display-buffer-pop-up-frame): Handle a
6111 pop-up-frame-parameters alist entry.
6112 (display-buffer): Document it.
6113
dd7ffad6
CY
61142012-08-26 Chong Yidong <cyd@gnu.org>
6115
6116 * isearch.el (search-whitespace-regexp): Make string and nil
6117 values apply to both ordinary and regexp search. Allow a cons
6118 cell value to distinguish between the two.
6119 (isearch-whitespace-regexp, isearch-search-forward)
6120 (isearch-search-backward): New functions.
6121 (isearch-occur, isearch-search-fun-default, isearch-search)
6122 (isearch-lazy-highlight-new-loop): Use them.
6123 (isearch-forward, isearch-forward-regexp): Doc fix.
6124
4c47bd1e
CY
61252012-08-26 Chong Yidong <cyd@gnu.org>
6126
6127 * faces.el (help-argument-name): Always inherit from italic
6128 (Bug#12213).
6129
9aba119d
MR
61302012-08-25 Martin Rudalics <rudalics@gmx.at>
6131
6132 * window.el (window--even-window-heights): Even heights when
6133 WINDOW and the selected window form a vertical combination.
6134 (display-buffer-use-some-window): Provide that window used gets
6135 sized back by quit-window. (Bug#11880) and (Bug#12091)
6136
ca5256ad
PE
61372012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6138
6139 Fix file time stamp problem with bzr and CVS (Bug#12001).
6140 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6141 in the file's time stamp, since the version control system loses
6142 that information.
6143
d1c0d176
JL
61442012-08-22 Juri Linkov <juri@jurta.org>
6145
6146 * info.el (Info-fontify-node): Hide the suffix of the
6147 Info file name in the header line. (Bug#12187)
6148
141562ff
GM
61492012-08-22 Glenn Morris <rgm@gnu.org>
6150
6151 * calendar/cal-tex.el (cal-tex-weekly-common):
6152 Restore leading blank page.
6153
3a21537c 61542012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
6155
6156 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6157 the region under `shift-select-mode'. (Bug#12231)
6158
61592012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6160
6161 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6162 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6163 gives details on why the space is never needed.
6164
ea95074e
MR
61652012-08-22 Martin Rudalics <rudalics@gmx.at>
6166
9fba804b
SM
6167 * window.el (walk-window-tree, window-with-parameter):
6168 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6169 should run on the minibuffer window.
6170 (window-at-side-list): Don't operate on minibuffer window.
6171 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6172 (window--size-ignore): Rename to window--size-ignore-p.
6173 Update callers.
caceae25
MR
6174 (display-buffer-in-atom-window, window--major-non-side-window)
6175 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6176 (delete-side-window, display-buffer-in-side-window):
6177 New functions.
caceae25
MR
6178 (window--side-check, window-deletable-p, delete-window)
6179 (delete-other-windows, split-window): Handle side windows and
6180 atomic windows appropriately.
6181 (window--display-buffer): Call display-buffer-record-window also
6182 when the window buffer did not change.
ea95074e 6183
80a51fa0
CS
61842012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6185
6186 * help-fns.el (help-fns--key-bindings):
6187 Abbreviate non-symbol remap targets. (Bug#12174)
6188
fbb6300b
MR
61892012-08-22 Martin Rudalics <rudalics@gmx.at>
6190
6191 * dired.el (dired-mark-remembered): Don't clobber point.
6192 (Bug#11795)
6193
2b2c0794
GM
61942012-08-22 Glenn Morris <rgm@gnu.org>
6195
6196 * progmodes/bug-reference.el (bug-reference): New custom group.
6197 (bug-reference-bug-regexp): Make it a defcustom.
6198
37219830
DU
61992012-08-22 Daiki Ueno <ueno@unixuser.org>
6200
6201 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6202 (js-paren-indent-offset, js-square-indent-offset)
6203 (js-curly-indent-offset): Add :safe (Bug#12257).
6204
94e0e559
EC
62052012-08-22 Edward O'Connor <hober0@gmail.com>
6206
6207 * json.el (json-key-format): Add error properties.
6208 (json-encode-key): New function.
6209 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6210 Use json-encode-key.
6211
da485f5e
GM
62122012-08-22 Glenn Morris <rgm@gnu.org>
6213
6214 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6215 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6216 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6217 Update for above change.
6218
c6cc78b8
AS
62192012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6220
6221 * cus-face.el (custom-face-attributes): Fix customize type for the
6222 :underline attribute. (Bug#11805)
6223
5481664a
MR
62242012-08-21 Martin Rudalics <rudalics@gmx.at>
6225
6226 * window.el (window-point-1, set-window-point-1): Remove.
6227 (window-in-direction, record-window-buffer)
6228 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
6229 (window--state-get-1, display-buffer-record-window):
6230 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
6231 window-point and set-window-point respectively.
6232
6d74698e
GM
62332012-08-21 Glenn Morris <rgm@gnu.org>
6234
b7fa2691
GM
6235 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6236 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6237 Use it.
6238
52f56d5a
GM
6239 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6240 (cal-tex-shortday): New function.
6241 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6242 (cal-tex-cursor-filofax-daily): Use the above.
6243
9f1ee09e
GM
6244 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6245 New functions.
6246 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6247 (cal-tex-cursor-filofax-week): Use them.
6248
79858159
GM
6249 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6250 New constants.
6251 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6252 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6253
d346b2b4
GM
6254 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6255 (cal-tex-end-document): Don't rely on buffer name.
6256
b2403709
GM
6257 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6258 Use cal-tex-vspace.
6259 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6260 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6261 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6262 Use cal-tex-arg.
b2403709 6263
1cebb5c0
GM
6264 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6265 (cal-tex-cursor-week, cal-tex-cursor-week2)
6266 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6267 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6268 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6269 (cal-tex-insert-preamble, cal-tex-b-document)
6270 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6271 Improve cal-tex-cmd usage.
6272
c68cd5d4
GM
6273 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6274 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6275 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6276 (cal-tex-weekly-paper): New function.
6277 (cal-tex-cursor-week, cal-tex-cursor-week2)
6278 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6279 (cal-tex-cursor-day): Use it.
6280
9dca4801
GM
6281 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6282 (cal-tex-cursor-filofax-week): Remove leading blank page.
6283
1941e134
GM
6284 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6285 Add autoload cookie. For now at least, don't use color, since
6286 no other cal-tex function does.
6287
6d74698e
GM
6288 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6289 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6290 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6291
64cde199
JL
62922012-08-21 Juri Linkov <juri@jurta.org>
6293
6294 * info.el (Info-file-attributes): New variable.
6295 (info-insert-file-contents): Add file attributes to
6296 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6297 `Info-toc-nodes' when previous modtime of the Info file is less
6298 than new modtime.
6299 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6300 of info.el. (Bug#12230)
6301
32757648
GM
63022012-08-20 Glenn Morris <rgm@gnu.org>
6303
6304 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6305 * calendar/holidays.el (calendar-holiday-list):
6306 Report errors with display-warning rather than beep'n'sleep.
6307
a32fbbcf
MA
63082012-08-20 Michael Albinus <michael.albinus@gmx.de>
6309
6310 * net/tramp.el (tramp-accept-process-output): Accept only output
6311 from PROC. Otherwise, process filters and sentinels might be
6312 confused. (Bug#12145)
6313
a05731a0
CY
63142012-08-20 Chong Yidong <cyd@gnu.org>
6315
6316 * descr-text.el (describe-text-properties-1): Use overlays-in to
6317 report on empty overlays (Bug#3322).
6318
36e8d1eb
GM
63192012-08-20 Glenn Morris <rgm@gnu.org>
6320
3d300447
GM
6321 * mail/rmailout.el (rmail-output-read-file-name):
6322 Trap and report errors in rmail-output-file-alist elements.
6323
36e8d1eb
GM
6324 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6325 since most non-font-lock faces are not also variables).
6326
b96e5814
ER
63272012-08-20 Edward Reingold <reingold@iit.edu>
6328
6329 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6330 New function. (Bug12160)
6331
7cef3569
GM
63322012-08-19 Glenn Morris <rgm@gnu.org>
6333
6334 * mail/rmailout.el (rmail-output-read-file-name):
6335 Fix previous change (when the alist is nil or does not match).
6336
17975d7f
CY
63372012-08-19 Chong Yidong <cyd@gnu.org>
6338
6339 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6340 (Bug#12228).
6341
2170b1bd
CY
63422012-08-18 Chong Yidong <cyd@gnu.org>
6343
6344 * simple.el (yank-handled-properties): New defcustom.
6345 (yank-excluded-properties): Add font-lock-face and category.
6346 (yank): Doc fix.
6347
9fba804b
SM
6348 * subr.el (remove-yank-excluded-properties):
6349 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6350 and category is now done this way, instead of being hard-coded.
6351 (insert-for-yank-1): Remove font-lock-face handling.
6352 (yank-handle-font-lock-face-property)
6353 (yank-handle-category-property): New function.
6354
ee218151
GM
63552012-08-17 Glenn Morris <rgm@gnu.org>
6356
6357 * mail/rmailout.el (rmail-output-read-file-name):
6358 Check rmail-output-file-alist against the full message body
6359 in the correct rmail buffer. (Bug#12214)
6360
4a6bc3fd
MA
63612012-08-17 Michael Albinus <michael.albinus@gmx.de>
6362
9fba804b
SM
6363 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6364 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6365
383dcbf9
CY
63662012-08-17 Chong Yidong <cyd@gnu.org>
6367
6368 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6369 font spec, set the font directly (Bug#3228).
6370
998c4a6a
MR
63712012-08-17 Martin Rudalics <rudalics@gmx.at>
6372
6373 * window.el (delete-window): Fix last fix.
6374
52162052
MR
63752012-08-16 Martin Rudalics <rudalics@gmx.at>
6376
6377 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6378 (window-child, window-child-count, window-last-child)
6379 (window-normalize-window, window-combined-p)
6380 (window-combinations, window-atom-root, window-min-size)
6381 (window-sizable, window-sizable-p, window-size-fixed-p)
6382 (window-min-delta, window-max-delta, window--resizable)
6383 (window--resizable-p, window-resizable, window-total-size)
6384 (window-full-height-p, window-full-width-p, window-body-size)
6385 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6386 (minimize-window, window-deletable-p, delete-window)
6387 (delete-other-windows, set-window-buffer-start-and-point)
6388 (next-buffer, previous-buffer, split-window, balance-windows-2)
6389 (set-window-text-height, window-buffer-height)
6390 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6391 (truncated-partial-width-window-p): Minor code adjustments.
6392 In doc-strings state whether the argument window has to denote a
85c2386b 6393 live, valid or any window.
52162052 6394
1c308380
PS
63952012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6396
6397 * progmodes/subword.el (subword-forward-function)
6398 (subword-backward-function, subword-forward-regexp)
6399 (subword-backward-regexp): New variables.
6400 (subword-forward, subword-forward-internal, subword-backward-internal):
6401 Use new variables, eg so that different "word" definitions
6402 can be easily used. (Bug#11411)
6403
94c9ece1
SM
64042012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6407 for composite selectors.
6408 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6409 operation just because we can't find a previous revision.
6410
f2045622
CY
64112012-08-15 Chong Yidong <cyd@gnu.org>
6412
6413 * frame.el (set-frame-font): Accept font objects.
6414
582db660
SM
64152012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6418
2f29c200
WJ
64192012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6420
456e62c2
WJ
6421 * man.el (Man-overstrike-face, Man-underline-face)
6422 (Man-reverse-face): Remove variables.
6423 (Man-overstrike, Man-underline, Man-reverse): New faces.
6424 (Man-fontify-manpage): Use them instead of the variables.
6425 (Man-cleanup-manpage): Comment change.
6426 (Man-ansi-color-map): New variable.
6427 (Man-fontify-manpage): Use it.
6428 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6429
2f29c200
WJ
6430 Implement ANSI SGR parameters 22-27 (bug#12146).
6431 * ansi-color.el (ansi-colors): Doc fix.
6432 (ansi-color-context, ansi-color-context-region): Doc fix.
6433 (ansi-color--find-face): New function.
6434 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6435 Rename the local variable `face' to `codes' since it is now a list of
6436 ansi codes. Doc fix.
6437 (ansi-color-get-face): Remove.
6438 (ansi-color-parse-sequence): New function, derived from
6439 ansi-color-get-face.
6440 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6441 codes 22-27.
6442
b4f5e9df
SM
64432012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * subr.el (read-passwd): Allow use from a minibuffer.
6446
ba025fbd
EZ
64472012-08-14 Eli Zaretskii <eliz@gnu.org>
6448
6449 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6450 inside comments and strings as identifiers.
6451
6452 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6453 expression to evaluate. This allows to evaluate expressions with
6454 embedded whitespace.
6455 (gud-tooltip-tips): Add a blank before the newline in the
6456 message-box text, for the benefit of message-box emulation on
6457 MS-Windows.
6458
6459 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6460 messages from GDB, pop them up in a tooltip to give feedback to
6461 user.
b4f5e9df
SM
6462 (gdb-tooltip-print-1): Quote the expression to evaluate.
6463 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6464 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6465 if the TTY name is nil or empty (which happens when communicating
6466 with the inferior via pipes, e.g. on MS-Windows).
6467 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6468 don't send that to the GUD buffer.
6469
c548f821
GM
64702012-08-14 Glenn Morris <rgm@gnu.org>
6471
6472 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6473 Optimize away setq-default with no args, as for setq. (Bug#12195)
6474
55802e4a
CY
64752012-08-14 Chong Yidong <cyd@gnu.org>
6476
4abcdac8
CY
6477 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6478
55802e4a
CY
6479 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6480 (Bug#12085).
6481
3c3cda1a
GM
64822012-08-14 Glenn Morris <rgm@gnu.org>
6483
6484 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6485
e1873bd0
MA
64862012-08-14 Michael Albinus <michael.albinus@gmx.de>
6487
6488 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6489 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6490 Use cached shell name.
6491
925411b4
FEG
64922012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6493
6494 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6495 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6496
e636fafe
DG
64972012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6498
6499 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6500 (ruby-percent-literal-beg-re): New constant.
6501 (ruby-syntax-general-delimiters-goto-beg): Rename to
6502 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6503 (ruby-syntax-propertize-general-delimiters): Rename to
6504 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6505 popular term. Adjust comments everywhere.
6506 (ruby-syntax-propertize-percent-literal): Only propertize when not
6507 inside a simple string or comment. When the literal is unclosed,
6508 leave the text after it unpropertized.
f063063a
DG
6509 (ruby-syntax-methods-before-regexp): New constant.
6510 (ruby-syntax-propertize-function): Use it to recognize regexps.
6511 Don't look at the text after regexp, just use the whitelist.
e636fafe 6512
e5b19827
AS
65132012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6514
6515 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6516 non-nil always load the compiled file if it exists. (Bug#12197)
6517
a9f6f311
CY
65182012-08-14 Chong Yidong <cyd@gnu.org>
6519
6520 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6521 (hi-lock-set-pattern): When deciding whether to use font lock or
6522 overlays, look at font-lock-mode instead of font-lock-fontified
6523 (Bug#12168).
6524 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6525 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6526
7d806b1e
DU
65272012-08-14 Daiki Ueno <ueno@unixuser.org>
6528
6529 * subr.el (internal--after-with-selected-window): Fix typo
6530 (Bug#12193).
6531
5beed586
FEG
65322012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6533
6534 Use `completion-table-dynamic' for completion functions.
6535 * progmodes/python.el
6536 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6537 (python-shell-completion--get-completions):
6538 Remove functions.
5beed586
FEG
6539 (python-shell-completion-complete-at-point): New function.
6540 (python-completion-complete-at-point): Use it.
6541
92cb3b04
J
65422012-08-13 Jambunathan K <kjambunathan@gmail.com>
6543
6544 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6545 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6546
89660017
SM
65472012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6548
3c98c962
SM
6549 * subr.el (function-get): Refine `autoload' arg so it can also
6550 autoload functions for gv.el (bug#12191).
6551 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6552 autoloads macros.
6553
aa7c6dbe
SM
6554 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6555 Prefer pcase-let over destructuring-bind.
6556 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6557 Also, remove whitespace as we go, rather than after accumulating the
6558 various places.
6559
89660017
SM
6560 * subr.el (internal--before-with-selected-window)
6561 (internal--after-with-selected-window): Fix typo seleted->selected.
6562 (with-selected-window): Adjust callers.
6563 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6564
31cd32c9
BG
65652012-08-13 Bastien Guerry <bzg@gnu.org>
6566
0fcd3d9f 6567 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6568 enhancement. (Bug#12172)
6569
1b15d8ad
AS
65702012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6571
31e54db0
AS
6572 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6573 type 1-6.
6574 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6575 extended headers.
6576
1b15d8ad
AS
6577 * files.el (hack-local-variables-filter): Remove useless eval.
6578
35cb9c06
MR
65792012-08-13 Martin Rudalics <rudalics@gmx.at>
6580
6581 * subr.el (with-selected-window): Fix last change.
6582
1439443b
SM
65832012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * subr.el (internal--before-with-seleted-window)
6586 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6587 (with-selected-window): Use them, to replace dependency on
6588 tty-top-frame.
1439443b 6589
0d9e2599
NN
65902012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6591
6592 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6593 binding for `newline'.
6594 (ruby-move-to-block): When moving backward, stop at block opening,
6595 not indentation.
6596 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6597 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6598 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6599 `ruby-toggle-block'.
6600
ba10c48c
SM
66012012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * ibuffer.el (ibuffer-do-toggle-read-only):
6604 * dired.el (dired-toggle-read-only):
6605 * buff-menu.el (Buffer-menu-toggle-read-only):
6606 * bindings.el (mode-line-toggle-read-only):
6607 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6608
9229c658
AS
66092012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6610
6611 * descr-text.el (describe-char): Put the overlays over the
6612 "displayed as" character.
6613
0fd09128
JB
66142012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6615
6616 * calc/calc-units.el (math-default-units-table): Give an
6617 initial value.
6618 (math-put-default-units): Add options to put composite units and
6619 unit systems in the default units table.
6620 (calc-convert-units): Send composite units to
6621 `math-put-default-units' when appropriate.
6622
9ff9402d 66232012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6624
fbb5e336
GM
6625 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6626
7aacaf15
GM
6627 * tutorial.el (help-with-tutorial):
6628 * emacs-lisp/copyright.el (copyright-update-directory):
6629 * emacs-lisp/autoload.el (autoload-find-generated-file)
6630 (autoload-find-file): Disable local eval: (for insurance).
6631
f40b9f10
GM
6632 * files.el (hack-local-variables-filter): If an eval: form is not
6633 known to be safe, and enable-local-variables is :safe, then ignore
6634 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6635 This is CVE-2012-3479.
f40b9f10 6636
daa9f1a6
SM
66372012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6640 (rx-form): Simplify.
6641
9cd80478
DG
66422012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6643
0d9e2599
NN
6644 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6645 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6646 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6647 (ruby-syntax-propertize-function): Adjust for changes in
6648 `ruby-syntax-propertize-heredoc'.
6649
66502012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6651
9cd80478
DG
6652 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6653 binding (use `M-;' instead).
9cd80478 6654 (ruby-singleton-class-p): New function.
0d9e2599 6655 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6656
d301b413
SM
66572012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6660
1530c98e
CY
66612012-08-10 Chong Yidong <cyd@gnu.org>
6662
6663 * progmodes/python.el (python-shell-get-process-name): Don't mess
6664 with same-window-buffer-names.
6665
6666 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6667 (eshell-remove-from-window-buffer-names): Make obsolete.
6668 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6669 (eshell): Just use pop-to-buffer-same-window instead.
6670
e1293765
CY
66712012-08-10 Chong Yidong <cyd@gnu.org>
6672
6673 * bindings.el: Bind M-= back to count-words-region.
6674
6675 * simple.el (count-words-region): Accept a prefix arg for acting
6676 on the entire buffer.
6677 (count-words--buffer-message): New helper function.
6678
e1894109
SM
66792012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6682 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6683 (event-start, event-end): Use posn-at-point to return a more
6684 informative posn.
6685 (posnp): New function.
6686 * mouse.el (popup-menu-normalize-position): Use it.
6687
c69f56a2
MY
66882012-08-10 Masatake YAMATO <yamato@redhat.com>
6689
6690 * mouse.el (popup-menu-normalize-position): New function.
6691 (popup-menu): Use `popup-menu-normalize-position' to normalize
6692 the form for POSITION argument.
6693
6694 * term/x-win.el (x-menu-bar-open):
6695 Use the value returend from (posn-at-point) as position
6696 passed to `popup-menu'.
6697
31673780
JB
66982012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6699
6700 * calc/calccomp.el (math-compose-expr): Add extra argument
6701 indicating that parentheses should be put around products in
6702 denominators. Give multiplication precedence over division during
6703 composition.
6704
dab7711b
CY
67052012-08-09 Chong Yidong <cyd@gnu.org>
6706
dee4ef93
CY
6707 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6708 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6709 (Man-untabify-command, manual-program): Convert to defcustom
6710 (Bug#10429).
6711
73e2bbc5
CY
6712 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6713
3e861c8a
CY
6714 * descr-text.el (describe-char): Don't insert extra newlines
6715 (Bug#10127).
6716
a9f5a649
CY
6717 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6718 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6719
dab7711b
CY
6720 * align.el (align-region): Delete temporary markers (Bug#10047).
6721 Plus some code cleanups.
6722
e0cc4efa
FEG
67232012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6724
6725 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6726 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6727 (python-shell-internal-last-output): Use make-local-variable
6728 instead of make-variable-buffer-local.
6729
489af14f
FEG
67302012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6731
6732 * progmodes/python.el: Enhancements to forward-sexp.
6733 (python-nav-forward-sexp): Rename from
6734 python-nav-forward-sexp-function.
c69f56a2
MY
6735 (python-nav--forward-sexp, python-nav--backward-sexp):
6736 New functions.
489af14f 6737
0fc50303
JB
67382012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6739
6740 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6741 modes and simplification modes.
6742
5d65606a
SM
67432012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * delsel.el (delete-selection-pre-hook): Don't propagate the
6746 file-supersession signals (bug#12161).
6747
4250fdf5
SM
67482012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6751 (cl-map-extents): Add compatibility aliases (bug#12135).
6752
d9f9b465
MA
67532012-08-08 Michael Albinus <michael.albinus@gmx.de>
6754
6755 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6756 tests by `ignore-error'.
6757 (tramp-find-shell): Open also a new shell, when cache is already
6758 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6759
ce0fcefa
JL
67602012-08-08 Juri Linkov <juri@jurta.org>
6761
6762 * bookmark.el: Add `defaults' property to the bookmark record.
6763 (bookmark-current-buffer): Doc fix.
6764 (bookmark-make-record): Add `defaults' property with default values
6765 to the bookmark record.
6766 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6767 with `bookmark-insert-current-bookmark'.
6768 (bookmark-set): Get `defaults' property from the bookmark record
6769 and use it in `read-from-minibuffer'.
6770 (bookmark-insert-current-bookmark): Remove function.
6771
6772 * info.el (Info-bookmark-make-record): Add `defaults' property
6773 with values of canonical Info node name, the current Info file
6774 name and the current Info node name. (Bug#12107)
6775
53fa8652
JL
67762012-08-08 Juri Linkov <juri@jurta.org>
6777
6778 * files.el (basic-save-buffer): Use `buffer-name' as the default
6779 of `read-file-name' when buffer is not visiting a file (bug#12128).
6780
242c0a95
JL
67812012-08-08 Juri Linkov <juri@jurta.org>
6782
6783 * info.el (Info-isearch-search): Doc fix.
6784 (Info-search): Change search-failed message from "initial node" to
6785 "end of node" (bug#12078).
6786 (Info-isearch-search): Change `isearch-string-state' to
6787 `isearch--state-string'.
6788
32ac3a6b
GM
67892012-08-08 Glenn Morris <rgm@gnu.org>
6790
6791 * language/persian.el: Remove file.
f8c1afd5 6792 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6793 * loadup.el: Remove language/persian.
6794
2c2d9c9c
OF
67952012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6796
6797 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6798
2d79ec42
FEG
67992012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6800
3c855b96 6801 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6802 (python-syntax-context) Rename from python-info-ppss-context.
6803 (python-syntax-context-type): Rename from
6804 python-info-ppss-context-type.
6805 (python-syntax-comment-or-string-p): Rename from
6806 python-info-ppss-comment-or-string-p.
6807
2bd255dd
JB
68082012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6809
6810 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6811
c395097f
AS
68122012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6813
6125983e
AS
6814 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6815 a defcustom that is quoted with backquote.
6816
4250fdf5
SM
6817 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6818 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6819 (math-do-arg-check, math-define-function-body): Use backquote forms.
6820 * calc/calc-ext.el (math-defcache): Likewise.
6821 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6822 * allout.el (allout-new-exposure): Likewise.
6823 * calc/calcalg2.el (math-tracing-integral): Likewise.
6824 * info.el (Info-last-menu-item): Likewise.
6825 * emulation/vip.el (vip-loop): Likewise.
6826 * textmodes/artist.el (artist-funcall): Likewise.
6827 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6828 Construct menu-item directly.
6829
4250fdf5
SM
6830 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6831 Don't declare.
c395097f 6832
5fb50dd3
CY
68332012-08-07 Chong Yidong <cyd@gnu.org>
6834
6835 * simple.el (deactivate-mark): Preserve text properties when
6836 saving the primary selection (Bug#8384).
6837
54eea618
KR
68382012-08-07 Kevin Ryde <user42@zip.com.au>
6839
6840 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6841 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6842 and continue processing (Bug#12110).
6843
638eaeb9
SM
68442012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6847 syntax-propertize-function (bug#10095).
6848
ea376861
SM
68492012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6850
f91b35be
SM
6851 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6852 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6853 describe-function-1.
6854 (describe-function-1): Use them. Move compiler macro after sig.
6855 (help-fns--compiler-macro): Use function-get. Assume we're already in
6856 standard-output. Adjust layout to new call order.
6857
ea376861
SM
6858 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6859 re-binding a symbol that has a symbol-macro (bug#12119).
6860
d5be7bd0
MB
68612012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6862
6863 * language/persian.el: New file. (Bug#11812)
6864 * loadup.el: Add language/persian.el.
6865
90749b53
CY
68662012-08-06 Chong Yidong <cyd@gnu.org>
6867
6868 * window.el (window--maybe-raise-frame): New function.
6869 (window--display-buffer): Split off from here.
6870 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6871 (display-buffer-pop-up-window, display-buffer-use-some-window):
6872 Obey an inhibit-switch-frame action alist entry.
6873 (display-buffer): Update doc.
6874
6875 * replace.el (occur-after-change-function): Avoid losing focus by
6876 using the inhibit-switch-frame display parameter (Bug#12139).
6877
ba7b0154
FEG
68782012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6879
6880 Make internal shell process buffer names start with space.
6881 * progmodes/python.el (python-shell-make-comint): Add optional
6882 argument INTERNAL.
6883 (run-python-internal): Use it.
6884 (python-shell-internal-get-or-create-process): Check for new
6885 internal buffer names.
6886
5eaeacb5
GM
68872012-08-06 Glenn Morris <rgm@gnu.org>
6888
e296d94b 6889 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6890 Do less getting and setting of environment variables.
6891
b7ccbdc2
CY
68922012-08-05 Chong Yidong <cyd@gnu.org>
6893
777fe95e
CY
6894 * proced.el (proced): Add substitution string to docstring to
6895 trigger autoloading of the proced library on C-h f (Bug#1768).
6896
4250fdf5
SM
6897 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6898 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6899
6900 * imenu.el (imenu-generic-expression): Move documentation here
6901 from imenu--generic-function.
6902 (imenu--generic-function): Refer to imenu-generic-expression.
6903
9e3b7800 69042012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6905
6906 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6907 indentation declaration.
6908 (viper-loop): Add indentation declaration (Bug#7025).
6909
e5d9c0d1
CY
69102012-08-05 Chong Yidong <cyd@gnu.org>
6911
f0422feb
CY
6912 * help-fns.el (describe-variable): Add hyperlink for
6913 directory-local variables files. Improve buffer-local and
6914 permanent-local reporting; suggested by MON KEY (Bug#6644).
6915
6916 * help-mode.el (help-dir-local-var-def): New button type.
6917
e5d9c0d1
CY
6918 * files.el (kill-buffer-hook): Provide a defvar.
6919
a4f2deaa
GM
69202012-08-05 Glenn Morris <rgm@gnu.org>
6921
6922 * eshell/esh-ext.el (eshell/addpath):
6923 Also update eshell-path-env. (Bug#12013)
6924
a9dd5754
CY
69252012-08-05 Chong Yidong <cyd@gnu.org>
6926
a4f2deaa 6927 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6928
d014c740
CY
6929 * fringe.el (fringe-styles): Add docstring.
6930 (fringe--check-mode): New function.
6931 (set-fringe-mode, set-fringe-style): Use it.
6932 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6933
a9dd5754
CY
6934 * files.el (set-auto-mode): Fix invalid setq call.
6935
7c2dc8bd
SM
69362012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * isearch.el: Misc simplification; use defstruct.
6939 (isearch-mode-map): Dense maps now work like sparse ones.
6940 (isearch--state): New defstruct.
6941 (isearch-string-state, isearch-message-state, isearch-point-state)
6942 (isearch-success-state, isearch-forward-state)
6943 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6944 (isearch-wrapped-state, isearch-barrier-state)
6945 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6946 replaced by defstruct's accessors.
6947 (isearch--set-state): Rename from isearch-top-state and change
6948 calling convention.
6949 (isearch-push-state): Use new isearch--get-state.
6950 (isearch-toggle-word): Disable regexp when enabling word.
6951 (isearch-message-prefix): Remove unused arg _c-q-hack.
6952 (isearch-message-suffix): Remove unused arg _ellipsis.
6953
7fcc0070
AS
69542012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6955
6956 * simple.el (list-processes--refresh): For a server use :host or
6957 :local as the address.
97ad0769 6958 (list-processes): Doc fix.
7fcc0070 6959
a11035b8 69602012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6961
6962 * lisp/mpc.el: Support password in host argument.
6963 (mpc--proc-connect): Parse and use new password element.
6964 Set mpc-proc variable instead of returning process.
6965 (mpc-proc): Adjust accordingly.
6966
6dad7178
EZ
69672012-08-03 Eli Zaretskii <eliz@gnu.org>
6968
18949c2f
EZ
6969 * whitespace.el (whitespace-display-mappings): Use Unicode
6970 codepoints, instead of emacs-mule codepoints. See
6971 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6972 for the details.
6973
6dad7178
EZ
6974 * files.el (file-truename): Don't skip symlink-chasing part on
6975 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6976 Windows into the loop that recursively chases symlinks.
6977 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6978 MS-DOS.
6979
385b0198
CY
69802012-08-03 Chong Yidong <cyd@gnu.org>
6981
6200f3c4
CY
6982 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6983
385b0198
CY
6984 * sort.el (sort-regexp-fields): Doc fix.
6985
b9e74744
TH
69862012-08-03 Tassilo Horn <tsdh@gnu.org>
6987
6988 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6989 labels regex position point at the expected place.
6990
41013cb4
MK
69912012-08-03 MON KEY <monkey@sandpframing.com>
6992
6993 * net/imap.el (imap-interactive-login, imap-authenticate)
6994 (imap-mailbox-lsub, imap-mailbox-list)
6995 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6996 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6997 (imap-parse-response): Doc fix.
6998
0ffee616
JT
69992012-08-03 João Távora <joaotavora@gmail.com>
7000
7001 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7002 if sexp scanning does not move point (Bug#5734).
7003
cfcc9cc8
TH
70042012-08-02 Tassilo Horn <tsdh@gnu.org>
7005
7006 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7007 Add listings, minted, and ctable packages.
7008 (reftex-label-alist-builtin): Move listings, minted, and ctable
7009 entries before LaTeX.
a01bbb84 7010 (reftex-label-alist): Docfix.
cfcc9cc8 7011
66ec2442
BG
70122012-08-02 Bastien Guerry <bzg@gnu.org>
7013
7014 * replace.el (occur): Fix docstring (bug#12122).
7015
837b365b
GM
70162012-08-02 Glenn Morris <rgm@gnu.org>
7017
7018 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7019
e098de97
PE
70202012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7021
7022 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7023 * international/mule-cmds.el: Create
7024 inactivate-current-input-method-function as an obsolete alias for
7025 deactivate-current-input-method-function. See Katsumi Yamaoka in
7026 <http://bugs.gnu.org/10150#46>.
7027
a0f95636
JB
70282012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7029
7030 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7031 of nested `if's.
7032
0d26d7c4
GM
70332012-08-01 Glenn Morris <rgm@gnu.org>
7034
7035 * progmodes/autoconf.el (autoconf-definition-regexp):
7036 Add AH_TEMPLATE, adjust submatch numbering.
7037 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7038 (autoconf-current-defun-function): Update for above change.
7039 (autoconf-current-defun-function): First skip to end of current word.
7040
b686ba06
RS
70412012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7042
7043 * calendar/cal-html.el (cal-html-insert-agenda-days):
7044 Fix typo. (Bug#12018)
7045
0d49da68
FEG
70462012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7047
7048 Shell processes: enhancements to startup and CEDET compatibility.
7049 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7050 (python-shell-make-comint): accept-process-output at startup.
7051 (run-python-internal): Set inferior-python-mode-hook to nil.
7052 (python-shell-internal-get-or-create-process): call sit-for.
7053 (python-preoutput-result): Add obsolete alias.
7054 (python-shell-internal-send-string): Use it.
7055 (python-shell-send-setup-code): Remove call to
7056 accept-process-output.
7057
f1a71c6e
AS
70582012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7059
7060 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7061 (Bug#12108)
7062
d2605269
JB
70632012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7064
7065 * calc-mode.el (calc-basic-simplification-mode): Rename from
7066 `calc-limited-simplification-mode'.
7067 (calc-alg-simplification-mode): New function.
fc0c31f8 7068 (calc-set-simplify-mode): Adjust message.
f1a71c6e 7069
d2605269
JB
7070 * calc.el (calc-set-mode-line): Adjust mode line display for
7071 basic simplification mode.
7072
7073 * calc-help.el (calc-m-prefix-help): Update help message.
7074
7075 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7076 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7077
a3827a43
BG
70782012-07-31 Bastien Guerry <bzg@gnu.org>
7079
7080 * man.el (man): Fix comment. (bug#12101)
7081
502e3f89
MR
70822012-07-31 Martin Rudalics <rudalics@gmx.at>
7083
7084 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7085 Don't return a non-nil value when no suitable buffer was found.
7086
d7714961
FEG
70872012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7088
7089 * progmodes/python.el (run-python-internal): Disable font lock for
7090 internal shells.
7091
1f45e27e
SM
70922012-07-30 Stefan Merten <smerten@oekonux.de>
7093
70efc5c9 7094 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
7095 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7096 (rst-official-version, rst-official-cvs-rev)
7097 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7098 (rst-mode-map): New key binding.
7099
0aee6912
PE
71002012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7101
7102 Update .PHONY listings in makefiles.
7103 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7104 autoloads, update-subdirs, updates, bzr-update, update-authors,
7105 compile-onefile, compile-calc, backup-compiled-files,
7106 compile-after-backup, compile-one-process, mh-autoloads,
7107 bootstrap-clean, distclean, maintainer-clean.
7108
9052f9f0
JB
71092012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7110
1823ac5a
JB
7111 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7112 (calc-set-mode-line): Don't display "AlgSimp ".
7113
7114 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7115 (calc-lim-simplify-mode): New function.
7116 (calc-set-simplify-mode): Default to 'alg.
7117 (calc-default-simplify-mode): Make algebraic simplifications
7118 the default.
7119
7120 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7121 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7122
8d7c7eed 7123 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
7124 indicate new simplification modes.
7125
1823ac5a
JB
7126 * calc/README: Mention new default simplification mode.
7127
9052f9f0
JB
7128 * calc/calc.el (math-normalize-error): New variable.
7129 (math-normalize): Set `math-normalize-error' to t
7130 when there's an error.
7131
7132 * calc/calc-alg.el (math-simplify): Don't simplify when
7133 `math-normalize' returns an error.
7134
20ba0cb4
EZ
71352012-07-29 Eli Zaretskii <eliz@gnu.org>
7136
7137 * international/mule-cmds.el (set-locale-environment): Revert last
7138 change, since display-graphic-p returns nil when this function is
7139 called during startup. Instead...
7140
7141 * term/w32console.el (terminal-init-w32console): ...setup the
7142 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7143
a5dcc929
JL
71442012-07-29 Juri Linkov <juri@jurta.org>
7145
7146 * simple.el (goto-line): Don't display default line number in the
7147 prompt because it should be displayed by `read-number' (bug#9952).
7148 Add the current line number to the defaults of `goto-line' to
7149 allow its easier modification by users with `M-n' (bug#9201).
7150
7151 * subr.el (read-number): Support multiple default values like in
7152 other minibuffer reading functions. Replace `read' with
7153 `string-to-number' for consistency with `number-to-string'.
7154
72b255c7
PE
71552012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7156
7157 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7158 * emulation/viper-init.el (viper-deactivate-input-method-action):
7159 Rename from viper-inactivate-input-method-action.
7160 (viper-deactivate-input-method):
7161 Rename from viper-inactivate-input-method.
7162 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7163 * international/mule-cmds.el (deactivate-input-method):
7164 Rename from inactivate-input-method.
7165 Also run input-method-deactivate-hook.
7166 (deactivate-current-input-method-function):
7167 Rename from inactivate-current-input-method-function.
7168 (input-method-deactivate-hook): New hook.
7169 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7170 (inactivate-input-method): Mark obsolete.
7171
72b255c7
PE
7172 * international/quail.el (quail-activate):
7173 Also run quail-deactivate-hook.
7174 (quail-deactivate): Rename from quail-inactivate.
7175 * international/robin.el (robin-activate):
7176 Also run robin-deactivate-hook.
7177 (robin-deactivate): Rename from robin-inactivate.
7178
2549c068
CY
71792012-07-29 Chong Yidong <cyd@gnu.org>
7180
7181 * simple.el (indicate-copied-region): New function.
7182 (kill-ring-save): Split off from here.
7183
7184 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7185 (kill-rectangle): Set deactivate-mark to t on read-only error.
7186
7187 * register.el (copy-to-register, copy-rectangle-to-register):
7188 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7189 (append-to-register, prepend-to-register): Call indicate-copied-region.
7190
71912012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7192
7193 * simple.el (async-shell-command-buffer): New defcustom.
7194 (shell-command): Use it. (Bug#4719)
7195
01bd1b0d
EZ
71962012-07-28 Eli Zaretskii <eliz@gnu.org>
7197
7198 * international/mule-cmds.el (set-locale-environment): In a
7199 console session on MS-Windows, set up keyboard and terminal
7200 encoding from the OEM codepage, not the ANSI codepage.
7201 (Bug#12055)
7202
a55739d3
CY
72032012-07-28 Chong Yidong <cyd@gnu.org>
7204
7205 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7206 gdb-get-location.
7207
0e1a094f 72082012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
7209
7210 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7211 the alist (bug#12029).
7212
20329d73
EZ
72132012-07-28 Eli Zaretskii <eliz@gnu.org>
7214
7215 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7216 (compile-always, compile-first)
7217 ($(lisp)/calendar/cal-loaddefs.el)
7218 ($(lisp)/calendar/diary-loaddefs.el)
7219 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7220 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7221 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7222 instead of on update-subdirs.
7223 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7224
345a2258
CY
72252012-07-28 Chong Yidong <cyd@gnu.org>
7226
1eee6341
CY
7227 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7228 directory if vc-deduce-backend returns nil (Bug#7350).
7229
345a2258
CY
7230 * simple.el (delete-trailing-lines): New option.
7231 (delete-trailing-whitespace): Obey it (Bug#11879).
7232
049a0936
DE
72332012-07-28 David Engster <deng@randomsample.de>
7234
7235 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7236 Explanation of new 'symbol-qnames feature in doc-strings.
7237 (xml-maybe-do-ns): Return expanded names as plain symbols if
7238 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7239 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7240
aa81af71
FEG
72412012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7242
7243 Consistent completion in inferior python with emacs -nw.
7244 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7245 binding in inferior-python-mode-map with "\t".
7246 (python-shell-completion-complete-at-point)
7247 (python-completion-complete-at-point): Remove interactive spec.
7248
e827b1eb
JB
72492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7250
7251 * calc/calccomp.el (math-compose-expr): Undo previous change.
7252
a90dfb95
FEG
72532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7254
4250fdf5 7255 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7256 run-python.
7257 (python-shell-make-comint): Fix pop-to-buffer call.
7258 (run-python): Autoload. New arg SHOW.
7259 (python-shell-get-or-create-process): Do not pop python process
7260 buffer.
7261
32770973 72622012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7263
7264 * notifications.el (notifications-on-action-signal)
7265 (notifications-on-closed-signal): Use also the bus address for the map.
7266 (notifications-notify, notifications-close-notification)
fc0c31f8 7267 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7268
86332df2
TH
72692012-07-27 Tassilo Horn <tsdh@gnu.org>
7270
4250fdf5
SM
7271 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7272 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7273 ctable macro.
7274 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7275 labels written in keyvals syntax.
7276
ca1302a4
JB
72772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7278
7279 * calc/calccomp.el (math-compose-expr): Use parentheses when
7280 there is a product in the denominator of a fraction.
7281
f8b91036
EZ
72822012-07-26 Eli Zaretskii <eliz@gnu.org>
7283
7284 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7285 ($(lisp)/calendar/diary-loaddefs.el)
7286 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7287 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7288 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7289 rewritten while the autoload files are built at the same time,
7290 which needs to load subdirs.el.
7291
c8e5a42c
MR
72922012-07-26 Martin Rudalics <rudalics@gmx.at>
7293
7294 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7295 (mouse-drag-line): Don't exit tracking when a switch-frame or
7296 switch-window event occurs (Bug#12006).
7297
670d85ea
SM
72982012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * mouse.el (popup-menu): Fix last change.
7301
7abaf5cc
SM
73022012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 Autoload from Lisp with more care. Follow aliases when looking for
7305 function properties.
7306 * subr.el (autoloadp): New function.
7307 (symbol-file): Use it.
7308 (function-get): New function.
7309 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7310 autoload-do-load.
7311 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7312 (lisp-indent-function):
7313 * emacs-lisp/gv.el (gv-get):
7314 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7315 * emacs-lisp/byte-opt.el (byte-optimize-form):
7316 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7317 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7318 Use function-get.
7319 * emacs-lisp/cl.el: Don't propagate function properties any more.
7320
7321 * speedbar.el (speedbar-add-localized-speedbar-support):
7322 * emacs-lisp/disass.el (disassemble-internal):
7323 * desktop.el (desktop-load-file):
7324 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7325 (describe-function-1):
7326 * emacs-lisp/find-func.el (find-function-noselect):
7327 * emacs-lisp/elp.el (elp-instrument-function):
7328 * emacs-lisp/advice.el (ad-has-proper-definition):
7329 * apropos.el (apropos-safe-documentation, apropos-macrop):
7330 * emacs-lisp/debug.el (debug-on-entry):
7331 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7332 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7333 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7334
b1364986
AA
73352012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7336
7337 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7338 function, not an obsolete variable (Bug#12046).
7339
67ada220
AS
73402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7341
7342 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7343
f08088e3
CS
73442012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7345
7346 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7347 window only if it is still live (Bug#12034).
7348
8137e7b3
MR
73492012-07-25 Martin Rudalics <rudalics@gmx.at>
7350
7351 * subr.el (redirect-frame-focus): Add advertised calling
7352 convention (Bug#12030).
7353
09ae5da1
PE
73542012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7355
7356 Prefer typical American spelling for "acknowledgment".
7357 * vc/add-log.el (change-log-acknowledgment): Rename from
7358 change-log-acknowledgement, with an alias for the old name.
7359
3cc5a3a8
JB
73602012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7361
7362 * calc-alg.el (math-simplify-divide): Don't cross multiply
7363 in an equation when the lhs is a variable.
7364
b7af7f62
JD
73652012-07-24 Julien Danjou <julien@danjou.info>
7366
7367 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7368 Remove, unused.
7369
ec1b09b1
EZ
73702012-07-23 Eli Zaretskii <eliz@gnu.org>
7371
7372 * startup.el (command-line): Don't display an empty user name in
7373 the error message about non-existent home directory, when
7374 init-file-user was set to an empty string. See
7375 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7376 for the details and context.
7377
b525fd8a
VB
73782012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7379
7380 * ses.el (ses-cell-formula-aset): New macro.
7381 (ses-cell-references-aset): New macro.
7382 (ses-cell-p): New function.
7383 (ses-rename-cell): Do no longer rely on complex operations like
7384 ses-cell-set-formula or ses-set-cell to change the cell and handle
7385 the undo at the same time, but rather use lower level new macros
7386 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7387 the undo directly. Refresh the mode line.
b525fd8a 7388
2c73e345
LL
73892012-07-21 Leo Liu <sdl.web@gmail.com>
7390
670d85ea
SM
7391 * progmodes/cc-cmds.el (c-defun-name):
7392 Use match-string-no-properties instead for consistency.
2c73e345 7393
542dfbde
LL
73942012-07-20 Leo Liu <sdl.web@gmail.com>
7395
3646bcd6
LL
7396 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7397 (Bug#7879)
7398
542dfbde
LL
7399 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7400
25721031
CY
74012012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7404 * progmodes/bug-reference.el, misearch.el: Provide themselves
7405 (bug#11915).
7406
7407 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7408 of narrowed buffer (bug#11966).
7409
316e68a7
VB
74102012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7411
7412 * ses.el (ses-rename-cell): Set new name also in reference list of
7413 cells of which the renamed cell depends.
7414
bbf0e7d9
MY
74152012-07-20 Masatake YAMATO <yamato@redhat.com>
7416
7417 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7418 to check whether menu-bar is shown or not. If not shown,
7419 show the menu-bar as a popup menu instead of using tmm.
7420 * mouse.el (popup-menu): Accept `point' as `position' argument.
7421
c28662a8
DG
74222012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7423
7424 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7425 up inside string symbol literal (bug#11923).
7426
87ab808f
EZ
74272012-07-20 Eli Zaretskii <eliz@gnu.org>
7428
7429 * startup.el (fancy-startup-text): Read the whole tutorial, not
7430 just its first 256 bytes. Prevents gibberish in display of the
7431 tutorial title.
7432
89dea803
DA
74332012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7434
7435 Drop idle buffer compaction due to an absence of the
7436 proved efficiency.
7437 * compact.el: Remove.
7438
8a4e6db8
SS
74392012-07-19 Sam Steingold <sds@gnu.org>
7440
7441 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7442 vc-bzr-pull & vc-bzr-merge-branch.
7443 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7444 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7445 for consistency with compilation-error-regexp-alist.
7446 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7447 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7448 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7449 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7450
5db81e33
SM
74512012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * emacs-lisp/chart.el: Use lexical-binding.
7454 (chart-emacs-storage): Don't hardcode the list of entries.
7455
5b835e1d
DA
74562012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7457
7458 Next round of tweaks caused by Fgarbage_collect changes.
7459 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7460
9cd47b72
DA
74612012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7462
7463 Compact buffers when idle.
7464 * compact.el: New file.
7465
1d6fc0df
SM
74662012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * subr.el (eventp): Presume that if it looks vaguely like an event,
7469 it's an event (bug#10190).
7470
1d29cc7d
FEG
74712012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7472
7473 Enhancements to ppss related code (thanks Stefan).
7474 * progmodes/python.el (python-indent-context)
7475 (python-indent-calculate-indentation, python-indent-dedent-line)
7476 (python-indent-electric-colon, python-nav-forward-block)
7477 (python-mode-abbrev-table)
1d6fc0df 7478 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7479 for ppss context.
7480 (python-info-continuation-line-p): Cleanup.
7481 (python-info-ppss-context): Do not catch 'quote.
7482 (python-info-ppss-context-type)
7483 (python-info-ppss-comment-or-string-p): Simplify.
7484
d583cbe6
FEG
74852012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7486
7487 * progmodes/python.el: Enhancements to eldoc support.
7488 (python-info-current-symbol): New function.
7489 (python-eldoc-at-point): Use python-info-current-symbol.
7490 (python-info-current-defun): Fix cornercase on first defun scan.
7491 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7492 and signal error when no inferior python process is available.
7493
eceb6feb
DG
74942012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7495
7496 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7497 assume it's always t.
7498 (vc-git-registered): Remove caching, the function is only called
7499 once.
7500 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7501
4c8ff0fe
CY
75022012-07-18 Chong Yidong <cyd@gnu.org>
7503
19fb7186
CY
7504 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7505
9587c688
CY
7506 * simple.el (count-words): Report on narrowing (Bug#9959).
7507
0fe776a1
CY
7508 * bindings.el: Bind M-= to count-words.
7509
4c8ff0fe
CY
7510 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7511
7f5331cc
MY
75122012-07-18 Masatake YAMATO <yamato@redhat.com>
7513
7514 * progmodes/sh-script.el (sh-imenu-generic-expression):
7515 Capture a function with `function' keyword and without parentheses
7516 like "function FOO" (bug#11856).
7517
2dc2a609
TH
75182012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7519
7520 * window.el (split-window-sensibly): Make WINDOW argument
7521 optional.
7522
439f7677
CY
75232012-07-18 Chong Yidong <cyd@gnu.org>
7524
9aeb25a6
CY
7525 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7526
439f7677
CY
7527 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7528 and make C-x 8 RET exit isearch (Bug#11439).
7529
7530 * international/iso-transl.el: Move isearch-mode-map key
7531 definitions to isearch.el.
7532
12999ea8
SM
75332012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7536 (eieio-defclass): Use gv-define-setter when possible.
7537
3ab6e069
DA
75382012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7539
7540 Reflect recent changes in Fgarbage_collect.
7541 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7542 reflect new format of data returned by Fgarbage_collect.
7543
0a60bc10
FEG
75442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7545
7546 New utility functions + python-info-ppss-context fix (Bug#11910).
7547 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7548 (python-info-ppss-comment-or-string-p): New functions.
7549 (python-info-ppss-context): Small fix for string check.
7550
6dafa0d5
JL
75512012-07-17 Juri Linkov <juri@jurta.org>
7552
7553 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7554 (dired-do-async-shell-command): Don't add `*' at the end of the
7555 command (Bug#11815).
7556 (dired-do-shell-command): Doc fix.
7557 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7558 Join the individual commands using either "&" or ";" as the
7559 separator depending on the values of these trailing characters.
7560 At the end re-add the trailing "&". (Bug#10598)
7561
7562 * simple.el (async-shell-command): Sync the interactive spec with
7563 `shell-command'. Doc fix.
7564 (shell-command): Doc fix.
7565
b19dd9d1
JL
75662012-07-17 Juri Linkov <juri@jurta.org>
7567
7568 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7569
bcdc27d7 75702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7571
bcdc27d7 7572 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7573 * progmodes/python.el (python-nav-beginning-of-statement):
7574 Rename from python-nav-statement-start.
bcdc27d7
FEG
7575 (python-nav-end-of-statement): Rename from
7576 python-nav-statement-end.
7577 (python-nav-beginning-of-block): Rename from
7578 python-nav-block-start.
7579 (python-nav-end-of-block): Rename from python-nav-block-end.
7580
191da00e
FEG
75812012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7582
7f5331cc
MY
7583 * progmodes/python.el (python-shell-send-string-no-output):
7584 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7585 future interactions (Bug#11868).
7586
4dc7c8d5 75872012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7588
88ecaf8f
SM
7589 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7590
ef501ef0
SM
7591 * emacs-lisp/elint.el (elint-find-args-in-code):
7592 Use help-function-arglist, so as to handle lexical byte-code.
7593
aa7aaf8f
SM
7594 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7595 change (bug#11826).
7596
45fd731c
SM
75972012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7598
2143fa32
SM
7599 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7600 Avoid spuriously marking the buffer as modified because of c-is-sws.
7601
efc26dbe
SM
7602 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7603 as not-a-comment (bug#11946).
7604
f5695c9a
SM
7605 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7606 for uninterned vars.
7607
7608 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7609 Use read-event since we don't really want to read chars but bytes.
7610
45fd731c
SM
7611 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7612 $$..$$ but also $..$ using regexps (bug#11953).
7613 Use tex-verbatim for \url and \path.
7614 (tex-font-lock-keywords): Define as defconst like the others.
7615 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7616
ddfc8813
RK
76172012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7618
7619 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7620 alias for insert-char.
7621
758e556a
FEG
76222012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7623
7624 * progmodes/python.el: Simplified imenu implementation.
7625 (python-nav-jump-to-defun): Remove command.
7626 (python-mode-map): Use `imenu' instead.
7627 (python-nav-list-defun-positions-cache)
7628 (python-imenu-include-defun-type, python-imenu-make-tree)
7629 (python-imenu-subtree-root-label, python-imenu-index-alist):
7630 Remove vars.
7631 (python-nav-list-defun-positions, python-nav-read-defun)
7632 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7633 (python-imenu-make-tree, python-imenu-create-index):
7634 Remove functions.
758e556a
FEG
7635 (python-mode): Update to interact with imenu by setting
7636 `imenu-extract-index-name-function' only.
7637
032d23ab
FEG
76382012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7639
7640 * progmodes/python.el: Enhancements to navigation commands.
7641 (python-nav-backward-sentence)
7642 (python-nav-forward-sentence): Remove.
7643 (python-nav-backward-statement, python-nav-forward-statement)
7644 (python-nav-statement-start, python-nav-statement-end)
7645 (python-nav-backward-block, python-nav-forward-block)
7646 (python-nav-block-start, python-nav-block-end)
7647 (python-nav-forward-sexp-function)
7648 (python-info-current-line-comment-p)
7649 (python-info-current-line-empty-p): New functions.
7650 (python-indent-context): Use `python-nav-statement-start'.
7651
01795a1b
MA
76522012-07-16 Michael Albinus <michael.albinus@gmx.de>
7653
9328d9aa
MA
7654 * eshell/em-ls.el (eshell/ls): Use `apply'.
7655
7656 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7657 multi-hops, instead of Tramp internals.
7658
01795a1b
MA
7659 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7660
7661 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7662 when F1 and F2 are located on different hosts.
7663
63408057
CY
76642012-07-14 Chong Yidong <cyd@gnu.org>
7665
7666 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7667 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7668 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7669 (xterm-mouse--read-event-sequence-1000)
7670 (xterm-mouse--read-event-sequence-1006): New functions. For old
7671 mouse protocol, handle M-mouse-X events correctly.
7672 (xterm-mouse-event): New arg specifying mouse protocol.
7673 (turn-on-xterm-mouse-tracking-on-terminal)
7674 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7675 sequence to toggle extended coordinates on newer XTerms.
7676 This appears to be harmless on terminals which do not support this.
63408057 7677
cd276f6e
LL
76782012-07-14 Leo Liu <sdl.web@gmail.com>
7679
28ca98ac
LL
7680 Add fringe bitmap indicators for flymake. (Bug#11253)
7681 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7682 (flymake-make-overlay): New arg BITMAP.
7683 (flymake-error-bitmap, flymake-warning-bitmap)
7684 (flymake-fringe-indicator-position): New user variables.
7685
cd276f6e
LL
7686 * fringe.el: New bitmap exclamation-mark.
7687
04408072
JD
76882012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7689
7690 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7691 also (Bug#7879).
7692
b5cf7fc4
CY
76932012-07-14 Chong Yidong <cyd@gnu.org>
7694
7695 * electric.el (electric-pair-post-self-insert-function): Fix pair
7696 insertion in empty-region case (Bug#11520).
7697
be755c79
RT
76982012-07-14 Chong Yidong <cyd@gnu.org>
7699
45fd731c
SM
7700 * bindings.el: Consolidate ctl-x-r-map bindings.
7701 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7702
7703 * rect.el, register.el: Move bindings to bindings.el.
7704
77052012-07-14 Reuben Thomas <rrt@sc3d.org>
7706
7707 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7708
7f5b3198
AS
77092012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7710
7711 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7712
97662200
JB
77132012-07-13 Juanma Barranquero <lekktu@gmail.com>
7714
80185fed
JB
7715 * bindings.el (top): Use `mapc' instead of `mapcar'.
7716
97662200
JB
7717 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7718
2bb1ae55
MA
77192012-07-13 Michael Albinus <michael.albinus@gmx.de>
7720
7721 * progmodes/sql.el (sql-comint): Suppress the check for program on
7722 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7723 (Bug#11908)
7724
dea31bd3
CY
77252012-07-13 Chong Yidong <cyd@gnu.org>
7726
7727 * bindings.el: Assign a non-nil permanent-local property to
7728 per-buffer variables which lack a default value (Bug#11930).
7729
7730 * help-fns.el (describe-variable): In the "automatically becomes
7731 local" notice, take note of permanent-local variables.
7732
b68b3337
CY
77332012-07-13 Chong Yidong <cyd@gnu.org>
7734
7735 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7736 to allow printing the message when called from Lisp.
7737
7738 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7739 Remove toggle-read-only.
7740
7741 * bs.el (bs-toggle-readonly):
45fd731c
SM
7742 * buff-menu.el (Buffer-menu-toggle-read-only):
7743 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7744
7745 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7746 Remove with-no-warnings around toggle-read-only.
7747 (ffap-read-only, ffap-read-only-other-window)
7748 (ffap-read-only-other-frame): Callers changed.
7749
7750 * help-mode.el: Don't require view package.
7751 (help-mode-finish): Set buffer-read-only instead of calling
7752 toggle-read-only.
7753
7754 * bindings.el (mode-line-toggle-read-only):
7755 * dired.el (dired-toggle-read-only):
7756 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7757 with non-nil second arg.
7758
7759 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7760 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7761 directly.
7762
56bc1586
EZ
77632012-07-12 Eli Zaretskii <eliz@gnu.org>
7764
7765 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7766 not incf.
7767
a464a6c7
SM
77682012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 More CL cleanups and reduction of use of cl.el.
7771 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7772 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7773 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7774 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7775 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7776 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7777 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7778 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7779 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7780 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7781 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7782 * eshell/em-cmpl.el, eshell/em-banner.el:
7783 * calendar/parse-time.el: Use cl-lib.
7784 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7785 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7786 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7787 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7788 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7789 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7790 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7791 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7792 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7793 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7794 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7795 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7796 `lambda' rather than with `quote'.
7797 (eshell-do-opt): Adjust accordingly.
7798 (eshell-process-option): Simplify.
7799 * eshell/esh-var.el:
7800 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7801 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7802 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7803 to `pcase--dontcare'.
7804 * emacs-lisp/cl.el (labels): Mark obsolete.
7805 (cl--letf, letf): Move to cl-lib.
7806 (cl--letf*, letf*): Remove.
7807 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7808 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7809 (cl-progv): Rewrite.
7810 (cl--letf, cl-letf): Move from cl.el.
7811 (cl-letf*): New macro.
7812 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7813
7ad4afe1
MA
78142012-07-11 Michael Albinus <michael.albinus@gmx.de>
7815
7816 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7817
9af57756
CY
78182012-07-11 Chong Yidong <cyd@gnu.org>
7819
7820 * vc/log-edit.el (log-edit-vc-backend): New variable.
7821 (log-edit): Doc fix.
7822
7823 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7824 argument of log-edit to set up all local variables.
7825 (vc-start-logentry): New optional arg specifying VC backend.
7826
7827 * vc/vc.el (vc-checkin): Use it.
7828 (vc-deduce-fileset): Handle Log Edit buffers.
7829 (vc-diff): Make first argument optional too.
7830
7831 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7832
8477cc7a
MA
78332012-07-10 Michael Albinus <michael.albinus@gmx.de>
7834
7835 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7836 command, just in case. The function is not needed anymore.
7837 (eshell-external-command): Do not call `eshell-remote-command'.
7838
19faa8e8
SM
78392012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7840
f58e0fd5
SM
7841 Reduce use of (require 'cl).
7842 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7843 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7844 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7845 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7846 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7847 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7848 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7849 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7850 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7851 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7852 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7853 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7854 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7855 (byte-compile-unfold-bcf, byte-compile-check-variable):
7856 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7857 (byte-compile-nilconstp):
7858 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7859 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7860
2519d43a
SM
7861 * emacs-lisp/gv.el (cond): Make it a valid place.
7862 (if): Simplify slightly.
7863
19faa8e8
SM
7864 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7865 (pcase--self-quoting-p): New function.
7866 (pcase--u1): Use it.
7867
c4907a5e
GM
78682012-07-10 Glenn Morris <rgm@gnu.org>
7869
7870 * emacs-lisp/authors.el (authors-fixed-entries):
7871 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7872
c4444d16
PE
78732012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7874
7875 Rename configure.in to configure.ac (Bug#11603).
7876 * emacs-lisp/authors.el (authors-canonical-file-name):
7877 * progmodes/autoconf.el (autoconf-mode):
7878 Prefer configure.ac to configure.in.
7879
d75be97d
CY
78802012-07-08 Chong Yidong <cyd@gnu.org>
7881
01ac65bd
CY
7882 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7883 Implement the mouse-1-click-follows-link handling properly.
7884
7885 * info.el (Info-link-keymap): Use follow-link mechanism for
7886 header-line links (Bug#374).
7887
d75be97d
CY
7888 * simple.el (deactivate-mark): Do not set the primary selection
7889 if another program has acquired it (Bug#11772).
7890
87a92845 78912012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7892
7893 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7894 (woman-decode-region): Replace escaped-escapes without destroying
7895 bold or underline (Bug#11552).
87a92845 7896 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7897
621b9d6c
CY
78982012-07-07 Chong Yidong <cyd@gnu.org>
7899
7900 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7901 (interprogram-cut-function, interprogram-paste-function):
7902 Mention that we typically mean the clipboard.
621b9d6c 7903
133a11fc
GM
79042012-07-06 Glenn Morris <rgm@gnu.org>
7905
0d27a45e
GM
7906 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7907
133a11fc
GM
7908 * files.el (toggle-read-only): Restrict message to interactive use.
7909
07b151f1
MA
79102012-07-06 Michael Albinus <michael.albinus@gmx.de>
7911
7912 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7913
7914 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7915
211b896b
GM
79162012-07-06 Glenn Morris <rgm@gnu.org>
7917
50394322
GM
7918 * Makefile.in (compile-one-process): Rename from "recompile".
7919
211b896b
GM
7920 * Makefile.in (bzr-update): "compile" is the same as "recompile
7921 autoloads", but parallelizable, so use that instead.
7922
4737eec9
DG
79232012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7924
7925 * window.el (quit-window): Always restore window height when
8137e7b3 7926 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7927
226c3633 79282012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7929
7930 * simple.el (kill-whole-line): Doc tweak.
7931
226c3633 79322012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7933
7934 * files.el (file-relative-name): Compare file names
7935 case-insensitively if on MS-Windows or MS-DOS, or if
7936 read-file-name-completion-ignore-case is non-nil. Don't use
7937 case-fold-search for this purpose. (Bug#11827)
7938
4dc7c8d5
SM
79392012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7940
7941 * calendar/cal-dst.el (calendar-current-time-zone):
7942 Return calendar-current-time-zone-cache if non-nil.
7943
79442012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 79452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7946
19faa8e8
SM
7947 * calendar/cal-dst.el (calendar-current-time-zone):
7948 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7949
60198fc9
GM
79502012-07-06 Glenn Morris <rgm@gnu.org>
7951
7952 * Makefile.in (cvs-update): Remove old alias.
7953
957b3189
MA
79542012-07-05 Michael Albinus <michael.albinus@gmx.de>
7955
7956 Sync with Tramp 2.2.6-pre.
7957
7958 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7959 compatible declaration.
7960
19faa8e8
SM
7961 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7962 Protect `list-load-path-shadows' call.
957b3189
MA
7963
7964 * net/tramp-compat.el (top): Require packages, which aren't
7965 autoloaded anymore for XEmacs. Protect call of
7966 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7967 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7968 it hurts at least for SXEmacs.
7969 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7970 standard-value for `temporary-file-directory'.
7971
7972 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7973 Redirect stderr to /dev/null.
7974 (tramp-sh-handle-write-region): uid and gid can be floats.
7975 Reported by Russell Sim <russell.sim@gmail.com>.
7976 (tramp-sh-handle-vc-registered): Hide errors.
7977 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7978 and `start-file-process'.
7979 (tramp-maybe-open-connection): Check also whether `non-essential'
7980 is bound.
7981
566df3fc
CY
79822012-07-04 Chong Yidong <cyd@gnu.org>
7983
7984 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7985 (xml-parse-tag): Likewise, and avoid changing entity tables.
7986 (xml-syntax-table): Define from scratch, making sure not to give
7987 x2000 and other Unicode spaces whitespace syntax, since those are
7988 not spaces in XML.
7989 (xml-parse-fragment): Delete unused function.
7990 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7991 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7992 (xml-entity-ref, xml-pe-reference-re)
7993 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7994 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7995 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7996 (xml-entity-value-re): Use syntax references in regexps where
7997 possible; no need to define inside a let-binding.
7998 (xml-parse-dtd): Use xml-pe-reference-re.
7999 (xml-entity-or-char-ref-re): New defconst.
8000 (xml-parse-string, xml-substitute-special): Use it.
8001
30eabd7a
SM
80022012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8003
0781098a
SM
8004 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8005 (find-file--read-only): New function.
8006 (find-file-read-only, find-file-read-only-other-window)
8007 (find-file-read-only-other-frame): Use it.
8008 (insert-file-contents-literally): Don't `fset'.
8009 (get-free-disk-space): Use locate-dominating-file.
8010
b5771c0d
SM
8011 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8012 function is already compiled.
8013
30eabd7a
SM
8014 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8015
b4886f6e
MA
80162012-07-03 Michael Albinus <michael.albinus@gmx.de>
8017
8018 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8019 files on the same host.
8020
b9d82339
AS
80212012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8022
8023 * help-fns.el (describe-function-1): Only call
8024 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8025
a76e6535
CY
80262012-07-03 Chong Yidong <cyd@gnu.org>
8027
8028 * xml.el: Protect parser against XML bombs.
8029 (xml-entity-expansion-limit): New variable.
8030 (xml-parse-string, xml-substitute-special): Use it.
8031 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8032
b544fef2
GM
80332012-07-03 Glenn Morris <rgm@gnu.org>
8034
8035 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8036 Allow linking to specific messages in debbugs reports (eg 123#5).
8037
a7aef6f5
CY
80382012-07-02 Chong Yidong <cyd@gnu.org>
8039
8040 * xml.el: Fix entity and character reference expansion, allowing
8041 them to expand into markup as per XML spec.
8042 (xml-default-ns): New variable.
8043 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
8044 (xml-parse-region): Make first two arguments optional.
8045 Discard text properties.
8046 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8047 All callers changed.
a7aef6f5
CY
8048 (xml-parse-tag): Call xml-parse-tag-1. For backward
8049 compatibility, this function should not modify buffer contents.
8050 (xml-parse-tag-1): Fix opening-tag regexp.
8051 (xml-parse-string): Rewrite, handling entity and character
8052 references properly.
8053 (xml--entity-replacement-text): Signal an error if a parameter
8054 entity is undefined.
8055
3df31c9f
SM
80562012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8057
2b5208f1
SM
8058 * comint.el (comint-output-filter): Filter out repeated prompts.
8059
3df31c9f
SM
8060 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8061 and file-name-absolute-p.
8062 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8063 internal calls.
8064
e3ac1281
PE
80652012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8066
8067 Spelling fixes.
8068 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8069 Rename from byte-compile--refiy-function. All uses changed.
8070
fbf2e7ad
CY
80712012-07-01 Chong Yidong <cyd@gnu.org>
8072
8073 * xml.el (xml--parse-buffer): New function. Move most of
8074 xml-parse-region here.
8075 (xml-parse-region): Copy region into a temporary buffer, since
8076 parameter entity substitution requires changing buffer contents.
8077 Use xml--parse-buffer.
8078 (xml-parse-file): Use xml--parse-buffer.
8079 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 8080 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 8081
9bf0aa15
GM
80822012-06-30 Glenn Morris <rgm@gnu.org>
8083
bbce2853
GM
8084 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8085
9bf0aa15
GM
8086 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8087 Remove outdated and unnecessary dbus declarations.
8088
0d23c240
EZ
80892012-06-30 Eli Zaretskii <eliz@gnu.org>
8090
8091 * emacs-lisp/timer.el (timer-until): Subtract results of
8092 float-time, instead of taking float-time of the result of
8093 time-subtract, since float-time signals an error for negative time
8094 arguments.
8095
b3218de1
CY
80962012-06-30 Chong Yidong <cyd@gnu.org>
8097
8098 * xml.el (xml-*-re): Convert defvars into defconsts, and
8099 eval-and-compile them so eval-and-compile works on derivatives.
8100 (xml--entity-replacement-text): Use eval-and-comple.
8101
a40c87a0
MA
81022012-06-30 Michael Albinus <michael.albinus@gmx.de>
8103
8104 * vc/vc-git.el (vc-git-registered): Use cache property
8105 `git-registered'.
8106 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8107 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 8108 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 8109
ac87de97
DG
81102012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8111
8112 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 8113 removed (likely outside Emacs). (Bug#11757)
ac87de97 8114
ac10fe06
SM
81152012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8116
3df31c9f 8117 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 8118
7f3fbd5d
CY
81192012-06-30 Chong Yidong <cyd@gnu.org>
8120
8121 * xml.el: Implement XML parameter entities.
8122 (xml-parameter-entity-alist): New variable.
8123 (xml-parse-region, xml-parse-fragment): Preserve previous values
8124 of xml-entity-alist and xml-parameter-entity-alist, so that
8125 repeated calls on different documents do not change them.
8126 (xml-parse-tag): Fix doctype regexp.
8127 (xml--entity-replacement-text): New function.
8128 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8129 properly requires url retrieval which is unimplemented.
8130 (xml-escape-string): Doc fix.
8131
3cfbebba
SM
81322012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8135
2af3565e
DA
81362012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8137
8138 * fringe.el (fringe-mode): Doc fix.
8139
929df0e7
MA
81402012-06-29 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8143 is non-nil.
8144 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8145 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8146
c8d3a25c 81472012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8148
c8d3a25c
GM
8149 * calendar/cal-dst.el (calendar-current-time-zone):
8150 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8151
c8d3a25c 81522012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
8153
8154 * progmodes/which-func.el (which-func-format):
8155 Add mouse-face. (Bug#11698)
8156
c8d3a25c
GM
81572012-06-29 Leo Liu <sdl.web@gmail.com>
8158
8159 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8160
81612012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * minibuffer.el (minibuffer-confirm-exit-commands):
8164 Add completion-at-point (bug#11725).
8165
81662012-06-29 Glenn Morris <rgm@gnu.org>
8167
8168 * progmodes/f90.el (f90-font-lock-keywords-2):
8169 Add some preprocessor elements. (Bug#10499)
8170
81712012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8174 Use syntax-propertize (bug#11739).
8175
2badeec4
JB
81762012-06-28 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8179
ae4969c2
JD
81802012-06-28 Julien Danjou <julien@danjou.info>
8181
8182 * term.el (term-handle-colors-array): Use a set of new faces to
8183 color the terminal. Also uses :inverse-video property.
8184 (term-default-fg-color): Set to nil by default, deprecate in favor
8185 of `term-face'.
8186 (term-default-bg-color): Set to nil by default, deprecate in favor
8187 of `term-face'.
8188 (term-current-face): Use `term-face' by default.
8189 (term-bold-attribute): Variable deleted.
8190
1c9bd870
GM
81912012-06-28 Glenn Morris <rgm@gnu.org>
8192
8193 * simple.el (completion-list-mode-finish):
8194 Don't use toggle-read-only. (Since completion-list-mode has
8195 a special mode-class, it wasn't doing anything extra anyway.)
8196
c207708c
SM
81972012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 Make inlining of other-mode interpreted functions work (bug#11799).
8200 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8201 (byte-compile): Use it to fix compilation of lexical-binding closures.
8202 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8203 function, if needed.
8204
3fd56834
SM
82052012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8206
04901786
SM
8207 * help-mode.el (help-make-xrefs): Don't just withstand
8208 cyclic-variable-indirection but any error in documentation-property.
8209
1ec4b7b2
SM
8210 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8211 memory use.
8212 * bindings.el (bindings--define-key): New function.
8213 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8214 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8215 * bindings.el: Use it to purecopy define-key bindings.
8216
e309e2a5
SM
8217 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8218
d5c6faf9
SM
8219 * emacs-lisp/cl.el (flet): Mark obsolete.
8220 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8221 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8222 * progmodes/js.el (js-c-fill-paragraph):
8223 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8224 (ebrowse-switch-member-buffer-to-derived-class):
8225 * play/5x5.el (5x5-solver): Use cl-flet.
8226
6e9590e2
SM
8227 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8228 (cl--symbol-function): New macro.
8229 (cl--letf, cl--letf*): Use it.
8230
3fd56834
SM
8231 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8232 Strip "toggle-" if any.
8233
35ff222c
GM
82342012-06-27 Glenn Morris <rgm@gnu.org>
8235
1ba6038a
GM
8236 * info.el (Info-default-directory-list): Move here from paths.el.
8237 * paths.el: Remove file, which is now empty.
8238 * loadup.el: No longer load "paths".
8239
0ea0e51b
GM
8240 * custom.el (custom-initialize-delay): Doc fix.
8241
35ff222c
GM
8242 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8243 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8244 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8245 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8246 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8247 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8248 * eshell/eshell.el (eshell-defgroup): Remove alias.
8249
c89926a5
CY
82502012-06-27 Chong Yidong <cyd@gnu.org>
8251
8252 * help.el (help-enable-auto-load): New variable.
8253
8254 * help-fns.el (help-fns--autoloaded-p): New function.
8255 (describe-function-1): Refer to a function as "autoloaded" if it
8256 was autoloaded at any time in the past. Perform autoloading if
8257 help-enable-auto-load is non-nil.
8258
cc06e7e7
EZ
82592012-06-26 Eli Zaretskii <eliz@gnu.org>
8260
8261 * makefile.w32-in (compile, compile-always): Depend on
8262 update-subdirs, not on subdirs.el. Otherwise, several different
8263 sub-targets of 'bootstrap' running in parallel could
8264 simultaneously write to subdirs.el, producing a garbled file.
8265
d2c32364
SS
82662012-06-26 Sam Steingold <sds@gnu.org>
8267
8268 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8269 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8270 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8271 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8272 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8273 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8274 * textmodes/tex-mode.el: Use it.
8275 Did not touch cedet and org because they are maintained elsewhere.
8276
5cf983b2
MR
82772012-06-26 Martin Rudalics <rudalics@gmx.at>
8278
8279 * calendar/calendar.el (calendar-exit): Don't try to delete or
8280 iconify last frame. See:
8281 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8282
8c4f2952
JD
82832012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8284
8285 * server.el (server-process-filter): Remember dir in the
8286 process's `server-client-directory' properties.
8287
772b2e2c
CY
82882012-06-24 Chong Yidong <cyd@gnu.org>
8289
8290 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8291 non-tag text.
8292
711b11e1
JB
82932012-06-23 Juanma Barranquero <lekktu@gmail.com>
8294
8295 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8296
dc5d230c
SM
82972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * help-fns.el (describe-variable): Don't croak when doc is not found.
8300 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8301 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8302 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8303 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8304 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8305 ((lambda ..) ..).
8306 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8307
136e1c1d
CY
83082012-06-23 Chong Yidong <cyd@gnu.org>
8309
e8c1cabf
CY
8310 * info.el (Info-mouse-follow-link): Accept symbol values of
8311 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8312 (Info-fontify-node): Use Info-link-keymap for all navigation
8313 buttons, with link-args property to perform the desired action.
8314 (Info-link-keymap): Doc fix.
8315 (Info-next-link-keymap, Info-prev-link-keymap)
8316 (Info-up-link-keymap): Delete now-unused keymaps.
8317
0e9e6c6a
CY
83182012-06-23 Chong Yidong <cyd@gnu.org>
8319
05e89fea
CY
8320 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8321
0e9e6c6a
CY
8322 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8323 system abbrevs.
8324
8325 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8326
e33c6771
SM
83272012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8328
b68581e2
SM
8329 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8330 (bug#11719).
8331
e33c6771
SM
8332 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8333 the requote function doesn't work properly (bug#11714).
8334
7117e105
GM
83352012-06-23 Glenn Morris <rgm@gnu.org>
8336
8337 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8338
36cec983
SM
83392012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 Further GV/CL cleanups.
8342 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8343 gv-expander.
8344 (gv--defun-declaration): New function.
8345 (defun-declarations-alist): Use it.
8346 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8347 (gv-place): Autoload.
8348 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8349 original definition of dotimes and dolist.
8350 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8351 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8352 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8353 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8354 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8355 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8356 to the function's definition.
8357 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8358 * window.el:
8359 * files.el:
8360 * faces.el:
8361 * env.el: Don't use CL.
8362
d35af63c
PE
83632012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8364
8365 Support higher-resolution time stamps (Bug#9000).
8366
8367 * calendar/time-date.el (with-decoded-time-value): New arg
8368 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8369 (encode-time-value): New optional arg PICO. New type 3.
8370 (time-to-seconds) [!float-time]: Support the new picoseconds
8371 component if it's used.
8372 (seconds-to-time, time-subtract, time-add):
8373 Support ps-resolution time stamps as well.
8374
8375 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8376 (timerp): Timer vectors now have length 9, not 8.
8377 (timer--time): Support new-style (4-part) time stamps.
8378 (timer-next-integral-multiple-of-time): Time stamps now have
8379 picosecond resolution, so take a bit more care about rounding.
8380 (timer-relative-time, timer-inc-time): New optional arg psecs.
8381 (timer-set-time-with-usecs): Set psecs to 0.
8382 (timer--activate): Check psecs component, too.
8383
8384 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8385
ac77b21a
SM
83862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8387
f143bfe3
SM
8388 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8389 Move the non-essential binding to the post/pre-command-hook where it is
8390 more obviously correct.
8391
ac77b21a
SM
8392 * subr.el (read-passwd): Don't use a history at all.
8393 * savehist.el (savehist-save): Remove password saved accidentally
8394 because of the above bug.
8395
76386c5a
BG
83962012-06-22 Bastien Guerry <bzg@gnu.org>
8397
8398 * files.el (toggle-read-only): Display a message telling whether
8399 the buffer is read-only or not (bug#11726).
8400
2ee3d7f0
SM
84012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * emacs-lisp/gv.el: New file.
8404 * subr.el (push, pop): Extend to generalized variables.
8405 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8406 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8407 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8408 gv-define-simple-setter, and gv-define-expander.
8409 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8410 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8411 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8412 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8413 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8414 gv-letplace.
8415 (cl-defstruct): Don't define setf-method any more.
8416 * emacs-lisp/cl.el (flet): Don't autoload.
8417 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8418 (define-setf-expander, defsetf, define-modify-macro)
8419 (cl-struct-setf-expander): Move from cl-lib.el.
8420 * emacs-lisp/syntax.el:
8421 * emacs-lisp/ewoc.el:
8422 * emacs-lisp/smie.el:
8423 * emacs-lisp/cconv.el:
8424 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8425 (timer--time): Use gv-define-simple-setter.
8426 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8427 to avoid coding-system problems in subr.el. Adjust all users.
8428 (macroexp--maxsize, macroexp-small-p): New functions.
8429 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8430 * scroll-bar.el (scroll-bar-mode):
8431 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8432 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8433 * winner.el (winner-configuration, winner-make-point-alist)
8434 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8435 * files.el (locate-file-completion-table): Avoid list*.
8436
c5695d1d
CY
84372012-06-22 Chong Yidong <cyd@gnu.org>
8438
8439 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8440 (dired-create-files): Doc fix (Bug#11329).
8441 (dired-do-copy): Doc fix (Bug#11334).
8442 (dired-mark-read-string): Doc fix (Bug#11553).
8443
2ee3d7f0
SM
8444 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8445 Doc fix (Bug#11326).
c5695d1d
CY
8446 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8447 (dired-dwim-target): Doc fix.
8448
8449 * wdired.el (wdired-mode): Doc fix.
8450
89b5595a
GM
84512012-06-22 Glenn Morris <rgm@gnu.org>
8452
575db3f1
GM
8453 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8454 (pcmpl-rpm-cache-stamp-file): New constant.
8455 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8456 (pcmpl-rpm-packages): Optionally cache list of packages.
8457
a4c8dd51
GM
8458 * pcmpl-rpm.el (pcmpl-rpm): New group.
8459 (pcmpl-rpm-query-options): New option.
8460 (pcmpl-rpm-packages): No need to inline it.
8461 Use pcmpl-rpm-query-options.
8462
89b5595a
GM
8463 * calendar/calendar.el (calendar-in-read-only-buffer):
8464 Avoid some needless mode changes.
8465
e76f0800
CY
84662012-06-21 Chong Yidong <cyd@gnu.org>
8467
8468 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8469 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8470 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8471
297a8f1d
CY
84722012-06-20 Chong Yidong <cyd@gnu.org>
8473
8474 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8475
d34c18b1
DR
84762012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8477
8478 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8479 (bug#11201).
8480
32f7f28e
CY
84812012-06-20 Chong Yidong <cyd@gnu.org>
8482
8483 * term.el (term-window-width): Handle the case of a missing right
8484 fringe (Bug#8837).
8485 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8486 (term-mode): Use define-derived-mode. Minor cleanups.
8487 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8488 (term-move-columns, term-insert-char, term-emulate-terminal)
8489 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8490
493c6688
MA
84912012-06-20 Michael Albinus <michael.albinus@gmx.de>
8492
d34c18b1
DR
8493 * net/ange-ftp.el (ange-ftp-get-passwd):
8494 Bind `enable-recursive-minibuffers'.
493c6688
MA
8495 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8496
3f06ecf4
DR
84972012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8498
8499 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8500
68f12411
GM
85012012-06-19 Glenn Morris <rgm@gnu.org>
8502
8503 * progmodes/python.el (python-mode): Derive from prog-mode.
8504
b3820318
KG
85052012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8506
8507 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8508 (edt-user-menu-bar-update-buffers): New functions.
8509 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8510
c6bf3022
CY
85112012-06-19 Chong Yidong <cyd@gnu.org>
8512
8513 * subr.el (with-selected-window): Preserve the selected window's
8514 terminal's top-frame (Bug#4702).
8515
8516 * window.el (save-selected-window): Likewise.
8517
25f09295
SM
85182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * progmodes/python.el (python-rx-constituents): Move backquote.
8521 (python-skeleton-define, python-define-auxiliary-skeleton):
8522 Use `declare'.
8523
6b11952a
MA
85242012-06-18 Michael Albinus <michael.albinus@gmx.de>
8525
8526 * minibuffer.el (read-file-name-default): Revert the patch from
8527 2012-06-17.
8528
ee4b1330
SM
85292012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8532 (pcase--u1, pcase--q1): Don't use apply-partially.
8533
35647f79
GM
85342012-06-18 Glenn Morris <rgm@gnu.org>
8535
8536 * progmodes/python.el (python-proc, python-buffer)
8537 (python-send-receive, python-send-string): Fix obsolete versions.
8538
24b0cff0
MR
85392012-06-18 Martin Rudalics <rudalics@gmx.at>
8540
8541 * window.el (special-display-p): Completely remove stringp
8542 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8543
29855149
MA
85442012-06-17 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8547
8548 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8549
8550 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8551 * net/tramp-sh.el (tramp-maybe-open-connection):
8552 Throw if `non-essential' is non-nil.
8553
07463363
MR
85542012-06-17 Martin Rudalics <rudalics@gmx.at>
8555
8556 * window.el (special-display-p): Signal an error if BUFFER-NAME
8557 is not a string (Bug#11713).
8558
48d1354e
PE
85592012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8560
8561 * progmodes/python.el (python-info-beginning-of-backslash):
8562 Rename from python-info-beginning-of-backlash, as a spelling fix.
8563
eb4a8a9a
CY
85642012-06-17 Chong Yidong <cyd@gnu.org>
8565
8566 * term.el (term-emulate-terminal): If term-check-size is called,
8567 move point to the process mark without resetting point (Bug#4635).
8568
ddfbf826 85692012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8570
8571 * international/mule-cmds.el (mule-menu-keymap)
8572 (set-language-environment, set-locale-environment): Doc tweaks.
8573
9b0e3eba
AA
85742012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8575
8576 * cus-face.el (custom-face-attributes): Add wave-style underline
8577 attribute.
8578 * faces.el (set-face-attribute): Update docstring to describe
8579 wave-style underline attribute.
8580
771e3eae
CY
85812012-06-16 Chong Yidong <cyd@gnu.org>
8582
8583 * term/xterm.el (terminal-init-xterm): Discard input before
8584 querying background mode (Bug#10959).
8585
7ae2ea10
SM
85862012-06-16 Stefan Merten <smerten@oekonux.de>
8587
8588 * textmodes/rst.el: Added and corrected some comments.
8589 (rst-re-alist-def): Improve symbol syntax.
8590 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8591 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8592 (rst-official-version, rst-official-cvs-rev): Update version
8593 information.
7ae2ea10 8594
b6974efa
JB
85952012-06-15 Juanma Barranquero <lekktu@gmail.com>
8596
8597 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8598 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8599
8826d473
GM
86002012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8601
8602 * progmodes/python.el: New python.el merge.
8603 (python-guess-indent): Obsolete var.
8604 (python-indent-guess-indent-offset): New defcustom.
8605 (python-indent): Obsolete var.
8606 (python-indent-offset): New defcustom.
8607 (python-python-command, python-jython-command): Delete var.
8608 (python-shell-interpreter): New defcustom.
8609 (python-pdbtrack-do-tracking-p): Delete var.
8610 (python-pdbtrack-activate): New defcustom.
8611 (python-use-skeletons): Obsolete var.
8612 (python-skeleton-autoinsert): New defcustom.
8613 (inferior-python-filter-regexp, python-continuation-offset)
8614 (python-honour-comment-indentation, python-indent-string-contents)
8615 (python-jython-packages, python-mode-hook)
8616 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8617 (python-shell-prompt-alist)
8618 (python-source-modes): Delete defcustoms.
8619 (python-check-buffer-name, python-eldoc-setup-code)
8620 (python-eldoc-string-code, python-ffap-setup-code)
8621 (python-ffap-string-code, python-fill-comment-function)
8622 (python-fill-decorator-function, python-fill-paren-function)
8623 (python-fill-string-function, python-imenu-include-defun-type)
8624 (python-imenu-make-tree, python-imenu-subtree-root-label)
8625 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8626 (python-shell-compilation-regexp-alist)
8627 (python-shell-completion-module-string-code)
8628 (python-shell-completion-pdb-string-code)
8629 (python-shell-completion-setup-code)
8630 (python-shell-completion-string-code)
8631 (python-shell-enable-font-lock, python-shell-exec-path)
8632 (python-shell-extra-pythonpaths)
8633 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8634 (python-shell-process-environment)
8635 (python-shell-prompt-block-regexp)
8636 (python-shell-prompt-output-regexp)
8637 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8638 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8639 (python-shell-virtualenv-path): New defcustoms.
8640 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8641 (inferior-python-mode-syntax-table, python--prompt-regexp)
8642 (python-buffer, python-command python-python-command)
8643 (python-default-template, python-imports, python-indent-index)
8644 (python-indent-list, python-indent-list-length)
8645 (python-mode-running, python-pdbtrack-is-tracking-p)
8646 (python-preoutput-continuation, python-preoutput-leftover)
8647 (python-preoutput-result, python-preoutput-skip-next-prompt)
8648 (python-prev-dir/file, python-recursing)
8649 (python-saved-check-command, python-version-checked)
8650 (python-which-func-length-limit)
8651 (view-return-to-alist): Delete vars.
8652 (python-check-custom-command, python-dotty-syntax-table)
8653 (python-imenu-index-alist, python-indent-current-level)
8654 (python-indent-dedenters, python-indent-levels)
8655 (python-nav-beginning-of-defun-regexp)
8656 (python-nav-list-defun-positions-cache)
8657 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8658 (python-shell-internal-buffer)
8659 (python-skeleton-available): New vars.
8660 (def-python-skeleton): Delete macro.
8661 (python-skeleton-define): New macro.
8662 (python-define-auxiliary-skeleton, python-rx): New macros.
8663 (python-insert-class): Delete command.
8664 (python-skeleton-class): New command.
8665 (python-insert-def): Delete command.
8666 (python-skeleton-def): New command.
8667 (python-insert-for): Delete command.
8668 (python-skeleton-for): New command.
8669 (python-insert-if): Delete command.
8670 (python-skeleton-if): New command.
8671 (python-insert-try/except, python-insert-try/finally): Delete commands.
8672 (python-skeleton-try): New command.
8673 (python-insert-while): Delete command.
8674 (python-skeleton-while): New command.
8675 (python-backspace): Delete command.
8676 (python-indent-dedent-line-backspace): New command.
8677 (python-electric-colon): Delete command.
8678 (python-indent-electric-colon): New command.
8679 (python-guess-indent): Delete command.
8680 (python-indent-guess-indent-offset): New command.
8681 (python-shift-left): Delete command.
8682 (python-indent-shift-left): New command.
8683 (python-shift-right): Delete command.
8684 (python-indent-shift-right): New command.
8685 (python-find-function): Delete command.
8686 (python-nav-jump-to-defun): New command.
8687 (python-next-statement): Delete command.
8688 (python-nav-forward-sentence): New command.
8689 (python-previous-statement): Delete command.
8690 (python-nav-backward-sentence): New command.
8691 (python-fill-paragraph): Delete command.
8692 (python-fill-paragraph-function): New command.
8693 (python-send-buffer): Delete command.
8694 (python-shell-send-buffer): New command.
8695 (python-send-defun): Delete command.
8696 (python-shell-send-defun): New command.
8697 (python-send-region, python-send-region-and-go): Delete commands.
8698 (python-shell-send-region)
8699 (python-shell-switch-to-shell): New commands.
8700 (python-send-string): Delete command.
8701 (python-shell-send-string): New command.
8702 (python-switch-to-python): Delete command.
8703 (python-shell-switch-to-shell): New command.
8704 (python-describe-symbol): Delete command.
8705 (python-eldoc-at-point): New command.
8706 (python--set-prompt-regexp, python-args-to-list)
8707 (python-after-info-look, python-check-version)
8708 (python-check-comint-prompt, python-find-imports)
8709 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8710 (python-unload-function, python-expand-template)
8711 (python-maybe-jython, python-preoutput-filter)
8712 (python-pdbtrack-get-source-buffer)
8713 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8714 (python-pdbtrack-toggle-stack-tracking)
8715 (python-pdbtrack-track-stack-file, python-initial-text)
8716 (python-first-word, python-comment-line-p, python-send-command)
8717 (python-setup-brm, python-sentinel, python-set-proc)
8718 (python-skip-out, python-input-filter, python-outdent-p)
8719 (python-outline-level, python-backslash-continuation-line-p)
8720 (python-end-of-block, python-end-of-statement, python-mark-block)
8721 (python-beginning-of-block, python-beginning-of-statement)
8722 (python-blank-line-p, python-beginning-of-string)
8723 (python-open-block-statement-p): Delete functions.
8724 (python-indent-line, python-indent-line-1): Delete functions.
8725 (python-indent-line): New function.
8726 (python-indentation-levels): Delete function.
8727 (python-indent-calculate-levels): New function.
8728 (python-proc): Delete function.
8729 (python-shell-get-process): New function.
8730 (python-send-receive): Delete function.
8731 (python-shell-send-string-no-output): New function.
8732 (python-module-path): Delete function.
8733 (python-ffap-module-path): New function.
8734 (python-completion-at-point)
8735 (python-symbol-completions): Delete functions.
8736 (python-completion-complete-at-point): New function.
8737 (python-load-file): Delete function.
8738 (python-shell-send-file): New function.
8739 (python-calculate-indentation): Delete function.
8740 (python-indent-calculate-indentation): New function.
8741 (python-skip-comments/blanks): Delete function.
8742 (python-util-forward-comment): New function.
8743 (python-continuation-line-p): Delete function.
8744 (python-info-continuation-line-p): New function.
8745 (python-which-func, python-current-defun): Delete function.
8746 (python-info-current-defun): New function.
8747 (python-beginning-of-defun): Delete function.
8748 (python-nav-beginning-of-defun): New function.
8749 (python-close-block-statement-p)
8750 (python-block-end-p): Delete function.
8751 (python-info-closing-block): New function.
8752 (python-comint-output-filter-function)
8753 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8754 (python-fill-comment, python-fill-decorator, python-fill-paren)
8755 (python-fill-string, python-imenu-make-element-tree)
8756 (python-imenu-make-tree, python-imenu-tree-assoc)
8757 (python-indent-context, python-indent-dedent-line)
8758 (python-indent-line-function)
8759 (python-indent-post-self-insert-function)
8760 (python-indent-toggle-levels)
8761 (python-info-assignment-continuation-line-p)
8762 (python-info-beginning-of-backlash)
8763 (python-info-block-continuation-line-p)
8764 (python-info-closing-block-message)
8765 (python-info-line-ends-backslash-p)
8766 (python-info-looking-at-beginning-of-defun)
8767 (python-info-ppss-context, python-info-ppss-context-type)
8768 (python-nav-list-defun-positions, python-nav-read-defun)
8769 (python-nav-sentence-end, python-nav-sentence-start)
8770 (python-pdbtrack-comint-output-filter-function)
8771 (python-pdbtrack-set-tracked-buffer)
8772 (python-shell-calculate-exec-path)
8773 (python-shell-calculate-process-environment)
8774 (python-shell-completion--do-completion-at-point)
8775 (python-shell-completion--get-completions)
8776 (python-shell-completion-complete-at-point)
8777 (python-shell-completion-complete-or-indent)
8778 (python-shell-get-or-create-process)
8779 (python-shell-get-process-name)
8780 (python-shell-internal-get-or-create-process)
8781 (python-shell-internal-get-process-name)
8782 (python-shell-internal-send-string, python-shell-make-comint)
8783 (python-shell-parse-command, python-shell-send-setup-code)
8784 (python-skeleton-add-menu-items)
8785 (python-util-clone-local-variables, python-util-position)
8786 (run-python-internal, python-indentation-levels)
8787 (python-nav-beginning-of-defun)
8788 (python-completion-complete-at-point): New functions.
8789 (run-python): Change arguments. New API requirements.
8790
4302f5ba
SM
87912012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8792
f38ea36d
SM
8793 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8794 (bug#11649).
8795
8796 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8797 (macroexp--expand-all): Use it.
8798
4302f5ba
SM
8799 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8800 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8801 Use `cl-function' instead.
8802
33377562
JB
88032012-06-14 Juanma Barranquero <lekktu@gmail.com>
8804
8805 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8806 Suggested by Stefan Monnier while discussing bug#11657.
8807
54c5ba1a
SS
88082012-06-14 Sam Steingold <sds@gnu.org>
8809
8810 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8811
f9f1b1fe
AS
88122012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8813
8814 * play/doctor.el (doctor-doc): Remove parameter and use
8815 doctor-sent instead of sent.
8816 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8817
a81068ba
SM
88182012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8819
5a315f9c
SM
8820 * files.el: Require cl-lib.
8821 (file-name-non-special): Replace case -> cl-case.
8822
8823 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8824
a81068ba
SM
8825 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8826 mapping from #' to function*.
8827
8cca9703
CY
88282012-06-13 Chong Yidong <cyd@gnu.org>
8829
8830 * mouse.el (mouse-drag-track): Do not set the mark if the user
8831 releases the mouse without selecting anything (Bug#11588).
8832
a12ac9d7
SM
88332012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8834
ccf1dc18
SM
8835 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8836 as well (bug#11646).
8837
ef62b23d
SM
8838 * loadup.el: Count byte-code functions as well.
8839
c4c8444a
SM
8840 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8841 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8842
a12ac9d7
SM
8843 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8844 (bug#11649). Add cl-defun and cl-defmacro.
8845
87e6e64f
DA
88462012-06-13 Drew Adams <drew.adams@oracle.com>
8847
8848 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8849 Fix last change.
8850
682cefaf
MA
88512012-06-13 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8854 Otherwise, it blocks in batch mode.
8855
773e1f08
JB
88562012-06-13 Juanma Barranquero <lekktu@gmail.com>
8857
8858 * help-mode.el (bookmark-make-record-default): Declare.
8859
60057926
CY
88602012-06-13 Chong Yidong <cyd@gnu.org>
8861
8862 * emacs-lisp/package.el (list-packages): Compute a list of
8863 packages that are newly-available since the last list-packages
8864 invocation.
8865 (package-menu--new-package-list): New var.
8866 (package-menu--generate, package-menu--print-info)
8867 (package-menu--status-predicate, package-menu-mark-install):
8868 Handle new status label "new".
8869
ad4d226c
SM
88702012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8873 conversion to backquotes.
8874
f1a4e679
CY
88752012-06-12 Chong Yidong <cyd@gnu.org>
8876
8877 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8878 Rename from gud-inhibit-global-bindings.
8879
8880 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8881
8882 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8883 hook from nxml-glyph-set-hook.
8884
8885 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8886 declaration.
8887
8888 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8889
8890 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8891 Convert to defcustom.
8892
0c9e42b5
DA
88932012-06-12 Drew Adams <drew.adams@oracle.com>
8894
8895 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8896 New functions.
8897 (help-mode): Use them.
8898
09e06855
GM
88992012-06-11 Glenn Morris <rgm@gnu.org>
8900
8901 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8902 Use preprocessor face for directives.
8903 (fortran-directive-re): Doc fix.
8904
71adb94b
SM
89052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8906
2eb87922
SM
8907 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8908 conversion to backquotes (bug#11652).
8909
71adb94b
SM
8910 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8911 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8912 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8913 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8914 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8915 (cl-ninth, cl-tenth): Mark them as inlinable.
8916 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8917 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8918 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8919 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8920 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8921 (cl-list*, cl-adjoin): Don't put an autoload manually.
8922 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8923 (cl--compiler-macro-list*): Add autoload cookie.
8924 (cl--compiler-macro-cXXr): New function.
2eb87922 8925
71adb94b
SM
8926 * help-fns.el (help-fns--compiler-macro): New function extracted from
8927 describe-function-1; follow aliases and use `compiler-macro' property.
8928 (describe-function-1): Use it.
8929
a6674402
CY
89302012-06-11 Chong Yidong <cyd@gnu.org>
8931
8932 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8933 is uninstalled, if imagemagick is installed.
8934
bb3faf5b
SM
89352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * emacs-lisp/cl-lib.el: Use lexical-binding.
8938 (cl-map-extents, cl-maclisp-member): Remove.
8939 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8940 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8941 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8942 * emacs-lisp/cl-extra.el: Use lexical-binding.
8943 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8944 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8945 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8946 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8947 * emacs-lisp/cl-seq.el: Use lexical-binding.
8948 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8949 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8950 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8951 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8952 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8953 CL's internals.
8954
2fe4b125
MA
89552012-06-11 Michael Albinus <michael.albinus@gmx.de>
8956
8957 Sync with Tramp 2.2.6-pre.
8958
8959 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8960 `print-length' and `print-level' to nil, in order to avoid
8961 truncation. Reported by Christopher Schmidt
8962 <christopher@ristopher.com>.
8963
8964 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8965
8966 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8967 New defmacro.
8968 (tramp-compat-copy-directory): Add optional argument
8969 COPY-CONTENTS. It is not handled yet.
8970
8971 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8972 (tramp-ftp-file-name-p): Simplify.
8973
8974 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8975 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8976 connection vector.
8977
8978 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8979 (tramp-methods): Do not use `tramp-password-end-of-line'.
8980 (tramp-completion-function-alist-putty): Handle UNIX case.
8981 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8982 (tramp-do-file-attributes-with-stat)
8983 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8984 gid as real numbers. They could run out of integer range on cygwin.
8985 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8986 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8987 (tramp-open-connection-setup-interactive-shell):
8988 Use `tramp-cleanup'. Move check for busyboxes ...
8989 (tramp-find-shell): ... here. Simplify implementation.
8990 Set "remote-shell" property also for alternative shells.
8991 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8992 If failing, a regular file would be written otherwise.
8993 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8994 (tramp-find-inline-encoding): Cache the coding commands in the
8995 process cache. Apply test command on the remote side, if defined.
8996 (tramp-find-inline-compress): Cache the compress commands in the
8997 process cache.
8998 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8999 when requested. Handle hops.
9000 (tramp-current-connection): New defvar.
87e6e64f
DA
9001 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9002 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 9003 Handle user interrupt. (Bug#10187)
87e6e64f
DA
9004 (tramp-get-inline-compress, tramp-get-inline-coding):
9005 Read connection properties from the process cache.
2fe4b125
MA
9006
9007 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
9008 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9009 New defconsts.
2fe4b125
MA
9010 (tramp-smb-prompt): Extend for powershell prompt.
9011 (tramp-smb-file-name-handler-alist): Add handlers for
9012 `process-file', `shell-command' and `start-file-process'.
9013 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9014 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9015 (tramp-smb-file-name-p): Simplify.
9016 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9017 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9018 (tramp-smb-shell-quote-argument): New defuns.
9019 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9020 Implement using "tar". By this, time-stamps are preserved.
9021 (tramp-smb-handle-copy-file): Handle also the case of directories.
9022 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
9023 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9024 Use `tramp-get-connection-buffer').
2fe4b125
MA
9025 (tramp-smb-handle-rename-file): Use "rename", when source and
9026 target are on the same share.
87e6e64f
DA
9027 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9028 Use `tramp-smb-server-version'.
2fe4b125
MA
9029 (tramp-smb-wait-for-output): Remove prompt.
9030
9031 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
9032 (tramp-methods, tramp-rsh-end-of-line):
9033 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
9034 (tramp-save-ad-hoc-proxies): New defcustom.
9035 (tramp-completion-function-alist): Adapt docstring.
9036 (tramp-default-password-end-of-line): Remove defcustom.
9037 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9038 (tramp-user-regexp, tramp-file-name-regexp-unified)
9039 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9040 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9041 (tramp-remote-file-name-spec-regexp): New defconst.
9042 (tramp-file-name-structure): Extend structure for hops.
9043 (tramp-get-method-parameter): Move up.
9044 (tramp-file-name-p, tramp-dissect-file-name)
9045 (with-parsed-tramp-file-name): Handle hops.
9046 (tramp-file-name-hop): New defun.
9047 (tramp-make-tramp-file-name): New optional arg HOP.
9048 (tramp-message-show-progress-reporter-message): New defvar.
9049 (tramp-with-progress-reporter): Use it. We cannot use
9050 `tramp-message-show-message' here, because this suppresses also
9051 error buffers.
9052 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
9053 `tramp-message-show-message' is nil.
9054 Use `tramp-get-connection-buffer'.
2fe4b125
MA
9055 (tramp-cleanup): New defun.
9056 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9057 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9058 an error unchanged.
9059 (tramp-completion-handle-file-name-all-completions): Handle hops.
9060 Fix an error when called from ido.
9061 (tramp-completion-dissect-file-name): Use better local variable
9062 name. Add hop to the vector.
9063 (tramp-handle-insert-file-contents): Use progress-reporter for the
9064 whole scenario.
9065 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9066 to `t'.
9067 (tramp-check-for-regexp): Simplify search.
9068 (tramp-enter-password): Remove it. Move implementation ...
9069 (tramp-action-password): ... here.
9070 (tramp-mode-string-to-int, tramp-local-host-p)
9071 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
9072 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9073 Set tramp-autoload cookie.
2fe4b125
MA
9074
9075 * net/trampver.el: Update release number.
9076
90772012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9078 Michael Albinus <michael.albinus@gmx.de>
9079
9080 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9081 (tramp-parse-group, tramp-parse-file)
9082 (tramp-parse-shostkeys-sknownhosts): New defuns.
9083 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9084 (tramp-parse-shosts-group, tramp-parse-sconfig)
9085 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9086 (tramp-parse-sknownhosts, tramp-parse-hosts)
9087 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9088 Use them.
9089 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9090 (tramp-parse-putty-group): Don't narrow.
9091 (tramp-parse-putty): Make a loop.
9092 (tramp-file-name-handler): Catch the `suppress' signal.
9093
72834e10
CY
90942012-06-11 Chong Yidong <cyd@gnu.org>
9095
9096 * image.el (imagemagick-register-types): Put the ImageMagick entry
9097 at the end of image-type-file-name-regexps.
9098
a4712e11
JB
90992012-06-11 Johan Bockgård <bojohan@gnu.org>
9100
9101 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9102 (pcase, pcase-let*, pcase-dolist): Use them.
9103
82ad98e3
SM
91042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/pcase.el (pcase--let*): New function.
9107 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9108 (pcase--expand): Use macroexp-let².
9109
f80efb86
SM
91102012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9113 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9114 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9115 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9116 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9117 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9118
31ca4639 91192012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 9120
31ca4639
CY
9121 * mail/rmail.el (rmail-yank-current-message): Leave point at
9122 correct position. (Bug#11660)
94f0aa34 9123
31ca4639 91242012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 9125
31ca4639 9126 * allout-widgets.el: Fix code header.
9e1b8ec4 9127
31ca4639 91282012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 9129
f80efb86
SM
9130 * cus-edit.el (customize-changed-options-previous-release):
9131 Bump to 24.1.
31ca4639 9132
642b6d30
AS
91332012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9134
9135 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9136
4f5d2ba1
CY
91372012-06-09 Chong Yidong <cyd@gnu.org>
9138
9139 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9140
e75852fd
MR
91412012-06-09 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (special-display-popup-frame): Don't use
9144 window--display-buffer (Bug#11651).
9145
1e48e282
EZ
91462012-06-09 Eli Zaretskii <eliz@gnu.org>
9147
8a26b487
EZ
9148 Fix parallel builds: make sure loaddefs.el is not being written
9149 while Lisp files are compiled.
9150 (compile): Don't depend on 'mh-autoloads'.
9151 (compile-CMD, compile-SH): Depend on 'autoloads'.
9152 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9153
1e48e282
EZ
9154 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9155
6175e34b
CY
91562012-06-09 Chong Yidong <cyd@gnu.org>
9157
9158 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9159 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9160 Doc fixes (Bug#11225).
9161
d9857e53
SM
91622012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9165 a function if there's a clear indication that it has a compiler-macro.
9166 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9167 (macro-declarations-alist): Add arglist to declaration functions.
9168 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9169 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9170 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9171 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9172 Also add autoload to find the compiler macro.
9173 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9174 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9175 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9176 (cl--compiler-macro-get): New functions, replacing calls to
9177 cl-define-compiler-macro.
9178 (cl-typep) [compiler-macro]: Use macroexp-let².
9179
f81298f8 91802012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9181
9182 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9183 string properly, fixes Bug#11473.
9184
4b56d0fe
CY
91852012-06-08 Chong Yidong <cyd@gnu.org>
9186
9187 * faces.el (set-face-attribute): Doc fix.
9188 (modify-face): Don't use :bold and :italic.
9189 (error, warning, success): Tweak definitions.
9190
9191 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9192 (custom-modified, custom-set, custom-changed, custom-themed)
9193 (custom-saved, custom-button, custom-button-mouse)
9194 (custom-button-pressed, custom-state, custom-comment-tag)
9195 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9196 (custom-group-subtitle): Use new-style face specs.
9197 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9198 (custom-set-face, custom-changed-face, custom-saved-face)
9199 (custom-button-face, custom-button-pressed-face)
9200 (custom-documentation-face, custom-state-face)
9201 (custom-comment-face, custom-comment-tag-face)
9202 (custom-variable-tag-face, custom-variable-button-face)
9203 (custom-face-tag-face, custom-group-tag-face-1)
9204 (custom-group-tag-face): Remove obsolete face alias.
9205
9206 * epa.el (epa-validity-high, epa-validity-medium)
9207 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9208 (epa-field-name, epa-field-body):
9209 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9210 (font-lock-keyword-face, font-lock-builtin-face)
9211 (font-lock-function-name-face, font-lock-variable-name-face)
9212 (font-lock-type-face, font-lock-constant-face):
9213 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9214 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9215 * speedbar.el (speedbar-button-face, speedbar-file-face)
9216 (speedbar-directory-face, speedbar-tag-face)
9217 (speedbar-selected-face, speedbar-highlight-face)
9218 (speedbar-separator-face):
9219 * whitespace.el (whitespace-newline, whitespace-space)
9220 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9221 (whitespace-line, whitespace-space-before-tab)
9222 (whitespace-space-after-tab, whitespace-indentation)
9223 (whitespace-empty):
9224 * emulation/cua-base.el (cua-global-mark):
9225 * eshell/em-prompt.el (eshell-prompt):
9226 * net/newst-plainview.el (newsticker-new-item-face)
9227 (newsticker-old-item-face, newsticker-immortal-item-face)
9228 (newsticker-obsolete-item-face, newsticker-date-face)
9229 (newsticker-statistics-face, newsticker-default-face):
9230 * net/newst-reader.el (newsticker-feed-face)
9231 (newsticker-extra-face, newsticker-enclosure-face):
9232 * net/newst-treeview.el (newsticker-treeview-face)
9233 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9234 (newsticker-treeview-immortal-face)
9235 (newsticker-treeview-obsolete-face)
9236 (newsticker-treeview-selection-face):
9237 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9238 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9239 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9240 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9241 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9242 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9243 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9244 (mpuz-text):
9245 * progmodes/vera-mode.el (vera-font-lock-number)
9246 (vera-font-lock-function, vera-font-lock-interface):
9247 * textmodes/table.el (table-cell): Use new-style face specs, and
9248 don't use the old :bold and :italic attributes.
9249
9250 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9251 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9252 (ebrowse-member-class, ebrowse-progress): Likewise.
9253 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9254 (ebrowse-file-name-face, ebrowse-default-face)
9255 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9256 (ebrowse-progress-face): Remove obsolete faces.
9257
9258 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9259 Inherit from error and warning faces respectively.
9260
9261 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9262 Likewise.
f80efb86
SM
9263 (flyspell-incorrect-face, flyspell-duplicate-face):
9264 Remove obsolete aliases.
4b56d0fe 9265
03310646
MA
92662012-06-08 Michael Albinus <michael.albinus@gmx.de>
9267
9268 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9269 Avoid infloop.
9270
513749ee
SM
92712012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * startup.el (argv, argi): Make lexically scoped.
9274 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9275 * emacs-lisp/cl-macs.el: Use lexical-binding.
9276 Rename cl-bind-* to cl--bind-*.
9277 * files.el: Don't require `cl' since it doesn't use it.
9278 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9279
595ef4ad
JB
92802012-06-08 Juanma Barranquero <lekktu@gmail.com>
9281
9282 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9283 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9284 instead of calling external sort utility.
9285 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9286
e9f66fcb
EZ
92872012-06-08 Eli Zaretskii <eliz@gnu.org>
9288
9289 * descr-text.el (describe-char): Mention how to insert the
9290 character, if the current input method doesn't support it.
9291 See the discussion in this thread for the details:
9292 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9293
3d10db47
SS
92942012-06-08 Sam Steingold <sds@gnu.org>
9295
9296 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9297 XF86Back to previous-buffer.
9298 (minibuffer-local-map): Bind them to next-history-element and
9299 previous-history-element respectively.
9300 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9301 help-go-back respectively.
9302 * info.el (Info-mode-map): Bind them to Info-history-forward and
9303 Info-history-back respectively.
9304 These are the keys next to Up on the ThinkPad keyboard.
9305
de7e2b36
SM
93062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9309 * emacs-lisp/cl-macs.el: Provide itself.
9310 (cl--labels-convert-cache): New var.
9311 (cl--labels-convert): New function.
9312 (cl-flet, cl-labels): New implementation with new semantics, relying on
9313 lexical-binding.
9314 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9315 (cl-closure-vars, cl--function-convert-cache)
9316 (cl--function-convert): Move from cl-macs.el.
9317 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9318 rename by removing the "cl-" prefix.
9319 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9320
6fa6c4ae
SM
93212012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9322
9323 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9324 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9325 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9326 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9327 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9328 (cl-hash-table-count): Add old compatibility aliases.
9329
9330 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9331 Use macroexpand-all-environment instead.
9332 (cl--old-macroexpand): New var.
9333 (cl--sm-macroexpand): New function.
9334 (cl-symbol-macrolet): Use it during macro expansion.
9335 (cl--function-convert-cache): New var.
9336 (cl--function-convert): New function, extracted from
9337 cl-macroexpand-all.
9338 (cl-lexical-let): Use it.
9339
9340 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9341 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9342 (cl-member): Remove old alias.
9343
9344 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9345 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9346 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9347 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9348 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9349 (cl-macroexpand-cmacs): Remove var.
9350 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9351 Use macroexpand-all instead.
9352
4dd1c416
SM
93532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9356 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9357 (macroexp-copyable-p): New functions and macros.
9358 * emacs-lisp/edebug.el (edebug-unwrap):
9359 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9360 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9361 (pcase--let*): Remove.
9362 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9363 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9364 macroexp-const-p instead.
9365 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9366
9367 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9368 instead of "cl-" for internal definitions. Use macroexp-const-p.
9369 (cl-old-bc-file-form): Remove var.
9370 (cl-const-exprs-p): Remove fun.
9371 (cl-labels, cl-macrolet): Use backquote.
9372 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9373 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9374 (cl-define-setf-expander): Rename from cl-define-setf-method.
9375 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9376
9377 * international/mule-cmds.el: Don't require CL.
9378 (view-hello-file): Don't use `letf'.
9379
ed8bd4d7
SM
93802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9381
7287f2f3
SM
9382 * tmm.el (tmm-prompt): Use string-prefix-p.
9383 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9384 (tmm-add-prompt): Use minibuffer-completion-help.
9385 (tmm-delete-map): Remove.
9386
ed8bd4d7
SM
9387 * subr.el (kbd): Make it its own function.
9388
7b4cdbf4
SM
93892012-06-07 Stefan Merten <smerten@oekonux.de>
9390
9391 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9392 Silence compiler warnings. Fix versions.
ed8bd4d7 9393 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9394 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9395 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9396 (rst-package-emacs-version-alist): Correct Emacs version to
9397 represent major merge with upstream.
ed8bd4d7 9398 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9399
2b48d721
GM
94002012-06-06 Glenn Morris <rgm@gnu.org>
9401
9402 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9403 Only print environment variables if set.
9404
fa779ab0
SM
94052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9408 (macroexp--cons): Rename from maybe-cons.
9409 (macroexp--accumulate): Rename from macroexp-accumulate.
9410 (macroexp--all-forms): Rename from macroexpand-all-forms.
9411 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9412 (macroexp--expand-all): Rename from macroexpand-all-1.
9413
628299e0
SS
94142012-06-06 Sam Steingold <sds@gnu.org>
9415
9416 * calendar/calendar.el (calendar-in-read-only-buffer):
9417 Call `special-mode' to enable the standard read-only keybindings.
9418
b7bb5838
SM
94192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9422 with "loading" messages (bug#11635).
9423
dfb308ba
MA
94242012-06-06 Michael Albinus <michael.albinus@gmx.de>
9425
9426 * files.el (enable-remote-dir-locals): New option.
9427 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9428
0372ee92
MA
9429 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9430 Ensure, that the temp directory is local.
9431
9432 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9433 `temporary-file-directory'.
9434
eed0bb91
MA
9435 * progmodes/python.el (python-send-region): Ensure, that the
9436 temporary file is created also in the remote case.
9437
7a58f64d
GM
94382012-06-06 Glenn Morris <rgm@gnu.org>
9439
f7dd4e98
GM
9440 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9441 (vc-rcs-update-changelog): Use it.
9442
090bd7cb 9443 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9444
7a58f64d
GM
9445 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9446 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9447 (vc-sccs-diff): Replace use of the external vcdiff script.
9448
daed4003
GM
94492012-06-05 Glenn Morris <rgm@gnu.org>
9450
9451 * ledit.el: Move to obsolete/.
9452
48c455c7
SS
94532012-06-05 Sam Steingold <sds@gnu.org>
9454
ed9265fc 9455 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9456 patch (Bug#11140).
9457
57a7d507
SM
94582012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9459
090bd7cb 9460 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9461
53aacf21
SM
9462 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9463 compiler-macro expansion.
9464
57a7d507
SM
9465 Add native compiler-macro support.
9466 * emacs-lisp/macroexp.el (macroexpand-all-1):
9467 Support compiler-macros directly. Properly follow aliases and apply
9468 the compiler macros more thoroughly.
9469 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9470 macroexpand now properly follows aliases.
9471 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9472 (cl-compiler-macroexpand): Use new prop.
9473 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9474
9475 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9476
51a5f9d8
MR
94772012-06-05 Martin Rudalics <rudalics@gmx.at>
9478
9479 * window.el (get-lru-window, get-mru-window, get-largest-window):
9480 New argument NOT-SELECTED to avoid picking the selected window.
9481 (window--display-buffer-1, window--display-buffer-2): Replace by
9482 new function window--display-buffer
9483 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9484 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9485 Use window--display-buffer.
51a5f9d8
MR
9486 (display-buffer-use-some-window): Remove temporary dedication
9487 hack by calling get-lru-window and get-largest-window with
9488 NOT-SELECTED argument non-nil. Call window--display-buffer.
9489
08f9f738
GM
94902012-06-05 Glenn Morris <rgm@gnu.org>
9491
9492 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9493 Replace external vcdiff script.
9494
e364a2b7
SM
94952012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9498
041df390
CY
94992012-06-04 Chong Yidong <cyd@gnu.org>
9500
e364a2b7
SM
9501 * image.el (imagemagick-types-inhibit): Revert last change.
9502 Add INFO and M.
47b36b94 9503 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9504
7c1898a7
SM
95052012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * emacs-lisp/cl-lib.el: Rename from cl.el.
9508 * emacs-lisp/cl.el: New compatibility file.
9509 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9510 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9511 to obey the "cl-" prefix.
9512 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9513
0c3461de
GM
95142012-06-03 Glenn Morris <rgm@gnu.org>
9515
1e266c88
GM
9516 * emacs-lisp/authors.el (authors-aliases): Addition.
9517
0c3461de
GM
9518 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9519 Fix :version.
9520
d8a52e15
SM
95212012-06-03 Stefan Merten <smerten@oekonux.de>
9522
9523 * textmodes/rst.el: Add comments.
9524 (rst-transition, rst-adornment): New faces.
9525 (rst-adornment-faces-alist): Make default safe to reevaluate.
9526 Fixes
9527 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9528 Improve customization tags.
9529 (rst-define-level-faces): Clarify meaning.
9530
5205d6f6
CY
95312012-06-03 Chong Yidong <cyd@gnu.org>
9532
9533 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9534 (compilation-mode-line-run, compilation-mode-line-exit):
9535 New faces.
5205d6f6
CY
9536 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9537
757ee657
JD
95382012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9539
7c1898a7
SM
9540 * progmodes/which-func.el (which-func-update-ediff-windows):
9541 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9542
5f2c76c6
CY
95432012-06-03 Chong Yidong <cyd@gnu.org>
9544
9545 * bindings.el: Remove explicit help text from format-mode-line.
9546 It is now supplied by mode-line-default-help-echo.
9547 (mode-line-front-space, mode-line-end-spaces)
9548 (mode-line-misc-info): New variables.
9549 (mode-line-modes, mode-line-position): Move the default value to
9550 the variable definition.
9551 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9552 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9553 (mode-line-modified-help-echo): New functions.
9554 (mode-line-mule-info, mode-line-modified): Use them.
9555 (mode-line-eol-desc, propertized-buffer-identification):
9556 Consistency fixes for help text.
cbe46e5f
CY
9557 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9558 set-buffer-file-coding-system (Bug#289).
9559 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9560
f2d6a3df
SM
95612012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * simple.el (execute-extended-command): Set real-this-command
9564 (bug#11506).
9565
37269466
CY
95662012-06-02 Chong Yidong <cyd@gnu.org>
9567
9568 Remove incorrect uses of "modeline" in comments, docstrings, and
9569 function/variable names (Bug#10329).
9570
9571 * cus-edit.el (mode-line):
9572 * dframe.el (dframe-mouse-hscroll):
9573 * emacs-lisp/re-builder.el:
9574 * emacs-lisp/easy-mmode.el (define-minor-mode):
9575 * frame.el (set-frame-name):
9576 * help.el (lookup-minor-mode-from-indicator):
9577 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9578 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9579 (c-toggle-hungry-state):
9580 * progmodes/antlr-mode.el (antlr-language-alist):
9581 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9582 * progmodes/vhdl-mode.el (vhdl-mode):
9583 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9584 * term/ns-win.el (ns-face-at-pos):
9585 * term/sup-mouse.el (sup-mouse-report):
9586 * textmodes/flyspell.el (flyspell-mode-line-string):
9587 * textmodes/ispell.el (ispell-highlight-face):
9588 * textmodes/reftex-global.el:
9589 * vc/vc-arch.el (vc-arch-mode-line-string):
9590 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9591 * vc/vc-git.el (vc-git-mode-line-string):
9592 * vc/vc-hooks.el (vc-display-status)
9593 (vc-default-mode-line-string):
9594 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9595
9596 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9597
9598 * dired.el (dired-sort-set-mode-line): Rename from
9599 dired-sort-set-modeline. All callers changed.
9600
9601 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9602 eshell-status-in-modeline.
9603
9604 * foldout.el (foldout-mode-line-string): Rename from
9605 foldout-modeline-string. All callers changed.
9606 (foldout-update-mode-line): Rename from foldout-update-modeline.
9607
9608 * subr.el (redraw-modeline): Make into obsolete alias.
9609
9610 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9611 timeclock-modeline-display. Make old name an alias.
9612 (timeclock-update-mode-line): Likewise. All callers changed.
9613 (timeclock-mode-line-display): No need to check before using
9614 add-hook.
9615 (timeclock-relative, timeclock-day-over-hook)
9616 (timeclock-use-elapsed, timeclock-mode-string)
9617 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9618
9619 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9620 crisp-mode-modeline-string.
9621
9622 * play/solitaire.el (solitaire-build-mode-line): Rename from
9623 solitaire-build-modeline. All callers changed.
9624
9625 * play/zone.el (zone-hiding-mode-line): Rename from
9626 zone-hiding-modeline. All callers changed.
9627 (zone): Remove unusued `modeline-hidden-level' property.
9628
9629 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9630 xscheme-modeline-initialize. All callers changed.
9631
9632 * strokes.el (strokes-lighter): Rename from
9633 strokes-modeline-string.
9634
9635 * textmodes/sgml-mode.el (html-face-tag-alist)
9636 (html-tag-face-alist): Use mode-line face instead of obsolete
9637 alias modeline.
9638
42152ee4
SM
96392012-06-02 Stefan Merten <smerten@oekonux.de>
9640
9641 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9642 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9643
95f520b5
CY
96442012-06-02 Chong Yidong <cyd@gnu.org>
9645
9646 * image.el (imagemagick-enabled-types): Rename from
9647 imagemagick-types-enable. Add many more types.
9648 (imagemagick-types-inhibit): Change default to nil.
9649 (imagemagick-filter-types): Caller changed.
9650
4a5f187a
SM
96512012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9652
03fef3e6
SM
9653 * emacs-lisp/cl-macs.el: Use backquotes.
9654 (cl-transform-function-property): Use eval-and-compile rather than
9655 abusing `require'.
9656 (defstruct): Use declare-function instead of with-no-warnings.
9657
4a5f187a
SM
9658 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9659 (byte-compile-output-docform): Re-add the print-circle bindings.
9660 (byte-compile-fix-header): Use #$ just because it's shorter.
9661 (byte-compile-output-file-form): Remove defun/defmacro.
9662
bd56924f
MR
96632012-06-01 Martin Rudalics <rudalics@gmx.at>
9664
9665 * simple.el (choose-completion): Remove now obsolete binding for
9666 owindow.
9667
046e38ce
MA
96682012-06-01 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9671 in order to avoid "Stack overflow in regexp matcher".
9672
32d72c2f
GM
96732012-05-31 Glenn Morris <rgm@gnu.org>
9674
9675 * image.el: For clarity, call imagemagick-register-types at
9676 top-level, rather than relying on a custom :initialize.
9677 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9678 (imagemagick-filter-types): New function. (Bug#7406)
9679 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9680 If disabling support, remove elements altogether rather
9681 than using an impossible regexp.
9682 (imagemagick-types-inhibit): Give it the default init function.
9683
dd41169b
SM
96842012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9685
4a5f187a
SM
9686 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9687 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9688
efc00ab1 96892012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9690
9691 * desktop.el (desktop-read): Clear previous and next buffers for
9692 all windows and bury *Messages* buffer (bug#11556).
9693
500fcedc
SM
96942012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 Add `declare' for `defun'. Align `defmacro's with it.
9697 * emacs-lisp/easy-mmode.el (define-minor-mode)
9698 (define-globalized-minor-mode): Don't autoload the var definitions.
9699 * emacs-lisp/byte-run.el: Use lexical-binding.
9700 (defun-declarations-alist, macro-declarations-alist): New vars.
9701 (defmacro, defun): Use them.
9702 (make-obsolete, define-obsolete-function-alias)
9703 (make-obsolete-variable, define-obsolete-variable-alias):
9704 Use `declare'.
9705 (macro-declaration-function): Mark obsolete.
9706 * emacs-lisp/autoload.el: Use lexical-binding.
9707 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9708
6e8a1786
AM
97092012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9710
9711 * textmodes/ispell.el (ispell-with-no-warnings):
9712 Define as a macro.
500fcedc
SM
9713 (ispell-kill-ispell, ispell-change-dictionary):
9714 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9715 `interactive-p'.
9716
61b108cc
SM
97172012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9720 (macro-declaration-function): Move var from C code.
9721 (macro-declaration-function): Define function with defalias.
9722 * emacs-lisp/macroexp.el (macroexpand-all-1):
9723 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9724 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9725 defun/defmacro any more.
9726 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9727 Provide fallback for unknown arglist.
9728 (byte-compile-arglist-warn): Change calling convention.
9729 (byte-compile-output-file-form): Move print-vars binding.
9730 (byte-compile-output-docform): Simplify accordingly.
9731 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9732 (byte-compile-defmacro-declaration): Remove.
9733 (byte-compile-file-form-defmumble): Generalize to defalias.
9734 (byte-compile-output-as-comment): Return byte-positions.
9735 Simplify callers accordingly.
9736 (byte-compile-lambda): Use `assert'.
9737 (byte-compile-defun, byte-compile-defmacro): Remove.
9738 (byte-compile-file-form-defalias):
9739 Use byte-compile-file-form-defmumble.
9740 (byte-compile-defalias-warn): Remove.
9741
6d3f7c2f
SM
97422012-05-29 Stefan Merten <smerten@oekonux.de>
9743
9744 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9745 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9746
9747 (rst-mode-abbrev-table): Merge definition.
9748 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9749 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9750
6dbaa1c7
UJ
97512012-05-29 Ulf Jasper <ulf.jasper@web.de>
9752
9753 * calendar/icalendar.el
9754 (icalendar-export-region): Export UID properly.
9755
d209e2fb 97562012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9757 * calendar/icalendar.el (icalendar-import-format):
9758 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9759 (icalendar-import-format-uid): New.
9760 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9761 Export UID.
9762
6876a58d
SM
97632012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9766 different alternative patterns.
9767 (pcase-codegen): Be more careful to preserve identity.
9768 (pcase--u1): Don't forget to mark vars as used.
9769
9770 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9771 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9772 (byte-compile-from-buffer): ...rather than here.
9773
9774 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9775 functions from byte-compile-function-environment.
9776
46b7967e
TN
97772012-05-29 Troels Nielsen <bn.troels@gmail.com>
9778
9779 * window.el (window-deletable-p): Avoid deleting the root window
9780 of a frame with an active minibuffer.
9781
69d565e2
MR
97822012-05-29 Martin Rudalics <rudalics@gmx.at>
9783
9784 * simple.el (choose-completion): Use quit-window (Bug#11567).
9785
a149fa51
CY
97862012-05-29 Chong Yidong <cyd@gnu.org>
9787
9788 * whitespace.el (whitespace-cleanup): Fix usage of
9789 whitespace-empty-at-bob-regexp (Bug#11492).
9790
2b311310
AH
97912012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9792
9793 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9794 revert (Bug#11488).
9795
b9cb2387
JL
97962012-05-29 Juri Linkov <juri@jurta.org>
9797
9798 * isearch.el (isearch-mode-map): Bind `M-s _' to
9799 `isearch-toggle-symbol'. Bind `M-s c' to
9800 `isearch-toggle-case-fold'.
9801 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9802 (isearch-forward): Add `M-s _' to the docstring.
9803 (isearch-forward-symbol, isearch-toggle-case-fold)
9804 (isearch-symbol-regexp): New functions. (Bug#11381)
9805
d5e61c1c
JL
98062012-05-29 Juri Linkov <juri@jurta.org>
9807
9808 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9809 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9810 a function, call it to get the regexp.
9811 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9812 property `isearch-message-prefix' instead of the string "word ".
9813 (isearch-search-fun-default): For the case of `isearch-word',
9814 return a lambda that calls re-search-forward/re-search-backward
9815 with a regexp returned by `word-search-regexp' or by the function
9816 in `isearch-word'.
9817
8cbd80f7
JL
98182012-05-29 Juri Linkov <juri@jurta.org>
9819
9820 * isearch.el (isearch-search-fun-default): New function.
9821 (isearch-search-fun): Move default part to the new function
9822 `isearch-search-fun-default'.
9823 (isearch-search-fun-function): Set the default value to
9824 `isearch-search-fun-default'. (Bug#11381)
9825
9826 * comint.el (comint-history-isearch-end):
9827 Use `isearch-search-fun-default'.
9828 (comint-history-isearch-search): Use `isearch-search-fun-default'
9829 and remove spacial case for `isearch-word'.
9830 (comint-history-isearch-wrap): Remove spacial case for
9831 `isearch-word'.
9832
9833 * hexl.el (hexl-isearch-search-function):
9834 Use `isearch-search-fun-default'.
9835
9836 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9837 Use `word-search-regexp' for `isearch-word'.
9838
9839 * misearch.el (multi-isearch-search-fun):
9840 Use `isearch-search-fun-default'.
9841
9842 * simple.el (minibuffer-history-isearch-search):
9843 Use `isearch-search-fun-default' and remove spacial case for
9844 `isearch-word'.
9845 (minibuffer-history-isearch-wrap): Remove spacial case for
9846 `isearch-word'.
9847
9848 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9849 Remove spacial case for `isearch-word'.
9850 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9851
85c8c5b6
AM
98522012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9853
9854 Decrease XEmacs incompatibilities.
9855 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9856 Use `string-match'.
9857 (flyspell-delete-region-overlays): Use alternative definition for
9858 XEmacs.
9859 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9860 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9861 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9862 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9863 `define-obsolete-face-alias' under XEmacs, but old method.
9864
9865 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9866 `with-no-warnings' definition or Emacs alias.
9867 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9868 (ispell-word): Do not use `region-p' if XEmacs.
9869
8cab9efc
AM
98702012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9871
9872 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9873 Check for `ispell-dictionary-base-alist' instead of full
9874 `ispell-dictionary-alist'.
9875 (ispell-init-process): Show spellchecker when starting new Ispell
9876 process.
9877
fda91268
RZ
98782012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9881 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9882
694ea8e3
JB
98832012-05-27 Juanma Barranquero <lekktu@gmail.com>
9884
9885 * version.el (motif-version-string, gtk-version-string)
9886 (ns-version-string): Declare.
9887
e4d4f539
JL
98882012-05-27 Juri Linkov <juri@jurta.org>
9889
9890 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9891 after the `eval-defun-1' specialcaseing
9892 like in `edebug-eval-defun' (bug#10181).
9893
9894 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9895 like in `eval-defun-1'.
9896
33017faf 98972012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9898
fda91268
RZ
9899 * mail/sendmail.el (mail-yank-region):
9900 Recognize rmail-yank-current-message in addition to insert-buffer.
9901 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9902 a *mail* buffer created through rmail-start-mail with sendmail as
9903 mail-user-agent.
9904
33017faf
GM
99052012-05-27 Chong Yidong <cyd@gnu.org>
9906
9907 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9908 Default to 256 (Bug#11267).
9909
9910 * help.el (describe-mode): Doc fix.
9911
04188bb9
GM
99122012-05-26 Glenn Morris <rgm@gnu.org>
9913
38264cc9
GM
9914 * w32-fns.el (w32-init-info): Remove.
9915 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9916
eb7afdad
GM
9917 * info.el (info-initialize): For self-contained NS builds, put the
9918 included info/ directory at the front. (Bug#2791)
9919
04188bb9
GM
9920 * paths.el (Info-default-directory-list): Make it a defcustom,
9921 mainly so that we can use custom-initialize-delay.
9922
a179e3f7
SM
99232012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9924
43416392
SM
9925 * subr.el (buffer-has-markers-at): Mark obsolete.
9926
a179e3f7 9927 * subr.el (lambda): Use declare.
43416392 9928
a179e3f7
SM
9929 * emacs-lisp/lisp-mode.el (lambda):
9930 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9931
34a008d9
AH
99322012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9933
9934 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9935
0a3b289f
GM
99362012-05-26 Glenn Morris <rgm@gnu.org>
9937
9938 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9939
758c81e8
GM
99402012-05-25 Glenn Morris <rgm@gnu.org>
9941
f9f334f0
GM
9942 * paths.el: Remove no-byte-compile.
9943 * loadup.el: No need to load paths.el uncompiled.
9944
87eb79c2
GM
9945 * image.el (imagemagick-types-inhibit): Doc fix.
9946
758c81e8
GM
9947 * version.el: Remove no-byte-compile and associated formatting.
9948 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9949 is ancient code from when there was an "inc-vers.el".
9950
e7e85dc0
SM
99512012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * progmodes/gdb-mi.el: Minor style changes.
9954 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9955 Turn into minor modes.
9956 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9957 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9958 (gdb-shell): Remove unneeded let-binding.
9959 (gdb-get-many-fields): Eliminate O(n²) behavior.
9960
f31237a4
EZ
99612012-05-25 Eli Zaretskii <eliz@gnu.org>
9962
9963 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9964 platforms that don't link in fontset.c.
9965
bc1b21bb
JL
99662012-05-25 Juri Linkov <juri@jurta.org>
9967
9968 Use the same diff color scheme as in modern VCSes (bug#10181).
9969
9970 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9971 to avoid confusion with `diff-added' that now uses green colors.
9972 (diff-removed): Use shades of red.
9973 (diff-added): Use shades of green.
9974 (diff-changed): Leave just the yellow color.
9975 (diff-use-changed-face): New variable.
9976 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9977 how to highlight context diff changes.
9978 (diff-refine-change): Use shades of yellow.
9979 (diff-refine-removed): New face that uses shades of red.
9980 (diff-refine-added): New face that uses shades of green.
9981 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9982 `diff-refine-removed' in the call to `smerge-refine-subst'
9983 depending on the value of `diff-use-changed-face'.
9984
9985 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9986 (smerge-other): Use shades of green.
9987 (smerge-base): Use shades of yellow.
9988 (smerge-refined-change): Empty face.
9989 (smerge-refined-removed): New face that uses shades of red.
9990 (smerge-refined-added): New face that uses shades of green.
9991 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9992 args `props-r' and `props-a', and use them. Doc fix.
9993 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9994 on its value use different faces `smerge-refined-change',
9995 `smerge-refined-removed', `smerge-refined-added' in the call to
9996 `smerge-refine-subst'.
9997
9998 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9999 Add face condition `min-colors 88' with shades of red.
10000 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10001 `min-colors 88' with shades of green.
10002 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10003 `min-colors 88' with shades of yellow.
10004
6df9112c
GM
100052012-05-24 Glenn Morris <rgm@gnu.org>
10006
ead5edc0
GM
10007 * paths.el (prune-directory-list, remote-shell-program): Move to...
10008 * files.el (prune-directory-list, remote-shell-program): ...here.
10009 For the latter, delay initialization, prefer ssh, just search PATH.
10010
f18b81e6
GM
10011 * paths.el (term-file-prefix): Move to faces.el (the only user).
10012 * faces.el (term-file-prefix): Move here, make it a defcustom.
10013
ee2f89a6
GM
10014 * paths.el (news-directory, news-path, news-inews-program):
10015 Move to gnus/nnspool.el.
61a583ca 10016
f8815e4c
GM
10017 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10018
c8f3b42c
GM
10019 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10020 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10021 Make the latter a defcustom, with a delayed initialization.
10022
6df9112c
GM
10023 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10024 These were deleted from Gnus itself late 2010.
10025
5dadff36
JB
100262012-05-22 Juanma Barranquero <lekktu@gmail.com>
10027
9e1701c6
JB
10028 * progmodes/which-func.el (which-func-ff-hook):
10029 Check against user-error, not error.
10030
bd7239f5 10031 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
10032 cl-specs.el, which no longer exists.
10033
3290526d
GM
100342012-05-22 Glenn Morris <rgm@gnu.org>
10035
10036 * info.el (info-emacs-bug): New command.
10037 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10038 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10039
ff0c3cfb
GM
100402012-05-21 Glenn Morris <rgm@gnu.org>
10041
10042 * makefile.w32-in (update-subdirs-SH):
10043 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10044
5814f126
SM
100452012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10046
a52c0aa0
SM
10047 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10048
5814f126
SM
10049 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10050 Simplify Maven regexp, and make sure the file can't start with a space
10051 (bug#11517).
10052
b847032c
GM
100532012-05-21 Glenn Morris <rgm@gnu.org>
10054
10055 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10056 Scrap superfluous subshells.
10057
3858bfe7
SM
100582012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10061 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10062
d14b0029
JB
100632012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10064
10065 * calc/calc.el (calc-ensure-consistent-units): New variable.
10066
a52c0aa0
SM
10067 * calc/calc-units.el (math-consistent-units-p)
10068 (math-check-unit-consistency): New functions.
10069 (calc-quick-units, calc-convert-units):
10070 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10071 is non-nil.
d14b0029
JB
10072 (calc-extract-units): Fix typo.
10073
60c4db3a
SM
100742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10075
77f3b62e
SM
10076 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10077
60c4db3a
SM
10078 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10079 (flyspell-default-deplacement-commands): Don't spell check after
10080 repeated window/frame switches (e.g. triggered by mouse-movement).
10081 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10082 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10083 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10084 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10085 Remove unused vars.
10086 (flyspell-get-casechars, flyspell-get-not-casechars):
10087 Simplify; Don't bother removing a ] just to add it back.
10088 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10089
d209e2fb 100902012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
10091
10092 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10093 New functions.
bd7239f5 10094 (math-function-table): Add support for more C functions.
b1a10716 10095
3f1b25b5
AM
100962012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10097
090bd7cb
JB
10098 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10099 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10100 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 10101
b581bb5c
SM
101022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10105 their respective macro declarations.
10106 * skeleton.el (define-skeleton):
10107 * progmodes/compile.el (define-compilation-mode):
10108 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10109 (define-ibuffer-filter):
10110 * emacs-lisp/generic.el (define-generic-mode):
10111 * emacs-lisp/easy-mmode.el (define-minor-mode)
10112 (define-globalized-minor-mode):
10113 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10114 * emacs-lisp/byte-run.el (defsubst):
10115 * custom.el (deftheme): Add doc-string metadata.
10116
70b8ef8f
SM
101172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10120
b1198e17
SM
101212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10122
9abdc45d
SM
10123 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10124
b1198e17
SM
10125 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10126 * emacs-lisp/cl-macs.el: Idem.
10127 * emacs-lisp/cl-specs.el: Remove.
10128
4735906a
SM
101292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 Minor renaming of internal CL functions and variables.
10132 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10133 (cl--position): Rename from cl-position.
10134 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10135 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10136 (cl--random-state): Rename from *random-state*.
10137
ac348012
SM
101382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10141 parens around the arg list (bug#11499).
10142
a0a79cde
JL
101432012-05-17 Juri Linkov <juri@jurta.org>
10144
10145 * isearch.el (word-search-regexp, word-search-backward)
10146 (word-search-forward, word-search-backward-lax)
10147 (word-search-forward-lax): Move functions from search.c
10148 (bug#10145, bug#11381).
10149
65034a51
AM
101502012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10151
090bd7cb
JB
10152 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10153 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10154 Delay for otherchars as for normal word components.
65034a51 10155
1a72a195
SM
101562012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * minibuffer.el (completion--sifn-requote): Fix last change.
10159 (minibuffer-local-must-match-filename-map):
10160 Move define-obsolete-variable-alias before its var.
10161
fdb058c2
SM
101622012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10163
c41045e6
SM
10164 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10165
036dfb8b
SM
10166 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10167 behavior.
10168 (completion--string-equal-p): New function.
10169 (completion--twq-all): Use it to get better assertion failure data.
10170
2473256d
SM
10171 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10172 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10173 (shell--requote-argument): New functions.
10174 (shell-completion-vars): Use them.
10175 (shell--parse-pcomplete-arguments): Rename from
10176 shell-parse-pcomplete-arguments.
10177 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10178 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10179 Obey comint-file-name-quote-list.
10180
fdb058c2
SM
10181 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10182 (smie-indent-keyword): Use it.
10183
51fa99f1
SM
101842012-05-14 Stefan Merten <smerten@oekonux.de>
10185
10186 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10187
e18afed7 101882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10189
10190 * net/rlogin.el (rlogin-mode-map): Fix last change.
10191
e18afed7 101922012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10193
10194 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10195 the following \r\n using a single `process-send-string', since the
10196 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10197 with two `process-send-string's (Bug#11444).
8633b1f4 10198
e18afed7 101992012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10200
fdb058c2
SM
10201 * shell.el (shell-parse-pcomplete-arguments):
10202 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10203
2d21d7f6
WJ
102042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10205
e18afed7 10206 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10207 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10208 (image-transform-width, image-transform-fit-width): New functions.
10209 (image-transform-properties): Use them.
10210 (image-transform-check-size): New function.
10211 (image-toggle-display-image): Use it (for testing).
10212 (image-transform-set-rotation): Reduce angle mod 360.
10213 Delete obsolete comment.
10214
7102e6d0
WJ
102152012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10216
10217 * image-mode.el: Fix scaling (bug#11399).
10218 (image-transform-resize): Doc fix.
10219 (image-transform-properties): Default scale is 1 and height should
10220 be an integer.
10221
06bc5e6e
SM
102222012-05-13 Johan Bockgård <bojohan@gnu.org>
10223
10224 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10225 than hard-coding `car', to fix misbehavior when moving forward.
10226
0ae03b6a
CY
102272012-05-13 Chong Yidong <cyd@gnu.org>
10228
10229 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10230 (tabulated-list-entries, tabulated-list-padding)
10231 (tabulated-list-sort-key): Make permanent-local.
10232
10233 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10234 (electric-buffer-list): Put electric buffer menu
10235 command descriptions in this docstring, instead of the docstring
10236 of electric-buffer-menu-mode. Code cleanups.
10237 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10238 Electric-buffer-menu-mode.
10239 (electric-buffer-update-highlight): Minor code cleanup.
10240
205a7391
MA
102412012-05-13 Michael Albinus <michael.albinus@gmx.de>
10242
10243 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10244 (Bug#11447)
10245
e5bd0a28
SM
102462012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 Move define-obsolete-variable-alias before the var's definition.
10249 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10250 * tooltip.el (tooltip-hook):
10251 * textmodes/reftex-toc.el (reftex-toc-map):
10252 * textmodes/reftex-sel.el (reftex-select-label-map)
10253 (reftex-select-bib-map):
10254 * textmodes/reftex-index.el (reftex-index-map)
10255 (reftex-index-phrases-map):
10256 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10257 * progmodes/meta-mode.el (meta-mode-map):
10258 * novice.el (disabled-command-hook):
10259 * loadhist.el (unload-hook-features-list):
10260 * frame.el (blink-cursor):
10261 * files.el (find-file-not-found-hooks, write-file-hooks)
10262 (write-contents-hooks):
10263 * emulation/tpu-edt.el (GOLD-map):
10264 * emacs-lock.el (emacs-lock-from-exiting):
10265 * emacs-lisp/generic.el (generic-font-lock-defaults):
10266 * emacs-lisp/chart.el (chart-map):
10267 * dos-fns.el (register-name-alist):
10268 * dired-x.el (dired-omit-files-p):
10269 * desktop.el (desktop-enable):
10270 * cus-edit.el (custom-mode-hook):
10271 * buff-menu.el (buffer-menu-mode-hook):
10272 * bookmark.el (bookmark-read-annotation-text-func)
10273 (bookmark-exit-hooks):
10274 * allout.el (allout-mode-deactivate-hook)
10275 (allout-exposure-change-hook, allout-structure-added-hook)
10276 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10277 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10278 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10279 comes before the corresponding variable's definition.
10280
ac59c2f6
CY
102812012-05-12 Chong Yidong <cyd@gnu.org>
10282
10283 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10284 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10285 (Buffer-menu-mode-map): Bind it.
10286 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10287
dee6c9a3
SM
102882012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10289
2171cea5
SM
10290 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10291 (prolog-upper-case-string, prolog-lower-case-string)
10292 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10293 (prolog-use-smie, prolog-smie-grammar): New vars.
10294 (prolog-smie-forward-token, prolog-smie-backward-token)
10295 (prolog-smie-rules): New funs.
10296 (prolog-comment-indent): Remove.
10297 (prolog-mode-variables): Use default comment indentation instead.
10298 Setup SMIE.
10299 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10300 (prolog-mode): Don't call them any more.
10301 (prolog-electric-colon, prolog-electric-dash)
10302 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10303
aa0382bd
SM
10304 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10305
dbacb4bd
SM
10306 * minibuffer.el (completion--twq-all): Again, allow case differences.
10307
13bdd94c
SM
10308 * term.el: Move keymap initialization code to be more idiomatic.
10309 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10310 (term-terminal-menu): Move initialization into declaration.
10311 (term-escape-char): Let the user set it in her .emacs.
10312
ff46c759
SM
10313 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10314 Provide SMIE-based indentation (not enabled by default yet).
10315 (sh-mode-map): Don't bind electric keys.
10316 Use electric-pair-mode instead of skeleton-pair.
10317 (sh-assignment-regexp): Fit within 80 columns.
10318 (sh-indent-supported): Specify actual shell name instead of boolean.
10319 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10320 (sh-maybe-here-document): Use it. Make obsolete.
10321 (sh-electric-here-document-mode) New minor mode.
10322 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10323 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10324 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10325 (sh-smie-rc-grammar, sh-use-smie): New vars.
10326 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10327 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10328 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10329 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10330 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10331 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10332 (sh-set-shell): Use smie-setup if requested.
10333
dee6c9a3
SM
10334 * term.el (term-set-escape-char): Properly set term-escape-char.
10335 See http://stackoverflow.com/questions/10524656.
10336
9f9aa044
CY
103372012-05-10 Chong Yidong <cyd@gnu.org>
10338
10339 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10340 Use url-generic-parse-url, and handle host names and Windows
10341 filenames properly.
10342 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10343 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10344 URL schemes to work on.
10345 (ffap--toggle-read-only): New function.
10346 (ffap-read-only, ffap-read-only-other-window)
10347 (ffap-read-only-other-frame): Use it.
10348 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10349 necessary for ffap-url-unwrap-remote.
10350
836d29b3
DA
103512012-05-10 Dave Abrahams <dave@boostpro.com>
10352
10353 * cus-start.el (create-lockfiles): Add it.
10354
00fd78ed
CY
103552012-05-09 Chong Yidong <cyd@gnu.org>
10356
10357 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10358 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10359
666b903b 103602012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10361
10362 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10363
666b903b 103642012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10365
10366 * ansi-color.el (ansi-color-process-output): Check for validity of
10367 comint-last-output-start before using it. This avoids a bad
10368 interaction with gdb-mi's input/output buffer.
10369
666b903b 103702012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10371
10372 * files.el (dir-locals-read-from-file):
10373 Mention dir-locals in any error message.
10374
666b903b 103752012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10376
10377 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10378 package (Bug#11410).
10379
f677562b
CY
10380 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10381 variables into description.
10382
666b903b 103832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10384
10385 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10386 shell-delimiter-argument-list (bug#11348).
10387 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10388
b499d8d0
JB
103892012-05-09 Juanma Barranquero <lekktu@gmail.com>
10390
8f6b6da8
JB
10391 * textmodes/rst.el: Silence byte-compiler warnings.
10392 (rst-re-alist, rst-reset-section-caches): Move around.
10393 (rst-re): Use `characterp', not `char-valid-p'.
10394 (font-lock-beg, font-lock-end): Declare.
10395
4824146a
JB
10396 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10397 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10398
b499d8d0
JB
10399 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10400
ad89bb83
GM
104012012-05-08 Glenn Morris <rgm@gnu.org>
10402
10403 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10404
8bba5a75
SM
104052012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10406
49ed9c8e
SM
10407 * vc/log-edit.el: Add GNU coding standards highlighting.
10408 (log-edit-font-lock-gnu-style)
10409 (log-edit-font-lock-gnu-keywords): New vars.
10410 (log-edit-font-lock-keywords): New fun.
10411 (log-edit-mode): Don't fold case in font-lock.
10412 (log-edit-font-lock-keywords): Do not assume case-folding.
10413
07d00b56
SM
10414 * imenu.el: Misc cleanup. Make docstrings out of comments.
10415 Use lexical-binding.
10416 (imenu--index-alist, imenu--last-menubar-index-alist)
10417 (imenu-menubar-modified-tick): Use defvar-local.
10418 (imenu--split-menu): Remove unused var.
10419 (imenu--cleanup-seen): Declare as global.
10420 (imenu--cleanup): Use dolist.
10421
8bba5a75
SM
10422 * subr.el (defvar-local): Add debug spec and doc-string position.
10423
5075bdb5
GM
104242012-05-08 Glenn Morris <rgm@gnu.org>
10425
090bd7cb 10426 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10427 * language/english.el, language/georgian.el, language/greek.el:
10428 * language/japanese.el, language/khmer.el, language/korean.el:
10429 * language/lao.el, language/misc-lang.el, language/romanian.el:
10430 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10431 * language/thai.el, language/utf-8-lang.el:
10432 Remove no-byte-compile setting.
10433
5075bdb5
GM
10434 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10435
06f679a7
AH
104362012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10437
10438 * progmodes/make-mode.el (makefile-browse):
10439 Remove unnecessary interactive. (Bug#11324)
10440
03794570
GM
104412012-05-07 Glenn Morris <rgm@gnu.org>
10442
af8630f4
GM
10443 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10444
03794570
GM
10445 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10446
f0809a9d
SM
104472012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10448
28be5ce7
SM
10449 * loadup.el: Preload newcomment.el.
10450 * newcomment.el: Move autoload-only code to toplevel.
10451
f0809a9d
SM
10452 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10453 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10454 Handle new :right-align column property.
10455 (tabulated-list-print-col): Idem, plus use `display' text-property to
10456 try and preserve alignment for variable pitch fonts.
10457
1241b724
CY
104582012-05-07 Chong Yidong <cyd@gnu.org>
10459
10460 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10461 (tabulated-list-use-header-line): New var.
10462 (tabulated-list-init-header): Use it.
10463 (tabulated-list-print-fake-header): New function.
10464 (tabulated-list-print): Use it.
10465 (tabulated-list-sort-button-map): Add non-header-line commands.
10466 (tabulated-list-init-header): Add column name property to basic
10467 labels as well.
10468 (tabulated-list-col-sort): Handle non-header-line button case.
10469 (tabulated-list--sort-by-column-name): Fix a corner case.
10470
f0809a9d
SM
10471 * buff-menu.el (list-buffers--refresh):
10472 Handle Buffer-menu-use-header-line.
1241b724 10473
e5f9458f
CY
104742012-05-06 Chong Yidong <cyd@gnu.org>
10475
10476 * buff-menu.el: Convert to Tabulated List mode.
10477 (Buffer-menu-buffer+size-width): Make obsolete.
10478 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10479 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10480 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10481 documentation into docstring of buffer-menu.
10482 (Buffer-menu-toggle-files-only): Add an informative message.
10483 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10484 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10485 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10486 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10487 (Buffer-menu-execute, Buffer-menu-select)
10488 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10489 (Buffer-menu-bury): Use Tabulated List machinery.
10490 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10491 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10492 Delete.
e5f9458f
CY
10493 (list-buffers--refresh): New function.
10494 (list-buffers-noselect): Use it.
10495 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10496 (Buffer-menu--pretty-file-name): New helper functions.
10497
10498 * loadup.el: Preload tabulated-list.
10499
10500 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10501 tabulated-list-sort-column.
10502 (tabulated-list-init-header): Add the initial aligning space even
10503 if tabulated-list-padding is zero.
10504
e129292c
CS
105052012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10506
10507 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10508 whose cdr is not a cons cell correctly (bug#11038).
10509
6632d361
CY
105102012-05-06 Chong Yidong <cyd@gnu.org>
10511
e129292c
CS
10512 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10513 Accept additional plist in column descriptors.
6632d361
CY
10514 (tabulated-list-init-header): Obey it.
10515 (tabulated-list-get-entry): New function.
10516 (tabulated-list-put-tag): Use it. Use string-width instead of
10517 length.
10518 (tabulated-list--column-number): New function.
10519 (tabulated-list-print): Use it.
e129292c
CS
10520 (tabulated-list-print-col): New function.
10521 Set `tabulated-list-column-name' property on each column's text.
6632d361 10522 (tabulated-list-print-entry): Use it.
e129292c
CS
10523 (tabulated-list-delete-entry, tabulated-list-set-col):
10524 New functions.
6632d361
CY
10525 (tabulated-list-sort-column): New command (Bug#11337).
10526
3cc99f68
CY
10527 * buff-menu.el (list-buffers): Move C-x C-b binding from
10528 buff-menu.el to bindings.el.
10529
10530 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10531 :advertised-binding feature.
10532
52b61776
TN
105332012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10534
10535 * progmodes/compile.el (compilation-internal-error-properties):
10536 Calculate start position correctly when end-col is set but
10537 end-line is not (Bug#11382).
10538
ebfe2597
WJ
105392012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10540
10541 * man.el (Man-unindent): Use text-property-default-nonsticky to
10542 prevent untabify from inheriting face properties (Bug#11408).
10543
6d3f7c2f
SM
105442012-05-05 Stefan Merten <smerten@oekonux.de>
10545
10546 * textmodes/rst.el: Major merge with upstream development up to
10547 Docutils SVN r7399 / rst.el V1.2.1.
10548
10549 Clarify maintainership and authors.
10550
10551 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10552 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10553 (rst-official-version, rst-official-cvs-rev, rst-version)
10554 (rst-package-emacs-version-alist): New functions and variables
10555 for version information.
10556
10557 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10558 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10559 (rst-mode-syntax-table, rst-mode): New and corrected functions
10560 and variables representing reStructuredText features.
10561
10562 (rst-re): New function for reStructuredText regexes. Use in
10563 many places.
10564
10565 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10566 (rst-mode-map): Rebind keys.
10567
10568 (rst-mode-lazy, rst-font-lock-keywords)
10569 (rst-font-lock-extend-region)
10570 (rst-font-lock-extend-region-internal)
10571 (rst-font-lock-extend-region-extend)
10572 (rst-font-lock-find-unindented-line-limit)
10573 (rst-font-lock-find-unindented-line-match)
10574 (rst-adornment-level, rst-font-lock-adornment-level)
10575 (rst-font-lock-adornment-match)
10576 (rst-font-lock-handle-adornment-pre-match-form)
10577 (rst-font-lock-handle-adornment-matcher): Major revision of
10578 font-locking. Integrate with other code. Use `jit-lock-mode'.
10579
10580 (rst-preferred-adornments, rst-adjust-hook)
10581 (rst-new-adornment-down, rst-preferred-bullets)
10582 (rst-preferred-bullets, rst-indent, rst-indent-width)
10583 (rst-indent-field, rst-indent-literal-normal)
10584 (rst-indent-literal-minimized, rst-indent-comment): Change,
10585 extend and improve customization.
10586
10587 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10588 (rst-normalize-cursor-position, rst-get-decoration)
10589 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10590 (rst-rstrip, rst-toc-insert-find-delete-contents)
10591 (rst-shift-fill-region, rst-compute-bullet-tabs)
10592 (rst-debug-print-tabs, rst-debug-mark-found)
10593 (rst-shift-region-guts, rst-shift-region-right)
10594 (rst-shift-region-left, rst-use-char-classes)
10595 (rst-font-lock-keywords-function)
10596 (rst-font-lock-indentation-point)
10597 (rst-font-lock-find-unindented-line-begin)
10598 (rst-font-lock-find-unindented-line-end)
10599 (rst-font-lock-find-unindented-line)
10600 (rst-font-lock-adornment-point, rst-font-lock-level)
10601 (rst-adornment-level-alist): Remove functions and variables.
10602
10603 (rst-compare-adornments, rst-get-adornment-match)
10604 (rst-suggest-new-adornment, rst-get-adornments-around)
10605 (rst-adornment-complete-p, rst-get-next-adornment)
10606 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10607 (rst-straighten-adornments): Standardize function names to
10608 use "adornment" instead of "decoration". Correct callers.
10609 Similar standardizing in many places.
10610
10611 (rst-update-section, rst-adjust, rst-promote-region)
10612 (rst-enumerate-region, rst-bullet-list-region)
10613 (rst-repeat-last-character): Correct use of `interactive'.
10614
10615 (rst-classify-adornment, rst-find-all-adornments)
10616 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10617 (rst-find-leftmost-column, rst-repeat-last-character):
10618 Refactor functions.
10619
10620 (rst-find-title-line, rst-reset-section-caches)
10621 (rst-get-adornments-around, rst-adjust-adornment-work)
10622 (rst-arabic-to-roman, rst-roman-to-arabic)
10623 (rst-insert-list-pos, rst-insert-list-new-item)
10624 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10625 New functions.
10626
10627 (rst-all-sections, rst-section-hierarchy)
10628 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10629 New variables.
10630
10631 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10632 configuration instead of only buffer. Change where necessary.
10633
10634 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10635 (rst-shift-region, rst-adaptive-fill): New functions for
10636 indentation and filling.
10637
10638 (rst-comment-line-break, rst-comment-indent)
10639 (rst-comment-insert-comment, rst-comment-region)
10640 (rst-uncomment-region): New functions for handling comments.
10641
10642 (rst-compile): Quote shell arguments.
10643
10644 (rst-compile-pdf-preview, rst-compile-slides-preview):
10645 Delete temporary files after use.
10646
a43f98b3
GM
106472012-05-05 Glenn Morris <rgm@gnu.org>
10648
48176e8b
GM
10649 * calendar/cal-html.el: Optionally include holidays in the output.
10650 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10651 (cal-html-holidays): New option.
10652 (cal-html-css-default): Add holiday entry.
10653 (holiday-in-range): Autoload it.
10654 (cal-html-htmlify-entry): Add optional class argument.
10655 (cal-html-htmlify-list): Add optional holidays argument.
10656 (cal-html-insert-agenda-days): Include holidays in the output.
10657 (cal-html-one-month): Maybe include holidays.
10658
a43f98b3
GM
10659 * calendar/holidays.el (holiday-in-range):
10660 Move here from cal-tex-list-holidays.
10661 * calendar/cal-tex.el (cal-tex-list-holidays):
10662 Make it an obsolete alias for holiday-in-range. Update all callers.
10663
fef9d149 106642012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10665
10666 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10667 Nextstep.
10668
248da2f4
RW
106692012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10670
10671 * files.el (file-auto-mode-skip): New var.
10672 (set-auto-mode-1): Use it.
10673
f95e9344
SM
106742012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10675
df96ab1e
SM
10676 * repeat.el: Use lexical-binding.
10677 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10678 (repeat-undo-count): Remove.
10679 (repeat):
10680 * progmodes/octave-mod.el (octave-abbrev-start):
10681 * progmodes/f90.el (f90-abbrev-start):
10682 * face-remap.el (text-scale-adjust):
10683 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10684
5342bb06
SM
10685 * emacs-lisp/pcase.el (pcase--let*): New function.
10686 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10687 a bit more.
10688 (pcase--split-pred): Be more clever about ruling out overlap between
10689 a predicate and some constant pattern.
10690 (pcase--q1): Use `null' instead of (eq foo nil).
10691
f95e9344
SM
10692 * subr.el (setq-local, defvar-local): New macros.
10693 (kbd): Redefine as an alias.
10694 (with-selected-window): Leave unrelated frames alone.
10695 (set-temporary-overlay-map): New function.
10696
71873e2b
SM
106972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * subr.el (user-error): New function.
10700 * window.el (switch-to-buffer):
10701 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10702 (smerge-match-conflict):
10703 * simple.el (previous-matching-history-element)
10704 (next-matching-history-element, goto-history-element, undo-more)
10705 (undo-start):
10706 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10707 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10708 (next-file, tags-loop-scan, list-tags, complete-tag):
10709 * progmodes/compile.el (compilation-loop):
10710 * mouse.el (mouse-minibuffer-check):
10711 * man.el (Man-bgproc-sentinel, Man-goto-page):
10712 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10713 (Info-history-forward, Info-follow-reference, Info-menu)
10714 (Info-extract-menu-item, Info-extract-menu-counting)
10715 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10716 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10717 (Info-next-reference, Info-prev-reference, Info-index)
10718 (Info-index-next, Info-follow-nearest-node)
10719 (Info-copy-current-node-name):
10720 * imenu.el (imenu--make-index-alist)
10721 (imenu-default-create-index-function, imenu-add-to-menubar):
10722 * files.el (basic-save-buffer, recover-file):
10723 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10724 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10725 (checkdoc-message-text, checkdoc-defun):
10726 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10727 * cus-edit.el (customize-changed-options, customize-rogue)
10728 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10729 (custom-variable-mark-to-reset-standard)
10730 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10731 (custom-file):
10732 * completion.el (check-completion-length):
10733 * comint.el (comint-search-arg)
10734 (comint-previous-matching-input-string-position)
10735 (comint-previous-matching-input)
10736 (comint-replace-by-expanded-history-before-point, comint-send-input)
10737 (comint-copy-old-input, comint-backward-matching-input)
10738 (comint-goto-process-mark, comint-set-process-mark):
10739 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10740 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10741
8a61ee22
SM
107422012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10743
66408d1e
SM
10744 * dabbrev.el (dabbrev--ignore-case-p): New function.
10745 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10746 Use it.
10747
8a61ee22
SM
10748 * files.el (automount-dir-prefix): Mark as obsolete.
10749
3c74813a
GM
107502012-05-04 Glenn Morris <rgm@gnu.org>
10751
10752 * patcomp.el, play/bruce.el: Move to obsolete/.
10753
0bfcf5c5
PE
107542012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10755
10756 Fix minor Y10k bugs.
10757 * arc-mode.el (archive-unixdate):
10758 * autoinsert.el (auto-insert-alist):
10759 * calc/calc-forms.el (math-this-year):
10760 * emacs-lisp/copyright.el (copyright-current-year)
10761 (copyright-update-year, copyright):
10762 * tar-mode.el (tar-clip-time-string):
10763 * time.el (display-time-update):
10764 Don't assume years have 4 digits.
10765
78f3273a
CY
107662012-05-04 Chong Yidong <cyd@gnu.org>
10767
10768 * dos-w32.el (file-name-buffer-file-type-alist)
10769 (direct-print-region-use-command-dot-com):
10770 * ffap.el (ffap-menu-regexp):
10771 * find-file.el (ff-special-constructs):
10772 * follow.el (follow-debug):
10773 * forms.el (forms--debug):
10774 * iswitchb.el (iswitchb-all-frames):
10775 * ido.el (ido-all-frames):
10776 * emacs-lisp/timer.el (timer-max-repeats):
10777 * mail/feedmail.el (feedmail-mail-send-hook)
10778 (feedmail-mail-send-hook-queued):
10779 * mail/footnote.el (footnote-signature-separator):
10780 * mail/mailabbrev.el (mail-alias-separator-string)
10781 (mail-abbrev-mode-regexp):
10782 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10783 * progmodes/idlwave.el (idlwave-libinfo-file)
10784 (idlwave-default-completion-case-is-down)
10785 (idlwave-library-routines): Convert defvars to defcustoms.
10786
10787 * mail/rmail.el (rmail-decode-mime-charset):
10788 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10789 (idlwave-shell-fix-inserted-breaks)
10790 (idlwave-shell-activate-alt-keybindings)
10791 (idlwave-shell-use-breakpoint-glyph):
10792 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10793
f7ae6719
SM
107942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10797
47086495
WS
107982012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10799
10800 * progmodes/verilog-mode.el (font-lock-keywords):
10801 Fix mis-highligting auto. Reported by Craig Barner.
10802 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10803 defines from global name space. Reported by Dan Dever.
47086495
WS
10804 (verilog-auto-reset, verilog-auto-reset-widths)
10805 (verilog-auto-tieoff): Support using unbased numbers for
10806 AUTORESET and AUTOTIEOFF.
10807 (verilog-submit-bug-report): Update variable list.
10808 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10809 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10810 (verilog-auto-template-lint): Fix hash error when linting modules
10811 with no used templates.
10812 (verilog-warn, verilog-warn-error)
10813 (verilog-warn-fatal): When non-interactive report multiple
10814 warnings before exiting. Suggested by Brad Dobbie.
10815 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10816 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10817 to report unused template errors. Reported by Brad Dobbie.
10818 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10819 nets, bug438. Reported by Vns Blore.
47086495
WS
10820 (verilog-auto-inout-module, verilog-auto-reg)
10821 (verilog-read-decls, verilog-read-sub-decls-sig)
10822 (verilog-signals-edit-wire-reg, verilog-signals-with):
10823 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10824 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10825 "reg" for backwards compatibility presuming Verilog 2001.
10826 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10827 (verilog-preprocess): Fix replication of preprocess output.
10828 Reported by Brad Dobbie.
10829 (verilog-auto-inst-interfaced-ports):
10830 Create verilog-auto-inst-interfaced-ports, bug429.
10831 Reported by Julian Gorfajn.
10832 (verilog-after-save-font-hook)
10833 (verilog-before-save-font-hook): New variable.
10834 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10835 (verilog-save-font-mods): Wrap disabling fontification, reported
10836 by David Rogoff.
10837 (verilog-do-indent, verilog-pretty-declarations-auto)
10838 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10839 Reported by Pierre-David Pfister.
10840 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10841 of class declarations, bug292. Reported by Kevin Heilman.
10842 (verilog-read-decls): Fix 'parameter type' not appearing in
10843 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10844 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10845 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10846 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10847 Reported by David Kravitz.
10848
108492012-05-03 Michael McNamara <mac@mail.brushroad.com>
10850
10851 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10852 assignment with tests in ifs and for loops.
10853 (verilog-extended-complete-re, verilog-complete-reg): Change so
10854 that DPI inport functions don't look like fuction declarations.
10855 (verilog-pretty-expr): Don't line up assignment
10856 operations to the test and increment in if and for loops
10857 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10858 that DPI inport functions don't look like fuction declarations.
47086495 10859
2e51d4b5
KH
108602012-05-03 Kenichi Handa <handa@m17n.org>
10861
10862 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10863 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10864 (Bug#11282).
10865
2bd785a2
SM
108662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * emacs-lisp/bytecomp.el
10869 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10870 since cconv.el might have introduced :fun-body, internal-make-closure,
10871 and friends for bytecomp to handle (bug#11391).
10872 * custom.el (defcustom): Avoid ((λ ..) ..).
10873
99d27583
SM
108742012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10877
55a71479
JB
108782012-05-02 Juanma Barranquero <lekktu@gmail.com>
10879
10880 * notifications.el (dbus-debug):
10881 * term/linux.el (gpm-mouse-enable):
10882 * term/screen.el (xterm-register-default-colors): Declare.
10883
7b97c764
CY
108842012-05-02 Chong Yidong <cyd@gnu.org>
10885
2bc356d7
CY
10886 * cus-start.el (gc-cons-percentage, exec-suffixes)
10887 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10888 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10889 (make-cursor-line-fully-visible, void-text-area-pointer)
10890 (font-list-limit): Add customization data.
10891
7b97c764
CY
10892 * allout.el (allout-exposure-change-functions)
10893 (allout-structure-added-functions)
10894 (allout-structure-deleted-functions)
10895 (allout-structure-shifted-functions): Rename abnormal hooks from
10896 *-hook, and convert to defcustoms.
5d3385a0
JB
10897 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10898 Convert to defcustoms.
7b97c764
CY
10899 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10900
10901 * allout-widgets.el: Hook callers changed.
10902
90207a15 109032012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10904
10905 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10906 the yanked message in preference to the default value of
10907 buffer-file-coding-system.
10908
90207a15 109092012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10910
5d3385a0
JB
10911 * window.el (display-buffer--action-function-custom-type):
10912 Fix entry.
d9558cad 10913
90207a15 109142012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10915
10916 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10917
d80ac57b
GM
109182012-05-01 Glenn Morris <rgm@gnu.org>
10919
976f7668
GM
10920 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10921
beb83b5a
GM
10922 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10923
d80ac57b
GM
10924 * cus-edit.el (custom-variable-documentation): Simplify with format.
10925
b593d6a9 109262012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10927 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10928
10929 * simple.el (suggest-key-bindings, execute-extended-command):
10930 Move from keyboard.c.
10931
782fbf2a
CY
109322012-05-01 Chong Yidong <cyd@gnu.org>
10933
10934 * follow.el: Eliminate advice.
10935 (set-process-filter, process-filter, sit-for): Advice deleted.
10936 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10937 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10938 Vars deleted.
782fbf2a
CY
10939 (follow-auto): Use a :set function.
10940 (follow-mode): Rewritten. Don't advise process filters.
10941 (follow-switch-to-current-buffer-all, follow-scroll-up)
10942 (follow-scroll-down): Assume follow-mode is bound.
10943 (follow-comint-scroll-to-bottom)
10944 (follow-align-compilation-windows): New functions.
10945 (follow--window-sorter): New function.
10946 (follow-all-followers): Use it to explicitly sort windows by their
10947 positions; don't make assumptions about next-window order.
10948 (follow-windows-start-end, follow-delete-other-windows-and-split)
10949 (follow-calc-win-start): Doc fix.
10950 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10951 vertical-motion unnecessarily.
10952 (follow-adjust-window): New function.
10953 (follow-post-command-hook): Use it.
10954 (follow-call-set-process-filter, follow-call-process-filter)
10955 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10956 (follow-stop-intercept-process-output, follow-generic-filter):
10957 Functions deleted.
10958 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10959 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10960 New functions, replacing advice on scroll-bar-* commands.
87233a14 10961 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10962
10963 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10964 (comint-postoutput-scroll-to-bottom): Use it.
10965 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10966
290af740
GM
109672012-05-01 Glenn Morris <rgm@gnu.org>
10968
10969 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10970 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10971 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10972 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10973 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10974 Remove no-byte-compile setting.
10975
6eac8dc9
SM
109762012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10979 all-completions code to not return a number in the last cdr.
10980
9cc7819c
LL
109812012-04-30 Leo Liu <sdl.web@gmail.com>
10982
10983 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10984 read-only error.
10985
c93b886f
CY
109862012-04-29 Chong Yidong <cyd@gnu.org>
10987
10988 * follow.el (follow-calc-win-end): Rewrite to handle partial
10989 screen lines correctly (Bug#8390).
10990 (follow-avoid-tail-recenter): Minor cleanup.
10991
8b6c19f4
SM
109922012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10993
10994 Avoid the obsolete `assoc' package.
10995 * speedbar.el (speedbar-refresh): Avoid adelete.
10996 (speedbar-file-lists): Simplify and avoid aput.
10997 * man.el (Man--sections, Man--refpages): New vars, replacing
10998 Man-sections-alist and Man-refpages-alist.
10999 (Man-build-section-alist, Man-build-references-alist):
11000 Use them; avoid aput.
11001 (Man--last-section, Man--last-refpage): New vars.
11002 (Man-follow-manual-reference): Use them.
11003 Use the `default' arg of completing-read.
11004 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11005
c5bb7569
CY
110062012-04-27 Chong Yidong <cyd@gnu.org>
11007
d1d2e2e8
CY
11008 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11009
15cd8efd
CY
11010 * startup.el (x-apply-session-resources): New function.
11011
11012 * term/ns-win.el (ns-initialize-window-system):
11013 * term/w32-win.el (w32-initialize-window-system):
11014 * term/x-win.el (x-initialize-window-system): Use it to properly
11015 set menu-bar-mode and other vars from X resources, even if the
11016 initial frame is not a window-system frame (Bug#2299).
11017
c5bb7569
CY
11018 * subr.el (read-key): Avoid running filter function when setting
11019 up temporary tool bar entries (Bug#9922).
11020
a8e7d6d7 110212012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
11022
11023 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11024 (Bug#11344)
11025
a8e7d6d7 110262012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
11027
11028 * select.el (xselect--encode-string): New function, split from
11029 xselect-convert-to-string.
11030 (xselect-convert-to-string): Use it.
11031 (xselect-convert-to-filename, xselect-convert-to-os)
11032 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11033 returned strings are properly encoded (Bug#11315).
11034
a8e7d6d7 110352012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
11036
11037 * simple.el (delete-active-region): Move to killing custom group.
11038
a8e7d6d7 110392012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
11040
11041 * progmodes/which-func.el (which-func-current): Quote %
11042 characters for mode-line processing.
11043
578c1d4b 110442012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
11045
11046 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11047 reaching eob (Bug#11286).
11048
a8e7d6d7 110492012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
11050
11051 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11052 (gdb): Make it buffer-local and init to zero.
11053 (gdb-control-commands-regexp): New variable.
11054 (gdb-send): Don't wrap in "-interpreter-exec console" if
11055 gdb-control-level is positive. Increment gdb-control-level
11056 whenever the command matches gdb-control-commands-regexp, and
11057 decrement it each time the command is "end". (Bug#11279)
11058
a8e7d6d7 110592012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
11060
11061 * window.el (adjust-window-trailing-edge, enlarge-window)
11062 (shrink-window, window-resize):
11063 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11064 windows (Bug#11276).
11065
b3608390
CY
110662012-04-27 Chong Yidong <cyd@gnu.org>
11067
11068 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 11069 fix "missing prefix" warning. All callers changed.
b3608390 11070
797e6e88
SM
110712012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * emacs-lisp/assoc.el: Move to obsolete/.
11074
e95a67dc
SM
110752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11076
657c21e4 11077 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
11078
11079 * term/ns-win.el (ns-define-service):
11080 * progmodes/pascal.el (pascal-goto-defun):
11081 * progmodes/js.el (js--read-tab):
11082 * progmodes/etags.el (tags-lazy-completion-table):
11083 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11084 * emacs-lisp/ewoc.el (ewoc--wrap):
11085 * emacs-lisp/assoc.el (aput, adelete, amake):
11086 * doc-view.el (doc-view-convert-current-doc):
11087 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11088
cb3e7ae0
CY
110892012-04-26 Chong Yidong <cyd@gnu.org>
11090
dce04f7f
CY
11091 * image.el (image-type-from-buffer): Only return supported image
11092 type (Bug#9045).
11093
cb3e7ae0
CY
11094 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11095 value, for symmetry with diff-end-of-hunk.
11096 (diff-split-hunk, diff-find-source-location)
11097 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11098 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11099 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11100 compute the relevant hunk or file properly (Bug#6005).
11101 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11102
0d42eb3e
SM
111032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * vc/vc-mtn.el:
11106 * vc/vc-hg.el:
11107 * vc/vc-git.el:
11108 * vc/vc-dir.el:
11109 * vc/vc-cvs.el:
11110 * vc/vc-bzr.el:
11111 * vc/vc-arch.el:
11112 * vc/vc.el: Replace lexical-let by lexical-binding.
11113 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11114 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11115 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11116
f08ae1c9
CY
111172012-04-26 Chong Yidong <cyd@gnu.org>
11118
8b71081d
CY
11119 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11120 (diff-mode-shared-map): Bind it to / and [remap undo].
11121
f08ae1c9
CY
11122 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11123 (ediff-window-setup-function): Use it as the default, to set up
11124 windows based on whether the current frame is graphical (Bug#2138).
11125 (ediff-choose-window-setup-function-automatically): Make obsolete.
11126
11127 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11128
ef24141c
SM
111292012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11130
cc356a5d
SM
11131 * ffap.el: Remove old code for obsolete package.
11132 (ffap-complete-as-file-p): Remove.
11133
b4ff4f1f
SM
11134 Use completion-table-with-quoting for comint and pcomplete.
11135 * comint.el (comint--unquote&requote-argument)
11136 (comint--unquote-argument, comint--requote-argument): New functions.
11137 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11138 (comint-quote-filename): Use regexp-opt-charset.
11139 (comint--common-suffix, comint--common-quoted-suffix)
11140 (comint--table-subvert): Remove.
11141 (comint-unquote-function, comint-requote-function): New vars.
11142 (comint--complete-file-name-data): Use them with
11143 completion-table-with-quoting.
11144 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11145 * pcomplete.el (pcomplete-arg-quote-list)
11146 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11147 (pcomplete-unquote-argument-function): Default to non-nil.
11148 (pcomplete-unquote-argument): Simplify.
11149 (pcomplete--common-quoted-suffix): Remove.
11150 (pcomplete-requote-argument-function): New var.
11151 (pcomplete--common-suffix): New function.
11152 (pcomplete-completions-at-point): Use completion-table-with-quoting
11153 and completion-table-subvert.
11154
79c4eeb4
SM
11155 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11156 (minibuffer--double-dollars): Preserve properties.
11157 (completion--sifn-requote): New function.
11158 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11159
ef24141c
SM
11160 * minibuffer.el: Add support for completion of quoted/escaped data.
11161 (completion-table-with-quoting, completion-table-subvert): New funs.
11162 (completion--twq-try, completion--twq-all): New functions.
11163 (completion--nth-completion): New function.
11164 (completion-try-completion, completion-all-completions): Use it.
11165
784e7d6e
LL
111662012-04-25 Leo Liu <sdl.web@gmail.com>
11167
dd2ac746
SM
11168 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11169 Use compilation-message if available to find real filename.
784e7d6e 11170
07875ee7
CY
111712012-04-25 Chong Yidong <cyd@gnu.org>
11172
11173 * vc/diff-mode.el (diff-setup-whitespace): New function.
11174 (diff-mode): Use it.
11175
11176 * vc/diff.el (diff-sentinel):
11177 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11178 Whitespace mode variables based on diff style (Bug#8612).
11179
5055880d
LL
111802012-04-25 Leo Liu <sdl.web@gmail.com>
11181
daf75653
LL
11182 * progmodes/python.el (python-send-region): Add suffix .py to the
11183 temp file.
11184
5055880d
LL
11185 * files.el (auto-mode-alist): Use javascript-mode instead.
11186
db9b177b
AH
111872012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11188
ef24141c 11189 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11190
090bd7cb 11191 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11192 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11193 references, see Bug#9.
ef24141c 11194 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11195 when receiving a fault reply.
ef24141c 11196 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11197
090bd7cb 11198 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11199 (soap-inspect-simple-type): New function.
db9b177b 11200
090bd7cb 11201 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11202 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11203 (soap-decode-basic-type, soap-encode-basic-type):
11204 support unsignedInt and double basic types.
db9b177b 11205 (soap-resolve-references-for-simple-type)
ef24141c
SM
11206 (soap-parse-simple-type, soap-encode-simple-type): New function.
11207 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11208
090bd7cb 11209 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
11210 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11211 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11212 the local name of "soapenc:Array".
11213 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
11214 decoding integer, byte and anyURI xsd types.
11215
1fc6097b
CY
112162012-04-25 Chong Yidong <cyd@gnu.org>
11217
11218 * cus-edit.el (custom-buffer-create-internal): Update header text.
11219
afc6df87
EZ
112202012-04-25 Eli Zaretskii <eliz@gnu.org>
11221
11222 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11223 settings on 'system-type', not on 'window-system'. On MS-Windows,
11224 set interactive-mode on in GDB.
11225
dfbd787f
SM
112262012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11229 (ruby-syntax-propertize-regexp): Remove.
11230 (ruby-syntax-propertize-function): Split regexp into chunks.
11231 Match following code directly.
11232
85222d44
DG
112332012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11234
51a8ea2a
DG
11235 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11236 (ruby-syntax-propertize-regexp): New function.
11237 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11238 by a special keyword.
11239
85222d44
DG
11240 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11241 (ruby-syntax-general-delimiters-goto-beg)
11242 (ruby-syntax-propertize-general-delimiters): New functions.
11243 (ruby-syntax-propertize-function): Use them to handle GDL.
11244 (ruby-font-lock-keywords): Move old handling of GDL...
11245 (ruby-font-lock-syntactic-keywords): .. to here.
11246 (ruby-calculate-indent): Adjust indentation for GDL.
11247
b613912b
MA
112482012-04-24 Michael Albinus <michael.albinus@gmx.de>
11249
b5380639
MA
11250 * notifications.el (top): Remove unneeded declarations.
11251 (notifications-specification-version): Change to "1.2".
e43042fe 11252 (notifications-interface, notifications-notify-method)
b613912b
MA
11253 (notifications-close-notification-method): Fix docstring.
11254 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11255 (notifications-notify): Add :action-items, :resident and
11256 :transient hints. Change "image_data" to "image-data" and
11257 "image_path" to "image-path".
b613912b
MA
11258 (notifications-get-capabilities): New defun.
11259
257440aa
LL
112602012-04-24 Leo Liu <sdl.web@gmail.com>
11261
11262 * progmodes/python.el: Move hideshow setup to the end.
11263
b1bac16e
MR
112642012-04-24 Martin Rudalics <rudalics@gmx.at>
11265
11266 * window.el (handle-select-window): Clear echo area since this is
11267 no more done by read_char (Bug#11304).
11268
d81bd059
SM
112692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11272 and `/ M' to filter-derived-mode.
11273 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11274 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11275 (ibuffer-mark-by-mode): Use default rather than initial-input.
11276 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11277
c4cf6d91
IA
112782012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11279
11280 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11281 (ibuffer-filter-by-derived-mode): New filter.
11282 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11283
7511ded8
CY
112842012-04-23 Andreas Politz <politza@fh-trier.de>
11285
11286 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11287
775c916b
CY
112882012-04-23 Chong Yidong <cyd@gnu.org>
11289
11290 * cus-edit.el (customize-apropos, customize-apropos-options):
11291 Disable matching of non-option variables (Bug#11176).
11292 (customize-option, customize-option-other-window)
11293 (customize-changed-options): Doc fix.
11294 (customize-apropos-options, customize-apropos-faces)
11295 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11296
11297 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11298 Fix word list splitting (Bug#11132).
46c71e23
CY
11299 (apropos-symbol, apropos-keybinding, apropos-label)
11300 (apropos-property, apropos-function-button)
11301 (apropos-variable-button, apropos-misc-button): New faces.
11302 (apropos-symbol-face, apropos-keybinding-face)
11303 (apropos-label-face, apropos-property-face, apropos-match-face):
11304 Variables removed (Bug#8396).
11305 (apropos-library-button, apropos-format-plist, apropos-print)
11306 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11307
2df41f9c
MA
113082012-04-23 Michael Albinus <michael.albinus@gmx.de>
11309
11310 * net/xesam.el (xesam-mode-map): Use let-bound map in
11311 initialization. (Bug#11292)
11312
da00640a
AM
113132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11314
11315 Preserve ispell session localwords when switching back to
11316 original buffer.
11317
090bd7cb
JB
11318 * textmodes/ispell.el (ispell-buffer-session-localwords):
11319 New buffer-local variable to hold buffer session localwords.
ed9265fc 11320 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11321 localwords.
11322 (ispell-command-loop, ispell-change-dictionary)
11323 (ispell-buffer-local-words): Preserve session localwords when
11324 needed.
11325
090bd7cb
JB
11326 * textmodes/flyspell.el (flyspell-process-localwords)
11327 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11328
f621ccf5
AM
113292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11330
090bd7cb
JB
11331 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11332 using obsolete `translation-table-for-input'.
ef24141c
SM
11333 (ispell-word, ispell-process-line, ispell-complete-word):
11334 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11335
c2d1019e
CY
113362012-04-22 Chong Yidong <cyd@gnu.org>
11337
11338 * cus-edit.el (custom-variable-menu)
11339 (custom-variable-reset-saved, custom-face-menu)
11340 (custom-face-reset-saved): If there is no saved value, make the
11341 "reset-saved" operation bring back the default (Bug#9509).
11342 (custom-face-state): Properly detect themed faces.
11343
eeddc531
CY
11344 * faces.el (face-spec-set): Stop supporting deprecated form of
11345 third arg.
11346
dcbf5805
MA
113472012-04-22 Michael Albinus <michael.albinus@gmx.de>
11348
11349 Move functions from C to Lisp. Make non-blocking method calls
11350 the default. Implement further D-Bus standard interfaces.
11351
ef24141c
SM
11352 * net/dbus.el (dbus-message-internal): Declare function.
11353 Remove unneeded function declarations.
dcbf5805
MA
11354 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11355 (dbus-message-type-method-return, dbus-message-type-error)
11356 (dbus-message-type-signal): Declare variables. Remove local
11357 definitions.
11358 (dbus-interface-dbus, dbus-interface-peer)
11359 (dbus-interface-introspectable, dbus-interface-properties)
11360 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11361 Adapt docstring.
11362 (dbus-interface-objectmanager): New defconst.
11363 (dbus-call-method, dbus-call-method-asynchronously)
11364 (dbus-send-signal, dbus-method-return-internal)
11365 (dbus-method-error-internal, dbus-register-service)
11366 (dbus-register-signal, dbus-register-method): New defuns, moved
11367 from dbusbind.c
11368 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11369 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11370 New defuns.
dcbf5805
MA
11371 (dbus-call-method-non-blocking): Make it an obsolete function.
11372 (dbus-unregister-object, dbus-unregister-service)
11373 (dbus-handle-event, dbus-register-property)
11374 (dbus-property-handler): Obey the new structure of
11375 `bus-registered-objects'.
11376 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11377 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11378 Use `dbus-call-method'.
11379
cf20dee0
CY
113802012-04-22 Chong Yidong <cyd@gnu.org>
11381
11382 * cus-edit.el (custom-commands, custom-reset-menu)
11383 (Custom-reset-standard): Tweak labels.
11384 (custom-reset-button-menu): Change default to t.
11385 (custom-buffer-create-internal): For the custom-reset-button-menu
11386 case, put the revert button first.
11387 (custom-group-subtitle): New face.
11388 (custom-group-value-create): Align docstring to a specific column.
11389
11390 * wid-edit.el (widget-documentation-link-add): Don't handle
11391 indentation in this function.
11392 (widget-documentation-string-indent-to): New function.
11393 (widget-documentation-string-value-create): Use it.
11394
11395 * autorevert.el (auto-revert):
11396 * epg-config.el (epg):
11397 * ibuffer.el (ibuffer):
11398 * mpc.el (mpc):
11399 * ses.el (ses):
11400 * eshell/eshell.el (eshell):
11401 * net/ange-ftp.el (ange-ftp):
11402 * progmodes/ebnf2ps.el (postscript):
11403 * progmodes/flymake.el (flymake):
11404 * progmodes/prolog.el (prolog):
11405 * progmodes/verilog-mode.el (verilog-mode):
11406 * progmodes/which-func.el (which-func):
11407 * term/xterm.el (xterm):
11408 * textmodes/picture.el (picture):
11409 * textmodes/tildify.el (tildify):
11410 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11411 customization buffers.
11412
583e23bd
AM
114132012-04-22 Alan Mackenzie <acm@muc.de>
11414
11415 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11416 Adding a ) can hide the resulting (..) from searches. Fix it.
11417 Bound the backward search to the position of the existing (.
11418
7dd51bf1
JB
114192012-04-21 Juanma Barranquero <lekktu@gmail.com>
11420
11421 * progmodes/verilog-mode.el (verilog-mode): Check whether
11422 which-func-modes is t before adding verilog-mode.
11423 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11424
d64a438f
LL
114252012-04-21 Leo Liu <sdl.web@gmail.com>
11426
7dd51bf1 11427 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11428
081e8d65
MV
114292012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11430
11431 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11432 filling of the last column of a table (Bug#5635).
11433 (woman-find-next-control-line): New arg, specifying an additional
11434 regexp component for the control line.
11435 (woman2-roff-buffer): Use it.
11436 (woman-break-table): New function.
11437 (woman2-TS): Use it.
11438
114392012-04-21 Chong Yidong <cyd@gnu.org>
11440
11441 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11442 (woman-horizontal-escapes, woman-negative-vertical-space)
11443 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11444 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11445
ed571ccb
SM
114462012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * minibuffer.el (completion-file-name-table): Complete user names.
11449
39773899
LL
114502012-04-20 Leo Liu <sdl.web@gmail.com>
11451
11452 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11453 and pcase-let*.
11454
de6ff46d
CY
114552012-04-20 Chong Yidong <cyd@gnu.org>
11456
11457 * server.el (server-execute): Respect initial-buffer-choice if it
11458 is a string and there are no files to open (Bug#2825).
11459 (server-create-window-system-frame, server-create-tty-frame):
11460 Don't switch buffers here.
2d0e8e61
CY
11461 (server-process-filter): Only try to open a window system frame if
11462 compiled with graphical support (Bug#8314).
de6ff46d 11463
54071013
DN
114642012-04-20 Dan Nicolaescu <dann@gnu.org>
11465
11466 * battery.el (battery-echo-area-format): Display remaining time
11467 for sysfs backend too (Bug#11269).
11468 (battery-linux-sysfs): Fix conditional for the charge.
11469
f30d612a
CY
114702012-04-20 Chong Yidong <cyd@gnu.org>
11471
c07a4c0b 11472 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11473 (gdb-inferior-io--init-proc): New function.
11474 (gdb-init-1): Use it.
11475 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11476 responsible for allocating a new pty and hooking it to gdb when
11477 the old pty gets an EIO due to process exit.
11478 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11479 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11480 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11481
2116e93c
EZ
114822012-04-20 Eli Zaretskii <eliz@gnu.org>
11483
11484 * window.el (window-min-size, window-sizable, window-min-delta)
11485 (window-max-delta, window--resizable, window-resizable)
11486 (window-total-size, window-full-height-p, window-full-width-p)
11487 (window-in-direction, window--resize-mini-window, window-resize)
11488 (window--resize-child-windows-normal)
11489 (window--resize-child-windows, window--resize-siblings)
11490 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11491 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11492
c07a4c0b 114932012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11494
ef24141c
SM
11495 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11496 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11497 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11498 pty process (Bug#11273).
11499 (gdb-update): New arg to suppress talking to the gdb process.
11500 (gdb-done-or-error): Use it.
11501 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11502 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11503 sentinel not being called.
11504
11505 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11506
d02766ab
CY
11507 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11508
c07a4c0b 115092012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11510
11511 * net/network-stream.el (open-network-stream): Doc fix.
11512
c07a4c0b 115132012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11514
11515 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11516
c07a4c0b 115172012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11518
11519 Ensure searching for keywords is case sensitive.
11520
11521 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11522 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11523 (c-defun-name, c-mark-function, c-cpp-define-name)
11524 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11525 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11526
ef24141c
SM
11527 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11528 Bind case-fold-search to nil.
f0f6bc35 11529
c07a4c0b 115302012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11531
11532 * mail/sendmail.el (mail-bury): Call return action with the right
11533 Rmail buffer (Bug#11242).
11534
9a864fa2
CY
11535 * server.el (server-process-filter): Handle corner case where both
11536 tty and nowait options are present (Bug#11102).
11537
539aa513
EZ
115382012-04-20 Eli Zaretskii <eliz@gnu.org>
11539
11540 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11541 (top level): Put into the executable the ident-style '$Id:' tag on
11542 windows-nt as well.
539aa513 11543
cfc7d5da
SM
115442012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * electric.el (electric-indent-post-self-insert-function): Check that
11547 electric-indent-mode is enabled in current buffer.
11548
5b01685c
JB
115492012-04-19 Juanma Barranquero <lekktu@gmail.com>
11550
11551 * imenu.el (imenu-progress-message): Restore; it is "used" in
11552 erc/erc-imenu.el and net/snmp-mode.el.
11553
4d6769e1
JB
115542012-04-19 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11557 (mouse-avoidance-nudge-mouse): Remove unused binding.
11558
11559 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11560
11561 * descr-text.el (describe-char):
11562 * progmodes/python.el (python-describe-symbol):
11563 Don't call `toggle-read-only', set `buffer-read-only'.
11564
11565 * imenu.el (imenu-default-goto-function): Mark unused args.
11566 (imenu-progress-message): Remove obsolete macro; all callers changed.
11567
11568 * subr.el (keymap-canonicalize): Remove unused binding.
11569 (read-passwd): Mark unused arg.
11570
11571 * tutorial.el (tutorial--display-changes): Remove unused binding.
11572 (tutorial--save-tutorial-to): Remove unused variable.
11573
11574 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11575 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11576 (package-generate-autoloads, package-menu--generate)
11577 (package-menu--find-upgrades): Remove unused bindings.
11578
11579 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11580 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11581 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11582 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11583 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11584 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11585 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11586 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11587 (cua-delete-char-rectangle): Mark unused args.
11588 (cua-align-rectangle): Remove unused binding.
11589
11590 * mail/rmail.el (compilation--message->loc)
11591 (epa--find-coding-system-for-mime-charset): Declare.
11592
11593 * net/dbus.el (dbus-register-service): Declare.
11594 (dbus-name-owner-changed-handler): Remove unused binding.
11595
11596 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11597 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11598 (nxml-scan-backward-within): Mark unused arg.
11599 (nxml-dynamic-markup-word): Remove unused binding.
11600
11601 * mouse.el (mouse-menu-major-mode-map):
11602 * emacs-lisp/authors.el (authors-scan-change-log)
11603 (authors-add-to-author-list):
11604 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11605 * emacs-lisp/smie.el (smie-auto-fill):
11606 * mail/sendmail.el (mail-bury):
11607 * mail/unrmail.el (unrmail):
11608 * net/tls.el (open-tls-stream):
11609 * textmodes/picture.el (picture-mouse-set-point):
11610 Remove unused bindings.
11611
8c8fc5df
MA
116122012-04-19 Michael Albinus <michael.albinus@gmx.de>
11613
11614 * net/tramp.el (tramp-action-password): Let-bind
11615 `enable-recursive-minibuffers' to t.
11616
a77b0ac9
SS
116172012-04-18 Sam Steingold <sds@gnu.org>
11618
11619 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11620 instead of 'string to accommodate values like [f11].
11621 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11622 * progmodes/gdb-mi.el: Likewise.
11623
12a106a9
LL
116242012-04-18 Leo Liu <sdl.web@gmail.com>
11625
11626 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11627 current buffer.
11628 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11629 LOCAL is nil.
11630
bc6494ef
CY
116312012-04-18 Chong Yidong <cyd@gnu.org>
11632
11633 * simple.el (line-move): Use forward-line if in batch mode
11634 (Bug#11053).
11635
c09c46b2
CS
116362012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11637
11638 * files.el (after-find-file): Do not try to add a final newline if
11639 the buffer is read-only (Bug#11156).
11640
5f6530ea
RS
116412012-04-17 Richard Stallman <rms@gnu.org>
11642
11643 * mail/rmail.el (rmail-start-mail):
11644 Pass (rmail-mail-return...) for the return-action.
11645 Pass (rmail-yank-current-message...) for the yank-action.
11646 (rmail-yank-current-message): New function.
11647 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11648 (rmail-reply): Likewise.
11649 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11650
11651 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11652 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11653 buffer, not newbuf.
11654
197b6f3c
JB
116552012-04-17 Juanma Barranquero <lekktu@gmail.com>
11656
11657 * server.el (server-ensure-safe-dir): Simplify.
11658
2311d8e5 116592012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11660
2311d8e5
GM
11661 * emacs-lisp/smie.el: Provide smarter auto-filling.
11662 (smie-auto-fill): New function.
11663 (smie-setup): Use it.
98fb480e 11664
2311d8e5
GM
11665 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11666
116672012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11668
11669 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11670 (comment-indent): Use it.
11671
2311d8e5 116722012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11673
11674 * ses.el: The overall change is to add cell renaming, that is
11675 setting fancy names for cell symbols other than name matching
11676 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11677 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11678 (ses-create-cell-variable): New defun.
2311d8e5 11679 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11680 (ses-relocate-formula): Relocate formulas only for cells the
11681 symbols of which are not renamed, i.e. symbols whose names do not
11682 match regexp "\\`[A-Z]+[0-9]+\\'".
11683 (ses-relocate-all): Relocate values only for cells the symbols of
11684 which are not renamed.
11685 (ses-load): Create cells variables as the (ses-cell ...) are read,
11686 in order to check row col consistency with cell symbol name only
11687 for cells that are not renamed.
11688 (ses-replace-name-in-formula): New defun.
11689 (ses-rename-cell): New defun.
4bdf2ad2 11690
fc72b15c
PO
116912012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11692
11693 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11694 New option (bug#11118).
11695 (perl-calculate-indent): Respect it.
11696
12e10e61
GM
116972012-04-17 Glenn Morris <rgm@gnu.org>
11698
11699 * dired-aux.el (dired-mark-read-string): Doc fix.
11700
30009afd
DA
117012012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11702
11703 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11704 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11705
41f03f4d
GM
117062012-04-17 Glenn Morris <rgm@gnu.org>
11707
11708 * mouse.el (mouse-drag-track):
11709 * speedbar.el (speedbar-frame-mode):
11710 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11711
f45f90f3
LL
117122012-04-16 Leo Liu <sdl.web@gmail.com>
11713
11714 * progmodes/python.el: Trivial cleanup.
11715
94ee8db5
GM
117162012-04-16 Glenn Morris <rgm@gnu.org>
11717
121b8917
GM
11718 * vc/vc.el (vc-string-prefix-p):
11719 * vc/pcvs-util.el (cvs-string-prefix-p):
11720 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11721 * mpc.el (mpc-string-prefix-p):
11722 Make all of these into obsolete aliases for string-prefix-p.
11723 Update callers.
11724 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11725
1197ecfa
GM
11726 * textmodes/two-column.el: Move custom options to the start.
11727 (frame-width): Remove compat definition.
11728 (2C-associate-buffer, 2C-dissociate):
11729 Use with-current-buffer rather than save-excursion.
11730 (2C-dissociate): Force a mode-line update.
11731 (2C-autoscroll): Use ignore-errors.
11732
099e7202
GM
11733 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11734 Autoload trivia.
11735
bf350d6a
GM
11736 * emacs-lisp/cl-extra.el (*random-state*):
11737 Remove unnecessary declaration.
11738
0e829eab
GM
11739 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11740
e3ad7552
GM
11741 * play/cookie1.el (cookie-snarf):
11742 Give an explicit error if input file cannot be read.
11743
68892d27
GM
11744 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11745
20f0c46d
GM
11746 * progmodes/perl-mode.el (c-macro-expand):
11747 Remove unnecessary autoload (it is in loaddefs.el).
11748
5a0978ce
GM
11749 * textmodes/picture.el (picture-desired-column)
11750 (picture-update-desired-column): Convert comments to doc-strings.
11751 (picture-substitute): Remove function.
11752 (picture-mode-map): Initialize in the defvar.
11753
6b955486
GM
11754 * woman.el: Remove eval-after-load for tar-mode.
11755 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11756 (woman-tar-extract-file): Autoload it.
11757
94ee8db5
GM
11758 * frame.el (automatic-hscrolling): Make this alias obsolete.
11759
177eca34
AM
117602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11761
090bd7cb 11762 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11763 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11764 (ispell-dictionary-base-alist): Revert to original XEmacs
11765 friendly version for default. [:alpha:] will be added in
090bd7cb 11766 `ispell-set-spellchecker-params' if needed.
177eca34 11767
c505aaeb
CY
117682012-04-16 Chong Yidong <cyd@gnu.org>
11769
b19dd9d1 11770 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11771 (imagemagick-register-types): Use it.
11772 (imagemagick-types-inhibit): Add :set function. Allow new value
11773 of t to inhibit all types.
11774
11775 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11776 so we can preload it.
11777
11778 * loadup.el (fboundp): Preload regexp-opt, needed by
11779 imagemagick-register-types.
11780
60efac0f
CY
117812012-04-15 Chong Yidong <cyd@gnu.org>
11782
11783 * frame.el (scrolling): Remove nearly unused customization group.
11784
11785 * scroll-all.el (scroll-all-mode): Move to windows group.
11786
5dd1713e
CY
117872012-04-15 Chong Yidong <cyd@gnu.org>
11788
11789 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11790
e6fd457e
CY
117912012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11794 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11795
e153c136
GM
117962012-04-15 Glenn Morris <rgm@gnu.org>
11797
11798 * simple.el (process-file-side-effects): Doc fix.
11799
e6fd457e 118002012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11801
11802 * international/mule-cmds.el (set-language-environment): Doc fix.
11803
3603c3b1
JB
118042012-04-14 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * server.el (server-auth-key, server-generate-key): Doc fixes.
11807 (server-get-auth-key): Doc fix. Use `string-match-p'.
11808 (server-start): Reflow docstring.
11809
e6de100c
LI
118102012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11811
11812 * server.el (server-generate-key): `called-interactively-p'
11813 requires a parameter.
11814
29734c21
MN
118152012-04-14 Michal Nazarewicz <mina86@mina86.com>
11816
11817 * server.el (server-auth-key): New variable.
75f1671a 11818 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11819 (server-start): Use the new variable and functions to allow
11820 setting a permanent server key (bug#9423).
11821
d65c9521
LL
118222012-04-14 Leo Liu <sdl.web@gmail.com>
11823
11824 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11825
5ae255c7
PE
118262012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11827
11828 Spelling fixes.
11829 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11830 Emacs uses American spelling.
11831
d5e6342e
JB
118322012-04-14 Juanma Barranquero <lekktu@gmail.com>
11833
11834 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11835 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11836 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11837 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11838
ab036cd7
SM
118392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * progmodes/which-func.el (which-func-modes): Change default.
11842
35dc09a1 118432012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11844
11845 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11846 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11847
35dc09a1 118482012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11849
11850 * custom.el (custom-theme-set-variables): Doc fix.
11851
35dc09a1 118522012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11853
11854 * international/mule.el (set-auto-coding-for-load): Doc fix.
11855
35dc09a1 118562012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11857
35dc09a1
GM
11858 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11859 imenu work again for Objective C Mode. Correct the *-index values,
11860 these having been disturbed by a previous change in 2011-08.
57f845ee 11861
0de3da9f
AM
11862 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11863 Correct two search limits.
11864
35dc09a1 118652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11866
11867 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11868
35dc09a1 118692012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11870
11871 * international/characters.el: Fix sorting.
11872
35dc09a1 118732012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11874
11875 * international/characters.el: Add more missing Latin case pairs.
11876
35dc09a1 118772012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11878
11879 * files.el (dir-locals-set-class-variables): Doc fix.
11880
35dc09a1 118812012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11882
3f1b5bf8
EZ
11883 * international/characters.el: Add set-case-syntax-pair call for
11884 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11885 counterpart. (Bug#11209)
11886
9f847f41
EZ
11887 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11888
35dc09a1 118892012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11890
11891 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11892
35dc09a1 118932012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11894
35dc09a1
GM
11895 * textmodes/ispell.el (ispell-dictionary-base-alist):
11896 Add data for Hebrew.
e2627d21 11897
35dc09a1 118982012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11899
35dc09a1
GM
11900 * net/rcirc.el (rcirc-cmd-quit):
11901 Revert 2012-03-18 change (Bug#11192).
5c14e333 11902
35dc09a1 119032012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11904
11905 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11906
35dc09a1 119072012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11908
4517fe3a
SM
11909 * minibuffer.el (completion-in-region-mode-map):
11910 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11911
b472a594
VD
119122012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11913
11914 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11915
09b95ce3
MY
119162012-04-13 Masatake YAMATO <yamato@redhat.com>
11917
11918 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11919 to allow `C-M-f' and `C-M-b' to move to the nearest path
11920 separator (bug#9511).
11921
4b63a9ca
LI
119222012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11923
11924 * avoid.el: Require cl when compiling. And also move the
11925 `provide' to the end.
11926
7b55b8bf
TV
119272012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11928
11929 * avoid.el (mouse-avoidance-banish-position): New variable.
11930 (mouse-avoidance-banish-destination): Use it (bug#10165).
11931
adedaa1f
LL
119322012-04-13 Leo Liu <sdl.web@gmail.com>
11933
11934 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11935
70e74021
KB
119362012-04-13 Ken Brown <kbrown@cornell.edu>
11937
11938 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11939 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11940 (browse-url-filename-alist): For the same reason, don't modify
11941 file:// URLs on Cygwin.
11942
e75e89ba
SM
119432012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11946 the region on shift if the binding is already shifted (bug#11221).
11947
82f289a4
GM
119482012-04-12 Glenn Morris <rgm@gnu.org>
11949
11950 * mail/mailpost.el: Move to obsolete/.
11951
d333dc4c
DA
119522012-04-12 Drew Adams <drew.adams@oracle.com>
11953
11954 * imenu.el (imenu--generic-function): Ignore invisible definitions
11955 (bug#10123).
11956
0d15b5ba
VD
119572012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11958
11959 * hexl.el (hexl-bits): New variable.
11960 (hexl-options): Mention the variable in the doc string.
75f1671a 11961 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11962 (hexl-mode): Mention the new variable.
75f1671a
JB
11963 (hexl-mode, hexl-current-address, hexl-current-address):
11964 Use the displen.
0d15b5ba
VD
11965 (hexl-ascii-start-column): New function.
11966 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11967 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11968
64a440db
AM
119692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11970
11971 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11972 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11973 the encoding, as expected by hunspell.
11974
6decb6c2
SM
119752012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * battery.el (battery--linux-sysfs-regexp): New const.
11978 (battery-status-function): Use it. Remove yeeloong special case.
11979 (battery-yeeloong-sysfs): Remove.
11980 (battery-echo-area-format): Remove yeeloong special case.
11981
088be6fb
SM
119822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11983
6622e416
SM
11984 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11985 Reported by Noah Friedman.
11986
088be6fb
SM
11987 * subr.el (read-passwd): Use read-string.
11988
b49f886e
LMI
119892012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11990
11991 * vcursor.el (vcursor-move): Increase the priority of the overlay
11992 (bug#9663).
11993
a63067fc
DD
119942012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11995
11996 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11997 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11998
ac3cf14a
WS
119992012-04-11 William Stevenson <yhvh2000@gmail.com>
12000
12001 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12002 define-minor-mode (bug#10760).
12003
c4fc691b 120042012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 12005
4d6769e1 12006 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
12007 that directories matching `grep-find-ignored-files' won't be
12008 pruned (bug#10351).
12009
af23e2e5
CY
120102012-04-11 Chong Yidong <cyd@gnu.org>
12011
12012 * startup.el (command-line): Remove support for long-obsolete
12013 variable font-lock-face-attributes.
12014
ab7ce8c1
GM
120152012-04-11 Glenn Morris <rgm@gnu.org>
12016
12017 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12018
de8c03dc
SM
120192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * window.el (window--state-get-1): Obey window-point-insertion-type.
12022
050cc68b
LB
120232012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12024
12025 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12026 to previous function when point is on the first character of a
75f1671a 12027 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 12028
a38c310c
GM
120292012-04-11 Glenn Morris <rgm@gnu.org>
12030
effed0c2
GM
12031 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12032 not just file-errors.
12033
a38c310c
GM
12034 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12035 (vc-bzr-sha1): Use internal sha1.
12036
0221e323
SM
120372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12040
43956923
SG
120412012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12042
12043 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12044 that start in the middle of the line (bug#10496).
12045
6a8c9eaf
DN
120462012-04-10 Dan Nicolaescu <dann@gnu.org>
12047
12048 * battery.el (battery-linux-proc-acpi): Only one battery is
12049 discharged at a time, but that seems to confuse battery.el when
12050 computing `rate-type' for the battery not being discharged
12051 (bug#10332).
12052
1930bf5d
SM
120532012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12054
2a718f6f
SM
12055 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12056
599430d0
SM
12057 * international/quail.el: Use dolist and simplify.
12058 (quail-define-package, quail-update-keyboard-layout)
12059 (quail-define-rules): Use dolist.
12060 (quail-insert-kbd-layout, quail-get-translation): CSE.
12061
a2754b6c
SM
12062 * tmm.el: Use dolist, remove left over hook.
12063 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12064 Use dolist.
12065 (calendar-load-hook): Don't mess with it.
12066
1930bf5d
SM
12067 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12068 Use derived-mode-p. Run the diff asynchronously.
12069
9f67961c
LMI
120702012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12071
12072 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12073
2a8ce227
JB
120742012-04-10 Juanma Barranquero <lekktu@gmail.com>
12075
12076 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12077 (list-dynamic-libraries--loaded): New function.
12078 (list-dynamic-libraries--refresh): Use it.
12079
8f33b5f8
NW
120802012-04-10 Nathan Weizenbaum <nweiz@google.com>
12081
1930bf5d
SM
12082 * progmodes/python.el (python-fill-paragraph):
12083 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
12084 disabled (bug#7018).
12085
b12f0439
L
120862012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12087
1930bf5d 12088 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
12089 DOS/MS Windows for the Baltic languages. There are still plenty
12090 of texts written in this encoding/codepage (bug#6519).
b12f0439 12091
57c3bd01
GM
120922012-04-10 Glenn Morris <rgm@gnu.org>
12093
12094 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12095 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12096
6c3eab30
FA
120972012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12098
1930bf5d 12099 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
12100 next-line "n" and previous-line "p" in order to make recentf more
12101 consistent with ibuffer, dired or org-mode (bug#9387).
12102
24d78a88
LMI
121032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12104
bc72b5d9
LMI
12105 * image.el (put-image): Return the overlay created instead of the
12106 optional input string (bug#7834). Note that this may break code
12107 that is (for some reason or other) depending on `put-image'
12108 returning the string.
12109
bd2dba5a
LMI
12110 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12111
74beb59f
LMI
12112 * simple.el (zap-to-char): Allow zapping using input methods
12113 (bug#1580).
12114
24d78a88
LMI
12115 * textmodes/fill.el (fill-region): Leave point and mark where they
12116 were before filling (bug#5399).
12117
263f20cd
GM
121182012-04-09 Glenn Morris <rgm@gnu.org>
12119
12120 * version.el (emacs-bzr-get-version):
12121 Handle lightweight checkouts of local branches.
12122
58d1f797
AS
121232012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12124
263f20cd 12125 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 12126
b4d3bc10
CY
121272012-04-09 Chong Yidong <cyd@gnu.org>
12128
12129 * custom.el (custom-variable-p): Return nil for non-symbol
12130 arguments instead of signaling an error.
12131 (user-variable-p): Obsolete alias for custom-variable-p.
12132
12133 * apropos.el (apropos-variable):
12134 * files-x.el (read-file-local-variable):
12135 * simple.el (set-variable):
12136 * woman.el (woman-mini-help):
12137 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12138
fd06db5d
GM
121392012-04-09 Glenn Morris <rgm@gnu.org>
12140
e5fcdb5e
GM
12141 * startup.el (normal-top-level): Don't look for leim-list.el
12142 in places where it will not be found. (Bug#910)
12143
fd06db5d
GM
12144 * international/mule-cmds.el (set-default-coding-systems):
12145 * files.el (normal-mode):
12146 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12147 This function was removed with ucs-tables.el in 2008.
12148
b39bb7e1
EZ
121492012-04-08 Eli Zaretskii <eliz@gnu.org>
12150
12151 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12152 ispell-encoding8-command to "-i", without a trailing space.
12153 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12154 separate command-line arguments, to specify the encoding, since
12155 that's how hunspell expects it.
12156
5c5b8e23
GM
121572012-04-08 Glenn Morris <rgm@gnu.org>
12158
12159 * loadup.el: Load bindings before cus-start.
12160 This reduces somewhat the number of "rogue" settings in emacs -Q.
12161
a1ed8b05
GM
121622012-04-07 Glenn Morris <rgm@gnu.org>
12163
12164 * version.el (emacs-bzr-get-version): New function.
dfae128a 12165 (emacs-bzr-version): New variable.
a1ed8b05
GM
12166 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12167 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12168
b142f158
EZ
121692012-04-07 Eli Zaretskii <eliz@gnu.org>
12170
dfae128a
GM
12171 * international/uni-bidi.el, international/uni-category.el:
12172 * international/uni-combining.el, international/uni-decimal.el:
12173 * international/uni-decomposition.el, international/uni-digit.el:
12174 * international/uni-lowercase.el, international/uni-mirrored.el:
12175 * international/uni-name.el, international/uni-numeric.el:
12176 * international/uni-titlecase.el, international/uni-uppercase.el:
12177 Update for Unicode 6.1.
b142f158 12178
9078ead6
EZ
121792012-04-07 Eli Zaretskii <eliz@gnu.org>
12180
12181 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12182
f23d2c7d
LMI
121832012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12184
12185 * window.el (shrink-window): Mention the `window-min-height'
12186 variable in the doc string.
12187
0a0a3573
BG
121882012-04-05 Bastien Guerry <bzg@altern.org>
12189
12190 * color.el (color-lighten-name): Fix typo.
12191
e5248ac9
SM
121922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * server.el (server--on-display-p): New function.
12195 (server--on-display-p): Use it.
12196
a8e4d516 121972012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
12198
12199 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12200 (bug#11145).
12201
305d9f44
SM
122022012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * comint.el (comint--common-quoted-suffix): Check string boundary
12205 before comparing (bug#11158).
12206 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12207
3d439cd1
CY
122082012-04-04 Chong Yidong <cyd@gnu.org>
12209
321cc491
CY
12210 * minibuffer.el (completion-extra-properties): Doc fix.
12211
3d439cd1
CY
12212 * subr.el (delayed-warnings-hook): Doc fix.
12213
2d562c0f
DU
122142012-04-04 Daiki Ueno <ueno@unixuser.org>
12215
12216 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12217 selection (Bug#11159).
12218 (epa-insert-keys): Inform that the default public key will be
12219 exported if no key is selected.
12220
4443f204
RS
122212012-04-04 Richard Stallman <rms@gnu.org>
12222
12223 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12224
529c06b6
CY
122252012-04-03 Chong Yidong <cyd@gnu.org>
12226
12227 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12228 mail-insert-file, not its obsolete alias mail-attach-file.
12229
66b907dc
MA
122302012-04-03 Michael Albinus <michael.albinus@gmx.de>
12231
12232 * notifications.el (notifications-notify): Fix docstring.
12233
c0ea195d
GM
122342012-04-02 Glenn Morris <rgm@gnu.org>
12235
12236 * emacs-lisp/authors.el (authors-aliases): Another addition.
12237
5ca64e00
MA
122382012-04-02 Michael Albinus <michael.albinus@gmx.de>
12239
12240 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12241 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12242 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12243
42ee526b
CY
122442012-04-01 Chong Yidong <cyd@gnu.org>
12245
12246 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12247 Handle root directory properly.
12248 (copy-directory): Caller changed.
12249
12250 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12251 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12252
0b021094
GM
122532012-03-31 Glenn Morris <rgm@gnu.org>
12254
40f86458
GM
12255 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12256
7019c177
GM
12257 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12258
a1daddd6
GM
12259 * calendar/calendar.el (calendar-window-list)
12260 (calendar-hide-window): Restore. (Bug#11140)
12261 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12262
0b021094
GM
12263 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12264
40311efc
TV
122652012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12266
12267 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12268 Check if file is a symlink (Bug#10489).
12269
12270 * files.el (copy-directory): Likewise.
12271
5319014e
CY
122722012-03-30 Chong Yidong <cyd@gnu.org>
12273
12274 * image.el (imagemagick-types-inhibit)
12275 (imagemagick-register-types): Doc fix.
12276
935d1290
AM
122772012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12278
090bd7cb 12279 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12280 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12281 and treats ~word as ordinary words in pipe mode.
935d1290 12282
61c6e8fd
GM
122832012-03-30 Glenn Morris <rgm@gnu.org>
12284
12285 * tutorial.el (help-with-tutorial): Ensure local variables don't
12286 happen to make the buffer read-only. (Bug#11127)
12287
81fdff00
SM
122882012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12291 (perl-calculate-indent): Return `noindent' in strings.
12292
6e7a6ec0
SS
122932012-03-28 Sam Steingold <sds@gnu.org>
12294
12295 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12296 instead of the broken adhockery which does not prevent calendar
12297 buffers from being displayed at random after exit.
12298 (calendar-window-list, calendar-hide-window): Remove the broken
12299 adhockery.
12300
fee88ca0
GM
123012012-03-28 Glenn Morris <rgm@gnu.org>
12302
12303 * replace.el (query-replace-map): Doc fix.
12304
38de3354
AS
123052012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12306
12307 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12308 contents. (Bug#11109)
12309
b973155e
SM
123102012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12313 (bug#11077).
12314 (avl-tree--check, avl-tree--check-node): New funs.
12315
dcb6e7b3
MR
123162012-03-27 Martin Rudalics <rudalics@gmx.at>
12317
12318 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12319 (switch-to-prev-buffer, switch-to-next-buffer):
12320 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12321 showing a buffer already is done on the same frame.
12322
b4fa35fa
GM
123232012-03-27 Glenn Morris <rgm@gnu.org>
12324
12325 * startup.el (mail-host-address): Doc fix.
12326
f9210e18
SM
123272012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12330 than 197 variables.
12331
c0bf7753
AF
123322012-03-26 Ami Fischman <ami@fischman.org>
12333
12334 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12335
33da7b16
GM
123362012-03-26 Glenn Morris <rgm@gnu.org>
12337
02243d9d
GM
12338 * files.el (save-buffers-kill-emacs): Doc fix.
12339
33da7b16
GM
12340 * startup.el (normal-top-level, command-line, command-line-1):
12341 Give them doc strings.
12342
e5a69fd0
EZ
123432012-03-25 Eli Zaretskii <eliz@gnu.org>
12344
12345 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12346 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12347
9a69676a
CY
123482012-03-25 Chong Yidong <cyd@gnu.org>
12349
4125cb8b
CY
12350 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12351 theme if it was previously enabled before (Bug#11031).
12352
dd470960
CY
12353 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12354 spec with custom-face-get-current-spec if its :shown-value is not
12355 determined yet (Bug#9337).
4125cb8b 12356 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12357
9a69676a
CY
12358 * button.el (button-at): Minor addition to docstring.
12359
6e7e90fa
SL
123602012-03-24 Simon Leinen <simon.leinen@gmail.com>
12361
12362 * vc/vc.el (vc-merge): Fix a prompt.
12363
f06e2758
CY
123642012-03-24 Chong Yidong <cyd@gnu.org>
12365
12366 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12367 point (Bug#9623).
12368
6e7e90fa
SL
12369 * button.el (button-at): Minor addition to docstring.
12370
b9d0879b
SM
123712012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * newcomment.el (comment-choose-indent): No space after BOL.
12374
e71cebb3
SS
123752012-03-22 Sam Steingold <sds@gnu.org>
12376
12377 * window.el (switch-to-prev-buffer): Revert last patch because the
12378 bug turned out to be an advertised feature (Elisp manual 28.14).
12379
335aff35
GM
123802012-03-22 Glenn Morris <rgm@gnu.org>
12381
12382 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12383 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12384
c676576a
LMI
123852012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12386
12387 * net/network-stream.el (network-stream-open-starttls): Make error
12388 message under Windows be less misleading.
12389
126f3d39
LW
123902012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12391
12392 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12393 understands (bug#9942).
12394
64fee311
CY
123952012-03-22 Chong Yidong <cyd@gnu.org>
12396
12397 * simple.el (end-of-visible-line): Handle return value of
12398 next-single-property-change properly (Bug#9371).
12399
a640d29a
KH
124002012-03-22 Kenichi Handa <handa@m17n.org>
12401
12402 * international/quail.el (quail-insert-kbd-layout): Fix previous
12403 change. To avoid unwanted bidi reordering, use
12404 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12405
39675016
DG
124062012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12407
12408 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12409 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12410 (ruby-beginning-of-indent): Be more careful with the difference
12411 between word-boundary and symbol boundary.
12412 (ruby-mode-syntax-table): Make : a symbol constituent.
12413
0a6934fc 124142012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12415
3d008e4f
SM
12416 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12417
0a6934fc
SM
124182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12419
af67c9d7
SM
12420 * progmodes/etags.el (tags-completion-at-point-function):
12421 Improve last fix.
12422
1acad97c
SM
12423 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12424
e298b5da
SS
124252012-03-21 Sam Steingold <sds@gnu.org>
12426
12427 * progmodes/etags.el (tags-completion-at-point-function):
12428 Avoid the error when point is inside the pattern.
12429
91d82a70
JY
124302012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12431
12432 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12433 line (Bug#10855).
12434
69188b79
CY
124352012-03-21 Drew Adams <drew.adams@oracle.com>
12436
12437 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12438
99fc91fe
AK
124392012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12440
12441 * ido.el (ido-set-current-directory, ido-read-internal)
12442 (ido-choose-completion-string, ido-completion-help): Handle nil
12443 value of ido-completion-buffer (Bug#11008).
12444
087bbb4c
SS
124452012-03-21 Sam Steingold <sds@gnu.org>
12446
12447 * window.el (switch-to-prev-buffer): Do not switch to a visible
12448 window previous buffer, just like with the frame previous buffers.
12449
fb5b8aca
CY
124502012-03-21 Chong Yidong <cyd@gnu.org>
12451
12452 * faces.el (make-face, make-empty-face, copy-face):
12453 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12454 Doc fixes.
12455
dc9924b8
SM
124562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12459 (widget-complete): Remove broken use of it.
12460
f0bcceb9
CY
124612012-03-20 Chong Yidong <cyd@gnu.org>
12462
dc9924b8
SM
12463 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12464 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12465 characters.
12466
ee52ebf3
TH
124672012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12468
12469 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12470 to draw rectangles, not squares. (Regression introduced by revno
12471 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12472
4c5779ab
CY
124732012-03-18 Chong Yidong <cyd@gnu.org>
12474
12475 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12476 it is not yet defined (for temacs).
12477
15360934
LL
124782012-03-18 Leo Liu <sdl.web@gmail.com>
12479
735135f9
PE
12480 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12481 prefix.
15360934 12482
d9a8eb66
EZ
124832012-03-17 Eli Zaretskii <eliz@gnu.org>
12484
12485 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12486 (ispell-choices-win-default-height, ispell-silently-savep)
12487 (ispell-dictionary-alist, ispell-encoding8-command)
12488 (ispell-check-version, ispell-aspell-find-dictionary)
12489 (ispell-valid-dictionary-list, ispell-words-keyword)
12490 (ispell-get-word, ispell-internal-change-dictionary)
12491 (ispell-region, ispell-skip-region-list)
12492 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12493 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12494 (ispell-message-text-end, ispell-message)
12495 (ispell-buffer-local-parsing): Doc fix.
12496
f02ff80d
J
124972012-03-13 Jambunathan K <kjambunathan@gmail.com>
12498
12499 * htmlfontify.el: Add support for code block fontification for ODT
12500 export (Bug #9914).
12501 (hfy-optimisations): Define new option
12502 `body-text-only'
12503 (hfy-fontify-buffer): Honor above setting.
12504 (hfy-begin-span, hfy-end-span): New routines factored out form
12505 `hfy-fontify-buffer'.
12506 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12507 that permit insertion of custom tags.
12508 (hfy-fontify-buffer): Use above handlers.
12509 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12510 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12511 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12512 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12513 bind a special variable `hfy-user-sheet-assoc'.
12514 (htmlfontify-string): New defun.
12515 (hfy-compile-face-map): Make sure that the last char in the
12516 buffer is correctly fontified.
12517 (hfy-face-resolve-face): Whitespace only change.
12518
9ac7a13f
EZ
125192012-03-17 Eli Zaretskii <eliz@gnu.org>
12520
12521 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12522 message more clear.
12523
e2b5bdd7
LL
125242012-03-16 Leo Liu <sdl.web@gmail.com>
12525
12526 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12527
2e492df3
AM
125282012-03-16 Alan Mackenzie <acm@muc.de>
12529
677d5c92 12530 Further optimize the handling of large macros.
2e492df3
AM
12531
12532 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12533 limit to a call of `c-literal-limits'.
12534 (c-determine-+ve-limit): New function.
dc9924b8
SM
12535 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12536 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12537 In CASE 5B, restrict a search limit to 500.
12538 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12539
12540 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12541 Restrict macro bounds to +-500 from after-change's BEG END.
12542
50e94f0c
LL
125432012-03-16 Leo Liu <sdl.web@gmail.com>
12544
12545 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12546
6f09f6ed
AH
125472012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12548
12549 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12550 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12551
c7e73d51
GM
125522012-03-16 Glenn Morris <rgm@gnu.org>
12553
da986230
GM
12554 * view.el (view-buffer, view-buffer-other-window)
12555 (view-buffer-other-frame): Doc fixes re special mode-class.
12556
0835f01e
GM
12557 * subr.el (eval-after-load): If named feature is provided not from
12558 a file, run after-load forms. (Bug#10946)
12559
c7e73d51
GM
12560 * calendar/calendar.el (calendar-insert-at-column):
12561 Handle non-unit-width characters a bit better. (Bug#10978)
12562
3f2eafd1
CY
125632012-03-15 Chong Yidong <cyd@gnu.org>
12564
12565 * emacs-lisp/ring.el (ring-extend): New function.
12566 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12567
12568 * comint.el (comint-read-input-ring)
12569 (comint-add-to-input-history): Grow comint-input-ring lazily.
12570
103af3fe
SM
125712012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12572
663b1677
SM
12573 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12574 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12575
103af3fe
SM
12576 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12577 (imenu-add-to-menubar): Don't add a redundant index.
12578 (imenu-update-menubar): Handle a dynamically composed keymap.
12579
899cb7cb
KY
125802012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12581
12582 * mail/sendmail.el (mail-encode-header):
12583 Bind rfc2047-encode-encoded-words to nil.
12584
3809f91d
GM
125852012-03-13 Glenn Morris <rgm@gnu.org>
12586
12587 * calendar/calendar.el (calendar-string-spread):
12588 Handle non-unit-width characters a bit better. (Bug#10978)
12589
9e345a01
LL
125902012-03-13 Leo Liu <sdl.web@gmail.com>
12591
12592 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12593 directory and file as argument (Bug#10822).
12594
4a07df36
KS
125952012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12596
12597 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12598 For dynamically generated code, follow $PC.
12599 (gdb-disassembly-handler-custom): Handle no function name case.
12600
4aaa9356
TL
126012012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12602
12603 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12604 * emulation/ws-mode.el (ws-query-replace):
12605 * sort.el (sort-regexp-fields):
12606 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12607
225979da
SM
126082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * dabbrev.el: Fix cycle completion order (bug#10963).
12611 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12612 (dabbrev-completion): Don't use an obarray; provide
12613 a cycle-sort-function.
12614
e2f1fdab
LL
126152012-03-12 Leo Liu <sdl.web@gmail.com>
12616
dc9924b8 12617 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12618 (kill-do-not-save-duplicates): Doc fix.
12619
b19490ed
SM
126202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * dabbrev.el: Fix cycle completion (bug#10963).
12623 Use lexical binding and wrap to 80 columns.
12624 (dabbrev-completion): Delay computing the list of completions.
12625
4b05d722
KH
126262012-03-12 Kenichi Handa <handa@m17n.org>
12627
12628 * international/quail.el (quail-insert-kbd-layout): Surround each
12629 row by LRO and PDF instead of inserting many LRMs. Pad the left
12630 and right of each non-spacing marks. Insert invisible space
12631 between lower and upper characters to prevent composition.
12632
dbbc2e69
SM
126332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * minibuffer.el (minibuffer-complete): Don't get confused when the
12636 function is run twice via different commands (bug#10958).
12637 (complete-with-action): Fix docstring.
12638
292112ed
CY
126392012-03-12 Chong Yidong <cyd@gnu.org>
12640
5d1ac394
CY
12641 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12642 (nxml-completion-at-point-function): New function.
12643 (nxml-mode): Use it.
12644 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12645
292112ed
CY
12646 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12647 Load generated autoloads file before byte compiling (Bug#10970).
12648 (package--make-autoloads-and-compile): New helper fun.
12649
4098f8f7
CS
126502012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12651
12652 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12653
8f754691
MA
126542012-03-11 Michael Albinus <michael.albinus@gmx.de>
12655
12656 * autorevert.el (auto-revert-handler): Ensure, that
12657 file-readable-p is applied only for local files or in
12658 auto-revert-tail-mode.
12659
e29ab36b
AS
126602012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12661
dbbc2e69
SM
12662 * server.el (server-eval-at): Handle non-tcp connections.
12663 Decode result string.
ad0bf5b6 12664
e29ab36b
AS
12665 * server.el (server-msg-size): New constant.
12666 (server-reply-print): New function.
12667 (server-eval-and-print): Use it.
12668 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12669 Handle -print-nonl.
12670
de5939ba
CS
126712012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12672
12673 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12674 (Bug#10987).
12675
0c93eabf
CY
126762012-03-11 Chong Yidong <cyd@gnu.org>
12677
397a688f
CY
12678 * simple.el (goto-line): Doc fix (Bug#9938).
12679
2cc775f9
CY
12680 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12681
0c93eabf
CY
12682 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12683 when finished (Bug#10963).
12684
c491fa41
MR
126852012-03-11 Martin Rudalics <rudalics@gmx.at>
12686
12687 * window.el (split-window-below): Fix bug in case where
12688 split-window-keep-point is nil (Bug#10971).
12689
300e8fa5
JL
126902012-03-11 Juri Linkov <juri@jurta.org>
12691
12692 * replace.el (replace-highlight): Set isearch-word to nil
12693 unconditionally. (Bug#10887)
12694
dbf6c5a1
EZ
126952012-03-10 Eli Zaretskii <eliz@gnu.org>
12696
12697 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12698 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12699 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12700 (mairix-widget-create-query): Add usage information about mairix
12701 search forms: negating words, searching for substrings, etc.
12702
b9e501de
JP
127032012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12704
12705 * international/fontset.el (font-encoding-alist): Add an entry for
12706 ksx1001 (Bug#5667).
12707
92795c91
RS
127082012-03-10 Richard Stallman <rms@gnu.org>
12709
1694e6c1
RS
12710 * mail/sendmail.el (mail-encode-header):
12711 Set rfc2047-encode-encoded-words.
12712
607e8555
RS
12713 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12714
de3bc99a
RS
12715 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12716 view buffer means not swapped.
12717 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12718 (rmail-write-region-annotate): Error if real text has disappeared.
12719
92795c91
RS
12720 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12721
699bd04e
CY
127222012-03-10 Chong Yidong <cyd@gnu.org>
12723
12724 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12725 * emulation/cua-base.el (cua--init-keymaps):
12726 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12727
570a1714
MR
127282012-03-10 Martin Rudalics <rudalics@gmx.at>
12729
dbbc2e69
SM
12730 * speedbar.el (speedbar-unhighlight-one-tag-line):
12731 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12732
82dcf4e4
CY
127332012-03-10 Chong Yidong <cyd@gnu.org>
12734
7a2c7ca7
CY
12735 * minibuffer.el (completion-in-region, completion-help-at-point):
12736 Give the completion field overlay a high priority (Bug#6830).
12737
82dcf4e4
CY
12738 * dired.el (dired-goto-file): Recognize absolute file name
12739 listings (Bug#7126).
12740 (dired-goto-file-1): New helper function.
12741 (dired-toggle-read-only): Inhibit warnings.
12742
052e28ac
MA
127432012-03-09 Michael Albinus <michael.albinus@gmx.de>
12744
75f1671a 12745 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12746 there are no properties.
12747
95d5e396
LL
127482012-03-09 Leo Liu <sdl.web@gmail.com>
12749
12750 * savehist.el (savehist-printable): Stricter check for string
12751 value (Bug#10937).
12752
3f018d6d
EZ
127532012-03-09 Eli Zaretskii <eliz@gnu.org>
12754
dbbc2e69
SM
12755 * mail/smtpmail.el (smtpmail-send-it):
12756 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12757 valid mbox format.
12758
f7fd3d79
GM
127592012-03-09 Glenn Morris <rgm@gnu.org>
12760
12761 * files.el (dir-locals-find-file):
12762 Don't check result is regular, readable.
12763 (dir-locals-read-from-file): Demote errors.
12764
6ff6e72f
EZ
127652012-03-08 Eli Zaretskii <eliz@gnu.org>
12766
dbbc2e69
SM
12767 * international/quail.el (quail-insert-kbd-layout):
12768 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12769 layout cell, to prevent their reordering by bidi display engine.
12770 For details, see the discussion in
12771 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12772
9cec7834
AM
127732012-03-08 Alan Mackenzie <acm@muc.de>
12774
12775 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12776 the starting position; make it extend the marked region when
12777 invoked repeatedly - all under appropriate circumstances.
12778 Fixes bugs #5525, #10906.
12779
9a40b8d4
GM
127802012-03-08 Glenn Morris <rgm@gnu.org>
12781
12782 * files.el (locate-dominating-file, dir-locals-find-file):
12783 Undo 2012-03-06 change.
12784
7a08ed35
EZ
127852012-03-07 Eli Zaretskii <eliz@gnu.org>
12786
dbbc2e69
SM
12787 * international/quail.el (quail-help):
12788 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12789 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12790 for the reason.
12791
5aca4f71 127922012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12793
12794 Avoid superfluous registering of signals. (Bug#10807)
12795
12796 * notifications.el (notifications-on-action-object)
12797 (notifications-on-close-object): New defvars.
12798 (notifications-on-action-signal, notifications-on-closed-signal):
12799 Unregister the signal if not needed any longer.
12800 (notifications-notify): Register `notifications-action-signal' or
12801 `notifications-closed-signal', if :on-action or :on-close has been
12802 passed as argument.
12803
78e8b10a
CY
128042012-03-07 Chong Yidong <cyd@gnu.org>
12805
12806 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12807 non-X platforms.
12808
69481eb8
GM
128092012-03-06 Glenn Morris <rgm@gnu.org>
12810
12811 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12812 (x-disown-selection-internal, x-get-selection-internal):
12813 Doc fix (add arglist signatures). (Bug#10783)
12814
133b8e11
KS
128152012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12816
12817 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12818 Handle breakpoints with no "type".
12819
99a83064
GM
128202012-03-06 Glenn Morris <rgm@gnu.org>
12821
12822 * files.el (locate-dominating-file): Add optional predicate argument.
12823 (dir-locals-find-file): Make use of above change.
12824
17798e78
TTN
128252012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12826
12827 * info.el (Info-insert-dir): Also try "dir.gz".
12828
eb182446
GM
128292012-03-06 Glenn Morris <rgm@gnu.org>
12830
8f2114ee
GM
12831 * files.el (dir-locals-find-file):
12832 Ignore non-readable or non-regular files. (Bug#10928)
12833
eb182446
GM
12834 * files.el (locate-dominating-file): Doc fix.
12835
24679323
AS
128362012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12837
12838 * calendar/calendar.el (calendar-set-mode-line):
12839 `getenv' returns a string. (Bug#10951)
12840
01d972a9
LL
128412012-03-05 Leo Liu <sdl.web@gmail.com>
12842
109aa8a9
LL
12843 * simple.el (backward-delete-char-untabify): Constrain point to
12844 field (Bug#10939).
12845
01d972a9
LL
12846 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12847
10607bea
CY
128482012-03-05 Chong Yidong <cyd@gnu.org>
12849
12850 * simple.el (count-words): If called from Lisp, return the word
12851 count, for symmetry with `count-lines'. Arglist changed.
12852 (count-words--message): Args changed. Consolidate counting code
12853 from count-words and count-words-region.
12854 (count-words-region): Caller changed.
12855 (count-lines-region): Make it an obsolete alias.
12856
5dd11cfe
TH
128572012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12858
12859 * saveplace.el (save-place-to-alist)
12860 (save-place-ignore-files-regexp): Allow value nil to disable this
12861 feature.
12862
c349f4e6
CY
128632012-03-04 Chong Yidong <cyd@gnu.org>
12864
12865 * faces.el (face-spec-reset-face): For the default face, reset the
12866 attributes to default values (Bug#10748).
12867
e627be4c
LMI
128682012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12869
12870 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12871 previous patch: Check `message-send-mail-function', and not the
12872 default function (bug#10897).
12873
ebeabff4
MA
128742012-03-04 Michael Albinus <michael.albinus@gmx.de>
12875
a41a6cf4
MA
12876 * notifications.el (notifications-on-action-signal)
12877 (notifications-on-closed-signal): Check for unique service name of
12878 incoming event. Fix error in removing entry.
ebeabff4 12879 (top): Register for signals with wildcard service name.
a41a6cf4 12880 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12881
c1ca42b4
CY
128822012-03-04 Chong Yidong <cyd@gnu.org>
12883
dc9924b8 12884 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12885
ea16568d
GM
128862012-03-04 Glenn Morris <rgm@gnu.org>
12887
12888 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12889 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12890 (expand-abbrev, define-abbrev-table): Doc fixes.
12891
fbae4637
LMI
128922012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12893
12894 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12895 `message-default-send-mail-function' and not `send-mail-function'
12896 when doing the prompting for `sendmail-query-once' before sending
12897 in Message buffers (bug#10897).
12898
a1e7225c
LMI
12899 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12900 This is inconsistent with all the other stream functions, which leave
12901 the setting up to the higher levels (if so wanted) (bug#10931).
12902
56d093a9
AM
129032012-03-02 Alan Mackenzie <acm@muc.de>
12904
12905 Depessimize the handling of very large macros.
12906
12907 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12908 (c-macro-cache-syntactic): New variables to implement a one
12909 element macro cache.
12910 (c-invalidate-macro-cache): New function.
12911 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12912 Adapt to use the new cache.
12913 (c-state-safe-place): Use better the cache of safe positions.
12914 (c-state-semi-nonlit-pos-cache)
12915 (c-state-semi-nonlit-pos-cache-limit):
12916 New variables for...
12917 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12918 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12919 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12920 Use c-state-semi-safe-place.
56d093a9 12921
dbbc2e69
SM
12922 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12923 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12924
817e5c3d
MA
129252012-03-02 Michael Albinus <michael.albinus@gmx.de>
12926
dbbc2e69
SM
12927 * jka-compr.el (jka-compr-call-process):
12928 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12929 not remote.
12930
a032a702
MA
129312012-03-01 Michael Albinus <michael.albinus@gmx.de>
12932
12933 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12934 access of FILE2, if FILE1 does not exist.
12935
99a54f21
MA
12936 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12937 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12938
12939 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12940 Add "PAGER=" to `process-environment'.
12941
f6561e1f
MM
129422012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12943
12944 * progmodes/sql.el: Bug fix
12945 (sql-get-login-ext): Save login values in globals.
12946 (sql-get-login): Use new version of `sql-get-login-ext'.
12947 (sql-interactive-mode): Set global `sql-connection' to nil.
12948 (sql-connect): Set global values for connection.
12949 (sql-product-interactive): Save global values as buffer local.
12950
2d44d9cc
LL
129512012-02-29 Leo Liu <sdl.web@gmail.com>
12952
12953 * abbrev.el (define-abbrevs): Reset sys to nil.
12954
96b49301 129552012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12956
bf7f9bc5
JB
12957 * files.el (file-equal-p): Rename from `files-equal-p'.
12958 Return nil when one or both files don't exist.
96b49301 12959 (file-subdir-of-p): Now only top directory must exists,
12960 return nil if it doesn't.
bf7f9bc5
JB
12961 (copy-directory): No need to test with `file-subdir-of-p' after
12962 creating dir.
12963 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12964 to `file-equal-p'.
96b49301 12965
44e97401
GM
129662012-02-28 Glenn Morris <rgm@gnu.org>
12967
12968 * shell.el (shell-mode):
12969 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12970 * play/landmark.el (landmark-font-lock-face-O):
12971 * play/handwrite.el (handwrite):
12972 * play/gomoku.el (gomoku-O):
12973 * net/browse-url.el (browse-url-browser-display):
12974 * international/mule.el (define-charset):
12975 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12976 * filesets.el (filesets-find-file-delay):
12977 * eshell/em-xtra.el (eshell-xtra):
12978 * eshell/em-unix.el (eshell-grep):
12979 * emulation/viper.el (viper-mode):
12980 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12981 * emacs-lisp/easymenu.el (easy-menu-define):
12982 * calendar/timeclock.el (timeclock-use-display-time):
12983 * bs.el (bs-mode):
12984 * bookmark.el (bookmark-save-flag):
12985 Doc fix (standardize possessive apostrophe usage).
12986
c98c6276
CY
129872012-02-27 Chong Yidong <cyd@gnu.org>
12988
bf7f9bc5
JB
12989 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12990 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12991
c98c6276
CY
12992 * font-lock.el (font-lock-specified-p): Rename from
12993 font-lock-spec-present. Callers changed.
12994
9c62cd04 129952012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12996
bf7f9bc5
JB
12997 * emacs-lisp/package.el (package-compute-transaction):
12998 Handle holding a package version to t in package-load-list.
8ac9e529 12999
530739c9
MA
130002012-02-26 Michael Albinus <michael.albinus@gmx.de>
13001
13002 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13003 (tramp-get-inode, tramp-get-device): Use cached values.
13004
487915d7
AM
130052012-02-26 Alan Mackenzie <acm@muc.de>
13006
13007 Check there is a font-lock specification before doing initial
13008 fontification.
13009
13010 * font-core.el (font-lock-mode): Move the conditional from
13011 :after-hook to font-lock-initial-fontify.
13012 (font-lock-default-function): Move the check for a specification
13013 to font-lock-spec-present.
13014
dc9924b8 13015 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
13016 (font-lock-spec-present): New function.
13017
4fd96557
JB
130182012-02-26 Jim Blandy <jimb@red-bean.com>
13019
13020 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13021 (gdb-send): Apply it to the operand of the '-interpreter-exec
13022 console' command, so that we can pass arguments with (say) quotes
13023 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13024
9a4888c0
CY
130252012-02-26 Chong Yidong <cyd@gnu.org>
13026
07498861
CY
13027 * help-fns.el (describe-function-1): Clarify description of
13028 remapping (Bug#10844).
13029
9a4888c0
CY
13030 * files.el (files-equal-p): Doc fix.
13031 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13032 and quit the loop once a mismatch is found.
13033
ea8fb88d
JB
130342012-02-25 Juanma Barranquero <lekktu@gmail.com>
13035
13036 * bs.el (bs--show-with-configuration): Don't throw an error
13037 if the window cannot be split; otherwise, subsequent calls to
13038 bs-show fail, restoring a stale window config. (Bug#10882)
13039
525795c1
JD
130402012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13041
13042 * term/ns-win.el (global-map): Bind ns-drag-file to
13043 ns-find-file (Bug#5855, Bug#10050).
13044
f008086f
AS
130452012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13046
13047 * calendar/parse-time.el (parse-time-string): Allow extractor to
13048 return nil.
13049
a3fcfa99
MA
130502012-02-25 Michael Albinus <michael.albinus@gmx.de>
13051
91027d08
JB
13052 * net/tramp.el (tramp-file-name-for-operation):
13053 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
13054
13055 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
13056 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13057 Add COPY-CONTENTS argument.
a3fcfa99 13058
67b0de11
CY
130592012-02-25 Chong Yidong <cyd@gnu.org>
13060
13061 Add custom groups for VC backends, for consistency with vc-bzr.
13062
13063 * vc/vc-arch.el (vc-arch):
13064 * vc/vc-cvs.el (vc-cvs):
13065 * vc/vc-git.el (vc-git):
13066 * vc/vc-hg.el (vc-hg):
13067 * vc/vc-mtn.el (vc-mtn):
13068 * vc/vc-rcs.el (vc-rcs):
13069 * vc/vc-sccs.el (vc-sccs):
13070 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13071 All relevant defcustoms reassigned.
13072
3c9dfce6
CY
130732012-02-25 Chong Yidong <cyd@gnu.org>
13074
1339bf43
CY
13075 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13076
3c9dfce6
CY
13077 * term/x-win.el (x-initialize-window-system): Reduce default for
13078 x-selection-timeout to 5 seconds (Bug#8869).
13079
25b2e303 130802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13081
ec70a47d
GM
13082 * files.el (files-equal-p, file-subdir-of-p): New functions.
13083 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 13084 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
13085 * dired-aux.el (dired-copy-file-recursive): Same.
13086 (dired-create-files): Modify destination when source is equal to
13087 dest when copying files.
53a46cd0 13088 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 13089
914260cd
MA
130902012-02-24 Michael Albinus <michael.albinus@gmx.de>
13091
13092 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13093 (Bug#10874)
13094
2cb228f7
AM
130952012-02-23 Alan Mackenzie <acm@muc.de>
13096
13097 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13098 parameter "after-hook:" to allow the expansion to run code after
13099 the execution of the mode hooks.
13100
13101 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 13102 from font-lock-mode-internal.
2cb228f7 13103
91027d08 13104 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
13105 :after-hook.
13106
8f0fde21
SM
131072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13108
3e88618b
SM
13109 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13110 (completion--cache-all-sorted-completions): New function.
13111 (completion-all-sorted-completions): Use it.
13112 (completion--do-completion, minibuffer-force-complete):
13113 Use it to re-instate the flush hook.
13114
8f0fde21
SM
13115 * icomplete.el (icomplete-completions): Replace last fix with a better
13116 one (bug#10850).
13117
8e911f6f
DG
131182012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13119
13120 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13121 when it might call us back infinitely (bug#10797).
13122
49fe4321
GM
131232012-02-23 Glenn Morris <rgm@gnu.org>
13124
13125 * minibuffer.el (completion-category-overrides): Doc fix.
13126
b291b572
SM
131272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13130 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13131
31a9ef2e
GM
131322012-02-23 Glenn Morris <rgm@gnu.org>
13133
5e6e6794 13134 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
13135 (authors-obsolete-files-regexps, authors-ignored-files)
13136 (authors-ambiguous-files, authors-renamed-files-alist):
13137 Add more entries.
13138
0bd1e074
JL
131392012-02-23 Juri Linkov <juri@jurta.org>
13140
13141 * isearch.el (isearch-occur): Sync interactive spec with occur's
13142 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13143
b617673c
JL
13144 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13145
19e9789e
JL
131462012-02-22 Juri Linkov <juri@jurta.org>
13147
13148 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13149 (ucs-insert): Doc fix. Check for hex digits in the string.
13150 Don't display `nil' in the error message. (Bug#10857)
13151
f41ce09d
AM
131522012-02-22 Alan Mackenzie <acm@muc.de>
13153
7a71b18d 13154 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 13155
ac2eceee
GM
131562012-02-22 Glenn Morris <rgm@gnu.org>
13157
13158 * ffap.el (ffap-c-path):
13159 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13160
abd1f678
CY
131612012-02-22 Chong Yidong <cyd@gnu.org>
13162
13163 * custom.el (load-theme): Doc fix.
13164
f25aef2e
GM
131652012-02-22 Glenn Morris <rgm@gnu.org>
13166
13167 * dired-x.el (dired-guess-shell-alist-default):
13168 Remove escape sequences from nroff output. (Bug#172)
13169
5f8dc2ca
GM
131702012-02-21 Glenn Morris <rgm@gnu.org>
13171
6ff86ec4
GM
13172 * vc/emerge.el (emerge-defvar-local):
13173 Set `permanent-local' property rather than unused `preserved'.
13174
be3223a3 13175 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13176 (picture-mode-map): Use it. (Bug#10860)
13177 (picture-mode): Doc fix.
13178
3fe58f4f
JB
131792012-02-21 Juanma Barranquero <lekktu@gmail.com>
13180
13181 * newcomment.el (uncomment-region-default): Remove unused binding.
13182
f9a998c3
GM
131832012-02-21 Glenn Morris <rgm@gnu.org>
13184
13185 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13186 (picture-self-insert, picture-tab-chars): Doc fix.
13187 (picture-mode-map): Fix C-a, C-e.
13188
c6029348
GM
131892012-02-20 Glenn Morris <rgm@gnu.org>
13190
13191 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13192
ab1ce9d7
LL
131932012-02-20 Leo Liu <sdl.web@gmail.com>
13194
13195 * icomplete.el (icomplete-completions): Check FROM arg before
13196 passing to substring (Bug#10850).
13197
0fd40f89
CY
131982012-02-19 Chong Yidong <cyd@gnu.org>
13199
13200 * comint.el: Require ansi-color.
13201 (comint-output-filter-functions): Add ansi-color-process-output.
13202
13203 * ansi-color.el: Don't set comint-output-filter-functions; it is
13204 now in the initial value defined in comint.el.
13205 (ansi-color-apply-face-function): New variable.
13206 (ansi-color-apply-on-region): Use it.
13207 (ansi-color-apply-overlay-face): New function.
13208
13209 * shell.el (shell): No need to require ansi-color.
13210 (shell-mode): Use ansi-color-apply-face-function to highlight
13211 color escapes using font-lock-face property (Bug#10835).
13212
20af2394
CY
132132012-02-19 Chong Yidong <cyd@gnu.org>
13214
13215 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13216 mode-line formats (Bug#10839).
13217
e23a3fbe
GM
132182012-02-18 Glenn Morris <rgm@gnu.org>
13219
b474519e
GM
13220 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13221
13222 * mail/undigest.el (unforward-rmail-message): Doc fix.
13223
e23a3fbe
GM
13224 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13225
57939ff4
EZ
132262012-02-18 Eli Zaretskii <eliz@gnu.org>
13227
13228 * international/characters.el (script-list): Sync with the latest
13229 Unicode Character Database.
13230
0c23686e
AS
132312012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13232
13233 * international/titdic-cnv.el: Remove duplicate coding tag.
13234 * language/cham.el: Likewise.
13235 * language/tai-viet.el: Likewise.
13236
6818b449
GM
132372012-02-18 Glenn Morris <rgm@gnu.org>
13238
13239 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13240 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13241 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13242 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13243 * calendar/holidays.el (holiday-bahai-holidays)
13244 (calendar-holidays, list-holidays):
13245 Use utf-8 Bahá'í in doc-strings, menus, etc.
13246
0311a3fc
TH
132472012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13248
13249 * saveplace.el (save-place-ignore-files-regexp): New variable
13250 allowing for excluding files from saving their location of point.
13251 The default value matches the temporary commit message editing
13252 files from Git, SVN, Bazaar, and Mercurial.
13253 (save-place-to-alist): Use it.
13254
d209e2fb 132552012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13256 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13257
13258 * newcomment.el (uncomment-region-default): Don't leave extra space
13259 when an arg is provided (bug#8150).
13260
ee0ce425
TZ
132612012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13262
eb864a71 13263 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13264
95ddf442
GM
132652012-02-17 Glenn Morris <rgm@gnu.org>
13266
13267 * net/socks.el: Require network-stream. (Bug#10599)
13268
48dd1e39 132692012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13270
13271 * international/charprop.el:
13272 * international/uni-name.el:
13273 * international/uni-old-name.el:
13274 * international/uni-comment.el: Regenerate.
13275
d68cd087
GM
132762012-02-16 Glenn Morris <rgm@gnu.org>
13277
13278 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13279 Interactively in calendar buffer, give an error if not on a date.
13280
13932042
GM
132812012-02-15 Glenn Morris <rgm@gnu.org>
13282
13283 * shell.el (shell-delimiter-argument-list):
13284 Revert 2011-02-17 change. (Bug#8027)
13285
c3a70e2b
CY
132862012-02-15 Chong Yidong <cyd@gnu.org>
13287
60236b0d
CY
13288 * minibuffer.el (completion-at-point-functions): Doc fix.
13289
c3a70e2b
CY
13290 * custom.el (defcustom): Doc fix; note use of defvar.
13291
9f26dc24
GM
132922012-02-15 Glenn Morris <rgm@gnu.org>
13293
13294 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13295 Doc fixes.
13296
6546b134
GM
132972012-02-14 Glenn Morris <rgm@gnu.org>
13298
13299 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13300
d29b2b4c
LI
133012012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13302
13303 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13304 way the ports list is computed.
835bdcba
LI
13305 (smtpmail-query-smtp-server): Prompt the user for a port number if
13306 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13307
08dcdbc9
TZ
133082012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13309
13310 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13311
2605051a
GM
133122012-02-13 Glenn Morris <rgm@gnu.org>
13313
13314 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13315
7ee99f32
TZ
133162012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13317
13318 * net/gnutls.el (gnutls-trustfiles): New variable.
13319 (gnutls-negotiate): Use it.
13320
5f0af64f
LI
133212012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13322
13323 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13324 does its stuff if Gnus is running.
13325
c14fcc95
AM
133262012-02-13 Alan Mackenzie <acm@muc.de>
13327
13328 Fix a loop in c-set-fl-decl-start.
13329
7a71b18d 13330 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13331 c-backward-syntactic-ws actually moves backwards.
13332
142b4d90
LL
133332012-02-13 Leo Liu <sdl.web@gmail.com>
13334
13335 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13336 beginning so that all \C-o chars are removed.
13337
fa9958a6
TZ
133382012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13339
dc9924b8 13340 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13341
0bc5886a
AM
133422012-02-12 Alan Mackenzie <acm@muc.de>
13343
13344 Fix infinite loop with long macros.
4d6769e1 13345 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13346
d4bd55e7
CY
133472012-02-12 Chong Yidong <cyd@gnu.org>
13348
13349 * window.el (display-buffer): Doc fix (Bug#10785).
13350
66f3fe22
GM
133512012-02-12 Glenn Morris <rgm@gnu.org>
13352
bd7da63e
GM
13353 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13354 (x-disown-selection-internal, x-get-selection-internal):
13355 Sync docs with the xselect.c versions.
13356
66f3fe22
GM
13357 * allout-widgets.el: Add missing license notice.
13358
3e0d2fa7
GM
133592012-02-11 Glenn Morris <rgm@gnu.org>
13360
cfecdf09
GM
13361 * select.el (x-get-selection-internal, x-own-selection-internal)
13362 (x-disown-selection-internal):
13363 * x-dnd.el (x-get-selection-internal): Update declarations.
13364
6d216d7f
GM
13365 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13366
2bed3f04
GM
13367 * window.el (window-sides-slots):
13368 * tool-bar.el (tool-bar-position):
13369 * term/xterm.el (xterm-extra-capabilities):
13370 * ses.el (ses-self-reference-early-detection):
13371 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13372 (verilog-auto-wire-type)
13373 (verilog-auto-delete-trailing-whitespace)
13374 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13375 (verilog-auto-tieoff-declaration):
13376 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13377 (sql-oracle-statement-starters, sql-oracle-scan-on):
13378 * progmodes/prolog.el (prolog-align-comments-flag)
13379 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13380 (prolog-left-indent-regexp, prolog-paren-indent-p)
13381 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13382 (prolog-types, prolog-mode-specificators)
13383 (prolog-determinism-specificators, prolog-directives)
13384 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13385 (prolog-electric-dot-flag)
13386 (prolog-electric-dot-full-predicate-template)
13387 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13388 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13389 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13390 (prolog-program-switches, prolog-prompt-regexp)
13391 (prolog-debug-on-string, prolog-debug-off-string)
13392 (prolog-trace-on-string, prolog-trace-off-string)
13393 (prolog-zip-on-string, prolog-zip-off-string)
13394 (prolog-use-standard-consult-compile-method-flag)
13395 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13396 (prolog-imenu-max-lines, prolog-info-predicate-index)
13397 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13398 (prolog-char-quote-workaround):
13399 * progmodes/cc-vars.el (c-defun-tactic):
13400 * net/tramp.el (tramp-encoding-command-interactive)
13401 (tramp-local-end-of-line):
13402 * net/soap-client.el (soap-client):
13403 * net/netrc.el (netrc-file):
13404 * net/gnutls.el (gnutls):
13405 * minibuffer.el (completion-category-overrides)
13406 (completion-cycle-threshold)
13407 (completion-pcm-complete-word-inserts-delimiters):
13408 * man.el (Man-name-local-regexp):
13409 * mail/feedmail.el (feedmail-display-full-frame):
13410 * international/characters.el (glyphless-char-display-control):
13411 * eshell/em-ls.el (eshell-ls-date-format):
13412 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13413 (lisp-lambda-list-keyword-parameter-indentation)
13414 (lisp-lambda-list-keyword-parameter-alignment):
13415 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13416 * dired-x.el (dired-omit-verbose):
13417 * cus-theme.el (custom-theme-allow-multiple-selections):
13418 * calc/calc.el (calc-highlight-selections-with-faces)
13419 (calc-lu-field-reference, calc-lu-power-reference)
13420 (calc-note-threshold):
13421 * battery.el (battery-mode-line-limit):
13422 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13423 (archive-7z-update):
13424 * allout.el (allout-prefixed-keybindings)
13425 (allout-unprefixed-keybindings)
13426 (allout-inhibit-auto-fill-on-headline)
13427 (allout-flattened-numbering-abbreviation):
13428 * allout-widgets.el (allout-widgets-auto-activation)
13429 (allout-widgets-icons-dark-subdir)
13430 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13431 (allout-widgets-theme-dark-background)
13432 (allout-widgets-theme-light-background)
13433 (allout-widgets-item-image-properties-emacs)
13434 (allout-widgets-item-image-properties-xemacs)
13435 (allout-widgets-run-unit-tests-on-load)
13436 (allout-widgets-time-decoration-activity)
13437 (allout-widgets-hook-error-post-time)
13438 (allout-widgets-track-decoration):
13439 Add missing :version tags to new defcustoms and defgroups.
13440
5fec1b8e
GM
13441 * progmodes/sql.el (sql-ansi-statement-starters)
13442 (sql-oracle-statement-starters): Add custom type.
13443
3e0d2fa7
GM
13444 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13445 (prolog-system-version): Give it a type.
13446
90b671e2
EZ
134472012-02-11 Eli Zaretskii <eliz@gnu.org>
13448
13449 * term/pc-win.el (x-select-text, x-selection-owner-p)
13450 (x-own-selection-internal, x-disown-selection-internal)
13451 (x-get-selection-internal): Sync doc strings and argument lists
13452 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13453
5eac0c02
LL
134542012-02-11 Leo Liu <sdl.web@gmail.com>
13455
13456 * progmodes/python.el (python-end-of-statement): Fix infinite
13457 loop. (Bug#10788)
13458
f82cb659
GM
134592012-02-10 Glenn Morris <rgm@gnu.org>
13460
13461 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13462 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13463
cc26d239
LI
134642012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13465
13466 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13467 about SMTP before checking the From header.
13468
91027d08 13469 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13470 into own function for reuse by emacsbug.el.
13471
1be3ca5a
LL
134722012-02-10 Leo Liu <sdl.web@gmail.com>
13473
13474 * subr.el (condition-case-unless-debug): Rename from
13475 condition-case-no-debug. All callers changed.
13476 (with-demoted-errors): Fix caller.
13477
13478 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13479 * nxml/rng-valid.el (rng-do-some-validation):
13480 * emacs-lisp/package.el (package-refresh-contents)
13481 (package-menu-execute):
13482 * desktop.el (desktop-create-buffer):
91027d08 13483 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13484
b011fbfe
GM
134852012-02-10 Glenn Morris <rgm@gnu.org>
13486
b2096d72
GM
13487 * textmodes/bibtex.el:
13488 Add missing :version tags for new/changed defcustoms.
13489
b011fbfe
GM
13490 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13491
4c7e65bf
LI
134922012-02-09 Lars Ingebrigtsen <larsi@rusty>
13493
13494 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13495 (smtpmail-via-smtp): Use it, or fall back on the From address.
13496 (smtpmail-send-it): Ditto.
13497
f3934f6f
SM
134982012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13501 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13502 (byte-compile-tmp-var): New const.
13503 (byte-compile-defvar): Use it to minimize .elc size.
13504 Just use `defvar' rather than simulate it (bug#10761).
13505
a075a2c5
GM
135062012-02-09 Glenn Morris <rgm@gnu.org>
13507
cf3aa21b
GM
13508 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13509
354998cd
GM
13510 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13511 Add :version tags.
13512
dc9924b8
SM
13513 * progmodes/compile.el (compilation-error-screen-columns)
13514 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13515
dab3703d
GM
13516 * vc/log-view.el (log-view-toggle-entry-display):
13517 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13518
3f88cd72
GM
13519 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13520 (report-emacs-bug-can-use-xdg-email):
13521 (report-emacs-bug-insert-to-mailer): Doc fixes.
13522 (report-emacs-bug): Message fix.
13523
d95b247d
GM
13524 * net/browse-url.el (browse-url-can-use-xdg-open)
13525 (browse-url-xdg-open): Doc fixes.
13526
a075a2c5
GM
13527 * electric.el (electric-indent-mode, electric-pair-mode)
13528 (electric-layout-rules, electric-layout-mode): Doc fixes.
13529 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13530
ffb6157e
MR
135312012-02-08 Martin Rudalics <rudalics@gmx.at>
13532
13533 * server.el (server-unselect-display): Don't inadvertently kill
13534 the current buffer. (Bug#10729)
13535
e1ac4066
GM
135362012-02-08 Glenn Morris <rgm@gnu.org>
13537
34e8a2da
GM
13538 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13539 (sql-list-table): Doc fixes.
13540
b4ac6e8c
GM
13541 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13542 Comment out (does nothing).
13543
e1ac4066
GM
13544 * completion.el (dynamic-completion-mode):
13545 * dirtrack.el (dirtrack-debug-mode):
13546 * electric.el (electric-layout-mode):
13547 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13548 * face-remap.el (text-scale-mode, buffer-face-mode):
13549 * iimage.el (iimage-mode):
13550 * image-mode.el (image-transform-mode):
13551 * minibuffer.el (completion-in-region-mode):
13552 * scroll-lock.el (scroll-lock-mode):
13553 * simple.el (next-error-follow-minor-mode):
13554 * tar-mode.el (tar-subfile-mode):
13555 * tooltip.el (tooltip-mode):
13556 * vcursor.el (vcursor-use-vcursor-map):
13557 * wid-browse.el (widget-minor-mode):
13558 * emulation/tpu-edt.el (tpu-edt-mode):
13559 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13560 * international/iso-ascii.el (iso-ascii-mode):
13561 * language/thai-util.el (thai-word-mode):
13562 * mail/supercite.el (sc-minor-mode):
13563 * net/goto-addr.el (goto-address-mode):
13564 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13565 * progmodes/cwarn.el (cwarn-mode):
13566 * progmodes/flymake.el (flymake-mode):
13567 * progmodes/glasses.el (glasses-mode):
13568 * progmodes/hideshow.el (hs-minor-mode):
13569 * progmodes/pascal.el (pascal-outline-mode):
13570 * textmodes/enriched.el (enriched-mode):
13571 * vc/smerge-mode.el (smerge-mode):
13572 Doc fixes (minor mode argument).
13573
5e0d957f
EZ
135742012-02-07 Eli Zaretskii <eliz@gnu.org>
13575
13576 * ls-lisp.el (ls-lisp-sanitize): New function.
13577 (ls-lisp-insert-directory): Use it to fix or remove any elements
13578 in file-alist with missing attributes. (Bug#4673)
13579
98d7371e
AM
135802012-02-07 Alan Mackenzie <acm@muc.de>
13581
13582 Fix spurious recognition of c-in-knr-argdecl.
13583
13584 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13585 putative K&R region.
13586
667ced3a
AM
135872012-02-07 Alan Mackenzie <acm@muc.de>
13588
eb864a71
LM
13589 * progmodes/cc-engine.el (c-forward-objc-directive):
13590 Prevent looping in "#pragma mark @implementation".
667ced3a 13591
5b77774d
MA
135922012-02-07 Michael Albinus <michael.albinus@gmx.de>
13593
13594 * notifications.el (notifications-on-closed-signal): Make `reason'
13595 optional. (Bug#10744)
13596
af008560
GM
135972012-02-07 Glenn Morris <rgm@gnu.org>
13598
60d47423
GM
13599 * emacs-lisp/easy-mmode.el (define-minor-mode):
13600 Doc fixes for the macro and the mode it defines.
13601
dd605cc4
GM
13602 * image.el (imagemagick-types-inhibit): Doc fix.
13603
af008560
GM
13604 * cus-start.el (imagemagick-render-type): Add it.
13605
5cc59a37
LI
136062012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13607
4d6769e1
JB
13608 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13609 Set the default at load time, too, so that `font-lock-fontify-buffer'
13610 can be called without setting up the entire mode first. This fixes
13611 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13612
9a6dd747
CY
136132012-02-06 Chong Yidong <cyd@gnu.org>
13614
2d16b285
CY
13615 * simple.el (list-processes--refresh): Delete exited processes
13616 (Bug#8094).
13617
171e9b6e
CY
13618 * comint.el (comint-next-prompt): next-single-char-property-change
13619 and prev-single-char-property-change never return nil (Bug#8657).
13620
9a6dd747
CY
13621 * custom.el (defcustom): Doc fix (Bug#9711).
13622
aa4589a7
CY
136232012-02-05 Chong Yidong <cyd@gnu.org>
13624
5c2a252f
CY
13625 * cus-edit.el (custom-variable-reset-backup): Quote the value
13626 before storing it in the customized-value property (Bug#6712).
4aab9006 13627 (custom-display): Add a customization type tag.
983b9602 13628 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13629
aa4589a7
CY
13630 * wid-edit.el (widget-field-value-get): New optional arg to
13631 suppress trailing whitespace truncation.
13632 (character): Use it (Bug#2689).
13633
1ff980ae
AS
136342012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13635
13636 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13637 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13638
03988c98
CY
136392012-02-05 Chong Yidong <cyd@gnu.org>
13640
eeb6cc88
CY
13641 * cus-edit.el (custom-variable-value-create): For mismatched
13642 types, show the current value (Bug#7600).
13643
03988c98
CY
13644 * custom.el (defcustom): Doc fix.
13645
f8cdeef0
GM
136462012-02-05 Glenn Morris <rgm@gnu.org>
13647
13648 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13649
0696d255
JB
136502012-02-05 Juanma Barranquero <lekktu@gmail.com>
13651
13652 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13653 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13654 (pp-last-sexp): Use `looking-at-p'.
13655
34c99998
GM
136562012-02-04 Glenn Morris <rgm@gnu.org>
13657
8f05da42
GM
13658 * files.el (revert-buffer):
13659 Doc fix (mention revert-buffer-in-progress-p).
13660
f160676e
GM
13661 * emacs-lisp/ert-x.el (ert-simulate-command):
13662 Check deferred-action-list (which is obsolete) is bound.
13663
c7291ad9
GM
13664 * subr.el (with-wrapper-hook): Doc fixes.
13665
34c99998
GM
13666 * simple.el (filter-buffer-substring-functions)
13667 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13668
6283a7d3
LL
136692012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13670
13671 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13672 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13673
e96e3013
LL
136742012-02-04 Leo Liu <sdl.web@gmail.com>
13675
13676 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13677
8ded50f2
GM
136782012-02-04 Glenn Morris <rgm@gnu.org>
13679
82ff1d13
GM
13680 * image.el (image-extension-data): Add obsolete alias.
13681
987a0a16
GM
13682 * isearch.el (isearch-update): Doc fix.
13683
ea32ef46
GM
13684 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13685
8ded50f2
GM
13686 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13687
eea14f31
GM
136882012-02-03 Glenn Morris <rgm@gnu.org>
13689
13690 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13691 (image-animate-timeout): Doc fix.
13692
13693 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13694
12f381b7
GM
136952012-02-02 Glenn Morris <rgm@gnu.org>
13696
953cebf5
GM
13697 * server.el (server-auth-dir): Doc fix.
13698 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13699
12f381b7
GM
13700 * subr.el (run-mode-hooks): Doc fix.
13701
953a8c3b
JL
137022012-02-02 Juri Linkov <juri@jurta.org>
13703
13704 * image-mode.el (image-toggle-display-image): Remove tautological
13705 `major-mode' from the `derived-mode-p' test.
13706
c5d3843c
KH
137072012-02-02 Kenichi Handa <handa@m17n.org>
13708
9f6e692e 13709 * composite.el (compose-region): Cancel previous change.
c5d3843c 13710
159462d4 137112012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13712
13713 * composite.el (compose-region, compose-string): Signal error for
13714 a null string component (Bug#6988).
13715
9f562668
CY
137162012-02-01 Chong Yidong <cyd@gnu.org>
13717
e2cef717
CY
13718 * view.el (view-buffer-other-window, view-buffer-other-frame):
13719 Handle special modes like view-buffer (Bug#10650).
13720 (view-buffer): Simplify.
13721
9f562668
CY
13722 * frame.el (set-frame-font): Tweak meaning of third argument.
13723
9f6e692e
JB
13724 * dynamic-setting.el (font-setting-change-default-font):
13725 Use set-frame-font (Bug#9982).
9f562668 13726
781acb9f
GM
137272012-02-01 Glenn Morris <rgm@gnu.org>
13728
6035be52
GM
13729 * progmodes/compile.el (compilation-internal-error-properties):
13730 Respect compilation-first-column in the "*compilation*" buffer.
13731
781acb9f
GM
13732 * emacs-lisp/easy-mmode.el (define-minor-mode):
13733 Relax :variable's test for a named function.
13734
abbceb00
AM
137352012-01-31 Alan Mackenzie <acm@muc.de>
13736
13737 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13738 off by one error.
13739
fce3fdeb
CY
137402012-01-31 Chong Yidong <cyd@gnu.org>
13741
13742 * frame.el (set-frame-font): New arg ALL-FRAMES.
13743
13744 * menu-bar.el (menu-set-font): Use set-frame-font.
13745
13746 * faces.el (face-spec-reset-face): Don't apply unspecified
13747 attribute values to the default face.
13748
47893581
JB
137492012-01-31 Juanma Barranquero <lekktu@gmail.com>
13750
13751 * progmodes/cwarn.el (cwarn): Remove dead link.
13752 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13753 Remove * from defcustom docstrings.
13754 (turn-on-cwarn-mode): Make obsolete.
13755 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13756 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13757
e58e988a
GM
137582012-01-31 Glenn Morris <rgm@gnu.org>
13759
60dc2671 13760 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13761 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13762 Allow named functions to be used as the cdr of :variable.
e58e988a 13763
7a3f511d
GM
137642012-01-30 Glenn Morris <rgm@gnu.org>
13765
13766 * emacs-lisp/authors.el (authors-fixed-entries):
13767 Remove reference to deleted file rnewspost.el.
13768
cb882333
JB
137692012-01-29 Juanma Barranquero <lekktu@gmail.com>
13770
13771 * window.el (window-with-parameter): Remove unused variable `windows'.
13772 (window--side-check): Remove unused variable `code'.
13773 (window--resize-siblings): Remove unused variable `first'.
13774 (adjust-window-trailing-edge): Remove unused variable `failed'.
13775 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13776 Use `let', not `let*'.
13777 (balance-windows-2): Remove unused variable `found'.
13778 (window--state-put-2): Remove unused variable `splits'.
13779 (window-state-put): Remove unused variable `selected'.
13780 (same-window-p): Use `string-match-p'.
13781 (display-buffer-assq-regexp): Remove unused variable `value'.
13782 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13783 Mark argument ALIST as ignored.
13784 (pop-to-buffer): Remove unused variable `old-window'.
13785
907201af
EZ
137862012-01-29 Eli Zaretskii <eliz@gnu.org>
13787
13788 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13789 and .lzma compressed files.
13790
ea162670
CY
137912012-01-29 Chong Yidong <cyd@gnu.org>
13792
5b95ee8a
CY
13793 * frame.el (window-system-default-frame-alist): Doc fix.
13794
ea162670
CY
13795 * dynamic-setting.el (font-setting-change-default-font): Don't
13796 change the default face if SET-FONT argument is non-nil (Bug#9982).
13797
6fccd6e8 137982012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13799
13800 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13801
0f29fa41 138022012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13803
13804 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13805 breakpoints in files outside current directory (Bug#6098).
13806
db174434
CY
138072012-01-29 Chong Yidong <cyd@gnu.org>
13808
6b25e4e2
SE
13809 * progmodes/python.el: Require ansi-color at top-level.
13810
6df6ae42
JB
13811 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13812 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13813 (lisp-mode-abbrev-table): Add doc.
13814 (lisp-mode-variables): Don't set local-abbrev-table.
13815 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13816
e70ee681
RW
138172012-01-28 Roland Winkler <winkler@gnu.org>
13818
13819 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13820
ace88aa2
RW
138212012-01-28 Roland Winkler <winkler@gnu.org>
13822
13823 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13824 (bibtex-set-dialect): Use it. Either set global values of
13825 dialect-dependent variables or bind these variables buffer-locally
13826 (Bug#10254).
13827 (bibtex-mode): Call bibtex-set-dialect via
13828 hack-local-variables-hook.
eb864a71
LM
13829 (bibtex-dialect): Update docstring.
13830 Add safe-local-variable predicate.
ace88aa2
RW
13831 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13832 bibtex-set-dialect.
13833 (bibtex-mode-map): Define menu for each dialect.
13834 (bibtex-entry): Fix docstring.
13835
93376c5b
CY
138362012-01-28 Chong Yidong <cyd@gnu.org>
13837
13838 * eshell/esh-arg.el (eshell-quote-argument): New function.
13839
13840 * eshell/esh-ext.el (eshell-invoke-batch-file):
13841 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13842 first arg to eshell-parse-command (Bug#10523).
13843
4372494f
DA
138442012-01-28 Drew Adams <drew.adams@oracle.com>
13845
13846 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13847 `default-directory' is non-nil.
13848
4d4ec1f8
EZ
138492012-01-28 Eli Zaretskii <eliz@gnu.org>
13850
13851 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13852 line that displays system-configuration-options. (Bug#9924)
13853
7c188927
DA
138542012-01-28 Drew Adams <drew.adams@oracle.com>
13855
13856 * descr-text.el (describe-char): Show information about POS, in
13857 addition to information about the character at POS. Improve and
13858 update the doc string. Change "code point" to "code point in
13859 charset", to avoid confusion with the character's Unicode code
13860 point shown above that. (Bug#10129)
13861
e0da685a
EZ
138622012-01-28 Eli Zaretskii <eliz@gnu.org>
13863
13864 * descr-text.el (describe-char): Show the raw character, not only
13865 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13866 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13867 for the reasons.
13868
70550acf
PH
138692012-01-28 Phil Hagelberg <phil@hagelb.org>
13870
eb864a71
LM
13871 * emacs-lisp/package.el (package-install):
13872 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13873
0ce8e868
CY
138742012-01-28 Chong Yidong <cyd@gnu.org>
13875
cb882333
JB
13876 * emacs-lisp/package.el (package-maybe-load-descriptor):
13877 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13878 (package-maybe-load-descriptor): Use it.
13879 (package-download-transaction): Fully load required packages
13880 inside the loop, so that `require' calls work (Bug#10593).
13881 (package-install): No need to call package-initialize now.
13882
2e7f3bea
CY
138832012-01-28 Chong Yidong <cyd@gnu.org>
13884
6e9bad14
CY
13885 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13886
f823b8ca
CY
13887 * tooltip.el (tooltip-mode): Doc fix.
13888 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13889
2680c309
CY
13890 * frame.el (set-cursor-color): Doc fix (Bug#352).
13891
d7a9e63b
CY
13892 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13893 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13894
2e7f3bea
CY
13895 * cus-edit.el (custom-buffer-create-internal): Fix search button
13896 action (Bug#10542).
2ae01800 13897 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13898
fc4f7a23
EW
138992012-01-27 Eduard Wiebe <usenet@pusto.de>
13900
13901 * dired.el (dired-mark-files-regexp):
13902 Include any subdirectory components. (Bug#10445)
13903
7dd37071
ML
139042012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13905
13906 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13907 Handle [host]:port syntax. (Bug#10533)
13908
a268160b
AH
139092012-01-27 Alex Harsanyi <harsanyi@mac.com>
13910
13911 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13912
e43273ef
GM
139132012-01-26 Glenn Morris <rgm@gnu.org>
13914
13915 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13916 * term.el (term-raw-escape-map): Use Control-X-prefix.
13917 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13918
1edf595d
MR
139192012-01-25 Martin Rudalics <rudalics@gmx.at>
13920
13921 * window.el (window-state-get, window--state-get-1): Don't deal
13922 with fixed-sizeness of windows. Simplify code.
13923
fa8eafef
JC
139242012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13925
6df6ae42
JB
13926 * window.el (window--state-get-1, window--state-put-2):
13927 Don't save and restore the mark.
fa8eafef 13928
0b21c100
CY
139292012-01-25 Chong Yidong <cyd@gnu.org>
13930
13931 * custom.el (custom-variable-p): Doc fix.
13932
5ae1a6c8
GM
139332012-01-25 Glenn Morris <rgm@gnu.org>
13934
40047858
GM
13935 * dired.el (dired-goto-file): Handle some of the more common
13936 characters that `ls -b' escapes. (Bug#10596)
13937
5ddce96c
GM
13938 * progmodes/compile.el (compilation-next-error-function):
13939 Respect compilation-first-column in the "*compilation*" buffer.
13940 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13941
5ae1a6c8
GM
13942 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13943
b559f1a9
GM
139442012-01-24 Glenn Morris <rgm@gnu.org>
13945
13946 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13947
6725d21a
JD
139482012-01-24 Julien Danjou <julien@danjou.info>
13949
13950 * color.el (color-rgb-to-hsl): Fix value computing.
13951 (color-hue-to-rgb): New function.
13952 (color-hsl-to-rgb): New function.
13953 (color-clamp, color-saturate-hsl, color-saturate-name)
13954 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13955 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13956
70df4bbe
GM
139572012-01-24 Glenn Morris <rgm@gnu.org>
13958
13959 * vc/vc-rcs.el (vc-rcs-create-tag):
13960 * vc/vc-sccs.el (vc-sccs-create-tag):
13961 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13962
802a2ae2
ML
139632012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13964
13965 * eshell/esh-util.el (eshell-read-hosts-file):
13966 Skip comment lines. (Bug#10549)
13967
d7128bb1
ML
13968 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13969
d1a5c3b4
JB
139702012-01-23 Juanma Barranquero <lekktu@gmail.com>
13971
2724d9c7
JB
13972 * subr.el (display-delayed-warnings): Doc fix.
13973 (collapse-delayed-warnings): New function to collapse identical
13974 adjacent warnings.
13975 (delayed-warnings-hook): Add it.
d1a5c3b4 13976
a5509865
MA
139772012-01-22 Michael Albinus <michael.albinus@gmx.de>
13978
13979 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13980
a5509865
MA
13981 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13982 (tramp-default-user-alist): Don't add "pscp".
13983 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13984 property "login-as", if set. (Bug#10530)
13985
cc6d5805
MA
139862012-01-21 Michael Albinus <michael.albinus@gmx.de>
13987
13988 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13989 "plink1" and "psftp". (Bug#10530)
13990
139912012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13992
13993 * international/mule-cmds.el (prefer-coding-system): Show a
13994 warning message if the default value of file-name-coding-system
13995 was not changed.
13996
f0960428
JC
139972012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13998
cb882333
JB
13999 * windmove.el (windmove-reference-loc):
14000 Fix windmove-reference-loc miscalculation.
f0960428 14001
dd6f2a63
JB
140022012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14003
14004 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14005 default unit.
14006
7b447e9b
GM
140072012-01-21 Glenn Morris <rgm@gnu.org>
14008
117a9ea1
GM
14009 * international/mule.el (auto-coding-alist): Add .tbz.
14010
7b447e9b
GM
14011 * files.el (local-enable-local-variables): Doc fix.
14012 (inhibit-local-variables-regexps): Rename from
14013 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14014 Doc fix. Add some extensions from auto-coding-alist.
14015 (inhibit-local-variables-suffixes):
14016 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14017 (inhibit-local-variables-p):
14018 New function, extracted from set-auto-mode-1.
14019 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14020 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14021 (hack-local-variables): Doc fix. Make the mode-only case
14022 respect enable-local-variables and friends.
14023 Respect inhibit-local-variables-regexps for file-locals, but
14024 not for directory-locals.
14025 (set-visited-file-name):
14026 Take account of inhibit-local-variables-regexps.
14027 Whether it applies may change as the file name is changed.
14028 * jka-cmpr-hook.el (jka-compr-install):
14029 * jka-compr.el (jka-compr-uninstall):
14030 Update for inhibit-first-line-modes-suffixes name change.
14031
dd6e3cdd
MR
140322012-01-20 Martin Rudalics <rudalics@gmx.at>
14033
14034 * help-macro.el (make-help-screen): Temporarily restore original
14035 binding for minor-mode-map-alist (Bug#10454).
14036
0d0deb38
JD
140372012-01-19 Julien Danjou <julien@danjou.info>
14038
14039 * color.el (color-name-to-rgb): Use the white color to find the max
14040 color component value and return correctly computed values.
14041 (color-name-to-rgb): Add missing float conversion for max value.
14042
34a02f46
MR
140432012-01-19 Martin Rudalics <rudalics@gmx.at>
14044
14045 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
14046 special state value for window-persistent-parameters.
14047 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
14048 (window--state-put-2): Reset all window parameters to nil before
14049 assigning values of persistent parameters.
14050
606c44c4
AM
140512012-01-18 Alan Mackenzie <acm@muc.de>
14052
14053 Eliminate sluggishness and hangs in fontification of "semicolon
14054 deserts".
14055
cb882333
JB
14056 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14057 Change value 10000 -> 3000.
606c44c4
AM
14058 (c-state-safe-place): Reformulate so it doesn't stack up an
14059 infinite number of wrong entries in c-state-nonlit-pos-cache.
14060 (c-determine-limit-get-base, c-determine-limit): New functions to
14061 determine backward search limits disregarding literals.
14062 (c-find-decl-spots): Amend commenting.
14063 (c-cheap-inside-bracelist-p): New function which detects "={".
14064
14065 * progmodes/cc-fonts.el
14066 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14067 backward search.
14068 (c-font-lock-declarations): Fix an occurrence of point being
14069 undefined. Check additionally for point being in a bracelist or
14070 near a macro invocation without a semicolon so as to avoid a
14071 fruitless time consuming search for a declarator. Give a more
14072 precise search limit for declarators using the new
14073 c-determine-limit.
14074
f3860cea
GM
140752012-01-18 Glenn Morris <rgm@gnu.org>
14076
14077 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14078 (set-auto-mode): Doc fixes.
14079
1db03b16
GM
140802012-01-17 Glenn Morris <rgm@gnu.org>
14081
0e6038be
GM
14082 * isearch.el (search-nonincremental-instead): Fix doc typo.
14083
1db03b16
GM
14084 * dired.el (dired-insert-directory): Handle newlines in directory name.
14085 (dired-build-subdir-alist): Unescape newlines in directory name.
14086
4cb0aa75
MA
140872012-01-17 Michael Albinus <michael.albinus@gmx.de>
14088
14089 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14090 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14091 (tramp-action-terminal): Use it. (Bug#10530)
14092
1d00653d
SM
140932012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14096
6a6ee00d
MR
140972012-01-16 Martin Rudalics <rudalics@gmx.at>
14098
14099 * window.el (window-state-ignored-parameters): Remove variable.
14100 (window--state-get-1): Rename argument MARKERS to IGNORE.
14101 Handle persistent window parameters. Make copy of clone-of
14102 parameter only if requested. (Bug#10348)
14103 (window--state-put-2): Install a window parameter only if it has
14104 a non-nil value or an existing parameter shall be overwritten.
14105
97912def
MA
141062012-01-15 Michael Albinus <michael.albinus@gmx.de>
14107
14108 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14109
688070a5
EZ
141102012-01-14 Eli Zaretskii <eliz@gnu.org>
14111
14112 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14113 don't pass the (nil) value of `upnode' to string-match.
14114
301afadc
CY
141152012-01-14 Chong Yidong <cyd@gnu.org>
14116
14117 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 14118 Fix values recognized by the cursorBlink resource.
301afadc 14119
9e5788aa
PE
141202012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14121
14122 * epg.el (epg--make-temp-file): Avoid permission race condition
14123 when running on old Emacs versions (bug#10403).
14124
3cdb7f5a
GM
141252012-01-14 Glenn Morris <rgm@gnu.org>
14126
14127 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14128
8c82b1b4
AM
141292012-01-13 Alan Mackenzie <acm@muc.de>
14130
14131 Fix filling for when filladapt mode is enabled.
14132
14133 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14134 c-mask-paragraph, pass in `fill-paragraph' rather than
14135 `fill-region-as-paragraph'. (This is a reversion of a previous
14136 change.)
eb864a71
LM
14137 * progmodes/cc-mode.el (c-basic-common-init):
14138 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 14139
e517eda4
GM
141402012-01-13 Glenn Morris <rgm@gnu.org>
14141
1498536e
GM
14142 * dired.el (dired-switches-escape-p): New function.
14143 (dired-insert-directory): Use dired-switches-escape-p.
14144 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14145
e517eda4
GM
14146 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14147
328f984d
GM
141482012-01-12 Glenn Morris <rgm@gnu.org>
14149
14150 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14151 changes in adaptive-fill-regexp. (Bug#10276)
14152
2cc769a8
AM
141532012-01-11 Alan Mackenzie <acm@muc.de>
14154
14155 Fix Emacs bug #10463 - put `widen's around the critical spots.
14156
1d00653d 14157 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14158 widen around each invocation of c-state-pp-to-literal. Remove an
14159 unused let variable.
14160
e52c37fa
GM
141612012-01-11 Glenn Morris <rgm@gnu.org>
14162
14163 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14164 Doc fix.
e52c37fa 14165
96f8741e
CY
141662012-01-10 Chong Yidong <cyd@gnu.org>
14167
1d00653d
SM
14168 * net/network-stream.el (network-stream-open-starttls):
14169 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14170 response to the capability command.
14171
b09a806e
GM
141722012-01-10 Glenn Morris <rgm@gnu.org>
14173
14174 * mail/unrmail.el (unrmail): Tweak previous change.
14175
7655cb66
CY
141762012-01-09 Chong Yidong <cyd@gnu.org>
14177
14178 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14179
9d5a8f0b
AM
141802012-01-08 Alan Mackenzie <acm@muc.de>
14181
677d5c92 14182 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14183
14184 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14185 arm to a cond form to handle enums.
14186 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14187 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14188
9a0115ab 141892012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14190
14191 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14192 (Bug#10401)
6bb72cbd 14193
f186bb95
LMI
141942012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14195
29232a68
LMI
14196 * faces.el (set-face-attribute): Clarify the meaning of the nil
14197 frame (bug#10294).
14198
4e5d086d
LMI
14199 * subr.el (with-selected-frame): Mention that the selected frame
14200 is restored (bug#9980).
14201
8e66aebe
LMI
14202 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14203 (bug#9759).
14204
cd394be1 14205 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14206 (password-read): Don't autoload unused function.
14207
adf4e762
JB
142082012-01-07 Juanma Barranquero <lekktu@gmail.com>
14209
14210 * progmodes/which-func.el (which-func-mode): Turn into a
14211 non-interactive function and mark as obsolete (bug#10428).
14212
89bd9ccd
CY
142132012-01-06 Chong Yidong <cyd@gnu.org>
14214
14215 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14216 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14217 functions, along with 1 and -1.
14218
4afee9d5
EZ
142192012-01-06 Eli Zaretskii <eliz@gnu.org>
14220
14221 * time.el (display-time-load-average)
14222 (display-time-default-load-average): Doc fixes. See the thread
14223 starting at
14224 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14225 for the details.
14226
536aea70
GM
142272012-01-06 Glenn Morris <rgm@gnu.org>
14228
665ae865
GM
14229 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14230 has no messages. (Bug#10377)
14231
c869783d
GM
14232 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14233 than Info-edit. (Bug#10385)
14234
2bb4227e
GM
14235 * time.el (display-time-load-average, display-time-next-load-average):
14236 Doc fixes.
14237
7d5944b9
GM
14238 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14239 local setting of buffer-read-only to the input buffer. (Bug#10419)
14240
536aea70
GM
14241 * calendar/calendar.el (calendar-mode):
14242 Locally set scroll-margin to 0. (Bug#10379)
14243
7dccca16
UM
142442012-01-06 Ulrich Mueller <ulm@gentoo.org>
14245
14246 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14247
afbb7930
GM
142482012-01-05 Glenn Morris <rgm@gnu.org>
14249
14250 * eshell/em-unix.el (diff-no-select): Autoload it.
14251 (eshell/diff): Use diff-no-select. (Bug#10420)
14252
04482335
CY
142532012-01-05 Chong Yidong <cyd@gnu.org>
14254
7baca3bc
CY
14255 * shell.el (shell-dynamic-complete-functions): Revert last change.
14256 (shell-command-completion-function): New function.
14257 (shell-completion-vars): Use it to implement
14258 shell-completion-execonly (Bug#10417).
14259
04482335
CY
14260 * custom.el (enable-theme): Don't set custom-safe-themes.
14261
1d00653d
SM
14262 * cus-theme.el (custom-theme-merge-theme):
14263 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14264
bb5aa5d6
MM
142652012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14266
14267 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14268 first prompt in `sql-interacive-mode'.
14269 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14270 keywords.
6df6ae42 14271 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14272 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14273 context of original buffer. Invoke `sql-login-hook'.
14274
a7183d7c
EZ
142752012-01-04 Eli Zaretskii <eliz@gnu.org>
14276
14277 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14278 letters in cite-prefix.
14279
a1eacd1e
LMI
142802012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14281
14282 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14283
787cdb34
CY
142842012-01-03 Chong Yidong <cyd@gnu.org>
14285
1d00653d
SM
14286 * shell.el (shell-dynamic-complete-functions):
14287 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14288 comint-filename-completion first (Bug#10417).
14289
30710442
RS
142902012-01-02 Richard Stallman <rms@gnu.org>
14291
14292 * battery.el (battery-status-function):
14293 Detect when to use battery-yeeloong-sysfs.
14294 (battery-echo-area-format): Add string for Yeeloong.
14295 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14296 (battery-yeeloong-sysfs): New function.
14297
f75bfc33
CY
142982012-01-02 Chong Yidong <cyd@gnu.org>
14299
14300 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14301 (dirtrack): Merge code for handling relative filenames in prompt
14302 from shell-dir-cookie-watcher.
14303 (dirtrack-debug-message): New arg to avoid excess format calls.
14304
14305 * shell.el (shell-dir-cookie-re): Variable deleted.
14306 (shell-dir-cookie-watcher): Function deleted.
14307 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14308 with dirtrack-mode.
14309
651e947e
EZ
143102012-01-01 Eli Zaretskii <eliz@gnu.org>
14311
1d00653d
SM
14312 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14313 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14314 libgnutls-26.dll.
14315
94d4c7dc
AS
143162011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14317
14318 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14319
8d43f3cd
EZ
143202011-12-31 Eli Zaretskii <eliz@gnu.org>
14321
14322 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14323 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14324
98c8795a
MA
143252011-12-29 Michael Albinus <michael.albinus@gmx.de>
14326
14327 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14328 also for alternative shells.
14329 (tramp-open-connection-setup-interactive-shell): Check, whether
14330 the shell is a busybox.
14331 (tramp-send-command): Don't suppress multiple prompts for
14332 busyboxes, it hurts.
14333
51281b32
CY
143342011-12-28 Chong Yidong <cyd@gnu.org>
14335
14336 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14337 (gdb-get-source-file): Move mode line update to
14338 gdb-get-source-file (Bug#10087).
14339
2170cb53
CY
143402011-12-25 Chong Yidong <cyd@gnu.org>
14341
14342 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14343 gud-gdb-marker-filter without taking it as an argument.
14344 (gud-gdb-run-command-fetch-lines): Caller changed.
14345 (gud-gdb-completion-function): New variable.
14346 (gud-gdb-completion-at-point): Use it.
14347 (gud-gdb-completions-1): Split from gud-gdb-completions.
14348
14349 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14350 function as separate arguments.
14351 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14352 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14353 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14354 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14355 (gdb-stopped, def-gdb-auto-update-trigger)
14356 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14357 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14358 Callers changed.
2170cb53
CY
14359 (gud-gdbmi-completions): New function.
14360 (gdb): Use it for generating the completion table.
14361
be8b11bb
AM
143622011-12-24 Alan Mackenzie <acm@muc.de>
14363
14364 Introduce a mechanism to widen the region used in context font
1d00653d 14365 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14366
1d00653d
SM
14367 * progmodes/cc-langs.el (c-before-font-lock-functions):
14368 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14369 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14370 functions to be run just before context (etc.) font locking.
14371
14372 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14373 New, functionality extracted from
be8b11bb 14374 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14375 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14376 (c-after-change): Set c-in-after-change-fontification.
14377 (c-set-fl-decl-start): Rejig its interface, so it can be called
14378 from both after-change and context fontifying.
b81d40f0
JB
14379 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14380 New functions.
14381 (c-standard-font-lock-fontify-region-function): New variable.
14382 (c-font-lock-fontify-region): New function.
be8b11bb 14383
341cf6ac
JL
143842011-12-24 Juri Linkov <juri@jurta.org>
14385
14386 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14387 (Bug#10348)
14388
bffcee0a
MA
143892011-12-23 Michael Albinus <michael.albinus@gmx.de>
14390
14391 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14392 existence of source file. (Bug#10325)
14393
cb5e207c
AM
143942011-12-23 Alan Mackenzie <acm@muc.de>
14395
14396 Fix unstable fontification inside templates.
14397
b81d40f0
JB
14398 * progmodes/cc-langs.el (c-before-font-lock-functions):
14399 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14400 additionally has c-set-fl-decl-start. The other languages (apart
14401 from AWK) have that as a single entry.
14402
b81d40f0
JB
14403 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14404 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14405 c-set-fl-decl-start.
14406
b81d40f0
JB
14407 * progmodes/cc-mode.el (c-common-init, c-after-change):
14408 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14409 (c-set-fl-decl-start): New function, extracted from
14410 c-font-lock-enclosing-decls and enhanced.
14411
60ff536c
JB
144122011-12-23 Juanma Barranquero <lekktu@gmail.com>
14413
14414 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14415
1c4757d6
JL
144162011-12-22 Juri Linkov <juri@jurta.org>
14417
14418 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14419
d031f2c7
CY
144202011-12-22 Chong Yidong <cyd@gnu.org>
14421
14422 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14423
bace743a
DA
144242011-12-21 Drew Adams <drew.adams@oracle.com>
14425
14426 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14427
728a1f2b
JC
144282011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14429
14430 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14431
0d373f73
TZ
144322011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14433
fec0aaa4
TZ
14434 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14435 highlighting and support. Fix up comments for capitalization.
14436 (cfengine-mode-debug): New var.
14437 (cfengine3-mode): Change the modeline indicator to "CFE3".
14438 (cfengine3-font-lock-keywords): Improve defun highlighting.
14439 (cfengine2-actions): Rename from `cfengine-actions'.
14440 (cfengine2-font-lock-keywords): Rename from
14441 `cfengine-font-lock-keywords'.
14442 (cfengine2-imenu-expression): Rename from
14443 `cfengine-imenu-expression'.
14444 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14445 (cfengine2-beginning-of-defun): Rename from
14446 `cfengine-beginning-of-defun'.
14447 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14448 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14449 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14450 modeline indicator to "CFE2".
14451 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14452 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14453
bc86f573
CY
144542011-12-21 Chong Yidong <cyd@gnu.org>
14455
14456 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14457 filename argument.
14458
d45ba96b
MR
144592011-12-20 Martin Rudalics <rudalics@gmx.at>
14460
14461 * window.el (window-normalize-buffer-to-display): Remove.
14462 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14463
a6198c90
CY
144642011-12-19 Chong Yidong <cyd@gnu.org>
14465
14466 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14467 Don't signal an error in a predicate function; return non-nil.
14468 (vc-dir-mark-file): Move the error here.
14469 (vc-dir-mark-unmark): If acting on the region, keep going if one
14470 of the entries cannot be marked/unmarked.
14471 (vc-dir-mark-all-files): If current entry is a directory, mark
14472 only child files, as documented.
14473
34c5fb55
VB
144742011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14475
14476 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14477 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14478 addition.
14479
c803b2b7
JD
144802011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14481
14482 * term/ns-win.el (ns-get-selection-internal)
14483 (ns-store-selection-internal): Declare.
1154d12e
JB
14484 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14485 Declare as obsolete.
14486 (ns-get-pasteboard, ns-paste-secondary):
14487 Use ns-get-selection-internal.
41e9b956 14488 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14489 Use ns-store-selection-internal.
c803b2b7 14490
9cff91f8 144912011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14492
14493 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14494 (vc-deduce-fileset): Doc fix.
99a289d9 14495
f16c898a
AS
144962011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14497
14498 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14499
763237c4
SS
145002011-12-13 Sam Steingold <sds@gnu.org>
14501
14502 * man.el (Man-getpage-in-background): When running under a
14503 window-system, ignore $MANWIDTH and $COLUMNS.
14504
5fc1c122
KH
145052011-12-15 Kenichi Handa <handa@m17n.org>
14506
14507 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14508 (setup-ethiopic-environment-internal): Comment out key-binding for
14509 ethio-toggle-punctuation.
14510
13d49cbb
AM
145112011-12-13 Alan Mackenzie <acm@muc.de>
14512
898169a2
AM
14513 Add the switch statement to AWK Mode.
14514
7a71b18d 14515 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14516 "default" to the keywords regexp.
14517
7a71b18d 14518 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14519 expression as the rest.
1d00653d
SM
14520 (c-nonlabel-token-key): Allow string literals for AWK.
14521 Refactor for the other modes.
898169a2 14522
13d49cbb 14523 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14524 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14525 routines. Limit backward searching in c-font-lock-enclosing.decl.
14526
14527 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14528 pp-state and literal type in addition to the limits.
1d00653d 14529 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14530 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14531 (c-slow-in-literal, c-fast-in-literal): Remove.
14532 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14533
14534 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14535 being in a literal. Add a limit for backward searching.
14536
14537 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14538 c-slow-in-literal.
14539
15e0efc7
SM
145402011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14543
454592a6
MR
145442011-12-13 Martin Rudalics <rudalics@gmx.at>
14545
14546 * window.el (delete-other-windows): Use correct frame in call to
14547 window-with-parameter.
14548
87393f26
DP
145492011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14550
14551 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14552 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14553 (makefile-gmake-statements, makefile-makepp-statements):
14554 Use it and add new makepp keywords.
14555 (makefile-makepp-font-lock-keywords): Add new patterns.
14556 (makefile-match-function-end): Match new [...] and [[...]].
14557
11636b22
JB
145582011-12-11 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * ses.el (ses-call-printer-return, ses-cell-property-get)
14561 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14562 (ses-create-cell-variable, ses-reset-header-string)
14563 (ses-cell-set-formula, ses-repair-cell-reference-all)
14564 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14565 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14566 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14567 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14568 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14569 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14570 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14571 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14572 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14573 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14574 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14575 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14576
cf018193
VB
145772011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14578
14579 * ses.el: The overall change is to add cell renaming, that is
14580 setting fancy names for cell symbols other than name matching
14581 "\\`[A-Z]+[0-9]+\\'" regexp .
14582 (ses-create-cell-variable): New defun.
14583 (ses-relocate-formula): Relocate formulas only for cells the
14584 symbols of which are not renamed, i.e. symbols whose names do not
14585 match regexp "\\`[A-Z]+[0-9]+\\'".
14586 (ses-relocate-all): Relocate values only for cells the symbols of
14587 which are not renamed.
14588 (ses-load): Create cells variables as the (ses-cell ...) are read,
14589 in order to check row col consistency with cell symbol name only
14590 for cells that are not renamed.
14591 (ses-replace-name-in-formula): New defun.
14592 (ses-rename-cell): New defun.
14593
ee957461
CY
145942011-12-11 Chong Yidong <cyd@gnu.org>
14595
14596 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14597 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14598
9a9e9ef0
MR
145992011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14600
14601 * window.el (other-window): Fix docstring.
14602
92a8eba5
EZ
146032011-12-10 Eli Zaretskii <eliz@gnu.org>
14604
14605 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14606 `from' or `to' address before taking its substring.
14607 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14608 encoded name is chopped in the middle of the encoded string, and
14609 thus displayed encoded.
14610
e152e577
JB
146112011-12-10 Juanma Barranquero <lekktu@gmail.com>
14612
14613 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14614
e5d84bfe
EZ
146152011-12-10 Eli Zaretskii <eliz@gnu.org>
14616
14617 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14618 to use texinfo-update-node and commands that call it if the
14619 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14620 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14621 (texinfo-all-menus-update, texinfo-master-menu)
14622 (texinfo-update-node, texinfo-every-node-update)
14623 (texinfo-multiple-files-update): Doc fix. Warn against updating
14624 all the @node lines.
14625 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14626 argument is numeric. Explain better in the doc string what the
14627 function really does.
14628 (texinfo-insert-master-menu-list): Improve the error message
14629 displayed if there's no menu in the Top node.
14630 (Bug#2975) See also this thread:
e5d84bfe
EZ
14631 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14632
1d84e9bb
MG
146332011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14634
14635 * speedbar.el (speedbar-supported-extension-expressions):
14636 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14637
382c953b
JB
146382011-12-09 Juanma Barranquero <lekktu@gmail.com>
14639
14640 * printing.el (pr-mode-alist):
14641 * simple.el (filter-buffer-substring-functions)
14642 (completion-list-insert-choice-function):
14643 * window.el (window-with-parameter, window-atom-root)
14644 (window-sides-slots, window-size-fixed, window-min-delta)
14645 (window-max-delta, window--resize-mini-window)
14646 (window--resize-child-windows-normal, window-tree)
14647 (delete-other-windows, quit-window, split-window)
14648 (display-buffer-record-window, special-display-buffer-names)
14649 (special-display-regexps, special-display-popup-frame)
14650 (same-window-p, split-window-sensibly)
14651 (display-buffer-overriding-action, display-buffer-alist)
14652 (display-buffer-base-action, display-buffer, switch-to-buffer)
14653 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14654 (fit-window-to-buffer, recenter-positions)
14655 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14656 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14657 and remove unneeded backslashes in docstrings.
14658
39c9faef
SM
146592011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14660
98449af8
SM
14661 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14662
39c9faef
SM
14663 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14664 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14665 end in ".mk".
14666 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14667 when reading the makefile (bug#10116).
14668
86ed9fdc
SM
146692011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14672 (bug#10116).
14673
5580f89d
GM
146742011-12-06 Glenn Morris <rgm@gnu.org>
14675
14676 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14677
28d3917c
CY
146782011-12-06 Chong Yidong <cyd@gnu.org>
14679
14680 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14681
a98edce9
JB
146822011-12-06 Juanma Barranquero <lekktu@gmail.com>
14683
14684 * textmodes/table.el (table-shorten-cell): Fix typo.
14685
e65adfac
CG
146862011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14687
14688 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14689
71cc0b74
EZ
146902011-12-05 Eli Zaretskii <eliz@gnu.org>
14691
14692 * descr-text.el (describe-char): Fix display of strong
14693 right-to-left characters and directional embeddings and overrides.
14694
14695 * simple.el (what-cursor-position): Fix display of codepoints of
14696 strong right-to-left characters.
14697
315bc30d
CY
146982011-12-05 Chong Yidong <cyd@gnu.org>
14699
14700 * faces.el (read-color): Doc fix.
14701
58a70b94
GM
147022011-12-05 Glenn Morris <rgm@gnu.org>
14703
14704 * align.el (align--set-marker): Add doc-string.
14705 Don't try to move something that is not a marker. (Bug#10216)
14706
5158face
GM
147072011-12-04 Glenn Morris <rgm@gnu.org>
14708
14709 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14710 overly zealous deletion of trailing whitespace.
14711
520fca41
JB
147122011-12-04 Juanma Barranquero <lekktu@gmail.com>
14713
14714 * server.el (server-delete-client): On Windows, do not try to delete
14715 the only terminal.
14716 (server-process-filter): On Windows, treat requests for a tty frame as
14717 if they were for a GUI frame if the running server is in GUI mode.
14718
5e605a2e
GM
147192011-12-03 Glenn Morris <rgm@gnu.org>
14720
14721 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14722
5c3fe83f
SM
147232011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14724
6f5e57e7
SM
14725 * electric.el: Streamline electric-indent's hook.
14726 (electric-indent-chars): Revert to simple list.
14727 (electric-indent-functions): New var.
14728 (electric-indent-post-self-insert-function): Use it.
14729
5c3fe83f
SM
14730 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14731 there's no inferior buffer (bug#10196).
14732 (prolog-consult-compile): Don't use toggle-read-only.
14733
6bdac736
MA
147342011-12-02 Michael Albinus <michael.albinus@gmx.de>
14735
14736 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14737 interrupt. (Bug#10187)
14738
6131ba7f
SM
147392011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14740
99c79fee
SM
14741 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14742 (bug#9160).
14743
6131ba7f
SM
14744 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14745 (bug#10191).
14746
cb0a02ea
JL
147472011-12-02 Juri Linkov <juri@jurta.org>
14748
14749 * info.el (Info-search): Display "end of manual" when Isearch
14750 reaches the end of single-file Info manual. (Bug#9918)
14751
66e0570c
EZ
147522011-12-02 Eli Zaretskii <eliz@gnu.org>
14753
14754 * isearch.el (isearch-message-prefix): Run the input method part
14755 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14756
02b16839
JL
147572011-12-02 Juri Linkov <juri@jurta.org>
14758
14759 * isearch.el (isearch-occur): Use `word-search-regexp' for
14760 `isearch-word'.
14761 (isearch-search-and-update): Add condition for `isearch-word' and
14762 call `word-search-regexp'. (Bug#10145)
14763
0b950688
GM
147642011-12-01 Glenn Morris <rgm@gnu.org>
14765
14766 * eshell/em-hist.el (eshell-hist-initialize):
14767 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14768 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14769
9505c3c7
SM
147702011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14773
1bbe96b2 147742011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14775
a1beca85
SM
14776 * progmodes/verilog-mode.el (verilog-pretty-expr):
14777 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14778 verilog, such as += *= and the like.
14779 (verilog-assignment-operator-re): Regular expression to find the
14780 assigment operator in a verilog assignment.
14781 (verilog-assignment-operation-re): Regular expression to find an
14782 assignment statement for pretty-expr.
14783 (verilog-in-attribute-p): Query returns true if point is in an
14784 attribute context; used to skip these for expression line up from
14785 pretty-expr.
14786 (verilog-in-parameter-p): Query returns true if point is in an
14787 parameter definition context; used to skip these for expression
14788 line up from pretty-expr.
14789 (verilog-in-parenthesis-p): Query returns true if point is in a
14790 parenthetical expression, specifically ( ) but not [ ] or { };
14791 used by pretty-expr.
14792 (verilog-just-one-space): If there is no space, don't add one.
14793 (verilog-get-lineup-indent-2): Specifically skip just attribute
14794 contexts for expression lineup, rather than skipping all
14795 parenthetical expressions.
14796 (verilog-calculate-indent): Fix comment, and fix indent.
14797 (verilog-do-indent): Indent declarations in lists (suggested by
14798 Joachim Lechner).
14799 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14800 skeleton items.
14801 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14802 by Alain Mellan).
14803
1bbe96b2 148042011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14805
14806 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14807 parameters with embedded comments. Reported by Ray Stevens.
14808 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14809 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14810 Reported by Tim Holt.
14811 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14812 instantiated by upper module causing wrong expansion until AUTOed a
14813 second time. Reported by K C Buckenmaier.
14814 (verilog-diff-auto): Fix showing .* as a difference when
14815 `verilog-auto-star-save' off. Reported by Dan Dever.
14816 (verilog-auto-reset, verilog-read-always-signals)
14817 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14818 temporary signals in reset list if
14819 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14820 style to each signal's assignment type, bug381.
14821 Reported by Thomas Esposito.
6288f0ca
WS
14822 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14823 (verilog-uvm-statement-re): Support UVM indentation and
14824 highlighting, with old OVM keywords only.
a1beca85 14825 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14826 Support AUTOTIEOFF creating non-wire data types.
14827 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14828 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14829 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14830 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14831 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14832 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14833 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14834 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14835 non-numeric vector width. Reported by Alex Reed.
14836 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14837 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14838 (verilog-auto-delete-trailing-whitespace):
14839 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14840 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14841 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14842 Fix verilog-scan-cache corruption when running user AUTO expansion
14843 hooks that call indentation routines.
14844 (verilog-simplify-range-expression): Fix typo ignoring lower case
14845 identifiers.
14846 (verilog-delete-auto): Fix delete-autos to also remove user created
14847 automatics, as long as they start with AUTO.
14848 (verilog-batch-diff-auto, verilog-diff-auto)
14849 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14850 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14851 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14852 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14853 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14854 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14855 is disabled and its cache will get corrupt, causing AUTOS not to
14856 expand. Instead use only -quick functions.
14857 (verilog-scan-region): Fix scanning over escaped quotes.
14858 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14859 (verilog-re-search-backward-quick)
14860 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14861 related functions now ignore strings, to fix misparsing of strings
14862 with magic comments embedded in them.
a1beca85
SM
14863 (verilog-read-auto-template):
14864 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14865 Reported by Brad Dobbie.
14866 (verilog-read-auto-template):
14867 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14868 Reported by Brad Dobbie.
6288f0ca
WS
14869 (verilog-auto-inst, verilog-auto-inst-param)
14870 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14871 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14872 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14873 debugging templates without merge conflicts, bug357.
14874 Reported by Brad Dobbie.
14875 (verilog-read-auto-template):
14876 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14877 Reported by Brad Dobbie.
14878 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14879 abbrevs so user won't be asked to save.
14880 (verilog-read-auto-lisp-present): Fix to start at beginning of
14881 buffer in case called outside of verilog-auto.
14882 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14883 to "X-2". Reported by Matthew Myers.
14884 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14885 all inputs from module templates. Reported by Leith Johnson.
14886 (verilog-module-inside-filename-p): Fix locating programs as with
14887 modules.
14888 (verilog-auto-inst-port): Fix vl-width expressions when using
14889 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14890 (verilog-decls-get-regs, verilog-decls-get-signals,
14891 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14892 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14893 verilog-read-decls): Combine reg and wire structures into one var
14894 structure to represent SystemVerilog concepts.
14895 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14896 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14897 (verilog-auto-wire-type, verilog-insert-definition):
14898 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14899 SystemVerilog "logic" keyword instead of "wire"/"reg".
14900 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14901 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14902 ifdef or generate if so there's not a driver conflict).
14903 Reported by Matthew Myers.
14904 (verilog-auto-declare-nettype, verilog-insert-definition):
14905 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14906 `default_nettype none. Reported by Julian Gorfajn.
14907 (verilog-read-always-signals-recurse, verilog-read-decls)
14908 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14909 malformed end statement, bug325. Reported by Joshua Wise and
14910 Andrew Drake.
14911 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14912 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14913 when expanding .* in interfaces, bug320.
14914 Reported by Pierre-David Pfister.
6288f0ca 14915 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14916 name and open parenthesis, bug317.
14917 Reported by Pierre-David Pfister.
6288f0ca
WS
14918 (verilog-simplify-range-expression): Fix simplification of
14919 multiplications inside AUTOWIRE connections, bug303.
14920 (verilog-auto-inst-port): Support parameter expansion in
14921 multidimensional arrays.
14922 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14923 after "assert property". Reported by Julian Gorfajn.
14924 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14925 with multiplication, bug303.
14926 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14927 Reported by Jan Frode Lonnum.
14928
1bbe96b2
GM
149292011-11-30 Juanma Barranquero <lekktu@gmail.com>
14930
14931 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14932 (hfy-shell-file-name, hfy-shell):
14933 * international/fontset.el (x-decompose-font-name): Fix typos.
14934
149352011-11-29 Ken Brown <kbrown@cornell.edu>
14936
14937 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14938 (gdb-version): Remove defvar.
14939 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14940 (gdb-gud-context-command, gdb-non-stop-handler)
14941 (gdb-current-context-command, gdb-stopped): Use it.
14942 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14943 (gdb-non-stop-handler): Don't enable pretty-printing here.
14944 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14945 non-stop mode. Use the following.
14946 (gdb-check-target-async): New defun.
14947 (gud-watch, gdb-stopped): Fix whitespace.
14948 (gdb-get-source-file): Don't try to display the source file if
14949 `gdb-main-file' is nil.
14950
149512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14952
14953 * align.el: Try to generate fewer markers (bug#10047).
14954 (align--set-marker): New macro.
14955 (align-region): Use it.
14956
c935221f
SM
149572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14960
e70b5064
CY
149612011-11-29 Chong Yidong <cyd@gnu.org>
14962
14963 * indent.el (indent-for-tab-command, indent-according-to-mode):
14964 Doc fix.
14965 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14966
f3af92b7
MA
149672011-11-29 Michael Albinus <michael.albinus@gmx.de>
14968
14969 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14970 aware of remote file names. (Bug#10124)
14971
ed472be9
CY
149722011-11-29 Chong Yidong <cyd@gnu.org>
14973
14974 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14975
24510c22
SM
149762011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14977
14978 * files.el (find-file): Don't use force-same-window (bug#10144).
14979 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14980 use pop-to-buffer if the selected window can't be used.
14981 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14982
c60c3703
EZ
149832011-11-28 Eli Zaretskii <eliz@gnu.org>
14984
14985 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14986 special-mode-map.
14987
e95def75
CY
149882011-11-28 Chong Yidong <cyd@gnu.org>
14989
14990 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14991
c3f1c606
NR
149922011-11-27 Nick Roberts <nickrob@snap.net.nz>
14993
14994 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14995 gdb-get-source-file-list on gdb-create-source-file-list.
14996
00db469c
EZ
149972011-11-26 Eli Zaretskii <eliz@gnu.org>
14998
14999 * whitespace.el (whitespace-newline): Use a different foreground
15000 color for 16-color light-background displays.
15001
4ad3bc2a
CY
150022011-11-24 Chong Yidong <cyd@gnu.org>
15003
15004 * window.el (display-buffer--special-action): Doc fix.
15005
e9fce1ac
JB
150062011-11-25 Juanma Barranquero <lekktu@gmail.com>
15007
15008 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15009 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15010 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15011 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15012 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15013 (avl-tree-stack-first):
15014 * emacs-lisp/cconv.el (cconv--analyse-use):
15015 * net/gnutls.el (gnutls-negotiate): Fix typos.
15016
cb825e5d
GM
150172011-11-24 Glenn Morris <rgm@gnu.org>
15018
3adbe224
GM
15019 * lpr.el (lpr-windows-system, lpr-lp-system):
15020 * mail/binhex.el (binhex-begin-line):
15021 * progmodes/grep.el (grep-history, grep-find-history):
15022 * textmodes/flyspell.el:
15023 * vc/pcvs-defs.el (cvs-global-menu):
15024 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15025 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15026 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15027
321decc8
GM
15028 * net/tls.el: Fix case of "GnuTLS".
15029
420b63ad
GM
15030 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15031
cb825e5d
GM
15032 * version.el (emacs-build-system): Give it a doc-string.
15033
a0649f08
JL
150342011-11-24 Juri Linkov <juri@jurta.org>
15035
15036 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15037
c0bc0fd4
GM
150382011-11-24 Glenn Morris <rgm@gnu.org>
15039
15040 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15041 if called on a non-mime message just toggle the headers. (Bug#8006)
15042
20db1522
JB
150432011-11-24 Juanma Barranquero <lekktu@gmail.com>
15044
15045 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15046 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15047 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15048 (allout-rebullet-heading, allout-open-sibtopic)
15049 (allout-toggle-current-subtree-encryption)
15050 (allout-toggle-subtree-encryption, allout-encrypt-string)
15051 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15052 (allout-distinctive-bullets-string, allout-auto-activation):
15053 * window.el (window-normalize-buffer-to-display):
15054 * progmodes/verilog-mode.el (verilog-batch-indent):
15055 * textmodes/bibtex.el (bibtex-field-braces-opt)
15056 (bibtex-field-strings-opt):
15057 * vc/cvs-status.el (cvs-tree-merge):
15058 Fix typos.
15059
7262a87c
MA
150602011-11-23 Michael Albinus <michael.albinus@gmx.de>
15061
15062 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15063 `non-essential' to t, in order to avoid remote connections.
15064
283430a1
EZ
150652011-11-23 Eli Zaretskii <eliz@gnu.org>
15066
a1beca85
SM
15067 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15068 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
15069 case-insensitively.
15070
d2992a38
ML
150712011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15072
15073 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15074
50419064
GM
150752011-11-23 Glenn Morris <rgm@gnu.org>
15076
da94eca1
GM
15077 * paths.el (rmail-file-name): Reformat the doc-string so that it
15078 is picked up.
15079
9aac4de2
GM
15080 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15081 (rmail-auto-file): Ignore case in the "special" field names,
15082 as mail-fetch-field does for all others.
15083
8038d2d2
GM
15084 * mail/rmail.el (rmail-forward):
15085 * mail/rmailkwd.el (rmail-set-label):
15086 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15087 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15088
f3fe222a
GM
15089 * mail/rmail.el (rmail-current-message): Doc fix.
15090
50419064
GM
15091 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15092
28109f49
SM
150932011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15094
15095 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15096
394c65f1
GM
150972011-11-22 Glenn Morris <rgm@gnu.org>
15098
15099 * mail/rmailmm.el (test-rmail-mime-handler)
15100 (test-rmail-mime-bulk-handler)
15101 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15102
f2a0aa3a
JL
151032011-11-21 Juri Linkov <juri@jurta.org>
15104
1154d12e
JB
15105 * calc/calc.el (calc-read-key-sequence):
15106 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 15107
9c34a344
LMI
151082011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15109
15110 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15111 Tell the caller that the next line needs recomputation, even
15112 though it doesn't start a sexp (bug#10094).
15113
f04a3be9
SM
151142011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15115
15116 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15117
7978747f
SM
151182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15119
f04a3be9
SM
15120 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15121 Use force-same-window.
7978747f 15122
fe7a3057
JB
151232011-11-20 Juanma Barranquero <lekktu@gmail.com>
15124
15125 * descr-text.el (describe-char-unicode-data):
15126 * json.el (json-string-escape):
15127 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15128 (Footnote-unicode, Footnote-style-p):
15129 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15130
24901d61
CY
151312011-11-20 Chong Yidong <cyd@gnu.org>
15132
15133 * window.el (replace-buffer-in-windows): Restore interactive spec.
15134
bac7ff22
SM
151352011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15136
24f3d7b9
SM
15137 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15138
bac7ff22
SM
15139 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15140 (byte-compile-global-not-obsolete-vars): New var.
15141 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15142 Use it.
15143 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15144
cd1181db
JB
151452011-11-20 Juanma Barranquero <lekktu@gmail.com>
15146
15147 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15148 * progmodes/pascal.el (electric-pascal-equal):
15149 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15150 * xml.el (xml-substitute-special): Fix typos.
15151
7fb18e9e
GM
151522011-11-20 Glenn Morris <rgm@gnu.org>
15153
15154 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15155 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15156 Doc fixes.
15157 (rmail-decode-mime-charset): Mark as obsolete.
15158
15159 * mail/rmailsum.el (rmail-message-regexp-p-1):
15160 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15161 Before using mime functions, check they are set. (Bug#10077)
15162
d5a6b3ba
JL
151632011-11-19 Juri Linkov <juri@jurta.org>
15164
15165 * info.el (Info-finder-find-node): Use `package--builtins' instead
15166 of `package-alist'. Use node names formed by the pattern "Keyword "
15167 and the keyword name.
15168
e981b61f
AS
151692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15170
1d00653d 15171 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15172
3ffbc301
JL
151732011-11-19 Juri Linkov <juri@jurta.org>
15174
15175 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15176 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15177 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15178 `old-history', `old-history-forward'. Add let-binding
15179 `window-selected'. Remove calls to `kill-buffer',
15180 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15181 before calling `Info-find-node', so `Info-find-node-2' will reread
15182 the Info file. Restore window positions only when `window-selected'
15183 is non-nil.
15184
30c62133
JL
151852011-11-19 Juri Linkov <juri@jurta.org>
15186
15187 * isearch.el (isearch-lazy-highlight-new-loop):
15188 Remove condition `(not isearch-error)'. (Bug#9918)
15189
15190 * misearch.el (multi-isearch-search-fun): Add condition
15191 `(not bound)' to ignore lazy-highlighting search.
15192 Add the search-failed message "end of multi" when the end of
15193 multi-sequence is reached. Uncapitalize the search-failed
15194 message "Repeat for next buffer".
15195
15196 * info.el (Info-search): Add the search-failed message
15197 "end of the manual" when the end of the manual is reached
15198 in Isearch mode.
15199
645ca9cf
JL
152002011-11-19 Juri Linkov <juri@jurta.org>
15201
15202 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15203 Use non-destructive `remove' instead of `delete' because
15204 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15205 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15206
df754f66
JL
152072011-11-19 Juri Linkov <juri@jurta.org>
15208
15209 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15210 to nil instead of binding `search-ring' and `regexp-search-ring'.
15211 (Bug#9185)
15212
0e23d96a
EZ
152132011-11-19 Eli Zaretskii <eliz@gnu.org>
15214
15215 * simple.el (line-move): Force movement by logical lines for any
15216 hscrolled window, not only when auto-hscroll-mode is on.
15217 (line-move-visual): Update doc string to that effect. (Bug#10076)
15218
8a6ccb66
AS
152192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15220
15221 * language/european.el (macintosh): Define as alias for mac-roman.
15222
49ae5b39
EZ
152232011-11-19 Eli Zaretskii <eliz@gnu.org>
15224
15225 * mail/rmailmm.el (rmail-mime-display-header)
15226 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15227 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15228 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15229 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15230 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15231 of a raw aref.
15232 (rmail-mime-entity-segment): To get past the tagline, move forward
15233 2 more lines, to account for the 2 empty lines that precede and
15234 follow the line with the buttons.
15235 (rmail-mime-update-tagline): Move one more line, to get past the
15236 empty line that follows the buttons in the tagline. (Bug#9520)
15237
c56cad4a
MR
152382011-11-19 Martin Rudalics <rudalics@gmx.at>
15239
15240 * window.el (window-max-delta-1, window-min-delta-1)
15241 (window-min-size-1, window-state-get-1, window-state-put-1)
15242 (window-state-put-2): Use "window--" prefix.
15243
cbe71af3
SM
152442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15245
2ad52c60
SM
15246 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15247 (smie-warning-count): New var.
15248 (smie-set-prec2tab): Use it.
15249 (smie-bnf->prec2): Improve warnings. Add docstring.
15250 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15251 (smie-bnf--set-class): New function.
15252 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15253 corner case.
15254
6944dbc1
SM
15255 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15256 (compilation-error-properties, compilation-move-to-column):
15257 Handle compilation-first-column while in the target buffer.
15258
c400c4d7
SM
15259 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15260 Don't hardcode point-min==1.
15261
6dbe3e96
SM
15262 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15263 (eshell-rewrite-for-command): Remove workaround.
15264 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15265 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15266 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15267
cbe71af3
SM
15268 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15269
a8e1496d
GM
152702011-11-17 Glenn Morris <rgm@gnu.org>
15271
15272 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15273 Ignore buffer-local generated-autoload-file if it is the same
15274 as the global value. (Bug#10049)
15275
df85d315
JB
152762011-11-17 Juanma Barranquero <lekktu@gmail.com>
15277
15278 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15279 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15280 (reftex-toc-previous-heading, reftex-toc-max-level)
15281 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15282 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15283 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15284 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15285 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15286 (reftex-toc-rename-label, reftex-toc-visit-location)
15287 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15288 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15289 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15290 leaving "*toc*" only for references to the buffer.
15291
a0c2d0ae
MR
152922011-11-17 Martin Rudalics <rudalics@gmx.at>
15293
15294 * window.el (window-resize, delete-window, split-window):
15295 Replace window-splits by window-combination-resize.
1d00653d 15296 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15297
35c0bac8
GM
152982011-11-17 Glenn Morris <rgm@gnu.org>
15299
15300 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15301 Make bash entry derive from sh entry, not shell entry.
15302
d0c8fc8a
MA
153032011-11-16 Michael Albinus <michael.albinus@gmx.de>
15304
7262a87c
MA
15305 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15306 local file name.
15307
7877f373
JB
153082011-11-16 Juanma Barranquero <lekktu@gmail.com>
15309
15310 * menu-bar.el (menu-bar-file-menu):
15311 * printing.el (pr-ps-utility):
15312 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15313 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15314 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15315 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15316 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15317 (icalendar--convert-cyclic-to-ical)
15318 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15319 (icalendar--convert-ical-to-diary)
15320 (icalendar--convert-recurring-to-diary)
15321 (icalendar--convert-non-recurring-all-day-to-diary)
15322 (icalendar-import-format-sample):
15323 * progmodes/idlw-shell.el (idlwave-shell-mode):
15324 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15325 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15326 (vhdl-ps-print-init): Fix typos.
15327
10649b82
KM
153282011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15329
9d0cfcd6
GM
15330 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15331 FSF and collapse date sequence, obscure author/maintainer email address
15332 better, remove extra version line, track relocation of author's webpage.
10649b82 15333
9d0cfcd6
GM
15334 * progmodes/python.el (python-pdbtrack-input-prompt)
15335 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15336 regular python pdb prompts. Adjustments shamelessly taken exactly as
15337 suggested in EmacsWiki page (tiny change):
15338 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15339
58179cce
JB
153402011-11-16 Juanma Barranquero <lekktu@gmail.com>
15341
15342 * expand.el (expand-pos, expand-index, expand-point):
15343 Remove redundant info from docstring.
15344 (expand-add-abbrevs): Doc fix.
15345 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15346 (expand-sample-perl-mode-expand-list): Fix typos.
15347
15348 * net/dbus.el (dbus-event-member-name):
15349 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15350 * term/pc-win.el (msdos-create-frame-with-faces):
15351 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15352
b6f67890
MR
153532011-11-16 Martin Rudalics <rudalics@gmx.at>
15354
15355 * window.el (split-window, window-state-get-1)
15356 (window-state-put-1, window-state-put-2): Rename occurrences of
15357 window-nest to window-combination-limit.
1d00653d 15358 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15359
ce7ddba0
CY
153602011-11-16 Chong Yidong <cyd@gnu.org>
15361
15362 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15363 regexp (Bug#10033).
15364
3ae704f4
SM
153652011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15368 `completing-read' will remove *Completions* and will preserve
15369 current-buffer for us.
15370 (tmm-add-prompt): Users of *Completions* will always (re)set its
15371 major mode.
15372 (tmm-old-comp-map): Remove.
15373
6ad1cdde
GM
153742011-11-16 Glenn Morris <rgm@gnu.org>
15375
15376 * mail/rmailedit.el: Require rmailmm when compiling.
15377 (rmail-old-mime-state): New declaration.
15378 (rmail-edit-current-message): If editing a mime message,
15379 edit the "raw" message from the mbox buffer.
15380 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15381
d20faa20
GM
153822011-11-15 Glenn Morris <rgm@gnu.org>
15383
15384 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15385 which wasn't being used. Add optional arg to force given state.
15386 (rmail-mime): Add optional arg to force given state.
15387
c7015153
JB
153882011-11-15 Juanma Barranquero <lekktu@gmail.com>
15389
15390 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15391 * frame.el (display-mm-dimensions-alist):
15392 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15393 (outline-move-subtree-down):
15394 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15395 (newsticker--treeview-do-get-node):
15396 * net/quickurl.el (quickurl-list-buffer-name):
15397 * progmodes/dcl-mode.el (dcl-mode):
15398 * progmodes/gdb-mi.el (gdb-mapcar*):
15399 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15400
45261b50
GM
154012011-11-15 Glenn Morris <rgm@gnu.org>
15402
15403 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15404 in a boolean sense, so just make it a boolean, and fix the doc.
15405 (rmail-show-mime-function, rmail-mime-feature)
15406 (rmail-require-mime-maybe): Doc fixes.
15407 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15408
15409 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15410
0d26e0b6
JB
154112011-11-15 Juanma Barranquero <lekktu@gmail.com>
15412
15413 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15414 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15415 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15416 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15417
447f30f6
GM
154182011-11-15 Glenn Morris <rgm@gnu.org>
15419
672b871d
GM
15420 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15421 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15422 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15423 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15424 (rmail-mime, rmail-show-mime): Doc fixes.
15425
f6aa5bb1
GM
15426 * term/ns-win.el (mode-line-frame-identification):
15427 Leave it alone. (Bug#10051)
15428
947cd66b
GM
15429 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15430
447f30f6
GM
15431 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15432 Handle empty buffers. (Bug#9978)
15433
0b381c7e
JB
154342011-11-14 Juanma Barranquero <lekktu@gmail.com>
15435
15436 * international/mule.el (define-charset):
15437 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15438 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15439 * progmodes/verilog-mode.el (verilog-backward-token):
15440 * textmodes/ispell.el (lookup-words):
15441 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15442
71e027ac
GM
154432011-11-14 Glenn Morris <rgm@gnu.org>
15444
56632ce4
GM
15445 * progmodes/executable.el
15446 (executable-make-buffer-file-executable-if-script-p):
15447 Handle file-modes returning nil.
15448
40500957
GM
15449 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15450 message - not necessary, and causes problems. (Bug#9831)
15451
071c2340
GM
15452 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15453
d3cfca60
GM
15454 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15455
71e027ac
GM
15456 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15457 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15458 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15459
89d61221
MR
154602011-11-12 Martin Rudalics <rudalics@gmx.at>
15461
15462 * window.el (window-resize, delete-window): Use window-splits
15463 variable instead of function.
15464 (window-state-get-1, window-state-put-2, window-state-put):
15465 Don't deal with windows' splits status.
15466
98282f6f
GM
154672011-11-12 Glenn Morris <rgm@gnu.org>
15468
15469 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15470 (apropos-documentation): Doc fixes.
15471
40a8bdf6
JB
154722011-11-11 Juanma Barranquero <lekktu@gmail.com>
15473
15474 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15475 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15476
65bd19ff
SM
154772011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * electric.el (electric-indent-post-self-insert-function): Make it
15480 possible for a char to only indent in some circumstances.
15481 (electric-indent-mode): Simplify.
15482
54f9154c
MR
154832011-11-11 Martin Rudalics <rudalics@gmx.at>
15484
15485 * window.el (windows-with-parameter): Remove unused function.
15486 (windows-at-side): Rename to window-at-side-list.
15487 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15488 (window-side-check, window-size-ignore, window-size-fixed-1)
15489 (window-in-direction-2): Prefix with "window--".
15490 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15491
68cbc58b
GM
154922011-11-11 Glenn Morris <rgm@gnu.org>
15493
15494 * subr.el (eval-after-load): If FILE is already loaded,
15495 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15496
b2621720
GM
154972011-11-10 Glenn Morris <rgm@gnu.org>
15498
9a4de110
GM
15499 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15500 Call svn via vc-svn-command rather than vc-do-command.
15501 (vc-svn-command): Add --non-interactive. (Bug#9993)
15502 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15503
b2621720
GM
15504 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15505 Add toggle-read-only. (Bug#7292)
15506 * files.el (toggle-read-only): Mention that it should only
15507 be used interactively. (Bug#10006)
15508
1dce7193
SM
155092011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15510
d9ac1a1e
SM
15511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15512 Adjust regexp for OCaml warnings.
15513
0c325082
SM
15514 * electric.el (electric-pair-post-self-insert-function): Let user
15515 turn it off buffer-locally (bug#9932).
15516
90132c14
SM
15517 * progmodes/python.el (python-beginning-of-statement):
15518 Rewrite (bug#2703).
15519
1dce7193
SM
15520 * progmodes/compile.el: Better handle TABs (bug#9749).
15521 (compilation-internal-error-properties)
15522 (compilation-next-error-function): Obey the target buffer's
15523 compilation-error-screen-columns.
15524
c4e7c63a
JB
155252011-11-09 Juanma Barranquero <lekktu@gmail.com>
15526
15527 * progmodes/meta-mode.el: Remove obsolete comments.
15528 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15529 Fix typos in docstrings.
15530
2cffd681
MR
155312011-11-09 Martin Rudalics <rudalics@gmx.at>
15532
15533 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15534 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15535 (window--resizable): New function. Make all callers of
15536 window-resizable call window--resizable instead.
15537 (window-resizable): Rewrite in terms of window--resizable.
15538
0edcba87
GM
155392011-11-08 Glenn Morris <rgm@gnu.org>
15540
15541 * progmodes/delphi.el (delphi-mode-syntax-table):
15542 Let define-derived-mode define a proper syntax table. (Bug#9994)
15543
4b0d61e3
SM
155442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * window.el: Stay away from defsubst.
15547 (window-list-no-nils): Remove.
15548 (window-state-get-1, window-state-get): Use backquote instead.
15549
cd394be1 155502011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15551
4b0d61e3 15552 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15553 Fix incorrect use of default argument in `completing-read'.
15554
e1c2c6f2
MR
155552011-11-08 Martin Rudalics <rudalics@gmx.at>
15556
15557 * window.el (display-buffer-function, special-display-function):
15558 Mention display-buffer-record-window but do not mention
15559 help-setup parameter in doc-strings.
b3f4a882 15560 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15561
105216ed
CY
155622011-11-08 Chong Yidong <cyd@gnu.org>
15563
15564 * window.el (window-total-height, window-total-width): Doc fix.
15565 (window-body-size): Move from C.
15566 (window-body-height, window-body-width): Move to C.
15567
0a9f9ab5
SM
155682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * window.el: Make special-display like display-buffer-alist (bug#9532).
15571 (display-buffer--special-action): New function, morphed
15572 from display-buffer--special.
15573 (display-buffer): Use it to handle special-display-buffers at higher
15574 priority (just after display-buffer-alist).
15575 (display-buffer-fallback-action, display-buffer--other-frame-action)
15576 (pop-to-buffer-same-window): Remove display-buffer--special.
15577
a769dd15
GM
155782011-11-07 Glenn Morris <rgm@gnu.org>
15579
15580 * calendar/cal-menu.el (cal-menu-set-date-title):
15581 Do nothing if not in a calendar. (Bug#9976)
15582
05a61ee3
SM
155832011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15584
15585 * files.el (find-file): Always use selected-window.
15586
be7f5545
MR
155872011-11-07 Martin Rudalics <rudalics@gmx.at>
15588
15589 * window.el (window-combinations): Make WINDOW argument
15590 mandatory. Rewrite doc-string.
15591 (walk-window-subtree, window-atom-check, window-min-delta)
15592 (window-max-delta, window--resize-this-window)
15593 (window--resize-root-window-vertically, window-tree)
15594 (balance-windows, window-state-put): Rewrite doc-strings as to
15595 not mention the term "subwindow".
15596 (window--resize-subwindows-skip-p): Rename to
15597 window--resize-child-windows-skip-p.
15598 (window--resize-subwindows-normal): Rename to
15599 window--resize-child-windows-normal.
15600 (window--resize-subwindows): Rename to
15601 window--resize-child-windows.
15602 (window-or-subwindow-p): Rename to window--in-subtree-p.
15603
3c6702ef
ML
156042011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15605
15606 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15607 Ensure that mbox format messages end in two newlines (Bug#9974).
15608
49745b39
CY
156092011-11-06 Chong Yidong <cyd@gnu.org>
15610
15611 * window.el (window-combination-p): Function deleted; its
15612 side-effect is not used in any existing code.
15613 (window-combinations, window-combined-p): Call window-*-child
15614 directly.
15615
24300f5f
CY
156162011-11-05 Chong Yidong <cyd@gnu.org>
15617
15618 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15619 (window-size-ignore, window-state-get): Callers changed.
15620 (window-normalize-window): Rename from window-normalize-any-window.
15621 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15622 (window-normalize-live-window): Delete.
447f16b8
CY
15623 (window-combination-p, window-combined-p, window-combinations)
15624 (walk-window-subtree, window-atom-root, window-min-size)
15625 (window-sizable, window-sizable-p, window-size-fixed-p)
15626 (window-min-delta, window-max-delta, window-resizable)
15627 (window-resizable-p, window-full-height-p, window-full-width-p)
15628 (window-current-scroll-bars, window-point-1, set-window-point-1)
15629 (window-at-side-p, window-in-direction, window-resize)
15630 (adjust-window-trailing-edge, maximize-window, minimize-window)
15631 (window-deletable-p, delete-window, delete-other-windows)
15632 (record-window-buffer, unrecord-window-buffer)
15633 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15634 (quit-window, split-window, window-state-put)
15635 (set-window-text-height, fit-window-to-buffer)
15636 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15637
89bd5ee1
EZ
156382011-11-04 Eli Zaretskii <eliz@gnu.org>
15639
53479029
EZ
15640 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15641 rfc2047-decode-string.
15642 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15643 warnings.
15644
89bd5ee1
EZ
15645 * window.el (window-body-height, window-body-width): Mention in
15646 the doc string that the return values are in frame's canonical
15647 units. (Bug#9949)
15648
bd17fdee
AM
156492011-11-03 Alan Mackenzie <acm@muc.de>
15650
15651 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15652 change in cc-engine.el.
15653
acc825c5
SM
156542011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15655
15656 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15657
1885e5b8
MR
156582011-11-02 Martin Rudalics <rudalics@gmx.at>
15659
15660 * window.el (quit-window): Call unrecord-window-buffer after
15661 showing another buffer in the window. (Bug#9937)
acc825c5 15662 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15663
ebe06da9
JB
156642011-11-02 Juanma Barranquero <lekktu@gmail.com>
15665
15666 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15667 Accept status with more than 9 shelves. (Bug#9935)
15668 Reported by Colin D Bennett <colin@gibibit.com>.
15669
4ee88440
MR
156702011-11-01 Martin Rudalics <rudalics@gmx.at>
15671
15672 * help.el (with-help-window): Don't reference
15673 temp-buffer-show-specifiers in doc-string.
15674
08e1d82c
AS
156752011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15676
15677 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15678 menu-item.
15679
84bd6e9e
VJL
156802011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15681
15682 * whitespace.el: New version 13.2.2.
15683 (whitespace-newline-mode): Disable properly. Reported by Sarah
15684 <EmacsWiki>.
15685
dba0634a
UJ
156862011-10-30 Ulf Jasper <ulf.jasper@web.de>
15687
15688 * net/newst-treeview.el: Remove "Time-stamp".
15689 (newsticker--group-manage-orphan-feeds): Do not call
15690 newsticker--treeview-tree-update.
db22a3c2
JB
15691 (newsticker-treeview-update, newsticker-treeview):
15692 Call newsticker--treeview-tree-update if necessary.
dba0634a 15693
3d8daefe
MR
156942011-10-30 Martin Rudalics <rudalics@gmx.at>
15695
15696 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15697 (window-iso-combinations): Remove "iso-" infix.
15698 Suggested by Chong Yidong.
3d8daefe
MR
15699 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15700 (window-max-delta-1, window-resize, window--resize-siblings)
15701 (window--resize-this-window, adjust-window-trailing-edge)
15702 (split-window, balance-windows-1)
15703 (shrink-window-if-larger-than-buffer):
15704 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15705 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15706
1bc4c3ae
SM
157072011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15710 in place (bug#9907).
15711 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15712 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15713 (eshell-structure-basic-command, eshell-rewrite-while-command)
15714 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15715 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15716 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15717 (eshell-do-pipelines-synchronously, eshell-eval-command):
15718 Use backquotes and prefer setq to set.
15719 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15720 (eshell-macrop): Use functionp.
c1e2f5fa 15721 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15722
30b65d9c
CY
157232011-10-30 Chong Yidong <cyd@gnu.org>
15724
15725 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15726 instead of set-mark (Bug#9810).
15727
2d197ffb
CY
157282011-10-30 Chong Yidong <cyd@gnu.org>
15729
15730 * window.el (split-window-below, split-window-right): Rename from
15731 split-window-above-each-other and split-window-side-by-side
15732 respectively. All callers changed.
15733 (split-window-sensibly, split-window-sensibly): Use them.
15734 (split-window-keep-point): Doc fix.
15735
15736 * isearch.el: Add isearch-scroll property to split-window-below
15737 and split-window-right.
15738
15739 * follow.el (follow-mode):
15740 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15741 * progmodes/ada-xref.el (ada-gdb-application):
15742 * emulation/vip.el (vip-buffer-in-two-windows):
15743 * image-dired.el (image-dired-dired-with-window-configuration):
15744 * dired-x.el (dired-do-find-marked-files):
15745 * dired.el (dired-pop-to-buffer):
15746 * bs.el (bs--show-with-configuration):
15747 * vc/emerge.el (emerge-setup-windows):
15748 * textmodes/two-column.el (2C-two-columns):
15749 * textmodes/reftex-toc.el (reftex-toc):
15750 * progmodes/gdb-mi.el (gdb-setup-windows):
15751 * progmodes/fortran.el (fortran-window-create):
15752 * net/newst-treeview.el (newsticker--treeview-window-init):
15753 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15754 * emulation/tpu-edt.el (tpu-gold-map):
15755 * emulation/crisp.el (crisp-mode-map):
15756 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15757
38bb2ca8
CY
157582011-10-29 Chong Yidong <cyd@gnu.org>
15759
aa4de341
CY
15760 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15761
e1eb5385
CY
15762 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15763
5d2ece3c
CY
15764 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15765 forged Ispell output (Bug#7904).
15766
38bb2ca8
CY
15767 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15768
d0af9f77
SM
157692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * doc-view.el: Avoid ugly errors about not finding nil.
15772 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15773 (doc-view-dvipdf-program, doc-view-unoconv-program)
15774 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15775 Avoid nil or absolute file name as default value.
15776 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15777
52bedd34
AM
157782011-10-28 Alan Mackenzie <acm@muc.de>
15779
db22a3c2 15780 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15781
7e43cfa5
AM
157822011-10-28 Alan Mackenzie <acm@muc.de>
15783
15784 Amend the handling of c-beginning/end-of-defun in nested declaration
15785 scopes.
15786
52bedd34
AM
15787 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15788 cc-langs.el. Change it to a defcustom.
7e43cfa5 15789
52bedd34
AM
15790 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15791 cc-vars.el.
7e43cfa5 15792
d0af9f77
SM
15793 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15794 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15795
52bedd34 15796 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15797 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15798 (c-widen-to-enclosing-decl-scope): New function.
15799 (c-while-widening-to-decl-block): New macro.
15800 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15801 outward for defun boundaries, and correspondingly change symbol
15802 `respect-enclosure' to `go-outward'.
15803 (c-declaration-limits): Change algorithm to report only the "innermost"
15804 defun's boundaries.
15805
1a2ce9ee
DD
158062011-10-28 Deniz Dogan <deniz@dogan.se>
15807
15808 * net/rcirc.el (rcirc-mode): Use hard newlines.
15809
bc97a826
AM
158102011-10-28 Alan Mackenzie <acm@muc.de>
15811
15812 Amend to indent and fontify macros "which include their own semicolon"
15813 correctly, using the "virtual semicolon" mechanism.
15814
52bedd34 15815 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15816
d0af9f77 15817 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15818 Recode to scan one line at a time rather than having \n and \r
58179cce 15819 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15820 (c-forward-label): Amend for virtual semicolons.
58179cce 15821 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15822
52bedd34
AM
15823 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15824 of the new C macros.
bc97a826 15825
52bedd34 15826 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15827 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15828 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15829 (c-opt-cpp-macro-define): Make into a full language variable.
15830 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15831 AWK Mode (including \n, \r) removed, no longer needed.
15832
d0af9f77
SM
15833 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15834 Invoke c-make-macro-with-semi-re.
bc97a826 15835
52bedd34
AM
15836 * progmodes/cc-vars.el (c-macro-with-semi-re):
15837 (c-macro-names-with-semicolon): New variables.
58179cce 15838 (c-make-macro-with-semi-re): New function.
bc97a826 15839
7a6c0941
SM
158402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15841
15842 * vc/log-edit.el: Fill empty field rather than adding new one.
15843 (log-edit-add-field): New function.
15844 (log-edit-insert-changelog): Use it.
15845
b0c4cdcf
ML
158462011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15847
15848 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15849
ee1f1da9
SM
158502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15853 (gdb--check-interpreter): New function.
15854 (gdb): Use it.
15855
51bc5f8b
GM
158562011-10-27 Glenn Morris <rgm@gnu.org>
15857
416a2c45
GM
15858 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15859 (least-positive-float, least-negative-float)
15860 (least-positive-normalized-float, least-negative-normalized-float)
15861 (float-epsilon, float-negative-epsilon):
15862 Remove unnecessary declarations.
15863
15864 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15865 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15866 (least-positive-float, least-negative-float)
15867 (least-positive-normalized-float, least-negative-normalized-float)
15868 (float-epsilon, float-negative-epsilon): Add doc-strings,
15869 based on those in cl.texi.
15870
51bc5f8b
GM
15871 * files.el (set-visited-file-name): If the major-mode changed,
15872 reload the local variables. (Bug#9796)
15873
15de15c6
CY
158742011-10-27 Chong Yidong <cyd@gnu.org>
15875
15876 * subr.el (change-major-mode-after-body-hook): New hook.
15877 (run-mode-hooks): Run it.
15878
ee1f1da9
SM
15879 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15880 Use change-major-mode-before-body-hook.
15de15c6
CY
15881
15882 * simple.el (fundamental-mode):
15883 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15884 change introducing fundamental-mode-hook.
15885
5430d399
JB
158862011-10-26 Juanma Barranquero <lekktu@gmail.com>
15887
acc825c5 15888 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15889
ad74a69e
MA
158902011-10-26 Michael Albinus <michael.albinus@gmx.de>
15891
15892 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15893 tramp.el explicitly. (Bug#7583)
ad74a69e 15894
71d4c2a5
SM
158952011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * progmodes/octave-mod.el:
15898 * progmodes/octave-inf.el: Update maintainer.
15899
b1f6fa26
CY
159002011-10-26 Chong Yidong <cyd@gnu.org>
15901
15902 * subr.el (with-wrapper-hook): Rewrite doc.
15903
3f04efd6
MA
159042011-10-25 Michael Albinus <michael.albinus@gmx.de>
15905
15906 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15907 filenames "/method:foo:". (Bug#9793)
3f04efd6 15908
410488d3
SM
159092011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15912 (bug#9865).
15913
c1ebb47e
GM
159142011-10-24 Glenn Morris <rgm@gnu.org>
15915
15916 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15917
7f5c46c7
MA
159182011-10-24 Michael Albinus <michael.albinus@gmx.de>
15919
15920 * notifications.el: Add the requirement of a running D-Bus session
15921 bus to the Commentary.
15922
db2440b6
JL
159232011-10-24 Juri Linkov <juri@jurta.org>
15924
15925 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15926 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15927 (Bug#9364)
15928
feecf435
JL
159292011-10-24 Juri Linkov <juri@jurta.org>
15930
15931 * info.el (Info-following-node-name-re): Add newline to the list
15932 of allowed characters for leading space. (Bug#9824)
15933
a3839de2
SM
159342011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15935
acc825c5
SM
15936 * progmodes/octave-inf.el (inferior-octave-mode-map):
15937 Fix C-c C-h binding.
a3839de2
SM
15938 * progmodes/octave-mod.el (octave-help): Remove.
15939
09388e76
MA
159402011-10-23 Michael Albinus <michael.albinus@gmx.de>
15941
15942 Sync with Tramp 2.2.3.
15943
15944 * net/tramp-cache.el (top): Pacify byte-compiler using
15945 `init-file-user' and `site-run-file'.
15946
15947 * net/trampver.el: Update release number.
15948
86c60681
CY
159492011-10-23 Chong Yidong <cyd@gnu.org>
15950
15951 * files.el (toggle-read-only): Remove obsolete comment about
15952 version control.
15953
15954 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15955 for toggle-read-only. Note that this hasn't called vc-next-action
15956 since 2008-05-02, though it wasn't documented at the time.
15957
a3839de2
SM
15958 * vc/ediff-init.el (ediff-toggle-read-only-function):
15959 Use toggle-read-only.
86c60681 15960
cd5495ff
AM
159612011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15962
15963 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15964 of c-parse-state.
15965
00b77525 15966 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15967 correct faulty logical expression.
cd5495ff
AM
15968 (c-parse-state-state, c-record-parse-state-state):
15969 (c-replay-parse-state-state): New defvar/defuns.
15970 (c-debug-parse-state): Use new functions.
15971
42ee24ed
MR
159722011-10-22 Martin Rudalics <rudalics@gmx.at>
15973
15974 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15975 last fix. Use window-in-direction correctly.
42ee24ed 15976
a7dee7e7
CY
159772011-10-21 Chong Yidong <cyd@gnu.org>
15978
15979 * progmodes/idlwave.el (idlwave-mode):
15980 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15981 require-final-newline; that's done in prog-mode.
15982 Suggested by Stefan Monnier.
a7dee7e7 15983
e07b9a6d
MR
159842011-10-21 Martin Rudalics <rudalics@gmx.at>
15985
15986 * mouse.el (mouse-drag-window-above)
15987 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15988 (mouse-drag-mode-line-1, mouse-drag-header-line)
15989 (mouse-drag-vertical-line-rightward-window): Remove.
15990 (mouse-drag-line): New function.
15991 (mouse-drag-mode-line, mouse-drag-header-line)
15992 (mouse-drag-vertical-line): Call mouse-drag-line.
15993 * window.el (window-at-side-p, windows-at-side): New functions.
15994
7e1361d9
UM
159952011-10-21 Ulrich Mueller <ulm@gentoo.org>
15996
15997 * tar-mode.el (tar-grind-file-mode):
15998 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15999
30fcaf3a
CY
160002011-10-21 Chong Yidong <cyd@gnu.org>
16001
16002 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
16003 * progmodes/vera-mode.el (vera-mode):
16004 Use mode-require-final-newline.
30fcaf3a 16005
516eddb0
GM
160062011-10-20 Glenn Morris <rgm@gnu.org>
16007
db22a3c2 16008 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 16009
10d5f513
CS
160102011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16011
16012 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16013
ac6c8639
CY
160142011-10-20 Chong Yidong <cyd@gnu.org>
16015
16016 * emulation/cua-base.el (cua-mode):
16017 * mail/footnote.el (footnote-mode):
16018 * mail/mailabbrev.el (mail-abbrevs-mode):
16019 * net/xesam.el (xesam-minor-mode):
16020 * progmodes/bug-reference.el (bug-reference-mode):
16021 * progmodes/cap-words.el (capitalized-words-mode):
16022 * progmodes/compile.el (compilation-minor-mode)
16023 (compilation-shell-minor-mode):
16024 * progmodes/gud.el (gud-tooltip-mode):
16025 * progmodes/hideif.el (hide-ifdef-mode):
16026 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16027 * progmodes/subword.el (subword-mode):
16028 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16029 * progmodes/which-func.el (which-function-mode):
16030 * term/tvi970.el (tvi970-set-keypad-mode):
16031 * term/vt100.el (vt100-wide-mode):
16032 * textmodes/flyspell.el (flyspell-mode):
16033 * textmodes/ispell.el (ispell-minor-mode):
16034 * textmodes/nroff-mode.el (nroff-electric-mode):
16035 * textmodes/paragraphs.el (use-hard-newlines):
16036 * textmodes/refill.el (refill-mode):
16037 * textmodes/reftex.el (reftex-mode):
16038 * textmodes/rst.el (rst-minor-mode):
16039 * textmodes/sgml-mode.el (html-autoview-mode)
16040 (sgml-electric-tag-pair-mode):
16041 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16042 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16043 * emulation/crisp.el (crisp-mode):
16044 * emacs-lisp/eldoc.el (eldoc-mode):
16045 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16046 minor mode behavior.
16047
aa42ab43
JL
160482011-10-19 Juri Linkov <juri@jurta.org>
16049
16050 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16051 the list of hard-coded chars with escape-glyph face.
16052
89400f1d
SM
160532011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16054
16055 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16056
305c07f6
MA
160572011-10-19 Michael Albinus <michael.albinus@gmx.de>
16058
16059 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16060 running process.
16061
13754b54
GM
160622011-10-19 Glenn Morris <rgm@gnu.org>
16063
16064 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16065 Ignore ignored files. (Bug#9726)
16066
06e21633
CY
160672011-10-19 Chong Yidong <cyd@gnu.org>
16068
16069 Doc fix for minor modes, stating that an omitted argument enables
16070 the mode unconditionally when called from Lisp.
16071
16072 * abbrev.el (abbrev-mode):
16073 * allout.el (allout-mode):
16074 * autoinsert.el (auto-insert-mode):
16075 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16076 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16077 (global-auto-revert-mode):
16078 * battery.el (display-battery-mode):
16079 * composite.el (global-auto-composition-mode)
16080 (auto-composition-mode):
16081 * delsel.el (delete-selection-mode):
16082 * desktop.el (desktop-save-mode):
16083 * dired-x.el (dired-omit-mode):
16084 * dirtrack.el (dirtrack-mode):
16085 * doc-view.el (doc-view-minor-mode):
16086 * double.el (double-mode):
16087 * electric.el (electric-indent-mode, electric-pair-mode):
16088 * emacs-lock.el (emacs-lock-mode):
16089 * epa-hook.el (auto-encryption-mode):
16090 * follow.el (follow-mode):
16091 * font-core.el (font-lock-mode):
16092 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16093 * help.el (temp-buffer-resize-mode):
16094 * hilit-chg.el (highlight-changes-mode)
16095 (highlight-changes-visible-mode):
16096 * hi-lock.el (hi-lock-mode):
16097 * hl-line.el (hl-line-mode, global-hl-line-mode):
16098 * icomplete.el (icomplete-mode):
16099 * ido.el (ido-everywhere):
16100 * image-file.el (auto-image-file-mode):
16101 * image-mode.el (image-minor-mode):
16102 * iswitchb.el (iswitchb-mode):
16103 * jka-cmpr-hook.el (auto-compression-mode):
16104 * linum.el (linum-mode):
16105 * longlines.el (longlines-mode):
16106 * master.el (master-mode):
16107 * mb-depth.el (minibuffer-depth-indicate-mode):
16108 * menu-bar.el (menu-bar-mode):
16109 * minibuf-eldef.el (minibuffer-electric-default-mode):
16110 * mouse-sel.el (mouse-sel-mode):
16111 * msb.el (msb-mode):
16112 * mwheel.el (mouse-wheel-mode):
16113 * outline.el (outline-minor-mode):
16114 * paren.el (show-paren-mode):
16115 * recentf.el (recentf-mode):
16116 * reveal.el (reveal-mode, global-reveal-mode):
16117 * rfn-eshadow.el (file-name-shadow-mode):
16118 * ruler-mode.el (ruler-mode):
16119 * savehist.el (savehist-mode):
16120 * scroll-all.el (scroll-all-mode):
16121 * scroll-bar.el (scroll-bar-mode):
16122 * server.el (server-mode):
16123 * shell.el (shell-dirtrack-mode):
16124 * simple.el (auto-fill-mode, transient-mark-mode)
16125 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16126 (line-number-mode, column-number-mode, size-indication-mode)
16127 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16128 * strokes.el (strokes-mode):
16129 * time.el (display-time-mode):
16130 * t-mouse.el (gpm-mouse-mode):
16131 * tool-bar.el (tool-bar-mode):
16132 * tooltip.el (tooltip-mode):
16133 * type-break.el (type-break-mode-line-message-mode)
16134 (type-break-query-mode):
16135 * view.el (view-mode):
16136 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16137 (global-whitespace-mode, global-whitespace-newline-mode):
16138 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16139
a3839de2
SM
16140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16141 Fix autogenerated docstring.
06e21633 16142
5214e501
JL
161432011-10-19 Juri Linkov <juri@jurta.org>
16144
16145 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16146 by checking environment variables "DESKTOP_SESSION" and
16147 "XDG_CURRENT_DESKTOP". (Bug#9779)
16148
195f8db9
JL
161492011-10-19 Juri Linkov <juri@jurta.org>
16150
16151 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16152 (browse-url-chromium-program, browse-url-chromium-arguments):
16153 New defcustoms.
16154 (browse-url-default-browser): Check for `browse-url-chromium' and
16155 call `browse-url-chromium-program'.
16156 (browse-url-chromium): New command. (Bug#9779)
16157
343a34ff
JB
161582011-10-18 Juanma Barranquero <lekktu@gmail.com>
16159
16160 * facemenu.el (list-colors-duplicates): On Windows, detect more
16161 duplicates by assuming that only colors matching "^System" are
16162 special "system colors". (Bug#9722)
16163
6978a151
SM
161642011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16165
16166 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16167 to distinguish the author from the committer.
16168
6a80b297
MA
161692011-10-18 Michael Albinus <michael.albinus@gmx.de>
16170
16171 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16172
b31a5677
JK
161732011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16174
16175 * international/mule.el (sgml-html-meta-auto-coding-function):
16176 Add support for detecting encoding in HTML5 specified only as
16177 <meta charset="UTF-8">. Implementation just makes http-equiv and
16178 content-type parts from HTML4 encoding string optional. (Bug#9716)
16179
80c6d77f
GM
161802011-10-18 Glenn Morris <rgm@gnu.org>
16181
16182 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16183
08b0fee8
CY
161842011-10-18 Chong Yidong <cyd@gnu.org>
16185
16186 * faces.el (cursor): Doc fix.
16187
67e729a5
CY
161882011-10-17 Chong Yidong <cyd@gnu.org>
16189
16190 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16191
343a34ff 161922011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16193
16194 * dirtrack.el (dirtrack): Support shell buffers with path
16195 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16196
0bc06380
TZ
161972011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16198
16199 * json.el: Bump version to 1.3 and note change in History.
16200 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16201
8b79f3e0
SM
162022011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16203
5a7c536b
SM
16204 * comint.el (comint-insert-input, comint-send-input)
16205 (comint-get-old-input-default, comint-backward-matching-input)
16206 (comint-next-prompt): Use nil instead of `input' for field property of
16207 past user input (bug#114).
16208
96a8a0df
SM
16209 * minibuffer.el (completion--replace): Inherit surrounding properties
16210 (bug#114).
16211 (minibuffer-complete-and-exit): Use it.
16212
8b79f3e0
SM
16213 * comint.el (comint--table-subvert): Quote the all-completions output
16214 (bug#9160).
16215
b8f7ff0d
MR
162162011-10-17 Martin Rudalics <rudalics@gmx.at>
16217
8b79f3e0 16218 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 16219
b8f7ff0d 16220 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 16221 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
16222 entries and separate them from frame entries.
16223
c235b555
GM
162242011-10-15 Glenn Morris <rgm@gnu.org>
16225
16226 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16227 Doc fixes.
16228
6bbfa6e1
CY
162292011-10-15 Chong Yidong <cyd@stupidchicken.com>
16230
8b79f3e0
SM
16231 * net/network-stream.el (network-stream-open-starttls):
16232 Improve detection of failure due to lack of TLS support.
ec5c990d 16233
6bbfa6e1
CY
16234 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16235 putting the input text in front and in bold.
16236
98488977
SM
162372011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16238
3d1337be
SM
16239 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16240
ee0b45e4
SM
16241 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16242 empty buffer.
16243
98488977
SM
16244 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16245 unread-command-events rather than pushing yet-another event.
16246
186f4720
EZ
162472011-10-14 Eli Zaretskii <eliz@gnu.org>
16248
16249 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16250 the explanation of the possible choices. Make the options passed
16251 to completing-read shorter.
16252
8b7a997c
AM
162532011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16254
16255 * textmodes/flyspell.el (flyspell-large-region): Make sure
16256 extended character mode is used if defined (Bug#1339).
16257
12587bbb
EZ
162582011-10-13 Eli Zaretskii <eliz@gnu.org>
16259
16260 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16261 character info for LRE, LRO, RLE, and RLO characters by appending
16262 an invisible PDF.
12587bbb 16263
bad41229
SM
162642011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16265
16266 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16267 even in case of error; add debug spec; simplify data flow.
16268 (with-timeout-handler): Remove.
16269
28dbc92f
MA
162702011-10-12 Michael Albinus <michael.albinus@gmx.de>
16271
16272 Fix Bug#6019, Bug#9315.
16273
16274 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16275 complete `buffer-file-name', the local file name part could look
16276 remotely (for example on VMS).
16277
16278 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16279 `tramp-run-real-handler'.
16280 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16281 already quoted by '"'.
16282
16283 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16284 Let `file-name-handler-alist' be nil, the local file name part
16285 could look remotely (for example on VMS).
16286
e1b0b23a
SM
162872011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16290 from here...
16291 (flyspell-post-command-hook): ...to here.
16292
a120bde9
SM
162932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16294
16295 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16296 if not needed.
16297 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16298 using completion. Protect against "slow" callers.
16299 Remove the "message hack".
16300
7ce7717b
JL
163012011-10-11 Juri Linkov <juri@jurta.org>
16302
16303 * isearch.el (isearch-lazy-highlight-word): New variable.
16304 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16305 Use it. (Bug#9727)
16306
c02ee9d6
GM
163072011-10-11 Glenn Morris <rgm@gnu.org>
16308
16309 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16310 like f90-previous-statement does.
16311
93e616fd 163122011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16313
1f190e73 16314 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16315 only in interactive use, to avoid error.
16316
af7b6078
SM
163172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * minibuffer.el (completion-file-name-table): Fix last change,
16320 i.e. ignore normal errors but not the other ones.
16321
0563dae9
MR
163222011-10-10 Martin Rudalics <rudalics@gmx.at>
16323
16324 * window.el (special-display-buffer-names)
16325 (special-display-regexps): Remove some remnants of earlier
16326 changes from doc-strings.
366ca7f3
MR
16327 (quit-windows-on): New function.
16328
16329 * vc/vc.el (vc-revert, vc-rollback):
16330 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16331 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16332 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16333
49677495
MR
163342011-10-09 Martin Rudalics <rudalics@gmx.at>
16335
16336 * window.el (frame-auto-hide-function): Add version tag.
16337 (Bug#9699)
16338
56f2d1e1
MA
163392011-10-09 Michael Albinus <michael.albinus@gmx.de>
16340
16341 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16342 condition.
16343
112a6592
LL
163442011-10-09 Leo Liu <sdl.web@gmail.com>
16345
16346 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16347 (Bug#9701)
16348
0812589b
GM
163492011-10-08 Glenn Morris <rgm@gnu.org>
16350
16351 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16352 before the first code statement zero indent. (Bug#9690)
16353
b2b0776e
CY
163542011-10-08 Chong Yidong <cyd@stupidchicken.com>
16355
16356 * simple.el (count-words-region): Always count in the region.
16357 Report the number of lines and characters too.
16358 (count-words): New command, which counts in the buffer if the
16359 region is inactive, as count-words-region used to.
16360 (count-words--message): New function. Handle plurals.
16361 (count-lines-region): Make it an alias for count-words-region.
16362
16363 * bindings.el (esc-map): Replace count-lines-region with
16364 count-words-region.
16365
c557cd6b
MR
163662011-10-08 Martin Rudalics <rudalics@gmx.at>
16367
16368 * window.el (window--delete): Delete dedicated frame
16369 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16370 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16371
61a57ef4 163722011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16373
3a7d293b 16374 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16375
c3833279
CY
163762011-10-07 Chong Yidong <cyd@stupidchicken.com>
16377
16378 * bindings.el ([M-left],[M-right]): Bind to left-word and
16379 right-word respectively.
16380
21ce8245
GM
163812011-10-07 Glenn Morris <rgm@gnu.org>
16382
16383 * cus-start.el (debug-on-quit): Fix custom type.
16384
6d823bb2
LMI
163852011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16386
0181e193
LMI
16387 * subr.el (define-key-after): Clarify that the function is not
16388 useful for non-menu keymaps.
16389
6d823bb2
LMI
16390 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16391
8e3459ce 163922011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16393
21ce8245 16394 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16395 in current minibuffer (Fix bug with recursive minibuffers).
16396
a1c2d21e
CY
163972011-10-06 Chong Yidong <cyd@stupidchicken.com>
16398
16399 * progmodes/gdb-mi.el (gdb): Doc fix.
16400
5a4cf282
MR
164012011-10-05 Martin Rudalics <rudalics@gmx.at>
16402
16403 * window.el (frame-auto-hide-function): New option replacing
16404 frame-auto-delete. Suggested by Stefan Monnier.
16405 (window--delete): Call frame-auto-hide-function instead of
16406 investigating frame-auto-delete.
c96111ea
MR
16407 (window-point-1, set-window-point-1): New functions.
16408 (window-in-direction, record-window-buffer, window-state-get-1)
16409 (display-buffer-record-window): Use window-point-1 instead of
16410 window-point.
16411 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16412
9854542e
SM
164132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16414
16415 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16416
8943cfb0
GM
164172011-10-05 Glenn Morris <rgm@gnu.org>
16418
16419 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16420 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16421
647ab967
LL
164222011-10-05 Leo Liu <sdl.web@gmail.com>
16423
16424 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16425 works with buffer object.
16426
3ddfbced
SM
164272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16428
16429 * mpc.el (mpc-tool-bar-map): Add labels.
16430
bdfa5dd2
GM
164312011-10-04 Glenn Morris <rgm@gnu.org>
16432
16433 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16434
0e2070b5
MR
164352011-10-04 Martin Rudalics <rudalics@gmx.at>
16436
16437 * window.el (window--delete): New function.
16438 (frame-auto-delete): Resuscitate option.
16439 (bury-buffer, replace-buffer-in-windows)
16440 (quit-window): Rewrite using window--delete.
16441 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16442 Pass display-buffer-mark-dedicated to window--display-buffer-2
16443 (Bug#9639).
16444
3dc61a09
SM
164452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16446
915a9b64
SM
16447 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16448 returns a list (bug#9554). Add remote file name completion.
16449 * comint.el (comint--table-subvert): Curry and get quote&unquote
16450 functions as arguments.
16451 (comint--complete-file-name-data): Adjust call accordingly.
16452 * pcomplete.el (pcomplete--table-subvert): Remove.
16453 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16454
3dc61a09
SM
16455 * minibuffer.el (completion-table-case-fold): Use currying.
16456 (completion--styles-type, completion--cycling-threshold-type):
16457 New constants.
16458 (completion-styles, completion-category-overrides)
16459 (completion-cycle-threshold): Use them.
16460 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16461 completion-table-case-fold.
16462
8ea0a993
SB
164632011-10-03 Stephen Berman <stephen.berman@gmx.net>
16464
16465 * minibuffer.el (completion-category-overrides): Fix type of styles
16466 and add more user friendly tags (bug#9660).
16467
8c24b7f6
SM
164682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16469
16470 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16471 (mule-input-method-string): New widget.
16472 (default-input-method, language-info-custom-alist): Use it.
16473
428fe61a
SM
164742011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16475
32c1fffd
SM
16476 * pcomplete.el: Require comint.
16477 (pcomplete--common-suffix): Remove.
16478 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16479 (pcomplete--table-subvert): Sync with comint--table-subvert.
16480 (pcomplete--entries): Use comint-completion-file-name-table.
16481 * comint.el (comint-unquote-filename): Simplify.
16482 (comint-completion-file-name-table): New function (bug#9616).
16483 (comint--complete-file-name-data): Use it.
16484
428fe61a
SM
16485 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16486 (pcmpl-gnu-tar-buffer): Remove.
16487 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16488 around. Make sure pcomplete-suffix-list is only changed temporarily.
16489 Don't look inside the tar's file if it's too large.
428fe61a 16490
04c52e2f
CY
164912011-10-01 Chong Yidong <cyd@stupidchicken.com>
16492
ce3cefcc
CY
16493 * cus-edit.el (custom-mode-map):
16494 * epa.el (epa-key-list-mode-map):
16495 * man.el (Man-mode-map):
16496 * startup.el (splash-screen-keymap):
16497 * simple.el (special-mode-map): Use scroll-up-command and
16498 scroll-down-command.
16499
16500 * progmodes/idlw-help.el (idlwave-help-mode-map):
16501 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16502 * net/newst-plainview.el (newsticker-mode-map):
16503 * emulation/ws-mode.el (wordstar-mode-map):
16504 * emulation/vi.el (vi-com-map):
16505 * calc/calc-graph.el (calc-graph-show-dumb):
16506 * term/sun.el (terminal-init-sun):
16507 * term/ns-win.el (global-map):
16508 * progmodes/grep.el (grep-mode-map):
16509 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16510 * mail/rmail.el (rmail-mode-map):
16511 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16512
04c52e2f
CY
16513 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16514 custom-safe-themes as special.
16515
79adf8c8
JD
165162011-10-01 Julien Danjou <julien@danjou.info>
16517
16518 * notifications.el (notifications-notify): Fix docstring.
16519
63bd50d3
PS
165202011-10-01 Per Starbäck <per@starback.se>
16521
16522 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16523
199e4c7e
MR
165242011-09-30 Martin Rudalics <rudalics@gmx.at>
16525
16526 * startup.el (command-line-1): Fix last fix by inserting
16527 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16528 (Bug#9605) and (Bug#9636)
199e4c7e 16529
fe5f08dd
EZ
165302011-09-29 Eli Zaretskii <eliz@gnu.org>
16531
16532 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16533 window is hscrolled, move by logical lines. (Bug#9607)
16534 (line-move-visual): Update the doc string to the above effect.
16535
b5516bbd
MR
165362011-09-29 Martin Rudalics <rudalics@gmx.at>
16537
ccee00c0
MR
16538 * window.el (display-buffer-record-window): When WINDOW is the
16539 selected window use `point' instead of `window-point'. (Bug#9626)
16540
b5516bbd
MR
16541 * startup.el (command-line-1): Use insert-before-markers when
16542 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16543
b5516bbd
MR
16544 * help.el (help-window): Remove variable.
16545
52aa0014
GM
165462011-09-29 Glenn Morris <rgm@gnu.org>
16547
16548 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16549
df9a7357
JB
165502011-09-29 Juanma Barranquero <lekktu@gmail.com>
16551
16552 * descr-text.el (describe-char-categories): Accept category
16553 descriptions more than one line long.
16554
a8406c20
SM
165552011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16556
88d9610c
SM
16557 * simple.el (delete-trailing-whitespace): Fix last change.
16558
a5daf810
SM
16559 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16560 Don't confuse "y => 3" as the beginning of a `y' operation.
16561
a8406c20
SM
16562 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16563 object has more than 4 slots (bug#9613).
16564
a239d4e9
JB
165652011-09-28 Juanma Barranquero <lekktu@gmail.com>
16566
16567 * subr.el (with-output-to-temp-buffer):
16568 * net/quickurl.el (quickurl, quickurl-browse-url):
16569 Fix typos in docstrings.
16570
693fbdb6
EZ
165712011-09-27 Eli Zaretskii <eliz@gnu.org>
16572
16573 * minibuffer.el (completion-styles)
16574 (completion-category-overrides): Cross reference each other in doc
16575 strings.
16576
8b457e28
GM
165772011-09-27 Glenn Morris <rgm@gnu.org>
16578
16579 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16580 to split-string. (Bug#9606)
16581
85a16208
LMI
165822011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583
16584 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16585 (bug#9615).
16586
502f9ebd
CY
165872011-09-27 Chong Yidong <cyd@stupidchicken.com>
16588
16589 * emacs-lisp/package.el (list-packages): Fix echo area message.
16590
7690bdea
LL
165912011-09-27 Leo Liu <sdl.web@gmail.com>
16592
16593 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16594
e2ee6f30
MA
165952011-09-25 Michael Albinus <michael.albinus@gmx.de>
16596
16597 * net/dbus.el (dbus-unregister-object): Don't release services for
16598 registered signals. (Bug#9581)
16599
f3f98342
TZ
166002011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16601
16602 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16603 function that picks between cfengine 2 and 3 support
16604 automatically. Update docs accordingly.
16605
dd7aa8dd
KH
166062011-09-22 Kenichi Handa <handa@m17n.org>
16607
16608 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16609 ZERO.
16610 (indian-itrans-v5-table-for-tamil): New variable.
16611 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16612
3f2b07f8
KM
166132011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16614
16615 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16616 that's true if the current command involved collapsing of text.
16617 It's reset to false at the beginning of the next command.
16618 (allout-post-command-business): Move the cursor to the beginning
16619 of entry if the cursor is hidden and collapsing activity just
16620 happened.
16621
371d6a61
CY
166222011-09-24 Chong Yidong <cyd@stupidchicken.com>
16623
16624 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16625 tracking (Bug#9541).
16626
2ac2721a
UJ
166272011-09-24 Ulf Jasper <ulf.jasper@web.de>
16628
16629 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16630 (newsticker-show-news): Automatically load html rendering package
16631 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16632 because w3m-fill-column is let-bound" and the error "Symbol's value
16633 as variable is void: w3m-fill-column".
2ac2721a 16634
fac7ae53
MA
166352011-09-24 Michael Albinus <michael.albinus@gmx.de>
16636
16637 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16638 Release services only if they are defined. (Bug#9581)
16639
e08b633b
RS
166402011-09-23 Richard Stallman <rms@gnu.org>
16641
e488d29c
RS
16642 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16643 distinguish start of paragraph from start of its text.
16644
19c38752
RS
16645 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16646
e08b633b
RS
16647 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16648 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16649 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16650
0a39f27e
AS
166512011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16652
16653 * international/mule-diag.el (mule-diag): Insert a newline after
16654 each fontset description.
16655
db4e950d
SM
166562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16657
16658 * simple.el (delete-trailing-whitespace):
16659 Document last change; simplify.
16660
eca3f3ea
PW
166612011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16662
d68e189a
PW
16663 * simple.el (delete-trailing-whitespace): Also delete
16664 extra newlines at the end of the buffer.
16665
eca3f3ea
PW
16666 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16667 (picture-newline): Use forward-line so as to ignore fields.
16668
01c157cc
SM
166692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16670
16671 * subr.el (with-wrapper-hook): Fix edebug spec.
16672
022de23e
LMI
166732011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16674
16675 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16676 (bug#4538).
16677
91683089
MA
166782011-09-23 Michael Albinus <michael.albinus@gmx.de>
16679
eca3f3ea
PW
16680 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16681 Fix nasty bug using wrong cached values.
91683089 16682
5bdd6fa4
AM
166832011-09-23 Alan Mackenzie <acm@muc.de>
16684
16685 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16686
97adfb97
CY
166872011-09-23 Chong Yidong <cyd@stupidchicken.com>
16688
16689 * window.el (pop-to-buffer): Ensure right window is selected if we
16690 chose another frame.
16691
d4ef2b50
EZ
166922011-09-22 Eli Zaretskii <eliz@gnu.org>
16693
16694 * simple.el (what-cursor-position): Use get-char-property-change
16695 and next-single-char-property-change, to be able to show display
16696 properties that come from overlays as well as text properties.
16697
72258fe5
CY
166982011-09-22 Chong Yidong <cyd@stupidchicken.com>
16699
16700 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16701
16702 * cmuscheme.el (run-scheme, switch-to-scheme):
16703 * cus-edit.el (customize-group, custom-buffer-create)
16704 (customize-browse):
16705 * info.el (info):
16706 * shell.el (shell):
16707 * mail/sendmail.el (mail):
16708 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16709
8f098516
RS
167102011-09-22 Richard Stallman <rms@gnu.org>
16711
16712 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16713 move back only to line beg, don't move back over blank lines.
16714
e74f1bb6
MA
167152011-09-22 Michael Albinus <michael.albinus@gmx.de>
16716
16717 * files.el (copy-directory): Set directory attributes only in case
16718 they could be retrieved from the source directory. (Bug#9565)
16719
bfeef8b6
DK
167202011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16721
16722 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16723 (hs-find-block-beginning, hs-hide-level-recursive):
16724 Ignore strings as well as comments. (Bug#9502)
16725
7e423bb8
AS
167262011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16727
16728 * progmodes/sql.el (sql-comint-postgres):
16729 Convert port number to a string. (Bug#9566)
16730
b4d72fcf
MR
167312011-09-22 Martin Rudalics <rudalics@gmx.at>
16732
16733 * window.el (quit-window): Undedicate window when switching to
16734 previous buffer. Reported by Thierry Volpiatto
16735 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16736 (special-display-popup-frame): When popping up a new frame reset
16737 its previous buffers to nil. Simplify code.
b4d72fcf 16738
a7b88dc6
MA
167392011-09-21 Michael Albinus <michael.albinus@gmx.de>
16740
16741 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16742 and process filter, as done also in `shell-command'.
16743
cf4eacfd
MR
167442011-09-21 Martin Rudalics <rudalics@gmx.at>
16745
eca3f3ea 16746 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16747 Call set-window-start with NOFORCE argument t.
16748 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16749 (quit-window): Reword doc-string. Handle new format of
16750 quit-restore parameter. Don't delete window if it has a
16751 previous buffer we can show instead of the present one.
16752 (display-buffer-record-window): Rewrite using a new format for
16753 the quit-restore window parameter
16754 (special-display-popup-frame, display-buffer-same-window)
16755 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16756 (display-buffer-pop-up-window, display-buffer-use-some-window):
16757 Adapt symbol passed to display-buffer-record-window.
16758 * help.el (help-window-setup): Handle new format of quit-restore
16759 parameter.
16760
8d28cb95
SM
167612011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16762
94ab793f
SM
16763 * faces.el (face-list): Fix docstring (bug#9564).
16764
8d28cb95
SM
16765 * window.el (display-buffer--action-function-custom-type):
16766 Don't include internal functions in the Custom interface.
16767
3820edeb
JL
167682011-09-20 Juri Linkov <juri@jurta.org>
16769
16770 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16771 (Info-forward-node, Info-backward-node, Info-next-preorder)
16772 (Info-last-preorder): Use it. (Bug#9528)
16773
5147931d
JL
167742011-09-20 Juri Linkov <juri@jurta.org>
16775
16776 * info.el (Info-last-preorder): Visit last menu item only when
16777 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16778
cf499a1a
JD
167792011-09-20 Julien Danjou <julien@danjou.info>
16780
16781 * password-cache.el (password-cache-remove): Remove entries even if the
16782 value is nil, so that password with a nil value (negative caching) is
16783 possible to invalidate.
16784
f84e2fe2
LM
167852011-09-20 Lawrence Mitchell <wence@gmx.li>
16786
16787 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16788 all whitespace around breakpoint. (Bug#9553)
16789 (f90-find-breakpoint): Only break at whitespace inside a comment.
16790
78054a46
SM
167912011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * minibuffer.el (completion-file-name-table): Keep track of errors.
16794 (completion-table-with-predicate): Handle the case where pred1 is nil.
16795 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16796
345083b2
SM
167972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16798
e24e27be
SM
16799 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16800 (debugger-return-value): Signal an error if the debugging context does
16801 not await any return value.
16802
345083b2
SM
16803 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16804 * image-mode.el (image-toggle-display-text)
16805 (image-toggle-display-image): Stay away from evil `intangible'.
16806
08d355e3
LL
168072011-09-19 Leo Liu <sdl.web@gmail.com>
16808
16809 * replace.el (occur-revert-arguments): Make it permanent-local.
16810 (occur-mode): Don't call font-lock-defontify.
16811
f01da43f
CY
168122011-09-19 Chong Yidong <cyd@stupidchicken.com>
16813
16814 * net/ldap.el (ldap-search-internal): Don't push empty search
16815 result (Bug#9508).
16816
b6072fa6
SM
168172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16820
443d6696
MA
168212011-09-19 Michael Albinus <michael.albinus@gmx.de>
16822
16823 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16824 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16825
7cc6e154
JL
168262011-09-18 Juri Linkov <juri@jurta.org>
16827
16828 * buff-menu.el (Buffer-menu-mode-map):
16829 * dired.el (dired-mode-map):
16830 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16831 (lisp-interaction-mode-map):
16832 * emacs-lisp/package.el (package-menu-mode-map):
16833 * epa.el (epa-key-list-mode-map):
16834 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16835 (menu-bar-options-menu):
16836 * outline.el (outline-mode-menu-bar-map):
16837 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16838 * vc/vc-dir.el (vc-dir-menu-map):
16839 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16840 Capitalize non-function content words in menu item strings.
16841
16842 * dired.el (dired-mode-map): Add menu item for
16843 `image-dired-dired-toggle-marked-thumbs'.
16844
80302a81
JL
168452011-09-18 Juri Linkov <juri@jurta.org>
16846
16847 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16848 to `isearch-case-fold-search' and restore its original value
16849 after the `isearch-mode' call.
16850
46c5cf66
JL
168512011-09-18 Juri Linkov <juri@jurta.org>
16852
16853 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16854 because `zgrep' returns 1 for successful matches (bug#9226).
16855
d18b513b
JL
168562011-09-18 Juri Linkov <juri@jurta.org>
16857
16858 * info.el (Info-extract-menu-node-name): Check the second match
16859 for empty string (second test-case of bug#9528).
16860 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16861 intermediate nodes to the history (first test-case of bug#9528).
16862
72753f87
JL
168632011-09-18 Juri Linkov <juri@jurta.org>
16864
16865 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16866 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16867
c9384295
JL
168682011-09-18 Juri Linkov <juri@jurta.org>
16869
1154d12e
JB
16870 * info.el (Info-file-supports-index-cookies):
16871 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16872 outputs one more line for long file names (bug#4142).
c9384295 16873
d473dce8
CY
168742011-09-18 Chong Yidong <cyd@stupidchicken.com>
16875
16876 * newcomment.el (comment-normalize-vars): If prompting for
16877 comment-start, set comment-start-skip too (Bug#8424).
16878
2176854d
JB
168792011-09-18 Johan Bockgård <bojohan@gnu.org>
16880
16881 * icomplete.el: Fix previous fix of Bug#5849.
16882 (icomplete-mode): Don't set completion-show-inline-help.
16883 (icomplete-minibuffer-setup): Set completion-show-inline-help
16884 locally during icompletion.
16885
3aace4e4
CY
168862011-09-18 Chong Yidong <cyd@stupidchicken.com>
16887
c940224f
CY
16888 * woman.el (woman2-process-escapes): Don't delete unrecognized
16889 escapes (Bug#7843).
16890
3aace4e4
CY
16891 * files.el (inhibit-first-line-modes-regexps): Add image files.
16892 (hack-local-variables-prop-line): Return nil for malformed
16893 prop-lines (Bug#9044).
16894
710dec63
MA
168952011-09-18 Michael Albinus <michael.albinus@gmx.de>
16896
16897 * net/tramp.el (top): Don't require 'shell.
16898 (tramp-methods): Fix docstring.
16899 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16900 Return complete remote file name. Handle "smb" case.
16901 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16902 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16903
16904 * net/tramp-compat.el (top): Require 'shell.
16905
16906 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16907 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16908 `tramp-current-host'.
16909 (tramp-get-remote-tmpdir): Remove.
16910
16911 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16912 `tramp-tmpdir' entries.
16913 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16914 (tramp-smb-handle-file-attributes): Ignore errors.
16915 (tramp-smb-wait-for-output): Check also for process end.
16916
5d5ac8ec
LMI
169172011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16918
16919 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16920 when sending QUIT (bug#9312).
16921
8c0f49f0
CY
169222011-09-17 Chong Yidong <cyd@stupidchicken.com>
16923
16924 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16925 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16926 occur-mode-display-occurrence.
16927 (occur-edit-mode): Add usage message.
16928 (occur-cease-edit): New command.
16929 (occur-after-change-function): Use text properties to find the
16930 position of the prefix text.
16931 (occur-engine): Set stickiness of prefix text properties.
16932
8f1383f7
GM
169332011-09-17 Glenn Morris <rgm@gnu.org>
16934
16935 * progmodes/etags.el (complete-tag):
16936 Fix call to completion-in-region. (Bug#9526)
16937
744ba0e3
JL
169382011-09-17 Juri Linkov <juri@jurta.org>
16939
16940 * textmodes/ispell.el (ispell-word): Add to the error message
16941 the word, ispell program name and current dictionary (bug#9121).
16942 (ispell-tex-arg-end): Capitalize "error" in the error message.
16943
d9bbf400
AS
169442011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16947 check. (Bug#4251)
16948
8da11505
JL
169492011-09-17 Juri Linkov <juri@jurta.org>
16950
16951 * window.el (window-safe-min-height, window-safe-min-width):
16952 Fix typos (followup to bug#9522).
16953
a91adc7e
SJ
169542011-09-17 Sven Joachim <svenjoac@gmx.de>
16955
16956 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16957
064f328a
EZ
169582011-09-16 Eli Zaretskii <eliz@gnu.org>
16959
16960 * simple.el (line-move): If goal-column is set, move by logical
16961 lines, not by display lines. (Bug#971)
16962 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16963 to reflect the above change.
16964
e69df516
SM
169652011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16966
16967 * image.el (imagemagick-register-types): Use regexp-opt.
16968
cbb0f9ab
CY
169692011-09-15 Chong Yidong <cyd@stupidchicken.com>
16970
16971 * window.el (display-buffer-base-action): Rename from
16972 display-buffer-default-action. Make default value empty.
16973 (display-buffer-overriding-action): Convert to defvar.
16974 (display-buffer-fallback-action): New var.
16975
25322144
CY
169762011-09-15 Chong Yidong <cyd@stupidchicken.com>
16977
16978 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16979 declaration.
16980 (package--add-to-archive-contents): If there is a duplicate entry
16981 with an older version, remove it.
16982 (package-menu-mark-delete, package-menu-mark-install)
16983 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16984 (package-menu-mark-obsolete-for-deletion):
16985 Use package-menu-get-status instead of a regexp search.
25322144
CY
16986 (package-menu-get-status): Use tabulated-list-entry.
16987 (package-menu-mark-upgrades): New command.
d770725a 16988 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16989 (package-menu-execute): Do installation before deletion.
16990 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16991 instead of checking major-mode.
16992 (package-menu--find-upgrades): New function.
16993
7520339c
LMI
169942011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16995
16996 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16997 passwords in the log buffer.
65a046c4
LMI
16998 (smtpmail-process-filter): Update the process marker so that the
16999 "broken by peer" status message is inserted in the right place.
7520339c 17000
d3c30954
SM
170012011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17002
3fe48822
SM
17003 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17004 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17005 bibtex-completion-at-point-function.
17006 (bibtex-completion-at-point-function): Use them.
17007
1b8b3954
SM
17008 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17009
d3c30954
SM
17010 * mpc.el (mpc-constraints-tag-lookup): New function.
17011 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17012 also to browser "album|playlist".
17013
72779976
JL
170142011-09-14 Juri Linkov <juri@jurta.org>
17015
17016 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17017 (isearch-edit-string): Use length of `isearch-string' when
17018 `isearch-fail-pos' returns nil.
17019 (isearch-message): Remove duplicate code and call
17020 `isearch-fail-pos' with arg `t'.
17021
a0bf2bcd
CY
170222011-09-14 Chong Yidong <cyd@stupidchicken.com>
17023
17bb0a2d
CY
17024 * replace.el (occur-mode-goto-occurrence): Don't force using other
17025 window (Bug#9499).
17026
a0bf2bcd
CY
17027 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17028
f678e0b6
MR
170292011-09-14 Martin Rudalics <rudalics@gmx.at>
17030
17031 * window.el (display-buffer-window): Remove.
17032 (display-buffer-record-window): Use help-setup window parameter
17033 instead of variable display-buffer-window.
17034 (display-buffer-function, special-display-buffer-names)
17035 (special-display-function): Mention help-setup parameter instead
17036 of display-buffer-window in doc-string.
d3c30954
SM
17037 * help.el (help-window-setup): New argument help-window.
17038 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
17039 Reword some messages.
17040 (with-help-window): Pass window used for displaying the buffer
17041 to help-window-setup. Don't set display-buffer-window.
17042
8e39b2e8
GM
170432011-09-13 Glenn Morris <rgm@gnu.org>
17044
17045 * emacs-lisp/debug.el (debugger-make-xrefs):
17046 Preserve point. (Bug#9462)
17047
85e9c04b
CY
170482011-09-13 Chong Yidong <cyd@stupidchicken.com>
17049
17050 * window.el (window-deletable-p): Use next-frame.
17051
1b36ed6a
MR
170522011-09-13 Martin Rudalics <rudalics@gmx.at>
17053
17054 * window.el (window-auto-delete): Remove.
17055 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 17056 dedication and previous buffers.
1b36ed6a
MR
17057 (switch-to-prev-buffer): Don't delete window.
17058 (delete-windows-on): Delete a window's frame if and only if the
17059 window is dedicated.
17060 (replace-buffer-in-windows): Delete buffer's window or frame if
17061 and only if window is dedicated.
17062 (quit-window): Handle quit-restore as before last change.
4d61f28d 17063 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 17064
ef8ef9fb
CY
170652011-09-13 Chong Yidong <cyd@stupidchicken.com>
17066
17067 * window.el (window-deletable-p): Never delete the last frame on a
17068 given terminal.
17069
b2cba41e
GM
170702011-09-13 Glenn Morris <rgm@gnu.org>
17071
17072 * help.el (describe-key-briefly): Copy previous standard-output change.
17073
51553db6 170742011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
17075
17076 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17077
b7556719
GM
170782011-09-13 Glenn Morris <rgm@gnu.org>
17079
17080 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17081 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17082
64b51947
CY
170832011-09-12 Chong Yidong <cyd@stupidchicken.com>
17084
17085 * dired-aux.el (dired-mark-read-string): Don't return default
17086 value on empty input (Bug#9361).
17087 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17088 Omit initial minibuffer contents.
17089 (dired-do-chmod): Signal an error on empty input.
17090 (dired-mark-read-string): Don't return default on empty input.
17091
17092 * files.el (file-modes-symbolic-to-number): Doc fix.
17093
393a301e
SM
170942011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17095
17096 * international/mule-cmds.el (ucs-completions): Remove.
17097 (read-char-by-name): Use complete-with-action instead; add metadata.
17098
fa5660f9
CY
170992011-09-11 Chong Yidong <cyd@stupidchicken.com>
17100
17101 * window.el (display-buffer--action-function-custom-type)
17102 (display-buffer--action-custom-type): New vars.
17103 (display-buffer-alist, display-buffer-default-action)
17104 (display-buffer-overriding-action): Add defcustom types.
17105
4a592f66
CY
17106 * frame.el (delete-other-frames): Doc fix (Bug#276).
17107
73d56dbd
LMI
171082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17109
17110 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17111
37ac18a3
CY
171122011-09-11 Chong Yidong <cyd@stupidchicken.com>
17113
17114 Change modes that used same-window-* vars to use switch-to-buffer.
17115
17116 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17117 Use switch-to-buffer.
17118
17119 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
17120 (customize-browse, custom-buffer-create-other-window):
17121 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
17122
17123 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17124 (Info-prev, Info-up, Info-speedbar-goto-node)
17125 (info-display-manual): Use switch-to-buffer.
17126 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17127
17128 * mail/sendmail.el (mail): Use switch-to-buffer.
17129 (mail-recover): Use switch-to-buffer-other-window.
17130
17131 * cmuscheme.el (run-scheme, switch-to-scheme):
17132 * ielm.el (ielm):
17133 * shell.el (shell):
17134 * net/rlogin.el (rlogin):
17135 * net/telnet.el (telnet, rsh):
17136 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17137
10195bd6
AS
171382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17141
b322f63a
LMI
171422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17143
39d7fed6
LMI
17144 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17145 so don't mention it (bug#9301).
ba5a81f1 17146 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 17147
ee0e9f11
LMI
17148 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17149 match `x', `w32' and `ns', like the manual says (bug#9029).
17150
0b1c89c1 17151 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
17152 (process-kill-buffer-query-function): Mention the buffer name in
17153 the query.
0b1c89c1 17154
77549ea8
LMI
17155 * image-mode.el (image-next-line): The line parameter is mandatory
17156 (bug#9258).
17157
803ef892
LMI
17158 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17159 which can be useful (bug#9301).
17160
12980837
LMI
17161 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17162
91054f8f
LMI
17163 * subr.el (match-string): Mention that the current buffer should
17164 be the same as the search was done in (bug#9282).
17165
b322f63a
LMI
17166 * facemenu.el: Disable the remove-* commands if the mark isn't
17167 active (bug#9162).
17168
3199b96f
CY
171692011-09-10 Chong Yidong <cyd@stupidchicken.com>
17170
17171 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17172 of display-buffer.
17173 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17174
17175 * replace.el (occur-mode-goto-occurrence)
17176 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17177 and display-buffer.
17178
17179 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17180 display-buffer.
17181
17182 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17183 special-display and same-window variables.
17184 (mail-other-window): Use switch-to-buffer-other-window.
17185 (mail-other-frame): USe switch-to-buffer-other-frame.
17186
393a301e
SM
17187 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17188 Use display-buffer-other-frame.
3199b96f
CY
17189 (gdb-display-gdb-buffer): Use pop-to-buffer.
17190
17191 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17192
17193 * progmodes/python.el: Don't set same-window-buffer-names.
17194
17195 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17196
17197 * window.el (display-buffer-alist): Add *Python*.
17198
8319e0bf
CY
171992011-09-10 Chong Yidong <cyd@stupidchicken.com>
17200
17201 * window.el (display-buffer-alist): Add entry for buffers
17202 previously handled same-window-*.
17203 (display-buffer-alist, display-buffer-default-action)
17204 (display-buffer-overriding-action): Mark as risky.
17205 (display-buffer-alist): Document action function changes.
17206 (display-buffer--same-window-action)
17207 (display-buffer--other-frame-action): New variables.
17208 (switch-to-buffer, display-buffer-other-frame): Use them.
17209 (display-buffer): Rename reuse-frame entry to reusable-frames.
17210 (display-buffer-reuse-selected-window): Function deleted.
17211 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17212 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17213 (display-buffer-special): New function.
17214 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17215 display-buffer-reuse-or-pop-window. Split off special-display
17216 part into display-buffer-special.
17217 (display-buffer-use-some-window): Don't perform any special
17218 pop-up-frames handling.
17219 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 17220 (display-buffer--maybe-same-window): Rename from
0d3ff375 17221 display-buffer-maybe-same-window.
8319e0bf 17222
919a69aa
CY
17223 * info.el: Don't set same-window-regexps.
17224 (info-setup): New function.
17225 (info-other-window, info): Call it.
17226
17227 * cus-edit.el: Don't set same-window-regexps.
17228 (customize-group): New argument.
17229 (customize-group-other-window): Use it.
17230 (customize-face, customize-face-other-window): Likewise.
17231 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17232
8319e0bf
CY
17233 * net/rlogin.el:
17234 * net/telnet.el:
17235 * progmodes/gud.el: Don't set same-window-regexps.
17236
17237 * cmuscheme.el:
17238 * ielm.el:
17239 * shell.el:
17240 * mail/sendmail.el:
17241 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17242
25173000
JL
172432011-09-10 Juri Linkov <juri@jurta.org>
17244
17245 * isearch.el (isearch-edit-string): Remove obsolete mention of
17246 `C-w' (`isearch-yank-word-or-char') from docstring.
17247 (isearch-query-replace): Fix typo in docstring (bug#9466).
17248
056e44ef
JL
172492011-09-10 Juri Linkov <juri@jurta.org>
17250
17251 * paren.el (show-paren-function): Don't show escaped parens.
17252 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17253
c3760c17
EZ
172542011-09-10 Eli Zaretskii <eliz@gnu.org>
17255
17256 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17257 (mm-default-file-encoding): Remove autoload forms, they are
17258 replaced with autoload cookies in mml.el and mm-encode.el.
17259 (mail-add-attachment): New command.
17260 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17261 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17262 the doc string.
17263 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17264
fece895e
RT
172652011-09-10 Reuben Thomas <rrt@sc3d.org>
17266
e69df516
SM
17267 * simple.el (count-words-region): Use buffer if there's no region
17268 (bug#9429).
fece895e 17269
5e68ce4a
JL
172702011-09-09 Juri Linkov <juri@jurta.org>
17271
17272 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17273 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17274 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17275
0a6b9622
AM
172762011-09-09 Alan Mackenzie <acm@muc.de>
17277
17278 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17279 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17280
14a29deb
EZ
172812011-09-09 Eli Zaretskii <eliz@gnu.org>
17282
17283 Fix for Savannah bug#9392.
17284 * simple.el (mail-encode-mml): New defvar.
17285
17286 * mail/rmail.el (mail-encode-mml): Add a defvar.
17287 (rmail-enable-mime-composing): Default to t.
17288 (rmail-forward): Use MIME method of forwarding only if both
17289 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17290 Set mail-encode-mml non-nil if the MIME method was used.
17291
17292 * mail/sendmail.el (mml-to-mime): Add autoload form.
17293 (mail-encode-mml): Add a defvar.
17294 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17295 to nil.
17296 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17297 message through mml-to-mime, and reset mail-encode-mml to nil.
17298
28c45130
GM
172992011-09-09 Glenn Morris <rgm@gnu.org>
17300
17301 * woman.el (woman-if-body): When processing an .el block,
17302 do not delete the next .el block as well. (Bug#9447)
69f4b618 17303 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17304
9b1c252e
MR
173052011-09-08 Martin Rudalics <rudalics@gmx.at>
17306
17307 * window.el (window-deletable-p): Make sure window is live before
17308 invoking window-prev-buffers.
17309
567457e3
LL
173102011-09-08 Leo Liu <sdl.web@gmail.com>
17311
17312 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17313
97f05794
JL
173142011-09-08 Juri Linkov <juri@jurta.org>
17315
17316 * progmodes/compile.el (compilation-environment): Make it
17317 a defcustom (bug#8340).
17318
8b0874b5
MR
173192011-09-08 Martin Rudalics <rudalics@gmx.at>
17320
17321 * window.el (frame-auto-delete): Rename to window-auto-delete.
17322 Make it control auto-deletion of windows and/or frames.
17323 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17324 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17325 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17326 Rewrite handling of case when window/frame can be deleted.
17327 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17328 argument t. (Bug#9456)
8b0874b5 17329
4feb6e73
CY
173302011-09-07 Chong Yidong <cyd@stupidchicken.com>
17331
17332 * help-mode.el (help-mode): Restore autoload.
17333
91ab9c13
JL
173342011-09-07 Juri Linkov <juri@jurta.org>
17335
17336 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17337 `compilation-environment'. Set buffer-local
17338 `compilation-environment' to `thisenv' later after (funcall mode).
17339 (Bug#8340)
17340
17341 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17342 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17343 instead of replacing its value. (Bug#8340)
17344
0527e251
JL
173452011-09-07 Juri Linkov <juri@jurta.org>
17346
17347 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17348 based on text properties put by `grep-filter' instead of matching
17349 escape sequences.
17350 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17351 to the value of `grep-error-screen-columns' (bug#9438).
17352
249f792c
JL
173532011-09-07 Juri Linkov <juri@jurta.org>
17354
17355 * simple.el (next-error-highlight, next-error-highlight-no-select):
17356 Doc fix (bug#9432).
17357
ff7271b9
OT
173582011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17359
17360 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17361 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17362
183fc730
LL
173632011-09-07 Leo Liu <sdl.web@gmail.com>
17364
17365 * net/rcirc.el (rcirc-mode): Conditionally initialize
17366 rcirc-input-ring.
17367
77694924
SM
173682011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17369
17370 * emacs-lisp/find-func.el (find-function-C-source): Only set
17371 find-function-C-source-directory after checking that we found a source
17372 file there (bug#9440).
17373
d809b8eb
AM
173742011-09-06 Alan Mackenzie <acm@muc.de>
17375
17376 * isearch.el (isearch-other-meta-char): Wherever a key list is
17377 unread, "unread" the prefix arg, too. This fixes bug #8901.
17378
453de99f
OG
173792011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17380
17381 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17382
90439906
JL
173832011-09-05 Juri Linkov <juri@jurta.org>
17384
17385 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17386
f62bd846
JL
173872011-09-05 Juri Linkov <juri@jurta.org>
17388
17389 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17390 keeping point where processing of grep matches begins, and
17391 continue to delete remaining escape sequences from the same point.
17392 (grep-filter): Make leading zero optional in "0?1;31m" because
17393 git-grep emits "\033[1;31m" escape sequences unlike expected
17394 "\033[01;31m" as GNU Grep does (bug#9408).
17395 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17396
045820ec
JL
173972011-09-05 Juri Linkov <juri@jurta.org>
17398
17399 * subr.el (y-or-n-p): Capitalize "yes".
17400
f5e29b9b
MA
174012011-09-04 Michael Albinus <michael.albinus@gmx.de>
17402
17403 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17404 `tramp-cache-unload-hook' where appropriate.
17405 (tramp-methods): Rename `tramp-remote-sh' to
17406 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17407 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17408
17409 * net/tramp-sh.el (top): Don't require 'shell.
17410 (tramp-methods): Add `tramp-remote-shell' and
17411 `tramp-remote-shell-args' entries.
17412 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17413 (tramp-sh-handle-shell-command): Remove.
17414 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17415 Use `tramp-remote-shell'.
17416
2784c434
CY
174172011-09-03 Chong Yidong <cyd@stupidchicken.com>
17418
393a301e 17419 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17420 (sendmail-query-once): Save directly to send-mail-function.
17421 Update message-send-mail-function too.
17422
17423 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17424
464cdf56
CS
174252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17426
17427 * progmodes/python.el (python-mode-map): Use correct function to
17428 start python interpreter from menu-bar (as reported by Geert
17429 Kloosterman).
17430 (inferior-python-mode-map): Fix typo.
393a301e 17431 (python-shell-map): Remove.
464cdf56 17432
d37e5c87
DD
174332011-09-03 Deniz Dogan <deniz@dogan.se>
17434
17435 * net/rcirc.el (rcirc-print): Simplify code for
17436 rcirc-scroll-show-maximum-output. There is no need to walk
17437 through all windows to find the right one.
17438
f3ada0ee
CS
174392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17440
17441 * help.el (help-return-method): Doc fix.
17442
1f3c99ca
MR
174432011-09-03 Martin Rudalics <rudalics@gmx.at>
17444
17445 * window.el (window-deletable-p): Don't return a non-nil value
17446 when there's a buffer that was shown in the window before.
17447 (Bug#9419)
393a301e
SM
17448 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17449 Set window's previous buffers to nil.
1f3c99ca 17450
a3cf097f
EZ
174512011-09-03 Eli Zaretskii <eliz@gnu.org>
17452
17453 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17454 newline before and after the tag line, so it doesn't interfere
17455 with determining the paragraph direction of bidirectional text.
17456
3d03de90
LL
174572011-09-03 Leo Liu <sdl.web@gmail.com>
17458
17459 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17460
c3313451
CY
174612011-09-02 Chong Yidong <cyd@stupidchicken.com>
17462
393a301e 17463 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17464 (pop-to-buffer): Change interactive spec. Pass second argument
17465 directly to display-buffer.
17466 (display-buffer): Fix interactive spec. Use functionp to
17467 distinguish between a function and a list of functions.
17468
17469 * abbrev.el (edit-abbrevs):
17470 * arc-mode.el (archive-extract):
17471 * autoinsert.el (auto-insert):
17472 * bookmark.el (bookmark-bmenu-list):
17473 * files.el (find-file):
17474 * view.el (view-buffer):
17475 * progmodes/compile.el (compilation-goto-locus):
17476 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17477
89894cd8
CY
174782011-09-02 Chong Yidong <cyd@stupidchicken.com>
17479
17480 * window.el (display-buffer-alist): Doc fix.
17481 (display-buffer): Add docstring. Don't treat
17482 display-buffer-default specially.
17483 (display-buffer-reuse-selected-window)
17484 (display-buffer-same-window, display-buffer-maybe-same-window)
17485 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17486 (display-buffer-pop-up-window)
17487 (display-buffer-reuse-or-pop-window)
17488 (display-buffer-use-some-window): New functions.
17489 (display-buffer-default-action): Use them.
393a301e 17490 (display-buffer-default): Delete.
89894cd8
CY
17491 (pop-to-buffer-1): Fix choice of actions.
17492
ae0bc9fb
SM
174932011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17494
17495 * minibuffer.el (completion--insert-strings): Don't get confused by
17496 completion entries that end with an LF char.
17497
e9d90883
EZ
174982011-09-01 Eli Zaretskii <eliz@gnu.org>
17499
17500 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17501
437014c8
CY
175022011-09-01 Chong Yidong <cyd@stupidchicken.com>
17503
17504 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17505 (display-buffer-same-window, display-buffer-other-window):
17506 New functions.
437014c8
CY
17507 (pop-to-buffer-1): New function. Use the above.
17508 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17509 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17510
17511 * view.el (view-buffer-other-window, view-buffer-other-frame):
17512 Just use pop-to-buffer.
17513
a5e063d5
TV
175142011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17515
17516 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17517
793d32bb
WH
175182011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17519
17520 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17521
d65e4c15
RS
175222011-08-31 Richard Stallman <rms@gnu.org>
17523
17524 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17525 of the separation of rmail-view-buffer from rmail-buffer.
17526 If you say no to "replace original", the decrypt is in the
17527 view buffer. If you say yes, the decrypt goes into the
17528 rmail buffer also.
17529
f818cd2a
MR
175302011-08-31 Martin Rudalics <rudalics@gmx.at>
17531
17532 * window.el (display-buffer-window): Rewrite doc-string.
17533 (display-buffer-record-window): New function.
17534 (display-buffer-macro-specifiers)
17535 (display-buffer-even-window-sizes, display-buffer-set-height)
17536 (display-buffer-set-width, display-buffer-in-window)
17537 (display-buffer-reuse-window, display-buffer-split-specifiers)
17538 (display-buffer-side-specifiers, display-buffer-split-window-1)
17539 (display-buffer-split-window, display-buffer-split-atom-window)
17540 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17541 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17542 (display-buffer-other-window-means-other-frame)
17543 (display-buffer-normalize-special)
17544 (display-buffer-normalize-default)
17545 (display-buffer-normalize-argument)
17546 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17547 (display-buffer-normalize-specifiers, display-buffer-frame)
17548 (display-buffer-same-window, display-buffer-same-frame)
17549 (display-buffer-other-window)
17550 (display-buffer-same-frame-other-window)
17551 (display-buffer-other-frame, pop-to-buffer-same-window)
17552 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17553 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17554 (switch-to-buffer-same-frame)
17555 (switch-to-buffer-other-window-same-frame)
17556 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17557 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17558 (display-buffer-alist-set): Remove.
17559 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17560 (special-display-regexps, special-display-function):
17561 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17562 parameter.
17563 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17564 (special-display-frame-alist, special-display-popup-frame)
17565 (same-window-buffer-names, same-window-regexps, same-window-p)
17566 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17567 (split-window-preferred-function, split-height-threshold)
17568 (split-width-threshold, window-splittable-p)
17569 (split-window-sensibly, window--try-to-split-window)
17570 (window--frame-usable-p, even-window-heights)
17571 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17572 (window--display-buffer-2, display-buffer-other-frame):
17573 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17574 (display-buffer-default, display-buffer-assq-regexp): New functions.
17575 (display-buffer-alist): Rewrite doc-string.
17576 (display-buffer-default-action)
17577 (display-buffer-overriding-action): New variables.
17578 (display-buffer, switch-to-buffer): Rewrite.
17579 (pop-to-buffer): Restore Emacs 23 behavior but use
17580 window-normalize-buffer-to-display.
17581 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17582 Restore Emacs 23 behavior but use
17583 window-normalize-buffer-to-switch-to.
17584 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17585 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17586 Rewrite using Emacs 23 options.
f818cd2a 17587
5bc3b51d
MA
175882011-08-31 Michael Albinus <michael.albinus@gmx.de>
17589
17590 * net/tramp.el (tramp-root-regexp): Remove.
17591 (tramp-completion-file-name-regexp-unified)
17592 (tramp-completion-file-name-regexp-separate)
17593 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17594 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17595 (tramp-drop-volume-letter): Simplify definition.
17596 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17597
b1a4f8e1
SM
175982011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17599
17600 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17601 (bug#9356).
17602
5664fa7b
RT
176032011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17604
b1a4f8e1 17605 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17606
9a45d6c3
JL
176072011-08-29 Juri Linkov <juri@jurta.org>
17608
17609 * isearch.el (isearch-done): Don't display message "Mark saved"
17610 when arg `edit' is non-nil to prevent its flicker in the echo area.
17611
fb87e0fb
CY
176122011-08-28 Chong Yidong <cyd@stupidchicken.com>
17613
17614 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17615 obsolete packages for deletion.
17616
09ac1c2a
CS
176172011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17618
17619 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17620 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17621 view-mode from help-mode.
17622 (help-xref-override-view-map): Remove.
17623 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17624 view-mode is not used anymore.
17625
7a1ff57f
CY
176262011-08-28 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * server.el (server-port): Doc fix.
17629
b9696605
CY
17630 * cus-theme.el (custom-theme-choose-mode): Inherit from
17631 special-mode (Bug#9124).
17632 (custom-theme-choose-mode-map): Add special-mode to parent.
17633
ef8cdf8c
AM
176342011-08-28 Alan Mackenzie <acm@muc.de>
17635
17636 * progmodes/cc-fonts.el
17637 (c-make-font-lock-BO-decl-search-function): New function.
17638 (c-basic-matchers-after - "Fontify the clauses after various
17639 keywords"): Extract the three keyword lists for the 3 erroneous
17640 constructs from the list of four, and use the new function above
17641 in place of an old one.
17642
27de4e20
DD
176432011-08-28 Deniz Dogan <deniz@dogan.se>
17644
17645 * net/rcirc.el (rcirc-insert-prev-input)
17646 (rcirc-insert-next-input): Remove unused argument.
17647
356a3681
SM
176482011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17649
17650 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17651
3fc9b218
AM
176522011-08-27 Alan Mackenzie <acm@muc.de>
17653
17654 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17655 handle function pointer parameters properly.
17656
538a061c
MR
176572011-08-27 Martin Rudalics <rudalics@gmx.at>
17658
17659 * window.el (display-buffer-reuse-window): Fix case where
17660 selected window was reused with non-nil OTHER-WINDOW argument.
17661 (Bug#9381)
17662
35b1c40c
DD
176632011-08-27 Deniz Dogan <deniz@dogan.se>
17664
17665 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17666 oftc's NickServ messages.
17667
2f6a3e79
GM
176682011-08-27 Glenn Morris <rgm@gnu.org>
17669
17670 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17671
7254299e
CY
176722011-08-26 Chong Yidong <cyd@stupidchicken.com>
17673
17674 * emacs-lisp/package.el (package-install): Call package-initialize
17675 if called interactively.
17676
f8ccf167
LL
176772011-08-26 Leo Liu <sdl.web@gmail.com>
17678
17679 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17680
3e8cd5ce
JL
176812011-08-25 Juri Linkov <juri@jurta.org>
17682
17683 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17684 `search-whitespace-regexp' (bug#9364).
17685
93eb7113
JL
176862011-08-25 Juri Linkov <juri@jurta.org>
17687
17688 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17689 `regexp-search-ring' to their global values to protect from
17690 updating by `read-from-minibuffer' (bug#9185).
17691
f65d1611
JL
176922011-08-25 Juri Linkov <juri@jurta.org>
17693
17694 * textmodes/ispell.el (ispell-command-loop): Add newline
17695 at the end of the "Use option `i'..." line.
17696
f1cf7a31
JL
176972011-08-25 Juri Linkov <juri@jurta.org>
17698
17699 * battery.el (display-battery-mode): If `battery-status-function'
17700 or `battery-mode-line-format' is nil, display the message and set
17701 `display-battery-mode' to nil (bug#9363).
17702
0c95fcf7
EZ
177032011-08-25 Eli Zaretskii <eliz@gnu.org>
17704
17705 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17706 bidi-string-mark-left-to-right; they are unnecessary now.
17707
a2ebe600
DD
177082011-08-25 Deniz Dogan <deniz@dogan.se>
17709
17710 * net/quickurl.el: Documentation typo fixes.
17711
e4ed06f1
CY
177122011-08-25 Chong Yidong <cyd@stupidchicken.com>
17713
17714 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17715
e5f1c99e
GM
177162011-08-25 Glenn Morris <rgm@gnu.org>
17717
b2948976
GM
17718 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17719
e5f1c99e
GM
17720 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17721 (smtpmail-via-smtp): Handle nil response from smtp.
17722
f22f4808
JL
177232011-08-24 Juri Linkov <juri@jurta.org>
17724
17725 * proced.el (proced-marked): Inherit from `error' instead of
17726 `font-lock-warning-face'.
17727
17728 * ibuffer.el (ibuffer-marked-face): Change default face from
17729 `font-lock-warning-face' to `warning'.
17730 (ibuffer-deletion-face): Change default face from
17731 `font-lock-type-face' to `error'.
17732
17733 * battery.el (battery-update): Use the face `error' instead of
17734 `font-lock-warning-face' (bug#6117).
17735
6a93965e
JL
177362011-08-24 Juri Linkov <juri@jurta.org>
17737
17738 * faces.el (success): Change face color from "Green3" to
17739 "ForestGreen" on light background (bug#9353).
17740
1ed43b09
CY
177412011-08-24 Chong Yidong <cyd@stupidchicken.com>
17742
5664fa7b
RT
17743 * window.el (quit-window): Rename from quit-restore-window.
17744 Use same arglist as old quit-window.
1ed43b09
CY
17745 (frame-auto-delete): Doc fix.
17746
17747 * view.el (view-mode-exit): Use quit-window.
17748
11dcdbb2
JL
177492011-08-24 Juri Linkov <juri@jurta.org>
17750
17751 * isearch.el (isearch-ring-adjust1): Start visiting previous
17752 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17753 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17754 for empty search string (when the last search string is reused
17755 automatically) to adjust the isearch ring to the last element and
17756 prepare the correct index for further M-p commands (bug#9185).
17757
de62b4df
KH
177582011-08-24 Kenichi Handa <handa@m17n.org>
17759
17760 * international/ucs-normalize.el: If decomposition property of
17761 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17762 nil.
17763 (nfd, nfkd): Likewise.
17764
963b492b
SM
177652011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17766
17767 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17768 from process filters aren't reliably transmitted to the surrounding
17769 accept-process-output.
17770 (mpc-proc-check): New function.
17771 (mpc-proc-sync): Use it (bug#8293)
17772
93b6b5e1
SM
177732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17774
17775 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17776 Add compatibility functions (bug#9313).
17777
bca633fb
EZ
177782011-08-23 Eli Zaretskii <eliz@gnu.org>
17779
b177498a
EZ
17780 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17781
6df6ae42 17782 * international/uni-bidi.el: Regenerate.
bca633fb 17783
0902a04e
KH
177842011-08-23 Kenichi Handa <handa@m17n.org>
17785
17786 * international/charprop.el:
17787 * international/uni-bidi.el:
17788 * international/uni-category.el:
17789 * international/uni-combining.el:
17790 * international/uni-comment.el:
17791 * international/uni-decimal.el:
17792 * international/uni-decomposition.el:
17793 * international/uni-digit.el:
17794 * international/uni-lowercase.el:
17795 * international/uni-mirrored.el:
17796 * international/uni-name.el:
17797 * international/uni-numeric.el:
17798 * international/uni-old-name.el:
17799 * international/uni-titlecase.el:
17800 * international/uni-uppercase.el: Regenerate.
17801
3bbf23bc
MR
178022011-08-23 Martin Rudalics <rudalics@gmx.at>
17803
17804 * help.el (help-window-setup): Fix message displayed when other
17805 window is reused. (Bug#9341)
17806
b3fd59bd
SM
178072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17808
1802e444
SM
17809 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17810 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17811
b3fd59bd
SM
17812 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17813 Mark obsolete.
17814 * shell.el (shell-parse-pcomplete-arguments): New function.
17815 (shell-completion-vars): Use it instead (bug#9160).
17816
4eb61348
SM
178172011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17818
867cab74
SM
17819 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17820 strings and comments (bug#9333).
17821
4eb61348
SM
17822 * emacs-lisp/debug.el (debug-arglist): New function.
17823 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17824 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17825
262a1439
JL
178262011-08-22 Juri Linkov <juri@jurta.org>
17827
56ee679c
JL
17828 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17829 Revert regexp that highlights output switches to its old
17830 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17831
262a1439
JL
17832 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17833 to check for empty output (bug#9226).
17834
f13f86fb
CY
178352011-08-22 Chong Yidong <cyd@stupidchicken.com>
17836
17837 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17838 symbol-constituent as the default, as that stops font-lock from
17839 working properly (Bug#8843).
17840
c65c9622
LMI
178412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17842
17843 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17844 `coding-system-for-*' around the process open call to avoid
17845 auth-source side effects.
e7f2c178 17846 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17847 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17848 probe hangs.
c65c9622 17849
23a8a5ab
CY
178502011-08-21 Chong Yidong <cyd@stupidchicken.com>
17851
ff98b2dd
CY
17852 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17853
23a8a5ab
CY
17854 * emacs-lisp/find-func.el (find-function-noselect): New arg
17855 lisp-only.
17856
17857 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17858 signal an error for built-in functions (Bug#6664).
17859
f5e3c598
LMI
178602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17861
17862 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17863 (smtpmail-try-auth-methods): Use it.
17864
a3f2468a
CY
178652011-08-21 Chong Yidong <cyd@stupidchicken.com>
17866
2c34e8da
CY
17867 * font-lock.el (font-lock-fontify-region)
17868 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17869 (font-lock-default-unfontify-buffer)
17870 (font-lock-default-fontify-region)
17871 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17872
b3fd59bd
SM
17873 * progmodes/compile.el (compilation-error-properties):
17874 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17875 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17876 `ant' regexp.
ee31aabc 17877
a3f2468a
CY
17878 * net/browse-url.el (browse-url-firefox): Don't call
17879 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17880
8e999f70
GM
178812011-08-20 Glenn Morris <rgm@gnu.org>
17882
c21a496a
GM
17883 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17884
59ee0542
GM
17885 * tutorial.el (tutorial--default-keys): Update some default bindings.
17886
8e999f70
GM
17887 * files.el (hack-local-variables): Fully ignore case for "mode:".
17888
e3715033
AM
178892011-08-20 Alan Mackenzie <acm@muc.de>
17890
17891 Resolve invalid use of a regexp in regexp-opt.
17892
4d61f28d
JB
17893 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17894 detection for a java annotation.
e3715033 17895
4d61f28d 17896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17897 detection for a java annotation.
17898
4d61f28d
JB
17899 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17900 handling for java.
e3715033
AM
17901 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17902
04ed2e9c
CY
179032011-08-20 Chong Yidong <cyd@stupidchicken.com>
17904
17905 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17906 (Bug#9274).
17907
826cee64
AM
179082011-08-20 Alan Mackenzie <acm@muc.de>
17909
58179cce 17910 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17911 such a construct. Mainly for when jit-lock etc. starts a chunk
17912 here.
17913
58179cce 17914 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17915 variable.
58179cce 17916 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17917 c-make-font-lock-search-function.
17918 (c-make-font-lock-search-function): Use the above function.
17919 (c-make-font-lock-context-search-function): New function.
17920 (c-cpp-matchers): Enhance the preprocessor expression case with
17921 the above function
17922 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17923 which takes an expression.
17924
17925 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17926
13009bd8
MR
179272011-08-20 Martin Rudalics <rudalics@gmx.at>
17928
17929 * window.el (display-buffer-reuse-window)
17930 (display-buffer-pop-up-window): Don't reuse or split a side
17931 window.
17932
9234ff7f
GM
179332011-08-19 Glenn Morris <rgm@gnu.org>
17934
17935 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17936 Downcase "Mode:". (Bug#9331)
9234ff7f 17937
f635daa1
CY
179382011-08-18 Chong Yidong <cyd@stupidchicken.com>
17939
17940 * international/characters.el: Add L and R categories.
17941
17942 * subr.el (bidi-string-mark-left-to-right): Rename from
17943 string-mark-left-to-right. Use category search.
17944
17945 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17946
bc987f8b
JL
179472011-08-18 Juri Linkov <juri@jurta.org>
17948
17949 * faces.el (error, warning, success): New faces with definitions
17950 copied from old default values of `font-lock-warning-face',
17951 `compilation-warning', `compilation-info' (bug#6117).
17952
17953 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17954
17955 * progmodes/compile.el (compilation-error): Inherit from `error'.
17956 (compilation-warning): Inherit from `warning'.
17957 (compilation-info): Inherit from `success'.
17958
17959 * dired.el (dired-marked): Inherit from `warning'.
17960 (dired-flagged): Inherit from `error'.
17961
57173b96
LMI
179622011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17963
3e79eb87
LMI
17964 * mail/smtpmail.el (auth-source): Require to avoid problems with
17965 binding variables (bug#9298). Also clean up some unused
17966 autoloads.
17967
b3fd59bd
SM
17968 * net/network-stream.el (network-stream-open-starttls):
17969 Support using starttls.el without using gnutls-cli.
57173b96 17970
02b404de
JL
179712011-08-17 Juri Linkov <juri@jurta.org>
17972
17973 * progmodes/grep.el (rgrep): Handle the case when
17974 `grep-find-command' is a cons cell (bug#9278).
17975
8c9177f2
MR
179762011-08-17 Martin Rudalics <rudalics@gmx.at>
17977
17978 * window.el (display-buffer-pop-up-frame): Run frame creation
17979 function with BUFFER current (as special-display-popup-frame
17980 does). Reported by Drew Adams.
17981
3644a0ab
DU
179822011-08-17 Daiki Ueno <ueno@unixuser.org>
17983
17984 * epa-mail.el: Simplify GnuPG group expansion using
17985 epg-expand-group.
17986 (epa-mail-group-alist, epa-mail-group-modtime)
17987 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17988 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17989 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17990 Remove.
17991
5e617bc2 179922011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17993
17994 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17995
9c4aeabf
AM
179962011-08-16 Alan Mackenzie <acm@muc.de>
17997
17998 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17999 Correct, to avoid the inside of macros.
18000
3a99bf64
RS
180012011-08-16 Richard Stallman <rms@gnu.org>
18002
04963aa8
RS
18003 * epa-mail.el: Handle GnuPG group definitions.
18004 (epa-mail-group-alist, epa-mail-group-modtime)
18005 (epa-mail-gnupg-conf-file): New variables.
18006 (epa-mail-parse-groups, epa-mail-sync-groups)
18007 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18008 (epa-mail-expand-recipients): New functions.
18009 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18010
177549d0
RS
18011 * mail/rmail.el (rmail-epa-decrypt): New command.
18012
fe38beef
RS
18013 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18014 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
18015 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18016 (epa-decrypt-armor-in-region): Make error message clearer.
18017
934eacb9
SM
180182011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18019
18020 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18021 and "a2b" to "ab" for `prefix'.
18022
d024fb4e
CY
180232011-08-14 Chong Yidong <cyd@stupidchicken.com>
18024
18025 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18026 filter groups.
de148fee
CY
18027 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18028 Fourquet (Bug#8804).
d024fb4e 18029
62f1ca49
JB
180302011-08-12 Juanma Barranquero <lekktu@gmail.com>
18031
18032 * startup.el (argi): Declare as global variable (bug#9275).
18033
9ccaaa4b
CY
180342011-08-12 Chong Yidong <cyd@stupidchicken.com>
18035
18036 * subr.el (string-mark-left-to-right): Search the entire string
18037 for RTL script, not just the terminating character. Doc fix.
18038
a3dae87a
SM
180392011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18040
6cd18349
SM
18041 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18042 New function.
18043 (js--regexp-literal, js-syntax-propertize-function): Remove.
18044 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18045 (js-mode-map): Don't rebind electric keys.
18046 (js-insert-and-indent): Remove.
18047 (js-mode): Setup electric-layout and electric-indent instead.
18048
a3dae87a
SM
18049 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18050
9d5cb631
DU
180512011-08-12 Daiki Ueno <ueno@unixuser.org>
18052
18053 * epa.el (epa-progress-callback-function): Fix the logic of
18054 displaying progress.
18055 * epa-file.el (epa-file-insert-file-contents): Make progress
18056 display more user-friendly.
18057 (epa-file-write-region): Ditto.
18058
3e26a4a2
CY
180592011-08-10 Chong Yidong <cyd@stupidchicken.com>
18060
18061 * subr.el (string-mark-left-to-right): New function.
18062
18063 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18064 Use string-mark-left-to-right.
18065 (list-buffers-noselect): Caller changed.
18066
a3dae87a
SM
18067 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18068 Use string-mark-left-to-right.
3e26a4a2
CY
18069 (tabulated-list-print): Recenter after moving point.
18070
ac8cf6e6
JL
180712011-08-10 Juri Linkov <juri@jurta.org>
18072
18073 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18074 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18075 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18076
8d96c9a4
CY
180772011-08-09 Chong Yidong <cyd@stupidchicken.com>
18078
18079 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18080 (Bug#7554).
18081
7be1c708 180822011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
18083
18084 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18085 character. (Bug#6594)
18086
37e11a63
CY
180872011-08-08 Chong Yidong <cyd@stupidchicken.com>
18088
839dde57
CY
18089 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18090 (image-dired--with-db-file): New macro.
18091 (image-dired-write-tags, image-dired-remove-tag)
18092 (image-dired-create-gallery-lists, image-dired-write-comments)
18093 (image-dired-get-comment, image-dired-mark-tagged-files)
18094 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18095 (image-dired-gallery-generate): Use insert-file-contents.
18096
37e11a63
CY
18097 * time.el (display-time-world-list, display-time-world-display):
18098 * time-stamp.el (time-stamp-string):
18099 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18100 set-time-zone-rule (Bug#7337).
18101
0b4946c4
DU
181022011-08-08 Daiki Ueno <ueno@unixuser.org>
18103
18104 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18105 (epg-error-to-string, epg-errors-to-string): New function.
18106 (epg-wait-for-completion): Reverse errors list.
18107 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18108 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18109 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18110 (epg-sign-keys, epg-generate-key-from-file)
18111 (epg-generate-key-from-string): Format errors by using
18112 epg-errors-to-string (bug#9255).
18113 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18114
75bfc667
JL
181152011-08-07 Juri Linkov <juri@jurta.org>
18116
18117 * faces.el (list-faces-display): Remove extra angle bracket
18118 from `help-mode-map'.
18119
18120 * info.el (Info-history-toc-nodes): Doc fix.
18121
18122 * longlines.el (longlines-mode): Doc fix.
18123
673e08bb
SM
181242011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18125
4640dd88
SM
18126 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18127 of statements and in a few more cases (bug#9183).
18128
673e08bb
SM
18129 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18130 New functions.
18131 (cl-transform-lambda): Use them (bug#9239).
18132
89b3f019
MR
181332011-08-05 Martin Rudalics <rudalics@gmx.at>
18134
18135 * window.el (display-buffer-same-window)
18136 (display-buffer-same-frame, display-buffer-other-window)
18137 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18138 (pop-to-buffer-other-window)
18139 (pop-to-buffer-same-frame-other-window)
18140 (pop-to-buffer-other-frame): Make them defuns.
18141 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18142
640c8776
SM
181432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18144
18145 * subr.el (make-composed-keymap): Move from C. Change calling
18146 convention, and improve docstring to bring attention to a subtle point.
18147 * minibuffer.el (completing-read-default): Adjust accordingly.
18148
63648a95
MA
181492011-08-03 Michael Albinus <michael.albinus@gmx.de>
18150
18151 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18152 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18153
18154 * net/trampver.el: Update release number.
18155
b796c9b7
SM
181562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18159 "in" (bug#9190).
18160
2239d7d5
LMI
181612011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18162
e07dd7c3
LMI
18163 * mail/sendmail.el (sendmail-query-once): Restore the current
18164 buffer after querying (bug#9074).
18165
0e6a2bd7
LMI
18166 * dired.el (dired-flagged): Use different faces for marked and
18167 flagged files (bug#6117).
18168
ce887515
LMI
18169 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18170 (bug#4433).
18171
92f2affc
LMI
18172 * ido.el (ido-mode): Switch off the message if called
18173 non-interactively.
18174
57d5aff0
LMI
18175 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18176 before 587, since it appears that that's more likely to work for
18177 more people.
18178
98cd6c18 18179 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18180 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18181 exist.
18182
b96dec83
LMI
18183 * info.el: Remove the `Info-beginning-of-buffer' function
18184 (bug#8325).
18185
b796c9b7
SM
18186 * net/network-stream.el (network-stream-open-starttls):
18187 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18188
d90e2ea0
MR
181892011-08-01 Martin Rudalics <rudalics@gmx.at>
18190
18191 * window.el (display-buffer-in-window): Don't set dedicated status
18192 of window here (Bug#9215).
18193 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18194 (display-buffer-pop-up-side-window)
b796c9b7 18195 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18196
cca09170
SM
181972011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18200 before binding generated-autoload-file.
18201
027b979c
DD
182022011-08-01 Deniz Dogan <deniz@dogan.se>
18203
18204 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18205
3c7ee4f3
MA
182062011-07-30 Michael Albinus <michael.albinus@gmx.de>
18207
18208 Sync with Tramp 2.2.2.
18209
18210 * net/trampver.el: Update release number.
18211
2cc8e51a
JL
182122011-07-30 Juri Linkov <juri@jurta.org>
18213
18214 * dired-aux.el (dired-touch-initial): Remove function.
18215 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18216 current time, and `default' to the last modification time of the
18217 current marked file (bug#6887).
18218
a514d856
JM
182192011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18220
18221 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 18222 numeric argument to read-number (bug#9163).
a514d856 18223
8a7eddd7
MA
182242011-07-27 Michael Albinus <michael.albinus@gmx.de>
18225
18226 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18227 connection process, it could be nil.
18228
1ddd96f5
LL
182292011-07-27 Leo Liu <sdl.web@gmail.com>
18230
18231 Simplify url handling in rcirc-mode.
18232
18233 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18234 (rcirc-browse-url-at-mouse): Remove.
18235 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18236
b248a85d
AM
182372011-07-26 Alan Mackenzie <acm@muc.de>
18238
18239 Fontify bitfield declarations properly.
18240
18241 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18242 (c-symbol-chars): Now exported as a lang variable.
18243 (c-not-primitive-type-keywords): New lang variable.
18244
18245 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18246 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18247 parsed as a bitfield declaration.
b248a85d 18248
b796c9b7
SM
18249 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18250 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18251 (c-punctuation-in): New function.
18252 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18253 declarations properly.
18254
68575ab0
UJ
182552011-07-26 Ulf Jasper <ulf.jasper@web.de>
18256
18257 * calendar/icalendar.el (icalendar--all-events): Take care of
18258 multiple vcalendars in a single file.
b796c9b7 18259 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18260
0f0a88b9
DD
182612011-07-25 Deniz Dogan <deniz@dogan.se>
18262
18263 * image.el (insert-image): Clarifying docstring.
18264
0b3f36df
MA
182652011-07-24 Michael Albinus <michael.albinus@gmx.de>
18266
18267 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18268 `tramp-send-command-and-check' if there is no error.
18269 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18270
a9901f61
AM
182712011-07-22 Alan Mackenzie <acm@muc.de>
18272
18273 Prevent cc-langs.elc being loaded at run time.
18274
18275 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18276 cc-langs.
18277
4d61f28d 18278 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18279 "(require 'cc-langs)". Quote a form so it will evaluate at
18280 (cc-mode's) compilation time.
18281
11d074b2
MA
182822011-07-22 Michael Albinus <michael.albinus@gmx.de>
18283
18284 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18285 loading. (Bug#9114)
18286
938b94c8
MR
182872011-07-21 Martin Rudalics <rudalics@gmx.at>
18288
18289 * window.el (display-buffer-pop-up-window)
18290 (display-buffer-pop-up-side-window)
18291 (display-buffer-in-side-window): Call display-buffer-set-height
18292 and display-buffer-set-width after setting the new window's
b796c9b7 18293 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18294
bfa4f190
SS
182952011-07-20 Sam Steingold <sds@gnu.org>
18296
18297 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18298 (etags-tags-included-tables): Call `convert-standard-filename' on
18299 the file names contained in TAGS so that windows Emacs can handle
18300 TAGS files created by cygwin ctags.
18301
8ca42262
LMI
183022011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18303
18304 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18305 which apparently didn't work.
18306
5db2afd2 183072011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18308
5db2afd2
RW
18309 * proced.el (proced-send-signal): For *Marked Processes* buffer
18310 put point at beginning of buffer.
18311
92e15d10
SB
183122011-07-19 Stephen Berman <stephen.berman@gmx.net>
18313
18314 * proced.el (proced-format): Make header lines align with the text
18315 (bug#1779).
18316
1bfd59e5
LMI
183172011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18318
18319 * view.el (view-buffer): Allow running in `special' modes if we're
18320 visiting a file (bug#8615).
18321
f5aae37c
MR
183222011-07-19 Martin Rudalics <rudalics@gmx.at>
18323
18324 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18325 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18326 New functions.
f5aae37c
MR
18327 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18328 more accurately.
18329
bf2c1571
AM
183302011-07-18 Alan Mackenzie <acm@muc.de>
18331
18332 Fontify declarators properly when, e.g., a jit-lock chunk begins
18333 inside a declaration.
18334
18335 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18336
b796c9b7
SM
18337 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18338 New function.
bf2c1571
AM
18339 (c-complex-decl-matchers): Insert reference to
18340 c-font-lock-enclosing-decls.
18341
18342 * progmodes/cc-engine.el (c-backward-single-comment):
18343 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18344 to nil around calls to (forward-comment -1).
18345
4e190b80
LMI
183462011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18347
12dc863d
LMI
18348 * image.el (put-image): Doc typo fix.
18349
a762e966
LMI
18350 * progmodes/etags.el (tags-search): Doc typo fix.
18351
4e190b80
LMI
18352 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18353 password if we get errors 550 to 554.
18354
f019fb21
LMI
183552011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18356
b796c9b7 18357 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18358
81746738
LMI
18359 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18360 indentation character (bug#6380).
18361
3ee3a1b5
LMI
18362 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18363
c82f64de
LMI
18364 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18365 to clarify what the problem is (bug#4291).
18366
f019fb21
LMI
18367 * simple.el (current-kill): Clarify what
18368 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18369 (auto-fill-mode): Document `auto-fill-function' in relation to
18370 `auto-fill-mode' (bug#2470).
f019fb21 18371
0794775d
LM
183722011-07-16 Lawrence Mitchell <wence@gmx.li>
18373
18374 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18375 method if slot is read-only (bug#9035).
18376
be39b8cc
MR
183772011-07-16 Martin Rudalics <rudalics@gmx.at>
18378
b796c9b7 18379 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18380 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18381 selected before, see discussion of (Bug#8615), (Bug#6954).
18382 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18383
6ccf7859
GM
183842011-07-15 Glenn Morris <rgm@gnu.org>
18385
18386 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18387 Respect help-form.
6ccf7859 18388
87e86684
LM
183892011-07-09 Lawrence Mitchell <wence@gmx.li>
18390
18391 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18392 (gnutls-negotiate): Use it.
18393
d6066239
LMI
183942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18395
b796c9b7
SM
18396 * net/gnutls.el (gnutls-negotiate):
18397 Upcase `gnutls-algorithm-priority'.
d6066239 18398
bd23ebc0
GM
183992011-07-15 Glenn Morris <rgm@gnu.org>
18400
c65bca65
GM
18401 * jka-compr.el (jka-compr-verbose): Move from here...
18402 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18403 Add missing :version tag.
18404 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18405
478615cc
LMI
184062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18407
7b41decb
LMI
18408 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18409 (gnutls-negotiate): Use it.
18410
dbc44fcd
LMI
18411 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18412
06789f97
LMI
18413 * info.el (Info-beginning-of-buffer): New command.
18414 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18415 announcing `b' as the key (bug#8325).
ab896c37 18416 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18417
c39da690
LMI
18418 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18419
3aa5f34b
LMI
18420 * international/mule-cmds.el
18421 (describe-specified-language-support): Make the error message
18422 clearer (bug#8905).
18423
4bf0979f
LMI
18424 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18425
478615cc
LMI
18426 * isearch.el (isearch-barrier): Add a doc string, since it's
18427 mentioned in a function doc string (bug#8678).
18428
75c68aa1
MR
184292011-07-15 Martin Rudalics <rudalics@gmx.at>
18430
18431 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18432 buffer argument (Bug#9083) and self-identifying label argument.
18433
a7c33da2
GM
184342011-07-15 Glenn Morris <rgm@gnu.org>
18435
18436 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18437
2f5c6024
LMI
184382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18439
18440 * man.el (Man-fontify-manpage): Fix message when formatting the
18441 man page (bug#7929).
18442
0bb23927 184432011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18444
18445 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18446 argument LRM; if non-nil, append an invisible LRM character to the
18447 buffer name.
18448 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18449 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18450 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18451 paragraph direction.
cce4b0a7 18452
621ef9ab
LMI
184532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18454
d1583c48
LMI
18455 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18456 the man page name (bug#7929).
18457
6a57fb5f
LMI
18458 * image.el (put-image): Mention the `put-image' overlay property
18459 (bug#7834).
18460
d7956b14
LMI
18461 * scroll-bar.el (set-scroll-bar-mode): Mention that
18462 `scroll-bar-mode' lists the values (bug#7772).
18463
5b2d4a66
LMI
18464 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18465 command (bug#7729).
18466
7509a874
LMI
18467 * rect.el (apply-on-rectangle): Return the point after the last
18468 operation.
18469 (string-rectangle): Go to the point after the last operation
18470 (bug#7522).
18471
4fe74b19
LMI
18472 * printing.el (pr-toggle-region): Clarify the documentation
18473 slightly (bug#7493).
18474
b796c9b7
SM
18475 * time.el (display-time-update):
18476 Allow `display-time-mail-function' to return nil (bug#7158).
18477 Fix suggested by Detlev Zundel.
ab283561 18478
fc233c9d
LMI
18479 * vc/diff.el (diff): Clarify the order the file names are read
18480 (bug#7111).
18481
43f5740b
LMI
18482 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18483 the doc string (bug#7015).
18484
f2182a76
LMI
18485 * font-lock.el (font-lock-maximum-decoration): Mention what
18486 numeric levels mean (bug#6935).
18487
621ef9ab
LMI
18488 * startup.el (initial-buffer-choice): Don't mention the `none'
18489 selection, which is against policy.
18490
adc47434
MR
184912011-07-14 Martin Rudalics <rudalics@gmx.at>
18492
b796c9b7
SM
18493 * window.el (display-buffer-normalize-special):
18494 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18495
7e5bfb8f
EZ
184962011-07-14 Eli Zaretskii <eliz@gnu.org>
18497
18498 * subr.el (version<, version<=, version=): Mention "-CVS" and
18499 "-12345" alpha version numbers.
18500
27fa387a
CY
185012011-07-14 Chong Yidong <cyd@stupidchicken.com>
18502
18503 * bindings.el: Add advertised binding for set-mark-command
18504 (Bug#5772).
18505
8bdfa064
CY
185062011-07-14 Chong Yidong <cyd@stupidchicken.com>
18507
18508 * bindings.el (mode-line-other-buffer):
18509 * bookmark.el (bookmark-bmenu-2-window):
18510 * bs.el (bs-cycle-next, bs-cycle-previous):
18511 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18512 switch-to-buffer.
18513
18514 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18515 Delete.
8bdfa064 18516
5eba16a3
JB
185172011-07-14 Juanma Barranquero <lekktu@gmail.com>
18518
18519 * follow.el (follow-debug-message, follow-redisplay):
18520 * jka-cmpr-hook.el (with-auto-compression-mode):
18521 Fix typos in docstrings.
18522
15853710
LMI
185232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18524
a28e4607
LMI
18525 * subr.el (with-silent-modifications): Clarify somewhat what the
18526 macro inhibits (bug#6525).
18527
15853710
LMI
18528 * simple.el (eval-expression): Note what it does if called
18529 interactively (bug#6495).
18530
bee0fcef
CY
185312011-07-13 Chong Yidong <cyd@stupidchicken.com>
18532
b796c9b7
SM
18533 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18534 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18535
18536 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18537 Remove switch-to-buffer.
18538
58274504
LMI
185392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18540
bd2fcc8d
LMI
18541 * files.el (make-directory): Clarify that an error will be raised
18542 if there's an error (bug#6397).
18543
0f04b32c
LMI
18544 * startup.el (initial-buffer-choice): Add `none' as a choice
18545 (bug#6234).
18546
465c5fc8
LMI
18547 * subr.el (add-hook): Clarify section about buffer-local hooks
18548 (bug#6218).
18549
58274504
LMI
18550 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18551
bead9a43
JB
185522011-07-13 Juanma Barranquero <lekktu@gmail.com>
18553
18554 * tabify.el (untabify): Preserve the current column so that point
18555 doesn't move (bug#6032).
18556
3af98a7b
LMI
185572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18558
b796c9b7
SM
18559 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18560 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18561
6240145a
GM
185622011-07-13 Glenn Morris <rgm@gnu.org>
18563
18564 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18565 (dired-insert-directory): Give a message the first time
18566 if ls is found not to support --dired.
18567
1d8c2ccc
LMI
185682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18569
18570 * simple.el (toggle-truncate-lines): Clarify what is toggled
18571 (bug#5580). Text by Drew Adams.
18572
5fc4038e
CY
185732011-07-13 Chong Yidong <cyd@stupidchicken.com>
18574
18575 * simple.el (blink-matching-open): Make the error message from the
18576 last change less verbose.
18577
bf6012e5
DN
185782011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18579
18580 * font-lock.el (font-lock-comment-face): Use the high contrast
18581 "yellow" color for font-lock-comment-face on low color terminals
18582 using a dark background color (bug#4221).
18583
343c3b5a
LMI
185842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18585
7e9505c5
LMI
18586 * dired.el (dired-insert-set-properties): Make the doc string
18587 reflect what it does now (bug#5325).
18588
c26fdcf5
LMI
18589 * simple.el (blink-matching-open): Say that we were unable to find
18590 the match within the limit, if we're limited (bug#5122).
18591
bb388cc5
LMI
18592 * international/mule-cmds.el (prefer-coding-system): Add an
18593 example (bug#4869).
18594
343c3b5a
LMI
18595 * progmodes/etags.el (tags-search): Document `file-list-form'
18596 (bug#4731).
18597
2a517d45
LM
185982011-07-13 Lawrence Mitchell <wence@gmx.li>
18599
18600 * net/browse-url.el (browse-url-default-browser)
18601 (browse-url-browser-function): Make the default browser choice a
18602 bit more logical (bug#4300). Also clean up the doc string.
18603
b6c78ef2
JB
186042011-07-13 Juanma Barranquero <lekktu@gmail.com>
18605
18606 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18607 binary endings (bug#4440).
18608
1c4dd947
LMI
186092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18610
a2014063
LMI
18611 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18612 which can be pretty annoying (bug#8971).
18613
9c9c2d88
LMI
18614 * jka-compr.el (jka-compr-verbose): New variable, and use
18615 throughout (bug#8971).
18616
1c4dd947
LMI
18617 * info.el (Info-find-file): Fall back on the installation
18618 directory if we can't find the info node anywhere else.
18619
a1c9f41b
SO
186202011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18621
18622 * vc/vc.el (vc-revert-file):
18623 Don't set file time-stamp in the past. (Bug#5181)
18624
536f3d36
LMI
186252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18626
7152b011
LMI
18627 * files.el (after-find-file): Give a better error message when
18628 trying to find a symlink that points to a file that doesn't exist
18629 (bug#4398).
18630
536f3d36
LMI
18631 * progmodes/cc-vars.el: Remove (probably) misleading comment
18632 (bug#4396).
18633
460c0fba
JB
186342011-07-12 Johan Bockgård <bojohan@gnu.org>
18635
18636 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18637
7a6bda45
CY
186382011-07-12 Chong Yidong <cyd@stupidchicken.com>
18639
18640 * mouse-sel.el: Hack restoring functionality, while keeping
18641 compatibility with 2010-07-03 changes to mouse selection.
18642 (mouse-sel-primary-overlay): New var.
18643 (mouse-sel-selection-alist): Use it.
18644 (mouse-sel-mode): Doc fix; remove points that are default features
18645 of mouse.el.
18646
c79598ef
JB
186472011-07-12 Johan Bockgård <bojohan@gnu.org>
18648
18649 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18650 Fix previous fix (bug#2490).
18651
ff8be6ef
RW
186522011-07-12 Roland Winkler <winkler@gnu.org>
18653
b796c9b7
SM
18654 * textmodes/bibtex.el (bibtex-initialize):
18655 Use pop-to-buffer-same-window.
ff8be6ef
RW
18656 (bibtex-search-entries): Fix interactive call.
18657
296ba3ee
LMI
186582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18659
f5242a02 18660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18661 Fontise bytecomp Error lines more correctly (bug#2490).
18662 Fix suggested by Johan Bockgård.
f5242a02 18663
296ba3ee
LMI
18664 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18665
18666 * dired-x.el (dired-guess-default): Use `delete-dups'.
18667
f69fd0d2
CY
186682011-07-12 Chong Yidong <cyd@stupidchicken.com>
18669
18670 * dired.el (dired-mark-prompt):
18671 * dired-aux.el (dired-read-shell-command): Doc fix.
18672
eab5dc07
LMI
186732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18674
b796c9b7
SM
18675 * mail/sendmail.el (sendmail-query-once):
18676 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18677 emacs -Q.
18678
18679 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18680
eab5dc07
LMI
18681 * cus-edit.el (custom-file): Take an optional no-error variable.
18682 (customize-save-variable): Set the variable, and give a warning if
18683 running under "emacs -q".
18684
a1e65d42
JB
186852011-07-11 Juanma Barranquero <lekktu@gmail.com>
18686
18687 * loadhist.el (unload-feature-special-hooks):
18688 Add `auto-coding-functions', `fill-nobreak-predicate' and
18689 `find-directory-functions' (bug#5327).
18690
1d52da10
LMI
186912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18692
be958f1d
LMI
18693 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18694
5bedb26c
LMI
18695 * cus-edit.el (custom-guess-name-alist): -alist variables should
18696 use the `alist' type (bug#3120). Suggested by Drew Adams.
18697
1d52da10
LMI
18698 * printing.el: Add documentation to all the `pr-toggle-' commands.
18699
cd394be1 187002011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18701
18702 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18703 backends where it makes sense (bug#2623).
18704
dcc88d8a
LMI
187052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18706
c3de9feb
LMI
18707 * dired-x.el (dired-guess-default): Remove duplicate shell command
18708 entries (bug#2028).
8a93078b 18709 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18710 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18711
dcc88d8a
LMI
18712 * subr.el (remove-duplicates): New conveniency function.
18713
505e3645
LMI
187142011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18715
18716 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18717 (bug#1526).
18718
187192011-07-10 Martin Rudalics <rudalics@gmx.at>
18720
18721 * window.el (display-buffer-normalize-default): Don't invert
18722 meaning of even-window-heights. Reported by Eli Zaretskii
18723 <eliz@gnu.org>.
18724
455e4fa1
BR
187252011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18726
18727 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18728
8e0bc3e9
CY
187292011-07-10 Chong Yidong <cyd@stupidchicken.com>
18730
18731 * window.el (display-buffer): Fix arguments to
18732 display-buffer-reuse-window in last change.
18733
fa7c3228
CY
18734 * faces.el (link): Use a less saturated blue on light backgrounds.
18735
18736 * startup.el (fancy-startup-text, fancy-about-text)
18737 (fancy-startup-tail): Use font-lock faces, for background safety.
18738
c0a7f300
BN
187392011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18740
b796c9b7
SM
18741 * emulation/viper-cmd.el (viper-change-state-to-vi):
18742 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18743
4dc2a129
MR
187442011-07-09 Martin Rudalics <rudalics@gmx.at>
18745
18746 * window.el (display-buffer-default-specifiers): Remove.
18747 (display-buffer-macro-specifiers): Remove default specifiers.
18748 (display-buffer-alist): Default to nil.
b796c9b7 18749 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18750 (display-buffer-pop-up-window): Allow splitting internal
18751 windows. Check whether a live window was created.
18752 (display-buffer-other-window-means-other-frame)
18753 (display-buffer-normalize-arguments): Rename to
18754 display-buffer-normalize-argument and rewrite. Set the
18755 other-window specifier.
18756 (display-buffer-normalize-special): New function.
18757 (display-buffer-normalize-options): Rename to
18758 display-buffer-normalize-default and rewrite.
18759 (display-buffer-normalize-options-inhibit): Remove.
18760 (display-buffer-normalize-specifiers): Rewrite.
18761 (display-buffer): Process other-window specifier and call
18762 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18763 more faithfully.
b796c9b7 18764 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18765 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18766 (display-buffer-in-window, display-buffer-alist-set):
18767 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18768 <tassilo@member.fsf.org>.
18769
2d43b8c9
LL
187702011-07-09 Leo Liu <sdl.web@gmail.com>
18771
18772 * register.el (insert-register): Restore accidental change on
18773 2011-06-26. (Bug#9028)
18774
7f9b7c53
GM
187752011-07-09 Glenn Morris <rgm@gnu.org>
18776
18777 * subr.el (remq): Handle the empty list. (Bug#9024)
18778
f042cfd8
AS
187792011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18780
18781 * mail/sendmail.el (send-mail-function): No longer delay custom
18782 initialization.
18783 * custom.el (custom-initialize-delay): Doc fix.
18784
856b2f11
SM
187852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18786
18787 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18788
afae1d68
MA
187892011-07-08 Michael Albinus <michael.albinus@gmx.de>
18790
18791 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18792 human-friendly prompt.
18793
0757af94
SM
187942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18795
18796 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18797 provided by a particular plugin.
18798
d760b731
LMI
187992011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18800
18801 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18802 save customizations (with "emacs -Q"), just set the variable
18803 instead of erroring out.
18804
18805 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18806
cd79ce90
JL
188072011-07-08 Juri Linkov <juri@jurta.org>
18808
18809 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18810 (archive-zip-update-case): Use 7z if found by `executable-find'.
18811 The order of searching the available programs is the same as in
18812 `archive-zip-extract' (bug#8968).
18813
14cc04aa
CY
188142011-07-07 Chong Yidong <cyd@stupidchicken.com>
18815
18816 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18817 (menu-bar-options-menu): Tweak descriptions.
18818
0a1848ec
LMI
188192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18820
18821 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18822 menu items into verb phrases (bug#1421). Also refill to fit under
18823 80 columns.
18824
f5bd0689
CY
188252011-07-07 Chong Yidong <cyd@stupidchicken.com>
18826
538e85c6
CY
18827 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18828 (Info-read-node-name): Doc fix (Bug#1084).
18829
f5bd0689
CY
18830 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18831 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18832 (end-of-sexp, beginning-of-sexp)
18833 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18834 (forward-symbol, forward-same-syntax, word-at-point)
18835 (sentence-at-point): Doc fix (Bug#1144).
18836
56ec5115
LMI
188372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18838
f3f8e37f
LMI
18839 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18840 should cover it (bug#1281).
18841
0757af94 18842 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18843
e9fce1ac 18844 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18845 negotiation fails, then possibly try again with a non-encrypted
18846 connection (bug#9017).
18847
56ec5115
LMI
18848 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18849 be used.
18850
c2f9aec8
RS
188512011-07-07 Richard Stallman <rms@gnu.org>
18852
18853 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18854 property, and handle its changed format.
18855 Look for the correct line number.
18856 Use file's line contents (but not past first =) to find
18857 correct line in message.
18858
ef7b981d 188592011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18860
18861 * international/characters.el (build-unicode-category-table):
18862 Delete it.
0757af94 18863 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18864
0757af94 18865 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18866 to src/chartab.c.
18867 (get-char-code-property): Call unicode-property-table-internal to
18868 load a file. Call get-unicode-property-internal where necessary.
18869 (put-char-code-property): Call unicode-property-table-internal to
18870 load a file. Call put-unicode-property-internal where necessary.
18871 put-unicode-property-internal where necessary.
0757af94
SM
18872 (char-code-property-description):
18873 Call unicode-property-table-internal to load a file.
c805dec0
KH
18874
18875 * international/charprop.el:
18876 * international/uni-bidi.el:
18877 * international/uni-category.el:
18878 * international/uni-combining.el:
18879 * international/uni-comment.el:
18880 * international/uni-decimal.el:
18881 * international/uni-decomposition.el:
18882 * international/uni-digit.el:
18883 * international/uni-lowercase.el:
18884 * international/uni-mirrored.el:
18885 * international/uni-name.el:
18886 * international/uni-numeric.el:
18887 * international/uni-old-name.el:
18888 * international/uni-titlecase.el:
18889 * international/uni-uppercase.el: Regenerate.
18890
18891 * loadup.el: Load international/charprop.el before
18892 international/characters.
18893
e14b388a
CY
188942011-07-07 Chong Yidong <cyd@stupidchicken.com>
18895
18896 * window.el (next-buffer, previous-buffer): Signal an error if
18897 called from a minibuffer window.
18898
18899 * bindings.el: Revert 2011-07-04 change.
18900
354cf0ba
RS
189012011-07-06 Richard Stallman <rms@gnu.org>
18902
18903 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18904 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18905 Treat markers like ints.
18906 (rmail-mime-entity): Doc fix.
18907
a48868a7
LMI
189082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18909
4906cd3d
LMI
18910 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18911 defcustom again for backwards compatibility.
18912
e0457abe
LMI
18913 * simple.el (shell-command-on-region): Fill.
18914
d67f7e1f
LMI
18915 * dired-aux.el (dired-kill-line): Add a doc string.
18916
fe204702
LMI
18917 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18918 to "\\sw\\|\\s_" (bug#358).
18919
a48868a7
LMI
18920 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18921 (dired-unmark-backward): Ditto.
18922 (dired-flag-backup-files): Ditto.
18923
18924 * dired-x.el (dired-mark-sexp): Ditto.
18925
aa8a705c
RS
189262011-07-06 Richard Stallman <rms@gnu.org>
18927
18928 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18929 (rmail-mime-entity): New arg TRUNCATED.
18930 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18931 New functions.
18932 (rmail-mime-save): Warn if entity is truncated.
18933 (rmail-mime-toggle-hidden): Likewise, for showing.
18934 (rmail-mime-process-multipart): Record when an entity is truncated.
18935
a9a936b9
RS
18936 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18937 if ENTITY is a string.
18938
1f2b92cb
LMI
189392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18940
f4f73198 18941 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18942 of faces when `M-C-x'-ing their definitions (bug#8378).
18943 Also clean up the code slightly.
f4f73198 18944
12b16734 18945 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18946 because that makes the colors go away.
12b16734 18947
f0691d22
LMI
18948 * mail/sendmail.el (send-mail-function): Change the default to
18949 `sendmail-query-once'.
9e87df06 18950 (sendmail-query-once): Add an autoload cookie.
f0691d22 18951
1f2b92cb
LMI
18952 * net/network-stream.el (network-stream-open-starttls): Try using
18953 a plain connection even if the server offered STARTTLS, and we
18954 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18955 capability. This should make smtpmail.el work in slightly more
18956 configurations.
18957
1cdd2a1b
MA
189582011-07-06 Michael Albinus <michael.albinus@gmx.de>
18959
18960 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18961 New defun.
18962 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18963
fbcc67e2
MM
189642011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18965
18966 * progmodes/sql.el: Version 3.0
0757af94 18967 (sql-product-alist): Add product :completion-object,
fbcc67e2 18968 :completion-column, and :statement attributes.
0757af94 18969 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18970 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18971 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18972 ansi keywords.
18973 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18974 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18975 (sql-oracle-show-reserved-words): New function for development.
18976 (sql-product-font-lock): Simplify for source code buffers.
18977 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18978 New functions.
18979 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18980 (sql-mode-map): Add statement movement functions.
18981 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18982 New variable.
fbcc67e2
MM
18983 (sql-statement-regexp, sql-beginning-of-statement)
18984 (sql-end-of-statement, sql-signum): New functions.
0757af94 18985 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18986 (sql-show-sqli-buffer): Bug fix.
18987 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18988 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18989 with sql-interactive-mode.
18990 (sql-save-connection): Save buffer local settings.
0757af94 18991 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18992 (sql-product-interactive): Bug fix.
18993 (sql-preoutput-hold): New variable.
18994 (sql-interactive-remove-continuation-prompt): Bug fixes.
18995 (sql-debug-redirect): New variable.
18996 (sql-str-literal): New function.
18997 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18998 Redesign.
fbcc67e2
MM
18999 (sql-oracle-save-settings, sql-oracle-restore-settings)
19000 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19001 (sql-completion-object, sql-completion-column)
19002 (sql-completion-sqlbuf): New variables.
19003 (sql-build-completions-1, sql-build-completions)
19004 (sql-try-completion): New functions.
19005 (sql-read-table-name): Use them.
19006 (sql-contains-names): New buffer local variable.
19007 (sql-list-all, sql-list-table): Use it.
19008 (sql-oracle-completion-types): New variable.
19009 (sql-oracle-completion-object, sql-sqlite-completion-object)
19010 (sql-postgres-completion-object): New functions.
19011
d4eaeab1
GM
190122011-07-06 Glenn Morris <rgm@gnu.org>
19013
19014 * window.el (pop-to-buffer): Doc fix.
19015
322b7dab 190162011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
19017
19018 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19019
322b7dab 190202011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 19021
322b7dab 19022 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 19023
322b7dab 19024 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 19025
605dd5bf
CY
190262011-07-05 Chong Yidong <cyd@stupidchicken.com>
19027
19028 * button.el (button): Inherit from link face. Suggested by Dan
19029 Nicolaescu.
19030
7dbfa719
SM
190312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19032
3db614b0
SM
19033 * progmodes/gdb-mi.el: Fit in 80 columns.
19034 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19035 switch-to-buffer.
19036
7dbfa719
SM
19037 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19038 if imenu is simply not configured (bug#8941).
19039
919d884a
KM
190402011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19041
19042 * allout.el (allout-post-undo-hook): New allout outline-change
19043 event hook to signal undo activity.
19044 (allout-post-command-business): Run allout-post-undo-hook if an
19045 undo just occurred.
7dbfa719
SM
19046 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19047 * allout-widgets.el (allout-widgets-after-undo-function):
19048 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
19049 in the vicinity of an undo.
19050 (allout-widgets-mode): Include allout-widgets-after-undo-function
19051 on the new allout-post-undo-hook.
19052
450a0f09
SM
190532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19054
19055 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19056 Let define-derived-mode define it.
19057 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19058 cycles of abbrev-table inheritance (bug#8998).
19059
2de69e00
RW
190602011-07-05 Roland Winkler <winkler@gnu.org>
19061
19062 * textmodes/bibtex.el: Add support for biblatex.
19063 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19064 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19065 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19066 (bibtex-entry-alist, bibtex-field-alist): New variables.
19067 (bibtex-entry-field-alist): Obsolete alias for
19068 bibtex-BibTeX-entry-alist.
19069 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19070 (bibtex-set-dialect): New command.
19071 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
19072 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19073 Bind via bibtex-set-dialect.
2de69e00
RW
19074 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19075 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19076 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19077 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19078 Define via bibtex-set-dialect.
450a0f09
SM
19079 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19080 Obey bibtex-no-opt-remove-re.
2de69e00
RW
19081 (bibtex-vec-push, bibtex-vec-incr): New functions.
19082 (bibtex-format-entry, bibtex-field-list)
19083 (bibtex-print-help-message, bibtex-validate)
19084 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19085
2dcdbdd9
SM
190862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * progmodes/compile.el (compilation-goto-locus):
19089 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19090 * bs.el (bs-cycle-next, bs-cycle-previous):
19091 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19092 * bindings.el (mode-line-other-buffer):
19093 * autoinsert.el (auto-insert):
19094 * arc-mode.el (archive-extract):
19095 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19096
b27640fe
JB
190972011-07-05 Juanma Barranquero <lekktu@gmail.com>
19098
19099 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19100 Fix check of `emacs-lock-unlockable-modes'.
19101 Coerce true values of `emacs-lock--try-unlocking' to t.
19102
53bbe3ad
JB
191032011-07-05 Juanma Barranquero <lekktu@gmail.com>
19104
19105 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19106 * emacs-lock.el: New file.
19107
1d3cdbc7
JD
191082011-07-05 Julien Danjou <julien@danjou.info>
19109
19110 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19111 than `boundp' to check if face is set.
19112
9173deec
JB
191132011-07-05 Juanma Barranquero <lekktu@gmail.com>
19114
19115 * register.el (registerv-make):
19116 * window.el (window-min-height): Fix typos in docstrings.
19117
869795d6
JD
191182011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19119
9173deec 19120 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
19121 Update doc string.
19122
b768cdcd
JB
191232011-07-04 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * server.el (server-execute): Catch quit and call
19126 `server-return-error' to pass the error back to emacsclient and
19127 close the connection (bug#8942).
19128
13aa217b
KM
191292011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19130
19131 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19132 insecure exception for current topic. Also note that auto-saves
19133 are handled differently.
19134
5d3385a0 19135 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
19136 State variables for tracking auto-save inhibition situation.
19137
19138 (allout-write-contents-hook-handler): Rename from
19139 'allout-write-file-hook-handler', and describe how it depends on
19140 write-contents-functions sensitivity to non-nil value to prevent
19141 file write.
19142
19143 (allout-auto-save-hook-handler): Remove. auto-save does not check
19144 this in individual buffers, only in the starting buffer, so this
19145 is not the right way for us to inhibit auto-save in a buffer
19146 according to its condition.
19147
19148 (allout-mode): Use new allout-write-contents-hook-handler, and
19149 only with write-contents-functions. Remove auto-save provisions -
19150 they're implemented elsewhere.
19151
19152 (allout-before-change-handler): If undo is in progress, note that
19153 for attention of allout-post-command-business.
19154
19155 (allout-post-command-business): If the command we're following was
19156 an undo, check for change in the status of encrypted items and
19157 adjust auto-save inhibitions accordingly.
19158
19159 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19160 according to whether there are or aren't any plain-text topics
19161 pending encryption.
19162
2dcdbdd9 19163 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19164 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19165 if there are plain-text topics pending encryption.
13aa217b
KM
19166
19167 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19168 buffer-saved-size and some allout state to not inhibit auto-saves
19169 if there are no longer any plain-text topics pending encryption.
19170
0757af94
SM
19171 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19172 No longer provide for exemption of the current topic.
13aa217b 19173
ac89b32c
JL
191742011-07-04 Juri Linkov <juri@jurta.org>
19175
19176 Add 7z operations to delete and save changed members (bug#8968).
19177 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19178 New defcustoms.
19179 (archive-7z-write-file-member): New function.
19180 (archive-7z-summarize): Fix the number of dashes in the
19181 listing output.
19182
8fa39615
SM
191832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19184
19185 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19186 (bug#8958).
19187
2f11b3f1
CY
191882011-07-04 Chong Yidong <cyd@stupidchicken.com>
19189
d66fef2b
CY
19190 * bindings.el: Ignore next-buffer and previous-buffer in
19191 minibuffer-local-map.
19192
2f11b3f1
CY
19193 * font-lock.el (font-lock-builtin-face): Change light background
19194 color to dark slate blue (Bug#6693).
19195
f932a347
WD
191962011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19197
19198 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19199
c8af70e1
SM
192002011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19201
19202 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19203 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19204 Add switch-to-buffer.
19205
f158badc
LMI
192062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19207
19208 * isearch.el (isearch-search-fun-function): Clarify further the
19209 meaning of the function returned.
19210
6d95bd46
MA
192112011-07-04 Michael Albinus <michael.albinus@gmx.de>
19212
19213 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19214
19215 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19216 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19217 Use it.
19218 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19219 `tramp-default-remote-path' does not exist.
19220 (tramp-send-command-and-read): New optional argument NOERROR.
19221 (tramp-open-connection-setup-interactive-shell)
19222 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19223 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19224 (tramp-process-sentinel): Flush also process' connection property.
19225 (tramp-sh-handle-start-file-process): Do not set process
19226 sentinel. It is done now ...
19227 (tramp-maybe-open-connection): ... here. (Bug#8929)
19228
909e6b67
MK
192292011-07-04 MON KEY <monkey@sandpframing.com>
19230
19231 * play/animate.el (animate-string): Doc fixes and allow changing
19232 the buffer name (bug#5417).
19233
192342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19235
c8af70e1 19236 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19237
f34755dc
PE
192382011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19239
396cec72
PE
19240 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19241 This is simpler and helps future-proof the code.
19242 (timer-until): Use time-subtract and float-time.
08235028 19243 (timer--time-less-p): Use time-less-p.
f34755dc 19244
56e6cc31
JB
192452011-07-04 Juanma Barranquero <lekktu@gmail.com>
19246
3abb79e5
JB
19247 * type-break.el (timep): Use the value of `float-time' to avoid a
19248 byte-compiler warning.
19249
56e6cc31
JB
19250 * server.el (server-eval-and-print): Return any result, even nil.
19251
7b9430b4
PE
192522011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19253
19254 * type-break.el: Accept time formats that the builtins accept.
19255 (timep, type-break-time-difference): Accept any format that
19256 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19257 This is simpler and helps future-proof the code.
19258 (type-break-time-difference): Round rather than ignoring
19259 subseconds components.
19260
3034e9e7
LMI
192612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19262
19263 * info.el (Info-apropos-matches): Make non-interactive, since it
19264 doesn't seem to do anything useful as a command (bug#8829).
19265
1485f4c0
CY
192662011-07-03 Chong Yidong <cyd@stupidchicken.com>
19267
19268 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19269 Move from faces.el.
1485f4c0
CY
19270 (frame-default-terminal-background): New function.
19271
19272 * custom.el (custom-push-theme): Don't record faces in `changed'
19273 theme; this doesn't work correctly for per-frame face settings.
19274 (disable-theme): Use face-set-after-frame-default to reset faces.
19275 (custom--frame-color-default): New function.
19276
9fa3dd45
LMI
192772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19278
c8af70e1 19279 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19280 (bug#8769).
19281
6cbbc20c
KR
192822011-03-29 Kevin Ryde <user42@zip.com.au>
19283
19284 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19285 `perl-Test2' extend to match possible "fail #N" rep count
19286 (bug#8377).
19287
c7f98048
LMI
192882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19289
65676592
LMI
19290 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19291 `smtpmail-via-smtp' now returns the error instead of nil.
19292
c7f98048
LMI
19293 * isearch.el (isearch-search-fun-function): Clarify the doc string
19294 (bug#8101).
19295
56e6cc31 192962011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19297
19298 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19299 unnecessary spaces (bug#8987).
19300
2b216704
LMI
193012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19302
19303 * net/network-stream.el (open-network-stream): Use the
19304 :end-of-capability command thoughout.
19305
193062011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19307
19308 * net/network-stream.el (open-network-stream): Add the
19309 :end-of-capability command parameter, used by pop3.el.
19310
36adf6ce
LMI
193112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19312
1ca0da0e
LMI
19313 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19314
fc00f69c
LMI
19315 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19316 for list)" (bug#6475).
19317
28fd8759 19318 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19319 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19320 an error (bug#6297).
19321
0dd8b6da
LMI
19322 * man.el (Man-reference-regexp): Allow matching possible
19323 word-wrapped references (bug#6289).
19324
ce1438d6
LMI
19325 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19326 for consistency with the other vc buffers (bug#6197).
19327 (vc-checkin): Ditto.
19328
19329 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19330
36adf6ce
LMI
19331 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19332
e83cc1f7
LMI
193332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19334
8a20ca4c
LMI
19335 * custom.el (defcustom): Clarify that :set is only used in the
19336 Customize user interface (bug#6089).
19337
83319045
LMI
19338 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19339 associated with a file, refuse to run instead of erroring out
19340 (bug#6084).
19341
a8392169
LMI
19342 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19343 the doc string, since it appears that using `fill-column' always
19344 controls the width (bug#7845).
19345
e83cc1f7
LMI
19346 * simple.el (shell-command-on-region): Say where the error output
19347 went if `shell-command-default-error-buffer' is set (bug#6857).
19348
e47ca23b
KM
193492011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19350
19351 * allout.el (allout-yank-processing): Adjust cursor position for
19352 backwards-deleted space.
19353
19354 (allout-rebullet-heading): Register changes with
19355 allout-exposure-changed-hook, so the modified topic is properly
19356 decorated.
19357
5cf56143
LMI
193582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19359
08549772
LMI
19360 * minibuffer.el (completion-in-region): Document PREDICATE
19361 (bug#7136).
19362
48e96771
LMI
19363 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19364 of keyword/argument pairs (bug#6904).
19365
c8af70e1
SM
19366 * replace.el (multi-occur):
19367 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19368
e17d05e2
LMI
193692011-07-02 Drew Adams <drew.adams@oracle.com>
19370
19371 * dired.el (dired-mark-if): Make the message about whether it's
19372 marking or unmarking clearer (bug#8523).
19373
063b0e45
LMI
193742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19375
19376 * disp-table.el (display-table-print-array): New function.
19377 (describe-display-table): Use it to print the vectors more pretty
19378 (Bug#8859).
19379
28545e04
MR
193802011-07-02 Martin Rudalics <rudalics@gmx.at>
19381
19382 * window.el (window-state-get-1): Don't assign clone numbers.
19383 Add clone-of item to list of window parameters.
19384 (window-state-put-2): Don't process clone numbers.
19385 (display-buffer-alist): Fix doc-string.
19386
3349e122
SM
193872011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19388
19389 * subr.el (remq): Don't allocate if it's not needed.
19390 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19391 (keymap--merge-bindings): New functions.
19392 (keymap-canonicalize): Use them to refine the canonicalization.
19393 * minibuffer.el (minibuffer-local-completion-map)
19394 (minibuffer-local-must-match-map): Move initialization from C.
19395 (minibuffer-local-filename-completion-map): Move initialization from C;
19396 don't inherit from anything here.
19397 (minibuffer-local-filename-must-match-map): Make obsolete.
19398 (completing-read-default): Use make-composed-keymap to combine
19399 minibuffer-local-filename-completion-map with either
19400 minibuffer-local-must-match-map or
19401 minibuffer-local-filename-completion-map.
19402
d224ac83
GM
194032011-07-01 Glenn Morris <rgm@gnu.org>
19404
3de63bf8
GM
19405 * type-break.el (type-break-time-sum): Use dolist.
19406
d224ac83
GM
19407 * textmodes/flyspell.el (flyspell-word-search-backward):
19408 Replace CL function.
19409
1a1e3f32
SM
194102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19411
fe3f64d5
SM
19412 * mouse.el (mouse--strip-first-event): New function.
19413 (function-key-map): Use it to map fringe clicks to normal clicks
19414 by default.
19415
eb604e34
SM
19416 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19417 (vc-bzr-revision-completion-table): Add support for annotate and date.
19418
1a1e3f32
SM
19419 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19420 inherit from parent.
19421
5bd35902
LMI
194222011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19423
ace6c69c 19424 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19425 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19426
191e2bed
LMI
19427 * dired.el (dired-mode): Fix up the doc string as suggested by
19428 Drew Adams (bug#8817).
19429
5bd35902
LMI
19430 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19431 cookie, since the manual says that it should be possible to add
19432 this function to `find-file-hook' (bug#8709).
19433
eee8207a
TZ
194342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19435
19436 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19437 here. Noted Ted Zlatanov as the maintainer.
19438 (cfengine-common-settings, cfengine-common-syntax): New functions
19439 to set up common things between `cfengine-mode' and
19440 `cfengine3-mode'.
19441 (cfengine3-mode): New mode.
19442 (cfengine3-defuns cfengine3-defuns-regex
19443 (cfengine3-class-selector-regex cfengine3-category-regex)
19444 (cfengine3-vartypes cfengine3-font-lock-keywords)
19445 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19446 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19447
36b148cf
MA
194482011-07-01 Michael Albinus <michael.albinus@gmx.de>
19449
19450 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19451
19452 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19453
0bf4ba9a
MR
194542011-07-01 Martin Rudalics <rudalics@gmx.at>
19455
19456 * window.el (same-window-buffer-names, same-window-regexps)
19457 (same-window-p, special-display-frame-alist)
19458 (special-display-popup-frame, special-display-function)
19459 (special-display-buffer-names, special-display-regexps)
19460 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19461 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19462 (split-window-preferred-function, split-height-threshold)
19463 (split-width-threshold, even-window-heights)
19464 (display-buffer-mark-dedicated, window-splittable-p)
19465 (split-window-sensibly, window-safely-shrinkable-p):
19466 Un-obsolete.
19467 (display-buffer): Don't spread args with function specifier
19468 because special-display-popup-frame won't like it.
19469
35837f51
PE
194702011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19471
d0672f86
PE
19472 Time-stamp simplifications and fixes.
19473 These improve accuracy slightly, and future-proof the code
19474 against some potential changes to current-time format.
19475
b9444d97
PE
19476 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19477 by using time-since and float-time.
19478
0ef923dc
PE
19479 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19480 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19481 + NNN microseconds".
19482
2f81380d
PE
19483 * type-break.el (type-break-time-sum): Rewrite using time-add.
19484
845b5c3e
PE
19485 * play/hanoi.el (hanoi-current-time-float): Remove.
19486 All uses replaced by float-time.
19487
ee6f1be0
PE
19488 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19489 This yields a more-accurate answer.
19490 (rng-time-to-float): Remove; no longer needed.
19491
fe955043
PE
19492 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19493
5777162a
PE
19494 * calendar/timeclock.el (timeclock-seconds-to-time):
19495 Defalias to seconds-to-time, since they're the same thing.
19496
3103f8b6 19497 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19498 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19499 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19500
0e61a35f
SM
195012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19502
19503 * window.el (bury-buffer): Don't iconify the only frame.
19504 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19505 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19506
ddd63a1e
CY
195072011-07-01 Chong Yidong <cyd@stupidchicken.com>
19508
0e61a35f
SM
19509 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19510 Add mouse-yank-primary.
ddd63a1e 19511
055f4923
TZ
195122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19513
19514 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19515
6a2fb145
SM
195162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19517
19518 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19519 (find-library-name): Use it to find relative load names when provided
19520 absolute file name (bug#8803).
19521
fd4983f2
LMI
195222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19523
887d14ad
LMI
19524 * textmodes/flyspell.el (flyspell-word): Consider words that
19525 differ only in case as potential doublons (bug#5687).
19526
c53dc7fc
LMI
19527 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19528 Remove two rather uninteresting debugging-like messages to make
19529 debbugs.el more silent.
19530
fd4983f2
LMI
19531 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19532 a password-like phrase.
19533
7a71b18d 195342011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19535
19536 * progmodes/cc-guess.el: New file.
19537
6a2fb145 19538 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19539
19540 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19541 derived from `c-basic-common-init'.
19542
19543 * progmodes/cc-mode.el (top-level): Require cc-guess.
19544 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19545
1fa280a3
LM
195462011-06-30 Lawrence Mitchell <wence@gmx.li>
19547
19548 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19549
e6597158
AM
195502011-06-30 Alan Mackenzie <acm@muc.de>
19551
1fa280a3
LM
19552 * progmodes/cc-engine.el (c-guess-continued-construct):
19553 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19554 lock is disabled. Name this case as "CASE G".
19555
68ba37fb
KM
195562011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19557
19558 * allout.el (allout-yank-processing): Fix injection of extra space
19559 between bullet and non-whitespace character in first topic when
19560 pasting, ensuring that the actual spacing in the pasted topic
19561 following the bullet char is preserved. This extra space was
19562 causing pasted encrypted topics to get a decrypted status even
19563 when the content was actually still encrypted. Now the decryption
19564 status from before the paste is preserved.
19565
19566 (allout-flag-region): Set all allout overlays so they evaporate
19567 when reduced to zero length (evanescent), to prevent overlay
19568 leakage.
19569
887a0b34
GM
195702011-06-30 Glenn Morris <rgm@gnu.org>
19571
94b9acce
GM
19572 * w32-fns.el (w32-charset-info-alist): Declare.
19573
1d9b46d4
GM
19574 * find-dired.el (find-grep-options): Simplify.
19575
cc232200
GM
19576 * term/ns-win.el (ns-set-resource): Declare.
19577
28e77c46
GM
19578 * ses.el (row, col): Declare dynamic variables honestly.
19579
887a0b34
GM
19580 * textmodes/reftex-parse.el (index-tags): Declare.
19581
658d8eb8
CY
195822011-06-30 Chong Yidong <cyd@stupidchicken.com>
19583
19584 * cus-edit.el (customize-push-and-save): New function.
19585
19586 * files.el (hack-local-variables-confirm): Use it.
19587
1fa280a3
LM
19588 * custom.el (load-theme): New arg NO-CONFIRM.
19589 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19590 (custom-enabled-themes): Doc fix.
19591
19592 * cus-theme.el (customize-create-theme)
19593 (custom-theme-merge-theme): Callers to load-theme changed.
19594
bb617717
LMI
195952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19596
d61bdd5d
LMI
19597 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19598 short URLs have at least one dot in them (bug #7614).
19599
bb617717
LMI
19600 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19601 nil, because using a pty is apparently too slow (bug #895).
19602
2f31f37a
LMI
196032011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19604
19605 * mail/sendmail.el (sendmail-query-once): New function.
19606 (sendmail-query-once-function): New variable.
19607
3076b24e
GM
196082011-06-29 Glenn Morris <rgm@gnu.org>
19609
faf2a174
GM
19610 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19611
3076b24e
GM
19612 * ses.el (top-level): Require cl when compiling.
19613 (ses-set-localvars): Fix error statement.
19614 Call it at compile time to silence a storm of warnings.
19615
5386012d
MR
196162011-06-29 Martin Rudalics <rudalics@gmx.at>
19617
19618 * window.el (normalize-live-buffer): Rename to
19619 window-normalize-buffer.
19620 (normalize-live-frame): Rename to window-normalize-frame.
19621 (normalize-any-window): Rename to window-normalize-any-window.
19622 (normalize-live-window): Rename to window-normalize-live-window.
19623 (make-window-atom): Rename to window-make-atom.
19624 (window-resize-reset): Rename to window--resize-reset.
19625 (window-resize-reset-1): Rename to window--resize-reset-1.
19626 (resize-mini-window): Rename to window--resize-mini-window.
19627 (resize-subwindows-skip-p): Rename to
19628 window--resize-subwindows-skip-p.
19629 (resize-subwindows-normal): Rename to
19630 window--resize-subwindows-normal.
19631 (resize-subwindows): Rename to window--resize-subwindows.
19632 (resize-other-windows): Rename to window--resize-siblings.
19633 (resize-this-window): Rename to window--resize-this-window.
19634 (resize-root-window): Rename to window--resize-root-window.
19635 (resize-root-window-vertically): Rename to
19636 window--resize-root-window-vertically.
19637 (normalize-buffer-to-display): Rename to
19638 window-normalize-buffer-to-display.
19639 (normalize-buffer-to-switch-to): Rename to
19640 window-normalize-buffer-to-switch-to.
19641 Correspondingly update all callers of the functions listed
19642 above.
19643 (display-buffer-alist, display-buffer-normalize-arguments)
19644 (display-buffer-normalize-options, display-buffer)
19645 (display-buffer-alist-set): Use "function" instead of
19646 "fun-with-args".
19647
1176868d
CY
196482011-06-28 Chong Yidong <cyd@stupidchicken.com>
19649
19650 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19651 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19652 debbugs.gnu.org. Mention acknowledgment email.
19653
20a7a65f
LMI
196542011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19655
19656 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19657 buffer multibyteness, since it shouldn't matter.
19658
5f45cca5
MR
196592011-06-28 Martin Rudalics <rudalics@gmx.at>
19660
19661 * window.el (display-buffer-in-side-window): Handle dedicated
19662 windows as in display-buffer-reuse-window.
19663 (display-buffer-normalize-alist): Use value of override
19664 specifier.
19665 (display-buffer-normalize-specifiers): Use value of
19666 other-window-means-other-frame specifier.
19667 (display-buffer-alist): Rewrite some texts in widgets.
19668 (display-buffer): Spread arguments when calling function
19669 specified by fun-with-args.
19670
ad85fe1f
DD
196712011-06-28 Deniz Dogan <deniz@dogan.se>
19672
1fa280a3
LM
19673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19674 Unnest `let'.
da68c4c8 19675
ad85fe1f
DD
19676 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19677 selectors (Bug#5732).
ec49bd31 19678 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19679
a08cc025
JA
196802011-06-27 Jari Aalto <jari.aalto@cante.net>
19681
19682 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19683 (eshell-ls-date-format): New defcustom.
19684 (eshell-ls-file): Use it.
19685
e2b551c5
SM
196862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19687
19688 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19689
8982b231
KY
196902011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19691
19692 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19693 (ange-ftp-make-tmp-name): New arg.
19694 (ange-ftp-file-local-copy): Use it.
19695
36c9fa27
J
196962011-06-27 Jambunathan K <kjambunathan@gmail.com>
19697
19698 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19699 no-conversion (Bug#8870).
19700
d68443dc
MR
197012011-06-27 Martin Rudalics <rudalics@gmx.at>
19702
19703 * window.el (window-right, window-left, window-child)
19704 (window-child-count, window-last-child)
19705 (window-iso-combination-p, walk-window-tree-1)
19706 (window-atom-check-1, window-tree-1, delete-window)
19707 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19708 new naming conventions - window-vchild, window-hchild,
19709 window-next and window-prev are now called window-top-child,
19710 window-left-child, window-next-sibling and window-prev-sibling
19711 respectively.
d615d6d2
MR
19712 (resize-window-reset): Rename to window-resize-reset.
19713 (resize-window-reset-1): Rename to window-resize-reset-1.
19714 (resize-window): Rename to window-resize.
19715 (window-min-height, window-min-width)
19716 (resize-mini-window, resize-this-window, resize-root-window)
19717 (resize-root-window-vertically, adjust-window-trailing-edge)
19718 (enlarge-window, shrink-window, maximize-window)
19719 (minimize-window, delete-window, quit-restore-window)
19720 (split-window, balance-windows, balance-windows-area-adjust)
19721 (balance-windows-area, window-state-put-2)
19722 (display-buffer-even-window-sizes, display-buffer-set-height)
19723 (display-buffer-set-width, set-window-text-height)
19724 (fit-window-to-buffer): Rename all "resize-window" prefixed
19725 calls to use the "window-resize" prefix convention.
19726 (display-buffer-alist): Fix symbol for label specifier.
19727 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19728 corresponding specifier.
19729 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19730
b6458526
VB
197312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19732
19733 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19734 convention.
19735 (ses-call-printer): Does not pass an empty string to formatter when the
19736 cell is empty to keep from barking printer Calc math-format-value.
19737
d31fd9ac
RS
197382011-06-27 Richard Stallman <rms@gnu.org>
19739
43d5bf84
RS
19740 * battery.el (battery-mode-line-limit): New variable.
19741 (battery-update): Handle it.
19742
d31fd9ac
RS
19743 * mail/rmailmm.el (rmail-mime-process-multipart):
19744 Handle truncated messages.
19745
819a6054
GM
197462011-06-27 Glenn Morris <rgm@gnu.org>
19747
19748 * progmodes/flymake.el (flymake-err-line-patterns):
19749 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19750
cedc73f2
VB
197512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19752
819a6054 19753 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19754 (ses--clean-!, ses--clean-_): New functions.
19755 (ses-range): Add configurability of readout order, and conversion
19756 to Calc vector.
19757
5e5d49b6
VB
19758 * ses.el (ses-repair-cell-reference-all): New function.
19759 (ses-cell-symbol): Set macro as safe, so that it can be used in
19760 formulas.
19761
56e6cc31 19762 * ses.el: Update cycle detection algorithm.
90ca8b49 19763 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19764 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19765 (ses-set-localvars): New function.
19766 (ses-make-cell): Add property-list as a cell element.
19767 (ses-cell-property-get-fun, ses-cell-property-get)
19768 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19769 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19770 New functions.
90ca8b49
VB
19771 (ses-cell-property-set, ses-cell-property-pop)
19772 (ses-cell-property-get-handle): New macro.
19773 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19774 New aliases, used for code readability.
19775 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19776 cycle detection.
19777 (ses-self-reference-early-detection): New defcustom.
fac916bf 19778 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19779 (ses-mode): Use ses-set-localvars.
19780 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19781 before lauching the update processing.
19782 (ses-initialize-Dijkstra-attempt): New function.
19783 (ses-recalculate-cell): Update for cycle detection based on
19784 Dijkstra algorithm.
19785
2bb63e81
VB
19786 * ses.el: Fix commenting and indenting convention.
19787
c9d29fb8
SM
197882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19789
19790 * bs.el (bs-cycle-next): Complete last change.
19791
d8e4b68b
JB
197922011-06-27 Drew Adams <drew.adams@oracle.com>
19793
19794 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19795
40098786
LMI
197962011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19797
c9d29fb8
SM
19798 * net/network-stream.el (network-stream-open-starttls):
19799 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19800 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19801
40098786
LMI
19802 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19803 to binary to possibly avoid line encoding issues on Windows (among
19804 other things).
19805
468d09d4
LMI
198062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19807
19808 * net/network-stream.el (open-network-stream): Return an :error
19809 saying what the problem was, if possible.
19810
19811 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19812 server.
19813
19814 * net/network-stream.el (network-stream-open-starttls): If we
19815 wanted to use STARTTLS, and the server offered it, but we weren't
19816 able to because we had no STARTTLS support, then close the connection.
19817 (open-network-stream): Return an :error element, if present.
19818
16f07dd7
CY
198192011-06-26 Chong Yidong <cyd@stupidchicken.com>
19820
88821ca0
CY
19821 * hl-line.el (hl-line-sticky-flag): Doc fix.
19822 (global-hl-line-sticky-flag): New option (Bug#8323).
19823 (global-hl-line-highlight): Obey it.
19824
16f07dd7
CY
19825 * vc/vc.el (vc-revert-show-diff): Default to t.
19826
6b5ccddf
KM
198272011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19828
c9d29fb8
SM
19829 * allout-widgets.el (allout-widgets-post-command-business):
19830 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19831 undecorated when an isearch is continued past, and isearch
19832 automatically collapses them. This leads to "widget leaks", where
19833 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19834 hidden widgets can slow down cursor travel, substantially.
19835 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19836 so we're doing without this nicety.
19837
19838 (allout-widgets-tally-string): Don't try to do a hash-table-count
19839 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19840 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19841 *Messages* when allout-widgets-maintain-tally is t.
19842
355f2e07
MR
198432011-06-26 Martin Rudalics <rudalics@gmx.at>
19844
19845 * window.el (display-buffer-normalize-argument): Rename to
19846 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19847 LABEL argument. Respect special-display-function when popping up
19848 a new frame. Fix code searching for a window showing the buffer
19849 on another frame.
c9d29fb8
SM
19850 (display-buffer-normalize-specifiers):
19851 Call display-buffer-normalize-arguments.
355f2e07
MR
19852 (display-buffer-in-window): Don't undedicate the window if its
19853 buffer remains the same.
19854 Reported by Drew Adams <drew.adams@oracle.com>.
19855 (display-buffer-alist): Add choice for same-window macro
19856 specfier.
19857 (display-buffer): Mention special meaning of LABEL argument in
19858 doc-string. Fix quoting. Don't pop up a new frame even as
19859 fallback.
19860
7ca8fc42
JB
198612011-06-26 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19864 avoid deleting the current window in some cases (bug#8911).
19865
bc312254
AS
198662011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19867
19868 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19869 (Bug#8934)
19870
2db18f3f
LMI
198712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19872
c9d29fb8
SM
19873 * net/network-stream.el (network-stream-open-starttls):
19874 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19875 (network-stream-open-tls): Ditto.
19876
6302e0d3
LL
198772011-06-26 Leo Liu <sdl.web@gmail.com>
19878
19879 * register.el (registerv): New struct.
19880 (registerv-make): New function.
c9d29fb8
SM
19881 (jump-to-register, describe-register-1, insert-register):
19882 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19883 struct. (Bug#8415)
19884
5fdd4046
CY
198852011-06-26 Chong Yidong <cyd@stupidchicken.com>
19886
2afef60a
CY
19887 * vc/vc.el (vc-revert-show-diff): New defcustom.
19888 (vc-diff-internal): New arg specifying diff buffer.
19889 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19890 reuse an existing *vc-diff* buffer (Bug#8927).
19891
5fdd4046
CY
19892 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19893
e93db24a
GM
198942011-06-26 Glenn Morris <rgm@gnu.org>
19895
19896 * progmodes/f90.el (f90-critical-indent): New option.
19897 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19898 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19899 (f90-mode): Doc fix.
19900 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19901 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19902 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19903 (f90-match-end): Handle block, critical.
19904
eefff499
GM
199052011-06-25 Glenn Morris <rgm@gnu.org>
19906
f6ba4cc9
GM
19907 * calendar/diary-lib.el (diary-included-files): Doc fix.
19908 (diary-include-files): New function, extracted from
19909 diary-include-other-diary-files and diary-mark-included-diary-files.
19910 (diary-include-other-diary-files, diary-mark-included-diary-files):
19911 Just call diary-include-files.
19912 (diary-mark-entries): Reset diary-included-files on first call.
19913
16712304
GM
19914 * calendar/diary-lib.el (diary-mark-entries)
19915 (diary-mark-included-diary-files):
19916 Visit included diary-files in temp buffers.
19917
5d8e0d43
GM
19918 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19919 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19920 (f90-start-block-re, f90-imenu-generic-expression)
19921 (f90-looking-at-program-block-start, f90-no-block-limit):
19922 Add support for submodules.
19923
ccf7a5d5
GM
19924 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19925 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19926
11fdef7d 199272011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19928
19929 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19930 buffer-file-type before setting its value, to avoid disastrous
eefff499 19931 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19932
74f53697
JB
199332011-06-25 Juanma Barranquero <lekktu@gmail.com>
19934
19935 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19936
19937 * ses.el (ses-unload-function):
19938 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19939
19940 * proced.el (proced-unload-function):
19941 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19942
18a4ce5e
AR
199432011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19944
19945 * server.el (server-create-window-system-frame): Add parameters arg.
19946 (server-process-filter): Doc fix. Handle frame-parameters.
19947
519d22cc
JB
199482011-06-25 Juanma Barranquero <lekktu@gmail.com>
19949
19950 Fix bug#8730, bug#8781.
19951
19952 * loadhist.el (unload--set-major-mode): New function.
19953 (unload-feature): Use it.
19954
19955 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19956 (python-unload-function): New function.
19957
c206f5b0
SM
199582011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19961
f9ad64f3
GS
199622011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19963
19964 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19965 the candidates list.
19966
7d0da90e
JB
199672011-06-24 Juanma Barranquero <lekktu@gmail.com>
19968
19969 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19970
14b4e83d
RS
199712011-06-23 Richard Stallman <rms@gnu.org>
19972
19973 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19974 (rmail-variables): Set next-error-move-function.
19975 (rmail-what-message): Take argument POS.
19976 (rmail-next-error-move): New function.
19977
273d2baf
SM
199782011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19981 messages for adjacent non-terminals.
19982
56c2cc9a
RS
199832011-06-23 Richard Stallman <rms@gnu.org>
19984
19985 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19986 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19987 (rmail-start-mail): Don't specify use of rmail-mail-return;
19988 that's done by mail-bury now.
19989 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19990
d59eb518
MA
199912011-06-23 Michael Albinus <michael.albinus@gmx.de>
19992
19993 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19994 SIZE is a number.
19995
02cfc6d6
MR
199962011-06-23 Martin Rudalics <rudalics@gmx.at>
19997
19998 * window.el (get-lru-window, get-mru-window)
19999 (get-largest-window): Never return a minibuffer window.
20000 (display-buffer-pop-up-window): Fix a bug that could lead to
20001 reusing the minibuffer window.
20002 (display-buffer): Pass original specifier argument to
20003 display-buffer-function instead of the normalized one.
20004 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20005
4e323265
LL
200062011-06-22 Leo Liu <sdl.web@gmail.com>
20007
20008 * minibuffer.el (completing-read-function)
1f9f395d 20009 (completing-read-default): Move from minibuf.c.
4e323265 20010
7a70468f
RS
200112011-06-22 Richard Stallman <rms@gnu.org>
20012
50718fc2
RS
20013 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20014 to Rmail even if not started by a special Rmail command.
20015
7a70468f
RS
20016 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20017 Copy the buffer currently showing just one message.
20018
297dde5a
RW
200192011-06-22 Roland Winkler <winkler@gnu.org>
20020
20021 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20022 (bibtex-clean-entry): First delete the old key so that a
20023 customized algorithm for generating the new key does not get
20024 confused by the old key.
20025 (bibtex-url): Obey regexp of first step.
20026 (bibtex-search-entries): Do not use add-to-list with local
20027 list-var.
20028
97bb1093
LMI
200292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20030
20031 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20032 stored a user name, then query for the password first, instead of
20033 waiting for SMTP to give an error message and the trying again.
20034
1c0f1a19
JD
200352011-06-22 Lawrence Mitchell <wence@gmx.li>
20036
20037 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20038 BUFFER in call-process.
20039
396f7c9d
LMI
200402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20041
20042 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20043 QUIT twice.
ddb7ffee
LMI
20044 (smtpmail-try-auth-methods): Require user name and password from
20045 auth-source.
396f7c9d 20046
8998d1b3
MR
200472011-06-22 Martin Rudalics <rudalics@gmx.at>
20048
20049 * window.el (display-buffer-default-specifiers)
20050 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20051 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 20052 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
20053
20054 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20055 (special-display-frame-alist, special-display-popup-frame):
20056 Remove duplicate declarations. These are now in window.el.
20057
4ea31e07
LMI
200582011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20059
c9d29fb8
SM
20060 * mail/smtpmail.el (smtpmail-via-smtp):
20061 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
20062 server supports it. SMTP servers that support STARTTLS commonly
20063 require it.
20064
20065 * net/network-stream.el (network-stream-open-starttls): Support
20066 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 20067 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 20068
95f41d9a
LMI
20069 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20070 upgrades with `open-network-stream', and rely solely on
20071 auth-source for all credentials. Big changes throughout the file,
20072 but in particular:
c9d29fb8
SM
20073 (smtpmail-auth-credentials): Remove.
20074 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
20075 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20076 MAIL FROM, too.
95f41d9a 20077
c9d29fb8
SM
20078 * net/network-stream.el (network-stream-open-starttls):
20079 Provide support for client certificates both for external and built-in
4ea31e07
LMI
20080 STARTTLS.
20081 (auth-source): Require.
20082 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
20083 (network-stream-certificate): Change cert-cert to cert and
20084 cert-key to key.
4ea31e07 20085
065ec2c7
MA
200862011-06-21 Michael Albinus <michael.albinus@gmx.de>
20087
20088 * net/tramp-cache.el (top): Don't load the persistency file when
20089 "emacs -Q" has been called.
20090
cd93b359
DR
200912011-06-21 Tim Harper <timcharper@gmail.com>
20092
d8e4b68b
JB
20093 * term/ns-win.el (ns-initialize-window-system):
20094 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
20095 resource to NO as it is not yet supported by the NS port.
20096
ae9c0411
JB
200972011-06-21 Juanma Barranquero <lekktu@gmail.com>
20098
20099 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20100 (list-dynamic-libraries): ...not here.
20101
7f3f739f
LL
201022011-06-21 Leo Liu <sdl.web@gmail.com>
20103
20104 * subr.el (sha1): Implement sha1 using secure-hash.
20105
327c8fb1
MR
201062011-06-21 Martin Rudalics <rudalics@gmx.at>
20107
20108 * window.el (display-buffer-alist): In default value do not
20109 enforce searching a window on any but the selected frame.
20110 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20111 (display-buffer-select-window): Remove function.
20112 (display-buffer-in-window): When a window on another frame gets
20113 reused, do not select it any more but just raise its frame if
20114 necessary (Bug#8851) and (Bug#8856).
20115 (display-buffer-normalize-options): Handle pop-up-frames related
20116 options more faithfully.
20117 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20118 window if it is on another frame.
c9d29fb8
SM
20119 (display-buffer-alist, display-buffer-default-specifiers):
20120 Don't make new frame unsplittable by default.
9e9de014
MR
20121 (display-buffer-normalize-argument): Fix doc-string typo and use
20122 'same-frame-other-window instead of 'other-window when associating
20123 with display-buffer-macro-specifiers.
327c8fb1 20124
7cf3f556
VB
201252011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20126
20127 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20128 New functions.
20129 (5x5-mode-map, 5x5-mode-menu): Bind them.
20130 (5x5-draw-grid): Tweak the solver's rendering.
20131
60a406cf
SM
201322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20133
20134 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20135 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20136
d8e4b68b 201372011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
20138
20139 * menu-bar.el: Use function variable instead of switch-to-buffer.
20140 (menu-bar-select-buffer-function): New variable.
60a406cf 20141 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 20142
478d6f95
SM
201432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20144
20145 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20146 variable's status.
20147
ca530739
JD
201482011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20149
20150 * x-dnd.el (x-dnd-version-from-flags)
20151 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20152 and long as number (Bug#8899).
20153 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20154
bcd70d97
SM
201552011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20156
60a406cf 20157 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20158 (completion-try-completion, completion-all-completions): Compute the
20159 metadata argument if it's missing; make it optional (bug#8795).
20160
60a406cf 20161 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20162 (widget-complete): Use new :completion-function property.
20163 (widget-completions-at-point): New function.
20164 (default): Use :completion-function instead of :complete.
60a406cf
SM
20165 (widget-default-completions): Rename from widget-default-complete;
20166 Rewrite.
bcd70d97
SM
20167 (widget-string-complete, widget-file-complete, widget-color-complete):
20168 Remove functions.
20169 (file, symbol, function, variable, coding-system, color):
20170 * international/mule-cmds.el (default-input-method, charset)
20171 (language-info-custom-alist):
20172 * cus-edit.el (face): Use new property :completions.
20173
20174 * progmodes/pascal.el (pascal-completions-at-point): New function.
20175 (pascal-mode): Use it.
20176 (pascal-mode-map): Use completion-at-point.
20177 (pascal-toggle-completions): Make obsolete.
20178 (pascal-complete-word, pascal-show-completions):
20179 * progmodes/octave-mod.el (octave-complete-symbol):
20180 Redefine as obsolete alias.
20181 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20182 Signal absence of completion info for old Octave,
20183 (inferior-octave-complete): Redefine as obsolete alias.
20184 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20185 (meta-completions-at-point): Rename from meta-complete-symbol and
20186 adapt it for use on completion-at-point-functions.
20187 (meta-common-mode): Use it.
20188 (meta-looking-at-backward, meta-match-buffer): Remove.
20189 (meta-complete-symbol): Redefine as obsolete alias.
20190 (meta-common-mode-map): Use completion-at-point.
20191 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20192 (makefile-mode-map): Use completion-at-point.
20193 (makefile-completions-at-point): Rename from makefile-complete and
20194 adapt it for use on completion-at-point-functions.
20195 (makefile-mode): Use it.
20196 (makefile-complete): Redefine as obsolete alias.
20197
aebf69c8
DD
201982011-06-20 Deniz Dogan <deniz@dogan.se>
20199
20200 * net/rcirc.el: Delete trailing whitespaces once and for all.
20201
bfbbb27d
DC
202022011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20203
20204 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20205
d264a46b
CY
202062011-06-19 Chong Yidong <cyd@stupidchicken.com>
20207
4ca009e5
CY
20208 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20209
d264a46b
CY
20210 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20211
fbf5b3ce
MR
202122011-06-19 Martin Rudalics <rudalics@gmx.at>
20213
20214 * window.el (display-buffer-other-window-means-other-frame):
20215 Call display-buffer-normalize-alist.
20216 (display-buffer-normalize-specifiers-1): Rename to
20217 display-buffer-normalize-argument. New argument other-frame.
20218 Rewrite.
20219 (display-buffer-normalize-specifiers-2): Rename to
20220 display-buffer-normalize-options.
20221 (display-buffer-normalize-alist-1): New function.
20222 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
20223 display-buffer-normalize-alist.
20224 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
20225 (display-buffer-normalize-options-inhibit): New variable.
20226 (display-buffer-normalize-specifiers): Rewrite calling
20227 display-buffer-normalize-alist,
20228 display-buffer-normalize-argument, and
20229 display-buffer-normalize-options. Don't call the latter if
20230 display-buffer-normalize-options-inhibit is non-nil.
20231 (frame-auto-delete): New option.
20232 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
20233 (window-list-no-nils, window-state-ignored-parameters)
20234 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
20235 (window-state-put-1, window-state-put-2, window-state-put):
20236 New functions.
9a028c23
MR
20237 (display-buffer-normalize-options): Move special-display-p group
20238 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20239
6d10d800
CY
202402011-06-18 Chong Yidong <cyd@stupidchicken.com>
20241
6420d28b
CY
20242 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20243 groups (Bug#8776).
20244 (rx-submatch-n): New function.
20245 (rx): Document it.
20246
ddb8b596
CY
20247 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20248 (Bug#8768).
20249
20250 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20251
77080289
CY
20252 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20253
61dfb316
CY
20254 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20255 anytime existing face settings are present (Bug#8889).
20256
6d10d800
CY
20257 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20258 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20259 Remove unused argument.
20260
be3fb2b8
MR
202612011-06-18 Martin Rudalics <rudalics@gmx.at>
20262
bcd70d97
SM
20263 * window.el (display-buffer-default-specifiers):
20264 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20265 pop-up-window-min-width, and another reuse-window specifier
20266 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20267 (display-buffer-normalize-specifiers-2):
20268 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20269 pop-up-windows is unset. Add a reuse-window specifier for the
20270 case popping up a new window fails.
20271 (special-display-popup-frame): Remove double quoting.
28dec25a 20272 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20273
1c6d8c76
SM
202742011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20275
20276 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20277 according to comint-completion-addsuffix.
20278
20279 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20280 (pcomplete-suffix-list): Mark as obsolete.
20281 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20282 pcomplete-seen in the closure.
20283 (pcomplete-comint-setup): Setup completion-at-point as well.
20284 (pcomplete--entries): New function.
20285 (pcomplete--env-regexp): New var.
20286 (pcomplete-entries): Rewrite to work with partial-completion and
20287 without relying on pcomplete-suffix-list.
20288 (pcomplete-pare-list): Remove, unused.
20289
25aef8b8
MR
202902011-06-17 Martin Rudalics <rudalics@gmx.at>
20291
20292 * window.el (display-buffer-alist): Set pop-up-window-min-height
20293 and pop-up-window-min-width in default value. Reported by
20294 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20295 other-window-means-other-frame.
20296 (display-buffer-macro-specifiers): Comment out entry for
20297 other-window specifier.
20298 (display-buffer-other-window-means-other-frame): New function.
20299 (display-buffer-normalize-specifiers-1): New arguments
20300 buffer-name and label. Treat other-window case specially.
20301 (display-buffer-normalize-specifiers-2): Treat other-window case
20302 specially.
20303 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20304 (display-buffer-normalize-specifiers):
20305 Call display-buffer-normalize-specifiers-3.
25aef8b8 20306
dbad4f69
MR
203072011-06-17 Martin Rudalics <rudalics@gmx.at>
20308
20309 * window.el (same-window-p): Fix two typos introduced when
20310 adding with-no-warnings.
d1067961
MR
20311 (display-buffer-normalize-specifiers-1): Don't check
20312 pop-up-frames for 'unset initialization.
20313 (display-buffer-normalize-specifiers-2): Major rewrite using
20314 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20315 (pop-up-frames, display-buffer-reuse-frames)
20316 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20317 Suggested by David Engster <deng@randomsample.de>.
20318 (even-window-heights): Initialize to 'unset.
20319 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20320 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20321 other window case.
dbad4f69 20322
9b9c9e3a
MR
203232011-06-16 Martin Rudalics <rudalics@gmx.at>
20324
bcd70d97
SM
20325 * window.el (display-buffer-normalize-specifiers-1):
20326 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20327 second argument of display-buffer (Bug#8865).
981d5c09
MR
20328 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20329 (switch-to-buffer-other-window-same-frame)
20330 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20331 Adams (Bug#8875).
9c2755e9
MR
20332 (display-buffer): Don't check noninteractive when calling
20333 display-buffer-pop-up-frame.
20334 (display-buffer-pop-up-frame): Never pop up a frame in
20335 noninteractive mode (Bug#8857).
67222e1d
MR
20336 (enlarge-window, shrink-window): Don't report an error when the
20337 window can't be resized as requested (Bug#8862).
9b9c9e3a 20338
2b75be67
SM
203392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20340
9ffdd3ba
SM
20341 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20342
cb581a67
SM
20343 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20344
2b75be67
SM
20345 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20346
8c0e3589
AM
203472011-06-15 Alan Mackenzie <acm@muc.de>
20348
cb581a67
SM
20349 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20350 for declarators, disable knr checking to speed up for normal files.
20351 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20352
b96e6cde
LMI
203532011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20354
4bba86e6
LMI
20355 * net/network-stream.el (open-network-stream): Add the keyword
20356 :always-query-capabilities for the case where you want to force a
20357 `plain' network connection, but the protocol still requires the
20358 capabilitiy command (i.e., SMTP and EHLO).
20359
2b75be67 20360 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20361 consistency with other `-live-p' functions.
20362
efdcdbf8
SM
203632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20364
20365 * window.el (same-window-buffer-names, same-window-regexps)
20366 (special-display-frame-alist, special-display-popup-frame)
20367 (special-display-function, special-display-buffer-names)
20368 (special-display-regexps, pop-up-frame-alist)
20369 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20370 (pop-up-windows, split-window-preferred-function)
20371 (split-height-threshold, split-width-threshold, even-window-heights)
20372 (display-buffer-mark-dedicated): Don't encourage the use of
20373 display-buffer-alist from Elisp code.
20374
c5cde042
DN
203752011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20376
20377 * progmodes/python.el (python-mode): Derive from prog-mode.
20378 * progmodes/ps-mode.el (ps-mode):
20379 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20380 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20381 * progmodes/ld-script.el (ld-script-mode): Likewise.
20382
baa1c9ab
MR
203832011-06-15 Martin Rudalics <rudalics@gmx.at>
20384
20385 * window.el (display-buffer-alist): Trim default value to avoid
20386 popping up a new frame (Bug#8857) or reusing an arbitrary window
20387 on another frame.
20388 (display-buffer): Do not fall back on popping up a new frame in
20389 batch mode (Bug#8857).
20390
c5dd5a51
CY
203912011-06-14 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20394 (custom-theme-summary): New function.
20395 (customize-themes): Use it.
20396
d647b7c4
GM
203972011-06-13 Glenn Morris <rgm@gnu.org>
20398
20399 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20400
9481c002
MR
204012011-06-13 Martin Rudalics <rudalics@gmx.at>
20402
357f93d2
MR
20403 * help.el (help-window): Remove variable.
20404 (help-window-point-marker, temp-buffer-max-height)
20405 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20406 (help-print-return-message): Don't set help-window.
20407 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20408 (help-window-setup-finish): Remove.
20409 (help-window-display-message, help-window-setup)
20410 (with-help-window): Major rewrite based on new
20411 display-buffer-window variable.
20412
20413 * help-mode.el (help-mode-finish): Remove help-window related
20414 code.
20415
20416 * view.el (view-exits-all-viewing-windows): Remove reference to
20417 view-return-to-alist in doc-string.
20418 (view-return-to-alist): Make obsolete.
20419 (view-buffer): Call pop-to-buffer-same-window and remove
20420 undo-window code.
20421 (view-buffer-other-window): Call pop-to-buffer-other-window and
20422 simplify code. Ignore second argument.
20423 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20424 simplify code. Ignore second argument.
20425 (view-return-to-alist-update): Make obsolete.
20426 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20427 Rewrite using quit-restore window parameters.
2b75be67
SM
20428 (view-mode-exit): Rename second argument to EXIT-ONLY.
20429 Rewrite using quit-restore-window.
357f93d2
MR
20430 (View-exit, View-exit-and-edit, View-leave, View-quit)
20431 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20432 appropriate arguments.
20433 (view-end-message): Use quit-restore window parameter.
20434
9481c002
MR
20435 * window.el (display-buffer-function): Rewrite doc-string.
20436 (display-buffer-window, display-buffer-alist): New variables.
20437 (display-buffer-split-specifiers)
20438 (display-buffer-side-specifiers)
20439 (display-buffer-macro-specifiers): New constants.
20440 (display-buffer-even-window-sizes, display-buffer-set-height)
20441 (display-buffer-set-width, display-buffer-select-window)
20442 (display-buffer-in-window, display-buffer-reuse-window)
20443 (display-buffer-split-window-1, display-buffer-split-window)
20444 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20445 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20446 (display-buffer-in-side-window, normalize-buffer-to-display)
20447 (display-buffer-normalize-specifiers-1)
20448 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20449 (display-buffer-normalize-specifiers, display-buffer-frame):
20450 New functions.
9481c002
MR
20451 (display-buffer): Major rewrite.
20452 (display-buffer-other-window, display-buffer-other-frame)
20453 (pop-to-buffer, switch-to-buffer-other-window)
20454 (switch-to-buffer-other-frame): Rewrite.
20455 (display-buffer-same-window, display-buffer-same-frame)
20456 (display-buffer-same-frame-other-window)
20457 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20458 (pop-to-buffer-other-window)
20459 (pop-to-buffer-same-frame-other-window)
20460 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20461 (switch-to-buffer-other-window-same-frame): New functions.
20462 (same-window-p, special-display-p): Rewrite disabling warnings.
20463 Make obsolete.
20464 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20465 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20466 Make obsolete
20467 (same-window-buffer-names, same-window-regexps)
20468 (special-display-frame-alist, special-display-popup-frame)
20469 (special-display-function, special-display-buffer-names)
20470 (special-display-regexps, pop-up-frame-alist)
20471 (pop-up-frame-function, split-window-preferred-function)
20472 (split-height-threshold, split-width-threshold)
20473 (even-window-heights): Make obsolete.
20474
9db51aca
GM
204752011-06-12 Glenn Morris <rgm@gnu.org>
20476
20477 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20478 Misc simplifications.
9db51aca 20479
39cffb44
MR
204802011-06-12 Martin Rudalics <rudalics@gmx.at>
20481
20482 * window.el (window-safely-shrinkable-p): Restore function which
20483 was inadvertently removed in change from 2011-06-11. Declare as
20484 obsolete.
20485
2b75be67
SM
20486 * calendar/calendar.el (calendar-generate-window):
20487 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20488 window-safely-shrinkable-p.
20489
a8955be7
GM
204902011-06-12 Glenn Morris <rgm@gnu.org>
20491
20492 * progmodes/fortran.el (fortran-mode-syntax-table):
20493 * progmodes/f90.el (f90-mode-syntax-table):
20494 Set % to punctuation. (Bug#8820)
20495 (f90-find-tag-default): Remove, no longer needed.
20496
f0d4059d
DC
204972011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20498
20499 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20500
1100a63c
CY
205012011-06-11 Chong Yidong <cyd@stupidchicken.com>
20502
20503 * image.el (image-animated-p): Return animation delay in seconds.
20504 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20505 (image-animate-timeout): Remove DELAY argument. Don't assume
20506 every subimage has the same delay; get it from image-animated-p.
20507 (image-animate): Caller changed.
20508
def722bf
MA
205092011-06-11 Michael Albinus <michael.albinus@gmx.de>
20510
20511 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20512 to ignored backtrace functions.
20513
0a2bb1a9
GM
205142011-06-11 Glenn Morris <rgm@gnu.org>
20515
20516 * calendar/appt.el (appt-disp-window-function): Doc fix.
20517 (appt-check): Handle overlapping appointments. (Bug#8337)
20518
6198ccd0
MR
205192011-06-11 Martin Rudalics <rudalics@gmx.at>
20520
20521 * window.el (window-tree-1, window-tree): New functions, moving
20522 the latter to window.el.
20523 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20524 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20525 (bw-refresh-edges): Remove.
20526 (balance-windows-1, balance-windows-2): New functions.
20527 (balance-windows): Rewrite in terms of window tree functions,
20528 balance-windows-1 and balance-windows-2.
20529 (bw-adjust-window): Remove.
20530 (balance-windows-area-adjust): New function with functionality of
20531 bw-adjust-window but using resize-window.
2b75be67
SM
20532 (set-window-text-height): Rewrite doc-string.
20533 Use normalize-live-window and resize-window.
20534 (enlarge-window-horizontally, shrink-window-horizontally):
20535 Rename argument to DELTA.
6198ccd0
MR
20536 (window-buffer-height): New function.
20537 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20538 Rewrite using new window resize routines.
2b75be67
SM
20539 (kill-buffer-and-window, mouse-autoselect-window-select):
20540 Use ignore-errors instead of condition-case.
6198ccd0
MR
20541 (quit-window): Call delete-frame instead of delete-windows-on
20542 for the only buffer on frame.
20543
9397e56f
MR
205442011-06-10 Martin Rudalics <rudalics@gmx.at>
20545
20546 * loadup.el (top-level): Load window before files for the sake
20547 of replace-buffer-in-windows.
20548
20549 * files.el (read-buffer-to-switch)
20550 (switch-to-buffer-other-window)
2b75be67
SM
20551 (switch-to-buffer-other-frame, display-buffer-other-frame):
20552 Move to window.el.
9397e56f
MR
20553
20554 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20555 (previous-buffer): Move to window.el.
20556
20557 * bindings.el (unbury-buffer): Move to window.el.
20558
20559 * window.el (delete-other-windows-vertically): Move after
20560 definition of delete-other-windows.
20561 (other-window, delete-windows-on, replace-buffer-in-windows):
20562 Move here from window.c.
20563 (record-window-buffer, unrecord-window-buffer)
20564 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20565 (switch-to-next-buffer): New functions.
20566 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20567 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20568 (previous-buffer): Move here from simple.el.
20569 Call switch-to-prev-buffer.
9397e56f
MR
20570 (bury-buffer): Move here from buffer.c. Switch to previous
20571 buffer when window cannot be deleted.
20572 (unbury-buffer): Move here from bindings.el.
20573 (ctl-x-map): Move binding for other-window from window.c to
20574 here.
20575 (read-buffer-to-switch, switch-to-buffer-other-window)
20576 (switch-to-buffer-other-frame): Move here from files.el.
20577 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20578 (switch-to-buffer): Move here from buffer.c.
20579 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20580
562dd5e9
MR
205812011-06-10 Martin Rudalics <rudalics@gmx.at>
20582
20583 * window.el (window-min-height, window-min-width): Move here
20584 from window.c. Add defcustoms and rewrite doc-strings.
20585 (resize-mini-window, resize-window): New functions.
20586 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20587 Move here from window.c.
20588 (maximize-window, minimize-window): New functions.
20589 (delete-window, delete-other-windows, split-window): Move here
20590 from window.c.
20591 (window-split-min-size): New function.
20592 (split-window-keep-point): Mention split-window-above-each-other
20593 instead of split-window-vertically.
2b75be67 20594 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20595 Rename split-window-vertically to split-window-above-each-other
20596 and provide defalias for old definition.
20597 (split-window-side-by-side, split-window-horizontally):
20598 Rename split-window-horizontally to split-window-side-by-side
20599 and provide defalias for the old definition.
562dd5e9
MR
20600 (ctl-x-map): Move bindings for delete-window,
20601 delete-other-windows and enlarge-window here from window.c.
20602 Replace bindings for split-window-vertically and
20603 split-window-horizontally by bindings for
20604 split-window-above-each-other and split-window-side-by-side.
20605
20606 * cus-start.el (all): Remove entries for window-min-height and
20607 window-min-width. Add entries for window-splits and
20608 window-nest.
20609
f0da764a
GM
206102011-06-09 Glenn Morris <rgm@gnu.org>
20611
80675c21
GM
20612 * calendar/appt.el (appt-mode-line): New function.
20613 (appt-check, appt-disp-window): Use it.
20614
f0da764a
GM
20615 * files.el (hack-one-local-variable-eval-safep):
20616 Allow minor-modes with explicit +/-1 arguments.
20617
59f623b7
TZ
206182011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20619
20620 * term/xterm.el (xterm): Add defgroup.
20621 (xterm-extra-capabilities): Add defcustom to supply known xterm
20622 capabilities, skip querying them, or query them (default).
20623 (terminal-init-xterm): Use it.
20624 (terminal-init-xterm-modify-other-keys): New function to set up
20625 modifyOtherKeys support to simplify `terminal-init-xterm'.
20626
9aab8e0d
MR
206272011-06-09 Martin Rudalics <rudalics@gmx.at>
20628
20629 * window.el (resize-window-reset, resize-window-reset-1)
20630 (resize-subwindows-skip-p, resize-subwindows-normal)
20631 (resize-subwindows, resize-other-windows, resize-this-window)
20632 (resize-root-window, resize-root-window-vertically)
20633 (window-deletable-p, window-or-subwindow-p)
20634 (frame-root-window-p): New functions.
20635
e8b08aee
GM
206362011-06-09 Glenn Morris <rgm@gnu.org>
20637
20638 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20639 (ange-ftp-get-files): Use it.
20640
254c37a5
AK
206412011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20642
20643 * mail/sendmail.el (mail-recover-1, mail-recover):
20644 * files.el (recover-file, recover-session):
20645 Handle dired-listing-switches not being just a single short option.
20646
35d7dbd3
GM
206472011-06-09 Glenn Morris <rgm@gnu.org>
20648
20649 * calendar/appt.el (appt-display-message, appt-disp-window):
20650 Handle lists of appointments.
20651
387522b2
MR
206522011-06-08 Martin Rudalics <rudalics@gmx.at>
20653
2b75be67
SM
20654 * window.el (one-window-p): Move down in code.
20655 Rewrite doc-string.
20656 (window-current-scroll-bars): Rewrite doc-string.
20657 Normalize live window argument.
387522b2
MR
20658 (walk-windows, get-window-with-predicate, count-windows):
20659 Rewrite doc-string. Use window-list-1.
20660 (window-in-direction-2, window-in-direction, get-mru-window):
20661 New functions.
20662
d8e4b68b 206632011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20664
20665 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20666 Doc fix (Bug#8713).
20667
206682011-06-08 Chong Yidong <cyd@stupidchicken.com>
20669
20670 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20671
206722011-06-08 Juanma Barranquero <lekktu@gmail.com>
20673
20674 * loadhist.el (unload-feature-special-hooks):
20675 Add `comint-output-filter-functions'.
20676
0de12c52
IK
206772011-06-08 Ivan Kanis <gnu@kanis.fr>
20678
20679 * calendar/appt.el (appt-check): Move some initializations into the let.
20680
f3d1777e
MR
206812011-06-08 Martin Rudalics <rudalics@gmx.at>
20682
20683 * window.el (window-height): Defalias to window-total-height.
20684 (window-width): Defalias to window-body-width.
20685
18af70d0
CY
206862011-06-07 Chong Yidong <cyd@stupidchicken.com>
20687
20688 * image-mode.el (image-toggle-animation): New command.
20689 (image-mode-map): Bind it to RET.
20690 (image-mode): Update message.
20691 (image-toggle-display-image): Avoid a spurious cache flush.
20692 (image-transform-rotation): Doc fix.
20693 (image-transform-properties): Return quickly in the normal case.
20694 (image-animate-loop): Rename from image-animate-max-time.
20695
2b75be67 20696 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20697 (create-animated-image): Remove unnecessary function.
20698 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20699 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20700 (image-animate-timer): Use car-safe.
20701 (image-animate-timeout): Rename argument.
20702
190b47e6
MR
207032011-06-07 Martin Rudalics <rudalics@gmx.at>
20704
20705 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20706 window.c. Rename first argument to ALL-FRAMES.
20707 Rephrase doc-strings.
20708 (get-buffer-window-list): Rewrite using window-list-1.
20709 Rephrase doc-string.
a1511caf
MR
20710 (window-safe-min-height, window-safe-min-width): New constants.
20711 (window-size-ignore, window-min-size, window-min-size-1)
20712 (window-sizable, window-sizable-p, window-size-fixed-1)
20713 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20714 (window-max-delta-1, window-max-delta, window-resizable)
20715 (window-resizable-p, window-total-height, window-total-width)
20716 (window-body-width): New functions.
20717 (window-full-height-p, window-full-width-p): Rewrite using
20718 window-total-size.
20719 (window-body-height): Rewrite using window-body-size.
190b47e6 20720
85cc1f11
MR
207212011-06-06 Martin Rudalics <rudalics@gmx.at>
20722
20723 * window.el (window-right, window-left, window-child)
20724 (window-child-count, window-last-child, window-any-p)
20725 (normalize-live-buffer, normalize-live-frame)
20726 (normalize-any-window, normalize-live-window)
20727 (window-iso-combination-p, window-iso-combined-p)
20728 (window-iso-combinations)
20729 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20730 (windows-with-parameter, window-with-parameter)
20731 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20732 (window-atom-check, window-side-check, window-check):
20733 New functions.
85cc1f11
MR
20734 (ignore-window-parameters, window-sides, window-sides-vertical)
20735 (window-sides-slots): New variables.
20736 (window-size-fixed): Move down in code. Minor doc-string fix.
20737
e7156492
AS
207382011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20739
20740 * comint.el (comint-dynamic-complete-as-filename)
20741 (comint-dynamic-complete-filename): Correctly call
20742 completion-in-region.
20743
7e821d0d
DD
207442011-06-05 Deniz Dogan <deniz@dogan.se>
20745
20746 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20747 in last change.
20748
ac09b8a1
DD
207492011-06-05 Deniz Dogan <deniz@dogan.se>
20750
20751 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20752 (rcirc): Use it to prompt for encryption.
20753
34699b85
RW
207542011-06-05 Roland Winkler <winkler@gnu.org>
20755
20756 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20757 (bibtex-search-entries): New command bound to C-c C-a.
20758 (bibtex-display-entries): New function.
20759
004dedd3
RW
207602011-06-05 Roland Winkler <winkler@gnu.org>
20761
20762 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20763 (bibtex-insert-kill): After yanking insert newline if necessary.
20764 (bibtex-initialize): Call bibtex-string-files-init only once.
20765 (bibtex-mode): Do not call easy-menu-add.
20766 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20767 (bibtex-yank): Set arg properly if nil.
20768
022fe7ce
RW
207692011-06-05 Roland Winkler <winkler@gnu.org>
20770
2b75be67
SM
20771 * textmodes/bibtex.el (bibtex-search-entry-globally):
20772 New variable.
022fe7ce
RW
20773 (bibtex-search-entry): Use it.
20774
b7c3692a
RW
207752011-06-05 Roland Winkler <winkler@gnu.org>
20776
20777 * textmodes/bibtex.el (bibtex-entry-format): New option
20778 sort-fields.
20779 (bibtex-format-entry, bibtex-reformat): Honor this option.
20780 (bibtex-parse-entry): Return fields in proper order.
20781
8eda563d
JB
207822011-06-05 Juanma Barranquero <lekktu@gmail.com>
20783
20784 * doc-view.el (doc-view-remove-if): Move computation of result out
20785 of `dolist' to silence misleading lexical-binding warning.
20786
7dbe3dbc
CY
207872011-06-04 Chong Yidong <cyd@stupidchicken.com>
20788
20789 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20790 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20791
0c33dd17
MA
207922011-06-04 Michael Albinus <michael.albinus@gmx.de>
20793
20794 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20795 "SunOS 5.10".
20796
f8f91c2b
MA
207972011-06-04 Michael Albinus <michael.albinus@gmx.de>
20798
20799 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20800 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20801 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20802 (tramp-parse-putty):
20803 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20804 (tramp-completion-function-alist-ssh)
20805 (tramp-completion-function-alist-telnet)
20806 (tramp-completion-function-alist-su)
20807 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20808 cookie.
20809
20810 * net/tramp-ftp.el:
20811 * net/tramp-sh.el:
20812 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20813 load "tramp.el" `tramp-set-completion-function'.
20814
e17d9003
SM
208152011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20816
20817 * shell.el: Require and use pcomplete.
20818 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20819 (shell-completion-vars): Set pcomplete-default-completion-function.
20820
6c4cab03
DD
208212011-06-04 Deniz Dogan <deniz@dogan.se>
20822
20823 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20824 `memq' (Bug#8799).
20825
ea9fafe0
SM
208262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20827
20828 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20829
b3e945d3
JB
208302011-06-02 Juanma Barranquero <lekktu@gmail.com>
20831
20832 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20833 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20834 * vc/log-view.el (log-view-beginning-of-defun):
20835 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20836 (smerge-refine-forward, smerge-refine-chopup-region):
20837 Silence warning for unused `dotimes' counter variables.
20838
7d520089
SM
208392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20840
20841 * net/tramp.el (tramp-with-progress-reporter): Rename from
20842 with-progress-reporter. Use `declare'.
20843 * net/tramp-smb.el:
20844 * net/tramp-sh.el:
20845 * net/tramp-gvfs.el: Update all uses.
20846
a1c2400f
JB
208472011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20848
20849 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20850 buffer isn't killed before making it current.
20851
2403c841
SM
208522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20853
20854 Silence various byte-compiler warnings.
20855 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20856 `access-type' and new obsolescence format.
20857 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20858 new format.
20859 (byte-compile-check-variable): New `access-type' argument.
20860 Only warn if the access-type is obsolete.
20861 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20862 (byte-compile-variable-set): Adjust callers.
20863 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20864 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20865 setting it as obsolete.
20866 * simple.el (minibuffer-completing-symbol):
20867 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20868 access as obsolete.
20869 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20870 obsolete yet.
20871 * international/quail.el (quail-mouse-choose-completion): Remove unused
20872 code referring to obsolete var.
20873 (quail-choose-completion-string): Remove.
20874 * server.el (server-clients-with, server-kill-buffer-query-function)
20875 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20876 * proced.el (proced-send-signal):
20877 * emacs-lisp/lisp.el (lisp-complete-symbol):
20878 Replace completion-annotate-function with completion-extra-properties.
20879
2462470b
SM
208802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20881
fb5b2591
SM
20882 * simple.el (goto-line): Use read-number.
20883 (overriding-map-is-bound): Remove.
20884 (saved-overriding-map): Change default.
20885 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20886 Take the map as argument.
20887 (universal-argument, negative-argument, digit-argument): Use it.
20888 (restore-overriding-map): Adjust.
20889 (do-auto-fill): Use fill-forward-paragraph.
20890 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20891
fd6fa53f
SM
20892 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20893 (minibuffer-inactive-mode): New major mode.
20894 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20895 the *Messages* buffer" hack.
20896 (mouse-popup-menubar): Don't burp if the event is a normal key.
20897
2462470b
SM
20898 Miscellaneous tweaks.
20899 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20900 lexical scoping as in subr.el's dolist and dotimes.
20901 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20902 Silence compiler warning.
20903 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20904 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20905 * international/ccl.el (ccl-compile): Trivial simplification.
20906 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20907 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20908 `printflag' argument.
20909 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20910 Purecopy the whole obsolescence data.
20911
108bf785
LL
209122011-06-01 Leo Liu <sdl.web@gmail.com>
20913
20914 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20915 improve doc-string as suggested by Marco Pessotto
20916 <melmothx@gmail.com>.
20917 (rcirc-print): Fix last change.
20918
30a23501
SM
209192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20920
20921 * minibuffer.el (complete-with-action): Return nil for the metadata and
20922 boundaries of non-functional tables.
20923 (completion-table-dynamic): Return nil for the metadata.
20924 (completion-table-with-terminator): Add default case, using
20925 complete-with-action.
20926 (completion--metadata): New function.
20927 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20928 to try and avoid pathological performance problems.
20929 (completion--embedded-envvar-table): Return `category' metadata.
20930
bcd54f83
LMI
209312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20932
20933 * subr.el (process-alive-p): New tiny convenience function.
20934
e227544d
SM
209352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20936
20937 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20938 content but also its previous major mode.
20939
e8296fdc
HE
209402011-05-31 Helmut Eller <eller.helmut@gmail.com>
20941
4d61f28d 20942 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20943 *Backtrace* buffer when we exit with C-M-c.
20944
620c53a6
SM
209452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20946
20947 * minibuffer.el: Add metadata method to completion tables.
20948 (completion-category-overrides): New defcustom.
20949 (completion-metadata, completion--field-metadata)
20950 (completion-metadata-get, completion--styles)
20951 (completion--cycle-threshold): New functions.
20952 (completion-try-completion, completion-all-completions):
20953 Add `metadata' argument to choose completion-styles.
20954 (completion--do-completion): Use metadata to choose cycling.
20955 (completion-all-sorted-completions): Use metadata for sorting.
20956 Remove :completion-cycle-penalty which is not needed any more.
20957 (completion--try-word-completion): Add `metadata' argument.
20958 (minibuffer-completion-help): Check metadata for annotation function
20959 and sorting.
20960 (completion-file-name-table): Return `category' metadata.
20961 (minibuffer-completing-file-name): Make obsolete.
20962 * simple.el (minibuffer-completing-symbol): Make obsolete.
20963 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20964 completion-try-completion.
20965
1257e755
SM
209662011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20967
20968 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20969
3767e706
LL
209702011-05-30 Leo Liu <sdl.web@gmail.com>
20971
20972 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20973 (rcirc-print): Decode all incoming messages (bug#8744).
20974 (rcirc-decode-coding-system): Allow value nil for automatic coding
20975 system detection.
3767e706 20976
d1a5d56a
GM
209772011-06-01 Glenn Morris <rgm@gnu.org>
20978
20979 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20980
e8cbec34
CY
209812011-05-29 Chong Yidong <cyd@stupidchicken.com>
20982
20983 * image.el (image-animate-max-time): Allow nil and t values.
20984 Default to nil.
20985 (create-animated-image): Doc fix.
20986 (image-animate-start): Remove second arg; just use
20987 image-animate-max-time.
20988 (image-animate-timeout): Doc fix. Args changed.
20989
20990 * image-mode.el (image-toggle-display-image): Ensure that the
20991 image spec passed to the animate timer is the same object as in
58179cce 20992 the buffer's display property (Bug#6981).
e8cbec34
CY
20993 (image-transform-properties): Doc fix.
20994
20995 * image.el (image-animate-max-time): Default to nil.
20996
159daf87
MR
209972011-05-29 Martin Rudalics <rudalics@gmx.at>
20998
20999 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21000 entire buffer list (Bug#8184).
21001
d66c4c7c
CY
210022011-05-29 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * image.el (imagemagick-types-inhibit)
21005 (imagemagick-register-types): Doc fix.
21006
80aec780
DD
210072011-05-29 Deniz Dogan <deniz@dogan.se>
21008
21009 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21010 default.
21011
1dd3c2d9
CY
210122011-05-29 Chong Yidong <cyd@stupidchicken.com>
21013
21014 * select.el: Don't perform clipboard-manager saving in hooks;
21015 leave the hooks empty.
21016
60e56523
LL
210172011-05-28 Leo Liu <sdl.web@gmail.com>
21018
21019 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21020 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21021 (occur-edit-mode): New major mode (Bug#8463).
21022 (occur-after-change-function): New function.
21023 (occur-engine): Give Occur tags a read-only property.
21024
2b1e1a22
KR
210252011-05-28 Kevin Ryde <user42@zip.com.au>
21026
21027 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21028
5d344e88
CY
210292011-05-28 Chong Yidong <cyd@stupidchicken.com>
21030
8e6ca83d
CY
21031 * bindings.el (help-echo): Make the initial non-indicator dash
21032 empty on graphical terminals (Bug#7295).
21033
5d344e88
CY
21034 * files.el (auto-mode-alist): Move config rule after the
21035 in-stripping one (Bug#8547).
21036
bfbbace7
CY
21037 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21038
fbeba6e2
CY
21039 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21040 setting (Bug#8740).
21041
60ed8c72
AA
210422011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21043
4ac619f0
AA
21044 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21045 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21046 (Bug#8539).
60ed8c72 21047
23db196e
CY
210482011-05-28 Chong Yidong <cyd@stupidchicken.com>
21049
21050 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21051
5012f24c
DK
210522011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21053
21054 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21055 (hs-hide-block-at-point, hs-find-block-beginning)
21056 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21057 (Bug#8279).
21058
6a639b16
GM
210592011-05-28 Glenn Morris <rgm@gnu.org>
21060
21061 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21062
d43eaf2c
CY
210632011-05-28 Chong Yidong <cyd@stupidchicken.com>
21064
5199bde1
CY
21065 * help-fns.el (describe-function-1): If the function is a derived
21066 major mode, print the parent mode.
21067
d43eaf2c
CY
21068 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21069 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21070
423428a8
SM
210712011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21072
0ff8e1ba 21073 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 21074 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
21075 * progmodes/etags.el (tags-completion-at-point-function):
21076 * info-look.el (info-lookup-completions-at-point): Mark as
21077 non-exclusive.
21078 (info-complete): Adjust accordingly.
21079
423428a8
SM
21080 * info-look.el: Convert to lexical-binding and completion-at-point.
21081 (info-lookup-completions-at-point): New function.
21082 (info-complete): Use it and completion-in-region.
21083
b74aa22b
DA
210842011-05-28 Drew Adams <drew.adams@oracle.com>
21085
21086 * isearch.el: Let M-e start with point at the first mismatched char.
21087 (isearch-fail-pos): New function.
21088 (isearch-edit-string): Use it.
21089
66e2e71d
DK
210902011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21091
21092 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21093
b1890b0f 210942011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
21095
21096 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21097 traversal functions for avl-trees.
21098 (avl-tree--stack): New struct.
21099 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21100 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
21101 (avl-tree--do-enter): Add optional `updatefun' arg.
21102 Change return value.
eb95d01d 21103 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
21104 (avl-tree--do-delete): Add `test' and `nilflag' args.
21105 Change return value.
eb95d01d
TC
21106 (avl-tree-member): Add optional `nilflag'
21107 (avl-tree-member-p): New function.
21108 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21109 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21110 (avl-tree-stack-empty-p): New functions.
21111
3769ddcf
TC
21112 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21113 avl-tree--del-balance1 and make it work both ways.
21114 (avl-tree--del-balance2): Remove.
21115 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21116 make it work both ways.
21117 (avl-tree--enter-balance2): Remove.
21118 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21119 New macros.
21120 (avl-tree--mapc, avl-tree-map): Add direction argument.
21121
eb95d01d 211222011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
21123
21124 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21125
a9f737ee
CY
211262011-05-27 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * select.el: Support clipboard managers with built-in function
21129 x-clipboard-manager-save, via delete-frame-functions and
21130 kill-emacs-hook.
21131 (xselect-convert-to-targets): Add MULTIPLE target to list.
21132 (xselect-convert-to-save-targets): New function.
21133
c92a1e54
KH
211342011-05-27 Kenichi Handa <handa@m17n.org>
21135
21136 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21137 let-binding rfc2047-encode-encoded-words to nil.
21138
e145f188
GM
211392011-05-27 Glenn Morris <rgm@gnu.org>
21140
5ec8a862
GM
21141 * mail/emacsbug.el: Don't require url-util.
21142
4b29d9fb
GM
21143 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21144
e145f188
GM
21145 * files.el (set-auto-mode):
21146 Also respect mode: entries at the end of the file. (Bug#8586)
21147
7d15102b
GM
211482011-05-26 Glenn Morris <rgm@gnu.org>
21149
98f593b8
GM
21150 * files.el (hack-local-variables-prop-line, hack-local-variables):
21151 Downcase mode names, as seems to be traditional.
27b48e63 21152 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 21153
7d15102b
GM
21154 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21155 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21156
51d5b4ec
JD
211572011-05-25 Julien Danjou <julien@danjou.info>
21158
21159 * textmodes/rst.el (rst-define-level-faces): Do not define face
21160 symbol if it is already defined.
21161
91513f63
VB
211622011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21163
21164 * play/5x5.el (5x5-new-game, 5x5-randomize):
21165 Reset 5x5-solver-output to nil when a new grid is cast.
21166 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21167 these debugging traces, as defmacro breaks the compiled code.
21168
4d90d6d0
DK
211692011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21170
21171 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21172
e1b90ef6
LL
211732011-05-24 Leo Liu <sdl.web@gmail.com>
21174
21175 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21176 (vc-bzr-sha1): Adapt.
21177
d8e4b68b 21178 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21179
21180 * bindings.el: Provide sha1 feature.
21181
db0406bb 211822011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21183
21184 * mail/sendmail.el: Require `rfc2047'.
21185 (mail-insert-from-field): Do not perform RFC2047 encoding.
21186 (mail-encode-header): New function.
21187 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21188 buffer to the return value of select-message-coding-system.
21189 Call mail-encode-header.
b8d747b9
KH
21190
21191 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21192
db0406bb 211932011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21194
4d90d6d0
DK
21195 * mail/supercite.el (sc-default-cite-frame):
21196 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21197
eb8a5e9b
GM
211982011-05-24 Glenn Morris <rgm@gnu.org>
21199
f8630703
GM
21200 * progmodes/python.el (brm-menu): Declare.
21201
8831bbed
GM
21202 * emulation/viper.el (viper-set-hooks): Declare.
21203
eb8a5e9b
GM
21204 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21205 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21206 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21207 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21208 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21209 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21210
a2a25d24
SM
212112011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21212
21213 Add an :exit-function for completion-at-point.
21214
21215 * minibuffer.el (completion--done): New fun.
21216 (completion--do-completion): Use it. New arg `expect-exact'.
21217 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21218 since completion--do-completion does it for us now.
21219 (minibuffer-force-complete): Use completion--done and
21220 completion--replace. Handle sole-completion case with more care.
21221 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21222 (completion-extra-properties): New var.
21223 (completion-annotate-function): Make obsolete.
21224 (minibuffer-completion-help): Adjust accordingly.
21225 Use completion-list-insert-choice-function.
21226 (completion-at-point, completion-help-at-point):
21227 Bind completion-extra-properties.
21228 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21229 * simple.el (completion-list-insert-choice-function): New var.
21230 (completion-setup-function): Preserve it.
21231 (choose-completion): Pay attention to it, shuffle the code a bit.
21232 (choose-completion-string): New arg `insert-function'.
21233
21234 * textmodes/bibtex.el: Convert to lexical binding.
21235 (bibtex-mode-map): Use completion-at-point.
21236 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21237 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21238 (bibtex-complete): Define as obsolete alias.
21239 (bibtex-complete-internal): Remove.
21240 (bibtex-format-entry): Remove unused sub-group in regexp.
21241 * shell.el (shell--command-completion-data)
21242 (shell-environment-variable-completion):
21243 * pcomplete.el (pcomplete-completions-at-point):
21244 * comint.el (comint--complete-file-name-data): Use :exit-function
21245 instead of completion-table-with-terminator so it also works for
21246 choose-completion.
21247
e44e373d
SM
212482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21249
4f91a816
SM
21250 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21251
782fc819
SM
21252 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21253 (bug#8710).
21254
e44e373d
SM
21255 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21256
381987c3
KM
212572011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21258
21259 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21260 customization variable and implement: If non-nil, auto-fill will
21261 be inhibited while on topic's header line.
21262
b776bc70
VB
212632011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21264
21265 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21266 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21267 always have a solution in grid size = 5 cases.
21268 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21269 (5x5-solver-output, 5x5-log-buffer): New vars.
21270 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21271 Make these variables buffer local to achieve 5x5 multi-session-ness.
21272 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21273 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21274 (5x5-solve-suggest): New funs.
21275 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21276 randomize a grid so that we ensure that there is always a solution.
21277 (5x5-make-random-grid): Allow other movement than flipping.
21278
7de88b6e
KR
212792011-05-23 Kevin Ryde <user42@zip.com.au>
21280
21281 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21282 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21283 advice and passes PREDICATE.
21284
b1ef1257
SM
212852011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21286
bbca48fe
SM
21287 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21288 byte-compile-lambda if it's actually a lambda.
21289
b1ef1257
SM
21290 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21291 Fix function quoting. Use backquote better.
21292
92a9cc65
YS
212932011-05-22 Yuanle Song <sylecn@gmail.com>
21294
21295 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21296 matching (Bug#8516).
21297
fe93f41a 212982011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21299
21300 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21301 different face (Bug#8178).
21302
d5b44c93
CY
213032011-05-22 Chong Yidong <cyd@stupidchicken.com>
21304
21305 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21306 defface (Bug#8144).
21307
79106a44
SM
213082011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21309
9c848d8a
SM
21310 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21311 funcall as well (bug#8712). Warn when performing those conversions.
21312 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21313
79106a44
SM
21314 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21315
88dfa756
GM
213162011-05-22 Glenn Morris <rgm@gnu.org>
21317
21318 * files.el (hack-local-variables-prop-line): Small simplifications.
21319 (hack-local-variables, hack-local-variables-prop-line):
21320 If MODE-ONLY, return the mode, rather than just `t'.
21321
b7cf2c79
SM
213222011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21323
21324 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21325
3f1a8558
GM
213262011-05-21 Glenn Morris <rgm@gnu.org>
21327
7e4ccca3
GM
21328 * files.el (hack-local-variables-prop-line, hack-local-variables):
21329 If only interested in the mode, don't bother doing the other stuff.
21330
637d46ca
GM
21331 * image-mode.el (image-after-revert-hook):
21332 Redraw all frames on which the image is visible. (Bug#8567)
21333
973d955b
GM
21334 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21335
3f1a8558
GM
21336 * wid-edit.el (widget-checklist-match-inline):
21337 Fix 2011-04-19 change. (Bug#8649)
21338
96479927
SM
213392011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21340
1dcf791f
SM
21341 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21342 Also allow singlespace after single-letter capitals followed by a dot.
21343
96479927
SM
21344 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21345 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21346
35fd0881
N
213472011-05-20 Nix <nix@esperi.org.uk>
21348
21349 * files.el (basic-save-buffer-2):
21350 Fix handling of break-hardlink-on-save with non-existent files.
21351
82745640
DD
213522011-05-19 Deniz Dogan <deniz@dogan.se>
21353
21354 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21355 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21356
4a720484
GM
213572011-05-19 Glenn Morris <rgm@gnu.org>
21358
d1f21341
GM
21359 * progmodes/f90.el (f90-type-def-re):
21360 Handle "type, bind(c)". (Bug#8691)
21361
4a720484
GM
21362 * emacs-lisp/autoload.el (batch-update-autoloads):
21363 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21364
2fb0a219
MA
213652011-05-18 Michael Albinus <michael.albinus@gmx.de>
21366
21367 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21368 property for the correct connection in case of multihops.
21369
e565dd37
GM
213702011-05-18 Glenn Morris <rgm@gnu.org>
21371
c2571358 21372 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21373 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21374
e565dd37
GM
21375 Rationalize calendar handling of day and month abbrev-arrays.
21376 * calendar/calendar.el (calendar-customized-p): New function.
21377 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21378 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21379 Add :set function.
21380 (calendar-abbrev-length, calendar-day-abbrev-array)
21381 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21382 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21383 Elements may no longer be nil.
21384 (calendar-day-name, calendar-month-name):
21385 Update for changed nature of abbrev arrays.
21386 * calendar/diary-lib.el (diary-name-pattern):
21387 Update for changed nature of abbrev arrays.
21388 (diary-mark-entries-1): Update calendar-make-alist calls.
21389 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21390 * calendar/cal-html.el (cal-html-day-abbrev-array):
21391 Simply inherit from calendar-day-abbrev-array.
21392
1d99a745
SM
213932011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21394
21395 * progmodes/grep.el (grep-mode): Disable default
21396 compilation-directory-matcher setting (bug#8684).
21397
7c1d9aa0
MA
213982011-05-17 Michael Albinus <michael.albinus@gmx.de>
21399
21400 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21401 instead of "head" and "tail". There were problems with SunOS 5.9,
21402 and it performs better.
21403
3952e9d8
GM
214042011-05-17 Glenn Morris <rgm@gnu.org>
21405
2dd12e7f
GM
21406 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21407
e4157b9c
GM
21408 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21409 Replace obsolete function.
21410
8e249bbd
GM
21411 * shell.el (pcomplete-parse-arguments-function): Declare.
21412
3952e9d8
GM
21413 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21414 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21415 (appt-check): Doc fixes.
21416 (appt-disp-window-function, appt-delete-window-function):
21417 Remove needless special case in custom :type.
21418 (appt-display-count): Default to 0, not nil.
21419 (appt-check): Reset appt-display-count to 0, not nil.
21420
c71a0d48 214212011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21422
c71a0d48
GM
21423 * progmodes/python.el (python-font-lock-keywords):
21424 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21425
31d55be9
SM
214262011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21427
21428 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21429
3bfacb2f
KR
214302011-05-16 Kevin Ryde <user42@zip.com.au>
21431
21432 * info-look.el (makefile-automake-mode): New setups, looking in
21433 automake manual, then makefile-mode.
21434 (makefile-mode): Remove automake manual, have it just in
21435 makefile-automake-mode since there's various things different or
21436 not relevant to plain make.
21437 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21438 believe a hypothetical automake-mode would go to makefile-mode,
21439 not the other way around.
21440
c8e83751
CY
214412011-05-15 Chong Yidong <cyd@stupidchicken.com>
21442
5e9e35cd
CY
21443 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21444 hunk-end tags (Bug#8672).
21445
c8e83751
CY
21446 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21447 vc-annotate-show-diff-revision-at-line (Bug#8671).
21448
50b23e5a
GM
214492011-05-14 Glenn Morris <rgm@gnu.org>
21450
7210a739
GM
21451 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21452 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21453 (change-log-font-lock-keywords): Also handle multiple author lines
21454 with leading tabs. (Bug#8644)
7210a739 21455
4691905a
GM
21456 * calendar/appt.el (appt-check): Rename some local variables.
21457 Some simplification/reordering.
21458
50b23e5a
GM
21459 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21460 (feedmail-sendmail-f-doesnt-sell-me-out)
21461 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21462 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21463 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21464 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21465 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21466 (feedmail-binmail-gnulinuxish-template):
21467 Rename from feedmail-binmail-linuxish-template.
21468 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21469 Use insert-buffer-substring.
21470
215cda7c
BC
214712011-05-14 Bill Carpenter <bill@carpenter.org>
21472
21473 * mail/feedmail.el (feedmail-patch-level): Increase.
21474 (feedmail-debug): New custom group.
21475 (feedmail-confirm-outgoing-timeout)
21476 (feedmail-sendmail-f-doesnt-sell-me-out)
21477 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21478 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21479 (feedmail-sender-line, feedmail-from-line)
21480 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21481 (feedmail-spray-this-address)
215cda7c
BC
21482 (feedmail-spray-address-fiddle-plex-list)
21483 (feedmail-queue-use-send-time-for-date)
21484 (feedmail-queue-use-send-time-for-message-id)
21485 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21486 (feedmail-buffer-eating-function):
21487 Doc fixes.
21488 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21489 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21490 (feedmail-message-action-scroll-down): New functions.
21491 (feedmail-queue-directory, feedmail-queue-draft-directory):
21492 Use expand-file-name.
21493 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21494 Remove C-v help entry.
21495 (feedmail-queue-buffer-file-name): New variable.
21496 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21497 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21498 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21499 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21500 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21501 (feedmail-message-action-toggle-spray)
21502 (feedmail-run-the-queue-no-prompts)
21503 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21504 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21505 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21506 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21507 (feedmail-envelope-deducer, feedmail-fiddle-from)
21508 (feedmail-fiddle-sender, feedmail-default-date-generator)
21509 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21510 (feedmail-fiddle-spray-address)
21511 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21512 (feedmail-fiddle-list-of-fiddle-plexes)
21513 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21514 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21515 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21516 Change default. Doc fix.
21517 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21518 (feedmail-binmail-linuxish-template): New constant.
21519 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21520 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21521 (feedmail-send-it): Add debug call.
21522 Use feedmail-queue-buffer-file-name, and
21523 feedmail-send-it-immediately-wrapper.
21524 (feedmail-message-action-send): Add debug call.
21525 Use feedmail-send-it-immediately-wrapper.
21526 (feedmail-queue-express-to-queue): Add debug call.
21527 Run feedmail-queue-express-hook.
21528 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21529 (feedmail-message-action-help-blat):
21530 Rename from feedmail-queue-send-edit-prompt-help-first.
21531 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21532 Check line-endings. Handle errors better.
21533 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21534 Doc fix. Add debug call.
21535 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21536 Use feedmail-queue-send-edit-prompt-inner.
21537 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21538 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21539 from feedmail-queue-send-edit-prompt.
21540 (feedmail-queue-send-edit-prompt-help)
21541 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21542 (feedmail-tidy-up-slug): Add debug call.
21543 Respect feedmail-queue-slug-suspect-regexp.
21544 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21545 (feedmail-dump-message-to-queue): Add debug call.
21546 Expand queue-directory.
21547 (feedmail-dump-message-to-queue): Change message slightly.
21548 Use feedmail-say-chatter.
21549 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21550 (feedmail-send-it-immediately-wrapper): New function.
21551 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21552 Insert empty string rather than newline. Handle full-frame case.
21553 Use catch/throw. Use feedmail-say-chatter.
21554 (feedmail-fiddle-from): Try mail-host-address.
21555 (feedmail-default-message-id-generator): Doc fix.
21556 Bind system-time-locale. Handle missing end.
21557 (feedmail-fiddle-x-mailer): Add debug call.
21558 Handle feedmail-x-mailer-line being nil.
21559 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21560 Add debug call. Use buffer-substring-no-properties.
21561 (feedmail-say-debug, feedmail-say-chatter): New functions.
21562 (feedmail-find-eoh): Give an explicit error.
21563
42c7e61e
UJ
215642011-05-13 Ulf Jasper <ulf.jasper@web.de>
21565
c2571358 21566 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21567 family from helvetica to sans.
c2571358 21568 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21569 etc/images/newsticker.
21570
c2571358 21571 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21572 family from helvetica to sans.
21573
21574 * net/newst-plainview.el (newsticker-new-item-face)
21575 (newsticker-old-item-face, newsticker-immortal-item-face)
21576 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21577 (newsticker-statistics-face): Change default family from
42c7e61e 21578 helvetica to sans.
c2571358 21579 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21580 etc/images/newsticker.
21581
5d3385a0
JB
21582 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21583 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21584 auto-marking.
21585
8497a297
DV
215862011-05-13 Didier Verna <didier@xemacs.org>
21587
21588 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21589 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21590 TODO entries.
8497a297
DV
21591 (lisp-lambda-list-keyword-parameter-indentation)
21592 (lisp-lambda-list-keyword-parameter-alignment)
21593 (lisp-lambda-list-keyword-alignment): New customizable user options.
21594 (lisp-indent-defun-method): Improve docstring.
21595 (extended-loop-p): Fix comment.
21596 (lisp-indent-lambda-list-keywords-regexp): New variable.
21597 (lisp-indent-lambda-list): New function.
21598 (lisp-indent-259): Use it.
21599 (lisp-indent-defmethod): Support for more than one
21600 method qualifier and properly indent methods lambda-lists.
21601 (defgeneric): Provide a missing common-lisp-indent-function property.
21602
f278f87f
SM
216032011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21604
21605 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21606 bounds for the empty string (bug#8667).
21607
5233edd7
GM
216082011-05-13 Glenn Morris <rgm@gnu.org>
21609
5237a44f
GM
21610 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21611
8340026c 21612 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21613 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21614
5233edd7 21615 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21616 (appt-time-msg-list): Doc fix.
a5464014 21617 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21618
92d10796
AS
216192011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21620
21621 * progmodes/ld-script.el (ld-script-keywords)
21622 (ld-script-builtins): Update keywords list.
21623
914a0ae1
SM
216242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21625
c89be45f
SM
21626 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21627
914a0ae1
SM
21628 * shell.el (shell-completion-vars): New function.
21629 (shell-mode):
21630 * simple.el (read-shell-command): Use it.
21631 (blink-matching-open): No need for " [...]" in minibuffer-message.
21632
98dc3df3
GM
216332011-05-12 Glenn Morris <rgm@gnu.org>
21634
21635 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21636 (appt-check): Simplify.
21637
d2fc7e3d 216382011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21639
4d61f28d 21640 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21641 literal "/dev/null".
21642
d2fc7e3d 216432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21644
21645 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21646 Fix typo.
21647
d2fc7e3d 216482011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21649
3f254caa
SM
21650 * progmodes/which-func.el (which-function):
21651 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21652 which might not be defined (Bug#8260).
21653
d45885f7
GM
216542011-05-12 Glenn Morris <rgm@gnu.org>
21655
21656 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21657 Let byte-compile-initial-macro-environment always take precedence.
21658
488086f4
SM
216592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21660
21661 * net/rcirc.el: Add support for SSL/TLS connections.
21662 (rcirc-server-alist): New field `encryption'.
21663 (rcirc): Check `encryption' settings.
21664 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21665 Merge make-local-variable into `set'.
21666 (rcirc--connection-open-p): New function.
21667 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21668 the process is not a network process (e.g. running gnutls-cli).
21669 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21670 Make rcirc-(en|de)code-coding-system local here.
21671 (rcirc-mode): Merge make-local-variable into `set'.
21672 (rcirc-parent-buffer): Make permanent buffer-local.
21673 (rcirc-multiline-minor-mode): Don't do it here.
21674 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21675 there's no server buffer.
21676
7d3b9d44
GM
216772011-05-11 Glenn Morris <rgm@gnu.org>
21678
f64049c6
GM
21679 * newcomment.el (comment-kill): Prefix "unused" local.
21680
93c9df73
GM
21681 * term/w32console.el (get-screen-color): Declare.
21682
7d3b9d44
GM
21683 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21684 Handle symbol elements of byte-compile-initial-macro-environment.
21685
9e2dd53f
LL
216862011-05-10 Leo Liu <sdl.web@gmail.com>
21687
488086f4
SM
21688 * bookmark.el (bookmark-bmenu-mode-map):
21689 Bind bookmark-bmenu-search to `/'.
8b340240 21690
9e2dd53f 21691 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21692 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21693 (Footnote-unicode): New function.
21694 (footnote-style-alist): Add unicode style to the list.
21695 (footnote-style): Doc fix.
9e2dd53f 21696
79b70037
GM
216972011-05-10 Jim Meyering <meyering@redhat.com>
21698
21699 Fix doubled-word typos.
21700 * international/quail.el (quail-insert-kbd-layout): and and -> and
21701 * kermit.el: and and -> and
21702 * net/ldap.el (ldap-search-internal): to to -> to
21703 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21704 * progmodes/js.el (js-mode): and and -> and
21705 * textmodes/artist.el (artist-move-to-xy): at at -> at
21706 (artist-draw-region-trim-line-endings): if if -> if
21707 And Safetyc -> Safety.
21708 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21709
b8f82dc1 217102011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21711 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21712
21713 * files.el (hack-one-local-variable-eval-safep):
21714 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21715
4f99f44b
GM
217162011-05-10 Glenn Morris <rgm@gnu.org>
21717
21718 * calendar/diary-lib.el (diary-list-entries-hook)
21719 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21720 (diary-nongregorian-marking-hook, diary-list-entries)
21721 (diary-include-other-diary-files, diary-mark-entries)
21722 (diary-mark-included-diary-files): Doc fixes.
21723
84f29e6b
JB
217242011-05-09 Juanma Barranquero <lekktu@gmail.com>
21725
21726 * misc.el: Require tabulated-list.el during compilation.
21727
9bedd73a
CY
217282011-05-09 Chong Yidong <cyd@stupidchicken.com>
21729
488086f4
SM
21730 * progmodes/compile.el (compilation-start):
21731 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21732 (compilation-filter-hook): Doc fix.
21733
797c735c
DD
217342011-05-09 Deniz Dogan <deniz@dogan.se>
21735
21736 * wdired.el: Remove outdated installation comment. Fix usage
21737 comment.
21738
5f4b1dfe
JB
217392011-05-09 Juanma Barranquero <lekktu@gmail.com>
21740
21741 * misc.el: Implement new command `list-dynamic-libraries'.
21742 (list-dynamic-libraries--loaded-only-p): New variable.
21743 (list-dynamic-libraries--refresh): New function.
21744 (list-dynamic-libraries): New command.
21745
4c44026c
CY
217462011-05-09 Chong Yidong <cyd@stupidchicken.com>
21747
488086f4
SM
21748 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21749 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21750 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21751 higher priority to avoid clobbering by gnu.
21752
027f966d
CY
217532011-05-08 Chong Yidong <cyd@stupidchicken.com>
21754
21755 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21756 if the face has existing theme settings (Bug#8454).
21757
085f5d7d
CY
217582011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21759
488086f4
SM
21760 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21761 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21762
2a86a00c
RS
21763 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21764 special file names `.' and `..' (Bug#8259).
21765
d9c54a06
CY
217662011-05-08 Chong Yidong <cyd@stupidchicken.com>
21767
488086f4
SM
21768 * progmodes/grep.el (grep-mode-font-lock-keywords):
21769 Remove buffer-changing entries.
d9c54a06
CY
21770 (grep-filter): New function.
21771 (grep-mode): Add it to compilation-filter-hook.
21772
21773 * progmodes/compile.el (compilation-filter-hook)
21774 (compilation-filter-start): New defvars.
21775 (compilation-filter): Call compilation-filter-hook prior to
21776 updating the process mark.
21777
c4662635
SM
217782011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21779
21780 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21781
b0512a1d
EZ
217822011-05-07 Eli Zaretskii <eliz@gnu.org>
21783
605c9376
EZ
21784 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21785 mailclient-send-it even if window-system is nil. (Bug#8595)
21786
c4662635
SM
21787 * term/w32console.el (terminal-init-w32console):
21788 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21789 background-mode. (Bug#8597)
21790
d1dc2cc2
SM
217912011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21792
21793 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21794 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21795 New functions.
21796 (defgeneric, eieio--defmethod): Use them.
21797 (eieio-defgeneric): Remove.
21798 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21799
915d1300
GM
218002011-05-07 Glenn Morris <rgm@gnu.org>
21801
a3961c3e
GM
21802 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21803 Use let rather than let*.
21804 (timeclock-find-discrep): Remove unused local.
21805
314347b9
GM
21806 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21807
915d1300
GM
21808 * calendar/appt.el (appt-time-msg-list): Doc fix.
21809
275b59b0
NF
218102011-05-06 Noah Friedman <friedman@splode.com>
21811
21812 * apropos.el (apropos-print-doc): Only use
21813 emacs-lisp-docstring-fill-column when it is bound to an integer,
21814 per that variable's documentation.
21815
6c19f744
SM
218162011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21817
21818 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21819 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21820
60f884b2
GM
218212011-05-06 Glenn Morris <rgm@gnu.org>
21822
5006e634
GM
21823 * calendar/appt.el (appt-message-warning-time): Doc fix.
21824 (appt-warning-time-regexp): New option.
21825 (appt-make-list): Respect appt-message-warning-time.
21826
548d0a63
GM
21827 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21828 New options.
21829 (diary-add-to-list): Strip comments from the displayed string.
21830 (diary-mode): Set comment-start and comment-end.
21831
60f884b2
GM
21832 * vc/diff-mode.el (smerge-refine-subst): Declare.
21833 (diff-refine-hunk): Don't require smerge-mode when compiling.
21834
989681bb
JB
218352011-05-06 Juanma Barranquero <lekktu@gmail.com>
21836
21837 * simple.el (list-processes): Return nil as the docstring says.
21838
a6bc05e1
MA
218392011-05-05 Michael Albinus <michael.albinus@gmx.de>
21840
21841 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21842 to "".
21843 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21844 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21845 determining of binary transfer. (Bug#7383)
21846
23c22e9a
MA
218472011-05-05 Michael Albinus <michael.albinus@gmx.de>
21848
c4662635
SM
21849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21850 Fix port computation bug. (Bug#8618)
23c22e9a 21851
0bff894f
GM
218522011-05-05 Glenn Morris <rgm@gnu.org>
21853
b8296902
GM
21854 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21855
1f522ce8
GM
21856 * simple.el (shell-dynamic-complete-functions)
21857 (comint-dynamic-complete-functions): Declare.
21858
cf5bee67
GM
21859 * net/network-stream.el (gnutls-negotiate):
21860 * simple.el (tabulated-list-print): Fix declarations.
21861
21862 * progmodes/gud.el (syntax-symbol, syntax-point):
21863 Remove unnecessary and incorrect declarations.
21864
0bff894f 21865 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21866 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21867
9869b3ae
SM
218682011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21869
21870 Fix earlier half-done eieio-defmethod change (bug#8338).
21871 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21872 Streamline and change calling convention.
21873 (defmethod): Adjust accordingly and simplify.
21874 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21875 new eieio--defmethod.
21876 (slot-boundp): Minor CSE simplification.
21877
9c1d5ac5
MZ
218782011-05-05 Milan Zamazal <pdm@zamazal.org>
21879
21880 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21881 (glasses-make-readable): Use glasses-separate-capital-groups.
21882
455c834e
JB
218832011-05-05 Juanma Barranquero <lekktu@gmail.com>
21884
21885 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21886 (warning-series): Doc fix.
21887 (display-warning): Don't try to create the buffer if we just found it.
21888
9ed7c8cb
CY
218892011-05-04 Chong Yidong <cyd@stupidchicken.com>
21890
21891 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21892 (autoload-find-generated-file): New function.
21893 (generate-file-autoloads): Bind generated-autoload-file to
21894 buffer-file-name.
9869b3ae
SM
21895 (update-file-autoloads, update-directory-autoloads):
21896 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21897 output file (Bug#7989).
21898 (batch-update-autoloads): Doc fix.
21899
0898ca10
JB
219002011-05-04 Juanma Barranquero <lekktu@gmail.com>
21901
21902 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21903
31dfb76c
GM
219042011-05-04 Glenn Morris <rgm@gnu.org>
21905
f330b642
GM
21906 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21907 function, so it follows changes in calendar-date-style.
21908 (diary-fancy-date-matcher): New function.
21909 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21910 (diary-fancy-font-lock-fontify-region-function):
21911 Use diary-fancy-date-pattern as a function.
21912
31dfb76c
GM
21913 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21914 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21915
48e79d6a
TZ
219162011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21917
21918 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21919 instead of positional arguments. Allow :keylist and :crlfiles
21920 arguments.
21921 (open-gnutls-stream): Call it.
21922
21923 * net/network-stream.el (network-stream-open-starttls): Adjust to
21924 call `gnutls-negotiate' with :process and :hostname arguments.
21925
dd5a5ee0
SM
219262011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21927
ef80fc09
SM
21928 * minibuffer.el (completion--message): New function.
21929 (completion--do-completion, minibuffer-complete)
21930 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21931 (completion--do-completion): Don't ignore completion-auto-help when in
21932 icomplete-mode.
21933
dd5a5ee0
SM
21934 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21935 internal encoding (e.g. tibetan zero is not whitespace).
21936 (global-whitespace-mode): Prefer save-current-buffer.
21937 (whitespace-trailing-regexp): Remove useless save-match-data.
21938 (whitespace-empty-at-bob-regexp): Minor simplification.
21939
b7d22a83
CY
219402011-05-03 Chong Yidong <cyd@stupidchicken.com>
21941
21942 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21943
5192af46
AM
219442011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21945
21946 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21947 Use `concat' to create string for insertion.
5192af46 21948
5767d190
SM
219492011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21950
21951 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21952 Avoid open-line which runs post-self-insert-hook.
21953 (bibtex-fill-entry): Remove unused `end' var.
21954
bf242939
AM
219552011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21956
5767d190
SM
21957 * textmodes/ispell.el (ispell-add-per-file-word-list):
21958 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21959
25666126
LL
219602011-05-03 Leo Liu <sdl.web@gmail.com>
21961
21962 * isearch.el (isearch-yank-pop): New command.
5767d190 21963 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21964 (isearch-forward): Mention it.
21965
52d3c2d0
SM
219662011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21967
1bcace58
SM
21968 * simple.el (minibuffer-complete-shell-command): Remove.
21969 (minibuffer-local-shell-command-map): Use completion-at-point.
21970 (read-shell-command): Setup completion vars here instead.
21971 (read-expression-map): Bind TAB to symbol completion.
21972
52d3c2d0
SM
21973 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21974 error directly rather via storing it into `results'.
21975
35813471
LL
219762011-05-02 Leo Liu <sdl.web@gmail.com>
21977
21978 * vc/diff.el: Fix description.
21979
e793a940
LMI
219802011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21981
21982 * server.el (server-eval-at): New function.
21983
8de66e05
LMI
219842011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21985
21986 * net/network-stream.el (open-network-stream): Take a :nowait
21987 parameter and pass it on to `make-network-process'.
21988 (network-stream-open-plain): Ditto.
21989
dcb79f20
AS
219902011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21991
21992 * faces.el (face-spec-set-match-display): Don't match toolkit
21993 options on terminal frames.
21994
14a7fbd8
SM
219952011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21996
7eabc1be
SM
21997 * progmodes/pascal.el: Use lexical binding.
21998 (pascal-mode-map): Remove author preferences.
21999
14a7fbd8
SM
22000 * pcomplete.el (pcomplete-std-complete): Don't abuse
22001 completion-at-point.
22002
50f84510
JB
220032011-04-28 Juanma Barranquero <lekktu@gmail.com>
22004
6e087a44
JB
22005 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22006 removing code that has been dead since 1991 or so.
22007
50f84510
JB
22008 * startup.el (command-line): When warning about "_emacs", use a
22009 delayed warning to allow the user to filter it out.
22010
0ba690bd
DD
220112011-04-28 Deniz Dogan <deniz@dogan.se>
22012
22013 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22014 user has not joined.
22015
08abfaad
SM
220162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22017
22018 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22019 aren't any completions at point.
22020
638f053a
JB
220212011-04-28 Juanma Barranquero <lekktu@gmail.com>
22022
22023 * subr.el (display-delayed-warnings): New function.
22024 (delayed-warnings-hook): New variable.
22025
8fff8daa
SM
220262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22027
08abfaad
SM
22028 * minibuffer.el (completion-at-point, completion-help-at-point):
22029 Don't presume that a given completion-at-point-function will always
22030 use the same calling convention.
22031
8fff8daa
SM
22032 * pcomplete.el (pcomplete-completions-at-point):
22033 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22034 pcomplete-seen is non-nil.
22035 (pcomplete-comint-setup): Also recognize the new comint/shell
22036 completion functions.
22037 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22038 pcomplete-seen is non-nil.
22039
841a1577 220402011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 22041
841a1577 22042 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 22043 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 22044 the first character in the entry. This allows for code to add its
211ec907
UJ
22045 own uid to the entry.
22046 (icalendar--convert-float-to-ical): Add export of
22047 `diary-float'-entries save for those with the optional DAY
22048 argument.
22049
2a782793
DC
220502011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22051
22052 * subr.el (shell-quote-argument): Use alternate escaping strategy
22053 when we spot a variable reference in a string.
22054
0438ce91
DC
220552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22056
22057 * cus-start.el (all): Define customization for debug-on-event.
22058
841a1577 220592011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
22060
22061 * subr.el (shell-quote-argument): Escape correctly under Windows.
22062
d090ed6c
SM
220632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22064
22065 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22066
bfd31217
MA
220672011-04-25 Michael Albinus <michael.albinus@gmx.de>
22068
d090ed6c
SM
22069 * net/tramp.el (tramp-process-actions): Add POS argument.
22070 Delete region between POS and (pos).
bfd31217 22071
d090ed6c
SM
22072 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22073 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
22074 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22075
22076 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22077 position in `tramp-process-actions' call.
22078
22079 * net/trampver.el: Update release number.
22080
e92f3bd3
SM
220812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22082
850256b5
SM
22083 * custom.el (defcustom): Obey lexical-binding.
22084
e92f3bd3
SM
22085 Fix octave-inf completion problems reported by Alexander Klimov.
22086 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22087 Inherit from octave-mode-syntax-table.
22088 (inferior-octave-mode): Set info-lookup-mode.
22089 (inferior-octave-completion-at-point): New function.
22090 (inferior-octave-complete): Use it and completion-in-region.
22091 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22092 comint-filename-completion.
22093 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22094 symbol elements which shouldn't be word elements.
22095 (octave-font-lock-keywords, octave-beginning-of-defun)
22096 (octave-function-header-regexp): Adjust regexps accordingly.
22097 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22098
cd22b309
JB
220992011-04-25 Juanma Barranquero <lekktu@gmail.com>
22100
22101 * net/gnutls.el (gnutls-errorp): Declare before first use.
22102
8b492194
TZ
221032011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22104
22105 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22106 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 22107 default trustfile exists before going to use it. Add missing
5a5fa834 22108 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
22109 Reported by Claudio Bley <claudio.bley@gmail.com>.
22110 (open-gnutls-stream): Add usage example.
22111
22112 * net/network-stream.el (network-stream-open-starttls): Give host
22113 parameter to `gnutls-negotiate'.
22114 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 22115 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 22116
841a1577 221172011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 22118
cd22b309
JB
22119 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22120 Use correct match group (bug#8438).
05842630 22121
3ba7869c
CY
221222011-04-24 Chong Yidong <cyd@stupidchicken.com>
22123
512e3ae1
CY
22124 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22125 (package-menu--generate): New arg specifying packages to show.
22126 (package-menu-refresh, package-menu-execute, list-packages):
22127 Callers changed.
22128 (package-show-package-list): New function, replacing deleted
22129 package--list-packages (renamed because it is non-internal).
22130
22131 * finder.el (finder-list-matches): Use package-show-package-list
22132 instead of deleted package--list-packages.
22133
e92f3bd3
SM
22134 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22135 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
22136 (vc-annotate-mode-map): Bind it to RET.
22137
7031be6d
UR
221382011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22139
22140 * progmodes/etags.el (next-file): Don't use set-buffer to change
22141 buffers (Bug#8478).
22142
4ef177aa
CY
221432011-04-24 Chong Yidong <cyd@stupidchicken.com>
22144
c8d173eb
CY
22145 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22146
4ef177aa
CY
22147 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22148 (apropos-accumulator): Doc fix.
22149 (apropos-function, apropos-macro, apropos-command)
22150 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22151 (apropos-plist): Add face property.
22152 (apropos-symbols-internal): Fix indentation.
22153 (apropos-print): Simplify help, and recognize apropos-multi-type.
22154 (apropos-print-doc): Use button-type-get to extract the button's
22155 face property. Fill docstring (Bug#8352).
22156
4ffd0d6b 221572011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22158
22159 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22160
c6c32125 22161 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22162 (mpuz-mode-map): Use mapc.
c6c32125
JB
22163 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22164 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22165 Fix typos in docstrings.
22166
58d468b4
JB
22167 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22168 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22169
6470c3c6
JB
22170 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22171
4ffd0d6b 221722011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22173
22174 * minibuffer.el (completion--do-completion): Avoid the "Next char
22175 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22176
3ad8bad0
CY
22177 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22178 mouse-2 into unread-command-events, it is interpreted correctly.
22179
71d73c9c 22180 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22181 (image-toggle-display): Doc fix.
71d73c9c 22182
841a1577 221832011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22184
4ffd0d6b
GM
22185 * textmodes/page.el (what-page): Use line-number-at-pos to
22186 calculate line number (Bug#6825).
6e1dbaa9 22187
c2fb1b60
JB
221882011-04-22 Juanma Barranquero <lekktu@gmail.com>
22189
22190 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22191 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22192 Pass argument NO-DEFAULT to `find-tag-interactive'.
22193
e02f48d7
JB
221942011-04-22 Juanma Barranquero <lekktu@gmail.com>
22195
22196 Lexical-binding cleanup.
22197
22198 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22199 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22200 * progmodes/ada-prj.el (ada-prj-initialize-values)
22201 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22202 (ada-prj-show-value):
22203 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22204 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22205 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22206 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22207 * progmodes/bug-reference.el (bug-reference-push-button):
22208 * progmodes/fortran.el (fortran-line-length):
22209 * progmodes/glasses.el (glasses-change):
22210 * progmodes/octave-mod.el (octave-fill-paragraph):
22211 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22212 (python-pdbtrack-grub-for-buffer, python-sentinel):
22213 * progmodes/sql.el (sql-save-connection):
22214 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22215 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22216 Mark unused parameters.
22217
22218 * progmodes/compile.el (compilation--flush-directory-cache)
22219 (compilation--flush-parse, compile-internal): Mark unused parameters.
22220 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22221 (compilation-next-error-function): Remove unused variable `timestamp'.
22222
22223 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22224 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22225
22226 * progmodes/dcl-mode.el (dcl-end-of-command):
22227 Remove unused variable `start'.
22228 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22229 (dcl-option-value-basic, dcl-option-value-offset)
22230 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22231 Mark unused parameters.
22232 (dcl-save-local-variable): Remove unused variable `val'.
22233 (mode): Declare.
22234
22235 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22236 Mark unused parameters.
22237 (delphi-ignore-changes): Move before first use.
22238 (delphi-charset-token-at): Remove unused variable `start'.
22239 (delphi-else-start): Remove unused variable `if-count'.
22240 (delphi-comment-block-start, delphi-comment-block-end):
22241 Remove unused variable `kind'.
22242 (delphi-indent-line): Remove unused variable `new-point'.
22243
22244 * progmodes/ebrowse.el (ebrowse-files-list)
22245 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22246 Mark unused parameters. Don't quote `lambda'.
22247 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22248 Don't quote `lambda'.
22249 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22250 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22251 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22252 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22253 Use `ignore-errors'.
22254 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22255 (ebrowse-view/find-file-and-search-pattern)
22256 (ebrowse-view/find-member-declaration/definition):
22257 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22258 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22259 Rename parameter PREFIX-ARG to PREFIX.
22260 (ebrowse-tags-read-name): Remove unused variables `start' and
22261 `member-info'.
22262 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22263 to `tags-file'.
22264
22265 * progmodes/etags.el (local-find-tag-hook): Declare.
22266 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22267 Mark unused parameters.
22268
22269 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22270 (executable-interpret): Mark unused parameter.
22271
22272 * progmodes/flymake.el (flymake-process-sentinel)
22273 (flymake-after-change-function)
22274 (flymake-create-temp-with-folder-structure)
22275 (flymake-get-include-dirs-dot): Mark unused parameters.
22276 (flymake-safe-delete-directory): Remove unused variable `err'.
22277
22278 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22279 (speedbar-timer-fn, speedbar-line-text)
22280 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22281 (speedbar-center-buffer-smartly): Declare functions.
22282 (gdb-find-watch-expression): Remove unused variable `array'.
22283 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22284 (gdb-starting): Mark unused parameters.
22285 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22286 (gdb-table-string): Remove unused variable `res'.
22287 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22288 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22289 (gdb-display-buffer): Remove unused variable `cur-size'.
22290
22291 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22292 allow lexical-binding compilation.
22293 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22294 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22295 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22296 Mark unused parameters.
22297 (gud-gdb-marker-filter): Remove unused variable `match'.
22298 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22299 lambda expressions and funcall them, instead of using `fset'.
22300
22301 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22302 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22303
22304 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22305 variable `header-beg'; use `let'.
22306
22307 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22308 `restart', `last-sexp' and `at-do'.
22309
22310 * progmodes/js.el (js--debug): Mark unused parameter.
22311 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22312 (js--splice-into-items): Remove unused variable `item'.
22313 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22314
22315 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22316 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22317 (makefile-complete): Remove unused variable `try'.
22318 (makefile-fill-paragraph, makefile-match-function-end):
22319 Mark unused parameters.
22320
22321 * progmodes/octave-inf.el (inferior-octave-complete):
22322 Remove unused variable `proc'.
22323 (inferior-octave-output-digest): Mark unused parameter.
22324
22325 * progmodes/perl-mode.el (perl-calculate-indent):
22326 Remove unused variable `err'.
22327
22328 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22329 (prolog-indent-line): Mark unused parameters.
22330 (prolog-indent-line): Remove unused variable `beg'.
22331
22332 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22333 (reporter-dont-compact-list): Declare.
22334
22335 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22336 Remove unused variable `char'.
22337 (sh-debug): Mark unused parameter.
22338 (sh-get-indent-info): Remove unused variable `start'.
22339 (sh-calculate-indent): Remove unused variable `var'.
22340
22341 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22342 (simula-electric-keyword): Remove unused variable `null'.
22343 (simula-search-backward, simula-search-forward): Remove unused
22344 variables `begin' and `end'.
22345
22346 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22347 Remove unused variable `pos'.
22348 (vera-electric-tab, vera-comment-uncomment-region):
22349 Mark unused parameters.
22350 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22351
7ede3b65
CY
223522011-04-22 Chong Yidong <cyd@stupidchicken.com>
22353
22354 * emacs-lisp/package.el (package--builtins, package-alist)
22355 (package-load-descriptor, package-built-in-p, package-activate)
22356 (define-package, package-installed-p)
22357 (package-compute-transaction, package-buffer-info)
22358 (package--push): Doc fix. Distinguish more clearly between
22359 version strings and version lists.
22360
121656e9
JB
223612011-04-21 Juanma Barranquero <lekktu@gmail.com>
22362
22363 Lexical-binding cleanup.
22364
22365 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22366 (5x5-make-mutate-best):
22367 * play/fortune.el (fortune-in-buffer):
22368 * play/gomoku.el (gomoku-init-display):
22369 * play/solitaire.el (solitaire, solitaire-do-check):
22370 * play/tetris.el (tetris-default-update-speed-function):
22371 Mark unused parameters.
22372
22373 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22374 (bubbles--shift): Remove unused variable `char-org'.
22375 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22376 (bubbles--show-images): Remove unused variable `char'.
22377
22378 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22379 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22380 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22381 (decipher-analyze-buffer): Use ?\s.
22382 (decipher-make-checkpoint): Remove unused variable `mapping'.
22383
22384 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22385
22386 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22387 Remove unused variable `result'; use `let'.
22388
22389 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22390 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22391 (gametree-children-shown-p, gametree-compute-reduced-score):
22392 Use `ignore-errors'.
22393
22394 * play/handwrite.el (ps-lpr-switches): Declare.
22395 (handwrite): Remove unused variables `pmin' and `lastp'.
22396
22397 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22398
22399 * play/landmark.el (landmark-init-display)
22400 (landmark-update-naught-weights): Mark unused parameters.
22401 (landmark-y): Remove unused variable `noise'. Simplify.
22402 (landmark-human-plays): Remove unused variable `score'.
22403
22404 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22405 (mpuz-try-proposal): Remove unused variable `game'.
22406
22407 * play/zone.el (life-patterns): Declare.
22408
80f499c7
JB
224092011-04-20 Juanma Barranquero <lekktu@gmail.com>
22410
22411 * vc/vc.el (ediff-vc-internal): Declare function.
22412
024ff170
SM
224132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22414
c0a193ea
SM
22415 * shell.el: Use lexical-binding and std completion UI.
22416 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22417 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22418 comint-preoutput-filter-functions rather than on
22419 comint-output-filter-functions.
22420 (shell-command-completion, shell--command-completion-data)
22421 (shell-filename-completion, shell-environment-variable-completion)
22422 (shell-c-a-p-replace-by-expanded-directory): New functions.
22423 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22424 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22425 (shell-dynamic-complete-environment-variable): Use them.
22426 (shell-dynamic-complete-as-environment-variable)
22427 (shell-dynamic-complete-as-command): Remove.
22428 (shell-match-partial-variable): Match past point.
22429 * comint.el: Clean up use of completion-at-point-functions.
22430 (comint-completion-at-point): New function.
22431 (comint-mode): Use it completion-at-point-functions.
22432 (comint-dynamic-complete): Make it obsolete.
22433 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22434 (comint-c-a-p-replace-by-expanded-history): New function.
22435 (comint-dynamic-complete-functions)
22436 (comint-replace-by-expanded-history): Use it.
22437 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22438 termination strings. Try harder to avoid second try-completion.
22439 (completion-in-region-mode-map): Disable bindings that don't work yet.
22440
2dbaa080
SM
22441 * comint.el: Use lexical-binding. Require CL.
22442 (comint-dynamic-complete-functions): Use comint-filename-completion.
22443 (comint-completion-addsuffix): Tweak custom type.
22444 (comint-filename-completion, comint--common-suffix)
22445 (comint--common-quoted-suffix, comint--table-subvert)
22446 (comint--complete-file-name-data): New functions.
22447 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22448 (comint-dynamic-list-filename-completions): Use them.
22449 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22450
2dbaa080
SM
22451 * minibuffer.el (completion-in-region-mode):
22452 Keep completion-in-region-mode--predicate global.
22453 (completion-in-region--postch):
22454 Assume completion-in-region-mode--predicate is not null.
22455
c79a6f38
SM
22456 * progmodes/flymake.el (flymake-start-syntax-check-process):
22457 Obey `dir'. Simplify.
22458
024ff170
SM
22459 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22460 we're in VC after all.
22461
1c6c854e
CS
224622011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22463
22464 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22465 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22466 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22467
bed7f140
SM
224682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22469
332e62ab
SM
22470 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22471 add sanity check.
22472
bed7f140
SM
22473 * obsolete/erc-hecomplete.el: Make obsolete.
22474 * obsolete/: Standardize obsolescence info in the header.
22475
f195c582
GM
224762011-04-20 Glenn Morris <rgm@gnu.org>
22477
22478 * calendar/solar.el (solar-horizontal-coordinates):
22479 Use the longitude argument rather than `calendar-longitude'.
22480 (solar-date-next-longitude): Remove unused locals.
22481
cb79b8c0
VJL
224822011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22483
22484 * whitespace.el: New version 13.2.1.
22485
224862011-04-20 felix <EmacsWiki> (tiny change)
22487
d8e4b68b 22488 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22489 switching between major modes on a file.
22490
602ea69d
SM
224912011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22492
22493 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22494 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22495 multi-line comments as well.
22496
06b60517
JB
224972011-04-19 Juanma Barranquero <lekktu@gmail.com>
22498
22499 Lexical-binding cleanup.
22500
22501 * arc-mode.el (archive-mode-revert):
22502 * cmuscheme.el (scheme-interactively-start-process):
22503 * custom.el (custom-initialize-delay):
22504 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22505 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22506 * emacs-lock.el (emacs-lock-clear-sentinel):
22507 * ezimage.el (defezimage):
22508 * follow.el (follow-avoid-tail-recenter):
22509 * fringe.el (set-fringe-mode-1):
22510 * generic-x.el (bat-generic-mode-compile):
22511 * help-mode.el (help-info-variable, help-do-xref)
22512 (help-mode-revert-buffer):
22513 * help.el (view-emacs-todo):
22514 * iswitchb.el (iswitchb-completion-help):
22515 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22516 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22517 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22518 * locate.el (locate-update):
22519 * longlines.el (longlines-encode-region)
22520 (longlines-after-change-function):
22521 * outline.el (outline-isearch-open-invisible):
22522 * ps-def.el (declare-function, charset-dimension, char-width)
22523 (encode-char):
22524 * ps-mule.el (ps-mule-plot-string):
22525 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22526 (recentf-edit-list-select, recentf-edit-list-validate)
22527 (recentf-open-files-action):
22528 * rect.el (delete-whitespace-rectangle-line)
22529 (rectangle-number-line-callback):
22530 * register.el (window-configuration-to-register)
22531 (frame-configuration-to-register):
22532 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22533 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22534 (xselect-convert-to-targets, xselect-convert-to-delete)
22535 (xselect-convert-to-filename, xselect-convert-to-charpos)
22536 (xselect-convert-to-lineno, xselect-convert-to-colno)
22537 (xselect-convert-to-os, xselect-convert-to-host)
22538 (xselect-convert-to-user, xselect-convert-to-class)
22539 (xselect-convert-to-name, xselect-convert-to-integer)
22540 (xselect-convert-to-atom, xselect-convert-to-identity):
22541 * subr.el (declare, ignore, process-kill-without-query)
22542 (text-clone-maintain):
22543 * terminal.el (te-get-char, te-tic-sentinel):
22544 * tool-bar.el (tool-bar-make-keymap):
22545 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22546 * type-break.el (type-break-mode, type-break-noninteractive-query):
22547 * view.el (View-back-to-mark):
22548 * wid-browse.el (widget-browse-action, widget-browse-widget)
22549 (widget-browse-widgets, widget-browse-sexp):
22550 * widget.el (define-widget-keywords):
22551 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22552 Mark unused parameters.
22553
22554 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22555 (align-areas): Remove unused variable `look'.
22556 (align-region): Remove unused variables `real-end' and `pos-list'.
22557
22558 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22559
22560 * bindings.el (mode-line-modified, mode-line-remote):
22561 Mark unused parameters.
22562 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22563
22564 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22565 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22566
22567 * comint.el (comint-history-isearch-pop-state)
22568 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22569 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22570 (comint-substitute-in-file-name): Doc fix.
22571
22572 * completion.el (cmpl-statistics-block): Mark unused parameter.
22573 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22574 (save-completions-to-file, load-completions-from-file):
22575 Remove unused local variable `e'.
22576
22577 * composite.el (compose-chars): Remove unused variable `len'.
22578 (lgstring-insert-glyph): Remove unused variable `g'.
22579 (compose-glyph-string): Remove unused variables `ascent',
22580 `descent', `lbearing' and `rbearing'.
22581 (compose-glyph-string-relative): Remove unused variables
22582 `lbearing', `rbearing' and `wadjust'.
22583 (compose-gstring-for-graphic): Remove unused variables `header',
22584 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22585 (compose-gstring-for-terminal): Remove unused variables `header'
22586 and `nchars'. Use `let', not `let*'.
22587
22588 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22589 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22590 (Custom-buffer-done, custom-buffer-create-internal)
22591 (custom-browse-visibility-action, custom-browse-group-tag-action)
22592 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22593 (widget-magic-mouse-down-action, custom-toggle-parent)
22594 (custom-add-parent-links, custom-toggle-hide-variable)
22595 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22596 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22597 (custom-face-menu-create, custom-variable-menu-create, get)
22598 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22599 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22600 (customize-apropos): Remove unused variable `tests'.
22601 (custom-group-value-create): Remove unused variable `hidden-p'.
22602 (sort-fold-case): Declare.
22603
22604 * cus-theme.el (custom-reset-standard-faces-list)
22605 (custom-reset-standard-variables-list): Declare.
22606 (customize-create-theme, custom-theme-revert, custom-theme-write)
22607 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22608 Mark unused parameters.
22609
22610 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22611
22612 * delim-col.el (delimit-columns-max): Move defvar before first use.
22613
22614 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22615 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22616
22617 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22618 (auto-insert): Declare.
22619 (desktop-restore-file-buffer): Rename desktop-* parameters;
22620 mark unused ones.
22621 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22622 (desktop-buffer): Rename desktop-* parameters.
22623
22624 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22625 (dframe-reposition-frame-xemacs, dframe-help-echo)
22626 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22627 Mark unused parameters.
22628
22629 * dired-aux.el (backup-extract-version-start, overwrite-query)
22630 (overwrite-backup-query, rename-regexp-query)
22631 (rename-non-directory-query): Declare.
22632 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22633 (dired-add-entry): Remove unused variable `orig-file-name'.
22634 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22635 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22636 `dired-copy-preserve-time' directly.
22637 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22638 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22639
22640 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22641 (dired-virtual-revert, dired-make-relative-symlink):
22642 Mark unused parameters.
22643 (manual-program): Declare.
22644 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22645 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22646 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22647
22648 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22649
22650 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22651
22652 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22653 Declare.
22654
22655 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22656
22657 * electric.el (Electric-command-loop): Rename parameter
22658 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22659
22660 * expand.el (expand-in-literal): Remove unused variable `here'.
22661
22662 * facemenu.el (facemenu-add-new-color):
22663 Remove unused variable `docstring'.
22664
22665 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22666 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22667 (face-attr-construct): Mark unused parameter. Doc fix.
22668 (read-color): Remove unused variable `hex-string'.
22669
22670 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22671 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22672 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22673 (display-buffer-other-frame): Remove unused variable `old-window'.
22674 (kill-buffer-hook): Declare.
22675 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22676 Mark unused parameters.
22677 (after-find-file): Pass 1 to `auto-save-mode', not t.
22678
22679 * files-x.el (auto-insert): Declare.
22680 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22681
22682 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22683 variable `buf'. Mark unused parameter.
06b60517
JB
22684 (find-lisp-insert-directory): Mark unused parameter.
22685
22686 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22687 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22688 (format-common-tail): Remove, unused.
22689 (format-deannotate-region): Remove unused variable `loc'.
22690 (format-annotate-region): Remove unused variable `p'.
22691 (format-annotate-single-property-change): Remove unused variables
22692 `default' and `tail'.
22693
22694 * forms.el (read-file-filter): Declare.
22695 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22696
22697 * frame.el (frame-creation-function-alist): Mark unused parameter.
22698 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22699
22700 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22701 Remove unused parameters.
22702 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22703 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22704
22705 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22706 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22707 (hfy-prepare-tag-map): Mark unused parameters.
22708 (htmlfontify-buffer): Use `called-interactively-p'.
22709
22710 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22711 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22712 (ibuffer-do-occur): Mark unused parameters.
22713 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22714 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22715
22716 * ibuffer.el: Don't quote `lambda'.
22717 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22718 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22719 Mark unused parameters.
22720
22721 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22722 (ido-completing-read): Mark unused parameters.
22723 (ido-copy-current-word): Mark unused parameters;
22724 remove unused variable `name'.
22725 (ido-sort-merged-list): Remove unused parameter `dirs'.
22726
22727 * ielm.el (ielm-input-sender): Mark unused parameter.
22728 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22729 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22730 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22731 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22732 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22733
22734 * image-dired.el (image-dired-display-thumbs): Remove unused
22735 variables `curr-file' and `count'.
22736 (image-dired-remove-tag): Remove unused variable `start'.
22737 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22738 variable `curr-file'
22739 (image-dired-rotate-original): Remove unused variable `temp-file'.
22740 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22741 Remove unused variable `file'.
22742 (image-dired-gallery-generate): Remove unused variable `curr'.
22743 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22744
22745 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22746
22747 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22748
22749 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22750
22751 * isearch.el (minibuffer-history-symbol): Declare.
22752 (isearch-edit-string): Remove unused variable `err'.
22753 (isearch-message-prefix, isearch-message-suffix):
22754 Mark unused parameters.
22755
22756 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22757
22758 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22759
22760 * makesum.el (double-column): Remove unused variable `cnt'.
22761
22762 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22763 (ido-ignore-item-temp-list): Declare.
22764
22765 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22766 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22767 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22768 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22769 `mouse-col-delta'.
22770
22771 * mouse-sel.el (mouse-extend-internal):
22772 Remove unused variable `orig-window-frame'.
22773
22774 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22775 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22776 Move declarations before first use.
22777 (pcomplete-opt): Mark unused parameters; doc fix.
22778
22779 * proced.el (proced-revert): Mark unused parameter.
22780 (proced-send-signal): Remove unused variable `err'.
22781
22782 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22783 Rename parameter PREFIX-ARG to ARG.
22784 (ps-basic-plot-string, ps-basic-plot-whitespace):
22785 Mark unused parameters.
22786
22787 * replace.el (replace-count): Define.
22788 (occur-revert-function): Mark unused parameters.
22789 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22790 (isearch-case-fold-search, isearch-string): Declare.
22791 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22792 bind `case-fold-search'. Remove unused variables `beg' and `end',
22793 and simplify.
22794 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22795 COUNT and bind `replace-count'.
22796 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22797 to COUNT.
22798
22799 * savehist.el (print-readably, print-string-length): Declare.
22800
22801 * shadowfile.el (shadow-expand-cluster-in-file-name):
22802 Remove unused variable `cluster'.
22803 (shadow-copy-file): Remove unused variable `i'.
22804 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22805 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22806 (shadow-define-literal-group, shadow-define-regexp-group)
22807 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22808
22809 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22810 (shell): Use `called-interactively-p'.
22811 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22812
22813 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22814 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22815 (delete-backward-char): Remove unused variable `ocol'.
22816 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22817 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22818 (event-apply-hyper-modifier, event-apply-shift-modifier)
22819 (event-apply-control-modifier, event-apply-meta-modifier):
22820 Mark unused parameters.
22821 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22822 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22823
22824 * speedbar.el (speedbar-ignored-directory-expressions)
22825 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22826 (speedbar-find-file, speedbar-dir-follow)
22827 (speedbar-directory-buttons-follow, speedbar-tag-find)
22828 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22829 (speedbar-buffers-line-directory, speedbar-buffer-click):
22830 Mark unused parameters.
22831 (speedbar-tag-file): Remove unused variable `mode'.
22832 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22833
22834 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22835
22836 * talk.el (talk): Remove unused variable `display'.
22837
22838 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22839 (tar-write-region-annotate): Mark unused parameter.
22840
22841 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22842 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22843 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22844 warning by another.
22845
22846 * time-stamp.el (time-stamp-string-preprocess):
22847 Remove unused variable `require-padding'.
22848
22849 * tree-widget.el (widget-glyph-enable): Declare.
22850 (tree-widget-action): Mark unused parameter.
22851
22852 * w32-fns.el (x-get-selection): Mark unused parameter.
22853 (autoload-make-program, generated-autoload-file): Declare.
22854
22855 * wdired.el (wdired-revert): Mark unused parameters.
22856 (wdired-xcase-word): Remove unused variable `err'.
22857
22858 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22859 (whitespace-help-scroll): Remove unused variable `data-help'.
22860
22861 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22862 (widget-image-insert, widget-after-change, default)
22863 (widget-default-format-handler, widget-default-notify)
22864 (widget-default-prompt-value, widget-info-link-action)
22865 (widget-url-link-action, widget-function-link-action)
22866 (widget-variable-link-action, widget-file-link-action)
22867 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22868 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22869 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22870 (widget-insert-button-action, widget-delete-button-action, visibility)
22871 (widget-documentation-link-action, widget-documentation-string-action)
22872 (widget-const-prompt-value, widget-regexp-match, symbol)
22873 (widget-coding-system-prompt-value)
22874 (widget-key-sequence-value-to-external, sexp)
22875 (widget-sexp-value-to-internal, character, vector, cons)
22876 (widget-choice-prompt-value, widget-boolean-prompt-value)
22877 (widget-color--choose-action): Mark unused parameters.
22878 (widget-item-match-inline, widget-choice-match-inline)
22879 (widget-checklist-match, widget-checklist-match-inline)
22880 (widget-group-match): Rename parameter VALUES to VALS.
22881 (widget-field-value-set): Remove unused variable `size'.
22882 (widget-color-action): Remove unused variables `value' and `start'.
22883
22884 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22885 variable `dir'. Doc fix.
06b60517
JB
22886 (windmove-find-other-window): Don't pass it.
22887
22888 * window.el (count-windows): Mark unused parameter.
22889 (bw-adjust-window): Remove unused variable `err'.
22890
22891 * woman.el (woman-file-name): Remove unused variable `default'.
22892 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22893 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22894 (global-font-lock-mode): Declare.
22895 (woman-decode-region): Mark unused parameter.
22896 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22897
22898 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22899 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22900 (x-dnd-handle-moz-url): Remove unused variable `title'.
22901 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22902
22903 * xml.el (xml-parse-tag, xml-parse-attlist):
22904 Remove unused variable `pos'.
22905
bc4f7f3d
GM
229062011-04-19 Glenn Morris <rgm@gnu.org>
22907
22908 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22909 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22910 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22911 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22912 * calendar/cal-html.el (cal-html-insert-minical):
22913 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22914 (calendar-mark-date-pattern):
22915 Prefix "unused" locals.
22916
22917 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22918 optional argument `style'.
22919
22920 * calendar/appt.el (appt-make-list):
22921 * calendar/cal-china.el (calendar-chinese-date-string):
22922 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22923 (diary-hebrew-yahrzeit):
22924 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22925 * calendar/calendar.el (calendar-generate-window):
22926 * calendar/time-date.el (time-to-days):
22927 Remove unused local variables.
22928
16a43933
CY
229292011-04-18 Chong Yidong <cyd@stupidchicken.com>
22930
22931 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22932 glyphless-char-display table.
22933 (tabulated-list-glyphless-char-display): New var.
22934
7eed1860
SS
229352011-04-18 Sam Steingold <sds@gnu.org>
22936
22937 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22938 to acknowledgments.
22939
4d2d1ccd
GM
229402011-04-17 Glenn Morris <rgm@gnu.org>
22941
22942 * calendar/diary-lib.el (diary-sexp-entry):
22943 * calendar/holidays.el (holiday-sexp):
22944 Set debug-on-error rather than the removed stack-trace-on-error.
22945
239da61d
GM
229462011-04-16 Glenn Morris <rgm@gnu.org>
22947
22948 * progmodes/f90.el: Use lexical-binding.
22949 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22950
8b05752a
SM
229512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22952
daca8ba5
SM
22953 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22954 (mail-mode): Setup mailalias completion here instead.
22955 * mail/mailalias.el: Use lexical-binding.
22956 (pattern, mailalias-done): Declare dynamic.
22957 (mail-completion-at-point-function): New function, from mail-complete.
22958 (mail-complete): Use it.
22959 (mail-completion-expand): New function.
22960 (mail-get-names): Use it.
22961 (mail-directory, mail-directory-process, mail-directory-stream):
22962 Don't use `pattern' for lexically bound arg.
22963
6f542485
SM
22964 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22965
037e7c3f
SM
22966 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22967 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22968 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22969
8b05752a
SM
22970 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22971 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22972 (byte-interactive-p): Define them again, for use when inlining
22973 old code.
22974
49093f60
JB
229752011-04-15 Juanma Barranquero <lekktu@gmail.com>
22976
22977 * loadup.el: Use `string-to-number', not `string-to-int'.
22978
b5b8e7de
SM
229792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22980
22981 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22982 gud-gdb-complete-command.
22983 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22984 (gud-gdb-completion-at-point): New function.
22985 (gud-gdb-completions): Remove.
22986
f42efeb5
MA
229872011-04-14 Michael Albinus <michael.albinus@gmx.de>
22988
49093f60
JB
22989 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22990 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22991 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22992 whether `executable-find' is bound.
f42efeb5
MA
22993
22994 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22995
e240cc21
SM
229962011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22997
22998 * minibuffer.el (completion-in-region-mode-predicate)
22999 (completion-in-region-mode--predicate): New vars.
23000 (completion-in-region, completion-in-region--postch)
23001 (completion-in-region-mode): Use them.
23002 (completion--capf-wrapper): Also return the hook function.
23003 (completion-at-point, completion-help-at-point):
23004 Adjust and provide a predicate.
c2bd2ab0
SM
23005
23006 Preserve arg names for advice of subr and lexical functions (bug#8457).
23007 * help-fns.el (help-function-arglist): Consolidate the subr and
23008 new-byte-code cases. Add argument `preserve-names' to extract names
23009 from the docstring when needed.
23010 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23011 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23012 (ad-arglist): Use help-function-arglist's new arg.
23013 (ad-definition-type): Use cond.
23014
c183f693
JB
230152011-04-13 Juanma Barranquero <lekktu@gmail.com>
23016
06641a47
JB
23017 * autorevert.el (auto-revert-handler):
23018 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23019 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23020 Don't quote lambda.
23021
c183f693
JB
23022 * image-mode.el (image-transform-set-scale):
23023 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23024
1e3b6001
G
230252011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23026
23027 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 23028 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
23029 Upgrades via gnutls-cli are too slow to be done opportunistically.
23030
2d6af8dd
JB
230312011-04-12 Juanma Barranquero <lekktu@gmail.com>
23032
23033 * dframe.el (dframe-current-frame): Remove spurious quote.
23034
c0749a51
GM
230352011-04-12 Glenn Morris <rgm@gnu.org>
23036
088d0d61
GM
23037 * calendar/cal-tex.el (cal-tex-end-document):
23038 Try to automatically use latin1 input if needed.
23039
c0749a51
GM
23040 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23041 Don't try to cons a mark onto an empty element.
23042
5c90fde0
LL
230432011-04-11 Leo Liu <sdl.web@gmail.com>
23044
23045 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23046 buffers.
23047 (ido-kill-buffer-at-head): Support killing virtual buffers.
23048
369e974d
CY
230492011-04-10 Chong Yidong <cyd@stupidchicken.com>
23050
23051 * minibuffer.el (completion-show-inline-help): New var.
23052 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
23053 (minibuffer-force-complete, minibuffer-complete-word):
23054 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
23055
23056 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23057 to avoid interference from inline help (Bug#5849).
23058
37f1c930
LL
230592011-04-10 Leo Liu <sdl.web@gmail.com>
23060
099c39a4
JB
23061 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23062 Fix typo.
37f1c930 23063
a32d4040
CY
230642011-04-09 Chong Yidong <cyd@stupidchicken.com>
23065
23066 * image-mode.el (image-toggle-display-image): Signal an error if
23067 not in Image mode.
23068 (image-transform-mode, image-transform-resize)
23069 (image-transform-set-rotation): Doc fix.
daca8ba5 23070 (image-transform-set-resize): Delete.
a32d4040
CY
23071 (image-transform-set-scale, image-transform-fit-to-height)
23072 (image-transform-fit-to-width): Handle image-toggle-display-image
23073 and image-transform-resize directly.
23074
099c39a4 230752011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
23076
23077 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
23078 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23079 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
23080 (doc-view-mode-map): Add bindings for the new functions.
23081
099c39a4 230822011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 23083
4d61f28d 23084 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
23085 Fix typo in docstring.
23086
3726838a
EZ
230872011-04-08 Eli Zaretskii <eliz@gnu.org>
23088
04f33f1e
EZ
23089 * files.el (file-size-human-readable): Produce one digit after
23090 decimal, like "ls -lh" does.
23091
23092 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23093 the file size representation.
23094
3726838a
EZ
23095 * simple.el (list-processes): If async subprocesses are not
23096 available, error out with a clear error message.
23097
cbb59342
CY
230982011-04-08 Chong Yidong <cyd@stupidchicken.com>
23099
23100 * help.el (help-form-show): New function, to be called from C.
23101 Put help-form output in a buffer named differently than *Help*.
23102
e3971c44
EZ
231032011-04-08 Eli Zaretskii <eliz@gnu.org>
23104
23105 * files.el (file-size-human-readable): New function.
23106
23107 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23108 computing the representation inline. Don't require `cl'.
23109
12544bbe
GM
231102011-04-08 Glenn Morris <rgm@gnu.org>
23111
a1de6c6a
GM
23112 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23113
3c4671f4
GM
23114 * net/browse-url.el (browse-url-firefox):
23115 Test system-type, not system-configuration.
23116
b605679c
GM
23117 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23118 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23119 Use log-edit-empty-buffer-p. (Bug#7598)
23120
56442f0c
GM
23121 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23122 (rlogin-mode-map): Initialize in the defvar.
23123 (rlogin): Use ignore-errors.
23124
12544bbe
GM
23125 * replace.el (occur-mode-map): Some fixes for menu items.
23126
eb237b0f
AH
231272011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23128
23129 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23130
7d668f2c
CY
231312011-04-06 Chong Yidong <cyd@stupidchicken.com>
23132
e67a13ab
CY
23133 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23134 issuing unused warnings.
23135
23136 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23137 macro directly.
23138
7d668f2c
CY
23139 * simple.el: Lisp reimplement of list-processes. Based on an
23140 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23141 (process-menu-mode): New major mode.
23142 (list-processes--refresh, list-processes):
23143 (process-menu-visit-buffer): New functions.
23144
23145 * files.el (save-buffers-kill-emacs): Don't assume any return
23146 value of list-processes, which is undocumented anyway.
23147
a83ec3c9
CY
231482011-04-06 Chong Yidong <cyd@stupidchicken.com>
23149
23150 * emacs-lisp/tabulated-list.el: New file.
23151
e91a96fe
CY
23152 * emacs-lisp/package.el: Use Tabulated List mode.
23153 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23154 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23155 table format using Tabulated List mode variables.
23156 (package--push): New macro, replacing package-list-maybe-add.
23157 (package-menu--generate): Use package--push. Renamed from
23158 package--generate-package-list.
23159 (package-menu-refresh, list-packages): Use it.
daca8ba5 23160 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23161 Return insertion data instead of inserting it directly.
099c39a4
JB
23162 (package-menu-describe-package, package-menu-execute):
23163 Use tabulated-list-get-id.
e91a96fe
CY
23164 (package-menu-mark-delete, package-menu-mark-install)
23165 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23166 (package-menu-mark-obsolete-for-deletion):
23167 Use tabulated-list-put-tag.
e91a96fe
CY
23168 (package--list-packages, package-menu-revert)
23169 (package-menu-get-package, package-menu-get-version)
23170 (package-menu-sort-by-column): Functions deleted.
23171 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23172 (package-menu--status-predicate, package-menu--version-predicate)
23173 (package-menu--name-predicate)
23174 (package-menu--description-predicate): Handle arguments in the
23175 Tabulated List format.
23176 (package-list-packages-no-fetch): Call list-packages.
23177
3e214b50
JB
231782011-04-06 Juanma Barranquero <lekktu@gmail.com>
23179
23180 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23181 (after-find-file): Don't bind it.
3e214b50
JB
23182 (revert-buffer-in-progress-p): New variable.
23183 (revert-buffer): Bind it.
23184 Pass nil for `after-find-file-from-revert-buffer'.
23185
23186 * saveplace.el (save-place-find-file-hook): Use new variable
23187 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23188
3f0f1700
GM
231892011-04-06 Glenn Morris <rgm@gnu.org>
23190
c0274801
GM
23191 * Makefile.in (AUTOGEN_VCS): New variable.
23192 (autoloads): Use $AUTOGEN_VCS.
23193
3f0f1700
GM
23194 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23195 * calendar/calendar.el (calendar-mode-map):
23196 Check for toolkit scroll bars. (Bug#8305)
23197
41ea9e48
CY
231982011-04-05 Chong Yidong <cyd@stupidchicken.com>
23199
23200 * minibuffer.el (completion-in-region--postch)
23201 (completion-in-region-mode): Remove unnecessary messages.
23202
6194c800
JB
232032011-04-05 Juanma Barranquero <lekktu@gmail.com>
23204
33256f14
JB
23205 * font-lock.el (font-lock-refresh-defaults):
23206 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23207 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23208
6194c800
JB
23209 * info.el (Info-directory-list, Info-read-node-name-2)
23210 (Info-split-parameter-string): Doc fixes.
23211 (Info-virtual-nodes): Reflow docstring.
23212 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23213 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23214 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23215 Fix typos in docstrings.
23216 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23217 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23218 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23219 (Info-restore-desktop-buffer): Mark unused parameters.
23220 (Info-directory-find-file, Info-directory-find-node)
23221 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23222 (Info-virtual-index-find-node, Info-apropos-find-file)
23223 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 23224 Mark unused parameters; fix typos in docstrings.
6194c800
JB
23225 (Info-virtual-index): Remove unused local variable `nodename'.
23226
b87a8200 232272011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 23228
b87a8200
DD
23229 * net/rcirc.el: Update my e-mail address.
23230 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 23231
3b2ff876
CY
232322011-04-05 Chong Yidong <cyd@stupidchicken.com>
23233
23234 * startup.el (command-line): Save the cursor's theme-face
23235 directly, instead of using face-override-spec.
23236
23237 * custom.el (load-theme): Minor optimization in assigning faces.
23238
8d17e7ca
JB
232392011-04-04 Juanma Barranquero <lekktu@gmail.com>
23240
23241 * help-fns.el (describe-variable): Complete all variables having
23242 documentation, including keywords.
23243 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23244
2fbc1934
JB
232452011-04-04 Juanma Barranquero <lekktu@gmail.com>
23246
23247 Convert to lexical-binding.
23248
23249 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23250 (bs--get-marked-string, bs--get-modified-string)
23251 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23252 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23253 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23254
23255 * ehelp.el (electric-help-execute-extended)
23256 (electric-help-ctrl-x-prefix):
23257 * hexl.el (hexl-revert-buffer-function):
23258 * linum.el (linum-after-change, linum-after-scroll):
23259 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23260
23261 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23262
74f50695
DU
232632011-04-04 Daiki Ueno <ueno@unixuser.org>
23264
23265 * epa-dired.el:
23266 * epa-mail.el:
23267 * epa-hook.el:
23268 * epa-file.el:
23269 * epa.el:
23270 * epg.el: Use lexical binding.
23271
c11325f7
CY
232722011-04-03 Chong Yidong <cyd@stupidchicken.com>
23273
0d9e9a12
CY
23274 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23275
c11325f7 23276 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23277 dictionary case for flyspell-mark-duplications-exceptions.
23278 Use regexp matching for languages.
c11325f7
CY
23279 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23280 default dictionary (Bug#7926).
23281
da91b5f2
CY
232822011-04-02 Chong Yidong <cyd@stupidchicken.com>
23283
099c39a4
JB
23284 * emacs-lisp/package.el (package--with-work-buffer):
23285 Recognize https URLs.
da91b5f2 23286
099c39a4
JB
23287 * net/network-stream.el: Move from gnus/proto-stream.el.
23288 Change prefix to network-stream throughout.
da91b5f2
CY
23289 (open-protocol-stream): Merge into open-network-stream, leaving
23290 open-protocol-stream as an alias. Handle nil BUFFER args.
23291
23292 * subr.el (open-network-stream): Move to net/network-stream.el.
23293
afa8e9f6
GM
232942011-04-02 Glenn Morris <rgm@gnu.org>
23295
1d2e369d
GM
23296 * find-dired.el (find-exec-terminator): New option.
23297 (find-ls-option): Test for -ls support.
23298 (find-ls-subdir-switches): Test for -b in find-ls-option.
23299 (find-dired, find-grep-dired): Doc fixes.
23300 (find-dired): Use find-exec-terminator.
23301
8abb7da8 23302 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23303 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23304 (find-name-arg): Remove purecopy.
8abb7da8 23305
f3ca7378
GM
23306 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23307 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23308 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23309 accordingly. Don't add the null-device if not needed.
23310
afa8e9f6
GM
23311 * files.el (save-some-buffers): Doc fix.
23312
35eae264
EZ
233132011-04-02 Eli Zaretskii <eliz@gnu.org>
23314
23315 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23316
26b51db5
JB
233172011-04-01 Juanma Barranquero <lekktu@gmail.com>
23318
23319 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23320 Use `dolist' rather than `mapcar'.
23321
7200d79c
SM
233222011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23323
03408648 23324 Add lexical binding.
7200d79c 23325
03408648
SM
23326 * subr.el (apply-partially): Use new closures rather than CL.
23327 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23328 (dolist, dotimes): Use slightly different expansion for lexical code.
23329 (functionp): Move to C.
23330 (letrec): New macro.
23331 (with-wrapper-hook): Use it and apply-partially instead of CL.
23332 (eval-after-load): Preserve lexical-binding.
23333 (save-window-excursion, with-output-to-temp-buffer): Turn them
23334 into macros.
7200d79c 23335
03408648
SM
23336 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23337
23338 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23339 than the arglist.
23340 (help-add-fundoc-usage): Don't add `Not documented'.
23341 (help-function-arglist): Handle closures, subroutines, and new
23342 byte-code-functions.
23343 (help-make-usage): Remove leading underscores.
23344 (describe-function-1): Handle closures.
23345 (describe-variable): Use special-variable-p for completion.
23346
23347 * files.el (lexical-binding): Declare safe.
f488fb65 23348
03408648
SM
23349 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23350 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23351 (pcase): Add `let' pattern.
23352 Change memoization so it actually works.
23353 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23354 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23355 <let>: New case.
f488fb65 23356
03408648
SM
23357 * emacs-lisp/macroexp.el: Use lexical binding.
23358 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23359 Don't convert ' to #' without checking that it's indeed quoting
23360 a lambda.
23361
23362 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23363 Use eval-sexp-add-defvars.
03408648
SM
23364 (eval-sexp-add-defvars): New fun.
23365
23366 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23367
23368 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23369 Don't autoload.
23370 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23371 than the internal `byte-compile-lambda'.
23372 (defmethod): Don't hide code under quotes.
23373 (eieio-defmethod): New `code' argument.
23374
23375 * emacs-lisp/eieio-comp.el: Remove.
23376
23377 * emacs-lisp/edebug.el (edebug-eval-defun)
23378 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23379 (edebug-toggle): Avoid `eval'.
23380
23381 * emacs-lisp/disass.el (disassemble-internal): Handle new
23382 `closure' objects.
23383 (disassemble-1): Handle new byte codes.
23384
23385 * emacs-lisp/cl.el (pushnew): Silence warning.
23386
23387 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23388 (cl-byte-compile-throw): Remove.
23389 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23390
23391 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23392 closures.
23393
23394 * emacs-lisp/cconv.el: New file.
23395
23396 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23397 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23398 (byte-compile-initial-macro-environment):
23399 Handle declare-function here.
23400 (byte-compile--lexical-environment): New var.
23401 (byte-stack-ref, byte-stack-set, byte-discardN)
23402 (byte-discardN-preserve-tos): New lap codes.
23403 (byte-interactive-p): Don't use any more.
23404 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23405 New macros.
23406 (byte-compile-lapcode): Use them and handle new lap codes.
23407 (byte-compile-obsolete): Remove.
23408 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23409 (byte-compile-arglist-warn): Check late def of inlinable funs.
23410 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23411 since they should have been expanded by now.
23412 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23413 (byte-compile-from-buffer): Remove unused second arg.
23414 (byte-compile-preprocess): New function.
23415 (byte-compile-toplevel-file-form): New function to distinguish
23416 file-form calls from outside from file-form calls from hunk-handlers.
23417 (byte-compile-file-form): Simplify.
23418 (byte-compile-file-form-defsubst): Remove.
23419 (byte-compile-file-form-defmumble): Simplify now that
23420 byte-compile-lambda always returns a byte-code-function.
23421 (byte-compile): Preprocess.
23422 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23423 Remove, not used any more.
23424 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23425 (byte-compile-make-args-desc): New funs.
23426 (byte-compile-lambda): Handle lexical functions. Always return
23427 a byte-code-function.
23428 (byte-compile-reserved-constants): New var, to make up room for
23429 closed-over variables.
23430 (byte-compile-constants-vector): Obey it.
23431 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23432 (byte-compile-macroexpand-declare-function): New function.
23433 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23434 byte-code-functions.
23435 (byte-compile-form): Check obsolescence here.
23436 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23437 (byte-compile-variable-ref): Remove.
23438 (byte-compile-dynamic-variable-op): New fun.
23439 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23440 (byte-compile-variable-set): New funs.
23441 (byte-compile-discard): Add 2 args.
23442 (byte-compile-stack-ref, byte-compile-stack-set)
23443 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23444 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23445 macroexpand-all instead.
23446 (byte-compile-quote-form): Remove.
23447 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23448 (byte-compile-bind, byte-compile-unbind): New funs.
23449 (byte-compile-let): Handle let* and lexical binding.
23450 (byte-compile-let*): Remove.
23451 (byte-compile-catch, byte-compile-unwind-protect)
23452 (byte-compile-track-mouse, byte-compile-condition-case):
23453 Handle a new :fun-body form, used for lexical scoping.
23454 (byte-compile-save-window-excursion)
23455 (byte-compile-with-output-to-temp-buffer): Remove.
23456 (byte-compile-defun): Simplify.
23457 (byte-compile-stack-adjustment): New fun.
23458 (byte-compile-out): Use it.
23459 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23460
23461 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23462 handler any more.
23463
23464 * emacs-lisp/byte-opt.el: Use lexical binding.
23465 (byte-inline-lapcode): Remove (to bytecomp).
23466 (byte-compile-inline-expand): Pay attention to inlining to/from
23467 lexically bound code.
23468 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23469 any more.
23470 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23471 any more and don't call compiler-macros.
23472 (byte-compile-splice-in-already-compiled-code): Remove.
23473 (byte-code): Don't inline any more.
23474 (disassemble-offset): Receive `bytes' as argument rather than via
23475 dynamic scoping.
23476 (byte-compile-tag-number): Declare before first use.
23477 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23478 `return' even if make-spliceable.
23479 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23480 obsolete interactive-p.
23481 (byte-optimize-lapcode): Optimize new lap-codes.
23482 Don't trip up on new form of `byte-constant' lap code.
23483
23484 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23485
23486 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23487
23488 * custom.el (custom-initialize-default, custom-declare-variable):
23489 Use `defvar'.
23490
23491 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23492 New variables.
23493 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23494 (COMPILE_FIRST): Add macroexp and cconv.
23495 * makefile.w32-in: Mirror changes in Makefile.in.
23496
23497 * vc/cvs-status.el:
23498 * vc/diff-mode.el:
23499 * vc/log-edit.el:
23500 * vc/log-view.el:
23501 * vc/smerge-mode.el:
23502 * textmodes/bibtex-style.el:
090bd7cb 23503 * textmodes/css-mode.el:
03408648
SM
23504 * startup.el:
23505 * uniquify.el:
da91b5f2
CY
23506 * minibuffer.el:
23507 * newcomment.el:
23508 * reveal.el:
23509 * server.el:
23510 * mpc.el:
23511 * emacs-lisp/smie.el:
23512 * doc-view.el:
23513 * dired.el:
03408648
SM
23514 * abbrev.el: Use lexical binding.
23515
0f0c1f27
EZ
235162011-04-01 Eli Zaretskii <eliz@gnu.org>
23517
23518 * info.el (info-display-manual): New function.
23519
c82b2579
SM
235202011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23521
23522 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23523
221ddf68
TH
235242011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23525
23526 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23527 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23528
cba6e77e
GM
235292011-03-31 Glenn Morris <rgm@gnu.org>
23530
e040639f
GM
23531 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23532
cba6e77e
GM
23533 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23534
6d0f1c9e
CS
235352011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23536
23537 * progmodes/python.el (python-default-interpreter)
23538 (python-python-command-args, python-jython-command-args)
23539 (python-which-shell, python-which-args, python-which-bufname)
23540 (python-file-queue, python-comint-output-filter-function)
23541 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23542 variables and functions.
23543
3e2d70fd
SM
235442011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23545
23546 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23547 (completion-in-region-mode): New minor mode.
23548 (completion-in-region): Use it.
23549 (completion-in-region--data, completion-in-region-mode-map): New vars.
23550 (completion-in-region--postch): New function.
23551 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23552 New vars.
23553 (completion--capf-wrapper): New function.
23554 (completion-at-point): Use it to track well-behavedness of
23555 hook functions.
23556 (completion-help-at-point): New command.
23557
f3e4086c
JM
235582011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23559
23560 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23561 syntax class to search for whitespace on a single line
23562 (Message-ID: <4D938140.4030905@redhat.com>).
23563
eb7ffc14
LL
235642011-03-30 Leo Liu <sdl.web@gmail.com>
23565
23566 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23567 New commands.
23568 (edit-abbrevs-map): Bind them here.
23569 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23570
d806ab68
KM
235712011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23572
23573 * allout.el (allout-hide-by-annotation, allout-flag-region):
23574 Reduce possibility of overlay leakage by making them volatile.
23575
23576 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23577 hash is not shared between buffers. Mode initialization is
23578 responsible for giving it a useful starting value.
23579 (allout-item-span): Reduce possibility of overlay leakage by
23580 making them volatile.
23581 (allout-widgets-count-buttons-in-region): Add diagnostic function
23582 for tracking down button overlay leaks.
23583
ea622834
LL
235842011-03-29 Leo Liu <sdl.web@gmail.com>
23585
23586 * ido.el (ido-read-internal): Use the default history var
23587 minibuffer-history if no HISTORY is specified.
23588
b62f8267
G
235892011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23590
03408648
SM
23591 * net/imap.el (imap-shell-open, imap-process-connection-type):
23592 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23593 Kerberos, SSL, other subprocesses.
23594
947b6566
LL
235952011-03-28 Leo Liu <sdl.web@gmail.com>
23596
23597 * abbrev.el (abbrev-table-empty-p): New function.
23598 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23599 nonempty ones. (Bug#5937)
23600
5ffb62aa
JD
236012011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23602
23603 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23604
7a097943
LL
236052011-03-27 Leo Liu <sdl.web@gmail.com>
23606
23607 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23608 for foreground and background colors.
23609 (ansi-color-make-color-map): Adapt.
23610
c5b40130
LL
236112011-03-25 Leo Liu <sdl.web@gmail.com>
23612
1f48f7d2
LL
23613 * midnight.el (midnight-time-float): Remove. Note it calculates
23614 the microsecond component incorrectly and seconds-to-time does the
23615 same job.
625897ec 23616 Remove redundant (require 'timer).
1f48f7d2 23617
c5b40130
LL
23618 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23619 (ido-completions): Remove unused arguments. (Bug#8329)
23620
d86d2721
SM
236212011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23622
23623 * minibuffer.el (completion--flush-all-sorted-completions):
23624 Remove itself from hook.
23625 (completion-at-point): Let the functions perform the completion
23626 immediately and return nil or t.
23627 * comint.el (comint-dynamic-complete-functions): Now identical to
23628 completion-at-point-functions.
23629 (comint-dynamic-list-input-ring): Remove unused var `index'.
23630 (comint--match-partial-filename, comint--unquote&expand-filename):
23631 New funs, split from comint-match-partial-filename.
23632 (comint-dynamic-complete): Use completion-at-point.
23633 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23634
e8974c48
DA
236352011-03-24 Drew Adams <drew.adams@oracle.com>
23636
23637 * thingatpt.el: Support `defun'.
23638
def71b5e
LL
236392011-03-23 Leo Liu <sdl.web@gmail.com>
23640
cb5af48e
LL
23641 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23642
def71b5e
LL
23643 * help-mode.el (help-mode-finish): Tweak regexp.
23644
927c53e7
GM
236452011-03-23 Glenn Morris <rgm@gnu.org>
23646
18d05bed
GM
23647 * eshell/esh-opt.el (eshell-eval-using-options):
23648 Do not bind unused local variable `eshell-option-stub'.
23649
927c53e7
GM
23650 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23651
9d0da923
JB
236522011-03-22 Juanma Barranquero <lekktu@gmail.com>
23653
23654 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23655 keymap variable in `with-no-warnings' to avoid a warning when the
23656 keymap has been already `defconst'ed.
23657
4b978a67
LL
236582011-03-22 Leo Liu <sdl.web@gmail.com>
23659
23660 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23661 encode all chars in abbrevs; otherwise use emacs-mule or
23662 utf-8-emacs. (Bug#8308)
23663
5fd62452
JB
236642011-03-22 Juanma Barranquero <lekktu@gmail.com>
23665
0b1596c6
JB
23666 * simple.el (backward-delete-char-untabify):
23667 Avoid warning about using `delete-backward-char'.
23668
5fd62452
JB
23669 * image.el (image-type-file-name-regexps): Make it variable.
23670 `imagemagick-register-types' modifies it, and the user may want
23671 to add new extensions for known image types.
23672 (imagemagick-register-types): Throw error if not using ImageMagick.
23673
0b4e93f1
LL
236742011-03-22 Leo Liu <sdl.web@gmail.com>
23675
23676 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23677 located before rcirc-prompt-end-marker.
23678 (rcirc-complete): Error if point is not after rcirc prompt.
23679 Handle the case when table is nil.
9882e214 23680 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23681
fccee4ab
CY
236822011-03-22 Chong Yidong <cyd@stupidchicken.com>
23683
23684 * custom.el (custom--inhibit-theme-enable): Make it affect only
23685 custom-theme-set-variables and custom-theme-set-faces.
23686 (provide-theme): Ignore custom--inhibit-theme-enable.
23687 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23688 (custom-enabling-themes): Delete variable.
d86d2721
SM
23689 (enable-theme): Accept only loaded themes as arguments.
23690 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23691 (custom-enabled-themes): Forbid themes from setting this.
23692 Eliminate use of custom-enabling-themes.
23693 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23694
af896da6
LL
236952011-03-21 Leo Liu <sdl.web@gmail.com>
23696
23697 * ido.el (ido-read-internal): Add ido-selected to history instead
23698 of user input.
23699
78f64af0
SM
237002011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23701
23702 * subr.el (deferred-action-list, deferred-action-function):
23703 Mark obsolete.
23704
b16ac1ec
LL
237052011-03-21 Leo Liu <sdl.web@gmail.com>
23706
810f7698
LL
23707 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23708 change on 2011-02-13 (bug#8309).
23709
b16ac1ec
LL
23710 * minibuffer.el (read-file-name-function): Change default value.
23711 (read-file-name--defaults): Rename from read-file-name-defaults.
23712 (read-file-name-default): Rename from read-file-name.
23713 (read-file-name): Call read-file-name-function.
23714
4e05e67e
GM
237152011-03-21 Glenn Morris <rgm@gnu.org>
23716
23717 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23718 Doc fixes.
23719
4359915b
CY
237202011-03-21 Chong Yidong <cyd@stupidchicken.com>
23721
23722 * cus-theme.el: Add missing provide statement.
23723 (customize-create-theme): Extract theme value correctly.
23724 (custom-theme-visit-theme): Autoload.
23725 (customize-create-theme): Prompt before inserting default faces.
23726
1fe275ee
JB
237272011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23728
23729 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23730 units and musical notes.
23731
cd394be1 237322011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23733
23734 * ido.el (ido-read-internal): Use completing-read-default.
23735 (ido-completing-read): Fix compatibility with completing-read.
23736
7d476bde
CO
237372011-03-20 Christian Ohler <ohler@gnu.org>
23738
23739 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23740 (ert-delete-all-tests): Use `called-interactively-p' rather than
23741 `interactive-p'.
23742 (ert--make-xrefs-region): Respect END.
23743
fe0fb33e
CY
237442011-03-19 Chong Yidong <cyd@stupidchicken.com>
23745
ff854b0b
CY
23746 * dired-aux.el (dired-create-directory): Signal an error if the
23747 directory already exists (Bug#8246).
23748
fe0fb33e
CY
23749 * facemenu.el (list-colors-display): Call list-faces-display
23750 inside with-help-window.
23751 (list-colors-print): Use display property to align the final
23752 column, instead of checking window-width.
23753
576bce32
EZ
237542011-03-19 Eli Zaretskii <eliz@gnu.org>
23755
4d61f28d 23756 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23757 windows-nt systems.
23758 (emerge-protect-metachars): Quote correctly for ms-dos and
23759 windows-nt systems.
23760
89c41d68 237612011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23762
23763 * info.el (info-initialize): Replace all uses of `:' with
23764 path-separator for compatibility with non-Unix systems.
23765 Cache quoting of path-separator. (Bug#8258)
23766
b14e3e21 237672011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23768
23769 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23770 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23771 (mouse-avoidance-mode): Fix typos in docstrings.
23772
4525ce3e
CY
237732011-03-19 Chong Yidong <cyd@stupidchicken.com>
23774
23775 * startup.el (package-subdirectory-regexp): Move from package.el.
23776 Omit \\` and \\', and let callers add them.
23777
23778 * emacs-lisp/package.el (package-strip-version)
23779 (package-load-all-descriptors): Add \\` and \\' to
23780 package-subdirectory-regexp before using it.
23781 (package-untar-buffer): New arg DIR; ensure that file untars only
23782 into this expected directory. Remove superfluous delete-region.
23783 (package-unpack): Caller changed.
23784 (package-tar-file-info): Use package-subdirectory-regexp.
23785
a904a09a 237862011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23787
a904a09a
SM
23788 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23789 diff-mode-shared-map (bug#8284).
23790 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23791
237922011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23793
23794 * calendar/time-date.el (format-seconds): Use assoc instead of
23795 assoc-string, since assoc-string doesn't exist in XEmacs.
23796
171fc304
JB
237972011-03-17 Juanma Barranquero <lekktu@gmail.com>
23798
23799 * custom.el (custom-known-themes): Reflow docstring.
23800 (custom-theme-load-path): Fix typo in docstring.
23801 (load-theme): Fix typo in error message.
23802 (custom-available-themes, custom-variable-theme-value):
23803 Use `let', not `let*'.
23804
d71990a1
JB
238052011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23806
23807 * calc/README: Mention inclusion of musical notes.
23808
23809 * calc/calc-units.el (calc-lu-quant): Rename from
23810 `calc-logunits-quantity'.
23811 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23812 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23813 (calc-db): Rename from `calc-dblevel'.
23814 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23815 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23816 (calc-np): Rename from `calc-nplevel'.
23817 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23818 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23819 (calc-lu-plus): Rename from `calc-logunits-add'.
23820 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23821 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23822 (calc-lu-minus): Rename from `calc-logunits-sub'.
23823 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23824 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23825 (calc-lu-times): Rename from `calc-logunits-mul'.
23826 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23827 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23828 (calc-lu-divide): Rename from `calc-logunits-div'.
23829 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23830 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23831
23832 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23833 functions being autoloaded.
23834
23835 * calc/calc.el (calc-lu-power-reference): Rename from
23836 `calc-logunits-power-reference'.
23837 (calc-lu-field-reference): Rename from
23838 `calc-logunits-field-reference'.
23839
7a71b18d
GM
23840 * calc/calc-help.el (calc-l-prefix-help):
23841 Mention musical note functions.
d71990a1 23842
40c2934b
SM
238432011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23844
23845 * minibuffer.el (completion-all-sorted-completions):
23846 Use :completion-cycle-penalty text property if present.
23847
b0911414
KM
238482011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23849
23850 * allout.el (allout-yank-processing): Adjust for new rebulleting
23851 regime so bullet being yanked is used without prompting the user
23852 for a choice.
23853
8a05b668
JB
238542011-03-16 Juanma Barranquero <lekktu@gmail.com>
23855
23856 * startup.el (command-line): Warn the user that _emacs is deprecated.
23857
5ba5fb81
JB
238582011-03-16 Juanma Barranquero <lekktu@gmail.com>
23859
23860 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23861 (delphi-verbose, delphi-comment-face, delphi-string-face)
23862 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23863 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23864 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23865 (delphi-new-comment-line, delphi-font-lock-defaults)
23866 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23867 Fix typos in docstrings.
23868
2dab465b
KM
238692011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23870
5ba5fb81 23871 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23872 Invert the roles of character and string values for INSTEAD, so a
23873 string is used for the more common case of a defaulting prompt.
23874
0adf5618
SM
238752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23876
23877 * progmodes/ruby-mode.el (ruby-backward-sexp):
23878 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23879 * play/gamegrid.el (gamegrid-make-face):
23880 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23881 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23882 * notifications.el (notifications-notify):
23883 * net/xesam.el (xesam-search-engines):
23884 * net/quickurl.el (quickurl-list-insert):
23885 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23886
d72700e5
CY
238872011-03-15 Chong Yidong <cyd@stupidchicken.com>
23888
23889 * startup.el (command-line): Update package subdirectory regexp.
23890
49c5410a
SM
238912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23892
c6eee9aa
SM
23893 * allout.el (allout-abbreviate-flattened-numbering)
23894 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23895
49c5410a
SM
23896 * subr.el (read-char-choice): Only show the cursor after the prompt,
23897 not after the answer.
23898
047b2bb9
KR
238992011-03-15 Kevin Ryde <user42@zip.com.au>
23900
23901 * help-fns.el (variable-at-point): Skip leading quotes, if any
23902 (bug#8253).
23903
0a57d256
SM
239042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23905
23906 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23907 warning message.
23908
77c992bc
MA
239092011-03-14 Michael Albinus <michael.albinus@gmx.de>
23910
23911 * shell.el (shell): When called interactively, offer to change the
23912 shell file name on remote hosts.
23913
eebc475d
TZ
239142011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23915
23916 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23917 integration for LDAP parameters. The host, base, user or binddn,
23918 and secret tokens can be specified in a netrc file, for instance.
23919 This is optional because an `auth-source' parameter must be
23920 specified in the search attributes.
23921
9d05d1ba
JB
239222011-03-13 Juanma Barranquero <lekktu@gmail.com>
23923
23924 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23925
09d9db2c
GM
239262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23927
23928 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23929 into declaration. Remove redundant and harmful binding.
23930
239312011-03-12 Eli Zaretskii <eliz@gnu.org>
23932
23933 * files.el (file-ownership-preserved-p): Pass `integer' as an
23934 explicit 2nd argument to `file-attributes'. If the file's owner
23935 is the Administrators group on Windows, and the current user is
23936 Administrator, consider that a match.
23937
23938 * server.el (server-ensure-safe-dir): Consider server directory
23939 safe on MS-Windows if its owner is the Administrators group while
23940 the current Emacs user is Administrator. Use `=' to compare
23941 numerical UIDs, since they could be integers or floats.
23942
219bd536
JB
239432011-03-12 Juanma Barranquero <lekktu@gmail.com>
23944
23945 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23946
f3afd36b
MA
239472011-03-12 Michael Albinus <michael.albinus@gmx.de>
23948
23949 Sync with Tramp 2.2.1.
23950
23951 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23952
23953 * net/trampver.el: Update release number.
23954
3aaaa6f1
SM
239552011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23956
94642599
SM
23957 * progmodes/compile.el (compilation--previous-directory): Fix up
23958 various nil/dead-marker mismatches (bug#8014).
23959 (compilation-directory-properties, compilation-error-properties):
23960 Don't call it at a position past the one we're about to change.
23961
3aaaa6f1
SM
23962 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23963 Disable obsolescence warnings in the file that declares it.
23964
14239447
KM
239652011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23966
099c39a4
JB
23967 * allout-widgets.el (allout-widgets-tally):
23968 Initialize allout-widgets-tally as a hash table rather than nil to
23969 prevent mode-line redisplay warnings. Also, clarify the module
23970 description and fix a comment typo.
14239447 23971
135e287c
JB
239722011-03-11 Juanma Barranquero <lekktu@gmail.com>
23973
23974 * help-fns.el (describe-variable): Don't complete keywords.
23975 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23976
ffbf300e
CY
239772011-03-10 Chong Yidong <cyd@stupidchicken.com>
23978
ba08b241
CY
23979 * emacs-lisp/package.el (package-version-join): Impose a standard
23980 string representation for pre/alpha/beta version lists.
23981 (package-unpack-single): Standardize the directory name by passing
23982 it through package-version-join.
23983 (package-strip-rcs-id): Accept any version string that does not
23984 signal an error in version-to-list.
ffbf300e 23985
f346fd6b
MA
239862011-03-10 Michael Albinus <michael.albinus@gmx.de>
23987
23988 * simple.el (delete-trailing-whitespace): Return nil for the
23989 benefit of `write-file-functions'.
23990
ccb55d27
GM
239912011-03-10 Glenn Morris <rgm@gnu.org>
23992
5ceaac0c
GM
23993 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23994
02da65ff
GM
23995 * vc/vc-git.el (vc-git-program): New option.
23996 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23997 (vc-git--call): Use it.
23998
b2f603cc
GM
23999 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24000
5772caab
GM
24001 * cus-edit.el (Custom-newline): If no button at point, look
24002 for a subgroup button at start-of-line. (Bug#2298)
24003
ccb55d27
GM
24004 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24005
ec6ecaed
JD
240062011-03-10 Julien Danjou <julien@danjou.info>
24007
24008 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24009 `cursor-type' is nil.
24010
9d5aa01d
JB
240112011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24012
24013 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24014
b6a5875b
KM
240152011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24016
7a71b18d 24017 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
24018 preserves the existing header prefix, rebulleting it if necessary,
24019 rather than replacing it. This is necessary for proper operation
24020 of cooperative addons like allout-widgets.
1154d12e
JB
24021 (allout-make-topic-prefix, allout-rebullet-heading):
24022 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24023 value as alternate bullet to be used, instead of prompting the user
24024 for a bullet character.
b6a5875b 24025
ee545c35
MA
240262011-03-09 Michael Albinus <michael.albinus@gmx.de>
24027
d86d2721
SM
24028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24029 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
24030 `tramp-default-port'.
24031
c47971d7
DD
240322011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24033
24034 * net/rcirc.el (rcirc-handler-001): Remove useless
24035 with-rcirc-process-buffer.
24036 (rcirc-check-auth-status): Swap arguments to string-match.
24037
13522cb4
GM
240382011-03-09 Glenn Morris <rgm@gnu.org>
24039
0be6f4f1
GM
24040 * shell.el (shell-mode):
24041 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24042
13522cb4
GM
24043 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24044 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24045
515de2e3
CY
240462011-03-08 Chong Yidong <cyd@stupidchicken.com>
24047
24048 * emacs-lisp/package.el (package-refresh-contents)
24049 (package-menu-execute): Use condition-case-no-debug.
24050
b511b994
MA
240512011-03-08 Michael Albinus <michael.albinus@gmx.de>
24052
24053 * simple.el (shell-command-to-string): Use `process-file'.
24054
24055 * emacs-lisp/package.el (package-tar-file-info): Handle also
24056 remote files.
24057
d86d2721
SM
24058 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24059 Use `equal' for upload base check.
b511b994 24060
25bbfb31
AM
240612011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24062
24063 * textmodes/texinfo.el (texinfo-environments):
24064 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24065
be996521
GM
240662011-03-08 Glenn Morris <rgm@gnu.org>
24067
e9c8529f
GM
24068 * cus-start.el (cursor-in-non-selected-windows):
24069 Fix :set quoting oddness. (Bug#8192)
24070
be996521
GM
24071 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24072 in some setf expressions. (Bug#2159)
24073
2bb5649e
CY
240742011-03-08 Chong Yidong <cyd@stupidchicken.com>
24075
24076 * custom.el (custom-available-themes): Return themes in
24077 alphabetical order.
24078
33383987 24079See ChangeLog.15 for earlier changes.
e3d51b27
MR
24080
24081;; Local Variables:
24082;; coding: utf-8
e3d51b27
MR
24083;; End:
24084
ab422c4d 24085 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
24086
24087 This file is part of GNU Emacs.
24088
24089 GNU Emacs is free software: you can redistribute it and/or modify
24090 it under the terms of the GNU General Public License as published by
24091 the Free Software Foundation, either version 3 of the License, or
24092 (at your option) any later version.
24093
24094 GNU Emacs is distributed in the hope that it will be useful,
24095 but WITHOUT ANY WARRANTY; without even the implied warranty of
24096 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24097 GNU General Public License for more details.
24098
24099 You should have received a copy of the GNU General Public License
24100 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.