* lisp/profiler.el (profiler-report-mode-map): Add a restart menu entry.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3505fa02
GM
12013-02-05 Glenn Morris <rgm@gnu.org>
2
ed746aa7
GM
3 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4
3505fa02
GM
5 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6 Fix directory creation in fallback case.
7
50fdf399
TV
82013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9
10 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
11 (vc-update-change-log): Use dolist.
12
6e5c1569
CY
132013-02-04 Chong Yidong <cyd@gnu.org>
14
15 * thingatpt.el: Rewrite the URL detection routines, absorbing some
16 code from ffap.el.
17 (thing-at-point-beginning-of-url-regexp): New var.
18 (thing-at-point-uri-schemes): Update list of URI schemes.
19 (thing-at-point-url-regexp): Variable deleted.
20 (thing-at-point-markedup-url-regexp): Disallow newlines.
21 (thing-at-point-newsgroup-regexp)
22 (thing-at-point-newsgroup-heads)
23 (thing-at-point-default-mail-uri-scheme): New variables.
24 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
25 method to find the possible bounds of the URI at point.
26 New optional argument to find ill-formed URIs.
6e5c1569
CY
27 (thing-at-point-url-at-point): Rewrite. New arguments for finding
28 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
29 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
30 (thing-at-point--bounds-of-well-formed-url): New function.
31 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
32 (Bug#9153).
33
34 * ffap.el: Require thingatpt.
35 (ffap-url-at-point): Delegate URI detection to thing-at-point.
36 All URI-valid characters are now recognized (Bug#5673).
37 (ffap-string-at-point): Use use-region-p.
38 (ffap-url-regexp): Extra character is handled by thing-at-point.
39 (ffap-string-at-point-mode-alist): Allow parentheses.
40 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
41 Convert to aliases; code moved to thingatpt.el.
42 (ffap-gnus-hook): Use setq-local.
43
84a06b50
GM
442013-02-04 Glenn Morris <rgm@gnu.org>
45
46 * emacs-lisp/ert.el (ert--explain-format-atom):
47 Don't try to print non-characters as characters. (Bug#13543)
48
5870b2b1
MA
492013-02-03 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp.el (tramp-debug-message): Extend function exclude list.
52 (tramp-backtrace): New defun.
53 (tramp-handle-insert-file-contents): Use `visit' when inserting
54 the local copy.
55
50fdf399
TV
56 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
57 Use `remote-file-name-inhibit-cache'.
5870b2b1 58
659a9010
SM
592013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
60
4813c453
SM
61 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
62 (bug#13614).
63
659a9010
SM
64 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
65 current-load-list (bug#13366).
66
35114711
CS
672013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
68
69 * progmodes/compile.el (compilation-error-regexp-alist-alist):
70 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
71 (compilation-mode-hook, compilation-start-hook)
72 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 73
94fbc901 742013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
75
76 * mouse.el (mouse-drag-track): Always deactivate the mark before
77 running the final event's command since that command is in charge of
78 activating the mark if needed (bug#13523).
79
94fbc901 802013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
81
82 * replace.el (perform-replace): Move let-bindings of isearch-*
83 variables deeper to the loop that searches for the next match.
84 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
85 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
86 (Bug#13579)
87
88 * isearch.el (isearch-search-fun-default): Check for null
89 first element of isearch-cmds as a precaution when it's used
90 with inactive isearch.
91
94fbc901 922013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
93
94 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
95 error when buffer in question is narrowed so position 1 is out of
96 visible part.
97
94fbc901 982013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
99
100 * textmodes/remember.el (remember-clipboard): Doc fix.
101
94fbc901 1022013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
103
104 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
105 properties (bug#13179).
106
98da8c0f
JL
1072013-02-02 Juri Linkov <juri@jurta.org>
108
109 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
110 instead of hard-coded default face `match'. (Bug#9438)
111
7b6d5ecf
CS
1122012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
113
af314ba0
CS
114 * vc/vc-arch.el (vc-arch-registered):
115 * vc/vc-bzr.el (vc-bzr-registered):
116 * vc/vc-cvs.el (vc-cvs-registered):
117 * vc/vc-git.el (vc-git-registered):
118 * vc/vc-hg.el (vc-hg-registered):
119 * vc/vc-mtn.el (vc-mtn-registered):
120 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
121 (Bug#13139)
122
7b6d5ecf
CS
123 * info.el (Info-next-reference, Info-prev-reference): Add numeric
124 prefix argument. (Bug#11656)
125
686d9fb6
SM
1262013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
129
48c828b9
GM
1302013-02-01 Glenn Morris <rgm@gnu.org>
131
1f4f0f46
GM
132 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
133 if the backend is known not to support it.
134
48c828b9
GM
135 * imenu.el (imenu-default-create-index-function):
136 Tweak infinite loop test to check for forward motion as well as none.
137
cd87ae10
AH
1382013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
139
140 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
141 `url-request-data' as UTF-8.
142 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 143
86e100a6
GM
1442013-02-01 Glenn Morris <rgm@gnu.org>
145
146 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
147
0eb61895
GM
148 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
149
61642d9a
MA
1502013-01-31 Michael Albinus <michael.albinus@gmx.de>
151
152 * net/tramp.el (tramp-tramp-file-p): Comment check for
153 `string-as-unibyte'. The function does not exist on XEmacs, and
154 likely we need another approach.
155
156 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
157 `tramp-gw-*' variables are bound.
158
9dbda100
GM
1592013-01-31 Glenn Morris <rgm@gnu.org>
160
161 * files.el (basic-save-buffer-2): Choose coding system for
162 writing the file before backing it up, to reduce delay between
163 backing up and writing the new version. (Bug#13522)
164
ad4de702
MN
1652013-01-31 Michal Nazarewicz <mina86@mina86.com>
166
167 * simple.el (cycle-spacing): New command.
168 (just-one-space): Use it.
169
9ca243c6
SM
1702013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
171
c4f268a1
SM
172 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
173 (opascal-newline-always-indents): Remove custom.
174 (opascal-tab, opascal-newline): Remove commands.
175 (opascal-new-comment-line): Insert "\n" instead of calling newline.
176 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
177 (opascal-save-match-data): Remove, use save-match-data instead.
178 (opascal-save-state): Use with-silent-modifications.
179
9ca243c6
SM
180 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
181 (bug#13585).
182
64ced394
JL
1832013-01-30 Juri Linkov <juri@jurta.org>
184
185 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
186 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
187 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
188
c56d2269
SM
1892013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
192 column if we're just deleting the backslashes.
193 (makefile-fill-paragraph): Use eolp.
194
382936d1
MA
1952013-01-30 Michael Albinus <michael.albinus@gmx.de>
196
197 * autorevert.el (auto-revert-use-notify): Fix docstring.
198
dd331297
LL
1992013-01-30 Leo Liu <sdl.web@gmail.com>
200
686d9fb6 201 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 202
c491dd70
GM
2032013-01-30 Glenn Morris <rgm@gnu.org>
204
205 * mouse.el (mouse-drag-line): Avoid pushing same event onto
206 unread-command-events twice in some cases. This tries to implement
207 the 2012-07-26 changes in a different way. (Bug#13560)
208
6ff930c3
FEG
2092013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
210
211 * progmodes/python.el
212 (python-pdbtrack-comint-output-filter-function): Enhancements on
213 stacktrace detection. (thanks @gnovak)
214
1d4e7225
SM
2152013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
218 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
219 Use defvar-local.
220 (jit-lock-register): Use setq-local.
221
7c3fb76f
JB
2222013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
223
224 * calc-units.el (math-default-units-table): Remove initial value.
225 (calc-convert-units): Treat expressions where all the units cancel as
226 if they didn't have units.
227
8bc8712e
MA
2282013-01-30 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp.el (tramp-process-connection-type): Fix docstring.
231 (tramp-completion-reread-directory-timeout): Fix type.
232 (tramp-connection-min-time-diff): New defcustom.
233
234 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
235
1886a16d
GM
2362013-01-30 Glenn Morris <rgm@gnu.org>
237
238 * imenu.el (imenu-default-create-index-function):
239 Put back a version of the infinite loop test removed 2013-01-23.
240
3f82a88a 2412013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 242
1d4e7225
SM
243 * progmodes/python.el (python-shell-parse-command):
244 Find python-shell-interpreter with modified environment.
e4497086 245
3f82a88a 2462013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
247
248 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
249
953e5b8c
AM
2502013-01-29 Alan Mackenzie <acm@muc.de>
251
252 Amend to fontify /regexp/s in actions correctly.
253 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 254 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
255 are no longer included.
256 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
257 What used to be these variables without "-line" in the name.
686d9fb6 258 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
259 (c-awk-non-arith-op-bra-re): Now also matches {.
260 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
261 "return", and "case".
262 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
263 by /.
264 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 265 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 266
1b69262a
MA
2672013-01-29 Michael Albinus <michael.albinus@gmx.de>
268
1d4e7225
SM
269 * autorevert.el (auto-revert-use-notify):
270 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 271
1b69262a
MA
272 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
273
1d4e7225
SM
274 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
275 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 276 in `tramp-file-name-handler'.
ea55064c
MA
277 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
278 compatibility.
279 (tramp-compute-multi-hops): Check, whether
280 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 281
b2dc4f52
SM
2822013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
285 (bug#13297).
286
499572e4
DG
2872013-01-27 Dmitry Gutov <dgutov@yandex.ru>
288
289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
290 checks made superfluous by the \_< operator.
a324b8c7
DG
291 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
292 temporarily) broken indentation.
b2dc4f52
SM
293 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
294 Highlight nested constants, too. \_< broke that.
499572e4
DG
295
2962013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
297
298 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
299 instead of "\\b".
300
629cb6ec
MA
3012013-01-27 Michael Albinus <michael.albinus@gmx.de>
302
303 * autorevert.el (auto-revert-handler): Notifications which result
304 from a saved file shall not be taken into account. (Bug#13557)
305
cc17363f
AS
3062013-01-26 Andreas Schwab <schwab@linux-m68k.org>
307
308 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
309 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
310 (lisp-mode): Pass t for it. (Bug#13556)
311
b7aea0ff
AM
3122013-01-25 Alan Mackenzie <acm@muc.de>
313
314 AWK Mode: Fix indentation bug at top level. Bug #12274.
315
316 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
317 just before CASE 5D.
318
1314a64c
DA
3192013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
320
321 * net/socks.el (socks-nslookup-host): Use string-to-number.
322
ef3544f6
MA
3232013-01-25 Michael Albinus <michael.albinus@gmx.de>
324
325 * autorevert.el (auto-revert-remote-files)
326 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
327 (auto-revert-notify-enabled, auto-revert-use-notify)
328 (auto-revert-notify-watch-descriptor-hash-list)
329 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
330 (auto-revert-notify-event-descriptor)
331 (auto-revert-notify-event-action)
332 (auto-revert-notify-event-file-name): Doc fix.
333 (global-auto-revert-mode): Reorder checks.
334 (auto-revert-notify-rm-watch): Respect changed values of
335 `auto-revert-notify-watch-descriptor-hash-list'.
336 (auto-revert-notify-add-watch): Check for
337 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
338 `inotify-add-watch'. Watch `default-directory' instead of
339 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
340 has a changed meaning now. (Bug#13540)
341 (auto-revert-notify-handler): Change implementation wrt events
342 returning from a directory.
343 (auto-revert-handler): Reorder implementation for checks of remote
344 files.
345 (auto-revert-buffers): Fix parentheses error.
346
830e46e6 3472013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
348
349 * progmodes/python.el: Enhancements to header documentation about
350 skeletons. (Bug#5716)
351
ddc62155
FEG
352 * imenu.el (imenu-default-create-index-function): Remove useless
353 infinite loop check. (Bug#13438)
354
830e46e6 3552013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
356
357 Fix a bug in the state cache mechanism. Refactor this a bit.
358
359 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
360 `cache-pos' element from the return value.
361 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
362 buffer to enable proper searching from beyond HERE. Amend the
363 test for detecting the sought brace pair. Amend the value written
364 to the "brace desert cache" when the brace isn't found.
365 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
366 and several other variables analogously.
367 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
368 parameter to a locally calculated variable.
369 (c-parse-state-1): Change the calling conventions to the two
370 defuns involving `cache-pos'.
371
830e46e6 3722013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
373
374 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
375
3d4147ba
BG
3762013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
377
378 * paren.el (show-paren-function): Make sure to set 'priority and
379 'face only if the overlay does exist.
380
e1ffa412
MA
3812013-01-24 Michael Albinus <michael.albinus@gmx.de>
382
383 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
384
385 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
386 basic attributes.
387 (tramp-sh-handle-set-file-acl): Improve error checking.
388
5ad86e34
DA
3892013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
390
391 * doc-view.el (doc-view-display): Force mode line update until all
392 document is converted. Suggested by Stefan Monnier (Bug#13164).
393
d6f9c03f
BG
3942013-01-23 Bastien Guerry <bzg@gnu.org>
395
396 * paren.el (show-paren-function): Make sure an overlay exists
397 before trying to delete it. Also use `pos' as a position only
398 when it is an integer.
399
3544e11a
DA
4002013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
401
402 * play/gametree.el (gametree-break-line-here): Use point-marker.
403
19b50424
MA
4042013-01-22 Michael Albinus <michael.albinus@gmx.de>
405
b2dc4f52
SM
406 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
407 Mark descriptive parts with `display' property.
19b50424 408
7fd5a843
AM
4092013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
410
411 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
412 New variable to map standard dict names to hunspell ones.
413 (ispell-set-spellchecker-params): Make sure specific dict names
414 are used for standard dicts with hunspell.
415
e6aff855
TH
4162013-01-21 Tassilo Horn <tsdh@gnu.org>
417
418 * textmodes/reftex-cite.el (reftex-format-citation): Add format
419 chars for note (%N) and url (%U).
420 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
421
c84b0881
JL
4222013-01-21 Juri Linkov <juri@jurta.org>
423
424 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
425 in addition to existing separate binding `meta f10' in `global-map'.
426 (Bug#13484)
427
a36e2d26
MA
4282013-01-21 Michael Albinus <michael.albinus@gmx.de>
429
430 Improve XEmacs compatibility.
431
432 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
433
434 * net/tramp-adb.el (top): Require `time-date'.
435 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
436 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
437 Use `tramp-file-name-handler'.
438 (tramp-adb-maybe-open-connection):
439 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 440
b2dc4f52
SM
441 * net/tramp-sh.el (tramp-sh-handle-file-acl):
442 Use `tramp-compat-funcall'.
a36e2d26
MA
443
444 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
445 `tramp-compat-funcall'.
446
88c7dfa3
JH
4472013-01-21 Jürgen Hötzel <juergen@archlinux.org>
448
449 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
450 reimplementation using "adb shell command ..." instead of running
451 remote shell interactively.
452
15df6fa4
GM
4532013-01-20 Glenn Morris <rgm@gnu.org>
454
a576cc76
GM
455 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
456 Add native profiler menu entries.
457
15df6fa4
GM
458 * profiler.el (profiler-running-p): New function.
459 (profiler-cpu-profile): Use profiler-running-p.
460 (profiler-report-mode-map): Add some more menu entries.
461
c4d1e0c3
GM
4622013-01-19 Glenn Morris <rgm@gnu.org>
463
464 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
465 fixes 2012-12-07 change. (Bug#13499)
466
795e7a5b 4672013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
468
469 * dired.el (dired-get-marked-files): Prune erroneous values due to
470 last change. (Bug#13152)
471
795e7a5b 4722013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
473
474 * progmodes/etags.el (tags-table-check-computed-list):
475 Preserve point in tags buffer. (Bug#13412)
476
f8a42ad6
GM
477 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
478
20de6ab6
CW
4792013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
480 Chong Yidong <cyd@gnu.org>
481
b2dc4f52
SM
482 * image-mode.el (image-next-file, image-previous-file):
483 New commands (Bug#8453).
20de6ab6
CW
484 (image-mode-map): Bind them to n and p.
485 (image-mode--images-in-directory): New helper function.
486
2a43515a
CY
4872013-01-19 Chong Yidong <cyd@gnu.org>
488
489 * image-mode.el (image-mode-fit-frame): Add a frame argument.
490 Suggested by Drew Adams (Bug#7730). Handle window decorations;
491 save and restore the old window configuration.
492
b1170947
LL
4932013-01-18 Leo Liu <sdl.web@gmail.com>
494
495 * progmodes/js.el: Tweak autoload cookie for alias.
496
0eb87688
MA
4972013-01-17 Michael Albinus <michael.albinus@gmx.de>
498
499 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
500 buffer local, again. This was lost with the fix on 2013-01-12.
501
99d36ea8
JH
5022013-01-17 Jürgen Hötzel <juergen@archlinux.org>
503
504 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
505 order to support several eshell buffers in parallel.
506
68a08a32
MA
5072013-01-17 Michael Albinus <michael.albinus@gmx.de>
508
509 * autorevert.el (auto-revert-use-notify): In the :set function, do
510 not modify `kill-buffer-hook'.
b2dc4f52
SM
511 (auto-revert-notify-rm-watch):
512 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
513 (auto-revert-notify-add-watch): Do not call
514 `auto-revert-notify-rm-watch', but add it to a buffer local
515 `kill-buffer-hook'.
516
e59eee43
SM
5172013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
520 call to `eval' rather than a backquoted lambda.
521
6e8cd0ae
SM
5222013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
523
cb9c0a53
SM
524 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
525 to return an explicit nil.
526 (advice--remove-function): Change accordingly.
527
528 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
529 the use of nadvice.el.
530
6e8cd0ae
SM
531 * progmodes/which-func.el (which-function): Silence imenu errors
532 (bug#13433).
533
4586ce8a
MM
5342013-01-15 Michael R. Mauger <mmaug@yahoo.com>
535
6e8cd0ae 536 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
537 (sql-mode-font-lock-object-name): Match schema qualified names.
538 (sql-connect): Use string keys.
539 (sql-product-interactive): Wait for interpreter prompt.
540 (sql-comint-oracle): Set process coding based on NLS_LANG.
541
9d55215c
MM
5422013-01-15 Michael R. Mauger <mmaug@yahoo.com>
543
544 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
545 (sql-interactive-remove-continuation-prompt):
546 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 547
57dd9e68
LL
5482013-01-14 Leo Liu <sdl.web@gmail.com>
549
550 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
551 (Bug#13420)
552
51e73492
GM
5532013-01-14 Glenn Morris <rgm@gnu.org>
554
555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
556 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
557
c0511b57 5582013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 559
6e8cd0ae
SM
560 * progmodes/python.el (python-nav-end-of-statement):
561 Fix cornercase when handling multiline strings.
50620051 562
4c0a6d4a
RS
5632013-01-13 Richard Stallman <rms@gnu.org>
564
9f7e86ef
RS
565 * mail/sendmail.el (mail-position-on-field): Add doc string.
566
6e8cd0ae
SM
567 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
568 Get current message boundaries and pass them to
4c0a6d4a
RS
569 message-forward-make-body-mime. Minor style changes.
570
ad33a799
EZ
5712013-01-13 Eli Zaretskii <eliz@gnu.org>
572
573 * cus-start.el (all): Avoid warnings about
6e8cd0ae 574 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 575
616763d5
JD
5762013-01-11 Jan Djärv <jan.h.d@swipnet.se>
577
578 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
579
e5b5a34d
SM
5802013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * jit-lock.el (jit-lock-debug-mode): New minor mode.
583 (jit-lock--debug-fontifying): New var.
584 (jit-lock--debug-fontify): New function.
585 * subr.el (condition-case-unless-debug): Don't prevent catching the
586 error, just let the debbugger run.
587 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
588 timer code and don't drop errors silently.
589
2daddd9e
MA
5902013-01-12 Michael Albinus <michael.albinus@gmx.de>
591
592 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
593 `permanent-local' property.
71c661e4 594 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 595
86fbb162
EZ
5962013-01-12 Eli Zaretskii <eliz@gnu.org>
597
598 * autorevert.el (auto-revert-notify-handler): Fix filtering of
599 file notification by ACTION. For filtering by file name, compare
600 only the non-directory part of the file name.
601
a0784609
SM
6022013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
603
96c421bb
SM
604 * autorevert.el: Use cl-lib instead of cl.
605
a0784609
SM
606 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
607 (vc-bzr-checkin): Use it.
608 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
609 will preserve match-data.
610
f90ff906 6112013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 612
f90ff906
FD
613 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
614 (js--declaration-keyword-re): New var.
615 (js--multi-line-declaration-indentation): New function.
616 (js--proper-indentation): Use it.
9fc9a531 617
f90ff906 6182013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 619
f90ff906
FD
620 * calc/calc.el (calc-highlight-selections-with-faces)
621 (calc-dispatch):
622 * comint.el (comint-history-isearch-message):
623 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
624 * ffap.el (ffap-string-at-point-region, ffap-next)
625 (ffap-string-at-point, ffap-string-around)
626 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 627 (ffap-literally):
9fc9a531 628 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
629 (font-lock-removed-keywords-alist):
630 * help-mode.el (help-xref-symbol-regexp):
631 * info.el (Info-find-emacs-command-nodes):
632 * international/mule.el (add-to-coding-system-list):
633 * isearch.el (isearch-message-function, isearch-fail-pos):
634 * misearch.el (multi-isearch-next-buffer-function):
635 * newcomment.el (comment-box):
9fc9a531 636 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 637 (pr-setting-database):
9fc9a531
AH
638 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
639 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
640 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
641 (pike-font-lock-keywords-3):
642 * progmodes/compile.el (compile):
9fc9a531 643 * progmodes/etags.el (tags-table-files)
f90ff906 644 (tags-table-files-function, tags-included-tables-function):
9fc9a531 645 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 646 (gdb-restore-windows):
9fc9a531 647 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
648 (ps-n-up-filling-database):
649 * server.el (server-buffer, server-log):
9fc9a531
AH
650 * simple.el (newline, delete-backward-char, delete-forward-char)
651 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 652 (temporary-goal-column):
9fc9a531 653 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
654 (flyspell-default-deplacement-commands):
655 * textmodes/ispell.el (ispell-accept-output):
656 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 657 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
658 (compare-ignore-case, compare-windows-dehighlight):
659 * vc/diff.el (diff):
9fc9a531
AH
660 * whitespace.el (whitespace-point)
661 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 662 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 663
65adfa20
MA
6642013-01-11 Michael Albinus <michael.albinus@gmx.de>
665
666 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
667 (auto-revert-notify-rm-watch): Ignore errors.
668 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
669 inotify, and '(size last-write-time) for w32notify.
670 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
671 watch fails - this is a fallback to the file modification check.
672 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
673 (auto-revert-notify-event-action)
674 (auto-revert-notify-event-file-name): New defuns.
675 (auto-revert-notify-handler): Use them. Implement first
676 plausibility checks.
677 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
678
43b2e2e7
JD
6792013-01-11 Julien Danjou <julien@danjou.info>
680
681 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
682 max are almost equal. Also return the correct value for V which is
683 already between 0 and 1.
684
30818a23
DA
6852013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
686
687 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
688
10e714d5
EZ
6892013-01-11 Eli Zaretskii <eliz@gnu.org>
690
691 * autorevert.el (auto-revert-notify-rm-watch)
692 (auto-revert-notify-add-watch): Fix typos in w32notify function
693 names.
694
a778dd57
MA
6952013-01-10 Michael Albinus <michael.albinus@gmx.de>
696
697 * autorevert.el (auto-revert-notify-enabled): Move up.
698 (auto-revert-use-notify): New defcustom.
699 (auto-revert-mode, global-auto-revert-mode)
700 (auto-revert-notify-add-watch, auto-revert-handler)
701 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
702 `auto-revert-notify-enabled'.
703
72781fef
EP
7042013-01-10 Elias Pipping <pipping@exherbo.org>
705
706 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
707 * doc-view.el (doc-view-document->bitmap):
708 Use doc-view-single-page-converter-function instead of
709 single-page-converter arg; adjust callers.
710
e6ed8f08
FL
7112013-01-10 Feng Li <fengli@gmail.com> (tiny change)
712
713 * progmodes/which-func.el (which-function): Understand Semantic's use
714 of overlays in imenu--index-alist.
715
327a6cca
WJ
7162013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
717
718 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
719 (Man-man-k-use-anchor): New var.
720 (Man-parse-man-k): New function.
721 (Man-completion-table): Use it.
722 (man): Flush the completion cache between uses.
723
ed911257
MA
7242013-01-10 Michael Albinus <michael.albinus@gmx.de>
725
726 * autorevert.el: Add file watch support.
727 (auto-revert-notify-enabled): New defconst.
728 (auto-revert-notify-watch-descriptor-hash-list)
729 (auto-revert-notify-watch-descriptor)
730 (auto-revert-notify-modified-p): New defvars.
731 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
732 (auto-revert-notify-handler): New defuns.
733 (auto-revert-mode, global-auto-revert-mode): Remove file watches
734 when mode is disabled.
735 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
736 (auto-revert-buffers): Add file watches for active buffers.
737
58cc0a01
DA
7382013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
739
740 * cus-start.el (toplevel): Only allow float values for
741 scroll-up-aggressively and scroll-down-aggressively.
742 Allow any number for line-spacing.
743
bbc7ff25
SM
7442013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
747 (doc-view-pdf->png-converter-function): Use mupdf if available.
748 (doc-view-djvu->png-converter-function)
749 (doc-view-ps->png-converter-function): Remove.
750 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
751 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
752 (doc-view-already-converted-p): Adjust accordingly.
753 (doc-view-mode-p): Simplify.
754 (doc-view-enlarge): Use setq-local.
755 (doc-view-pdf->png-converter-ghostscript)
756 (doc-view-djvu->png-converter-ddjvu)
757 (doc-view-pdf->png-converter-mupdf): Rework to call
758 doc-view-start-process directly.
759 (doc-view-pdf/ps->png): Simplify accordingly.
760 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
761 (doc-view-document->bitmap): Rename from doc-view-document->png.
762 (doc-view-convert-current-doc): Merge pdf and djvu cases.
763 (doc-view-set-slice-from-bounding-box): Fix completion table.
764 (doc-view-mode): Use add-hook for after-revert-hook.
765
3c855b96
GM
7662013-01-10 Glenn Morris <rgm@gnu.org>
767
768 * emacs-lisp/authors.el (authors-ignored-files)
769 (authors-valid-file-names, authors-renamed-files-alist):
770 Add some more entries.
771
3f9549e8 7722013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
773
774 * image-mode.el (image-mode-winprops): Don't throw away the fallback
775 `t' pseudo-window entry.
776
3f9549e8 7772013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
778
779 Fix bugs in the c-parse-state mechanism. Reuse some markers
780 instead of continually generating new ones.
781
782 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
783 (c-state-old-cpp-end-marker): New variables.
784 (c-append-lower-brace-pair-to-state-cache): Start a backward
785 search for "}" definitively outside CPP constructs.
786 (c-remove-stale-state-cache): Inform the caller of a need to
787 search back for a brace pair in certain circumstances.
788 (c-state-maybe-marker): New macro.
789 (c-parse-state): Reuse markers when appropriate.
790
3f9549e8 7912013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
792
793 * simple.el (execute-extended-command): Doc fix.
794 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
795
3f9549e8 7962013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
797
798 * faces.el (read-face-name): Doc fix.
799
b14abca9
RW
8002013-01-10 Roland Winkler <winkler@gnu.org>
801
802 * emacs-lisp/crm.el: Allow any regexp for separators.
803 (crm-default-separator): All spaces around the default comma separator.
804 (crm--completion-command): New macro.
805 (crm-completion-help, crm-complete, crm-complete-word): Use it.
806 (crm-complete-and-exit): Handle non-single-char separators.
807
2b541f9a
EP
8082013-01-09 Elias Pipping <pipping@lavabit.com>
809
810 * doc-view.el: Add support for DjVu (bug#13164).
811 (doc-view-djvu->png-converter-function): New config var.
812 (doc-view-single-page-converter-function, doc-view--image-type)
813 (doc-view--image-file-extension): New vars.
814 (doc-view-mode): Initialize them.
815 (doc-view-goto-page): Use them.
816 (doc-view-mode-p): Add support for ddjvu.
817 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
818 (doc-view-set-up-single-converter): New funs.
819 (doc-view-pdf/ps->png): Extend for djvu.
820 (doc-view-document->png): Rename from doc-view-pdf->png.
821 (doc-view-convert-current-doc): Handle djvu.
822 (doc-view-insert-image, doc-view-display)
823 (doc-view-already-converted-p): Don't hardcode png.
824 (doc-view-set-doc-type): Recognize djvu docs.
825
85f17e35
EP
8262013-01-09 Elias Pipping <pipping@lavabit.com>
827
828 * doc-view.el: Add support for mupdf converter (bug#13164).
829 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
830 (doc-view-ps->png-converter-function): New config vars.
831 (doc-view-pdf->png-converter-ghostscript)
832 (doc-view-ps->png-converter-ghostscript)
833 (doc-view-pdf->png-converter-mupdf): New functions.
834 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
835
ccd04887
MA
8362013-01-09 Jürgen Hötzel <juergen@archlinux.org>
837
838 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
839 first in session cache: When `tramp-own-remote-path' is in
840 `tramp-remote-path', the remote path is only set in the session
841 cache.
842
c5ad92de
GM
8432013-01-09 Glenn Morris <rgm@gnu.org>
844
fb9f7146
GM
845 * emacs-lisp/trace.el (trace-function-foreground)
846 (trace-function-background): Doc fix.
c5ad92de 847
39a0786e
JL
8482013-01-09 Juri Linkov <juri@jurta.org>
849
850 * international/mule-cmds.el (read-char-by-name): Move let-binding
851 of completion-ignore-case around completing-read to fix regression
852 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
853 `string-match-p' using the nil value of `case-fold-search' and
854 `completion-ignore-case' in `completion-pcm--all-completions'.
855 (Bug#12615).
856
fb9f7146 8572013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
858
859 * progmodes/compile.el (compilation-parse-errors):
860 Fix typo. (Bug#13369)
861
fb9f7146 8622013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
863
864 * comint.el (comint-send-input): Check size of buffer before
865 waiting for process output, in case already accepted. (Bug#13290)
866
677d5c92
PE
8672013-01-09 Paul Eggert <eggert@cs.ucla.edu>
868
869 Spelling fixes.
870 * net/tramp-adb.el (tramp-adb-get-toolbox):
871 Fix misspelling of 'unknown'.
872
073ca75b
JL
8732013-01-08 Juri Linkov <juri@jurta.org>
874
875 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
876 * progmodes/flymake.el (flymake-errline, flymake-warnline):
877 Use underline style wave on terminals that support it. (Bug#13000)
878
a4648137
SM
8792013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
880
4bdc3526
SM
881 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
882 the predicate returns nil.
883
a4648137
SM
884 * simple.el: Use lexical-binding.
885 (primitive-undo): Use pcase.
886 (minibuffer-history-isearch-push-state): Use a closure.
887
3bace969
AH
8882013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
889
890 * simple.el (primitive-undo): Move from undo.c.
891
a731fc1b
SM
8922013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
893
1c851e98
SM
894 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
895 (cvs-mode-remove-handled): Use it (bug#13380).
896
a731fc1b
SM
897 * emacs-lisp/nadvice.el (advice--tweak): New function.
898 (advice--remove-function, advice--subst-main): Use it.
899
900 * emacs-lisp/advice.el: Update commentary.
901
2a22c83b
MA
9022013-01-08 Michael Albinus <michael.albinus@gmx.de>
903
a731fc1b
SM
904 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
905 Remove spurious entry.
2a22c83b 906
83c1803a
GM
9072013-01-08 Glenn Morris <rgm@gnu.org>
908
909 * net/tramp.el (tramp-default-host-alist): Add :version.
910
8a2e287c
JL
9112013-01-08 Juri Linkov <juri@jurta.org>
912
913 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
914 single completion. (Bug#12456)
915 (info--manual-names): Expand node completions into an explicit list
916 before appending it to another list. Filter out internal buffers
917 with the leading space in the buffer name. (Bug#10771)
918
c6a22ce2
JL
9192013-01-08 Juri Linkov <juri@jurta.org>
920
921 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
922 that defaults to the Top node.
923 (Info-goto-node, Info-read-node-name): Doc fix to mention that
924 the short format (FILENAME) goes to the Top node.
925 (Info-build-node-completions): Rename arg `file' to `filename'.
926 (Bug#13365)
927
acfe10b7
BG
9282013-01-07 Bastien Guerry <bzg@gnu.org>
929
a731fc1b
SM
930 * menu-bar.el (menu-bar-search-documentation-menu):
931 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
932
9332013-01-07 Bastien Guerry <bzg@gnu.org>
934
935 * apropos.el (apropos-do-all): Update docstring.
936 (apropos-user-option-button): New face.
937 (apropos-user-option): Rename from `apropos-variable' and update
938 docstring.
939 (apropos-variable): Rewrite, now show all variables by default.
940 (apropos-print): Mention "User option" instead of "Variable" when
941 printing doc for user options. (Bug#13276)
942
62bcf670
JH
9432013-01-07 Jürgen Hötzel <juergen@archlinux.org>
944
945 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
946 Handle filename correctly, when parsing "source -> target" symlink
947 output.
948 (tramp-adb-handle-set-file-times): New defun.
949
4986fa21
SM
9502013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
953 advice list when the interactive-spec of ad-Advice-* changes.
954
3bee311e
KY
9552013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
956
957 * wid-edit.el (widget-default-get): Work for inlined elements.
958 (Bug#12670)
959
b49eebcc
MA
9602013-01-07 Michael Albinus <michael.albinus@gmx.de>
961
962 * net/tramp.el (tramp-default-host-alist): New defcustom.
963 (tramp-find-host): Use it.
4986fa21 964 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
965 `eshell-directory-change-hook'.
966
967 * net/tramp-adb.el (top): Add adb specific entry in
968 `tramp-default-host-alist'.
969 (tramp-adb-file-name-host): Remove function.
970 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
971 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
972
3bee311e 973 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 974
84f6744a
JH
9752013-01-06 Jürgen Hötzel <juergen@archlinux.org>
976
977 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
978
b6cfbcd0
MA
9792013-01-06 Michael Albinus <michael.albinus@gmx.de>
980
981 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 982 consist of more than one digit.
4986fa21
SM
983 (tramp-adb-file-name-handler-alist):
984 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
985 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
986 (tramp-adb-handle-file-exists-p): Remove function.
987 (tramp-adb-file-name-host): New defun.
988 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
989 Use it.
990 (tramp-adb-maybe-open-connection): Set "remote-path" property.
991
58ba7b1b
CY
9922013-01-06 Chong Yidong <cyd@gnu.org>
993
994 * vc/vc.el (vc-next-action): Detect buffer modifications
995 conflicting with locking VCS operation (Bug#11490).
996
997 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
998
f4566fe9
MA
9992013-01-05 Michael Albinus <michael.albinus@gmx.de>
1000
1001 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1002 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1003
838cf298
MA
10042013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1005
1006 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1007 parsing of ls output using regular expression (handle filenames
1008 with spaces). Use virtual device number.
1009 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1010 cleanup).
1011
1bd71e9f
DU
10122013-01-04 Daiki Ueno <ueno@gnu.org>
1013
1014 * epg.el: Silence byte-compiler warnings.
1015 (epg--start): Use delete-char instead of delete-backward-char.
1016 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1017
00cd4c1c
DU
10182013-01-04 Daiki Ueno <ueno@gnu.org>
1019
1020 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1021 Suggested by Eli Zaretskii <eliz@gnu.org>.
1022
f99ced35
MA
10232013-01-04 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1026 non-negative integers. Otherwise, the default values are used.
1027 (tramp-convert-file-attributes): Convert uid and gid to integers.
1028
0f668a4d 10292013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 1030
d2be4dcc
GM
1031 * term.el (term-handle-colors-array): Ensure face attributes
1032 are fully specified, not nil. (Bug#13337)
1033
5b00b749
GM
1034 * term.el (term-default-fg-color, term-default-bg-color):
1035 Fix custom type.
1036
220740a3
GM
1037 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1038 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1039 rather than 'jka-compr being loaded. (Bug#13338)
1040
bdd9367d
WD
10412013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1042
1043 * icomplete.el (icomplete-completions):
1044 Honor icomplete-prospects-height once more following
1045 2012-11-29 changes. (Bug#13224)
1046
96dd18b1
SM
10472013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1048
c0bd248c
SM
1049 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1050 of called-interactively-p as well (bug#13237).
1051
4a74c818
SM
1052 * view.el (view--enable, view--disable): Rename from view-mode-enable
1053 and view-mode-disable and assume it's called from view-mode.
1054 (view-mode-enable, view-mode-disable): Redefine as obsolete
1055 compatibility layer above view-mode.
1056 (view-mode-enter): Call `view-mode'.
1057
1058 * files.el (after-find-file): Call `view-mode'.
1059
96dd18b1
SM
1060 * doc-view.el (doc-view-scale-internally): New var.
1061 (doc-view-enlarge, doc-view-insert-image): Obey it.
1062
c2cf1829
DU
10632013-01-03 Daiki Ueno <ueno@gnu.org>
1064
1065 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1066 exist. (Bug#13344)
1067
ad235a8b
GM
10682013-01-03 Glenn Morris <rgm@gnu.org>
1069
a8aa6c2d
GM
1070 * mail/rmail.el (rmail-set-header-1): Ignore case.
1071 Handle multi-line headers. (Bug#13330)
1072
a6d6c20b
GM
1073 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1074 Handle paragraph starting at beginning of buffer.
1075
ed5bdeb9
GM
1076 * subr.el (eval-after-load): Don't purecopy the form, so that it
1077 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1078
ad235a8b
GM
1079 * emacs-lisp/byte-run.el (defun): Place cl declarations
1080 after any interactive spec. (Bug#13265)
1081
9539d465 10822013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
1083
1084 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1085 defun. Don't check for DECL if DOCSTRING isn't a string.
1086 (defun): Likewise.
1087
9539d465 10882013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 1089
5ee1772e
GM
1090 * eshell/em-cmpl.el (eshell-pcomplete):
1091 More thoroughly imitate pcomplete. (Bug#13293)
1092
4cddca30
GM
1093 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1094 Return nil for empty path elements. (Bug#13296)
1095
9539d465 10962013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
1097
1098 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1099 order to improve efficiency (Based on Daniel Colascione's
1100 <dancol@dancol.org> patch). (Bug#13182)
1101
9539d465 11022013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
1103
1104 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1105
9539d465 11062013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
1107
1108 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1109 neither DOCSTRING nor DECL was given. (Bug#13316)
1110
aca3d51d
MA
11112013-01-02 Michael Albinus <michael.albinus@gmx.de>
1112
1113 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1114 `error' call.
1115 (tramp-do-copy-or-rename-file): Ignore errors when calling
1116 `set-file-extended-attributes'.
1117
4986fa21
SM
1118 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1119 Add handler for `file-acl'.
aca3d51d
MA
1120 (tramp-smb-handle-file-acl): New defun.
1121
87e65f96
JB
11222013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1123
1124 * calc/README: Mention ISO 8601 week-numbering dates.
1125
0aac98ac
MR
11262013-01-01 Martin Rudalics <rudalics@gmx.at>
1127
1128 * view.el (view-mode-enable): New argument run-view-mode-hook.
1129 Run view-mode-hook only when it's non-nil (Bug#13315).
1130 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1131 argument t.
1132
1a82330c
JH
11332012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1134
1135 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1136 (No device connected, invalid device name). (Bug #13299)
1137
27fcfe31
MR
11382012-12-31 Martin Rudalics <rudalics@gmx.at>
1139
1140 * window.el (window-resizable--p): Rename to window-resizable-p.
1141 (window-resize-no-error): New function.
1142
1143 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1144 broken in fix from 2012-12-28.
1145
96c052a5
SM
11462012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * subr.el (special-form-p): Don't signal errors on undef aliases.
1149
fd1f1603
JB
11502012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1151
1152 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1153 `math-parse-iso-date' when it looks like it might be needed.
1154 Allow times of 24:00.
fd1f1603
JB
1155 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1156 of 24:00.
1157
8db39aeb
GM
11582012-12-30 Glenn Morris <rgm@gnu.org>
1159
1160 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1161 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1162 (rmail-summary-displayed, rmail-summary): Declare.
1163 (mairix-rmail-display): Just require rmail.
1164
d5e5e7b4 11652012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
1166
1167 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1168 check for the tarball contents.
1169
d5e5e7b4 11702012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
1171
1172 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1173 tarfile content listings (Bug#13136).
1174
d5e5e7b4 11752012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 1176
96c052a5
SM
1177 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1178 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 1179
4f752957
MA
11802012-12-30 Michael Albinus <michael.albinus@gmx.de>
1181
3ee24a3b
MA
1182 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1183 integers, if they are real numbers. (Bug#13282)
1184
4f752957
MA
1185 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1186 Return `t' on success.
1187
96c052a5
SM
1188 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1189 Add handler for `set-file-selinux-context'.
4f752957 1190
eff2eb58
MA
11912012-12-29 Michael Albinus <michael.albinus@gmx.de>
1192
1193 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1194 (tramp-sh-handle-set-file-acl): Return `t' on success.
1195
ccad023b
EZ
11962012-12-29 Eli Zaretskii <eliz@gnu.org>
1197
96c052a5
SM
1198 * files.el (backup-buffer-copy, basic-save-buffer-2):
1199 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1200 instead of signaling an error. (Bug#13298)
7e56b103 1201 (basic-save-buffer): Likewise.
ccad023b 1202
ccb1c17e
FEG
12032012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1204
1205 * progmodes/python.el: Support other commands triggering
1206 python-indent-line so indentation cycling continues to work.
1207 (python-indent-trigger-commands): New defcustom.
1208 (python-indent-line): Use it.
1209
16768034
FEG
12102012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1211
1212 * progmodes/python.el (python-shell-send-region): Add blank lines
1213 for non sent code so backtraces remain correct.
1214
66164d2f
FEG
12152012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1216
1217 * progmodes/python.el: Remove cl dependency.
1218 (python-syntax-count-quotes): Replace incf call.
1219 (python-fill-string): Replace setf call.
1220
761231d1
DC
12212012-12-29 Damien Cassou <damien.cassou@gmail.com>
1222
43ebd12b 1223 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1224
7c3e220a
MR
12252012-12-28 Martin Rudalics <rudalics@gmx.at>
1226
96c052a5
SM
1227 * mail/rmail.el (rmail-maybe-display-summary):
1228 Rewrite (Bug#13066).
7c3e220a 1229
361828b5
AS
12302012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1231
1232 * epg.el (epg--start): Modify process-environment locally.
1233
23bd348c
DU
12342012-12-28 Daiki Ueno <ueno@gnu.org>
1235
1236 * epg.el: Support pinentry-curses.
1237 Suggested by Werner Koch in
1238 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1239 (epg-agent-file, epg-agent-mtime): New variable.
1240 (epg--start): Record the modified time of gpg-agent socket file,
1241 to restore Emacs frame after pinentry-curses termination.
1242 (epg-wait-for-completion): Restore Emacs frame here.
1243
313f39aa
JL
12442012-12-27 Juri Linkov <juri@jurta.org>
1245
1246 * info.el (Info-file-completions): New variable.
1247 (Info-read-node-name-1): Complete node names in the Info file
1248 when a file name is given. Call `Info-build-node-completions'
1249 with a file name.
1250 (Info-build-node-completions): Add new arg `file'. When it is
1251 non-nil, visit it in a temporary buffer and cache its completions in
1252 `Info-current-file-completions'. Move most of the function body to
1253 `Info-build-node-completions-1'.
1254 (Info-build-node-completions-1): New function with the body from
1255 `Info-build-node-completions'. (Bug#12456)
1256
a45b7647
JL
12572012-12-27 Juri Linkov <juri@jurta.org>
1258
1259 * frame.el (frame-maximization-style): Remove user option.
1260 (cycle-frame-maximized): Remove function.
1261 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1262 (toggle-frame-fullscreen): New command bound to <f11> instead of
1263 `toggle-frame-maximized'.
1264 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1265
10ffd0be
MA
12662012-12-27 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1269
1270 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1272 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1273 for `file-accessible-directory-p'. (Bug#13275)
1274
fd146719
SS
12752012-12-27 Sam Steingold <sds@gnu.org>
1276
1277 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1278 continuations, see <http://stackoverflow.com/questions/3582436>.
1279
82e2a1f0 12802012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1281
1282 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1283 "module" and "def" to have indentation before them.
1284 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1285
ea0857a1
DG
1286 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1287
82e2a1f0 12882012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1289
1290 Speed up fontification where there's large brace blocks.
1291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1292 to a call of c-beginning-of-decl-1.
1293
c34339f3
VS
12942012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1295
1296 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1297 (comint-postoutput-scroll-to-bottom):
1298 Call comint-adjust-window-point (Bug#13248).
c34339f3 1299
78269b95
DG
13002012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1303 Rakefile regexp.
1304 (auto-mode-alist): Associate .gemspec files with ruby-mode
1305 (https://bugs.ruby-lang.org/issues/5453).
1306
bd8c13f9
JH
13072012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1308
96c052a5
SM
1309 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1310 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1311 CyanogenMod).
bd8c13f9
JH
1312 (tramp-adb-handle-file-attributes)
1313 (tramp-adb-handle-insert-directory)
1314 (tramp-adb-handle-file-name-all-completions): Use it.
1315 (tramp-adb-get-toolbox): New defun. Check for remote shell
1316 implementation (BusyBox or Toolbox).
1317
dc646358
CK
13182012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1319
1320 * startup.el (initial-buffer-choice): Allow function as value
1321 (Bug#13251).
1322 (command-line-1): Handle case where initial-buffer-choice
1323 specifies a function.
1324 * server.el (server-execute): Handle case where
1325 initial-buffer-choice specifies a function.
1326
e7d52a4d
LI
13272012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1328
1329 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1330 its own function.
1331 (smtpmail-try-auth-methods): Forget the user name/password if the
1332 login is unsuccessful (bug#12424).
1333
cdb07539
MA
13342012-12-22 Michael Albinus <michael.albinus@gmx.de>
1335
1ef5f225
MA
1336 * notifications.el (notifications-notify): Protect body with
1337 `with-demoted-errors'.
1338
96c052a5
SM
1339 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1340 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1341 change.
1342
594f37aa
CY
13432012-12-21 Chong Yidong <cyd@gnu.org>
1344
1345 * sort.el (sort-subr): Doc fix (Bug#13056).
1346
a4b0cca1 13472012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1348
acc650b8
BG
1349 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1350
0e9c7693
MA
13512012-12-21 Michael Albinus <michael.albinus@gmx.de>
1352
1353 * simple.el (process-file): Overwrite stderr file, if exists.
1354
c6609164
DU
13552012-12-21 Daiki Ueno <ueno@gnu.org>
1356
1357 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1358 (epg-error): Set `error-message' property.
c6609164 1359
aa26f345
CY
13602012-12-21 Chong Yidong <cyd@gnu.org>
1361
34b4b7eb
CY
1362 * international/mule-cmds.el (read-char-by-name): Signal an error
1363 if the user does not supply a valid character (Bug#13177).
1364
aa26f345
CY
1365 * simple.el (transpose-subr-1): Preserve marker positions by
1366 changing the insertion sequence (Bug#13122).
1367
05c22d87
KD
13682012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1369
1370 * simple.el (kill-region): Deactivate mark even for empty regions
1371 (Bug#13169).
1372
f5733f87
CY
13732012-12-21 Chong Yidong <cyd@gnu.org>
1374
1375 * help-fns.el (describe-variable): Make sure we get the right
1376 buffer name (Bug#13105). Suggested by Kelly Dean.
1377
fab6916d
MM
13782012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1379
1380 * comint.el (comint-redirect-previous-input-string): New variable.
1381 (comint-redirect-setup, comint-redirect-cleanup)
1382 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1383 (comint-redirect-preoutput-filter): Fix verbose message.
1384
91b982a0
MA
13852012-12-20 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1388 is too long for Tramp. See discussion in
1389 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1390
1391 * progmodes/compile.el (compilation-start): Remove line escape
1392 template.
1393
87523aed
DA
13942012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1395
1396 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1397 Adjust comment.
1398
ee3c0aec
JB
13992012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1400
1401 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1402 following non-comment text (bug#13207).
1403 (lm-header-multiline): Continuation lines need to be indented more than
1404 the first line.
1405 (lm-homepage): New function.
1406 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1407
4a74c818
SM
14082012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1409
f4d79bd0
SM
1410 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1411 very beginning of a hunk (e.g. killing the first line).
1412
3c532af6
MA
14132012-12-19 Michael Albinus <michael.albinus@gmx.de>
1414
1415 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1416 and text properties from returned ACL string.
1417 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1418 for "setfacl" command.
1419
e0d01ef3
MA
14202012-12-18 Michael Albinus <michael.albinus@gmx.de>
1421
1422 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1423 `tramp-cleanup-this-connection', when the process has died.
1424 (Bug#13151)
1425
2387610d
SM
14262012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1429
19156242
KR
14302012-12-17 Kevin Ryde <user42@zip.com.au>
1431
1432 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1433
53b6a8b1
MA
14342012-12-17 Michael Albinus <michael.albinus@gmx.de>
1435
1436 Add support for preserving ACL entries of files.
1437
1438 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1439 `set-file-acl' handlers.
1440
19156242
KR
1441 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1442 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1443
19156242
KR
1444 * net/tramp-compat.el (tramp-compat-copy-file):
1445 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1446
19156242
KR
1447 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1448 Add `file-acl' and `set-file-acl' handlers.
1449 (tramp-gvfs-handle-copy-file):
1450 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1451 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1452 New defuns.
53b6a8b1 1453
19156242
KR
1454 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1455 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1456 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1457 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1458 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1459 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1460
19156242
KR
1461 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1462 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1463 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1464
6ae57a67
KD
14652012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1466
1467 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1468 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1469 *Metahelp* with a leading space (Bug#13190).
1470
7c3d167f
RF
14712012-12-16 Romain Francoise <romain@orebokech.com>
1472
1473 * files.el (file-extended-attributes)
1474 (set-file-extended-attributes): New functions.
1475 (backup-buffer): Use them to handle both SELinux context and ACL
1476 entries.
1477 (backup-buffer-copy): Work with an alist of extended attributes,
1478 rather than an SELinux context.
1479 (basic-save-buffer-2): Ditto.
1480
19b748ad
TM
14812012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1482
1483 * battery.el (battery-bsd-apm): New function.
1484
70042c64
JB
14852012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1486
1487 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1488 standard date formats.
1489
279f9b06
JL
14902012-12-15 Juri Linkov <juri@jurta.org>
1491
1492 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1493 `isearch-insert-char-by-name'.
1494 (with-isearch-suspended): New defmacro with body mostly from
1495 `isearch-edit-string' except the part that sets
1496 `isearch-new-string' and `isearch-new-message'.
1497 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1498 body that sets `isearch-new-string' and `isearch-new-message'.
1499 (isearch-insert-char-by-name): New command.
1500 * international/mule-cmds.el (read-char-by-name): Let-bind
1501 `enable-recursive-minibuffers' to t.
1502 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1503
8370def5
JL
15042012-12-15 Juri Linkov <juri@jurta.org>
1505
1506 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1507 (Bug#13175)
1508
178fb95d
CS
15092012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1510
1511 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1512 the prompt. (Bug#13045)
1513
a5f74442
GM
15142012-12-14 Glenn Morris <rgm@gnu.org>
1515
1516 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1517 Try to include filename in non-bytecomp warning. (Bug#13132)
1518
97976f9f
PE
15192012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1520
1521 Fix permissions bugs with setgid directories etc. (Bug#13125)
1522 * files.el (backup-buffer): Don't rely on 9th output of
1523 file-attributes, as it's now a placeholder. Instead, use the new
1524 optional arg of file-ownership-preserved-p.
1525 (file-ownership-preserved-p): New optional arg GROUP.
1526 Fix mishandling of setuid directories that would cause this
1527 function to return t when it should have returned nil.
1528 Document what happens if the file does not exist, and when
1529 it's not known whether the ownership will be preserved.
1530 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1531 Likewise.
1532 (tramp-get-local-gid): Use group-gid for integer, as that's
1533 faster and more reliable.
1534
016b2a42
JD
15352012-12-14 Julien Danjou <julien@danjou.info>
1536
19156242
KR
1537 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1538 Update keywords list, data type and PL/pgSQL.
016b2a42 1539
665e5e07
DA
15402012-12-14 Dave Abrahams <dave@boostpro.com>
1541
1542 * vc/ediff-util.el (ediff-buffer-type): New function.
1543 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1544 rather than taking it as as argument.
1545 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1546
d72e9e92
RC
15472012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1548
1549 * json.el: Add pretty-print option (bug#12634).
1550 (json-encoding-separator, json-encoding-default-indentation)
1551 (json--encoding-current-indentation, json-encoding-pretty-print)
1552 (json-encoding-lisp-style-closings): New vars.
1553 (json--with-indentation): New macro.
1554 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1555 (json-encode-array): Use it to obey json-encoding-pretty-print.
1556 (json-pretty-print-buffer, json-pretty-print): New commands.
1557
dbb530d9
DG
15582012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1561 Extract `ruby-syntax-propertize-expansions'.
1562 (ruby-syntax-propertize-expansions): Only change syntax on
1563 certain string delimiters, to punctuation. This way the common
1564 functions like forward-word and thing-at-point still work.
1565 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1566 (ruby-block-contains-point): New function.
1567 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1568
ce0440ff
JB
15692012-12-13 Juanma Barranquero <lekktu@gmail.com>
1570
1571 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1572 unload-feature finishes even when aborting an ongoing edebug session.
1573 Also, do not worry about edebug-mode, unload-feature takes care of it.
1574
f10331bf
AS
15752012-12-13 Andreas Schwab <schwab@suse.de>
1576
1577 * net/tls.el (tls-program): Update customize type.
1578
5f3a3bb1
JB
15792012-12-13 Juanma Barranquero <lekktu@gmail.com>
1580
1581 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1582 (edebug-setup-hook, cl-read-load-hooks): Use it.
1583 (edebug-unload-function): New function. (Bug#13163)
1584
6ce21463
MA
15852012-12-13 Michael Albinus <michael.albinus@gmx.de>
1586
1587 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1588 Otherwise, there could be errors in autoloading. (Bug#13151)
1589
d754b364
JH
15902012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1591
1592 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1593 sequences.
1594
727f9739 15952012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1596
1597 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1598 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1599 around `forward-comment' not recognizing ^M as whitespace.
1600
727f9739 16012012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1602
1603 * progmodes/python.el (python-skeleton-class)
1604 (python-skeleton-def): Do not add space after defun name.
1605
eb8006c6
SM
16062012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1609 (cl--symbol-function): Remove (now that funbound is like nil).
1610
4c74b1e4
GM
16112012-12-12 Glenn Morris <rgm@gnu.org>
1612
1613 * button.el (button--area-button-p): Fix typo.
1614
37f38bca
SS
16152012-12-12 Sam Steingold <sds@gnu.org>
1616
1617 * frame.el (frame-maximization-style): New user option.
1618 (toggle-frame-maximized): Toggle frame maximization according to
1619 `frame-maximization-style', bound to <f11>.
1620 (cycle-frame-maximized): Cycle between all maximization styles and
1621 non-maximized frame, bound to shift-<f11>.
1622
fd49a218
DC
16232012-12-12 David Cadé <codename68@gmail.com>
1624
1625 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1626
69e1c203
JB
16272012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1628
1629 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1630 (eieio-override-prin1): Don't quote kewords and booleans.
1631 (object-write) <eieio-default-superclass>: Don't put closing parens
1632 on new line, avoid needless empty lines, align values that are objects
1633 with the slot keyword (instead of beginning on the same line).
1634 (eieio-list-prin1): Align value with slot keyword; increase
1635 eieio-print-depth before printing members of the list.
1636
4b0df848
SM
16372012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1638
030f4af5
SM
1639 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1640 a display text-property.
1641 (report-emacs-bug-hook): Don't bother deleting it any more.
1642
6ac1f8ca
SM
1643 * hilit-chg.el (highlight-save-buffer-state): Delete.
1644 Use with-silent-modifications instead.
1645 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1646
4b0df848
SM
1647 * button.el: Handle buttons in display text-properties.
1648 (button--area-button-p, button--area-button-string):
1649 Use (STRING . STRING-POS) representation instead of just STRING.
1650
d46d2d3a
EZ
16512012-12-11 Eli Zaretskii <eliz@gnu.org>
1652
1653 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1654 subdirectory be skipped.
1655
a0099d31
GM
16562012-12-11 Glenn Morris <rgm@gnu.org>
1657
36327e4f
GM
1658 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1659
a0099d31
GM
1660 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1661 Treat preprocessor lines embedded in continuations like comments.
1662 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1663
ff3f6c26
JB
16642012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1665
1666 * calc/calc.el (calc-standard-date-formats): Add more date
1667 formats.
1668 * calc/calc-forms.el (math-parse-iso-date): New function.
1669 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1670 (math-parse-iso-date-validate): Add extra error checking.
1671 (calc-date-notation): Add ability to access new date formats.
1672
ed6f2cd4
SM
16732012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1676 font-lock as well as when there's no text-property.
1677
c868b919
J
16782012-12-10 Jambunathan K <kjambunathan@gmail.com>
1679
1680 * hi-lock.el: Refine the choice of default face.
1681 (hi-lock-keyword->face): New function. Use it wherever we used
1682 cadadadr instead.
1683 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1684 (hi-lock--last-face): Remove var.
1685 (hi-lock--unused-faces): New var to replace it.
1686 (hi-lock-read-face-name): Use/maintain it.
1687 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1688 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1689 if it has another face.
1690
2b8c9064
EZ
16912012-12-10 Eli Zaretskii <eliz@gnu.org>
1692
1693 * subr.el (w32notify-handle-event): New function.
1694 (inotify-handle-event): Doc fix.
1695
81606b10
RS
16962012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1697
1698 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1699
265c2fbf 17002012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1701
1702 * simple.el (just-one-space): Doc fix.
1703
265c2fbf 17042012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1705
c868b919 1706 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1707
265c2fbf 17082012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1709
1710 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1711 narrowed buffer (bug#12361).
1712
265c2fbf 17132012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1714
1715 * vc/vc-hooks.el (vc-state): Doc fix.
1716
265c2fbf 17172012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1718
1719 * mail/rmail.el (rmail-maybe-display-summary):
1720 Preserve buffer, in case select-window changes it. (Bug#13066)
1721
265c2fbf 17222012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1723
1724 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1725 cl-load-hook where they belong.
1726
bad162fd
SM
17272012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1730
ca065258
EZ
17312012-12-09 Eli Zaretskii <eliz@gnu.org>
1732
1733 Parallelize byte compilation on MS-Windows.
1734 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1735 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1736 (WINS_BASIC): Define as concatenation of the above.
1737 (compile): Subdivide into 4 separate and independent jobs that can
1738 be run in parallel.
1739 (compile0-CMD, compile0-SH): New targets for compiling
1740 COMPILE_FIRST files, which are prerequisites for the rest of the
1741 byte-compilation.
bad162fd
SM
1742 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1743 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1744 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1745 compiling under a Unixy shell.
1746
5dea55d2
CY
17472012-12-09 Chong Yidong <cyd@gnu.org>
1748
1749 * simple.el (set-mark-default-inactive): Delete this
1750 accidentally-introduced option.
1751 (set-mark-command, exchange-point-and-mark): Remove calls.
1752
c6c08d3f
GM
17532012-12-09 Glenn Morris <rgm@gnu.org>
1754
1755 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1756 Respect a defcustom's :set function, if appropriate. (Bug#109)
1757 (eval-defun): Doc fix.
1758
858aab4c
JL
17592012-12-08 Juri Linkov <juri@jurta.org>
1760
1761 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1762 (Info-fontify-node, Info-bookmark-make-record): Remove the
1763 file extension from Info-current-file (Bug#13016).
1764
2e4ad7e5
SM
17652012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1768 point, still provide some default.
1769 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1770 names, since we don't use it right now. Actually return the list.
1771 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1772
75498db0
CY
17732012-12-07 Chong Yidong <cyd@gnu.org>
1774
ffe7ba8f
CY
1775 * novice.el (disabled-command-function): Remove a spurious help
1776 xref (Bug#13043). Suggested by Kelly Dean.
1777
454eb095
CY
1778 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1779 syntax is specified (Bug#13025).
1780
75498db0
CY
1781 * info.el (Info-set-mode-line): Remove the file extension from
1782 Info-current-file if there is one (Bug#13016).
1783
13a40633
GM
17842012-12-07 Glenn Morris <rgm@gnu.org>
1785
54c8b5ba
GM
1786 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1787 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1788 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1789 and rmail-mime-decoded. (Bug#9841)
1790
13a40633
GM
1791 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1792 (batch-unrmail, unrmail): Doc fixes.
1793 (unrmail): Respect unrmail-mbox-format.
1794 * mail/rmail.el (rmail-mbox-format): New option.
1795 (rmail-show-message-1): Respect rmail-mbox-format.
1796
4611a3cc
SM
17972012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1800
1812c724
SM
18012012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1802
338bfefa
SM
1803 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1804 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1805 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1806 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1807 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1808 (cl-progv): Don't rely on dynamic scoping to find the body.
1809 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1810 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1811 (cl-declaim): Use backquotes.
1812 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1813 Use "cl--" prefix for the object's tag.
1814
1812c724
SM
1815 * ses.el: Use advice-add/remove.
1816 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1817 (copy-region-as-kill, yank): Use advice-add.
1818 (ses-unload-function): Use advice-remove.
1819
24fc9480
JB
18202012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1821
1822 * button.el: Make them work in header-lines (bug#12817).
1823 (button-map): Add bindings for header-line and mode-line use.
1824 (button-get, button-put, button-label): `button' may now be a string.
1825 (button-activate): Don't make it a defsubst.
1826 (button--area-button-p, button--area-button-string): New functions.
1827 (make-text-button): Fix the return value when `beg' was a string.
1828 (push-button): Handle the mode-line case.
1829
853c1ffc
SM
18302012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1831
93852cb0
SM
1832 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1833 (sql-signum): Remove. Use `cl-signum' instead.
1834 (sql-read-passwd): Remove; use read-passwd instread.
1835 (sql-get-login-ext): Use read-string.
1836 (sql-get-login): Use dolist and pcase.
1837 (sql--completion-table): Rename from sql-try-completion.
1838 Use complete-with-action.
1839 (sql-mode): Don't change abbrev-all-caps globally.
1840 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1841 (sql-postgres-completion-object): Initialize vars in their `let'.
1842 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1843 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1844 (sql-comint-interbase): Use a single append, without setq.
1845 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1846
853c1ffc
SM
1847 * hi-lock.el: Rework the default face and the serialize regexp code.
1848 (hi-lock--auto-select-face-defaults): Remove.
1849 (hi-lock-string-serialize-serial): Remove.
1850 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1851 make weak.
1852 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1853 equal string.
1854 (hi-lock-set-pattern): Adjust accordingly.
1855 (hi-lock--regexps-at-point): Simplify accordingly.
1856 (hi-lock--auto-select-face-defaults): Remove.
1857 (hi-lock--last-face): New var to replace it.
1858 (hi-lock-read-face-name): Rewrite (bug#11095).
1859 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1860
5504e2c7
MA
18612012-12-06 Michael Albinus <michael.albinus@gmx.de>
1862
853c1ffc
SM
1863 * net/tramp.el (tramp-replace-environment-variables):
1864 Hide compiler warning.
5504e2c7
MA
1865 (tramp-file-name-for-operation): Remove `executable-find',
1866 `start-process', `call-process' and `call-process-region'.
1867
853c1ffc 1868 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1869
1870 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1871 compatibility.
1872
1873 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1874
e1d51545
CY
18752012-12-06 Chong Yidong <cyd@gnu.org>
1876
1877 * ffap.el (ffap-replace-file-component): Fix typo.
1878
d8ad4d3f 18792012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1880
1881 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1882 fix open-paren-like token test (bug#12785).
1883
d8ad4d3f 18842012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1885
1886 * mail/rmailsum.el (rmail-new-summary): Tweak for
1887 rmail-maybe-display-summary changing buffer. (Bug#13066)
1888
d8ad4d3f 18892012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1890
1891 * info.el (Info-fontify-node): Don't hide the last newline.
1892 (Bug#12272)
1893
9ad948e2
KY
18942012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1895
1896 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1897 so as to enable message-read-from-minibuffer to expand mail aliases.
1898
4b5c89ee
SM
18992012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1900
1901 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1902 the `intangible' property.
1903 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1904
5602a53a
DD
19052012-12-05 Deniz Dogan <deniz@dogan.se>
1906
1907 * net/rcirc.el (rcirc-urls): Update documentation.
1908 (rcirc-condition-filter): New function.
1909 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1910 and exclude consecutive duplicate URLs (Bug#6082).
1911
51b890ac
MA
19122012-12-05 Michael Albinus <michael.albinus@gmx.de>
1913
d5f97f62
MA
1914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1915 Check return code of copy command.
1916
853c1ffc
SM
1917 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1918 Use group `tramp'. Add version.
51b890ac 1919
04b14f2b
CY
19202012-12-05 Chong Yidong <cyd@gnu.org>
1921
a3680194
CY
1922 * ffap.el (ffap-url-regexp): Don't require matching at front of
1923 string (Bug#4952).
1924 (ffap-url-p): If only a substring matches, return that.
1925 (ffap-url-at-point): Use the return value of ffap-url-p.
1926 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1927 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1928 (ffap-guess-file-name-at-point): Likewise.
1929 (ffap-replace-file-component): Fix typo.
1930
04b14f2b
CY
1931 * info.el (info-display-manual): Add existing Info buffers, whose
1932 files may not be in Info-directory-list, to the completion.
1933 (info--manual-names): New helper function.
1934
49596095
GM
19352012-12-05 Glenn Morris <rgm@gnu.org>
1936
1937 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1938 New functions, for detecting and resolving conflicts. (Bug#10709)
1939
b85aec93
J
19402012-12-04 Jambunathan K <kjambunathan@gmail.com>
1941
1942 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1943 (hi-lock-auto-select-face-defaults): New buffer local variable.
1944 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1945 (hi-lock-unface-buffer): Prompt user with useful defaults.
1946 With prefix arg, unhighlight all hi-lock patterns in buffer.
1947
8515507f
SM
19482012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1951
72cebfb7
MA
19522012-12-04 Michael Albinus <michael.albinus@gmx.de>
1953
1954 * Makefile.in (TRAMP_SRC):
1955 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1956
0ec3f7ea
JH
19572012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1958
1959 * net/tramp-adb.el: New package.
1960
770de7cf
CY
19612012-12-04 Chong Yidong <cyd@gnu.org>
1962
ce3e7725
CY
1963 * terminal.el: Move to obsolete/.
1964
770de7cf
CY
1965 * longlines.el: Move to obsolete/.
1966
1967 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1968 Remove code referring to longlines mode.
1969
c38a186c
JL
19702012-12-03 Juri Linkov <juri@jurta.org>
1971
1972 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1973
329bfd64
AM
19742012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1975
1976 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1977 (ispell-start-process, ispell-internal-change-dictionary):
1978 Make sure personal dictionary name is expanded after initial
1979 `default-directory' value. Use expanded strings for
1980 keep/restart checks and for value (Bug#13019).
329bfd64 1981
77a74935
JB
19822012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1983
1984 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1985
c5bc2d1d 19862012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1987
1988 * files.el (dir-locals-read-from-file): Check file non-empty
1989 before reading. (Bug#13038)
1990
c5bc2d1d 19912012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1992
1993 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1994 Remove any version extension before checking filename. (Bug#13006)
1995 (jka-compr-compression-info-list): Belated :version bump.
1996
c5bc2d1d 19972012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1998
8ecba97d
CY
1999 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2000
a5bf43ba
CY
2001 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2002 (buffer-menu): Doc fix (Bug#12294).
2003
c5bc2d1d 20042012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
2005
2006 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2007 of diary-show-all-entries in the diary buffer (Bug#12994).
2008
c5bc2d1d 20092012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
2010
2011 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2012 "<STDIN>". This is binary safe.
2013
682ceaf8
JB
20142012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2015
2016 * calc/calc-forms.el (math-absolute-from-iso-dt)
2017 (math-date-to-iso-dt, math-parse-iso-date-validate)
2018 (math-iso-dt-to-date): New functions.
2019 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2020 (math-fd-isoweekday): New variables.
2021 (calc-date-notation, math-parse-standard-date, math-format-date)
2022 (math-format-date-part): Add support for more formatting codes.
2023
db47d5e9
DG
20242012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2027 current buffer's file name when called interactively (Bug#12488).
2028
3faf4944
JL
20292012-12-02 Juri Linkov <juri@jurta.org>
2030
2031 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 2032 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 2033
cb5d51dc
YN
20342012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2035
2036 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2037 before using it for comparison (Bug#5297).
2038
f38cd76e
JA
20392012-12-01 Jari Aalto <jari.aalto@cante.net>
2040
2041 * textmodes/css-mode.el (css-current-defun-name): New function.
2042 (css-mode): Use it.
2043
2044 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2045 (html-mode): Use it.
2046
ba03d0d9
CY
20472012-12-01 Chong Yidong <cyd@gnu.org>
2048
2049 Modularize add-log-current-defun (Bug#2224).
2050 Suggested by Jari Aalto.
2051
2052 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2053 (add-log-current-defun): Move mode-specific code to other files.
2054 (add-log-lisp-like-modes, add-log-c-like-modes)
2055 (add-log-tex-like-modes): Variables deleted.
2056
2057 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2058 (lisp-mode-variables): Use it.
2059
2060 * progmodes/cc-mode.el (c-common-init):
2061 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2062 add-log-current-defun-function.
2063
2064 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2065 (m4-mode): Use it.
2066
2067 * progmodes/perl-mode.el (perl-current-defun-name): New.
2068 (perl-mode): Use it.
2069
853c1ffc
SM
2070 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2071 Use lisp-current-defun-name.
ba03d0d9
CY
2072
2073 * textmodes/tex-mode.el (tex-current-defun-name): New.
2074 (tex-common-initialization): Use it.
2075
2076 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2077 (texinfo-mode): Use it.
2078
92eadba5
CY
20792012-12-01 Chong Yidong <cyd@gnu.org>
2080
2081 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2082 * progmodes/autoconf.el (autoconf-mode):
2083 * progmodes/js.el (js-mode):
2084 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2085 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2086 * progmodes/perl-mode.el (perl-mode):
2087 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2088 * textmodes/css-mode.el (css-mode):
2089 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2090 (sgml-tags-invisible, sgml-guess-indent):
2091 * textmodes/tex-mode.el (tex-common-initialization)
2092 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2093 (doctex-mode, plain-tex-mode, latex-mode):
2094 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2095
3ddbf803
KK
20962012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2097
2098 * vc/vc-hg.el (vc-hg-next-revision):
2099 Ensure use of default "tip" output format. (Bug#6968)
2100
f0b6ae63
KS
21012012-12-01 Kim F. Storm <storm@cua.dk>
2102
2103 * startup.el (fancy-startup-tail): Add a clickable link
2104 (Bug#2176).
2105
c01bf73e
CY
21062012-12-01 Chong Yidong <cyd@gnu.org>
2107
2108 * startup.el (fancy-startup-tail): Improve the message about
2109 auto-save files (Bug#2176).
2110
f0b6ae63
KS
2111 * files.el (recover-session): Improve the descriptive message, and
2112 use substitute-command-keys.
2113
a9400458
GM
21142012-12-01 Glenn Morris <rgm@gnu.org>
2115
2116 * ido.el (ido-file-internal):
2117 Handle other-window, other-frame for dired. (Bug#13036)
2118
fb3bf6ce
GM
21192012-11-30 Glenn Morris <rgm@gnu.org>
2120
2121 * icomplete.el (icomplete-separator): Fix :version.
2122
a813fe3f
CY
21232012-11-30 Chong Yidong <cyd@gnu.org>
2124
2125 * shell.el (shell): For C-u M-x shell, use an inactive shell
2126 buffer as the default (Bug#1975).
276479fd
CY
2127 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2128 (shell-mode): Use them to reapply ansi colorization if Shell mode
2129 is re-enabled.
a813fe3f 2130
a8b733a5
CY
21312012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2132
2133 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2134
6fccd6e8
SB
21352012-11-30 Samuel Bronson <naesten@gmail.com>
2136
2137 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2138 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2139
53c9a337
TT
21402012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2141
2142 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2143 by move-to-column (Bug#3234).
2144
ccf520bb
CY
21452012-11-30 Chong Yidong <cyd@gnu.org>
2146
2147 * longlines.el (longlines-wrap-line, longlines-encode-region):
2148 Preserve text properties (Bug#1425).
2149
171b0949
OT
21502012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2151
2152 * vc/vc.el (vc-register): Allow registering a file which is
2153 already registered with a different backend (Bug#10589).
2154
cc37e70f
J
21552012-11-29 Jambunathan K <kjambunathan@gmail.com>
2156 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * icomplete.el: Change separator; add ido-style commands.
2159 (icomplete-show-key-bindings): Remove custom var.
2160 (icomplete-get-keys): Remove function.
2161 (icomplete-forward-completions, icomplete-backward-completions):
2162 New commands.
2163 (icomplete-minibuffer-map): New var.
2164 (icomplete-minibuffer-setup): Use it.
2165 (icomplete-exhibit): Don't delay if the list of completions is known.
2166 (icomplete-separator): New custom.
2167 (icomplete-completions): Use it.
2168 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2169 (minibuffer-force-complete-and-exit): New command.
2170 (minibuffer--complete-and-exit): New function extracted from
2171 minibuffer-complete-and-exit.
2172 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
2173
2174 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2175 error message when the file doesn't exist (bug#12974).
2176
31646597
KD
21772012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2178
2179 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2180
e9df8f87
GM
21812012-11-29 Glenn Morris <rgm@gnu.org>
2182
824eefe4
GM
2183 * files.el (hack-dir-local-variables): Warn if try to set
2184 coding via dir-locals, since it doesn't work. (Bug#7169)
2185
4ad900d9
GM
2186 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2187 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2188 Set buffer-local value of desktop-save-buffer.
2189 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2190 New functions.
2191 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2192 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2193
e9df8f87
GM
2194 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2195 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2196 Doc fix.
2197 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2198 Doc fixes.
2199
e7c8fcc4
JB
22002012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2201
2202 * calc/calc-forms.el (calc-date-notation): Fix regexp
2203 used to find time codes. Fix symbol for seconds.
2204
48d6d9c0
GM
22052012-11-27 Glenn Morris <rgm@gnu.org>
2206
2207 * emacs-lisp/derived.el (derived-mode-make-docstring):
2208 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2209
369f945d
SM
22102012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2213 lexically scoped variables (bug#13005).
2214
5c9cf0a3 22152012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2216
999e745e
GM
2217 * vc/vc-hooks.el (vc-mistrust-permissions):
2218 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2219
5c9cf0a3 22202012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2221
999e745e
GM
2222 * progmodes/python.el (python-indent-guess-indent-offset):
2223 If indentation is guessed make python-indent-offset buffer-local.
2224
207cb73c 2225 Fix Imenu regression.
999e745e
GM
2226 * progmodes/python.el (python-nav-beginning-of-defun):
2227 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2228 (python-imenu-prev-index-position): New function.
2229
5c9cf0a3 22302012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2231
2232 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2233
2234 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2235 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2236
5c9cf0a3 22372012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2238
2239 * hippie-exp.el (hippie-expand-try-functions-list):
2240 Re-autoload it. (Bug#12982)
2241
5c9cf0a3 22422012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2243
369f945d
SM
2244 * descr-text.el (describe-char-padded-string):
2245 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2246
5c9cf0a3 22472012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2248
2249 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2250 and obsoletion message.
2251
5c9cf0a3 22522012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2253
2254 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2255 the constructs to keep outside of the `cl-block' (bug#12977).
2256
5c9cf0a3 22572012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2258
2259 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2260 keep reading until we get the up-event anyway, in order to process
2261 the up-event for mouse-1-click-follows-link (Bug#12971).
2262
848a2dd1
SM
22632012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2266 base function is not yet defined (bug#12965).
2267 (ad-activate-advised-definition): Use ad-compile-function.
2268 (ad-activate): Use cond.
2269
9ad79506
LL
22702012-11-25 Leo Liu <sdl.web@gmail.com>
2271
2272 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2273 (Bug#12979)
2274
e2cb57f5
VB
22752012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2276
2277 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2278 reftex-section-info-function in order to be compatible with
2279 Texinfo integration.
2280
2281 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2282 (reftex-section-post-regexp, reftex-section-info-function):
2283 New variable.
2284 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2285 reftex-section-post-regexp, and reftex-section-info-function in order
2286 to be compatible with Texinfo integration.
2287
2288 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2289 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2290 Texinfo integration.
2291
1c4f115d
CY
22922012-11-25 Chong Yidong <cyd@gnu.org>
2293
2294 * faces.el: Make face-spec-set more analogous to setq.
2295 (face-spec-set): Change the third arg to specify whether this
2296 function is being called via defface, customize, or a third party.
2297 Set the appropriate symbol properties. Clear the override spec if
2298 setting via Custom. Initialize face if necessary. (Bug#4988)
2299 (face-spec-recalc): Allow theme faces to completely replace the
2300 defface spec, in the same way as custom faces (Bug#8454).
2301
2302 * cus-face.el (custom-declare-face): Move face initialization to
2303 face-spec-set.
2304 (custom-theme-set-faces): Don't initialize the face name here, as
2305 that is now done in face-spec-set.
2306
2307 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2308 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2309 Simplify by using the new arg to face-spec-set.
2310
2311 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2312 reset face-override-spec too, and use custom-declare-face.
2313
c2350548
JD
23142012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2315
2316 * term/ns-win.el (ns-initialize-window-system): Move creation of
2317 fontsets here (Bug#11964).
2318
ecfc364c
VB
23192012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2320
2321 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2322 cell renaming.
2323
0917cc54
CY
23242012-11-24 Chong Yidong <cyd@gnu.org>
2325
433212bf
CY
2326 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2327 obsolete.
2328
0917cc54
CY
2329 * custom.el (custom-theme-set-variables): Use a topological sort
2330 for ordering by custom dependencies (Bug#12952).
2331 (custom--sort-vars, custom--sort-vars-1): New functions.
2332
d125ca15 23332012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2334
2335 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2336 lexical-binding (bug#12938).
2337
d125ca15 23382012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2339
2340 * image-mode.el (image-transform-check-size): Use assertions only
2341 for images of type imagemagick.
2342
2343 Otherwise no error, image-transform-fit-to-{width,height} is
2344 silently ignored, as before. Doc fix.
2345
d125ca15 23462012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2347
2348 * faces.el (color-defined-p): Doc fix (Bug#12853).
2349
d125ca15 23502012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2351
2352 * dired.el (dired-mark): Add optional arg `interactive'.
2353 Check for `use-region-p' if `interactive' is non-nil.
2354 (dired-unmark, dired-flag-file-deletion): Add optional arg
2355 `interactive'. Call `dired-mark' with the arg `interactive'.
2356 (Bug#10624)
2357
cc4c01bd
JL
2358 * wdired.el: Revert 2012-10-17 change partly and replace it with
2359 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2360 (wdired-finish-edit): Add marks for new file names to
2361 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2362 after `revert-buffer'.
2363 (wdired-do-renames): Remove calls to `dired-remove-file',
2364 `dired-add-file', `dired-add-entry'. (Bug#11795)
2365
d125ca15 23662012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2367
dc310ed0
AM
2368 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2369
b03aabda
AM
2370 Fix bugs in the state cache. Enhance a debugging mechanism.
2371 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2372 "brace at column zero" strategy for C++.
2373 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2374 (c-parse-state-point): New variable.
2375 (c-record-parse-state-state): Record old parse state with
2376 `copy-tree'. Record previous value of point.
2377 (c-debug-parse-state-double-cons): New debugging function.
2378 (c-debug-parse-state): Call the above new function.
2379 (c-toggle-parse-state-debug): Output a confirmatory message.
2380
002c019c
SM
2381 * progmodes/cc-mode.el (c-before-change, c-after-change):
2382 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2383 `c-after-change'.
2384
930a6273
CY
23852012-11-23 Chong Yidong <cyd@gnu.org>
2386
2387 * find-cmd.el (find-constituents): Add executable, ipath,
2388 readable, samefile, writable, daystart, regextype (Bug#12856).
2389
15c9d04e
SM
23902012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2393
2ecb2679
PE
23942012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2395
2396 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2397 definition. This fixes a bootstrap failure.
a14a5a40
PE
2398 (calc-gregorian-switch): In menu, put dates before regions.
2399 This is easier to follow, lines up better in the menu, and lets us
2400 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2401 names, not "Vatican", as that's better for non-expert users.
2402 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2403 Bohemia and Moravia (which existed then and now) and not
2404 Czechoslovakia (which didn't exist then and doesn't exist now).
2405 What is now the U.S. mostly did not switch at the same time as
2406 Britain, so omit the U.S. Correct spelling of "Britain".
2407 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2408
723da6aa
JB
24092012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2410
2411 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2412 after the variable is changed.
2413
21fa2482
DC
24142012-11-21 Daniel Colascione <dancol@dancol.org>
2415
2416 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2417 in SQL declarations for font-lock.
2418 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2419
3ca2f1bf
GM
24202012-11-21 Glenn Morris <rgm@gnu.org>
2421
1bf335cf
GM
2422 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2423 (face-italic-p): Add optional argument "inherit".
2424
3ca2f1bf
GM
2425 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2426 Remove -p suffix from names, for consistency with other set-face-*.
2427 (set-face-inverse-video): Fix interactive spec.
2428 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2429 * textmodes/table.el (table--update-cell-face):
2430 Use set-face-inverse-video rather than now obsolete alias.
2431
6ef2e5ef 24322012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2433
2434 * simple.el (line-move): Don't call line-move-partial if
2435 scroll-conservatively is in effect. (Bug#12927)
2436
6ef2e5ef 24372012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2438
93b05041
SM
2439 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2440 Fallback on completion-at-point rather than
2441 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2442 (eshell-cmpl-initialize): Setup completion-at-point.
2443
2444 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2445
bc715d67
SM
2446 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2447
6ef2e5ef 24482012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2449
2450 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2451 are remote, check out-of-band property for both.
2452
6ef2e5ef 24532012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2454
2455 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2456 code rewrite.
2457
6ef2e5ef 24582012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2459
535efd4a
PE
2460 More minor time fixes.
2461 * calendar/time-date.el: Commentary fix.
2462 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2463 too much other code depends on (0 0) time stamps.
2464 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2465 Add a couple of FIXME comments.
2466
0c93aa38
PE
2467 Minor cleanup for times as lists of four integers.
2468 * files.el (dir-locals-directory-cache):
2469 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2470 Doc fixes.
2471 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2472 * ps-bdf.el (bdf-file-newer-than-time):
2473 Process four-integers time stamps, not two. Doc fixes.
2474
23ba2705
SM
24752012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2e31777b
SM
2477 * uniquify.el (uniquify-managed): Use defvar-local.
2478 (rename-buffer, create-file-buffer): Advise with advice-add.
2479 (uniquify-unload-function): Unadvise accordingly.
2480
8b62d742
SM
2481 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2482 (trace-buffer): Don't purecopy.
2483 (trace-entry-message, trace-exit-message): Add `context' arg.
2484 (trace--timer): New var.
2485 (trace-make-advice): Adjust for use in nadvice.
2486 Add `context' argument. Delay `display-buffer' via a timer.
2487 (trace-function-internal): Use advice-add.
2488 (trace--read-args): New function.
2489 (trace-function-foreground, trace-function-background): Use it.
2490 (trace-function): Rename to trace-function-foreground and redefine as
2491 an alias to that new name.
2492 (untrace-function, untrace-all): Adjust to the use of nadvice.
2493
5d0ccd95
SM
2494 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2495
3837d988
SM
2496 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2497
23ba2705
SM
2498 * subr.el (called-interactively-p-functions): New var.
2499 (internal--called-interactively-p--get-frame): New macro.
2500 (called-interactively-p, interactive-p): Rewrite in Lisp.
2501 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2502 (called-interactively-p-functions): Use it.
2503 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2504 (called-interactively-p-functions): Use it.
2505 * allout.el (allout-called-interactively-p): Don't assume
2506 called-interactively-p is a subr.
2507
b0636be7
GM
25082012-11-20 Glenn Morris <rgm@gnu.org>
2509
2510 * profiler.el (profiler-report-mode-map): Add a menu.
2511 No need to bind `q' because we derive from special-mode.
2512 (profiler-report-find-entry): Handle calls from the menu-bar.
2513
855b17af
SM
25142012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2515
14146222
SM
2516 * emacs-lisp/byte-run.el (defun-declarations-alist):
2517 Allow a compiler-macro to be a lambda expression.
2518
2519 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2520 eval-when-compile.
2521 (python-syntax-context): Add compiler-macro.
2522 (python-font-lock-keywords): Simplify with De Morgan.
2523
1000d895
SM
2524 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2525
ac5392dc
SM
2526 * files.el (load-file): Require match in minibuffer selection, as was
2527 the case in Emacs-20 before we changed the spec to allow .elc files
2528 (bug#12935).
2529
19dc7206
SM
2530 * json.el: Don't require cl since we don't use it.
2531 * color.el: Don't require cl.
2532 (color-complement): `caddr' -> `nth 2'.
2533
855b17af
SM
2534 * calendar/time-date.el (time-to-seconds): De-obsolete.
2535
e8909bdc
JB
25362012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2537
2538 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2539 year numbers.
2540 (math-date-to-julian-dt): Adjust the initial approximation for the
2541 year to deal with the new definition of the DATE.
2542
6e9f7997
DC
25432012-11-19 Daniel Colascione <dancol@dancol.org>
2544
855b17af
SM
2545 * term/w32-win.el (cygwin-convert-path-from-windows):
2546 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2547
6a3dd257
CY
25482012-11-18 Chong Yidong <cyd@gnu.org>
2549
2550 * filecache.el (file-cache--read-list): New function.
2551 (file-cache-add-directory-list, file-cache-add-file-list)
2552 (file-cache-delete-file-list, file-cache-delete-directory-list):
2553 Use it to read a list of files or directories (Bug#12846).
2554 (file-cache-add-file, file-cache-add-directory)
2555 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2556 (file-cache-delete-directory): Print an message.
2557
eef97f35
JB
25582012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2559
2560 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2561 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2562
913c8291
GM
25632012-11-18 Glenn Morris <rgm@gnu.org>
2564
2565 * image.el (insert-image, insert-sliced-image): Doc fix.
2566
2ac9538d 25672012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2568
2569 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2570 (Bug#12810).
2571
2ac9538d 25722012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2573
2574 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2575 response when the target file is in a subdirectory (Bug#12757).
2576
2ac9538d 25772012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2578
2579 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2580
2ac9538d 25812012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2582
9a5e2ee3
GM
2583 * emacs-lisp/cl-lib.el (face-underline-p):
2584 Use set-face-underline rather than the alias set-face-underline-p.
2585
65463c40 2586 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2587 * subr.el (with-output-to-temp-buffer):
2588 Add doc xref to with-temp-buffer-window.
65463c40 2589
c9ed8e3d
JB
25902012-11-18 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2593 * calc/calc.el (math-format-date-cache): Declare.
2594
310e60d9
PE
25952012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2596
6f6b82d6
PE
2597 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2598 It also uses January 1, 1 AD as its day number 1.
310e60d9 2599 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2600 (math-julian-date-beginning-int): Implement this.
310e60d9 2601
d7fe6352
JB
26022012-11-17 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * descr-text.el (quail-find-key):
2605 * dired.el (desktop-file-name):
2606 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2607 * generic-x.el (comint-mode, comint-exec):
2608 * image-dired.el (widget-forward):
2609 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2610 (speedbar-change-expand-button-char)
2611 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2612 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2613 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2614 (widget-field-action, widget-value-set):
2615 * speedbar.el (imenu--make-index-alist):
2616 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2617 (ring-length, ring-insert):
2618 * vcursor.el (compare-windows-skip-whitespace):
2619 * woman.el (dired-get-filename):
2620 Declare functions.
2621
2622 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2623
c9f618db
JB
26242012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2625
2626 * calc/calc.el (calc-gregorian-switch): New variable.
2627
2628 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2629 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2630 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2631 (math-leap-year-p): Add option to distinguish between Julian
2632 and Gregorian calendars.
2633 (math-day-number): Use `math-day-in-year' to do the computations.
2634 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2635 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2636 to do the computations.
2637 (math-date-to-dt): Use `math-date-to-julian-dt' and
2638 `math-date-to-gregorian-dt' to do the computations.
2639 (calcFunc-weekday, math-format-date-part): Use the new version of
2640 the DATE to determine the weekday.
2641 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2642 when necessary.
2643
3804f7bc
EZ
26442012-11-17 Eli Zaretskii <eliz@gnu.org>
2645
2646 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2647 Cygwin; otherwise use 'file:'. (Bug#12914)
2648 (cygwin-convert-path-from-windows): Declare, to avoid
2649 byte-compiler warnings.
2650
de959d4d
AP
26512012-11-17 Andreas Politz <politza@fh-trier.de>
2652
2653 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2654 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2655 prefix and negative numeric prefix args (Bug#12795).
2656
e45deaef
SB
26572012-11-17 Stephen Berman <stephen.berman@gmx.net>
2658
2659 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2660 Don't signal an error with a score that is too low to add to the
2661 list of top scores. (Bug#12779)
2662
ec15e0ff
CY
26632012-11-17 Chong Yidong <cyd@gnu.org>
2664
8e7696a1
CY
2665 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2666
ec15e0ff
CY
2667 * filecache.el (file-cache-add-file): Handle relative file name in
2668 the argument (Bug#12694).
2669
60c4ee66
JH
26702012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2671
2672 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2673
cdc5d88c
SM
26742012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2675
dd0c5bbb
SM
2676 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2677
cdc5d88c
SM
2678 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2679
0ff7851c
MR
26802012-11-16 Martin Rudalics <rudalics@gmx.at>
2681
2682 * window.el (enlarge-window, shrink-window): Don't mention return
2683 value in doc-string (Bug#12896).
2684 (window--display-buffer): Don't resize frames - it won't work
2685 with all window managers and defeat pop-up-frame-alist.
2686 (display-buffer-alist): In doc-string explain that CONDITION can
2687 be a function and which arguments are passed to it (Bug#12854).
2688 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2689 expressions (Bug#12854).
2690 (display-buffer): Pass ACTION argument to
2691 display-buffer-assq-regexp.
2692
dedd1884
GM
26932012-11-16 Glenn Morris <rgm@gnu.org>
2694
7c82753d
GM
2695 * window.el (fit-frame-to-buffer-bottom-margin)
2696 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2697
dedd1884
GM
2698 * faces.el (face-underline-p): Use face-attribute-specified-or.
2699
96e05507 27002012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2701
2702 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2703
96e05507 27042012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2705
2706 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2707
96e05507 27082012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2709
17c083ac
GM
2710 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2711 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2712
bde3c6c0
GM
2713 * faces.el (face-underline-p): Doc fix. Handle :underline being
2714 things other than `t' (a string, a list).
2715 (face-inverse-video-p): Doc fix.
2716 (set-face-underline): Rename it back from set-face-underline-p.
2717 Doc fix. Allow interactive input of values other than t.
2718 (read-face-attribute): Apply formatting to :underline,
2719 since like :box and :stipple it can take list values.
2720
e2e13f18
GM
2721 * term.el (ansi-term): Don't let C-x escape-char binding
2722 clobber the more standard C-c binding. (Bug#12842)
2723
e0ea8060
GM
2724 * subr.el (set-temporary-overlay-map): Doc fix.
2725
96e05507 27262012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2727
2728 * window.el (record-window-buffer)
2729 (display-buffer-record-window): When copying the markers to
2730 window-point preserve window-point-insertion-type. (Bug#12588)
2731
96e05507 27322012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2733
2734 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2735 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2736 Use new names for hooks rather than obsolete aliases.
2737
faeafc01
DC
27382012-11-15 Daniel Colascione <dancol@dancol.org>
2739
2740 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2741 prefix instead of "file:" so that when FILE-NAME begins with "//",
2742 as it does when the target file is on a network share, url-handler
2743 isn't confused.
2744
1232d6c2
SM
27452012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2748 a preactivated advice from an old advice.el; they're not compatible!
2749
47f01a8a
KY
27502012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2751
2752 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2753 Fix string-spec case.
2754
2755 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2756
a61428c4
SM
27572012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2760 (advice--buffer-local-function-sample): New var.
2761 (advice--set-buffer-local, advice--buffer-local): New functions.
2762 (add-function, remove-function): Use them.
2763
875ce3a7
DA
27642012-11-15 Drew Adams <drew.adams@oracle.com>
2765
2766 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2767
589fc479
SM
27682012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2771 potential binding of print-gensym to t, and prettify (back)quotes in
2772 case they appear in args's default values (bug#12884).
2773
1668ea90
SM
27742012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2777 (advice-eval-interactive-spec): New function.
2778 (advice--make-interactive-form): Support around advice (bug#12844).
2779
8619323f
DG
27802012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2781
2782 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2783 more strict. Add docstring.
c62792e7
DG
2784 (ruby-expression-expansion-re): Extract from
2785 `ruby-match-expression-expansion'.
2786 (ruby-syntax-propertize-function): After everything else, search
2787 for expansions in string literals, mark their insides as
2788 whitespace syntax and save match data for font-lock.
2789 (ruby-font-lock-keywords): Use the 2nd group from expression
2790 expansion matches.
2791 (ruby-match-expression-expansion): Use the match data saved to the
2792 text property in ruby-syntax-propertize-function.
8619323f 2793
9c3912d3
SM
27942012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2797 (bug#12879).
2798
5e9419e8
DG
27992012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2800
2801 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2802 start/end keyword a bit harder. Works with different values of N.
2803 Add more comments.
2804 (ruby-end-of-block): Update accordingly.
2805
3c442f8b
SM
28062012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2807
fa470af0
SM
2808 * woman.el (woman-file-name): Don't mess with unread-command-events
2809 (bug#12861).
2810
3c442f8b
SM
2811 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2812 Remove out of date self-require hack.
2813 (ad-do-advised-functions): Use simple `dolist'.
2814 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2815 (ad-advice-definition): Redefine as functions.
2816 (ad-advice-classes): Move before first use.
2817 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2818 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2819 (ad--defalias-fset): Remove functions.
fa470af0 2820 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2821 (ad-get-orig-definition): Rewrite.
2822 (ad-make-advised-definition-docstring): Change base docstring.
2823 (ad-real-orig-definition): Rewrite.
2824 (ad-map-arglists): Change name of called function.
2825 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2826 (ad-make-advised-definition): Simplify.
2827 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2828 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2829 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2830 function and call ad-activate if needed.
2831 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2832 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2833 (ad-compile-function): Compile ad-Advice-*.
2834 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2835 (ad-start-advice, ad-stop-advice): Remove.
2836
5745cae6
DG
28372012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2838
2839 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2840 period before class method names, not after. Remove handling of
2841 one impossible case. Add comments.
2842
413d4689
SM
28432012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2844
7db1bda8
SM
2845 * emacs-lisp/advice.el: Remove support for freezing.
2846 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2847 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2848 Remove support for `freeze'.
2849
413d4689
SM
2850 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2851 override the default.
2852 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2853 cl--dotimes/dolist.
2854 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2855 `cl' is loaded.
2856
2857 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2858 from add-advice.
2859 (advice--strip-macro): New function.
2860 (advice--defalias-fset): Use them to handle macros.
2861 (advice-add): Use them.
2862 (advice-member-p): Correctly handle macros.
2863
f178c32d
DG
28642012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2865
7db1bda8
SM
2866 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2867 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2868
f78ee6af 28692012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2870
2871 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2872
f78ee6af 28732012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2874
2875 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2876 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2877 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2878
f78ee6af 28792012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2880
2881 Fix end-of-defun misbehavior.
2882 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2883 python-beginning-of-defun-function. Handle nested defuns
2884 correctly.
2885 (python-nav-end-of-defun): Rename from
2886 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2887 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2888 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2889 parent defuns as soon as possible.
2890
f78ee6af 28912012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2892
2893 * progmodes/flymake.el (flymake-error-bitmap)
2894 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2895 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2896
f78ee6af 28972012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2898
2899 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2900 backward, always stop at indentation. Reverts the change from
2901 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2902
f78ee6af 29032012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2904
a1d3e07e
GM
2905 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2906 Add ibuffer-filter-by-derived-mode.
2907
84acf328
GM
2908 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2909 the same name shadowing each other.
2910
38785e75
GM
2911 * window.el (with-temp-buffer-window): Doc tweak.
2912
57fc0fee
GM
2913 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2914
6ba6a3e5
GM
2915 * help.el (temp-buffer-max-height):
2916 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2917 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2918
231d8498
SM
29192012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2920
2921 * emacs-lisp/nadvice.el: New package.
2922 * subr.el (special-form-p): New function.
2923 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2924 (elp-all-instrumented-list): Remove var.
2925 (elp-not-profilable): Remove elp-wrapper.
2926 (elp-profilable-p): Use autoloadp and special-form-p.
2927 (elp--advice-name): New const.
2928 (elp-instrument-function): Use advice-add.
2929 (elp--instrumented-p): New predicate.
2930 (elp-restore-function): Use advice-remove.
2931 (elp-restore-all, elp-reset-all): Use mapatoms.
2932 (elp-set-master): Use elp--instrumented-p.
2933 (elp--make-wrapper): Rename from elp-wrapper, return a function
2934 suitable for advice-add. Use cl-inf.
2935 (elp-results): Use mapatoms+elp--instrumented-p.
2936 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2937 (debug-function-list): Remove var.
2938 (debug): Rename arg, and then let-bind it explicitly inside.
2939 (debugger-setup-buffer): Rename arg.
2940 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2941 (debugger-frame-number): Adjust to new debug-on-entry setup.
2942 (debug--implement-debug-on-entry): Rename from
2943 implement-debug-on-entry, add argument.
2944 (debugger-special-form-p): Remove, use special-form-p instead.
2945 (debug-on-entry): Use advice-add.
2946 (debug--function-list): New function.
2947 (cancel-debug-on-entry): Use it, along with advice-remove.
2948 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2949 (debugger-list-functions): Use debug--function-list instead of
2950 debug-function-list.
2951 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2952 (ad-special-form-p): Remove, use special-form-p instead.
2953 (ad-set-advice-info): Use add-function and remove-function.
2954 (ad--defalias-fset): Adjust accordingly.
2955
19e09879
GM
29562012-11-10 Glenn Morris <rgm@gnu.org>
2957
714cebd1
GM
2958 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2959 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2960 (report-emacs-bug-create-existing-bugs-buffer)
2961 (report-emacs-bug-parse-query-results)
2962 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2963
bf67dafa
GM
2964 * term.el (term-default-fg-color, term-default-bg-color):
2965 Make obsolete, rather than just saying "deprecated" in the doc.
2966
19e09879
GM
2967 * term.el (term): Rename from `term-face'.
2968 (term-current-face, ansi-term-color-vector)
2969 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2970 Update all users.
2971
6baf66d5 29722012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2973
2974 * server.el (server-create-window-system-frame): Handle Nextstep
2975 specially (Bug#12780).
2976
6baf66d5 29772012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2978
2979 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2980 Unautoload, and make obsolete. (Bug#7449)
2981
6baf66d5 29822012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2983
2984 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2985 rename from diff-remove-trailing-whitespace (Bug#12831).
2986
6baf66d5 29872012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2988
2989 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2990 miscompilation of trace.el.
2991
6baf66d5 29922012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2993
2994 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2995
6baf66d5 29962012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2997
2998 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2999 (bug#12812).
3000
6baf66d5 30012012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
3002
3003 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3004 a defcustom with an appropriate :set function.
3005 (minibuffer-default--in-prompt-regexps): New function.
3006
6baf66d5 30072012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 3008
031b2ea7
GM
3009 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3010 (define-modify-macro): Doc fixes.
3011
2ee1d59f
GM
3012 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3013 (gv-define-simple-setter): Update doc of `fix-return'.
3014
6baf66d5 30152012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 3016
b715ed44
SM
3017 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3018 twice when `fix-return' is set (bug#12813).
3019
d57c286e
SM
3020 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3021 gv-define-simple-setter (bug#12812).
3022
c9cac599
SM
3023 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3024 (bug#12756).
3025
6baf66d5 30262012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
3027
3028 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3029
5593ed90
GM
3030 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3031 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3032 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3033 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3034
3035 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3036
05a859c1
LL
30372012-11-10 Leo Liu <sdl.web@gmail.com>
3038
3039 * ido.el (ido-set-matches-1): Improve flex matching performance by
3040 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3041
32e5c58c
SM
30422012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3045 (ad--defalias-fset): New function.
3046 (ad-safe-fset): Remove.
3047 (ad-make-freeze-definition): Use cl-letf*.
3048
f5925cd9
SM
30492012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3050
da03ef8a
SM
3051 * subr.el (dolist): Don't bind VAR in RESULT.
3052
6858633a
SM
3053 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3054 (fset, documentation): Don't save real def since we don't advise.
3055 (ad-do-advised-functions): Remove problematic `result-form'.
3056 (ad-safe-fset): `ad-real-fset' => `fset'.
3057 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3058 uses CL's dolist internally.
3059 (ad-arglist): Remove unused arg `name'.
3060 (ad-docstring, ad-make-advised-docstring):
3061 `ad-real-documentation' => `documentation'.
3062 (warning-suppress-types): Declare.
3063 (ad-set-arguments): Simple CSE.
3064 (ad-recover-normality): Sanity check.
3065
f5925cd9
SM
3066 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3067 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3068
93a66b3a
VB
30692012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3070
3071 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
3072 `ses-cell'. This means that the same mapping is done for all SES
3073 sheets. That is good enough for cells with standard A1 names, but
3074 not for named cell. So a hash map is added for the latter.
3075 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
3076 (ses-sym-rowcol): Use hashmap for named cell.
3077 (ses-is-cell-sym-p): New defun.
3078 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
3079 (ses-create-cell-variable): Add cell to hashmap when name is not
3080 A1-like.
93a66b3a
VB
3081 (ses-rename-cell): Check that cell new name is not already in
3082 spreadsheet with the use of ses-is-cell-sym-p
3083 (ses-rename-cell): Use hash map for named cells, but accept also
3084 renaming back to A1-like.
3085
67dd8ad1
SM
30862012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3087
57618ecf
SM
3088 * emacs-lisp/advice.el: Use new dynamic docstrings.
3089 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3090 Use dynamic-docstring-function instead of ad-advice-info.
3091 (ad--make-advised-docstring): New function extracted from
3092 ad-make-advised-docstring.
3093 (ad-make-advised-docstring): Use it.
3094 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3095 from sql-help.
3096 (sql-help): Use it with dynamic-docstring-function.
3097
67dd8ad1
SM
3098 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3099
be883b34
SM
31002012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3101
d41706aa
SM
3102 * files.el (hack-one-local-variable--obsolete): New function.
3103 (hack-one-local-variable): Use it for obsolete settings.
3104
85e55412
SM
3105 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3106 the new name.
3107
be883b34
SM
3108 * progmodes/js.el (js--filling-paragraph): New var.
3109 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3110 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3111 less sneaky.
3112
cabc040a
JD
31132012-11-08 Julien Danjou <julien@danjou.info>
3114
3115 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3116 `auto-mode-alist' (Bug#12835).
3117
d14bb752
SM
31182012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3119
79b3e376
SM
3120 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3121 (perl--prettify-symbols-alist): New const.
3122 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3123 New functions.
3124 (perl-font-lock-keywords-2): Use them.
3125 (perl-electric-noindent-p): New function.
3126 (perl-mode): Use it to set up electric-indent-mode.
3127 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3128 (perl-mode-map): Remove bindings for them.
3129 (perl-imenu-generic-expression, perl-outline-level):
3130 Match functions&packages in column>0.
3131
3b11e6ac
SM
3132 * env.el (env--substitute-vars-regexp): New const.
3133 (substitute-env-vars): Use it. Add `only-defined' arg.
3134 * net/tramp.el (tramp-replace-environment-variables): Use it.
3135
784c1a7b
SM
3136 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3137 Byte-compile *before* eval in eval-and-compile.
3138 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3139 (byte-compile-file-form-autoload): Don't hide actual definition.
3140 (byte-compile-maybe-guarded): Accept `functionp' as well.
3141
d14bb752
SM
3142 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3143
499a0f7a
MA
31442012-11-07 Michael Albinus <michael.albinus@gmx.de>
3145
3146 * notifications.el (notifications-get-server-information-method):
3147 New defconst.
3148 (notifications-get-capabilities): Fix docstring.
3149 (notifications-get-server-information): New defun.
3150
f0704a9a
AM
31512012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3152
3153 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3154 readability.
3155
b159a1fd
AM
3156 * textmodes/ispell.el: Experimental support for support debugging.
3157 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3158 buffer for ispell.
3159 (ispell-print-if-debug): New function to print stuff to
3160 `ispell-debug-buffer' if debugging is enabled.
3161 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3162 show some debugging info.
3163 (ispell-buffer-with-debug): New function that creates a debugging
3164 buffer and calls `ispell-buffer' with debugging enabled.
3165
056cb3a1
AM
3166 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3167 comment in autoconf mode. (Bug#12768)
3168
8e6a67b7
DA
31692012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3170
3171 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3172 frame-first-window, frame-root-window, frame-selected-window,
3173 minibuffer-selected-window, minibuffer-window,
3174 window-absolute-pixel-edges, window-at, window-body-height,
3175 window-body-width, window-display-table, window-combination-limit,
3176 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3177 window-inside-edges, window-inside-pixel-edges, window-left-child,
3178 window-left-column, window-margins, window-next-buffers,
3179 window-next-sibling, window-new-normal, window-new-total,
3180 window-normal-size, window-parameter, window-parameters, window-parent,
3181 window-pixel-edges, window-point, window-prev-buffers,
3182 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3183 window-start, window-text-height, window-top-child, window-top-line,
3184 window-total-height, window-total-width and window-use-time to the list
3185 of functions without side-effects.
3186 (toplevel): Add window-valid-p to the list of error-free functions
3187 without side-effects.
3188
53fc914f
AM
31892012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3190
f5925cd9
SM
3191 * textmodes/ispell.el (ispell-program-name):
3192 Update spellchecker parameters when customized.
53fc914f 3193
9749e2b0
GM
31942012-11-04 Glenn Morris <rgm@gnu.org>
3195
3196 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3197
2cbafa56
CY
31982012-11-04 Chong Yidong <cyd@gnu.org>
3199
3200 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3201 same-window-* variables.
3202
85178ca1
JL
32032012-11-04 Juri Linkov <juri@jurta.org>
3204
3205 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3206 (isearch-describe-key, isearch-describe-mode): Use a display
3207 action instead of binding same-window-* variables (Bug#10040).
3208
5c677d44
GM
32092012-11-03 Glenn Morris <rgm@gnu.org>
3210
49138400
GM
3211 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3212 Rename handler properties back from cl-- to cl-. (Bug#12788)
3213
5c677d44
GM
3214 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3215
1d4341f9
EZ
32162012-11-03 Eli Zaretskii <eliz@gnu.org>
3217
3218 * term/pc-win.el: Don't load term/internal from here.
3219
3220 * loadup.el: Load term/internal from here.
3221
12fd5ee1
FEG
32222012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3223
3224 * progmodes/python.el (inferior-python-mode): Fix hang in
3225 jit-lock (Bug#12645).
3226
43bcfda6
MR
32272012-11-03 Martin Rudalics <rudalics@gmx.at>
3228
3229 * window.el (switch-to-visible-buffer)
3230 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3231
376a8e83
GM
32322012-11-03 Glenn Morris <rgm@gnu.org>
3233
3234 * emacs-lisp/cl-lib.el (cl--random-time):
3235 Rename from cl-random-time. (Bug#12773)
3236 (cl--gensym-counter, cl--random-state): Update callers.
3237 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3238
0f7b074f
CY
32392012-11-03 Chong Yidong <cyd@gnu.org>
3240
3241 * cus-start.el: Make cursor-type customizable (Bug#11633).
3242
3a6851d9
GM
32432012-11-02 Glenn Morris <rgm@gnu.org>
3244
00a3b041
GM
3245 * filecache.el: No need to load find-lisp when compiling.
3246 (find-lisp-find-files): Autoload it.
3247 (file-cache-add-directory-recursively): Don't require find-lisp.
3248
11fef14a
GM
3249 * image.el (image-type-from-file-name): Trivial simplification.
3250
3a6851d9
GM
3251 * emacs-lisp/bytecomp.el (byte-compile-eval):
3252 Decouple "noruntime" and "cl-functions" warnings.
3253
b4b096e4
SB
32542012-11-01 Stephen Berman <stephen.berman@gmx.net>
3255
3256 * play/gomoku.el (gomoku-display-statistics): Update mode line
3257 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3258
218e997a
MR
32592012-10-31 Martin Rudalics <rudalics@gmx.at>
3260
3261 * window.el (quit-restore-window): If the window has been
3262 created on an existing frame and ended up as the sole window on
3263 that frame, do not delete it (Bug#12764).
3264
b08b6da7
SM
32652012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3618df45
SM
3267 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3268 Rename from sh--inside-arithmetic-expression, handle more cases
3269 (bug#11263).
3270
b08b6da7
SM
3271 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3272 (sh-font-lock-open-heredoc): Use it (bug#12770).
3273
4ddedf94
GM
32742012-10-30 Glenn Morris <rgm@gnu.org>
3275
f43a5263
GM
3276 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3277
4ddedf94
GM
3278 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3279
748b0d84
CY
32802012-10-29 Chong Yidong <cyd@gnu.org>
3281
b5dd9a77
CY
3282 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3283 function key is stored in a keyboard macro (Bug#4894).
3284
748b0d84
CY
3285 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3286
e07fcbdc
SM
32872012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3288
d7f9cc85
SM
3289 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3290 header comments".
3291 (diff-unified->context, diff-context->unified)
3292 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3293
c606253c
SM
3294 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3295
e07fcbdc
SM
3296 * files.el (find-alternate-file): Only ask one question (bug#12487).
3297
894b9dd9
CY
32982012-10-29 Chong Yidong <cyd@gnu.org>
3299
1dc2755a
CY
3300 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3301 Suggested by Dan Nicolaescu (Bug#6326).
3302
329c48d8
CY
3303 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3304
2230fa5b 3305 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3306
e84cad57
CY
3307 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3308
1913c5f5
CY
3309 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3310
894b9dd9
CY
3311 * face-remap.el (face-remap-add-relative): Handle the case where a
3312 face-remapping-alist entry is a cons cell (Bug#12762).
3313
329c48d8
CY
33142012-10-29 Kevin Ryde <user42@zip.com.au>
3315
3316 * woman.el (woman-parse-numeric-value): Handle picas correctly
3317 (Bug#12639).
3318
a0ccbcbd
GM
33192012-10-29 Glenn Morris <rgm@gnu.org>
3320
3321 * emacs-lisp/cl.el (defsetf): Doc fix.
3322
b3871e59
SM
33232012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3326 syntax to the matching opener, if any (bug#12547).
3327 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3328 matching open as a "case-(".
3329 (sh-smie-rc-grammar): Add a corresponding rule for it.
3330
cd44022c
DH
33312012-10-28 Daniel Hackney <dan@haxney.org>
3332
3333 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3334 "PKGNAME-autoloads.el" in case we created it.
3335
70edffb1
SM
33362012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3337
86957a0c
SM
3338 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3339 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3340 (completion--twq-all): Disable too-strict assertions.
86957a0c 3341
70edffb1
SM
3342 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3343
d069271c
EZ
33442012-10-27 Eli Zaretskii <eliz@gnu.org>
3345
3346 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3347 text to match the real keybindings.
3348
e2f022a3
JL
33492012-10-27 Juri Linkov <juri@jurta.org>
3350
3351 * wdired.el (wdired-keep-marker-rename): New defcustom.
3352 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3353 (Bug#11795)
3354
3355 * dired.el (dired-keep-marker-rename): Add reference to
3356 `wdired-keep-marker-rename' in the docstring.
3357 Add default character value ?R to display initially in
3358 Customization UI instead of ?@.
3359
df171c23
MR
33602012-10-27 Martin Rudalics <rudalics@gmx.at>
3361
3362 * window.el (display-buffer): In doc-string describe
3363 window-height and window-width alist entries.
3364
3365 * time.el (display-time-world): Restore fit-window-to-buffer
3366 behavior.
3367
05b621a6
CY
33682012-10-27 Chong Yidong <cyd@gnu.org>
3369
3370 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3371
55f197b2
J
33722012-10-26 Jambunathan K <kjambunathan@gmail.com>
3373
3374 * minibuffer.el (completion-category-overrides): New completion
3375 category `bookmark' (bug#11131).
3376
372212df
SM
33772012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3378
150f809c
SM
3379 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3380 Silence bogus compiler warnings for ad-do-it.
3381
372212df
SM
3382 * bookmark.el (bookmark-completing-read): Set the completion category
3383 to `bookmark' (bug#11131).
3384
c5772569
B
33852012-10-26 Bastien <bzg@altern.org>
3386 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * face-remap.el: Use lexical-binding.
3389 (text-scale-adjust): Improve docstring. Use itself for the temporary
3390 overlay-map bindings, so as to repeat the "Use..." message each time.
3391
a2be0357
SM
33922012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3393
63314e57
SM
3394 * emacs-lisp/macroexp.el (macroexp--expand-all):
3395 Obey byte-compile-warning-enabled-p (bug#12486).
3396
a2be0357
SM
3397 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3398 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3399
8c7727c3
MR
34002012-10-26 Martin Rudalics <rudalics@gmx.at>
3401
3402 * mouse.el (mouse-drag-line): Move last form into preceding when
3403 clause (Bug#12731).
3404
3405 * help.el (resize-temp-buffer-window): Fix doc-string.
3406
3f2a848d
DE
34072012-10-25 David Engster <deng@randomsample.de>
3408
3409 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3410 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3411
3412 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3413 always loaded. Require `speedbar' unconditionally.
3414
a7723be6
SM
34152012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3416
aaabfc8b
SM
3417 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3418
414a8595
SM
3419 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3420
fb5b9475
SM
3421 * net/ldap.el (ldap-search-internal): The official ldif format starts
3422 with a "version: 1" header (bug#12724).
3423
a7723be6
SM
3424 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3425 (bug#12721).
3426
a05cb6e3
GM
34272012-10-25 Glenn Morris <rgm@gnu.org>
3428
3429 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3430
3c92de70
SM
34312012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * minibuffer.el (minibuffer-force-complete): Use one more marker
3434 for the temporary-overlay-map command (bug#12619).
3435
a4b6d7c6
CY
34362012-10-24 Chong Yidong <cyd@gnu.org>
3437
3438 * time.el (display-time-world-mode): Derive from special-mode.
3439 (display-time-world): Use display-buffer (Bug#12708).
3440 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3441 (display-time-world-display): Wrap the final delete-char inside
3442 inhibit-read-only.
a4b6d7c6 3443
75e8f9d2
CY
34442012-10-24 Chong Yidong <cyd@gnu.org>
3445
cd996018
CY
3446 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3447 Doc fix.
3448
75e8f9d2
CY
3449 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3450
d92df117
SM
34512012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * minibuffer.el (completion--all-sorted-completions-location): New var.
3454 (completion--cache-all-sorted-completions)
3455 (completion--flush-all-sorted-completions): Use it.
3456 (completion-in-region, completion-in-region--postch)
3457 (completion-at-point, completion-help-at-point): Use markers in
3458 completion-in-region--data (bug#12619).
3459
9c3e39f3
SM
34602012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3461
c79825bd
SM
3462 * progmodes/compile.el (compilation-start): Try to handle common
3463 quoting of `cd' argument (bug#12640).
3464
9c3e39f3
SM
3465 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3466 (bug#12671).
3467
a6709bc7
GM
34682012-10-23 Glenn Morris <rgm@gnu.org>
3469
3470 * progmodes/gud.el (gud-menu-map):
3471 Check gdb-active-process is bound. (Bug#12358)
3472
d1069532
SM
34732012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3474
d20d69c0
SM
3475 * repeat.el (repeat): Set real-this-command (bug#12232).
3476
d1069532
SM
3477 * htmlfontify.el (hfy-post-html-hook):
3478 * filesets.el (filesets-cache-fill-content-hook):
3479 * arc-mode.el (archive-extract-hook):
3480 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3481 * net/rcirc.el (rcirc-sentinel-functions)
3482 (rcirc-receive-message-functions, rcirc-activity-functions)
3483 (rcirc-print-functions):
3484 * net/dbus.el (dbus-event-error-functions):
3485 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3486 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3487 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3488 * term/sun.el (sun-raw-prefix-hooks):
3489 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3490
f7eac6d8
MA
34912012-10-23 Michael Albinus <michael.albinus@gmx.de>
3492
d1069532
SM
3493 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3494 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3495 (tramp-smb-wait-for-output): Add timeout to
3496 `tramp-accept-process-output' calls.
3497
608d9d7c
CY
34982012-10-23 Chong Yidong <cyd@gnu.org>
3499
49238e7f
CY
3500 * faces.el (font-list-limit): Define as an obsolete variable.
3501
3502 * startup.el (command-line):
3503 * cus-start.el: Don't refer to font-list-limit.
3504
608d9d7c
CY
3505 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3506
4ff5b1b2
SM
35072012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * subr.el (internal-temp-output-buffer-show): Rename from
3510 temp-output-buffer-show, since previously compiled files expect this name.
3511
ea1d4aac
GM
35122012-10-23 Glenn Morris <rgm@gnu.org>
3513
3514 * image.el (image-type-from-file-name): If multiple types match,
3515 return the first one that is supported. (Bug#9045)
3516
eda82a31
GM
35172012-10-22 Glenn Morris <rgm@gnu.org>
3518
3519 * image.el (imagemagick-enabled-types): Doc fix.
3520
4f020bec
TA
35212012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3522
3523 * progmodes/which-func.el (which-func-current): The hash-table may have
3524 an explicit nil (bug#12338).
3525
c77d37e2
SM
35262012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * electric.el (electric-pair-delete-selection-self-insert-function):
3529 Rename to electric-pair-will-use-region, return a boolean.
3530 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3531
3532 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3533 (delete-selection-pre-hook): Use use-region-p.
3534 (delete-selection-self-insert-function): Remove.
3535 (self-insert-command): Obey self-insert-uses-region-functions.
3536 (self-insert-iso): Revert to previous setting, since we don't actually
3537 know what that command does.
3538 (delete-selection-self-insert-hooks): Remove.
3539
b1d39ccc
SL
35402012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3541
3542 * delsel.el (delete-selection-helper): New function, extracted from
3543 delete-selection-pre-hook.
3544 (delete-selection-pre-hook): Use it.
3545 (delete-selection-self-insert-function): New function.
3546 (delete-selection-self-insert-hooks): New hook.
3547 (self-insert-command, self-insert-iso): Use it.
3548 * electric.el (electric-pair-syntax): New function, extracted from
3549 electric-pair-post-self-insert-function.
3550 (electric-pair-post-self-insert-function): Use it.
3551 (electric-pair-delete-selection-self-insert-function): New function.
3552 (electric-pair-mode): Require delsel and setup
3553 delete-selection-self-insert-hooks (bug#11520).
3554
045ef729
CY
35552012-10-20 Chong Yidong <cyd@gnu.org>
3556
4c5d08a8
CY
3557 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3558 no changes to show (Bug#12586).
3559
045ef729
CY
3560 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3561 list explicitly (Bug#12571).
3562
3503c798 35632012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3564
b1d39ccc
SL
3565 * progmodes/flymake.el (flymake-create-temp-inplace):
3566 Use file-truename.
79e1997a 3567
2068905b
EZ
35682012-10-20 Eli Zaretskii <eliz@gnu.org>
3569
3570 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3571
4c9e9550
JB
35722012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3573
3574 * calc/calc-units.el (math-extract-units): Properly extract powers
3575 of units.
3576
1a6e7e38
DC
35772012-10-20 Daniel Colascione <dancol@dancol.org>
3578
3579 * frame.el (make-frame): Set x-display-name as we used to in order
3580 to unbreak creating an X11 frame from an Emacs daemon started
3581 without a display.
3582
8e808318
SM
35832012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3586 the same completion-field (bug#12221).
8e808318 3587
fb0104da
MR
35882012-10-19 Martin Rudalics <rudalics@gmx.at>
3589
3590 * emacs-lisp/debug.el (debug): Record height of debugger window
3591 also when debugger will be back (Bug#8789).
3592
8c27235e
CY
35932012-10-18 Chong Yidong <cyd@gnu.org>
3594
3595 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3596 Convert to defcustom.
3597 (gdb-get-source-file): Don't bind pop-up-windows.
3598
3599 * progmodes/gud.el (gud-display-line): Don't specially re-use
3600 other frames for the gdb-mi case (Bug#12648).
3601
90eacf99
SM
36022012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3603
aaf0c300
SM
3604 * emacs-lisp/advice.el: Clean up commentary a bit.
3605 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3606 (byte-code-function-p): Never redefine.
3607
90eacf99
SM
3608 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3609
281c9d2b
GM
36102012-10-18 Glenn Morris <rgm@gnu.org>
3611
40714e3d
GM
3612 * dired.el (dired-sort-toggle): Some ls implementations only allow
3613 a single option string. (Bug#12666)
3614
281c9d2b
GM
3615 * minibuffer.el (completion-cycle-threshold): Doc fix.
3616
b278604e
KH
36172012-10-17 Kenichi Handa <handa@gnu.org>
3618
90eacf99
SM
3619 * international/mule.el (set-keyboard-coding-system):
3620 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3621 Supply TERMINAL arg to set-input-meta-mode.
3622
df171c23 36232012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3624
3625 * wdired.el (wdired-old-marks): New variable.
3626 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3627 (wdired-do-renames): Move point with renamed file and don't lose
3628 mark status (Bug#11795).
3629
e5a94ec4
JL
36302012-10-16 Juri Linkov <juri@jurta.org>
3631
3632 * replace.el (query-replace-help): Mention multi-buffer replacement
3633 keys in the Help message. (Bug#12655)
3634
d18a0d24
CY
36352012-10-15 Chong Yidong <cyd@gnu.org>
3636
3637 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3638
8111f5e6
EZ
36392012-10-14 Eli Zaretskii <eliz@gnu.org>
3640
7b9abf24
EZ
3641 * window.el (display-buffer): Doc fix.
3642
8111f5e6
EZ
3643 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3644 Adjust the msft regexp to the output of Studio 2010, and move msft
3645 before edg-1. See the discussion on emacs-devel,
3646 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3647 for the details.
3648
5046ef67
SM
36492012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3650
9760c73c
SM
3651 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3652 (oset): Move uses of object-class-fast macro after its definition.
3653
5046ef67
SM
3654 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3655
0d11ff1c
CY
36562012-10-13 Chong Yidong <cyd@gnu.org>
3657
3658 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3659 enabled, re-enable it (Bug#11963).
3660
88ded8ac
MR
36612012-10-13 Martin Rudalics <rudalics@gmx.at>
3662
3663 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3664 non-nil, restore window configuration (Bug#12623).
3665
bd0ffffd
SM
36662012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3667
06485aa8
SM
3668 * help-fns.el (describe-variable, describe-function-1):
3669 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3670
bd0ffffd
SM
3671 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3672
3a989246
GM
36732012-10-12 Glenn Morris <rgm@gnu.org>
3674
3675 * mail/rmailsum.el (rmail-header-summary):
3676 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3677
55cd00c8
FEG
36782012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3679
bd0ffffd
SM
3680 * progmodes/python.el (python-mode-map):
3681 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3682 (python-nav--up-list): Fix behavior for blocks on the same level.
3683
ac9fc2c7
SM
36842012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3685
d8cc4c00 3686 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3687
5253a5fd
SM
3688 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3689 changes to the format of load-history.
3690
ac9fc2c7
SM
3691 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3692 completion-ignore-case in case that var is buffer-local (bug#12615).
3693
cde44a77
KH
36942012-10-11 Kenichi Handa <handa@gnu.org>
3695
3696 * international/eucjp-ms.el: Re-generated.
3697
4ef4a10d
KH
36982012-10-10 Kenichi Handa <handa@gnu.org>
3699
3700 * select.el (xselect--encode-string): If a coding is specified for
3701 selection, and that is compatible with COMPOUND_TEXT, use it.
3702
9d7f027b
MR
37032012-10-10 Martin Rudalics <rudalics@gmx.at>
3704
3705 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3706 (switch-to-buffer):
3707 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3708
238f3a58
SM
37092012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3712 Don't document nil as a useful value (bug#12583).
3713
1d51f99c
MA
37142012-10-09 Michael Albinus <michael.albinus@gmx.de>
3715
238f3a58
SM
3716 * net/tramp.el (tramp-debug-message):
3717 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3718 (with-tramp-progress-reporter): Rename from
3719 `tramp-with-progress-reporter'.
238f3a58
SM
3720 (with-tramp-file-property, with-tramp-connection-property):
3721 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3722 `with-connection-property', respectively.
3723
3724 * net/tramp-cache.el: Remove `with-file-property' and
3725 `with-connection-property'.
3726
3727 * net/tramp.el:
3728 * net/tramp-gvfs.el:
3729 * net/tramp-sh.el:
3730 * net/tramp-smb.el: Adapt callees.
3731
3732 * net/trampver.el: Update release number.
3733
26b77251
GM
37342012-10-09 Glenn Morris <rgm@gnu.org>
3735
9a5f296f
GM
3736 * w32-fns.el (set-message-beep):
3737 * term/w32-win.el (set-message-beep): Update declarations.
3738
94c66ce5
SM
37392012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3740
10766e9e
SM
3741 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3742 (mode-line-widen, mode-line-input-method-map)
3743 (mode-line-coding-system-map, mode-line-remote)
3744 (mode-line-unbury-buffer, mode-line-bury-buffer)
3745 (mode-line-next-buffer, mode-line-previous-buffer):
3746 Replace save-selected-window+select-window => with-selected-window.
3747
f754db08
SM
3748 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3749 * progmodes/cc-vars.el (bq-process): Remove, unused.
3750
94c66ce5
SM
3751 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3752
a4ff7fe1
FEG
37532012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3754
3755 Implemented `backward-up-list'-like navigation.
3756 * progmodes/python.el (python-nav-up-list)
3757 (python-nav-backward-up-list): New functions.
3758 (python-mode-map): Define substitute key for backward-up-list to
3759 python-nav-backward-up-list.
3760
24517d82
FEG
37612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3762
3763 * progmodes/python.el (python-fill-paragraph): Rename from
3764 python-fill-paragraph-function. Fixed fill-paragraph for
3765 decorators (Bug#12605).
3766
51867ae2
FEG
37672012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3768
3769 * progmodes/python.el (python-shell-output-filter): Handle extra
3770 carriage return in OSX (Bug#12409).
3771
a5b773c4
FEG
37722012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3773
3774 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3775 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3776 (python-syntax-propertize-function): Use it.
3777 (python-shell-output-syntax-table): New var.
3778 (inferior-python-mode): Prevent unbalanced parens/quotes from
3779 previous output mess with current input context.
3780
13373538
JB
37812012-10-08 Juanma Barranquero <lekktu@gmail.com>
3782
3783 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3784 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3785
775a132d
MA
37862012-10-08 Michael Albinus <michael.albinus@gmx.de>
3787
3788 * ffap.el (ffap-replace-file-component): Support Tramp file name
3789 syntax, not only ange-ftp's one.
3790
3ab44929
GM
37912012-10-08 Glenn Morris <rgm@gnu.org>
3792
57f1dee4
GM
3793 * cus-start.el (message-log-max): Set :version.
3794
3ab44929
GM
3795 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3796
6a088630
MR
37972012-10-08 Martin Rudalics <rudalics@gmx.at>
3798
3799 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3800 the minibuffer window (Bug#10851).
3801
8dbce54c
FEG
38022012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3803
3804 Enhancements on forward-sexp movement.
3805 * progmodes/python.el (python-nav-beginning-of-statement)
3806 (python-nav-end-of-statement): Return point-marker.
3807 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3808 (python-info-current-symbol)
3809 (python-info-statement-starts-block-p): Rename from
3810 python-info-beginning-of-block-p.
3811 (python-info-statement-ends-block-p): Rename from
3812 python-info-end-of-block-p.
3813 (python-info-beginning-of-statement-p)
3814 (python-info-end-of-statement-p)
3815 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3816 New functions.
3817
5acd2b3e
SM
38182012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3821 frame-selected-windows.
3822
e08348a0
DC
38232012-10-08 Daniel Colascione <dancol@dancol.org>
3824
3825 * battery.el (battery-status-function): Check for
3826 w32-battery-status itself, not system-time windows-nt.
3827
3828 * frame.el: Require cl-lib.
3829 (display-format-alist): New variable mapping frame types to
3830 functions that initialize them.
3831 (window-system-for-display): New function: interprets
3832 display-format-alist.
3833 (make-frame-on-display): Remove existing display-selection logic
3834 and just forward to make-frame, which will now DTRT.
3835 (make-frame): Restructure to use window-system-for-display to
3836 figure out how to create a frame on a given display.
3837 (display-mouse-p): Look for frame-type w32, not a particular
3838 system-type.
3839
3840 * loadup.el: Load w32 lisp code when we have the w32 feature.
3841
3842 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3843 system-type windows-nt.
3844
3845 * server.el (server-create-window-system-frame): Look for window
3846 type.
3847 (server-proces-filter): Only force a window system when windows-nt
3848 _and_ w32. Explain why.
3849
3850 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3851 of window systems we configure for the mode.
3852
3853 * startup.el (command-line): Mark window system is initialized
3854 after we've done it.
3855
3856 * common-win.el (x-select-text): Look for w32, not windows-nt.
3857
3858 * ns-win.el: Require cl-lib. Add ourselves to
3859 display-format-alist.
3860 (ns-initialize-window-system): Assert we're not initialized twice.
3861
3862 * w32-win.el: Enable lexical binding; require cl-lib; add
3863 ourselves to display-format-alist.
3864 (w32-handle-dropped-file): Convert incoming dropped files from
3865 Windows paths to Cygwin ones before passing them on to the rest of
3866 Emacs.
3867 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3868 (w32-initialize-window-system): Assert we're not initialized twice.
3869
3870 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3871 (x-initialize-window-system): Assert we're not initialized twice.
3872
3873 * w32-common-fns.el: New File.
3874 (w32-version, w32-using-nt, w32-get-clipboard-data)
3875 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3876 (w32-charset-info-alist, x-last-selected, text)
3877 (x-get-selection-value, x-selection-value): Move here.
3878
3879 * w32-fns.el: Require w32-common-fns.
3880 (w32-version, w32-using-nt, w32-get-clipboard-data)
3881 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3882 (w32-charset-info-alist, x-last-selected, text)
3883 (x-get-selection-value, x-selection-value): Move to
3884 w32-common-fns.
3885
3886 * w32-vars.el:
3887 (w32-allow-system-shell, w32-system-shells): Define only in
3888 non-cygwin case.
3889
795b1482
SM
38902012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3893 (read-passwd): Remove a few more potential sources of leaks.
3894
f27c99dc
FEG
38952012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3896
3897 * progmodes/python.el (inferior-python-mode)
795b1482 3898 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3899 variables copied from parent buffer.
3900
fcacb558
JD
39012012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3902
3903 * term/ns-win.el (ns-read-file-name): Update declaration to match
3904 nsfns.m.
3905 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3906 it is set when font is acted upon.
3907
be0d5bae
FEG
39082012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3909
3910 Enhancements to indentation.
3911 * progmodes/python.el (python-indent-context): Give priority to
3912 inside-string context. Make comments indentation markers.
3913 (python-indent-region): Do not mess with strings, unless it's the
3914 enclosing set of quotes.
3915
13af0d10
SM
39162012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3917
662a9d0e
SM
3918 * window.el (internal--before-save-selected-window)
3919 (internal--after-save-selected-window): New functions extracted from
3920 save-selected-window. Make sure we return the `alist' we construct.
3921 (save-selected-window): Use them.
3922
3923 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3924 Use with-selected-window.
3925
13af0d10
SM
3926 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3927 forms that define macros (bug#12593).
3928
6aa75fb6
KH
39292012-10-07 Kenichi Handa <handa@gnu.org>
3930
13af0d10
SM
3931 * international/mule-conf.el (compound-text-with-extensions):
3932 Add :mime-charset property as x-ctext.
6aa75fb6 3933
78d876b9
SM
39342012-10-07 Stefan Merten <smerten@oekonux.de>
3935
3936 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3937 (rst-indent-literal-normal, rst-indent-literal-minimized)
3938 (rst-indent-comment): Correct :version tag.
557337e9 3939 (rst-official-cvs-rev): Correct version string.
78d876b9 3940
99a1e701
GM
39412012-10-07 Glenn Morris <rgm@gnu.org>
3942
3943 * mail/rmailmm.el (rmail-mime-process-multipart):
3944 Do not confuse a multipart message with an epilogue
3945 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3946
08f18c3d
FEG
39472012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3948
3949 Fix shell output retrieval and comint-prompt-regexp init.
3950 * progmodes/python.el (inferior-python-mode):
3951 (python-shell-make-comint): Fix initialization of
3952 comint-prompt-regexp from copied file local variables.
3953 (python-shell-fetched-lines): Remove var.
3954 (python-shell-output-filter-in-progress): Rename from
3955 python-shell-fetch-lines-in-progress.
3956 (python-shell-output-filter-buffer): Rename from
3957 python-shell-fetch-lines-string.
3958 (python-shell-fetch-lines-filter): Delete function.
3959 (python-shell-output-filter): New function.
3960 (python-shell-send-string-no-output): Use them.
3961
82ed3ab4
GM
39622012-10-07 Glenn Morris <rgm@gnu.org>
3963
1595ecfa
GM
3964 * hi-lock.el (hi-lock-process-phrase):
3965 Try to make it less fragile. (Bug#7161)
3966
82ed3ab4
GM
3967 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3968
f1f4dba0
GM
39692012-10-06 Glenn Morris <rgm@gnu.org>
3970
addc11ed 3971 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3972 non-existent mode `help'.
3973 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3974
460042b8
GM
3975 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3976 (reftex-create-bibtex-footer): Fix custom types.
3977
67667c70
GM
3978 * progmodes/sh-script.el (sh-indent-after-continuation):
3979 Add explicit :group.
3980
18dec750
GM
3981 * textmodes/rst.el (rst-preferred-decorations)
3982 (rst-shift-basic-offset): Clarify obsolescence versions.
3983
d1a1c7e6
GM
3984 * profiler.el (profiler): Add missing group :version tag.
3985 * avoid.el (mouse-avoidance-banish-position):
3986 * proced.el (proced-renice-command):
3987 * calc/calc.el (calc-ensure-consistent-units):
3988 * calendar/icalendar.el (icalendar-import-format-uid):
3989 * net/tramp.el (tramp-save-ad-hoc-proxies):
3990 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3991 * progmodes/flymake.el (flymake-error-bitmap)
3992 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3993 * progmodes/sh-script.el (sh-indent-after-continuation):
3994 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3995 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3996 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3997 (vhdl-array-index-record-field-in-sensitivity-list)
3998 (vhdl-indent-comment-like-next-code-line):
3999 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4000 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4001 (reftex-cite-key-separator, reftex-create-bibtex-header)
4002 (reftex-create-bibtex-footer):
4003 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4004 (rst-indent-literal-normal, rst-indent-literal-minimized)
4005 (rst-indent-comment): Add missing custom :version tags.
4006
ef35abb4
GM
4007 * calendar/timeclock.el (timeclock-modeline-display):
4008 Add missing obsolete alias for renamed user option.
4009
d1aae614
GM
4010 * strokes.el (strokes-modeline-string):
4011 * emulation/crisp.el (crisp-mode-modeline-string):
4012 * eshell/esh-mode.el (eshell-status-in-modeline):
4013 Aliases to defcustoms must come before the defcustom.
4014
f1f4dba0
GM
4015 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4016 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4017 (cal-tex-cursor-week-monday): Doc fixes.
4018 (cal-tex-cursor-week2-summary): Doc fix.
4019 Rename from cal-tex-cursor-week-at-a-glance.
4020
4021 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4022 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4023
4024 * calendar/calendar.el (calendar-mode-map):
4025 Add cal-tex-cursor-week2-summary.
4026
d39109c3
SM
40272012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4028
685f87b0
SM
4029 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4030
d39109c3
SM
4031 * subr.el (read-passwd-map): New var.
4032 (read-passwd): Use `read-string' again.
4033 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4034
5694896d
J
40352012-10-06 Jambunathan K <kjambunathan@gmail.com>
4036
4037 * register.el (append-to-register, prepend-to-register):
4038 Deactivate mark, as does `copy-to-register' (bug#12389).
4039
9414dd8d
CY
40402012-10-06 Chong Yidong <cyd@gnu.org>
4041
4042 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4043
2b89bca4
KH
40442012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4045
4046 * international/characters.el: Fix simple mistake ((car chars) ->
4047 elt), delete duplicated code.
4048
d5acb99a
GM
40492012-10-06 Glenn Morris <rgm@gnu.org>
4050
4051 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4052
123ec157
JS
40532012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4054
4055 * color.el (color-hsl-to-rgb): Fix incorrect results for
4056 small and large hue values. (Bug#12559)
4057
7fa36ccb
FEG
40582012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4059
4060 Enhancements to docstring formatting when filling paragraphs.
4061 * progmodes/python.el (python-fill-docstring-style): Rename from
4062 python-fill-string-style. Added new style.
4063 (python-fill-string): Use new style. Better checks for
4064 docstrings.
4065
d8788e1e
GM
40662012-10-05 Glenn Morris <rgm@gnu.org>
4067
204f3953
GM
4068 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4069
d8788e1e
GM
4070 * color.el (color-name-to-rgb, color-rgb-to-hex)
4071 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4072 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4073 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4074 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4075
8d956cef
GM
4076 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4077
e8757f09 40782012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
4079
4080 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4081 to get the correct size across symlinks.
4082
e8757f09
GM
4083 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4084
0e2ae83d
JL
40852012-10-04 Juri Linkov <juri@jurta.org>
4086
4087 * replace.el (query-replace-interactive): Declare obsolete.
4088 (query-replace-read-from): Add the last incremental search string
4089 to the list of default values accessible via M-n.
4090 (map-query-replace-regexp): Use `read-regexp'.
4091 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4092 (map-query-replace-regexp, replace-string, replace-regexp):
4093 Fix docstrings to replace mentions of `query-replace-interactive'
4094 with alternatives. (Bug#12526)
4095
93cacb6d
JL
40962012-10-04 Juri Linkov <juri@jurta.org>
4097
4098 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4099 (dired-pop-to-buffer): Declare obsolete.
4100 (dired-mark-pop-up): Doc fix.
4101
fc345011
FEG
41022012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4103
4104 Allow user to set docstring style for fill-paragraph.
4105 * progmodes/python.el
4106 (python-fill-comment-function, python-fill-string-function)
4107 (python-fill-decorator-function, python-fill-paren-function):
4108 Remove :safe for defcustoms.
4109 (python-fill-string-style): New defcustom
5694896d 4110 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4111 (python-fill-string): Honor python-fill-string-style settings.
4112
6bab5d8b
MR
41132012-10-04 Martin Rudalics <rudalics@gmx.at>
4114
4115 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4116 after setting its buffer (Bug#10805).
4117
a1a9f411
FEG
41182012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4119
4120 Fix cornercase for string syntax.
4121 * progmodes/python.el (python-syntax-propertize-function):
4122 Simplify and enhance the regexp for unescaped quotes. Now it also
4123 matches quotes in weird situations like the single quote in
4124 "something\"'".
4125 (python-syntax-stringify): Simplify num-quotes detecting code.
4126
05e153a6
GM
41272012-10-03 Glenn Morris <rgm@gnu.org>
4128
4129 * help-macro.el (three-step-help):
4130 Revert 2012-09-29 change. (Bug#12567)
4131
2e566ecb
MR
41322012-10-03 Martin Rudalics <rudalics@gmx.at>
4133
96ef9ccd
MR
4134 * menu-bar.el (kill-this-buffer): Don't do anything when
4135 `menu-frame' is not alive or visible (Bug#8184).
4136
2e566ecb
MR
4137 * emacs-lisp/debug.el (debug): When quitting the debugger window
4138 restore current buffer (Bug#12502).
4139
a96e1cb7
CY
41402012-10-02 Chong Yidong <cyd@gnu.org>
4141
5694896d
J
4142 * progmodes/hideif.el (hif-lookup, hif-defined):
4143 Handle semantic-c-takeover-hideif.
a96e1cb7 4144
b3ecad33
PE
41452012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4146
4147 Change sampling interval units from ms to ns.
4148 * profiler.el (profiler-sampling-interval): Change units
4149 from ms to ns, multiplying the default by 1000000 so that
4150 it remains 1 ms.
4151 (profiler-report-cpu-line-format): Give enough room for
4152 the maximum counters on 64-bit hosts.
4153 (profiler-report-render-calltree-1): Call them "CPU samples",
4154 not "Time (ms)", since they are not milliseconds now (and
4155 never really were).
4156
8cb51b66 41572012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4158
5694896d
J
4159 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4160 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4161
fd795bf4
CY
41622012-10-02 Chong Yidong <cyd@gnu.org>
4163
4164 * emacs-lisp/eieio.el: Restore Version header.
4165
fe0a74f9
SM
41662012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4167
6be9197e
SM
4168 * vc/diff-mode.el (diff--auto-refine-data): New var.
4169 (diff-hunk): Use it to delay refinement.
4170 (diff-mode): Remove overlays when we turn off font-lock.
4171
18486139
SM
4172 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4173 (table-initialize-table-fixed-width-mode)
4174 (table-set-table-fixed-width-mode): Remove functions.
4175 (table-command-list): Move initialization into declaration.
4176 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4177 (table-with-cache-buffer): Use `declare'.
4178 (table-span-cell): Simplify via CSE.
4179 (table-fixed-width-mode): Use define-minor-mode.
4180 (table-call-interactively, table-funcall, table-apply): Remove.
4181 (table-function): New function, to replace them.
4182
d83ef976
SM
4183 * bookmark.el (bookmark-search-pattern): Remove var.
4184 (bookmark-read-search-input): Remove function.
4185 (bookmark-bmenu-search): Reimplement using a minibuffer.
4186
cd386662
SM
4187 * faces.el (modeline): Remove obsolete face name.
4188
fe0a74f9
SM
4189 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4190 and give a non-nil default value.
4191 (add-change-log-entry): Simplify accordingly.
4192
9f7b98f8
DG
41932012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4194
4195 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4196 (vc-git-log-edit-toggle-amend): New function.
4197 (vc-git-log-edit-toggle-signoff): New function.
4198 (vc-git-log-edit-mode): New major mode.
4199 (vc-git-log-edit-mode-map): Keymap for it.
4200 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4201
4202 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4203 header names.
4204 (log-edit-toggle-header): New function.
4205 (log-edit-extract-headers): Accept function values in HEADERS alist.
4206
62a81506
CY
42072012-10-01 David Engster <deng@randomsample.de>
4208
4209 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4210 from symbol property and change message to be more consistent with
4211 Emacs proper.
4212 (eieio-describe-generic): Add filename for each implementation.
4213 Fix indices for generic and normal methods.
4214 (eieio-method-def, eieio-class-def): New buttons.
4215 (eieio-help-find-method-definition)
4216 (eieio-help-find-class-definition): New functions.
4217 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4218 class, constructor and method definitions.
4219
4220 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4221 information in symbol property.
4222 (scoped-class): Remove.
4223 (eieio-slot-name-index, call-next-method): Check if it is bound.
4224
42252012-10-01 Leo P. White <lpw25@cam.ac.uk>
4226
4227 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4228 (eieio-custom-mode): New major mode.
4229 (eieio-customize-object): Use it.
4230
42312012-10-01 Eric Ludlam <zappo@gnu.org>
4232
4233 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4234 specifying the expected class, and whether subclassing is allowed.
4235 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4236 (eieio-persistent-validate/fix-slot-value)
4237 (eieio-persistent-slot-type-is-class-p): New functions.
4238 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4239
4240 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4241 Stop using unused publd variable.
4242
4243 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4244 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4245 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4246 (eieio-speedbar-handle-click): Do not specify a class for the
4247 method. Fixes method invocation order problems with EDE.
4248
375e49d4
SM
42492012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4252 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4253
16ce6ccd
KF
42542012-10-01 Karl Fogel <kfogel@red-bean.com>
4255
4256 * bookmark.el (bookmark-version-control): Give tags in the
4257 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4258 (bookmark-write-file): Bind `print-circle' to `t' to allow
4259 circular custom bookmark types. (Bug#12503)
16ce6ccd 4260
19e54a4d
PE
42612012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4262
86ec63ba
PE
4263 Revert the FOLLOW-SYMLINKS change for file-attributes.
4264 * files.el (remote-file-name-inhibit-cache, after-find-file):
4265 * time.el (display-time-file-nonempty-p): Undo last change.
4266
19e54a4d
PE
4267 * profiler.el (profiler-sampling-interval): Change default back to 1.
4268 See Stefan Monnier in
4269 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4270
0478776b
FEG
42712012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4272
4273 Shell output catching a la gud-gdb.
4274 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4275 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4276 New Vars.
0478776b
FEG
4277 (python-shell-fetch-lines-filter): New function.
4278 (python-shell-send-string-no-output): Use them.
4279
c22bac2c
TM
42802012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4281
4282 * profiler.el (profiler-sampling-interval): Rename from
4283 profiler-sample-interval.
4284 (profiler-sampling-interval): Default to 10.
4285 (profiler-find-profile): New command (was profiler-find-log).
4286 (profiler-find-profile-other-window): New command.
4287 (profiler-find-profile-other-frame): New command.
4288 (profiler-profile): Introduce API-level data structure.
4289
e7a2937b
PE
42902012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4291
4292 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4293 * files.el (remote-file-name-inhibit-cache):
4294 * time.el (display-time-file-nonempty-p): Use it.
4295 * files.el (after-find-file): Don't chase links before calling
4296 file-exists-p, as file-exists-p already does the right thing.
4297
4f595e15
RA
42982012-09-30 Ralf Angeli <angeli@caeruleus.net>
4299
4300 Merge from standalone RefTeX repository.
4301
4302 The following ChangeLog entries are shortened versions of the
4303 original ones with file paths adapted. A not so strongly edited
4304 version of the original ChangeLog can be found in the commit log.
4305
4306 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4307 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4308 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4309
4310 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4311 that entries with whitespace at various places are found.
4312 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4313 Include @String definitions in the resulting bib file. Add header
4314 and footer defined in `reftex-create-bibtex-header' and
4315 `reftex-create-bibtex-footer'.
4316 (reftex-do-citation): Make it possible again to insert
4317 non-existent entries. Save match data when asking for optional
4318 arguments. Return all keys, not just the first one.
4319 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4320 all citations in the same line.
4321 (reftex-parse-bibtex-entry): Accept additional optional argument
4322 `raw' and keep quotes or braces if it is non-nil. Match fields
4323 containing hyphens besides word constituents.
4324 (reftex-get-string-refs): New function.
4325 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4326 and ask if it should be reread in case it did.
4327 (reftex-pop-to-bibtex-entry)
4328 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4329 entries with spaces or tabs in front of arguments.
4330 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4331 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4332 Match entries containing numbers and symbol constituents.
4333 (reftex-do-citation, reftex-figure-out-cite-format):
4334 Use `reftex-cite-key-separator'.
4f595e15
RA
4335
4336 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4337 (reftex-mouse-view-crossref): Explain why point is set.
4338
4339 * textmodes/reftex-global.el: Whitespace changes.
4340
4341 * textmodes/reftex-index.el: Move provide statement to end of
4342 file.
4343 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4344 (reftex-index-visit-phrases-buffer): Set marker when visiting
4345 buffer. This allows for returning from the phrases file to the
4346 file one was just editing instead of the file where the last
4347 phrases was added from.
4348 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4349 punctuation syntax as it usually is not used as string quote in
4350 TeX-related modes and may occur unmatched. The change also
4351 prevents fontification of quoted content.
4352 (reftex-index-phrases-mode): Use it.
4353
375e49d4
SM
4354 * textmodes/reftex-parse.el (reftex-parse-from-file):
4355 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4356 (reftex-parse-from-file): Use beginning of match instead of end as
4357 bound.
4358
4359 * textmodes/reftex-ref.el: Adapt creation of
4360 `reftex-<package>-<macro>' functions to new structure of
4361 `reftex-ref-style-alist'.
375e49d4
SM
4362 (reftex-reference): Use `reftex-ref-style-list' function.
4363 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4364 reference macro if `reftex-ref-macro-prompt' is non-nil.
4365 (reftex-reference): Pass refstyle to `reftex-format-special'.
4366 Determine reference macro by looking at
375e49d4
SM
4367 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4368 Use only one special format function.
4f595e15
RA
4369 (reftex-varioref-vref, reftex-fancyref-fref)
4370 (reftex-fancyref-Fref): Remove definitions. The functions are now
4371 generated from `reftex-ref-style-alist'.
4372 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4373 Remove.
4374 (reftex-format-special): New function.
4375
4376 * textmodes/reftex-sel.el
4377 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4378 of `reftex-ref-style-alist'. Remove code for testing macro type.
4379 (reftex-select-toggle-varioref)
4380 (reftex-select-toggle-fancyref): Remove.
4381 (reftex-select-cycle-ref-style-internal)
4382 (reftex-select-cycle-ref-style-forward)
4383 (reftex-select-cycle-ref-style-backward): New functions.
4384 (reftex-select-label-map): Use `v' and `V' for general cycling
4385 through reference styles. Add `p' for switching between number
4386 and page reference types.
4387
375e49d4
SM
4388 * textmodes/reftex-toc.el (reftex-re-enlarge):
4389 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4390 the horizontal version throws an error even if the parameter is 0.
4391
4392 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4393 (reftex-plug-into-AUCTeX): Doc fix.
4394 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4395 string. Adapt to new name.
4396 (reftex-ref-style-alist): Change structure so that it is not
4397 possible to use multiple different package names within a style.
375e49d4
SM
4398 Remove the symbols for symbols for macro type distinction.
4399 Add characters for macro selection.
4f595e15
RA
4400 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4401 (reftex-create-bibtex-footer): New variables.
4402 (reftex-format-ref-function): Mention third argument of special
4403 format function.
375e49d4
SM
4404 (reftex-ref-style-alist, reftex-ref-style-default-list):
4405 New variables.
4f595e15
RA
4406 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4407 to new implementation. Mark as obsolete. Add compatibility code
4408 for honoring the variable values in case they are set.
375e49d4
SM
4409 (reftex-cite-format-builtin, reftex-bibliography-commands):
4410 Add support for ConTeXt.
4411 (reftex-format-ref-function, reftex-format-cite-function):
4412 Fix custom type.
4f595e15
RA
4413 (reftex-cite-key-separator): New variable.
4414
4415 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4416 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4417 `reftex-syntax-table' because parens have to retain their paren
4418 syntax in order for parsing of BibTeX entries like @book(...) to
4419 work.
4420 (reftex-in-comment): Do not error out if `comment-start-skip' is
4421 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4422 (reftex-tie-multifile-symbols): Add doc string.
4423 Initialize `reftex-ref-style-list'.
4f595e15
RA
4424 (reftex-untie-multifile-symbols): Add doc string.
4425 (reftex-add-index-macros): Doc fix.
4426 (reftex-ref-style-activate, reftex-ref-style-toggle)
4427 (reftex-ref-style-list): New functions.
4428 (reftex-mode-menu): Use them. Adapt to new structure of
4429 `reftex-ref-style-alist'.
4430 (reftex-select-with-char): Kill the RefTeX Select buffer when
4431 done.
4432 (reftex-remove-if): New function.
4433 (reftex-erase-all-selection-and-index-buffers)
4434 (reftex-mode-menu): Reference styles are now computed from
4435 `reftex-ref-style-alist'. Fix typo.
4436 (reftex-report-bug): New function.
4437 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4438 algorithms with O(n log n). Introduce optional argument SORT (not
4439 yet used).
4440
440ba395
FEG
44412012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4442
4443 Enhancements for triple-quote string syntax.
375e49d4
SM
4444 * progmodes/python.el (python-syntax-propertize-function):
4445 Match both quote cases in one regexp.
440ba395
FEG
4446 (python-syntax-stringify): Handle matches properly.
4447
4c478e6b
JL
44482012-09-30 Juri Linkov <juri@jurta.org>
4449
4450 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4451 to nil around the call to `insert' to prevent
4c478e6b
JL
4452 directory time modification by lock_file. (Bug#2295)
4453 * tar-mode.el (tar-summarize-buffer): Idem.
4454
d80d54b2
JL
44552012-09-30 Juri Linkov <juri@jurta.org>
4456
4457 * facemenu.el (list-colors-sort): Add option "Luminance".
4458 (list-colors-sort-key): Implement it.
4459
4460 * vc/diff-mode.el (diff-refine-removed):
4461 * vc/ediff-init.el (ediff-fine-diff-A):
4462 * vc/smerge-mode.el (smerge-refined-removed):
4463 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4464
d7e642cc
JD
44652012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4466
4467 * term/ns-win.el (x-file-dialog): New function.
4468
ee41332b
JB
44692012-09-30 Juanma Barranquero <lekktu@gmail.com>
4470
4471 * ido.el (ido-max-directory-size): Default to nil; the current
4472 default is small for POSIX systems, and impractical on Windows 7
4473 now that lstat returns directory sizes for NTFS.
4474
5938d519
MR
44752012-09-30 Martin Rudalics <rudalics@gmx.at>
4476
4477 In buffer display functions handle window-height/window-width
4478 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4479 * window.el (window--display-buffer): New argument ALIST.
4480 Obey window-height and window-width alist entries.
4481 (window--try-to-split-window): New argument ALIST.
4482 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4483 changed and window-combination-limit equals `window-size'.
4484 (display-buffer-in-atom-window)
4485 (display-buffer-in-major-side-window)
4486 (display-buffer-in-side-window, display-buffer-same-window)
4487 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4488 (display-buffer-pop-up-window, display-buffer-below-selected)
4489 (display-buffer-at-bottom, display-buffer-in-previous-window)
4490 (display-buffer-use-some-window): Adjust all callers of
4491 window--display-buffer and window--try-to-split-window.
4492 (fit-frame-to-buffer): New option.
4493 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4494 is non-nil.
4495 (display-buffer-in-major-side-window): Evaluate window-height /
4496 window-width alist entries.
4497
4498 * help.el (temp-buffer-resize-frames)
4499 (temp-buffer-resize-regexps): Remove options.
4500 (temp-buffer-resize-mode): Adjust doc-string.
4501 (resize-temp-buffer-window): Don't consult
4502 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4503 temp-buffer-resize-frames.
4504
375e49d4
SM
4505 * dired.el (dired-mark-pop-up):
4506 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4507 entry.
4508
c4c0c2df
CY
45092012-09-30 Chong Yidong <cyd@gnu.org>
4510
48de8b12
CY
4511 * server.el (server-host): Document the security implications.
4512 (server-auth-key): Doc fix.
4513
4514 * startup.el (initial-buffer-choice): Doc fix.
4515
4516 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4517
a97dc380
CY
4518 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4519 restriction change.
4520
d39d3c8e
CY
4521 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4522
c4c0c2df
CY
4523 * help-fns.el (help-fns--obsolete): Fix last change.
4524
98a5e33b
SM
45252012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4526
34cf6f39
SM
4527 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4528 (minor-mode-map-alist): Remove redundant code.
4529
e01c13fe
SM
4530 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4531 visited in a buffer.
4532 (cvs-insert-visited-file): New function.
4533 (find-file-hook): Use it.
4534
4535 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4536
02661b3a
SM
4537 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4538 chose face.
4539 (log-edit-empty-buffer-p): Don't require a space after a header.
4540
43711d4b
SM
4541 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4542
38a30d64
SM
4543 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4544
4ffb41a9
SM
4545 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4546 a proper minor-mode.
4547
98a5e33b
SM
4548 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4549
de82e29b
GM
45502012-09-29 Glenn Morris <rgm@gnu.org>
4551
5cc2e639
GM
4552 * winner.el (winner-mode): Remove variable (let define-minor-mode
4553 handle it).
4554 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4555 Doc fixes.
4556 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4557 (winner-mode): Use define-minor-mode.
4558
7bd302eb
GM
4559 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4560 the full definition in loaddefs, rather than duplicating it.
4561
2923922f 4562 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4563
0e3e4156
GM
4564 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4565 (inferior-lisp-program, inferior-lisp-load-command)
4566 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4567 No need to autoload defcustoms.
0e3e4156 4568
de82e29b
GM
4569 * hippie-exp.el (hippie-expand-try-functions-list)
4570 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4571 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4572 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4573 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4574 * progmodes/vhdl-mode.el (vhdl-line-expand):
4575 Explicitly load hippie-exp, so it does not get autoloaded
4576 while hippie-expand-try-functions-list is let-bound.
4577
e60b51ab
GM
45782012-09-28 Glenn Morris <rgm@gnu.org>
4579
277f0cfa
GM
4580 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4581
e60b51ab
GM
4582 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4583 Only "cl.el" counts as cl these days.
4584
53baf48a
JL
45852012-09-28 Juri Linkov <juri@jurta.org>
4586
4587 Display archive errors in the echo area instead of inserting
4588 to the file buffer.
4589
4590 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4591 to STDERR-TEST that can be a regexp matching a successful output.
4592 Create a temporary file and redirect stderr to it. Search for
4593 STDERR-TEST in the stderr output and display it in the echo area
4594 if no match is found.
4595 (archive-extract-by-file): New function like
4596 `archive-extract-by-stdout' but extracting archives to files
4597 and looking for successful matches in stdout. Function body is
4598 mostly copied from `archive-rar-extract'.
4599 (archive-rar-extract): Use `archive-extract-by-file'.
4600 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4601
9c1228c3
LL
46022012-09-28 Leo Liu <sdl.web@gmail.com>
4603
375e49d4
SM
4604 * pcomplete.el (pcomplete-show-completions):
4605 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4606
9c1228c3
LL
4607 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4608
7f457c06
SM
46092012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4610
3df749b0
SM
4611 * type-break.el: Use lexical-binding.
4612 (type-break-mode): Use define-minor-mode.
4613
7f457c06
SM
4614 * emacs-lisp/pcase.el (pcase--mark-used): New.
4615 (pcase--u1): Use it (bug#12512).
4616
4617 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4618 in load-history with the right file name.
4619
c00ebc98
TH
46202012-09-28 Tassilo Horn <tsdh@gnu.org>
4621
4622 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4623 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4624 (doc-view-get-bounding-box): Make bounding box slicing work for
4625 ODF and DVI documents.
4626
96fb7170
GM
46272012-09-28 Glenn Morris <rgm@gnu.org>
4628
4629 * type-break.el (type-break-mode, type-break-interval)
4630 (type-break-good-rest-interval, type-break-keystroke-threshold):
4631 No need to autoload.
4632 (type-break-good-rest-interval, type-break-keystroke-threshold):
4633 Add :set-after.
4634
5bc93c67
CY
46352012-09-28 Chong Yidong <cyd@gnu.org>
4636
4637 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4638 Add :version tag.
4639
9cad61d6
SM
46402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4641
e28e67b3 4642 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4643
daee954c
GM
46442012-09-27 Glenn Morris <rgm@gnu.org>
4645
a88324d4
GM
4646 * faces.el (x-display-name): Declare (for without-x builds).
4647
8e5064e5
GM
4648 * linum.el (linum-format): Don't autoload it. Improve :type.
4649
cc1783c2
GM
4650 * progmodes/tcl.el: Don't require outline when compiling.
4651 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4652 * textmodes/sgml-mode.el: Don't require outline when compiling.
4653 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4654
48c339f2
GM
4655 * term.el (term-ansi-reset):
4656 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4657
daee954c
GM
4658 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4659 files for RCS and SCCS. (Bug#9781)
4660
b7f42161
CY
46612012-09-27 Chong Yidong <cyd@gnu.org>
4662
4663 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4664 change; value should be t.
4665
a2e770db
SM
46662012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4667
83600dc8
SM
4668 * image-mode.el: Use lexical-binding.
4669 (image-mode-winprops): Use t to stand for the window of
4670 a buffer that's not displayed.
4671 * doc-view.el (doc-view-new-window-function): Handle the new
4672 t in winprops.
4673 (doc-view-enlarge): Make it a real nop if the size is not changed.
4674 (doc-view-display): Handle the case where the buffer is not (yet?)
4675 displayed in any window.
4676 (doc-view-saved-settings): New var.
4677 (doc-view-mode): Use it.
4678 (doc-view-fallback-mode): Set it.
4679
a2e770db
SM
4680 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4681 Set lexical-binding.
4682 (minibuffer-eldef-shorten-default): New var.
4683 (minibuffer-default-in-prompt-regexps): Use it for new default.
4684 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4685
e3b60857
JB
46862012-09-26 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * international/uni-bidi.el:
4689 * international/uni-category.el:
4690 * international/uni-name.el:
4691 * international/uni-numeric.el: Regenerate.
4692
3a880af4
SM
46932012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4694 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * profiler.el: New file.
4697
07b1a5fb
SM
46982012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4701 (testcover-reinstrument): Simplify with CSE.
4702
42019c2e
JB
47032012-09-26 Juanma Barranquero <lekktu@gmail.com>
4704
4705 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4706
179f044b
WS
47072012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4708
4709 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4710 (verilog-auto-input, verilog-auto-insert-lisp)
4711 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4712 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4713 (verilog-auto-unused, verilog-auto-wire)
4714 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4715 newline. Reported by Andrew Jones.
4716 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4717 Reported by Brad Dobbie.
07b1a5fb
SM
4718 (verilog-batch-delete-trailing-whitespace):
4719 Create verilog-batch-delete-trailing-whitespace.
4720 Reported by Brad Dobbie.
179f044b
WS
4721 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4722 parameters from another module. Reported by Dan Katz.
4723 (verilog-auto, verilog-auto-assign-modport)
4724 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4725 AUTOINOUTMODPORT for UVM interface module shell generation.
4726 Reported by Brad Dobbie.
4727 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4728 standard behavior.
4729 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4730 Reported by Matt Martin.
4731
9c52dd5a
MR
47322012-09-25 Martin Rudalics <rudalics@gmx.at>
4733
4734 * window.el (window--resize-child-windows): When resizing child
4735 windows proportionally, process them in reverse order to
4736 preserve the "when splitting a window the new one gets the odd
4737 line" behavior.
4738 (window--resize-root-window-vertically): When resizing the
4739 minibuffer window try to affect only windows at the bottom of the
4740 frame. (Bug#12419)
4741
863666eb
CY
47422012-09-25 Chong Yidong <cyd@gnu.org>
4743
4744 * subr.el (declare): Doc fix.
4745
4746 * help-fns.el (help-fns--obsolete): Handle macros properly.
4747
59f7af81
CY
47482012-09-25 Chong Yidong <cyd@gnu.org>
4749
4750 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4751 this function obsolete.
4752
4753 * calendar/cal-x.el (calendar-two-frame-setup)
4754 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4755 * calendar/calendar.el (american-calendar, european-calendar)
4756 (calendar-for-loop):
4757 * comint.el (comint-dynamic-simple-complete)
4758 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4759 * desktop.el (desktop-load-default):
4760 * dired-x.el (dired-omit-here-always)
4761 (dired-hack-local-variables, dired-default-directory):
4762 * emacs-lisp/derived.el (derived-mode-class):
4763 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4764 * emacs-lock.el (toggle-emacs-lock):
4765 * epa.el (epa-display-verify-result):
4766 * epg.el (epg-sign-keys, epg-start-sign-keys)
4767 (epg-passphrase-callback-function):
4768 * eshell/esh-util.el (eshell-for):
4769 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4770 (eshell-add-to-window-buffer-names):
4771 * files.el (locate-file-completion):
4772 * imenu.el (imenu-example--create-c-index)
4773 (imenu-example--create-lisp-index)
4774 (imenu-example--lisp-extract-index-name)
4775 (imenu-example--name-and-position):
4776 * international/mule-cmds.el (princ-list):
4777 * international/mule-diag.el (decode-codepage-char):
4778 * international/mule-util.el (detect-coding-with-priority):
4779 * iswitchb.el (iswitchb-read-buffer):
4780 * mail/mailalias.el (mail-complete):
4781 * mail/sendmail.el (mail-sent-via):
4782 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4783 (mouse-major-mode-menu):
4784 * password-cache.el (password-read-and-add):
4785 * pcomplete.el (pcomplete-parse-comint-arguments):
4786 * progmodes/sh-script.el (sh-maybe-here-document):
4787 * replace.el (query-replace-regexp-eval):
4788 * savehist.el (savehist-load):
4789 * simple.el (choose-completion-delete-max-match):
4790 * term.el (term-dynamic-simple-complete):
4791 * vc/ediff-init.el (ediff-check-version):
4792 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4793 * vc/vc.el (vc-diff-switches-list):
4794 * view.el (view-return-to-alist-update): Likewise.
4795
4796 * subr.el (eval-next-after-load, makehash, insert-string)
4797 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4798 mark obsolete.
4799 (mode-line-inverse-video): Variable deleted.
4800
4801 * international/mule-util.el (string-to-sequence): Remove.
4802
4803 * calendar/calendar.el (calendar-version):
4804 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4805 (icalendar-convert-diary-to-ical):
4806 * cus-edit.el (custom-mode):
4807 * ansi-color.el (ansi-color-unfontify-region):
4808 * international/latin1-disp.el (latin1-char-displayable-p):
4809 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4810 * progmodes/which-func.el (which-func-update-1):
4811 Use define-obsolete-function-alias.
59f7af81
CY
4812
4813 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4814 * net/newst-treeview.el (newsticker-groups-filename):
4815 Fix incorrect obsolescence declaration.
59f7af81
CY
4816
4817 * allout.el (allout-passphrase-hint-string): Likewise.
4818 (allout-init): Use a declare form to mark obsolete.
4819
4820 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4821 this applies to functions.
4822
4823 * iswitchb.el (iswitchb-read-buffer): Move code of
4824 iswitchb-define-mode-map here, and delete that obsolete function.
4825
4826 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4827 font-lock-reference-face.
4828
cca96c97
GM
48292012-09-25 Glenn Morris <rgm@gnu.org>
4830
b06eeda8
GM
4831 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4832 Doc fixes.
4833
cca96c97
GM
4834 * eshell/em-term.el (eshell-term-name):
4835 Default to term-term-name. (Bug#12485)
4836
dc4f818b
FEG
48372012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4838
cca96c97
GM
4839 * progmodes/python.el (python-shell-send-buffer): Better handling
4840 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4841
289c24bd
GM
48422012-09-24 Glenn Morris <rgm@gnu.org>
4843
4844 * eshell/esh-cmd.el (eshell-find-alias-function):
4845 Tighten up file-name regexp. (Bug#12499)
4846
8fb8b88f
FEG
48472012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4848
4849 Enhancements for triple-quote string syntax.
4850 * progmodes/python.el (python-quote-syntax): Remove.
4851 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4852 (python-syntax-count-quotes, python-syntax-stringify):
4853 New functions.
8fb8b88f 4854
6c27f0f8
CY
48552012-09-24 Chong Yidong <cyd@gnu.org>
4856
a5f2b6ec
CY
4857 * mail/supercite.el (sc-version): Remove obsolete function.
4858 (sc-describe): Don't mark as obsolete, since it is bound.
4859 (sc-submit-bug-report): Remove.
4860
4861 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4862 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4863 (log-edit-require-final-newline)
4864 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4865
4866 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4867 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4868 * vc/vc.el (vc-checkout-carefully): Likewise.
4869
4870 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4871 (emerge-version): Remove.
4872
4873 * progmodes/compile.el (compile-internal): Remove.
4874 (compilation-parse-errors-function): Fix typo.
4875
4876 * international/mule.el (set-char-table-default): Remove.
4877 (set-coding-priority, make-coding-system, generic-char-p)
4878 (charset-list, charset-bytes, charset-id): Use declare to mark
4879 functions as obsolete.
4880
4881 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4882 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4883 * vc/vc-hooks.el (vc-default-registered): Don't use
4884 vc-master-templates.
4885
07b1a5fb
SM
4886 * font-lock.el (font-lock-reference-face):
4887 Use define-obsolete-variable-alias.
6c27f0f8
CY
4888
4889 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4890 * calendar/calendar.el (calendar-font-lock-keywords):
4891 * calendar/diary-lib.el (diary-font-lock-keywords)
4892 (diary-fancy-font-lock-keywords):
4893 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4894 * textmodes/reftex-index.el (reftex-insert-index):
4895 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4896 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4897 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4898 * progmodes/prolog.el (prolog-font-lock-keywords):
4899 * progmodes/idlwave.el (idlwave-idl-keywords):
4900 * progmodes/ada-mode.el (ada-font-lock-keywords):
4901 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4902
bcc0adbf
GM
49032012-09-24 Glenn Morris <rgm@gnu.org>
4904
4905 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4906
095bb823
FEG
49072012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4908
4909 * progmodes/python.el (python-indent-line): More consistent cursor
4910 movement behavior.
4911
70efc5c9
SM
49122012-09-23 Stefan Merten <smerten@oekonux.de>
4913
4914 * textmodes/rst.el: Fix compiler warning.
4915
2f438239
RW
49162012-09-23 Roland Winkler <winkler@gnu.org>
4917
07b1a5fb
SM
4918 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4919 Transcribe also LaTeX hyphenation.
2f438239
RW
4920 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4921 bibtex-reformat-previous-options.
4922
936ad041
RW
49232012-09-23 Roland Winkler <winkler@gnu.org>
4924
4925 * proced.el (proced-renice-command): New variable.
4926 (proced-marked-processes): New function.
4927 (proced-with-processes-buffer): New macro.
4928 (proced-send-signal): Use them.
4929 (proced-renice): New command bound to r.
4930
6fab0274
RW
49312012-09-23 Roland Winkler <winkler@gnu.org>
4932
4933 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4934 ibuffer-saved-filter-groups has one element, shortcut the call of
4935 completing-read. (Bug#12331)
4936
9a930676
CY
49372012-09-23 Chong Yidong <cyd@gnu.org>
4938
4939 * bindings.el (mode-line-toggle-read-only):
4940 * bs.el (bs-toggle-readonly):
4941 * buff-menu.el (Buffer-menu-toggle-read-only):
4942 * dired.el (dired-toggle-read-only):
4943 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4944
d07ff9db
CY
49452012-09-23 Chong Yidong <cyd@gnu.org>
4946
4947 * image.el (image-type-available-p): Adapt to init-image-library
4948 argument changes.
4949
51c4474e
JL
49502012-09-22 Juri Linkov <juri@jurta.org>
4951
4952 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4953 `dired-toggle-read-only'. (Bug#12462)
4954
43bf5e8e
MR
49552012-09-22 Martin Rudalics <rudalics@gmx.at>
4956
4957 * subr.el (temp-output-buffer-show): New function.
4958 (with-output-to-temp-buffer): Call temp-output-buffer-show
4959 instead of internal-temp-output-buffer-show.
4960
c88b867f
CY
49612012-09-22 Chong Yidong <cyd@gnu.org>
4962
3df47cd5
CY
4963 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4964 (Bug#12462).
4965
c88b867f
CY
4966 * repeat.el (repeat): Doc fix (Bug#12348).
4967
4968 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4969 (Bug#10909).
4970
4971 * simple.el (shell-command-on-region): Doc fix.
3171e303 4972 (read-only-mode): Doc fix.
c88b867f 4973
df9685f3
EZ
49742012-09-22 Eli Zaretskii <eliz@gnu.org>
4975
4976 * emacs-lisp/timer.el (run-with-idle-timer)
4977 (timer-activate-when-idle): Warn against reinvoking an idle timer
4978 from within its own timer action. (Bug#12447)
4979
8e17c9ba
MR
49802012-09-22 Martin Rudalics <rudalics@gmx.at>
4981
4982 * cus-start.el (window-combination-limit): Add new optional
4983 values.
4984 * window.el (temp-buffer-window-show)
4985 (window--try-to-split-window): Handle new values of
4986 window-combination-limit (Bug#1806).
4987 (split-window): Test window-combination-limit for t instead of
4988 non-nil.
4989 (display-buffer-at-bottom): New buffer display action function.
4990 * help.el (temp-buffer-resize-regexps): New option.
4991 (temp-buffer-resize-mode): Rewrite doc-string.
4992 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4993 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4994
48a24920
SM
49952012-09-22 Stefan Merten <smerten@oekonux.de>
4996
70efc5c9 4997 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4998 (rst-official-version)
4999 (rst-package-emacs-version-alist): Sync with official version
5000 V1.4.0.
5001 (rst-faces-defaults, rst-set-level-default)
5002 (rst-level-face-max, rst-level-face-base-color)
5003 (rst-level-face-base-light, rst-level-face-format-light)
5004 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5005 (rst-adornment-faces-alist): Match new setup.
5006 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5007 (rst-level-5, rst-level-6): New faces.
5008
82f8cd94
CY
50092012-09-22 Chong Yidong <cyd@gnu.org>
5010
5011 * simple.el (undo): Handle indirect buffers (Bug#8207).
5012
acfa068f 50132012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
5014
5015 IDO: Disable match re-ordering for buffer switching.
2bc9406c 5016 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
5017 (ido-set-matches-1): Use it. (Bug#2042)
5018
acfa068f 50192012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
5020
5021 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5022 Fix 2011-05-17 change. (Bug#12418)
5023
acfa068f 50242012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
5025
5026 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5027
acfa068f 50282012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
5029
5030 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5031 Be more robust about locating simple.el.
5032
acfa068f 50332012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
5034
5035 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5036
acfa068f
CY
50372012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5038
5039 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5040
41a97e6f
JL
50412012-09-20 Juri Linkov <juri@jurta.org>
5042
eb2deaff
JL
5043 * replace.el (query-replace-read-from): Use `read-regexp' instead
5044 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5045 (occur-read-primary-args): Use `read-regexp' instead of
5046 `read-string'.
5047 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5048 `read-from-minibuffer'.
5049 * isearch.el (isearch-occur): Use `read-regexp' instead of
5050 `read-string'.
5051 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5052 `read-from-minibuffer'.
5053 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5054 of `read-string'. (Bug#7567)
5055
5825610b
JL
5056 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5057 and allow accepting a list of strings prepended to a list of
5058 standard default values. Doc fix. (Bug#12321)
5059
eebbf404
JL
5060 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5061
41a97e6f
JL
5062 * replace.el (read-regexp): Don't add ": " when PROMPT already
5063 ends with a colon and space. (Bug#12321)
5064
c9e452d3
TH
50652012-09-20 Tassilo Horn <tsdh@gnu.org>
5066
5067 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5068 error.
5069
ee97deee
SM
50702012-09-20 Stefan Merten <smerten@oekonux.de>
5071
70efc5c9 5072 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
5073 Fixes feature request bug#11711.
5074 (rst-mode): Create `imenu-create-index-function'.
5075 (rst-get-stripped-line): Delete after refactoring.
5076 (rst-section-tree, rst-section-tree-rec)
5077 (rst-section-tree-point): Refactor and document properly.
5078 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
5079 (rst-imenu-convert-cell, rst-imenu-create-index):
5080 New function.
ee97deee 5081
f490dab9
SM
50822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5083
95b9712e
SM
5084 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5085 (macroexp--expand-all): Use it.
5086 (macroexp--funcall-and-return): Remove by folding it into its sole
5087 caller (macroexp--warn-and-return).
5088 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5089 Use macroexp--obsolete-warning.
5090
f490dab9
SM
5091 * calc/calc.el: Fix last change by removing the whole chunk, since it
5092 was only needed back when Calc was not bundled.
5093
96e8d411
MR
50942012-09-20 Martin Rudalics <rudalics@gmx.at>
5095
5096 * emacs-lisp/debug.el (debug): Restore assignment to
5097 debugger-old-buffer removed on 2012-09-08.
5098
0876a82d
JL
50992012-09-20 Juri Linkov <juri@jurta.org>
5100
5101 * dired-aux.el (dired-diff): Remove (require 'diff) since
5102 `diff-latest-backup-file' is now autoloaded.
5103
9f7c28f0
CY
51042012-09-20 Chong Yidong <cyd@gnu.org>
5105
5106 * vc/diff.el (diff-latest-backup-file): Autoload.
5107
7a04bee9
SM
51082012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5109
e6f0a80d
SM
5110 * calc/calc.el: Remove redundant autoload shape check.
5111 (sel-mode): Don't defvar.
5112 (calc-get-stack-element): Add `sel-mode' arg instead.
5113 (calc-top, calc-top-list): Pass it this additional argument.
5114 * calc/calc-store.el (calc-store-map):
5115 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5116 (calc-map-equation, calc-outer-product, calc-inner-product):
5117 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5118
7a04bee9
SM
5119 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5120
12734222
JL
51212012-09-19 Juri Linkov <juri@jurta.org>
5122
5123 * dired-aux.el (dired-diff): Add (require 'diff) because
5124 `diff-latest-backup-file' is not autoloaded.
5125 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5126 of `dired-get-filename' to t to not report error when there is
5127 no default file on the current line.
5128
46624b4f
SM
51292012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5130
ce97595b
SM
5131 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5132 macroexp--eval-if-compile.
5133 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5134 (macroexp--expand-all): Use them (bug#12371).
5135
46624b4f
SM
5136 * doc-view.el (doc-view-guess-paper-size)
5137 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5138
db8a5a18
TH
51392012-09-19 Tassilo Horn <tsdh@gnu.org>
5140
5141 New feature: set optimal slice from BoundingBox information.
5142 * doc-view.el (doc-view-mode-map): Add keybinding.
5143 (doc-view-menu): Add menu entry.
5144 (doc-view-set-slice): Adapt docstring.
5145 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5146 (doc-view-scale-bounding-box)
5147 (doc-view-set-slice-from-bounding-box): New functions.
5148 (doc-view-paper-sizes): New defvar.
5149
69f6644c
GM
51502012-09-19 Glenn Morris <rgm@gnu.org>
5151
35f5b19d
GM
5152 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5153 (byte-compile-log-warning): Autoload. (Bug#12371)
5154
69f6644c
GM
5155 * calendar/calendar.el (calendar-american-month-header)
5156 (calendar-european-month-header, calendar-iso-month-header)
5157 (calendar-month-header): New options.
5158 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5159 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5160
e543ae91
JD
51612012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5162
5163 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5164
2fd5e67d
JL
51652012-09-18 Juri Linkov <juri@jurta.org>
5166
5167 * dired-aux.el (dired-diff): Restore original functionality of
5168 getting the default value, but keep new feature of using the
5169 latest existing backup file (`diff-latest-backup-file').
5170
42917e79
JL
51712012-09-18 Juri Linkov <juri@jurta.org>
5172
5173 * dired.el (dired-mark): If the region is active in Transient Mark
5174 mode, mark all files in the active region. Doc fix.
5175 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5176 Doc fix. (Bug#10624)
5177
20f70ede
JL
51782012-09-18 Juri Linkov <juri@jurta.org>
5179
5180 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5181 attributes for M-n are pulled from the file at point.
5182 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5183 Suggested by Drew Adams. (Bug#10624)
5184
32fb8162
DG
51852012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5186
5187 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5188 whitespace after "end".
5189 (ruby-do-end-to-brace): Collapse block to one line if it fits
5190 within fill-column.
5191
37ab5092
MR
51922012-09-18 Martin Rudalics <rudalics@gmx.at>
5193
5194 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5195 value.
5196 (debug): Don't remove debugger window when debugger is expected
5197 to be back.
5198
ed1f0bd3
CY
51992012-09-18 Chong Yidong <cyd@gnu.org>
5200
5201 * custom.el (defface): Doc fix.
5202
5203 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5204
a11035b8
MB
52052012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5206
5207 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5208 to initialize query-on-exit; then test that instead (bug#12288).
5209
64f6a736
SM
52102012-09-17 Stefan Merten <smerten@oekonux.de>
5211
70efc5c9 5212 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5213 (rst-defcustom-testcover, rst-testcover-add-compose)
5214 (rst-testcover-add-1value): New functions.
5215 (rst-portable-mark-active-p): Replace by `use-region-p'.
5216 (rst-update-section, rst-classify-adornment)
5217 (rst-find-title-line): Mark `1value' forms.
5218 (rst-classify-adornment): Remove superfluous form.
5219 (rst-update-section, rst-get-adornments-around)
5220 (rst-adornment-complete-p, rst-get-next-adornment)
5221 (rst-adjust, rst-promote-region)
5222 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5223 (rst-find-pfx-in-region, rst-section-tree-rec)
5224 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5225 (rst-toc-node, rst-toc, rst-forward-section)
5226 (rst-iterate-leftmost-paragraphs)
5227 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5228 (rst-bullet-list-region)
5229 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5230 (rst-compile-find-conf, rst-compile)
5231 (rst-repeat-last-character): Fix style.
5232
580bd868
CY
52332012-09-17 Chong Yidong <cyd@gnu.org>
5234
5235 * comint.el (comint--complete-file-name-data): Don't add a space
5236 if the status is `sole'; that adds a gratuitous space in the
5237 completion-cycling case (Bug#12092).
5238
5239 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5240
69de3ec6
RS
52412012-09-17 Richard Stallman <rms@gnu.org>
5242
0dee970c
RS
5243 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5244 only in the mime-shown mode, not in raw mode.
5245 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5246 mime processing. (Bug#12305)
0dee970c 5247
6b250df6
GM
5248 * mail/rmail.el (rmail-retry-failure):
5249 Turn off mime processing first. (Bug#12037)
acb1c47b 5250
69de3ec6
RS
5251 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5252
d079ee5f
CY
52532012-09-17 Chong Yidong <cyd@gnu.org>
5254
5255 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5256 (shell-dynamic-complete-functions): Convert to defcustom.
5257 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5258
865fe16f
CY
5259 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5260 * comint.el (comint-prompt-read-only):
5261 * custom.el (defcustom):
5262 * hi-lock.el (hi-lock-mode):
5263 * ibuffer.el (ibuffer-formats):
5264 * ielm.el (ielm-prompt-read-only):
5265 * novice.el (disable-command):
5266 * saveplace.el (toggle-save-place):
5267 * speedbar.el (speedbar-supported-extension-expressions):
5268 * startup.el (auto-save-list-file-prefix, init-file-user)
5269 (after-init-hook, inhibit-startup-echo-area-message):
5270 * strokes.el (strokes-help):
5271 * time-stamp.el (time-stamp):
5272 * calendar/calendar.el (calendar, diary-file):
5273 * calendar/diary-lib.el (diary-mail-entries, diary)
5274 (diary-list-entries-hook):
5275 * calendar/holidays.el (holidays, calendar-holidays):
5276 * calendar/lunar.el (lunar-phases):
5277 * calendar/solar.el (sunrise-sunset):
5278 * emulation/edt.el (edt-load-keys):
5279 * emulation/viper.el (viper-mode):
5280 * eshell/em-alias.el (eshell-command-aliases-list):
5281 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5282 * international/ogonek.el (ogonek-information):
5283 * net/tramp-cmds.el (tramp-bug):
5284 * net/quickurl.el (quickurl-reread-hook-postfix):
5285 * play/decipher.el (decipher-font-lock-keywords):
5286 * progmodes/cc-styles.el (c-set-style):
5287 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5288 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5289 * progmodes/octave-mod.el (octave-mode):
5290 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5291 * progmodes/verilog-mode.el (verilog-read-defines):
5292 * textmodes/two-column.el (2C-mode): Likewise.
5293
48093eb9
KY
52942012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5295
5296 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5297 that holds many addresses.
5298
c584eaf9
CY
52992012-09-16 Chong Yidong <cyd@gnu.org>
5300
40d70ecb
CY
5301 * align.el (align-areas): Call the indication function with
5302 positions instead of markers for arguments (Bug#12343).
5303
1667e065
CY
5304 * files.el (parse-colon-path): Use split-string (Bug#12351).
5305
fdc2806d 5306 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5307 (display-buffer-function): Mark as obsolete.
fdc2806d 5308
f1be615c 5309 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5310 values similar to font-lock-keywords (Bug#12136).
5311 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5312 (compilation-error-regexp-alist): Doc fix.
5313
f40a9709
GM
53142012-09-15 Glenn Morris <rgm@gnu.org>
5315
72aa16e1
GM
5316 * version.el (emacs-bzr-version-bzr): New function.
5317 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5318
82375160
GM
5319 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5320 checkouts, check the parent dirstate matches the branch.
5321 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5322 empty string.
5323
f40a9709
GM
5324 * version.el (emacs-bzr-version): Doc fix.
5325 (emacs-bzr-version-dirstate): New function.
5326 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5327 is local try and check that it matches the branch. If not, just
5328 use dirstate information. (Bug#12441)
5329
cb26b7f5
JL
53302012-09-14 Juri Linkov <juri@jurta.org>
5331
5332 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5333 (Bug#12399)
5334
2de39f08
SM
53352012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5336
0fb3cb7c
SM
5337 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5338
2de39f08
SM
5339 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5340 Remove obsolete byte-compiler hack that tried to silence some warnings.
5341 (edebug-submit-bug-report): Remove.
5342 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5343 Remove aliases, use the un-prefixed name instead.
5344 (edebug-pop-to-buffer): Consider other frames.
5345 (edebug-original-read):: Make it more obvious that it's always defined.
5346 (edebug--make-form-data-entry, edebug--form-data-name)
5347 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5348 single-dashed name, and implement with cl-defstruct.
5349 (edebug-set-form-data-entry): Use the standard accessors.
5350 (edebug-make-top-form-data-entry): Use push.
5351 (edebug-no-match): Drop useless `funcall'.
5352 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5353 to functions.
5354 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5355 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5356 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5357 (easy-menu-define, with-custom-print): Remove redundant specs.
5358 (edebug-outside-overriding-local-map)
5359 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5360 (edebug--display): Bind unread-command-events directly to nil rather
5361 than binding it to unread-command-events and later setting it to nil.
5362 (edebug--display): Kill edebug-eval-buffer here...
5363 (edebug--recursive-edit): ...rather than here.
5364 Bind standard-output and standard-input.
5365 (edebug-eval): Check cl-macroexpand-all is fboundp.
5366 (edebug-temp-display-freq-count): Fix last change.
5367
5368 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5369 * subr.el (noreturn, 1value): Add `debug' spec.
5370 * emacs-lisp/advice.el: Require cl-lib.
5371 (ad-copy-tree): Remove, use copy-tree instead.
5372 (ad-dolist): Remove use dolist or cl-dolist instead.
5373 (ad-do-return): Remove, use cl-return instead.
5374 (defadvice): Add `debug' spec.
5375
5b68b333
JL
53762012-09-13 Juri Linkov <juri@jurta.org>
5377
5378 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5379 (Bug#12399)
5380
b9800ec4
GM
53812012-09-13 Glenn Morris <rgm@gnu.org>
5382
6a2e6868
GM
5383 * calc/calc.el (math-compose-expr):
5384 * calc/calc-ext.el (math-compose-expr):
5385 * progmodes/cc-defs.el (cl-macroexpand-all):
5386 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5387 (cl-macroexpand-all): Update declarations.
5388
b9800ec4
GM
5389 * vc/vc.el: No need to require ediff.
5390 (ediff-load-version-control): Declare.
5391 (ediff-vc-internal): Fix declaration.
5392 (vc-version-ediff): Require ediff.
5393
c18e885b
PE
53942012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5395
5396 Use a more backwards-compatible timer format (Bug#12430).
5397 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5398 being right after USECS, as that better supports old code that
5399 inadvisedly looked directly at the timer vector.
5400
d607d303
KH
54012012-09-13 Kenichi Handa <handa@gnu.org>
5402
5403 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5404 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5405 `coding-priority' property of these language environment.
5406
72eac303
PE
54072012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5408
5409 Fix glitches caused by addition of psec to timers (Bug#12430).
5410 * image.el (image-animate-timer):
5411 * time.el (display-time-world-timer):
5412 Use timer--function and timer--args rather than raw access to
5413 timer vector.
5414
2168fe4f
GM
54152012-09-13 Glenn Morris <rgm@gnu.org>
5416
5417 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5418 If not compiling a file, try using load-file-name.
5419
bd8d6108
SM
54202012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5421
c0c54fbd
SM
5422 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5423 Fix last change.
5424 (edebug-update-eval-list): Use `push'.
5425
bd8d6108
SM
5426 * emacs-lisp/edebug.el: Use lexical-binding.
5427 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5428 Mark unused args with underscore.
5429 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5430 (edebug-form-data): Use defvar-local.
5431 (edebug-make-before-and-after-form, edebug-make-after-form):
5432 Use backquote.
5433 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5434 Not dynamically scoped any more.
5435 (edebug--enter-trace): Add arguments `function' and `args'.
5436 Rename from edebug-enter-trace.
5437 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5438 (edebug--update-coverage): Add `after-index' and `value' args.
5439 Rename from edebug-update-coverage.
5440 (edebug-slow-after): Call it accordingly.
5441 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5442 edebug-recursive-edit.
5443 (edebug--display): Call it accordingly. Add args `value',
5444 `offset-index', and `arg-mode'. Rename from edebug-display.
5445 (edebug-debugger, edebug): Call it accordingly.
5446 (edebug-eval-display-list): Use dolist.
5447
a9f9d9de
JL
54482012-09-12 Juri Linkov <juri@jurta.org>
5449
5450 * info.el (Info-search): Don't check for isearch-mode and
5451 isearch-regexp before let-binding search-spaces-regexp to
5452 Info-search-whitespace-regexp.
5453 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5454 search-whitespace-regexp if isearch-lax-whitespace or
5455 isearch-regexp-lax-whitespace is non-nil.
5456 (Info-mode): Don't set local variable search-whitespace-regexp.
5457 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5458
bfeae2cf
SM
54592012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5462 (debugger-env-macro): Remove support for unread-command-char.
5463
5464 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5465 the temporary map re-appearing on emulation-mode-map-alists.
5466
5467 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5468 since 22.1.
5469
5470 * ehelp.el (with-electric-help): Accept functions in
5471 electric-help-form-to-execute.
5472 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5473 And replace unread-command-char -> unread-command-events.
5474
fbbcaf1b
MA
54752012-09-12 Michael Albinus <michael.albinus@gmx.de>
5476
5477 Sync with Tramp 2.2.6.
5478
5479 * net/tramp.el (tramp-accept-process-output): Don't use
5480 JUST-THIS-ONE in the XEmacs case.
5481
5482 * net/trampver.el: Update release number.
5483
4dece104
MR
54842012-09-12 Martin Rudalics <rudalics@gmx.at>
5485
bfeae2cf
SM
5486 * emacs-lisp/debug.el (debugger-previous-window-height):
5487 New variable.
4dece104
MR
5488 (debug): When debugger-jumping-flag is non-nil try to restore
5489 height of debugger window. (Bug#8789)
5490
45b82ad0
SM
54912012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5492
60c49c0f
SM
5493 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5494 overriding-local-map and pre/post-command-hook here.
5495 (edebug-recursive-edit): Do it here instead (bug#12345).
5496 (edebug-outside-unread-command-char): Remove all uses of
5497 unread-command-char.
5498
45b82ad0
SM
5499 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5500 inhibit-debugger is bound instead.
5501
baa26ea0
BG
55022012-09-11 Bastien Guerry <bzg@gnu.org>
5503
5504 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5505 (Bug#12346)
baa26ea0 5506
04e8abfa
BG
55072012-09-11 Bastien Guerry <bzg@gnu.org>
5508
96d03571 5509 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5510 (Bug#12347)
96d03571
BG
5511
55122012-09-11 Bastien Guerry <bzg@gnu.org>
5513
fc0c31f8 5514 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5515
04e082b0
MM
55162012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5517
5518 * progmodes/sql.el: Version 3.1
5519 (sql-db2-escape-newlines): New variable.
5520 (sql-escape-newlines-filter): Use it.
5521
399a361b
JB
55222012-09-10 Juanma Barranquero <lekktu@gmail.com>
5523
5524 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5525
0780c517
DN
55262012-09-10 Dan Nicolaescu <dann@gnu.org>
5527
45b82ad0
SM
5528 * vc/diff-mode.el (diff-mode-menu):
5529 Bind diff-remove-trailing-whitespace.
0780c517 5530
9b851e25
SM
55312012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5534 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5535 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5536 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5537 (eval-defun-2): Remove bogus interactive spec.
5538 (lisp-indent-line): Remove redundant whole-exp code, now done in
5539 indent-according-to-mode.
5540 (save-match-data): Remove redundant indent data.
5541
5542 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5543 Use `declare'.
5544
3231d532
JL
55452012-09-09 Juri Linkov <juri@jurta.org>
5546
5547 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5548 (replace-lax-whitespace, query-replace-regexp)
5549 (query-replace-regexp-eval, replace-regexp): Doc fix.
5550 (perform-replace, replace-highlight): Let-bind
5551 isearch-lax-whitespace to replace-lax-whitespace and
5552 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5553
5554 * isearch.el (isearch-query-replace): Let-bind
5555 replace-lax-whitespace to isearch-lax-whitespace and
5556 replace-regexp-lax-whitespace to
5557 isearch-regexp-lax-whitespace. (Bug#10885)
5558
70fe8236
SM
55592012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5562
8ed43f15
AM
55632012-09-09 Alan Mackenzie <acm@muc.de>
5564
70fe8236
SM
5565 * progmodes/cc-engine.el (c-state-cache-init):
5566 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5567 (c-record-parse-state-state):
5568 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5569
bfabf70a
AS
55702012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5571
5572 * register.el (register-separator): Rename from
5573 separator-register. All uses changed. Doc fix.
5574 (register): Fix version.
5575
011474aa
CY
55762012-09-09 Chong Yidong <cyd@gnu.org>
5577
5578 * replace.el (query-replace-map): Bind four new symbols for
5579 requesting window scrolling.
5580
5581 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5582 query-replace-map (Bug#8948).
5583
5584 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5585
5586 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5587 since they are now in query-replace-map.
5588
5589 * window.el (scroll-other-window-down): Make the arg optional.
5590
a8b7cd8d
CY
55912012-09-09 Chong Yidong <cyd@gnu.org>
5592
5593 * files.el (hack-local-variables-confirm): Use quit-window to kill
5594 the *Local Variables* buffer.
5595
c3268831
DG
55962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5597
5598 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5599 not just expect to be at its beginning. Adjust callees.
5600 Succeed when do-end block has no space before the pipe character.
5601 (ruby-brace-to-do-end): When the original block is one-liner,
5602 convert to multiline. Reindent the result.
5603
0979429b
J
56042012-09-08 Jambunathan K <kjambunathan@gmail.com>
5605
5606 * register.el (register): New group.
27359e99 5607 (separator-register): New user option.
0979429b
J
5608 (increment-register): Route it to `append-to-register', if
5609 register contains text. Implication is that `C-x r +' can now be
5610 used for appending to a text register (bug#12217).
5611 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5612 `separator-register'.
0979429b 5613
ace2989a
AM
56142012-09-08 Alan Mackenzie <acm@muc.de>
5615
5616 AWK Mode: make auto-newline work when there's "==" in the pattern.
5617 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5618 correctly.
0979429b
J
5619 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5620 Test more rigorously for "=" token.
ace2989a 5621
616c6c36
DG
56222012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5623
0979429b
J
5624 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5625 Only fail when reached LIMIT.
616c6c36 5626
35d98877
CY
56272012-09-08 Chong Yidong <cyd@gnu.org>
5628
5629 * dired.el (dired-mode-map): Don't bind M-=.
5630
5631 * dired-aux.el (dired-diff): Use backup file as default.
5632
1715f2db
DA
56332012-09-08 Drew Adams <drew.adams@oracle.com>
5634
5635 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5636
6dcef6ec
CY
56372012-09-08 Chong Yidong <cyd@gnu.org>
5638
5639 * subr.el (syntax-after, syntax-class): Doc fix.
5640
fa2bcf43
MR
56412012-09-08 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (display-buffer-in-previous-window): New buffer
5644 display action function.
5645
5646 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5647 (debugger-previous-window): New variable.
5648 (debug): Rewrite using display-buffer-in-previous-window,
5649 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5650
daac280a
SM
56512012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5654
9dd40b00
MM
56552012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5656
daac280a
SM
5657 * progmodes/python.el (python-shell-send-string):
5658 When default-directory is remote, create temp file on remote
9dd40b00
MM
5659 filesystem.
5660 (python-shell-send-file): When file is remote, pass local view of
5661 file paths to remote Python interpreter. (Bug#12340)
5662
145823ec
CY
56632012-09-07 Chong Yidong <cyd@gnu.org>
5664
cee2e90d
CY
5665 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5666
0d7eb2ea
CY
5667 * files.el (after-find-file): Don't fail on a read-only buffer if
5668 require-final-newline is `visit' or `visit-save' (Bug#11156).
5669
145823ec
CY
5670 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5671
daac280a
SM
5672 * userlock.el (ask-user-about-supersession-threat):
5673 Use read-char-choice (Bug#12093).
145823ec 5674
74c582e6
CY
56752012-09-07 Chong Yidong <cyd@gnu.org>
5676
e5c2edf7
CY
5677 * subr.el (buffer-narrowed-p): New function.
5678
5679 * ses.el (ses-widen):
5680 * simple.el (count-words--buffer-message):
1f9f395d 5681 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5682
5683 * simple.el (count-words-region): Don't signal an error if there
5684 is a non-nil prefix arg and the mark is not set.
c640e87d 5685
74c582e6
CY
5686 * help.el (describe-key-briefly): Allow the message to be seen
5687 when invoked from the minibuffer (Bug#7014).
5688
d81ceaaf
DG
56892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5690
5691 * progmodes/ruby-mode.el (ruby-end-of-defun)
5692 (ruby-beginning-of-defun): Simplify, allow indentation before
5693 block beginning and end keywords.
8f06acce
DG
5694 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5695 (ruby-end-of-defun): Expect that the point is at the beginning of
5696 the defun.
d81ceaaf 5697
d458ef98
SM
56982012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5701 (bug#12367).
5702 (cl--make-usage-args): Strip _ from argument names.
5703
20367d28
RS
57042012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5705
5706 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5707 obsolete alias speedbar-key-map.
5708 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5709 (vhdl-index-menu-init): Don't use obsolete variable
5710 font-lock-maximum-size.
5711
3424a4f6
CY
57122012-09-06 Chong Yidong <cyd@gnu.org>
5713
5714 * frame.el (window-system-version): Mark as obsolete.
5715
fcbfbdea
CY
5716 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5717 of obsolete variable speedbar-key-map.
5718
826b3235
JL
57192012-09-06 Juri Linkov <juri@jurta.org>
5720
5721 * replace.el (replace-lax-whitespace): New defcustom.
5722 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5723 (replace-string, replace-regexp): Mention it in docstrings.
5724 (perform-replace, replace-highlight): Let-bind
5725 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5726 to the values of replace-lax-whitespace and regexp-flag.
5727 Don't let-bind search-whitespace-regexp. (Bug#10885)
5728
5729 * isearch.el (isearch-query-replace): Let-bind
5730 replace-lax-whitespace instead of let-binding
5731 replace-search-function and replace-re-search-function.
5732 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5733 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5734 (isearch-toggle-symbol): Set isearch-regexp to nil
5735 in isearch-word mode (like in isearch-toggle-word).
5736
1ec5e41d
JL
57372012-09-06 Juri Linkov <juri@jurta.org>
5738
5739 * replace.el (replace-search-function)
5740 (replace-re-search-function): Set default values to nil.
5741 (perform-replace): Let-bind isearch-related variables based on
5742 replace-related values, call `isearch-search-fun' and let-bind
5743 the result to `search-function'. Remove code that sets
5744 `search-function' and `search-string' separately for
5745 `delimited-flag'.
5746 (replace-highlight): Add new argument `delimited-flag' and
5747 rename other arguments to the names used in `perform-replace'.
5748 Let-bind `isearch-word' to the argument `delimited-flag'.
5749 (Bug#10885, bug#10887)
5750
0ba2d4b6
DG
57512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5752
5753 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5754 ruby-beginning-of-indent, simplify, allow all keywords to have
5755 indentation before them.
5756 (ruby-beginning-of-indent): Adjust for above. Search until the
5757 found point is not inside a string or comment.
5758 (ruby-font-lock-keywords): Allow symbols to start with "@"
5759 character, give them higher priority than variables.
5760 (ruby-syntax-propertize-function)
5761 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5762 matchers. Expression expansions are not comments when inside a
5763 string, and there comment syntax status is irrelevant.
5764 (ruby-match-expression-expansion): New function. Check that
5765 expression expansion is inside a string, and it's not escaped.
5766 (ruby-font-lock-keywords): Use it.
5767
ef654460
MR
57682012-09-05 Martin Rudalics <rudalics@gmx.at>
5769
5770 * help.el (temp-buffer-max-height): New default value.
5771 (temp-buffer-resize-frames): New option.
5772 (resize-temp-buffer-window): Optionally resize frame.
5773
5774 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5775 (fit-frame-to-buffer): New function.
5776
7e570fbf 57772012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5778
5779 * emulation/cua-rect.el (cua--init-rectangles):
5780 * textmodes/picture.el (picture-mode-map):
5781 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5782 like forward-char and backward-char. (Bug#12317)
5783
7e570fbf 57842012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5785
5786 * progmodes/flymake.el (flymake-warning-re): New variable.
5787 (flymake-parse-line): Use it.
5788
7e570fbf 57892012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5790
5791 * calendar/holidays.el (holiday-christian-holidays):
5792 Rename an entry. (Bug#12289)
5793
7e570fbf 57942012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5795
5796 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5797 (bug#12222).
5798
972debf2
SM
57992012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * loadup.el: Load macroexp. Remove hack.
5802 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5803 (macroexp--expand-all): Use it to get better warnings.
5804 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5805 (internal-macroexpand-for-load): New functions.
5806 (macroexp--pending-eager-loads): New var.
5807 (emacs-startup-hook): New hack to replace one in loadup.el.
5808 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5809 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5810 (cl-psetf): Simplify.
5811 (cl-defstruct): Add indent rule.
5812
8ce192e3
LI
58132012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5814
5815 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5816 over `user-mail-address' for the SMTP MAIL FROM envelope.
5817 (smtpmail-via-smtp): Ditto.
5818
6578b4d8
DG
58192012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el: Clean up keybindings.
5822 (ruby-mode-map): Don't bind ruby-electric-brace,
5823 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5824 backward-kill-word, reindent-then-newline-and-indent.
5825 (ruby-mark-defun): Remove.
5826 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5827 (ruby-mode): Set local beginning-of-defun-function and
5828 end-of-defun-function values.
5829
c5e28e39
MR
58302012-09-03 Martin Rudalics <rudalics@gmx.at>
5831
5832 * window.el (temp-buffer-window-setup-hook)
5833 (temp-buffer-window-show-hook): New hooks.
5834 (temp-buffer-window-setup, temp-buffer-window-show)
5835 (with-temp-buffer-window): New functions.
972debf2
SM
5836 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5837 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5838
5839 * help.el (temp-buffer-resize-mode): Fix doc-string.
5840 (resize-temp-buffer-window): New optional argument WINDOW.
5841
5842 * files.el (recover-file, save-buffers-kill-emacs):
5843 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5844
73406194
MA
58452012-09-02 Michael Albinus <michael.albinus@gmx.de>
5846
5847 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5848 remote definition of `default-directory', ensure we can connect.
5849
63dd1c6f
JL
58502012-09-02 Juri Linkov <juri@jurta.org>
5851
5852 Toggle whitespace matching mode with M-s SPC.
5853 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5854
5855 * isearch.el (search-whitespace-regexp): Doc fix.
5856 Remove cons cell customization.
5857 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5858 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5859 New variables.
5860 (isearch-forward, isearch-forward-regexp): Doc fix.
5861 (isearch-toggle-lax-whitespace): New command.
5862 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5863 (re-search-forward-lax-whitespace)
5864 (re-search-backward-lax-whitespace): New functions.
5865 (isearch-whitespace-regexp): Remove function.
5866 (isearch-query-replace): Let-bind replace-search-function and
5867 replace-re-search-function.
5868 (isearch-occur): Let-bind search-spaces-regexp according to the
5869 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5870 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5871 condition for C-q SPC.
5872 (isearch-search-fun-default): Use new functions mentioned above.
5873 (isearch-search-forward, isearch-search-backward): Remove functions.
5874 (isearch-search): Don't let-bind search-spaces-regexp.
5875 (isearch-lazy-highlight-space-regexp): Remove variable.
5876 (isearch-lazy-highlight-lax-whitespace)
5877 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5878 (isearch-lazy-highlight-new-loop): Use them.
5879 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5880
af7dda05
CY
58812012-09-02 Chong Yidong <cyd@gnu.org>
5882
5883 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5884
d67d3afd
GM
58852012-09-02 Glenn Morris <rgm@gnu.org>
5886
5887 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5888
69678719
GM
58892012-09-01 Glenn Morris <rgm@gnu.org>
5890
5891 * term.el: Tidy up menu definitions.
5892 (term-mode-map): Use easymenu for In/Out, Complete menus.
5893 (term-pager-break-map): Initialize in the defvar.
5894 (term-terminal-menu, term-signals-menu): Define with easymenu.
5895 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5896 (term-pager-menu): New, extracted from term-process-pager.
5897 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5898 (term-update-mode-line): Propertize line/char and page items.
5899 (term-process-pager): Move keymap initialization elsewhere.
5900
78dd6ab1
MR
59012012-09-01 Martin Rudalics <rudalics@gmx.at>
5902
5903 * window.el (switch-to-prev-buffer): Handle additional values of
5904 BURY-OR-KILL argument. Don't switch in minibuffer window.
5905 (switch-to-next-buffer): Don't switch in minibuffer window.
5906 (quit-restore-window): New function based on quit-window.
5907 Handle additional values of former KILL argument.
5908 (quit-window): Call quit-restore-window with appropriate
5909 interpretation of KILL argument.
5910 (display-buffer-below-selected): New buffer display action
5911 function.
5912
3d10e134
SM
59132012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * minibuffer.el (completion-at-point-functions): Complete docstring
5916 (bug#12254).
5917
0e23ef9d
PE
59182012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5919
5920 Better seed support for (random).
5921 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5922 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5923 * play/mpuz.el, play/tetris.el, play/zone.el:
5924 * calc/calc-comb.el (math-init-random-base):
5925 * play/blackbox.el (bb-init-board):
5926 * play/life.el (life):
5927 * server.el (server-use-tcp):
5928 * type-break.el (type-break):
5929 Remove unnecessary call to (random t).
5930 * net/sasl.el (sasl-unique-id-function):
5931 Change (random t) to (random), now that the latter is more random.
5932 * play/life.el (life-initialized): Remove no-longer-needed var.
5933
862382df
MR
59342012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5935
5936 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5937 Consider frame's buffer predicate when choosing the buffer.
5938 (Bug#12081)
5939
262a66e1
RS
59402012-08-30 Richard Stallman <rms@gnu.org>
5941
5942 * simple.el (special-mode-map): Delete binding for `z'.
5943
f17e1d00
AS
59442012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5945
5946 * progmodes/compile.el (compilation-always-kill): Doc fix.
5947
24777832
CY
59482012-08-30 Chong Yidong <cyd@gnu.org>
5949
5950 * window.el (display-buffer-reuse-frames): Make the obsolescence
5951 message more informative.
5952
69ba1f04
GM
59532012-08-30 Glenn Morris <rgm@gnu.org>
5954
5955 * paren.el (show-paren-delay):
5956 Add a :set function. Doc fix. (Bug#12297)
5957
f0019ede
MB
59582012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5959
5960 * progmodes/compile.el (compilation-always-kill): New var.
5961 (compilation-start): Use it.
5962
35e62fc9
SM
59632012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5964
af070a1c
SM
5965 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5966 * files.el (read-only-mode): Move to simple.el.
5967
35e62fc9
SM
5968 * files.el (read-only-mode): New minor mode.
5969 (toggle-read-only): Use it and mark obsolete.
5970 (find-file--read-only):
5971 * vc/vc.el (vc-next-action, vc-checkout):
5972 * vc/vc-cvs.el (vc-cvs-checkout):
5973 * obsolete/vc-mcvs.el (vc-mcvs-update):
5974 * ffap.el (ffap--toggle-read-only): Update callers.
5975
c2c43c23
MA
59762012-08-29 Michael Albinus <michael.albinus@gmx.de>
5977
5978 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5979 remote shell scripts.
5980 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5981
5982 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5983 "/usr/local/sbin".
5984
9fba804b
SM
59852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5988
eada0861 59892012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5990
806f0cc7
LL
5991 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5992 completion-at-point. (Bug#12220)
5993
3bb213b9
LL
5994 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5995
22ab32ef
LL
5996 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5997
eada0861 59982012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5999
19c17fc1
CY
6000 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6001 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 6002
eada0861 60032012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
6004
6005 * progmodes/hideif.el (hif-compress-define-list):
6006 Fix typo. (Bug#11951)
6007
eada0861 60082012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
6009
6010 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6011 buffer local setting.
6012
27d6c5a8
LL
6013 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6014 rcirc-encode-coding-system.
6015
eada0861 60162012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
6017
6018 * net/rcirc.el (rcirc-split-message): New function.
6019 (rcirc-send-message): Use it. (Bug#12051)
6020
d44688e4
JL
60212012-08-28 Juri Linkov <juri@jurta.org>
6022
6023 * info.el (Info-fontify-node): Hide empty lines at the end of
6024 the node. (Bug#12272)
6025
34f10d41
MR
60262012-08-27 Drew Adams <drew.adams@oracle.com>
6027
6028 * dired.el (dired-pop-to-buffer): Make window start at beginning
6029 of buffer (Bug#12281).
6030
77f1f99c
CY
60312012-08-26 Chong Yidong <cyd@gnu.org>
6032
6033 * window.el (special-display-regexps, special-display-frame-alist)
6034 (special-display-buffer-names, special-display-function)
6035 (display-buffer-reuse-frames): Mark as obsolete.
6036
6037 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6038
6039 * help.el (help-print-return-message): Don't treat
6040 display-buffer-reuse-frames specially.
6041
d97af5a0
CY
60422012-08-26 Chong Yidong <cyd@gnu.org>
6043
9fba804b
SM
6044 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6045 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
6046 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6047 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6048 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6049 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6050 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6051 the functions directly with gdb-display-buffer-other-frame-action.
6052 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6053 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6054 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6055 (gdb-display-registers-buffer): Define directly.
6056 (def-gdb-display-buffer): Macro deleted.
6057 (gdb-display-buffer): Remove second and third args, callers don't
6058 use them. Defer to the default display-buffer behavior, apart
6059 from making windows dedicated.
6060 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6061
6062 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6063
6064 * window.el (display-buffer-pop-up-frame): Handle a
6065 pop-up-frame-parameters alist entry.
6066 (display-buffer): Document it.
6067
dd7ffad6
CY
60682012-08-26 Chong Yidong <cyd@gnu.org>
6069
6070 * isearch.el (search-whitespace-regexp): Make string and nil
6071 values apply to both ordinary and regexp search. Allow a cons
6072 cell value to distinguish between the two.
6073 (isearch-whitespace-regexp, isearch-search-forward)
6074 (isearch-search-backward): New functions.
6075 (isearch-occur, isearch-search-fun-default, isearch-search)
6076 (isearch-lazy-highlight-new-loop): Use them.
6077 (isearch-forward, isearch-forward-regexp): Doc fix.
6078
4c47bd1e
CY
60792012-08-26 Chong Yidong <cyd@gnu.org>
6080
6081 * faces.el (help-argument-name): Always inherit from italic
6082 (Bug#12213).
6083
9aba119d
MR
60842012-08-25 Martin Rudalics <rudalics@gmx.at>
6085
6086 * window.el (window--even-window-heights): Even heights when
6087 WINDOW and the selected window form a vertical combination.
6088 (display-buffer-use-some-window): Provide that window used gets
6089 sized back by quit-window. (Bug#11880) and (Bug#12091)
6090
ca5256ad
PE
60912012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6092
6093 Fix file time stamp problem with bzr and CVS (Bug#12001).
6094 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6095 in the file's time stamp, since the version control system loses
6096 that information.
6097
d1c0d176
JL
60982012-08-22 Juri Linkov <juri@jurta.org>
6099
6100 * info.el (Info-fontify-node): Hide the suffix of the
6101 Info file name in the header line. (Bug#12187)
6102
141562ff
GM
61032012-08-22 Glenn Morris <rgm@gnu.org>
6104
6105 * calendar/cal-tex.el (cal-tex-weekly-common):
6106 Restore leading blank page.
6107
3a21537c 61082012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
6109
6110 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6111 the region under `shift-select-mode'. (Bug#12231)
6112
61132012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6114
6115 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6116 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6117 gives details on why the space is never needed.
6118
ea95074e
MR
61192012-08-22 Martin Rudalics <rudalics@gmx.at>
6120
9fba804b
SM
6121 * window.el (walk-window-tree, window-with-parameter):
6122 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6123 should run on the minibuffer window.
6124 (window-at-side-list): Don't operate on minibuffer window.
6125 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6126 (window--size-ignore): Rename to window--size-ignore-p.
6127 Update callers.
caceae25
MR
6128 (display-buffer-in-atom-window, window--major-non-side-window)
6129 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6130 (delete-side-window, display-buffer-in-side-window):
6131 New functions.
caceae25
MR
6132 (window--side-check, window-deletable-p, delete-window)
6133 (delete-other-windows, split-window): Handle side windows and
6134 atomic windows appropriately.
6135 (window--display-buffer): Call display-buffer-record-window also
6136 when the window buffer did not change.
ea95074e 6137
80a51fa0
CS
61382012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6139
6140 * help-fns.el (help-fns--key-bindings):
6141 Abbreviate non-symbol remap targets. (Bug#12174)
6142
fbb6300b
MR
61432012-08-22 Martin Rudalics <rudalics@gmx.at>
6144
6145 * dired.el (dired-mark-remembered): Don't clobber point.
6146 (Bug#11795)
6147
2b2c0794
GM
61482012-08-22 Glenn Morris <rgm@gnu.org>
6149
6150 * progmodes/bug-reference.el (bug-reference): New custom group.
6151 (bug-reference-bug-regexp): Make it a defcustom.
6152
37219830
DU
61532012-08-22 Daiki Ueno <ueno@unixuser.org>
6154
6155 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6156 (js-paren-indent-offset, js-square-indent-offset)
6157 (js-curly-indent-offset): Add :safe (Bug#12257).
6158
94e0e559
EC
61592012-08-22 Edward O'Connor <hober0@gmail.com>
6160
6161 * json.el (json-key-format): Add error properties.
6162 (json-encode-key): New function.
6163 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6164 Use json-encode-key.
6165
da485f5e
GM
61662012-08-22 Glenn Morris <rgm@gnu.org>
6167
6168 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6169 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6170 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6171 Update for above change.
6172
c6cc78b8
AS
61732012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6174
6175 * cus-face.el (custom-face-attributes): Fix customize type for the
6176 :underline attribute. (Bug#11805)
6177
5481664a
MR
61782012-08-21 Martin Rudalics <rudalics@gmx.at>
6179
6180 * window.el (window-point-1, set-window-point-1): Remove.
6181 (window-in-direction, record-window-buffer)
6182 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
6183 (window--state-get-1, display-buffer-record-window):
6184 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
6185 window-point and set-window-point respectively.
6186
6d74698e
GM
61872012-08-21 Glenn Morris <rgm@gnu.org>
6188
b7fa2691
GM
6189 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6190 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6191 Use it.
6192
52f56d5a
GM
6193 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6194 (cal-tex-shortday): New function.
6195 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6196 (cal-tex-cursor-filofax-daily): Use the above.
6197
9f1ee09e
GM
6198 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6199 New functions.
6200 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6201 (cal-tex-cursor-filofax-week): Use them.
6202
79858159
GM
6203 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6204 New constants.
6205 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6206 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6207
d346b2b4
GM
6208 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6209 (cal-tex-end-document): Don't rely on buffer name.
6210
b2403709
GM
6211 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6212 Use cal-tex-vspace.
6213 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6214 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6215 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6216 Use cal-tex-arg.
b2403709 6217
1cebb5c0
GM
6218 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6219 (cal-tex-cursor-week, cal-tex-cursor-week2)
6220 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6221 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6222 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6223 (cal-tex-insert-preamble, cal-tex-b-document)
6224 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6225 Improve cal-tex-cmd usage.
6226
c68cd5d4
GM
6227 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6228 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6229 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6230 (cal-tex-weekly-paper): New function.
6231 (cal-tex-cursor-week, cal-tex-cursor-week2)
6232 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6233 (cal-tex-cursor-day): Use it.
6234
9dca4801
GM
6235 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6236 (cal-tex-cursor-filofax-week): Remove leading blank page.
6237
1941e134
GM
6238 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6239 Add autoload cookie. For now at least, don't use color, since
6240 no other cal-tex function does.
6241
6d74698e
GM
6242 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6243 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6244 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6245
64cde199
JL
62462012-08-21 Juri Linkov <juri@jurta.org>
6247
6248 * info.el (Info-file-attributes): New variable.
6249 (info-insert-file-contents): Add file attributes to
6250 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6251 `Info-toc-nodes' when previous modtime of the Info file is less
6252 than new modtime.
6253 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6254 of info.el. (Bug#12230)
6255
32757648
GM
62562012-08-20 Glenn Morris <rgm@gnu.org>
6257
6258 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6259 * calendar/holidays.el (calendar-holiday-list):
6260 Report errors with display-warning rather than beep'n'sleep.
6261
a32fbbcf
MA
62622012-08-20 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/tramp.el (tramp-accept-process-output): Accept only output
6265 from PROC. Otherwise, process filters and sentinels might be
6266 confused. (Bug#12145)
6267
a05731a0
CY
62682012-08-20 Chong Yidong <cyd@gnu.org>
6269
6270 * descr-text.el (describe-text-properties-1): Use overlays-in to
6271 report on empty overlays (Bug#3322).
6272
36e8d1eb
GM
62732012-08-20 Glenn Morris <rgm@gnu.org>
6274
3d300447
GM
6275 * mail/rmailout.el (rmail-output-read-file-name):
6276 Trap and report errors in rmail-output-file-alist elements.
6277
36e8d1eb
GM
6278 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6279 since most non-font-lock faces are not also variables).
6280
b96e5814
ER
62812012-08-20 Edward Reingold <reingold@iit.edu>
6282
6283 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6284 New function. (Bug12160)
6285
7cef3569
GM
62862012-08-19 Glenn Morris <rgm@gnu.org>
6287
6288 * mail/rmailout.el (rmail-output-read-file-name):
6289 Fix previous change (when the alist is nil or does not match).
6290
17975d7f
CY
62912012-08-19 Chong Yidong <cyd@gnu.org>
6292
6293 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6294 (Bug#12228).
6295
2170b1bd
CY
62962012-08-18 Chong Yidong <cyd@gnu.org>
6297
6298 * simple.el (yank-handled-properties): New defcustom.
6299 (yank-excluded-properties): Add font-lock-face and category.
6300 (yank): Doc fix.
6301
9fba804b
SM
6302 * subr.el (remove-yank-excluded-properties):
6303 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6304 and category is now done this way, instead of being hard-coded.
6305 (insert-for-yank-1): Remove font-lock-face handling.
6306 (yank-handle-font-lock-face-property)
6307 (yank-handle-category-property): New function.
6308
ee218151
GM
63092012-08-17 Glenn Morris <rgm@gnu.org>
6310
6311 * mail/rmailout.el (rmail-output-read-file-name):
6312 Check rmail-output-file-alist against the full message body
6313 in the correct rmail buffer. (Bug#12214)
6314
4a6bc3fd
MA
63152012-08-17 Michael Albinus <michael.albinus@gmx.de>
6316
9fba804b
SM
6317 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6318 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6319
383dcbf9
CY
63202012-08-17 Chong Yidong <cyd@gnu.org>
6321
6322 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6323 font spec, set the font directly (Bug#3228).
6324
998c4a6a
MR
63252012-08-17 Martin Rudalics <rudalics@gmx.at>
6326
6327 * window.el (delete-window): Fix last fix.
6328
52162052
MR
63292012-08-16 Martin Rudalics <rudalics@gmx.at>
6330
6331 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6332 (window-child, window-child-count, window-last-child)
6333 (window-normalize-window, window-combined-p)
6334 (window-combinations, window-atom-root, window-min-size)
6335 (window-sizable, window-sizable-p, window-size-fixed-p)
6336 (window-min-delta, window-max-delta, window--resizable)
6337 (window--resizable-p, window-resizable, window-total-size)
6338 (window-full-height-p, window-full-width-p, window-body-size)
6339 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6340 (minimize-window, window-deletable-p, delete-window)
6341 (delete-other-windows, set-window-buffer-start-and-point)
6342 (next-buffer, previous-buffer, split-window, balance-windows-2)
6343 (set-window-text-height, window-buffer-height)
6344 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6345 (truncated-partial-width-window-p): Minor code adjustments.
6346 In doc-strings state whether the argument window has to denote a
85c2386b 6347 live, valid or any window.
52162052 6348
1c308380
PS
63492012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6350
6351 * progmodes/subword.el (subword-forward-function)
6352 (subword-backward-function, subword-forward-regexp)
6353 (subword-backward-regexp): New variables.
6354 (subword-forward, subword-forward-internal, subword-backward-internal):
6355 Use new variables, eg so that different "word" definitions
6356 can be easily used. (Bug#11411)
6357
94c9ece1
SM
63582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6361 for composite selectors.
6362 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6363 operation just because we can't find a previous revision.
6364
f2045622
CY
63652012-08-15 Chong Yidong <cyd@gnu.org>
6366
6367 * frame.el (set-frame-font): Accept font objects.
6368
582db660
SM
63692012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6372
2f29c200
WJ
63732012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6374
456e62c2
WJ
6375 * man.el (Man-overstrike-face, Man-underline-face)
6376 (Man-reverse-face): Remove variables.
6377 (Man-overstrike, Man-underline, Man-reverse): New faces.
6378 (Man-fontify-manpage): Use them instead of the variables.
6379 (Man-cleanup-manpage): Comment change.
6380 (Man-ansi-color-map): New variable.
6381 (Man-fontify-manpage): Use it.
6382 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6383
2f29c200
WJ
6384 Implement ANSI SGR parameters 22-27 (bug#12146).
6385 * ansi-color.el (ansi-colors): Doc fix.
6386 (ansi-color-context, ansi-color-context-region): Doc fix.
6387 (ansi-color--find-face): New function.
6388 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6389 Rename the local variable `face' to `codes' since it is now a list of
6390 ansi codes. Doc fix.
6391 (ansi-color-get-face): Remove.
6392 (ansi-color-parse-sequence): New function, derived from
6393 ansi-color-get-face.
6394 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6395 codes 22-27.
6396
b4f5e9df
SM
63972012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * subr.el (read-passwd): Allow use from a minibuffer.
6400
ba025fbd
EZ
64012012-08-14 Eli Zaretskii <eliz@gnu.org>
6402
6403 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6404 inside comments and strings as identifiers.
6405
6406 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6407 expression to evaluate. This allows to evaluate expressions with
6408 embedded whitespace.
6409 (gud-tooltip-tips): Add a blank before the newline in the
6410 message-box text, for the benefit of message-box emulation on
6411 MS-Windows.
6412
6413 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6414 messages from GDB, pop them up in a tooltip to give feedback to
6415 user.
b4f5e9df
SM
6416 (gdb-tooltip-print-1): Quote the expression to evaluate.
6417 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6418 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6419 if the TTY name is nil or empty (which happens when communicating
6420 with the inferior via pipes, e.g. on MS-Windows).
6421 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6422 don't send that to the GUD buffer.
6423
c548f821
GM
64242012-08-14 Glenn Morris <rgm@gnu.org>
6425
6426 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6427 Optimize away setq-default with no args, as for setq. (Bug#12195)
6428
55802e4a
CY
64292012-08-14 Chong Yidong <cyd@gnu.org>
6430
4abcdac8
CY
6431 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6432
55802e4a
CY
6433 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6434 (Bug#12085).
6435
3c3cda1a
GM
64362012-08-14 Glenn Morris <rgm@gnu.org>
6437
6438 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6439
e1873bd0
MA
64402012-08-14 Michael Albinus <michael.albinus@gmx.de>
6441
6442 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6443 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6444 Use cached shell name.
6445
925411b4
FEG
64462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6447
6448 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6449 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6450
e636fafe
DG
64512012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6452
6453 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6454 (ruby-percent-literal-beg-re): New constant.
6455 (ruby-syntax-general-delimiters-goto-beg): Rename to
6456 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6457 (ruby-syntax-propertize-general-delimiters): Rename to
6458 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6459 popular term. Adjust comments everywhere.
6460 (ruby-syntax-propertize-percent-literal): Only propertize when not
6461 inside a simple string or comment. When the literal is unclosed,
6462 leave the text after it unpropertized.
f063063a
DG
6463 (ruby-syntax-methods-before-regexp): New constant.
6464 (ruby-syntax-propertize-function): Use it to recognize regexps.
6465 Don't look at the text after regexp, just use the whitelist.
e636fafe 6466
e5b19827
AS
64672012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6468
6469 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6470 non-nil always load the compiled file if it exists. (Bug#12197)
6471
a9f6f311
CY
64722012-08-14 Chong Yidong <cyd@gnu.org>
6473
6474 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6475 (hi-lock-set-pattern): When deciding whether to use font lock or
6476 overlays, look at font-lock-mode instead of font-lock-fontified
6477 (Bug#12168).
6478 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6479 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6480
7d806b1e
DU
64812012-08-14 Daiki Ueno <ueno@unixuser.org>
6482
6483 * subr.el (internal--after-with-selected-window): Fix typo
6484 (Bug#12193).
6485
5beed586
FEG
64862012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6487
6488 Use `completion-table-dynamic' for completion functions.
6489 * progmodes/python.el
6490 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6491 (python-shell-completion--get-completions):
6492 Remove functions.
5beed586
FEG
6493 (python-shell-completion-complete-at-point): New function.
6494 (python-completion-complete-at-point): Use it.
6495
92cb3b04
J
64962012-08-13 Jambunathan K <kjambunathan@gmail.com>
6497
6498 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6499 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6500
89660017
SM
65012012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6502
3c98c962
SM
6503 * subr.el (function-get): Refine `autoload' arg so it can also
6504 autoload functions for gv.el (bug#12191).
6505 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6506 autoloads macros.
6507
aa7c6dbe
SM
6508 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6509 Prefer pcase-let over destructuring-bind.
6510 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6511 Also, remove whitespace as we go, rather than after accumulating the
6512 various places.
6513
89660017
SM
6514 * subr.el (internal--before-with-selected-window)
6515 (internal--after-with-selected-window): Fix typo seleted->selected.
6516 (with-selected-window): Adjust callers.
6517 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6518
31cd32c9
BG
65192012-08-13 Bastien Guerry <bzg@gnu.org>
6520
0fcd3d9f 6521 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6522 enhancement. (Bug#12172)
6523
1b15d8ad
AS
65242012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6525
31e54db0
AS
6526 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6527 type 1-6.
6528 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6529 extended headers.
6530
1b15d8ad
AS
6531 * files.el (hack-local-variables-filter): Remove useless eval.
6532
35cb9c06
MR
65332012-08-13 Martin Rudalics <rudalics@gmx.at>
6534
6535 * subr.el (with-selected-window): Fix last change.
6536
1439443b
SM
65372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * subr.el (internal--before-with-seleted-window)
6540 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6541 (with-selected-window): Use them, to replace dependency on
6542 tty-top-frame.
1439443b 6543
0d9e2599
NN
65442012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6545
6546 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6547 binding for `newline'.
6548 (ruby-move-to-block): When moving backward, stop at block opening,
6549 not indentation.
6550 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6551 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6552 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6553 `ruby-toggle-block'.
6554
ba10c48c
SM
65552012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * ibuffer.el (ibuffer-do-toggle-read-only):
6558 * dired.el (dired-toggle-read-only):
6559 * buff-menu.el (Buffer-menu-toggle-read-only):
6560 * bindings.el (mode-line-toggle-read-only):
6561 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6562
9229c658
AS
65632012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6564
6565 * descr-text.el (describe-char): Put the overlays over the
6566 "displayed as" character.
6567
0fd09128
JB
65682012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6569
6570 * calc/calc-units.el (math-default-units-table): Give an
6571 initial value.
6572 (math-put-default-units): Add options to put composite units and
6573 unit systems in the default units table.
6574 (calc-convert-units): Send composite units to
6575 `math-put-default-units' when appropriate.
6576
9ff9402d 65772012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6578
fbb5e336
GM
6579 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6580
7aacaf15
GM
6581 * tutorial.el (help-with-tutorial):
6582 * emacs-lisp/copyright.el (copyright-update-directory):
6583 * emacs-lisp/autoload.el (autoload-find-generated-file)
6584 (autoload-find-file): Disable local eval: (for insurance).
6585
f40b9f10
GM
6586 * files.el (hack-local-variables-filter): If an eval: form is not
6587 known to be safe, and enable-local-variables is :safe, then ignore
6588 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6589 This is CVE-2012-3479.
f40b9f10 6590
daa9f1a6
SM
65912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6594 (rx-form): Simplify.
6595
9cd80478
DG
65962012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6597
0d9e2599
NN
6598 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6599 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6600 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6601 (ruby-syntax-propertize-function): Adjust for changes in
6602 `ruby-syntax-propertize-heredoc'.
6603
66042012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6605
9cd80478
DG
6606 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6607 binding (use `M-;' instead).
9cd80478 6608 (ruby-singleton-class-p): New function.
0d9e2599 6609 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6610
d301b413
SM
66112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6614
1530c98e
CY
66152012-08-10 Chong Yidong <cyd@gnu.org>
6616
6617 * progmodes/python.el (python-shell-get-process-name): Don't mess
6618 with same-window-buffer-names.
6619
6620 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6621 (eshell-remove-from-window-buffer-names): Make obsolete.
6622 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6623 (eshell): Just use pop-to-buffer-same-window instead.
6624
e1293765
CY
66252012-08-10 Chong Yidong <cyd@gnu.org>
6626
6627 * bindings.el: Bind M-= back to count-words-region.
6628
6629 * simple.el (count-words-region): Accept a prefix arg for acting
6630 on the entire buffer.
6631 (count-words--buffer-message): New helper function.
6632
e1894109
SM
66332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6636 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6637 (event-start, event-end): Use posn-at-point to return a more
6638 informative posn.
6639 (posnp): New function.
6640 * mouse.el (popup-menu-normalize-position): Use it.
6641
c69f56a2
MY
66422012-08-10 Masatake YAMATO <yamato@redhat.com>
6643
6644 * mouse.el (popup-menu-normalize-position): New function.
6645 (popup-menu): Use `popup-menu-normalize-position' to normalize
6646 the form for POSITION argument.
6647
6648 * term/x-win.el (x-menu-bar-open):
6649 Use the value returend from (posn-at-point) as position
6650 passed to `popup-menu'.
6651
31673780
JB
66522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6653
6654 * calc/calccomp.el (math-compose-expr): Add extra argument
6655 indicating that parentheses should be put around products in
6656 denominators. Give multiplication precedence over division during
6657 composition.
6658
dab7711b
CY
66592012-08-09 Chong Yidong <cyd@gnu.org>
6660
dee4ef93
CY
6661 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6662 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6663 (Man-untabify-command, manual-program): Convert to defcustom
6664 (Bug#10429).
6665
73e2bbc5
CY
6666 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6667
3e861c8a
CY
6668 * descr-text.el (describe-char): Don't insert extra newlines
6669 (Bug#10127).
6670
a9f5a649
CY
6671 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6672 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6673
dab7711b
CY
6674 * align.el (align-region): Delete temporary markers (Bug#10047).
6675 Plus some code cleanups.
6676
e0cc4efa
FEG
66772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6678
6679 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6680 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6681 (python-shell-internal-last-output): Use make-local-variable
6682 instead of make-variable-buffer-local.
6683
489af14f
FEG
66842012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6685
6686 * progmodes/python.el: Enhancements to forward-sexp.
6687 (python-nav-forward-sexp): Rename from
6688 python-nav-forward-sexp-function.
c69f56a2
MY
6689 (python-nav--forward-sexp, python-nav--backward-sexp):
6690 New functions.
489af14f 6691
0fc50303
JB
66922012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6693
6694 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6695 modes and simplification modes.
6696
5d65606a
SM
66972012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * delsel.el (delete-selection-pre-hook): Don't propagate the
6700 file-supersession signals (bug#12161).
6701
4250fdf5
SM
67022012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6703
6704 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6705 (cl-map-extents): Add compatibility aliases (bug#12135).
6706
d9f9b465
MA
67072012-08-08 Michael Albinus <michael.albinus@gmx.de>
6708
6709 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6710 tests by `ignore-error'.
6711 (tramp-find-shell): Open also a new shell, when cache is already
6712 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6713
ce0fcefa
JL
67142012-08-08 Juri Linkov <juri@jurta.org>
6715
6716 * bookmark.el: Add `defaults' property to the bookmark record.
6717 (bookmark-current-buffer): Doc fix.
6718 (bookmark-make-record): Add `defaults' property with default values
6719 to the bookmark record.
6720 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6721 with `bookmark-insert-current-bookmark'.
6722 (bookmark-set): Get `defaults' property from the bookmark record
6723 and use it in `read-from-minibuffer'.
6724 (bookmark-insert-current-bookmark): Remove function.
6725
6726 * info.el (Info-bookmark-make-record): Add `defaults' property
6727 with values of canonical Info node name, the current Info file
6728 name and the current Info node name. (Bug#12107)
6729
53fa8652
JL
67302012-08-08 Juri Linkov <juri@jurta.org>
6731
6732 * files.el (basic-save-buffer): Use `buffer-name' as the default
6733 of `read-file-name' when buffer is not visiting a file (bug#12128).
6734
242c0a95
JL
67352012-08-08 Juri Linkov <juri@jurta.org>
6736
6737 * info.el (Info-isearch-search): Doc fix.
6738 (Info-search): Change search-failed message from "initial node" to
6739 "end of node" (bug#12078).
6740 (Info-isearch-search): Change `isearch-string-state' to
6741 `isearch--state-string'.
6742
32ac3a6b
GM
67432012-08-08 Glenn Morris <rgm@gnu.org>
6744
6745 * language/persian.el: Remove file.
f8c1afd5 6746 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6747 * loadup.el: Remove language/persian.
6748
2c2d9c9c
OF
67492012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6750
6751 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6752
2d79ec42
FEG
67532012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6754
3c855b96 6755 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6756 (python-syntax-context) Rename from python-info-ppss-context.
6757 (python-syntax-context-type): Rename from
6758 python-info-ppss-context-type.
6759 (python-syntax-comment-or-string-p): Rename from
6760 python-info-ppss-comment-or-string-p.
6761
2bd255dd
JB
67622012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6763
6764 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6765
c395097f
AS
67662012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6767
6125983e
AS
6768 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6769 a defcustom that is quoted with backquote.
6770
4250fdf5
SM
6771 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6772 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6773 (math-do-arg-check, math-define-function-body): Use backquote forms.
6774 * calc/calc-ext.el (math-defcache): Likewise.
6775 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6776 * allout.el (allout-new-exposure): Likewise.
6777 * calc/calcalg2.el (math-tracing-integral): Likewise.
6778 * info.el (Info-last-menu-item): Likewise.
6779 * emulation/vip.el (vip-loop): Likewise.
6780 * textmodes/artist.el (artist-funcall): Likewise.
6781 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6782 Construct menu-item directly.
6783
4250fdf5
SM
6784 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6785 Don't declare.
c395097f 6786
5fb50dd3
CY
67872012-08-07 Chong Yidong <cyd@gnu.org>
6788
6789 * simple.el (deactivate-mark): Preserve text properties when
6790 saving the primary selection (Bug#8384).
6791
54eea618
KR
67922012-08-07 Kevin Ryde <user42@zip.com.au>
6793
6794 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6795 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6796 and continue processing (Bug#12110).
6797
638eaeb9
SM
67982012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6801 syntax-propertize-function (bug#10095).
6802
ea376861
SM
68032012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6804
f91b35be
SM
6805 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6806 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6807 describe-function-1.
6808 (describe-function-1): Use them. Move compiler macro after sig.
6809 (help-fns--compiler-macro): Use function-get. Assume we're already in
6810 standard-output. Adjust layout to new call order.
6811
ea376861
SM
6812 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6813 re-binding a symbol that has a symbol-macro (bug#12119).
6814
d5be7bd0
MB
68152012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6816
6817 * language/persian.el: New file. (Bug#11812)
6818 * loadup.el: Add language/persian.el.
6819
90749b53
CY
68202012-08-06 Chong Yidong <cyd@gnu.org>
6821
6822 * window.el (window--maybe-raise-frame): New function.
6823 (window--display-buffer): Split off from here.
6824 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6825 (display-buffer-pop-up-window, display-buffer-use-some-window):
6826 Obey an inhibit-switch-frame action alist entry.
6827 (display-buffer): Update doc.
6828
6829 * replace.el (occur-after-change-function): Avoid losing focus by
6830 using the inhibit-switch-frame display parameter (Bug#12139).
6831
ba7b0154
FEG
68322012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6833
6834 Make internal shell process buffer names start with space.
6835 * progmodes/python.el (python-shell-make-comint): Add optional
6836 argument INTERNAL.
6837 (run-python-internal): Use it.
6838 (python-shell-internal-get-or-create-process): Check for new
6839 internal buffer names.
6840
5eaeacb5
GM
68412012-08-06 Glenn Morris <rgm@gnu.org>
6842
e296d94b 6843 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6844 Do less getting and setting of environment variables.
6845
b7ccbdc2
CY
68462012-08-05 Chong Yidong <cyd@gnu.org>
6847
777fe95e
CY
6848 * proced.el (proced): Add substitution string to docstring to
6849 trigger autoloading of the proced library on C-h f (Bug#1768).
6850
4250fdf5
SM
6851 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6852 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6853
6854 * imenu.el (imenu-generic-expression): Move documentation here
6855 from imenu--generic-function.
6856 (imenu--generic-function): Refer to imenu-generic-expression.
6857
9e3b7800 68582012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6859
6860 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6861 indentation declaration.
6862 (viper-loop): Add indentation declaration (Bug#7025).
6863
e5d9c0d1
CY
68642012-08-05 Chong Yidong <cyd@gnu.org>
6865
f0422feb
CY
6866 * help-fns.el (describe-variable): Add hyperlink for
6867 directory-local variables files. Improve buffer-local and
6868 permanent-local reporting; suggested by MON KEY (Bug#6644).
6869
6870 * help-mode.el (help-dir-local-var-def): New button type.
6871
e5d9c0d1
CY
6872 * files.el (kill-buffer-hook): Provide a defvar.
6873
a4f2deaa
GM
68742012-08-05 Glenn Morris <rgm@gnu.org>
6875
6876 * eshell/esh-ext.el (eshell/addpath):
6877 Also update eshell-path-env. (Bug#12013)
6878
a9dd5754
CY
68792012-08-05 Chong Yidong <cyd@gnu.org>
6880
a4f2deaa 6881 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6882
d014c740
CY
6883 * fringe.el (fringe-styles): Add docstring.
6884 (fringe--check-mode): New function.
6885 (set-fringe-mode, set-fringe-style): Use it.
6886 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6887
a9dd5754
CY
6888 * files.el (set-auto-mode): Fix invalid setq call.
6889
7c2dc8bd
SM
68902012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * isearch.el: Misc simplification; use defstruct.
6893 (isearch-mode-map): Dense maps now work like sparse ones.
6894 (isearch--state): New defstruct.
6895 (isearch-string-state, isearch-message-state, isearch-point-state)
6896 (isearch-success-state, isearch-forward-state)
6897 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6898 (isearch-wrapped-state, isearch-barrier-state)
6899 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6900 replaced by defstruct's accessors.
6901 (isearch--set-state): Rename from isearch-top-state and change
6902 calling convention.
6903 (isearch-push-state): Use new isearch--get-state.
6904 (isearch-toggle-word): Disable regexp when enabling word.
6905 (isearch-message-prefix): Remove unused arg _c-q-hack.
6906 (isearch-message-suffix): Remove unused arg _ellipsis.
6907
7fcc0070
AS
69082012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6909
6910 * simple.el (list-processes--refresh): For a server use :host or
6911 :local as the address.
97ad0769 6912 (list-processes): Doc fix.
7fcc0070 6913
a11035b8 69142012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6915
6916 * lisp/mpc.el: Support password in host argument.
6917 (mpc--proc-connect): Parse and use new password element.
6918 Set mpc-proc variable instead of returning process.
6919 (mpc-proc): Adjust accordingly.
6920
6dad7178
EZ
69212012-08-03 Eli Zaretskii <eliz@gnu.org>
6922
18949c2f
EZ
6923 * whitespace.el (whitespace-display-mappings): Use Unicode
6924 codepoints, instead of emacs-mule codepoints. See
6925 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6926 for the details.
6927
6dad7178
EZ
6928 * files.el (file-truename): Don't skip symlink-chasing part on
6929 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6930 Windows into the loop that recursively chases symlinks.
6931 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6932 MS-DOS.
6933
385b0198
CY
69342012-08-03 Chong Yidong <cyd@gnu.org>
6935
6200f3c4
CY
6936 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6937
385b0198
CY
6938 * sort.el (sort-regexp-fields): Doc fix.
6939
b9e74744
TH
69402012-08-03 Tassilo Horn <tsdh@gnu.org>
6941
6942 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6943 labels regex position point at the expected place.
6944
41013cb4
MK
69452012-08-03 MON KEY <monkey@sandpframing.com>
6946
6947 * net/imap.el (imap-interactive-login, imap-authenticate)
6948 (imap-mailbox-lsub, imap-mailbox-list)
6949 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6950 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6951 (imap-parse-response): Doc fix.
6952
0ffee616
JT
69532012-08-03 João Távora <joaotavora@gmail.com>
6954
6955 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6956 if sexp scanning does not move point (Bug#5734).
6957
cfcc9cc8
TH
69582012-08-02 Tassilo Horn <tsdh@gnu.org>
6959
6960 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6961 Add listings, minted, and ctable packages.
6962 (reftex-label-alist-builtin): Move listings, minted, and ctable
6963 entries before LaTeX.
a01bbb84 6964 (reftex-label-alist): Docfix.
cfcc9cc8 6965
66ec2442
BG
69662012-08-02 Bastien Guerry <bzg@gnu.org>
6967
6968 * replace.el (occur): Fix docstring (bug#12122).
6969
837b365b
GM
69702012-08-02 Glenn Morris <rgm@gnu.org>
6971
6972 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6973
e098de97
PE
69742012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6975
6976 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6977 * international/mule-cmds.el: Create
6978 inactivate-current-input-method-function as an obsolete alias for
6979 deactivate-current-input-method-function. See Katsumi Yamaoka in
6980 <http://bugs.gnu.org/10150#46>.
6981
a0f95636
JB
69822012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6983
6984 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6985 of nested `if's.
6986
0d26d7c4
GM
69872012-08-01 Glenn Morris <rgm@gnu.org>
6988
6989 * progmodes/autoconf.el (autoconf-definition-regexp):
6990 Add AH_TEMPLATE, adjust submatch numbering.
6991 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6992 (autoconf-current-defun-function): Update for above change.
6993 (autoconf-current-defun-function): First skip to end of current word.
6994
b686ba06
RS
69952012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6996
6997 * calendar/cal-html.el (cal-html-insert-agenda-days):
6998 Fix typo. (Bug#12018)
6999
0d49da68
FEG
70002012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7001
7002 Shell processes: enhancements to startup and CEDET compatibility.
7003 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7004 (python-shell-make-comint): accept-process-output at startup.
7005 (run-python-internal): Set inferior-python-mode-hook to nil.
7006 (python-shell-internal-get-or-create-process): call sit-for.
7007 (python-preoutput-result): Add obsolete alias.
7008 (python-shell-internal-send-string): Use it.
7009 (python-shell-send-setup-code): Remove call to
7010 accept-process-output.
7011
f1a71c6e
AS
70122012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7013
7014 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7015 (Bug#12108)
7016
d2605269
JB
70172012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7018
7019 * calc-mode.el (calc-basic-simplification-mode): Rename from
7020 `calc-limited-simplification-mode'.
7021 (calc-alg-simplification-mode): New function.
fc0c31f8 7022 (calc-set-simplify-mode): Adjust message.
f1a71c6e 7023
d2605269
JB
7024 * calc.el (calc-set-mode-line): Adjust mode line display for
7025 basic simplification mode.
7026
7027 * calc-help.el (calc-m-prefix-help): Update help message.
7028
7029 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7030 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7031
a3827a43
BG
70322012-07-31 Bastien Guerry <bzg@gnu.org>
7033
7034 * man.el (man): Fix comment. (bug#12101)
7035
502e3f89
MR
70362012-07-31 Martin Rudalics <rudalics@gmx.at>
7037
7038 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7039 Don't return a non-nil value when no suitable buffer was found.
7040
d7714961
FEG
70412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7042
7043 * progmodes/python.el (run-python-internal): Disable font lock for
7044 internal shells.
7045
1f45e27e
SM
70462012-07-30 Stefan Merten <smerten@oekonux.de>
7047
70efc5c9 7048 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
7049 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7050 (rst-official-version, rst-official-cvs-rev)
7051 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7052 (rst-mode-map): New key binding.
7053
0aee6912
PE
70542012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7055
7056 Update .PHONY listings in makefiles.
7057 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7058 autoloads, update-subdirs, updates, bzr-update, update-authors,
7059 compile-onefile, compile-calc, backup-compiled-files,
7060 compile-after-backup, compile-one-process, mh-autoloads,
7061 bootstrap-clean, distclean, maintainer-clean.
7062
9052f9f0
JB
70632012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7064
1823ac5a
JB
7065 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7066 (calc-set-mode-line): Don't display "AlgSimp ".
7067
7068 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7069 (calc-lim-simplify-mode): New function.
7070 (calc-set-simplify-mode): Default to 'alg.
7071 (calc-default-simplify-mode): Make algebraic simplifications
7072 the default.
7073
7074 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7075 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7076
8d7c7eed 7077 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
7078 indicate new simplification modes.
7079
1823ac5a
JB
7080 * calc/README: Mention new default simplification mode.
7081
9052f9f0
JB
7082 * calc/calc.el (math-normalize-error): New variable.
7083 (math-normalize): Set `math-normalize-error' to t
7084 when there's an error.
7085
7086 * calc/calc-alg.el (math-simplify): Don't simplify when
7087 `math-normalize' returns an error.
7088
20ba0cb4
EZ
70892012-07-29 Eli Zaretskii <eliz@gnu.org>
7090
7091 * international/mule-cmds.el (set-locale-environment): Revert last
7092 change, since display-graphic-p returns nil when this function is
7093 called during startup. Instead...
7094
7095 * term/w32console.el (terminal-init-w32console): ...setup the
7096 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7097
a5dcc929
JL
70982012-07-29 Juri Linkov <juri@jurta.org>
7099
7100 * simple.el (goto-line): Don't display default line number in the
7101 prompt because it should be displayed by `read-number' (bug#9952).
7102 Add the current line number to the defaults of `goto-line' to
7103 allow its easier modification by users with `M-n' (bug#9201).
7104
7105 * subr.el (read-number): Support multiple default values like in
7106 other minibuffer reading functions. Replace `read' with
7107 `string-to-number' for consistency with `number-to-string'.
7108
72b255c7
PE
71092012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7110
7111 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7112 * emulation/viper-init.el (viper-deactivate-input-method-action):
7113 Rename from viper-inactivate-input-method-action.
7114 (viper-deactivate-input-method):
7115 Rename from viper-inactivate-input-method.
7116 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7117 * international/mule-cmds.el (deactivate-input-method):
7118 Rename from inactivate-input-method.
7119 Also run input-method-deactivate-hook.
7120 (deactivate-current-input-method-function):
7121 Rename from inactivate-current-input-method-function.
7122 (input-method-deactivate-hook): New hook.
7123 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7124 (inactivate-input-method): Mark obsolete.
7125
72b255c7
PE
7126 * international/quail.el (quail-activate):
7127 Also run quail-deactivate-hook.
7128 (quail-deactivate): Rename from quail-inactivate.
7129 * international/robin.el (robin-activate):
7130 Also run robin-deactivate-hook.
7131 (robin-deactivate): Rename from robin-inactivate.
7132
2549c068
CY
71332012-07-29 Chong Yidong <cyd@gnu.org>
7134
7135 * simple.el (indicate-copied-region): New function.
7136 (kill-ring-save): Split off from here.
7137
7138 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7139 (kill-rectangle): Set deactivate-mark to t on read-only error.
7140
7141 * register.el (copy-to-register, copy-rectangle-to-register):
7142 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7143 (append-to-register, prepend-to-register): Call indicate-copied-region.
7144
71452012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7146
7147 * simple.el (async-shell-command-buffer): New defcustom.
7148 (shell-command): Use it. (Bug#4719)
7149
01bd1b0d
EZ
71502012-07-28 Eli Zaretskii <eliz@gnu.org>
7151
7152 * international/mule-cmds.el (set-locale-environment): In a
7153 console session on MS-Windows, set up keyboard and terminal
7154 encoding from the OEM codepage, not the ANSI codepage.
7155 (Bug#12055)
7156
a55739d3
CY
71572012-07-28 Chong Yidong <cyd@gnu.org>
7158
7159 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7160 gdb-get-location.
7161
0e1a094f 71622012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
7163
7164 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7165 the alist (bug#12029).
7166
20329d73
EZ
71672012-07-28 Eli Zaretskii <eliz@gnu.org>
7168
7169 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7170 (compile-always, compile-first)
7171 ($(lisp)/calendar/cal-loaddefs.el)
7172 ($(lisp)/calendar/diary-loaddefs.el)
7173 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7174 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7175 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7176 instead of on update-subdirs.
7177 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7178
345a2258
CY
71792012-07-28 Chong Yidong <cyd@gnu.org>
7180
1eee6341
CY
7181 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7182 directory if vc-deduce-backend returns nil (Bug#7350).
7183
345a2258
CY
7184 * simple.el (delete-trailing-lines): New option.
7185 (delete-trailing-whitespace): Obey it (Bug#11879).
7186
049a0936
DE
71872012-07-28 David Engster <deng@randomsample.de>
7188
7189 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7190 Explanation of new 'symbol-qnames feature in doc-strings.
7191 (xml-maybe-do-ns): Return expanded names as plain symbols if
7192 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7193 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7194
aa81af71
FEG
71952012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7196
7197 Consistent completion in inferior python with emacs -nw.
7198 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7199 binding in inferior-python-mode-map with "\t".
7200 (python-shell-completion-complete-at-point)
7201 (python-completion-complete-at-point): Remove interactive spec.
7202
e827b1eb
JB
72032012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7204
7205 * calc/calccomp.el (math-compose-expr): Undo previous change.
7206
a90dfb95
FEG
72072012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7208
4250fdf5 7209 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7210 run-python.
7211 (python-shell-make-comint): Fix pop-to-buffer call.
7212 (run-python): Autoload. New arg SHOW.
7213 (python-shell-get-or-create-process): Do not pop python process
7214 buffer.
7215
32770973 72162012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7217
7218 * notifications.el (notifications-on-action-signal)
7219 (notifications-on-closed-signal): Use also the bus address for the map.
7220 (notifications-notify, notifications-close-notification)
fc0c31f8 7221 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7222
86332df2
TH
72232012-07-27 Tassilo Horn <tsdh@gnu.org>
7224
4250fdf5
SM
7225 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7226 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7227 ctable macro.
7228 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7229 labels written in keyvals syntax.
7230
ca1302a4
JB
72312012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7232
7233 * calc/calccomp.el (math-compose-expr): Use parentheses when
7234 there is a product in the denominator of a fraction.
7235
f8b91036
EZ
72362012-07-26 Eli Zaretskii <eliz@gnu.org>
7237
7238 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7239 ($(lisp)/calendar/diary-loaddefs.el)
7240 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7241 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7242 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7243 rewritten while the autoload files are built at the same time,
7244 which needs to load subdirs.el.
7245
c8e5a42c
MR
72462012-07-26 Martin Rudalics <rudalics@gmx.at>
7247
7248 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7249 (mouse-drag-line): Don't exit tracking when a switch-frame or
7250 switch-window event occurs (Bug#12006).
7251
670d85ea
SM
72522012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * mouse.el (popup-menu): Fix last change.
7255
7abaf5cc
SM
72562012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 Autoload from Lisp with more care. Follow aliases when looking for
7259 function properties.
7260 * subr.el (autoloadp): New function.
7261 (symbol-file): Use it.
7262 (function-get): New function.
7263 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7264 autoload-do-load.
7265 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7266 (lisp-indent-function):
7267 * emacs-lisp/gv.el (gv-get):
7268 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7269 * emacs-lisp/byte-opt.el (byte-optimize-form):
7270 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7271 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7272 Use function-get.
7273 * emacs-lisp/cl.el: Don't propagate function properties any more.
7274
7275 * speedbar.el (speedbar-add-localized-speedbar-support):
7276 * emacs-lisp/disass.el (disassemble-internal):
7277 * desktop.el (desktop-load-file):
7278 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7279 (describe-function-1):
7280 * emacs-lisp/find-func.el (find-function-noselect):
7281 * emacs-lisp/elp.el (elp-instrument-function):
7282 * emacs-lisp/advice.el (ad-has-proper-definition):
7283 * apropos.el (apropos-safe-documentation, apropos-macrop):
7284 * emacs-lisp/debug.el (debug-on-entry):
7285 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7286 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7287 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7288
b1364986
AA
72892012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7290
7291 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7292 function, not an obsolete variable (Bug#12046).
7293
67ada220
AS
72942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7295
7296 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7297
f08088e3
CS
72982012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7299
7300 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7301 window only if it is still live (Bug#12034).
7302
8137e7b3
MR
73032012-07-25 Martin Rudalics <rudalics@gmx.at>
7304
7305 * subr.el (redirect-frame-focus): Add advertised calling
7306 convention (Bug#12030).
7307
09ae5da1
PE
73082012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7309
7310 Prefer typical American spelling for "acknowledgment".
7311 * vc/add-log.el (change-log-acknowledgment): Rename from
7312 change-log-acknowledgement, with an alias for the old name.
7313
3cc5a3a8
JB
73142012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7315
7316 * calc-alg.el (math-simplify-divide): Don't cross multiply
7317 in an equation when the lhs is a variable.
7318
b7af7f62
JD
73192012-07-24 Julien Danjou <julien@danjou.info>
7320
7321 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7322 Remove, unused.
7323
ec1b09b1
EZ
73242012-07-23 Eli Zaretskii <eliz@gnu.org>
7325
7326 * startup.el (command-line): Don't display an empty user name in
7327 the error message about non-existent home directory, when
7328 init-file-user was set to an empty string. See
7329 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7330 for the details and context.
7331
b525fd8a
VB
73322012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7333
7334 * ses.el (ses-cell-formula-aset): New macro.
7335 (ses-cell-references-aset): New macro.
7336 (ses-cell-p): New function.
7337 (ses-rename-cell): Do no longer rely on complex operations like
7338 ses-cell-set-formula or ses-set-cell to change the cell and handle
7339 the undo at the same time, but rather use lower level new macros
7340 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7341 the undo directly. Refresh the mode line.
b525fd8a 7342
2c73e345
LL
73432012-07-21 Leo Liu <sdl.web@gmail.com>
7344
670d85ea
SM
7345 * progmodes/cc-cmds.el (c-defun-name):
7346 Use match-string-no-properties instead for consistency.
2c73e345 7347
542dfbde
LL
73482012-07-20 Leo Liu <sdl.web@gmail.com>
7349
3646bcd6
LL
7350 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7351 (Bug#7879)
7352
542dfbde
LL
7353 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7354
25721031
CY
73552012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7358 * progmodes/bug-reference.el, misearch.el: Provide themselves
7359 (bug#11915).
7360
7361 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7362 of narrowed buffer (bug#11966).
7363
316e68a7
VB
73642012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7365
7366 * ses.el (ses-rename-cell): Set new name also in reference list of
7367 cells of which the renamed cell depends.
7368
bbf0e7d9
MY
73692012-07-20 Masatake YAMATO <yamato@redhat.com>
7370
7371 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7372 to check whether menu-bar is shown or not. If not shown,
7373 show the menu-bar as a popup menu instead of using tmm.
7374 * mouse.el (popup-menu): Accept `point' as `position' argument.
7375
c28662a8
DG
73762012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7377
7378 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7379 up inside string symbol literal (bug#11923).
7380
87ab808f
EZ
73812012-07-20 Eli Zaretskii <eliz@gnu.org>
7382
7383 * startup.el (fancy-startup-text): Read the whole tutorial, not
7384 just its first 256 bytes. Prevents gibberish in display of the
7385 tutorial title.
7386
89dea803
DA
73872012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7388
7389 Drop idle buffer compaction due to an absence of the
7390 proved efficiency.
7391 * compact.el: Remove.
7392
8a4e6db8
SS
73932012-07-19 Sam Steingold <sds@gnu.org>
7394
7395 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7396 vc-bzr-pull & vc-bzr-merge-branch.
7397 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7398 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7399 for consistency with compilation-error-regexp-alist.
7400 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7401 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7402 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7403 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7404
5db81e33
SM
74052012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/chart.el: Use lexical-binding.
7408 (chart-emacs-storage): Don't hardcode the list of entries.
7409
5b835e1d
DA
74102012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7411
7412 Next round of tweaks caused by Fgarbage_collect changes.
7413 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7414
9cd47b72
DA
74152012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7416
7417 Compact buffers when idle.
7418 * compact.el: New file.
7419
1d6fc0df
SM
74202012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * subr.el (eventp): Presume that if it looks vaguely like an event,
7423 it's an event (bug#10190).
7424
1d29cc7d
FEG
74252012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7426
7427 Enhancements to ppss related code (thanks Stefan).
7428 * progmodes/python.el (python-indent-context)
7429 (python-indent-calculate-indentation, python-indent-dedent-line)
7430 (python-indent-electric-colon, python-nav-forward-block)
7431 (python-mode-abbrev-table)
1d6fc0df 7432 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7433 for ppss context.
7434 (python-info-continuation-line-p): Cleanup.
7435 (python-info-ppss-context): Do not catch 'quote.
7436 (python-info-ppss-context-type)
7437 (python-info-ppss-comment-or-string-p): Simplify.
7438
d583cbe6
FEG
74392012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7440
7441 * progmodes/python.el: Enhancements to eldoc support.
7442 (python-info-current-symbol): New function.
7443 (python-eldoc-at-point): Use python-info-current-symbol.
7444 (python-info-current-defun): Fix cornercase on first defun scan.
7445 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7446 and signal error when no inferior python process is available.
7447
eceb6feb
DG
74482012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7449
7450 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7451 assume it's always t.
7452 (vc-git-registered): Remove caching, the function is only called
7453 once.
7454 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7455
4c8ff0fe
CY
74562012-07-18 Chong Yidong <cyd@gnu.org>
7457
19fb7186
CY
7458 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7459
9587c688
CY
7460 * simple.el (count-words): Report on narrowing (Bug#9959).
7461
0fe776a1
CY
7462 * bindings.el: Bind M-= to count-words.
7463
4c8ff0fe
CY
7464 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7465
7f5331cc
MY
74662012-07-18 Masatake YAMATO <yamato@redhat.com>
7467
7468 * progmodes/sh-script.el (sh-imenu-generic-expression):
7469 Capture a function with `function' keyword and without parentheses
7470 like "function FOO" (bug#11856).
7471
2dc2a609
TH
74722012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7473
7474 * window.el (split-window-sensibly): Make WINDOW argument
7475 optional.
7476
439f7677
CY
74772012-07-18 Chong Yidong <cyd@gnu.org>
7478
9aeb25a6
CY
7479 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7480
439f7677
CY
7481 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7482 and make C-x 8 RET exit isearch (Bug#11439).
7483
7484 * international/iso-transl.el: Move isearch-mode-map key
7485 definitions to isearch.el.
7486
12999ea8
SM
74872012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7490 (eieio-defclass): Use gv-define-setter when possible.
7491
3ab6e069
DA
74922012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7493
7494 Reflect recent changes in Fgarbage_collect.
7495 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7496 reflect new format of data returned by Fgarbage_collect.
7497
0a60bc10
FEG
74982012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7499
7500 New utility functions + python-info-ppss-context fix (Bug#11910).
7501 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7502 (python-info-ppss-comment-or-string-p): New functions.
7503 (python-info-ppss-context): Small fix for string check.
7504
6dafa0d5
JL
75052012-07-17 Juri Linkov <juri@jurta.org>
7506
7507 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7508 (dired-do-async-shell-command): Don't add `*' at the end of the
7509 command (Bug#11815).
7510 (dired-do-shell-command): Doc fix.
7511 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7512 Join the individual commands using either "&" or ";" as the
7513 separator depending on the values of these trailing characters.
7514 At the end re-add the trailing "&". (Bug#10598)
7515
7516 * simple.el (async-shell-command): Sync the interactive spec with
7517 `shell-command'. Doc fix.
7518 (shell-command): Doc fix.
7519
b19dd9d1
JL
75202012-07-17 Juri Linkov <juri@jurta.org>
7521
7522 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7523
bcdc27d7 75242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7525
bcdc27d7 7526 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7527 * progmodes/python.el (python-nav-beginning-of-statement):
7528 Rename from python-nav-statement-start.
bcdc27d7
FEG
7529 (python-nav-end-of-statement): Rename from
7530 python-nav-statement-end.
7531 (python-nav-beginning-of-block): Rename from
7532 python-nav-block-start.
7533 (python-nav-end-of-block): Rename from python-nav-block-end.
7534
191da00e
FEG
75352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7536
7f5331cc
MY
7537 * progmodes/python.el (python-shell-send-string-no-output):
7538 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7539 future interactions (Bug#11868).
7540
4dc7c8d5 75412012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7542
88ecaf8f
SM
7543 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7544
ef501ef0
SM
7545 * emacs-lisp/elint.el (elint-find-args-in-code):
7546 Use help-function-arglist, so as to handle lexical byte-code.
7547
aa7aaf8f
SM
7548 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7549 change (bug#11826).
7550
45fd731c
SM
75512012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7552
2143fa32
SM
7553 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7554 Avoid spuriously marking the buffer as modified because of c-is-sws.
7555
efc26dbe
SM
7556 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7557 as not-a-comment (bug#11946).
7558
f5695c9a
SM
7559 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7560 for uninterned vars.
7561
7562 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7563 Use read-event since we don't really want to read chars but bytes.
7564
45fd731c
SM
7565 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7566 $$..$$ but also $..$ using regexps (bug#11953).
7567 Use tex-verbatim for \url and \path.
7568 (tex-font-lock-keywords): Define as defconst like the others.
7569 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7570
ddfc8813
RK
75712012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7572
7573 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7574 alias for insert-char.
7575
758e556a
FEG
75762012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7577
7578 * progmodes/python.el: Simplified imenu implementation.
7579 (python-nav-jump-to-defun): Remove command.
7580 (python-mode-map): Use `imenu' instead.
7581 (python-nav-list-defun-positions-cache)
7582 (python-imenu-include-defun-type, python-imenu-make-tree)
7583 (python-imenu-subtree-root-label, python-imenu-index-alist):
7584 Remove vars.
7585 (python-nav-list-defun-positions, python-nav-read-defun)
7586 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7587 (python-imenu-make-tree, python-imenu-create-index):
7588 Remove functions.
758e556a
FEG
7589 (python-mode): Update to interact with imenu by setting
7590 `imenu-extract-index-name-function' only.
7591
032d23ab
FEG
75922012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7593
7594 * progmodes/python.el: Enhancements to navigation commands.
7595 (python-nav-backward-sentence)
7596 (python-nav-forward-sentence): Remove.
7597 (python-nav-backward-statement, python-nav-forward-statement)
7598 (python-nav-statement-start, python-nav-statement-end)
7599 (python-nav-backward-block, python-nav-forward-block)
7600 (python-nav-block-start, python-nav-block-end)
7601 (python-nav-forward-sexp-function)
7602 (python-info-current-line-comment-p)
7603 (python-info-current-line-empty-p): New functions.
7604 (python-indent-context): Use `python-nav-statement-start'.
7605
01795a1b
MA
76062012-07-16 Michael Albinus <michael.albinus@gmx.de>
7607
9328d9aa
MA
7608 * eshell/em-ls.el (eshell/ls): Use `apply'.
7609
7610 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7611 multi-hops, instead of Tramp internals.
7612
01795a1b
MA
7613 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7614
7615 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7616 when F1 and F2 are located on different hosts.
7617
63408057
CY
76182012-07-14 Chong Yidong <cyd@gnu.org>
7619
7620 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7621 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7622 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7623 (xterm-mouse--read-event-sequence-1000)
7624 (xterm-mouse--read-event-sequence-1006): New functions. For old
7625 mouse protocol, handle M-mouse-X events correctly.
7626 (xterm-mouse-event): New arg specifying mouse protocol.
7627 (turn-on-xterm-mouse-tracking-on-terminal)
7628 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7629 sequence to toggle extended coordinates on newer XTerms.
7630 This appears to be harmless on terminals which do not support this.
63408057 7631
cd276f6e
LL
76322012-07-14 Leo Liu <sdl.web@gmail.com>
7633
28ca98ac
LL
7634 Add fringe bitmap indicators for flymake. (Bug#11253)
7635 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7636 (flymake-make-overlay): New arg BITMAP.
7637 (flymake-error-bitmap, flymake-warning-bitmap)
7638 (flymake-fringe-indicator-position): New user variables.
7639
cd276f6e
LL
7640 * fringe.el: New bitmap exclamation-mark.
7641
04408072
JD
76422012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7643
7644 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7645 also (Bug#7879).
7646
b5cf7fc4
CY
76472012-07-14 Chong Yidong <cyd@gnu.org>
7648
7649 * electric.el (electric-pair-post-self-insert-function): Fix pair
7650 insertion in empty-region case (Bug#11520).
7651
be755c79
RT
76522012-07-14 Chong Yidong <cyd@gnu.org>
7653
45fd731c
SM
7654 * bindings.el: Consolidate ctl-x-r-map bindings.
7655 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7656
7657 * rect.el, register.el: Move bindings to bindings.el.
7658
76592012-07-14 Reuben Thomas <rrt@sc3d.org>
7660
7661 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7662
7f5b3198
AS
76632012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7664
7665 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7666
97662200
JB
76672012-07-13 Juanma Barranquero <lekktu@gmail.com>
7668
80185fed
JB
7669 * bindings.el (top): Use `mapc' instead of `mapcar'.
7670
97662200
JB
7671 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7672
2bb1ae55
MA
76732012-07-13 Michael Albinus <michael.albinus@gmx.de>
7674
7675 * progmodes/sql.el (sql-comint): Suppress the check for program on
7676 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7677 (Bug#11908)
7678
dea31bd3
CY
76792012-07-13 Chong Yidong <cyd@gnu.org>
7680
7681 * bindings.el: Assign a non-nil permanent-local property to
7682 per-buffer variables which lack a default value (Bug#11930).
7683
7684 * help-fns.el (describe-variable): In the "automatically becomes
7685 local" notice, take note of permanent-local variables.
7686
b68b3337
CY
76872012-07-13 Chong Yidong <cyd@gnu.org>
7688
7689 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7690 to allow printing the message when called from Lisp.
7691
7692 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7693 Remove toggle-read-only.
7694
7695 * bs.el (bs-toggle-readonly):
45fd731c
SM
7696 * buff-menu.el (Buffer-menu-toggle-read-only):
7697 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7698
7699 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7700 Remove with-no-warnings around toggle-read-only.
7701 (ffap-read-only, ffap-read-only-other-window)
7702 (ffap-read-only-other-frame): Callers changed.
7703
7704 * help-mode.el: Don't require view package.
7705 (help-mode-finish): Set buffer-read-only instead of calling
7706 toggle-read-only.
7707
7708 * bindings.el (mode-line-toggle-read-only):
7709 * dired.el (dired-toggle-read-only):
7710 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7711 with non-nil second arg.
7712
7713 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7714 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7715 directly.
7716
56bc1586
EZ
77172012-07-12 Eli Zaretskii <eliz@gnu.org>
7718
7719 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7720 not incf.
7721
a464a6c7
SM
77222012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 More CL cleanups and reduction of use of cl.el.
7725 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7726 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7727 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7728 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7729 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7730 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7731 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7732 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7733 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7734 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7735 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7736 * eshell/em-cmpl.el, eshell/em-banner.el:
7737 * calendar/parse-time.el: Use cl-lib.
7738 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7739 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7740 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7741 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7742 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7743 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7744 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7745 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7746 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7747 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7748 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7749 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7750 `lambda' rather than with `quote'.
7751 (eshell-do-opt): Adjust accordingly.
7752 (eshell-process-option): Simplify.
7753 * eshell/esh-var.el:
7754 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7755 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7756 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7757 to `pcase--dontcare'.
7758 * emacs-lisp/cl.el (labels): Mark obsolete.
7759 (cl--letf, letf): Move to cl-lib.
7760 (cl--letf*, letf*): Remove.
7761 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7762 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7763 (cl-progv): Rewrite.
7764 (cl--letf, cl-letf): Move from cl.el.
7765 (cl-letf*): New macro.
7766 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7767
7ad4afe1
MA
77682012-07-11 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7771
9af57756
CY
77722012-07-11 Chong Yidong <cyd@gnu.org>
7773
7774 * vc/log-edit.el (log-edit-vc-backend): New variable.
7775 (log-edit): Doc fix.
7776
7777 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7778 argument of log-edit to set up all local variables.
7779 (vc-start-logentry): New optional arg specifying VC backend.
7780
7781 * vc/vc.el (vc-checkin): Use it.
7782 (vc-deduce-fileset): Handle Log Edit buffers.
7783 (vc-diff): Make first argument optional too.
7784
7785 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7786
8477cc7a
MA
77872012-07-10 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7790 command, just in case. The function is not needed anymore.
7791 (eshell-external-command): Do not call `eshell-remote-command'.
7792
19faa8e8
SM
77932012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7794
f58e0fd5
SM
7795 Reduce use of (require 'cl).
7796 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7797 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7798 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7799 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7800 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7801 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7802 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7803 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7804 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7805 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7806 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7807 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7808 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7809 (byte-compile-unfold-bcf, byte-compile-check-variable):
7810 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7811 (byte-compile-nilconstp):
7812 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7813 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7814
2519d43a
SM
7815 * emacs-lisp/gv.el (cond): Make it a valid place.
7816 (if): Simplify slightly.
7817
19faa8e8
SM
7818 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7819 (pcase--self-quoting-p): New function.
7820 (pcase--u1): Use it.
7821
c4907a5e
GM
78222012-07-10 Glenn Morris <rgm@gnu.org>
7823
7824 * emacs-lisp/authors.el (authors-fixed-entries):
7825 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7826
c4444d16
PE
78272012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7828
7829 Rename configure.in to configure.ac (Bug#11603).
7830 * emacs-lisp/authors.el (authors-canonical-file-name):
7831 * progmodes/autoconf.el (autoconf-mode):
7832 Prefer configure.ac to configure.in.
7833
d75be97d
CY
78342012-07-08 Chong Yidong <cyd@gnu.org>
7835
01ac65bd
CY
7836 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7837 Implement the mouse-1-click-follows-link handling properly.
7838
7839 * info.el (Info-link-keymap): Use follow-link mechanism for
7840 header-line links (Bug#374).
7841
d75be97d
CY
7842 * simple.el (deactivate-mark): Do not set the primary selection
7843 if another program has acquired it (Bug#11772).
7844
87a92845 78452012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7846
7847 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7848 (woman-decode-region): Replace escaped-escapes without destroying
7849 bold or underline (Bug#11552).
87a92845 7850 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7851
621b9d6c
CY
78522012-07-07 Chong Yidong <cyd@gnu.org>
7853
7854 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7855 (interprogram-cut-function, interprogram-paste-function):
7856 Mention that we typically mean the clipboard.
621b9d6c 7857
133a11fc
GM
78582012-07-06 Glenn Morris <rgm@gnu.org>
7859
0d27a45e
GM
7860 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7861
133a11fc
GM
7862 * files.el (toggle-read-only): Restrict message to interactive use.
7863
07b151f1
MA
78642012-07-06 Michael Albinus <michael.albinus@gmx.de>
7865
7866 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7867
7868 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7869
211b896b
GM
78702012-07-06 Glenn Morris <rgm@gnu.org>
7871
50394322
GM
7872 * Makefile.in (compile-one-process): Rename from "recompile".
7873
211b896b
GM
7874 * Makefile.in (bzr-update): "compile" is the same as "recompile
7875 autoloads", but parallelizable, so use that instead.
7876
4737eec9
DG
78772012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * window.el (quit-window): Always restore window height when
8137e7b3 7880 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7881
226c3633 78822012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7883
7884 * simple.el (kill-whole-line): Doc tweak.
7885
226c3633 78862012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7887
7888 * files.el (file-relative-name): Compare file names
7889 case-insensitively if on MS-Windows or MS-DOS, or if
7890 read-file-name-completion-ignore-case is non-nil. Don't use
7891 case-fold-search for this purpose. (Bug#11827)
7892
4dc7c8d5
SM
78932012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7894
7895 * calendar/cal-dst.el (calendar-current-time-zone):
7896 Return calendar-current-time-zone-cache if non-nil.
7897
78982012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 78992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7900
19faa8e8
SM
7901 * calendar/cal-dst.el (calendar-current-time-zone):
7902 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7903
60198fc9
GM
79042012-07-06 Glenn Morris <rgm@gnu.org>
7905
7906 * Makefile.in (cvs-update): Remove old alias.
7907
957b3189
MA
79082012-07-05 Michael Albinus <michael.albinus@gmx.de>
7909
7910 Sync with Tramp 2.2.6-pre.
7911
7912 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7913 compatible declaration.
7914
19faa8e8
SM
7915 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7916 Protect `list-load-path-shadows' call.
957b3189
MA
7917
7918 * net/tramp-compat.el (top): Require packages, which aren't
7919 autoloaded anymore for XEmacs. Protect call of
7920 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7921 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7922 it hurts at least for SXEmacs.
7923 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7924 standard-value for `temporary-file-directory'.
7925
7926 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7927 Redirect stderr to /dev/null.
7928 (tramp-sh-handle-write-region): uid and gid can be floats.
7929 Reported by Russell Sim <russell.sim@gmail.com>.
7930 (tramp-sh-handle-vc-registered): Hide errors.
7931 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7932 and `start-file-process'.
7933 (tramp-maybe-open-connection): Check also whether `non-essential'
7934 is bound.
7935
566df3fc
CY
79362012-07-04 Chong Yidong <cyd@gnu.org>
7937
7938 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7939 (xml-parse-tag): Likewise, and avoid changing entity tables.
7940 (xml-syntax-table): Define from scratch, making sure not to give
7941 x2000 and other Unicode spaces whitespace syntax, since those are
7942 not spaces in XML.
7943 (xml-parse-fragment): Delete unused function.
7944 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7945 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7946 (xml-entity-ref, xml-pe-reference-re)
7947 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7948 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7949 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7950 (xml-entity-value-re): Use syntax references in regexps where
7951 possible; no need to define inside a let-binding.
7952 (xml-parse-dtd): Use xml-pe-reference-re.
7953 (xml-entity-or-char-ref-re): New defconst.
7954 (xml-parse-string, xml-substitute-special): Use it.
7955
30eabd7a
SM
79562012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7957
0781098a
SM
7958 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7959 (find-file--read-only): New function.
7960 (find-file-read-only, find-file-read-only-other-window)
7961 (find-file-read-only-other-frame): Use it.
7962 (insert-file-contents-literally): Don't `fset'.
7963 (get-free-disk-space): Use locate-dominating-file.
7964
b5771c0d
SM
7965 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7966 function is already compiled.
7967
30eabd7a
SM
7968 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7969
b4886f6e
MA
79702012-07-03 Michael Albinus <michael.albinus@gmx.de>
7971
7972 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7973 files on the same host.
7974
b9d82339
AS
79752012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7976
7977 * help-fns.el (describe-function-1): Only call
7978 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7979
a76e6535
CY
79802012-07-03 Chong Yidong <cyd@gnu.org>
7981
7982 * xml.el: Protect parser against XML bombs.
7983 (xml-entity-expansion-limit): New variable.
7984 (xml-parse-string, xml-substitute-special): Use it.
7985 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7986
b544fef2
GM
79872012-07-03 Glenn Morris <rgm@gnu.org>
7988
7989 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7990 Allow linking to specific messages in debbugs reports (eg 123#5).
7991
a7aef6f5
CY
79922012-07-02 Chong Yidong <cyd@gnu.org>
7993
7994 * xml.el: Fix entity and character reference expansion, allowing
7995 them to expand into markup as per XML spec.
7996 (xml-default-ns): New variable.
7997 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7998 (xml-parse-region): Make first two arguments optional.
7999 Discard text properties.
8000 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8001 All callers changed.
a7aef6f5
CY
8002 (xml-parse-tag): Call xml-parse-tag-1. For backward
8003 compatibility, this function should not modify buffer contents.
8004 (xml-parse-tag-1): Fix opening-tag regexp.
8005 (xml-parse-string): Rewrite, handling entity and character
8006 references properly.
8007 (xml--entity-replacement-text): Signal an error if a parameter
8008 entity is undefined.
8009
3df31c9f
SM
80102012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8011
2b5208f1
SM
8012 * comint.el (comint-output-filter): Filter out repeated prompts.
8013
3df31c9f
SM
8014 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8015 and file-name-absolute-p.
8016 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8017 internal calls.
8018
e3ac1281
PE
80192012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8020
8021 Spelling fixes.
8022 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8023 Rename from byte-compile--refiy-function. All uses changed.
8024
fbf2e7ad
CY
80252012-07-01 Chong Yidong <cyd@gnu.org>
8026
8027 * xml.el (xml--parse-buffer): New function. Move most of
8028 xml-parse-region here.
8029 (xml-parse-region): Copy region into a temporary buffer, since
8030 parameter entity substitution requires changing buffer contents.
8031 Use xml--parse-buffer.
8032 (xml-parse-file): Use xml--parse-buffer.
8033 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 8034 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 8035
9bf0aa15
GM
80362012-06-30 Glenn Morris <rgm@gnu.org>
8037
bbce2853
GM
8038 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8039
9bf0aa15
GM
8040 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8041 Remove outdated and unnecessary dbus declarations.
8042
0d23c240
EZ
80432012-06-30 Eli Zaretskii <eliz@gnu.org>
8044
8045 * emacs-lisp/timer.el (timer-until): Subtract results of
8046 float-time, instead of taking float-time of the result of
8047 time-subtract, since float-time signals an error for negative time
8048 arguments.
8049
b3218de1
CY
80502012-06-30 Chong Yidong <cyd@gnu.org>
8051
8052 * xml.el (xml-*-re): Convert defvars into defconsts, and
8053 eval-and-compile them so eval-and-compile works on derivatives.
8054 (xml--entity-replacement-text): Use eval-and-comple.
8055
a40c87a0
MA
80562012-06-30 Michael Albinus <michael.albinus@gmx.de>
8057
8058 * vc/vc-git.el (vc-git-registered): Use cache property
8059 `git-registered'.
8060 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8061 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 8062 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 8063
ac87de97
DG
80642012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8065
8066 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 8067 removed (likely outside Emacs). (Bug#11757)
ac87de97 8068
ac10fe06
SM
80692012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8070
3df31c9f 8071 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 8072
7f3fbd5d
CY
80732012-06-30 Chong Yidong <cyd@gnu.org>
8074
8075 * xml.el: Implement XML parameter entities.
8076 (xml-parameter-entity-alist): New variable.
8077 (xml-parse-region, xml-parse-fragment): Preserve previous values
8078 of xml-entity-alist and xml-parameter-entity-alist, so that
8079 repeated calls on different documents do not change them.
8080 (xml-parse-tag): Fix doctype regexp.
8081 (xml--entity-replacement-text): New function.
8082 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8083 properly requires url retrieval which is unimplemented.
8084 (xml-escape-string): Doc fix.
8085
3cfbebba
SM
80862012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8089
2af3565e
DA
80902012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8091
8092 * fringe.el (fringe-mode): Doc fix.
8093
929df0e7
MA
80942012-06-29 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8097 is non-nil.
8098 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8099 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8100
c8d3a25c 81012012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8102
c8d3a25c
GM
8103 * calendar/cal-dst.el (calendar-current-time-zone):
8104 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8105
c8d3a25c 81062012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
8107
8108 * progmodes/which-func.el (which-func-format):
8109 Add mouse-face. (Bug#11698)
8110
c8d3a25c
GM
81112012-06-29 Leo Liu <sdl.web@gmail.com>
8112
8113 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8114
81152012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * minibuffer.el (minibuffer-confirm-exit-commands):
8118 Add completion-at-point (bug#11725).
8119
81202012-06-29 Glenn Morris <rgm@gnu.org>
8121
8122 * progmodes/f90.el (f90-font-lock-keywords-2):
8123 Add some preprocessor elements. (Bug#10499)
8124
81252012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8128 Use syntax-propertize (bug#11739).
8129
2badeec4
JB
81302012-06-28 Juanma Barranquero <lekktu@gmail.com>
8131
8132 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8133
ae4969c2
JD
81342012-06-28 Julien Danjou <julien@danjou.info>
8135
8136 * term.el (term-handle-colors-array): Use a set of new faces to
8137 color the terminal. Also uses :inverse-video property.
8138 (term-default-fg-color): Set to nil by default, deprecate in favor
8139 of `term-face'.
8140 (term-default-bg-color): Set to nil by default, deprecate in favor
8141 of `term-face'.
8142 (term-current-face): Use `term-face' by default.
8143 (term-bold-attribute): Variable deleted.
8144
1c9bd870
GM
81452012-06-28 Glenn Morris <rgm@gnu.org>
8146
8147 * simple.el (completion-list-mode-finish):
8148 Don't use toggle-read-only. (Since completion-list-mode has
8149 a special mode-class, it wasn't doing anything extra anyway.)
8150
c207708c
SM
81512012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 Make inlining of other-mode interpreted functions work (bug#11799).
8154 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8155 (byte-compile): Use it to fix compilation of lexical-binding closures.
8156 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8157 function, if needed.
8158
3fd56834
SM
81592012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8160
04901786
SM
8161 * help-mode.el (help-make-xrefs): Don't just withstand
8162 cyclic-variable-indirection but any error in documentation-property.
8163
1ec4b7b2
SM
8164 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8165 memory use.
8166 * bindings.el (bindings--define-key): New function.
8167 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8168 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8169 * bindings.el: Use it to purecopy define-key bindings.
8170
e309e2a5
SM
8171 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8172
d5c6faf9
SM
8173 * emacs-lisp/cl.el (flet): Mark obsolete.
8174 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8175 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8176 * progmodes/js.el (js-c-fill-paragraph):
8177 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8178 (ebrowse-switch-member-buffer-to-derived-class):
8179 * play/5x5.el (5x5-solver): Use cl-flet.
8180
6e9590e2
SM
8181 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8182 (cl--symbol-function): New macro.
8183 (cl--letf, cl--letf*): Use it.
8184
3fd56834
SM
8185 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8186 Strip "toggle-" if any.
8187
35ff222c
GM
81882012-06-27 Glenn Morris <rgm@gnu.org>
8189
1ba6038a
GM
8190 * info.el (Info-default-directory-list): Move here from paths.el.
8191 * paths.el: Remove file, which is now empty.
8192 * loadup.el: No longer load "paths".
8193
0ea0e51b
GM
8194 * custom.el (custom-initialize-delay): Doc fix.
8195
35ff222c
GM
8196 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8197 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8198 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8199 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8200 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8201 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8202 * eshell/eshell.el (eshell-defgroup): Remove alias.
8203
c89926a5
CY
82042012-06-27 Chong Yidong <cyd@gnu.org>
8205
8206 * help.el (help-enable-auto-load): New variable.
8207
8208 * help-fns.el (help-fns--autoloaded-p): New function.
8209 (describe-function-1): Refer to a function as "autoloaded" if it
8210 was autoloaded at any time in the past. Perform autoloading if
8211 help-enable-auto-load is non-nil.
8212
cc06e7e7
EZ
82132012-06-26 Eli Zaretskii <eliz@gnu.org>
8214
8215 * makefile.w32-in (compile, compile-always): Depend on
8216 update-subdirs, not on subdirs.el. Otherwise, several different
8217 sub-targets of 'bootstrap' running in parallel could
8218 simultaneously write to subdirs.el, producing a garbled file.
8219
d2c32364
SS
82202012-06-26 Sam Steingold <sds@gnu.org>
8221
8222 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8223 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8224 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8225 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8226 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8227 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8228 * textmodes/tex-mode.el: Use it.
8229 Did not touch cedet and org because they are maintained elsewhere.
8230
5cf983b2
MR
82312012-06-26 Martin Rudalics <rudalics@gmx.at>
8232
8233 * calendar/calendar.el (calendar-exit): Don't try to delete or
8234 iconify last frame. See:
8235 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8236
8c4f2952
JD
82372012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8238
8239 * server.el (server-process-filter): Remember dir in the
8240 process's `server-client-directory' properties.
8241
772b2e2c
CY
82422012-06-24 Chong Yidong <cyd@gnu.org>
8243
8244 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8245 non-tag text.
8246
711b11e1
JB
82472012-06-23 Juanma Barranquero <lekktu@gmail.com>
8248
8249 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8250
dc5d230c
SM
82512012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * help-fns.el (describe-variable): Don't croak when doc is not found.
8254 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8255 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8256 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8257 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8258 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8259 ((lambda ..) ..).
8260 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8261
136e1c1d
CY
82622012-06-23 Chong Yidong <cyd@gnu.org>
8263
e8c1cabf
CY
8264 * info.el (Info-mouse-follow-link): Accept symbol values of
8265 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8266 (Info-fontify-node): Use Info-link-keymap for all navigation
8267 buttons, with link-args property to perform the desired action.
8268 (Info-link-keymap): Doc fix.
8269 (Info-next-link-keymap, Info-prev-link-keymap)
8270 (Info-up-link-keymap): Delete now-unused keymaps.
8271
0e9e6c6a
CY
82722012-06-23 Chong Yidong <cyd@gnu.org>
8273
05e89fea
CY
8274 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8275
0e9e6c6a
CY
8276 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8277 system abbrevs.
8278
8279 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8280
e33c6771
SM
82812012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8282
b68581e2
SM
8283 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8284 (bug#11719).
8285
e33c6771
SM
8286 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8287 the requote function doesn't work properly (bug#11714).
8288
7117e105
GM
82892012-06-23 Glenn Morris <rgm@gnu.org>
8290
8291 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8292
36cec983
SM
82932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 Further GV/CL cleanups.
8296 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8297 gv-expander.
8298 (gv--defun-declaration): New function.
8299 (defun-declarations-alist): Use it.
8300 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8301 (gv-place): Autoload.
8302 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8303 original definition of dotimes and dolist.
8304 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8305 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8306 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8307 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8308 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8309 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8310 to the function's definition.
8311 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8312 * window.el:
8313 * files.el:
8314 * faces.el:
8315 * env.el: Don't use CL.
8316
d35af63c
PE
83172012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8318
8319 Support higher-resolution time stamps (Bug#9000).
8320
8321 * calendar/time-date.el (with-decoded-time-value): New arg
8322 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8323 (encode-time-value): New optional arg PICO. New type 3.
8324 (time-to-seconds) [!float-time]: Support the new picoseconds
8325 component if it's used.
8326 (seconds-to-time, time-subtract, time-add):
8327 Support ps-resolution time stamps as well.
8328
8329 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8330 (timerp): Timer vectors now have length 9, not 8.
8331 (timer--time): Support new-style (4-part) time stamps.
8332 (timer-next-integral-multiple-of-time): Time stamps now have
8333 picosecond resolution, so take a bit more care about rounding.
8334 (timer-relative-time, timer-inc-time): New optional arg psecs.
8335 (timer-set-time-with-usecs): Set psecs to 0.
8336 (timer--activate): Check psecs component, too.
8337
8338 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8339
ac77b21a
SM
83402012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8341
f143bfe3
SM
8342 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8343 Move the non-essential binding to the post/pre-command-hook where it is
8344 more obviously correct.
8345
ac77b21a
SM
8346 * subr.el (read-passwd): Don't use a history at all.
8347 * savehist.el (savehist-save): Remove password saved accidentally
8348 because of the above bug.
8349
76386c5a
BG
83502012-06-22 Bastien Guerry <bzg@gnu.org>
8351
8352 * files.el (toggle-read-only): Display a message telling whether
8353 the buffer is read-only or not (bug#11726).
8354
2ee3d7f0
SM
83552012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * emacs-lisp/gv.el: New file.
8358 * subr.el (push, pop): Extend to generalized variables.
8359 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8360 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8361 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8362 gv-define-simple-setter, and gv-define-expander.
8363 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8364 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8365 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8366 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8367 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8368 gv-letplace.
8369 (cl-defstruct): Don't define setf-method any more.
8370 * emacs-lisp/cl.el (flet): Don't autoload.
8371 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8372 (define-setf-expander, defsetf, define-modify-macro)
8373 (cl-struct-setf-expander): Move from cl-lib.el.
8374 * emacs-lisp/syntax.el:
8375 * emacs-lisp/ewoc.el:
8376 * emacs-lisp/smie.el:
8377 * emacs-lisp/cconv.el:
8378 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8379 (timer--time): Use gv-define-simple-setter.
8380 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8381 to avoid coding-system problems in subr.el. Adjust all users.
8382 (macroexp--maxsize, macroexp-small-p): New functions.
8383 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8384 * scroll-bar.el (scroll-bar-mode):
8385 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8386 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8387 * winner.el (winner-configuration, winner-make-point-alist)
8388 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8389 * files.el (locate-file-completion-table): Avoid list*.
8390
c5695d1d
CY
83912012-06-22 Chong Yidong <cyd@gnu.org>
8392
8393 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8394 (dired-create-files): Doc fix (Bug#11329).
8395 (dired-do-copy): Doc fix (Bug#11334).
8396 (dired-mark-read-string): Doc fix (Bug#11553).
8397
2ee3d7f0
SM
8398 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8399 Doc fix (Bug#11326).
c5695d1d
CY
8400 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8401 (dired-dwim-target): Doc fix.
8402
8403 * wdired.el (wdired-mode): Doc fix.
8404
89b5595a
GM
84052012-06-22 Glenn Morris <rgm@gnu.org>
8406
575db3f1
GM
8407 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8408 (pcmpl-rpm-cache-stamp-file): New constant.
8409 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8410 (pcmpl-rpm-packages): Optionally cache list of packages.
8411
a4c8dd51
GM
8412 * pcmpl-rpm.el (pcmpl-rpm): New group.
8413 (pcmpl-rpm-query-options): New option.
8414 (pcmpl-rpm-packages): No need to inline it.
8415 Use pcmpl-rpm-query-options.
8416
89b5595a
GM
8417 * calendar/calendar.el (calendar-in-read-only-buffer):
8418 Avoid some needless mode changes.
8419
e76f0800
CY
84202012-06-21 Chong Yidong <cyd@gnu.org>
8421
8422 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8423 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8424 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8425
297a8f1d
CY
84262012-06-20 Chong Yidong <cyd@gnu.org>
8427
8428 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8429
d34c18b1
DR
84302012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8431
8432 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8433 (bug#11201).
8434
32f7f28e
CY
84352012-06-20 Chong Yidong <cyd@gnu.org>
8436
8437 * term.el (term-window-width): Handle the case of a missing right
8438 fringe (Bug#8837).
8439 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8440 (term-mode): Use define-derived-mode. Minor cleanups.
8441 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8442 (term-move-columns, term-insert-char, term-emulate-terminal)
8443 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8444
493c6688
MA
84452012-06-20 Michael Albinus <michael.albinus@gmx.de>
8446
d34c18b1
DR
8447 * net/ange-ftp.el (ange-ftp-get-passwd):
8448 Bind `enable-recursive-minibuffers'.
493c6688
MA
8449 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8450
3f06ecf4
DR
84512012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8452
8453 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8454
68f12411
GM
84552012-06-19 Glenn Morris <rgm@gnu.org>
8456
8457 * progmodes/python.el (python-mode): Derive from prog-mode.
8458
b3820318
KG
84592012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8460
8461 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8462 (edt-user-menu-bar-update-buffers): New functions.
8463 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8464
c6bf3022
CY
84652012-06-19 Chong Yidong <cyd@gnu.org>
8466
8467 * subr.el (with-selected-window): Preserve the selected window's
8468 terminal's top-frame (Bug#4702).
8469
8470 * window.el (save-selected-window): Likewise.
8471
25f09295
SM
84722012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * progmodes/python.el (python-rx-constituents): Move backquote.
8475 (python-skeleton-define, python-define-auxiliary-skeleton):
8476 Use `declare'.
8477
6b11952a
MA
84782012-06-18 Michael Albinus <michael.albinus@gmx.de>
8479
8480 * minibuffer.el (read-file-name-default): Revert the patch from
8481 2012-06-17.
8482
ee4b1330
SM
84832012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8486 (pcase--u1, pcase--q1): Don't use apply-partially.
8487
35647f79
GM
84882012-06-18 Glenn Morris <rgm@gnu.org>
8489
8490 * progmodes/python.el (python-proc, python-buffer)
8491 (python-send-receive, python-send-string): Fix obsolete versions.
8492
24b0cff0
MR
84932012-06-18 Martin Rudalics <rudalics@gmx.at>
8494
8495 * window.el (special-display-p): Completely remove stringp
8496 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8497
29855149
MA
84982012-06-17 Michael Albinus <michael.albinus@gmx.de>
8499
8500 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8501
8502 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8503
8504 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8505 * net/tramp-sh.el (tramp-maybe-open-connection):
8506 Throw if `non-essential' is non-nil.
8507
07463363
MR
85082012-06-17 Martin Rudalics <rudalics@gmx.at>
8509
8510 * window.el (special-display-p): Signal an error if BUFFER-NAME
8511 is not a string (Bug#11713).
8512
48d1354e
PE
85132012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8514
8515 * progmodes/python.el (python-info-beginning-of-backslash):
8516 Rename from python-info-beginning-of-backlash, as a spelling fix.
8517
eb4a8a9a
CY
85182012-06-17 Chong Yidong <cyd@gnu.org>
8519
8520 * term.el (term-emulate-terminal): If term-check-size is called,
8521 move point to the process mark without resetting point (Bug#4635).
8522
ddfbf826 85232012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8524
8525 * international/mule-cmds.el (mule-menu-keymap)
8526 (set-language-environment, set-locale-environment): Doc tweaks.
8527
9b0e3eba
AA
85282012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8529
8530 * cus-face.el (custom-face-attributes): Add wave-style underline
8531 attribute.
8532 * faces.el (set-face-attribute): Update docstring to describe
8533 wave-style underline attribute.
8534
771e3eae
CY
85352012-06-16 Chong Yidong <cyd@gnu.org>
8536
8537 * term/xterm.el (terminal-init-xterm): Discard input before
8538 querying background mode (Bug#10959).
8539
7ae2ea10
SM
85402012-06-16 Stefan Merten <smerten@oekonux.de>
8541
8542 * textmodes/rst.el: Added and corrected some comments.
8543 (rst-re-alist-def): Improve symbol syntax.
8544 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8545 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8546 (rst-official-version, rst-official-cvs-rev): Update version
8547 information.
7ae2ea10 8548
b6974efa
JB
85492012-06-15 Juanma Barranquero <lekktu@gmail.com>
8550
8551 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8552 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8553
8826d473
GM
85542012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8555
8556 * progmodes/python.el: New python.el merge.
8557 (python-guess-indent): Obsolete var.
8558 (python-indent-guess-indent-offset): New defcustom.
8559 (python-indent): Obsolete var.
8560 (python-indent-offset): New defcustom.
8561 (python-python-command, python-jython-command): Delete var.
8562 (python-shell-interpreter): New defcustom.
8563 (python-pdbtrack-do-tracking-p): Delete var.
8564 (python-pdbtrack-activate): New defcustom.
8565 (python-use-skeletons): Obsolete var.
8566 (python-skeleton-autoinsert): New defcustom.
8567 (inferior-python-filter-regexp, python-continuation-offset)
8568 (python-honour-comment-indentation, python-indent-string-contents)
8569 (python-jython-packages, python-mode-hook)
8570 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8571 (python-shell-prompt-alist)
8572 (python-source-modes): Delete defcustoms.
8573 (python-check-buffer-name, python-eldoc-setup-code)
8574 (python-eldoc-string-code, python-ffap-setup-code)
8575 (python-ffap-string-code, python-fill-comment-function)
8576 (python-fill-decorator-function, python-fill-paren-function)
8577 (python-fill-string-function, python-imenu-include-defun-type)
8578 (python-imenu-make-tree, python-imenu-subtree-root-label)
8579 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8580 (python-shell-compilation-regexp-alist)
8581 (python-shell-completion-module-string-code)
8582 (python-shell-completion-pdb-string-code)
8583 (python-shell-completion-setup-code)
8584 (python-shell-completion-string-code)
8585 (python-shell-enable-font-lock, python-shell-exec-path)
8586 (python-shell-extra-pythonpaths)
8587 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8588 (python-shell-process-environment)
8589 (python-shell-prompt-block-regexp)
8590 (python-shell-prompt-output-regexp)
8591 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8592 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8593 (python-shell-virtualenv-path): New defcustoms.
8594 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8595 (inferior-python-mode-syntax-table, python--prompt-regexp)
8596 (python-buffer, python-command python-python-command)
8597 (python-default-template, python-imports, python-indent-index)
8598 (python-indent-list, python-indent-list-length)
8599 (python-mode-running, python-pdbtrack-is-tracking-p)
8600 (python-preoutput-continuation, python-preoutput-leftover)
8601 (python-preoutput-result, python-preoutput-skip-next-prompt)
8602 (python-prev-dir/file, python-recursing)
8603 (python-saved-check-command, python-version-checked)
8604 (python-which-func-length-limit)
8605 (view-return-to-alist): Delete vars.
8606 (python-check-custom-command, python-dotty-syntax-table)
8607 (python-imenu-index-alist, python-indent-current-level)
8608 (python-indent-dedenters, python-indent-levels)
8609 (python-nav-beginning-of-defun-regexp)
8610 (python-nav-list-defun-positions-cache)
8611 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8612 (python-shell-internal-buffer)
8613 (python-skeleton-available): New vars.
8614 (def-python-skeleton): Delete macro.
8615 (python-skeleton-define): New macro.
8616 (python-define-auxiliary-skeleton, python-rx): New macros.
8617 (python-insert-class): Delete command.
8618 (python-skeleton-class): New command.
8619 (python-insert-def): Delete command.
8620 (python-skeleton-def): New command.
8621 (python-insert-for): Delete command.
8622 (python-skeleton-for): New command.
8623 (python-insert-if): Delete command.
8624 (python-skeleton-if): New command.
8625 (python-insert-try/except, python-insert-try/finally): Delete commands.
8626 (python-skeleton-try): New command.
8627 (python-insert-while): Delete command.
8628 (python-skeleton-while): New command.
8629 (python-backspace): Delete command.
8630 (python-indent-dedent-line-backspace): New command.
8631 (python-electric-colon): Delete command.
8632 (python-indent-electric-colon): New command.
8633 (python-guess-indent): Delete command.
8634 (python-indent-guess-indent-offset): New command.
8635 (python-shift-left): Delete command.
8636 (python-indent-shift-left): New command.
8637 (python-shift-right): Delete command.
8638 (python-indent-shift-right): New command.
8639 (python-find-function): Delete command.
8640 (python-nav-jump-to-defun): New command.
8641 (python-next-statement): Delete command.
8642 (python-nav-forward-sentence): New command.
8643 (python-previous-statement): Delete command.
8644 (python-nav-backward-sentence): New command.
8645 (python-fill-paragraph): Delete command.
8646 (python-fill-paragraph-function): New command.
8647 (python-send-buffer): Delete command.
8648 (python-shell-send-buffer): New command.
8649 (python-send-defun): Delete command.
8650 (python-shell-send-defun): New command.
8651 (python-send-region, python-send-region-and-go): Delete commands.
8652 (python-shell-send-region)
8653 (python-shell-switch-to-shell): New commands.
8654 (python-send-string): Delete command.
8655 (python-shell-send-string): New command.
8656 (python-switch-to-python): Delete command.
8657 (python-shell-switch-to-shell): New command.
8658 (python-describe-symbol): Delete command.
8659 (python-eldoc-at-point): New command.
8660 (python--set-prompt-regexp, python-args-to-list)
8661 (python-after-info-look, python-check-version)
8662 (python-check-comint-prompt, python-find-imports)
8663 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8664 (python-unload-function, python-expand-template)
8665 (python-maybe-jython, python-preoutput-filter)
8666 (python-pdbtrack-get-source-buffer)
8667 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8668 (python-pdbtrack-toggle-stack-tracking)
8669 (python-pdbtrack-track-stack-file, python-initial-text)
8670 (python-first-word, python-comment-line-p, python-send-command)
8671 (python-setup-brm, python-sentinel, python-set-proc)
8672 (python-skip-out, python-input-filter, python-outdent-p)
8673 (python-outline-level, python-backslash-continuation-line-p)
8674 (python-end-of-block, python-end-of-statement, python-mark-block)
8675 (python-beginning-of-block, python-beginning-of-statement)
8676 (python-blank-line-p, python-beginning-of-string)
8677 (python-open-block-statement-p): Delete functions.
8678 (python-indent-line, python-indent-line-1): Delete functions.
8679 (python-indent-line): New function.
8680 (python-indentation-levels): Delete function.
8681 (python-indent-calculate-levels): New function.
8682 (python-proc): Delete function.
8683 (python-shell-get-process): New function.
8684 (python-send-receive): Delete function.
8685 (python-shell-send-string-no-output): New function.
8686 (python-module-path): Delete function.
8687 (python-ffap-module-path): New function.
8688 (python-completion-at-point)
8689 (python-symbol-completions): Delete functions.
8690 (python-completion-complete-at-point): New function.
8691 (python-load-file): Delete function.
8692 (python-shell-send-file): New function.
8693 (python-calculate-indentation): Delete function.
8694 (python-indent-calculate-indentation): New function.
8695 (python-skip-comments/blanks): Delete function.
8696 (python-util-forward-comment): New function.
8697 (python-continuation-line-p): Delete function.
8698 (python-info-continuation-line-p): New function.
8699 (python-which-func, python-current-defun): Delete function.
8700 (python-info-current-defun): New function.
8701 (python-beginning-of-defun): Delete function.
8702 (python-nav-beginning-of-defun): New function.
8703 (python-close-block-statement-p)
8704 (python-block-end-p): Delete function.
8705 (python-info-closing-block): New function.
8706 (python-comint-output-filter-function)
8707 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8708 (python-fill-comment, python-fill-decorator, python-fill-paren)
8709 (python-fill-string, python-imenu-make-element-tree)
8710 (python-imenu-make-tree, python-imenu-tree-assoc)
8711 (python-indent-context, python-indent-dedent-line)
8712 (python-indent-line-function)
8713 (python-indent-post-self-insert-function)
8714 (python-indent-toggle-levels)
8715 (python-info-assignment-continuation-line-p)
8716 (python-info-beginning-of-backlash)
8717 (python-info-block-continuation-line-p)
8718 (python-info-closing-block-message)
8719 (python-info-line-ends-backslash-p)
8720 (python-info-looking-at-beginning-of-defun)
8721 (python-info-ppss-context, python-info-ppss-context-type)
8722 (python-nav-list-defun-positions, python-nav-read-defun)
8723 (python-nav-sentence-end, python-nav-sentence-start)
8724 (python-pdbtrack-comint-output-filter-function)
8725 (python-pdbtrack-set-tracked-buffer)
8726 (python-shell-calculate-exec-path)
8727 (python-shell-calculate-process-environment)
8728 (python-shell-completion--do-completion-at-point)
8729 (python-shell-completion--get-completions)
8730 (python-shell-completion-complete-at-point)
8731 (python-shell-completion-complete-or-indent)
8732 (python-shell-get-or-create-process)
8733 (python-shell-get-process-name)
8734 (python-shell-internal-get-or-create-process)
8735 (python-shell-internal-get-process-name)
8736 (python-shell-internal-send-string, python-shell-make-comint)
8737 (python-shell-parse-command, python-shell-send-setup-code)
8738 (python-skeleton-add-menu-items)
8739 (python-util-clone-local-variables, python-util-position)
8740 (run-python-internal, python-indentation-levels)
8741 (python-nav-beginning-of-defun)
8742 (python-completion-complete-at-point): New functions.
8743 (run-python): Change arguments. New API requirements.
8744
4302f5ba
SM
87452012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8746
f38ea36d
SM
8747 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8748 (bug#11649).
8749
8750 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8751 (macroexp--expand-all): Use it.
8752
4302f5ba
SM
8753 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8754 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8755 Use `cl-function' instead.
8756
33377562
JB
87572012-06-14 Juanma Barranquero <lekktu@gmail.com>
8758
8759 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8760 Suggested by Stefan Monnier while discussing bug#11657.
8761
54c5ba1a
SS
87622012-06-14 Sam Steingold <sds@gnu.org>
8763
8764 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8765
f9f1b1fe
AS
87662012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8767
8768 * play/doctor.el (doctor-doc): Remove parameter and use
8769 doctor-sent instead of sent.
8770 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8771
a81068ba
SM
87722012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8773
5a315f9c
SM
8774 * files.el: Require cl-lib.
8775 (file-name-non-special): Replace case -> cl-case.
8776
8777 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8778
a81068ba
SM
8779 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8780 mapping from #' to function*.
8781
8cca9703
CY
87822012-06-13 Chong Yidong <cyd@gnu.org>
8783
8784 * mouse.el (mouse-drag-track): Do not set the mark if the user
8785 releases the mouse without selecting anything (Bug#11588).
8786
a12ac9d7
SM
87872012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8788
ccf1dc18
SM
8789 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8790 as well (bug#11646).
8791
ef62b23d
SM
8792 * loadup.el: Count byte-code functions as well.
8793
c4c8444a
SM
8794 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8795 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8796
a12ac9d7
SM
8797 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8798 (bug#11649). Add cl-defun and cl-defmacro.
8799
87e6e64f
DA
88002012-06-13 Drew Adams <drew.adams@oracle.com>
8801
8802 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8803 Fix last change.
8804
682cefaf
MA
88052012-06-13 Michael Albinus <michael.albinus@gmx.de>
8806
8807 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8808 Otherwise, it blocks in batch mode.
8809
773e1f08
JB
88102012-06-13 Juanma Barranquero <lekktu@gmail.com>
8811
8812 * help-mode.el (bookmark-make-record-default): Declare.
8813
60057926
CY
88142012-06-13 Chong Yidong <cyd@gnu.org>
8815
8816 * emacs-lisp/package.el (list-packages): Compute a list of
8817 packages that are newly-available since the last list-packages
8818 invocation.
8819 (package-menu--new-package-list): New var.
8820 (package-menu--generate, package-menu--print-info)
8821 (package-menu--status-predicate, package-menu-mark-install):
8822 Handle new status label "new".
8823
ad4d226c
SM
88242012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8827 conversion to backquotes.
8828
f1a4e679
CY
88292012-06-12 Chong Yidong <cyd@gnu.org>
8830
8831 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8832 Rename from gud-inhibit-global-bindings.
8833
8834 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8835
8836 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8837 hook from nxml-glyph-set-hook.
8838
8839 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8840 declaration.
8841
8842 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8843
8844 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8845 Convert to defcustom.
8846
0c9e42b5
DA
88472012-06-12 Drew Adams <drew.adams@oracle.com>
8848
8849 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8850 New functions.
8851 (help-mode): Use them.
8852
09e06855
GM
88532012-06-11 Glenn Morris <rgm@gnu.org>
8854
8855 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8856 Use preprocessor face for directives.
8857 (fortran-directive-re): Doc fix.
8858
71adb94b
SM
88592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8860
2eb87922
SM
8861 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8862 conversion to backquotes (bug#11652).
8863
71adb94b
SM
8864 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8865 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8866 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8867 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8868 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8869 (cl-ninth, cl-tenth): Mark them as inlinable.
8870 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8871 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8872 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8873 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8874 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8875 (cl-list*, cl-adjoin): Don't put an autoload manually.
8876 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8877 (cl--compiler-macro-list*): Add autoload cookie.
8878 (cl--compiler-macro-cXXr): New function.
2eb87922 8879
71adb94b
SM
8880 * help-fns.el (help-fns--compiler-macro): New function extracted from
8881 describe-function-1; follow aliases and use `compiler-macro' property.
8882 (describe-function-1): Use it.
8883
a6674402
CY
88842012-06-11 Chong Yidong <cyd@gnu.org>
8885
8886 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8887 is uninstalled, if imagemagick is installed.
8888
bb3faf5b
SM
88892012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * emacs-lisp/cl-lib.el: Use lexical-binding.
8892 (cl-map-extents, cl-maclisp-member): Remove.
8893 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8894 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8895 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8896 * emacs-lisp/cl-extra.el: Use lexical-binding.
8897 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8898 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8899 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8900 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8901 * emacs-lisp/cl-seq.el: Use lexical-binding.
8902 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8903 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8904 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8905 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8906 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8907 CL's internals.
8908
2fe4b125
MA
89092012-06-11 Michael Albinus <michael.albinus@gmx.de>
8910
8911 Sync with Tramp 2.2.6-pre.
8912
8913 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8914 `print-length' and `print-level' to nil, in order to avoid
8915 truncation. Reported by Christopher Schmidt
8916 <christopher@ristopher.com>.
8917
8918 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8919
8920 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8921 New defmacro.
8922 (tramp-compat-copy-directory): Add optional argument
8923 COPY-CONTENTS. It is not handled yet.
8924
8925 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8926 (tramp-ftp-file-name-p): Simplify.
8927
8928 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8929 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8930 connection vector.
8931
8932 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8933 (tramp-methods): Do not use `tramp-password-end-of-line'.
8934 (tramp-completion-function-alist-putty): Handle UNIX case.
8935 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8936 (tramp-do-file-attributes-with-stat)
8937 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8938 gid as real numbers. They could run out of integer range on cygwin.
8939 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8940 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8941 (tramp-open-connection-setup-interactive-shell):
8942 Use `tramp-cleanup'. Move check for busyboxes ...
8943 (tramp-find-shell): ... here. Simplify implementation.
8944 Set "remote-shell" property also for alternative shells.
8945 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8946 If failing, a regular file would be written otherwise.
8947 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8948 (tramp-find-inline-encoding): Cache the coding commands in the
8949 process cache. Apply test command on the remote side, if defined.
8950 (tramp-find-inline-compress): Cache the compress commands in the
8951 process cache.
8952 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8953 when requested. Handle hops.
8954 (tramp-current-connection): New defvar.
87e6e64f
DA
8955 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8956 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8957 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8958 (tramp-get-inline-compress, tramp-get-inline-coding):
8959 Read connection properties from the process cache.
2fe4b125
MA
8960
8961 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8962 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8963 New defconsts.
2fe4b125
MA
8964 (tramp-smb-prompt): Extend for powershell prompt.
8965 (tramp-smb-file-name-handler-alist): Add handlers for
8966 `process-file', `shell-command' and `start-file-process'.
8967 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8968 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8969 (tramp-smb-file-name-p): Simplify.
8970 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8971 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8972 (tramp-smb-shell-quote-argument): New defuns.
8973 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8974 Implement using "tar". By this, time-stamps are preserved.
8975 (tramp-smb-handle-copy-file): Handle also the case of directories.
8976 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8977 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8978 Use `tramp-get-connection-buffer').
2fe4b125
MA
8979 (tramp-smb-handle-rename-file): Use "rename", when source and
8980 target are on the same share.
87e6e64f
DA
8981 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8982 Use `tramp-smb-server-version'.
2fe4b125
MA
8983 (tramp-smb-wait-for-output): Remove prompt.
8984
8985 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8986 (tramp-methods, tramp-rsh-end-of-line):
8987 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8988 (tramp-save-ad-hoc-proxies): New defcustom.
8989 (tramp-completion-function-alist): Adapt docstring.
8990 (tramp-default-password-end-of-line): Remove defcustom.
8991 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8992 (tramp-user-regexp, tramp-file-name-regexp-unified)
8993 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8994 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8995 (tramp-remote-file-name-spec-regexp): New defconst.
8996 (tramp-file-name-structure): Extend structure for hops.
8997 (tramp-get-method-parameter): Move up.
8998 (tramp-file-name-p, tramp-dissect-file-name)
8999 (with-parsed-tramp-file-name): Handle hops.
9000 (tramp-file-name-hop): New defun.
9001 (tramp-make-tramp-file-name): New optional arg HOP.
9002 (tramp-message-show-progress-reporter-message): New defvar.
9003 (tramp-with-progress-reporter): Use it. We cannot use
9004 `tramp-message-show-message' here, because this suppresses also
9005 error buffers.
9006 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
9007 `tramp-message-show-message' is nil.
9008 Use `tramp-get-connection-buffer'.
2fe4b125
MA
9009 (tramp-cleanup): New defun.
9010 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9011 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9012 an error unchanged.
9013 (tramp-completion-handle-file-name-all-completions): Handle hops.
9014 Fix an error when called from ido.
9015 (tramp-completion-dissect-file-name): Use better local variable
9016 name. Add hop to the vector.
9017 (tramp-handle-insert-file-contents): Use progress-reporter for the
9018 whole scenario.
9019 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9020 to `t'.
9021 (tramp-check-for-regexp): Simplify search.
9022 (tramp-enter-password): Remove it. Move implementation ...
9023 (tramp-action-password): ... here.
9024 (tramp-mode-string-to-int, tramp-local-host-p)
9025 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
9026 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9027 Set tramp-autoload cookie.
2fe4b125
MA
9028
9029 * net/trampver.el: Update release number.
9030
90312012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9032 Michael Albinus <michael.albinus@gmx.de>
9033
9034 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9035 (tramp-parse-group, tramp-parse-file)
9036 (tramp-parse-shostkeys-sknownhosts): New defuns.
9037 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9038 (tramp-parse-shosts-group, tramp-parse-sconfig)
9039 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9040 (tramp-parse-sknownhosts, tramp-parse-hosts)
9041 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9042 Use them.
9043 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9044 (tramp-parse-putty-group): Don't narrow.
9045 (tramp-parse-putty): Make a loop.
9046 (tramp-file-name-handler): Catch the `suppress' signal.
9047
72834e10
CY
90482012-06-11 Chong Yidong <cyd@gnu.org>
9049
9050 * image.el (imagemagick-register-types): Put the ImageMagick entry
9051 at the end of image-type-file-name-regexps.
9052
a4712e11
JB
90532012-06-11 Johan Bockgård <bojohan@gnu.org>
9054
9055 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9056 (pcase, pcase-let*, pcase-dolist): Use them.
9057
82ad98e3
SM
90582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * emacs-lisp/pcase.el (pcase--let*): New function.
9061 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9062 (pcase--expand): Use macroexp-let².
9063
f80efb86
SM
90642012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9067 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9068 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9069 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9070 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9071 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9072
31ca4639 90732012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 9074
31ca4639
CY
9075 * mail/rmail.el (rmail-yank-current-message): Leave point at
9076 correct position. (Bug#11660)
94f0aa34 9077
31ca4639 90782012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 9079
31ca4639 9080 * allout-widgets.el: Fix code header.
9e1b8ec4 9081
31ca4639 90822012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 9083
f80efb86
SM
9084 * cus-edit.el (customize-changed-options-previous-release):
9085 Bump to 24.1.
31ca4639 9086
642b6d30
AS
90872012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9088
9089 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9090
4f5d2ba1
CY
90912012-06-09 Chong Yidong <cyd@gnu.org>
9092
9093 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9094
e75852fd
MR
90952012-06-09 Martin Rudalics <rudalics@gmx.at>
9096
9097 * window.el (special-display-popup-frame): Don't use
9098 window--display-buffer (Bug#11651).
9099
1e48e282
EZ
91002012-06-09 Eli Zaretskii <eliz@gnu.org>
9101
8a26b487
EZ
9102 Fix parallel builds: make sure loaddefs.el is not being written
9103 while Lisp files are compiled.
9104 (compile): Don't depend on 'mh-autoloads'.
9105 (compile-CMD, compile-SH): Depend on 'autoloads'.
9106 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9107
1e48e282
EZ
9108 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9109
6175e34b
CY
91102012-06-09 Chong Yidong <cyd@gnu.org>
9111
9112 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9113 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9114 Doc fixes (Bug#11225).
9115
d9857e53
SM
91162012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9119 a function if there's a clear indication that it has a compiler-macro.
9120 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9121 (macro-declarations-alist): Add arglist to declaration functions.
9122 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9123 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9124 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9125 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9126 Also add autoload to find the compiler macro.
9127 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9128 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9129 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9130 (cl--compiler-macro-get): New functions, replacing calls to
9131 cl-define-compiler-macro.
9132 (cl-typep) [compiler-macro]: Use macroexp-let².
9133
f81298f8 91342012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9135
9136 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9137 string properly, fixes Bug#11473.
9138
4b56d0fe
CY
91392012-06-08 Chong Yidong <cyd@gnu.org>
9140
9141 * faces.el (set-face-attribute): Doc fix.
9142 (modify-face): Don't use :bold and :italic.
9143 (error, warning, success): Tweak definitions.
9144
9145 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9146 (custom-modified, custom-set, custom-changed, custom-themed)
9147 (custom-saved, custom-button, custom-button-mouse)
9148 (custom-button-pressed, custom-state, custom-comment-tag)
9149 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9150 (custom-group-subtitle): Use new-style face specs.
9151 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9152 (custom-set-face, custom-changed-face, custom-saved-face)
9153 (custom-button-face, custom-button-pressed-face)
9154 (custom-documentation-face, custom-state-face)
9155 (custom-comment-face, custom-comment-tag-face)
9156 (custom-variable-tag-face, custom-variable-button-face)
9157 (custom-face-tag-face, custom-group-tag-face-1)
9158 (custom-group-tag-face): Remove obsolete face alias.
9159
9160 * epa.el (epa-validity-high, epa-validity-medium)
9161 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9162 (epa-field-name, epa-field-body):
9163 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9164 (font-lock-keyword-face, font-lock-builtin-face)
9165 (font-lock-function-name-face, font-lock-variable-name-face)
9166 (font-lock-type-face, font-lock-constant-face):
9167 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9168 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9169 * speedbar.el (speedbar-button-face, speedbar-file-face)
9170 (speedbar-directory-face, speedbar-tag-face)
9171 (speedbar-selected-face, speedbar-highlight-face)
9172 (speedbar-separator-face):
9173 * whitespace.el (whitespace-newline, whitespace-space)
9174 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9175 (whitespace-line, whitespace-space-before-tab)
9176 (whitespace-space-after-tab, whitespace-indentation)
9177 (whitespace-empty):
9178 * emulation/cua-base.el (cua-global-mark):
9179 * eshell/em-prompt.el (eshell-prompt):
9180 * net/newst-plainview.el (newsticker-new-item-face)
9181 (newsticker-old-item-face, newsticker-immortal-item-face)
9182 (newsticker-obsolete-item-face, newsticker-date-face)
9183 (newsticker-statistics-face, newsticker-default-face):
9184 * net/newst-reader.el (newsticker-feed-face)
9185 (newsticker-extra-face, newsticker-enclosure-face):
9186 * net/newst-treeview.el (newsticker-treeview-face)
9187 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9188 (newsticker-treeview-immortal-face)
9189 (newsticker-treeview-obsolete-face)
9190 (newsticker-treeview-selection-face):
9191 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9192 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9193 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9194 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9195 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9196 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9197 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9198 (mpuz-text):
9199 * progmodes/vera-mode.el (vera-font-lock-number)
9200 (vera-font-lock-function, vera-font-lock-interface):
9201 * textmodes/table.el (table-cell): Use new-style face specs, and
9202 don't use the old :bold and :italic attributes.
9203
9204 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9205 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9206 (ebrowse-member-class, ebrowse-progress): Likewise.
9207 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9208 (ebrowse-file-name-face, ebrowse-default-face)
9209 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9210 (ebrowse-progress-face): Remove obsolete faces.
9211
9212 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9213 Inherit from error and warning faces respectively.
9214
9215 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9216 Likewise.
f80efb86
SM
9217 (flyspell-incorrect-face, flyspell-duplicate-face):
9218 Remove obsolete aliases.
4b56d0fe 9219
03310646
MA
92202012-06-08 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9223 Avoid infloop.
9224
513749ee
SM
92252012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * startup.el (argv, argi): Make lexically scoped.
9228 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9229 * emacs-lisp/cl-macs.el: Use lexical-binding.
9230 Rename cl-bind-* to cl--bind-*.
9231 * files.el: Don't require `cl' since it doesn't use it.
9232 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9233
595ef4ad
JB
92342012-06-08 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9237 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9238 instead of calling external sort utility.
9239 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9240
e9f66fcb
EZ
92412012-06-08 Eli Zaretskii <eliz@gnu.org>
9242
9243 * descr-text.el (describe-char): Mention how to insert the
9244 character, if the current input method doesn't support it.
9245 See the discussion in this thread for the details:
9246 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9247
3d10db47
SS
92482012-06-08 Sam Steingold <sds@gnu.org>
9249
9250 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9251 XF86Back to previous-buffer.
9252 (minibuffer-local-map): Bind them to next-history-element and
9253 previous-history-element respectively.
9254 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9255 help-go-back respectively.
9256 * info.el (Info-mode-map): Bind them to Info-history-forward and
9257 Info-history-back respectively.
9258 These are the keys next to Up on the ThinkPad keyboard.
9259
de7e2b36
SM
92602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9263 * emacs-lisp/cl-macs.el: Provide itself.
9264 (cl--labels-convert-cache): New var.
9265 (cl--labels-convert): New function.
9266 (cl-flet, cl-labels): New implementation with new semantics, relying on
9267 lexical-binding.
9268 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9269 (cl-closure-vars, cl--function-convert-cache)
9270 (cl--function-convert): Move from cl-macs.el.
9271 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9272 rename by removing the "cl-" prefix.
9273 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9274
6fa6c4ae
SM
92752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9278 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9279 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9280 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9281 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9282 (cl-hash-table-count): Add old compatibility aliases.
9283
9284 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9285 Use macroexpand-all-environment instead.
9286 (cl--old-macroexpand): New var.
9287 (cl--sm-macroexpand): New function.
9288 (cl-symbol-macrolet): Use it during macro expansion.
9289 (cl--function-convert-cache): New var.
9290 (cl--function-convert): New function, extracted from
9291 cl-macroexpand-all.
9292 (cl-lexical-let): Use it.
9293
9294 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9295 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9296 (cl-member): Remove old alias.
9297
9298 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9299 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9300 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9301 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9302 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9303 (cl-macroexpand-cmacs): Remove var.
9304 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9305 Use macroexpand-all instead.
9306
4dd1c416
SM
93072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9310 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9311 (macroexp-copyable-p): New functions and macros.
9312 * emacs-lisp/edebug.el (edebug-unwrap):
9313 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9314 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9315 (pcase--let*): Remove.
9316 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9317 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9318 macroexp-const-p instead.
9319 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9320
9321 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9322 instead of "cl-" for internal definitions. Use macroexp-const-p.
9323 (cl-old-bc-file-form): Remove var.
9324 (cl-const-exprs-p): Remove fun.
9325 (cl-labels, cl-macrolet): Use backquote.
9326 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9327 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9328 (cl-define-setf-expander): Rename from cl-define-setf-method.
9329 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9330
9331 * international/mule-cmds.el: Don't require CL.
9332 (view-hello-file): Don't use `letf'.
9333
ed8bd4d7
SM
93342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9335
7287f2f3
SM
9336 * tmm.el (tmm-prompt): Use string-prefix-p.
9337 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9338 (tmm-add-prompt): Use minibuffer-completion-help.
9339 (tmm-delete-map): Remove.
9340
ed8bd4d7
SM
9341 * subr.el (kbd): Make it its own function.
9342
7b4cdbf4
SM
93432012-06-07 Stefan Merten <smerten@oekonux.de>
9344
9345 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9346 Silence compiler warnings. Fix versions.
ed8bd4d7 9347 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9348 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9349 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9350 (rst-package-emacs-version-alist): Correct Emacs version to
9351 represent major merge with upstream.
ed8bd4d7 9352 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9353
2b48d721
GM
93542012-06-06 Glenn Morris <rgm@gnu.org>
9355
9356 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9357 Only print environment variables if set.
9358
fa779ab0
SM
93592012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9362 (macroexp--cons): Rename from maybe-cons.
9363 (macroexp--accumulate): Rename from macroexp-accumulate.
9364 (macroexp--all-forms): Rename from macroexpand-all-forms.
9365 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9366 (macroexp--expand-all): Rename from macroexpand-all-1.
9367
628299e0
SS
93682012-06-06 Sam Steingold <sds@gnu.org>
9369
9370 * calendar/calendar.el (calendar-in-read-only-buffer):
9371 Call `special-mode' to enable the standard read-only keybindings.
9372
b7bb5838
SM
93732012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9376 with "loading" messages (bug#11635).
9377
dfb308ba
MA
93782012-06-06 Michael Albinus <michael.albinus@gmx.de>
9379
9380 * files.el (enable-remote-dir-locals): New option.
9381 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9382
0372ee92
MA
9383 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9384 Ensure, that the temp directory is local.
9385
9386 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9387 `temporary-file-directory'.
9388
eed0bb91
MA
9389 * progmodes/python.el (python-send-region): Ensure, that the
9390 temporary file is created also in the remote case.
9391
7a58f64d
GM
93922012-06-06 Glenn Morris <rgm@gnu.org>
9393
f7dd4e98
GM
9394 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9395 (vc-rcs-update-changelog): Use it.
9396
090bd7cb 9397 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9398
7a58f64d
GM
9399 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9400 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9401 (vc-sccs-diff): Replace use of the external vcdiff script.
9402
daed4003
GM
94032012-06-05 Glenn Morris <rgm@gnu.org>
9404
9405 * ledit.el: Move to obsolete/.
9406
48c455c7
SS
94072012-06-05 Sam Steingold <sds@gnu.org>
9408
ed9265fc 9409 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9410 patch (Bug#11140).
9411
57a7d507
SM
94122012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9413
090bd7cb 9414 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9415
53aacf21
SM
9416 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9417 compiler-macro expansion.
9418
57a7d507
SM
9419 Add native compiler-macro support.
9420 * emacs-lisp/macroexp.el (macroexpand-all-1):
9421 Support compiler-macros directly. Properly follow aliases and apply
9422 the compiler macros more thoroughly.
9423 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9424 macroexpand now properly follows aliases.
9425 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9426 (cl-compiler-macroexpand): Use new prop.
9427 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9428
9429 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9430
51a5f9d8
MR
94312012-06-05 Martin Rudalics <rudalics@gmx.at>
9432
9433 * window.el (get-lru-window, get-mru-window, get-largest-window):
9434 New argument NOT-SELECTED to avoid picking the selected window.
9435 (window--display-buffer-1, window--display-buffer-2): Replace by
9436 new function window--display-buffer
9437 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9438 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9439 Use window--display-buffer.
51a5f9d8
MR
9440 (display-buffer-use-some-window): Remove temporary dedication
9441 hack by calling get-lru-window and get-largest-window with
9442 NOT-SELECTED argument non-nil. Call window--display-buffer.
9443
08f9f738
GM
94442012-06-05 Glenn Morris <rgm@gnu.org>
9445
9446 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9447 Replace external vcdiff script.
9448
e364a2b7
SM
94492012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9452
041df390
CY
94532012-06-04 Chong Yidong <cyd@gnu.org>
9454
e364a2b7
SM
9455 * image.el (imagemagick-types-inhibit): Revert last change.
9456 Add INFO and M.
47b36b94 9457 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9458
7c1898a7
SM
94592012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * emacs-lisp/cl-lib.el: Rename from cl.el.
9462 * emacs-lisp/cl.el: New compatibility file.
9463 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9464 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9465 to obey the "cl-" prefix.
9466 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9467
0c3461de
GM
94682012-06-03 Glenn Morris <rgm@gnu.org>
9469
1e266c88
GM
9470 * emacs-lisp/authors.el (authors-aliases): Addition.
9471
0c3461de
GM
9472 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9473 Fix :version.
9474
d8a52e15
SM
94752012-06-03 Stefan Merten <smerten@oekonux.de>
9476
9477 * textmodes/rst.el: Add comments.
9478 (rst-transition, rst-adornment): New faces.
9479 (rst-adornment-faces-alist): Make default safe to reevaluate.
9480 Fixes
9481 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9482 Improve customization tags.
9483 (rst-define-level-faces): Clarify meaning.
9484
5205d6f6
CY
94852012-06-03 Chong Yidong <cyd@gnu.org>
9486
9487 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9488 (compilation-mode-line-run, compilation-mode-line-exit):
9489 New faces.
5205d6f6
CY
9490 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9491
757ee657
JD
94922012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9493
7c1898a7
SM
9494 * progmodes/which-func.el (which-func-update-ediff-windows):
9495 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9496
5f2c76c6
CY
94972012-06-03 Chong Yidong <cyd@gnu.org>
9498
9499 * bindings.el: Remove explicit help text from format-mode-line.
9500 It is now supplied by mode-line-default-help-echo.
9501 (mode-line-front-space, mode-line-end-spaces)
9502 (mode-line-misc-info): New variables.
9503 (mode-line-modes, mode-line-position): Move the default value to
9504 the variable definition.
9505 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9506 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9507 (mode-line-modified-help-echo): New functions.
9508 (mode-line-mule-info, mode-line-modified): Use them.
9509 (mode-line-eol-desc, propertized-buffer-identification):
9510 Consistency fixes for help text.
cbe46e5f
CY
9511 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9512 set-buffer-file-coding-system (Bug#289).
9513 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9514
f2d6a3df
SM
95152012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * simple.el (execute-extended-command): Set real-this-command
9518 (bug#11506).
9519
37269466
CY
95202012-06-02 Chong Yidong <cyd@gnu.org>
9521
9522 Remove incorrect uses of "modeline" in comments, docstrings, and
9523 function/variable names (Bug#10329).
9524
9525 * cus-edit.el (mode-line):
9526 * dframe.el (dframe-mouse-hscroll):
9527 * emacs-lisp/re-builder.el:
9528 * emacs-lisp/easy-mmode.el (define-minor-mode):
9529 * frame.el (set-frame-name):
9530 * help.el (lookup-minor-mode-from-indicator):
9531 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9532 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9533 (c-toggle-hungry-state):
9534 * progmodes/antlr-mode.el (antlr-language-alist):
9535 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9536 * progmodes/vhdl-mode.el (vhdl-mode):
9537 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9538 * term/ns-win.el (ns-face-at-pos):
9539 * term/sup-mouse.el (sup-mouse-report):
9540 * textmodes/flyspell.el (flyspell-mode-line-string):
9541 * textmodes/ispell.el (ispell-highlight-face):
9542 * textmodes/reftex-global.el:
9543 * vc/vc-arch.el (vc-arch-mode-line-string):
9544 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9545 * vc/vc-git.el (vc-git-mode-line-string):
9546 * vc/vc-hooks.el (vc-display-status)
9547 (vc-default-mode-line-string):
9548 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9549
9550 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9551
9552 * dired.el (dired-sort-set-mode-line): Rename from
9553 dired-sort-set-modeline. All callers changed.
9554
9555 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9556 eshell-status-in-modeline.
9557
9558 * foldout.el (foldout-mode-line-string): Rename from
9559 foldout-modeline-string. All callers changed.
9560 (foldout-update-mode-line): Rename from foldout-update-modeline.
9561
9562 * subr.el (redraw-modeline): Make into obsolete alias.
9563
9564 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9565 timeclock-modeline-display. Make old name an alias.
9566 (timeclock-update-mode-line): Likewise. All callers changed.
9567 (timeclock-mode-line-display): No need to check before using
9568 add-hook.
9569 (timeclock-relative, timeclock-day-over-hook)
9570 (timeclock-use-elapsed, timeclock-mode-string)
9571 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9572
9573 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9574 crisp-mode-modeline-string.
9575
9576 * play/solitaire.el (solitaire-build-mode-line): Rename from
9577 solitaire-build-modeline. All callers changed.
9578
9579 * play/zone.el (zone-hiding-mode-line): Rename from
9580 zone-hiding-modeline. All callers changed.
9581 (zone): Remove unusued `modeline-hidden-level' property.
9582
9583 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9584 xscheme-modeline-initialize. All callers changed.
9585
9586 * strokes.el (strokes-lighter): Rename from
9587 strokes-modeline-string.
9588
9589 * textmodes/sgml-mode.el (html-face-tag-alist)
9590 (html-tag-face-alist): Use mode-line face instead of obsolete
9591 alias modeline.
9592
42152ee4
SM
95932012-06-02 Stefan Merten <smerten@oekonux.de>
9594
9595 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9596 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9597
95f520b5
CY
95982012-06-02 Chong Yidong <cyd@gnu.org>
9599
9600 * image.el (imagemagick-enabled-types): Rename from
9601 imagemagick-types-enable. Add many more types.
9602 (imagemagick-types-inhibit): Change default to nil.
9603 (imagemagick-filter-types): Caller changed.
9604
4a5f187a
SM
96052012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9606
03fef3e6
SM
9607 * emacs-lisp/cl-macs.el: Use backquotes.
9608 (cl-transform-function-property): Use eval-and-compile rather than
9609 abusing `require'.
9610 (defstruct): Use declare-function instead of with-no-warnings.
9611
4a5f187a
SM
9612 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9613 (byte-compile-output-docform): Re-add the print-circle bindings.
9614 (byte-compile-fix-header): Use #$ just because it's shorter.
9615 (byte-compile-output-file-form): Remove defun/defmacro.
9616
bd56924f
MR
96172012-06-01 Martin Rudalics <rudalics@gmx.at>
9618
9619 * simple.el (choose-completion): Remove now obsolete binding for
9620 owindow.
9621
046e38ce
MA
96222012-06-01 Michael Albinus <michael.albinus@gmx.de>
9623
9624 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9625 in order to avoid "Stack overflow in regexp matcher".
9626
32d72c2f
GM
96272012-05-31 Glenn Morris <rgm@gnu.org>
9628
9629 * image.el: For clarity, call imagemagick-register-types at
9630 top-level, rather than relying on a custom :initialize.
9631 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9632 (imagemagick-filter-types): New function. (Bug#7406)
9633 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9634 If disabling support, remove elements altogether rather
9635 than using an impossible regexp.
9636 (imagemagick-types-inhibit): Give it the default init function.
9637
dd41169b
SM
96382012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9639
4a5f187a
SM
9640 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9641 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9642
efc00ab1 96432012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9644
9645 * desktop.el (desktop-read): Clear previous and next buffers for
9646 all windows and bury *Messages* buffer (bug#11556).
9647
500fcedc
SM
96482012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 Add `declare' for `defun'. Align `defmacro's with it.
9651 * emacs-lisp/easy-mmode.el (define-minor-mode)
9652 (define-globalized-minor-mode): Don't autoload the var definitions.
9653 * emacs-lisp/byte-run.el: Use lexical-binding.
9654 (defun-declarations-alist, macro-declarations-alist): New vars.
9655 (defmacro, defun): Use them.
9656 (make-obsolete, define-obsolete-function-alias)
9657 (make-obsolete-variable, define-obsolete-variable-alias):
9658 Use `declare'.
9659 (macro-declaration-function): Mark obsolete.
9660 * emacs-lisp/autoload.el: Use lexical-binding.
9661 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9662
6e8a1786
AM
96632012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9664
9665 * textmodes/ispell.el (ispell-with-no-warnings):
9666 Define as a macro.
500fcedc
SM
9667 (ispell-kill-ispell, ispell-change-dictionary):
9668 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9669 `interactive-p'.
9670
61b108cc
SM
96712012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9674 (macro-declaration-function): Move var from C code.
9675 (macro-declaration-function): Define function with defalias.
9676 * emacs-lisp/macroexp.el (macroexpand-all-1):
9677 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9678 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9679 defun/defmacro any more.
9680 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9681 Provide fallback for unknown arglist.
9682 (byte-compile-arglist-warn): Change calling convention.
9683 (byte-compile-output-file-form): Move print-vars binding.
9684 (byte-compile-output-docform): Simplify accordingly.
9685 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9686 (byte-compile-defmacro-declaration): Remove.
9687 (byte-compile-file-form-defmumble): Generalize to defalias.
9688 (byte-compile-output-as-comment): Return byte-positions.
9689 Simplify callers accordingly.
9690 (byte-compile-lambda): Use `assert'.
9691 (byte-compile-defun, byte-compile-defmacro): Remove.
9692 (byte-compile-file-form-defalias):
9693 Use byte-compile-file-form-defmumble.
9694 (byte-compile-defalias-warn): Remove.
9695
6d3f7c2f
SM
96962012-05-29 Stefan Merten <smerten@oekonux.de>
9697
9698 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9699 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9700
9701 (rst-mode-abbrev-table): Merge definition.
9702 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9703 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9704
6dbaa1c7
UJ
97052012-05-29 Ulf Jasper <ulf.jasper@web.de>
9706
9707 * calendar/icalendar.el
9708 (icalendar-export-region): Export UID properly.
9709
d209e2fb 97102012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9711 * calendar/icalendar.el (icalendar-import-format):
9712 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9713 (icalendar-import-format-uid): New.
9714 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9715 Export UID.
9716
6876a58d
SM
97172012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9720 different alternative patterns.
9721 (pcase-codegen): Be more careful to preserve identity.
9722 (pcase--u1): Don't forget to mark vars as used.
9723
9724 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9725 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9726 (byte-compile-from-buffer): ...rather than here.
9727
9728 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9729 functions from byte-compile-function-environment.
9730
46b7967e
TN
97312012-05-29 Troels Nielsen <bn.troels@gmail.com>
9732
9733 * window.el (window-deletable-p): Avoid deleting the root window
9734 of a frame with an active minibuffer.
9735
69d565e2
MR
97362012-05-29 Martin Rudalics <rudalics@gmx.at>
9737
9738 * simple.el (choose-completion): Use quit-window (Bug#11567).
9739
a149fa51
CY
97402012-05-29 Chong Yidong <cyd@gnu.org>
9741
9742 * whitespace.el (whitespace-cleanup): Fix usage of
9743 whitespace-empty-at-bob-regexp (Bug#11492).
9744
2b311310
AH
97452012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9746
9747 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9748 revert (Bug#11488).
9749
b9cb2387
JL
97502012-05-29 Juri Linkov <juri@jurta.org>
9751
9752 * isearch.el (isearch-mode-map): Bind `M-s _' to
9753 `isearch-toggle-symbol'. Bind `M-s c' to
9754 `isearch-toggle-case-fold'.
9755 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9756 (isearch-forward): Add `M-s _' to the docstring.
9757 (isearch-forward-symbol, isearch-toggle-case-fold)
9758 (isearch-symbol-regexp): New functions. (Bug#11381)
9759
d5e61c1c
JL
97602012-05-29 Juri Linkov <juri@jurta.org>
9761
9762 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9763 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9764 a function, call it to get the regexp.
9765 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9766 property `isearch-message-prefix' instead of the string "word ".
9767 (isearch-search-fun-default): For the case of `isearch-word',
9768 return a lambda that calls re-search-forward/re-search-backward
9769 with a regexp returned by `word-search-regexp' or by the function
9770 in `isearch-word'.
9771
8cbd80f7
JL
97722012-05-29 Juri Linkov <juri@jurta.org>
9773
9774 * isearch.el (isearch-search-fun-default): New function.
9775 (isearch-search-fun): Move default part to the new function
9776 `isearch-search-fun-default'.
9777 (isearch-search-fun-function): Set the default value to
9778 `isearch-search-fun-default'. (Bug#11381)
9779
9780 * comint.el (comint-history-isearch-end):
9781 Use `isearch-search-fun-default'.
9782 (comint-history-isearch-search): Use `isearch-search-fun-default'
9783 and remove spacial case for `isearch-word'.
9784 (comint-history-isearch-wrap): Remove spacial case for
9785 `isearch-word'.
9786
9787 * hexl.el (hexl-isearch-search-function):
9788 Use `isearch-search-fun-default'.
9789
9790 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9791 Use `word-search-regexp' for `isearch-word'.
9792
9793 * misearch.el (multi-isearch-search-fun):
9794 Use `isearch-search-fun-default'.
9795
9796 * simple.el (minibuffer-history-isearch-search):
9797 Use `isearch-search-fun-default' and remove spacial case for
9798 `isearch-word'.
9799 (minibuffer-history-isearch-wrap): Remove spacial case for
9800 `isearch-word'.
9801
9802 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9803 Remove spacial case for `isearch-word'.
9804 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9805
85c8c5b6
AM
98062012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9807
9808 Decrease XEmacs incompatibilities.
9809 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9810 Use `string-match'.
9811 (flyspell-delete-region-overlays): Use alternative definition for
9812 XEmacs.
9813 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9814 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9815 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9816 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9817 `define-obsolete-face-alias' under XEmacs, but old method.
9818
9819 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9820 `with-no-warnings' definition or Emacs alias.
9821 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9822 (ispell-word): Do not use `region-p' if XEmacs.
9823
8cab9efc
AM
98242012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9825
9826 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9827 Check for `ispell-dictionary-base-alist' instead of full
9828 `ispell-dictionary-alist'.
9829 (ispell-init-process): Show spellchecker when starting new Ispell
9830 process.
9831
fda91268
RZ
98322012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9835 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9836
694ea8e3
JB
98372012-05-27 Juanma Barranquero <lekktu@gmail.com>
9838
9839 * version.el (motif-version-string, gtk-version-string)
9840 (ns-version-string): Declare.
9841
e4d4f539
JL
98422012-05-27 Juri Linkov <juri@jurta.org>
9843
9844 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9845 after the `eval-defun-1' specialcaseing
9846 like in `edebug-eval-defun' (bug#10181).
9847
9848 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9849 like in `eval-defun-1'.
9850
33017faf 98512012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9852
fda91268
RZ
9853 * mail/sendmail.el (mail-yank-region):
9854 Recognize rmail-yank-current-message in addition to insert-buffer.
9855 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9856 a *mail* buffer created through rmail-start-mail with sendmail as
9857 mail-user-agent.
9858
33017faf
GM
98592012-05-27 Chong Yidong <cyd@gnu.org>
9860
9861 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9862 Default to 256 (Bug#11267).
9863
9864 * help.el (describe-mode): Doc fix.
9865
04188bb9
GM
98662012-05-26 Glenn Morris <rgm@gnu.org>
9867
38264cc9
GM
9868 * w32-fns.el (w32-init-info): Remove.
9869 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9870
eb7afdad
GM
9871 * info.el (info-initialize): For self-contained NS builds, put the
9872 included info/ directory at the front. (Bug#2791)
9873
04188bb9
GM
9874 * paths.el (Info-default-directory-list): Make it a defcustom,
9875 mainly so that we can use custom-initialize-delay.
9876
a179e3f7
SM
98772012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9878
43416392
SM
9879 * subr.el (buffer-has-markers-at): Mark obsolete.
9880
a179e3f7 9881 * subr.el (lambda): Use declare.
43416392 9882
a179e3f7
SM
9883 * emacs-lisp/lisp-mode.el (lambda):
9884 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9885
34a008d9
AH
98862012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9887
9888 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9889
0a3b289f
GM
98902012-05-26 Glenn Morris <rgm@gnu.org>
9891
9892 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9893
758c81e8
GM
98942012-05-25 Glenn Morris <rgm@gnu.org>
9895
f9f334f0
GM
9896 * paths.el: Remove no-byte-compile.
9897 * loadup.el: No need to load paths.el uncompiled.
9898
87eb79c2
GM
9899 * image.el (imagemagick-types-inhibit): Doc fix.
9900
758c81e8
GM
9901 * version.el: Remove no-byte-compile and associated formatting.
9902 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9903 is ancient code from when there was an "inc-vers.el".
9904
e7e85dc0
SM
99052012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * progmodes/gdb-mi.el: Minor style changes.
9908 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9909 Turn into minor modes.
9910 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9911 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9912 (gdb-shell): Remove unneeded let-binding.
9913 (gdb-get-many-fields): Eliminate O(n²) behavior.
9914
f31237a4
EZ
99152012-05-25 Eli Zaretskii <eliz@gnu.org>
9916
9917 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9918 platforms that don't link in fontset.c.
9919
bc1b21bb
JL
99202012-05-25 Juri Linkov <juri@jurta.org>
9921
9922 Use the same diff color scheme as in modern VCSes (bug#10181).
9923
9924 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9925 to avoid confusion with `diff-added' that now uses green colors.
9926 (diff-removed): Use shades of red.
9927 (diff-added): Use shades of green.
9928 (diff-changed): Leave just the yellow color.
9929 (diff-use-changed-face): New variable.
9930 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9931 how to highlight context diff changes.
9932 (diff-refine-change): Use shades of yellow.
9933 (diff-refine-removed): New face that uses shades of red.
9934 (diff-refine-added): New face that uses shades of green.
9935 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9936 `diff-refine-removed' in the call to `smerge-refine-subst'
9937 depending on the value of `diff-use-changed-face'.
9938
9939 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9940 (smerge-other): Use shades of green.
9941 (smerge-base): Use shades of yellow.
9942 (smerge-refined-change): Empty face.
9943 (smerge-refined-removed): New face that uses shades of red.
9944 (smerge-refined-added): New face that uses shades of green.
9945 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9946 args `props-r' and `props-a', and use them. Doc fix.
9947 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9948 on its value use different faces `smerge-refined-change',
9949 `smerge-refined-removed', `smerge-refined-added' in the call to
9950 `smerge-refine-subst'.
9951
9952 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9953 Add face condition `min-colors 88' with shades of red.
9954 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9955 `min-colors 88' with shades of green.
9956 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9957 `min-colors 88' with shades of yellow.
9958
6df9112c
GM
99592012-05-24 Glenn Morris <rgm@gnu.org>
9960
ead5edc0
GM
9961 * paths.el (prune-directory-list, remote-shell-program): Move to...
9962 * files.el (prune-directory-list, remote-shell-program): ...here.
9963 For the latter, delay initialization, prefer ssh, just search PATH.
9964
f18b81e6
GM
9965 * paths.el (term-file-prefix): Move to faces.el (the only user).
9966 * faces.el (term-file-prefix): Move here, make it a defcustom.
9967
ee2f89a6
GM
9968 * paths.el (news-directory, news-path, news-inews-program):
9969 Move to gnus/nnspool.el.
61a583ca 9970
f8815e4c
GM
9971 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9972
c8f3b42c
GM
9973 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9974 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9975 Make the latter a defcustom, with a delayed initialization.
9976
6df9112c
GM
9977 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9978 These were deleted from Gnus itself late 2010.
9979
5dadff36
JB
99802012-05-22 Juanma Barranquero <lekktu@gmail.com>
9981
9e1701c6
JB
9982 * progmodes/which-func.el (which-func-ff-hook):
9983 Check against user-error, not error.
9984
bd7239f5 9985 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9986 cl-specs.el, which no longer exists.
9987
3290526d
GM
99882012-05-22 Glenn Morris <rgm@gnu.org>
9989
9990 * info.el (info-emacs-bug): New command.
9991 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9992 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9993
ff0c3cfb
GM
99942012-05-21 Glenn Morris <rgm@gnu.org>
9995
9996 * makefile.w32-in (update-subdirs-SH):
9997 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9998
5814f126
SM
99992012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10000
a52c0aa0
SM
10001 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10002
5814f126
SM
10003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10004 Simplify Maven regexp, and make sure the file can't start with a space
10005 (bug#11517).
10006
b847032c
GM
100072012-05-21 Glenn Morris <rgm@gnu.org>
10008
10009 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10010 Scrap superfluous subshells.
10011
3858bfe7
SM
100122012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10015 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10016
d14b0029
JB
100172012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10018
10019 * calc/calc.el (calc-ensure-consistent-units): New variable.
10020
a52c0aa0
SM
10021 * calc/calc-units.el (math-consistent-units-p)
10022 (math-check-unit-consistency): New functions.
10023 (calc-quick-units, calc-convert-units):
10024 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10025 is non-nil.
d14b0029
JB
10026 (calc-extract-units): Fix typo.
10027
60c4db3a
SM
100282012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10029
77f3b62e
SM
10030 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10031
60c4db3a
SM
10032 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10033 (flyspell-default-deplacement-commands): Don't spell check after
10034 repeated window/frame switches (e.g. triggered by mouse-movement).
10035 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10036 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10037 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10038 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10039 Remove unused vars.
10040 (flyspell-get-casechars, flyspell-get-not-casechars):
10041 Simplify; Don't bother removing a ] just to add it back.
10042 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10043
d209e2fb 100442012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
10045
10046 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10047 New functions.
bd7239f5 10048 (math-function-table): Add support for more C functions.
b1a10716 10049
3f1b25b5
AM
100502012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10051
090bd7cb
JB
10052 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10053 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10054 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 10055
b581bb5c
SM
100562012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10059 their respective macro declarations.
10060 * skeleton.el (define-skeleton):
10061 * progmodes/compile.el (define-compilation-mode):
10062 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10063 (define-ibuffer-filter):
10064 * emacs-lisp/generic.el (define-generic-mode):
10065 * emacs-lisp/easy-mmode.el (define-minor-mode)
10066 (define-globalized-minor-mode):
10067 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10068 * emacs-lisp/byte-run.el (defsubst):
10069 * custom.el (deftheme): Add doc-string metadata.
10070
70b8ef8f
SM
100712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10074
b1198e17
SM
100752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10076
9abdc45d
SM
10077 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10078
b1198e17
SM
10079 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10080 * emacs-lisp/cl-macs.el: Idem.
10081 * emacs-lisp/cl-specs.el: Remove.
10082
4735906a
SM
100832012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 Minor renaming of internal CL functions and variables.
10086 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10087 (cl--position): Rename from cl-position.
10088 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10089 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10090 (cl--random-state): Rename from *random-state*.
10091
ac348012
SM
100922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10093
10094 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10095 parens around the arg list (bug#11499).
10096
a0a79cde
JL
100972012-05-17 Juri Linkov <juri@jurta.org>
10098
10099 * isearch.el (word-search-regexp, word-search-backward)
10100 (word-search-forward, word-search-backward-lax)
10101 (word-search-forward-lax): Move functions from search.c
10102 (bug#10145, bug#11381).
10103
65034a51
AM
101042012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10105
090bd7cb
JB
10106 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10107 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10108 Delay for otherchars as for normal word components.
65034a51 10109
1a72a195
SM
101102012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * minibuffer.el (completion--sifn-requote): Fix last change.
10113 (minibuffer-local-must-match-filename-map):
10114 Move define-obsolete-variable-alias before its var.
10115
fdb058c2
SM
101162012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10117
c41045e6
SM
10118 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10119
036dfb8b
SM
10120 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10121 behavior.
10122 (completion--string-equal-p): New function.
10123 (completion--twq-all): Use it to get better assertion failure data.
10124
2473256d
SM
10125 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10126 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10127 (shell--requote-argument): New functions.
10128 (shell-completion-vars): Use them.
10129 (shell--parse-pcomplete-arguments): Rename from
10130 shell-parse-pcomplete-arguments.
10131 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10132 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10133 Obey comint-file-name-quote-list.
10134
fdb058c2
SM
10135 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10136 (smie-indent-keyword): Use it.
10137
51fa99f1
SM
101382012-05-14 Stefan Merten <smerten@oekonux.de>
10139
10140 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10141
e18afed7 101422012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10143
10144 * net/rlogin.el (rlogin-mode-map): Fix last change.
10145
e18afed7 101462012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10147
10148 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10149 the following \r\n using a single `process-send-string', since the
10150 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10151 with two `process-send-string's (Bug#11444).
8633b1f4 10152
e18afed7 101532012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10154
fdb058c2
SM
10155 * shell.el (shell-parse-pcomplete-arguments):
10156 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10157
2d21d7f6
WJ
101582012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10159
e18afed7 10160 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10161 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10162 (image-transform-width, image-transform-fit-width): New functions.
10163 (image-transform-properties): Use them.
10164 (image-transform-check-size): New function.
10165 (image-toggle-display-image): Use it (for testing).
10166 (image-transform-set-rotation): Reduce angle mod 360.
10167 Delete obsolete comment.
10168
7102e6d0
WJ
101692012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10170
10171 * image-mode.el: Fix scaling (bug#11399).
10172 (image-transform-resize): Doc fix.
10173 (image-transform-properties): Default scale is 1 and height should
10174 be an integer.
10175
06bc5e6e
SM
101762012-05-13 Johan Bockgård <bojohan@gnu.org>
10177
10178 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10179 than hard-coding `car', to fix misbehavior when moving forward.
10180
0ae03b6a
CY
101812012-05-13 Chong Yidong <cyd@gnu.org>
10182
10183 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10184 (tabulated-list-entries, tabulated-list-padding)
10185 (tabulated-list-sort-key): Make permanent-local.
10186
10187 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10188 (electric-buffer-list): Put electric buffer menu
10189 command descriptions in this docstring, instead of the docstring
10190 of electric-buffer-menu-mode. Code cleanups.
10191 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10192 Electric-buffer-menu-mode.
10193 (electric-buffer-update-highlight): Minor code cleanup.
10194
205a7391
MA
101952012-05-13 Michael Albinus <michael.albinus@gmx.de>
10196
10197 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10198 (Bug#11447)
10199
e5bd0a28
SM
102002012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 Move define-obsolete-variable-alias before the var's definition.
10203 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10204 * tooltip.el (tooltip-hook):
10205 * textmodes/reftex-toc.el (reftex-toc-map):
10206 * textmodes/reftex-sel.el (reftex-select-label-map)
10207 (reftex-select-bib-map):
10208 * textmodes/reftex-index.el (reftex-index-map)
10209 (reftex-index-phrases-map):
10210 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10211 * progmodes/meta-mode.el (meta-mode-map):
10212 * novice.el (disabled-command-hook):
10213 * loadhist.el (unload-hook-features-list):
10214 * frame.el (blink-cursor):
10215 * files.el (find-file-not-found-hooks, write-file-hooks)
10216 (write-contents-hooks):
10217 * emulation/tpu-edt.el (GOLD-map):
10218 * emacs-lock.el (emacs-lock-from-exiting):
10219 * emacs-lisp/generic.el (generic-font-lock-defaults):
10220 * emacs-lisp/chart.el (chart-map):
10221 * dos-fns.el (register-name-alist):
10222 * dired-x.el (dired-omit-files-p):
10223 * desktop.el (desktop-enable):
10224 * cus-edit.el (custom-mode-hook):
10225 * buff-menu.el (buffer-menu-mode-hook):
10226 * bookmark.el (bookmark-read-annotation-text-func)
10227 (bookmark-exit-hooks):
10228 * allout.el (allout-mode-deactivate-hook)
10229 (allout-exposure-change-hook, allout-structure-added-hook)
10230 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10231 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10232 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10233 comes before the corresponding variable's definition.
10234
ac59c2f6
CY
102352012-05-12 Chong Yidong <cyd@gnu.org>
10236
10237 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10238 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10239 (Buffer-menu-mode-map): Bind it.
10240 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10241
dee6c9a3
SM
102422012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10243
2171cea5
SM
10244 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10245 (prolog-upper-case-string, prolog-lower-case-string)
10246 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10247 (prolog-use-smie, prolog-smie-grammar): New vars.
10248 (prolog-smie-forward-token, prolog-smie-backward-token)
10249 (prolog-smie-rules): New funs.
10250 (prolog-comment-indent): Remove.
10251 (prolog-mode-variables): Use default comment indentation instead.
10252 Setup SMIE.
10253 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10254 (prolog-mode): Don't call them any more.
10255 (prolog-electric-colon, prolog-electric-dash)
10256 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10257
aa0382bd
SM
10258 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10259
dbacb4bd
SM
10260 * minibuffer.el (completion--twq-all): Again, allow case differences.
10261
13bdd94c
SM
10262 * term.el: Move keymap initialization code to be more idiomatic.
10263 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10264 (term-terminal-menu): Move initialization into declaration.
10265 (term-escape-char): Let the user set it in her .emacs.
10266
ff46c759
SM
10267 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10268 Provide SMIE-based indentation (not enabled by default yet).
10269 (sh-mode-map): Don't bind electric keys.
10270 Use electric-pair-mode instead of skeleton-pair.
10271 (sh-assignment-regexp): Fit within 80 columns.
10272 (sh-indent-supported): Specify actual shell name instead of boolean.
10273 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10274 (sh-maybe-here-document): Use it. Make obsolete.
10275 (sh-electric-here-document-mode) New minor mode.
10276 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10277 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10278 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10279 (sh-smie-rc-grammar, sh-use-smie): New vars.
10280 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10281 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10282 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10283 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10284 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10285 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10286 (sh-set-shell): Use smie-setup if requested.
10287
dee6c9a3
SM
10288 * term.el (term-set-escape-char): Properly set term-escape-char.
10289 See http://stackoverflow.com/questions/10524656.
10290
9f9aa044
CY
102912012-05-10 Chong Yidong <cyd@gnu.org>
10292
10293 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10294 Use url-generic-parse-url, and handle host names and Windows
10295 filenames properly.
10296 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10297 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10298 URL schemes to work on.
10299 (ffap--toggle-read-only): New function.
10300 (ffap-read-only, ffap-read-only-other-window)
10301 (ffap-read-only-other-frame): Use it.
10302 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10303 necessary for ffap-url-unwrap-remote.
10304
836d29b3
DA
103052012-05-10 Dave Abrahams <dave@boostpro.com>
10306
10307 * cus-start.el (create-lockfiles): Add it.
10308
00fd78ed
CY
103092012-05-09 Chong Yidong <cyd@gnu.org>
10310
10311 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10312 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10313
666b903b 103142012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10315
10316 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10317
666b903b 103182012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10319
10320 * ansi-color.el (ansi-color-process-output): Check for validity of
10321 comint-last-output-start before using it. This avoids a bad
10322 interaction with gdb-mi's input/output buffer.
10323
666b903b 103242012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10325
10326 * files.el (dir-locals-read-from-file):
10327 Mention dir-locals in any error message.
10328
666b903b 103292012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10330
10331 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10332 package (Bug#11410).
10333
f677562b
CY
10334 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10335 variables into description.
10336
666b903b 103372012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10338
10339 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10340 shell-delimiter-argument-list (bug#11348).
10341 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10342
b499d8d0
JB
103432012-05-09 Juanma Barranquero <lekktu@gmail.com>
10344
8f6b6da8
JB
10345 * textmodes/rst.el: Silence byte-compiler warnings.
10346 (rst-re-alist, rst-reset-section-caches): Move around.
10347 (rst-re): Use `characterp', not `char-valid-p'.
10348 (font-lock-beg, font-lock-end): Declare.
10349
4824146a
JB
10350 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10351 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10352
b499d8d0
JB
10353 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10354
ad89bb83
GM
103552012-05-08 Glenn Morris <rgm@gnu.org>
10356
10357 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10358
8bba5a75
SM
103592012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10360
49ed9c8e
SM
10361 * vc/log-edit.el: Add GNU coding standards highlighting.
10362 (log-edit-font-lock-gnu-style)
10363 (log-edit-font-lock-gnu-keywords): New vars.
10364 (log-edit-font-lock-keywords): New fun.
10365 (log-edit-mode): Don't fold case in font-lock.
10366 (log-edit-font-lock-keywords): Do not assume case-folding.
10367
07d00b56
SM
10368 * imenu.el: Misc cleanup. Make docstrings out of comments.
10369 Use lexical-binding.
10370 (imenu--index-alist, imenu--last-menubar-index-alist)
10371 (imenu-menubar-modified-tick): Use defvar-local.
10372 (imenu--split-menu): Remove unused var.
10373 (imenu--cleanup-seen): Declare as global.
10374 (imenu--cleanup): Use dolist.
10375
8bba5a75
SM
10376 * subr.el (defvar-local): Add debug spec and doc-string position.
10377
5075bdb5
GM
103782012-05-08 Glenn Morris <rgm@gnu.org>
10379
090bd7cb 10380 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10381 * language/english.el, language/georgian.el, language/greek.el:
10382 * language/japanese.el, language/khmer.el, language/korean.el:
10383 * language/lao.el, language/misc-lang.el, language/romanian.el:
10384 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10385 * language/thai.el, language/utf-8-lang.el:
10386 Remove no-byte-compile setting.
10387
5075bdb5
GM
10388 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10389
06f679a7
AH
103902012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10391
10392 * progmodes/make-mode.el (makefile-browse):
10393 Remove unnecessary interactive. (Bug#11324)
10394
03794570
GM
103952012-05-07 Glenn Morris <rgm@gnu.org>
10396
af8630f4
GM
10397 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10398
03794570
GM
10399 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10400
f0809a9d
SM
104012012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10402
28be5ce7
SM
10403 * loadup.el: Preload newcomment.el.
10404 * newcomment.el: Move autoload-only code to toplevel.
10405
f0809a9d
SM
10406 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10407 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10408 Handle new :right-align column property.
10409 (tabulated-list-print-col): Idem, plus use `display' text-property to
10410 try and preserve alignment for variable pitch fonts.
10411
1241b724
CY
104122012-05-07 Chong Yidong <cyd@gnu.org>
10413
10414 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10415 (tabulated-list-use-header-line): New var.
10416 (tabulated-list-init-header): Use it.
10417 (tabulated-list-print-fake-header): New function.
10418 (tabulated-list-print): Use it.
10419 (tabulated-list-sort-button-map): Add non-header-line commands.
10420 (tabulated-list-init-header): Add column name property to basic
10421 labels as well.
10422 (tabulated-list-col-sort): Handle non-header-line button case.
10423 (tabulated-list--sort-by-column-name): Fix a corner case.
10424
f0809a9d
SM
10425 * buff-menu.el (list-buffers--refresh):
10426 Handle Buffer-menu-use-header-line.
1241b724 10427
e5f9458f
CY
104282012-05-06 Chong Yidong <cyd@gnu.org>
10429
10430 * buff-menu.el: Convert to Tabulated List mode.
10431 (Buffer-menu-buffer+size-width): Make obsolete.
10432 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10433 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10434 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10435 documentation into docstring of buffer-menu.
10436 (Buffer-menu-toggle-files-only): Add an informative message.
10437 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10438 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10439 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10440 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10441 (Buffer-menu-execute, Buffer-menu-select)
10442 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10443 (Buffer-menu-bury): Use Tabulated List machinery.
10444 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10445 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10446 Delete.
e5f9458f
CY
10447 (list-buffers--refresh): New function.
10448 (list-buffers-noselect): Use it.
10449 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10450 (Buffer-menu--pretty-file-name): New helper functions.
10451
10452 * loadup.el: Preload tabulated-list.
10453
10454 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10455 tabulated-list-sort-column.
10456 (tabulated-list-init-header): Add the initial aligning space even
10457 if tabulated-list-padding is zero.
10458
e129292c
CS
104592012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10460
10461 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10462 whose cdr is not a cons cell correctly (bug#11038).
10463
6632d361
CY
104642012-05-06 Chong Yidong <cyd@gnu.org>
10465
e129292c
CS
10466 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10467 Accept additional plist in column descriptors.
6632d361
CY
10468 (tabulated-list-init-header): Obey it.
10469 (tabulated-list-get-entry): New function.
10470 (tabulated-list-put-tag): Use it. Use string-width instead of
10471 length.
10472 (tabulated-list--column-number): New function.
10473 (tabulated-list-print): Use it.
e129292c
CS
10474 (tabulated-list-print-col): New function.
10475 Set `tabulated-list-column-name' property on each column's text.
6632d361 10476 (tabulated-list-print-entry): Use it.
e129292c
CS
10477 (tabulated-list-delete-entry, tabulated-list-set-col):
10478 New functions.
6632d361
CY
10479 (tabulated-list-sort-column): New command (Bug#11337).
10480
3cc99f68
CY
10481 * buff-menu.el (list-buffers): Move C-x C-b binding from
10482 buff-menu.el to bindings.el.
10483
10484 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10485 :advertised-binding feature.
10486
52b61776
TN
104872012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10488
10489 * progmodes/compile.el (compilation-internal-error-properties):
10490 Calculate start position correctly when end-col is set but
10491 end-line is not (Bug#11382).
10492
ebfe2597
WJ
104932012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10494
10495 * man.el (Man-unindent): Use text-property-default-nonsticky to
10496 prevent untabify from inheriting face properties (Bug#11408).
10497
6d3f7c2f
SM
104982012-05-05 Stefan Merten <smerten@oekonux.de>
10499
10500 * textmodes/rst.el: Major merge with upstream development up to
10501 Docutils SVN r7399 / rst.el V1.2.1.
10502
10503 Clarify maintainership and authors.
10504
10505 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10506 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10507 (rst-official-version, rst-official-cvs-rev, rst-version)
10508 (rst-package-emacs-version-alist): New functions and variables
10509 for version information.
10510
10511 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10512 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10513 (rst-mode-syntax-table, rst-mode): New and corrected functions
10514 and variables representing reStructuredText features.
10515
10516 (rst-re): New function for reStructuredText regexes. Use in
10517 many places.
10518
10519 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10520 (rst-mode-map): Rebind keys.
10521
10522 (rst-mode-lazy, rst-font-lock-keywords)
10523 (rst-font-lock-extend-region)
10524 (rst-font-lock-extend-region-internal)
10525 (rst-font-lock-extend-region-extend)
10526 (rst-font-lock-find-unindented-line-limit)
10527 (rst-font-lock-find-unindented-line-match)
10528 (rst-adornment-level, rst-font-lock-adornment-level)
10529 (rst-font-lock-adornment-match)
10530 (rst-font-lock-handle-adornment-pre-match-form)
10531 (rst-font-lock-handle-adornment-matcher): Major revision of
10532 font-locking. Integrate with other code. Use `jit-lock-mode'.
10533
10534 (rst-preferred-adornments, rst-adjust-hook)
10535 (rst-new-adornment-down, rst-preferred-bullets)
10536 (rst-preferred-bullets, rst-indent, rst-indent-width)
10537 (rst-indent-field, rst-indent-literal-normal)
10538 (rst-indent-literal-minimized, rst-indent-comment): Change,
10539 extend and improve customization.
10540
10541 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10542 (rst-normalize-cursor-position, rst-get-decoration)
10543 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10544 (rst-rstrip, rst-toc-insert-find-delete-contents)
10545 (rst-shift-fill-region, rst-compute-bullet-tabs)
10546 (rst-debug-print-tabs, rst-debug-mark-found)
10547 (rst-shift-region-guts, rst-shift-region-right)
10548 (rst-shift-region-left, rst-use-char-classes)
10549 (rst-font-lock-keywords-function)
10550 (rst-font-lock-indentation-point)
10551 (rst-font-lock-find-unindented-line-begin)
10552 (rst-font-lock-find-unindented-line-end)
10553 (rst-font-lock-find-unindented-line)
10554 (rst-font-lock-adornment-point, rst-font-lock-level)
10555 (rst-adornment-level-alist): Remove functions and variables.
10556
10557 (rst-compare-adornments, rst-get-adornment-match)
10558 (rst-suggest-new-adornment, rst-get-adornments-around)
10559 (rst-adornment-complete-p, rst-get-next-adornment)
10560 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10561 (rst-straighten-adornments): Standardize function names to
10562 use "adornment" instead of "decoration". Correct callers.
10563 Similar standardizing in many places.
10564
10565 (rst-update-section, rst-adjust, rst-promote-region)
10566 (rst-enumerate-region, rst-bullet-list-region)
10567 (rst-repeat-last-character): Correct use of `interactive'.
10568
10569 (rst-classify-adornment, rst-find-all-adornments)
10570 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10571 (rst-find-leftmost-column, rst-repeat-last-character):
10572 Refactor functions.
10573
10574 (rst-find-title-line, rst-reset-section-caches)
10575 (rst-get-adornments-around, rst-adjust-adornment-work)
10576 (rst-arabic-to-roman, rst-roman-to-arabic)
10577 (rst-insert-list-pos, rst-insert-list-new-item)
10578 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10579 New functions.
10580
10581 (rst-all-sections, rst-section-hierarchy)
10582 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10583 New variables.
10584
10585 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10586 configuration instead of only buffer. Change where necessary.
10587
10588 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10589 (rst-shift-region, rst-adaptive-fill): New functions for
10590 indentation and filling.
10591
10592 (rst-comment-line-break, rst-comment-indent)
10593 (rst-comment-insert-comment, rst-comment-region)
10594 (rst-uncomment-region): New functions for handling comments.
10595
10596 (rst-compile): Quote shell arguments.
10597
10598 (rst-compile-pdf-preview, rst-compile-slides-preview):
10599 Delete temporary files after use.
10600
a43f98b3
GM
106012012-05-05 Glenn Morris <rgm@gnu.org>
10602
48176e8b
GM
10603 * calendar/cal-html.el: Optionally include holidays in the output.
10604 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10605 (cal-html-holidays): New option.
10606 (cal-html-css-default): Add holiday entry.
10607 (holiday-in-range): Autoload it.
10608 (cal-html-htmlify-entry): Add optional class argument.
10609 (cal-html-htmlify-list): Add optional holidays argument.
10610 (cal-html-insert-agenda-days): Include holidays in the output.
10611 (cal-html-one-month): Maybe include holidays.
10612
a43f98b3
GM
10613 * calendar/holidays.el (holiday-in-range):
10614 Move here from cal-tex-list-holidays.
10615 * calendar/cal-tex.el (cal-tex-list-holidays):
10616 Make it an obsolete alias for holiday-in-range. Update all callers.
10617
fef9d149 106182012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10619
10620 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10621 Nextstep.
10622
248da2f4
RW
106232012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10624
10625 * files.el (file-auto-mode-skip): New var.
10626 (set-auto-mode-1): Use it.
10627
f95e9344
SM
106282012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10629
df96ab1e
SM
10630 * repeat.el: Use lexical-binding.
10631 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10632 (repeat-undo-count): Remove.
10633 (repeat):
10634 * progmodes/octave-mod.el (octave-abbrev-start):
10635 * progmodes/f90.el (f90-abbrev-start):
10636 * face-remap.el (text-scale-adjust):
10637 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10638
5342bb06
SM
10639 * emacs-lisp/pcase.el (pcase--let*): New function.
10640 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10641 a bit more.
10642 (pcase--split-pred): Be more clever about ruling out overlap between
10643 a predicate and some constant pattern.
10644 (pcase--q1): Use `null' instead of (eq foo nil).
10645
f95e9344
SM
10646 * subr.el (setq-local, defvar-local): New macros.
10647 (kbd): Redefine as an alias.
10648 (with-selected-window): Leave unrelated frames alone.
10649 (set-temporary-overlay-map): New function.
10650
71873e2b
SM
106512012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10652
10653 * subr.el (user-error): New function.
10654 * window.el (switch-to-buffer):
10655 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10656 (smerge-match-conflict):
10657 * simple.el (previous-matching-history-element)
10658 (next-matching-history-element, goto-history-element, undo-more)
10659 (undo-start):
10660 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10661 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10662 (next-file, tags-loop-scan, list-tags, complete-tag):
10663 * progmodes/compile.el (compilation-loop):
10664 * mouse.el (mouse-minibuffer-check):
10665 * man.el (Man-bgproc-sentinel, Man-goto-page):
10666 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10667 (Info-history-forward, Info-follow-reference, Info-menu)
10668 (Info-extract-menu-item, Info-extract-menu-counting)
10669 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10670 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10671 (Info-next-reference, Info-prev-reference, Info-index)
10672 (Info-index-next, Info-follow-nearest-node)
10673 (Info-copy-current-node-name):
10674 * imenu.el (imenu--make-index-alist)
10675 (imenu-default-create-index-function, imenu-add-to-menubar):
10676 * files.el (basic-save-buffer, recover-file):
10677 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10678 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10679 (checkdoc-message-text, checkdoc-defun):
10680 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10681 * cus-edit.el (customize-changed-options, customize-rogue)
10682 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10683 (custom-variable-mark-to-reset-standard)
10684 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10685 (custom-file):
10686 * completion.el (check-completion-length):
10687 * comint.el (comint-search-arg)
10688 (comint-previous-matching-input-string-position)
10689 (comint-previous-matching-input)
10690 (comint-replace-by-expanded-history-before-point, comint-send-input)
10691 (comint-copy-old-input, comint-backward-matching-input)
10692 (comint-goto-process-mark, comint-set-process-mark):
10693 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10694 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10695
8a61ee22
SM
106962012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10697
66408d1e
SM
10698 * dabbrev.el (dabbrev--ignore-case-p): New function.
10699 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10700 Use it.
10701
8a61ee22
SM
10702 * files.el (automount-dir-prefix): Mark as obsolete.
10703
3c74813a
GM
107042012-05-04 Glenn Morris <rgm@gnu.org>
10705
10706 * patcomp.el, play/bruce.el: Move to obsolete/.
10707
0bfcf5c5
PE
107082012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10709
10710 Fix minor Y10k bugs.
10711 * arc-mode.el (archive-unixdate):
10712 * autoinsert.el (auto-insert-alist):
10713 * calc/calc-forms.el (math-this-year):
10714 * emacs-lisp/copyright.el (copyright-current-year)
10715 (copyright-update-year, copyright):
10716 * tar-mode.el (tar-clip-time-string):
10717 * time.el (display-time-update):
10718 Don't assume years have 4 digits.
10719
78f3273a
CY
107202012-05-04 Chong Yidong <cyd@gnu.org>
10721
10722 * dos-w32.el (file-name-buffer-file-type-alist)
10723 (direct-print-region-use-command-dot-com):
10724 * ffap.el (ffap-menu-regexp):
10725 * find-file.el (ff-special-constructs):
10726 * follow.el (follow-debug):
10727 * forms.el (forms--debug):
10728 * iswitchb.el (iswitchb-all-frames):
10729 * ido.el (ido-all-frames):
10730 * emacs-lisp/timer.el (timer-max-repeats):
10731 * mail/feedmail.el (feedmail-mail-send-hook)
10732 (feedmail-mail-send-hook-queued):
10733 * mail/footnote.el (footnote-signature-separator):
10734 * mail/mailabbrev.el (mail-alias-separator-string)
10735 (mail-abbrev-mode-regexp):
10736 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10737 * progmodes/idlwave.el (idlwave-libinfo-file)
10738 (idlwave-default-completion-case-is-down)
10739 (idlwave-library-routines): Convert defvars to defcustoms.
10740
10741 * mail/rmail.el (rmail-decode-mime-charset):
10742 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10743 (idlwave-shell-fix-inserted-breaks)
10744 (idlwave-shell-activate-alt-keybindings)
10745 (idlwave-shell-use-breakpoint-glyph):
10746 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10747
f7ae6719
SM
107482012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10749
10750 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10751
47086495
WS
107522012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10753
10754 * progmodes/verilog-mode.el (font-lock-keywords):
10755 Fix mis-highligting auto. Reported by Craig Barner.
10756 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10757 defines from global name space. Reported by Dan Dever.
47086495
WS
10758 (verilog-auto-reset, verilog-auto-reset-widths)
10759 (verilog-auto-tieoff): Support using unbased numbers for
10760 AUTORESET and AUTOTIEOFF.
10761 (verilog-submit-bug-report): Update variable list.
10762 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10763 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10764 (verilog-auto-template-lint): Fix hash error when linting modules
10765 with no used templates.
10766 (verilog-warn, verilog-warn-error)
10767 (verilog-warn-fatal): When non-interactive report multiple
10768 warnings before exiting. Suggested by Brad Dobbie.
10769 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10770 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10771 to report unused template errors. Reported by Brad Dobbie.
10772 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10773 nets, bug438. Reported by Vns Blore.
47086495
WS
10774 (verilog-auto-inout-module, verilog-auto-reg)
10775 (verilog-read-decls, verilog-read-sub-decls-sig)
10776 (verilog-signals-edit-wire-reg, verilog-signals-with):
10777 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10778 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10779 "reg" for backwards compatibility presuming Verilog 2001.
10780 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10781 (verilog-preprocess): Fix replication of preprocess output.
10782 Reported by Brad Dobbie.
10783 (verilog-auto-inst-interfaced-ports):
10784 Create verilog-auto-inst-interfaced-ports, bug429.
10785 Reported by Julian Gorfajn.
10786 (verilog-after-save-font-hook)
10787 (verilog-before-save-font-hook): New variable.
10788 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10789 (verilog-save-font-mods): Wrap disabling fontification, reported
10790 by David Rogoff.
10791 (verilog-do-indent, verilog-pretty-declarations-auto)
10792 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10793 Reported by Pierre-David Pfister.
10794 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10795 of class declarations, bug292. Reported by Kevin Heilman.
10796 (verilog-read-decls): Fix 'parameter type' not appearing in
10797 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10798 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10799 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10800 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10801 Reported by David Kravitz.
10802
108032012-05-03 Michael McNamara <mac@mail.brushroad.com>
10804
10805 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10806 assignment with tests in ifs and for loops.
10807 (verilog-extended-complete-re, verilog-complete-reg): Change so
10808 that DPI inport functions don't look like fuction declarations.
10809 (verilog-pretty-expr): Don't line up assignment
10810 operations to the test and increment in if and for loops
10811 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10812 that DPI inport functions don't look like fuction declarations.
47086495 10813
2e51d4b5
KH
108142012-05-03 Kenichi Handa <handa@m17n.org>
10815
10816 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10817 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10818 (Bug#11282).
10819
2bd785a2
SM
108202012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * emacs-lisp/bytecomp.el
10823 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10824 since cconv.el might have introduced :fun-body, internal-make-closure,
10825 and friends for bytecomp to handle (bug#11391).
10826 * custom.el (defcustom): Avoid ((λ ..) ..).
10827
99d27583
SM
108282012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10829
10830 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10831
55a71479
JB
108322012-05-02 Juanma Barranquero <lekktu@gmail.com>
10833
10834 * notifications.el (dbus-debug):
10835 * term/linux.el (gpm-mouse-enable):
10836 * term/screen.el (xterm-register-default-colors): Declare.
10837
7b97c764
CY
108382012-05-02 Chong Yidong <cyd@gnu.org>
10839
2bc356d7
CY
10840 * cus-start.el (gc-cons-percentage, exec-suffixes)
10841 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10842 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10843 (make-cursor-line-fully-visible, void-text-area-pointer)
10844 (font-list-limit): Add customization data.
10845
7b97c764
CY
10846 * allout.el (allout-exposure-change-functions)
10847 (allout-structure-added-functions)
10848 (allout-structure-deleted-functions)
10849 (allout-structure-shifted-functions): Rename abnormal hooks from
10850 *-hook, and convert to defcustoms.
5d3385a0
JB
10851 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10852 Convert to defcustoms.
7b97c764
CY
10853 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10854
10855 * allout-widgets.el: Hook callers changed.
10856
90207a15 108572012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10858
10859 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10860 the yanked message in preference to the default value of
10861 buffer-file-coding-system.
10862
90207a15 108632012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10864
5d3385a0
JB
10865 * window.el (display-buffer--action-function-custom-type):
10866 Fix entry.
d9558cad 10867
90207a15 108682012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10869
10870 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10871
d80ac57b
GM
108722012-05-01 Glenn Morris <rgm@gnu.org>
10873
976f7668
GM
10874 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10875
beb83b5a
GM
10876 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10877
d80ac57b
GM
10878 * cus-edit.el (custom-variable-documentation): Simplify with format.
10879
b593d6a9 108802012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10881 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10882
10883 * simple.el (suggest-key-bindings, execute-extended-command):
10884 Move from keyboard.c.
10885
782fbf2a
CY
108862012-05-01 Chong Yidong <cyd@gnu.org>
10887
10888 * follow.el: Eliminate advice.
10889 (set-process-filter, process-filter, sit-for): Advice deleted.
10890 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10891 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10892 Vars deleted.
782fbf2a
CY
10893 (follow-auto): Use a :set function.
10894 (follow-mode): Rewritten. Don't advise process filters.
10895 (follow-switch-to-current-buffer-all, follow-scroll-up)
10896 (follow-scroll-down): Assume follow-mode is bound.
10897 (follow-comint-scroll-to-bottom)
10898 (follow-align-compilation-windows): New functions.
10899 (follow--window-sorter): New function.
10900 (follow-all-followers): Use it to explicitly sort windows by their
10901 positions; don't make assumptions about next-window order.
10902 (follow-windows-start-end, follow-delete-other-windows-and-split)
10903 (follow-calc-win-start): Doc fix.
10904 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10905 vertical-motion unnecessarily.
10906 (follow-adjust-window): New function.
10907 (follow-post-command-hook): Use it.
10908 (follow-call-set-process-filter, follow-call-process-filter)
10909 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10910 (follow-stop-intercept-process-output, follow-generic-filter):
10911 Functions deleted.
10912 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10913 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10914 New functions, replacing advice on scroll-bar-* commands.
87233a14 10915 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10916
10917 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10918 (comint-postoutput-scroll-to-bottom): Use it.
10919 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10920
290af740
GM
109212012-05-01 Glenn Morris <rgm@gnu.org>
10922
10923 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10924 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10925 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10926 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10927 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10928 Remove no-byte-compile setting.
10929
6eac8dc9
SM
109302012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10933 all-completions code to not return a number in the last cdr.
10934
9cc7819c
LL
109352012-04-30 Leo Liu <sdl.web@gmail.com>
10936
10937 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10938 read-only error.
10939
c93b886f
CY
109402012-04-29 Chong Yidong <cyd@gnu.org>
10941
10942 * follow.el (follow-calc-win-end): Rewrite to handle partial
10943 screen lines correctly (Bug#8390).
10944 (follow-avoid-tail-recenter): Minor cleanup.
10945
8b6c19f4
SM
109462012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 Avoid the obsolete `assoc' package.
10949 * speedbar.el (speedbar-refresh): Avoid adelete.
10950 (speedbar-file-lists): Simplify and avoid aput.
10951 * man.el (Man--sections, Man--refpages): New vars, replacing
10952 Man-sections-alist and Man-refpages-alist.
10953 (Man-build-section-alist, Man-build-references-alist):
10954 Use them; avoid aput.
10955 (Man--last-section, Man--last-refpage): New vars.
10956 (Man-follow-manual-reference): Use them.
10957 Use the `default' arg of completing-read.
10958 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10959
c5bb7569
CY
109602012-04-27 Chong Yidong <cyd@gnu.org>
10961
d1d2e2e8
CY
10962 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10963
15cd8efd
CY
10964 * startup.el (x-apply-session-resources): New function.
10965
10966 * term/ns-win.el (ns-initialize-window-system):
10967 * term/w32-win.el (w32-initialize-window-system):
10968 * term/x-win.el (x-initialize-window-system): Use it to properly
10969 set menu-bar-mode and other vars from X resources, even if the
10970 initial frame is not a window-system frame (Bug#2299).
10971
c5bb7569
CY
10972 * subr.el (read-key): Avoid running filter function when setting
10973 up temporary tool bar entries (Bug#9922).
10974
a8e7d6d7 109752012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10976
10977 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10978 (Bug#11344)
10979
a8e7d6d7 109802012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10981
10982 * select.el (xselect--encode-string): New function, split from
10983 xselect-convert-to-string.
10984 (xselect-convert-to-string): Use it.
10985 (xselect-convert-to-filename, xselect-convert-to-os)
10986 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10987 returned strings are properly encoded (Bug#11315).
10988
a8e7d6d7 109892012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10990
10991 * simple.el (delete-active-region): Move to killing custom group.
10992
a8e7d6d7 109932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10994
10995 * progmodes/which-func.el (which-func-current): Quote %
10996 characters for mode-line processing.
10997
578c1d4b 109982012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10999
11000 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11001 reaching eob (Bug#11286).
11002
a8e7d6d7 110032012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
11004
11005 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11006 (gdb): Make it buffer-local and init to zero.
11007 (gdb-control-commands-regexp): New variable.
11008 (gdb-send): Don't wrap in "-interpreter-exec console" if
11009 gdb-control-level is positive. Increment gdb-control-level
11010 whenever the command matches gdb-control-commands-regexp, and
11011 decrement it each time the command is "end". (Bug#11279)
11012
a8e7d6d7 110132012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
11014
11015 * window.el (adjust-window-trailing-edge, enlarge-window)
11016 (shrink-window, window-resize):
11017 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11018 windows (Bug#11276).
11019
b3608390
CY
110202012-04-27 Chong Yidong <cyd@gnu.org>
11021
11022 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 11023 fix "missing prefix" warning. All callers changed.
b3608390 11024
797e6e88
SM
110252012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * emacs-lisp/assoc.el: Move to obsolete/.
11028
e95a67dc
SM
110292012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11030
657c21e4 11031 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
11032
11033 * term/ns-win.el (ns-define-service):
11034 * progmodes/pascal.el (pascal-goto-defun):
11035 * progmodes/js.el (js--read-tab):
11036 * progmodes/etags.el (tags-lazy-completion-table):
11037 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11038 * emacs-lisp/ewoc.el (ewoc--wrap):
11039 * emacs-lisp/assoc.el (aput, adelete, amake):
11040 * doc-view.el (doc-view-convert-current-doc):
11041 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11042
cb3e7ae0
CY
110432012-04-26 Chong Yidong <cyd@gnu.org>
11044
dce04f7f
CY
11045 * image.el (image-type-from-buffer): Only return supported image
11046 type (Bug#9045).
11047
cb3e7ae0
CY
11048 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11049 value, for symmetry with diff-end-of-hunk.
11050 (diff-split-hunk, diff-find-source-location)
11051 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11052 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11053 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11054 compute the relevant hunk or file properly (Bug#6005).
11055 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11056
0d42eb3e
SM
110572012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * vc/vc-mtn.el:
11060 * vc/vc-hg.el:
11061 * vc/vc-git.el:
11062 * vc/vc-dir.el:
11063 * vc/vc-cvs.el:
11064 * vc/vc-bzr.el:
11065 * vc/vc-arch.el:
11066 * vc/vc.el: Replace lexical-let by lexical-binding.
11067 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11068 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11069 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11070
f08ae1c9
CY
110712012-04-26 Chong Yidong <cyd@gnu.org>
11072
8b71081d
CY
11073 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11074 (diff-mode-shared-map): Bind it to / and [remap undo].
11075
f08ae1c9
CY
11076 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11077 (ediff-window-setup-function): Use it as the default, to set up
11078 windows based on whether the current frame is graphical (Bug#2138).
11079 (ediff-choose-window-setup-function-automatically): Make obsolete.
11080
11081 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11082
ef24141c
SM
110832012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11084
cc356a5d
SM
11085 * ffap.el: Remove old code for obsolete package.
11086 (ffap-complete-as-file-p): Remove.
11087
b4ff4f1f
SM
11088 Use completion-table-with-quoting for comint and pcomplete.
11089 * comint.el (comint--unquote&requote-argument)
11090 (comint--unquote-argument, comint--requote-argument): New functions.
11091 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11092 (comint-quote-filename): Use regexp-opt-charset.
11093 (comint--common-suffix, comint--common-quoted-suffix)
11094 (comint--table-subvert): Remove.
11095 (comint-unquote-function, comint-requote-function): New vars.
11096 (comint--complete-file-name-data): Use them with
11097 completion-table-with-quoting.
11098 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11099 * pcomplete.el (pcomplete-arg-quote-list)
11100 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11101 (pcomplete-unquote-argument-function): Default to non-nil.
11102 (pcomplete-unquote-argument): Simplify.
11103 (pcomplete--common-quoted-suffix): Remove.
11104 (pcomplete-requote-argument-function): New var.
11105 (pcomplete--common-suffix): New function.
11106 (pcomplete-completions-at-point): Use completion-table-with-quoting
11107 and completion-table-subvert.
11108
79c4eeb4
SM
11109 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11110 (minibuffer--double-dollars): Preserve properties.
11111 (completion--sifn-requote): New function.
11112 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11113
ef24141c
SM
11114 * minibuffer.el: Add support for completion of quoted/escaped data.
11115 (completion-table-with-quoting, completion-table-subvert): New funs.
11116 (completion--twq-try, completion--twq-all): New functions.
11117 (completion--nth-completion): New function.
11118 (completion-try-completion, completion-all-completions): Use it.
11119
784e7d6e
LL
111202012-04-25 Leo Liu <sdl.web@gmail.com>
11121
dd2ac746
SM
11122 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11123 Use compilation-message if available to find real filename.
784e7d6e 11124
07875ee7
CY
111252012-04-25 Chong Yidong <cyd@gnu.org>
11126
11127 * vc/diff-mode.el (diff-setup-whitespace): New function.
11128 (diff-mode): Use it.
11129
11130 * vc/diff.el (diff-sentinel):
11131 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11132 Whitespace mode variables based on diff style (Bug#8612).
11133
5055880d
LL
111342012-04-25 Leo Liu <sdl.web@gmail.com>
11135
daf75653
LL
11136 * progmodes/python.el (python-send-region): Add suffix .py to the
11137 temp file.
11138
5055880d
LL
11139 * files.el (auto-mode-alist): Use javascript-mode instead.
11140
db9b177b
AH
111412012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11142
ef24141c 11143 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11144
090bd7cb 11145 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11146 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11147 references, see Bug#9.
ef24141c 11148 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11149 when receiving a fault reply.
ef24141c 11150 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11151
090bd7cb 11152 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11153 (soap-inspect-simple-type): New function.
db9b177b 11154
090bd7cb 11155 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11156 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11157 (soap-decode-basic-type, soap-encode-basic-type):
11158 support unsignedInt and double basic types.
db9b177b 11159 (soap-resolve-references-for-simple-type)
ef24141c
SM
11160 (soap-parse-simple-type, soap-encode-simple-type): New function.
11161 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11162
090bd7cb 11163 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
11164 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11165 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11166 the local name of "soapenc:Array".
11167 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
11168 decoding integer, byte and anyURI xsd types.
11169
1fc6097b
CY
111702012-04-25 Chong Yidong <cyd@gnu.org>
11171
11172 * cus-edit.el (custom-buffer-create-internal): Update header text.
11173
afc6df87
EZ
111742012-04-25 Eli Zaretskii <eliz@gnu.org>
11175
11176 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11177 settings on 'system-type', not on 'window-system'. On MS-Windows,
11178 set interactive-mode on in GDB.
11179
dfbd787f
SM
111802012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11183 (ruby-syntax-propertize-regexp): Remove.
11184 (ruby-syntax-propertize-function): Split regexp into chunks.
11185 Match following code directly.
11186
85222d44
DG
111872012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11188
51a8ea2a
DG
11189 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11190 (ruby-syntax-propertize-regexp): New function.
11191 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11192 by a special keyword.
11193
85222d44
DG
11194 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11195 (ruby-syntax-general-delimiters-goto-beg)
11196 (ruby-syntax-propertize-general-delimiters): New functions.
11197 (ruby-syntax-propertize-function): Use them to handle GDL.
11198 (ruby-font-lock-keywords): Move old handling of GDL...
11199 (ruby-font-lock-syntactic-keywords): .. to here.
11200 (ruby-calculate-indent): Adjust indentation for GDL.
11201
b613912b
MA
112022012-04-24 Michael Albinus <michael.albinus@gmx.de>
11203
b5380639
MA
11204 * notifications.el (top): Remove unneeded declarations.
11205 (notifications-specification-version): Change to "1.2".
e43042fe 11206 (notifications-interface, notifications-notify-method)
b613912b
MA
11207 (notifications-close-notification-method): Fix docstring.
11208 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11209 (notifications-notify): Add :action-items, :resident and
11210 :transient hints. Change "image_data" to "image-data" and
11211 "image_path" to "image-path".
b613912b
MA
11212 (notifications-get-capabilities): New defun.
11213
257440aa
LL
112142012-04-24 Leo Liu <sdl.web@gmail.com>
11215
11216 * progmodes/python.el: Move hideshow setup to the end.
11217
b1bac16e
MR
112182012-04-24 Martin Rudalics <rudalics@gmx.at>
11219
11220 * window.el (handle-select-window): Clear echo area since this is
11221 no more done by read_char (Bug#11304).
11222
d81bd059
SM
112232012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11226 and `/ M' to filter-derived-mode.
11227 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11228 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11229 (ibuffer-mark-by-mode): Use default rather than initial-input.
11230 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11231
c4cf6d91
IA
112322012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11233
11234 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11235 (ibuffer-filter-by-derived-mode): New filter.
11236 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11237
7511ded8
CY
112382012-04-23 Andreas Politz <politza@fh-trier.de>
11239
11240 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11241
775c916b
CY
112422012-04-23 Chong Yidong <cyd@gnu.org>
11243
11244 * cus-edit.el (customize-apropos, customize-apropos-options):
11245 Disable matching of non-option variables (Bug#11176).
11246 (customize-option, customize-option-other-window)
11247 (customize-changed-options): Doc fix.
11248 (customize-apropos-options, customize-apropos-faces)
11249 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11250
11251 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11252 Fix word list splitting (Bug#11132).
46c71e23
CY
11253 (apropos-symbol, apropos-keybinding, apropos-label)
11254 (apropos-property, apropos-function-button)
11255 (apropos-variable-button, apropos-misc-button): New faces.
11256 (apropos-symbol-face, apropos-keybinding-face)
11257 (apropos-label-face, apropos-property-face, apropos-match-face):
11258 Variables removed (Bug#8396).
11259 (apropos-library-button, apropos-format-plist, apropos-print)
11260 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11261
2df41f9c
MA
112622012-04-23 Michael Albinus <michael.albinus@gmx.de>
11263
11264 * net/xesam.el (xesam-mode-map): Use let-bound map in
11265 initialization. (Bug#11292)
11266
da00640a
AM
112672012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11268
11269 Preserve ispell session localwords when switching back to
11270 original buffer.
11271
090bd7cb
JB
11272 * textmodes/ispell.el (ispell-buffer-session-localwords):
11273 New buffer-local variable to hold buffer session localwords.
ed9265fc 11274 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11275 localwords.
11276 (ispell-command-loop, ispell-change-dictionary)
11277 (ispell-buffer-local-words): Preserve session localwords when
11278 needed.
11279
090bd7cb
JB
11280 * textmodes/flyspell.el (flyspell-process-localwords)
11281 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11282
f621ccf5
AM
112832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11284
090bd7cb
JB
11285 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11286 using obsolete `translation-table-for-input'.
ef24141c
SM
11287 (ispell-word, ispell-process-line, ispell-complete-word):
11288 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11289
c2d1019e
CY
112902012-04-22 Chong Yidong <cyd@gnu.org>
11291
11292 * cus-edit.el (custom-variable-menu)
11293 (custom-variable-reset-saved, custom-face-menu)
11294 (custom-face-reset-saved): If there is no saved value, make the
11295 "reset-saved" operation bring back the default (Bug#9509).
11296 (custom-face-state): Properly detect themed faces.
11297
eeddc531
CY
11298 * faces.el (face-spec-set): Stop supporting deprecated form of
11299 third arg.
11300
dcbf5805
MA
113012012-04-22 Michael Albinus <michael.albinus@gmx.de>
11302
11303 Move functions from C to Lisp. Make non-blocking method calls
11304 the default. Implement further D-Bus standard interfaces.
11305
ef24141c
SM
11306 * net/dbus.el (dbus-message-internal): Declare function.
11307 Remove unneeded function declarations.
dcbf5805
MA
11308 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11309 (dbus-message-type-method-return, dbus-message-type-error)
11310 (dbus-message-type-signal): Declare variables. Remove local
11311 definitions.
11312 (dbus-interface-dbus, dbus-interface-peer)
11313 (dbus-interface-introspectable, dbus-interface-properties)
11314 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11315 Adapt docstring.
11316 (dbus-interface-objectmanager): New defconst.
11317 (dbus-call-method, dbus-call-method-asynchronously)
11318 (dbus-send-signal, dbus-method-return-internal)
11319 (dbus-method-error-internal, dbus-register-service)
11320 (dbus-register-signal, dbus-register-method): New defuns, moved
11321 from dbusbind.c
11322 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11323 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11324 New defuns.
dcbf5805
MA
11325 (dbus-call-method-non-blocking): Make it an obsolete function.
11326 (dbus-unregister-object, dbus-unregister-service)
11327 (dbus-handle-event, dbus-register-property)
11328 (dbus-property-handler): Obey the new structure of
11329 `bus-registered-objects'.
11330 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11331 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11332 Use `dbus-call-method'.
11333
cf20dee0
CY
113342012-04-22 Chong Yidong <cyd@gnu.org>
11335
11336 * cus-edit.el (custom-commands, custom-reset-menu)
11337 (Custom-reset-standard): Tweak labels.
11338 (custom-reset-button-menu): Change default to t.
11339 (custom-buffer-create-internal): For the custom-reset-button-menu
11340 case, put the revert button first.
11341 (custom-group-subtitle): New face.
11342 (custom-group-value-create): Align docstring to a specific column.
11343
11344 * wid-edit.el (widget-documentation-link-add): Don't handle
11345 indentation in this function.
11346 (widget-documentation-string-indent-to): New function.
11347 (widget-documentation-string-value-create): Use it.
11348
11349 * autorevert.el (auto-revert):
11350 * epg-config.el (epg):
11351 * ibuffer.el (ibuffer):
11352 * mpc.el (mpc):
11353 * ses.el (ses):
11354 * eshell/eshell.el (eshell):
11355 * net/ange-ftp.el (ange-ftp):
11356 * progmodes/ebnf2ps.el (postscript):
11357 * progmodes/flymake.el (flymake):
11358 * progmodes/prolog.el (prolog):
11359 * progmodes/verilog-mode.el (verilog-mode):
11360 * progmodes/which-func.el (which-func):
11361 * term/xterm.el (xterm):
11362 * textmodes/picture.el (picture):
11363 * textmodes/tildify.el (tildify):
11364 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11365 customization buffers.
11366
583e23bd
AM
113672012-04-22 Alan Mackenzie <acm@muc.de>
11368
11369 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11370 Adding a ) can hide the resulting (..) from searches. Fix it.
11371 Bound the backward search to the position of the existing (.
11372
7dd51bf1
JB
113732012-04-21 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * progmodes/verilog-mode.el (verilog-mode): Check whether
11376 which-func-modes is t before adding verilog-mode.
11377 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11378
d64a438f
LL
113792012-04-21 Leo Liu <sdl.web@gmail.com>
11380
7dd51bf1 11381 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11382
081e8d65
MV
113832012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11384
11385 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11386 filling of the last column of a table (Bug#5635).
11387 (woman-find-next-control-line): New arg, specifying an additional
11388 regexp component for the control line.
11389 (woman2-roff-buffer): Use it.
11390 (woman-break-table): New function.
11391 (woman2-TS): Use it.
11392
113932012-04-21 Chong Yidong <cyd@gnu.org>
11394
11395 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11396 (woman-horizontal-escapes, woman-negative-vertical-space)
11397 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11398 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11399
ed571ccb
SM
114002012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * minibuffer.el (completion-file-name-table): Complete user names.
11403
39773899
LL
114042012-04-20 Leo Liu <sdl.web@gmail.com>
11405
11406 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11407 and pcase-let*.
11408
de6ff46d
CY
114092012-04-20 Chong Yidong <cyd@gnu.org>
11410
11411 * server.el (server-execute): Respect initial-buffer-choice if it
11412 is a string and there are no files to open (Bug#2825).
11413 (server-create-window-system-frame, server-create-tty-frame):
11414 Don't switch buffers here.
2d0e8e61
CY
11415 (server-process-filter): Only try to open a window system frame if
11416 compiled with graphical support (Bug#8314).
de6ff46d 11417
54071013
DN
114182012-04-20 Dan Nicolaescu <dann@gnu.org>
11419
11420 * battery.el (battery-echo-area-format): Display remaining time
11421 for sysfs backend too (Bug#11269).
11422 (battery-linux-sysfs): Fix conditional for the charge.
11423
f30d612a
CY
114242012-04-20 Chong Yidong <cyd@gnu.org>
11425
c07a4c0b 11426 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11427 (gdb-inferior-io--init-proc): New function.
11428 (gdb-init-1): Use it.
11429 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11430 responsible for allocating a new pty and hooking it to gdb when
11431 the old pty gets an EIO due to process exit.
11432 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11433 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11434 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11435
2116e93c
EZ
114362012-04-20 Eli Zaretskii <eliz@gnu.org>
11437
11438 * window.el (window-min-size, window-sizable, window-min-delta)
11439 (window-max-delta, window--resizable, window-resizable)
11440 (window-total-size, window-full-height-p, window-full-width-p)
11441 (window-in-direction, window--resize-mini-window, window-resize)
11442 (window--resize-child-windows-normal)
11443 (window--resize-child-windows, window--resize-siblings)
11444 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11445 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11446
c07a4c0b 114472012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11448
ef24141c
SM
11449 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11450 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11451 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11452 pty process (Bug#11273).
11453 (gdb-update): New arg to suppress talking to the gdb process.
11454 (gdb-done-or-error): Use it.
11455 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11456 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11457 sentinel not being called.
11458
11459 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11460
d02766ab
CY
11461 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11462
c07a4c0b 114632012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11464
11465 * net/network-stream.el (open-network-stream): Doc fix.
11466
c07a4c0b 114672012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11468
11469 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11470
c07a4c0b 114712012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11472
11473 Ensure searching for keywords is case sensitive.
11474
11475 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11476 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11477 (c-defun-name, c-mark-function, c-cpp-define-name)
11478 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11479 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11480
ef24141c
SM
11481 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11482 Bind case-fold-search to nil.
f0f6bc35 11483
c07a4c0b 114842012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11485
11486 * mail/sendmail.el (mail-bury): Call return action with the right
11487 Rmail buffer (Bug#11242).
11488
9a864fa2
CY
11489 * server.el (server-process-filter): Handle corner case where both
11490 tty and nowait options are present (Bug#11102).
11491
539aa513
EZ
114922012-04-20 Eli Zaretskii <eliz@gnu.org>
11493
11494 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11495 (top level): Put into the executable the ident-style '$Id:' tag on
11496 windows-nt as well.
539aa513 11497
cfc7d5da
SM
114982012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * electric.el (electric-indent-post-self-insert-function): Check that
11501 electric-indent-mode is enabled in current buffer.
11502
5b01685c
JB
115032012-04-19 Juanma Barranquero <lekktu@gmail.com>
11504
11505 * imenu.el (imenu-progress-message): Restore; it is "used" in
11506 erc/erc-imenu.el and net/snmp-mode.el.
11507
4d6769e1
JB
115082012-04-19 Juanma Barranquero <lekktu@gmail.com>
11509
11510 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11511 (mouse-avoidance-nudge-mouse): Remove unused binding.
11512
11513 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11514
11515 * descr-text.el (describe-char):
11516 * progmodes/python.el (python-describe-symbol):
11517 Don't call `toggle-read-only', set `buffer-read-only'.
11518
11519 * imenu.el (imenu-default-goto-function): Mark unused args.
11520 (imenu-progress-message): Remove obsolete macro; all callers changed.
11521
11522 * subr.el (keymap-canonicalize): Remove unused binding.
11523 (read-passwd): Mark unused arg.
11524
11525 * tutorial.el (tutorial--display-changes): Remove unused binding.
11526 (tutorial--save-tutorial-to): Remove unused variable.
11527
11528 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11529 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11530 (package-generate-autoloads, package-menu--generate)
11531 (package-menu--find-upgrades): Remove unused bindings.
11532
11533 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11534 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11535 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11536 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11537 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11538 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11539 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11540 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11541 (cua-delete-char-rectangle): Mark unused args.
11542 (cua-align-rectangle): Remove unused binding.
11543
11544 * mail/rmail.el (compilation--message->loc)
11545 (epa--find-coding-system-for-mime-charset): Declare.
11546
11547 * net/dbus.el (dbus-register-service): Declare.
11548 (dbus-name-owner-changed-handler): Remove unused binding.
11549
11550 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11551 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11552 (nxml-scan-backward-within): Mark unused arg.
11553 (nxml-dynamic-markup-word): Remove unused binding.
11554
11555 * mouse.el (mouse-menu-major-mode-map):
11556 * emacs-lisp/authors.el (authors-scan-change-log)
11557 (authors-add-to-author-list):
11558 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11559 * emacs-lisp/smie.el (smie-auto-fill):
11560 * mail/sendmail.el (mail-bury):
11561 * mail/unrmail.el (unrmail):
11562 * net/tls.el (open-tls-stream):
11563 * textmodes/picture.el (picture-mouse-set-point):
11564 Remove unused bindings.
11565
8c8fc5df
MA
115662012-04-19 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * net/tramp.el (tramp-action-password): Let-bind
11569 `enable-recursive-minibuffers' to t.
11570
a77b0ac9
SS
115712012-04-18 Sam Steingold <sds@gnu.org>
11572
11573 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11574 instead of 'string to accommodate values like [f11].
11575 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11576 * progmodes/gdb-mi.el: Likewise.
11577
12a106a9
LL
115782012-04-18 Leo Liu <sdl.web@gmail.com>
11579
11580 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11581 current buffer.
11582 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11583 LOCAL is nil.
11584
bc6494ef
CY
115852012-04-18 Chong Yidong <cyd@gnu.org>
11586
11587 * simple.el (line-move): Use forward-line if in batch mode
11588 (Bug#11053).
11589
c09c46b2
CS
115902012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11591
11592 * files.el (after-find-file): Do not try to add a final newline if
11593 the buffer is read-only (Bug#11156).
11594
5f6530ea
RS
115952012-04-17 Richard Stallman <rms@gnu.org>
11596
11597 * mail/rmail.el (rmail-start-mail):
11598 Pass (rmail-mail-return...) for the return-action.
11599 Pass (rmail-yank-current-message...) for the yank-action.
11600 (rmail-yank-current-message): New function.
11601 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11602 (rmail-reply): Likewise.
11603 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11604
11605 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11606 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11607 buffer, not newbuf.
11608
197b6f3c
JB
116092012-04-17 Juanma Barranquero <lekktu@gmail.com>
11610
11611 * server.el (server-ensure-safe-dir): Simplify.
11612
2311d8e5 116132012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11614
2311d8e5
GM
11615 * emacs-lisp/smie.el: Provide smarter auto-filling.
11616 (smie-auto-fill): New function.
11617 (smie-setup): Use it.
98fb480e 11618
2311d8e5
GM
11619 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11620
116212012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11622
11623 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11624 (comment-indent): Use it.
11625
2311d8e5 116262012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11627
11628 * ses.el: The overall change is to add cell renaming, that is
11629 setting fancy names for cell symbols other than name matching
11630 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11631 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11632 (ses-create-cell-variable): New defun.
2311d8e5 11633 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11634 (ses-relocate-formula): Relocate formulas only for cells the
11635 symbols of which are not renamed, i.e. symbols whose names do not
11636 match regexp "\\`[A-Z]+[0-9]+\\'".
11637 (ses-relocate-all): Relocate values only for cells the symbols of
11638 which are not renamed.
11639 (ses-load): Create cells variables as the (ses-cell ...) are read,
11640 in order to check row col consistency with cell symbol name only
11641 for cells that are not renamed.
11642 (ses-replace-name-in-formula): New defun.
11643 (ses-rename-cell): New defun.
4bdf2ad2 11644
fc72b15c
PO
116452012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11646
11647 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11648 New option (bug#11118).
11649 (perl-calculate-indent): Respect it.
11650
12e10e61
GM
116512012-04-17 Glenn Morris <rgm@gnu.org>
11652
11653 * dired-aux.el (dired-mark-read-string): Doc fix.
11654
30009afd
DA
116552012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11656
11657 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11658 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11659
41f03f4d
GM
116602012-04-17 Glenn Morris <rgm@gnu.org>
11661
11662 * mouse.el (mouse-drag-track):
11663 * speedbar.el (speedbar-frame-mode):
11664 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11665
f45f90f3
LL
116662012-04-16 Leo Liu <sdl.web@gmail.com>
11667
11668 * progmodes/python.el: Trivial cleanup.
11669
94ee8db5
GM
116702012-04-16 Glenn Morris <rgm@gnu.org>
11671
121b8917
GM
11672 * vc/vc.el (vc-string-prefix-p):
11673 * vc/pcvs-util.el (cvs-string-prefix-p):
11674 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11675 * mpc.el (mpc-string-prefix-p):
11676 Make all of these into obsolete aliases for string-prefix-p.
11677 Update callers.
11678 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11679
1197ecfa
GM
11680 * textmodes/two-column.el: Move custom options to the start.
11681 (frame-width): Remove compat definition.
11682 (2C-associate-buffer, 2C-dissociate):
11683 Use with-current-buffer rather than save-excursion.
11684 (2C-dissociate): Force a mode-line update.
11685 (2C-autoscroll): Use ignore-errors.
11686
099e7202
GM
11687 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11688 Autoload trivia.
11689
bf350d6a
GM
11690 * emacs-lisp/cl-extra.el (*random-state*):
11691 Remove unnecessary declaration.
11692
0e829eab
GM
11693 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11694
e3ad7552
GM
11695 * play/cookie1.el (cookie-snarf):
11696 Give an explicit error if input file cannot be read.
11697
68892d27
GM
11698 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11699
20f0c46d
GM
11700 * progmodes/perl-mode.el (c-macro-expand):
11701 Remove unnecessary autoload (it is in loaddefs.el).
11702
5a0978ce
GM
11703 * textmodes/picture.el (picture-desired-column)
11704 (picture-update-desired-column): Convert comments to doc-strings.
11705 (picture-substitute): Remove function.
11706 (picture-mode-map): Initialize in the defvar.
11707
6b955486
GM
11708 * woman.el: Remove eval-after-load for tar-mode.
11709 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11710 (woman-tar-extract-file): Autoload it.
11711
94ee8db5
GM
11712 * frame.el (automatic-hscrolling): Make this alias obsolete.
11713
177eca34
AM
117142012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11715
090bd7cb 11716 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11717 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11718 (ispell-dictionary-base-alist): Revert to original XEmacs
11719 friendly version for default. [:alpha:] will be added in
090bd7cb 11720 `ispell-set-spellchecker-params' if needed.
177eca34 11721
c505aaeb
CY
117222012-04-16 Chong Yidong <cyd@gnu.org>
11723
b19dd9d1 11724 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11725 (imagemagick-register-types): Use it.
11726 (imagemagick-types-inhibit): Add :set function. Allow new value
11727 of t to inhibit all types.
11728
11729 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11730 so we can preload it.
11731
11732 * loadup.el (fboundp): Preload regexp-opt, needed by
11733 imagemagick-register-types.
11734
60efac0f
CY
117352012-04-15 Chong Yidong <cyd@gnu.org>
11736
11737 * frame.el (scrolling): Remove nearly unused customization group.
11738
11739 * scroll-all.el (scroll-all-mode): Move to windows group.
11740
5dd1713e
CY
117412012-04-15 Chong Yidong <cyd@gnu.org>
11742
11743 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11744
e6fd457e
CY
117452012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11748 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11749
e153c136
GM
117502012-04-15 Glenn Morris <rgm@gnu.org>
11751
11752 * simple.el (process-file-side-effects): Doc fix.
11753
e6fd457e 117542012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11755
11756 * international/mule-cmds.el (set-language-environment): Doc fix.
11757
3603c3b1
JB
117582012-04-14 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * server.el (server-auth-key, server-generate-key): Doc fixes.
11761 (server-get-auth-key): Doc fix. Use `string-match-p'.
11762 (server-start): Reflow docstring.
11763
e6de100c
LI
117642012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11765
11766 * server.el (server-generate-key): `called-interactively-p'
11767 requires a parameter.
11768
29734c21
MN
117692012-04-14 Michal Nazarewicz <mina86@mina86.com>
11770
11771 * server.el (server-auth-key): New variable.
75f1671a 11772 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11773 (server-start): Use the new variable and functions to allow
11774 setting a permanent server key (bug#9423).
11775
d65c9521
LL
117762012-04-14 Leo Liu <sdl.web@gmail.com>
11777
11778 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11779
5ae255c7
PE
117802012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11781
11782 Spelling fixes.
11783 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11784 Emacs uses American spelling.
11785
d5e6342e
JB
117862012-04-14 Juanma Barranquero <lekktu@gmail.com>
11787
11788 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11789 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11790 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11791 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11792
ab036cd7
SM
117932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * progmodes/which-func.el (which-func-modes): Change default.
11796
35dc09a1 117972012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11798
11799 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11800 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11801
35dc09a1 118022012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11803
11804 * custom.el (custom-theme-set-variables): Doc fix.
11805
35dc09a1 118062012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11807
11808 * international/mule.el (set-auto-coding-for-load): Doc fix.
11809
35dc09a1 118102012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11811
35dc09a1
GM
11812 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11813 imenu work again for Objective C Mode. Correct the *-index values,
11814 these having been disturbed by a previous change in 2011-08.
57f845ee 11815
0de3da9f
AM
11816 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11817 Correct two search limits.
11818
35dc09a1 118192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11820
11821 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11822
35dc09a1 118232012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11824
11825 * international/characters.el: Fix sorting.
11826
35dc09a1 118272012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11828
11829 * international/characters.el: Add more missing Latin case pairs.
11830
35dc09a1 118312012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11832
11833 * files.el (dir-locals-set-class-variables): Doc fix.
11834
35dc09a1 118352012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11836
3f1b5bf8
EZ
11837 * international/characters.el: Add set-case-syntax-pair call for
11838 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11839 counterpart. (Bug#11209)
11840
9f847f41
EZ
11841 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11842
35dc09a1 118432012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11844
11845 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11846
35dc09a1 118472012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11848
35dc09a1
GM
11849 * textmodes/ispell.el (ispell-dictionary-base-alist):
11850 Add data for Hebrew.
e2627d21 11851
35dc09a1 118522012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11853
35dc09a1
GM
11854 * net/rcirc.el (rcirc-cmd-quit):
11855 Revert 2012-03-18 change (Bug#11192).
5c14e333 11856
35dc09a1 118572012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11858
11859 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11860
35dc09a1 118612012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11862
4517fe3a
SM
11863 * minibuffer.el (completion-in-region-mode-map):
11864 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11865
b472a594
VD
118662012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11867
11868 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11869
09b95ce3
MY
118702012-04-13 Masatake YAMATO <yamato@redhat.com>
11871
11872 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11873 to allow `C-M-f' and `C-M-b' to move to the nearest path
11874 separator (bug#9511).
11875
4b63a9ca
LI
118762012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11877
11878 * avoid.el: Require cl when compiling. And also move the
11879 `provide' to the end.
11880
7b55b8bf
TV
118812012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11882
11883 * avoid.el (mouse-avoidance-banish-position): New variable.
11884 (mouse-avoidance-banish-destination): Use it (bug#10165).
11885
adedaa1f
LL
118862012-04-13 Leo Liu <sdl.web@gmail.com>
11887
11888 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11889
70e74021
KB
118902012-04-13 Ken Brown <kbrown@cornell.edu>
11891
11892 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11893 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11894 (browse-url-filename-alist): For the same reason, don't modify
11895 file:// URLs on Cygwin.
11896
e75e89ba
SM
118972012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11900 the region on shift if the binding is already shifted (bug#11221).
11901
82f289a4
GM
119022012-04-12 Glenn Morris <rgm@gnu.org>
11903
11904 * mail/mailpost.el: Move to obsolete/.
11905
d333dc4c
DA
119062012-04-12 Drew Adams <drew.adams@oracle.com>
11907
11908 * imenu.el (imenu--generic-function): Ignore invisible definitions
11909 (bug#10123).
11910
0d15b5ba
VD
119112012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11912
11913 * hexl.el (hexl-bits): New variable.
11914 (hexl-options): Mention the variable in the doc string.
75f1671a 11915 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11916 (hexl-mode): Mention the new variable.
75f1671a
JB
11917 (hexl-mode, hexl-current-address, hexl-current-address):
11918 Use the displen.
0d15b5ba
VD
11919 (hexl-ascii-start-column): New function.
11920 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11921 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11922
64a440db
AM
119232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11924
11925 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11926 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11927 the encoding, as expected by hunspell.
11928
6decb6c2
SM
119292012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * battery.el (battery--linux-sysfs-regexp): New const.
11932 (battery-status-function): Use it. Remove yeeloong special case.
11933 (battery-yeeloong-sysfs): Remove.
11934 (battery-echo-area-format): Remove yeeloong special case.
11935
088be6fb
SM
119362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11937
6622e416
SM
11938 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11939 Reported by Noah Friedman.
11940
088be6fb
SM
11941 * subr.el (read-passwd): Use read-string.
11942
b49f886e
LMI
119432012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11944
11945 * vcursor.el (vcursor-move): Increase the priority of the overlay
11946 (bug#9663).
11947
a63067fc
DD
119482012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11949
11950 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11951 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11952
ac3cf14a
WS
119532012-04-11 William Stevenson <yhvh2000@gmail.com>
11954
11955 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11956 define-minor-mode (bug#10760).
11957
c4fc691b 119582012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11959
4d6769e1 11960 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11961 that directories matching `grep-find-ignored-files' won't be
11962 pruned (bug#10351).
11963
af23e2e5
CY
119642012-04-11 Chong Yidong <cyd@gnu.org>
11965
11966 * startup.el (command-line): Remove support for long-obsolete
11967 variable font-lock-face-attributes.
11968
ab7ce8c1
GM
119692012-04-11 Glenn Morris <rgm@gnu.org>
11970
11971 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11972
de8c03dc
SM
119732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * window.el (window--state-get-1): Obey window-point-insertion-type.
11976
050cc68b
LB
119772012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11978
11979 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11980 to previous function when point is on the first character of a
75f1671a 11981 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11982
a38c310c
GM
119832012-04-11 Glenn Morris <rgm@gnu.org>
11984
effed0c2
GM
11985 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11986 not just file-errors.
11987
a38c310c
GM
11988 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11989 (vc-bzr-sha1): Use internal sha1.
11990
0221e323
SM
119912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11994
43956923
SG
119952012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11996
11997 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11998 that start in the middle of the line (bug#10496).
11999
6a8c9eaf
DN
120002012-04-10 Dan Nicolaescu <dann@gnu.org>
12001
12002 * battery.el (battery-linux-proc-acpi): Only one battery is
12003 discharged at a time, but that seems to confuse battery.el when
12004 computing `rate-type' for the battery not being discharged
12005 (bug#10332).
12006
1930bf5d
SM
120072012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12008
2a718f6f
SM
12009 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12010
599430d0
SM
12011 * international/quail.el: Use dolist and simplify.
12012 (quail-define-package, quail-update-keyboard-layout)
12013 (quail-define-rules): Use dolist.
12014 (quail-insert-kbd-layout, quail-get-translation): CSE.
12015
a2754b6c
SM
12016 * tmm.el: Use dolist, remove left over hook.
12017 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12018 Use dolist.
12019 (calendar-load-hook): Don't mess with it.
12020
1930bf5d
SM
12021 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12022 Use derived-mode-p. Run the diff asynchronously.
12023
9f67961c
LMI
120242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025
12026 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12027
2a8ce227
JB
120282012-04-10 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12031 (list-dynamic-libraries--loaded): New function.
12032 (list-dynamic-libraries--refresh): Use it.
12033
8f33b5f8
NW
120342012-04-10 Nathan Weizenbaum <nweiz@google.com>
12035
1930bf5d
SM
12036 * progmodes/python.el (python-fill-paragraph):
12037 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
12038 disabled (bug#7018).
12039
b12f0439
L
120402012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12041
1930bf5d 12042 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
12043 DOS/MS Windows for the Baltic languages. There are still plenty
12044 of texts written in this encoding/codepage (bug#6519).
b12f0439 12045
57c3bd01
GM
120462012-04-10 Glenn Morris <rgm@gnu.org>
12047
12048 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12049 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12050
6c3eab30
FA
120512012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12052
1930bf5d 12053 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
12054 next-line "n" and previous-line "p" in order to make recentf more
12055 consistent with ibuffer, dired or org-mode (bug#9387).
12056
24d78a88
LMI
120572012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12058
bc72b5d9
LMI
12059 * image.el (put-image): Return the overlay created instead of the
12060 optional input string (bug#7834). Note that this may break code
12061 that is (for some reason or other) depending on `put-image'
12062 returning the string.
12063
bd2dba5a
LMI
12064 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12065
74beb59f
LMI
12066 * simple.el (zap-to-char): Allow zapping using input methods
12067 (bug#1580).
12068
24d78a88
LMI
12069 * textmodes/fill.el (fill-region): Leave point and mark where they
12070 were before filling (bug#5399).
12071
263f20cd
GM
120722012-04-09 Glenn Morris <rgm@gnu.org>
12073
12074 * version.el (emacs-bzr-get-version):
12075 Handle lightweight checkouts of local branches.
12076
58d1f797
AS
120772012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12078
263f20cd 12079 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 12080
b4d3bc10
CY
120812012-04-09 Chong Yidong <cyd@gnu.org>
12082
12083 * custom.el (custom-variable-p): Return nil for non-symbol
12084 arguments instead of signaling an error.
12085 (user-variable-p): Obsolete alias for custom-variable-p.
12086
12087 * apropos.el (apropos-variable):
12088 * files-x.el (read-file-local-variable):
12089 * simple.el (set-variable):
12090 * woman.el (woman-mini-help):
12091 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12092
fd06db5d
GM
120932012-04-09 Glenn Morris <rgm@gnu.org>
12094
e5fcdb5e
GM
12095 * startup.el (normal-top-level): Don't look for leim-list.el
12096 in places where it will not be found. (Bug#910)
12097
fd06db5d
GM
12098 * international/mule-cmds.el (set-default-coding-systems):
12099 * files.el (normal-mode):
12100 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12101 This function was removed with ucs-tables.el in 2008.
12102
b39bb7e1
EZ
121032012-04-08 Eli Zaretskii <eliz@gnu.org>
12104
12105 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12106 ispell-encoding8-command to "-i", without a trailing space.
12107 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12108 separate command-line arguments, to specify the encoding, since
12109 that's how hunspell expects it.
12110
5c5b8e23
GM
121112012-04-08 Glenn Morris <rgm@gnu.org>
12112
12113 * loadup.el: Load bindings before cus-start.
12114 This reduces somewhat the number of "rogue" settings in emacs -Q.
12115
a1ed8b05
GM
121162012-04-07 Glenn Morris <rgm@gnu.org>
12117
12118 * version.el (emacs-bzr-get-version): New function.
dfae128a 12119 (emacs-bzr-version): New variable.
a1ed8b05
GM
12120 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12121 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12122
b142f158
EZ
121232012-04-07 Eli Zaretskii <eliz@gnu.org>
12124
dfae128a
GM
12125 * international/uni-bidi.el, international/uni-category.el:
12126 * international/uni-combining.el, international/uni-decimal.el:
12127 * international/uni-decomposition.el, international/uni-digit.el:
12128 * international/uni-lowercase.el, international/uni-mirrored.el:
12129 * international/uni-name.el, international/uni-numeric.el:
12130 * international/uni-titlecase.el, international/uni-uppercase.el:
12131 Update for Unicode 6.1.
b142f158 12132
9078ead6
EZ
121332012-04-07 Eli Zaretskii <eliz@gnu.org>
12134
12135 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12136
f23d2c7d
LMI
121372012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12138
12139 * window.el (shrink-window): Mention the `window-min-height'
12140 variable in the doc string.
12141
0a0a3573
BG
121422012-04-05 Bastien Guerry <bzg@altern.org>
12143
12144 * color.el (color-lighten-name): Fix typo.
12145
e5248ac9
SM
121462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * server.el (server--on-display-p): New function.
12149 (server--on-display-p): Use it.
12150
b4243e22
GV
121512012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
12152
12153 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12154 (bug#11145).
12155
305d9f44
SM
121562012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * comint.el (comint--common-quoted-suffix): Check string boundary
12159 before comparing (bug#11158).
12160 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12161
3d439cd1
CY
121622012-04-04 Chong Yidong <cyd@gnu.org>
12163
321cc491
CY
12164 * minibuffer.el (completion-extra-properties): Doc fix.
12165
3d439cd1
CY
12166 * subr.el (delayed-warnings-hook): Doc fix.
12167
2d562c0f
DU
121682012-04-04 Daiki Ueno <ueno@unixuser.org>
12169
12170 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12171 selection (Bug#11159).
12172 (epa-insert-keys): Inform that the default public key will be
12173 exported if no key is selected.
12174
4443f204
RS
121752012-04-04 Richard Stallman <rms@gnu.org>
12176
12177 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12178
529c06b6
CY
121792012-04-03 Chong Yidong <cyd@gnu.org>
12180
12181 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12182 mail-insert-file, not its obsolete alias mail-attach-file.
12183
66b907dc
MA
121842012-04-03 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * notifications.el (notifications-notify): Fix docstring.
12187
c0ea195d
GM
121882012-04-02 Glenn Morris <rgm@gnu.org>
12189
12190 * emacs-lisp/authors.el (authors-aliases): Another addition.
12191
5ca64e00
MA
121922012-04-02 Michael Albinus <michael.albinus@gmx.de>
12193
12194 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12195 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12196 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12197
42ee526b
CY
121982012-04-01 Chong Yidong <cyd@gnu.org>
12199
12200 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12201 Handle root directory properly.
12202 (copy-directory): Caller changed.
12203
12204 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12205 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12206
0b021094
GM
122072012-03-31 Glenn Morris <rgm@gnu.org>
12208
40f86458
GM
12209 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12210
7019c177
GM
12211 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12212
a1daddd6
GM
12213 * calendar/calendar.el (calendar-window-list)
12214 (calendar-hide-window): Restore. (Bug#11140)
12215 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12216
0b021094
GM
12217 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12218
40311efc
TV
122192012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12220
12221 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12222 Check if file is a symlink (Bug#10489).
12223
12224 * files.el (copy-directory): Likewise.
12225
5319014e
CY
122262012-03-30 Chong Yidong <cyd@gnu.org>
12227
12228 * image.el (imagemagick-types-inhibit)
12229 (imagemagick-register-types): Doc fix.
12230
935d1290
AM
122312012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12232
090bd7cb 12233 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12234 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12235 and treats ~word as ordinary words in pipe mode.
935d1290 12236
61c6e8fd
GM
122372012-03-30 Glenn Morris <rgm@gnu.org>
12238
12239 * tutorial.el (help-with-tutorial): Ensure local variables don't
12240 happen to make the buffer read-only. (Bug#11127)
12241
81fdff00
SM
122422012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12245 (perl-calculate-indent): Return `noindent' in strings.
12246
6e7a6ec0
SS
122472012-03-28 Sam Steingold <sds@gnu.org>
12248
12249 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12250 instead of the broken adhockery which does not prevent calendar
12251 buffers from being displayed at random after exit.
12252 (calendar-window-list, calendar-hide-window): Remove the broken
12253 adhockery.
12254
fee88ca0
GM
122552012-03-28 Glenn Morris <rgm@gnu.org>
12256
12257 * replace.el (query-replace-map): Doc fix.
12258
38de3354
AS
122592012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12260
12261 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12262 contents. (Bug#11109)
12263
b973155e
SM
122642012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12267 (bug#11077).
12268 (avl-tree--check, avl-tree--check-node): New funs.
12269
dcb6e7b3
MR
122702012-03-27 Martin Rudalics <rudalics@gmx.at>
12271
12272 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12273 (switch-to-prev-buffer, switch-to-next-buffer):
12274 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12275 showing a buffer already is done on the same frame.
12276
b4fa35fa
GM
122772012-03-27 Glenn Morris <rgm@gnu.org>
12278
12279 * startup.el (mail-host-address): Doc fix.
12280
f9210e18
SM
122812012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12284 than 197 variables.
12285
c0bf7753
AF
122862012-03-26 Ami Fischman <ami@fischman.org>
12287
12288 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12289
33da7b16
GM
122902012-03-26 Glenn Morris <rgm@gnu.org>
12291
02243d9d
GM
12292 * files.el (save-buffers-kill-emacs): Doc fix.
12293
33da7b16
GM
12294 * startup.el (normal-top-level, command-line, command-line-1):
12295 Give them doc strings.
12296
e5a69fd0
EZ
122972012-03-25 Eli Zaretskii <eliz@gnu.org>
12298
12299 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12300 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12301
9a69676a
CY
123022012-03-25 Chong Yidong <cyd@gnu.org>
12303
4125cb8b
CY
12304 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12305 theme if it was previously enabled before (Bug#11031).
12306
dd470960
CY
12307 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12308 spec with custom-face-get-current-spec if its :shown-value is not
12309 determined yet (Bug#9337).
4125cb8b 12310 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12311
9a69676a
CY
12312 * button.el (button-at): Minor addition to docstring.
12313
6e7e90fa
SL
123142012-03-24 Simon Leinen <simon.leinen@gmail.com>
12315
12316 * vc/vc.el (vc-merge): Fix a prompt.
12317
f06e2758
CY
123182012-03-24 Chong Yidong <cyd@gnu.org>
12319
12320 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12321 point (Bug#9623).
12322
6e7e90fa
SL
12323 * button.el (button-at): Minor addition to docstring.
12324
b9d0879b
SM
123252012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * newcomment.el (comment-choose-indent): No space after BOL.
12328
e71cebb3
SS
123292012-03-22 Sam Steingold <sds@gnu.org>
12330
12331 * window.el (switch-to-prev-buffer): Revert last patch because the
12332 bug turned out to be an advertised feature (Elisp manual 28.14).
12333
335aff35
GM
123342012-03-22 Glenn Morris <rgm@gnu.org>
12335
12336 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12337 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12338
c676576a
LMI
123392012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12340
12341 * net/network-stream.el (network-stream-open-starttls): Make error
12342 message under Windows be less misleading.
12343
126f3d39
LW
123442012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12345
12346 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12347 understands (bug#9942).
12348
64fee311
CY
123492012-03-22 Chong Yidong <cyd@gnu.org>
12350
12351 * simple.el (end-of-visible-line): Handle return value of
12352 next-single-property-change properly (Bug#9371).
12353
a640d29a
KH
123542012-03-22 Kenichi Handa <handa@m17n.org>
12355
12356 * international/quail.el (quail-insert-kbd-layout): Fix previous
12357 change. To avoid unwanted bidi reordering, use
12358 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12359
39675016
DG
123602012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12361
12362 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12363 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12364 (ruby-beginning-of-indent): Be more careful with the difference
12365 between word-boundary and symbol boundary.
12366 (ruby-mode-syntax-table): Make : a symbol constituent.
12367
0a6934fc 123682012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12369
3d008e4f
SM
12370 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12371
0a6934fc
SM
123722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12373
af67c9d7
SM
12374 * progmodes/etags.el (tags-completion-at-point-function):
12375 Improve last fix.
12376
1acad97c
SM
12377 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12378
e298b5da
SS
123792012-03-21 Sam Steingold <sds@gnu.org>
12380
12381 * progmodes/etags.el (tags-completion-at-point-function):
12382 Avoid the error when point is inside the pattern.
12383
91d82a70
JY
123842012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12385
12386 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12387 line (Bug#10855).
12388
69188b79
CY
123892012-03-21 Drew Adams <drew.adams@oracle.com>
12390
12391 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12392
99fc91fe
AK
123932012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12394
12395 * ido.el (ido-set-current-directory, ido-read-internal)
12396 (ido-choose-completion-string, ido-completion-help): Handle nil
12397 value of ido-completion-buffer (Bug#11008).
12398
087bbb4c
SS
123992012-03-21 Sam Steingold <sds@gnu.org>
12400
12401 * window.el (switch-to-prev-buffer): Do not switch to a visible
12402 window previous buffer, just like with the frame previous buffers.
12403
fb5b8aca
CY
124042012-03-21 Chong Yidong <cyd@gnu.org>
12405
12406 * faces.el (make-face, make-empty-face, copy-face):
12407 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12408 Doc fixes.
12409
dc9924b8
SM
124102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12413 (widget-complete): Remove broken use of it.
12414
f0bcceb9
CY
124152012-03-20 Chong Yidong <cyd@gnu.org>
12416
dc9924b8
SM
12417 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12418 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12419 characters.
12420
ee52ebf3
TH
124212012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12422
12423 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12424 to draw rectangles, not squares. (Regression introduced by revno
12425 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12426
4c5779ab
CY
124272012-03-18 Chong Yidong <cyd@gnu.org>
12428
12429 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12430 it is not yet defined (for temacs).
12431
15360934
LL
124322012-03-18 Leo Liu <sdl.web@gmail.com>
12433
735135f9
PE
12434 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12435 prefix.
15360934 12436
d9a8eb66
EZ
124372012-03-17 Eli Zaretskii <eliz@gnu.org>
12438
12439 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12440 (ispell-choices-win-default-height, ispell-silently-savep)
12441 (ispell-dictionary-alist, ispell-encoding8-command)
12442 (ispell-check-version, ispell-aspell-find-dictionary)
12443 (ispell-valid-dictionary-list, ispell-words-keyword)
12444 (ispell-get-word, ispell-internal-change-dictionary)
12445 (ispell-region, ispell-skip-region-list)
12446 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12447 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12448 (ispell-message-text-end, ispell-message)
12449 (ispell-buffer-local-parsing): Doc fix.
12450
f02ff80d
J
124512012-03-13 Jambunathan K <kjambunathan@gmail.com>
12452
12453 * htmlfontify.el: Add support for code block fontification for ODT
12454 export (Bug #9914).
12455 (hfy-optimisations): Define new option
12456 `body-text-only'
12457 (hfy-fontify-buffer): Honor above setting.
12458 (hfy-begin-span, hfy-end-span): New routines factored out form
12459 `hfy-fontify-buffer'.
12460 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12461 that permit insertion of custom tags.
12462 (hfy-fontify-buffer): Use above handlers.
12463 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12464 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12465 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12466 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12467 bind a special variable `hfy-user-sheet-assoc'.
12468 (htmlfontify-string): New defun.
12469 (hfy-compile-face-map): Make sure that the last char in the
12470 buffer is correctly fontified.
12471 (hfy-face-resolve-face): Whitespace only change.
12472
9ac7a13f
EZ
124732012-03-17 Eli Zaretskii <eliz@gnu.org>
12474
12475 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12476 message more clear.
12477
e2b5bdd7
LL
124782012-03-16 Leo Liu <sdl.web@gmail.com>
12479
12480 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12481
2e492df3
AM
124822012-03-16 Alan Mackenzie <acm@muc.de>
12483
677d5c92 12484 Further optimize the handling of large macros.
2e492df3
AM
12485
12486 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12487 limit to a call of `c-literal-limits'.
12488 (c-determine-+ve-limit): New function.
dc9924b8
SM
12489 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12490 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12491 In CASE 5B, restrict a search limit to 500.
12492 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12493
12494 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12495 Restrict macro bounds to +-500 from after-change's BEG END.
12496
50e94f0c
LL
124972012-03-16 Leo Liu <sdl.web@gmail.com>
12498
12499 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12500
6f09f6ed
AH
125012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12502
12503 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12504 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12505
c7e73d51
GM
125062012-03-16 Glenn Morris <rgm@gnu.org>
12507
da986230
GM
12508 * view.el (view-buffer, view-buffer-other-window)
12509 (view-buffer-other-frame): Doc fixes re special mode-class.
12510
0835f01e
GM
12511 * subr.el (eval-after-load): If named feature is provided not from
12512 a file, run after-load forms. (Bug#10946)
12513
c7e73d51
GM
12514 * calendar/calendar.el (calendar-insert-at-column):
12515 Handle non-unit-width characters a bit better. (Bug#10978)
12516
3f2eafd1
CY
125172012-03-15 Chong Yidong <cyd@gnu.org>
12518
12519 * emacs-lisp/ring.el (ring-extend): New function.
12520 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12521
12522 * comint.el (comint-read-input-ring)
12523 (comint-add-to-input-history): Grow comint-input-ring lazily.
12524
103af3fe
SM
125252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12526
663b1677
SM
12527 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12528 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12529
103af3fe
SM
12530 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12531 (imenu-add-to-menubar): Don't add a redundant index.
12532 (imenu-update-menubar): Handle a dynamically composed keymap.
12533
899cb7cb
KY
125342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12535
12536 * mail/sendmail.el (mail-encode-header):
12537 Bind rfc2047-encode-encoded-words to nil.
12538
3809f91d
GM
125392012-03-13 Glenn Morris <rgm@gnu.org>
12540
12541 * calendar/calendar.el (calendar-string-spread):
12542 Handle non-unit-width characters a bit better. (Bug#10978)
12543
9e345a01
LL
125442012-03-13 Leo Liu <sdl.web@gmail.com>
12545
12546 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12547 directory and file as argument (Bug#10822).
12548
4a07df36
KS
125492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12550
12551 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12552 For dynamically generated code, follow $PC.
12553 (gdb-disassembly-handler-custom): Handle no function name case.
12554
4aaa9356
TL
125552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12556
12557 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12558 * emulation/ws-mode.el (ws-query-replace):
12559 * sort.el (sort-regexp-fields):
12560 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12561
225979da
SM
125622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * dabbrev.el: Fix cycle completion order (bug#10963).
12565 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12566 (dabbrev-completion): Don't use an obarray; provide
12567 a cycle-sort-function.
12568
e2f1fdab
LL
125692012-03-12 Leo Liu <sdl.web@gmail.com>
12570
dc9924b8 12571 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12572 (kill-do-not-save-duplicates): Doc fix.
12573
b19490ed
SM
125742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * dabbrev.el: Fix cycle completion (bug#10963).
12577 Use lexical binding and wrap to 80 columns.
12578 (dabbrev-completion): Delay computing the list of completions.
12579
4b05d722
KH
125802012-03-12 Kenichi Handa <handa@m17n.org>
12581
12582 * international/quail.el (quail-insert-kbd-layout): Surround each
12583 row by LRO and PDF instead of inserting many LRMs. Pad the left
12584 and right of each non-spacing marks. Insert invisible space
12585 between lower and upper characters to prevent composition.
12586
dbbc2e69
SM
125872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * minibuffer.el (minibuffer-complete): Don't get confused when the
12590 function is run twice via different commands (bug#10958).
12591 (complete-with-action): Fix docstring.
12592
292112ed
CY
125932012-03-12 Chong Yidong <cyd@gnu.org>
12594
5d1ac394
CY
12595 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12596 (nxml-completion-at-point-function): New function.
12597 (nxml-mode): Use it.
12598 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12599
292112ed
CY
12600 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12601 Load generated autoloads file before byte compiling (Bug#10970).
12602 (package--make-autoloads-and-compile): New helper fun.
12603
4098f8f7
CS
126042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12605
12606 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12607
8f754691
MA
126082012-03-11 Michael Albinus <michael.albinus@gmx.de>
12609
12610 * autorevert.el (auto-revert-handler): Ensure, that
12611 file-readable-p is applied only for local files or in
12612 auto-revert-tail-mode.
12613
e29ab36b
AS
126142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12615
dbbc2e69
SM
12616 * server.el (server-eval-at): Handle non-tcp connections.
12617 Decode result string.
ad0bf5b6 12618
e29ab36b
AS
12619 * server.el (server-msg-size): New constant.
12620 (server-reply-print): New function.
12621 (server-eval-and-print): Use it.
12622 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12623 Handle -print-nonl.
12624
de5939ba
CS
126252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12626
12627 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12628 (Bug#10987).
12629
0c93eabf
CY
126302012-03-11 Chong Yidong <cyd@gnu.org>
12631
397a688f
CY
12632 * simple.el (goto-line): Doc fix (Bug#9938).
12633
2cc775f9
CY
12634 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12635
0c93eabf
CY
12636 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12637 when finished (Bug#10963).
12638
c491fa41
MR
126392012-03-11 Martin Rudalics <rudalics@gmx.at>
12640
12641 * window.el (split-window-below): Fix bug in case where
12642 split-window-keep-point is nil (Bug#10971).
12643
300e8fa5
JL
126442012-03-11 Juri Linkov <juri@jurta.org>
12645
12646 * replace.el (replace-highlight): Set isearch-word to nil
12647 unconditionally. (Bug#10887)
12648
dbf6c5a1
EZ
126492012-03-10 Eli Zaretskii <eliz@gnu.org>
12650
12651 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12652 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12653 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12654 (mairix-widget-create-query): Add usage information about mairix
12655 search forms: negating words, searching for substrings, etc.
12656
b9e501de
JP
126572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12658
12659 * international/fontset.el (font-encoding-alist): Add an entry for
12660 ksx1001 (Bug#5667).
12661
92795c91
RS
126622012-03-10 Richard Stallman <rms@gnu.org>
12663
1694e6c1
RS
12664 * mail/sendmail.el (mail-encode-header):
12665 Set rfc2047-encode-encoded-words.
12666
607e8555
RS
12667 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12668
de3bc99a
RS
12669 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12670 view buffer means not swapped.
12671 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12672 (rmail-write-region-annotate): Error if real text has disappeared.
12673
92795c91
RS
12674 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12675
699bd04e
CY
126762012-03-10 Chong Yidong <cyd@gnu.org>
12677
12678 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12679 * emulation/cua-base.el (cua--init-keymaps):
12680 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12681
570a1714
MR
126822012-03-10 Martin Rudalics <rudalics@gmx.at>
12683
dbbc2e69
SM
12684 * speedbar.el (speedbar-unhighlight-one-tag-line):
12685 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12686
82dcf4e4
CY
126872012-03-10 Chong Yidong <cyd@gnu.org>
12688
7a2c7ca7
CY
12689 * minibuffer.el (completion-in-region, completion-help-at-point):
12690 Give the completion field overlay a high priority (Bug#6830).
12691
82dcf4e4
CY
12692 * dired.el (dired-goto-file): Recognize absolute file name
12693 listings (Bug#7126).
12694 (dired-goto-file-1): New helper function.
12695 (dired-toggle-read-only): Inhibit warnings.
12696
052e28ac
MA
126972012-03-09 Michael Albinus <michael.albinus@gmx.de>
12698
75f1671a 12699 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12700 there are no properties.
12701
95d5e396
LL
127022012-03-09 Leo Liu <sdl.web@gmail.com>
12703
12704 * savehist.el (savehist-printable): Stricter check for string
12705 value (Bug#10937).
12706
3f018d6d
EZ
127072012-03-09 Eli Zaretskii <eliz@gnu.org>
12708
dbbc2e69
SM
12709 * mail/smtpmail.el (smtpmail-send-it):
12710 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12711 valid mbox format.
12712
f7fd3d79
GM
127132012-03-09 Glenn Morris <rgm@gnu.org>
12714
12715 * files.el (dir-locals-find-file):
12716 Don't check result is regular, readable.
12717 (dir-locals-read-from-file): Demote errors.
12718
6ff6e72f
EZ
127192012-03-08 Eli Zaretskii <eliz@gnu.org>
12720
dbbc2e69
SM
12721 * international/quail.el (quail-insert-kbd-layout):
12722 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12723 layout cell, to prevent their reordering by bidi display engine.
12724 For details, see the discussion in
12725 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12726
9cec7834
AM
127272012-03-08 Alan Mackenzie <acm@muc.de>
12728
12729 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12730 the starting position; make it extend the marked region when
12731 invoked repeatedly - all under appropriate circumstances.
12732 Fixes bugs #5525, #10906.
12733
9a40b8d4
GM
127342012-03-08 Glenn Morris <rgm@gnu.org>
12735
12736 * files.el (locate-dominating-file, dir-locals-find-file):
12737 Undo 2012-03-06 change.
12738
7a08ed35
EZ
127392012-03-07 Eli Zaretskii <eliz@gnu.org>
12740
dbbc2e69
SM
12741 * international/quail.el (quail-help):
12742 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12743 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12744 for the reason.
12745
5aca4f71 127462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12747
12748 Avoid superfluous registering of signals. (Bug#10807)
12749
12750 * notifications.el (notifications-on-action-object)
12751 (notifications-on-close-object): New defvars.
12752 (notifications-on-action-signal, notifications-on-closed-signal):
12753 Unregister the signal if not needed any longer.
12754 (notifications-notify): Register `notifications-action-signal' or
12755 `notifications-closed-signal', if :on-action or :on-close has been
12756 passed as argument.
12757
78e8b10a
CY
127582012-03-07 Chong Yidong <cyd@gnu.org>
12759
12760 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12761 non-X platforms.
12762
69481eb8
GM
127632012-03-06 Glenn Morris <rgm@gnu.org>
12764
12765 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12766 (x-disown-selection-internal, x-get-selection-internal):
12767 Doc fix (add arglist signatures). (Bug#10783)
12768
133b8e11
KS
127692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12770
12771 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12772 Handle breakpoints with no "type".
12773
99a83064
GM
127742012-03-06 Glenn Morris <rgm@gnu.org>
12775
12776 * files.el (locate-dominating-file): Add optional predicate argument.
12777 (dir-locals-find-file): Make use of above change.
12778
17798e78
TTN
127792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12780
12781 * info.el (Info-insert-dir): Also try "dir.gz".
12782
eb182446
GM
127832012-03-06 Glenn Morris <rgm@gnu.org>
12784
8f2114ee
GM
12785 * files.el (dir-locals-find-file):
12786 Ignore non-readable or non-regular files. (Bug#10928)
12787
eb182446
GM
12788 * files.el (locate-dominating-file): Doc fix.
12789
24679323
AS
127902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12791
12792 * calendar/calendar.el (calendar-set-mode-line):
12793 `getenv' returns a string. (Bug#10951)
12794
01d972a9
LL
127952012-03-05 Leo Liu <sdl.web@gmail.com>
12796
109aa8a9
LL
12797 * simple.el (backward-delete-char-untabify): Constrain point to
12798 field (Bug#10939).
12799
01d972a9
LL
12800 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12801
10607bea
CY
128022012-03-05 Chong Yidong <cyd@gnu.org>
12803
12804 * simple.el (count-words): If called from Lisp, return the word
12805 count, for symmetry with `count-lines'. Arglist changed.
12806 (count-words--message): Args changed. Consolidate counting code
12807 from count-words and count-words-region.
12808 (count-words-region): Caller changed.
12809 (count-lines-region): Make it an obsolete alias.
12810
5dd11cfe
TH
128112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12812
12813 * saveplace.el (save-place-to-alist)
12814 (save-place-ignore-files-regexp): Allow value nil to disable this
12815 feature.
12816
c349f4e6
CY
128172012-03-04 Chong Yidong <cyd@gnu.org>
12818
12819 * faces.el (face-spec-reset-face): For the default face, reset the
12820 attributes to default values (Bug#10748).
12821
e627be4c
LMI
128222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12823
12824 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12825 previous patch: Check `message-send-mail-function', and not the
12826 default function (bug#10897).
12827
ebeabff4
MA
128282012-03-04 Michael Albinus <michael.albinus@gmx.de>
12829
a41a6cf4
MA
12830 * notifications.el (notifications-on-action-signal)
12831 (notifications-on-closed-signal): Check for unique service name of
12832 incoming event. Fix error in removing entry.
ebeabff4 12833 (top): Register for signals with wildcard service name.
a41a6cf4 12834 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12835
c1ca42b4
CY
128362012-03-04 Chong Yidong <cyd@gnu.org>
12837
dc9924b8 12838 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12839
ea16568d
GM
128402012-03-04 Glenn Morris <rgm@gnu.org>
12841
12842 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12843 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12844 (expand-abbrev, define-abbrev-table): Doc fixes.
12845
fbae4637
LMI
128462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12847
12848 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12849 `message-default-send-mail-function' and not `send-mail-function'
12850 when doing the prompting for `sendmail-query-once' before sending
12851 in Message buffers (bug#10897).
12852
a1e7225c
LMI
12853 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12854 This is inconsistent with all the other stream functions, which leave
12855 the setting up to the higher levels (if so wanted) (bug#10931).
12856
56d093a9
AM
128572012-03-02 Alan Mackenzie <acm@muc.de>
12858
12859 Depessimize the handling of very large macros.
12860
12861 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12862 (c-macro-cache-syntactic): New variables to implement a one
12863 element macro cache.
12864 (c-invalidate-macro-cache): New function.
12865 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12866 Adapt to use the new cache.
12867 (c-state-safe-place): Use better the cache of safe positions.
12868 (c-state-semi-nonlit-pos-cache)
12869 (c-state-semi-nonlit-pos-cache-limit):
12870 New variables for...
12871 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12872 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12873 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12874 Use c-state-semi-safe-place.
56d093a9 12875
dbbc2e69
SM
12876 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12877 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12878
817e5c3d
MA
128792012-03-02 Michael Albinus <michael.albinus@gmx.de>
12880
dbbc2e69
SM
12881 * jka-compr.el (jka-compr-call-process):
12882 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12883 not remote.
12884
a032a702
MA
128852012-03-01 Michael Albinus <michael.albinus@gmx.de>
12886
12887 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12888 access of FILE2, if FILE1 does not exist.
12889
99a54f21
MA
12890 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12891 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12892
12893 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12894 Add "PAGER=" to `process-environment'.
12895
f6561e1f
MM
128962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12897
12898 * progmodes/sql.el: Bug fix
12899 (sql-get-login-ext): Save login values in globals.
12900 (sql-get-login): Use new version of `sql-get-login-ext'.
12901 (sql-interactive-mode): Set global `sql-connection' to nil.
12902 (sql-connect): Set global values for connection.
12903 (sql-product-interactive): Save global values as buffer local.
12904
2d44d9cc
LL
129052012-02-29 Leo Liu <sdl.web@gmail.com>
12906
12907 * abbrev.el (define-abbrevs): Reset sys to nil.
12908
96b49301 129092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12910
bf7f9bc5
JB
12911 * files.el (file-equal-p): Rename from `files-equal-p'.
12912 Return nil when one or both files don't exist.
96b49301 12913 (file-subdir-of-p): Now only top directory must exists,
12914 return nil if it doesn't.
bf7f9bc5
JB
12915 (copy-directory): No need to test with `file-subdir-of-p' after
12916 creating dir.
12917 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12918 to `file-equal-p'.
96b49301 12919
44e97401
GM
129202012-02-28 Glenn Morris <rgm@gnu.org>
12921
12922 * shell.el (shell-mode):
12923 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12924 * play/landmark.el (landmark-font-lock-face-O):
12925 * play/handwrite.el (handwrite):
12926 * play/gomoku.el (gomoku-O):
12927 * net/browse-url.el (browse-url-browser-display):
12928 * international/mule.el (define-charset):
12929 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12930 * filesets.el (filesets-find-file-delay):
12931 * eshell/em-xtra.el (eshell-xtra):
12932 * eshell/em-unix.el (eshell-grep):
12933 * emulation/viper.el (viper-mode):
12934 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12935 * emacs-lisp/easymenu.el (easy-menu-define):
12936 * calendar/timeclock.el (timeclock-use-display-time):
12937 * bs.el (bs-mode):
12938 * bookmark.el (bookmark-save-flag):
12939 Doc fix (standardize possessive apostrophe usage).
12940
c98c6276
CY
129412012-02-27 Chong Yidong <cyd@gnu.org>
12942
bf7f9bc5
JB
12943 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12944 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12945
c98c6276
CY
12946 * font-lock.el (font-lock-specified-p): Rename from
12947 font-lock-spec-present. Callers changed.
12948
9c62cd04 129492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12950
bf7f9bc5
JB
12951 * emacs-lisp/package.el (package-compute-transaction):
12952 Handle holding a package version to t in package-load-list.
8ac9e529 12953
530739c9
MA
129542012-02-26 Michael Albinus <michael.albinus@gmx.de>
12955
12956 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12957 (tramp-get-inode, tramp-get-device): Use cached values.
12958
487915d7
AM
129592012-02-26 Alan Mackenzie <acm@muc.de>
12960
12961 Check there is a font-lock specification before doing initial
12962 fontification.
12963
12964 * font-core.el (font-lock-mode): Move the conditional from
12965 :after-hook to font-lock-initial-fontify.
12966 (font-lock-default-function): Move the check for a specification
12967 to font-lock-spec-present.
12968
dc9924b8 12969 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12970 (font-lock-spec-present): New function.
12971
4fd96557
JB
129722012-02-26 Jim Blandy <jimb@red-bean.com>
12973
12974 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12975 (gdb-send): Apply it to the operand of the '-interpreter-exec
12976 console' command, so that we can pass arguments with (say) quotes
12977 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12978
9a4888c0
CY
129792012-02-26 Chong Yidong <cyd@gnu.org>
12980
07498861
CY
12981 * help-fns.el (describe-function-1): Clarify description of
12982 remapping (Bug#10844).
12983
9a4888c0
CY
12984 * files.el (files-equal-p): Doc fix.
12985 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12986 and quit the loop once a mismatch is found.
12987
ea8fb88d
JB
129882012-02-25 Juanma Barranquero <lekktu@gmail.com>
12989
12990 * bs.el (bs--show-with-configuration): Don't throw an error
12991 if the window cannot be split; otherwise, subsequent calls to
12992 bs-show fail, restoring a stale window config. (Bug#10882)
12993
525795c1
JD
129942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12995
12996 * term/ns-win.el (global-map): Bind ns-drag-file to
12997 ns-find-file (Bug#5855, Bug#10050).
12998
f008086f
AS
129992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13000
13001 * calendar/parse-time.el (parse-time-string): Allow extractor to
13002 return nil.
13003
a3fcfa99
MA
130042012-02-25 Michael Albinus <michael.albinus@gmx.de>
13005
91027d08
JB
13006 * net/tramp.el (tramp-file-name-for-operation):
13007 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
13008
13009 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
13010 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13011 Add COPY-CONTENTS argument.
a3fcfa99 13012
67b0de11
CY
130132012-02-25 Chong Yidong <cyd@gnu.org>
13014
13015 Add custom groups for VC backends, for consistency with vc-bzr.
13016
13017 * vc/vc-arch.el (vc-arch):
13018 * vc/vc-cvs.el (vc-cvs):
13019 * vc/vc-git.el (vc-git):
13020 * vc/vc-hg.el (vc-hg):
13021 * vc/vc-mtn.el (vc-mtn):
13022 * vc/vc-rcs.el (vc-rcs):
13023 * vc/vc-sccs.el (vc-sccs):
13024 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13025 All relevant defcustoms reassigned.
13026
3c9dfce6
CY
130272012-02-25 Chong Yidong <cyd@gnu.org>
13028
1339bf43
CY
13029 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13030
3c9dfce6
CY
13031 * term/x-win.el (x-initialize-window-system): Reduce default for
13032 x-selection-timeout to 5 seconds (Bug#8869).
13033
25b2e303 130342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13035
ec70a47d
GM
13036 * files.el (files-equal-p, file-subdir-of-p): New functions.
13037 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 13038 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
13039 * dired-aux.el (dired-copy-file-recursive): Same.
13040 (dired-create-files): Modify destination when source is equal to
13041 dest when copying files.
53a46cd0 13042 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 13043
914260cd
MA
130442012-02-24 Michael Albinus <michael.albinus@gmx.de>
13045
13046 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13047 (Bug#10874)
13048
2cb228f7
AM
130492012-02-23 Alan Mackenzie <acm@muc.de>
13050
13051 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13052 parameter "after-hook:" to allow the expansion to run code after
13053 the execution of the mode hooks.
13054
13055 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 13056 from font-lock-mode-internal.
2cb228f7 13057
91027d08 13058 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
13059 :after-hook.
13060
8f0fde21
SM
130612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13062
3e88618b
SM
13063 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13064 (completion--cache-all-sorted-completions): New function.
13065 (completion-all-sorted-completions): Use it.
13066 (completion--do-completion, minibuffer-force-complete):
13067 Use it to re-instate the flush hook.
13068
8f0fde21
SM
13069 * icomplete.el (icomplete-completions): Replace last fix with a better
13070 one (bug#10850).
13071
8e911f6f
DG
130722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13073
13074 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13075 when it might call us back infinitely (bug#10797).
13076
49fe4321
GM
130772012-02-23 Glenn Morris <rgm@gnu.org>
13078
13079 * minibuffer.el (completion-category-overrides): Doc fix.
13080
b291b572
SM
130812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13084 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13085
31a9ef2e
GM
130862012-02-23 Glenn Morris <rgm@gnu.org>
13087
5e6e6794 13088 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
13089 (authors-obsolete-files-regexps, authors-ignored-files)
13090 (authors-ambiguous-files, authors-renamed-files-alist):
13091 Add more entries.
13092
0bd1e074
JL
130932012-02-23 Juri Linkov <juri@jurta.org>
13094
13095 * isearch.el (isearch-occur): Sync interactive spec with occur's
13096 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13097
b617673c
JL
13098 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13099
19e9789e
JL
131002012-02-22 Juri Linkov <juri@jurta.org>
13101
13102 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13103 (ucs-insert): Doc fix. Check for hex digits in the string.
13104 Don't display `nil' in the error message. (Bug#10857)
13105
f41ce09d
AM
131062012-02-22 Alan Mackenzie <acm@muc.de>
13107
7a71b18d 13108 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 13109
ac2eceee
GM
131102012-02-22 Glenn Morris <rgm@gnu.org>
13111
13112 * ffap.el (ffap-c-path):
13113 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13114
abd1f678
CY
131152012-02-22 Chong Yidong <cyd@gnu.org>
13116
13117 * custom.el (load-theme): Doc fix.
13118
f25aef2e
GM
131192012-02-22 Glenn Morris <rgm@gnu.org>
13120
13121 * dired-x.el (dired-guess-shell-alist-default):
13122 Remove escape sequences from nroff output. (Bug#172)
13123
5f8dc2ca
GM
131242012-02-21 Glenn Morris <rgm@gnu.org>
13125
6ff86ec4
GM
13126 * vc/emerge.el (emerge-defvar-local):
13127 Set `permanent-local' property rather than unused `preserved'.
13128
be3223a3 13129 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13130 (picture-mode-map): Use it. (Bug#10860)
13131 (picture-mode): Doc fix.
13132
3fe58f4f
JB
131332012-02-21 Juanma Barranquero <lekktu@gmail.com>
13134
13135 * newcomment.el (uncomment-region-default): Remove unused binding.
13136
f9a998c3
GM
131372012-02-21 Glenn Morris <rgm@gnu.org>
13138
13139 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13140 (picture-self-insert, picture-tab-chars): Doc fix.
13141 (picture-mode-map): Fix C-a, C-e.
13142
c6029348
GM
131432012-02-20 Glenn Morris <rgm@gnu.org>
13144
13145 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13146
ab1ce9d7
LL
131472012-02-20 Leo Liu <sdl.web@gmail.com>
13148
13149 * icomplete.el (icomplete-completions): Check FROM arg before
13150 passing to substring (Bug#10850).
13151
0fd40f89
CY
131522012-02-19 Chong Yidong <cyd@gnu.org>
13153
13154 * comint.el: Require ansi-color.
13155 (comint-output-filter-functions): Add ansi-color-process-output.
13156
13157 * ansi-color.el: Don't set comint-output-filter-functions; it is
13158 now in the initial value defined in comint.el.
13159 (ansi-color-apply-face-function): New variable.
13160 (ansi-color-apply-on-region): Use it.
13161 (ansi-color-apply-overlay-face): New function.
13162
13163 * shell.el (shell): No need to require ansi-color.
13164 (shell-mode): Use ansi-color-apply-face-function to highlight
13165 color escapes using font-lock-face property (Bug#10835).
13166
20af2394
CY
131672012-02-19 Chong Yidong <cyd@gnu.org>
13168
13169 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13170 mode-line formats (Bug#10839).
13171
e23a3fbe
GM
131722012-02-18 Glenn Morris <rgm@gnu.org>
13173
b474519e
GM
13174 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13175
13176 * mail/undigest.el (unforward-rmail-message): Doc fix.
13177
e23a3fbe
GM
13178 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13179
57939ff4
EZ
131802012-02-18 Eli Zaretskii <eliz@gnu.org>
13181
13182 * international/characters.el (script-list): Sync with the latest
13183 Unicode Character Database.
13184
0c23686e
AS
131852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13186
13187 * international/titdic-cnv.el: Remove duplicate coding tag.
13188 * language/cham.el: Likewise.
13189 * language/tai-viet.el: Likewise.
13190
6818b449
GM
131912012-02-18 Glenn Morris <rgm@gnu.org>
13192
13193 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13194 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13195 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13196 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13197 * calendar/holidays.el (holiday-bahai-holidays)
13198 (calendar-holidays, list-holidays):
13199 Use utf-8 Bahá'í in doc-strings, menus, etc.
13200
0311a3fc
TH
132012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13202
13203 * saveplace.el (save-place-ignore-files-regexp): New variable
13204 allowing for excluding files from saving their location of point.
13205 The default value matches the temporary commit message editing
13206 files from Git, SVN, Bazaar, and Mercurial.
13207 (save-place-to-alist): Use it.
13208
d209e2fb 132092012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13210 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13211
13212 * newcomment.el (uncomment-region-default): Don't leave extra space
13213 when an arg is provided (bug#8150).
13214
ee0ce425
TZ
132152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13216
eb864a71 13217 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13218
95ddf442
GM
132192012-02-17 Glenn Morris <rgm@gnu.org>
13220
13221 * net/socks.el: Require network-stream. (Bug#10599)
13222
48dd1e39 132232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13224
13225 * international/charprop.el:
13226 * international/uni-name.el:
13227 * international/uni-old-name.el:
13228 * international/uni-comment.el: Regenerate.
13229
d68cd087
GM
132302012-02-16 Glenn Morris <rgm@gnu.org>
13231
13232 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13233 Interactively in calendar buffer, give an error if not on a date.
13234
13932042
GM
132352012-02-15 Glenn Morris <rgm@gnu.org>
13236
13237 * shell.el (shell-delimiter-argument-list):
13238 Revert 2011-02-17 change. (Bug#8027)
13239
c3a70e2b
CY
132402012-02-15 Chong Yidong <cyd@gnu.org>
13241
60236b0d
CY
13242 * minibuffer.el (completion-at-point-functions): Doc fix.
13243
c3a70e2b
CY
13244 * custom.el (defcustom): Doc fix; note use of defvar.
13245
9f26dc24
GM
132462012-02-15 Glenn Morris <rgm@gnu.org>
13247
13248 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13249 Doc fixes.
13250
6546b134
GM
132512012-02-14 Glenn Morris <rgm@gnu.org>
13252
13253 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13254
d29b2b4c
LI
132552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13256
13257 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13258 way the ports list is computed.
835bdcba
LI
13259 (smtpmail-query-smtp-server): Prompt the user for a port number if
13260 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13261
08dcdbc9
TZ
132622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13263
13264 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13265
2605051a
GM
132662012-02-13 Glenn Morris <rgm@gnu.org>
13267
13268 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13269
7ee99f32
TZ
132702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13271
13272 * net/gnutls.el (gnutls-trustfiles): New variable.
13273 (gnutls-negotiate): Use it.
13274
5f0af64f
LI
132752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13276
13277 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13278 does its stuff if Gnus is running.
13279
c14fcc95
AM
132802012-02-13 Alan Mackenzie <acm@muc.de>
13281
13282 Fix a loop in c-set-fl-decl-start.
13283
7a71b18d 13284 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13285 c-backward-syntactic-ws actually moves backwards.
13286
142b4d90
LL
132872012-02-13 Leo Liu <sdl.web@gmail.com>
13288
13289 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13290 beginning so that all \C-o chars are removed.
13291
fa9958a6
TZ
132922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13293
dc9924b8 13294 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13295
0bc5886a
AM
132962012-02-12 Alan Mackenzie <acm@muc.de>
13297
13298 Fix infinite loop with long macros.
4d6769e1 13299 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13300
d4bd55e7
CY
133012012-02-12 Chong Yidong <cyd@gnu.org>
13302
13303 * window.el (display-buffer): Doc fix (Bug#10785).
13304
66f3fe22
GM
133052012-02-12 Glenn Morris <rgm@gnu.org>
13306
bd7da63e
GM
13307 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13308 (x-disown-selection-internal, x-get-selection-internal):
13309 Sync docs with the xselect.c versions.
13310
66f3fe22
GM
13311 * allout-widgets.el: Add missing license notice.
13312
3e0d2fa7
GM
133132012-02-11 Glenn Morris <rgm@gnu.org>
13314
cfecdf09
GM
13315 * select.el (x-get-selection-internal, x-own-selection-internal)
13316 (x-disown-selection-internal):
13317 * x-dnd.el (x-get-selection-internal): Update declarations.
13318
6d216d7f
GM
13319 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13320
2bed3f04
GM
13321 * window.el (window-sides-slots):
13322 * tool-bar.el (tool-bar-position):
13323 * term/xterm.el (xterm-extra-capabilities):
13324 * ses.el (ses-self-reference-early-detection):
13325 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13326 (verilog-auto-wire-type)
13327 (verilog-auto-delete-trailing-whitespace)
13328 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13329 (verilog-auto-tieoff-declaration):
13330 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13331 (sql-oracle-statement-starters, sql-oracle-scan-on):
13332 * progmodes/prolog.el (prolog-align-comments-flag)
13333 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13334 (prolog-left-indent-regexp, prolog-paren-indent-p)
13335 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13336 (prolog-types, prolog-mode-specificators)
13337 (prolog-determinism-specificators, prolog-directives)
13338 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13339 (prolog-electric-dot-flag)
13340 (prolog-electric-dot-full-predicate-template)
13341 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13342 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13343 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13344 (prolog-program-switches, prolog-prompt-regexp)
13345 (prolog-debug-on-string, prolog-debug-off-string)
13346 (prolog-trace-on-string, prolog-trace-off-string)
13347 (prolog-zip-on-string, prolog-zip-off-string)
13348 (prolog-use-standard-consult-compile-method-flag)
13349 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13350 (prolog-imenu-max-lines, prolog-info-predicate-index)
13351 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13352 (prolog-char-quote-workaround):
13353 * progmodes/cc-vars.el (c-defun-tactic):
13354 * net/tramp.el (tramp-encoding-command-interactive)
13355 (tramp-local-end-of-line):
13356 * net/soap-client.el (soap-client):
13357 * net/netrc.el (netrc-file):
13358 * net/gnutls.el (gnutls):
13359 * minibuffer.el (completion-category-overrides)
13360 (completion-cycle-threshold)
13361 (completion-pcm-complete-word-inserts-delimiters):
13362 * man.el (Man-name-local-regexp):
13363 * mail/feedmail.el (feedmail-display-full-frame):
13364 * international/characters.el (glyphless-char-display-control):
13365 * eshell/em-ls.el (eshell-ls-date-format):
13366 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13367 (lisp-lambda-list-keyword-parameter-indentation)
13368 (lisp-lambda-list-keyword-parameter-alignment):
13369 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13370 * dired-x.el (dired-omit-verbose):
13371 * cus-theme.el (custom-theme-allow-multiple-selections):
13372 * calc/calc.el (calc-highlight-selections-with-faces)
13373 (calc-lu-field-reference, calc-lu-power-reference)
13374 (calc-note-threshold):
13375 * battery.el (battery-mode-line-limit):
13376 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13377 (archive-7z-update):
13378 * allout.el (allout-prefixed-keybindings)
13379 (allout-unprefixed-keybindings)
13380 (allout-inhibit-auto-fill-on-headline)
13381 (allout-flattened-numbering-abbreviation):
13382 * allout-widgets.el (allout-widgets-auto-activation)
13383 (allout-widgets-icons-dark-subdir)
13384 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13385 (allout-widgets-theme-dark-background)
13386 (allout-widgets-theme-light-background)
13387 (allout-widgets-item-image-properties-emacs)
13388 (allout-widgets-item-image-properties-xemacs)
13389 (allout-widgets-run-unit-tests-on-load)
13390 (allout-widgets-time-decoration-activity)
13391 (allout-widgets-hook-error-post-time)
13392 (allout-widgets-track-decoration):
13393 Add missing :version tags to new defcustoms and defgroups.
13394
5fec1b8e
GM
13395 * progmodes/sql.el (sql-ansi-statement-starters)
13396 (sql-oracle-statement-starters): Add custom type.
13397
3e0d2fa7
GM
13398 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13399 (prolog-system-version): Give it a type.
13400
90b671e2
EZ
134012012-02-11 Eli Zaretskii <eliz@gnu.org>
13402
13403 * term/pc-win.el (x-select-text, x-selection-owner-p)
13404 (x-own-selection-internal, x-disown-selection-internal)
13405 (x-get-selection-internal): Sync doc strings and argument lists
13406 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13407
5eac0c02
LL
134082012-02-11 Leo Liu <sdl.web@gmail.com>
13409
13410 * progmodes/python.el (python-end-of-statement): Fix infinite
13411 loop. (Bug#10788)
13412
f82cb659
GM
134132012-02-10 Glenn Morris <rgm@gnu.org>
13414
13415 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13416 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13417
cc26d239
LI
134182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13419
13420 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13421 about SMTP before checking the From header.
13422
91027d08 13423 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13424 into own function for reuse by emacsbug.el.
13425
1be3ca5a
LL
134262012-02-10 Leo Liu <sdl.web@gmail.com>
13427
13428 * subr.el (condition-case-unless-debug): Rename from
13429 condition-case-no-debug. All callers changed.
13430 (with-demoted-errors): Fix caller.
13431
13432 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13433 * nxml/rng-valid.el (rng-do-some-validation):
13434 * emacs-lisp/package.el (package-refresh-contents)
13435 (package-menu-execute):
13436 * desktop.el (desktop-create-buffer):
91027d08 13437 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13438
b011fbfe
GM
134392012-02-10 Glenn Morris <rgm@gnu.org>
13440
b2096d72
GM
13441 * textmodes/bibtex.el:
13442 Add missing :version tags for new/changed defcustoms.
13443
b011fbfe
GM
13444 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13445
4c7e65bf
LI
134462012-02-09 Lars Ingebrigtsen <larsi@rusty>
13447
13448 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13449 (smtpmail-via-smtp): Use it, or fall back on the From address.
13450 (smtpmail-send-it): Ditto.
13451
f3934f6f
SM
134522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13455 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13456 (byte-compile-tmp-var): New const.
13457 (byte-compile-defvar): Use it to minimize .elc size.
13458 Just use `defvar' rather than simulate it (bug#10761).
13459
a075a2c5
GM
134602012-02-09 Glenn Morris <rgm@gnu.org>
13461
cf3aa21b
GM
13462 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13463
354998cd
GM
13464 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13465 Add :version tags.
13466
dc9924b8
SM
13467 * progmodes/compile.el (compilation-error-screen-columns)
13468 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13469
dab3703d
GM
13470 * vc/log-view.el (log-view-toggle-entry-display):
13471 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13472
3f88cd72
GM
13473 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13474 (report-emacs-bug-can-use-xdg-email):
13475 (report-emacs-bug-insert-to-mailer): Doc fixes.
13476 (report-emacs-bug): Message fix.
13477
d95b247d
GM
13478 * net/browse-url.el (browse-url-can-use-xdg-open)
13479 (browse-url-xdg-open): Doc fixes.
13480
a075a2c5
GM
13481 * electric.el (electric-indent-mode, electric-pair-mode)
13482 (electric-layout-rules, electric-layout-mode): Doc fixes.
13483 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13484
ffb6157e
MR
134852012-02-08 Martin Rudalics <rudalics@gmx.at>
13486
13487 * server.el (server-unselect-display): Don't inadvertently kill
13488 the current buffer. (Bug#10729)
13489
e1ac4066
GM
134902012-02-08 Glenn Morris <rgm@gnu.org>
13491
34e8a2da
GM
13492 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13493 (sql-list-table): Doc fixes.
13494
b4ac6e8c
GM
13495 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13496 Comment out (does nothing).
13497
e1ac4066
GM
13498 * completion.el (dynamic-completion-mode):
13499 * dirtrack.el (dirtrack-debug-mode):
13500 * electric.el (electric-layout-mode):
13501 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13502 * face-remap.el (text-scale-mode, buffer-face-mode):
13503 * iimage.el (iimage-mode):
13504 * image-mode.el (image-transform-mode):
13505 * minibuffer.el (completion-in-region-mode):
13506 * scroll-lock.el (scroll-lock-mode):
13507 * simple.el (next-error-follow-minor-mode):
13508 * tar-mode.el (tar-subfile-mode):
13509 * tooltip.el (tooltip-mode):
13510 * vcursor.el (vcursor-use-vcursor-map):
13511 * wid-browse.el (widget-minor-mode):
13512 * emulation/tpu-edt.el (tpu-edt-mode):
13513 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13514 * international/iso-ascii.el (iso-ascii-mode):
13515 * language/thai-util.el (thai-word-mode):
13516 * mail/supercite.el (sc-minor-mode):
13517 * net/goto-addr.el (goto-address-mode):
13518 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13519 * progmodes/cwarn.el (cwarn-mode):
13520 * progmodes/flymake.el (flymake-mode):
13521 * progmodes/glasses.el (glasses-mode):
13522 * progmodes/hideshow.el (hs-minor-mode):
13523 * progmodes/pascal.el (pascal-outline-mode):
13524 * textmodes/enriched.el (enriched-mode):
13525 * vc/smerge-mode.el (smerge-mode):
13526 Doc fixes (minor mode argument).
13527
5e0d957f
EZ
135282012-02-07 Eli Zaretskii <eliz@gnu.org>
13529
13530 * ls-lisp.el (ls-lisp-sanitize): New function.
13531 (ls-lisp-insert-directory): Use it to fix or remove any elements
13532 in file-alist with missing attributes. (Bug#4673)
13533
98d7371e
AM
135342012-02-07 Alan Mackenzie <acm@muc.de>
13535
13536 Fix spurious recognition of c-in-knr-argdecl.
13537
13538 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13539 putative K&R region.
13540
667ced3a
AM
135412012-02-07 Alan Mackenzie <acm@muc.de>
13542
eb864a71
LM
13543 * progmodes/cc-engine.el (c-forward-objc-directive):
13544 Prevent looping in "#pragma mark @implementation".
667ced3a 13545
5b77774d
MA
135462012-02-07 Michael Albinus <michael.albinus@gmx.de>
13547
13548 * notifications.el (notifications-on-closed-signal): Make `reason'
13549 optional. (Bug#10744)
13550
af008560
GM
135512012-02-07 Glenn Morris <rgm@gnu.org>
13552
60d47423
GM
13553 * emacs-lisp/easy-mmode.el (define-minor-mode):
13554 Doc fixes for the macro and the mode it defines.
13555
dd605cc4
GM
13556 * image.el (imagemagick-types-inhibit): Doc fix.
13557
af008560
GM
13558 * cus-start.el (imagemagick-render-type): Add it.
13559
5cc59a37
LI
135602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13561
4d6769e1
JB
13562 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13563 Set the default at load time, too, so that `font-lock-fontify-buffer'
13564 can be called without setting up the entire mode first. This fixes
13565 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13566
9a6dd747
CY
135672012-02-06 Chong Yidong <cyd@gnu.org>
13568
2d16b285
CY
13569 * simple.el (list-processes--refresh): Delete exited processes
13570 (Bug#8094).
13571
171e9b6e
CY
13572 * comint.el (comint-next-prompt): next-single-char-property-change
13573 and prev-single-char-property-change never return nil (Bug#8657).
13574
9a6dd747
CY
13575 * custom.el (defcustom): Doc fix (Bug#9711).
13576
aa4589a7
CY
135772012-02-05 Chong Yidong <cyd@gnu.org>
13578
5c2a252f
CY
13579 * cus-edit.el (custom-variable-reset-backup): Quote the value
13580 before storing it in the customized-value property (Bug#6712).
4aab9006 13581 (custom-display): Add a customization type tag.
983b9602 13582 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13583
aa4589a7
CY
13584 * wid-edit.el (widget-field-value-get): New optional arg to
13585 suppress trailing whitespace truncation.
13586 (character): Use it (Bug#2689).
13587
1ff980ae
AS
135882012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13589
13590 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13591 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13592
03988c98
CY
135932012-02-05 Chong Yidong <cyd@gnu.org>
13594
eeb6cc88
CY
13595 * cus-edit.el (custom-variable-value-create): For mismatched
13596 types, show the current value (Bug#7600).
13597
03988c98
CY
13598 * custom.el (defcustom): Doc fix.
13599
f8cdeef0
GM
136002012-02-05 Glenn Morris <rgm@gnu.org>
13601
13602 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13603
0696d255
JB
136042012-02-05 Juanma Barranquero <lekktu@gmail.com>
13605
13606 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13607 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13608 (pp-last-sexp): Use `looking-at-p'.
13609
34c99998
GM
136102012-02-04 Glenn Morris <rgm@gnu.org>
13611
8f05da42
GM
13612 * files.el (revert-buffer):
13613 Doc fix (mention revert-buffer-in-progress-p).
13614
f160676e
GM
13615 * emacs-lisp/ert-x.el (ert-simulate-command):
13616 Check deferred-action-list (which is obsolete) is bound.
13617
c7291ad9
GM
13618 * subr.el (with-wrapper-hook): Doc fixes.
13619
34c99998
GM
13620 * simple.el (filter-buffer-substring-functions)
13621 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13622
6283a7d3
LL
136232012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13624
13625 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13626 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13627
e96e3013
LL
136282012-02-04 Leo Liu <sdl.web@gmail.com>
13629
13630 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13631
8ded50f2
GM
136322012-02-04 Glenn Morris <rgm@gnu.org>
13633
82ff1d13
GM
13634 * image.el (image-extension-data): Add obsolete alias.
13635
987a0a16
GM
13636 * isearch.el (isearch-update): Doc fix.
13637
ea32ef46
GM
13638 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13639
8ded50f2
GM
13640 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13641
eea14f31
GM
136422012-02-03 Glenn Morris <rgm@gnu.org>
13643
13644 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13645 (image-animate-timeout): Doc fix.
13646
13647 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13648
12f381b7
GM
136492012-02-02 Glenn Morris <rgm@gnu.org>
13650
953cebf5
GM
13651 * server.el (server-auth-dir): Doc fix.
13652 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13653
12f381b7
GM
13654 * subr.el (run-mode-hooks): Doc fix.
13655
953a8c3b
JL
136562012-02-02 Juri Linkov <juri@jurta.org>
13657
13658 * image-mode.el (image-toggle-display-image): Remove tautological
13659 `major-mode' from the `derived-mode-p' test.
13660
c5d3843c
KH
136612012-02-02 Kenichi Handa <handa@m17n.org>
13662
9f6e692e 13663 * composite.el (compose-region): Cancel previous change.
c5d3843c 13664
159462d4 136652012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13666
13667 * composite.el (compose-region, compose-string): Signal error for
13668 a null string component (Bug#6988).
13669
9f562668
CY
136702012-02-01 Chong Yidong <cyd@gnu.org>
13671
e2cef717
CY
13672 * view.el (view-buffer-other-window, view-buffer-other-frame):
13673 Handle special modes like view-buffer (Bug#10650).
13674 (view-buffer): Simplify.
13675
9f562668
CY
13676 * frame.el (set-frame-font): Tweak meaning of third argument.
13677
9f6e692e
JB
13678 * dynamic-setting.el (font-setting-change-default-font):
13679 Use set-frame-font (Bug#9982).
9f562668 13680
781acb9f
GM
136812012-02-01 Glenn Morris <rgm@gnu.org>
13682
6035be52
GM
13683 * progmodes/compile.el (compilation-internal-error-properties):
13684 Respect compilation-first-column in the "*compilation*" buffer.
13685
781acb9f
GM
13686 * emacs-lisp/easy-mmode.el (define-minor-mode):
13687 Relax :variable's test for a named function.
13688
abbceb00
AM
136892012-01-31 Alan Mackenzie <acm@muc.de>
13690
13691 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13692 off by one error.
13693
fce3fdeb
CY
136942012-01-31 Chong Yidong <cyd@gnu.org>
13695
13696 * frame.el (set-frame-font): New arg ALL-FRAMES.
13697
13698 * menu-bar.el (menu-set-font): Use set-frame-font.
13699
13700 * faces.el (face-spec-reset-face): Don't apply unspecified
13701 attribute values to the default face.
13702
47893581
JB
137032012-01-31 Juanma Barranquero <lekktu@gmail.com>
13704
13705 * progmodes/cwarn.el (cwarn): Remove dead link.
13706 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13707 Remove * from defcustom docstrings.
13708 (turn-on-cwarn-mode): Make obsolete.
13709 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13710 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13711
e58e988a
GM
137122012-01-31 Glenn Morris <rgm@gnu.org>
13713
60dc2671 13714 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13715 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13716 Allow named functions to be used as the cdr of :variable.
e58e988a 13717
7a3f511d
GM
137182012-01-30 Glenn Morris <rgm@gnu.org>
13719
13720 * emacs-lisp/authors.el (authors-fixed-entries):
13721 Remove reference to deleted file rnewspost.el.
13722
cb882333
JB
137232012-01-29 Juanma Barranquero <lekktu@gmail.com>
13724
13725 * window.el (window-with-parameter): Remove unused variable `windows'.
13726 (window--side-check): Remove unused variable `code'.
13727 (window--resize-siblings): Remove unused variable `first'.
13728 (adjust-window-trailing-edge): Remove unused variable `failed'.
13729 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13730 Use `let', not `let*'.
13731 (balance-windows-2): Remove unused variable `found'.
13732 (window--state-put-2): Remove unused variable `splits'.
13733 (window-state-put): Remove unused variable `selected'.
13734 (same-window-p): Use `string-match-p'.
13735 (display-buffer-assq-regexp): Remove unused variable `value'.
13736 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13737 Mark argument ALIST as ignored.
13738 (pop-to-buffer): Remove unused variable `old-window'.
13739
907201af
EZ
137402012-01-29 Eli Zaretskii <eliz@gnu.org>
13741
13742 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13743 and .lzma compressed files.
13744
ea162670
CY
137452012-01-29 Chong Yidong <cyd@gnu.org>
13746
5b95ee8a
CY
13747 * frame.el (window-system-default-frame-alist): Doc fix.
13748
ea162670
CY
13749 * dynamic-setting.el (font-setting-change-default-font): Don't
13750 change the default face if SET-FONT argument is non-nil (Bug#9982).
13751
6fccd6e8 137522012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13753
13754 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13755
0f29fa41 137562012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13757
13758 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13759 breakpoints in files outside current directory (Bug#6098).
13760
db174434
CY
137612012-01-29 Chong Yidong <cyd@gnu.org>
13762
6b25e4e2
SE
13763 * progmodes/python.el: Require ansi-color at top-level.
13764
6df6ae42
JB
13765 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13766 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13767 (lisp-mode-abbrev-table): Add doc.
13768 (lisp-mode-variables): Don't set local-abbrev-table.
13769 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13770
e70ee681
RW
137712012-01-28 Roland Winkler <winkler@gnu.org>
13772
13773 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13774
ace88aa2
RW
137752012-01-28 Roland Winkler <winkler@gnu.org>
13776
13777 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13778 (bibtex-set-dialect): Use it. Either set global values of
13779 dialect-dependent variables or bind these variables buffer-locally
13780 (Bug#10254).
13781 (bibtex-mode): Call bibtex-set-dialect via
13782 hack-local-variables-hook.
eb864a71
LM
13783 (bibtex-dialect): Update docstring.
13784 Add safe-local-variable predicate.
ace88aa2
RW
13785 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13786 bibtex-set-dialect.
13787 (bibtex-mode-map): Define menu for each dialect.
13788 (bibtex-entry): Fix docstring.
13789
93376c5b
CY
137902012-01-28 Chong Yidong <cyd@gnu.org>
13791
13792 * eshell/esh-arg.el (eshell-quote-argument): New function.
13793
13794 * eshell/esh-ext.el (eshell-invoke-batch-file):
13795 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13796 first arg to eshell-parse-command (Bug#10523).
13797
4372494f
DA
137982012-01-28 Drew Adams <drew.adams@oracle.com>
13799
13800 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13801 `default-directory' is non-nil.
13802
4d4ec1f8
EZ
138032012-01-28 Eli Zaretskii <eliz@gnu.org>
13804
13805 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13806 line that displays system-configuration-options. (Bug#9924)
13807
7c188927
DA
138082012-01-28 Drew Adams <drew.adams@oracle.com>
13809
13810 * descr-text.el (describe-char): Show information about POS, in
13811 addition to information about the character at POS. Improve and
13812 update the doc string. Change "code point" to "code point in
13813 charset", to avoid confusion with the character's Unicode code
13814 point shown above that. (Bug#10129)
13815
e0da685a
EZ
138162012-01-28 Eli Zaretskii <eliz@gnu.org>
13817
13818 * descr-text.el (describe-char): Show the raw character, not only
13819 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13820 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13821 for the reasons.
13822
70550acf
PH
138232012-01-28 Phil Hagelberg <phil@hagelb.org>
13824
eb864a71
LM
13825 * emacs-lisp/package.el (package-install):
13826 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13827
0ce8e868
CY
138282012-01-28 Chong Yidong <cyd@gnu.org>
13829
cb882333
JB
13830 * emacs-lisp/package.el (package-maybe-load-descriptor):
13831 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13832 (package-maybe-load-descriptor): Use it.
13833 (package-download-transaction): Fully load required packages
13834 inside the loop, so that `require' calls work (Bug#10593).
13835 (package-install): No need to call package-initialize now.
13836
2e7f3bea
CY
138372012-01-28 Chong Yidong <cyd@gnu.org>
13838
6e9bad14
CY
13839 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13840
f823b8ca
CY
13841 * tooltip.el (tooltip-mode): Doc fix.
13842 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13843
2680c309
CY
13844 * frame.el (set-cursor-color): Doc fix (Bug#352).
13845
d7a9e63b
CY
13846 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13847 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13848
2e7f3bea
CY
13849 * cus-edit.el (custom-buffer-create-internal): Fix search button
13850 action (Bug#10542).
2ae01800 13851 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13852
fc4f7a23
EW
138532012-01-27 Eduard Wiebe <usenet@pusto.de>
13854
13855 * dired.el (dired-mark-files-regexp):
13856 Include any subdirectory components. (Bug#10445)
13857
7dd37071
ML
138582012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13859
13860 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13861 Handle [host]:port syntax. (Bug#10533)
13862
a268160b
AH
138632012-01-27 Alex Harsanyi <harsanyi@mac.com>
13864
13865 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13866
e43273ef
GM
138672012-01-26 Glenn Morris <rgm@gnu.org>
13868
13869 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13870 * term.el (term-raw-escape-map): Use Control-X-prefix.
13871 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13872
1edf595d
MR
138732012-01-25 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (window-state-get, window--state-get-1): Don't deal
13876 with fixed-sizeness of windows. Simplify code.
13877
fa8eafef
JC
138782012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13879
6df6ae42
JB
13880 * window.el (window--state-get-1, window--state-put-2):
13881 Don't save and restore the mark.
fa8eafef 13882
0b21c100
CY
138832012-01-25 Chong Yidong <cyd@gnu.org>
13884
13885 * custom.el (custom-variable-p): Doc fix.
13886
5ae1a6c8
GM
138872012-01-25 Glenn Morris <rgm@gnu.org>
13888
40047858
GM
13889 * dired.el (dired-goto-file): Handle some of the more common
13890 characters that `ls -b' escapes. (Bug#10596)
13891
5ddce96c
GM
13892 * progmodes/compile.el (compilation-next-error-function):
13893 Respect compilation-first-column in the "*compilation*" buffer.
13894 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13895
5ae1a6c8
GM
13896 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13897
b559f1a9
GM
138982012-01-24 Glenn Morris <rgm@gnu.org>
13899
13900 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13901
6725d21a
JD
139022012-01-24 Julien Danjou <julien@danjou.info>
13903
13904 * color.el (color-rgb-to-hsl): Fix value computing.
13905 (color-hue-to-rgb): New function.
13906 (color-hsl-to-rgb): New function.
13907 (color-clamp, color-saturate-hsl, color-saturate-name)
13908 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13909 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13910
70df4bbe
GM
139112012-01-24 Glenn Morris <rgm@gnu.org>
13912
13913 * vc/vc-rcs.el (vc-rcs-create-tag):
13914 * vc/vc-sccs.el (vc-sccs-create-tag):
13915 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13916
802a2ae2
ML
139172012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13918
13919 * eshell/esh-util.el (eshell-read-hosts-file):
13920 Skip comment lines. (Bug#10549)
13921
d7128bb1
ML
13922 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13923
d1a5c3b4
JB
139242012-01-23 Juanma Barranquero <lekktu@gmail.com>
13925
2724d9c7
JB
13926 * subr.el (display-delayed-warnings): Doc fix.
13927 (collapse-delayed-warnings): New function to collapse identical
13928 adjacent warnings.
13929 (delayed-warnings-hook): Add it.
d1a5c3b4 13930
a5509865
MA
139312012-01-22 Michael Albinus <michael.albinus@gmx.de>
13932
13933 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13934
a5509865
MA
13935 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13936 (tramp-default-user-alist): Don't add "pscp".
13937 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13938 property "login-as", if set. (Bug#10530)
13939
cc6d5805
MA
139402012-01-21 Michael Albinus <michael.albinus@gmx.de>
13941
13942 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13943 "plink1" and "psftp". (Bug#10530)
13944
139452012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13946
13947 * international/mule-cmds.el (prefer-coding-system): Show a
13948 warning message if the default value of file-name-coding-system
13949 was not changed.
13950
f0960428
JC
139512012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13952
cb882333
JB
13953 * windmove.el (windmove-reference-loc):
13954 Fix windmove-reference-loc miscalculation.
f0960428 13955
dd6f2a63
JB
139562012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13957
13958 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13959 default unit.
13960
7b447e9b
GM
139612012-01-21 Glenn Morris <rgm@gnu.org>
13962
117a9ea1
GM
13963 * international/mule.el (auto-coding-alist): Add .tbz.
13964
7b447e9b
GM
13965 * files.el (local-enable-local-variables): Doc fix.
13966 (inhibit-local-variables-regexps): Rename from
13967 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13968 Doc fix. Add some extensions from auto-coding-alist.
13969 (inhibit-local-variables-suffixes):
13970 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13971 (inhibit-local-variables-p):
13972 New function, extracted from set-auto-mode-1.
13973 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13974 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13975 (hack-local-variables): Doc fix. Make the mode-only case
13976 respect enable-local-variables and friends.
13977 Respect inhibit-local-variables-regexps for file-locals, but
13978 not for directory-locals.
13979 (set-visited-file-name):
13980 Take account of inhibit-local-variables-regexps.
13981 Whether it applies may change as the file name is changed.
13982 * jka-cmpr-hook.el (jka-compr-install):
13983 * jka-compr.el (jka-compr-uninstall):
13984 Update for inhibit-first-line-modes-suffixes name change.
13985
dd6e3cdd
MR
139862012-01-20 Martin Rudalics <rudalics@gmx.at>
13987
13988 * help-macro.el (make-help-screen): Temporarily restore original
13989 binding for minor-mode-map-alist (Bug#10454).
13990
0d0deb38
JD
139912012-01-19 Julien Danjou <julien@danjou.info>
13992
13993 * color.el (color-name-to-rgb): Use the white color to find the max
13994 color component value and return correctly computed values.
13995 (color-name-to-rgb): Add missing float conversion for max value.
13996
34a02f46
MR
139972012-01-19 Martin Rudalics <rudalics@gmx.at>
13998
13999 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
14000 special state value for window-persistent-parameters.
14001 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
14002 (window--state-put-2): Reset all window parameters to nil before
14003 assigning values of persistent parameters.
14004
606c44c4
AM
140052012-01-18 Alan Mackenzie <acm@muc.de>
14006
14007 Eliminate sluggishness and hangs in fontification of "semicolon
14008 deserts".
14009
cb882333
JB
14010 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14011 Change value 10000 -> 3000.
606c44c4
AM
14012 (c-state-safe-place): Reformulate so it doesn't stack up an
14013 infinite number of wrong entries in c-state-nonlit-pos-cache.
14014 (c-determine-limit-get-base, c-determine-limit): New functions to
14015 determine backward search limits disregarding literals.
14016 (c-find-decl-spots): Amend commenting.
14017 (c-cheap-inside-bracelist-p): New function which detects "={".
14018
14019 * progmodes/cc-fonts.el
14020 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14021 backward search.
14022 (c-font-lock-declarations): Fix an occurrence of point being
14023 undefined. Check additionally for point being in a bracelist or
14024 near a macro invocation without a semicolon so as to avoid a
14025 fruitless time consuming search for a declarator. Give a more
14026 precise search limit for declarators using the new
14027 c-determine-limit.
14028
f3860cea
GM
140292012-01-18 Glenn Morris <rgm@gnu.org>
14030
14031 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14032 (set-auto-mode): Doc fixes.
14033
1db03b16
GM
140342012-01-17 Glenn Morris <rgm@gnu.org>
14035
0e6038be
GM
14036 * isearch.el (search-nonincremental-instead): Fix doc typo.
14037
1db03b16
GM
14038 * dired.el (dired-insert-directory): Handle newlines in directory name.
14039 (dired-build-subdir-alist): Unescape newlines in directory name.
14040
4cb0aa75
MA
140412012-01-17 Michael Albinus <michael.albinus@gmx.de>
14042
14043 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14044 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14045 (tramp-action-terminal): Use it. (Bug#10530)
14046
1d00653d
SM
140472012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14050
6a6ee00d
MR
140512012-01-16 Martin Rudalics <rudalics@gmx.at>
14052
14053 * window.el (window-state-ignored-parameters): Remove variable.
14054 (window--state-get-1): Rename argument MARKERS to IGNORE.
14055 Handle persistent window parameters. Make copy of clone-of
14056 parameter only if requested. (Bug#10348)
14057 (window--state-put-2): Install a window parameter only if it has
14058 a non-nil value or an existing parameter shall be overwritten.
14059
97912def
MA
140602012-01-15 Michael Albinus <michael.albinus@gmx.de>
14061
14062 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14063
688070a5
EZ
140642012-01-14 Eli Zaretskii <eliz@gnu.org>
14065
14066 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14067 don't pass the (nil) value of `upnode' to string-match.
14068
301afadc
CY
140692012-01-14 Chong Yidong <cyd@gnu.org>
14070
14071 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 14072 Fix values recognized by the cursorBlink resource.
301afadc 14073
9e5788aa
PE
140742012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14075
14076 * epg.el (epg--make-temp-file): Avoid permission race condition
14077 when running on old Emacs versions (bug#10403).
14078
3cdb7f5a
GM
140792012-01-14 Glenn Morris <rgm@gnu.org>
14080
14081 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14082
8c82b1b4
AM
140832012-01-13 Alan Mackenzie <acm@muc.de>
14084
14085 Fix filling for when filladapt mode is enabled.
14086
14087 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14088 c-mask-paragraph, pass in `fill-paragraph' rather than
14089 `fill-region-as-paragraph'. (This is a reversion of a previous
14090 change.)
eb864a71
LM
14091 * progmodes/cc-mode.el (c-basic-common-init):
14092 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 14093
e517eda4
GM
140942012-01-13 Glenn Morris <rgm@gnu.org>
14095
1498536e
GM
14096 * dired.el (dired-switches-escape-p): New function.
14097 (dired-insert-directory): Use dired-switches-escape-p.
14098 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14099
e517eda4
GM
14100 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14101
328f984d
GM
141022012-01-12 Glenn Morris <rgm@gnu.org>
14103
14104 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14105 changes in adaptive-fill-regexp. (Bug#10276)
14106
2cc769a8
AM
141072012-01-11 Alan Mackenzie <acm@muc.de>
14108
14109 Fix Emacs bug #10463 - put `widen's around the critical spots.
14110
1d00653d 14111 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14112 widen around each invocation of c-state-pp-to-literal. Remove an
14113 unused let variable.
14114
e52c37fa
GM
141152012-01-11 Glenn Morris <rgm@gnu.org>
14116
14117 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14118 Doc fix.
e52c37fa 14119
96f8741e
CY
141202012-01-10 Chong Yidong <cyd@gnu.org>
14121
1d00653d
SM
14122 * net/network-stream.el (network-stream-open-starttls):
14123 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14124 response to the capability command.
14125
b09a806e
GM
141262012-01-10 Glenn Morris <rgm@gnu.org>
14127
14128 * mail/unrmail.el (unrmail): Tweak previous change.
14129
7655cb66
CY
141302012-01-09 Chong Yidong <cyd@gnu.org>
14131
14132 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14133
9d5a8f0b
AM
141342012-01-08 Alan Mackenzie <acm@muc.de>
14135
677d5c92 14136 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14137
14138 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14139 arm to a cond form to handle enums.
14140 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14141 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14142
9a0115ab 141432012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14144
14145 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14146 (Bug#10401)
6bb72cbd 14147
f186bb95
LMI
141482012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14149
29232a68
LMI
14150 * faces.el (set-face-attribute): Clarify the meaning of the nil
14151 frame (bug#10294).
14152
4e5d086d
LMI
14153 * subr.el (with-selected-frame): Mention that the selected frame
14154 is restored (bug#9980).
14155
8e66aebe
LMI
14156 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14157 (bug#9759).
14158
cd394be1 14159 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14160 (password-read): Don't autoload unused function.
14161
adf4e762
JB
141622012-01-07 Juanma Barranquero <lekktu@gmail.com>
14163
14164 * progmodes/which-func.el (which-func-mode): Turn into a
14165 non-interactive function and mark as obsolete (bug#10428).
14166
89bd9ccd
CY
141672012-01-06 Chong Yidong <cyd@gnu.org>
14168
14169 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14170 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14171 functions, along with 1 and -1.
14172
4afee9d5
EZ
141732012-01-06 Eli Zaretskii <eliz@gnu.org>
14174
14175 * time.el (display-time-load-average)
14176 (display-time-default-load-average): Doc fixes. See the thread
14177 starting at
14178 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14179 for the details.
14180
536aea70
GM
141812012-01-06 Glenn Morris <rgm@gnu.org>
14182
665ae865
GM
14183 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14184 has no messages. (Bug#10377)
14185
c869783d
GM
14186 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14187 than Info-edit. (Bug#10385)
14188
2bb4227e
GM
14189 * time.el (display-time-load-average, display-time-next-load-average):
14190 Doc fixes.
14191
7d5944b9
GM
14192 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14193 local setting of buffer-read-only to the input buffer. (Bug#10419)
14194
536aea70
GM
14195 * calendar/calendar.el (calendar-mode):
14196 Locally set scroll-margin to 0. (Bug#10379)
14197
7dccca16
UM
141982012-01-06 Ulrich Mueller <ulm@gentoo.org>
14199
14200 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14201
afbb7930
GM
142022012-01-05 Glenn Morris <rgm@gnu.org>
14203
14204 * eshell/em-unix.el (diff-no-select): Autoload it.
14205 (eshell/diff): Use diff-no-select. (Bug#10420)
14206
04482335
CY
142072012-01-05 Chong Yidong <cyd@gnu.org>
14208
7baca3bc
CY
14209 * shell.el (shell-dynamic-complete-functions): Revert last change.
14210 (shell-command-completion-function): New function.
14211 (shell-completion-vars): Use it to implement
14212 shell-completion-execonly (Bug#10417).
14213
04482335
CY
14214 * custom.el (enable-theme): Don't set custom-safe-themes.
14215
1d00653d
SM
14216 * cus-theme.el (custom-theme-merge-theme):
14217 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14218
bb5aa5d6
MM
142192012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14220
14221 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14222 first prompt in `sql-interacive-mode'.
14223 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14224 keywords.
6df6ae42 14225 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14226 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14227 context of original buffer. Invoke `sql-login-hook'.
14228
a7183d7c
EZ
142292012-01-04 Eli Zaretskii <eliz@gnu.org>
14230
14231 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14232 letters in cite-prefix.
14233
a1eacd1e
LMI
142342012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14235
14236 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14237
787cdb34
CY
142382012-01-03 Chong Yidong <cyd@gnu.org>
14239
1d00653d
SM
14240 * shell.el (shell-dynamic-complete-functions):
14241 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14242 comint-filename-completion first (Bug#10417).
14243
30710442
RS
142442012-01-02 Richard Stallman <rms@gnu.org>
14245
14246 * battery.el (battery-status-function):
14247 Detect when to use battery-yeeloong-sysfs.
14248 (battery-echo-area-format): Add string for Yeeloong.
14249 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14250 (battery-yeeloong-sysfs): New function.
14251
f75bfc33
CY
142522012-01-02 Chong Yidong <cyd@gnu.org>
14253
14254 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14255 (dirtrack): Merge code for handling relative filenames in prompt
14256 from shell-dir-cookie-watcher.
14257 (dirtrack-debug-message): New arg to avoid excess format calls.
14258
14259 * shell.el (shell-dir-cookie-re): Variable deleted.
14260 (shell-dir-cookie-watcher): Function deleted.
14261 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14262 with dirtrack-mode.
14263
651e947e
EZ
142642012-01-01 Eli Zaretskii <eliz@gnu.org>
14265
1d00653d
SM
14266 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14267 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14268 libgnutls-26.dll.
14269
94d4c7dc
AS
142702011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14271
14272 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14273
8d43f3cd
EZ
142742011-12-31 Eli Zaretskii <eliz@gnu.org>
14275
14276 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14277 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14278
98c8795a
MA
142792011-12-29 Michael Albinus <michael.albinus@gmx.de>
14280
14281 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14282 also for alternative shells.
14283 (tramp-open-connection-setup-interactive-shell): Check, whether
14284 the shell is a busybox.
14285 (tramp-send-command): Don't suppress multiple prompts for
14286 busyboxes, it hurts.
14287
51281b32
CY
142882011-12-28 Chong Yidong <cyd@gnu.org>
14289
14290 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14291 (gdb-get-source-file): Move mode line update to
14292 gdb-get-source-file (Bug#10087).
14293
2170cb53
CY
142942011-12-25 Chong Yidong <cyd@gnu.org>
14295
14296 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14297 gud-gdb-marker-filter without taking it as an argument.
14298 (gud-gdb-run-command-fetch-lines): Caller changed.
14299 (gud-gdb-completion-function): New variable.
14300 (gud-gdb-completion-at-point): Use it.
14301 (gud-gdb-completions-1): Split from gud-gdb-completions.
14302
14303 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14304 function as separate arguments.
14305 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14306 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14307 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14308 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14309 (gdb-stopped, def-gdb-auto-update-trigger)
14310 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14311 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14312 Callers changed.
2170cb53
CY
14313 (gud-gdbmi-completions): New function.
14314 (gdb): Use it for generating the completion table.
14315
be8b11bb
AM
143162011-12-24 Alan Mackenzie <acm@muc.de>
14317
14318 Introduce a mechanism to widen the region used in context font
1d00653d 14319 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14320
1d00653d
SM
14321 * progmodes/cc-langs.el (c-before-font-lock-functions):
14322 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14323 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14324 functions to be run just before context (etc.) font locking.
14325
14326 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14327 New, functionality extracted from
be8b11bb 14328 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14329 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14330 (c-after-change): Set c-in-after-change-fontification.
14331 (c-set-fl-decl-start): Rejig its interface, so it can be called
14332 from both after-change and context fontifying.
b81d40f0
JB
14333 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14334 New functions.
14335 (c-standard-font-lock-fontify-region-function): New variable.
14336 (c-font-lock-fontify-region): New function.
be8b11bb 14337
341cf6ac
JL
143382011-12-24 Juri Linkov <juri@jurta.org>
14339
14340 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14341 (Bug#10348)
14342
bffcee0a
MA
143432011-12-23 Michael Albinus <michael.albinus@gmx.de>
14344
14345 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14346 existence of source file. (Bug#10325)
14347
cb5e207c
AM
143482011-12-23 Alan Mackenzie <acm@muc.de>
14349
14350 Fix unstable fontification inside templates.
14351
b81d40f0
JB
14352 * progmodes/cc-langs.el (c-before-font-lock-functions):
14353 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14354 additionally has c-set-fl-decl-start. The other languages (apart
14355 from AWK) have that as a single entry.
14356
b81d40f0
JB
14357 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14358 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14359 c-set-fl-decl-start.
14360
b81d40f0
JB
14361 * progmodes/cc-mode.el (c-common-init, c-after-change):
14362 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14363 (c-set-fl-decl-start): New function, extracted from
14364 c-font-lock-enclosing-decls and enhanced.
14365
60ff536c
JB
143662011-12-23 Juanma Barranquero <lekktu@gmail.com>
14367
14368 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14369
1c4757d6
JL
143702011-12-22 Juri Linkov <juri@jurta.org>
14371
14372 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14373
d031f2c7
CY
143742011-12-22 Chong Yidong <cyd@gnu.org>
14375
14376 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14377
bace743a
DA
143782011-12-21 Drew Adams <drew.adams@oracle.com>
14379
14380 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14381
728a1f2b
JC
143822011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14383
14384 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14385
0d373f73
TZ
143862011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14387
fec0aaa4
TZ
14388 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14389 highlighting and support. Fix up comments for capitalization.
14390 (cfengine-mode-debug): New var.
14391 (cfengine3-mode): Change the modeline indicator to "CFE3".
14392 (cfengine3-font-lock-keywords): Improve defun highlighting.
14393 (cfengine2-actions): Rename from `cfengine-actions'.
14394 (cfengine2-font-lock-keywords): Rename from
14395 `cfengine-font-lock-keywords'.
14396 (cfengine2-imenu-expression): Rename from
14397 `cfengine-imenu-expression'.
14398 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14399 (cfengine2-beginning-of-defun): Rename from
14400 `cfengine-beginning-of-defun'.
14401 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14402 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14403 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14404 modeline indicator to "CFE2".
14405 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14406 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14407
bc86f573
CY
144082011-12-21 Chong Yidong <cyd@gnu.org>
14409
14410 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14411 filename argument.
14412
d45ba96b
MR
144132011-12-20 Martin Rudalics <rudalics@gmx.at>
14414
14415 * window.el (window-normalize-buffer-to-display): Remove.
14416 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14417
a6198c90
CY
144182011-12-19 Chong Yidong <cyd@gnu.org>
14419
14420 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14421 Don't signal an error in a predicate function; return non-nil.
14422 (vc-dir-mark-file): Move the error here.
14423 (vc-dir-mark-unmark): If acting on the region, keep going if one
14424 of the entries cannot be marked/unmarked.
14425 (vc-dir-mark-all-files): If current entry is a directory, mark
14426 only child files, as documented.
14427
34c5fb55
VB
144282011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14429
14430 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14431 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14432 addition.
14433
c803b2b7
JD
144342011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14435
14436 * term/ns-win.el (ns-get-selection-internal)
14437 (ns-store-selection-internal): Declare.
1154d12e
JB
14438 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14439 Declare as obsolete.
14440 (ns-get-pasteboard, ns-paste-secondary):
14441 Use ns-get-selection-internal.
41e9b956 14442 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14443 Use ns-store-selection-internal.
c803b2b7 14444
9cff91f8 144452011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14446
14447 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14448 (vc-deduce-fileset): Doc fix.
99a289d9 14449
f16c898a
AS
144502011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14451
14452 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14453
763237c4
SS
144542011-12-13 Sam Steingold <sds@gnu.org>
14455
14456 * man.el (Man-getpage-in-background): When running under a
14457 window-system, ignore $MANWIDTH and $COLUMNS.
14458
5fc1c122
KH
144592011-12-15 Kenichi Handa <handa@m17n.org>
14460
14461 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14462 (setup-ethiopic-environment-internal): Comment out key-binding for
14463 ethio-toggle-punctuation.
14464
13d49cbb
AM
144652011-12-13 Alan Mackenzie <acm@muc.de>
14466
898169a2
AM
14467 Add the switch statement to AWK Mode.
14468
7a71b18d 14469 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14470 "default" to the keywords regexp.
14471
7a71b18d 14472 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14473 expression as the rest.
1d00653d
SM
14474 (c-nonlabel-token-key): Allow string literals for AWK.
14475 Refactor for the other modes.
898169a2 14476
13d49cbb 14477 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14478 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14479 routines. Limit backward searching in c-font-lock-enclosing.decl.
14480
14481 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14482 pp-state and literal type in addition to the limits.
1d00653d 14483 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14484 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14485 (c-slow-in-literal, c-fast-in-literal): Remove.
14486 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14487
14488 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14489 being in a literal. Add a limit for backward searching.
14490
14491 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14492 c-slow-in-literal.
14493
15e0efc7
SM
144942011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14497
454592a6
MR
144982011-12-13 Martin Rudalics <rudalics@gmx.at>
14499
14500 * window.el (delete-other-windows): Use correct frame in call to
14501 window-with-parameter.
14502
87393f26
DP
145032011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14504
14505 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14506 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14507 (makefile-gmake-statements, makefile-makepp-statements):
14508 Use it and add new makepp keywords.
14509 (makefile-makepp-font-lock-keywords): Add new patterns.
14510 (makefile-match-function-end): Match new [...] and [[...]].
14511
11636b22
JB
145122011-12-11 Juanma Barranquero <lekktu@gmail.com>
14513
14514 * ses.el (ses-call-printer-return, ses-cell-property-get)
14515 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14516 (ses-create-cell-variable, ses-reset-header-string)
14517 (ses-cell-set-formula, ses-repair-cell-reference-all)
14518 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14519 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14520 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14521 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14522 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14523 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14524 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14525 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14526 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14527 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14528 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14529 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14530
cf018193
VB
145312011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14532
14533 * ses.el: The overall change is to add cell renaming, that is
14534 setting fancy names for cell symbols other than name matching
14535 "\\`[A-Z]+[0-9]+\\'" regexp .
14536 (ses-create-cell-variable): New defun.
14537 (ses-relocate-formula): Relocate formulas only for cells the
14538 symbols of which are not renamed, i.e. symbols whose names do not
14539 match regexp "\\`[A-Z]+[0-9]+\\'".
14540 (ses-relocate-all): Relocate values only for cells the symbols of
14541 which are not renamed.
14542 (ses-load): Create cells variables as the (ses-cell ...) are read,
14543 in order to check row col consistency with cell symbol name only
14544 for cells that are not renamed.
14545 (ses-replace-name-in-formula): New defun.
14546 (ses-rename-cell): New defun.
14547
ee957461
CY
145482011-12-11 Chong Yidong <cyd@gnu.org>
14549
14550 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14551 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14552
9a9e9ef0
MR
145532011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14554
14555 * window.el (other-window): Fix docstring.
14556
92a8eba5
EZ
145572011-12-10 Eli Zaretskii <eliz@gnu.org>
14558
14559 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14560 `from' or `to' address before taking its substring.
14561 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14562 encoded name is chopped in the middle of the encoded string, and
14563 thus displayed encoded.
14564
e152e577
JB
145652011-12-10 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14568
e5d84bfe
EZ
145692011-12-10 Eli Zaretskii <eliz@gnu.org>
14570
14571 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14572 to use texinfo-update-node and commands that call it if the
14573 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14574 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14575 (texinfo-all-menus-update, texinfo-master-menu)
14576 (texinfo-update-node, texinfo-every-node-update)
14577 (texinfo-multiple-files-update): Doc fix. Warn against updating
14578 all the @node lines.
14579 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14580 argument is numeric. Explain better in the doc string what the
14581 function really does.
14582 (texinfo-insert-master-menu-list): Improve the error message
14583 displayed if there's no menu in the Top node.
14584 (Bug#2975) See also this thread:
e5d84bfe
EZ
14585 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14586
1d84e9bb
MG
145872011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14588
14589 * speedbar.el (speedbar-supported-extension-expressions):
14590 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14591
382c953b
JB
145922011-12-09 Juanma Barranquero <lekktu@gmail.com>
14593
14594 * printing.el (pr-mode-alist):
14595 * simple.el (filter-buffer-substring-functions)
14596 (completion-list-insert-choice-function):
14597 * window.el (window-with-parameter, window-atom-root)
14598 (window-sides-slots, window-size-fixed, window-min-delta)
14599 (window-max-delta, window--resize-mini-window)
14600 (window--resize-child-windows-normal, window-tree)
14601 (delete-other-windows, quit-window, split-window)
14602 (display-buffer-record-window, special-display-buffer-names)
14603 (special-display-regexps, special-display-popup-frame)
14604 (same-window-p, split-window-sensibly)
14605 (display-buffer-overriding-action, display-buffer-alist)
14606 (display-buffer-base-action, display-buffer, switch-to-buffer)
14607 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14608 (fit-window-to-buffer, recenter-positions)
14609 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14610 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14611 and remove unneeded backslashes in docstrings.
14612
39c9faef
SM
146132011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14614
98449af8
SM
14615 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14616
39c9faef
SM
14617 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14618 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14619 end in ".mk".
14620 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14621 when reading the makefile (bug#10116).
14622
86ed9fdc
SM
146232011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14626 (bug#10116).
14627
5580f89d
GM
146282011-12-06 Glenn Morris <rgm@gnu.org>
14629
14630 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14631
28d3917c
CY
146322011-12-06 Chong Yidong <cyd@gnu.org>
14633
14634 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14635
a98edce9
JB
146362011-12-06 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * textmodes/table.el (table-shorten-cell): Fix typo.
14639
e65adfac
CG
146402011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14641
14642 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14643
71cc0b74
EZ
146442011-12-05 Eli Zaretskii <eliz@gnu.org>
14645
14646 * descr-text.el (describe-char): Fix display of strong
14647 right-to-left characters and directional embeddings and overrides.
14648
14649 * simple.el (what-cursor-position): Fix display of codepoints of
14650 strong right-to-left characters.
14651
315bc30d
CY
146522011-12-05 Chong Yidong <cyd@gnu.org>
14653
14654 * faces.el (read-color): Doc fix.
14655
58a70b94
GM
146562011-12-05 Glenn Morris <rgm@gnu.org>
14657
14658 * align.el (align--set-marker): Add doc-string.
14659 Don't try to move something that is not a marker. (Bug#10216)
14660
5158face
GM
146612011-12-04 Glenn Morris <rgm@gnu.org>
14662
14663 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14664 overly zealous deletion of trailing whitespace.
14665
520fca41
JB
146662011-12-04 Juanma Barranquero <lekktu@gmail.com>
14667
14668 * server.el (server-delete-client): On Windows, do not try to delete
14669 the only terminal.
14670 (server-process-filter): On Windows, treat requests for a tty frame as
14671 if they were for a GUI frame if the running server is in GUI mode.
14672
5e605a2e
GM
146732011-12-03 Glenn Morris <rgm@gnu.org>
14674
14675 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14676
5c3fe83f
SM
146772011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14678
6f5e57e7
SM
14679 * electric.el: Streamline electric-indent's hook.
14680 (electric-indent-chars): Revert to simple list.
14681 (electric-indent-functions): New var.
14682 (electric-indent-post-self-insert-function): Use it.
14683
5c3fe83f
SM
14684 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14685 there's no inferior buffer (bug#10196).
14686 (prolog-consult-compile): Don't use toggle-read-only.
14687
6bdac736
MA
146882011-12-02 Michael Albinus <michael.albinus@gmx.de>
14689
14690 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14691 interrupt. (Bug#10187)
14692
6131ba7f
SM
146932011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14694
99c79fee
SM
14695 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14696 (bug#9160).
14697
6131ba7f
SM
14698 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14699 (bug#10191).
14700
cb0a02ea
JL
147012011-12-02 Juri Linkov <juri@jurta.org>
14702
14703 * info.el (Info-search): Display "end of manual" when Isearch
14704 reaches the end of single-file Info manual. (Bug#9918)
14705
66e0570c
EZ
147062011-12-02 Eli Zaretskii <eliz@gnu.org>
14707
14708 * isearch.el (isearch-message-prefix): Run the input method part
14709 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14710
02b16839
JL
147112011-12-02 Juri Linkov <juri@jurta.org>
14712
14713 * isearch.el (isearch-occur): Use `word-search-regexp' for
14714 `isearch-word'.
14715 (isearch-search-and-update): Add condition for `isearch-word' and
14716 call `word-search-regexp'. (Bug#10145)
14717
0b950688
GM
147182011-12-01 Glenn Morris <rgm@gnu.org>
14719
14720 * eshell/em-hist.el (eshell-hist-initialize):
14721 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14722 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14723
9505c3c7
SM
147242011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14727
1bbe96b2 147282011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14729
a1beca85
SM
14730 * progmodes/verilog-mode.el (verilog-pretty-expr):
14731 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14732 verilog, such as += *= and the like.
14733 (verilog-assignment-operator-re): Regular expression to find the
14734 assigment operator in a verilog assignment.
14735 (verilog-assignment-operation-re): Regular expression to find an
14736 assignment statement for pretty-expr.
14737 (verilog-in-attribute-p): Query returns true if point is in an
14738 attribute context; used to skip these for expression line up from
14739 pretty-expr.
14740 (verilog-in-parameter-p): Query returns true if point is in an
14741 parameter definition context; used to skip these for expression
14742 line up from pretty-expr.
14743 (verilog-in-parenthesis-p): Query returns true if point is in a
14744 parenthetical expression, specifically ( ) but not [ ] or { };
14745 used by pretty-expr.
14746 (verilog-just-one-space): If there is no space, don't add one.
14747 (verilog-get-lineup-indent-2): Specifically skip just attribute
14748 contexts for expression lineup, rather than skipping all
14749 parenthetical expressions.
14750 (verilog-calculate-indent): Fix comment, and fix indent.
14751 (verilog-do-indent): Indent declarations in lists (suggested by
14752 Joachim Lechner).
14753 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14754 skeleton items.
14755 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14756 by Alain Mellan).
14757
1bbe96b2 147582011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14759
14760 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14761 parameters with embedded comments. Reported by Ray Stevens.
14762 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14763 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14764 Reported by Tim Holt.
14765 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14766 instantiated by upper module causing wrong expansion until AUTOed a
14767 second time. Reported by K C Buckenmaier.
14768 (verilog-diff-auto): Fix showing .* as a difference when
14769 `verilog-auto-star-save' off. Reported by Dan Dever.
14770 (verilog-auto-reset, verilog-read-always-signals)
14771 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14772 temporary signals in reset list if
14773 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14774 style to each signal's assignment type, bug381.
14775 Reported by Thomas Esposito.
6288f0ca
WS
14776 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14777 (verilog-uvm-statement-re): Support UVM indentation and
14778 highlighting, with old OVM keywords only.
a1beca85 14779 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14780 Support AUTOTIEOFF creating non-wire data types.
14781 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14782 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14783 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14784 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14785 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14786 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14787 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14788 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14789 non-numeric vector width. Reported by Alex Reed.
14790 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14791 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14792 (verilog-auto-delete-trailing-whitespace):
14793 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14794 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14795 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14796 Fix verilog-scan-cache corruption when running user AUTO expansion
14797 hooks that call indentation routines.
14798 (verilog-simplify-range-expression): Fix typo ignoring lower case
14799 identifiers.
14800 (verilog-delete-auto): Fix delete-autos to also remove user created
14801 automatics, as long as they start with AUTO.
14802 (verilog-batch-diff-auto, verilog-diff-auto)
14803 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14804 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14805 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14806 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14807 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14808 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14809 is disabled and its cache will get corrupt, causing AUTOS not to
14810 expand. Instead use only -quick functions.
14811 (verilog-scan-region): Fix scanning over escaped quotes.
14812 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14813 (verilog-re-search-backward-quick)
14814 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14815 related functions now ignore strings, to fix misparsing of strings
14816 with magic comments embedded in them.
a1beca85
SM
14817 (verilog-read-auto-template):
14818 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14819 Reported by Brad Dobbie.
14820 (verilog-read-auto-template):
14821 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14822 Reported by Brad Dobbie.
6288f0ca
WS
14823 (verilog-auto-inst, verilog-auto-inst-param)
14824 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14825 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14826 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14827 debugging templates without merge conflicts, bug357.
14828 Reported by Brad Dobbie.
14829 (verilog-read-auto-template):
14830 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14831 Reported by Brad Dobbie.
14832 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14833 abbrevs so user won't be asked to save.
14834 (verilog-read-auto-lisp-present): Fix to start at beginning of
14835 buffer in case called outside of verilog-auto.
14836 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14837 to "X-2". Reported by Matthew Myers.
14838 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14839 all inputs from module templates. Reported by Leith Johnson.
14840 (verilog-module-inside-filename-p): Fix locating programs as with
14841 modules.
14842 (verilog-auto-inst-port): Fix vl-width expressions when using
14843 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14844 (verilog-decls-get-regs, verilog-decls-get-signals,
14845 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14846 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14847 verilog-read-decls): Combine reg and wire structures into one var
14848 structure to represent SystemVerilog concepts.
14849 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14850 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14851 (verilog-auto-wire-type, verilog-insert-definition):
14852 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14853 SystemVerilog "logic" keyword instead of "wire"/"reg".
14854 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14855 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14856 ifdef or generate if so there's not a driver conflict).
14857 Reported by Matthew Myers.
14858 (verilog-auto-declare-nettype, verilog-insert-definition):
14859 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14860 `default_nettype none. Reported by Julian Gorfajn.
14861 (verilog-read-always-signals-recurse, verilog-read-decls)
14862 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14863 malformed end statement, bug325. Reported by Joshua Wise and
14864 Andrew Drake.
14865 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14866 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14867 when expanding .* in interfaces, bug320.
14868 Reported by Pierre-David Pfister.
6288f0ca 14869 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14870 name and open parenthesis, bug317.
14871 Reported by Pierre-David Pfister.
6288f0ca
WS
14872 (verilog-simplify-range-expression): Fix simplification of
14873 multiplications inside AUTOWIRE connections, bug303.
14874 (verilog-auto-inst-port): Support parameter expansion in
14875 multidimensional arrays.
14876 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14877 after "assert property". Reported by Julian Gorfajn.
14878 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14879 with multiplication, bug303.
14880 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14881 Reported by Jan Frode Lonnum.
14882
1bbe96b2
GM
148832011-11-30 Juanma Barranquero <lekktu@gmail.com>
14884
14885 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14886 (hfy-shell-file-name, hfy-shell):
14887 * international/fontset.el (x-decompose-font-name): Fix typos.
14888
148892011-11-29 Ken Brown <kbrown@cornell.edu>
14890
14891 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14892 (gdb-version): Remove defvar.
14893 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14894 (gdb-gud-context-command, gdb-non-stop-handler)
14895 (gdb-current-context-command, gdb-stopped): Use it.
14896 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14897 (gdb-non-stop-handler): Don't enable pretty-printing here.
14898 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14899 non-stop mode. Use the following.
14900 (gdb-check-target-async): New defun.
14901 (gud-watch, gdb-stopped): Fix whitespace.
14902 (gdb-get-source-file): Don't try to display the source file if
14903 `gdb-main-file' is nil.
14904
149052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14906
14907 * align.el: Try to generate fewer markers (bug#10047).
14908 (align--set-marker): New macro.
14909 (align-region): Use it.
14910
c935221f
SM
149112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14914
e70b5064
CY
149152011-11-29 Chong Yidong <cyd@gnu.org>
14916
14917 * indent.el (indent-for-tab-command, indent-according-to-mode):
14918 Doc fix.
14919 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14920
f3af92b7
MA
149212011-11-29 Michael Albinus <michael.albinus@gmx.de>
14922
14923 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14924 aware of remote file names. (Bug#10124)
14925
ed472be9
CY
149262011-11-29 Chong Yidong <cyd@gnu.org>
14927
14928 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14929
24510c22
SM
149302011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14931
14932 * files.el (find-file): Don't use force-same-window (bug#10144).
14933 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14934 use pop-to-buffer if the selected window can't be used.
14935 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14936
c60c3703
EZ
149372011-11-28 Eli Zaretskii <eliz@gnu.org>
14938
14939 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14940 special-mode-map.
14941
e95def75
CY
149422011-11-28 Chong Yidong <cyd@gnu.org>
14943
14944 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14945
c3f1c606
NR
149462011-11-27 Nick Roberts <nickrob@snap.net.nz>
14947
14948 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14949 gdb-get-source-file-list on gdb-create-source-file-list.
14950
00db469c
EZ
149512011-11-26 Eli Zaretskii <eliz@gnu.org>
14952
14953 * whitespace.el (whitespace-newline): Use a different foreground
14954 color for 16-color light-background displays.
14955
4ad3bc2a
CY
149562011-11-24 Chong Yidong <cyd@gnu.org>
14957
14958 * window.el (display-buffer--special-action): Doc fix.
14959
e9fce1ac
JB
149602011-11-25 Juanma Barranquero <lekktu@gmail.com>
14961
14962 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14963 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14964 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14965 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14966 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14967 (avl-tree-stack-first):
14968 * emacs-lisp/cconv.el (cconv--analyse-use):
14969 * net/gnutls.el (gnutls-negotiate): Fix typos.
14970
cb825e5d
GM
149712011-11-24 Glenn Morris <rgm@gnu.org>
14972
3adbe224
GM
14973 * lpr.el (lpr-windows-system, lpr-lp-system):
14974 * mail/binhex.el (binhex-begin-line):
14975 * progmodes/grep.el (grep-history, grep-find-history):
14976 * textmodes/flyspell.el:
14977 * vc/pcvs-defs.el (cvs-global-menu):
14978 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14979 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14980 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14981
321decc8
GM
14982 * net/tls.el: Fix case of "GnuTLS".
14983
420b63ad
GM
14984 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14985
cb825e5d
GM
14986 * version.el (emacs-build-system): Give it a doc-string.
14987
a0649f08
JL
149882011-11-24 Juri Linkov <juri@jurta.org>
14989
14990 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14991
c0bc0fd4
GM
149922011-11-24 Glenn Morris <rgm@gnu.org>
14993
14994 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14995 if called on a non-mime message just toggle the headers. (Bug#8006)
14996
20db1522
JB
149972011-11-24 Juanma Barranquero <lekktu@gmail.com>
14998
14999 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15000 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15001 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15002 (allout-rebullet-heading, allout-open-sibtopic)
15003 (allout-toggle-current-subtree-encryption)
15004 (allout-toggle-subtree-encryption, allout-encrypt-string)
15005 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15006 (allout-distinctive-bullets-string, allout-auto-activation):
15007 * window.el (window-normalize-buffer-to-display):
15008 * progmodes/verilog-mode.el (verilog-batch-indent):
15009 * textmodes/bibtex.el (bibtex-field-braces-opt)
15010 (bibtex-field-strings-opt):
15011 * vc/cvs-status.el (cvs-tree-merge):
15012 Fix typos.
15013
7262a87c
MA
150142011-11-23 Michael Albinus <michael.albinus@gmx.de>
15015
15016 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15017 `non-essential' to t, in order to avoid remote connections.
15018
283430a1
EZ
150192011-11-23 Eli Zaretskii <eliz@gnu.org>
15020
a1beca85
SM
15021 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15022 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
15023 case-insensitively.
15024
d2992a38
ML
150252011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15026
15027 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15028
50419064
GM
150292011-11-23 Glenn Morris <rgm@gnu.org>
15030
da94eca1
GM
15031 * paths.el (rmail-file-name): Reformat the doc-string so that it
15032 is picked up.
15033
9aac4de2
GM
15034 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15035 (rmail-auto-file): Ignore case in the "special" field names,
15036 as mail-fetch-field does for all others.
15037
8038d2d2
GM
15038 * mail/rmail.el (rmail-forward):
15039 * mail/rmailkwd.el (rmail-set-label):
15040 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15041 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15042
f3fe222a
GM
15043 * mail/rmail.el (rmail-current-message): Doc fix.
15044
50419064
GM
15045 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15046
28109f49
SM
150472011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15048
15049 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15050
394c65f1
GM
150512011-11-22 Glenn Morris <rgm@gnu.org>
15052
15053 * mail/rmailmm.el (test-rmail-mime-handler)
15054 (test-rmail-mime-bulk-handler)
15055 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15056
f2a0aa3a
JL
150572011-11-21 Juri Linkov <juri@jurta.org>
15058
1154d12e
JB
15059 * calc/calc.el (calc-read-key-sequence):
15060 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 15061
9c34a344
LMI
150622011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15063
15064 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15065 Tell the caller that the next line needs recomputation, even
15066 though it doesn't start a sexp (bug#10094).
15067
f04a3be9
SM
150682011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15069
15070 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15071
7978747f
SM
150722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15073
f04a3be9
SM
15074 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15075 Use force-same-window.
7978747f 15076
fe7a3057
JB
150772011-11-20 Juanma Barranquero <lekktu@gmail.com>
15078
15079 * descr-text.el (describe-char-unicode-data):
15080 * json.el (json-string-escape):
15081 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15082 (Footnote-unicode, Footnote-style-p):
15083 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15084
24901d61
CY
150852011-11-20 Chong Yidong <cyd@gnu.org>
15086
15087 * window.el (replace-buffer-in-windows): Restore interactive spec.
15088
bac7ff22
SM
150892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15090
24f3d7b9
SM
15091 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15092
bac7ff22
SM
15093 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15094 (byte-compile-global-not-obsolete-vars): New var.
15095 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15096 Use it.
15097 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15098
cd1181db
JB
150992011-11-20 Juanma Barranquero <lekktu@gmail.com>
15100
15101 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15102 * progmodes/pascal.el (electric-pascal-equal):
15103 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15104 * xml.el (xml-substitute-special): Fix typos.
15105
7fb18e9e
GM
151062011-11-20 Glenn Morris <rgm@gnu.org>
15107
15108 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15109 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15110 Doc fixes.
15111 (rmail-decode-mime-charset): Mark as obsolete.
15112
15113 * mail/rmailsum.el (rmail-message-regexp-p-1):
15114 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15115 Before using mime functions, check they are set. (Bug#10077)
15116
d5a6b3ba
JL
151172011-11-19 Juri Linkov <juri@jurta.org>
15118
15119 * info.el (Info-finder-find-node): Use `package--builtins' instead
15120 of `package-alist'. Use node names formed by the pattern "Keyword "
15121 and the keyword name.
15122
e981b61f
AS
151232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15124
1d00653d 15125 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15126
3ffbc301
JL
151272011-11-19 Juri Linkov <juri@jurta.org>
15128
15129 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15130 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15131 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15132 `old-history', `old-history-forward'. Add let-binding
15133 `window-selected'. Remove calls to `kill-buffer',
15134 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15135 before calling `Info-find-node', so `Info-find-node-2' will reread
15136 the Info file. Restore window positions only when `window-selected'
15137 is non-nil.
15138
30c62133
JL
151392011-11-19 Juri Linkov <juri@jurta.org>
15140
15141 * isearch.el (isearch-lazy-highlight-new-loop):
15142 Remove condition `(not isearch-error)'. (Bug#9918)
15143
15144 * misearch.el (multi-isearch-search-fun): Add condition
15145 `(not bound)' to ignore lazy-highlighting search.
15146 Add the search-failed message "end of multi" when the end of
15147 multi-sequence is reached. Uncapitalize the search-failed
15148 message "Repeat for next buffer".
15149
15150 * info.el (Info-search): Add the search-failed message
15151 "end of the manual" when the end of the manual is reached
15152 in Isearch mode.
15153
645ca9cf
JL
151542011-11-19 Juri Linkov <juri@jurta.org>
15155
15156 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15157 Use non-destructive `remove' instead of `delete' because
15158 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15159 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15160
df754f66
JL
151612011-11-19 Juri Linkov <juri@jurta.org>
15162
15163 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15164 to nil instead of binding `search-ring' and `regexp-search-ring'.
15165 (Bug#9185)
15166
0e23d96a
EZ
151672011-11-19 Eli Zaretskii <eliz@gnu.org>
15168
15169 * simple.el (line-move): Force movement by logical lines for any
15170 hscrolled window, not only when auto-hscroll-mode is on.
15171 (line-move-visual): Update doc string to that effect. (Bug#10076)
15172
8a6ccb66
AS
151732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15174
15175 * language/european.el (macintosh): Define as alias for mac-roman.
15176
49ae5b39
EZ
151772011-11-19 Eli Zaretskii <eliz@gnu.org>
15178
15179 * mail/rmailmm.el (rmail-mime-display-header)
15180 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15181 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15182 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15183 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15184 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15185 of a raw aref.
15186 (rmail-mime-entity-segment): To get past the tagline, move forward
15187 2 more lines, to account for the 2 empty lines that precede and
15188 follow the line with the buttons.
15189 (rmail-mime-update-tagline): Move one more line, to get past the
15190 empty line that follows the buttons in the tagline. (Bug#9520)
15191
c56cad4a
MR
151922011-11-19 Martin Rudalics <rudalics@gmx.at>
15193
15194 * window.el (window-max-delta-1, window-min-delta-1)
15195 (window-min-size-1, window-state-get-1, window-state-put-1)
15196 (window-state-put-2): Use "window--" prefix.
15197
cbe71af3
SM
151982011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15199
2ad52c60
SM
15200 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15201 (smie-warning-count): New var.
15202 (smie-set-prec2tab): Use it.
15203 (smie-bnf->prec2): Improve warnings. Add docstring.
15204 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15205 (smie-bnf--set-class): New function.
15206 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15207 corner case.
15208
6944dbc1
SM
15209 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15210 (compilation-error-properties, compilation-move-to-column):
15211 Handle compilation-first-column while in the target buffer.
15212
c400c4d7
SM
15213 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15214 Don't hardcode point-min==1.
15215
6dbe3e96
SM
15216 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15217 (eshell-rewrite-for-command): Remove workaround.
15218 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15219 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15220 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15221
cbe71af3
SM
15222 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15223
a8e1496d
GM
152242011-11-17 Glenn Morris <rgm@gnu.org>
15225
15226 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15227 Ignore buffer-local generated-autoload-file if it is the same
15228 as the global value. (Bug#10049)
15229
df85d315
JB
152302011-11-17 Juanma Barranquero <lekktu@gmail.com>
15231
15232 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15233 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15234 (reftex-toc-previous-heading, reftex-toc-max-level)
15235 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15236 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15237 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15238 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15239 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15240 (reftex-toc-rename-label, reftex-toc-visit-location)
15241 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15242 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15243 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15244 leaving "*toc*" only for references to the buffer.
15245
a0c2d0ae
MR
152462011-11-17 Martin Rudalics <rudalics@gmx.at>
15247
15248 * window.el (window-resize, delete-window, split-window):
15249 Replace window-splits by window-combination-resize.
1d00653d 15250 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15251
35c0bac8
GM
152522011-11-17 Glenn Morris <rgm@gnu.org>
15253
15254 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15255 Make bash entry derive from sh entry, not shell entry.
15256
d0c8fc8a
MA
152572011-11-16 Michael Albinus <michael.albinus@gmx.de>
15258
7262a87c
MA
15259 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15260 local file name.
15261
7877f373
JB
152622011-11-16 Juanma Barranquero <lekktu@gmail.com>
15263
15264 * menu-bar.el (menu-bar-file-menu):
15265 * printing.el (pr-ps-utility):
15266 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15267 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15268 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15269 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15270 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15271 (icalendar--convert-cyclic-to-ical)
15272 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15273 (icalendar--convert-ical-to-diary)
15274 (icalendar--convert-recurring-to-diary)
15275 (icalendar--convert-non-recurring-all-day-to-diary)
15276 (icalendar-import-format-sample):
15277 * progmodes/idlw-shell.el (idlwave-shell-mode):
15278 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15279 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15280 (vhdl-ps-print-init): Fix typos.
15281
10649b82
KM
152822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15283
9d0cfcd6
GM
15284 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15285 FSF and collapse date sequence, obscure author/maintainer email address
15286 better, remove extra version line, track relocation of author's webpage.
10649b82 15287
9d0cfcd6
GM
15288 * progmodes/python.el (python-pdbtrack-input-prompt)
15289 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15290 regular python pdb prompts. Adjustments shamelessly taken exactly as
15291 suggested in EmacsWiki page (tiny change):
15292 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15293
58179cce
JB
152942011-11-16 Juanma Barranquero <lekktu@gmail.com>
15295
15296 * expand.el (expand-pos, expand-index, expand-point):
15297 Remove redundant info from docstring.
15298 (expand-add-abbrevs): Doc fix.
15299 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15300 (expand-sample-perl-mode-expand-list): Fix typos.
15301
15302 * net/dbus.el (dbus-event-member-name):
15303 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15304 * term/pc-win.el (msdos-create-frame-with-faces):
15305 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15306
b6f67890
MR
153072011-11-16 Martin Rudalics <rudalics@gmx.at>
15308
15309 * window.el (split-window, window-state-get-1)
15310 (window-state-put-1, window-state-put-2): Rename occurrences of
15311 window-nest to window-combination-limit.
1d00653d 15312 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15313
ce7ddba0
CY
153142011-11-16 Chong Yidong <cyd@gnu.org>
15315
15316 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15317 regexp (Bug#10033).
15318
3ae704f4
SM
153192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15322 `completing-read' will remove *Completions* and will preserve
15323 current-buffer for us.
15324 (tmm-add-prompt): Users of *Completions* will always (re)set its
15325 major mode.
15326 (tmm-old-comp-map): Remove.
15327
6ad1cdde
GM
153282011-11-16 Glenn Morris <rgm@gnu.org>
15329
15330 * mail/rmailedit.el: Require rmailmm when compiling.
15331 (rmail-old-mime-state): New declaration.
15332 (rmail-edit-current-message): If editing a mime message,
15333 edit the "raw" message from the mbox buffer.
15334 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15335
d20faa20
GM
153362011-11-15 Glenn Morris <rgm@gnu.org>
15337
15338 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15339 which wasn't being used. Add optional arg to force given state.
15340 (rmail-mime): Add optional arg to force given state.
15341
c7015153
JB
153422011-11-15 Juanma Barranquero <lekktu@gmail.com>
15343
15344 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15345 * frame.el (display-mm-dimensions-alist):
15346 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15347 (outline-move-subtree-down):
15348 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15349 (newsticker--treeview-do-get-node):
15350 * net/quickurl.el (quickurl-list-buffer-name):
15351 * progmodes/dcl-mode.el (dcl-mode):
15352 * progmodes/gdb-mi.el (gdb-mapcar*):
15353 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15354
45261b50
GM
153552011-11-15 Glenn Morris <rgm@gnu.org>
15356
15357 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15358 in a boolean sense, so just make it a boolean, and fix the doc.
15359 (rmail-show-mime-function, rmail-mime-feature)
15360 (rmail-require-mime-maybe): Doc fixes.
15361 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15362
15363 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15364
0d26e0b6
JB
153652011-11-15 Juanma Barranquero <lekktu@gmail.com>
15366
15367 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15368 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15369 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15370 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15371
447f30f6
GM
153722011-11-15 Glenn Morris <rgm@gnu.org>
15373
672b871d
GM
15374 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15375 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15376 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15377 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15378 (rmail-mime, rmail-show-mime): Doc fixes.
15379
f6aa5bb1
GM
15380 * term/ns-win.el (mode-line-frame-identification):
15381 Leave it alone. (Bug#10051)
15382
947cd66b
GM
15383 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15384
447f30f6
GM
15385 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15386 Handle empty buffers. (Bug#9978)
15387
0b381c7e
JB
153882011-11-14 Juanma Barranquero <lekktu@gmail.com>
15389
15390 * international/mule.el (define-charset):
15391 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15392 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15393 * progmodes/verilog-mode.el (verilog-backward-token):
15394 * textmodes/ispell.el (lookup-words):
15395 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15396
71e027ac
GM
153972011-11-14 Glenn Morris <rgm@gnu.org>
15398
56632ce4
GM
15399 * progmodes/executable.el
15400 (executable-make-buffer-file-executable-if-script-p):
15401 Handle file-modes returning nil.
15402
40500957
GM
15403 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15404 message - not necessary, and causes problems. (Bug#9831)
15405
071c2340
GM
15406 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15407
d3cfca60
GM
15408 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15409
71e027ac
GM
15410 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15411 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15412 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15413
89d61221
MR
154142011-11-12 Martin Rudalics <rudalics@gmx.at>
15415
15416 * window.el (window-resize, delete-window): Use window-splits
15417 variable instead of function.
15418 (window-state-get-1, window-state-put-2, window-state-put):
15419 Don't deal with windows' splits status.
15420
98282f6f
GM
154212011-11-12 Glenn Morris <rgm@gnu.org>
15422
15423 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15424 (apropos-documentation): Doc fixes.
15425
40a8bdf6
JB
154262011-11-11 Juanma Barranquero <lekktu@gmail.com>
15427
15428 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15429 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15430
65bd19ff
SM
154312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15432
15433 * electric.el (electric-indent-post-self-insert-function): Make it
15434 possible for a char to only indent in some circumstances.
15435 (electric-indent-mode): Simplify.
15436
54f9154c
MR
154372011-11-11 Martin Rudalics <rudalics@gmx.at>
15438
15439 * window.el (windows-with-parameter): Remove unused function.
15440 (windows-at-side): Rename to window-at-side-list.
15441 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15442 (window-side-check, window-size-ignore, window-size-fixed-1)
15443 (window-in-direction-2): Prefix with "window--".
15444 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15445
68cbc58b
GM
154462011-11-11 Glenn Morris <rgm@gnu.org>
15447
15448 * subr.el (eval-after-load): If FILE is already loaded,
15449 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15450
b2621720
GM
154512011-11-10 Glenn Morris <rgm@gnu.org>
15452
9a4de110
GM
15453 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15454 Call svn via vc-svn-command rather than vc-do-command.
15455 (vc-svn-command): Add --non-interactive. (Bug#9993)
15456 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15457
b2621720
GM
15458 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15459 Add toggle-read-only. (Bug#7292)
15460 * files.el (toggle-read-only): Mention that it should only
15461 be used interactively. (Bug#10006)
15462
1dce7193
SM
154632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15464
d9ac1a1e
SM
15465 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15466 Adjust regexp for OCaml warnings.
15467
0c325082
SM
15468 * electric.el (electric-pair-post-self-insert-function): Let user
15469 turn it off buffer-locally (bug#9932).
15470
90132c14
SM
15471 * progmodes/python.el (python-beginning-of-statement):
15472 Rewrite (bug#2703).
15473
1dce7193
SM
15474 * progmodes/compile.el: Better handle TABs (bug#9749).
15475 (compilation-internal-error-properties)
15476 (compilation-next-error-function): Obey the target buffer's
15477 compilation-error-screen-columns.
15478
c4e7c63a
JB
154792011-11-09 Juanma Barranquero <lekktu@gmail.com>
15480
15481 * progmodes/meta-mode.el: Remove obsolete comments.
15482 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15483 Fix typos in docstrings.
15484
2cffd681
MR
154852011-11-09 Martin Rudalics <rudalics@gmx.at>
15486
15487 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15488 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15489 (window--resizable): New function. Make all callers of
15490 window-resizable call window--resizable instead.
15491 (window-resizable): Rewrite in terms of window--resizable.
15492
0edcba87
GM
154932011-11-08 Glenn Morris <rgm@gnu.org>
15494
15495 * progmodes/delphi.el (delphi-mode-syntax-table):
15496 Let define-derived-mode define a proper syntax table. (Bug#9994)
15497
4b0d61e3
SM
154982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * window.el: Stay away from defsubst.
15501 (window-list-no-nils): Remove.
15502 (window-state-get-1, window-state-get): Use backquote instead.
15503
cd394be1 155042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15505
4b0d61e3 15506 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15507 Fix incorrect use of default argument in `completing-read'.
15508
e1c2c6f2
MR
155092011-11-08 Martin Rudalics <rudalics@gmx.at>
15510
15511 * window.el (display-buffer-function, special-display-function):
15512 Mention display-buffer-record-window but do not mention
15513 help-setup parameter in doc-strings.
b3f4a882 15514 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15515
105216ed
CY
155162011-11-08 Chong Yidong <cyd@gnu.org>
15517
15518 * window.el (window-total-height, window-total-width): Doc fix.
15519 (window-body-size): Move from C.
15520 (window-body-height, window-body-width): Move to C.
15521
0a9f9ab5
SM
155222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15523
15524 * window.el: Make special-display like display-buffer-alist (bug#9532).
15525 (display-buffer--special-action): New function, morphed
15526 from display-buffer--special.
15527 (display-buffer): Use it to handle special-display-buffers at higher
15528 priority (just after display-buffer-alist).
15529 (display-buffer-fallback-action, display-buffer--other-frame-action)
15530 (pop-to-buffer-same-window): Remove display-buffer--special.
15531
a769dd15
GM
155322011-11-07 Glenn Morris <rgm@gnu.org>
15533
15534 * calendar/cal-menu.el (cal-menu-set-date-title):
15535 Do nothing if not in a calendar. (Bug#9976)
15536
05a61ee3
SM
155372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15538
15539 * files.el (find-file): Always use selected-window.
15540
be7f5545
MR
155412011-11-07 Martin Rudalics <rudalics@gmx.at>
15542
15543 * window.el (window-combinations): Make WINDOW argument
15544 mandatory. Rewrite doc-string.
15545 (walk-window-subtree, window-atom-check, window-min-delta)
15546 (window-max-delta, window--resize-this-window)
15547 (window--resize-root-window-vertically, window-tree)
15548 (balance-windows, window-state-put): Rewrite doc-strings as to
15549 not mention the term "subwindow".
15550 (window--resize-subwindows-skip-p): Rename to
15551 window--resize-child-windows-skip-p.
15552 (window--resize-subwindows-normal): Rename to
15553 window--resize-child-windows-normal.
15554 (window--resize-subwindows): Rename to
15555 window--resize-child-windows.
15556 (window-or-subwindow-p): Rename to window--in-subtree-p.
15557
3c6702ef
ML
155582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15559
15560 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15561 Ensure that mbox format messages end in two newlines (Bug#9974).
15562
49745b39
CY
155632011-11-06 Chong Yidong <cyd@gnu.org>
15564
15565 * window.el (window-combination-p): Function deleted; its
15566 side-effect is not used in any existing code.
15567 (window-combinations, window-combined-p): Call window-*-child
15568 directly.
15569
24300f5f
CY
155702011-11-05 Chong Yidong <cyd@gnu.org>
15571
15572 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15573 (window-size-ignore, window-state-get): Callers changed.
15574 (window-normalize-window): Rename from window-normalize-any-window.
15575 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15576 (window-normalize-live-window): Delete.
447f16b8
CY
15577 (window-combination-p, window-combined-p, window-combinations)
15578 (walk-window-subtree, window-atom-root, window-min-size)
15579 (window-sizable, window-sizable-p, window-size-fixed-p)
15580 (window-min-delta, window-max-delta, window-resizable)
15581 (window-resizable-p, window-full-height-p, window-full-width-p)
15582 (window-current-scroll-bars, window-point-1, set-window-point-1)
15583 (window-at-side-p, window-in-direction, window-resize)
15584 (adjust-window-trailing-edge, maximize-window, minimize-window)
15585 (window-deletable-p, delete-window, delete-other-windows)
15586 (record-window-buffer, unrecord-window-buffer)
15587 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15588 (quit-window, split-window, window-state-put)
15589 (set-window-text-height, fit-window-to-buffer)
15590 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15591
89bd5ee1
EZ
155922011-11-04 Eli Zaretskii <eliz@gnu.org>
15593
53479029
EZ
15594 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15595 rfc2047-decode-string.
15596 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15597 warnings.
15598
89bd5ee1
EZ
15599 * window.el (window-body-height, window-body-width): Mention in
15600 the doc string that the return values are in frame's canonical
15601 units. (Bug#9949)
15602
bd17fdee
AM
156032011-11-03 Alan Mackenzie <acm@muc.de>
15604
15605 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15606 change in cc-engine.el.
15607
acc825c5
SM
156082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15611
1885e5b8
MR
156122011-11-02 Martin Rudalics <rudalics@gmx.at>
15613
15614 * window.el (quit-window): Call unrecord-window-buffer after
15615 showing another buffer in the window. (Bug#9937)
acc825c5 15616 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15617
ebe06da9
JB
156182011-11-02 Juanma Barranquero <lekktu@gmail.com>
15619
15620 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15621 Accept status with more than 9 shelves. (Bug#9935)
15622 Reported by Colin D Bennett <colin@gibibit.com>.
15623
4ee88440
MR
156242011-11-01 Martin Rudalics <rudalics@gmx.at>
15625
15626 * help.el (with-help-window): Don't reference
15627 temp-buffer-show-specifiers in doc-string.
15628
08e1d82c
AS
156292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15630
15631 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15632 menu-item.
15633
84bd6e9e
VJL
156342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15635
15636 * whitespace.el: New version 13.2.2.
15637 (whitespace-newline-mode): Disable properly. Reported by Sarah
15638 <EmacsWiki>.
15639
dba0634a
UJ
156402011-10-30 Ulf Jasper <ulf.jasper@web.de>
15641
15642 * net/newst-treeview.el: Remove "Time-stamp".
15643 (newsticker--group-manage-orphan-feeds): Do not call
15644 newsticker--treeview-tree-update.
db22a3c2
JB
15645 (newsticker-treeview-update, newsticker-treeview):
15646 Call newsticker--treeview-tree-update if necessary.
dba0634a 15647
3d8daefe
MR
156482011-10-30 Martin Rudalics <rudalics@gmx.at>
15649
15650 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15651 (window-iso-combinations): Remove "iso-" infix.
15652 Suggested by Chong Yidong.
3d8daefe
MR
15653 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15654 (window-max-delta-1, window-resize, window--resize-siblings)
15655 (window--resize-this-window, adjust-window-trailing-edge)
15656 (split-window, balance-windows-1)
15657 (shrink-window-if-larger-than-buffer):
15658 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15659 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15660
1bc4c3ae
SM
156612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15662
15663 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15664 in place (bug#9907).
15665 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15666 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15667 (eshell-structure-basic-command, eshell-rewrite-while-command)
15668 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15669 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15670 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15671 (eshell-do-pipelines-synchronously, eshell-eval-command):
15672 Use backquotes and prefer setq to set.
15673 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15674 (eshell-macrop): Use functionp.
c1e2f5fa 15675 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15676
30b65d9c
CY
156772011-10-30 Chong Yidong <cyd@gnu.org>
15678
15679 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15680 instead of set-mark (Bug#9810).
15681
2d197ffb
CY
156822011-10-30 Chong Yidong <cyd@gnu.org>
15683
15684 * window.el (split-window-below, split-window-right): Rename from
15685 split-window-above-each-other and split-window-side-by-side
15686 respectively. All callers changed.
15687 (split-window-sensibly, split-window-sensibly): Use them.
15688 (split-window-keep-point): Doc fix.
15689
15690 * isearch.el: Add isearch-scroll property to split-window-below
15691 and split-window-right.
15692
15693 * follow.el (follow-mode):
15694 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15695 * progmodes/ada-xref.el (ada-gdb-application):
15696 * emulation/vip.el (vip-buffer-in-two-windows):
15697 * image-dired.el (image-dired-dired-with-window-configuration):
15698 * dired-x.el (dired-do-find-marked-files):
15699 * dired.el (dired-pop-to-buffer):
15700 * bs.el (bs--show-with-configuration):
15701 * vc/emerge.el (emerge-setup-windows):
15702 * textmodes/two-column.el (2C-two-columns):
15703 * textmodes/reftex-toc.el (reftex-toc):
15704 * progmodes/gdb-mi.el (gdb-setup-windows):
15705 * progmodes/fortran.el (fortran-window-create):
15706 * net/newst-treeview.el (newsticker--treeview-window-init):
15707 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15708 * emulation/tpu-edt.el (tpu-gold-map):
15709 * emulation/crisp.el (crisp-mode-map):
15710 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15711
38bb2ca8
CY
157122011-10-29 Chong Yidong <cyd@gnu.org>
15713
aa4de341
CY
15714 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15715
e1eb5385
CY
15716 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15717
5d2ece3c
CY
15718 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15719 forged Ispell output (Bug#7904).
15720
38bb2ca8
CY
15721 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15722
d0af9f77
SM
157232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15724
15725 * doc-view.el: Avoid ugly errors about not finding nil.
15726 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15727 (doc-view-dvipdf-program, doc-view-unoconv-program)
15728 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15729 Avoid nil or absolute file name as default value.
15730 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15731
52bedd34
AM
157322011-10-28 Alan Mackenzie <acm@muc.de>
15733
db22a3c2 15734 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15735
7e43cfa5
AM
157362011-10-28 Alan Mackenzie <acm@muc.de>
15737
15738 Amend the handling of c-beginning/end-of-defun in nested declaration
15739 scopes.
15740
52bedd34
AM
15741 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15742 cc-langs.el. Change it to a defcustom.
7e43cfa5 15743
52bedd34
AM
15744 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15745 cc-vars.el.
7e43cfa5 15746
d0af9f77
SM
15747 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15748 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15749
52bedd34 15750 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15751 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15752 (c-widen-to-enclosing-decl-scope): New function.
15753 (c-while-widening-to-decl-block): New macro.
15754 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15755 outward for defun boundaries, and correspondingly change symbol
15756 `respect-enclosure' to `go-outward'.
15757 (c-declaration-limits): Change algorithm to report only the "innermost"
15758 defun's boundaries.
15759
1a2ce9ee
DD
157602011-10-28 Deniz Dogan <deniz@dogan.se>
15761
15762 * net/rcirc.el (rcirc-mode): Use hard newlines.
15763
bc97a826
AM
157642011-10-28 Alan Mackenzie <acm@muc.de>
15765
15766 Amend to indent and fontify macros "which include their own semicolon"
15767 correctly, using the "virtual semicolon" mechanism.
15768
52bedd34 15769 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15770
d0af9f77 15771 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15772 Recode to scan one line at a time rather than having \n and \r
58179cce 15773 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15774 (c-forward-label): Amend for virtual semicolons.
58179cce 15775 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15776
52bedd34
AM
15777 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15778 of the new C macros.
bc97a826 15779
52bedd34 15780 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15781 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15782 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15783 (c-opt-cpp-macro-define): Make into a full language variable.
15784 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15785 AWK Mode (including \n, \r) removed, no longer needed.
15786
d0af9f77
SM
15787 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15788 Invoke c-make-macro-with-semi-re.
bc97a826 15789
52bedd34
AM
15790 * progmodes/cc-vars.el (c-macro-with-semi-re):
15791 (c-macro-names-with-semicolon): New variables.
58179cce 15792 (c-make-macro-with-semi-re): New function.
bc97a826 15793
7a6c0941
SM
157942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * vc/log-edit.el: Fill empty field rather than adding new one.
15797 (log-edit-add-field): New function.
15798 (log-edit-insert-changelog): Use it.
15799
b0c4cdcf
ML
158002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15801
15802 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15803
ee1f1da9
SM
158042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15805
15806 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15807 (gdb--check-interpreter): New function.
15808 (gdb): Use it.
15809
51bc5f8b
GM
158102011-10-27 Glenn Morris <rgm@gnu.org>
15811
416a2c45
GM
15812 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15813 (least-positive-float, least-negative-float)
15814 (least-positive-normalized-float, least-negative-normalized-float)
15815 (float-epsilon, float-negative-epsilon):
15816 Remove unnecessary declarations.
15817
15818 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15819 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15820 (least-positive-float, least-negative-float)
15821 (least-positive-normalized-float, least-negative-normalized-float)
15822 (float-epsilon, float-negative-epsilon): Add doc-strings,
15823 based on those in cl.texi.
15824
51bc5f8b
GM
15825 * files.el (set-visited-file-name): If the major-mode changed,
15826 reload the local variables. (Bug#9796)
15827
15de15c6
CY
158282011-10-27 Chong Yidong <cyd@gnu.org>
15829
15830 * subr.el (change-major-mode-after-body-hook): New hook.
15831 (run-mode-hooks): Run it.
15832
ee1f1da9
SM
15833 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15834 Use change-major-mode-before-body-hook.
15de15c6
CY
15835
15836 * simple.el (fundamental-mode):
15837 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15838 change introducing fundamental-mode-hook.
15839
5430d399
JB
158402011-10-26 Juanma Barranquero <lekktu@gmail.com>
15841
acc825c5 15842 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15843
ad74a69e
MA
158442011-10-26 Michael Albinus <michael.albinus@gmx.de>
15845
15846 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15847 tramp.el explicitly. (Bug#7583)
ad74a69e 15848
71d4c2a5
SM
158492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15850
15851 * progmodes/octave-mod.el:
15852 * progmodes/octave-inf.el: Update maintainer.
15853
b1f6fa26
CY
158542011-10-26 Chong Yidong <cyd@gnu.org>
15855
15856 * subr.el (with-wrapper-hook): Rewrite doc.
15857
3f04efd6
MA
158582011-10-25 Michael Albinus <michael.albinus@gmx.de>
15859
15860 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15861 filenames "/method:foo:". (Bug#9793)
3f04efd6 15862
410488d3
SM
158632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15866 (bug#9865).
15867
c1ebb47e
GM
158682011-10-24 Glenn Morris <rgm@gnu.org>
15869
15870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15871
7f5c46c7
MA
158722011-10-24 Michael Albinus <michael.albinus@gmx.de>
15873
15874 * notifications.el: Add the requirement of a running D-Bus session
15875 bus to the Commentary.
15876
db2440b6
JL
158772011-10-24 Juri Linkov <juri@jurta.org>
15878
15879 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15880 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15881 (Bug#9364)
15882
feecf435
JL
158832011-10-24 Juri Linkov <juri@jurta.org>
15884
15885 * info.el (Info-following-node-name-re): Add newline to the list
15886 of allowed characters for leading space. (Bug#9824)
15887
a3839de2
SM
158882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15889
acc825c5
SM
15890 * progmodes/octave-inf.el (inferior-octave-mode-map):
15891 Fix C-c C-h binding.
a3839de2
SM
15892 * progmodes/octave-mod.el (octave-help): Remove.
15893
09388e76
MA
158942011-10-23 Michael Albinus <michael.albinus@gmx.de>
15895
15896 Sync with Tramp 2.2.3.
15897
15898 * net/tramp-cache.el (top): Pacify byte-compiler using
15899 `init-file-user' and `site-run-file'.
15900
15901 * net/trampver.el: Update release number.
15902
86c60681
CY
159032011-10-23 Chong Yidong <cyd@gnu.org>
15904
15905 * files.el (toggle-read-only): Remove obsolete comment about
15906 version control.
15907
15908 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15909 for toggle-read-only. Note that this hasn't called vc-next-action
15910 since 2008-05-02, though it wasn't documented at the time.
15911
a3839de2
SM
15912 * vc/ediff-init.el (ediff-toggle-read-only-function):
15913 Use toggle-read-only.
86c60681 15914
cd5495ff
AM
159152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15916
15917 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15918 of c-parse-state.
15919
00b77525 15920 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15921 correct faulty logical expression.
cd5495ff
AM
15922 (c-parse-state-state, c-record-parse-state-state):
15923 (c-replay-parse-state-state): New defvar/defuns.
15924 (c-debug-parse-state): Use new functions.
15925
42ee24ed
MR
159262011-10-22 Martin Rudalics <rudalics@gmx.at>
15927
15928 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15929 last fix. Use window-in-direction correctly.
42ee24ed 15930
a7dee7e7
CY
159312011-10-21 Chong Yidong <cyd@gnu.org>
15932
15933 * progmodes/idlwave.el (idlwave-mode):
15934 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15935 require-final-newline; that's done in prog-mode.
15936 Suggested by Stefan Monnier.
a7dee7e7 15937
e07b9a6d
MR
159382011-10-21 Martin Rudalics <rudalics@gmx.at>
15939
15940 * mouse.el (mouse-drag-window-above)
15941 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15942 (mouse-drag-mode-line-1, mouse-drag-header-line)
15943 (mouse-drag-vertical-line-rightward-window): Remove.
15944 (mouse-drag-line): New function.
15945 (mouse-drag-mode-line, mouse-drag-header-line)
15946 (mouse-drag-vertical-line): Call mouse-drag-line.
15947 * window.el (window-at-side-p, windows-at-side): New functions.
15948
7e1361d9
UM
159492011-10-21 Ulrich Mueller <ulm@gentoo.org>
15950
15951 * tar-mode.el (tar-grind-file-mode):
15952 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15953
30fcaf3a
CY
159542011-10-21 Chong Yidong <cyd@gnu.org>
15955
15956 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15957 * progmodes/vera-mode.el (vera-mode):
15958 Use mode-require-final-newline.
30fcaf3a 15959
516eddb0
GM
159602011-10-20 Glenn Morris <rgm@gnu.org>
15961
db22a3c2 15962 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15963
10d5f513
CS
159642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15965
15966 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15967
ac6c8639
CY
159682011-10-20 Chong Yidong <cyd@gnu.org>
15969
15970 * emulation/cua-base.el (cua-mode):
15971 * mail/footnote.el (footnote-mode):
15972 * mail/mailabbrev.el (mail-abbrevs-mode):
15973 * net/xesam.el (xesam-minor-mode):
15974 * progmodes/bug-reference.el (bug-reference-mode):
15975 * progmodes/cap-words.el (capitalized-words-mode):
15976 * progmodes/compile.el (compilation-minor-mode)
15977 (compilation-shell-minor-mode):
15978 * progmodes/gud.el (gud-tooltip-mode):
15979 * progmodes/hideif.el (hide-ifdef-mode):
15980 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15981 * progmodes/subword.el (subword-mode):
15982 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15983 * progmodes/which-func.el (which-function-mode):
15984 * term/tvi970.el (tvi970-set-keypad-mode):
15985 * term/vt100.el (vt100-wide-mode):
15986 * textmodes/flyspell.el (flyspell-mode):
15987 * textmodes/ispell.el (ispell-minor-mode):
15988 * textmodes/nroff-mode.el (nroff-electric-mode):
15989 * textmodes/paragraphs.el (use-hard-newlines):
15990 * textmodes/refill.el (refill-mode):
15991 * textmodes/reftex.el (reftex-mode):
15992 * textmodes/rst.el (rst-minor-mode):
15993 * textmodes/sgml-mode.el (html-autoview-mode)
15994 (sgml-electric-tag-pair-mode):
15995 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15996 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15997 * emulation/crisp.el (crisp-mode):
15998 * emacs-lisp/eldoc.el (eldoc-mode):
15999 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16000 minor mode behavior.
16001
aa42ab43
JL
160022011-10-19 Juri Linkov <juri@jurta.org>
16003
16004 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16005 the list of hard-coded chars with escape-glyph face.
16006
89400f1d
SM
160072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16010
305c07f6
MA
160112011-10-19 Michael Albinus <michael.albinus@gmx.de>
16012
16013 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16014 running process.
16015
13754b54
GM
160162011-10-19 Glenn Morris <rgm@gnu.org>
16017
16018 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16019 Ignore ignored files. (Bug#9726)
16020
06e21633
CY
160212011-10-19 Chong Yidong <cyd@gnu.org>
16022
16023 Doc fix for minor modes, stating that an omitted argument enables
16024 the mode unconditionally when called from Lisp.
16025
16026 * abbrev.el (abbrev-mode):
16027 * allout.el (allout-mode):
16028 * autoinsert.el (auto-insert-mode):
16029 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16030 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16031 (global-auto-revert-mode):
16032 * battery.el (display-battery-mode):
16033 * composite.el (global-auto-composition-mode)
16034 (auto-composition-mode):
16035 * delsel.el (delete-selection-mode):
16036 * desktop.el (desktop-save-mode):
16037 * dired-x.el (dired-omit-mode):
16038 * dirtrack.el (dirtrack-mode):
16039 * doc-view.el (doc-view-minor-mode):
16040 * double.el (double-mode):
16041 * electric.el (electric-indent-mode, electric-pair-mode):
16042 * emacs-lock.el (emacs-lock-mode):
16043 * epa-hook.el (auto-encryption-mode):
16044 * follow.el (follow-mode):
16045 * font-core.el (font-lock-mode):
16046 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16047 * help.el (temp-buffer-resize-mode):
16048 * hilit-chg.el (highlight-changes-mode)
16049 (highlight-changes-visible-mode):
16050 * hi-lock.el (hi-lock-mode):
16051 * hl-line.el (hl-line-mode, global-hl-line-mode):
16052 * icomplete.el (icomplete-mode):
16053 * ido.el (ido-everywhere):
16054 * image-file.el (auto-image-file-mode):
16055 * image-mode.el (image-minor-mode):
16056 * iswitchb.el (iswitchb-mode):
16057 * jka-cmpr-hook.el (auto-compression-mode):
16058 * linum.el (linum-mode):
16059 * longlines.el (longlines-mode):
16060 * master.el (master-mode):
16061 * mb-depth.el (minibuffer-depth-indicate-mode):
16062 * menu-bar.el (menu-bar-mode):
16063 * minibuf-eldef.el (minibuffer-electric-default-mode):
16064 * mouse-sel.el (mouse-sel-mode):
16065 * msb.el (msb-mode):
16066 * mwheel.el (mouse-wheel-mode):
16067 * outline.el (outline-minor-mode):
16068 * paren.el (show-paren-mode):
16069 * recentf.el (recentf-mode):
16070 * reveal.el (reveal-mode, global-reveal-mode):
16071 * rfn-eshadow.el (file-name-shadow-mode):
16072 * ruler-mode.el (ruler-mode):
16073 * savehist.el (savehist-mode):
16074 * scroll-all.el (scroll-all-mode):
16075 * scroll-bar.el (scroll-bar-mode):
16076 * server.el (server-mode):
16077 * shell.el (shell-dirtrack-mode):
16078 * simple.el (auto-fill-mode, transient-mark-mode)
16079 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16080 (line-number-mode, column-number-mode, size-indication-mode)
16081 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16082 * strokes.el (strokes-mode):
16083 * time.el (display-time-mode):
16084 * t-mouse.el (gpm-mouse-mode):
16085 * tool-bar.el (tool-bar-mode):
16086 * tooltip.el (tooltip-mode):
16087 * type-break.el (type-break-mode-line-message-mode)
16088 (type-break-query-mode):
16089 * view.el (view-mode):
16090 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16091 (global-whitespace-mode, global-whitespace-newline-mode):
16092 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16093
a3839de2
SM
16094 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16095 Fix autogenerated docstring.
06e21633 16096
5214e501
JL
160972011-10-19 Juri Linkov <juri@jurta.org>
16098
16099 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16100 by checking environment variables "DESKTOP_SESSION" and
16101 "XDG_CURRENT_DESKTOP". (Bug#9779)
16102
195f8db9
JL
161032011-10-19 Juri Linkov <juri@jurta.org>
16104
16105 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16106 (browse-url-chromium-program, browse-url-chromium-arguments):
16107 New defcustoms.
16108 (browse-url-default-browser): Check for `browse-url-chromium' and
16109 call `browse-url-chromium-program'.
16110 (browse-url-chromium): New command. (Bug#9779)
16111
343a34ff
JB
161122011-10-18 Juanma Barranquero <lekktu@gmail.com>
16113
16114 * facemenu.el (list-colors-duplicates): On Windows, detect more
16115 duplicates by assuming that only colors matching "^System" are
16116 special "system colors". (Bug#9722)
16117
6978a151
SM
161182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16121 to distinguish the author from the committer.
16122
6a80b297
MA
161232011-10-18 Michael Albinus <michael.albinus@gmx.de>
16124
16125 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16126
b31a5677
JK
161272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16128
16129 * international/mule.el (sgml-html-meta-auto-coding-function):
16130 Add support for detecting encoding in HTML5 specified only as
16131 <meta charset="UTF-8">. Implementation just makes http-equiv and
16132 content-type parts from HTML4 encoding string optional. (Bug#9716)
16133
80c6d77f
GM
161342011-10-18 Glenn Morris <rgm@gnu.org>
16135
16136 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16137
08b0fee8
CY
161382011-10-18 Chong Yidong <cyd@gnu.org>
16139
16140 * faces.el (cursor): Doc fix.
16141
67e729a5
CY
161422011-10-17 Chong Yidong <cyd@gnu.org>
16143
16144 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16145
343a34ff 161462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16147
16148 * dirtrack.el (dirtrack): Support shell buffers with path
16149 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16150
0bc06380
TZ
161512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16152
16153 * json.el: Bump version to 1.3 and note change in History.
16154 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16155
8b79f3e0
SM
161562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16157
5a7c536b
SM
16158 * comint.el (comint-insert-input, comint-send-input)
16159 (comint-get-old-input-default, comint-backward-matching-input)
16160 (comint-next-prompt): Use nil instead of `input' for field property of
16161 past user input (bug#114).
16162
96a8a0df
SM
16163 * minibuffer.el (completion--replace): Inherit surrounding properties
16164 (bug#114).
16165 (minibuffer-complete-and-exit): Use it.
16166
8b79f3e0
SM
16167 * comint.el (comint--table-subvert): Quote the all-completions output
16168 (bug#9160).
16169
b8f7ff0d
MR
161702011-10-17 Martin Rudalics <rudalics@gmx.at>
16171
8b79f3e0 16172 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 16173
b8f7ff0d 16174 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 16175 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
16176 entries and separate them from frame entries.
16177
c235b555
GM
161782011-10-15 Glenn Morris <rgm@gnu.org>
16179
16180 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16181 Doc fixes.
16182
6bbfa6e1
CY
161832011-10-15 Chong Yidong <cyd@stupidchicken.com>
16184
8b79f3e0
SM
16185 * net/network-stream.el (network-stream-open-starttls):
16186 Improve detection of failure due to lack of TLS support.
ec5c990d 16187
6bbfa6e1
CY
16188 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16189 putting the input text in front and in bold.
16190
98488977
SM
161912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16192
3d1337be
SM
16193 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16194
ee0b45e4
SM
16195 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16196 empty buffer.
16197
98488977
SM
16198 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16199 unread-command-events rather than pushing yet-another event.
16200
186f4720
EZ
162012011-10-14 Eli Zaretskii <eliz@gnu.org>
16202
16203 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16204 the explanation of the possible choices. Make the options passed
16205 to completing-read shorter.
16206
8b7a997c
AM
162072011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16208
16209 * textmodes/flyspell.el (flyspell-large-region): Make sure
16210 extended character mode is used if defined (Bug#1339).
16211
12587bbb
EZ
162122011-10-13 Eli Zaretskii <eliz@gnu.org>
16213
16214 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16215 character info for LRE, LRO, RLE, and RLO characters by appending
16216 an invisible PDF.
12587bbb 16217
bad41229
SM
162182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16219
16220 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16221 even in case of error; add debug spec; simplify data flow.
16222 (with-timeout-handler): Remove.
16223
28dbc92f
MA
162242011-10-12 Michael Albinus <michael.albinus@gmx.de>
16225
16226 Fix Bug#6019, Bug#9315.
16227
16228 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16229 complete `buffer-file-name', the local file name part could look
16230 remotely (for example on VMS).
16231
16232 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16233 `tramp-run-real-handler'.
16234 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16235 already quoted by '"'.
16236
16237 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16238 Let `file-name-handler-alist' be nil, the local file name part
16239 could look remotely (for example on VMS).
16240
e1b0b23a
SM
162412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16244 from here...
16245 (flyspell-post-command-hook): ...to here.
16246
a120bde9
SM
162472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16250 if not needed.
16251 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16252 using completion. Protect against "slow" callers.
16253 Remove the "message hack".
16254
7ce7717b
JL
162552011-10-11 Juri Linkov <juri@jurta.org>
16256
16257 * isearch.el (isearch-lazy-highlight-word): New variable.
16258 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16259 Use it. (Bug#9727)
16260
c02ee9d6
GM
162612011-10-11 Glenn Morris <rgm@gnu.org>
16262
16263 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16264 like f90-previous-statement does.
16265
93e616fd 162662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16267
1f190e73 16268 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16269 only in interactive use, to avoid error.
16270
af7b6078
SM
162712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16272
16273 * minibuffer.el (completion-file-name-table): Fix last change,
16274 i.e. ignore normal errors but not the other ones.
16275
0563dae9
MR
162762011-10-10 Martin Rudalics <rudalics@gmx.at>
16277
16278 * window.el (special-display-buffer-names)
16279 (special-display-regexps): Remove some remnants of earlier
16280 changes from doc-strings.
366ca7f3
MR
16281 (quit-windows-on): New function.
16282
16283 * vc/vc.el (vc-revert, vc-rollback):
16284 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16285 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16286 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16287
49677495
MR
162882011-10-09 Martin Rudalics <rudalics@gmx.at>
16289
16290 * window.el (frame-auto-hide-function): Add version tag.
16291 (Bug#9699)
16292
56f2d1e1
MA
162932011-10-09 Michael Albinus <michael.albinus@gmx.de>
16294
16295 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16296 condition.
16297
112a6592
LL
162982011-10-09 Leo Liu <sdl.web@gmail.com>
16299
16300 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16301 (Bug#9701)
16302
0812589b
GM
163032011-10-08 Glenn Morris <rgm@gnu.org>
16304
16305 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16306 before the first code statement zero indent. (Bug#9690)
16307
b2b0776e
CY
163082011-10-08 Chong Yidong <cyd@stupidchicken.com>
16309
16310 * simple.el (count-words-region): Always count in the region.
16311 Report the number of lines and characters too.
16312 (count-words): New command, which counts in the buffer if the
16313 region is inactive, as count-words-region used to.
16314 (count-words--message): New function. Handle plurals.
16315 (count-lines-region): Make it an alias for count-words-region.
16316
16317 * bindings.el (esc-map): Replace count-lines-region with
16318 count-words-region.
16319
c557cd6b
MR
163202011-10-08 Martin Rudalics <rudalics@gmx.at>
16321
16322 * window.el (window--delete): Delete dedicated frame
16323 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16324 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16325
61a57ef4 163262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16327
3a7d293b 16328 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16329
c3833279
CY
163302011-10-07 Chong Yidong <cyd@stupidchicken.com>
16331
16332 * bindings.el ([M-left],[M-right]): Bind to left-word and
16333 right-word respectively.
16334
21ce8245
GM
163352011-10-07 Glenn Morris <rgm@gnu.org>
16336
16337 * cus-start.el (debug-on-quit): Fix custom type.
16338
6d823bb2
LMI
163392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16340
0181e193
LMI
16341 * subr.el (define-key-after): Clarify that the function is not
16342 useful for non-menu keymaps.
16343
6d823bb2
LMI
16344 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16345
8e3459ce 163462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16347
21ce8245 16348 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16349 in current minibuffer (Fix bug with recursive minibuffers).
16350
a1c2d21e
CY
163512011-10-06 Chong Yidong <cyd@stupidchicken.com>
16352
16353 * progmodes/gdb-mi.el (gdb): Doc fix.
16354
5a4cf282
MR
163552011-10-05 Martin Rudalics <rudalics@gmx.at>
16356
16357 * window.el (frame-auto-hide-function): New option replacing
16358 frame-auto-delete. Suggested by Stefan Monnier.
16359 (window--delete): Call frame-auto-hide-function instead of
16360 investigating frame-auto-delete.
c96111ea
MR
16361 (window-point-1, set-window-point-1): New functions.
16362 (window-in-direction, record-window-buffer, window-state-get-1)
16363 (display-buffer-record-window): Use window-point-1 instead of
16364 window-point.
16365 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16366
9854542e
SM
163672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16368
16369 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16370
8943cfb0
GM
163712011-10-05 Glenn Morris <rgm@gnu.org>
16372
16373 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16374 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16375
647ab967
LL
163762011-10-05 Leo Liu <sdl.web@gmail.com>
16377
16378 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16379 works with buffer object.
16380
3ddfbced
SM
163812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16382
16383 * mpc.el (mpc-tool-bar-map): Add labels.
16384
bdfa5dd2
GM
163852011-10-04 Glenn Morris <rgm@gnu.org>
16386
16387 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16388
0e2070b5
MR
163892011-10-04 Martin Rudalics <rudalics@gmx.at>
16390
16391 * window.el (window--delete): New function.
16392 (frame-auto-delete): Resuscitate option.
16393 (bury-buffer, replace-buffer-in-windows)
16394 (quit-window): Rewrite using window--delete.
16395 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16396 Pass display-buffer-mark-dedicated to window--display-buffer-2
16397 (Bug#9639).
16398
3dc61a09
SM
163992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16400
915a9b64
SM
16401 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16402 returns a list (bug#9554). Add remote file name completion.
16403 * comint.el (comint--table-subvert): Curry and get quote&unquote
16404 functions as arguments.
16405 (comint--complete-file-name-data): Adjust call accordingly.
16406 * pcomplete.el (pcomplete--table-subvert): Remove.
16407 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16408
3dc61a09
SM
16409 * minibuffer.el (completion-table-case-fold): Use currying.
16410 (completion--styles-type, completion--cycling-threshold-type):
16411 New constants.
16412 (completion-styles, completion-category-overrides)
16413 (completion-cycle-threshold): Use them.
16414 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16415 completion-table-case-fold.
16416
8ea0a993
SB
164172011-10-03 Stephen Berman <stephen.berman@gmx.net>
16418
16419 * minibuffer.el (completion-category-overrides): Fix type of styles
16420 and add more user friendly tags (bug#9660).
16421
8c24b7f6
SM
164222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16425 (mule-input-method-string): New widget.
16426 (default-input-method, language-info-custom-alist): Use it.
16427
428fe61a
SM
164282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16429
32c1fffd
SM
16430 * pcomplete.el: Require comint.
16431 (pcomplete--common-suffix): Remove.
16432 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16433 (pcomplete--table-subvert): Sync with comint--table-subvert.
16434 (pcomplete--entries): Use comint-completion-file-name-table.
16435 * comint.el (comint-unquote-filename): Simplify.
16436 (comint-completion-file-name-table): New function (bug#9616).
16437 (comint--complete-file-name-data): Use it.
16438
428fe61a
SM
16439 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16440 (pcmpl-gnu-tar-buffer): Remove.
16441 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16442 around. Make sure pcomplete-suffix-list is only changed temporarily.
16443 Don't look inside the tar's file if it's too large.
428fe61a 16444
04c52e2f
CY
164452011-10-01 Chong Yidong <cyd@stupidchicken.com>
16446
ce3cefcc
CY
16447 * cus-edit.el (custom-mode-map):
16448 * epa.el (epa-key-list-mode-map):
16449 * man.el (Man-mode-map):
16450 * startup.el (splash-screen-keymap):
16451 * simple.el (special-mode-map): Use scroll-up-command and
16452 scroll-down-command.
16453
16454 * progmodes/idlw-help.el (idlwave-help-mode-map):
16455 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16456 * net/newst-plainview.el (newsticker-mode-map):
16457 * emulation/ws-mode.el (wordstar-mode-map):
16458 * emulation/vi.el (vi-com-map):
16459 * calc/calc-graph.el (calc-graph-show-dumb):
16460 * term/sun.el (terminal-init-sun):
16461 * term/ns-win.el (global-map):
16462 * progmodes/grep.el (grep-mode-map):
16463 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16464 * mail/rmail.el (rmail-mode-map):
16465 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16466
04c52e2f
CY
16467 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16468 custom-safe-themes as special.
16469
79adf8c8
JD
164702011-10-01 Julien Danjou <julien@danjou.info>
16471
16472 * notifications.el (notifications-notify): Fix docstring.
16473
63bd50d3
PS
164742011-10-01 Per Starbäck <per@starback.se>
16475
16476 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16477
199e4c7e
MR
164782011-09-30 Martin Rudalics <rudalics@gmx.at>
16479
16480 * startup.el (command-line-1): Fix last fix by inserting
16481 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16482 (Bug#9605) and (Bug#9636)
199e4c7e 16483
fe5f08dd
EZ
164842011-09-29 Eli Zaretskii <eliz@gnu.org>
16485
16486 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16487 window is hscrolled, move by logical lines. (Bug#9607)
16488 (line-move-visual): Update the doc string to the above effect.
16489
b5516bbd
MR
164902011-09-29 Martin Rudalics <rudalics@gmx.at>
16491
ccee00c0
MR
16492 * window.el (display-buffer-record-window): When WINDOW is the
16493 selected window use `point' instead of `window-point'. (Bug#9626)
16494
b5516bbd
MR
16495 * startup.el (command-line-1): Use insert-before-markers when
16496 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16497
b5516bbd
MR
16498 * help.el (help-window): Remove variable.
16499
52aa0014
GM
165002011-09-29 Glenn Morris <rgm@gnu.org>
16501
16502 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16503
df9a7357
JB
165042011-09-29 Juanma Barranquero <lekktu@gmail.com>
16505
16506 * descr-text.el (describe-char-categories): Accept category
16507 descriptions more than one line long.
16508
a8406c20
SM
165092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16510
88d9610c
SM
16511 * simple.el (delete-trailing-whitespace): Fix last change.
16512
a5daf810
SM
16513 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16514 Don't confuse "y => 3" as the beginning of a `y' operation.
16515
a8406c20
SM
16516 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16517 object has more than 4 slots (bug#9613).
16518
a239d4e9
JB
165192011-09-28 Juanma Barranquero <lekktu@gmail.com>
16520
16521 * subr.el (with-output-to-temp-buffer):
16522 * net/quickurl.el (quickurl, quickurl-browse-url):
16523 Fix typos in docstrings.
16524
693fbdb6
EZ
165252011-09-27 Eli Zaretskii <eliz@gnu.org>
16526
16527 * minibuffer.el (completion-styles)
16528 (completion-category-overrides): Cross reference each other in doc
16529 strings.
16530
8b457e28
GM
165312011-09-27 Glenn Morris <rgm@gnu.org>
16532
16533 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16534 to split-string. (Bug#9606)
16535
85a16208
LMI
165362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16537
16538 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16539 (bug#9615).
16540
502f9ebd
CY
165412011-09-27 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * emacs-lisp/package.el (list-packages): Fix echo area message.
16544
7690bdea
LL
165452011-09-27 Leo Liu <sdl.web@gmail.com>
16546
16547 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16548
e2ee6f30
MA
165492011-09-25 Michael Albinus <michael.albinus@gmx.de>
16550
16551 * net/dbus.el (dbus-unregister-object): Don't release services for
16552 registered signals. (Bug#9581)
16553
f3f98342
TZ
165542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16555
16556 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16557 function that picks between cfengine 2 and 3 support
16558 automatically. Update docs accordingly.
16559
dd7aa8dd
KH
165602011-09-22 Kenichi Handa <handa@m17n.org>
16561
16562 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16563 ZERO.
16564 (indian-itrans-v5-table-for-tamil): New variable.
16565 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16566
3f2b07f8
KM
165672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16568
16569 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16570 that's true if the current command involved collapsing of text.
16571 It's reset to false at the beginning of the next command.
16572 (allout-post-command-business): Move the cursor to the beginning
16573 of entry if the cursor is hidden and collapsing activity just
16574 happened.
16575
371d6a61
CY
165762011-09-24 Chong Yidong <cyd@stupidchicken.com>
16577
16578 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16579 tracking (Bug#9541).
16580
2ac2721a
UJ
165812011-09-24 Ulf Jasper <ulf.jasper@web.de>
16582
16583 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16584 (newsticker-show-news): Automatically load html rendering package
16585 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16586 because w3m-fill-column is let-bound" and the error "Symbol's value
16587 as variable is void: w3m-fill-column".
2ac2721a 16588
fac7ae53
MA
165892011-09-24 Michael Albinus <michael.albinus@gmx.de>
16590
16591 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16592 Release services only if they are defined. (Bug#9581)
16593
e08b633b
RS
165942011-09-23 Richard Stallman <rms@gnu.org>
16595
e488d29c
RS
16596 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16597 distinguish start of paragraph from start of its text.
16598
19c38752
RS
16599 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16600
e08b633b
RS
16601 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16602 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16603 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16604
0a39f27e
AS
166052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16606
16607 * international/mule-diag.el (mule-diag): Insert a newline after
16608 each fontset description.
16609
db4e950d
SM
166102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * simple.el (delete-trailing-whitespace):
16613 Document last change; simplify.
16614
eca3f3ea
PW
166152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16616
d68e189a
PW
16617 * simple.el (delete-trailing-whitespace): Also delete
16618 extra newlines at the end of the buffer.
16619
eca3f3ea
PW
16620 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16621 (picture-newline): Use forward-line so as to ignore fields.
16622
01c157cc
SM
166232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * subr.el (with-wrapper-hook): Fix edebug spec.
16626
022de23e
LMI
166272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16628
16629 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16630 (bug#4538).
16631
91683089
MA
166322011-09-23 Michael Albinus <michael.albinus@gmx.de>
16633
eca3f3ea
PW
16634 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16635 Fix nasty bug using wrong cached values.
91683089 16636
5bdd6fa4
AM
166372011-09-23 Alan Mackenzie <acm@muc.de>
16638
16639 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16640
97adfb97
CY
166412011-09-23 Chong Yidong <cyd@stupidchicken.com>
16642
16643 * window.el (pop-to-buffer): Ensure right window is selected if we
16644 chose another frame.
16645
d4ef2b50
EZ
166462011-09-22 Eli Zaretskii <eliz@gnu.org>
16647
16648 * simple.el (what-cursor-position): Use get-char-property-change
16649 and next-single-char-property-change, to be able to show display
16650 properties that come from overlays as well as text properties.
16651
72258fe5
CY
166522011-09-22 Chong Yidong <cyd@stupidchicken.com>
16653
16654 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16655
16656 * cmuscheme.el (run-scheme, switch-to-scheme):
16657 * cus-edit.el (customize-group, custom-buffer-create)
16658 (customize-browse):
16659 * info.el (info):
16660 * shell.el (shell):
16661 * mail/sendmail.el (mail):
16662 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16663
8f098516
RS
166642011-09-22 Richard Stallman <rms@gnu.org>
16665
16666 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16667 move back only to line beg, don't move back over blank lines.
16668
e74f1bb6
MA
166692011-09-22 Michael Albinus <michael.albinus@gmx.de>
16670
16671 * files.el (copy-directory): Set directory attributes only in case
16672 they could be retrieved from the source directory. (Bug#9565)
16673
bfeef8b6
DK
166742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16675
16676 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16677 (hs-find-block-beginning, hs-hide-level-recursive):
16678 Ignore strings as well as comments. (Bug#9502)
16679
7e423bb8
AS
166802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16681
16682 * progmodes/sql.el (sql-comint-postgres):
16683 Convert port number to a string. (Bug#9566)
16684
b4d72fcf
MR
166852011-09-22 Martin Rudalics <rudalics@gmx.at>
16686
16687 * window.el (quit-window): Undedicate window when switching to
16688 previous buffer. Reported by Thierry Volpiatto
16689 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16690 (special-display-popup-frame): When popping up a new frame reset
16691 its previous buffers to nil. Simplify code.
b4d72fcf 16692
a7b88dc6
MA
166932011-09-21 Michael Albinus <michael.albinus@gmx.de>
16694
16695 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16696 and process filter, as done also in `shell-command'.
16697
cf4eacfd
MR
166982011-09-21 Martin Rudalics <rudalics@gmx.at>
16699
eca3f3ea 16700 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16701 Call set-window-start with NOFORCE argument t.
16702 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16703 (quit-window): Reword doc-string. Handle new format of
16704 quit-restore parameter. Don't delete window if it has a
16705 previous buffer we can show instead of the present one.
16706 (display-buffer-record-window): Rewrite using a new format for
16707 the quit-restore window parameter
16708 (special-display-popup-frame, display-buffer-same-window)
16709 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16710 (display-buffer-pop-up-window, display-buffer-use-some-window):
16711 Adapt symbol passed to display-buffer-record-window.
16712 * help.el (help-window-setup): Handle new format of quit-restore
16713 parameter.
16714
8d28cb95
SM
167152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16716
94ab793f
SM
16717 * faces.el (face-list): Fix docstring (bug#9564).
16718
8d28cb95
SM
16719 * window.el (display-buffer--action-function-custom-type):
16720 Don't include internal functions in the Custom interface.
16721
3820edeb
JL
167222011-09-20 Juri Linkov <juri@jurta.org>
16723
16724 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16725 (Info-forward-node, Info-backward-node, Info-next-preorder)
16726 (Info-last-preorder): Use it. (Bug#9528)
16727
5147931d
JL
167282011-09-20 Juri Linkov <juri@jurta.org>
16729
16730 * info.el (Info-last-preorder): Visit last menu item only when
16731 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16732
cf499a1a
JD
167332011-09-20 Julien Danjou <julien@danjou.info>
16734
16735 * password-cache.el (password-cache-remove): Remove entries even if the
16736 value is nil, so that password with a nil value (negative caching) is
16737 possible to invalidate.
16738
f84e2fe2
LM
167392011-09-20 Lawrence Mitchell <wence@gmx.li>
16740
16741 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16742 all whitespace around breakpoint. (Bug#9553)
16743 (f90-find-breakpoint): Only break at whitespace inside a comment.
16744
78054a46
SM
167452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16746
16747 * minibuffer.el (completion-file-name-table): Keep track of errors.
16748 (completion-table-with-predicate): Handle the case where pred1 is nil.
16749 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16750
345083b2
SM
167512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16752
e24e27be
SM
16753 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16754 (debugger-return-value): Signal an error if the debugging context does
16755 not await any return value.
16756
345083b2
SM
16757 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16758 * image-mode.el (image-toggle-display-text)
16759 (image-toggle-display-image): Stay away from evil `intangible'.
16760
08d355e3
LL
167612011-09-19 Leo Liu <sdl.web@gmail.com>
16762
16763 * replace.el (occur-revert-arguments): Make it permanent-local.
16764 (occur-mode): Don't call font-lock-defontify.
16765
f01da43f
CY
167662011-09-19 Chong Yidong <cyd@stupidchicken.com>
16767
16768 * net/ldap.el (ldap-search-internal): Don't push empty search
16769 result (Bug#9508).
16770
b6072fa6
SM
167712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16774
443d6696
MA
167752011-09-19 Michael Albinus <michael.albinus@gmx.de>
16776
16777 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16778 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16779
7cc6e154
JL
167802011-09-18 Juri Linkov <juri@jurta.org>
16781
16782 * buff-menu.el (Buffer-menu-mode-map):
16783 * dired.el (dired-mode-map):
16784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16785 (lisp-interaction-mode-map):
16786 * emacs-lisp/package.el (package-menu-mode-map):
16787 * epa.el (epa-key-list-mode-map):
16788 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16789 (menu-bar-options-menu):
16790 * outline.el (outline-mode-menu-bar-map):
16791 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16792 * vc/vc-dir.el (vc-dir-menu-map):
16793 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16794 Capitalize non-function content words in menu item strings.
16795
16796 * dired.el (dired-mode-map): Add menu item for
16797 `image-dired-dired-toggle-marked-thumbs'.
16798
80302a81
JL
167992011-09-18 Juri Linkov <juri@jurta.org>
16800
16801 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16802 to `isearch-case-fold-search' and restore its original value
16803 after the `isearch-mode' call.
16804
46c5cf66
JL
168052011-09-18 Juri Linkov <juri@jurta.org>
16806
16807 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16808 because `zgrep' returns 1 for successful matches (bug#9226).
16809
d18b513b
JL
168102011-09-18 Juri Linkov <juri@jurta.org>
16811
16812 * info.el (Info-extract-menu-node-name): Check the second match
16813 for empty string (second test-case of bug#9528).
16814 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16815 intermediate nodes to the history (first test-case of bug#9528).
16816
72753f87
JL
168172011-09-18 Juri Linkov <juri@jurta.org>
16818
16819 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16820 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16821
c9384295
JL
168222011-09-18 Juri Linkov <juri@jurta.org>
16823
1154d12e
JB
16824 * info.el (Info-file-supports-index-cookies):
16825 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16826 outputs one more line for long file names (bug#4142).
c9384295 16827
d473dce8
CY
168282011-09-18 Chong Yidong <cyd@stupidchicken.com>
16829
16830 * newcomment.el (comment-normalize-vars): If prompting for
16831 comment-start, set comment-start-skip too (Bug#8424).
16832
2176854d
JB
168332011-09-18 Johan Bockgård <bojohan@gnu.org>
16834
16835 * icomplete.el: Fix previous fix of Bug#5849.
16836 (icomplete-mode): Don't set completion-show-inline-help.
16837 (icomplete-minibuffer-setup): Set completion-show-inline-help
16838 locally during icompletion.
16839
3aace4e4
CY
168402011-09-18 Chong Yidong <cyd@stupidchicken.com>
16841
c940224f
CY
16842 * woman.el (woman2-process-escapes): Don't delete unrecognized
16843 escapes (Bug#7843).
16844
3aace4e4
CY
16845 * files.el (inhibit-first-line-modes-regexps): Add image files.
16846 (hack-local-variables-prop-line): Return nil for malformed
16847 prop-lines (Bug#9044).
16848
710dec63
MA
168492011-09-18 Michael Albinus <michael.albinus@gmx.de>
16850
16851 * net/tramp.el (top): Don't require 'shell.
16852 (tramp-methods): Fix docstring.
16853 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16854 Return complete remote file name. Handle "smb" case.
16855 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16856 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16857
16858 * net/tramp-compat.el (top): Require 'shell.
16859
16860 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16861 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16862 `tramp-current-host'.
16863 (tramp-get-remote-tmpdir): Remove.
16864
16865 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16866 `tramp-tmpdir' entries.
16867 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16868 (tramp-smb-handle-file-attributes): Ignore errors.
16869 (tramp-smb-wait-for-output): Check also for process end.
16870
5d5ac8ec
LMI
168712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16872
16873 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16874 when sending QUIT (bug#9312).
16875
8c0f49f0
CY
168762011-09-17 Chong Yidong <cyd@stupidchicken.com>
16877
16878 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16879 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16880 occur-mode-display-occurrence.
16881 (occur-edit-mode): Add usage message.
16882 (occur-cease-edit): New command.
16883 (occur-after-change-function): Use text properties to find the
16884 position of the prefix text.
16885 (occur-engine): Set stickiness of prefix text properties.
16886
8f1383f7
GM
168872011-09-17 Glenn Morris <rgm@gnu.org>
16888
16889 * progmodes/etags.el (complete-tag):
16890 Fix call to completion-in-region. (Bug#9526)
16891
744ba0e3
JL
168922011-09-17 Juri Linkov <juri@jurta.org>
16893
16894 * textmodes/ispell.el (ispell-word): Add to the error message
16895 the word, ispell program name and current dictionary (bug#9121).
16896 (ispell-tex-arg-end): Capitalize "error" in the error message.
16897
d9bbf400
AS
168982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16899
16900 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16901 check. (Bug#4251)
16902
8da11505
JL
169032011-09-17 Juri Linkov <juri@jurta.org>
16904
16905 * window.el (window-safe-min-height, window-safe-min-width):
16906 Fix typos (followup to bug#9522).
16907
a91adc7e
SJ
169082011-09-17 Sven Joachim <svenjoac@gmx.de>
16909
16910 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16911
064f328a
EZ
169122011-09-16 Eli Zaretskii <eliz@gnu.org>
16913
16914 * simple.el (line-move): If goal-column is set, move by logical
16915 lines, not by display lines. (Bug#971)
16916 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16917 to reflect the above change.
16918
e69df516
SM
169192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16920
16921 * image.el (imagemagick-register-types): Use regexp-opt.
16922
cbb0f9ab
CY
169232011-09-15 Chong Yidong <cyd@stupidchicken.com>
16924
16925 * window.el (display-buffer-base-action): Rename from
16926 display-buffer-default-action. Make default value empty.
16927 (display-buffer-overriding-action): Convert to defvar.
16928 (display-buffer-fallback-action): New var.
16929
25322144
CY
169302011-09-15 Chong Yidong <cyd@stupidchicken.com>
16931
16932 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16933 declaration.
16934 (package--add-to-archive-contents): If there is a duplicate entry
16935 with an older version, remove it.
16936 (package-menu-mark-delete, package-menu-mark-install)
16937 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16938 (package-menu-mark-obsolete-for-deletion):
16939 Use package-menu-get-status instead of a regexp search.
25322144
CY
16940 (package-menu-get-status): Use tabulated-list-entry.
16941 (package-menu-mark-upgrades): New command.
d770725a 16942 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16943 (package-menu-execute): Do installation before deletion.
16944 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16945 instead of checking major-mode.
16946 (package-menu--find-upgrades): New function.
16947
7520339c
LMI
169482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16949
16950 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16951 passwords in the log buffer.
65a046c4
LMI
16952 (smtpmail-process-filter): Update the process marker so that the
16953 "broken by peer" status message is inserted in the right place.
7520339c 16954
d3c30954
SM
169552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16956
3fe48822
SM
16957 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16958 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16959 bibtex-completion-at-point-function.
16960 (bibtex-completion-at-point-function): Use them.
16961
1b8b3954
SM
16962 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16963
d3c30954
SM
16964 * mpc.el (mpc-constraints-tag-lookup): New function.
16965 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16966 also to browser "album|playlist".
16967
72779976
JL
169682011-09-14 Juri Linkov <juri@jurta.org>
16969
16970 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16971 (isearch-edit-string): Use length of `isearch-string' when
16972 `isearch-fail-pos' returns nil.
16973 (isearch-message): Remove duplicate code and call
16974 `isearch-fail-pos' with arg `t'.
16975
a0bf2bcd
CY
169762011-09-14 Chong Yidong <cyd@stupidchicken.com>
16977
17bb0a2d
CY
16978 * replace.el (occur-mode-goto-occurrence): Don't force using other
16979 window (Bug#9499).
16980
a0bf2bcd
CY
16981 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16982
f678e0b6
MR
169832011-09-14 Martin Rudalics <rudalics@gmx.at>
16984
16985 * window.el (display-buffer-window): Remove.
16986 (display-buffer-record-window): Use help-setup window parameter
16987 instead of variable display-buffer-window.
16988 (display-buffer-function, special-display-buffer-names)
16989 (special-display-function): Mention help-setup parameter instead
16990 of display-buffer-window in doc-string.
d3c30954
SM
16991 * help.el (help-window-setup): New argument help-window.
16992 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16993 Reword some messages.
16994 (with-help-window): Pass window used for displaying the buffer
16995 to help-window-setup. Don't set display-buffer-window.
16996
8e39b2e8
GM
169972011-09-13 Glenn Morris <rgm@gnu.org>
16998
16999 * emacs-lisp/debug.el (debugger-make-xrefs):
17000 Preserve point. (Bug#9462)
17001
85e9c04b
CY
170022011-09-13 Chong Yidong <cyd@stupidchicken.com>
17003
17004 * window.el (window-deletable-p): Use next-frame.
17005
1b36ed6a
MR
170062011-09-13 Martin Rudalics <rudalics@gmx.at>
17007
17008 * window.el (window-auto-delete): Remove.
17009 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 17010 dedication and previous buffers.
1b36ed6a
MR
17011 (switch-to-prev-buffer): Don't delete window.
17012 (delete-windows-on): Delete a window's frame if and only if the
17013 window is dedicated.
17014 (replace-buffer-in-windows): Delete buffer's window or frame if
17015 and only if window is dedicated.
17016 (quit-window): Handle quit-restore as before last change.
4d61f28d 17017 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 17018
ef8ef9fb
CY
170192011-09-13 Chong Yidong <cyd@stupidchicken.com>
17020
17021 * window.el (window-deletable-p): Never delete the last frame on a
17022 given terminal.
17023
b2cba41e
GM
170242011-09-13 Glenn Morris <rgm@gnu.org>
17025
17026 * help.el (describe-key-briefly): Copy previous standard-output change.
17027
51553db6 170282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
17029
17030 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17031
b7556719
GM
170322011-09-13 Glenn Morris <rgm@gnu.org>
17033
17034 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17035 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17036
64b51947
CY
170372011-09-12 Chong Yidong <cyd@stupidchicken.com>
17038
17039 * dired-aux.el (dired-mark-read-string): Don't return default
17040 value on empty input (Bug#9361).
17041 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17042 Omit initial minibuffer contents.
17043 (dired-do-chmod): Signal an error on empty input.
17044 (dired-mark-read-string): Don't return default on empty input.
17045
17046 * files.el (file-modes-symbolic-to-number): Doc fix.
17047
393a301e
SM
170482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * international/mule-cmds.el (ucs-completions): Remove.
17051 (read-char-by-name): Use complete-with-action instead; add metadata.
17052
fa5660f9
CY
170532011-09-11 Chong Yidong <cyd@stupidchicken.com>
17054
17055 * window.el (display-buffer--action-function-custom-type)
17056 (display-buffer--action-custom-type): New vars.
17057 (display-buffer-alist, display-buffer-default-action)
17058 (display-buffer-overriding-action): Add defcustom types.
17059
4a592f66
CY
17060 * frame.el (delete-other-frames): Doc fix (Bug#276).
17061
73d56dbd
LMI
170622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17063
17064 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17065
37ac18a3
CY
170662011-09-11 Chong Yidong <cyd@stupidchicken.com>
17067
17068 Change modes that used same-window-* vars to use switch-to-buffer.
17069
17070 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17071 Use switch-to-buffer.
17072
17073 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
17074 (customize-browse, custom-buffer-create-other-window):
17075 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
17076
17077 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17078 (Info-prev, Info-up, Info-speedbar-goto-node)
17079 (info-display-manual): Use switch-to-buffer.
17080 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17081
17082 * mail/sendmail.el (mail): Use switch-to-buffer.
17083 (mail-recover): Use switch-to-buffer-other-window.
17084
17085 * cmuscheme.el (run-scheme, switch-to-scheme):
17086 * ielm.el (ielm):
17087 * shell.el (shell):
17088 * net/rlogin.el (rlogin):
17089 * net/telnet.el (telnet, rsh):
17090 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17091
10195bd6
AS
170922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17093
17094 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17095
b322f63a
LMI
170962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17097
39d7fed6
LMI
17098 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17099 so don't mention it (bug#9301).
ba5a81f1 17100 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 17101
ee0e9f11
LMI
17102 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17103 match `x', `w32' and `ns', like the manual says (bug#9029).
17104
0b1c89c1 17105 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
17106 (process-kill-buffer-query-function): Mention the buffer name in
17107 the query.
0b1c89c1 17108
77549ea8
LMI
17109 * image-mode.el (image-next-line): The line parameter is mandatory
17110 (bug#9258).
17111
803ef892
LMI
17112 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17113 which can be useful (bug#9301).
17114
12980837
LMI
17115 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17116
91054f8f
LMI
17117 * subr.el (match-string): Mention that the current buffer should
17118 be the same as the search was done in (bug#9282).
17119
b322f63a
LMI
17120 * facemenu.el: Disable the remove-* commands if the mark isn't
17121 active (bug#9162).
17122
3199b96f
CY
171232011-09-10 Chong Yidong <cyd@stupidchicken.com>
17124
17125 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17126 of display-buffer.
17127 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17128
17129 * replace.el (occur-mode-goto-occurrence)
17130 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17131 and display-buffer.
17132
17133 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17134 display-buffer.
17135
17136 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17137 special-display and same-window variables.
17138 (mail-other-window): Use switch-to-buffer-other-window.
17139 (mail-other-frame): USe switch-to-buffer-other-frame.
17140
393a301e
SM
17141 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17142 Use display-buffer-other-frame.
3199b96f
CY
17143 (gdb-display-gdb-buffer): Use pop-to-buffer.
17144
17145 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17146
17147 * progmodes/python.el: Don't set same-window-buffer-names.
17148
17149 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17150
17151 * window.el (display-buffer-alist): Add *Python*.
17152
8319e0bf
CY
171532011-09-10 Chong Yidong <cyd@stupidchicken.com>
17154
17155 * window.el (display-buffer-alist): Add entry for buffers
17156 previously handled same-window-*.
17157 (display-buffer-alist, display-buffer-default-action)
17158 (display-buffer-overriding-action): Mark as risky.
17159 (display-buffer-alist): Document action function changes.
17160 (display-buffer--same-window-action)
17161 (display-buffer--other-frame-action): New variables.
17162 (switch-to-buffer, display-buffer-other-frame): Use them.
17163 (display-buffer): Rename reuse-frame entry to reusable-frames.
17164 (display-buffer-reuse-selected-window): Function deleted.
17165 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17166 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17167 (display-buffer-special): New function.
17168 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17169 display-buffer-reuse-or-pop-window. Split off special-display
17170 part into display-buffer-special.
17171 (display-buffer-use-some-window): Don't perform any special
17172 pop-up-frames handling.
17173 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 17174 (display-buffer--maybe-same-window): Rename from
0d3ff375 17175 display-buffer-maybe-same-window.
8319e0bf 17176
919a69aa
CY
17177 * info.el: Don't set same-window-regexps.
17178 (info-setup): New function.
17179 (info-other-window, info): Call it.
17180
17181 * cus-edit.el: Don't set same-window-regexps.
17182 (customize-group): New argument.
17183 (customize-group-other-window): Use it.
17184 (customize-face, customize-face-other-window): Likewise.
17185 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17186
8319e0bf
CY
17187 * net/rlogin.el:
17188 * net/telnet.el:
17189 * progmodes/gud.el: Don't set same-window-regexps.
17190
17191 * cmuscheme.el:
17192 * ielm.el:
17193 * shell.el:
17194 * mail/sendmail.el:
17195 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17196
25173000
JL
171972011-09-10 Juri Linkov <juri@jurta.org>
17198
17199 * isearch.el (isearch-edit-string): Remove obsolete mention of
17200 `C-w' (`isearch-yank-word-or-char') from docstring.
17201 (isearch-query-replace): Fix typo in docstring (bug#9466).
17202
056e44ef
JL
172032011-09-10 Juri Linkov <juri@jurta.org>
17204
17205 * paren.el (show-paren-function): Don't show escaped parens.
17206 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17207
c3760c17
EZ
172082011-09-10 Eli Zaretskii <eliz@gnu.org>
17209
17210 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17211 (mm-default-file-encoding): Remove autoload forms, they are
17212 replaced with autoload cookies in mml.el and mm-encode.el.
17213 (mail-add-attachment): New command.
17214 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17215 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17216 the doc string.
17217 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17218
fece895e
RT
172192011-09-10 Reuben Thomas <rrt@sc3d.org>
17220
e69df516
SM
17221 * simple.el (count-words-region): Use buffer if there's no region
17222 (bug#9429).
fece895e 17223
5e68ce4a
JL
172242011-09-09 Juri Linkov <juri@jurta.org>
17225
17226 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17227 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17228 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17229
0a6b9622
AM
172302011-09-09 Alan Mackenzie <acm@muc.de>
17231
17232 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17233 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17234
14a29deb
EZ
172352011-09-09 Eli Zaretskii <eliz@gnu.org>
17236
17237 Fix for Savannah bug#9392.
17238 * simple.el (mail-encode-mml): New defvar.
17239
17240 * mail/rmail.el (mail-encode-mml): Add a defvar.
17241 (rmail-enable-mime-composing): Default to t.
17242 (rmail-forward): Use MIME method of forwarding only if both
17243 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17244 Set mail-encode-mml non-nil if the MIME method was used.
17245
17246 * mail/sendmail.el (mml-to-mime): Add autoload form.
17247 (mail-encode-mml): Add a defvar.
17248 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17249 to nil.
17250 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17251 message through mml-to-mime, and reset mail-encode-mml to nil.
17252
28c45130
GM
172532011-09-09 Glenn Morris <rgm@gnu.org>
17254
17255 * woman.el (woman-if-body): When processing an .el block,
17256 do not delete the next .el block as well. (Bug#9447)
69f4b618 17257 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17258
9b1c252e
MR
172592011-09-08 Martin Rudalics <rudalics@gmx.at>
17260
17261 * window.el (window-deletable-p): Make sure window is live before
17262 invoking window-prev-buffers.
17263
567457e3
LL
172642011-09-08 Leo Liu <sdl.web@gmail.com>
17265
17266 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17267
97f05794
JL
172682011-09-08 Juri Linkov <juri@jurta.org>
17269
17270 * progmodes/compile.el (compilation-environment): Make it
17271 a defcustom (bug#8340).
17272
8b0874b5
MR
172732011-09-08 Martin Rudalics <rudalics@gmx.at>
17274
17275 * window.el (frame-auto-delete): Rename to window-auto-delete.
17276 Make it control auto-deletion of windows and/or frames.
17277 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17278 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17279 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17280 Rewrite handling of case when window/frame can be deleted.
17281 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17282 argument t. (Bug#9456)
8b0874b5 17283
4feb6e73
CY
172842011-09-07 Chong Yidong <cyd@stupidchicken.com>
17285
17286 * help-mode.el (help-mode): Restore autoload.
17287
91ab9c13
JL
172882011-09-07 Juri Linkov <juri@jurta.org>
17289
17290 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17291 `compilation-environment'. Set buffer-local
17292 `compilation-environment' to `thisenv' later after (funcall mode).
17293 (Bug#8340)
17294
17295 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17296 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17297 instead of replacing its value. (Bug#8340)
17298
0527e251
JL
172992011-09-07 Juri Linkov <juri@jurta.org>
17300
17301 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17302 based on text properties put by `grep-filter' instead of matching
17303 escape sequences.
17304 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17305 to the value of `grep-error-screen-columns' (bug#9438).
17306
249f792c
JL
173072011-09-07 Juri Linkov <juri@jurta.org>
17308
17309 * simple.el (next-error-highlight, next-error-highlight-no-select):
17310 Doc fix (bug#9432).
17311
ff7271b9
OT
173122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17313
17314 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17315 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17316
183fc730
LL
173172011-09-07 Leo Liu <sdl.web@gmail.com>
17318
17319 * net/rcirc.el (rcirc-mode): Conditionally initialize
17320 rcirc-input-ring.
17321
77694924
SM
173222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17323
17324 * emacs-lisp/find-func.el (find-function-C-source): Only set
17325 find-function-C-source-directory after checking that we found a source
17326 file there (bug#9440).
17327
d809b8eb
AM
173282011-09-06 Alan Mackenzie <acm@muc.de>
17329
17330 * isearch.el (isearch-other-meta-char): Wherever a key list is
17331 unread, "unread" the prefix arg, too. This fixes bug #8901.
17332
453de99f
OG
173332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17334
17335 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17336
90439906
JL
173372011-09-05 Juri Linkov <juri@jurta.org>
17338
17339 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17340
f62bd846
JL
173412011-09-05 Juri Linkov <juri@jurta.org>
17342
17343 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17344 keeping point where processing of grep matches begins, and
17345 continue to delete remaining escape sequences from the same point.
17346 (grep-filter): Make leading zero optional in "0?1;31m" because
17347 git-grep emits "\033[1;31m" escape sequences unlike expected
17348 "\033[01;31m" as GNU Grep does (bug#9408).
17349 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17350
045820ec
JL
173512011-09-05 Juri Linkov <juri@jurta.org>
17352
17353 * subr.el (y-or-n-p): Capitalize "yes".
17354
f5e29b9b
MA
173552011-09-04 Michael Albinus <michael.albinus@gmx.de>
17356
17357 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17358 `tramp-cache-unload-hook' where appropriate.
17359 (tramp-methods): Rename `tramp-remote-sh' to
17360 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17361 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17362
17363 * net/tramp-sh.el (top): Don't require 'shell.
17364 (tramp-methods): Add `tramp-remote-shell' and
17365 `tramp-remote-shell-args' entries.
17366 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17367 (tramp-sh-handle-shell-command): Remove.
17368 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17369 Use `tramp-remote-shell'.
17370
2784c434
CY
173712011-09-03 Chong Yidong <cyd@stupidchicken.com>
17372
393a301e 17373 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17374 (sendmail-query-once): Save directly to send-mail-function.
17375 Update message-send-mail-function too.
17376
17377 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17378
464cdf56
CS
173792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17380
17381 * progmodes/python.el (python-mode-map): Use correct function to
17382 start python interpreter from menu-bar (as reported by Geert
17383 Kloosterman).
17384 (inferior-python-mode-map): Fix typo.
393a301e 17385 (python-shell-map): Remove.
464cdf56 17386
d37e5c87
DD
173872011-09-03 Deniz Dogan <deniz@dogan.se>
17388
17389 * net/rcirc.el (rcirc-print): Simplify code for
17390 rcirc-scroll-show-maximum-output. There is no need to walk
17391 through all windows to find the right one.
17392
f3ada0ee
CS
173932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17394
17395 * help.el (help-return-method): Doc fix.
17396
1f3c99ca
MR
173972011-09-03 Martin Rudalics <rudalics@gmx.at>
17398
17399 * window.el (window-deletable-p): Don't return a non-nil value
17400 when there's a buffer that was shown in the window before.
17401 (Bug#9419)
393a301e
SM
17402 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17403 Set window's previous buffers to nil.
1f3c99ca 17404
a3cf097f
EZ
174052011-09-03 Eli Zaretskii <eliz@gnu.org>
17406
17407 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17408 newline before and after the tag line, so it doesn't interfere
17409 with determining the paragraph direction of bidirectional text.
17410
3d03de90
LL
174112011-09-03 Leo Liu <sdl.web@gmail.com>
17412
17413 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17414
c3313451
CY
174152011-09-02 Chong Yidong <cyd@stupidchicken.com>
17416
393a301e 17417 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17418 (pop-to-buffer): Change interactive spec. Pass second argument
17419 directly to display-buffer.
17420 (display-buffer): Fix interactive spec. Use functionp to
17421 distinguish between a function and a list of functions.
17422
17423 * abbrev.el (edit-abbrevs):
17424 * arc-mode.el (archive-extract):
17425 * autoinsert.el (auto-insert):
17426 * bookmark.el (bookmark-bmenu-list):
17427 * files.el (find-file):
17428 * view.el (view-buffer):
17429 * progmodes/compile.el (compilation-goto-locus):
17430 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17431
89894cd8
CY
174322011-09-02 Chong Yidong <cyd@stupidchicken.com>
17433
17434 * window.el (display-buffer-alist): Doc fix.
17435 (display-buffer): Add docstring. Don't treat
17436 display-buffer-default specially.
17437 (display-buffer-reuse-selected-window)
17438 (display-buffer-same-window, display-buffer-maybe-same-window)
17439 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17440 (display-buffer-pop-up-window)
17441 (display-buffer-reuse-or-pop-window)
17442 (display-buffer-use-some-window): New functions.
17443 (display-buffer-default-action): Use them.
393a301e 17444 (display-buffer-default): Delete.
89894cd8
CY
17445 (pop-to-buffer-1): Fix choice of actions.
17446
ae0bc9fb
SM
174472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17448
17449 * minibuffer.el (completion--insert-strings): Don't get confused by
17450 completion entries that end with an LF char.
17451
e9d90883
EZ
174522011-09-01 Eli Zaretskii <eliz@gnu.org>
17453
17454 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17455
437014c8
CY
174562011-09-01 Chong Yidong <cyd@stupidchicken.com>
17457
17458 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17459 (display-buffer-same-window, display-buffer-other-window):
17460 New functions.
437014c8
CY
17461 (pop-to-buffer-1): New function. Use the above.
17462 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17463 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17464
17465 * view.el (view-buffer-other-window, view-buffer-other-frame):
17466 Just use pop-to-buffer.
17467
a5e063d5
TV
174682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17469
17470 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17471
793d32bb
WH
174722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17473
17474 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17475
d65e4c15
RS
174762011-08-31 Richard Stallman <rms@gnu.org>
17477
17478 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17479 of the separation of rmail-view-buffer from rmail-buffer.
17480 If you say no to "replace original", the decrypt is in the
17481 view buffer. If you say yes, the decrypt goes into the
17482 rmail buffer also.
17483
f818cd2a
MR
174842011-08-31 Martin Rudalics <rudalics@gmx.at>
17485
17486 * window.el (display-buffer-window): Rewrite doc-string.
17487 (display-buffer-record-window): New function.
17488 (display-buffer-macro-specifiers)
17489 (display-buffer-even-window-sizes, display-buffer-set-height)
17490 (display-buffer-set-width, display-buffer-in-window)
17491 (display-buffer-reuse-window, display-buffer-split-specifiers)
17492 (display-buffer-side-specifiers, display-buffer-split-window-1)
17493 (display-buffer-split-window, display-buffer-split-atom-window)
17494 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17495 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17496 (display-buffer-other-window-means-other-frame)
17497 (display-buffer-normalize-special)
17498 (display-buffer-normalize-default)
17499 (display-buffer-normalize-argument)
17500 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17501 (display-buffer-normalize-specifiers, display-buffer-frame)
17502 (display-buffer-same-window, display-buffer-same-frame)
17503 (display-buffer-other-window)
17504 (display-buffer-same-frame-other-window)
17505 (display-buffer-other-frame, pop-to-buffer-same-window)
17506 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17507 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17508 (switch-to-buffer-same-frame)
17509 (switch-to-buffer-other-window-same-frame)
17510 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17511 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17512 (display-buffer-alist-set): Remove.
17513 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17514 (special-display-regexps, special-display-function):
17515 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17516 parameter.
17517 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17518 (special-display-frame-alist, special-display-popup-frame)
17519 (same-window-buffer-names, same-window-regexps, same-window-p)
17520 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17521 (split-window-preferred-function, split-height-threshold)
17522 (split-width-threshold, window-splittable-p)
17523 (split-window-sensibly, window--try-to-split-window)
17524 (window--frame-usable-p, even-window-heights)
17525 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17526 (window--display-buffer-2, display-buffer-other-frame):
17527 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17528 (display-buffer-default, display-buffer-assq-regexp): New functions.
17529 (display-buffer-alist): Rewrite doc-string.
17530 (display-buffer-default-action)
17531 (display-buffer-overriding-action): New variables.
17532 (display-buffer, switch-to-buffer): Rewrite.
17533 (pop-to-buffer): Restore Emacs 23 behavior but use
17534 window-normalize-buffer-to-display.
17535 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17536 Restore Emacs 23 behavior but use
17537 window-normalize-buffer-to-switch-to.
17538 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17539 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17540 Rewrite using Emacs 23 options.
f818cd2a 17541
5bc3b51d
MA
175422011-08-31 Michael Albinus <michael.albinus@gmx.de>
17543
17544 * net/tramp.el (tramp-root-regexp): Remove.
17545 (tramp-completion-file-name-regexp-unified)
17546 (tramp-completion-file-name-regexp-separate)
17547 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17548 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17549 (tramp-drop-volume-letter): Simplify definition.
17550 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17551
b1a4f8e1
SM
175522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17553
17554 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17555 (bug#9356).
17556
5664fa7b
RT
175572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17558
b1a4f8e1 17559 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17560
9a45d6c3
JL
175612011-08-29 Juri Linkov <juri@jurta.org>
17562
17563 * isearch.el (isearch-done): Don't display message "Mark saved"
17564 when arg `edit' is non-nil to prevent its flicker in the echo area.
17565
fb87e0fb
CY
175662011-08-28 Chong Yidong <cyd@stupidchicken.com>
17567
17568 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17569 obsolete packages for deletion.
17570
09ac1c2a
CS
175712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17572
17573 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17574 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17575 view-mode from help-mode.
17576 (help-xref-override-view-map): Remove.
17577 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17578 view-mode is not used anymore.
17579
7a1ff57f
CY
175802011-08-28 Chong Yidong <cyd@stupidchicken.com>
17581
17582 * server.el (server-port): Doc fix.
17583
b9696605
CY
17584 * cus-theme.el (custom-theme-choose-mode): Inherit from
17585 special-mode (Bug#9124).
17586 (custom-theme-choose-mode-map): Add special-mode to parent.
17587
ef8cdf8c
AM
175882011-08-28 Alan Mackenzie <acm@muc.de>
17589
17590 * progmodes/cc-fonts.el
17591 (c-make-font-lock-BO-decl-search-function): New function.
17592 (c-basic-matchers-after - "Fontify the clauses after various
17593 keywords"): Extract the three keyword lists for the 3 erroneous
17594 constructs from the list of four, and use the new function above
17595 in place of an old one.
17596
27de4e20
DD
175972011-08-28 Deniz Dogan <deniz@dogan.se>
17598
17599 * net/rcirc.el (rcirc-insert-prev-input)
17600 (rcirc-insert-next-input): Remove unused argument.
17601
356a3681
SM
176022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17603
17604 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17605
3fc9b218
AM
176062011-08-27 Alan Mackenzie <acm@muc.de>
17607
17608 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17609 handle function pointer parameters properly.
17610
538a061c
MR
176112011-08-27 Martin Rudalics <rudalics@gmx.at>
17612
17613 * window.el (display-buffer-reuse-window): Fix case where
17614 selected window was reused with non-nil OTHER-WINDOW argument.
17615 (Bug#9381)
17616
35b1c40c
DD
176172011-08-27 Deniz Dogan <deniz@dogan.se>
17618
17619 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17620 oftc's NickServ messages.
17621
2f6a3e79
GM
176222011-08-27 Glenn Morris <rgm@gnu.org>
17623
17624 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17625
7254299e
CY
176262011-08-26 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * emacs-lisp/package.el (package-install): Call package-initialize
17629 if called interactively.
17630
f8ccf167
LL
176312011-08-26 Leo Liu <sdl.web@gmail.com>
17632
17633 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17634
3e8cd5ce
JL
176352011-08-25 Juri Linkov <juri@jurta.org>
17636
17637 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17638 `search-whitespace-regexp' (bug#9364).
17639
93eb7113
JL
176402011-08-25 Juri Linkov <juri@jurta.org>
17641
17642 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17643 `regexp-search-ring' to their global values to protect from
17644 updating by `read-from-minibuffer' (bug#9185).
17645
f65d1611
JL
176462011-08-25 Juri Linkov <juri@jurta.org>
17647
17648 * textmodes/ispell.el (ispell-command-loop): Add newline
17649 at the end of the "Use option `i'..." line.
17650
f1cf7a31
JL
176512011-08-25 Juri Linkov <juri@jurta.org>
17652
17653 * battery.el (display-battery-mode): If `battery-status-function'
17654 or `battery-mode-line-format' is nil, display the message and set
17655 `display-battery-mode' to nil (bug#9363).
17656
0c95fcf7
EZ
176572011-08-25 Eli Zaretskii <eliz@gnu.org>
17658
17659 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17660 bidi-string-mark-left-to-right; they are unnecessary now.
17661
a2ebe600
DD
176622011-08-25 Deniz Dogan <deniz@dogan.se>
17663
17664 * net/quickurl.el: Documentation typo fixes.
17665
e4ed06f1
CY
176662011-08-25 Chong Yidong <cyd@stupidchicken.com>
17667
17668 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17669
e5f1c99e
GM
176702011-08-25 Glenn Morris <rgm@gnu.org>
17671
b2948976
GM
17672 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17673
e5f1c99e
GM
17674 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17675 (smtpmail-via-smtp): Handle nil response from smtp.
17676
f22f4808
JL
176772011-08-24 Juri Linkov <juri@jurta.org>
17678
17679 * proced.el (proced-marked): Inherit from `error' instead of
17680 `font-lock-warning-face'.
17681
17682 * ibuffer.el (ibuffer-marked-face): Change default face from
17683 `font-lock-warning-face' to `warning'.
17684 (ibuffer-deletion-face): Change default face from
17685 `font-lock-type-face' to `error'.
17686
17687 * battery.el (battery-update): Use the face `error' instead of
17688 `font-lock-warning-face' (bug#6117).
17689
6a93965e
JL
176902011-08-24 Juri Linkov <juri@jurta.org>
17691
17692 * faces.el (success): Change face color from "Green3" to
17693 "ForestGreen" on light background (bug#9353).
17694
1ed43b09
CY
176952011-08-24 Chong Yidong <cyd@stupidchicken.com>
17696
5664fa7b
RT
17697 * window.el (quit-window): Rename from quit-restore-window.
17698 Use same arglist as old quit-window.
1ed43b09
CY
17699 (frame-auto-delete): Doc fix.
17700
17701 * view.el (view-mode-exit): Use quit-window.
17702
11dcdbb2
JL
177032011-08-24 Juri Linkov <juri@jurta.org>
17704
17705 * isearch.el (isearch-ring-adjust1): Start visiting previous
17706 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17707 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17708 for empty search string (when the last search string is reused
17709 automatically) to adjust the isearch ring to the last element and
17710 prepare the correct index for further M-p commands (bug#9185).
17711
de62b4df
KH
177122011-08-24 Kenichi Handa <handa@m17n.org>
17713
17714 * international/ucs-normalize.el: If decomposition property of
17715 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17716 nil.
17717 (nfd, nfkd): Likewise.
17718
963b492b
SM
177192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17720
17721 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17722 from process filters aren't reliably transmitted to the surrounding
17723 accept-process-output.
17724 (mpc-proc-check): New function.
17725 (mpc-proc-sync): Use it (bug#8293)
17726
93b6b5e1
SM
177272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17728
17729 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17730 Add compatibility functions (bug#9313).
17731
bca633fb
EZ
177322011-08-23 Eli Zaretskii <eliz@gnu.org>
17733
b177498a
EZ
17734 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17735
6df6ae42 17736 * international/uni-bidi.el: Regenerate.
bca633fb 17737
0902a04e
KH
177382011-08-23 Kenichi Handa <handa@m17n.org>
17739
17740 * international/charprop.el:
17741 * international/uni-bidi.el:
17742 * international/uni-category.el:
17743 * international/uni-combining.el:
17744 * international/uni-comment.el:
17745 * international/uni-decimal.el:
17746 * international/uni-decomposition.el:
17747 * international/uni-digit.el:
17748 * international/uni-lowercase.el:
17749 * international/uni-mirrored.el:
17750 * international/uni-name.el:
17751 * international/uni-numeric.el:
17752 * international/uni-old-name.el:
17753 * international/uni-titlecase.el:
17754 * international/uni-uppercase.el: Regenerate.
17755
3bbf23bc
MR
177562011-08-23 Martin Rudalics <rudalics@gmx.at>
17757
17758 * help.el (help-window-setup): Fix message displayed when other
17759 window is reused. (Bug#9341)
17760
b3fd59bd
SM
177612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17762
1802e444
SM
17763 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17764 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17765
b3fd59bd
SM
17766 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17767 Mark obsolete.
17768 * shell.el (shell-parse-pcomplete-arguments): New function.
17769 (shell-completion-vars): Use it instead (bug#9160).
17770
4eb61348
SM
177712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17772
867cab74
SM
17773 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17774 strings and comments (bug#9333).
17775
4eb61348
SM
17776 * emacs-lisp/debug.el (debug-arglist): New function.
17777 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17778 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17779
262a1439
JL
177802011-08-22 Juri Linkov <juri@jurta.org>
17781
56ee679c
JL
17782 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17783 Revert regexp that highlights output switches to its old
17784 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17785
262a1439
JL
17786 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17787 to check for empty output (bug#9226).
17788
f13f86fb
CY
177892011-08-22 Chong Yidong <cyd@stupidchicken.com>
17790
17791 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17792 symbol-constituent as the default, as that stops font-lock from
17793 working properly (Bug#8843).
17794
c65c9622
LMI
177952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17796
17797 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17798 `coding-system-for-*' around the process open call to avoid
17799 auth-source side effects.
e7f2c178 17800 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17801 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17802 probe hangs.
c65c9622 17803
23a8a5ab
CY
178042011-08-21 Chong Yidong <cyd@stupidchicken.com>
17805
ff98b2dd
CY
17806 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17807
23a8a5ab
CY
17808 * emacs-lisp/find-func.el (find-function-noselect): New arg
17809 lisp-only.
17810
17811 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17812 signal an error for built-in functions (Bug#6664).
17813
f5e3c598
LMI
178142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17815
17816 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17817 (smtpmail-try-auth-methods): Use it.
17818
a3f2468a
CY
178192011-08-21 Chong Yidong <cyd@stupidchicken.com>
17820
2c34e8da
CY
17821 * font-lock.el (font-lock-fontify-region)
17822 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17823 (font-lock-default-unfontify-buffer)
17824 (font-lock-default-fontify-region)
17825 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17826
b3fd59bd
SM
17827 * progmodes/compile.el (compilation-error-properties):
17828 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17829 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17830 `ant' regexp.
ee31aabc 17831
a3f2468a
CY
17832 * net/browse-url.el (browse-url-firefox): Don't call
17833 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17834
8e999f70
GM
178352011-08-20 Glenn Morris <rgm@gnu.org>
17836
c21a496a
GM
17837 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17838
59ee0542
GM
17839 * tutorial.el (tutorial--default-keys): Update some default bindings.
17840
8e999f70
GM
17841 * files.el (hack-local-variables): Fully ignore case for "mode:".
17842
e3715033
AM
178432011-08-20 Alan Mackenzie <acm@muc.de>
17844
17845 Resolve invalid use of a regexp in regexp-opt.
17846
4d61f28d
JB
17847 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17848 detection for a java annotation.
e3715033 17849
4d61f28d 17850 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17851 detection for a java annotation.
17852
4d61f28d
JB
17853 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17854 handling for java.
e3715033
AM
17855 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17856
04ed2e9c
CY
178572011-08-20 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17860 (Bug#9274).
17861
826cee64
AM
178622011-08-20 Alan Mackenzie <acm@muc.de>
17863
58179cce 17864 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17865 such a construct. Mainly for when jit-lock etc. starts a chunk
17866 here.
17867
58179cce 17868 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17869 variable.
58179cce 17870 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17871 c-make-font-lock-search-function.
17872 (c-make-font-lock-search-function): Use the above function.
17873 (c-make-font-lock-context-search-function): New function.
17874 (c-cpp-matchers): Enhance the preprocessor expression case with
17875 the above function
17876 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17877 which takes an expression.
17878
17879 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17880
13009bd8
MR
178812011-08-20 Martin Rudalics <rudalics@gmx.at>
17882
17883 * window.el (display-buffer-reuse-window)
17884 (display-buffer-pop-up-window): Don't reuse or split a side
17885 window.
17886
9234ff7f
GM
178872011-08-19 Glenn Morris <rgm@gnu.org>
17888
17889 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17890 Downcase "Mode:". (Bug#9331)
9234ff7f 17891
f635daa1
CY
178922011-08-18 Chong Yidong <cyd@stupidchicken.com>
17893
17894 * international/characters.el: Add L and R categories.
17895
17896 * subr.el (bidi-string-mark-left-to-right): Rename from
17897 string-mark-left-to-right. Use category search.
17898
17899 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17900
bc987f8b
JL
179012011-08-18 Juri Linkov <juri@jurta.org>
17902
17903 * faces.el (error, warning, success): New faces with definitions
17904 copied from old default values of `font-lock-warning-face',
17905 `compilation-warning', `compilation-info' (bug#6117).
17906
17907 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17908
17909 * progmodes/compile.el (compilation-error): Inherit from `error'.
17910 (compilation-warning): Inherit from `warning'.
17911 (compilation-info): Inherit from `success'.
17912
17913 * dired.el (dired-marked): Inherit from `warning'.
17914 (dired-flagged): Inherit from `error'.
17915
57173b96
LMI
179162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17917
3e79eb87
LMI
17918 * mail/smtpmail.el (auth-source): Require to avoid problems with
17919 binding variables (bug#9298). Also clean up some unused
17920 autoloads.
17921
b3fd59bd
SM
17922 * net/network-stream.el (network-stream-open-starttls):
17923 Support using starttls.el without using gnutls-cli.
57173b96 17924
02b404de
JL
179252011-08-17 Juri Linkov <juri@jurta.org>
17926
17927 * progmodes/grep.el (rgrep): Handle the case when
17928 `grep-find-command' is a cons cell (bug#9278).
17929
8c9177f2
MR
179302011-08-17 Martin Rudalics <rudalics@gmx.at>
17931
17932 * window.el (display-buffer-pop-up-frame): Run frame creation
17933 function with BUFFER current (as special-display-popup-frame
17934 does). Reported by Drew Adams.
17935
3644a0ab
DU
179362011-08-17 Daiki Ueno <ueno@unixuser.org>
17937
17938 * epa-mail.el: Simplify GnuPG group expansion using
17939 epg-expand-group.
17940 (epa-mail-group-alist, epa-mail-group-modtime)
17941 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17942 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17943 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17944 Remove.
17945
5e617bc2 179462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17947
17948 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17949
9c4aeabf
AM
179502011-08-16 Alan Mackenzie <acm@muc.de>
17951
17952 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17953 Correct, to avoid the inside of macros.
17954
3a99bf64
RS
179552011-08-16 Richard Stallman <rms@gnu.org>
17956
04963aa8
RS
17957 * epa-mail.el: Handle GnuPG group definitions.
17958 (epa-mail-group-alist, epa-mail-group-modtime)
17959 (epa-mail-gnupg-conf-file): New variables.
17960 (epa-mail-parse-groups, epa-mail-sync-groups)
17961 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17962 (epa-mail-expand-recipients): New functions.
17963 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17964
177549d0
RS
17965 * mail/rmail.el (rmail-epa-decrypt): New command.
17966
fe38beef
RS
17967 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17968 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17969 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17970 (epa-decrypt-armor-in-region): Make error message clearer.
17971
934eacb9
SM
179722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17975 and "a2b" to "ab" for `prefix'.
17976
d024fb4e
CY
179772011-08-14 Chong Yidong <cyd@stupidchicken.com>
17978
17979 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17980 filter groups.
de148fee
CY
17981 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17982 Fourquet (Bug#8804).
d024fb4e 17983
62f1ca49
JB
179842011-08-12 Juanma Barranquero <lekktu@gmail.com>
17985
17986 * startup.el (argi): Declare as global variable (bug#9275).
17987
9ccaaa4b
CY
179882011-08-12 Chong Yidong <cyd@stupidchicken.com>
17989
17990 * subr.el (string-mark-left-to-right): Search the entire string
17991 for RTL script, not just the terminating character. Doc fix.
17992
a3dae87a
SM
179932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17994
6cd18349
SM
17995 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17996 New function.
17997 (js--regexp-literal, js-syntax-propertize-function): Remove.
17998 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17999 (js-mode-map): Don't rebind electric keys.
18000 (js-insert-and-indent): Remove.
18001 (js-mode): Setup electric-layout and electric-indent instead.
18002
a3dae87a
SM
18003 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18004
9d5cb631
DU
180052011-08-12 Daiki Ueno <ueno@unixuser.org>
18006
18007 * epa.el (epa-progress-callback-function): Fix the logic of
18008 displaying progress.
18009 * epa-file.el (epa-file-insert-file-contents): Make progress
18010 display more user-friendly.
18011 (epa-file-write-region): Ditto.
18012
3e26a4a2
CY
180132011-08-10 Chong Yidong <cyd@stupidchicken.com>
18014
18015 * subr.el (string-mark-left-to-right): New function.
18016
18017 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18018 Use string-mark-left-to-right.
18019 (list-buffers-noselect): Caller changed.
18020
a3dae87a
SM
18021 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18022 Use string-mark-left-to-right.
3e26a4a2
CY
18023 (tabulated-list-print): Recenter after moving point.
18024
ac8cf6e6
JL
180252011-08-10 Juri Linkov <juri@jurta.org>
18026
18027 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18028 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18029 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18030
8d96c9a4
CY
180312011-08-09 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18034 (Bug#7554).
18035
7be1c708 180362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
18037
18038 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18039 character. (Bug#6594)
18040
37e11a63
CY
180412011-08-08 Chong Yidong <cyd@stupidchicken.com>
18042
839dde57
CY
18043 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18044 (image-dired--with-db-file): New macro.
18045 (image-dired-write-tags, image-dired-remove-tag)
18046 (image-dired-create-gallery-lists, image-dired-write-comments)
18047 (image-dired-get-comment, image-dired-mark-tagged-files)
18048 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18049 (image-dired-gallery-generate): Use insert-file-contents.
18050
37e11a63
CY
18051 * time.el (display-time-world-list, display-time-world-display):
18052 * time-stamp.el (time-stamp-string):
18053 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18054 set-time-zone-rule (Bug#7337).
18055
0b4946c4
DU
180562011-08-08 Daiki Ueno <ueno@unixuser.org>
18057
18058 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18059 (epg-error-to-string, epg-errors-to-string): New function.
18060 (epg-wait-for-completion): Reverse errors list.
18061 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18062 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18063 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18064 (epg-sign-keys, epg-generate-key-from-file)
18065 (epg-generate-key-from-string): Format errors by using
18066 epg-errors-to-string (bug#9255).
18067 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18068
75bfc667
JL
180692011-08-07 Juri Linkov <juri@jurta.org>
18070
18071 * faces.el (list-faces-display): Remove extra angle bracket
18072 from `help-mode-map'.
18073
18074 * info.el (Info-history-toc-nodes): Doc fix.
18075
18076 * longlines.el (longlines-mode): Doc fix.
18077
673e08bb
SM
180782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18079
4640dd88
SM
18080 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18081 of statements and in a few more cases (bug#9183).
18082
673e08bb
SM
18083 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18084 New functions.
18085 (cl-transform-lambda): Use them (bug#9239).
18086
89b3f019
MR
180872011-08-05 Martin Rudalics <rudalics@gmx.at>
18088
18089 * window.el (display-buffer-same-window)
18090 (display-buffer-same-frame, display-buffer-other-window)
18091 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18092 (pop-to-buffer-other-window)
18093 (pop-to-buffer-same-frame-other-window)
18094 (pop-to-buffer-other-frame): Make them defuns.
18095 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18096
640c8776
SM
180972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18098
18099 * subr.el (make-composed-keymap): Move from C. Change calling
18100 convention, and improve docstring to bring attention to a subtle point.
18101 * minibuffer.el (completing-read-default): Adjust accordingly.
18102
63648a95
MA
181032011-08-03 Michael Albinus <michael.albinus@gmx.de>
18104
18105 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18106 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18107
18108 * net/trampver.el: Update release number.
18109
b796c9b7
SM
181102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18113 "in" (bug#9190).
18114
2239d7d5
LMI
181152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18116
e07dd7c3
LMI
18117 * mail/sendmail.el (sendmail-query-once): Restore the current
18118 buffer after querying (bug#9074).
18119
0e6a2bd7
LMI
18120 * dired.el (dired-flagged): Use different faces for marked and
18121 flagged files (bug#6117).
18122
ce887515
LMI
18123 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18124 (bug#4433).
18125
92f2affc
LMI
18126 * ido.el (ido-mode): Switch off the message if called
18127 non-interactively.
18128
57d5aff0
LMI
18129 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18130 before 587, since it appears that that's more likely to work for
18131 more people.
18132
98cd6c18 18133 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18134 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18135 exist.
18136
b96dec83
LMI
18137 * info.el: Remove the `Info-beginning-of-buffer' function
18138 (bug#8325).
18139
b796c9b7
SM
18140 * net/network-stream.el (network-stream-open-starttls):
18141 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18142
d90e2ea0
MR
181432011-08-01 Martin Rudalics <rudalics@gmx.at>
18144
18145 * window.el (display-buffer-in-window): Don't set dedicated status
18146 of window here (Bug#9215).
18147 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18148 (display-buffer-pop-up-side-window)
b796c9b7 18149 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18150
cca09170
SM
181512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18152
18153 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18154 before binding generated-autoload-file.
18155
027b979c
DD
181562011-08-01 Deniz Dogan <deniz@dogan.se>
18157
18158 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18159
3c7ee4f3
MA
181602011-07-30 Michael Albinus <michael.albinus@gmx.de>
18161
18162 Sync with Tramp 2.2.2.
18163
18164 * net/trampver.el: Update release number.
18165
2cc8e51a
JL
181662011-07-30 Juri Linkov <juri@jurta.org>
18167
18168 * dired-aux.el (dired-touch-initial): Remove function.
18169 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18170 current time, and `default' to the last modification time of the
18171 current marked file (bug#6887).
18172
a514d856
JM
181732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18174
18175 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 18176 numeric argument to read-number (bug#9163).
a514d856 18177
8a7eddd7
MA
181782011-07-27 Michael Albinus <michael.albinus@gmx.de>
18179
18180 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18181 connection process, it could be nil.
18182
1ddd96f5
LL
181832011-07-27 Leo Liu <sdl.web@gmail.com>
18184
18185 Simplify url handling in rcirc-mode.
18186
18187 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18188 (rcirc-browse-url-at-mouse): Remove.
18189 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18190
b248a85d
AM
181912011-07-26 Alan Mackenzie <acm@muc.de>
18192
18193 Fontify bitfield declarations properly.
18194
18195 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18196 (c-symbol-chars): Now exported as a lang variable.
18197 (c-not-primitive-type-keywords): New lang variable.
18198
18199 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18200 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18201 parsed as a bitfield declaration.
b248a85d 18202
b796c9b7
SM
18203 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18204 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18205 (c-punctuation-in): New function.
18206 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18207 declarations properly.
18208
68575ab0
UJ
182092011-07-26 Ulf Jasper <ulf.jasper@web.de>
18210
18211 * calendar/icalendar.el (icalendar--all-events): Take care of
18212 multiple vcalendars in a single file.
b796c9b7 18213 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18214
0f0a88b9
DD
182152011-07-25 Deniz Dogan <deniz@dogan.se>
18216
18217 * image.el (insert-image): Clarifying docstring.
18218
0b3f36df
MA
182192011-07-24 Michael Albinus <michael.albinus@gmx.de>
18220
18221 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18222 `tramp-send-command-and-check' if there is no error.
18223 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18224
a9901f61
AM
182252011-07-22 Alan Mackenzie <acm@muc.de>
18226
18227 Prevent cc-langs.elc being loaded at run time.
18228
18229 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18230 cc-langs.
18231
4d61f28d 18232 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18233 "(require 'cc-langs)". Quote a form so it will evaluate at
18234 (cc-mode's) compilation time.
18235
11d074b2
MA
182362011-07-22 Michael Albinus <michael.albinus@gmx.de>
18237
18238 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18239 loading. (Bug#9114)
18240
938b94c8
MR
182412011-07-21 Martin Rudalics <rudalics@gmx.at>
18242
18243 * window.el (display-buffer-pop-up-window)
18244 (display-buffer-pop-up-side-window)
18245 (display-buffer-in-side-window): Call display-buffer-set-height
18246 and display-buffer-set-width after setting the new window's
b796c9b7 18247 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18248
bfa4f190
SS
182492011-07-20 Sam Steingold <sds@gnu.org>
18250
18251 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18252 (etags-tags-included-tables): Call `convert-standard-filename' on
18253 the file names contained in TAGS so that windows Emacs can handle
18254 TAGS files created by cygwin ctags.
18255
8ca42262
LMI
182562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18257
18258 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18259 which apparently didn't work.
18260
5db2afd2 182612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18262
5db2afd2
RW
18263 * proced.el (proced-send-signal): For *Marked Processes* buffer
18264 put point at beginning of buffer.
18265
92e15d10
SB
182662011-07-19 Stephen Berman <stephen.berman@gmx.net>
18267
18268 * proced.el (proced-format): Make header lines align with the text
18269 (bug#1779).
18270
1bfd59e5
LMI
182712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18272
18273 * view.el (view-buffer): Allow running in `special' modes if we're
18274 visiting a file (bug#8615).
18275
f5aae37c
MR
182762011-07-19 Martin Rudalics <rudalics@gmx.at>
18277
18278 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18279 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18280 New functions.
f5aae37c
MR
18281 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18282 more accurately.
18283
bf2c1571
AM
182842011-07-18 Alan Mackenzie <acm@muc.de>
18285
18286 Fontify declarators properly when, e.g., a jit-lock chunk begins
18287 inside a declaration.
18288
18289 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18290
b796c9b7
SM
18291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18292 New function.
bf2c1571
AM
18293 (c-complex-decl-matchers): Insert reference to
18294 c-font-lock-enclosing-decls.
18295
18296 * progmodes/cc-engine.el (c-backward-single-comment):
18297 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18298 to nil around calls to (forward-comment -1).
18299
4e190b80
LMI
183002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18301
12dc863d
LMI
18302 * image.el (put-image): Doc typo fix.
18303
a762e966
LMI
18304 * progmodes/etags.el (tags-search): Doc typo fix.
18305
4e190b80
LMI
18306 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18307 password if we get errors 550 to 554.
18308
f019fb21
LMI
183092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18310
b796c9b7 18311 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18312
81746738
LMI
18313 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18314 indentation character (bug#6380).
18315
3ee3a1b5
LMI
18316 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18317
c82f64de
LMI
18318 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18319 to clarify what the problem is (bug#4291).
18320
f019fb21
LMI
18321 * simple.el (current-kill): Clarify what
18322 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18323 (auto-fill-mode): Document `auto-fill-function' in relation to
18324 `auto-fill-mode' (bug#2470).
f019fb21 18325
0794775d
LM
183262011-07-16 Lawrence Mitchell <wence@gmx.li>
18327
18328 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18329 method if slot is read-only (bug#9035).
18330
be39b8cc
MR
183312011-07-16 Martin Rudalics <rudalics@gmx.at>
18332
b796c9b7 18333 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18334 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18335 selected before, see discussion of (Bug#8615), (Bug#6954).
18336 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18337
6ccf7859
GM
183382011-07-15 Glenn Morris <rgm@gnu.org>
18339
18340 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18341 Respect help-form.
6ccf7859 18342
87e86684
LM
183432011-07-09 Lawrence Mitchell <wence@gmx.li>
18344
18345 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18346 (gnutls-negotiate): Use it.
18347
d6066239
LMI
183482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18349
b796c9b7
SM
18350 * net/gnutls.el (gnutls-negotiate):
18351 Upcase `gnutls-algorithm-priority'.
d6066239 18352
bd23ebc0
GM
183532011-07-15 Glenn Morris <rgm@gnu.org>
18354
c65bca65
GM
18355 * jka-compr.el (jka-compr-verbose): Move from here...
18356 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18357 Add missing :version tag.
18358 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18359
478615cc
LMI
183602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18361
7b41decb
LMI
18362 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18363 (gnutls-negotiate): Use it.
18364
dbc44fcd
LMI
18365 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18366
06789f97
LMI
18367 * info.el (Info-beginning-of-buffer): New command.
18368 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18369 announcing `b' as the key (bug#8325).
ab896c37 18370 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18371
c39da690
LMI
18372 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18373
3aa5f34b
LMI
18374 * international/mule-cmds.el
18375 (describe-specified-language-support): Make the error message
18376 clearer (bug#8905).
18377
4bf0979f
LMI
18378 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18379
478615cc
LMI
18380 * isearch.el (isearch-barrier): Add a doc string, since it's
18381 mentioned in a function doc string (bug#8678).
18382
75c68aa1
MR
183832011-07-15 Martin Rudalics <rudalics@gmx.at>
18384
18385 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18386 buffer argument (Bug#9083) and self-identifying label argument.
18387
a7c33da2
GM
183882011-07-15 Glenn Morris <rgm@gnu.org>
18389
18390 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18391
2f5c6024
LMI
183922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18393
18394 * man.el (Man-fontify-manpage): Fix message when formatting the
18395 man page (bug#7929).
18396
0bb23927 183972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18398
18399 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18400 argument LRM; if non-nil, append an invisible LRM character to the
18401 buffer name.
18402 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18403 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18404 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18405 paragraph direction.
cce4b0a7 18406
621ef9ab
LMI
184072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18408
d1583c48
LMI
18409 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18410 the man page name (bug#7929).
18411
6a57fb5f
LMI
18412 * image.el (put-image): Mention the `put-image' overlay property
18413 (bug#7834).
18414
d7956b14
LMI
18415 * scroll-bar.el (set-scroll-bar-mode): Mention that
18416 `scroll-bar-mode' lists the values (bug#7772).
18417
5b2d4a66
LMI
18418 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18419 command (bug#7729).
18420
7509a874
LMI
18421 * rect.el (apply-on-rectangle): Return the point after the last
18422 operation.
18423 (string-rectangle): Go to the point after the last operation
18424 (bug#7522).
18425
4fe74b19
LMI
18426 * printing.el (pr-toggle-region): Clarify the documentation
18427 slightly (bug#7493).
18428
b796c9b7
SM
18429 * time.el (display-time-update):
18430 Allow `display-time-mail-function' to return nil (bug#7158).
18431 Fix suggested by Detlev Zundel.
ab283561 18432
fc233c9d
LMI
18433 * vc/diff.el (diff): Clarify the order the file names are read
18434 (bug#7111).
18435
43f5740b
LMI
18436 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18437 the doc string (bug#7015).
18438
f2182a76
LMI
18439 * font-lock.el (font-lock-maximum-decoration): Mention what
18440 numeric levels mean (bug#6935).
18441
621ef9ab
LMI
18442 * startup.el (initial-buffer-choice): Don't mention the `none'
18443 selection, which is against policy.
18444
adc47434
MR
184452011-07-14 Martin Rudalics <rudalics@gmx.at>
18446
b796c9b7
SM
18447 * window.el (display-buffer-normalize-special):
18448 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18449
7e5bfb8f
EZ
184502011-07-14 Eli Zaretskii <eliz@gnu.org>
18451
18452 * subr.el (version<, version<=, version=): Mention "-CVS" and
18453 "-12345" alpha version numbers.
18454
27fa387a
CY
184552011-07-14 Chong Yidong <cyd@stupidchicken.com>
18456
18457 * bindings.el: Add advertised binding for set-mark-command
18458 (Bug#5772).
18459
8bdfa064
CY
184602011-07-14 Chong Yidong <cyd@stupidchicken.com>
18461
18462 * bindings.el (mode-line-other-buffer):
18463 * bookmark.el (bookmark-bmenu-2-window):
18464 * bs.el (bs-cycle-next, bs-cycle-previous):
18465 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18466 switch-to-buffer.
18467
18468 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18469 Delete.
8bdfa064 18470
5eba16a3
JB
184712011-07-14 Juanma Barranquero <lekktu@gmail.com>
18472
18473 * follow.el (follow-debug-message, follow-redisplay):
18474 * jka-cmpr-hook.el (with-auto-compression-mode):
18475 Fix typos in docstrings.
18476
15853710
LMI
184772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18478
a28e4607
LMI
18479 * subr.el (with-silent-modifications): Clarify somewhat what the
18480 macro inhibits (bug#6525).
18481
15853710
LMI
18482 * simple.el (eval-expression): Note what it does if called
18483 interactively (bug#6495).
18484
bee0fcef
CY
184852011-07-13 Chong Yidong <cyd@stupidchicken.com>
18486
b796c9b7
SM
18487 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18488 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18489
18490 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18491 Remove switch-to-buffer.
18492
58274504
LMI
184932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18494
bd2fcc8d
LMI
18495 * files.el (make-directory): Clarify that an error will be raised
18496 if there's an error (bug#6397).
18497
0f04b32c
LMI
18498 * startup.el (initial-buffer-choice): Add `none' as a choice
18499 (bug#6234).
18500
465c5fc8
LMI
18501 * subr.el (add-hook): Clarify section about buffer-local hooks
18502 (bug#6218).
18503
58274504
LMI
18504 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18505
bead9a43
JB
185062011-07-13 Juanma Barranquero <lekktu@gmail.com>
18507
18508 * tabify.el (untabify): Preserve the current column so that point
18509 doesn't move (bug#6032).
18510
3af98a7b
LMI
185112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18512
b796c9b7
SM
18513 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18514 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18515
6240145a
GM
185162011-07-13 Glenn Morris <rgm@gnu.org>
18517
18518 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18519 (dired-insert-directory): Give a message the first time
18520 if ls is found not to support --dired.
18521
1d8c2ccc
LMI
185222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18523
18524 * simple.el (toggle-truncate-lines): Clarify what is toggled
18525 (bug#5580). Text by Drew Adams.
18526
5fc4038e
CY
185272011-07-13 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * simple.el (blink-matching-open): Make the error message from the
18530 last change less verbose.
18531
bf6012e5
DN
185322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18533
18534 * font-lock.el (font-lock-comment-face): Use the high contrast
18535 "yellow" color for font-lock-comment-face on low color terminals
18536 using a dark background color (bug#4221).
18537
343c3b5a
LMI
185382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18539
7e9505c5
LMI
18540 * dired.el (dired-insert-set-properties): Make the doc string
18541 reflect what it does now (bug#5325).
18542
c26fdcf5
LMI
18543 * simple.el (blink-matching-open): Say that we were unable to find
18544 the match within the limit, if we're limited (bug#5122).
18545
bb388cc5
LMI
18546 * international/mule-cmds.el (prefer-coding-system): Add an
18547 example (bug#4869).
18548
343c3b5a
LMI
18549 * progmodes/etags.el (tags-search): Document `file-list-form'
18550 (bug#4731).
18551
2a517d45
LM
185522011-07-13 Lawrence Mitchell <wence@gmx.li>
18553
18554 * net/browse-url.el (browse-url-default-browser)
18555 (browse-url-browser-function): Make the default browser choice a
18556 bit more logical (bug#4300). Also clean up the doc string.
18557
b6c78ef2
JB
185582011-07-13 Juanma Barranquero <lekktu@gmail.com>
18559
18560 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18561 binary endings (bug#4440).
18562
1c4dd947
LMI
185632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18564
a2014063
LMI
18565 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18566 which can be pretty annoying (bug#8971).
18567
9c9c2d88
LMI
18568 * jka-compr.el (jka-compr-verbose): New variable, and use
18569 throughout (bug#8971).
18570
1c4dd947
LMI
18571 * info.el (Info-find-file): Fall back on the installation
18572 directory if we can't find the info node anywhere else.
18573
a1c9f41b
SO
185742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18575
18576 * vc/vc.el (vc-revert-file):
18577 Don't set file time-stamp in the past. (Bug#5181)
18578
536f3d36
LMI
185792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18580
7152b011
LMI
18581 * files.el (after-find-file): Give a better error message when
18582 trying to find a symlink that points to a file that doesn't exist
18583 (bug#4398).
18584
536f3d36
LMI
18585 * progmodes/cc-vars.el: Remove (probably) misleading comment
18586 (bug#4396).
18587
460c0fba
JB
185882011-07-12 Johan Bockgård <bojohan@gnu.org>
18589
18590 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18591
7a6bda45
CY
185922011-07-12 Chong Yidong <cyd@stupidchicken.com>
18593
18594 * mouse-sel.el: Hack restoring functionality, while keeping
18595 compatibility with 2010-07-03 changes to mouse selection.
18596 (mouse-sel-primary-overlay): New var.
18597 (mouse-sel-selection-alist): Use it.
18598 (mouse-sel-mode): Doc fix; remove points that are default features
18599 of mouse.el.
18600
c79598ef
JB
186012011-07-12 Johan Bockgård <bojohan@gnu.org>
18602
18603 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18604 Fix previous fix (bug#2490).
18605
ff8be6ef
RW
186062011-07-12 Roland Winkler <winkler@gnu.org>
18607
b796c9b7
SM
18608 * textmodes/bibtex.el (bibtex-initialize):
18609 Use pop-to-buffer-same-window.
ff8be6ef
RW
18610 (bibtex-search-entries): Fix interactive call.
18611
296ba3ee
LMI
186122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18613
f5242a02 18614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18615 Fontise bytecomp Error lines more correctly (bug#2490).
18616 Fix suggested by Johan Bockgård.
f5242a02 18617
296ba3ee
LMI
18618 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18619
18620 * dired-x.el (dired-guess-default): Use `delete-dups'.
18621
f69fd0d2
CY
186222011-07-12 Chong Yidong <cyd@stupidchicken.com>
18623
18624 * dired.el (dired-mark-prompt):
18625 * dired-aux.el (dired-read-shell-command): Doc fix.
18626
eab5dc07
LMI
186272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18628
b796c9b7
SM
18629 * mail/sendmail.el (sendmail-query-once):
18630 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18631 emacs -Q.
18632
18633 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18634
eab5dc07
LMI
18635 * cus-edit.el (custom-file): Take an optional no-error variable.
18636 (customize-save-variable): Set the variable, and give a warning if
18637 running under "emacs -q".
18638
a1e65d42
JB
186392011-07-11 Juanma Barranquero <lekktu@gmail.com>
18640
18641 * loadhist.el (unload-feature-special-hooks):
18642 Add `auto-coding-functions', `fill-nobreak-predicate' and
18643 `find-directory-functions' (bug#5327).
18644
1d52da10
LMI
186452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18646
be958f1d
LMI
18647 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18648
5bedb26c
LMI
18649 * cus-edit.el (custom-guess-name-alist): -alist variables should
18650 use the `alist' type (bug#3120). Suggested by Drew Adams.
18651
1d52da10
LMI
18652 * printing.el: Add documentation to all the `pr-toggle-' commands.
18653
cd394be1 186542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18655
18656 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18657 backends where it makes sense (bug#2623).
18658
dcc88d8a
LMI
186592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18660
c3de9feb
LMI
18661 * dired-x.el (dired-guess-default): Remove duplicate shell command
18662 entries (bug#2028).
8a93078b 18663 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18664 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18665
dcc88d8a
LMI
18666 * subr.el (remove-duplicates): New conveniency function.
18667
505e3645
LMI
186682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18669
18670 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18671 (bug#1526).
18672
186732011-07-10 Martin Rudalics <rudalics@gmx.at>
18674
18675 * window.el (display-buffer-normalize-default): Don't invert
18676 meaning of even-window-heights. Reported by Eli Zaretskii
18677 <eliz@gnu.org>.
18678
455e4fa1
BR
186792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18680
18681 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18682
8e0bc3e9
CY
186832011-07-10 Chong Yidong <cyd@stupidchicken.com>
18684
18685 * window.el (display-buffer): Fix arguments to
18686 display-buffer-reuse-window in last change.
18687
fa7c3228
CY
18688 * faces.el (link): Use a less saturated blue on light backgrounds.
18689
18690 * startup.el (fancy-startup-text, fancy-about-text)
18691 (fancy-startup-tail): Use font-lock faces, for background safety.
18692
c0a7f300
BN
186932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18694
b796c9b7
SM
18695 * emulation/viper-cmd.el (viper-change-state-to-vi):
18696 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18697
4dc2a129
MR
186982011-07-09 Martin Rudalics <rudalics@gmx.at>
18699
18700 * window.el (display-buffer-default-specifiers): Remove.
18701 (display-buffer-macro-specifiers): Remove default specifiers.
18702 (display-buffer-alist): Default to nil.
b796c9b7 18703 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18704 (display-buffer-pop-up-window): Allow splitting internal
18705 windows. Check whether a live window was created.
18706 (display-buffer-other-window-means-other-frame)
18707 (display-buffer-normalize-arguments): Rename to
18708 display-buffer-normalize-argument and rewrite. Set the
18709 other-window specifier.
18710 (display-buffer-normalize-special): New function.
18711 (display-buffer-normalize-options): Rename to
18712 display-buffer-normalize-default and rewrite.
18713 (display-buffer-normalize-options-inhibit): Remove.
18714 (display-buffer-normalize-specifiers): Rewrite.
18715 (display-buffer): Process other-window specifier and call
18716 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18717 more faithfully.
b796c9b7 18718 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18719 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18720 (display-buffer-in-window, display-buffer-alist-set):
18721 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18722 <tassilo@member.fsf.org>.
18723
2d43b8c9
LL
187242011-07-09 Leo Liu <sdl.web@gmail.com>
18725
18726 * register.el (insert-register): Restore accidental change on
18727 2011-06-26. (Bug#9028)
18728
7f9b7c53
GM
187292011-07-09 Glenn Morris <rgm@gnu.org>
18730
18731 * subr.el (remq): Handle the empty list. (Bug#9024)
18732
f042cfd8
AS
187332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18734
18735 * mail/sendmail.el (send-mail-function): No longer delay custom
18736 initialization.
18737 * custom.el (custom-initialize-delay): Doc fix.
18738
856b2f11
SM
187392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18740
18741 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18742
afae1d68
MA
187432011-07-08 Michael Albinus <michael.albinus@gmx.de>
18744
18745 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18746 human-friendly prompt.
18747
0757af94
SM
187482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18749
18750 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18751 provided by a particular plugin.
18752
d760b731
LMI
187532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18754
18755 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18756 save customizations (with "emacs -Q"), just set the variable
18757 instead of erroring out.
18758
18759 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18760
cd79ce90
JL
187612011-07-08 Juri Linkov <juri@jurta.org>
18762
18763 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18764 (archive-zip-update-case): Use 7z if found by `executable-find'.
18765 The order of searching the available programs is the same as in
18766 `archive-zip-extract' (bug#8968).
18767
14cc04aa
CY
187682011-07-07 Chong Yidong <cyd@stupidchicken.com>
18769
18770 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18771 (menu-bar-options-menu): Tweak descriptions.
18772
0a1848ec
LMI
187732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18774
18775 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18776 menu items into verb phrases (bug#1421). Also refill to fit under
18777 80 columns.
18778
f5bd0689
CY
187792011-07-07 Chong Yidong <cyd@stupidchicken.com>
18780
538e85c6
CY
18781 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18782 (Info-read-node-name): Doc fix (Bug#1084).
18783
f5bd0689
CY
18784 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18785 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18786 (end-of-sexp, beginning-of-sexp)
18787 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18788 (forward-symbol, forward-same-syntax, word-at-point)
18789 (sentence-at-point): Doc fix (Bug#1144).
18790
56ec5115
LMI
187912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18792
f3f8e37f
LMI
18793 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18794 should cover it (bug#1281).
18795
0757af94 18796 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18797
e9fce1ac 18798 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18799 negotiation fails, then possibly try again with a non-encrypted
18800 connection (bug#9017).
18801
56ec5115
LMI
18802 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18803 be used.
18804
c2f9aec8
RS
188052011-07-07 Richard Stallman <rms@gnu.org>
18806
18807 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18808 property, and handle its changed format.
18809 Look for the correct line number.
18810 Use file's line contents (but not past first =) to find
18811 correct line in message.
18812
ef7b981d 188132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18814
18815 * international/characters.el (build-unicode-category-table):
18816 Delete it.
0757af94 18817 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18818
0757af94 18819 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18820 to src/chartab.c.
18821 (get-char-code-property): Call unicode-property-table-internal to
18822 load a file. Call get-unicode-property-internal where necessary.
18823 (put-char-code-property): Call unicode-property-table-internal to
18824 load a file. Call put-unicode-property-internal where necessary.
18825 put-unicode-property-internal where necessary.
0757af94
SM
18826 (char-code-property-description):
18827 Call unicode-property-table-internal to load a file.
c805dec0
KH
18828
18829 * international/charprop.el:
18830 * international/uni-bidi.el:
18831 * international/uni-category.el:
18832 * international/uni-combining.el:
18833 * international/uni-comment.el:
18834 * international/uni-decimal.el:
18835 * international/uni-decomposition.el:
18836 * international/uni-digit.el:
18837 * international/uni-lowercase.el:
18838 * international/uni-mirrored.el:
18839 * international/uni-name.el:
18840 * international/uni-numeric.el:
18841 * international/uni-old-name.el:
18842 * international/uni-titlecase.el:
18843 * international/uni-uppercase.el: Regenerate.
18844
18845 * loadup.el: Load international/charprop.el before
18846 international/characters.
18847
e14b388a
CY
188482011-07-07 Chong Yidong <cyd@stupidchicken.com>
18849
18850 * window.el (next-buffer, previous-buffer): Signal an error if
18851 called from a minibuffer window.
18852
18853 * bindings.el: Revert 2011-07-04 change.
18854
354cf0ba
RS
188552011-07-06 Richard Stallman <rms@gnu.org>
18856
18857 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18858 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18859 Treat markers like ints.
18860 (rmail-mime-entity): Doc fix.
18861
a48868a7
LMI
188622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18863
4906cd3d
LMI
18864 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18865 defcustom again for backwards compatibility.
18866
e0457abe
LMI
18867 * simple.el (shell-command-on-region): Fill.
18868
d67f7e1f
LMI
18869 * dired-aux.el (dired-kill-line): Add a doc string.
18870
fe204702
LMI
18871 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18872 to "\\sw\\|\\s_" (bug#358).
18873
a48868a7
LMI
18874 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18875 (dired-unmark-backward): Ditto.
18876 (dired-flag-backup-files): Ditto.
18877
18878 * dired-x.el (dired-mark-sexp): Ditto.
18879
aa8a705c
RS
188802011-07-06 Richard Stallman <rms@gnu.org>
18881
18882 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18883 (rmail-mime-entity): New arg TRUNCATED.
18884 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18885 New functions.
18886 (rmail-mime-save): Warn if entity is truncated.
18887 (rmail-mime-toggle-hidden): Likewise, for showing.
18888 (rmail-mime-process-multipart): Record when an entity is truncated.
18889
a9a936b9
RS
18890 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18891 if ENTITY is a string.
18892
1f2b92cb
LMI
188932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18894
f4f73198 18895 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18896 of faces when `M-C-x'-ing their definitions (bug#8378).
18897 Also clean up the code slightly.
f4f73198 18898
12b16734 18899 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18900 because that makes the colors go away.
12b16734 18901
f0691d22
LMI
18902 * mail/sendmail.el (send-mail-function): Change the default to
18903 `sendmail-query-once'.
9e87df06 18904 (sendmail-query-once): Add an autoload cookie.
f0691d22 18905
1f2b92cb
LMI
18906 * net/network-stream.el (network-stream-open-starttls): Try using
18907 a plain connection even if the server offered STARTTLS, and we
18908 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18909 capability. This should make smtpmail.el work in slightly more
18910 configurations.
18911
1cdd2a1b
MA
189122011-07-06 Michael Albinus <michael.albinus@gmx.de>
18913
18914 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18915 New defun.
18916 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18917
fbcc67e2
MM
189182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18919
18920 * progmodes/sql.el: Version 3.0
0757af94 18921 (sql-product-alist): Add product :completion-object,
fbcc67e2 18922 :completion-column, and :statement attributes.
0757af94 18923 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18924 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18925 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18926 ansi keywords.
18927 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18928 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18929 (sql-oracle-show-reserved-words): New function for development.
18930 (sql-product-font-lock): Simplify for source code buffers.
18931 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18932 New functions.
18933 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18934 (sql-mode-map): Add statement movement functions.
18935 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18936 New variable.
fbcc67e2
MM
18937 (sql-statement-regexp, sql-beginning-of-statement)
18938 (sql-end-of-statement, sql-signum): New functions.
0757af94 18939 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18940 (sql-show-sqli-buffer): Bug fix.
18941 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18942 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18943 with sql-interactive-mode.
18944 (sql-save-connection): Save buffer local settings.
0757af94 18945 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18946 (sql-product-interactive): Bug fix.
18947 (sql-preoutput-hold): New variable.
18948 (sql-interactive-remove-continuation-prompt): Bug fixes.
18949 (sql-debug-redirect): New variable.
18950 (sql-str-literal): New function.
18951 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18952 Redesign.
fbcc67e2
MM
18953 (sql-oracle-save-settings, sql-oracle-restore-settings)
18954 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18955 (sql-completion-object, sql-completion-column)
18956 (sql-completion-sqlbuf): New variables.
18957 (sql-build-completions-1, sql-build-completions)
18958 (sql-try-completion): New functions.
18959 (sql-read-table-name): Use them.
18960 (sql-contains-names): New buffer local variable.
18961 (sql-list-all, sql-list-table): Use it.
18962 (sql-oracle-completion-types): New variable.
18963 (sql-oracle-completion-object, sql-sqlite-completion-object)
18964 (sql-postgres-completion-object): New functions.
18965
d4eaeab1
GM
189662011-07-06 Glenn Morris <rgm@gnu.org>
18967
18968 * window.el (pop-to-buffer): Doc fix.
18969
322b7dab 189702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18971
18972 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18973
322b7dab 189742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18975
322b7dab 18976 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18977
322b7dab 18978 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18979
605dd5bf
CY
189802011-07-05 Chong Yidong <cyd@stupidchicken.com>
18981
18982 * button.el (button): Inherit from link face. Suggested by Dan
18983 Nicolaescu.
18984
7dbfa719
SM
189852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18986
3db614b0
SM
18987 * progmodes/gdb-mi.el: Fit in 80 columns.
18988 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18989 switch-to-buffer.
18990
7dbfa719
SM
18991 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18992 if imenu is simply not configured (bug#8941).
18993
919d884a
KM
189942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18995
18996 * allout.el (allout-post-undo-hook): New allout outline-change
18997 event hook to signal undo activity.
18998 (allout-post-command-business): Run allout-post-undo-hook if an
18999 undo just occurred.
7dbfa719
SM
19000 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19001 * allout-widgets.el (allout-widgets-after-undo-function):
19002 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
19003 in the vicinity of an undo.
19004 (allout-widgets-mode): Include allout-widgets-after-undo-function
19005 on the new allout-post-undo-hook.
19006
450a0f09
SM
190072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19008
19009 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19010 Let define-derived-mode define it.
19011 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19012 cycles of abbrev-table inheritance (bug#8998).
19013
2de69e00
RW
190142011-07-05 Roland Winkler <winkler@gnu.org>
19015
19016 * textmodes/bibtex.el: Add support for biblatex.
19017 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19018 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19019 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19020 (bibtex-entry-alist, bibtex-field-alist): New variables.
19021 (bibtex-entry-field-alist): Obsolete alias for
19022 bibtex-BibTeX-entry-alist.
19023 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19024 (bibtex-set-dialect): New command.
19025 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
19026 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19027 Bind via bibtex-set-dialect.
2de69e00
RW
19028 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19029 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19030 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19031 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19032 Define via bibtex-set-dialect.
450a0f09
SM
19033 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19034 Obey bibtex-no-opt-remove-re.
2de69e00
RW
19035 (bibtex-vec-push, bibtex-vec-incr): New functions.
19036 (bibtex-format-entry, bibtex-field-list)
19037 (bibtex-print-help-message, bibtex-validate)
19038 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19039
2dcdbdd9
SM
190402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19041
19042 * progmodes/compile.el (compilation-goto-locus):
19043 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19044 * bs.el (bs-cycle-next, bs-cycle-previous):
19045 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19046 * bindings.el (mode-line-other-buffer):
19047 * autoinsert.el (auto-insert):
19048 * arc-mode.el (archive-extract):
19049 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19050
b27640fe
JB
190512011-07-05 Juanma Barranquero <lekktu@gmail.com>
19052
19053 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19054 Fix check of `emacs-lock-unlockable-modes'.
19055 Coerce true values of `emacs-lock--try-unlocking' to t.
19056
53bbe3ad
JB
190572011-07-05 Juanma Barranquero <lekktu@gmail.com>
19058
19059 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19060 * emacs-lock.el: New file.
19061
1d3cdbc7
JD
190622011-07-05 Julien Danjou <julien@danjou.info>
19063
19064 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19065 than `boundp' to check if face is set.
19066
9173deec
JB
190672011-07-05 Juanma Barranquero <lekktu@gmail.com>
19068
19069 * register.el (registerv-make):
19070 * window.el (window-min-height): Fix typos in docstrings.
19071
869795d6
JD
190722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19073
9173deec 19074 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
19075 Update doc string.
19076
b768cdcd
JB
190772011-07-04 Juanma Barranquero <lekktu@gmail.com>
19078
19079 * server.el (server-execute): Catch quit and call
19080 `server-return-error' to pass the error back to emacsclient and
19081 close the connection (bug#8942).
19082
13aa217b
KM
190832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19084
19085 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19086 insecure exception for current topic. Also note that auto-saves
19087 are handled differently.
19088
5d3385a0 19089 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
19090 State variables for tracking auto-save inhibition situation.
19091
19092 (allout-write-contents-hook-handler): Rename from
19093 'allout-write-file-hook-handler', and describe how it depends on
19094 write-contents-functions sensitivity to non-nil value to prevent
19095 file write.
19096
19097 (allout-auto-save-hook-handler): Remove. auto-save does not check
19098 this in individual buffers, only in the starting buffer, so this
19099 is not the right way for us to inhibit auto-save in a buffer
19100 according to its condition.
19101
19102 (allout-mode): Use new allout-write-contents-hook-handler, and
19103 only with write-contents-functions. Remove auto-save provisions -
19104 they're implemented elsewhere.
19105
19106 (allout-before-change-handler): If undo is in progress, note that
19107 for attention of allout-post-command-business.
19108
19109 (allout-post-command-business): If the command we're following was
19110 an undo, check for change in the status of encrypted items and
19111 adjust auto-save inhibitions accordingly.
19112
19113 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19114 according to whether there are or aren't any plain-text topics
19115 pending encryption.
19116
2dcdbdd9 19117 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19118 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19119 if there are plain-text topics pending encryption.
13aa217b
KM
19120
19121 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19122 buffer-saved-size and some allout state to not inhibit auto-saves
19123 if there are no longer any plain-text topics pending encryption.
19124
0757af94
SM
19125 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19126 No longer provide for exemption of the current topic.
13aa217b 19127
ac89b32c
JL
191282011-07-04 Juri Linkov <juri@jurta.org>
19129
19130 Add 7z operations to delete and save changed members (bug#8968).
19131 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19132 New defcustoms.
19133 (archive-7z-write-file-member): New function.
19134 (archive-7z-summarize): Fix the number of dashes in the
19135 listing output.
19136
8fa39615
SM
191372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19138
19139 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19140 (bug#8958).
19141
2f11b3f1
CY
191422011-07-04 Chong Yidong <cyd@stupidchicken.com>
19143
d66fef2b
CY
19144 * bindings.el: Ignore next-buffer and previous-buffer in
19145 minibuffer-local-map.
19146
2f11b3f1
CY
19147 * font-lock.el (font-lock-builtin-face): Change light background
19148 color to dark slate blue (Bug#6693).
19149
f932a347
WD
191502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19151
19152 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19153
c8af70e1
SM
191542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19155
19156 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19158 Add switch-to-buffer.
19159
f158badc
LMI
191602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19161
19162 * isearch.el (isearch-search-fun-function): Clarify further the
19163 meaning of the function returned.
19164
6d95bd46
MA
191652011-07-04 Michael Albinus <michael.albinus@gmx.de>
19166
19167 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19168
19169 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19170 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19171 Use it.
19172 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19173 `tramp-default-remote-path' does not exist.
19174 (tramp-send-command-and-read): New optional argument NOERROR.
19175 (tramp-open-connection-setup-interactive-shell)
19176 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19177 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19178 (tramp-process-sentinel): Flush also process' connection property.
19179 (tramp-sh-handle-start-file-process): Do not set process
19180 sentinel. It is done now ...
19181 (tramp-maybe-open-connection): ... here. (Bug#8929)
19182
909e6b67
MK
191832011-07-04 MON KEY <monkey@sandpframing.com>
19184
19185 * play/animate.el (animate-string): Doc fixes and allow changing
19186 the buffer name (bug#5417).
19187
191882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19189
c8af70e1 19190 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19191
f34755dc
PE
191922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19193
396cec72
PE
19194 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19195 This is simpler and helps future-proof the code.
19196 (timer-until): Use time-subtract and float-time.
08235028 19197 (timer--time-less-p): Use time-less-p.
f34755dc 19198
56e6cc31
JB
191992011-07-04 Juanma Barranquero <lekktu@gmail.com>
19200
3abb79e5
JB
19201 * type-break.el (timep): Use the value of `float-time' to avoid a
19202 byte-compiler warning.
19203
56e6cc31
JB
19204 * server.el (server-eval-and-print): Return any result, even nil.
19205
7b9430b4
PE
192062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19207
19208 * type-break.el: Accept time formats that the builtins accept.
19209 (timep, type-break-time-difference): Accept any format that
19210 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19211 This is simpler and helps future-proof the code.
19212 (type-break-time-difference): Round rather than ignoring
19213 subseconds components.
19214
3034e9e7
LMI
192152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19216
19217 * info.el (Info-apropos-matches): Make non-interactive, since it
19218 doesn't seem to do anything useful as a command (bug#8829).
19219
1485f4c0
CY
192202011-07-03 Chong Yidong <cyd@stupidchicken.com>
19221
19222 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19223 Move from faces.el.
1485f4c0
CY
19224 (frame-default-terminal-background): New function.
19225
19226 * custom.el (custom-push-theme): Don't record faces in `changed'
19227 theme; this doesn't work correctly for per-frame face settings.
19228 (disable-theme): Use face-set-after-frame-default to reset faces.
19229 (custom--frame-color-default): New function.
19230
9fa3dd45
LMI
192312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19232
c8af70e1 19233 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19234 (bug#8769).
19235
6cbbc20c
KR
192362011-03-29 Kevin Ryde <user42@zip.com.au>
19237
19238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19239 `perl-Test2' extend to match possible "fail #N" rep count
19240 (bug#8377).
19241
c7f98048
LMI
192422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19243
65676592
LMI
19244 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19245 `smtpmail-via-smtp' now returns the error instead of nil.
19246
c7f98048
LMI
19247 * isearch.el (isearch-search-fun-function): Clarify the doc string
19248 (bug#8101).
19249
56e6cc31 192502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19251
19252 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19253 unnecessary spaces (bug#8987).
19254
2b216704
LMI
192552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19256
19257 * net/network-stream.el (open-network-stream): Use the
19258 :end-of-capability command thoughout.
19259
192602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19261
19262 * net/network-stream.el (open-network-stream): Add the
19263 :end-of-capability command parameter, used by pop3.el.
19264
36adf6ce
LMI
192652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19266
1ca0da0e
LMI
19267 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19268
fc00f69c
LMI
19269 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19270 for list)" (bug#6475).
19271
28fd8759 19272 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19273 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19274 an error (bug#6297).
19275
0dd8b6da
LMI
19276 * man.el (Man-reference-regexp): Allow matching possible
19277 word-wrapped references (bug#6289).
19278
ce1438d6
LMI
19279 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19280 for consistency with the other vc buffers (bug#6197).
19281 (vc-checkin): Ditto.
19282
19283 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19284
36adf6ce
LMI
19285 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19286
e83cc1f7
LMI
192872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19288
8a20ca4c
LMI
19289 * custom.el (defcustom): Clarify that :set is only used in the
19290 Customize user interface (bug#6089).
19291
83319045
LMI
19292 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19293 associated with a file, refuse to run instead of erroring out
19294 (bug#6084).
19295
a8392169
LMI
19296 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19297 the doc string, since it appears that using `fill-column' always
19298 controls the width (bug#7845).
19299
e83cc1f7
LMI
19300 * simple.el (shell-command-on-region): Say where the error output
19301 went if `shell-command-default-error-buffer' is set (bug#6857).
19302
e47ca23b
KM
193032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19304
19305 * allout.el (allout-yank-processing): Adjust cursor position for
19306 backwards-deleted space.
19307
19308 (allout-rebullet-heading): Register changes with
19309 allout-exposure-changed-hook, so the modified topic is properly
19310 decorated.
19311
5cf56143
LMI
193122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19313
08549772
LMI
19314 * minibuffer.el (completion-in-region): Document PREDICATE
19315 (bug#7136).
19316
48e96771
LMI
19317 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19318 of keyword/argument pairs (bug#6904).
19319
c8af70e1
SM
19320 * replace.el (multi-occur):
19321 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19322
e17d05e2
LMI
193232011-07-02 Drew Adams <drew.adams@oracle.com>
19324
19325 * dired.el (dired-mark-if): Make the message about whether it's
19326 marking or unmarking clearer (bug#8523).
19327
063b0e45
LMI
193282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19329
19330 * disp-table.el (display-table-print-array): New function.
19331 (describe-display-table): Use it to print the vectors more pretty
19332 (Bug#8859).
19333
28545e04
MR
193342011-07-02 Martin Rudalics <rudalics@gmx.at>
19335
19336 * window.el (window-state-get-1): Don't assign clone numbers.
19337 Add clone-of item to list of window parameters.
19338 (window-state-put-2): Don't process clone numbers.
19339 (display-buffer-alist): Fix doc-string.
19340
3349e122
SM
193412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19342
19343 * subr.el (remq): Don't allocate if it's not needed.
19344 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19345 (keymap--merge-bindings): New functions.
19346 (keymap-canonicalize): Use them to refine the canonicalization.
19347 * minibuffer.el (minibuffer-local-completion-map)
19348 (minibuffer-local-must-match-map): Move initialization from C.
19349 (minibuffer-local-filename-completion-map): Move initialization from C;
19350 don't inherit from anything here.
19351 (minibuffer-local-filename-must-match-map): Make obsolete.
19352 (completing-read-default): Use make-composed-keymap to combine
19353 minibuffer-local-filename-completion-map with either
19354 minibuffer-local-must-match-map or
19355 minibuffer-local-filename-completion-map.
19356
d224ac83
GM
193572011-07-01 Glenn Morris <rgm@gnu.org>
19358
3de63bf8
GM
19359 * type-break.el (type-break-time-sum): Use dolist.
19360
d224ac83
GM
19361 * textmodes/flyspell.el (flyspell-word-search-backward):
19362 Replace CL function.
19363
1a1e3f32
SM
193642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19365
fe3f64d5
SM
19366 * mouse.el (mouse--strip-first-event): New function.
19367 (function-key-map): Use it to map fringe clicks to normal clicks
19368 by default.
19369
eb604e34
SM
19370 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19371 (vc-bzr-revision-completion-table): Add support for annotate and date.
19372
1a1e3f32
SM
19373 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19374 inherit from parent.
19375
5bd35902
LMI
193762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19377
ace6c69c 19378 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19379 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19380
191e2bed
LMI
19381 * dired.el (dired-mode): Fix up the doc string as suggested by
19382 Drew Adams (bug#8817).
19383
5bd35902
LMI
19384 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19385 cookie, since the manual says that it should be possible to add
19386 this function to `find-file-hook' (bug#8709).
19387
eee8207a
TZ
193882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19389
19390 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19391 here. Noted Ted Zlatanov as the maintainer.
19392 (cfengine-common-settings, cfengine-common-syntax): New functions
19393 to set up common things between `cfengine-mode' and
19394 `cfengine3-mode'.
19395 (cfengine3-mode): New mode.
19396 (cfengine3-defuns cfengine3-defuns-regex
19397 (cfengine3-class-selector-regex cfengine3-category-regex)
19398 (cfengine3-vartypes cfengine3-font-lock-keywords)
19399 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19400 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19401
36b148cf
MA
194022011-07-01 Michael Albinus <michael.albinus@gmx.de>
19403
19404 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19405
19406 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19407
0bf4ba9a
MR
194082011-07-01 Martin Rudalics <rudalics@gmx.at>
19409
19410 * window.el (same-window-buffer-names, same-window-regexps)
19411 (same-window-p, special-display-frame-alist)
19412 (special-display-popup-frame, special-display-function)
19413 (special-display-buffer-names, special-display-regexps)
19414 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19415 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19416 (split-window-preferred-function, split-height-threshold)
19417 (split-width-threshold, even-window-heights)
19418 (display-buffer-mark-dedicated, window-splittable-p)
19419 (split-window-sensibly, window-safely-shrinkable-p):
19420 Un-obsolete.
19421 (display-buffer): Don't spread args with function specifier
19422 because special-display-popup-frame won't like it.
19423
35837f51
PE
194242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19425
d0672f86
PE
19426 Time-stamp simplifications and fixes.
19427 These improve accuracy slightly, and future-proof the code
19428 against some potential changes to current-time format.
19429
b9444d97
PE
19430 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19431 by using time-since and float-time.
19432
0ef923dc
PE
19433 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19434 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19435 + NNN microseconds".
19436
2f81380d
PE
19437 * type-break.el (type-break-time-sum): Rewrite using time-add.
19438
845b5c3e
PE
19439 * play/hanoi.el (hanoi-current-time-float): Remove.
19440 All uses replaced by float-time.
19441
ee6f1be0
PE
19442 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19443 This yields a more-accurate answer.
19444 (rng-time-to-float): Remove; no longer needed.
19445
fe955043
PE
19446 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19447
5777162a
PE
19448 * calendar/timeclock.el (timeclock-seconds-to-time):
19449 Defalias to seconds-to-time, since they're the same thing.
19450
3103f8b6 19451 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19452 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19453 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19454
0e61a35f
SM
194552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19456
19457 * window.el (bury-buffer): Don't iconify the only frame.
19458 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19459 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19460
ddd63a1e
CY
194612011-07-01 Chong Yidong <cyd@stupidchicken.com>
19462
0e61a35f
SM
19463 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19464 Add mouse-yank-primary.
ddd63a1e 19465
055f4923
TZ
194662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19467
19468 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19469
6a2fb145
SM
194702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19471
19472 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19473 (find-library-name): Use it to find relative load names when provided
19474 absolute file name (bug#8803).
19475
fd4983f2
LMI
194762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19477
887d14ad
LMI
19478 * textmodes/flyspell.el (flyspell-word): Consider words that
19479 differ only in case as potential doublons (bug#5687).
19480
c53dc7fc
LMI
19481 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19482 Remove two rather uninteresting debugging-like messages to make
19483 debbugs.el more silent.
19484
fd4983f2
LMI
19485 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19486 a password-like phrase.
19487
7a71b18d 194882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19489
19490 * progmodes/cc-guess.el: New file.
19491
6a2fb145 19492 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19493
19494 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19495 derived from `c-basic-common-init'.
19496
19497 * progmodes/cc-mode.el (top-level): Require cc-guess.
19498 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19499
1fa280a3
LM
195002011-06-30 Lawrence Mitchell <wence@gmx.li>
19501
19502 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19503
e6597158
AM
195042011-06-30 Alan Mackenzie <acm@muc.de>
19505
1fa280a3
LM
19506 * progmodes/cc-engine.el (c-guess-continued-construct):
19507 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19508 lock is disabled. Name this case as "CASE G".
19509
68ba37fb
KM
195102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19511
19512 * allout.el (allout-yank-processing): Fix injection of extra space
19513 between bullet and non-whitespace character in first topic when
19514 pasting, ensuring that the actual spacing in the pasted topic
19515 following the bullet char is preserved. This extra space was
19516 causing pasted encrypted topics to get a decrypted status even
19517 when the content was actually still encrypted. Now the decryption
19518 status from before the paste is preserved.
19519
19520 (allout-flag-region): Set all allout overlays so they evaporate
19521 when reduced to zero length (evanescent), to prevent overlay
19522 leakage.
19523
887a0b34
GM
195242011-06-30 Glenn Morris <rgm@gnu.org>
19525
94b9acce
GM
19526 * w32-fns.el (w32-charset-info-alist): Declare.
19527
1d9b46d4
GM
19528 * find-dired.el (find-grep-options): Simplify.
19529
cc232200
GM
19530 * term/ns-win.el (ns-set-resource): Declare.
19531
28e77c46
GM
19532 * ses.el (row, col): Declare dynamic variables honestly.
19533
887a0b34
GM
19534 * textmodes/reftex-parse.el (index-tags): Declare.
19535
658d8eb8
CY
195362011-06-30 Chong Yidong <cyd@stupidchicken.com>
19537
19538 * cus-edit.el (customize-push-and-save): New function.
19539
19540 * files.el (hack-local-variables-confirm): Use it.
19541
1fa280a3
LM
19542 * custom.el (load-theme): New arg NO-CONFIRM.
19543 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19544 (custom-enabled-themes): Doc fix.
19545
19546 * cus-theme.el (customize-create-theme)
19547 (custom-theme-merge-theme): Callers to load-theme changed.
19548
bb617717
LMI
195492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19550
d61bdd5d
LMI
19551 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19552 short URLs have at least one dot in them (bug #7614).
19553
bb617717
LMI
19554 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19555 nil, because using a pty is apparently too slow (bug #895).
19556
2f31f37a
LMI
195572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19558
19559 * mail/sendmail.el (sendmail-query-once): New function.
19560 (sendmail-query-once-function): New variable.
19561
3076b24e
GM
195622011-06-29 Glenn Morris <rgm@gnu.org>
19563
faf2a174
GM
19564 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19565
3076b24e
GM
19566 * ses.el (top-level): Require cl when compiling.
19567 (ses-set-localvars): Fix error statement.
19568 Call it at compile time to silence a storm of warnings.
19569
5386012d
MR
195702011-06-29 Martin Rudalics <rudalics@gmx.at>
19571
19572 * window.el (normalize-live-buffer): Rename to
19573 window-normalize-buffer.
19574 (normalize-live-frame): Rename to window-normalize-frame.
19575 (normalize-any-window): Rename to window-normalize-any-window.
19576 (normalize-live-window): Rename to window-normalize-live-window.
19577 (make-window-atom): Rename to window-make-atom.
19578 (window-resize-reset): Rename to window--resize-reset.
19579 (window-resize-reset-1): Rename to window--resize-reset-1.
19580 (resize-mini-window): Rename to window--resize-mini-window.
19581 (resize-subwindows-skip-p): Rename to
19582 window--resize-subwindows-skip-p.
19583 (resize-subwindows-normal): Rename to
19584 window--resize-subwindows-normal.
19585 (resize-subwindows): Rename to window--resize-subwindows.
19586 (resize-other-windows): Rename to window--resize-siblings.
19587 (resize-this-window): Rename to window--resize-this-window.
19588 (resize-root-window): Rename to window--resize-root-window.
19589 (resize-root-window-vertically): Rename to
19590 window--resize-root-window-vertically.
19591 (normalize-buffer-to-display): Rename to
19592 window-normalize-buffer-to-display.
19593 (normalize-buffer-to-switch-to): Rename to
19594 window-normalize-buffer-to-switch-to.
19595 Correspondingly update all callers of the functions listed
19596 above.
19597 (display-buffer-alist, display-buffer-normalize-arguments)
19598 (display-buffer-normalize-options, display-buffer)
19599 (display-buffer-alist-set): Use "function" instead of
19600 "fun-with-args".
19601
1176868d
CY
196022011-06-28 Chong Yidong <cyd@stupidchicken.com>
19603
19604 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19605 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19606 debbugs.gnu.org. Mention acknowledgment email.
19607
20a7a65f
LMI
196082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19609
19610 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19611 buffer multibyteness, since it shouldn't matter.
19612
5f45cca5
MR
196132011-06-28 Martin Rudalics <rudalics@gmx.at>
19614
19615 * window.el (display-buffer-in-side-window): Handle dedicated
19616 windows as in display-buffer-reuse-window.
19617 (display-buffer-normalize-alist): Use value of override
19618 specifier.
19619 (display-buffer-normalize-specifiers): Use value of
19620 other-window-means-other-frame specifier.
19621 (display-buffer-alist): Rewrite some texts in widgets.
19622 (display-buffer): Spread arguments when calling function
19623 specified by fun-with-args.
19624
ad85fe1f
DD
196252011-06-28 Deniz Dogan <deniz@dogan.se>
19626
1fa280a3
LM
19627 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19628 Unnest `let'.
da68c4c8 19629
ad85fe1f
DD
19630 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19631 selectors (Bug#5732).
ec49bd31 19632 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19633
a08cc025
JA
196342011-06-27 Jari Aalto <jari.aalto@cante.net>
19635
19636 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19637 (eshell-ls-date-format): New defcustom.
19638 (eshell-ls-file): Use it.
19639
e2b551c5
SM
196402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19641
19642 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19643
8982b231
KY
196442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19645
19646 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19647 (ange-ftp-make-tmp-name): New arg.
19648 (ange-ftp-file-local-copy): Use it.
19649
36c9fa27
J
196502011-06-27 Jambunathan K <kjambunathan@gmail.com>
19651
19652 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19653 no-conversion (Bug#8870).
19654
d68443dc
MR
196552011-06-27 Martin Rudalics <rudalics@gmx.at>
19656
19657 * window.el (window-right, window-left, window-child)
19658 (window-child-count, window-last-child)
19659 (window-iso-combination-p, walk-window-tree-1)
19660 (window-atom-check-1, window-tree-1, delete-window)
19661 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19662 new naming conventions - window-vchild, window-hchild,
19663 window-next and window-prev are now called window-top-child,
19664 window-left-child, window-next-sibling and window-prev-sibling
19665 respectively.
d615d6d2
MR
19666 (resize-window-reset): Rename to window-resize-reset.
19667 (resize-window-reset-1): Rename to window-resize-reset-1.
19668 (resize-window): Rename to window-resize.
19669 (window-min-height, window-min-width)
19670 (resize-mini-window, resize-this-window, resize-root-window)
19671 (resize-root-window-vertically, adjust-window-trailing-edge)
19672 (enlarge-window, shrink-window, maximize-window)
19673 (minimize-window, delete-window, quit-restore-window)
19674 (split-window, balance-windows, balance-windows-area-adjust)
19675 (balance-windows-area, window-state-put-2)
19676 (display-buffer-even-window-sizes, display-buffer-set-height)
19677 (display-buffer-set-width, set-window-text-height)
19678 (fit-window-to-buffer): Rename all "resize-window" prefixed
19679 calls to use the "window-resize" prefix convention.
19680 (display-buffer-alist): Fix symbol for label specifier.
19681 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19682 corresponding specifier.
19683 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19684
b6458526
VB
196852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19686
19687 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19688 convention.
19689 (ses-call-printer): Does not pass an empty string to formatter when the
19690 cell is empty to keep from barking printer Calc math-format-value.
19691
d31fd9ac
RS
196922011-06-27 Richard Stallman <rms@gnu.org>
19693
43d5bf84
RS
19694 * battery.el (battery-mode-line-limit): New variable.
19695 (battery-update): Handle it.
19696
d31fd9ac
RS
19697 * mail/rmailmm.el (rmail-mime-process-multipart):
19698 Handle truncated messages.
19699
819a6054
GM
197002011-06-27 Glenn Morris <rgm@gnu.org>
19701
19702 * progmodes/flymake.el (flymake-err-line-patterns):
19703 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19704
cedc73f2
VB
197052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19706
819a6054 19707 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19708 (ses--clean-!, ses--clean-_): New functions.
19709 (ses-range): Add configurability of readout order, and conversion
19710 to Calc vector.
19711
5e5d49b6
VB
19712 * ses.el (ses-repair-cell-reference-all): New function.
19713 (ses-cell-symbol): Set macro as safe, so that it can be used in
19714 formulas.
19715
56e6cc31 19716 * ses.el: Update cycle detection algorithm.
90ca8b49 19717 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19718 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19719 (ses-set-localvars): New function.
19720 (ses-make-cell): Add property-list as a cell element.
19721 (ses-cell-property-get-fun, ses-cell-property-get)
19722 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19723 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19724 New functions.
90ca8b49
VB
19725 (ses-cell-property-set, ses-cell-property-pop)
19726 (ses-cell-property-get-handle): New macro.
19727 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19728 New aliases, used for code readability.
19729 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19730 cycle detection.
19731 (ses-self-reference-early-detection): New defcustom.
fac916bf 19732 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19733 (ses-mode): Use ses-set-localvars.
19734 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19735 before lauching the update processing.
19736 (ses-initialize-Dijkstra-attempt): New function.
19737 (ses-recalculate-cell): Update for cycle detection based on
19738 Dijkstra algorithm.
19739
2bb63e81
VB
19740 * ses.el: Fix commenting and indenting convention.
19741
c9d29fb8
SM
197422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19743
19744 * bs.el (bs-cycle-next): Complete last change.
19745
d8e4b68b
JB
197462011-06-27 Drew Adams <drew.adams@oracle.com>
19747
19748 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19749
40098786
LMI
197502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19751
c9d29fb8
SM
19752 * net/network-stream.el (network-stream-open-starttls):
19753 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19754 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19755
40098786
LMI
19756 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19757 to binary to possibly avoid line encoding issues on Windows (among
19758 other things).
19759
468d09d4
LMI
197602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19761
19762 * net/network-stream.el (open-network-stream): Return an :error
19763 saying what the problem was, if possible.
19764
19765 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19766 server.
19767
19768 * net/network-stream.el (network-stream-open-starttls): If we
19769 wanted to use STARTTLS, and the server offered it, but we weren't
19770 able to because we had no STARTTLS support, then close the connection.
19771 (open-network-stream): Return an :error element, if present.
19772
16f07dd7
CY
197732011-06-26 Chong Yidong <cyd@stupidchicken.com>
19774
88821ca0
CY
19775 * hl-line.el (hl-line-sticky-flag): Doc fix.
19776 (global-hl-line-sticky-flag): New option (Bug#8323).
19777 (global-hl-line-highlight): Obey it.
19778
16f07dd7
CY
19779 * vc/vc.el (vc-revert-show-diff): Default to t.
19780
6b5ccddf
KM
197812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19782
c9d29fb8
SM
19783 * allout-widgets.el (allout-widgets-post-command-business):
19784 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19785 undecorated when an isearch is continued past, and isearch
19786 automatically collapses them. This leads to "widget leaks", where
19787 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19788 hidden widgets can slow down cursor travel, substantially.
19789 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19790 so we're doing without this nicety.
19791
19792 (allout-widgets-tally-string): Don't try to do a hash-table-count
19793 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19794 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19795 *Messages* when allout-widgets-maintain-tally is t.
19796
355f2e07
MR
197972011-06-26 Martin Rudalics <rudalics@gmx.at>
19798
19799 * window.el (display-buffer-normalize-argument): Rename to
19800 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19801 LABEL argument. Respect special-display-function when popping up
19802 a new frame. Fix code searching for a window showing the buffer
19803 on another frame.
c9d29fb8
SM
19804 (display-buffer-normalize-specifiers):
19805 Call display-buffer-normalize-arguments.
355f2e07
MR
19806 (display-buffer-in-window): Don't undedicate the window if its
19807 buffer remains the same.
19808 Reported by Drew Adams <drew.adams@oracle.com>.
19809 (display-buffer-alist): Add choice for same-window macro
19810 specfier.
19811 (display-buffer): Mention special meaning of LABEL argument in
19812 doc-string. Fix quoting. Don't pop up a new frame even as
19813 fallback.
19814
7ca8fc42
JB
198152011-06-26 Juanma Barranquero <lekktu@gmail.com>
19816
19817 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19818 avoid deleting the current window in some cases (bug#8911).
19819
bc312254
AS
198202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19821
19822 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19823 (Bug#8934)
19824
2db18f3f
LMI
198252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19826
c9d29fb8
SM
19827 * net/network-stream.el (network-stream-open-starttls):
19828 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19829 (network-stream-open-tls): Ditto.
19830
6302e0d3
LL
198312011-06-26 Leo Liu <sdl.web@gmail.com>
19832
19833 * register.el (registerv): New struct.
19834 (registerv-make): New function.
c9d29fb8
SM
19835 (jump-to-register, describe-register-1, insert-register):
19836 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19837 struct. (Bug#8415)
19838
5fdd4046
CY
198392011-06-26 Chong Yidong <cyd@stupidchicken.com>
19840
2afef60a
CY
19841 * vc/vc.el (vc-revert-show-diff): New defcustom.
19842 (vc-diff-internal): New arg specifying diff buffer.
19843 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19844 reuse an existing *vc-diff* buffer (Bug#8927).
19845
5fdd4046
CY
19846 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19847
e93db24a
GM
198482011-06-26 Glenn Morris <rgm@gnu.org>
19849
19850 * progmodes/f90.el (f90-critical-indent): New option.
19851 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19852 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19853 (f90-mode): Doc fix.
19854 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19855 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19856 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19857 (f90-match-end): Handle block, critical.
19858
eefff499
GM
198592011-06-25 Glenn Morris <rgm@gnu.org>
19860
f6ba4cc9
GM
19861 * calendar/diary-lib.el (diary-included-files): Doc fix.
19862 (diary-include-files): New function, extracted from
19863 diary-include-other-diary-files and diary-mark-included-diary-files.
19864 (diary-include-other-diary-files, diary-mark-included-diary-files):
19865 Just call diary-include-files.
19866 (diary-mark-entries): Reset diary-included-files on first call.
19867
16712304
GM
19868 * calendar/diary-lib.el (diary-mark-entries)
19869 (diary-mark-included-diary-files):
19870 Visit included diary-files in temp buffers.
19871
5d8e0d43
GM
19872 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19873 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19874 (f90-start-block-re, f90-imenu-generic-expression)
19875 (f90-looking-at-program-block-start, f90-no-block-limit):
19876 Add support for submodules.
19877
ccf7a5d5
GM
19878 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19879 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19880
11fdef7d 198812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19882
19883 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19884 buffer-file-type before setting its value, to avoid disastrous
eefff499 19885 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19886
74f53697
JB
198872011-06-25 Juanma Barranquero <lekktu@gmail.com>
19888
19889 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19890
19891 * ses.el (ses-unload-function):
19892 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19893
19894 * proced.el (proced-unload-function):
19895 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19896
18a4ce5e
AR
198972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19898
19899 * server.el (server-create-window-system-frame): Add parameters arg.
19900 (server-process-filter): Doc fix. Handle frame-parameters.
19901
519d22cc
JB
199022011-06-25 Juanma Barranquero <lekktu@gmail.com>
19903
19904 Fix bug#8730, bug#8781.
19905
19906 * loadhist.el (unload--set-major-mode): New function.
19907 (unload-feature): Use it.
19908
19909 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19910 (python-unload-function): New function.
19911
c206f5b0
SM
199122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19915
f9ad64f3
GS
199162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19917
19918 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19919 the candidates list.
19920
7d0da90e
JB
199212011-06-24 Juanma Barranquero <lekktu@gmail.com>
19922
19923 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19924
14b4e83d
RS
199252011-06-23 Richard Stallman <rms@gnu.org>
19926
19927 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19928 (rmail-variables): Set next-error-move-function.
19929 (rmail-what-message): Take argument POS.
19930 (rmail-next-error-move): New function.
19931
273d2baf
SM
199322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19935 messages for adjacent non-terminals.
19936
56c2cc9a
RS
199372011-06-23 Richard Stallman <rms@gnu.org>
19938
19939 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19940 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19941 (rmail-start-mail): Don't specify use of rmail-mail-return;
19942 that's done by mail-bury now.
19943 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19944
d59eb518
MA
199452011-06-23 Michael Albinus <michael.albinus@gmx.de>
19946
19947 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19948 SIZE is a number.
19949
02cfc6d6
MR
199502011-06-23 Martin Rudalics <rudalics@gmx.at>
19951
19952 * window.el (get-lru-window, get-mru-window)
19953 (get-largest-window): Never return a minibuffer window.
19954 (display-buffer-pop-up-window): Fix a bug that could lead to
19955 reusing the minibuffer window.
19956 (display-buffer): Pass original specifier argument to
19957 display-buffer-function instead of the normalized one.
19958 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19959
4e323265
LL
199602011-06-22 Leo Liu <sdl.web@gmail.com>
19961
19962 * minibuffer.el (completing-read-function)
1f9f395d 19963 (completing-read-default): Move from minibuf.c.
4e323265 19964
7a70468f
RS
199652011-06-22 Richard Stallman <rms@gnu.org>
19966
50718fc2
RS
19967 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19968 to Rmail even if not started by a special Rmail command.
19969
7a70468f
RS
19970 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19971 Copy the buffer currently showing just one message.
19972
297dde5a
RW
199732011-06-22 Roland Winkler <winkler@gnu.org>
19974
19975 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19976 (bibtex-clean-entry): First delete the old key so that a
19977 customized algorithm for generating the new key does not get
19978 confused by the old key.
19979 (bibtex-url): Obey regexp of first step.
19980 (bibtex-search-entries): Do not use add-to-list with local
19981 list-var.
19982
97bb1093
LMI
199832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19984
19985 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19986 stored a user name, then query for the password first, instead of
19987 waiting for SMTP to give an error message and the trying again.
19988
1c0f1a19
JD
199892011-06-22 Lawrence Mitchell <wence@gmx.li>
19990
19991 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19992 BUFFER in call-process.
19993
396f7c9d
LMI
199942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19995
19996 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19997 QUIT twice.
ddb7ffee
LMI
19998 (smtpmail-try-auth-methods): Require user name and password from
19999 auth-source.
396f7c9d 20000
8998d1b3
MR
200012011-06-22 Martin Rudalics <rudalics@gmx.at>
20002
20003 * window.el (display-buffer-default-specifiers)
20004 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20005 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 20006 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
20007
20008 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20009 (special-display-frame-alist, special-display-popup-frame):
20010 Remove duplicate declarations. These are now in window.el.
20011
4ea31e07
LMI
200122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20013
c9d29fb8
SM
20014 * mail/smtpmail.el (smtpmail-via-smtp):
20015 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
20016 server supports it. SMTP servers that support STARTTLS commonly
20017 require it.
20018
20019 * net/network-stream.el (network-stream-open-starttls): Support
20020 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 20021 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 20022
95f41d9a
LMI
20023 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20024 upgrades with `open-network-stream', and rely solely on
20025 auth-source for all credentials. Big changes throughout the file,
20026 but in particular:
c9d29fb8
SM
20027 (smtpmail-auth-credentials): Remove.
20028 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
20029 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20030 MAIL FROM, too.
95f41d9a 20031
c9d29fb8
SM
20032 * net/network-stream.el (network-stream-open-starttls):
20033 Provide support for client certificates both for external and built-in
4ea31e07
LMI
20034 STARTTLS.
20035 (auth-source): Require.
20036 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
20037 (network-stream-certificate): Change cert-cert to cert and
20038 cert-key to key.
4ea31e07 20039
065ec2c7
MA
200402011-06-21 Michael Albinus <michael.albinus@gmx.de>
20041
20042 * net/tramp-cache.el (top): Don't load the persistency file when
20043 "emacs -Q" has been called.
20044
cd93b359
DR
200452011-06-21 Tim Harper <timcharper@gmail.com>
20046
d8e4b68b
JB
20047 * term/ns-win.el (ns-initialize-window-system):
20048 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
20049 resource to NO as it is not yet supported by the NS port.
20050
ae9c0411
JB
200512011-06-21 Juanma Barranquero <lekktu@gmail.com>
20052
20053 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20054 (list-dynamic-libraries): ...not here.
20055
7f3f739f
LL
200562011-06-21 Leo Liu <sdl.web@gmail.com>
20057
20058 * subr.el (sha1): Implement sha1 using secure-hash.
20059
327c8fb1
MR
200602011-06-21 Martin Rudalics <rudalics@gmx.at>
20061
20062 * window.el (display-buffer-alist): In default value do not
20063 enforce searching a window on any but the selected frame.
20064 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20065 (display-buffer-select-window): Remove function.
20066 (display-buffer-in-window): When a window on another frame gets
20067 reused, do not select it any more but just raise its frame if
20068 necessary (Bug#8851) and (Bug#8856).
20069 (display-buffer-normalize-options): Handle pop-up-frames related
20070 options more faithfully.
20071 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20072 window if it is on another frame.
c9d29fb8
SM
20073 (display-buffer-alist, display-buffer-default-specifiers):
20074 Don't make new frame unsplittable by default.
9e9de014
MR
20075 (display-buffer-normalize-argument): Fix doc-string typo and use
20076 'same-frame-other-window instead of 'other-window when associating
20077 with display-buffer-macro-specifiers.
327c8fb1 20078
7cf3f556
VB
200792011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20080
20081 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20082 New functions.
20083 (5x5-mode-map, 5x5-mode-menu): Bind them.
20084 (5x5-draw-grid): Tweak the solver's rendering.
20085
60a406cf
SM
200862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20087
20088 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20089 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20090
d8e4b68b 200912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
20092
20093 * menu-bar.el: Use function variable instead of switch-to-buffer.
20094 (menu-bar-select-buffer-function): New variable.
60a406cf 20095 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 20096
478d6f95
SM
200972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20100 variable's status.
20101
ca530739
JD
201022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20103
20104 * x-dnd.el (x-dnd-version-from-flags)
20105 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20106 and long as number (Bug#8899).
20107 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20108
bcd70d97
SM
201092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20110
60a406cf 20111 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20112 (completion-try-completion, completion-all-completions): Compute the
20113 metadata argument if it's missing; make it optional (bug#8795).
20114
60a406cf 20115 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20116 (widget-complete): Use new :completion-function property.
20117 (widget-completions-at-point): New function.
20118 (default): Use :completion-function instead of :complete.
60a406cf
SM
20119 (widget-default-completions): Rename from widget-default-complete;
20120 Rewrite.
bcd70d97
SM
20121 (widget-string-complete, widget-file-complete, widget-color-complete):
20122 Remove functions.
20123 (file, symbol, function, variable, coding-system, color):
20124 * international/mule-cmds.el (default-input-method, charset)
20125 (language-info-custom-alist):
20126 * cus-edit.el (face): Use new property :completions.
20127
20128 * progmodes/pascal.el (pascal-completions-at-point): New function.
20129 (pascal-mode): Use it.
20130 (pascal-mode-map): Use completion-at-point.
20131 (pascal-toggle-completions): Make obsolete.
20132 (pascal-complete-word, pascal-show-completions):
20133 * progmodes/octave-mod.el (octave-complete-symbol):
20134 Redefine as obsolete alias.
20135 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20136 Signal absence of completion info for old Octave,
20137 (inferior-octave-complete): Redefine as obsolete alias.
20138 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20139 (meta-completions-at-point): Rename from meta-complete-symbol and
20140 adapt it for use on completion-at-point-functions.
20141 (meta-common-mode): Use it.
20142 (meta-looking-at-backward, meta-match-buffer): Remove.
20143 (meta-complete-symbol): Redefine as obsolete alias.
20144 (meta-common-mode-map): Use completion-at-point.
20145 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20146 (makefile-mode-map): Use completion-at-point.
20147 (makefile-completions-at-point): Rename from makefile-complete and
20148 adapt it for use on completion-at-point-functions.
20149 (makefile-mode): Use it.
20150 (makefile-complete): Redefine as obsolete alias.
20151
aebf69c8
DD
201522011-06-20 Deniz Dogan <deniz@dogan.se>
20153
20154 * net/rcirc.el: Delete trailing whitespaces once and for all.
20155
bfbbb27d
DC
201562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20157
20158 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20159
d264a46b
CY
201602011-06-19 Chong Yidong <cyd@stupidchicken.com>
20161
4ca009e5
CY
20162 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20163
d264a46b
CY
20164 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20165
fbf5b3ce
MR
201662011-06-19 Martin Rudalics <rudalics@gmx.at>
20167
20168 * window.el (display-buffer-other-window-means-other-frame):
20169 Call display-buffer-normalize-alist.
20170 (display-buffer-normalize-specifiers-1): Rename to
20171 display-buffer-normalize-argument. New argument other-frame.
20172 Rewrite.
20173 (display-buffer-normalize-specifiers-2): Rename to
20174 display-buffer-normalize-options.
20175 (display-buffer-normalize-alist-1): New function.
20176 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
20177 display-buffer-normalize-alist.
20178 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
20179 (display-buffer-normalize-options-inhibit): New variable.
20180 (display-buffer-normalize-specifiers): Rewrite calling
20181 display-buffer-normalize-alist,
20182 display-buffer-normalize-argument, and
20183 display-buffer-normalize-options. Don't call the latter if
20184 display-buffer-normalize-options-inhibit is non-nil.
20185 (frame-auto-delete): New option.
20186 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
20187 (window-list-no-nils, window-state-ignored-parameters)
20188 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
20189 (window-state-put-1, window-state-put-2, window-state-put):
20190 New functions.
9a028c23
MR
20191 (display-buffer-normalize-options): Move special-display-p group
20192 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20193
6d10d800
CY
201942011-06-18 Chong Yidong <cyd@stupidchicken.com>
20195
6420d28b
CY
20196 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20197 groups (Bug#8776).
20198 (rx-submatch-n): New function.
20199 (rx): Document it.
20200
ddb8b596
CY
20201 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20202 (Bug#8768).
20203
20204 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20205
77080289
CY
20206 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20207
61dfb316
CY
20208 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20209 anytime existing face settings are present (Bug#8889).
20210
6d10d800
CY
20211 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20212 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20213 Remove unused argument.
20214
be3fb2b8
MR
202152011-06-18 Martin Rudalics <rudalics@gmx.at>
20216
bcd70d97
SM
20217 * window.el (display-buffer-default-specifiers):
20218 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20219 pop-up-window-min-width, and another reuse-window specifier
20220 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20221 (display-buffer-normalize-specifiers-2):
20222 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20223 pop-up-windows is unset. Add a reuse-window specifier for the
20224 case popping up a new window fails.
20225 (special-display-popup-frame): Remove double quoting.
28dec25a 20226 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20227
1c6d8c76
SM
202282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20229
20230 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20231 according to comint-completion-addsuffix.
20232
20233 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20234 (pcomplete-suffix-list): Mark as obsolete.
20235 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20236 pcomplete-seen in the closure.
20237 (pcomplete-comint-setup): Setup completion-at-point as well.
20238 (pcomplete--entries): New function.
20239 (pcomplete--env-regexp): New var.
20240 (pcomplete-entries): Rewrite to work with partial-completion and
20241 without relying on pcomplete-suffix-list.
20242 (pcomplete-pare-list): Remove, unused.
20243
25aef8b8
MR
202442011-06-17 Martin Rudalics <rudalics@gmx.at>
20245
20246 * window.el (display-buffer-alist): Set pop-up-window-min-height
20247 and pop-up-window-min-width in default value. Reported by
20248 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20249 other-window-means-other-frame.
20250 (display-buffer-macro-specifiers): Comment out entry for
20251 other-window specifier.
20252 (display-buffer-other-window-means-other-frame): New function.
20253 (display-buffer-normalize-specifiers-1): New arguments
20254 buffer-name and label. Treat other-window case specially.
20255 (display-buffer-normalize-specifiers-2): Treat other-window case
20256 specially.
20257 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20258 (display-buffer-normalize-specifiers):
20259 Call display-buffer-normalize-specifiers-3.
25aef8b8 20260
dbad4f69
MR
202612011-06-17 Martin Rudalics <rudalics@gmx.at>
20262
20263 * window.el (same-window-p): Fix two typos introduced when
20264 adding with-no-warnings.
d1067961
MR
20265 (display-buffer-normalize-specifiers-1): Don't check
20266 pop-up-frames for 'unset initialization.
20267 (display-buffer-normalize-specifiers-2): Major rewrite using
20268 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20269 (pop-up-frames, display-buffer-reuse-frames)
20270 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20271 Suggested by David Engster <deng@randomsample.de>.
20272 (even-window-heights): Initialize to 'unset.
20273 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20274 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20275 other window case.
dbad4f69 20276
9b9c9e3a
MR
202772011-06-16 Martin Rudalics <rudalics@gmx.at>
20278
bcd70d97
SM
20279 * window.el (display-buffer-normalize-specifiers-1):
20280 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20281 second argument of display-buffer (Bug#8865).
981d5c09
MR
20282 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20283 (switch-to-buffer-other-window-same-frame)
20284 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20285 Adams (Bug#8875).
9c2755e9
MR
20286 (display-buffer): Don't check noninteractive when calling
20287 display-buffer-pop-up-frame.
20288 (display-buffer-pop-up-frame): Never pop up a frame in
20289 noninteractive mode (Bug#8857).
67222e1d
MR
20290 (enlarge-window, shrink-window): Don't report an error when the
20291 window can't be resized as requested (Bug#8862).
9b9c9e3a 20292
2b75be67
SM
202932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20294
9ffdd3ba
SM
20295 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20296
cb581a67
SM
20297 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20298
2b75be67
SM
20299 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20300
8c0e3589
AM
203012011-06-15 Alan Mackenzie <acm@muc.de>
20302
cb581a67
SM
20303 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20304 for declarators, disable knr checking to speed up for normal files.
20305 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20306
b96e6cde
LMI
203072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20308
4bba86e6
LMI
20309 * net/network-stream.el (open-network-stream): Add the keyword
20310 :always-query-capabilities for the case where you want to force a
20311 `plain' network connection, but the protocol still requires the
20312 capabilitiy command (i.e., SMTP and EHLO).
20313
2b75be67 20314 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20315 consistency with other `-live-p' functions.
20316
efdcdbf8
SM
203172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20318
20319 * window.el (same-window-buffer-names, same-window-regexps)
20320 (special-display-frame-alist, special-display-popup-frame)
20321 (special-display-function, special-display-buffer-names)
20322 (special-display-regexps, pop-up-frame-alist)
20323 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20324 (pop-up-windows, split-window-preferred-function)
20325 (split-height-threshold, split-width-threshold, even-window-heights)
20326 (display-buffer-mark-dedicated): Don't encourage the use of
20327 display-buffer-alist from Elisp code.
20328
c5cde042
DN
203292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20330
20331 * progmodes/python.el (python-mode): Derive from prog-mode.
20332 * progmodes/ps-mode.el (ps-mode):
20333 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20334 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20335 * progmodes/ld-script.el (ld-script-mode): Likewise.
20336
baa1c9ab
MR
203372011-06-15 Martin Rudalics <rudalics@gmx.at>
20338
20339 * window.el (display-buffer-alist): Trim default value to avoid
20340 popping up a new frame (Bug#8857) or reusing an arbitrary window
20341 on another frame.
20342 (display-buffer): Do not fall back on popping up a new frame in
20343 batch mode (Bug#8857).
20344
c5dd5a51
CY
203452011-06-14 Chong Yidong <cyd@stupidchicken.com>
20346
20347 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20348 (custom-theme-summary): New function.
20349 (customize-themes): Use it.
20350
d647b7c4
GM
203512011-06-13 Glenn Morris <rgm@gnu.org>
20352
20353 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20354
9481c002
MR
203552011-06-13 Martin Rudalics <rudalics@gmx.at>
20356
357f93d2
MR
20357 * help.el (help-window): Remove variable.
20358 (help-window-point-marker, temp-buffer-max-height)
20359 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20360 (help-print-return-message): Don't set help-window.
20361 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20362 (help-window-setup-finish): Remove.
20363 (help-window-display-message, help-window-setup)
20364 (with-help-window): Major rewrite based on new
20365 display-buffer-window variable.
20366
20367 * help-mode.el (help-mode-finish): Remove help-window related
20368 code.
20369
20370 * view.el (view-exits-all-viewing-windows): Remove reference to
20371 view-return-to-alist in doc-string.
20372 (view-return-to-alist): Make obsolete.
20373 (view-buffer): Call pop-to-buffer-same-window and remove
20374 undo-window code.
20375 (view-buffer-other-window): Call pop-to-buffer-other-window and
20376 simplify code. Ignore second argument.
20377 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20378 simplify code. Ignore second argument.
20379 (view-return-to-alist-update): Make obsolete.
20380 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20381 Rewrite using quit-restore window parameters.
2b75be67
SM
20382 (view-mode-exit): Rename second argument to EXIT-ONLY.
20383 Rewrite using quit-restore-window.
357f93d2
MR
20384 (View-exit, View-exit-and-edit, View-leave, View-quit)
20385 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20386 appropriate arguments.
20387 (view-end-message): Use quit-restore window parameter.
20388
9481c002
MR
20389 * window.el (display-buffer-function): Rewrite doc-string.
20390 (display-buffer-window, display-buffer-alist): New variables.
20391 (display-buffer-split-specifiers)
20392 (display-buffer-side-specifiers)
20393 (display-buffer-macro-specifiers): New constants.
20394 (display-buffer-even-window-sizes, display-buffer-set-height)
20395 (display-buffer-set-width, display-buffer-select-window)
20396 (display-buffer-in-window, display-buffer-reuse-window)
20397 (display-buffer-split-window-1, display-buffer-split-window)
20398 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20399 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20400 (display-buffer-in-side-window, normalize-buffer-to-display)
20401 (display-buffer-normalize-specifiers-1)
20402 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20403 (display-buffer-normalize-specifiers, display-buffer-frame):
20404 New functions.
9481c002
MR
20405 (display-buffer): Major rewrite.
20406 (display-buffer-other-window, display-buffer-other-frame)
20407 (pop-to-buffer, switch-to-buffer-other-window)
20408 (switch-to-buffer-other-frame): Rewrite.
20409 (display-buffer-same-window, display-buffer-same-frame)
20410 (display-buffer-same-frame-other-window)
20411 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20412 (pop-to-buffer-other-window)
20413 (pop-to-buffer-same-frame-other-window)
20414 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20415 (switch-to-buffer-other-window-same-frame): New functions.
20416 (same-window-p, special-display-p): Rewrite disabling warnings.
20417 Make obsolete.
20418 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20419 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20420 Make obsolete
20421 (same-window-buffer-names, same-window-regexps)
20422 (special-display-frame-alist, special-display-popup-frame)
20423 (special-display-function, special-display-buffer-names)
20424 (special-display-regexps, pop-up-frame-alist)
20425 (pop-up-frame-function, split-window-preferred-function)
20426 (split-height-threshold, split-width-threshold)
20427 (even-window-heights): Make obsolete.
20428
9db51aca
GM
204292011-06-12 Glenn Morris <rgm@gnu.org>
20430
20431 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20432 Misc simplifications.
9db51aca 20433
39cffb44
MR
204342011-06-12 Martin Rudalics <rudalics@gmx.at>
20435
20436 * window.el (window-safely-shrinkable-p): Restore function which
20437 was inadvertently removed in change from 2011-06-11. Declare as
20438 obsolete.
20439
2b75be67
SM
20440 * calendar/calendar.el (calendar-generate-window):
20441 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20442 window-safely-shrinkable-p.
20443
a8955be7
GM
204442011-06-12 Glenn Morris <rgm@gnu.org>
20445
20446 * progmodes/fortran.el (fortran-mode-syntax-table):
20447 * progmodes/f90.el (f90-mode-syntax-table):
20448 Set % to punctuation. (Bug#8820)
20449 (f90-find-tag-default): Remove, no longer needed.
20450
f0d4059d
DC
204512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20452
20453 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20454
1100a63c
CY
204552011-06-11 Chong Yidong <cyd@stupidchicken.com>
20456
20457 * image.el (image-animated-p): Return animation delay in seconds.
20458 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20459 (image-animate-timeout): Remove DELAY argument. Don't assume
20460 every subimage has the same delay; get it from image-animated-p.
20461 (image-animate): Caller changed.
20462
def722bf
MA
204632011-06-11 Michael Albinus <michael.albinus@gmx.de>
20464
20465 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20466 to ignored backtrace functions.
20467
0a2bb1a9
GM
204682011-06-11 Glenn Morris <rgm@gnu.org>
20469
20470 * calendar/appt.el (appt-disp-window-function): Doc fix.
20471 (appt-check): Handle overlapping appointments. (Bug#8337)
20472
6198ccd0
MR
204732011-06-11 Martin Rudalics <rudalics@gmx.at>
20474
20475 * window.el (window-tree-1, window-tree): New functions, moving
20476 the latter to window.el.
20477 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20478 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20479 (bw-refresh-edges): Remove.
20480 (balance-windows-1, balance-windows-2): New functions.
20481 (balance-windows): Rewrite in terms of window tree functions,
20482 balance-windows-1 and balance-windows-2.
20483 (bw-adjust-window): Remove.
20484 (balance-windows-area-adjust): New function with functionality of
20485 bw-adjust-window but using resize-window.
2b75be67
SM
20486 (set-window-text-height): Rewrite doc-string.
20487 Use normalize-live-window and resize-window.
20488 (enlarge-window-horizontally, shrink-window-horizontally):
20489 Rename argument to DELTA.
6198ccd0
MR
20490 (window-buffer-height): New function.
20491 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20492 Rewrite using new window resize routines.
2b75be67
SM
20493 (kill-buffer-and-window, mouse-autoselect-window-select):
20494 Use ignore-errors instead of condition-case.
6198ccd0
MR
20495 (quit-window): Call delete-frame instead of delete-windows-on
20496 for the only buffer on frame.
20497
9397e56f
MR
204982011-06-10 Martin Rudalics <rudalics@gmx.at>
20499
20500 * loadup.el (top-level): Load window before files for the sake
20501 of replace-buffer-in-windows.
20502
20503 * files.el (read-buffer-to-switch)
20504 (switch-to-buffer-other-window)
2b75be67
SM
20505 (switch-to-buffer-other-frame, display-buffer-other-frame):
20506 Move to window.el.
9397e56f
MR
20507
20508 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20509 (previous-buffer): Move to window.el.
20510
20511 * bindings.el (unbury-buffer): Move to window.el.
20512
20513 * window.el (delete-other-windows-vertically): Move after
20514 definition of delete-other-windows.
20515 (other-window, delete-windows-on, replace-buffer-in-windows):
20516 Move here from window.c.
20517 (record-window-buffer, unrecord-window-buffer)
20518 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20519 (switch-to-next-buffer): New functions.
20520 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20521 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20522 (previous-buffer): Move here from simple.el.
20523 Call switch-to-prev-buffer.
9397e56f
MR
20524 (bury-buffer): Move here from buffer.c. Switch to previous
20525 buffer when window cannot be deleted.
20526 (unbury-buffer): Move here from bindings.el.
20527 (ctl-x-map): Move binding for other-window from window.c to
20528 here.
20529 (read-buffer-to-switch, switch-to-buffer-other-window)
20530 (switch-to-buffer-other-frame): Move here from files.el.
20531 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20532 (switch-to-buffer): Move here from buffer.c.
20533 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20534
562dd5e9
MR
205352011-06-10 Martin Rudalics <rudalics@gmx.at>
20536
20537 * window.el (window-min-height, window-min-width): Move here
20538 from window.c. Add defcustoms and rewrite doc-strings.
20539 (resize-mini-window, resize-window): New functions.
20540 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20541 Move here from window.c.
20542 (maximize-window, minimize-window): New functions.
20543 (delete-window, delete-other-windows, split-window): Move here
20544 from window.c.
20545 (window-split-min-size): New function.
20546 (split-window-keep-point): Mention split-window-above-each-other
20547 instead of split-window-vertically.
2b75be67 20548 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20549 Rename split-window-vertically to split-window-above-each-other
20550 and provide defalias for old definition.
20551 (split-window-side-by-side, split-window-horizontally):
20552 Rename split-window-horizontally to split-window-side-by-side
20553 and provide defalias for the old definition.
562dd5e9
MR
20554 (ctl-x-map): Move bindings for delete-window,
20555 delete-other-windows and enlarge-window here from window.c.
20556 Replace bindings for split-window-vertically and
20557 split-window-horizontally by bindings for
20558 split-window-above-each-other and split-window-side-by-side.
20559
20560 * cus-start.el (all): Remove entries for window-min-height and
20561 window-min-width. Add entries for window-splits and
20562 window-nest.
20563
f0da764a
GM
205642011-06-09 Glenn Morris <rgm@gnu.org>
20565
80675c21
GM
20566 * calendar/appt.el (appt-mode-line): New function.
20567 (appt-check, appt-disp-window): Use it.
20568
f0da764a
GM
20569 * files.el (hack-one-local-variable-eval-safep):
20570 Allow minor-modes with explicit +/-1 arguments.
20571
59f623b7
TZ
205722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20573
20574 * term/xterm.el (xterm): Add defgroup.
20575 (xterm-extra-capabilities): Add defcustom to supply known xterm
20576 capabilities, skip querying them, or query them (default).
20577 (terminal-init-xterm): Use it.
20578 (terminal-init-xterm-modify-other-keys): New function to set up
20579 modifyOtherKeys support to simplify `terminal-init-xterm'.
20580
9aab8e0d
MR
205812011-06-09 Martin Rudalics <rudalics@gmx.at>
20582
20583 * window.el (resize-window-reset, resize-window-reset-1)
20584 (resize-subwindows-skip-p, resize-subwindows-normal)
20585 (resize-subwindows, resize-other-windows, resize-this-window)
20586 (resize-root-window, resize-root-window-vertically)
20587 (window-deletable-p, window-or-subwindow-p)
20588 (frame-root-window-p): New functions.
20589
e8b08aee
GM
205902011-06-09 Glenn Morris <rgm@gnu.org>
20591
20592 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20593 (ange-ftp-get-files): Use it.
20594
254c37a5
AK
205952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20596
20597 * mail/sendmail.el (mail-recover-1, mail-recover):
20598 * files.el (recover-file, recover-session):
20599 Handle dired-listing-switches not being just a single short option.
20600
35d7dbd3
GM
206012011-06-09 Glenn Morris <rgm@gnu.org>
20602
20603 * calendar/appt.el (appt-display-message, appt-disp-window):
20604 Handle lists of appointments.
20605
387522b2
MR
206062011-06-08 Martin Rudalics <rudalics@gmx.at>
20607
2b75be67
SM
20608 * window.el (one-window-p): Move down in code.
20609 Rewrite doc-string.
20610 (window-current-scroll-bars): Rewrite doc-string.
20611 Normalize live window argument.
387522b2
MR
20612 (walk-windows, get-window-with-predicate, count-windows):
20613 Rewrite doc-string. Use window-list-1.
20614 (window-in-direction-2, window-in-direction, get-mru-window):
20615 New functions.
20616
d8e4b68b 206172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20618
20619 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20620 Doc fix (Bug#8713).
20621
206222011-06-08 Chong Yidong <cyd@stupidchicken.com>
20623
20624 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20625
206262011-06-08 Juanma Barranquero <lekktu@gmail.com>
20627
20628 * loadhist.el (unload-feature-special-hooks):
20629 Add `comint-output-filter-functions'.
20630
0de12c52
IK
206312011-06-08 Ivan Kanis <gnu@kanis.fr>
20632
20633 * calendar/appt.el (appt-check): Move some initializations into the let.
20634
f3d1777e
MR
206352011-06-08 Martin Rudalics <rudalics@gmx.at>
20636
20637 * window.el (window-height): Defalias to window-total-height.
20638 (window-width): Defalias to window-body-width.
20639
18af70d0
CY
206402011-06-07 Chong Yidong <cyd@stupidchicken.com>
20641
20642 * image-mode.el (image-toggle-animation): New command.
20643 (image-mode-map): Bind it to RET.
20644 (image-mode): Update message.
20645 (image-toggle-display-image): Avoid a spurious cache flush.
20646 (image-transform-rotation): Doc fix.
20647 (image-transform-properties): Return quickly in the normal case.
20648 (image-animate-loop): Rename from image-animate-max-time.
20649
2b75be67 20650 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20651 (create-animated-image): Remove unnecessary function.
20652 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20653 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20654 (image-animate-timer): Use car-safe.
20655 (image-animate-timeout): Rename argument.
20656
190b47e6
MR
206572011-06-07 Martin Rudalics <rudalics@gmx.at>
20658
20659 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20660 window.c. Rename first argument to ALL-FRAMES.
20661 Rephrase doc-strings.
20662 (get-buffer-window-list): Rewrite using window-list-1.
20663 Rephrase doc-string.
a1511caf
MR
20664 (window-safe-min-height, window-safe-min-width): New constants.
20665 (window-size-ignore, window-min-size, window-min-size-1)
20666 (window-sizable, window-sizable-p, window-size-fixed-1)
20667 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20668 (window-max-delta-1, window-max-delta, window-resizable)
20669 (window-resizable-p, window-total-height, window-total-width)
20670 (window-body-width): New functions.
20671 (window-full-height-p, window-full-width-p): Rewrite using
20672 window-total-size.
20673 (window-body-height): Rewrite using window-body-size.
190b47e6 20674
85cc1f11
MR
206752011-06-06 Martin Rudalics <rudalics@gmx.at>
20676
20677 * window.el (window-right, window-left, window-child)
20678 (window-child-count, window-last-child, window-any-p)
20679 (normalize-live-buffer, normalize-live-frame)
20680 (normalize-any-window, normalize-live-window)
20681 (window-iso-combination-p, window-iso-combined-p)
20682 (window-iso-combinations)
20683 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20684 (windows-with-parameter, window-with-parameter)
20685 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20686 (window-atom-check, window-side-check, window-check):
20687 New functions.
85cc1f11
MR
20688 (ignore-window-parameters, window-sides, window-sides-vertical)
20689 (window-sides-slots): New variables.
20690 (window-size-fixed): Move down in code. Minor doc-string fix.
20691
e7156492
AS
206922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20693
20694 * comint.el (comint-dynamic-complete-as-filename)
20695 (comint-dynamic-complete-filename): Correctly call
20696 completion-in-region.
20697
7e821d0d
DD
206982011-06-05 Deniz Dogan <deniz@dogan.se>
20699
20700 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20701 in last change.
20702
ac09b8a1
DD
207032011-06-05 Deniz Dogan <deniz@dogan.se>
20704
20705 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20706 (rcirc): Use it to prompt for encryption.
20707
34699b85
RW
207082011-06-05 Roland Winkler <winkler@gnu.org>
20709
20710 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20711 (bibtex-search-entries): New command bound to C-c C-a.
20712 (bibtex-display-entries): New function.
20713
004dedd3
RW
207142011-06-05 Roland Winkler <winkler@gnu.org>
20715
20716 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20717 (bibtex-insert-kill): After yanking insert newline if necessary.
20718 (bibtex-initialize): Call bibtex-string-files-init only once.
20719 (bibtex-mode): Do not call easy-menu-add.
20720 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20721 (bibtex-yank): Set arg properly if nil.
20722
022fe7ce
RW
207232011-06-05 Roland Winkler <winkler@gnu.org>
20724
2b75be67
SM
20725 * textmodes/bibtex.el (bibtex-search-entry-globally):
20726 New variable.
022fe7ce
RW
20727 (bibtex-search-entry): Use it.
20728
b7c3692a
RW
207292011-06-05 Roland Winkler <winkler@gnu.org>
20730
20731 * textmodes/bibtex.el (bibtex-entry-format): New option
20732 sort-fields.
20733 (bibtex-format-entry, bibtex-reformat): Honor this option.
20734 (bibtex-parse-entry): Return fields in proper order.
20735
8eda563d
JB
207362011-06-05 Juanma Barranquero <lekktu@gmail.com>
20737
20738 * doc-view.el (doc-view-remove-if): Move computation of result out
20739 of `dolist' to silence misleading lexical-binding warning.
20740
7dbe3dbc
CY
207412011-06-04 Chong Yidong <cyd@stupidchicken.com>
20742
20743 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20744 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20745
0c33dd17
MA
207462011-06-04 Michael Albinus <michael.albinus@gmx.de>
20747
20748 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20749 "SunOS 5.10".
20750
f8f91c2b
MA
207512011-06-04 Michael Albinus <michael.albinus@gmx.de>
20752
20753 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20754 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20755 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20756 (tramp-parse-putty):
20757 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20758 (tramp-completion-function-alist-ssh)
20759 (tramp-completion-function-alist-telnet)
20760 (tramp-completion-function-alist-su)
20761 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20762 cookie.
20763
20764 * net/tramp-ftp.el:
20765 * net/tramp-sh.el:
20766 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20767 load "tramp.el" `tramp-set-completion-function'.
20768
e17d9003
SM
207692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20770
20771 * shell.el: Require and use pcomplete.
20772 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20773 (shell-completion-vars): Set pcomplete-default-completion-function.
20774
6c4cab03
DD
207752011-06-04 Deniz Dogan <deniz@dogan.se>
20776
20777 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20778 `memq' (Bug#8799).
20779
ea9fafe0
SM
207802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20781
20782 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20783
b3e945d3
JB
207842011-06-02 Juanma Barranquero <lekktu@gmail.com>
20785
20786 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20787 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20788 * vc/log-view.el (log-view-beginning-of-defun):
20789 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20790 (smerge-refine-forward, smerge-refine-chopup-region):
20791 Silence warning for unused `dotimes' counter variables.
20792
7d520089
SM
207932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20794
20795 * net/tramp.el (tramp-with-progress-reporter): Rename from
20796 with-progress-reporter. Use `declare'.
20797 * net/tramp-smb.el:
20798 * net/tramp-sh.el:
20799 * net/tramp-gvfs.el: Update all uses.
20800
a1c2400f
JB
208012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20802
20803 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20804 buffer isn't killed before making it current.
20805
2403c841
SM
208062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20807
20808 Silence various byte-compiler warnings.
20809 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20810 `access-type' and new obsolescence format.
20811 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20812 new format.
20813 (byte-compile-check-variable): New `access-type' argument.
20814 Only warn if the access-type is obsolete.
20815 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20816 (byte-compile-variable-set): Adjust callers.
20817 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20818 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20819 setting it as obsolete.
20820 * simple.el (minibuffer-completing-symbol):
20821 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20822 access as obsolete.
20823 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20824 obsolete yet.
20825 * international/quail.el (quail-mouse-choose-completion): Remove unused
20826 code referring to obsolete var.
20827 (quail-choose-completion-string): Remove.
20828 * server.el (server-clients-with, server-kill-buffer-query-function)
20829 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20830 * proced.el (proced-send-signal):
20831 * emacs-lisp/lisp.el (lisp-complete-symbol):
20832 Replace completion-annotate-function with completion-extra-properties.
20833
2462470b
SM
208342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20835
fb5b2591
SM
20836 * simple.el (goto-line): Use read-number.
20837 (overriding-map-is-bound): Remove.
20838 (saved-overriding-map): Change default.
20839 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20840 Take the map as argument.
20841 (universal-argument, negative-argument, digit-argument): Use it.
20842 (restore-overriding-map): Adjust.
20843 (do-auto-fill): Use fill-forward-paragraph.
20844 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20845
fd6fa53f
SM
20846 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20847 (minibuffer-inactive-mode): New major mode.
20848 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20849 the *Messages* buffer" hack.
20850 (mouse-popup-menubar): Don't burp if the event is a normal key.
20851
2462470b
SM
20852 Miscellaneous tweaks.
20853 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20854 lexical scoping as in subr.el's dolist and dotimes.
20855 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20856 Silence compiler warning.
20857 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20858 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20859 * international/ccl.el (ccl-compile): Trivial simplification.
20860 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20861 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20862 `printflag' argument.
20863 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20864 Purecopy the whole obsolescence data.
20865
108bf785
LL
208662011-06-01 Leo Liu <sdl.web@gmail.com>
20867
20868 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20869 improve doc-string as suggested by Marco Pessotto
20870 <melmothx@gmail.com>.
20871 (rcirc-print): Fix last change.
20872
30a23501
SM
208732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20874
20875 * minibuffer.el (complete-with-action): Return nil for the metadata and
20876 boundaries of non-functional tables.
20877 (completion-table-dynamic): Return nil for the metadata.
20878 (completion-table-with-terminator): Add default case, using
20879 complete-with-action.
20880 (completion--metadata): New function.
20881 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20882 to try and avoid pathological performance problems.
20883 (completion--embedded-envvar-table): Return `category' metadata.
20884
bcd54f83
LMI
208852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20886
20887 * subr.el (process-alive-p): New tiny convenience function.
20888
e227544d
SM
208892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20890
20891 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20892 content but also its previous major mode.
20893
e8296fdc
HE
208942011-05-31 Helmut Eller <eller.helmut@gmail.com>
20895
4d61f28d 20896 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20897 *Backtrace* buffer when we exit with C-M-c.
20898
620c53a6
SM
208992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20900
20901 * minibuffer.el: Add metadata method to completion tables.
20902 (completion-category-overrides): New defcustom.
20903 (completion-metadata, completion--field-metadata)
20904 (completion-metadata-get, completion--styles)
20905 (completion--cycle-threshold): New functions.
20906 (completion-try-completion, completion-all-completions):
20907 Add `metadata' argument to choose completion-styles.
20908 (completion--do-completion): Use metadata to choose cycling.
20909 (completion-all-sorted-completions): Use metadata for sorting.
20910 Remove :completion-cycle-penalty which is not needed any more.
20911 (completion--try-word-completion): Add `metadata' argument.
20912 (minibuffer-completion-help): Check metadata for annotation function
20913 and sorting.
20914 (completion-file-name-table): Return `category' metadata.
20915 (minibuffer-completing-file-name): Make obsolete.
20916 * simple.el (minibuffer-completing-symbol): Make obsolete.
20917 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20918 completion-try-completion.
20919
1257e755
SM
209202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20921
20922 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20923
3767e706
LL
209242011-05-30 Leo Liu <sdl.web@gmail.com>
20925
20926 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20927 (rcirc-print): Decode all incoming messages (bug#8744).
20928 (rcirc-decode-coding-system): Allow value nil for automatic coding
20929 system detection.
3767e706 20930
d1a5d56a
GM
209312011-06-01 Glenn Morris <rgm@gnu.org>
20932
20933 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20934
e8cbec34
CY
209352011-05-29 Chong Yidong <cyd@stupidchicken.com>
20936
20937 * image.el (image-animate-max-time): Allow nil and t values.
20938 Default to nil.
20939 (create-animated-image): Doc fix.
20940 (image-animate-start): Remove second arg; just use
20941 image-animate-max-time.
20942 (image-animate-timeout): Doc fix. Args changed.
20943
20944 * image-mode.el (image-toggle-display-image): Ensure that the
20945 image spec passed to the animate timer is the same object as in
58179cce 20946 the buffer's display property (Bug#6981).
e8cbec34
CY
20947 (image-transform-properties): Doc fix.
20948
20949 * image.el (image-animate-max-time): Default to nil.
20950
159daf87
MR
209512011-05-29 Martin Rudalics <rudalics@gmx.at>
20952
20953 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20954 entire buffer list (Bug#8184).
20955
d66c4c7c
CY
209562011-05-29 Chong Yidong <cyd@stupidchicken.com>
20957
20958 * image.el (imagemagick-types-inhibit)
20959 (imagemagick-register-types): Doc fix.
20960
80aec780
DD
209612011-05-29 Deniz Dogan <deniz@dogan.se>
20962
20963 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20964 default.
20965
1dd3c2d9
CY
209662011-05-29 Chong Yidong <cyd@stupidchicken.com>
20967
20968 * select.el: Don't perform clipboard-manager saving in hooks;
20969 leave the hooks empty.
20970
60e56523
LL
209712011-05-28 Leo Liu <sdl.web@gmail.com>
20972
20973 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20974 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20975 (occur-edit-mode): New major mode (Bug#8463).
20976 (occur-after-change-function): New function.
20977 (occur-engine): Give Occur tags a read-only property.
20978
2b1e1a22
KR
209792011-05-28 Kevin Ryde <user42@zip.com.au>
20980
20981 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20982
5d344e88
CY
209832011-05-28 Chong Yidong <cyd@stupidchicken.com>
20984
8e6ca83d
CY
20985 * bindings.el (help-echo): Make the initial non-indicator dash
20986 empty on graphical terminals (Bug#7295).
20987
5d344e88
CY
20988 * files.el (auto-mode-alist): Move config rule after the
20989 in-stripping one (Bug#8547).
20990
bfbbace7
CY
20991 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20992
fbeba6e2
CY
20993 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20994 setting (Bug#8740).
20995
60ed8c72
AA
209962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20997
4ac619f0
AA
20998 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20999 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21000 (Bug#8539).
60ed8c72 21001
23db196e
CY
210022011-05-28 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21005
5012f24c
DK
210062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21007
21008 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21009 (hs-hide-block-at-point, hs-find-block-beginning)
21010 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21011 (Bug#8279).
21012
6a639b16
GM
210132011-05-28 Glenn Morris <rgm@gnu.org>
21014
21015 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21016
d43eaf2c
CY
210172011-05-28 Chong Yidong <cyd@stupidchicken.com>
21018
5199bde1
CY
21019 * help-fns.el (describe-function-1): If the function is a derived
21020 major mode, print the parent mode.
21021
d43eaf2c
CY
21022 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21023 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21024
423428a8
SM
210252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21026
0ff8e1ba 21027 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 21028 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
21029 * progmodes/etags.el (tags-completion-at-point-function):
21030 * info-look.el (info-lookup-completions-at-point): Mark as
21031 non-exclusive.
21032 (info-complete): Adjust accordingly.
21033
423428a8
SM
21034 * info-look.el: Convert to lexical-binding and completion-at-point.
21035 (info-lookup-completions-at-point): New function.
21036 (info-complete): Use it and completion-in-region.
21037
b74aa22b
DA
210382011-05-28 Drew Adams <drew.adams@oracle.com>
21039
21040 * isearch.el: Let M-e start with point at the first mismatched char.
21041 (isearch-fail-pos): New function.
21042 (isearch-edit-string): Use it.
21043
66e2e71d
DK
210442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21045
21046 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21047
b1890b0f 210482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
21049
21050 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21051 traversal functions for avl-trees.
21052 (avl-tree--stack): New struct.
21053 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21054 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
21055 (avl-tree--do-enter): Add optional `updatefun' arg.
21056 Change return value.
eb95d01d 21057 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
21058 (avl-tree--do-delete): Add `test' and `nilflag' args.
21059 Change return value.
eb95d01d
TC
21060 (avl-tree-member): Add optional `nilflag'
21061 (avl-tree-member-p): New function.
21062 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21063 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21064 (avl-tree-stack-empty-p): New functions.
21065
3769ddcf
TC
21066 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21067 avl-tree--del-balance1 and make it work both ways.
21068 (avl-tree--del-balance2): Remove.
21069 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21070 make it work both ways.
21071 (avl-tree--enter-balance2): Remove.
21072 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21073 New macros.
21074 (avl-tree--mapc, avl-tree-map): Add direction argument.
21075
eb95d01d 210762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
21077
21078 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21079
a9f737ee
CY
210802011-05-27 Chong Yidong <cyd@stupidchicken.com>
21081
21082 * select.el: Support clipboard managers with built-in function
21083 x-clipboard-manager-save, via delete-frame-functions and
21084 kill-emacs-hook.
21085 (xselect-convert-to-targets): Add MULTIPLE target to list.
21086 (xselect-convert-to-save-targets): New function.
21087
c92a1e54
KH
210882011-05-27 Kenichi Handa <handa@m17n.org>
21089
21090 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21091 let-binding rfc2047-encode-encoded-words to nil.
21092
e145f188
GM
210932011-05-27 Glenn Morris <rgm@gnu.org>
21094
5ec8a862
GM
21095 * mail/emacsbug.el: Don't require url-util.
21096
4b29d9fb
GM
21097 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21098
e145f188
GM
21099 * files.el (set-auto-mode):
21100 Also respect mode: entries at the end of the file. (Bug#8586)
21101
7d15102b
GM
211022011-05-26 Glenn Morris <rgm@gnu.org>
21103
98f593b8
GM
21104 * files.el (hack-local-variables-prop-line, hack-local-variables):
21105 Downcase mode names, as seems to be traditional.
27b48e63 21106 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 21107
7d15102b
GM
21108 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21109 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21110
51d5b4ec
JD
211112011-05-25 Julien Danjou <julien@danjou.info>
21112
21113 * textmodes/rst.el (rst-define-level-faces): Do not define face
21114 symbol if it is already defined.
21115
91513f63
VB
211162011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21117
21118 * play/5x5.el (5x5-new-game, 5x5-randomize):
21119 Reset 5x5-solver-output to nil when a new grid is cast.
21120 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21121 these debugging traces, as defmacro breaks the compiled code.
21122
4d90d6d0
DK
211232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21124
21125 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21126
e1b90ef6
LL
211272011-05-24 Leo Liu <sdl.web@gmail.com>
21128
21129 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21130 (vc-bzr-sha1): Adapt.
21131
d8e4b68b 21132 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21133
21134 * bindings.el: Provide sha1 feature.
21135
db0406bb 211362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21137
21138 * mail/sendmail.el: Require `rfc2047'.
21139 (mail-insert-from-field): Do not perform RFC2047 encoding.
21140 (mail-encode-header): New function.
21141 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21142 buffer to the return value of select-message-coding-system.
21143 Call mail-encode-header.
b8d747b9
KH
21144
21145 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21146
db0406bb 211472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21148
4d90d6d0
DK
21149 * mail/supercite.el (sc-default-cite-frame):
21150 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21151
eb8a5e9b
GM
211522011-05-24 Glenn Morris <rgm@gnu.org>
21153
f8630703
GM
21154 * progmodes/python.el (brm-menu): Declare.
21155
8831bbed
GM
21156 * emulation/viper.el (viper-set-hooks): Declare.
21157
eb8a5e9b
GM
21158 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21159 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21160 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21161 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21162 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21163 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21164
a2a25d24
SM
211652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21166
21167 Add an :exit-function for completion-at-point.
21168
21169 * minibuffer.el (completion--done): New fun.
21170 (completion--do-completion): Use it. New arg `expect-exact'.
21171 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21172 since completion--do-completion does it for us now.
21173 (minibuffer-force-complete): Use completion--done and
21174 completion--replace. Handle sole-completion case with more care.
21175 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21176 (completion-extra-properties): New var.
21177 (completion-annotate-function): Make obsolete.
21178 (minibuffer-completion-help): Adjust accordingly.
21179 Use completion-list-insert-choice-function.
21180 (completion-at-point, completion-help-at-point):
21181 Bind completion-extra-properties.
21182 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21183 * simple.el (completion-list-insert-choice-function): New var.
21184 (completion-setup-function): Preserve it.
21185 (choose-completion): Pay attention to it, shuffle the code a bit.
21186 (choose-completion-string): New arg `insert-function'.
21187
21188 * textmodes/bibtex.el: Convert to lexical binding.
21189 (bibtex-mode-map): Use completion-at-point.
21190 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21191 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21192 (bibtex-complete): Define as obsolete alias.
21193 (bibtex-complete-internal): Remove.
21194 (bibtex-format-entry): Remove unused sub-group in regexp.
21195 * shell.el (shell--command-completion-data)
21196 (shell-environment-variable-completion):
21197 * pcomplete.el (pcomplete-completions-at-point):
21198 * comint.el (comint--complete-file-name-data): Use :exit-function
21199 instead of completion-table-with-terminator so it also works for
21200 choose-completion.
21201
e44e373d
SM
212022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21203
4f91a816
SM
21204 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21205
782fc819
SM
21206 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21207 (bug#8710).
21208
e44e373d
SM
21209 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21210
381987c3
KM
212112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21212
21213 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21214 customization variable and implement: If non-nil, auto-fill will
21215 be inhibited while on topic's header line.
21216
b776bc70
VB
212172011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21218
21219 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21220 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21221 always have a solution in grid size = 5 cases.
21222 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21223 (5x5-solver-output, 5x5-log-buffer): New vars.
21224 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21225 Make these variables buffer local to achieve 5x5 multi-session-ness.
21226 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21227 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21228 (5x5-solve-suggest): New funs.
21229 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21230 randomize a grid so that we ensure that there is always a solution.
21231 (5x5-make-random-grid): Allow other movement than flipping.
21232
7de88b6e
KR
212332011-05-23 Kevin Ryde <user42@zip.com.au>
21234
21235 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21236 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21237 advice and passes PREDICATE.
21238
b1ef1257
SM
212392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21240
bbca48fe
SM
21241 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21242 byte-compile-lambda if it's actually a lambda.
21243
b1ef1257
SM
21244 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21245 Fix function quoting. Use backquote better.
21246
92a9cc65
YS
212472011-05-22 Yuanle Song <sylecn@gmail.com>
21248
21249 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21250 matching (Bug#8516).
21251
fe93f41a 212522011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21253
21254 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21255 different face (Bug#8178).
21256
d5b44c93
CY
212572011-05-22 Chong Yidong <cyd@stupidchicken.com>
21258
21259 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21260 defface (Bug#8144).
21261
79106a44
SM
212622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21263
9c848d8a
SM
21264 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21265 funcall as well (bug#8712). Warn when performing those conversions.
21266 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21267
79106a44
SM
21268 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21269
88dfa756
GM
212702011-05-22 Glenn Morris <rgm@gnu.org>
21271
21272 * files.el (hack-local-variables-prop-line): Small simplifications.
21273 (hack-local-variables, hack-local-variables-prop-line):
21274 If MODE-ONLY, return the mode, rather than just `t'.
21275
b7cf2c79
SM
212762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21277
21278 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21279
3f1a8558
GM
212802011-05-21 Glenn Morris <rgm@gnu.org>
21281
7e4ccca3
GM
21282 * files.el (hack-local-variables-prop-line, hack-local-variables):
21283 If only interested in the mode, don't bother doing the other stuff.
21284
637d46ca
GM
21285 * image-mode.el (image-after-revert-hook):
21286 Redraw all frames on which the image is visible. (Bug#8567)
21287
973d955b
GM
21288 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21289
3f1a8558
GM
21290 * wid-edit.el (widget-checklist-match-inline):
21291 Fix 2011-04-19 change. (Bug#8649)
21292
96479927
SM
212932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21294
1dcf791f
SM
21295 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21296 Also allow singlespace after single-letter capitals followed by a dot.
21297
96479927
SM
21298 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21299 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21300
35fd0881
N
213012011-05-20 Nix <nix@esperi.org.uk>
21302
21303 * files.el (basic-save-buffer-2):
21304 Fix handling of break-hardlink-on-save with non-existent files.
21305
82745640
DD
213062011-05-19 Deniz Dogan <deniz@dogan.se>
21307
21308 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21309 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21310
4a720484
GM
213112011-05-19 Glenn Morris <rgm@gnu.org>
21312
d1f21341
GM
21313 * progmodes/f90.el (f90-type-def-re):
21314 Handle "type, bind(c)". (Bug#8691)
21315
4a720484
GM
21316 * emacs-lisp/autoload.el (batch-update-autoloads):
21317 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21318
2fb0a219
MA
213192011-05-18 Michael Albinus <michael.albinus@gmx.de>
21320
21321 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21322 property for the correct connection in case of multihops.
21323
e565dd37
GM
213242011-05-18 Glenn Morris <rgm@gnu.org>
21325
c2571358 21326 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21327 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21328
e565dd37
GM
21329 Rationalize calendar handling of day and month abbrev-arrays.
21330 * calendar/calendar.el (calendar-customized-p): New function.
21331 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21332 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21333 Add :set function.
21334 (calendar-abbrev-length, calendar-day-abbrev-array)
21335 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21336 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21337 Elements may no longer be nil.
21338 (calendar-day-name, calendar-month-name):
21339 Update for changed nature of abbrev arrays.
21340 * calendar/diary-lib.el (diary-name-pattern):
21341 Update for changed nature of abbrev arrays.
21342 (diary-mark-entries-1): Update calendar-make-alist calls.
21343 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21344 * calendar/cal-html.el (cal-html-day-abbrev-array):
21345 Simply inherit from calendar-day-abbrev-array.
21346
1d99a745
SM
213472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21348
21349 * progmodes/grep.el (grep-mode): Disable default
21350 compilation-directory-matcher setting (bug#8684).
21351
7c1d9aa0
MA
213522011-05-17 Michael Albinus <michael.albinus@gmx.de>
21353
21354 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21355 instead of "head" and "tail". There were problems with SunOS 5.9,
21356 and it performs better.
21357
3952e9d8
GM
213582011-05-17 Glenn Morris <rgm@gnu.org>
21359
2dd12e7f
GM
21360 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21361
e4157b9c
GM
21362 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21363 Replace obsolete function.
21364
8e249bbd
GM
21365 * shell.el (pcomplete-parse-arguments-function): Declare.
21366
3952e9d8
GM
21367 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21368 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21369 (appt-check): Doc fixes.
21370 (appt-disp-window-function, appt-delete-window-function):
21371 Remove needless special case in custom :type.
21372 (appt-display-count): Default to 0, not nil.
21373 (appt-check): Reset appt-display-count to 0, not nil.
21374
c71a0d48 213752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21376
c71a0d48
GM
21377 * progmodes/python.el (python-font-lock-keywords):
21378 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21379
31d55be9
SM
213802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21381
21382 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21383
3bfacb2f
KR
213842011-05-16 Kevin Ryde <user42@zip.com.au>
21385
21386 * info-look.el (makefile-automake-mode): New setups, looking in
21387 automake manual, then makefile-mode.
21388 (makefile-mode): Remove automake manual, have it just in
21389 makefile-automake-mode since there's various things different or
21390 not relevant to plain make.
21391 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21392 believe a hypothetical automake-mode would go to makefile-mode,
21393 not the other way around.
21394
c8e83751
CY
213952011-05-15 Chong Yidong <cyd@stupidchicken.com>
21396
5e9e35cd
CY
21397 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21398 hunk-end tags (Bug#8672).
21399
c8e83751
CY
21400 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21401 vc-annotate-show-diff-revision-at-line (Bug#8671).
21402
50b23e5a
GM
214032011-05-14 Glenn Morris <rgm@gnu.org>
21404
7210a739
GM
21405 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21406 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21407 (change-log-font-lock-keywords): Also handle multiple author lines
21408 with leading tabs. (Bug#8644)
7210a739 21409
4691905a
GM
21410 * calendar/appt.el (appt-check): Rename some local variables.
21411 Some simplification/reordering.
21412
50b23e5a
GM
21413 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21414 (feedmail-sendmail-f-doesnt-sell-me-out)
21415 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21416 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21417 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21418 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21419 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21420 (feedmail-binmail-gnulinuxish-template):
21421 Rename from feedmail-binmail-linuxish-template.
21422 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21423 Use insert-buffer-substring.
21424
215cda7c
BC
214252011-05-14 Bill Carpenter <bill@carpenter.org>
21426
21427 * mail/feedmail.el (feedmail-patch-level): Increase.
21428 (feedmail-debug): New custom group.
21429 (feedmail-confirm-outgoing-timeout)
21430 (feedmail-sendmail-f-doesnt-sell-me-out)
21431 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21432 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21433 (feedmail-sender-line, feedmail-from-line)
21434 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21435 (feedmail-spray-this-address)
215cda7c
BC
21436 (feedmail-spray-address-fiddle-plex-list)
21437 (feedmail-queue-use-send-time-for-date)
21438 (feedmail-queue-use-send-time-for-message-id)
21439 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21440 (feedmail-buffer-eating-function):
21441 Doc fixes.
21442 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21443 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21444 (feedmail-message-action-scroll-down): New functions.
21445 (feedmail-queue-directory, feedmail-queue-draft-directory):
21446 Use expand-file-name.
21447 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21448 Remove C-v help entry.
21449 (feedmail-queue-buffer-file-name): New variable.
21450 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21451 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21452 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21453 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21454 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21455 (feedmail-message-action-toggle-spray)
21456 (feedmail-run-the-queue-no-prompts)
21457 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21458 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21459 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21460 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21461 (feedmail-envelope-deducer, feedmail-fiddle-from)
21462 (feedmail-fiddle-sender, feedmail-default-date-generator)
21463 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21464 (feedmail-fiddle-spray-address)
21465 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21466 (feedmail-fiddle-list-of-fiddle-plexes)
21467 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21468 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21469 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21470 Change default. Doc fix.
21471 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21472 (feedmail-binmail-linuxish-template): New constant.
21473 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21474 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21475 (feedmail-send-it): Add debug call.
21476 Use feedmail-queue-buffer-file-name, and
21477 feedmail-send-it-immediately-wrapper.
21478 (feedmail-message-action-send): Add debug call.
21479 Use feedmail-send-it-immediately-wrapper.
21480 (feedmail-queue-express-to-queue): Add debug call.
21481 Run feedmail-queue-express-hook.
21482 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21483 (feedmail-message-action-help-blat):
21484 Rename from feedmail-queue-send-edit-prompt-help-first.
21485 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21486 Check line-endings. Handle errors better.
21487 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21488 Doc fix. Add debug call.
21489 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21490 Use feedmail-queue-send-edit-prompt-inner.
21491 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21492 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21493 from feedmail-queue-send-edit-prompt.
21494 (feedmail-queue-send-edit-prompt-help)
21495 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21496 (feedmail-tidy-up-slug): Add debug call.
21497 Respect feedmail-queue-slug-suspect-regexp.
21498 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21499 (feedmail-dump-message-to-queue): Add debug call.
21500 Expand queue-directory.
21501 (feedmail-dump-message-to-queue): Change message slightly.
21502 Use feedmail-say-chatter.
21503 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21504 (feedmail-send-it-immediately-wrapper): New function.
21505 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21506 Insert empty string rather than newline. Handle full-frame case.
21507 Use catch/throw. Use feedmail-say-chatter.
21508 (feedmail-fiddle-from): Try mail-host-address.
21509 (feedmail-default-message-id-generator): Doc fix.
21510 Bind system-time-locale. Handle missing end.
21511 (feedmail-fiddle-x-mailer): Add debug call.
21512 Handle feedmail-x-mailer-line being nil.
21513 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21514 Add debug call. Use buffer-substring-no-properties.
21515 (feedmail-say-debug, feedmail-say-chatter): New functions.
21516 (feedmail-find-eoh): Give an explicit error.
21517
42c7e61e
UJ
215182011-05-13 Ulf Jasper <ulf.jasper@web.de>
21519
c2571358 21520 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21521 family from helvetica to sans.
c2571358 21522 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21523 etc/images/newsticker.
21524
c2571358 21525 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21526 family from helvetica to sans.
21527
21528 * net/newst-plainview.el (newsticker-new-item-face)
21529 (newsticker-old-item-face, newsticker-immortal-item-face)
21530 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21531 (newsticker-statistics-face): Change default family from
42c7e61e 21532 helvetica to sans.
c2571358 21533 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21534 etc/images/newsticker.
21535
5d3385a0
JB
21536 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21537 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21538 auto-marking.
21539
8497a297
DV
215402011-05-13 Didier Verna <didier@xemacs.org>
21541
21542 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21543 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21544 TODO entries.
8497a297
DV
21545 (lisp-lambda-list-keyword-parameter-indentation)
21546 (lisp-lambda-list-keyword-parameter-alignment)
21547 (lisp-lambda-list-keyword-alignment): New customizable user options.
21548 (lisp-indent-defun-method): Improve docstring.
21549 (extended-loop-p): Fix comment.
21550 (lisp-indent-lambda-list-keywords-regexp): New variable.
21551 (lisp-indent-lambda-list): New function.
21552 (lisp-indent-259): Use it.
21553 (lisp-indent-defmethod): Support for more than one
21554 method qualifier and properly indent methods lambda-lists.
21555 (defgeneric): Provide a missing common-lisp-indent-function property.
21556
f278f87f
SM
215572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21558
21559 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21560 bounds for the empty string (bug#8667).
21561
5233edd7
GM
215622011-05-13 Glenn Morris <rgm@gnu.org>
21563
5237a44f
GM
21564 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21565
8340026c 21566 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21567 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21568
5233edd7 21569 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21570 (appt-time-msg-list): Doc fix.
a5464014 21571 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21572
92d10796
AS
215732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21574
21575 * progmodes/ld-script.el (ld-script-keywords)
21576 (ld-script-builtins): Update keywords list.
21577
914a0ae1
SM
215782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21579
c89be45f
SM
21580 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21581
914a0ae1
SM
21582 * shell.el (shell-completion-vars): New function.
21583 (shell-mode):
21584 * simple.el (read-shell-command): Use it.
21585 (blink-matching-open): No need for " [...]" in minibuffer-message.
21586
98dc3df3
GM
215872011-05-12 Glenn Morris <rgm@gnu.org>
21588
21589 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21590 (appt-check): Simplify.
21591
d2fc7e3d 215922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21593
4d61f28d 21594 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21595 literal "/dev/null".
21596
d2fc7e3d 215972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21598
21599 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21600 Fix typo.
21601
d2fc7e3d 216022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21603
3f254caa
SM
21604 * progmodes/which-func.el (which-function):
21605 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21606 which might not be defined (Bug#8260).
21607
d45885f7
GM
216082011-05-12 Glenn Morris <rgm@gnu.org>
21609
21610 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21611 Let byte-compile-initial-macro-environment always take precedence.
21612
488086f4
SM
216132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21614
21615 * net/rcirc.el: Add support for SSL/TLS connections.
21616 (rcirc-server-alist): New field `encryption'.
21617 (rcirc): Check `encryption' settings.
21618 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21619 Merge make-local-variable into `set'.
21620 (rcirc--connection-open-p): New function.
21621 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21622 the process is not a network process (e.g. running gnutls-cli).
21623 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21624 Make rcirc-(en|de)code-coding-system local here.
21625 (rcirc-mode): Merge make-local-variable into `set'.
21626 (rcirc-parent-buffer): Make permanent buffer-local.
21627 (rcirc-multiline-minor-mode): Don't do it here.
21628 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21629 there's no server buffer.
21630
7d3b9d44
GM
216312011-05-11 Glenn Morris <rgm@gnu.org>
21632
f64049c6
GM
21633 * newcomment.el (comment-kill): Prefix "unused" local.
21634
93c9df73
GM
21635 * term/w32console.el (get-screen-color): Declare.
21636
7d3b9d44
GM
21637 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21638 Handle symbol elements of byte-compile-initial-macro-environment.
21639
9e2dd53f
LL
216402011-05-10 Leo Liu <sdl.web@gmail.com>
21641
488086f4
SM
21642 * bookmark.el (bookmark-bmenu-mode-map):
21643 Bind bookmark-bmenu-search to `/'.
8b340240 21644
9e2dd53f 21645 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21646 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21647 (Footnote-unicode): New function.
21648 (footnote-style-alist): Add unicode style to the list.
21649 (footnote-style): Doc fix.
9e2dd53f 21650
79b70037
GM
216512011-05-10 Jim Meyering <meyering@redhat.com>
21652
21653 Fix doubled-word typos.
21654 * international/quail.el (quail-insert-kbd-layout): and and -> and
21655 * kermit.el: and and -> and
21656 * net/ldap.el (ldap-search-internal): to to -> to
21657 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21658 * progmodes/js.el (js-mode): and and -> and
21659 * textmodes/artist.el (artist-move-to-xy): at at -> at
21660 (artist-draw-region-trim-line-endings): if if -> if
21661 And Safetyc -> Safety.
21662 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21663
b8f82dc1 216642011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21665 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21666
21667 * files.el (hack-one-local-variable-eval-safep):
21668 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21669
4f99f44b
GM
216702011-05-10 Glenn Morris <rgm@gnu.org>
21671
21672 * calendar/diary-lib.el (diary-list-entries-hook)
21673 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21674 (diary-nongregorian-marking-hook, diary-list-entries)
21675 (diary-include-other-diary-files, diary-mark-entries)
21676 (diary-mark-included-diary-files): Doc fixes.
21677
84f29e6b
JB
216782011-05-09 Juanma Barranquero <lekktu@gmail.com>
21679
21680 * misc.el: Require tabulated-list.el during compilation.
21681
9bedd73a
CY
216822011-05-09 Chong Yidong <cyd@stupidchicken.com>
21683
488086f4
SM
21684 * progmodes/compile.el (compilation-start):
21685 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21686 (compilation-filter-hook): Doc fix.
21687
797c735c
DD
216882011-05-09 Deniz Dogan <deniz@dogan.se>
21689
21690 * wdired.el: Remove outdated installation comment. Fix usage
21691 comment.
21692
5f4b1dfe
JB
216932011-05-09 Juanma Barranquero <lekktu@gmail.com>
21694
21695 * misc.el: Implement new command `list-dynamic-libraries'.
21696 (list-dynamic-libraries--loaded-only-p): New variable.
21697 (list-dynamic-libraries--refresh): New function.
21698 (list-dynamic-libraries): New command.
21699
4c44026c
CY
217002011-05-09 Chong Yidong <cyd@stupidchicken.com>
21701
488086f4
SM
21702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21703 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21704 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21705 higher priority to avoid clobbering by gnu.
21706
027f966d
CY
217072011-05-08 Chong Yidong <cyd@stupidchicken.com>
21708
21709 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21710 if the face has existing theme settings (Bug#8454).
21711
085f5d7d
CY
217122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21713
488086f4
SM
21714 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21715 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21716
2a86a00c
RS
21717 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21718 special file names `.' and `..' (Bug#8259).
21719
d9c54a06
CY
217202011-05-08 Chong Yidong <cyd@stupidchicken.com>
21721
488086f4
SM
21722 * progmodes/grep.el (grep-mode-font-lock-keywords):
21723 Remove buffer-changing entries.
d9c54a06
CY
21724 (grep-filter): New function.
21725 (grep-mode): Add it to compilation-filter-hook.
21726
21727 * progmodes/compile.el (compilation-filter-hook)
21728 (compilation-filter-start): New defvars.
21729 (compilation-filter): Call compilation-filter-hook prior to
21730 updating the process mark.
21731
c4662635
SM
217322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21733
21734 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21735
b0512a1d
EZ
217362011-05-07 Eli Zaretskii <eliz@gnu.org>
21737
605c9376
EZ
21738 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21739 mailclient-send-it even if window-system is nil. (Bug#8595)
21740
c4662635
SM
21741 * term/w32console.el (terminal-init-w32console):
21742 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21743 background-mode. (Bug#8597)
21744
d1dc2cc2
SM
217452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21746
21747 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21748 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21749 New functions.
21750 (defgeneric, eieio--defmethod): Use them.
21751 (eieio-defgeneric): Remove.
21752 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21753
915d1300
GM
217542011-05-07 Glenn Morris <rgm@gnu.org>
21755
a3961c3e
GM
21756 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21757 Use let rather than let*.
21758 (timeclock-find-discrep): Remove unused local.
21759
314347b9
GM
21760 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21761
915d1300
GM
21762 * calendar/appt.el (appt-time-msg-list): Doc fix.
21763
275b59b0
NF
217642011-05-06 Noah Friedman <friedman@splode.com>
21765
21766 * apropos.el (apropos-print-doc): Only use
21767 emacs-lisp-docstring-fill-column when it is bound to an integer,
21768 per that variable's documentation.
21769
6c19f744
SM
217702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21771
21772 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21773 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21774
60f884b2
GM
217752011-05-06 Glenn Morris <rgm@gnu.org>
21776
5006e634
GM
21777 * calendar/appt.el (appt-message-warning-time): Doc fix.
21778 (appt-warning-time-regexp): New option.
21779 (appt-make-list): Respect appt-message-warning-time.
21780
548d0a63
GM
21781 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21782 New options.
21783 (diary-add-to-list): Strip comments from the displayed string.
21784 (diary-mode): Set comment-start and comment-end.
21785
60f884b2
GM
21786 * vc/diff-mode.el (smerge-refine-subst): Declare.
21787 (diff-refine-hunk): Don't require smerge-mode when compiling.
21788
989681bb
JB
217892011-05-06 Juanma Barranquero <lekktu@gmail.com>
21790
21791 * simple.el (list-processes): Return nil as the docstring says.
21792
a6bc05e1
MA
217932011-05-05 Michael Albinus <michael.albinus@gmx.de>
21794
21795 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21796 to "".
21797 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21798 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21799 determining of binary transfer. (Bug#7383)
21800
23c22e9a
MA
218012011-05-05 Michael Albinus <michael.albinus@gmx.de>
21802
c4662635
SM
21803 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21804 Fix port computation bug. (Bug#8618)
23c22e9a 21805
0bff894f
GM
218062011-05-05 Glenn Morris <rgm@gnu.org>
21807
b8296902
GM
21808 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21809
1f522ce8
GM
21810 * simple.el (shell-dynamic-complete-functions)
21811 (comint-dynamic-complete-functions): Declare.
21812
cf5bee67
GM
21813 * net/network-stream.el (gnutls-negotiate):
21814 * simple.el (tabulated-list-print): Fix declarations.
21815
21816 * progmodes/gud.el (syntax-symbol, syntax-point):
21817 Remove unnecessary and incorrect declarations.
21818
0bff894f 21819 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21820 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21821
9869b3ae
SM
218222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21823
21824 Fix earlier half-done eieio-defmethod change (bug#8338).
21825 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21826 Streamline and change calling convention.
21827 (defmethod): Adjust accordingly and simplify.
21828 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21829 new eieio--defmethod.
21830 (slot-boundp): Minor CSE simplification.
21831
9c1d5ac5
MZ
218322011-05-05 Milan Zamazal <pdm@zamazal.org>
21833
21834 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21835 (glasses-make-readable): Use glasses-separate-capital-groups.
21836
455c834e
JB
218372011-05-05 Juanma Barranquero <lekktu@gmail.com>
21838
21839 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21840 (warning-series): Doc fix.
21841 (display-warning): Don't try to create the buffer if we just found it.
21842
9ed7c8cb
CY
218432011-05-04 Chong Yidong <cyd@stupidchicken.com>
21844
21845 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21846 (autoload-find-generated-file): New function.
21847 (generate-file-autoloads): Bind generated-autoload-file to
21848 buffer-file-name.
9869b3ae
SM
21849 (update-file-autoloads, update-directory-autoloads):
21850 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21851 output file (Bug#7989).
21852 (batch-update-autoloads): Doc fix.
21853
0898ca10
JB
218542011-05-04 Juanma Barranquero <lekktu@gmail.com>
21855
21856 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21857
31dfb76c
GM
218582011-05-04 Glenn Morris <rgm@gnu.org>
21859
f330b642
GM
21860 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21861 function, so it follows changes in calendar-date-style.
21862 (diary-fancy-date-matcher): New function.
21863 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21864 (diary-fancy-font-lock-fontify-region-function):
21865 Use diary-fancy-date-pattern as a function.
21866
31dfb76c
GM
21867 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21868 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21869
48e79d6a
TZ
218702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21871
21872 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21873 instead of positional arguments. Allow :keylist and :crlfiles
21874 arguments.
21875 (open-gnutls-stream): Call it.
21876
21877 * net/network-stream.el (network-stream-open-starttls): Adjust to
21878 call `gnutls-negotiate' with :process and :hostname arguments.
21879
dd5a5ee0
SM
218802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21881
ef80fc09
SM
21882 * minibuffer.el (completion--message): New function.
21883 (completion--do-completion, minibuffer-complete)
21884 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21885 (completion--do-completion): Don't ignore completion-auto-help when in
21886 icomplete-mode.
21887
dd5a5ee0
SM
21888 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21889 internal encoding (e.g. tibetan zero is not whitespace).
21890 (global-whitespace-mode): Prefer save-current-buffer.
21891 (whitespace-trailing-regexp): Remove useless save-match-data.
21892 (whitespace-empty-at-bob-regexp): Minor simplification.
21893
b7d22a83
CY
218942011-05-03 Chong Yidong <cyd@stupidchicken.com>
21895
21896 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21897
5192af46
AM
218982011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21899
21900 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21901 Use `concat' to create string for insertion.
5192af46 21902
5767d190
SM
219032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21904
21905 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21906 Avoid open-line which runs post-self-insert-hook.
21907 (bibtex-fill-entry): Remove unused `end' var.
21908
bf242939
AM
219092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21910
5767d190
SM
21911 * textmodes/ispell.el (ispell-add-per-file-word-list):
21912 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21913
25666126
LL
219142011-05-03 Leo Liu <sdl.web@gmail.com>
21915
21916 * isearch.el (isearch-yank-pop): New command.
5767d190 21917 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21918 (isearch-forward): Mention it.
21919
52d3c2d0
SM
219202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21921
1bcace58
SM
21922 * simple.el (minibuffer-complete-shell-command): Remove.
21923 (minibuffer-local-shell-command-map): Use completion-at-point.
21924 (read-shell-command): Setup completion vars here instead.
21925 (read-expression-map): Bind TAB to symbol completion.
21926
52d3c2d0
SM
21927 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21928 error directly rather via storing it into `results'.
21929
35813471
LL
219302011-05-02 Leo Liu <sdl.web@gmail.com>
21931
21932 * vc/diff.el: Fix description.
21933
e793a940
LMI
219342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21935
21936 * server.el (server-eval-at): New function.
21937
8de66e05
LMI
219382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21939
21940 * net/network-stream.el (open-network-stream): Take a :nowait
21941 parameter and pass it on to `make-network-process'.
21942 (network-stream-open-plain): Ditto.
21943
dcb79f20
AS
219442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21945
21946 * faces.el (face-spec-set-match-display): Don't match toolkit
21947 options on terminal frames.
21948
14a7fbd8
SM
219492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21950
7eabc1be
SM
21951 * progmodes/pascal.el: Use lexical binding.
21952 (pascal-mode-map): Remove author preferences.
21953
14a7fbd8
SM
21954 * pcomplete.el (pcomplete-std-complete): Don't abuse
21955 completion-at-point.
21956
50f84510
JB
219572011-04-28 Juanma Barranquero <lekktu@gmail.com>
21958
6e087a44
JB
21959 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21960 removing code that has been dead since 1991 or so.
21961
50f84510
JB
21962 * startup.el (command-line): When warning about "_emacs", use a
21963 delayed warning to allow the user to filter it out.
21964
0ba690bd
DD
219652011-04-28 Deniz Dogan <deniz@dogan.se>
21966
21967 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21968 user has not joined.
21969
08abfaad
SM
219702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21971
21972 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21973 aren't any completions at point.
21974
638f053a
JB
219752011-04-28 Juanma Barranquero <lekktu@gmail.com>
21976
21977 * subr.el (display-delayed-warnings): New function.
21978 (delayed-warnings-hook): New variable.
21979
8fff8daa
SM
219802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21981
08abfaad
SM
21982 * minibuffer.el (completion-at-point, completion-help-at-point):
21983 Don't presume that a given completion-at-point-function will always
21984 use the same calling convention.
21985
8fff8daa
SM
21986 * pcomplete.el (pcomplete-completions-at-point):
21987 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21988 pcomplete-seen is non-nil.
21989 (pcomplete-comint-setup): Also recognize the new comint/shell
21990 completion functions.
21991 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21992 pcomplete-seen is non-nil.
21993
841a1577 219942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21995
841a1577 21996 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21997 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21998 the first character in the entry. This allows for code to add its
211ec907
UJ
21999 own uid to the entry.
22000 (icalendar--convert-float-to-ical): Add export of
22001 `diary-float'-entries save for those with the optional DAY
22002 argument.
22003
2a782793
DC
220042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22005
22006 * subr.el (shell-quote-argument): Use alternate escaping strategy
22007 when we spot a variable reference in a string.
22008
0438ce91
DC
220092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22010
22011 * cus-start.el (all): Define customization for debug-on-event.
22012
841a1577 220132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
22014
22015 * subr.el (shell-quote-argument): Escape correctly under Windows.
22016
d090ed6c
SM
220172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22018
22019 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22020
bfd31217
MA
220212011-04-25 Michael Albinus <michael.albinus@gmx.de>
22022
d090ed6c
SM
22023 * net/tramp.el (tramp-process-actions): Add POS argument.
22024 Delete region between POS and (pos).
bfd31217 22025
d090ed6c
SM
22026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22027 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
22028 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22029
22030 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22031 position in `tramp-process-actions' call.
22032
22033 * net/trampver.el: Update release number.
22034
e92f3bd3
SM
220352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22036
850256b5
SM
22037 * custom.el (defcustom): Obey lexical-binding.
22038
e92f3bd3
SM
22039 Fix octave-inf completion problems reported by Alexander Klimov.
22040 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22041 Inherit from octave-mode-syntax-table.
22042 (inferior-octave-mode): Set info-lookup-mode.
22043 (inferior-octave-completion-at-point): New function.
22044 (inferior-octave-complete): Use it and completion-in-region.
22045 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22046 comint-filename-completion.
22047 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22048 symbol elements which shouldn't be word elements.
22049 (octave-font-lock-keywords, octave-beginning-of-defun)
22050 (octave-function-header-regexp): Adjust regexps accordingly.
22051 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22052
cd22b309
JB
220532011-04-25 Juanma Barranquero <lekktu@gmail.com>
22054
22055 * net/gnutls.el (gnutls-errorp): Declare before first use.
22056
8b492194
TZ
220572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22058
22059 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22060 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 22061 default trustfile exists before going to use it. Add missing
5a5fa834 22062 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
22063 Reported by Claudio Bley <claudio.bley@gmail.com>.
22064 (open-gnutls-stream): Add usage example.
22065
22066 * net/network-stream.el (network-stream-open-starttls): Give host
22067 parameter to `gnutls-negotiate'.
22068 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 22069 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 22070
841a1577 220712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 22072
cd22b309
JB
22073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22074 Use correct match group (bug#8438).
05842630 22075
3ba7869c
CY
220762011-04-24 Chong Yidong <cyd@stupidchicken.com>
22077
512e3ae1
CY
22078 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22079 (package-menu--generate): New arg specifying packages to show.
22080 (package-menu-refresh, package-menu-execute, list-packages):
22081 Callers changed.
22082 (package-show-package-list): New function, replacing deleted
22083 package--list-packages (renamed because it is non-internal).
22084
22085 * finder.el (finder-list-matches): Use package-show-package-list
22086 instead of deleted package--list-packages.
22087
e92f3bd3
SM
22088 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22089 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
22090 (vc-annotate-mode-map): Bind it to RET.
22091
7031be6d
UR
220922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22093
22094 * progmodes/etags.el (next-file): Don't use set-buffer to change
22095 buffers (Bug#8478).
22096
4ef177aa
CY
220972011-04-24 Chong Yidong <cyd@stupidchicken.com>
22098
c8d173eb
CY
22099 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22100
4ef177aa
CY
22101 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22102 (apropos-accumulator): Doc fix.
22103 (apropos-function, apropos-macro, apropos-command)
22104 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22105 (apropos-plist): Add face property.
22106 (apropos-symbols-internal): Fix indentation.
22107 (apropos-print): Simplify help, and recognize apropos-multi-type.
22108 (apropos-print-doc): Use button-type-get to extract the button's
22109 face property. Fill docstring (Bug#8352).
22110
4ffd0d6b 221112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22112
22113 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22114
c6c32125 22115 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22116 (mpuz-mode-map): Use mapc.
c6c32125
JB
22117 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22118 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22119 Fix typos in docstrings.
22120
58d468b4
JB
22121 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22122 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22123
6470c3c6
JB
22124 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22125
4ffd0d6b 221262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22127
22128 * minibuffer.el (completion--do-completion): Avoid the "Next char
22129 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22130
3ad8bad0
CY
22131 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22132 mouse-2 into unread-command-events, it is interpreted correctly.
22133
71d73c9c 22134 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22135 (image-toggle-display): Doc fix.
71d73c9c 22136
841a1577 221372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22138
4ffd0d6b
GM
22139 * textmodes/page.el (what-page): Use line-number-at-pos to
22140 calculate line number (Bug#6825).
6e1dbaa9 22141
c2fb1b60
JB
221422011-04-22 Juanma Barranquero <lekktu@gmail.com>
22143
22144 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22145 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22146 Pass argument NO-DEFAULT to `find-tag-interactive'.
22147
e02f48d7
JB
221482011-04-22 Juanma Barranquero <lekktu@gmail.com>
22149
22150 Lexical-binding cleanup.
22151
22152 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22153 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22154 * progmodes/ada-prj.el (ada-prj-initialize-values)
22155 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22156 (ada-prj-show-value):
22157 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22158 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22159 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22160 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22161 * progmodes/bug-reference.el (bug-reference-push-button):
22162 * progmodes/fortran.el (fortran-line-length):
22163 * progmodes/glasses.el (glasses-change):
22164 * progmodes/octave-mod.el (octave-fill-paragraph):
22165 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22166 (python-pdbtrack-grub-for-buffer, python-sentinel):
22167 * progmodes/sql.el (sql-save-connection):
22168 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22169 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22170 Mark unused parameters.
22171
22172 * progmodes/compile.el (compilation--flush-directory-cache)
22173 (compilation--flush-parse, compile-internal): Mark unused parameters.
22174 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22175 (compilation-next-error-function): Remove unused variable `timestamp'.
22176
22177 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22178 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22179
22180 * progmodes/dcl-mode.el (dcl-end-of-command):
22181 Remove unused variable `start'.
22182 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22183 (dcl-option-value-basic, dcl-option-value-offset)
22184 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22185 Mark unused parameters.
22186 (dcl-save-local-variable): Remove unused variable `val'.
22187 (mode): Declare.
22188
22189 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22190 Mark unused parameters.
22191 (delphi-ignore-changes): Move before first use.
22192 (delphi-charset-token-at): Remove unused variable `start'.
22193 (delphi-else-start): Remove unused variable `if-count'.
22194 (delphi-comment-block-start, delphi-comment-block-end):
22195 Remove unused variable `kind'.
22196 (delphi-indent-line): Remove unused variable `new-point'.
22197
22198 * progmodes/ebrowse.el (ebrowse-files-list)
22199 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22200 Mark unused parameters. Don't quote `lambda'.
22201 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22202 Don't quote `lambda'.
22203 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22204 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22205 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22206 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22207 Use `ignore-errors'.
22208 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22209 (ebrowse-view/find-file-and-search-pattern)
22210 (ebrowse-view/find-member-declaration/definition):
22211 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22212 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22213 Rename parameter PREFIX-ARG to PREFIX.
22214 (ebrowse-tags-read-name): Remove unused variables `start' and
22215 `member-info'.
22216 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22217 to `tags-file'.
22218
22219 * progmodes/etags.el (local-find-tag-hook): Declare.
22220 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22221 Mark unused parameters.
22222
22223 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22224 (executable-interpret): Mark unused parameter.
22225
22226 * progmodes/flymake.el (flymake-process-sentinel)
22227 (flymake-after-change-function)
22228 (flymake-create-temp-with-folder-structure)
22229 (flymake-get-include-dirs-dot): Mark unused parameters.
22230 (flymake-safe-delete-directory): Remove unused variable `err'.
22231
22232 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22233 (speedbar-timer-fn, speedbar-line-text)
22234 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22235 (speedbar-center-buffer-smartly): Declare functions.
22236 (gdb-find-watch-expression): Remove unused variable `array'.
22237 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22238 (gdb-starting): Mark unused parameters.
22239 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22240 (gdb-table-string): Remove unused variable `res'.
22241 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22242 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22243 (gdb-display-buffer): Remove unused variable `cur-size'.
22244
22245 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22246 allow lexical-binding compilation.
22247 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22248 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22249 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22250 Mark unused parameters.
22251 (gud-gdb-marker-filter): Remove unused variable `match'.
22252 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22253 lambda expressions and funcall them, instead of using `fset'.
22254
22255 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22256 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22257
22258 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22259 variable `header-beg'; use `let'.
22260
22261 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22262 `restart', `last-sexp' and `at-do'.
22263
22264 * progmodes/js.el (js--debug): Mark unused parameter.
22265 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22266 (js--splice-into-items): Remove unused variable `item'.
22267 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22268
22269 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22270 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22271 (makefile-complete): Remove unused variable `try'.
22272 (makefile-fill-paragraph, makefile-match-function-end):
22273 Mark unused parameters.
22274
22275 * progmodes/octave-inf.el (inferior-octave-complete):
22276 Remove unused variable `proc'.
22277 (inferior-octave-output-digest): Mark unused parameter.
22278
22279 * progmodes/perl-mode.el (perl-calculate-indent):
22280 Remove unused variable `err'.
22281
22282 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22283 (prolog-indent-line): Mark unused parameters.
22284 (prolog-indent-line): Remove unused variable `beg'.
22285
22286 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22287 (reporter-dont-compact-list): Declare.
22288
22289 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22290 Remove unused variable `char'.
22291 (sh-debug): Mark unused parameter.
22292 (sh-get-indent-info): Remove unused variable `start'.
22293 (sh-calculate-indent): Remove unused variable `var'.
22294
22295 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22296 (simula-electric-keyword): Remove unused variable `null'.
22297 (simula-search-backward, simula-search-forward): Remove unused
22298 variables `begin' and `end'.
22299
22300 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22301 Remove unused variable `pos'.
22302 (vera-electric-tab, vera-comment-uncomment-region):
22303 Mark unused parameters.
22304 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22305
7ede3b65
CY
223062011-04-22 Chong Yidong <cyd@stupidchicken.com>
22307
22308 * emacs-lisp/package.el (package--builtins, package-alist)
22309 (package-load-descriptor, package-built-in-p, package-activate)
22310 (define-package, package-installed-p)
22311 (package-compute-transaction, package-buffer-info)
22312 (package--push): Doc fix. Distinguish more clearly between
22313 version strings and version lists.
22314
121656e9
JB
223152011-04-21 Juanma Barranquero <lekktu@gmail.com>
22316
22317 Lexical-binding cleanup.
22318
22319 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22320 (5x5-make-mutate-best):
22321 * play/fortune.el (fortune-in-buffer):
22322 * play/gomoku.el (gomoku-init-display):
22323 * play/solitaire.el (solitaire, solitaire-do-check):
22324 * play/tetris.el (tetris-default-update-speed-function):
22325 Mark unused parameters.
22326
22327 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22328 (bubbles--shift): Remove unused variable `char-org'.
22329 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22330 (bubbles--show-images): Remove unused variable `char'.
22331
22332 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22333 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22334 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22335 (decipher-analyze-buffer): Use ?\s.
22336 (decipher-make-checkpoint): Remove unused variable `mapping'.
22337
22338 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22339
22340 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22341 Remove unused variable `result'; use `let'.
22342
22343 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22344 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22345 (gametree-children-shown-p, gametree-compute-reduced-score):
22346 Use `ignore-errors'.
22347
22348 * play/handwrite.el (ps-lpr-switches): Declare.
22349 (handwrite): Remove unused variables `pmin' and `lastp'.
22350
22351 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22352
22353 * play/landmark.el (landmark-init-display)
22354 (landmark-update-naught-weights): Mark unused parameters.
22355 (landmark-y): Remove unused variable `noise'. Simplify.
22356 (landmark-human-plays): Remove unused variable `score'.
22357
22358 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22359 (mpuz-try-proposal): Remove unused variable `game'.
22360
22361 * play/zone.el (life-patterns): Declare.
22362
80f499c7
JB
223632011-04-20 Juanma Barranquero <lekktu@gmail.com>
22364
22365 * vc/vc.el (ediff-vc-internal): Declare function.
22366
024ff170
SM
223672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22368
c0a193ea
SM
22369 * shell.el: Use lexical-binding and std completion UI.
22370 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22371 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22372 comint-preoutput-filter-functions rather than on
22373 comint-output-filter-functions.
22374 (shell-command-completion, shell--command-completion-data)
22375 (shell-filename-completion, shell-environment-variable-completion)
22376 (shell-c-a-p-replace-by-expanded-directory): New functions.
22377 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22378 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22379 (shell-dynamic-complete-environment-variable): Use them.
22380 (shell-dynamic-complete-as-environment-variable)
22381 (shell-dynamic-complete-as-command): Remove.
22382 (shell-match-partial-variable): Match past point.
22383 * comint.el: Clean up use of completion-at-point-functions.
22384 (comint-completion-at-point): New function.
22385 (comint-mode): Use it completion-at-point-functions.
22386 (comint-dynamic-complete): Make it obsolete.
22387 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22388 (comint-c-a-p-replace-by-expanded-history): New function.
22389 (comint-dynamic-complete-functions)
22390 (comint-replace-by-expanded-history): Use it.
22391 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22392 termination strings. Try harder to avoid second try-completion.
22393 (completion-in-region-mode-map): Disable bindings that don't work yet.
22394
2dbaa080
SM
22395 * comint.el: Use lexical-binding. Require CL.
22396 (comint-dynamic-complete-functions): Use comint-filename-completion.
22397 (comint-completion-addsuffix): Tweak custom type.
22398 (comint-filename-completion, comint--common-suffix)
22399 (comint--common-quoted-suffix, comint--table-subvert)
22400 (comint--complete-file-name-data): New functions.
22401 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22402 (comint-dynamic-list-filename-completions): Use them.
22403 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22404
2dbaa080
SM
22405 * minibuffer.el (completion-in-region-mode):
22406 Keep completion-in-region-mode--predicate global.
22407 (completion-in-region--postch):
22408 Assume completion-in-region-mode--predicate is not null.
22409
c79a6f38
SM
22410 * progmodes/flymake.el (flymake-start-syntax-check-process):
22411 Obey `dir'. Simplify.
22412
024ff170
SM
22413 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22414 we're in VC after all.
22415
1c6c854e
CS
224162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22417
22418 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22419 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22420 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22421
bed7f140
SM
224222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22423
332e62ab
SM
22424 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22425 add sanity check.
22426
bed7f140
SM
22427 * obsolete/erc-hecomplete.el: Make obsolete.
22428 * obsolete/: Standardize obsolescence info in the header.
22429
f195c582
GM
224302011-04-20 Glenn Morris <rgm@gnu.org>
22431
22432 * calendar/solar.el (solar-horizontal-coordinates):
22433 Use the longitude argument rather than `calendar-longitude'.
22434 (solar-date-next-longitude): Remove unused locals.
22435
cb79b8c0
VJL
224362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22437
22438 * whitespace.el: New version 13.2.1.
22439
224402011-04-20 felix <EmacsWiki> (tiny change)
22441
d8e4b68b 22442 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22443 switching between major modes on a file.
22444
602ea69d
SM
224452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22446
22447 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22448 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22449 multi-line comments as well.
22450
06b60517
JB
224512011-04-19 Juanma Barranquero <lekktu@gmail.com>
22452
22453 Lexical-binding cleanup.
22454
22455 * arc-mode.el (archive-mode-revert):
22456 * cmuscheme.el (scheme-interactively-start-process):
22457 * custom.el (custom-initialize-delay):
22458 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22459 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22460 * emacs-lock.el (emacs-lock-clear-sentinel):
22461 * ezimage.el (defezimage):
22462 * follow.el (follow-avoid-tail-recenter):
22463 * fringe.el (set-fringe-mode-1):
22464 * generic-x.el (bat-generic-mode-compile):
22465 * help-mode.el (help-info-variable, help-do-xref)
22466 (help-mode-revert-buffer):
22467 * help.el (view-emacs-todo):
22468 * iswitchb.el (iswitchb-completion-help):
22469 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22470 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22471 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22472 * locate.el (locate-update):
22473 * longlines.el (longlines-encode-region)
22474 (longlines-after-change-function):
22475 * outline.el (outline-isearch-open-invisible):
22476 * ps-def.el (declare-function, charset-dimension, char-width)
22477 (encode-char):
22478 * ps-mule.el (ps-mule-plot-string):
22479 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22480 (recentf-edit-list-select, recentf-edit-list-validate)
22481 (recentf-open-files-action):
22482 * rect.el (delete-whitespace-rectangle-line)
22483 (rectangle-number-line-callback):
22484 * register.el (window-configuration-to-register)
22485 (frame-configuration-to-register):
22486 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22487 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22488 (xselect-convert-to-targets, xselect-convert-to-delete)
22489 (xselect-convert-to-filename, xselect-convert-to-charpos)
22490 (xselect-convert-to-lineno, xselect-convert-to-colno)
22491 (xselect-convert-to-os, xselect-convert-to-host)
22492 (xselect-convert-to-user, xselect-convert-to-class)
22493 (xselect-convert-to-name, xselect-convert-to-integer)
22494 (xselect-convert-to-atom, xselect-convert-to-identity):
22495 * subr.el (declare, ignore, process-kill-without-query)
22496 (text-clone-maintain):
22497 * terminal.el (te-get-char, te-tic-sentinel):
22498 * tool-bar.el (tool-bar-make-keymap):
22499 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22500 * type-break.el (type-break-mode, type-break-noninteractive-query):
22501 * view.el (View-back-to-mark):
22502 * wid-browse.el (widget-browse-action, widget-browse-widget)
22503 (widget-browse-widgets, widget-browse-sexp):
22504 * widget.el (define-widget-keywords):
22505 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22506 Mark unused parameters.
22507
22508 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22509 (align-areas): Remove unused variable `look'.
22510 (align-region): Remove unused variables `real-end' and `pos-list'.
22511
22512 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22513
22514 * bindings.el (mode-line-modified, mode-line-remote):
22515 Mark unused parameters.
22516 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22517
22518 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22519 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22520
22521 * comint.el (comint-history-isearch-pop-state)
22522 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22523 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22524 (comint-substitute-in-file-name): Doc fix.
22525
22526 * completion.el (cmpl-statistics-block): Mark unused parameter.
22527 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22528 (save-completions-to-file, load-completions-from-file):
22529 Remove unused local variable `e'.
22530
22531 * composite.el (compose-chars): Remove unused variable `len'.
22532 (lgstring-insert-glyph): Remove unused variable `g'.
22533 (compose-glyph-string): Remove unused variables `ascent',
22534 `descent', `lbearing' and `rbearing'.
22535 (compose-glyph-string-relative): Remove unused variables
22536 `lbearing', `rbearing' and `wadjust'.
22537 (compose-gstring-for-graphic): Remove unused variables `header',
22538 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22539 (compose-gstring-for-terminal): Remove unused variables `header'
22540 and `nchars'. Use `let', not `let*'.
22541
22542 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22543 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22544 (Custom-buffer-done, custom-buffer-create-internal)
22545 (custom-browse-visibility-action, custom-browse-group-tag-action)
22546 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22547 (widget-magic-mouse-down-action, custom-toggle-parent)
22548 (custom-add-parent-links, custom-toggle-hide-variable)
22549 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22550 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22551 (custom-face-menu-create, custom-variable-menu-create, get)
22552 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22553 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22554 (customize-apropos): Remove unused variable `tests'.
22555 (custom-group-value-create): Remove unused variable `hidden-p'.
22556 (sort-fold-case): Declare.
22557
22558 * cus-theme.el (custom-reset-standard-faces-list)
22559 (custom-reset-standard-variables-list): Declare.
22560 (customize-create-theme, custom-theme-revert, custom-theme-write)
22561 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22562 Mark unused parameters.
22563
22564 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22565
22566 * delim-col.el (delimit-columns-max): Move defvar before first use.
22567
22568 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22569 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22570
22571 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22572 (auto-insert): Declare.
22573 (desktop-restore-file-buffer): Rename desktop-* parameters;
22574 mark unused ones.
22575 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22576 (desktop-buffer): Rename desktop-* parameters.
22577
22578 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22579 (dframe-reposition-frame-xemacs, dframe-help-echo)
22580 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22581 Mark unused parameters.
22582
22583 * dired-aux.el (backup-extract-version-start, overwrite-query)
22584 (overwrite-backup-query, rename-regexp-query)
22585 (rename-non-directory-query): Declare.
22586 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22587 (dired-add-entry): Remove unused variable `orig-file-name'.
22588 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22589 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22590 `dired-copy-preserve-time' directly.
22591 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22592 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22593
22594 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22595 (dired-virtual-revert, dired-make-relative-symlink):
22596 Mark unused parameters.
22597 (manual-program): Declare.
22598 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22599 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22600 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22601
22602 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22603
22604 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22605
22606 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22607 Declare.
22608
22609 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22610
22611 * electric.el (Electric-command-loop): Rename parameter
22612 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22613
22614 * expand.el (expand-in-literal): Remove unused variable `here'.
22615
22616 * facemenu.el (facemenu-add-new-color):
22617 Remove unused variable `docstring'.
22618
22619 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22620 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22621 (face-attr-construct): Mark unused parameter. Doc fix.
22622 (read-color): Remove unused variable `hex-string'.
22623
22624 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22625 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22626 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22627 (display-buffer-other-frame): Remove unused variable `old-window'.
22628 (kill-buffer-hook): Declare.
22629 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22630 Mark unused parameters.
22631 (after-find-file): Pass 1 to `auto-save-mode', not t.
22632
22633 * files-x.el (auto-insert): Declare.
22634 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22635
22636 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22637 variable `buf'. Mark unused parameter.
06b60517
JB
22638 (find-lisp-insert-directory): Mark unused parameter.
22639
22640 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22641 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22642 (format-common-tail): Remove, unused.
22643 (format-deannotate-region): Remove unused variable `loc'.
22644 (format-annotate-region): Remove unused variable `p'.
22645 (format-annotate-single-property-change): Remove unused variables
22646 `default' and `tail'.
22647
22648 * forms.el (read-file-filter): Declare.
22649 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22650
22651 * frame.el (frame-creation-function-alist): Mark unused parameter.
22652 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22653
22654 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22655 Remove unused parameters.
22656 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22657 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22658
22659 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22660 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22661 (hfy-prepare-tag-map): Mark unused parameters.
22662 (htmlfontify-buffer): Use `called-interactively-p'.
22663
22664 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22665 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22666 (ibuffer-do-occur): Mark unused parameters.
22667 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22668 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22669
22670 * ibuffer.el: Don't quote `lambda'.
22671 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22672 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22673 Mark unused parameters.
22674
22675 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22676 (ido-completing-read): Mark unused parameters.
22677 (ido-copy-current-word): Mark unused parameters;
22678 remove unused variable `name'.
22679 (ido-sort-merged-list): Remove unused parameter `dirs'.
22680
22681 * ielm.el (ielm-input-sender): Mark unused parameter.
22682 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22683 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22684 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22685 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22686 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22687
22688 * image-dired.el (image-dired-display-thumbs): Remove unused
22689 variables `curr-file' and `count'.
22690 (image-dired-remove-tag): Remove unused variable `start'.
22691 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22692 variable `curr-file'
22693 (image-dired-rotate-original): Remove unused variable `temp-file'.
22694 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22695 Remove unused variable `file'.
22696 (image-dired-gallery-generate): Remove unused variable `curr'.
22697 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22698
22699 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22700
22701 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22702
22703 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22704
22705 * isearch.el (minibuffer-history-symbol): Declare.
22706 (isearch-edit-string): Remove unused variable `err'.
22707 (isearch-message-prefix, isearch-message-suffix):
22708 Mark unused parameters.
22709
22710 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22711
22712 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22713
22714 * makesum.el (double-column): Remove unused variable `cnt'.
22715
22716 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22717 (ido-ignore-item-temp-list): Declare.
22718
22719 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22720 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22721 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22722 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22723 `mouse-col-delta'.
22724
22725 * mouse-sel.el (mouse-extend-internal):
22726 Remove unused variable `orig-window-frame'.
22727
22728 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22729 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22730 Move declarations before first use.
22731 (pcomplete-opt): Mark unused parameters; doc fix.
22732
22733 * proced.el (proced-revert): Mark unused parameter.
22734 (proced-send-signal): Remove unused variable `err'.
22735
22736 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22737 Rename parameter PREFIX-ARG to ARG.
22738 (ps-basic-plot-string, ps-basic-plot-whitespace):
22739 Mark unused parameters.
22740
22741 * replace.el (replace-count): Define.
22742 (occur-revert-function): Mark unused parameters.
22743 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22744 (isearch-case-fold-search, isearch-string): Declare.
22745 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22746 bind `case-fold-search'. Remove unused variables `beg' and `end',
22747 and simplify.
22748 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22749 COUNT and bind `replace-count'.
22750 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22751 to COUNT.
22752
22753 * savehist.el (print-readably, print-string-length): Declare.
22754
22755 * shadowfile.el (shadow-expand-cluster-in-file-name):
22756 Remove unused variable `cluster'.
22757 (shadow-copy-file): Remove unused variable `i'.
22758 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22759 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22760 (shadow-define-literal-group, shadow-define-regexp-group)
22761 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22762
22763 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22764 (shell): Use `called-interactively-p'.
22765 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22766
22767 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22768 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22769 (delete-backward-char): Remove unused variable `ocol'.
22770 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22771 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22772 (event-apply-hyper-modifier, event-apply-shift-modifier)
22773 (event-apply-control-modifier, event-apply-meta-modifier):
22774 Mark unused parameters.
22775 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22776 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22777
22778 * speedbar.el (speedbar-ignored-directory-expressions)
22779 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22780 (speedbar-find-file, speedbar-dir-follow)
22781 (speedbar-directory-buttons-follow, speedbar-tag-find)
22782 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22783 (speedbar-buffers-line-directory, speedbar-buffer-click):
22784 Mark unused parameters.
22785 (speedbar-tag-file): Remove unused variable `mode'.
22786 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22787
22788 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22789
22790 * talk.el (talk): Remove unused variable `display'.
22791
22792 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22793 (tar-write-region-annotate): Mark unused parameter.
22794
22795 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22796 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22797 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22798 warning by another.
22799
22800 * time-stamp.el (time-stamp-string-preprocess):
22801 Remove unused variable `require-padding'.
22802
22803 * tree-widget.el (widget-glyph-enable): Declare.
22804 (tree-widget-action): Mark unused parameter.
22805
22806 * w32-fns.el (x-get-selection): Mark unused parameter.
22807 (autoload-make-program, generated-autoload-file): Declare.
22808
22809 * wdired.el (wdired-revert): Mark unused parameters.
22810 (wdired-xcase-word): Remove unused variable `err'.
22811
22812 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22813 (whitespace-help-scroll): Remove unused variable `data-help'.
22814
22815 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22816 (widget-image-insert, widget-after-change, default)
22817 (widget-default-format-handler, widget-default-notify)
22818 (widget-default-prompt-value, widget-info-link-action)
22819 (widget-url-link-action, widget-function-link-action)
22820 (widget-variable-link-action, widget-file-link-action)
22821 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22822 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22823 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22824 (widget-insert-button-action, widget-delete-button-action, visibility)
22825 (widget-documentation-link-action, widget-documentation-string-action)
22826 (widget-const-prompt-value, widget-regexp-match, symbol)
22827 (widget-coding-system-prompt-value)
22828 (widget-key-sequence-value-to-external, sexp)
22829 (widget-sexp-value-to-internal, character, vector, cons)
22830 (widget-choice-prompt-value, widget-boolean-prompt-value)
22831 (widget-color--choose-action): Mark unused parameters.
22832 (widget-item-match-inline, widget-choice-match-inline)
22833 (widget-checklist-match, widget-checklist-match-inline)
22834 (widget-group-match): Rename parameter VALUES to VALS.
22835 (widget-field-value-set): Remove unused variable `size'.
22836 (widget-color-action): Remove unused variables `value' and `start'.
22837
22838 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22839 variable `dir'. Doc fix.
06b60517
JB
22840 (windmove-find-other-window): Don't pass it.
22841
22842 * window.el (count-windows): Mark unused parameter.
22843 (bw-adjust-window): Remove unused variable `err'.
22844
22845 * woman.el (woman-file-name): Remove unused variable `default'.
22846 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22847 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22848 (global-font-lock-mode): Declare.
22849 (woman-decode-region): Mark unused parameter.
22850 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22851
22852 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22853 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22854 (x-dnd-handle-moz-url): Remove unused variable `title'.
22855 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22856
22857 * xml.el (xml-parse-tag, xml-parse-attlist):
22858 Remove unused variable `pos'.
22859
bc4f7f3d
GM
228602011-04-19 Glenn Morris <rgm@gnu.org>
22861
22862 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22863 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22864 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22865 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22866 * calendar/cal-html.el (cal-html-insert-minical):
22867 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22868 (calendar-mark-date-pattern):
22869 Prefix "unused" locals.
22870
22871 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22872 optional argument `style'.
22873
22874 * calendar/appt.el (appt-make-list):
22875 * calendar/cal-china.el (calendar-chinese-date-string):
22876 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22877 (diary-hebrew-yahrzeit):
22878 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22879 * calendar/calendar.el (calendar-generate-window):
22880 * calendar/time-date.el (time-to-days):
22881 Remove unused local variables.
22882
16a43933
CY
228832011-04-18 Chong Yidong <cyd@stupidchicken.com>
22884
22885 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22886 glyphless-char-display table.
22887 (tabulated-list-glyphless-char-display): New var.
22888
7eed1860
SS
228892011-04-18 Sam Steingold <sds@gnu.org>
22890
22891 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22892 to acknowledgments.
22893
4d2d1ccd
GM
228942011-04-17 Glenn Morris <rgm@gnu.org>
22895
22896 * calendar/diary-lib.el (diary-sexp-entry):
22897 * calendar/holidays.el (holiday-sexp):
22898 Set debug-on-error rather than the removed stack-trace-on-error.
22899
239da61d
GM
229002011-04-16 Glenn Morris <rgm@gnu.org>
22901
22902 * progmodes/f90.el: Use lexical-binding.
22903 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22904
8b05752a
SM
229052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22906
daca8ba5
SM
22907 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22908 (mail-mode): Setup mailalias completion here instead.
22909 * mail/mailalias.el: Use lexical-binding.
22910 (pattern, mailalias-done): Declare dynamic.
22911 (mail-completion-at-point-function): New function, from mail-complete.
22912 (mail-complete): Use it.
22913 (mail-completion-expand): New function.
22914 (mail-get-names): Use it.
22915 (mail-directory, mail-directory-process, mail-directory-stream):
22916 Don't use `pattern' for lexically bound arg.
22917
6f542485
SM
22918 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22919
037e7c3f
SM
22920 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22921 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22922 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22923
8b05752a
SM
22924 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22925 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22926 (byte-interactive-p): Define them again, for use when inlining
22927 old code.
22928
49093f60
JB
229292011-04-15 Juanma Barranquero <lekktu@gmail.com>
22930
22931 * loadup.el: Use `string-to-number', not `string-to-int'.
22932
b5b8e7de
SM
229332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22934
22935 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22936 gud-gdb-complete-command.
22937 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22938 (gud-gdb-completion-at-point): New function.
22939 (gud-gdb-completions): Remove.
22940
f42efeb5
MA
229412011-04-14 Michael Albinus <michael.albinus@gmx.de>
22942
49093f60
JB
22943 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22944 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22945 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22946 whether `executable-find' is bound.
f42efeb5
MA
22947
22948 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22949
e240cc21
SM
229502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22951
22952 * minibuffer.el (completion-in-region-mode-predicate)
22953 (completion-in-region-mode--predicate): New vars.
22954 (completion-in-region, completion-in-region--postch)
22955 (completion-in-region-mode): Use them.
22956 (completion--capf-wrapper): Also return the hook function.
22957 (completion-at-point, completion-help-at-point):
22958 Adjust and provide a predicate.
c2bd2ab0
SM
22959
22960 Preserve arg names for advice of subr and lexical functions (bug#8457).
22961 * help-fns.el (help-function-arglist): Consolidate the subr and
22962 new-byte-code cases. Add argument `preserve-names' to extract names
22963 from the docstring when needed.
22964 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22965 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22966 (ad-arglist): Use help-function-arglist's new arg.
22967 (ad-definition-type): Use cond.
22968
c183f693
JB
229692011-04-13 Juanma Barranquero <lekktu@gmail.com>
22970
06641a47
JB
22971 * autorevert.el (auto-revert-handler):
22972 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22973 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22974 Don't quote lambda.
22975
c183f693
JB
22976 * image-mode.el (image-transform-set-scale):
22977 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22978
1e3b6001
G
229792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22980
22981 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22982 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22983 Upgrades via gnutls-cli are too slow to be done opportunistically.
22984
2d6af8dd
JB
229852011-04-12 Juanma Barranquero <lekktu@gmail.com>
22986
22987 * dframe.el (dframe-current-frame): Remove spurious quote.
22988
c0749a51
GM
229892011-04-12 Glenn Morris <rgm@gnu.org>
22990
088d0d61
GM
22991 * calendar/cal-tex.el (cal-tex-end-document):
22992 Try to automatically use latin1 input if needed.
22993
c0749a51
GM
22994 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22995 Don't try to cons a mark onto an empty element.
22996
5c90fde0
LL
229972011-04-11 Leo Liu <sdl.web@gmail.com>
22998
22999 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23000 buffers.
23001 (ido-kill-buffer-at-head): Support killing virtual buffers.
23002
369e974d
CY
230032011-04-10 Chong Yidong <cyd@stupidchicken.com>
23004
23005 * minibuffer.el (completion-show-inline-help): New var.
23006 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
23007 (minibuffer-force-complete, minibuffer-complete-word):
23008 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
23009
23010 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23011 to avoid interference from inline help (Bug#5849).
23012
37f1c930
LL
230132011-04-10 Leo Liu <sdl.web@gmail.com>
23014
099c39a4
JB
23015 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23016 Fix typo.
37f1c930 23017
a32d4040
CY
230182011-04-09 Chong Yidong <cyd@stupidchicken.com>
23019
23020 * image-mode.el (image-toggle-display-image): Signal an error if
23021 not in Image mode.
23022 (image-transform-mode, image-transform-resize)
23023 (image-transform-set-rotation): Doc fix.
daca8ba5 23024 (image-transform-set-resize): Delete.
a32d4040
CY
23025 (image-transform-set-scale, image-transform-fit-to-height)
23026 (image-transform-fit-to-width): Handle image-toggle-display-image
23027 and image-transform-resize directly.
23028
099c39a4 230292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
23030
23031 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
23032 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23033 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
23034 (doc-view-mode-map): Add bindings for the new functions.
23035
099c39a4 230362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 23037
4d61f28d 23038 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
23039 Fix typo in docstring.
23040
3726838a
EZ
230412011-04-08 Eli Zaretskii <eliz@gnu.org>
23042
04f33f1e
EZ
23043 * files.el (file-size-human-readable): Produce one digit after
23044 decimal, like "ls -lh" does.
23045
23046 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23047 the file size representation.
23048
3726838a
EZ
23049 * simple.el (list-processes): If async subprocesses are not
23050 available, error out with a clear error message.
23051
cbb59342
CY
230522011-04-08 Chong Yidong <cyd@stupidchicken.com>
23053
23054 * help.el (help-form-show): New function, to be called from C.
23055 Put help-form output in a buffer named differently than *Help*.
23056
e3971c44
EZ
230572011-04-08 Eli Zaretskii <eliz@gnu.org>
23058
23059 * files.el (file-size-human-readable): New function.
23060
23061 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23062 computing the representation inline. Don't require `cl'.
23063
12544bbe
GM
230642011-04-08 Glenn Morris <rgm@gnu.org>
23065
a1de6c6a
GM
23066 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23067
3c4671f4
GM
23068 * net/browse-url.el (browse-url-firefox):
23069 Test system-type, not system-configuration.
23070
b605679c
GM
23071 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23072 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23073 Use log-edit-empty-buffer-p. (Bug#7598)
23074
56442f0c
GM
23075 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23076 (rlogin-mode-map): Initialize in the defvar.
23077 (rlogin): Use ignore-errors.
23078
12544bbe
GM
23079 * replace.el (occur-mode-map): Some fixes for menu items.
23080
eb237b0f
AH
230812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23082
23083 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23084
7d668f2c
CY
230852011-04-06 Chong Yidong <cyd@stupidchicken.com>
23086
e67a13ab
CY
23087 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23088 issuing unused warnings.
23089
23090 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23091 macro directly.
23092
7d668f2c
CY
23093 * simple.el: Lisp reimplement of list-processes. Based on an
23094 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23095 (process-menu-mode): New major mode.
23096 (list-processes--refresh, list-processes):
23097 (process-menu-visit-buffer): New functions.
23098
23099 * files.el (save-buffers-kill-emacs): Don't assume any return
23100 value of list-processes, which is undocumented anyway.
23101
a83ec3c9
CY
231022011-04-06 Chong Yidong <cyd@stupidchicken.com>
23103
23104 * emacs-lisp/tabulated-list.el: New file.
23105
e91a96fe
CY
23106 * emacs-lisp/package.el: Use Tabulated List mode.
23107 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23108 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23109 table format using Tabulated List mode variables.
23110 (package--push): New macro, replacing package-list-maybe-add.
23111 (package-menu--generate): Use package--push. Renamed from
23112 package--generate-package-list.
23113 (package-menu-refresh, list-packages): Use it.
daca8ba5 23114 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23115 Return insertion data instead of inserting it directly.
099c39a4
JB
23116 (package-menu-describe-package, package-menu-execute):
23117 Use tabulated-list-get-id.
e91a96fe
CY
23118 (package-menu-mark-delete, package-menu-mark-install)
23119 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23120 (package-menu-mark-obsolete-for-deletion):
23121 Use tabulated-list-put-tag.
e91a96fe
CY
23122 (package--list-packages, package-menu-revert)
23123 (package-menu-get-package, package-menu-get-version)
23124 (package-menu-sort-by-column): Functions deleted.
23125 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23126 (package-menu--status-predicate, package-menu--version-predicate)
23127 (package-menu--name-predicate)
23128 (package-menu--description-predicate): Handle arguments in the
23129 Tabulated List format.
23130 (package-list-packages-no-fetch): Call list-packages.
23131
3e214b50
JB
231322011-04-06 Juanma Barranquero <lekktu@gmail.com>
23133
23134 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23135 (after-find-file): Don't bind it.
3e214b50
JB
23136 (revert-buffer-in-progress-p): New variable.
23137 (revert-buffer): Bind it.
23138 Pass nil for `after-find-file-from-revert-buffer'.
23139
23140 * saveplace.el (save-place-find-file-hook): Use new variable
23141 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23142
3f0f1700
GM
231432011-04-06 Glenn Morris <rgm@gnu.org>
23144
c0274801
GM
23145 * Makefile.in (AUTOGEN_VCS): New variable.
23146 (autoloads): Use $AUTOGEN_VCS.
23147
3f0f1700
GM
23148 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23149 * calendar/calendar.el (calendar-mode-map):
23150 Check for toolkit scroll bars. (Bug#8305)
23151
41ea9e48
CY
231522011-04-05 Chong Yidong <cyd@stupidchicken.com>
23153
23154 * minibuffer.el (completion-in-region--postch)
23155 (completion-in-region-mode): Remove unnecessary messages.
23156
6194c800
JB
231572011-04-05 Juanma Barranquero <lekktu@gmail.com>
23158
33256f14
JB
23159 * font-lock.el (font-lock-refresh-defaults):
23160 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23161 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23162
6194c800
JB
23163 * info.el (Info-directory-list, Info-read-node-name-2)
23164 (Info-split-parameter-string): Doc fixes.
23165 (Info-virtual-nodes): Reflow docstring.
23166 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23167 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23168 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23169 Fix typos in docstrings.
23170 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23171 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23172 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23173 (Info-restore-desktop-buffer): Mark unused parameters.
23174 (Info-directory-find-file, Info-directory-find-node)
23175 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23176 (Info-virtual-index-find-node, Info-apropos-find-file)
23177 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 23178 Mark unused parameters; fix typos in docstrings.
6194c800
JB
23179 (Info-virtual-index): Remove unused local variable `nodename'.
23180
b87a8200 231812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 23182
b87a8200
DD
23183 * net/rcirc.el: Update my e-mail address.
23184 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 23185
3b2ff876
CY
231862011-04-05 Chong Yidong <cyd@stupidchicken.com>
23187
23188 * startup.el (command-line): Save the cursor's theme-face
23189 directly, instead of using face-override-spec.
23190
23191 * custom.el (load-theme): Minor optimization in assigning faces.
23192
8d17e7ca
JB
231932011-04-04 Juanma Barranquero <lekktu@gmail.com>
23194
23195 * help-fns.el (describe-variable): Complete all variables having
23196 documentation, including keywords.
23197 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23198
2fbc1934
JB
231992011-04-04 Juanma Barranquero <lekktu@gmail.com>
23200
23201 Convert to lexical-binding.
23202
23203 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23204 (bs--get-marked-string, bs--get-modified-string)
23205 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23206 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23207 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23208
23209 * ehelp.el (electric-help-execute-extended)
23210 (electric-help-ctrl-x-prefix):
23211 * hexl.el (hexl-revert-buffer-function):
23212 * linum.el (linum-after-change, linum-after-scroll):
23213 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23214
23215 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23216
74f50695
DU
232172011-04-04 Daiki Ueno <ueno@unixuser.org>
23218
23219 * epa-dired.el:
23220 * epa-mail.el:
23221 * epa-hook.el:
23222 * epa-file.el:
23223 * epa.el:
23224 * epg.el: Use lexical binding.
23225
c11325f7
CY
232262011-04-03 Chong Yidong <cyd@stupidchicken.com>
23227
0d9e9a12
CY
23228 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23229
c11325f7 23230 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23231 dictionary case for flyspell-mark-duplications-exceptions.
23232 Use regexp matching for languages.
c11325f7
CY
23233 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23234 default dictionary (Bug#7926).
23235
da91b5f2
CY
232362011-04-02 Chong Yidong <cyd@stupidchicken.com>
23237
099c39a4
JB
23238 * emacs-lisp/package.el (package--with-work-buffer):
23239 Recognize https URLs.
da91b5f2 23240
099c39a4
JB
23241 * net/network-stream.el: Move from gnus/proto-stream.el.
23242 Change prefix to network-stream throughout.
da91b5f2
CY
23243 (open-protocol-stream): Merge into open-network-stream, leaving
23244 open-protocol-stream as an alias. Handle nil BUFFER args.
23245
23246 * subr.el (open-network-stream): Move to net/network-stream.el.
23247
afa8e9f6
GM
232482011-04-02 Glenn Morris <rgm@gnu.org>
23249
1d2e369d
GM
23250 * find-dired.el (find-exec-terminator): New option.
23251 (find-ls-option): Test for -ls support.
23252 (find-ls-subdir-switches): Test for -b in find-ls-option.
23253 (find-dired, find-grep-dired): Doc fixes.
23254 (find-dired): Use find-exec-terminator.
23255
8abb7da8 23256 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23257 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23258 (find-name-arg): Remove purecopy.
8abb7da8 23259
f3ca7378
GM
23260 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23261 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23262 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23263 accordingly. Don't add the null-device if not needed.
23264
afa8e9f6
GM
23265 * files.el (save-some-buffers): Doc fix.
23266
35eae264
EZ
232672011-04-02 Eli Zaretskii <eliz@gnu.org>
23268
23269 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23270
26b51db5
JB
232712011-04-01 Juanma Barranquero <lekktu@gmail.com>
23272
23273 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23274 Use `dolist' rather than `mapcar'.
23275
7200d79c
SM
232762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23277
03408648 23278 Add lexical binding.
7200d79c 23279
03408648
SM
23280 * subr.el (apply-partially): Use new closures rather than CL.
23281 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23282 (dolist, dotimes): Use slightly different expansion for lexical code.
23283 (functionp): Move to C.
23284 (letrec): New macro.
23285 (with-wrapper-hook): Use it and apply-partially instead of CL.
23286 (eval-after-load): Preserve lexical-binding.
23287 (save-window-excursion, with-output-to-temp-buffer): Turn them
23288 into macros.
7200d79c 23289
03408648
SM
23290 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23291
23292 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23293 than the arglist.
23294 (help-add-fundoc-usage): Don't add `Not documented'.
23295 (help-function-arglist): Handle closures, subroutines, and new
23296 byte-code-functions.
23297 (help-make-usage): Remove leading underscores.
23298 (describe-function-1): Handle closures.
23299 (describe-variable): Use special-variable-p for completion.
23300
23301 * files.el (lexical-binding): Declare safe.
f488fb65 23302
03408648
SM
23303 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23304 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23305 (pcase): Add `let' pattern.
23306 Change memoization so it actually works.
23307 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23308 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23309 <let>: New case.
f488fb65 23310
03408648
SM
23311 * emacs-lisp/macroexp.el: Use lexical binding.
23312 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23313 Don't convert ' to #' without checking that it's indeed quoting
23314 a lambda.
23315
23316 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23317 Use eval-sexp-add-defvars.
03408648
SM
23318 (eval-sexp-add-defvars): New fun.
23319
23320 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23321
23322 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23323 Don't autoload.
23324 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23325 than the internal `byte-compile-lambda'.
23326 (defmethod): Don't hide code under quotes.
23327 (eieio-defmethod): New `code' argument.
23328
23329 * emacs-lisp/eieio-comp.el: Remove.
23330
23331 * emacs-lisp/edebug.el (edebug-eval-defun)
23332 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23333 (edebug-toggle): Avoid `eval'.
23334
23335 * emacs-lisp/disass.el (disassemble-internal): Handle new
23336 `closure' objects.
23337 (disassemble-1): Handle new byte codes.
23338
23339 * emacs-lisp/cl.el (pushnew): Silence warning.
23340
23341 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23342 (cl-byte-compile-throw): Remove.
23343 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23344
23345 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23346 closures.
23347
23348 * emacs-lisp/cconv.el: New file.
23349
23350 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23351 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23352 (byte-compile-initial-macro-environment):
23353 Handle declare-function here.
23354 (byte-compile--lexical-environment): New var.
23355 (byte-stack-ref, byte-stack-set, byte-discardN)
23356 (byte-discardN-preserve-tos): New lap codes.
23357 (byte-interactive-p): Don't use any more.
23358 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23359 New macros.
23360 (byte-compile-lapcode): Use them and handle new lap codes.
23361 (byte-compile-obsolete): Remove.
23362 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23363 (byte-compile-arglist-warn): Check late def of inlinable funs.
23364 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23365 since they should have been expanded by now.
23366 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23367 (byte-compile-from-buffer): Remove unused second arg.
23368 (byte-compile-preprocess): New function.
23369 (byte-compile-toplevel-file-form): New function to distinguish
23370 file-form calls from outside from file-form calls from hunk-handlers.
23371 (byte-compile-file-form): Simplify.
23372 (byte-compile-file-form-defsubst): Remove.
23373 (byte-compile-file-form-defmumble): Simplify now that
23374 byte-compile-lambda always returns a byte-code-function.
23375 (byte-compile): Preprocess.
23376 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23377 Remove, not used any more.
23378 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23379 (byte-compile-make-args-desc): New funs.
23380 (byte-compile-lambda): Handle lexical functions. Always return
23381 a byte-code-function.
23382 (byte-compile-reserved-constants): New var, to make up room for
23383 closed-over variables.
23384 (byte-compile-constants-vector): Obey it.
23385 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23386 (byte-compile-macroexpand-declare-function): New function.
23387 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23388 byte-code-functions.
23389 (byte-compile-form): Check obsolescence here.
23390 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23391 (byte-compile-variable-ref): Remove.
23392 (byte-compile-dynamic-variable-op): New fun.
23393 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23394 (byte-compile-variable-set): New funs.
23395 (byte-compile-discard): Add 2 args.
23396 (byte-compile-stack-ref, byte-compile-stack-set)
23397 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23398 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23399 macroexpand-all instead.
23400 (byte-compile-quote-form): Remove.
23401 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23402 (byte-compile-bind, byte-compile-unbind): New funs.
23403 (byte-compile-let): Handle let* and lexical binding.
23404 (byte-compile-let*): Remove.
23405 (byte-compile-catch, byte-compile-unwind-protect)
23406 (byte-compile-track-mouse, byte-compile-condition-case):
23407 Handle a new :fun-body form, used for lexical scoping.
23408 (byte-compile-save-window-excursion)
23409 (byte-compile-with-output-to-temp-buffer): Remove.
23410 (byte-compile-defun): Simplify.
23411 (byte-compile-stack-adjustment): New fun.
23412 (byte-compile-out): Use it.
23413 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23414
23415 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23416 handler any more.
23417
23418 * emacs-lisp/byte-opt.el: Use lexical binding.
23419 (byte-inline-lapcode): Remove (to bytecomp).
23420 (byte-compile-inline-expand): Pay attention to inlining to/from
23421 lexically bound code.
23422 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23423 any more.
23424 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23425 any more and don't call compiler-macros.
23426 (byte-compile-splice-in-already-compiled-code): Remove.
23427 (byte-code): Don't inline any more.
23428 (disassemble-offset): Receive `bytes' as argument rather than via
23429 dynamic scoping.
23430 (byte-compile-tag-number): Declare before first use.
23431 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23432 `return' even if make-spliceable.
23433 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23434 obsolete interactive-p.
23435 (byte-optimize-lapcode): Optimize new lap-codes.
23436 Don't trip up on new form of `byte-constant' lap code.
23437
23438 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23439
23440 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23441
23442 * custom.el (custom-initialize-default, custom-declare-variable):
23443 Use `defvar'.
23444
23445 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23446 New variables.
23447 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23448 (COMPILE_FIRST): Add macroexp and cconv.
23449 * makefile.w32-in: Mirror changes in Makefile.in.
23450
23451 * vc/cvs-status.el:
23452 * vc/diff-mode.el:
23453 * vc/log-edit.el:
23454 * vc/log-view.el:
23455 * vc/smerge-mode.el:
23456 * textmodes/bibtex-style.el:
090bd7cb 23457 * textmodes/css-mode.el:
03408648
SM
23458 * startup.el:
23459 * uniquify.el:
da91b5f2
CY
23460 * minibuffer.el:
23461 * newcomment.el:
23462 * reveal.el:
23463 * server.el:
23464 * mpc.el:
23465 * emacs-lisp/smie.el:
23466 * doc-view.el:
23467 * dired.el:
03408648
SM
23468 * abbrev.el: Use lexical binding.
23469
0f0c1f27
EZ
234702011-04-01 Eli Zaretskii <eliz@gnu.org>
23471
23472 * info.el (info-display-manual): New function.
23473
c82b2579
SM
234742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23475
23476 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23477
221ddf68
TH
234782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23479
23480 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23481 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23482
cba6e77e
GM
234832011-03-31 Glenn Morris <rgm@gnu.org>
23484
e040639f
GM
23485 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23486
cba6e77e
GM
23487 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23488
6d0f1c9e
CS
234892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23490
23491 * progmodes/python.el (python-default-interpreter)
23492 (python-python-command-args, python-jython-command-args)
23493 (python-which-shell, python-which-args, python-which-bufname)
23494 (python-file-queue, python-comint-output-filter-function)
23495 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23496 variables and functions.
23497
3e2d70fd
SM
234982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23499
23500 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23501 (completion-in-region-mode): New minor mode.
23502 (completion-in-region): Use it.
23503 (completion-in-region--data, completion-in-region-mode-map): New vars.
23504 (completion-in-region--postch): New function.
23505 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23506 New vars.
23507 (completion--capf-wrapper): New function.
23508 (completion-at-point): Use it to track well-behavedness of
23509 hook functions.
23510 (completion-help-at-point): New command.
23511
f3e4086c
JM
235122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23513
23514 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23515 syntax class to search for whitespace on a single line
23516 (Message-ID: <4D938140.4030905@redhat.com>).
23517
eb7ffc14
LL
235182011-03-30 Leo Liu <sdl.web@gmail.com>
23519
23520 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23521 New commands.
23522 (edit-abbrevs-map): Bind them here.
23523 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23524
d806ab68
KM
235252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23526
23527 * allout.el (allout-hide-by-annotation, allout-flag-region):
23528 Reduce possibility of overlay leakage by making them volatile.
23529
23530 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23531 hash is not shared between buffers. Mode initialization is
23532 responsible for giving it a useful starting value.
23533 (allout-item-span): Reduce possibility of overlay leakage by
23534 making them volatile.
23535 (allout-widgets-count-buttons-in-region): Add diagnostic function
23536 for tracking down button overlay leaks.
23537
ea622834
LL
235382011-03-29 Leo Liu <sdl.web@gmail.com>
23539
23540 * ido.el (ido-read-internal): Use the default history var
23541 minibuffer-history if no HISTORY is specified.
23542
b62f8267
G
235432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23544
03408648
SM
23545 * net/imap.el (imap-shell-open, imap-process-connection-type):
23546 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23547 Kerberos, SSL, other subprocesses.
23548
947b6566
LL
235492011-03-28 Leo Liu <sdl.web@gmail.com>
23550
23551 * abbrev.el (abbrev-table-empty-p): New function.
23552 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23553 nonempty ones. (Bug#5937)
23554
5ffb62aa
JD
235552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23556
23557 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23558
7a097943
LL
235592011-03-27 Leo Liu <sdl.web@gmail.com>
23560
23561 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23562 for foreground and background colors.
23563 (ansi-color-make-color-map): Adapt.
23564
c5b40130
LL
235652011-03-25 Leo Liu <sdl.web@gmail.com>
23566
1f48f7d2
LL
23567 * midnight.el (midnight-time-float): Remove. Note it calculates
23568 the microsecond component incorrectly and seconds-to-time does the
23569 same job.
625897ec 23570 Remove redundant (require 'timer).
1f48f7d2 23571
c5b40130
LL
23572 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23573 (ido-completions): Remove unused arguments. (Bug#8329)
23574
d86d2721
SM
235752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23576
23577 * minibuffer.el (completion--flush-all-sorted-completions):
23578 Remove itself from hook.
23579 (completion-at-point): Let the functions perform the completion
23580 immediately and return nil or t.
23581 * comint.el (comint-dynamic-complete-functions): Now identical to
23582 completion-at-point-functions.
23583 (comint-dynamic-list-input-ring): Remove unused var `index'.
23584 (comint--match-partial-filename, comint--unquote&expand-filename):
23585 New funs, split from comint-match-partial-filename.
23586 (comint-dynamic-complete): Use completion-at-point.
23587 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23588
e8974c48
DA
235892011-03-24 Drew Adams <drew.adams@oracle.com>
23590
23591 * thingatpt.el: Support `defun'.
23592
def71b5e
LL
235932011-03-23 Leo Liu <sdl.web@gmail.com>
23594
cb5af48e
LL
23595 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23596
def71b5e
LL
23597 * help-mode.el (help-mode-finish): Tweak regexp.
23598
927c53e7
GM
235992011-03-23 Glenn Morris <rgm@gnu.org>
23600
18d05bed
GM
23601 * eshell/esh-opt.el (eshell-eval-using-options):
23602 Do not bind unused local variable `eshell-option-stub'.
23603
927c53e7
GM
23604 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23605
9d0da923
JB
236062011-03-22 Juanma Barranquero <lekktu@gmail.com>
23607
23608 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23609 keymap variable in `with-no-warnings' to avoid a warning when the
23610 keymap has been already `defconst'ed.
23611
4b978a67
LL
236122011-03-22 Leo Liu <sdl.web@gmail.com>
23613
23614 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23615 encode all chars in abbrevs; otherwise use emacs-mule or
23616 utf-8-emacs. (Bug#8308)
23617
5fd62452
JB
236182011-03-22 Juanma Barranquero <lekktu@gmail.com>
23619
0b1596c6
JB
23620 * simple.el (backward-delete-char-untabify):
23621 Avoid warning about using `delete-backward-char'.
23622
5fd62452
JB
23623 * image.el (image-type-file-name-regexps): Make it variable.
23624 `imagemagick-register-types' modifies it, and the user may want
23625 to add new extensions for known image types.
23626 (imagemagick-register-types): Throw error if not using ImageMagick.
23627
0b4e93f1
LL
236282011-03-22 Leo Liu <sdl.web@gmail.com>
23629
23630 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23631 located before rcirc-prompt-end-marker.
23632 (rcirc-complete): Error if point is not after rcirc prompt.
23633 Handle the case when table is nil.
9882e214 23634 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23635
fccee4ab
CY
236362011-03-22 Chong Yidong <cyd@stupidchicken.com>
23637
23638 * custom.el (custom--inhibit-theme-enable): Make it affect only
23639 custom-theme-set-variables and custom-theme-set-faces.
23640 (provide-theme): Ignore custom--inhibit-theme-enable.
23641 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23642 (custom-enabling-themes): Delete variable.
d86d2721
SM
23643 (enable-theme): Accept only loaded themes as arguments.
23644 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23645 (custom-enabled-themes): Forbid themes from setting this.
23646 Eliminate use of custom-enabling-themes.
23647 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23648
af896da6
LL
236492011-03-21 Leo Liu <sdl.web@gmail.com>
23650
23651 * ido.el (ido-read-internal): Add ido-selected to history instead
23652 of user input.
23653
78f64af0
SM
236542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23655
23656 * subr.el (deferred-action-list, deferred-action-function):
23657 Mark obsolete.
23658
b16ac1ec
LL
236592011-03-21 Leo Liu <sdl.web@gmail.com>
23660
810f7698
LL
23661 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23662 change on 2011-02-13 (bug#8309).
23663
b16ac1ec
LL
23664 * minibuffer.el (read-file-name-function): Change default value.
23665 (read-file-name--defaults): Rename from read-file-name-defaults.
23666 (read-file-name-default): Rename from read-file-name.
23667 (read-file-name): Call read-file-name-function.
23668
4e05e67e
GM
236692011-03-21 Glenn Morris <rgm@gnu.org>
23670
23671 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23672 Doc fixes.
23673
4359915b
CY
236742011-03-21 Chong Yidong <cyd@stupidchicken.com>
23675
23676 * cus-theme.el: Add missing provide statement.
23677 (customize-create-theme): Extract theme value correctly.
23678 (custom-theme-visit-theme): Autoload.
23679 (customize-create-theme): Prompt before inserting default faces.
23680
1fe275ee
JB
236812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23682
23683 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23684 units and musical notes.
23685
cd394be1 236862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23687
23688 * ido.el (ido-read-internal): Use completing-read-default.
23689 (ido-completing-read): Fix compatibility with completing-read.
23690
7d476bde
CO
236912011-03-20 Christian Ohler <ohler@gnu.org>
23692
23693 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23694 (ert-delete-all-tests): Use `called-interactively-p' rather than
23695 `interactive-p'.
23696 (ert--make-xrefs-region): Respect END.
23697
fe0fb33e
CY
236982011-03-19 Chong Yidong <cyd@stupidchicken.com>
23699
ff854b0b
CY
23700 * dired-aux.el (dired-create-directory): Signal an error if the
23701 directory already exists (Bug#8246).
23702
fe0fb33e
CY
23703 * facemenu.el (list-colors-display): Call list-faces-display
23704 inside with-help-window.
23705 (list-colors-print): Use display property to align the final
23706 column, instead of checking window-width.
23707
576bce32
EZ
237082011-03-19 Eli Zaretskii <eliz@gnu.org>
23709
4d61f28d 23710 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23711 windows-nt systems.
23712 (emerge-protect-metachars): Quote correctly for ms-dos and
23713 windows-nt systems.
23714
89c41d68 237152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23716
23717 * info.el (info-initialize): Replace all uses of `:' with
23718 path-separator for compatibility with non-Unix systems.
23719 Cache quoting of path-separator. (Bug#8258)
23720
b14e3e21 237212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23722
23723 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23724 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23725 (mouse-avoidance-mode): Fix typos in docstrings.
23726
4525ce3e
CY
237272011-03-19 Chong Yidong <cyd@stupidchicken.com>
23728
23729 * startup.el (package-subdirectory-regexp): Move from package.el.
23730 Omit \\` and \\', and let callers add them.
23731
23732 * emacs-lisp/package.el (package-strip-version)
23733 (package-load-all-descriptors): Add \\` and \\' to
23734 package-subdirectory-regexp before using it.
23735 (package-untar-buffer): New arg DIR; ensure that file untars only
23736 into this expected directory. Remove superfluous delete-region.
23737 (package-unpack): Caller changed.
23738 (package-tar-file-info): Use package-subdirectory-regexp.
23739
a904a09a 237402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23741
a904a09a
SM
23742 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23743 diff-mode-shared-map (bug#8284).
23744 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23745
237462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23747
23748 * calendar/time-date.el (format-seconds): Use assoc instead of
23749 assoc-string, since assoc-string doesn't exist in XEmacs.
23750
171fc304
JB
237512011-03-17 Juanma Barranquero <lekktu@gmail.com>
23752
23753 * custom.el (custom-known-themes): Reflow docstring.
23754 (custom-theme-load-path): Fix typo in docstring.
23755 (load-theme): Fix typo in error message.
23756 (custom-available-themes, custom-variable-theme-value):
23757 Use `let', not `let*'.
23758
d71990a1
JB
237592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23760
23761 * calc/README: Mention inclusion of musical notes.
23762
23763 * calc/calc-units.el (calc-lu-quant): Rename from
23764 `calc-logunits-quantity'.
23765 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23766 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23767 (calc-db): Rename from `calc-dblevel'.
23768 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23769 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23770 (calc-np): Rename from `calc-nplevel'.
23771 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23772 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23773 (calc-lu-plus): Rename from `calc-logunits-add'.
23774 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23775 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23776 (calc-lu-minus): Rename from `calc-logunits-sub'.
23777 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23778 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23779 (calc-lu-times): Rename from `calc-logunits-mul'.
23780 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23781 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23782 (calc-lu-divide): Rename from `calc-logunits-div'.
23783 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23784 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23785
23786 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23787 functions being autoloaded.
23788
23789 * calc/calc.el (calc-lu-power-reference): Rename from
23790 `calc-logunits-power-reference'.
23791 (calc-lu-field-reference): Rename from
23792 `calc-logunits-field-reference'.
23793
7a71b18d
GM
23794 * calc/calc-help.el (calc-l-prefix-help):
23795 Mention musical note functions.
d71990a1 23796
40c2934b
SM
237972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23798
23799 * minibuffer.el (completion-all-sorted-completions):
23800 Use :completion-cycle-penalty text property if present.
23801
b0911414
KM
238022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23803
23804 * allout.el (allout-yank-processing): Adjust for new rebulleting
23805 regime so bullet being yanked is used without prompting the user
23806 for a choice.
23807
8a05b668
JB
238082011-03-16 Juanma Barranquero <lekktu@gmail.com>
23809
23810 * startup.el (command-line): Warn the user that _emacs is deprecated.
23811
5ba5fb81
JB
238122011-03-16 Juanma Barranquero <lekktu@gmail.com>
23813
23814 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23815 (delphi-verbose, delphi-comment-face, delphi-string-face)
23816 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23817 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23818 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23819 (delphi-new-comment-line, delphi-font-lock-defaults)
23820 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23821 Fix typos in docstrings.
23822
2dab465b
KM
238232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23824
5ba5fb81 23825 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23826 Invert the roles of character and string values for INSTEAD, so a
23827 string is used for the more common case of a defaulting prompt.
23828
0adf5618
SM
238292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23830
23831 * progmodes/ruby-mode.el (ruby-backward-sexp):
23832 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23833 * play/gamegrid.el (gamegrid-make-face):
23834 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23835 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23836 * notifications.el (notifications-notify):
23837 * net/xesam.el (xesam-search-engines):
23838 * net/quickurl.el (quickurl-list-insert):
23839 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23840
d72700e5
CY
238412011-03-15 Chong Yidong <cyd@stupidchicken.com>
23842
23843 * startup.el (command-line): Update package subdirectory regexp.
23844
49c5410a
SM
238452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23846
c6eee9aa
SM
23847 * allout.el (allout-abbreviate-flattened-numbering)
23848 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23849
49c5410a
SM
23850 * subr.el (read-char-choice): Only show the cursor after the prompt,
23851 not after the answer.
23852
047b2bb9
KR
238532011-03-15 Kevin Ryde <user42@zip.com.au>
23854
23855 * help-fns.el (variable-at-point): Skip leading quotes, if any
23856 (bug#8253).
23857
0a57d256
SM
238582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23859
23860 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23861 warning message.
23862
77c992bc
MA
238632011-03-14 Michael Albinus <michael.albinus@gmx.de>
23864
23865 * shell.el (shell): When called interactively, offer to change the
23866 shell file name on remote hosts.
23867
eebc475d
TZ
238682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23869
23870 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23871 integration for LDAP parameters. The host, base, user or binddn,
23872 and secret tokens can be specified in a netrc file, for instance.
23873 This is optional because an `auth-source' parameter must be
23874 specified in the search attributes.
23875
9d05d1ba
JB
238762011-03-13 Juanma Barranquero <lekktu@gmail.com>
23877
23878 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23879
09d9db2c
GM
238802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23881
23882 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23883 into declaration. Remove redundant and harmful binding.
23884
238852011-03-12 Eli Zaretskii <eliz@gnu.org>
23886
23887 * files.el (file-ownership-preserved-p): Pass `integer' as an
23888 explicit 2nd argument to `file-attributes'. If the file's owner
23889 is the Administrators group on Windows, and the current user is
23890 Administrator, consider that a match.
23891
23892 * server.el (server-ensure-safe-dir): Consider server directory
23893 safe on MS-Windows if its owner is the Administrators group while
23894 the current Emacs user is Administrator. Use `=' to compare
23895 numerical UIDs, since they could be integers or floats.
23896
219bd536
JB
238972011-03-12 Juanma Barranquero <lekktu@gmail.com>
23898
23899 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23900
f3afd36b
MA
239012011-03-12 Michael Albinus <michael.albinus@gmx.de>
23902
23903 Sync with Tramp 2.2.1.
23904
23905 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23906
23907 * net/trampver.el: Update release number.
23908
3aaaa6f1
SM
239092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23910
94642599
SM
23911 * progmodes/compile.el (compilation--previous-directory): Fix up
23912 various nil/dead-marker mismatches (bug#8014).
23913 (compilation-directory-properties, compilation-error-properties):
23914 Don't call it at a position past the one we're about to change.
23915
3aaaa6f1
SM
23916 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23917 Disable obsolescence warnings in the file that declares it.
23918
14239447
KM
239192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23920
099c39a4
JB
23921 * allout-widgets.el (allout-widgets-tally):
23922 Initialize allout-widgets-tally as a hash table rather than nil to
23923 prevent mode-line redisplay warnings. Also, clarify the module
23924 description and fix a comment typo.
14239447 23925
135e287c
JB
239262011-03-11 Juanma Barranquero <lekktu@gmail.com>
23927
23928 * help-fns.el (describe-variable): Don't complete keywords.
23929 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23930
ffbf300e
CY
239312011-03-10 Chong Yidong <cyd@stupidchicken.com>
23932
ba08b241
CY
23933 * emacs-lisp/package.el (package-version-join): Impose a standard
23934 string representation for pre/alpha/beta version lists.
23935 (package-unpack-single): Standardize the directory name by passing
23936 it through package-version-join.
23937 (package-strip-rcs-id): Accept any version string that does not
23938 signal an error in version-to-list.
ffbf300e 23939
f346fd6b
MA
239402011-03-10 Michael Albinus <michael.albinus@gmx.de>
23941
23942 * simple.el (delete-trailing-whitespace): Return nil for the
23943 benefit of `write-file-functions'.
23944
ccb55d27
GM
239452011-03-10 Glenn Morris <rgm@gnu.org>
23946
5ceaac0c
GM
23947 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23948
02da65ff
GM
23949 * vc/vc-git.el (vc-git-program): New option.
23950 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23951 (vc-git--call): Use it.
23952
b2f603cc
GM
23953 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23954
5772caab
GM
23955 * cus-edit.el (Custom-newline): If no button at point, look
23956 for a subgroup button at start-of-line. (Bug#2298)
23957
ccb55d27
GM
23958 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23959
ec6ecaed
JD
239602011-03-10 Julien Danjou <julien@danjou.info>
23961
23962 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23963 `cursor-type' is nil.
23964
9d5aa01d
JB
239652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23966
23967 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23968
b6a5875b
KM
239692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23970
7a71b18d 23971 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23972 preserves the existing header prefix, rebulleting it if necessary,
23973 rather than replacing it. This is necessary for proper operation
23974 of cooperative addons like allout-widgets.
1154d12e
JB
23975 (allout-make-topic-prefix, allout-rebullet-heading):
23976 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23977 value as alternate bullet to be used, instead of prompting the user
23978 for a bullet character.
b6a5875b 23979
ee545c35
MA
239802011-03-09 Michael Albinus <michael.albinus@gmx.de>
23981
d86d2721
SM
23982 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23983 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23984 `tramp-default-port'.
23985
c47971d7
DD
239862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23987
23988 * net/rcirc.el (rcirc-handler-001): Remove useless
23989 with-rcirc-process-buffer.
23990 (rcirc-check-auth-status): Swap arguments to string-match.
23991
13522cb4
GM
239922011-03-09 Glenn Morris <rgm@gnu.org>
23993
0be6f4f1
GM
23994 * shell.el (shell-mode):
23995 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23996
13522cb4
GM
23997 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23998 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23999
515de2e3
CY
240002011-03-08 Chong Yidong <cyd@stupidchicken.com>
24001
24002 * emacs-lisp/package.el (package-refresh-contents)
24003 (package-menu-execute): Use condition-case-no-debug.
24004
b511b994
MA
240052011-03-08 Michael Albinus <michael.albinus@gmx.de>
24006
24007 * simple.el (shell-command-to-string): Use `process-file'.
24008
24009 * emacs-lisp/package.el (package-tar-file-info): Handle also
24010 remote files.
24011
d86d2721
SM
24012 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24013 Use `equal' for upload base check.
b511b994 24014
25bbfb31
AM
240152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24016
24017 * textmodes/texinfo.el (texinfo-environments):
24018 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24019
be996521
GM
240202011-03-08 Glenn Morris <rgm@gnu.org>
24021
e9c8529f
GM
24022 * cus-start.el (cursor-in-non-selected-windows):
24023 Fix :set quoting oddness. (Bug#8192)
24024
be996521
GM
24025 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24026 in some setf expressions. (Bug#2159)
24027
2bb5649e
CY
240282011-03-08 Chong Yidong <cyd@stupidchicken.com>
24029
24030 * custom.el (custom-available-themes): Return themes in
24031 alphabetical order.
24032
33383987 24033See ChangeLog.15 for earlier changes.
e3d51b27
MR
24034
24035;; Local Variables:
24036;; coding: utf-8
e3d51b27
MR
24037;; End:
24038
ab422c4d 24039 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
24040
24041 This file is part of GNU Emacs.
24042
24043 GNU Emacs is free software: you can redistribute it and/or modify
24044 it under the terms of the GNU General Public License as published by
24045 the Free Software Foundation, either version 3 of the License, or
24046 (at your option) any later version.
24047
24048 GNU Emacs is distributed in the hope that it will be useful,
24049 but WITHOUT ANY WARRANTY; without even the implied warranty of
24050 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24051 GNU General Public License for more details.
24052
24053 You should have received a copy of the GNU General Public License
24054 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.