Merge from emacs-24; up to 2012-12-13T00:52:17Z!yamaoka@jpl.org
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c491dd70
GM
12013-01-30 Glenn Morris <rgm@gnu.org>
2
3 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4 unread-command-events twice in some cases. This tries to implement
5 the 2012-07-26 changes in a different way. (Bug#13560)
6
6ff930c3
FEG
72013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
8
9 * progmodes/python.el
10 (python-pdbtrack-comint-output-filter-function): Enhancements on
11 stacktrace detection. (thanks @gnovak)
12
1d4e7225
SM
132013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
16 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
17 Use defvar-local.
18 (jit-lock-register): Use setq-local.
19
7c3fb76f
JB
202013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
21
22 * calc-units.el (math-default-units-table): Remove initial value.
23 (calc-convert-units): Treat expressions where all the units cancel as
24 if they didn't have units.
25
8bc8712e
MA
262013-01-30 Michael Albinus <michael.albinus@gmx.de>
27
28 * net/tramp.el (tramp-process-connection-type): Fix docstring.
29 (tramp-completion-reread-directory-timeout): Fix type.
30 (tramp-connection-min-time-diff): New defcustom.
31
32 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
33
1886a16d
GM
342013-01-30 Glenn Morris <rgm@gnu.org>
35
36 * imenu.el (imenu-default-create-index-function):
37 Put back a version of the infinite loop test removed 2013-01-23.
38
3f82a88a 392013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 40
1d4e7225
SM
41 * progmodes/python.el (python-shell-parse-command):
42 Find python-shell-interpreter with modified environment.
e4497086 43
3f82a88a 442013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
45
46 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
47
953e5b8c
AM
482013-01-29 Alan Mackenzie <acm@muc.de>
49
50 Amend to fontify /regexp/s in actions correctly.
51 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 52 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
53 are no longer included.
54 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
55 What used to be these variables without "-line" in the name.
56 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now
57 are.
58 (c-awk-non-arith-op-bra-re): Now also matches {.
59 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
60 "return", and "case".
61 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
62 by /.
63 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
64 (c-awk-set-syntax-table-properties): Extend FSM to handle
65 {,},(,),;.
66
1b69262a
MA
672013-01-29 Michael Albinus <michael.albinus@gmx.de>
68
1d4e7225
SM
69 * autorevert.el (auto-revert-use-notify):
70 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 71
1b69262a
MA
72 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
73
1d4e7225
SM
74 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
75 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 76 in `tramp-file-name-handler'.
ea55064c
MA
77 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
78 compatibility.
79 (tramp-compute-multi-hops): Check, whether
80 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 81
b2dc4f52
SM
822013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
85 (bug#13297).
86
499572e4
DG
872013-01-27 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
90 checks made superfluous by the \_< operator.
a324b8c7
DG
91 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
92 temporarily) broken indentation.
b2dc4f52
SM
93 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
94 Highlight nested constants, too. \_< broke that.
499572e4
DG
95
962013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
97
98 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
99 instead of "\\b".
100
629cb6ec
MA
1012013-01-27 Michael Albinus <michael.albinus@gmx.de>
102
103 * autorevert.el (auto-revert-handler): Notifications which result
104 from a saved file shall not be taken into account. (Bug#13557)
105
cc17363f
AS
1062013-01-26 Andreas Schwab <schwab@linux-m68k.org>
107
108 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
109 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
110 (lisp-mode): Pass t for it. (Bug#13556)
111
b7aea0ff
AM
1122013-01-25 Alan Mackenzie <acm@muc.de>
113
114 AWK Mode: Fix indentation bug at top level. Bug #12274.
115
116 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
117 just before CASE 5D.
118
1314a64c
DA
1192013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
120
121 * net/socks.el (socks-nslookup-host): Use string-to-number.
122
ef3544f6
MA
1232013-01-25 Michael Albinus <michael.albinus@gmx.de>
124
125 * autorevert.el (auto-revert-remote-files)
126 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
127 (auto-revert-notify-enabled, auto-revert-use-notify)
128 (auto-revert-notify-watch-descriptor-hash-list)
129 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
130 (auto-revert-notify-event-descriptor)
131 (auto-revert-notify-event-action)
132 (auto-revert-notify-event-file-name): Doc fix.
133 (global-auto-revert-mode): Reorder checks.
134 (auto-revert-notify-rm-watch): Respect changed values of
135 `auto-revert-notify-watch-descriptor-hash-list'.
136 (auto-revert-notify-add-watch): Check for
137 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
138 `inotify-add-watch'. Watch `default-directory' instead of
139 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
140 has a changed meaning now. (Bug#13540)
141 (auto-revert-notify-handler): Change implementation wrt events
142 returning from a directory.
143 (auto-revert-handler): Reorder implementation for checks of remote
144 files.
145 (auto-revert-buffers): Fix parentheses error.
146
830e46e6 1472013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
148
149 * progmodes/python.el: Enhancements to header documentation about
150 skeletons. (Bug#5716)
151
ddc62155
FEG
152 * imenu.el (imenu-default-create-index-function): Remove useless
153 infinite loop check. (Bug#13438)
154
830e46e6 1552013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
156
157 Fix a bug in the state cache mechanism. Refactor this a bit.
158
159 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
160 `cache-pos' element from the return value.
161 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
162 buffer to enable proper searching from beyond HERE. Amend the
163 test for detecting the sought brace pair. Amend the value written
164 to the "brace desert cache" when the brace isn't found.
165 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
166 and several other variables analogously.
167 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
168 parameter to a locally calculated variable.
169 (c-parse-state-1): Change the calling conventions to the two
170 defuns involving `cache-pos'.
171
830e46e6 1722013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
173
174 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
175
3d4147ba
BG
1762013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
177
178 * paren.el (show-paren-function): Make sure to set 'priority and
179 'face only if the overlay does exist.
180
e1ffa412
MA
1812013-01-24 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
184
185 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
186 basic attributes.
187 (tramp-sh-handle-set-file-acl): Improve error checking.
188
5ad86e34
DA
1892013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
190
191 * doc-view.el (doc-view-display): Force mode line update until all
192 document is converted. Suggested by Stefan Monnier (Bug#13164).
193
d6f9c03f
BG
1942013-01-23 Bastien Guerry <bzg@gnu.org>
195
196 * paren.el (show-paren-function): Make sure an overlay exists
197 before trying to delete it. Also use `pos' as a position only
198 when it is an integer.
199
3544e11a
DA
2002013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
201
202 * play/gametree.el (gametree-break-line-here): Use point-marker.
203
19b50424
MA
2042013-01-22 Michael Albinus <michael.albinus@gmx.de>
205
b2dc4f52
SM
206 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
207 Mark descriptive parts with `display' property.
19b50424 208
7fd5a843
AM
2092013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
210
211 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
212 New variable to map standard dict names to hunspell ones.
213 (ispell-set-spellchecker-params): Make sure specific dict names
214 are used for standard dicts with hunspell.
215
e6aff855
TH
2162013-01-21 Tassilo Horn <tsdh@gnu.org>
217
218 * textmodes/reftex-cite.el (reftex-format-citation): Add format
219 chars for note (%N) and url (%U).
220 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
221
c84b0881
JL
2222013-01-21 Juri Linkov <juri@jurta.org>
223
224 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
225 in addition to existing separate binding `meta f10' in `global-map'.
226 (Bug#13484)
227
a36e2d26
MA
2282013-01-21 Michael Albinus <michael.albinus@gmx.de>
229
230 Improve XEmacs compatibility.
231
232 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
233
234 * net/tramp-adb.el (top): Require `time-date'.
235 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
236 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
237 Use `tramp-file-name-handler'.
238 (tramp-adb-maybe-open-connection):
239 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 240
b2dc4f52
SM
241 * net/tramp-sh.el (tramp-sh-handle-file-acl):
242 Use `tramp-compat-funcall'.
a36e2d26
MA
243
244 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
245 `tramp-compat-funcall'.
246
88c7dfa3
JH
2472013-01-21 Jürgen Hötzel <juergen@archlinux.org>
248
249 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
250 reimplementation using "adb shell command ..." instead of running
251 remote shell interactively.
252
15df6fa4
GM
2532013-01-20 Glenn Morris <rgm@gnu.org>
254
a576cc76
GM
255 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
256 Add native profiler menu entries.
257
15df6fa4
GM
258 * profiler.el (profiler-running-p): New function.
259 (profiler-cpu-profile): Use profiler-running-p.
260 (profiler-report-mode-map): Add some more menu entries.
261
c4d1e0c3
GM
2622013-01-19 Glenn Morris <rgm@gnu.org>
263
264 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
265 fixes 2012-12-07 change. (Bug#13499)
266
795e7a5b 2672013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
268
269 * dired.el (dired-get-marked-files): Prune erroneous values due to
270 last change. (Bug#13152)
271
795e7a5b 2722013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
273
274 * progmodes/etags.el (tags-table-check-computed-list):
275 Preserve point in tags buffer. (Bug#13412)
276
f8a42ad6
GM
277 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
278
20de6ab6
CW
2792013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
280 Chong Yidong <cyd@gnu.org>
281
b2dc4f52
SM
282 * image-mode.el (image-next-file, image-previous-file):
283 New commands (Bug#8453).
20de6ab6
CW
284 (image-mode-map): Bind them to n and p.
285 (image-mode--images-in-directory): New helper function.
286
2a43515a
CY
2872013-01-19 Chong Yidong <cyd@gnu.org>
288
289 * image-mode.el (image-mode-fit-frame): Add a frame argument.
290 Suggested by Drew Adams (Bug#7730). Handle window decorations;
291 save and restore the old window configuration.
292
b1170947
LL
2932013-01-18 Leo Liu <sdl.web@gmail.com>
294
295 * progmodes/js.el: Tweak autoload cookie for alias.
296
0eb87688
MA
2972013-01-17 Michael Albinus <michael.albinus@gmx.de>
298
299 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
300 buffer local, again. This was lost with the fix on 2013-01-12.
301
99d36ea8
JH
3022013-01-17 Jürgen Hötzel <juergen@archlinux.org>
303
304 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
305 order to support several eshell buffers in parallel.
306
68a08a32
MA
3072013-01-17 Michael Albinus <michael.albinus@gmx.de>
308
309 * autorevert.el (auto-revert-use-notify): In the :set function, do
310 not modify `kill-buffer-hook'.
b2dc4f52
SM
311 (auto-revert-notify-rm-watch):
312 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
313 (auto-revert-notify-add-watch): Do not call
314 `auto-revert-notify-rm-watch', but add it to a buffer local
315 `kill-buffer-hook'.
316
e59eee43
SM
3172013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
320 call to `eval' rather than a backquoted lambda.
321
6e8cd0ae
SM
3222013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
323
cb9c0a53
SM
324 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
325 to return an explicit nil.
326 (advice--remove-function): Change accordingly.
327
328 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
329 the use of nadvice.el.
330
6e8cd0ae
SM
331 * progmodes/which-func.el (which-function): Silence imenu errors
332 (bug#13433).
333
4586ce8a
MM
3342013-01-15 Michael R. Mauger <mmaug@yahoo.com>
335
6e8cd0ae 336 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
337 (sql-mode-font-lock-object-name): Match schema qualified names.
338 (sql-connect): Use string keys.
339 (sql-product-interactive): Wait for interpreter prompt.
340 (sql-comint-oracle): Set process coding based on NLS_LANG.
341
9d55215c
MM
3422013-01-15 Michael R. Mauger <mmaug@yahoo.com>
343
344 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
345 (sql-interactive-remove-continuation-prompt):
346 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 347
57dd9e68
LL
3482013-01-14 Leo Liu <sdl.web@gmail.com>
349
350 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
351 (Bug#13420)
352
51e73492
GM
3532013-01-14 Glenn Morris <rgm@gnu.org>
354
355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
356 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
357
c0511b57 3582013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 359
6e8cd0ae
SM
360 * progmodes/python.el (python-nav-end-of-statement):
361 Fix cornercase when handling multiline strings.
50620051 362
4c0a6d4a
RS
3632013-01-13 Richard Stallman <rms@gnu.org>
364
9f7e86ef
RS
365 * mail/sendmail.el (mail-position-on-field): Add doc string.
366
6e8cd0ae
SM
367 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
368 Get current message boundaries and pass them to
4c0a6d4a
RS
369 message-forward-make-body-mime. Minor style changes.
370
ad33a799
EZ
3712013-01-13 Eli Zaretskii <eliz@gnu.org>
372
373 * cus-start.el (all): Avoid warnings about
6e8cd0ae 374 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 375
616763d5
JD
3762013-01-11 Jan Djärv <jan.h.d@swipnet.se>
377
378 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
379
e5b5a34d
SM
3802013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * jit-lock.el (jit-lock-debug-mode): New minor mode.
383 (jit-lock--debug-fontifying): New var.
384 (jit-lock--debug-fontify): New function.
385 * subr.el (condition-case-unless-debug): Don't prevent catching the
386 error, just let the debbugger run.
387 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
388 timer code and don't drop errors silently.
389
2daddd9e
MA
3902013-01-12 Michael Albinus <michael.albinus@gmx.de>
391
392 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
393 `permanent-local' property.
71c661e4 394 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 395
86fbb162
EZ
3962013-01-12 Eli Zaretskii <eliz@gnu.org>
397
398 * autorevert.el (auto-revert-notify-handler): Fix filtering of
399 file notification by ACTION. For filtering by file name, compare
400 only the non-directory part of the file name.
401
a0784609
SM
4022013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
403
96c421bb
SM
404 * autorevert.el: Use cl-lib instead of cl.
405
a0784609
SM
406 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
407 (vc-bzr-checkin): Use it.
408 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
409 will preserve match-data.
410
f90ff906 4112013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 412
f90ff906
FD
413 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
414 (js--declaration-keyword-re): New var.
415 (js--multi-line-declaration-indentation): New function.
416 (js--proper-indentation): Use it.
9fc9a531 417
f90ff906 4182013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 419
f90ff906
FD
420 * calc/calc.el (calc-highlight-selections-with-faces)
421 (calc-dispatch):
422 * comint.el (comint-history-isearch-message):
423 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
424 * ffap.el (ffap-string-at-point-region, ffap-next)
425 (ffap-string-at-point, ffap-string-around)
426 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 427 (ffap-literally):
9fc9a531 428 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
429 (font-lock-removed-keywords-alist):
430 * help-mode.el (help-xref-symbol-regexp):
431 * info.el (Info-find-emacs-command-nodes):
432 * international/mule.el (add-to-coding-system-list):
433 * isearch.el (isearch-message-function, isearch-fail-pos):
434 * misearch.el (multi-isearch-next-buffer-function):
435 * newcomment.el (comment-box):
9fc9a531 436 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 437 (pr-setting-database):
9fc9a531
AH
438 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
439 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
440 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
441 (pike-font-lock-keywords-3):
442 * progmodes/compile.el (compile):
9fc9a531 443 * progmodes/etags.el (tags-table-files)
f90ff906 444 (tags-table-files-function, tags-included-tables-function):
9fc9a531 445 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 446 (gdb-restore-windows):
9fc9a531 447 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
448 (ps-n-up-filling-database):
449 * server.el (server-buffer, server-log):
9fc9a531
AH
450 * simple.el (newline, delete-backward-char, delete-forward-char)
451 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 452 (temporary-goal-column):
9fc9a531 453 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
454 (flyspell-default-deplacement-commands):
455 * textmodes/ispell.el (ispell-accept-output):
456 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 457 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
458 (compare-ignore-case, compare-windows-dehighlight):
459 * vc/diff.el (diff):
9fc9a531
AH
460 * whitespace.el (whitespace-point)
461 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 462 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 463
65adfa20
MA
4642013-01-11 Michael Albinus <michael.albinus@gmx.de>
465
466 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
467 (auto-revert-notify-rm-watch): Ignore errors.
468 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
469 inotify, and '(size last-write-time) for w32notify.
470 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
471 watch fails - this is a fallback to the file modification check.
472 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
473 (auto-revert-notify-event-action)
474 (auto-revert-notify-event-file-name): New defuns.
475 (auto-revert-notify-handler): Use them. Implement first
476 plausibility checks.
477 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
478
43b2e2e7
JD
4792013-01-11 Julien Danjou <julien@danjou.info>
480
481 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
482 max are almost equal. Also return the correct value for V which is
483 already between 0 and 1.
484
30818a23
DA
4852013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
486
487 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
488
10e714d5
EZ
4892013-01-11 Eli Zaretskii <eliz@gnu.org>
490
491 * autorevert.el (auto-revert-notify-rm-watch)
492 (auto-revert-notify-add-watch): Fix typos in w32notify function
493 names.
494
a778dd57
MA
4952013-01-10 Michael Albinus <michael.albinus@gmx.de>
496
497 * autorevert.el (auto-revert-notify-enabled): Move up.
498 (auto-revert-use-notify): New defcustom.
499 (auto-revert-mode, global-auto-revert-mode)
500 (auto-revert-notify-add-watch, auto-revert-handler)
501 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
502 `auto-revert-notify-enabled'.
503
72781fef
EP
5042013-01-10 Elias Pipping <pipping@exherbo.org>
505
506 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
507 * doc-view.el (doc-view-document->bitmap):
508 Use doc-view-single-page-converter-function instead of
509 single-page-converter arg; adjust callers.
510
e6ed8f08
FL
5112013-01-10 Feng Li <fengli@gmail.com> (tiny change)
512
513 * progmodes/which-func.el (which-function): Understand Semantic's use
514 of overlays in imenu--index-alist.
515
327a6cca
WJ
5162013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
517
518 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
519 (Man-man-k-use-anchor): New var.
520 (Man-parse-man-k): New function.
521 (Man-completion-table): Use it.
522 (man): Flush the completion cache between uses.
523
ed911257
MA
5242013-01-10 Michael Albinus <michael.albinus@gmx.de>
525
526 * autorevert.el: Add file watch support.
527 (auto-revert-notify-enabled): New defconst.
528 (auto-revert-notify-watch-descriptor-hash-list)
529 (auto-revert-notify-watch-descriptor)
530 (auto-revert-notify-modified-p): New defvars.
531 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
532 (auto-revert-notify-handler): New defuns.
533 (auto-revert-mode, global-auto-revert-mode): Remove file watches
534 when mode is disabled.
535 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
536 (auto-revert-buffers): Add file watches for active buffers.
537
58cc0a01
DA
5382013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
539
540 * cus-start.el (toplevel): Only allow float values for
541 scroll-up-aggressively and scroll-down-aggressively.
542 Allow any number for line-spacing.
543
bbc7ff25
SM
5442013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
547 (doc-view-pdf->png-converter-function): Use mupdf if available.
548 (doc-view-djvu->png-converter-function)
549 (doc-view-ps->png-converter-function): Remove.
550 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
551 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
552 (doc-view-already-converted-p): Adjust accordingly.
553 (doc-view-mode-p): Simplify.
554 (doc-view-enlarge): Use setq-local.
555 (doc-view-pdf->png-converter-ghostscript)
556 (doc-view-djvu->png-converter-ddjvu)
557 (doc-view-pdf->png-converter-mupdf): Rework to call
558 doc-view-start-process directly.
559 (doc-view-pdf/ps->png): Simplify accordingly.
560 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
561 (doc-view-document->bitmap): Rename from doc-view-document->png.
562 (doc-view-convert-current-doc): Merge pdf and djvu cases.
563 (doc-view-set-slice-from-bounding-box): Fix completion table.
564 (doc-view-mode): Use add-hook for after-revert-hook.
565
3c855b96
GM
5662013-01-10 Glenn Morris <rgm@gnu.org>
567
568 * emacs-lisp/authors.el (authors-ignored-files)
569 (authors-valid-file-names, authors-renamed-files-alist):
570 Add some more entries.
571
3f9549e8 5722013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
573
574 * image-mode.el (image-mode-winprops): Don't throw away the fallback
575 `t' pseudo-window entry.
576
3f9549e8 5772013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
578
579 Fix bugs in the c-parse-state mechanism. Reuse some markers
580 instead of continually generating new ones.
581
582 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
583 (c-state-old-cpp-end-marker): New variables.
584 (c-append-lower-brace-pair-to-state-cache): Start a backward
585 search for "}" definitively outside CPP constructs.
586 (c-remove-stale-state-cache): Inform the caller of a need to
587 search back for a brace pair in certain circumstances.
588 (c-state-maybe-marker): New macro.
589 (c-parse-state): Reuse markers when appropriate.
590
3f9549e8 5912013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
592
593 * simple.el (execute-extended-command): Doc fix.
594 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
595
3f9549e8 5962013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
597
598 * faces.el (read-face-name): Doc fix.
599
b14abca9
RW
6002013-01-10 Roland Winkler <winkler@gnu.org>
601
602 * emacs-lisp/crm.el: Allow any regexp for separators.
603 (crm-default-separator): All spaces around the default comma separator.
604 (crm--completion-command): New macro.
605 (crm-completion-help, crm-complete, crm-complete-word): Use it.
606 (crm-complete-and-exit): Handle non-single-char separators.
607
2b541f9a
EP
6082013-01-09 Elias Pipping <pipping@lavabit.com>
609
610 * doc-view.el: Add support for DjVu (bug#13164).
611 (doc-view-djvu->png-converter-function): New config var.
612 (doc-view-single-page-converter-function, doc-view--image-type)
613 (doc-view--image-file-extension): New vars.
614 (doc-view-mode): Initialize them.
615 (doc-view-goto-page): Use them.
616 (doc-view-mode-p): Add support for ddjvu.
617 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
618 (doc-view-set-up-single-converter): New funs.
619 (doc-view-pdf/ps->png): Extend for djvu.
620 (doc-view-document->png): Rename from doc-view-pdf->png.
621 (doc-view-convert-current-doc): Handle djvu.
622 (doc-view-insert-image, doc-view-display)
623 (doc-view-already-converted-p): Don't hardcode png.
624 (doc-view-set-doc-type): Recognize djvu docs.
625
85f17e35
EP
6262013-01-09 Elias Pipping <pipping@lavabit.com>
627
628 * doc-view.el: Add support for mupdf converter (bug#13164).
629 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
630 (doc-view-ps->png-converter-function): New config vars.
631 (doc-view-pdf->png-converter-ghostscript)
632 (doc-view-ps->png-converter-ghostscript)
633 (doc-view-pdf->png-converter-mupdf): New functions.
634 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
635
ccd04887
MA
6362013-01-09 Jürgen Hötzel <juergen@archlinux.org>
637
638 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
639 first in session cache: When `tramp-own-remote-path' is in
640 `tramp-remote-path', the remote path is only set in the session
641 cache.
642
c5ad92de
GM
6432013-01-09 Glenn Morris <rgm@gnu.org>
644
fb9f7146
GM
645 * emacs-lisp/trace.el (trace-function-foreground)
646 (trace-function-background): Doc fix.
c5ad92de 647
39a0786e
JL
6482013-01-09 Juri Linkov <juri@jurta.org>
649
650 * international/mule-cmds.el (read-char-by-name): Move let-binding
651 of completion-ignore-case around completing-read to fix regression
652 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
653 `string-match-p' using the nil value of `case-fold-search' and
654 `completion-ignore-case' in `completion-pcm--all-completions'.
655 (Bug#12615).
656
fb9f7146 6572013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
658
659 * progmodes/compile.el (compilation-parse-errors):
660 Fix typo. (Bug#13369)
661
fb9f7146 6622013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
663
664 * comint.el (comint-send-input): Check size of buffer before
665 waiting for process output, in case already accepted. (Bug#13290)
666
677d5c92
PE
6672013-01-09 Paul Eggert <eggert@cs.ucla.edu>
668
669 Spelling fixes.
670 * net/tramp-adb.el (tramp-adb-get-toolbox):
671 Fix misspelling of 'unknown'.
672
073ca75b
JL
6732013-01-08 Juri Linkov <juri@jurta.org>
674
675 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
676 * progmodes/flymake.el (flymake-errline, flymake-warnline):
677 Use underline style wave on terminals that support it. (Bug#13000)
678
a4648137
SM
6792013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
680
4bdc3526
SM
681 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
682 the predicate returns nil.
683
a4648137
SM
684 * simple.el: Use lexical-binding.
685 (primitive-undo): Use pcase.
686 (minibuffer-history-isearch-push-state): Use a closure.
687
3bace969
AH
6882013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
689
690 * simple.el (primitive-undo): Move from undo.c.
691
a731fc1b
SM
6922013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
693
1c851e98
SM
694 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
695 (cvs-mode-remove-handled): Use it (bug#13380).
696
a731fc1b
SM
697 * emacs-lisp/nadvice.el (advice--tweak): New function.
698 (advice--remove-function, advice--subst-main): Use it.
699
700 * emacs-lisp/advice.el: Update commentary.
701
2a22c83b
MA
7022013-01-08 Michael Albinus <michael.albinus@gmx.de>
703
a731fc1b
SM
704 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
705 Remove spurious entry.
2a22c83b 706
83c1803a
GM
7072013-01-08 Glenn Morris <rgm@gnu.org>
708
709 * net/tramp.el (tramp-default-host-alist): Add :version.
710
8a2e287c
JL
7112013-01-08 Juri Linkov <juri@jurta.org>
712
713 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
714 single completion. (Bug#12456)
715 (info--manual-names): Expand node completions into an explicit list
716 before appending it to another list. Filter out internal buffers
717 with the leading space in the buffer name. (Bug#10771)
718
c6a22ce2
JL
7192013-01-08 Juri Linkov <juri@jurta.org>
720
721 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
722 that defaults to the Top node.
723 (Info-goto-node, Info-read-node-name): Doc fix to mention that
724 the short format (FILENAME) goes to the Top node.
725 (Info-build-node-completions): Rename arg `file' to `filename'.
726 (Bug#13365)
727
acfe10b7
BG
7282013-01-07 Bastien Guerry <bzg@gnu.org>
729
a731fc1b
SM
730 * menu-bar.el (menu-bar-search-documentation-menu):
731 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
732
7332013-01-07 Bastien Guerry <bzg@gnu.org>
734
735 * apropos.el (apropos-do-all): Update docstring.
736 (apropos-user-option-button): New face.
737 (apropos-user-option): Rename from `apropos-variable' and update
738 docstring.
739 (apropos-variable): Rewrite, now show all variables by default.
740 (apropos-print): Mention "User option" instead of "Variable" when
741 printing doc for user options. (Bug#13276)
742
62bcf670
JH
7432013-01-07 Jürgen Hötzel <juergen@archlinux.org>
744
745 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
746 Handle filename correctly, when parsing "source -> target" symlink
747 output.
748 (tramp-adb-handle-set-file-times): New defun.
749
4986fa21
SM
7502013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
753 advice list when the interactive-spec of ad-Advice-* changes.
754
3bee311e
KY
7552013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
756
757 * wid-edit.el (widget-default-get): Work for inlined elements.
758 (Bug#12670)
759
b49eebcc
MA
7602013-01-07 Michael Albinus <michael.albinus@gmx.de>
761
762 * net/tramp.el (tramp-default-host-alist): New defcustom.
763 (tramp-find-host): Use it.
4986fa21 764 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
765 `eshell-directory-change-hook'.
766
767 * net/tramp-adb.el (top): Add adb specific entry in
768 `tramp-default-host-alist'.
769 (tramp-adb-file-name-host): Remove function.
770 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
771 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
772
3bee311e 773 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 774
84f6744a
JH
7752013-01-06 Jürgen Hötzel <juergen@archlinux.org>
776
777 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
778
b6cfbcd0
MA
7792013-01-06 Michael Albinus <michael.albinus@gmx.de>
780
781 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 782 consist of more than one digit.
4986fa21
SM
783 (tramp-adb-file-name-handler-alist):
784 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
785 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
786 (tramp-adb-handle-file-exists-p): Remove function.
787 (tramp-adb-file-name-host): New defun.
788 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
789 Use it.
790 (tramp-adb-maybe-open-connection): Set "remote-path" property.
791
58ba7b1b
CY
7922013-01-06 Chong Yidong <cyd@gnu.org>
793
794 * vc/vc.el (vc-next-action): Detect buffer modifications
795 conflicting with locking VCS operation (Bug#11490).
796
797 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
798
f4566fe9
MA
7992013-01-05 Michael Albinus <michael.albinus@gmx.de>
800
801 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
802 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
803
838cf298
MA
8042013-01-05 Jürgen Hötzel <juergen@archlinux.org>
805
806 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
807 parsing of ls output using regular expression (handle filenames
808 with spaces). Use virtual device number.
809 (tramp-do-parse-file-attributes-with-ls): New defun (Code
810 cleanup).
811
1bd71e9f
DU
8122013-01-04 Daiki Ueno <ueno@gnu.org>
813
814 * epg.el: Silence byte-compiler warnings.
815 (epg--start): Use delete-char instead of delete-backward-char.
816 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
817
00cd4c1c
DU
8182013-01-04 Daiki Ueno <ueno@gnu.org>
819
820 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
821 Suggested by Eli Zaretskii <eliz@gnu.org>.
822
f99ced35
MA
8232013-01-04 Michael Albinus <michael.albinus@gmx.de>
824
825 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
826 non-negative integers. Otherwise, the default values are used.
827 (tramp-convert-file-attributes): Convert uid and gid to integers.
828
0f668a4d 8292013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 830
d2be4dcc
GM
831 * term.el (term-handle-colors-array): Ensure face attributes
832 are fully specified, not nil. (Bug#13337)
833
5b00b749
GM
834 * term.el (term-default-fg-color, term-default-bg-color):
835 Fix custom type.
836
220740a3
GM
837 * progmodes/etags.el (tags-compression-info-list): Doc fix.
838 (tag-find-file-of-tag-noselect): Check auto-compression-mode
839 rather than 'jka-compr being loaded. (Bug#13338)
840
bdd9367d
WD
8412013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
842
843 * icomplete.el (icomplete-completions):
844 Honor icomplete-prospects-height once more following
845 2012-11-29 changes. (Bug#13224)
846
96dd18b1
SM
8472013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
848
c0bd248c
SM
849 * subr.el (internal--called-interactively-p--get-frame): Find aliases
850 of called-interactively-p as well (bug#13237).
851
4a74c818
SM
852 * view.el (view--enable, view--disable): Rename from view-mode-enable
853 and view-mode-disable and assume it's called from view-mode.
854 (view-mode-enable, view-mode-disable): Redefine as obsolete
855 compatibility layer above view-mode.
856 (view-mode-enter): Call `view-mode'.
857
858 * files.el (after-find-file): Call `view-mode'.
859
96dd18b1
SM
860 * doc-view.el (doc-view-scale-internally): New var.
861 (doc-view-enlarge, doc-view-insert-image): Obey it.
862
c2cf1829
DU
8632013-01-03 Daiki Ueno <ueno@gnu.org>
864
865 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
866 exist. (Bug#13344)
867
ad235a8b
GM
8682013-01-03 Glenn Morris <rgm@gnu.org>
869
a8aa6c2d
GM
870 * mail/rmail.el (rmail-set-header-1): Ignore case.
871 Handle multi-line headers. (Bug#13330)
872
a6d6c20b
GM
873 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
874 Handle paragraph starting at beginning of buffer.
875
ed5bdeb9
GM
876 * subr.el (eval-after-load): Don't purecopy the form, so that it
877 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
878
ad235a8b
GM
879 * emacs-lisp/byte-run.el (defun): Place cl declarations
880 after any interactive spec. (Bug#13265)
881
9539d465 8822013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
883
884 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
885 defun. Don't check for DECL if DOCSTRING isn't a string.
886 (defun): Likewise.
887
9539d465 8882013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 889
5ee1772e
GM
890 * eshell/em-cmpl.el (eshell-pcomplete):
891 More thoroughly imitate pcomplete. (Bug#13293)
892
4cddca30
GM
893 * files.el (parse-colon-path): Doc fix. (Bug#12351)
894 Return nil for empty path elements. (Bug#13296)
895
9539d465 8962013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
897
898 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
899 order to improve efficiency (Based on Daniel Colascione's
900 <dancol@dancol.org> patch). (Bug#13182)
901
9539d465 9022013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
903
904 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
905
9539d465 9062013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
907
908 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
909 neither DOCSTRING nor DECL was given. (Bug#13316)
910
aca3d51d
MA
9112013-01-02 Michael Albinus <michael.albinus@gmx.de>
912
913 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
914 `error' call.
915 (tramp-do-copy-or-rename-file): Ignore errors when calling
916 `set-file-extended-attributes'.
917
4986fa21
SM
918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
919 Add handler for `file-acl'.
aca3d51d
MA
920 (tramp-smb-handle-file-acl): New defun.
921
87e65f96
JB
9222013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
923
924 * calc/README: Mention ISO 8601 week-numbering dates.
925
0aac98ac
MR
9262013-01-01 Martin Rudalics <rudalics@gmx.at>
927
928 * view.el (view-mode-enable): New argument run-view-mode-hook.
929 Run view-mode-hook only when it's non-nil (Bug#13315).
930 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
931 argument t.
932
1a82330c
JH
9332012-12-31 Jürgen Hötzel <juergen@archlinux.org>
934
935 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
936 (No device connected, invalid device name). (Bug #13299)
937
27fcfe31
MR
9382012-12-31 Martin Rudalics <rudalics@gmx.at>
939
940 * window.el (window-resizable--p): Rename to window-resizable-p.
941 (window-resize-no-error): New function.
942
943 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
944 broken in fix from 2012-12-28.
945
96c052a5
SM
9462012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * subr.el (special-form-p): Don't signal errors on undef aliases.
949
fd1f1603
JB
9502012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
951
952 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
953 `math-parse-iso-date' when it looks like it might be needed.
954 Allow times of 24:00.
fd1f1603
JB
955 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
956 of 24:00.
957
8db39aeb
GM
9582012-12-30 Glenn Morris <rgm@gnu.org>
959
960 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
961 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
962 (rmail-summary-displayed, rmail-summary): Declare.
963 (mairix-rmail-display): Just require rmail.
964
d5e5e7b4 9652012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
966
967 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
968 check for the tarball contents.
969
d5e5e7b4 9702012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
971
972 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
973 tarfile content listings (Bug#13136).
974
d5e5e7b4 9752012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 976
96c052a5
SM
977 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
978 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 979
4f752957
MA
9802012-12-30 Michael Albinus <michael.albinus@gmx.de>
981
3ee24a3b
MA
982 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
983 integers, if they are real numbers. (Bug#13282)
984
4f752957
MA
985 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
986 Return `t' on success.
987
96c052a5
SM
988 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
989 Add handler for `set-file-selinux-context'.
4f752957 990
eff2eb58
MA
9912012-12-29 Michael Albinus <michael.albinus@gmx.de>
992
993 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
994 (tramp-sh-handle-set-file-acl): Return `t' on success.
995
ccad023b
EZ
9962012-12-29 Eli Zaretskii <eliz@gnu.org>
997
96c052a5
SM
998 * files.el (backup-buffer-copy, basic-save-buffer-2):
999 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1000 instead of signaling an error. (Bug#13298)
7e56b103 1001 (basic-save-buffer): Likewise.
ccad023b 1002
ccb1c17e
FEG
10032012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1004
1005 * progmodes/python.el: Support other commands triggering
1006 python-indent-line so indentation cycling continues to work.
1007 (python-indent-trigger-commands): New defcustom.
1008 (python-indent-line): Use it.
1009
16768034
FEG
10102012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1011
1012 * progmodes/python.el (python-shell-send-region): Add blank lines
1013 for non sent code so backtraces remain correct.
1014
66164d2f
FEG
10152012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1016
1017 * progmodes/python.el: Remove cl dependency.
1018 (python-syntax-count-quotes): Replace incf call.
1019 (python-fill-string): Replace setf call.
1020
761231d1
DC
10212012-12-29 Damien Cassou <damien.cassou@gmail.com>
1022
43ebd12b 1023 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1024
7c3e220a
MR
10252012-12-28 Martin Rudalics <rudalics@gmx.at>
1026
96c052a5
SM
1027 * mail/rmail.el (rmail-maybe-display-summary):
1028 Rewrite (Bug#13066).
7c3e220a 1029
361828b5
AS
10302012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1031
1032 * epg.el (epg--start): Modify process-environment locally.
1033
23bd348c
DU
10342012-12-28 Daiki Ueno <ueno@gnu.org>
1035
1036 * epg.el: Support pinentry-curses.
1037 Suggested by Werner Koch in
1038 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1039 (epg-agent-file, epg-agent-mtime): New variable.
1040 (epg--start): Record the modified time of gpg-agent socket file,
1041 to restore Emacs frame after pinentry-curses termination.
1042 (epg-wait-for-completion): Restore Emacs frame here.
1043
313f39aa
JL
10442012-12-27 Juri Linkov <juri@jurta.org>
1045
1046 * info.el (Info-file-completions): New variable.
1047 (Info-read-node-name-1): Complete node names in the Info file
1048 when a file name is given. Call `Info-build-node-completions'
1049 with a file name.
1050 (Info-build-node-completions): Add new arg `file'. When it is
1051 non-nil, visit it in a temporary buffer and cache its completions in
1052 `Info-current-file-completions'. Move most of the function body to
1053 `Info-build-node-completions-1'.
1054 (Info-build-node-completions-1): New function with the body from
1055 `Info-build-node-completions'. (Bug#12456)
1056
a45b7647
JL
10572012-12-27 Juri Linkov <juri@jurta.org>
1058
1059 * frame.el (frame-maximization-style): Remove user option.
1060 (cycle-frame-maximized): Remove function.
1061 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1062 (toggle-frame-fullscreen): New command bound to <f11> instead of
1063 `toggle-frame-maximized'.
1064 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1065
10ffd0be
MA
10662012-12-27 Michael Albinus <michael.albinus@gmx.de>
1067
1068 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1069
1070 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1071 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1072 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1073 for `file-accessible-directory-p'. (Bug#13275)
1074
fd146719
SS
10752012-12-27 Sam Steingold <sds@gnu.org>
1076
1077 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1078 continuations, see <http://stackoverflow.com/questions/3582436>.
1079
82e2a1f0 10802012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1081
1082 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1083 "module" and "def" to have indentation before them.
1084 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1085
ea0857a1
DG
1086 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1087
82e2a1f0 10882012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1089
1090 Speed up fontification where there's large brace blocks.
1091 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1092 to a call of c-beginning-of-decl-1.
1093
c34339f3
VS
10942012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1095
1096 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1097 (comint-postoutput-scroll-to-bottom):
1098 Call comint-adjust-window-point (Bug#13248).
c34339f3 1099
78269b95
DG
11002012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1101
1102 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1103 Rakefile regexp.
1104 (auto-mode-alist): Associate .gemspec files with ruby-mode
1105 (https://bugs.ruby-lang.org/issues/5453).
1106
bd8c13f9
JH
11072012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1108
96c052a5
SM
1109 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1110 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1111 CyanogenMod).
bd8c13f9
JH
1112 (tramp-adb-handle-file-attributes)
1113 (tramp-adb-handle-insert-directory)
1114 (tramp-adb-handle-file-name-all-completions): Use it.
1115 (tramp-adb-get-toolbox): New defun. Check for remote shell
1116 implementation (BusyBox or Toolbox).
1117
dc646358
CK
11182012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1119
1120 * startup.el (initial-buffer-choice): Allow function as value
1121 (Bug#13251).
1122 (command-line-1): Handle case where initial-buffer-choice
1123 specifies a function.
1124 * server.el (server-execute): Handle case where
1125 initial-buffer-choice specifies a function.
1126
e7d52a4d
LI
11272012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1128
1129 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1130 its own function.
1131 (smtpmail-try-auth-methods): Forget the user name/password if the
1132 login is unsuccessful (bug#12424).
1133
cdb07539
MA
11342012-12-22 Michael Albinus <michael.albinus@gmx.de>
1135
1ef5f225
MA
1136 * notifications.el (notifications-notify): Protect body with
1137 `with-demoted-errors'.
1138
96c052a5
SM
1139 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1140 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1141 change.
1142
594f37aa
CY
11432012-12-21 Chong Yidong <cyd@gnu.org>
1144
1145 * sort.el (sort-subr): Doc fix (Bug#13056).
1146
a4b0cca1 11472012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1148
acc650b8
BG
1149 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1150
0e9c7693
MA
11512012-12-21 Michael Albinus <michael.albinus@gmx.de>
1152
1153 * simple.el (process-file): Overwrite stderr file, if exists.
1154
c6609164
DU
11552012-12-21 Daiki Ueno <ueno@gnu.org>
1156
1157 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1158 (epg-error): Set `error-message' property.
c6609164 1159
aa26f345
CY
11602012-12-21 Chong Yidong <cyd@gnu.org>
1161
34b4b7eb
CY
1162 * international/mule-cmds.el (read-char-by-name): Signal an error
1163 if the user does not supply a valid character (Bug#13177).
1164
aa26f345
CY
1165 * simple.el (transpose-subr-1): Preserve marker positions by
1166 changing the insertion sequence (Bug#13122).
1167
05c22d87
KD
11682012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1169
1170 * simple.el (kill-region): Deactivate mark even for empty regions
1171 (Bug#13169).
1172
f5733f87
CY
11732012-12-21 Chong Yidong <cyd@gnu.org>
1174
1175 * help-fns.el (describe-variable): Make sure we get the right
1176 buffer name (Bug#13105). Suggested by Kelly Dean.
1177
fab6916d
MM
11782012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1179
1180 * comint.el (comint-redirect-previous-input-string): New variable.
1181 (comint-redirect-setup, comint-redirect-cleanup)
1182 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1183 (comint-redirect-preoutput-filter): Fix verbose message.
1184
91b982a0
MA
11852012-12-20 Michael Albinus <michael.albinus@gmx.de>
1186
1187 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1188 is too long for Tramp. See discussion in
1189 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1190
1191 * progmodes/compile.el (compilation-start): Remove line escape
1192 template.
1193
87523aed
DA
11942012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1195
1196 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1197 Adjust comment.
1198
ee3c0aec
JB
11992012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1200
1201 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1202 following non-comment text (bug#13207).
1203 (lm-header-multiline): Continuation lines need to be indented more than
1204 the first line.
1205 (lm-homepage): New function.
1206 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1207
4a74c818
SM
12082012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1209
f4d79bd0
SM
1210 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1211 very beginning of a hunk (e.g. killing the first line).
1212
3c532af6
MA
12132012-12-19 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1216 and text properties from returned ACL string.
1217 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1218 for "setfacl" command.
1219
e0d01ef3
MA
12202012-12-18 Michael Albinus <michael.albinus@gmx.de>
1221
1222 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1223 `tramp-cleanup-this-connection', when the process has died.
1224 (Bug#13151)
1225
2387610d
SM
12262012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1229
19156242
KR
12302012-12-17 Kevin Ryde <user42@zip.com.au>
1231
1232 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1233
53b6a8b1
MA
12342012-12-17 Michael Albinus <michael.albinus@gmx.de>
1235
1236 Add support for preserving ACL entries of files.
1237
1238 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1239 `set-file-acl' handlers.
1240
19156242
KR
1241 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1242 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1243
19156242
KR
1244 * net/tramp-compat.el (tramp-compat-copy-file):
1245 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1246
19156242
KR
1247 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1248 Add `file-acl' and `set-file-acl' handlers.
1249 (tramp-gvfs-handle-copy-file):
1250 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1251 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1252 New defuns.
53b6a8b1 1253
19156242
KR
1254 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1255 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1256 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1257 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1258 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1259 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1260
19156242
KR
1261 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1262 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1263 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1264
6ae57a67
KD
12652012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1266
1267 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1268 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1269 *Metahelp* with a leading space (Bug#13190).
1270
7c3d167f
RF
12712012-12-16 Romain Francoise <romain@orebokech.com>
1272
1273 * files.el (file-extended-attributes)
1274 (set-file-extended-attributes): New functions.
1275 (backup-buffer): Use them to handle both SELinux context and ACL
1276 entries.
1277 (backup-buffer-copy): Work with an alist of extended attributes,
1278 rather than an SELinux context.
1279 (basic-save-buffer-2): Ditto.
1280
19b748ad
TM
12812012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1282
1283 * battery.el (battery-bsd-apm): New function.
1284
70042c64
JB
12852012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1286
1287 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1288 standard date formats.
1289
279f9b06
JL
12902012-12-15 Juri Linkov <juri@jurta.org>
1291
1292 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1293 `isearch-insert-char-by-name'.
1294 (with-isearch-suspended): New defmacro with body mostly from
1295 `isearch-edit-string' except the part that sets
1296 `isearch-new-string' and `isearch-new-message'.
1297 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1298 body that sets `isearch-new-string' and `isearch-new-message'.
1299 (isearch-insert-char-by-name): New command.
1300 * international/mule-cmds.el (read-char-by-name): Let-bind
1301 `enable-recursive-minibuffers' to t.
1302 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1303
8370def5
JL
13042012-12-15 Juri Linkov <juri@jurta.org>
1305
1306 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1307 (Bug#13175)
1308
178fb95d
CS
13092012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1310
1311 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1312 the prompt. (Bug#13045)
1313
a5f74442
GM
13142012-12-14 Glenn Morris <rgm@gnu.org>
1315
1316 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1317 Try to include filename in non-bytecomp warning. (Bug#13132)
1318
97976f9f
PE
13192012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1320
1321 Fix permissions bugs with setgid directories etc. (Bug#13125)
1322 * files.el (backup-buffer): Don't rely on 9th output of
1323 file-attributes, as it's now a placeholder. Instead, use the new
1324 optional arg of file-ownership-preserved-p.
1325 (file-ownership-preserved-p): New optional arg GROUP.
1326 Fix mishandling of setuid directories that would cause this
1327 function to return t when it should have returned nil.
1328 Document what happens if the file does not exist, and when
1329 it's not known whether the ownership will be preserved.
1330 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1331 Likewise.
1332 (tramp-get-local-gid): Use group-gid for integer, as that's
1333 faster and more reliable.
1334
016b2a42
JD
13352012-12-14 Julien Danjou <julien@danjou.info>
1336
19156242
KR
1337 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1338 Update keywords list, data type and PL/pgSQL.
016b2a42 1339
665e5e07
DA
13402012-12-14 Dave Abrahams <dave@boostpro.com>
1341
1342 * vc/ediff-util.el (ediff-buffer-type): New function.
1343 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1344 rather than taking it as as argument.
1345 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1346
d72e9e92
RC
13472012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1348
1349 * json.el: Add pretty-print option (bug#12634).
1350 (json-encoding-separator, json-encoding-default-indentation)
1351 (json--encoding-current-indentation, json-encoding-pretty-print)
1352 (json-encoding-lisp-style-closings): New vars.
1353 (json--with-indentation): New macro.
1354 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1355 (json-encode-array): Use it to obey json-encoding-pretty-print.
1356 (json-pretty-print-buffer, json-pretty-print): New commands.
1357
dbb530d9
DG
13582012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1359
1360 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1361 Extract `ruby-syntax-propertize-expansions'.
1362 (ruby-syntax-propertize-expansions): Only change syntax on
1363 certain string delimiters, to punctuation. This way the common
1364 functions like forward-word and thing-at-point still work.
1365 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1366 (ruby-block-contains-point): New function.
1367 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1368
ce0440ff
JB
13692012-12-13 Juanma Barranquero <lekktu@gmail.com>
1370
1371 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1372 unload-feature finishes even when aborting an ongoing edebug session.
1373 Also, do not worry about edebug-mode, unload-feature takes care of it.
1374
f10331bf
AS
13752012-12-13 Andreas Schwab <schwab@suse.de>
1376
1377 * net/tls.el (tls-program): Update customize type.
1378
5f3a3bb1
JB
13792012-12-13 Juanma Barranquero <lekktu@gmail.com>
1380
1381 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1382 (edebug-setup-hook, cl-read-load-hooks): Use it.
1383 (edebug-unload-function): New function. (Bug#13163)
1384
6ce21463
MA
13852012-12-13 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1388 Otherwise, there could be errors in autoloading. (Bug#13151)
1389
d754b364
JH
13902012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1391
1392 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1393 sequences.
1394
727f9739 13952012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1396
1397 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1398 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1399 around `forward-comment' not recognizing ^M as whitespace.
1400
727f9739 14012012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1402
1403 * progmodes/python.el (python-skeleton-class)
1404 (python-skeleton-def): Do not add space after defun name.
1405
eb8006c6
SM
14062012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1409 (cl--symbol-function): Remove (now that funbound is like nil).
1410
4c74b1e4
GM
14112012-12-12 Glenn Morris <rgm@gnu.org>
1412
1413 * button.el (button--area-button-p): Fix typo.
1414
37f38bca
SS
14152012-12-12 Sam Steingold <sds@gnu.org>
1416
1417 * frame.el (frame-maximization-style): New user option.
1418 (toggle-frame-maximized): Toggle frame maximization according to
1419 `frame-maximization-style', bound to <f11>.
1420 (cycle-frame-maximized): Cycle between all maximization styles and
1421 non-maximized frame, bound to shift-<f11>.
1422
fd49a218
DC
14232012-12-12 David Cadé <codename68@gmail.com>
1424
1425 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1426
69e1c203
JB
14272012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1428
1429 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1430 (eieio-override-prin1): Don't quote kewords and booleans.
1431 (object-write) <eieio-default-superclass>: Don't put closing parens
1432 on new line, avoid needless empty lines, align values that are objects
1433 with the slot keyword (instead of beginning on the same line).
1434 (eieio-list-prin1): Align value with slot keyword; increase
1435 eieio-print-depth before printing members of the list.
1436
4b0df848
SM
14372012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1438
030f4af5
SM
1439 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1440 a display text-property.
1441 (report-emacs-bug-hook): Don't bother deleting it any more.
1442
6ac1f8ca
SM
1443 * hilit-chg.el (highlight-save-buffer-state): Delete.
1444 Use with-silent-modifications instead.
1445 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1446
4b0df848
SM
1447 * button.el: Handle buttons in display text-properties.
1448 (button--area-button-p, button--area-button-string):
1449 Use (STRING . STRING-POS) representation instead of just STRING.
1450
d46d2d3a
EZ
14512012-12-11 Eli Zaretskii <eliz@gnu.org>
1452
1453 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1454 subdirectory be skipped.
1455
a0099d31
GM
14562012-12-11 Glenn Morris <rgm@gnu.org>
1457
36327e4f
GM
1458 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1459
a0099d31
GM
1460 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1461 Treat preprocessor lines embedded in continuations like comments.
1462 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1463
ff3f6c26
JB
14642012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1465
1466 * calc/calc.el (calc-standard-date-formats): Add more date
1467 formats.
1468 * calc/calc-forms.el (math-parse-iso-date): New function.
1469 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1470 (math-parse-iso-date-validate): Add extra error checking.
1471 (calc-date-notation): Add ability to access new date formats.
1472
ed6f2cd4
SM
14732012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1476 font-lock as well as when there's no text-property.
1477
c868b919
J
14782012-12-10 Jambunathan K <kjambunathan@gmail.com>
1479
1480 * hi-lock.el: Refine the choice of default face.
1481 (hi-lock-keyword->face): New function. Use it wherever we used
1482 cadadadr instead.
1483 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1484 (hi-lock--last-face): Remove var.
1485 (hi-lock--unused-faces): New var to replace it.
1486 (hi-lock-read-face-name): Use/maintain it.
1487 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1488 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1489 if it has another face.
1490
2b8c9064
EZ
14912012-12-10 Eli Zaretskii <eliz@gnu.org>
1492
1493 * subr.el (w32notify-handle-event): New function.
1494 (inotify-handle-event): Doc fix.
1495
81606b10
RS
14962012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1497
1498 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1499
265c2fbf 15002012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1501
1502 * simple.el (just-one-space): Doc fix.
1503
265c2fbf 15042012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1505
c868b919 1506 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1507
265c2fbf 15082012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1509
1510 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1511 narrowed buffer (bug#12361).
1512
265c2fbf 15132012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1514
1515 * vc/vc-hooks.el (vc-state): Doc fix.
1516
265c2fbf 15172012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1518
1519 * mail/rmail.el (rmail-maybe-display-summary):
1520 Preserve buffer, in case select-window changes it. (Bug#13066)
1521
265c2fbf 15222012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1523
1524 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1525 cl-load-hook where they belong.
1526
bad162fd
SM
15272012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1530
ca065258
EZ
15312012-12-09 Eli Zaretskii <eliz@gnu.org>
1532
1533 Parallelize byte compilation on MS-Windows.
1534 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1535 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1536 (WINS_BASIC): Define as concatenation of the above.
1537 (compile): Subdivide into 4 separate and independent jobs that can
1538 be run in parallel.
1539 (compile0-CMD, compile0-SH): New targets for compiling
1540 COMPILE_FIRST files, which are prerequisites for the rest of the
1541 byte-compilation.
bad162fd
SM
1542 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1543 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1544 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1545 compiling under a Unixy shell.
1546
5dea55d2
CY
15472012-12-09 Chong Yidong <cyd@gnu.org>
1548
1549 * simple.el (set-mark-default-inactive): Delete this
1550 accidentally-introduced option.
1551 (set-mark-command, exchange-point-and-mark): Remove calls.
1552
c6c08d3f
GM
15532012-12-09 Glenn Morris <rgm@gnu.org>
1554
1555 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1556 Respect a defcustom's :set function, if appropriate. (Bug#109)
1557 (eval-defun): Doc fix.
1558
858aab4c
JL
15592012-12-08 Juri Linkov <juri@jurta.org>
1560
1561 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1562 (Info-fontify-node, Info-bookmark-make-record): Remove the
1563 file extension from Info-current-file (Bug#13016).
1564
2e4ad7e5
SM
15652012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1568 point, still provide some default.
1569 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1570 names, since we don't use it right now. Actually return the list.
1571 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1572
75498db0
CY
15732012-12-07 Chong Yidong <cyd@gnu.org>
1574
ffe7ba8f
CY
1575 * novice.el (disabled-command-function): Remove a spurious help
1576 xref (Bug#13043). Suggested by Kelly Dean.
1577
454eb095
CY
1578 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1579 syntax is specified (Bug#13025).
1580
75498db0
CY
1581 * info.el (Info-set-mode-line): Remove the file extension from
1582 Info-current-file if there is one (Bug#13016).
1583
13a40633
GM
15842012-12-07 Glenn Morris <rgm@gnu.org>
1585
54c8b5ba
GM
1586 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1587 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1588 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1589 and rmail-mime-decoded. (Bug#9841)
1590
13a40633
GM
1591 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1592 (batch-unrmail, unrmail): Doc fixes.
1593 (unrmail): Respect unrmail-mbox-format.
1594 * mail/rmail.el (rmail-mbox-format): New option.
1595 (rmail-show-message-1): Respect rmail-mbox-format.
1596
4611a3cc
SM
15972012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1598
1599 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1600
1812c724
SM
16012012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1602
338bfefa
SM
1603 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1604 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1605 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1606 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1607 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1608 (cl-progv): Don't rely on dynamic scoping to find the body.
1609 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1610 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1611 (cl-declaim): Use backquotes.
1612 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1613 Use "cl--" prefix for the object's tag.
1614
1812c724
SM
1615 * ses.el: Use advice-add/remove.
1616 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1617 (copy-region-as-kill, yank): Use advice-add.
1618 (ses-unload-function): Use advice-remove.
1619
24fc9480
JB
16202012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1621
1622 * button.el: Make them work in header-lines (bug#12817).
1623 (button-map): Add bindings for header-line and mode-line use.
1624 (button-get, button-put, button-label): `button' may now be a string.
1625 (button-activate): Don't make it a defsubst.
1626 (button--area-button-p, button--area-button-string): New functions.
1627 (make-text-button): Fix the return value when `beg' was a string.
1628 (push-button): Handle the mode-line case.
1629
853c1ffc
SM
16302012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1631
93852cb0
SM
1632 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1633 (sql-signum): Remove. Use `cl-signum' instead.
1634 (sql-read-passwd): Remove; use read-passwd instread.
1635 (sql-get-login-ext): Use read-string.
1636 (sql-get-login): Use dolist and pcase.
1637 (sql--completion-table): Rename from sql-try-completion.
1638 Use complete-with-action.
1639 (sql-mode): Don't change abbrev-all-caps globally.
1640 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1641 (sql-postgres-completion-object): Initialize vars in their `let'.
1642 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1643 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1644 (sql-comint-interbase): Use a single append, without setq.
1645 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1646
853c1ffc
SM
1647 * hi-lock.el: Rework the default face and the serialize regexp code.
1648 (hi-lock--auto-select-face-defaults): Remove.
1649 (hi-lock-string-serialize-serial): Remove.
1650 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1651 make weak.
1652 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1653 equal string.
1654 (hi-lock-set-pattern): Adjust accordingly.
1655 (hi-lock--regexps-at-point): Simplify accordingly.
1656 (hi-lock--auto-select-face-defaults): Remove.
1657 (hi-lock--last-face): New var to replace it.
1658 (hi-lock-read-face-name): Rewrite (bug#11095).
1659 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1660
5504e2c7
MA
16612012-12-06 Michael Albinus <michael.albinus@gmx.de>
1662
853c1ffc
SM
1663 * net/tramp.el (tramp-replace-environment-variables):
1664 Hide compiler warning.
5504e2c7
MA
1665 (tramp-file-name-for-operation): Remove `executable-find',
1666 `start-process', `call-process' and `call-process-region'.
1667
853c1ffc 1668 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1669
1670 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1671 compatibility.
1672
1673 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1674
e1d51545
CY
16752012-12-06 Chong Yidong <cyd@gnu.org>
1676
1677 * ffap.el (ffap-replace-file-component): Fix typo.
1678
d8ad4d3f 16792012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1680
1681 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1682 fix open-paren-like token test (bug#12785).
1683
d8ad4d3f 16842012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1685
1686 * mail/rmailsum.el (rmail-new-summary): Tweak for
1687 rmail-maybe-display-summary changing buffer. (Bug#13066)
1688
d8ad4d3f 16892012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1690
1691 * info.el (Info-fontify-node): Don't hide the last newline.
1692 (Bug#12272)
1693
9ad948e2
KY
16942012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1695
1696 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1697 so as to enable message-read-from-minibuffer to expand mail aliases.
1698
4b5c89ee
SM
16992012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1702 the `intangible' property.
1703 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1704
5602a53a
DD
17052012-12-05 Deniz Dogan <deniz@dogan.se>
1706
1707 * net/rcirc.el (rcirc-urls): Update documentation.
1708 (rcirc-condition-filter): New function.
1709 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1710 and exclude consecutive duplicate URLs (Bug#6082).
1711
51b890ac
MA
17122012-12-05 Michael Albinus <michael.albinus@gmx.de>
1713
d5f97f62
MA
1714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1715 Check return code of copy command.
1716
853c1ffc
SM
1717 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1718 Use group `tramp'. Add version.
51b890ac 1719
04b14f2b
CY
17202012-12-05 Chong Yidong <cyd@gnu.org>
1721
a3680194
CY
1722 * ffap.el (ffap-url-regexp): Don't require matching at front of
1723 string (Bug#4952).
1724 (ffap-url-p): If only a substring matches, return that.
1725 (ffap-url-at-point): Use the return value of ffap-url-p.
1726 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1727 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1728 (ffap-guess-file-name-at-point): Likewise.
1729 (ffap-replace-file-component): Fix typo.
1730
04b14f2b
CY
1731 * info.el (info-display-manual): Add existing Info buffers, whose
1732 files may not be in Info-directory-list, to the completion.
1733 (info--manual-names): New helper function.
1734
49596095
GM
17352012-12-05 Glenn Morris <rgm@gnu.org>
1736
1737 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1738 New functions, for detecting and resolving conflicts. (Bug#10709)
1739
b85aec93
J
17402012-12-04 Jambunathan K <kjambunathan@gmail.com>
1741
1742 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1743 (hi-lock-auto-select-face-defaults): New buffer local variable.
1744 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1745 (hi-lock-unface-buffer): Prompt user with useful defaults.
1746 With prefix arg, unhighlight all hi-lock patterns in buffer.
1747
8515507f
SM
17482012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1751
72cebfb7
MA
17522012-12-04 Michael Albinus <michael.albinus@gmx.de>
1753
1754 * Makefile.in (TRAMP_SRC):
1755 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1756
0ec3f7ea
JH
17572012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1758
1759 * net/tramp-adb.el: New package.
1760
770de7cf
CY
17612012-12-04 Chong Yidong <cyd@gnu.org>
1762
ce3e7725
CY
1763 * terminal.el: Move to obsolete/.
1764
770de7cf
CY
1765 * longlines.el: Move to obsolete/.
1766
1767 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1768 Remove code referring to longlines mode.
1769
c38a186c
JL
17702012-12-03 Juri Linkov <juri@jurta.org>
1771
1772 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1773
329bfd64
AM
17742012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1775
1776 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1777 (ispell-start-process, ispell-internal-change-dictionary):
1778 Make sure personal dictionary name is expanded after initial
1779 `default-directory' value. Use expanded strings for
1780 keep/restart checks and for value (Bug#13019).
329bfd64 1781
77a74935
JB
17822012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1783
1784 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1785
c5bc2d1d 17862012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1787
1788 * files.el (dir-locals-read-from-file): Check file non-empty
1789 before reading. (Bug#13038)
1790
c5bc2d1d 17912012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1792
1793 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1794 Remove any version extension before checking filename. (Bug#13006)
1795 (jka-compr-compression-info-list): Belated :version bump.
1796
c5bc2d1d 17972012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1798
8ecba97d
CY
1799 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1800
a5bf43ba
CY
1801 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1802 (buffer-menu): Doc fix (Bug#12294).
1803
c5bc2d1d 18042012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1805
1806 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1807 of diary-show-all-entries in the diary buffer (Bug#12994).
1808
c5bc2d1d 18092012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1810
1811 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1812 "<STDIN>". This is binary safe.
1813
682ceaf8
JB
18142012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1815
1816 * calc/calc-forms.el (math-absolute-from-iso-dt)
1817 (math-date-to-iso-dt, math-parse-iso-date-validate)
1818 (math-iso-dt-to-date): New functions.
1819 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1820 (math-fd-isoweekday): New variables.
1821 (calc-date-notation, math-parse-standard-date, math-format-date)
1822 (math-format-date-part): Add support for more formatting codes.
1823
db47d5e9
DG
18242012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1825
1826 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1827 current buffer's file name when called interactively (Bug#12488).
1828
3faf4944
JL
18292012-12-02 Juri Linkov <juri@jurta.org>
1830
1831 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1832 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1833
cb5d51dc
YN
18342012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1835
1836 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1837 before using it for comparison (Bug#5297).
1838
f38cd76e
JA
18392012-12-01 Jari Aalto <jari.aalto@cante.net>
1840
1841 * textmodes/css-mode.el (css-current-defun-name): New function.
1842 (css-mode): Use it.
1843
1844 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1845 (html-mode): Use it.
1846
ba03d0d9
CY
18472012-12-01 Chong Yidong <cyd@gnu.org>
1848
1849 Modularize add-log-current-defun (Bug#2224).
1850 Suggested by Jari Aalto.
1851
1852 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1853 (add-log-current-defun): Move mode-specific code to other files.
1854 (add-log-lisp-like-modes, add-log-c-like-modes)
1855 (add-log-tex-like-modes): Variables deleted.
1856
1857 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1858 (lisp-mode-variables): Use it.
1859
1860 * progmodes/cc-mode.el (c-common-init):
1861 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1862 add-log-current-defun-function.
1863
1864 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1865 (m4-mode): Use it.
1866
1867 * progmodes/perl-mode.el (perl-current-defun-name): New.
1868 (perl-mode): Use it.
1869
853c1ffc
SM
1870 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1871 Use lisp-current-defun-name.
ba03d0d9
CY
1872
1873 * textmodes/tex-mode.el (tex-current-defun-name): New.
1874 (tex-common-initialization): Use it.
1875
1876 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1877 (texinfo-mode): Use it.
1878
92eadba5
CY
18792012-12-01 Chong Yidong <cyd@gnu.org>
1880
1881 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1882 * progmodes/autoconf.el (autoconf-mode):
1883 * progmodes/js.el (js-mode):
1884 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1885 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1886 * progmodes/perl-mode.el (perl-mode):
1887 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1888 * textmodes/css-mode.el (css-mode):
1889 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1890 (sgml-tags-invisible, sgml-guess-indent):
1891 * textmodes/tex-mode.el (tex-common-initialization)
1892 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1893 (doctex-mode, plain-tex-mode, latex-mode):
1894 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1895
3ddbf803
KK
18962012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1897
1898 * vc/vc-hg.el (vc-hg-next-revision):
1899 Ensure use of default "tip" output format. (Bug#6968)
1900
f0b6ae63
KS
19012012-12-01 Kim F. Storm <storm@cua.dk>
1902
1903 * startup.el (fancy-startup-tail): Add a clickable link
1904 (Bug#2176).
1905
c01bf73e
CY
19062012-12-01 Chong Yidong <cyd@gnu.org>
1907
1908 * startup.el (fancy-startup-tail): Improve the message about
1909 auto-save files (Bug#2176).
1910
f0b6ae63
KS
1911 * files.el (recover-session): Improve the descriptive message, and
1912 use substitute-command-keys.
1913
a9400458
GM
19142012-12-01 Glenn Morris <rgm@gnu.org>
1915
1916 * ido.el (ido-file-internal):
1917 Handle other-window, other-frame for dired. (Bug#13036)
1918
fb3bf6ce
GM
19192012-11-30 Glenn Morris <rgm@gnu.org>
1920
1921 * icomplete.el (icomplete-separator): Fix :version.
1922
a813fe3f
CY
19232012-11-30 Chong Yidong <cyd@gnu.org>
1924
1925 * shell.el (shell): For C-u M-x shell, use an inactive shell
1926 buffer as the default (Bug#1975).
276479fd
CY
1927 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1928 (shell-mode): Use them to reapply ansi colorization if Shell mode
1929 is re-enabled.
a813fe3f 1930
a8b733a5
CY
19312012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1932
1933 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1934
6fccd6e8
SB
19352012-11-30 Samuel Bronson <naesten@gmail.com>
1936
1937 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1938 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1939
53c9a337
TT
19402012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1941
1942 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1943 by move-to-column (Bug#3234).
1944
ccf520bb
CY
19452012-11-30 Chong Yidong <cyd@gnu.org>
1946
1947 * longlines.el (longlines-wrap-line, longlines-encode-region):
1948 Preserve text properties (Bug#1425).
1949
171b0949
OT
19502012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1951
1952 * vc/vc.el (vc-register): Allow registering a file which is
1953 already registered with a different backend (Bug#10589).
1954
cc37e70f
J
19552012-11-29 Jambunathan K <kjambunathan@gmail.com>
1956 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * icomplete.el: Change separator; add ido-style commands.
1959 (icomplete-show-key-bindings): Remove custom var.
1960 (icomplete-get-keys): Remove function.
1961 (icomplete-forward-completions, icomplete-backward-completions):
1962 New commands.
1963 (icomplete-minibuffer-map): New var.
1964 (icomplete-minibuffer-setup): Use it.
1965 (icomplete-exhibit): Don't delay if the list of completions is known.
1966 (icomplete-separator): New custom.
1967 (icomplete-completions): Use it.
1968 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1969 (minibuffer-force-complete-and-exit): New command.
1970 (minibuffer--complete-and-exit): New function extracted from
1971 minibuffer-complete-and-exit.
1972 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1973
1974 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1975 error message when the file doesn't exist (bug#12974).
1976
31646597
KD
19772012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1978
1979 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1980
e9df8f87
GM
19812012-11-29 Glenn Morris <rgm@gnu.org>
1982
824eefe4
GM
1983 * files.el (hack-dir-local-variables): Warn if try to set
1984 coding via dir-locals, since it doesn't work. (Bug#7169)
1985
4ad900d9
GM
1986 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1987 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1988 Set buffer-local value of desktop-save-buffer.
1989 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1990 New functions.
1991 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1992 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1993
e9df8f87
GM
1994 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1995 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1996 Doc fix.
1997 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1998 Doc fixes.
1999
e7c8fcc4
JB
20002012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2001
2002 * calc/calc-forms.el (calc-date-notation): Fix regexp
2003 used to find time codes. Fix symbol for seconds.
2004
48d6d9c0
GM
20052012-11-27 Glenn Morris <rgm@gnu.org>
2006
2007 * emacs-lisp/derived.el (derived-mode-make-docstring):
2008 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2009
369f945d
SM
20102012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2013 lexically scoped variables (bug#13005).
2014
5c9cf0a3 20152012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2016
999e745e
GM
2017 * vc/vc-hooks.el (vc-mistrust-permissions):
2018 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2019
5c9cf0a3 20202012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2021
999e745e
GM
2022 * progmodes/python.el (python-indent-guess-indent-offset):
2023 If indentation is guessed make python-indent-offset buffer-local.
2024
207cb73c 2025 Fix Imenu regression.
999e745e
GM
2026 * progmodes/python.el (python-nav-beginning-of-defun):
2027 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2028 (python-imenu-prev-index-position): New function.
2029
5c9cf0a3 20302012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2031
2032 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2033
2034 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2035 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2036
5c9cf0a3 20372012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2038
2039 * hippie-exp.el (hippie-expand-try-functions-list):
2040 Re-autoload it. (Bug#12982)
2041
5c9cf0a3 20422012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2043
369f945d
SM
2044 * descr-text.el (describe-char-padded-string):
2045 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2046
5c9cf0a3 20472012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2048
2049 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2050 and obsoletion message.
2051
5c9cf0a3 20522012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2053
2054 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2055 the constructs to keep outside of the `cl-block' (bug#12977).
2056
5c9cf0a3 20572012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2058
2059 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2060 keep reading until we get the up-event anyway, in order to process
2061 the up-event for mouse-1-click-follows-link (Bug#12971).
2062
848a2dd1
SM
20632012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2066 base function is not yet defined (bug#12965).
2067 (ad-activate-advised-definition): Use ad-compile-function.
2068 (ad-activate): Use cond.
2069
9ad79506
LL
20702012-11-25 Leo Liu <sdl.web@gmail.com>
2071
2072 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2073 (Bug#12979)
2074
e2cb57f5
VB
20752012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2076
2077 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2078 reftex-section-info-function in order to be compatible with
2079 Texinfo integration.
2080
2081 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2082 (reftex-section-post-regexp, reftex-section-info-function):
2083 New variable.
2084 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2085 reftex-section-post-regexp, and reftex-section-info-function in order
2086 to be compatible with Texinfo integration.
2087
2088 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2089 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2090 Texinfo integration.
2091
1c4f115d
CY
20922012-11-25 Chong Yidong <cyd@gnu.org>
2093
2094 * faces.el: Make face-spec-set more analogous to setq.
2095 (face-spec-set): Change the third arg to specify whether this
2096 function is being called via defface, customize, or a third party.
2097 Set the appropriate symbol properties. Clear the override spec if
2098 setting via Custom. Initialize face if necessary. (Bug#4988)
2099 (face-spec-recalc): Allow theme faces to completely replace the
2100 defface spec, in the same way as custom faces (Bug#8454).
2101
2102 * cus-face.el (custom-declare-face): Move face initialization to
2103 face-spec-set.
2104 (custom-theme-set-faces): Don't initialize the face name here, as
2105 that is now done in face-spec-set.
2106
2107 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2108 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2109 Simplify by using the new arg to face-spec-set.
2110
2111 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2112 reset face-override-spec too, and use custom-declare-face.
2113
c2350548
JD
21142012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2115
2116 * term/ns-win.el (ns-initialize-window-system): Move creation of
2117 fontsets here (Bug#11964).
2118
ecfc364c
VB
21192012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2120
2121 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2122 cell renaming.
2123
0917cc54
CY
21242012-11-24 Chong Yidong <cyd@gnu.org>
2125
433212bf
CY
2126 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2127 obsolete.
2128
0917cc54
CY
2129 * custom.el (custom-theme-set-variables): Use a topological sort
2130 for ordering by custom dependencies (Bug#12952).
2131 (custom--sort-vars, custom--sort-vars-1): New functions.
2132
d125ca15 21332012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2134
2135 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2136 lexical-binding (bug#12938).
2137
d125ca15 21382012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2139
2140 * image-mode.el (image-transform-check-size): Use assertions only
2141 for images of type imagemagick.
2142
2143 Otherwise no error, image-transform-fit-to-{width,height} is
2144 silently ignored, as before. Doc fix.
2145
d125ca15 21462012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2147
2148 * faces.el (color-defined-p): Doc fix (Bug#12853).
2149
d125ca15 21502012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2151
2152 * dired.el (dired-mark): Add optional arg `interactive'.
2153 Check for `use-region-p' if `interactive' is non-nil.
2154 (dired-unmark, dired-flag-file-deletion): Add optional arg
2155 `interactive'. Call `dired-mark' with the arg `interactive'.
2156 (Bug#10624)
2157
cc4c01bd
JL
2158 * wdired.el: Revert 2012-10-17 change partly and replace it with
2159 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2160 (wdired-finish-edit): Add marks for new file names to
2161 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2162 after `revert-buffer'.
2163 (wdired-do-renames): Remove calls to `dired-remove-file',
2164 `dired-add-file', `dired-add-entry'. (Bug#11795)
2165
d125ca15 21662012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2167
dc310ed0
AM
2168 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2169
b03aabda
AM
2170 Fix bugs in the state cache. Enhance a debugging mechanism.
2171 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2172 "brace at column zero" strategy for C++.
2173 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2174 (c-parse-state-point): New variable.
2175 (c-record-parse-state-state): Record old parse state with
2176 `copy-tree'. Record previous value of point.
2177 (c-debug-parse-state-double-cons): New debugging function.
2178 (c-debug-parse-state): Call the above new function.
2179 (c-toggle-parse-state-debug): Output a confirmatory message.
2180
002c019c
SM
2181 * progmodes/cc-mode.el (c-before-change, c-after-change):
2182 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2183 `c-after-change'.
2184
930a6273
CY
21852012-11-23 Chong Yidong <cyd@gnu.org>
2186
2187 * find-cmd.el (find-constituents): Add executable, ipath,
2188 readable, samefile, writable, daystart, regextype (Bug#12856).
2189
15c9d04e
SM
21902012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2193
2ecb2679
PE
21942012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2195
2196 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2197 definition. This fixes a bootstrap failure.
a14a5a40
PE
2198 (calc-gregorian-switch): In menu, put dates before regions.
2199 This is easier to follow, lines up better in the menu, and lets us
2200 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2201 names, not "Vatican", as that's better for non-expert users.
2202 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2203 Bohemia and Moravia (which existed then and now) and not
2204 Czechoslovakia (which didn't exist then and doesn't exist now).
2205 What is now the U.S. mostly did not switch at the same time as
2206 Britain, so omit the U.S. Correct spelling of "Britain".
2207 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2208
723da6aa
JB
22092012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2210
2211 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2212 after the variable is changed.
2213
21fa2482
DC
22142012-11-21 Daniel Colascione <dancol@dancol.org>
2215
2216 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2217 in SQL declarations for font-lock.
2218 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2219
3ca2f1bf
GM
22202012-11-21 Glenn Morris <rgm@gnu.org>
2221
1bf335cf
GM
2222 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2223 (face-italic-p): Add optional argument "inherit".
2224
3ca2f1bf
GM
2225 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2226 Remove -p suffix from names, for consistency with other set-face-*.
2227 (set-face-inverse-video): Fix interactive spec.
2228 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2229 * textmodes/table.el (table--update-cell-face):
2230 Use set-face-inverse-video rather than now obsolete alias.
2231
6ef2e5ef 22322012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2233
2234 * simple.el (line-move): Don't call line-move-partial if
2235 scroll-conservatively is in effect. (Bug#12927)
2236
6ef2e5ef 22372012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2238
93b05041
SM
2239 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2240 Fallback on completion-at-point rather than
2241 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2242 (eshell-cmpl-initialize): Setup completion-at-point.
2243
2244 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2245
bc715d67
SM
2246 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2247
6ef2e5ef 22482012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2249
2250 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2251 are remote, check out-of-band property for both.
2252
6ef2e5ef 22532012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2254
2255 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2256 code rewrite.
2257
6ef2e5ef 22582012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2259
535efd4a
PE
2260 More minor time fixes.
2261 * calendar/time-date.el: Commentary fix.
2262 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2263 too much other code depends on (0 0) time stamps.
2264 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2265 Add a couple of FIXME comments.
2266
0c93aa38
PE
2267 Minor cleanup for times as lists of four integers.
2268 * files.el (dir-locals-directory-cache):
2269 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2270 Doc fixes.
2271 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2272 * ps-bdf.el (bdf-file-newer-than-time):
2273 Process four-integers time stamps, not two. Doc fixes.
2274
23ba2705
SM
22752012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2e31777b
SM
2277 * uniquify.el (uniquify-managed): Use defvar-local.
2278 (rename-buffer, create-file-buffer): Advise with advice-add.
2279 (uniquify-unload-function): Unadvise accordingly.
2280
8b62d742
SM
2281 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2282 (trace-buffer): Don't purecopy.
2283 (trace-entry-message, trace-exit-message): Add `context' arg.
2284 (trace--timer): New var.
2285 (trace-make-advice): Adjust for use in nadvice.
2286 Add `context' argument. Delay `display-buffer' via a timer.
2287 (trace-function-internal): Use advice-add.
2288 (trace--read-args): New function.
2289 (trace-function-foreground, trace-function-background): Use it.
2290 (trace-function): Rename to trace-function-foreground and redefine as
2291 an alias to that new name.
2292 (untrace-function, untrace-all): Adjust to the use of nadvice.
2293
5d0ccd95
SM
2294 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2295
3837d988
SM
2296 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2297
23ba2705
SM
2298 * subr.el (called-interactively-p-functions): New var.
2299 (internal--called-interactively-p--get-frame): New macro.
2300 (called-interactively-p, interactive-p): Rewrite in Lisp.
2301 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2302 (called-interactively-p-functions): Use it.
2303 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2304 (called-interactively-p-functions): Use it.
2305 * allout.el (allout-called-interactively-p): Don't assume
2306 called-interactively-p is a subr.
2307
b0636be7
GM
23082012-11-20 Glenn Morris <rgm@gnu.org>
2309
2310 * profiler.el (profiler-report-mode-map): Add a menu.
2311 No need to bind `q' because we derive from special-mode.
2312 (profiler-report-find-entry): Handle calls from the menu-bar.
2313
855b17af
SM
23142012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2315
14146222
SM
2316 * emacs-lisp/byte-run.el (defun-declarations-alist):
2317 Allow a compiler-macro to be a lambda expression.
2318
2319 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2320 eval-when-compile.
2321 (python-syntax-context): Add compiler-macro.
2322 (python-font-lock-keywords): Simplify with De Morgan.
2323
1000d895
SM
2324 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2325
ac5392dc
SM
2326 * files.el (load-file): Require match in minibuffer selection, as was
2327 the case in Emacs-20 before we changed the spec to allow .elc files
2328 (bug#12935).
2329
19dc7206
SM
2330 * json.el: Don't require cl since we don't use it.
2331 * color.el: Don't require cl.
2332 (color-complement): `caddr' -> `nth 2'.
2333
855b17af
SM
2334 * calendar/time-date.el (time-to-seconds): De-obsolete.
2335
e8909bdc
JB
23362012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2337
2338 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2339 year numbers.
2340 (math-date-to-julian-dt): Adjust the initial approximation for the
2341 year to deal with the new definition of the DATE.
2342
6e9f7997
DC
23432012-11-19 Daniel Colascione <dancol@dancol.org>
2344
855b17af
SM
2345 * term/w32-win.el (cygwin-convert-path-from-windows):
2346 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2347
6a3dd257
CY
23482012-11-18 Chong Yidong <cyd@gnu.org>
2349
2350 * filecache.el (file-cache--read-list): New function.
2351 (file-cache-add-directory-list, file-cache-add-file-list)
2352 (file-cache-delete-file-list, file-cache-delete-directory-list):
2353 Use it to read a list of files or directories (Bug#12846).
2354 (file-cache-add-file, file-cache-add-directory)
2355 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2356 (file-cache-delete-directory): Print an message.
2357
eef97f35
JB
23582012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2359
2360 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2361 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2362
913c8291
GM
23632012-11-18 Glenn Morris <rgm@gnu.org>
2364
2365 * image.el (insert-image, insert-sliced-image): Doc fix.
2366
2ac9538d 23672012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2368
2369 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2370 (Bug#12810).
2371
2ac9538d 23722012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2373
2374 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2375 response when the target file is in a subdirectory (Bug#12757).
2376
2ac9538d 23772012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2378
2379 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2380
2ac9538d 23812012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2382
9a5e2ee3
GM
2383 * emacs-lisp/cl-lib.el (face-underline-p):
2384 Use set-face-underline rather than the alias set-face-underline-p.
2385
65463c40 2386 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2387 * subr.el (with-output-to-temp-buffer):
2388 Add doc xref to with-temp-buffer-window.
65463c40 2389
c9ed8e3d
JB
23902012-11-18 Juanma Barranquero <lekktu@gmail.com>
2391
2392 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2393 * calc/calc.el (math-format-date-cache): Declare.
2394
310e60d9
PE
23952012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2396
6f6b82d6
PE
2397 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2398 It also uses January 1, 1 AD as its day number 1.
310e60d9 2399 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2400 (math-julian-date-beginning-int): Implement this.
310e60d9 2401
d7fe6352
JB
24022012-11-17 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * descr-text.el (quail-find-key):
2405 * dired.el (desktop-file-name):
2406 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2407 * generic-x.el (comint-mode, comint-exec):
2408 * image-dired.el (widget-forward):
2409 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2410 (speedbar-change-expand-button-char)
2411 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2412 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2413 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2414 (widget-field-action, widget-value-set):
2415 * speedbar.el (imenu--make-index-alist):
2416 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2417 (ring-length, ring-insert):
2418 * vcursor.el (compare-windows-skip-whitespace):
2419 * woman.el (dired-get-filename):
2420 Declare functions.
2421
2422 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2423
c9f618db
JB
24242012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2425
2426 * calc/calc.el (calc-gregorian-switch): New variable.
2427
2428 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2429 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2430 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2431 (math-leap-year-p): Add option to distinguish between Julian
2432 and Gregorian calendars.
2433 (math-day-number): Use `math-day-in-year' to do the computations.
2434 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2435 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2436 to do the computations.
2437 (math-date-to-dt): Use `math-date-to-julian-dt' and
2438 `math-date-to-gregorian-dt' to do the computations.
2439 (calcFunc-weekday, math-format-date-part): Use the new version of
2440 the DATE to determine the weekday.
2441 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2442 when necessary.
2443
3804f7bc
EZ
24442012-11-17 Eli Zaretskii <eliz@gnu.org>
2445
2446 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2447 Cygwin; otherwise use 'file:'. (Bug#12914)
2448 (cygwin-convert-path-from-windows): Declare, to avoid
2449 byte-compiler warnings.
2450
de959d4d
AP
24512012-11-17 Andreas Politz <politza@fh-trier.de>
2452
2453 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2454 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2455 prefix and negative numeric prefix args (Bug#12795).
2456
e45deaef
SB
24572012-11-17 Stephen Berman <stephen.berman@gmx.net>
2458
2459 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2460 Don't signal an error with a score that is too low to add to the
2461 list of top scores. (Bug#12779)
2462
ec15e0ff
CY
24632012-11-17 Chong Yidong <cyd@gnu.org>
2464
8e7696a1
CY
2465 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2466
ec15e0ff
CY
2467 * filecache.el (file-cache-add-file): Handle relative file name in
2468 the argument (Bug#12694).
2469
60c4ee66
JH
24702012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2471
2472 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2473
cdc5d88c
SM
24742012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2475
dd0c5bbb
SM
2476 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2477
cdc5d88c
SM
2478 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2479
0ff7851c
MR
24802012-11-16 Martin Rudalics <rudalics@gmx.at>
2481
2482 * window.el (enlarge-window, shrink-window): Don't mention return
2483 value in doc-string (Bug#12896).
2484 (window--display-buffer): Don't resize frames - it won't work
2485 with all window managers and defeat pop-up-frame-alist.
2486 (display-buffer-alist): In doc-string explain that CONDITION can
2487 be a function and which arguments are passed to it (Bug#12854).
2488 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2489 expressions (Bug#12854).
2490 (display-buffer): Pass ACTION argument to
2491 display-buffer-assq-regexp.
2492
dedd1884
GM
24932012-11-16 Glenn Morris <rgm@gnu.org>
2494
7c82753d
GM
2495 * window.el (fit-frame-to-buffer-bottom-margin)
2496 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2497
dedd1884
GM
2498 * faces.el (face-underline-p): Use face-attribute-specified-or.
2499
96e05507 25002012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2501
2502 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2503
96e05507 25042012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2505
2506 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2507
96e05507 25082012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2509
17c083ac
GM
2510 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2511 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2512
bde3c6c0
GM
2513 * faces.el (face-underline-p): Doc fix. Handle :underline being
2514 things other than `t' (a string, a list).
2515 (face-inverse-video-p): Doc fix.
2516 (set-face-underline): Rename it back from set-face-underline-p.
2517 Doc fix. Allow interactive input of values other than t.
2518 (read-face-attribute): Apply formatting to :underline,
2519 since like :box and :stipple it can take list values.
2520
e2e13f18
GM
2521 * term.el (ansi-term): Don't let C-x escape-char binding
2522 clobber the more standard C-c binding. (Bug#12842)
2523
e0ea8060
GM
2524 * subr.el (set-temporary-overlay-map): Doc fix.
2525
96e05507 25262012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2527
2528 * window.el (record-window-buffer)
2529 (display-buffer-record-window): When copying the markers to
2530 window-point preserve window-point-insertion-type. (Bug#12588)
2531
96e05507 25322012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2533
2534 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2535 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2536 Use new names for hooks rather than obsolete aliases.
2537
faeafc01
DC
25382012-11-15 Daniel Colascione <dancol@dancol.org>
2539
2540 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2541 prefix instead of "file:" so that when FILE-NAME begins with "//",
2542 as it does when the target file is on a network share, url-handler
2543 isn't confused.
2544
1232d6c2
SM
25452012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2548 a preactivated advice from an old advice.el; they're not compatible!
2549
47f01a8a
KY
25502012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2551
2552 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2553 Fix string-spec case.
2554
2555 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2556
a61428c4
SM
25572012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2560 (advice--buffer-local-function-sample): New var.
2561 (advice--set-buffer-local, advice--buffer-local): New functions.
2562 (add-function, remove-function): Use them.
2563
875ce3a7
DA
25642012-11-15 Drew Adams <drew.adams@oracle.com>
2565
2566 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2567
589fc479
SM
25682012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2571 potential binding of print-gensym to t, and prettify (back)quotes in
2572 case they appear in args's default values (bug#12884).
2573
1668ea90
SM
25742012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2577 (advice-eval-interactive-spec): New function.
2578 (advice--make-interactive-form): Support around advice (bug#12844).
2579
8619323f
DG
25802012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2581
2582 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2583 more strict. Add docstring.
c62792e7
DG
2584 (ruby-expression-expansion-re): Extract from
2585 `ruby-match-expression-expansion'.
2586 (ruby-syntax-propertize-function): After everything else, search
2587 for expansions in string literals, mark their insides as
2588 whitespace syntax and save match data for font-lock.
2589 (ruby-font-lock-keywords): Use the 2nd group from expression
2590 expansion matches.
2591 (ruby-match-expression-expansion): Use the match data saved to the
2592 text property in ruby-syntax-propertize-function.
8619323f 2593
9c3912d3
SM
25942012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2597 (bug#12879).
2598
5e9419e8
DG
25992012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2602 start/end keyword a bit harder. Works with different values of N.
2603 Add more comments.
2604 (ruby-end-of-block): Update accordingly.
2605
3c442f8b
SM
26062012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2607
fa470af0
SM
2608 * woman.el (woman-file-name): Don't mess with unread-command-events
2609 (bug#12861).
2610
3c442f8b
SM
2611 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2612 Remove out of date self-require hack.
2613 (ad-do-advised-functions): Use simple `dolist'.
2614 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2615 (ad-advice-definition): Redefine as functions.
2616 (ad-advice-classes): Move before first use.
2617 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2618 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2619 (ad--defalias-fset): Remove functions.
fa470af0 2620 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2621 (ad-get-orig-definition): Rewrite.
2622 (ad-make-advised-definition-docstring): Change base docstring.
2623 (ad-real-orig-definition): Rewrite.
2624 (ad-map-arglists): Change name of called function.
2625 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2626 (ad-make-advised-definition): Simplify.
2627 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2628 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2629 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2630 function and call ad-activate if needed.
2631 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2632 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2633 (ad-compile-function): Compile ad-Advice-*.
2634 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2635 (ad-start-advice, ad-stop-advice): Remove.
2636
5745cae6
DG
26372012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2638
2639 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2640 period before class method names, not after. Remove handling of
2641 one impossible case. Add comments.
2642
413d4689
SM
26432012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2644
7db1bda8
SM
2645 * emacs-lisp/advice.el: Remove support for freezing.
2646 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2647 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2648 Remove support for `freeze'.
2649
413d4689
SM
2650 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2651 override the default.
2652 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2653 cl--dotimes/dolist.
2654 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2655 `cl' is loaded.
2656
2657 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2658 from add-advice.
2659 (advice--strip-macro): New function.
2660 (advice--defalias-fset): Use them to handle macros.
2661 (advice-add): Use them.
2662 (advice-member-p): Correctly handle macros.
2663
f178c32d
DG
26642012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2665
7db1bda8
SM
2666 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2667 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2668
f78ee6af 26692012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2670
2671 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2672
f78ee6af 26732012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2674
2675 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2676 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2677 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2678
f78ee6af 26792012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2680
2681 Fix end-of-defun misbehavior.
2682 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2683 python-beginning-of-defun-function. Handle nested defuns
2684 correctly.
2685 (python-nav-end-of-defun): Rename from
2686 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2687 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2688 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2689 parent defuns as soon as possible.
2690
f78ee6af 26912012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2692
2693 * progmodes/flymake.el (flymake-error-bitmap)
2694 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2695 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2696
f78ee6af 26972012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2698
2699 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2700 backward, always stop at indentation. Reverts the change from
2701 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2702
f78ee6af 27032012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2704
a1d3e07e
GM
2705 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2706 Add ibuffer-filter-by-derived-mode.
2707
84acf328
GM
2708 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2709 the same name shadowing each other.
2710
38785e75
GM
2711 * window.el (with-temp-buffer-window): Doc tweak.
2712
57fc0fee
GM
2713 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2714
6ba6a3e5
GM
2715 * help.el (temp-buffer-max-height):
2716 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2717 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2718
231d8498
SM
27192012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * emacs-lisp/nadvice.el: New package.
2722 * subr.el (special-form-p): New function.
2723 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2724 (elp-all-instrumented-list): Remove var.
2725 (elp-not-profilable): Remove elp-wrapper.
2726 (elp-profilable-p): Use autoloadp and special-form-p.
2727 (elp--advice-name): New const.
2728 (elp-instrument-function): Use advice-add.
2729 (elp--instrumented-p): New predicate.
2730 (elp-restore-function): Use advice-remove.
2731 (elp-restore-all, elp-reset-all): Use mapatoms.
2732 (elp-set-master): Use elp--instrumented-p.
2733 (elp--make-wrapper): Rename from elp-wrapper, return a function
2734 suitable for advice-add. Use cl-inf.
2735 (elp-results): Use mapatoms+elp--instrumented-p.
2736 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2737 (debug-function-list): Remove var.
2738 (debug): Rename arg, and then let-bind it explicitly inside.
2739 (debugger-setup-buffer): Rename arg.
2740 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2741 (debugger-frame-number): Adjust to new debug-on-entry setup.
2742 (debug--implement-debug-on-entry): Rename from
2743 implement-debug-on-entry, add argument.
2744 (debugger-special-form-p): Remove, use special-form-p instead.
2745 (debug-on-entry): Use advice-add.
2746 (debug--function-list): New function.
2747 (cancel-debug-on-entry): Use it, along with advice-remove.
2748 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2749 (debugger-list-functions): Use debug--function-list instead of
2750 debug-function-list.
2751 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2752 (ad-special-form-p): Remove, use special-form-p instead.
2753 (ad-set-advice-info): Use add-function and remove-function.
2754 (ad--defalias-fset): Adjust accordingly.
2755
19e09879
GM
27562012-11-10 Glenn Morris <rgm@gnu.org>
2757
714cebd1
GM
2758 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2759 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2760 (report-emacs-bug-create-existing-bugs-buffer)
2761 (report-emacs-bug-parse-query-results)
2762 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2763
bf67dafa
GM
2764 * term.el (term-default-fg-color, term-default-bg-color):
2765 Make obsolete, rather than just saying "deprecated" in the doc.
2766
19e09879
GM
2767 * term.el (term): Rename from `term-face'.
2768 (term-current-face, ansi-term-color-vector)
2769 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2770 Update all users.
2771
6baf66d5 27722012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2773
2774 * server.el (server-create-window-system-frame): Handle Nextstep
2775 specially (Bug#12780).
2776
6baf66d5 27772012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2778
2779 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2780 Unautoload, and make obsolete. (Bug#7449)
2781
6baf66d5 27822012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2783
2784 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2785 rename from diff-remove-trailing-whitespace (Bug#12831).
2786
6baf66d5 27872012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2788
2789 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2790 miscompilation of trace.el.
2791
6baf66d5 27922012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2793
2794 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2795
6baf66d5 27962012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2797
2798 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2799 (bug#12812).
2800
6baf66d5 28012012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2802
2803 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2804 a defcustom with an appropriate :set function.
2805 (minibuffer-default--in-prompt-regexps): New function.
2806
6baf66d5 28072012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2808
031b2ea7
GM
2809 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2810 (define-modify-macro): Doc fixes.
2811
2ee1d59f
GM
2812 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2813 (gv-define-simple-setter): Update doc of `fix-return'.
2814
6baf66d5 28152012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2816
b715ed44
SM
2817 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2818 twice when `fix-return' is set (bug#12813).
2819
d57c286e
SM
2820 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2821 gv-define-simple-setter (bug#12812).
2822
c9cac599
SM
2823 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2824 (bug#12756).
2825
6baf66d5 28262012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2827
2828 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2829
5593ed90
GM
2830 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2831 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2832 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2833 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2834
2835 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2836
05a859c1
LL
28372012-11-10 Leo Liu <sdl.web@gmail.com>
2838
2839 * ido.el (ido-set-matches-1): Improve flex matching performance by
2840 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2841
32e5c58c
SM
28422012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2845 (ad--defalias-fset): New function.
2846 (ad-safe-fset): Remove.
2847 (ad-make-freeze-definition): Use cl-letf*.
2848
f5925cd9
SM
28492012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2850
da03ef8a
SM
2851 * subr.el (dolist): Don't bind VAR in RESULT.
2852
6858633a
SM
2853 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2854 (fset, documentation): Don't save real def since we don't advise.
2855 (ad-do-advised-functions): Remove problematic `result-form'.
2856 (ad-safe-fset): `ad-real-fset' => `fset'.
2857 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2858 uses CL's dolist internally.
2859 (ad-arglist): Remove unused arg `name'.
2860 (ad-docstring, ad-make-advised-docstring):
2861 `ad-real-documentation' => `documentation'.
2862 (warning-suppress-types): Declare.
2863 (ad-set-arguments): Simple CSE.
2864 (ad-recover-normality): Sanity check.
2865
f5925cd9
SM
2866 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2867 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2868
93a66b3a
VB
28692012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2870
2871 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2872 `ses-cell'. This means that the same mapping is done for all SES
2873 sheets. That is good enough for cells with standard A1 names, but
2874 not for named cell. So a hash map is added for the latter.
2875 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2876 (ses-sym-rowcol): Use hashmap for named cell.
2877 (ses-is-cell-sym-p): New defun.
2878 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2879 (ses-create-cell-variable): Add cell to hashmap when name is not
2880 A1-like.
93a66b3a
VB
2881 (ses-rename-cell): Check that cell new name is not already in
2882 spreadsheet with the use of ses-is-cell-sym-p
2883 (ses-rename-cell): Use hash map for named cells, but accept also
2884 renaming back to A1-like.
2885
67dd8ad1
SM
28862012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2887
57618ecf
SM
2888 * emacs-lisp/advice.el: Use new dynamic docstrings.
2889 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2890 Use dynamic-docstring-function instead of ad-advice-info.
2891 (ad--make-advised-docstring): New function extracted from
2892 ad-make-advised-docstring.
2893 (ad-make-advised-docstring): Use it.
2894 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2895 from sql-help.
2896 (sql-help): Use it with dynamic-docstring-function.
2897
67dd8ad1
SM
2898 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2899
be883b34
SM
29002012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2901
d41706aa
SM
2902 * files.el (hack-one-local-variable--obsolete): New function.
2903 (hack-one-local-variable): Use it for obsolete settings.
2904
85e55412
SM
2905 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2906 the new name.
2907
be883b34
SM
2908 * progmodes/js.el (js--filling-paragraph): New var.
2909 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2910 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2911 less sneaky.
2912
cabc040a
JD
29132012-11-08 Julien Danjou <julien@danjou.info>
2914
2915 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2916 `auto-mode-alist' (Bug#12835).
2917
d14bb752
SM
29182012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2919
79b3e376
SM
2920 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2921 (perl--prettify-symbols-alist): New const.
2922 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2923 New functions.
2924 (perl-font-lock-keywords-2): Use them.
2925 (perl-electric-noindent-p): New function.
2926 (perl-mode): Use it to set up electric-indent-mode.
2927 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2928 (perl-mode-map): Remove bindings for them.
2929 (perl-imenu-generic-expression, perl-outline-level):
2930 Match functions&packages in column>0.
2931
3b11e6ac
SM
2932 * env.el (env--substitute-vars-regexp): New const.
2933 (substitute-env-vars): Use it. Add `only-defined' arg.
2934 * net/tramp.el (tramp-replace-environment-variables): Use it.
2935
784c1a7b
SM
2936 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2937 Byte-compile *before* eval in eval-and-compile.
2938 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2939 (byte-compile-file-form-autoload): Don't hide actual definition.
2940 (byte-compile-maybe-guarded): Accept `functionp' as well.
2941
d14bb752
SM
2942 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2943
499a0f7a
MA
29442012-11-07 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * notifications.el (notifications-get-server-information-method):
2947 New defconst.
2948 (notifications-get-capabilities): Fix docstring.
2949 (notifications-get-server-information): New defun.
2950
f0704a9a
AM
29512012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2952
2953 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2954 readability.
2955
b159a1fd
AM
2956 * textmodes/ispell.el: Experimental support for support debugging.
2957 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2958 buffer for ispell.
2959 (ispell-print-if-debug): New function to print stuff to
2960 `ispell-debug-buffer' if debugging is enabled.
2961 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2962 show some debugging info.
2963 (ispell-buffer-with-debug): New function that creates a debugging
2964 buffer and calls `ispell-buffer' with debugging enabled.
2965
056cb3a1
AM
2966 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2967 comment in autoconf mode. (Bug#12768)
2968
8e6a67b7
DA
29692012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2970
2971 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2972 frame-first-window, frame-root-window, frame-selected-window,
2973 minibuffer-selected-window, minibuffer-window,
2974 window-absolute-pixel-edges, window-at, window-body-height,
2975 window-body-width, window-display-table, window-combination-limit,
2976 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2977 window-inside-edges, window-inside-pixel-edges, window-left-child,
2978 window-left-column, window-margins, window-next-buffers,
2979 window-next-sibling, window-new-normal, window-new-total,
2980 window-normal-size, window-parameter, window-parameters, window-parent,
2981 window-pixel-edges, window-point, window-prev-buffers,
2982 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2983 window-start, window-text-height, window-top-child, window-top-line,
2984 window-total-height, window-total-width and window-use-time to the list
2985 of functions without side-effects.
2986 (toplevel): Add window-valid-p to the list of error-free functions
2987 without side-effects.
2988
53fc914f
AM
29892012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2990
f5925cd9
SM
2991 * textmodes/ispell.el (ispell-program-name):
2992 Update spellchecker parameters when customized.
53fc914f 2993
9749e2b0
GM
29942012-11-04 Glenn Morris <rgm@gnu.org>
2995
2996 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2997
2cbafa56
CY
29982012-11-04 Chong Yidong <cyd@gnu.org>
2999
3000 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3001 same-window-* variables.
3002
85178ca1
JL
30032012-11-04 Juri Linkov <juri@jurta.org>
3004
3005 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3006 (isearch-describe-key, isearch-describe-mode): Use a display
3007 action instead of binding same-window-* variables (Bug#10040).
3008
5c677d44
GM
30092012-11-03 Glenn Morris <rgm@gnu.org>
3010
49138400
GM
3011 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3012 Rename handler properties back from cl-- to cl-. (Bug#12788)
3013
5c677d44
GM
3014 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3015
1d4341f9
EZ
30162012-11-03 Eli Zaretskii <eliz@gnu.org>
3017
3018 * term/pc-win.el: Don't load term/internal from here.
3019
3020 * loadup.el: Load term/internal from here.
3021
12fd5ee1
FEG
30222012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3023
3024 * progmodes/python.el (inferior-python-mode): Fix hang in
3025 jit-lock (Bug#12645).
3026
43bcfda6
MR
30272012-11-03 Martin Rudalics <rudalics@gmx.at>
3028
3029 * window.el (switch-to-visible-buffer)
3030 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3031
376a8e83
GM
30322012-11-03 Glenn Morris <rgm@gnu.org>
3033
3034 * emacs-lisp/cl-lib.el (cl--random-time):
3035 Rename from cl-random-time. (Bug#12773)
3036 (cl--gensym-counter, cl--random-state): Update callers.
3037 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3038
0f7b074f
CY
30392012-11-03 Chong Yidong <cyd@gnu.org>
3040
3041 * cus-start.el: Make cursor-type customizable (Bug#11633).
3042
3a6851d9
GM
30432012-11-02 Glenn Morris <rgm@gnu.org>
3044
00a3b041
GM
3045 * filecache.el: No need to load find-lisp when compiling.
3046 (find-lisp-find-files): Autoload it.
3047 (file-cache-add-directory-recursively): Don't require find-lisp.
3048
11fef14a
GM
3049 * image.el (image-type-from-file-name): Trivial simplification.
3050
3a6851d9
GM
3051 * emacs-lisp/bytecomp.el (byte-compile-eval):
3052 Decouple "noruntime" and "cl-functions" warnings.
3053
b4b096e4
SB
30542012-11-01 Stephen Berman <stephen.berman@gmx.net>
3055
3056 * play/gomoku.el (gomoku-display-statistics): Update mode line
3057 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3058
218e997a
MR
30592012-10-31 Martin Rudalics <rudalics@gmx.at>
3060
3061 * window.el (quit-restore-window): If the window has been
3062 created on an existing frame and ended up as the sole window on
3063 that frame, do not delete it (Bug#12764).
3064
b08b6da7
SM
30652012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3618df45
SM
3067 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3068 Rename from sh--inside-arithmetic-expression, handle more cases
3069 (bug#11263).
3070
b08b6da7
SM
3071 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3072 (sh-font-lock-open-heredoc): Use it (bug#12770).
3073
4ddedf94
GM
30742012-10-30 Glenn Morris <rgm@gnu.org>
3075
f43a5263
GM
3076 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3077
4ddedf94
GM
3078 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3079
748b0d84
CY
30802012-10-29 Chong Yidong <cyd@gnu.org>
3081
b5dd9a77
CY
3082 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3083 function key is stored in a keyboard macro (Bug#4894).
3084
748b0d84
CY
3085 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3086
e07fcbdc
SM
30872012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3088
d7f9cc85
SM
3089 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3090 header comments".
3091 (diff-unified->context, diff-context->unified)
3092 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3093
c606253c
SM
3094 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3095
e07fcbdc
SM
3096 * files.el (find-alternate-file): Only ask one question (bug#12487).
3097
894b9dd9
CY
30982012-10-29 Chong Yidong <cyd@gnu.org>
3099
1dc2755a
CY
3100 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3101 Suggested by Dan Nicolaescu (Bug#6326).
3102
329c48d8
CY
3103 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3104
2230fa5b 3105 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3106
e84cad57
CY
3107 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3108
1913c5f5
CY
3109 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3110
894b9dd9
CY
3111 * face-remap.el (face-remap-add-relative): Handle the case where a
3112 face-remapping-alist entry is a cons cell (Bug#12762).
3113
329c48d8
CY
31142012-10-29 Kevin Ryde <user42@zip.com.au>
3115
3116 * woman.el (woman-parse-numeric-value): Handle picas correctly
3117 (Bug#12639).
3118
a0ccbcbd
GM
31192012-10-29 Glenn Morris <rgm@gnu.org>
3120
3121 * emacs-lisp/cl.el (defsetf): Doc fix.
3122
b3871e59
SM
31232012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3124
3125 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3126 syntax to the matching opener, if any (bug#12547).
3127 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3128 matching open as a "case-(".
3129 (sh-smie-rc-grammar): Add a corresponding rule for it.
3130
cd44022c
DH
31312012-10-28 Daniel Hackney <dan@haxney.org>
3132
3133 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3134 "PKGNAME-autoloads.el" in case we created it.
3135
70edffb1
SM
31362012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3137
86957a0c
SM
3138 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3139 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3140 (completion--twq-all): Disable too-strict assertions.
86957a0c 3141
70edffb1
SM
3142 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3143
d069271c
EZ
31442012-10-27 Eli Zaretskii <eliz@gnu.org>
3145
3146 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3147 text to match the real keybindings.
3148
e2f022a3
JL
31492012-10-27 Juri Linkov <juri@jurta.org>
3150
3151 * wdired.el (wdired-keep-marker-rename): New defcustom.
3152 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3153 (Bug#11795)
3154
3155 * dired.el (dired-keep-marker-rename): Add reference to
3156 `wdired-keep-marker-rename' in the docstring.
3157 Add default character value ?R to display initially in
3158 Customization UI instead of ?@.
3159
df171c23
MR
31602012-10-27 Martin Rudalics <rudalics@gmx.at>
3161
3162 * window.el (display-buffer): In doc-string describe
3163 window-height and window-width alist entries.
3164
3165 * time.el (display-time-world): Restore fit-window-to-buffer
3166 behavior.
3167
05b621a6
CY
31682012-10-27 Chong Yidong <cyd@gnu.org>
3169
3170 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3171
55f197b2
J
31722012-10-26 Jambunathan K <kjambunathan@gmail.com>
3173
3174 * minibuffer.el (completion-category-overrides): New completion
3175 category `bookmark' (bug#11131).
3176
372212df
SM
31772012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3178
150f809c
SM
3179 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3180 Silence bogus compiler warnings for ad-do-it.
3181
372212df
SM
3182 * bookmark.el (bookmark-completing-read): Set the completion category
3183 to `bookmark' (bug#11131).
3184
c5772569
B
31852012-10-26 Bastien <bzg@altern.org>
3186 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * face-remap.el: Use lexical-binding.
3189 (text-scale-adjust): Improve docstring. Use itself for the temporary
3190 overlay-map bindings, so as to repeat the "Use..." message each time.
3191
a2be0357
SM
31922012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3193
63314e57
SM
3194 * emacs-lisp/macroexp.el (macroexp--expand-all):
3195 Obey byte-compile-warning-enabled-p (bug#12486).
3196
a2be0357
SM
3197 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3198 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3199
8c7727c3
MR
32002012-10-26 Martin Rudalics <rudalics@gmx.at>
3201
3202 * mouse.el (mouse-drag-line): Move last form into preceding when
3203 clause (Bug#12731).
3204
3205 * help.el (resize-temp-buffer-window): Fix doc-string.
3206
3f2a848d
DE
32072012-10-25 David Engster <deng@randomsample.de>
3208
3209 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3210 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3211
3212 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3213 always loaded. Require `speedbar' unconditionally.
3214
a7723be6
SM
32152012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3216
aaabfc8b
SM
3217 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3218
414a8595
SM
3219 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3220
fb5b9475
SM
3221 * net/ldap.el (ldap-search-internal): The official ldif format starts
3222 with a "version: 1" header (bug#12724).
3223
a7723be6
SM
3224 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3225 (bug#12721).
3226
a05cb6e3
GM
32272012-10-25 Glenn Morris <rgm@gnu.org>
3228
3229 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3230
3c92de70
SM
32312012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * minibuffer.el (minibuffer-force-complete): Use one more marker
3234 for the temporary-overlay-map command (bug#12619).
3235
a4b6d7c6
CY
32362012-10-24 Chong Yidong <cyd@gnu.org>
3237
3238 * time.el (display-time-world-mode): Derive from special-mode.
3239 (display-time-world): Use display-buffer (Bug#12708).
3240 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3241 (display-time-world-display): Wrap the final delete-char inside
3242 inhibit-read-only.
a4b6d7c6 3243
75e8f9d2
CY
32442012-10-24 Chong Yidong <cyd@gnu.org>
3245
cd996018
CY
3246 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3247 Doc fix.
3248
75e8f9d2
CY
3249 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3250
d92df117
SM
32512012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * minibuffer.el (completion--all-sorted-completions-location): New var.
3254 (completion--cache-all-sorted-completions)
3255 (completion--flush-all-sorted-completions): Use it.
3256 (completion-in-region, completion-in-region--postch)
3257 (completion-at-point, completion-help-at-point): Use markers in
3258 completion-in-region--data (bug#12619).
3259
9c3e39f3
SM
32602012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3261
c79825bd
SM
3262 * progmodes/compile.el (compilation-start): Try to handle common
3263 quoting of `cd' argument (bug#12640).
3264
9c3e39f3
SM
3265 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3266 (bug#12671).
3267
a6709bc7
GM
32682012-10-23 Glenn Morris <rgm@gnu.org>
3269
3270 * progmodes/gud.el (gud-menu-map):
3271 Check gdb-active-process is bound. (Bug#12358)
3272
d1069532
SM
32732012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3274
d20d69c0
SM
3275 * repeat.el (repeat): Set real-this-command (bug#12232).
3276
d1069532
SM
3277 * htmlfontify.el (hfy-post-html-hook):
3278 * filesets.el (filesets-cache-fill-content-hook):
3279 * arc-mode.el (archive-extract-hook):
3280 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3281 * net/rcirc.el (rcirc-sentinel-functions)
3282 (rcirc-receive-message-functions, rcirc-activity-functions)
3283 (rcirc-print-functions):
3284 * net/dbus.el (dbus-event-error-functions):
3285 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3286 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3287 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3288 * term/sun.el (sun-raw-prefix-hooks):
3289 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3290
f7eac6d8
MA
32912012-10-23 Michael Albinus <michael.albinus@gmx.de>
3292
d1069532
SM
3293 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3294 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3295 (tramp-smb-wait-for-output): Add timeout to
3296 `tramp-accept-process-output' calls.
3297
608d9d7c
CY
32982012-10-23 Chong Yidong <cyd@gnu.org>
3299
49238e7f
CY
3300 * faces.el (font-list-limit): Define as an obsolete variable.
3301
3302 * startup.el (command-line):
3303 * cus-start.el: Don't refer to font-list-limit.
3304
608d9d7c
CY
3305 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3306
4ff5b1b2
SM
33072012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * subr.el (internal-temp-output-buffer-show): Rename from
3310 temp-output-buffer-show, since previously compiled files expect this name.
3311
ea1d4aac
GM
33122012-10-23 Glenn Morris <rgm@gnu.org>
3313
3314 * image.el (image-type-from-file-name): If multiple types match,
3315 return the first one that is supported. (Bug#9045)
3316
eda82a31
GM
33172012-10-22 Glenn Morris <rgm@gnu.org>
3318
3319 * image.el (imagemagick-enabled-types): Doc fix.
3320
4f020bec
TA
33212012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3322
3323 * progmodes/which-func.el (which-func-current): The hash-table may have
3324 an explicit nil (bug#12338).
3325
c77d37e2
SM
33262012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * electric.el (electric-pair-delete-selection-self-insert-function):
3329 Rename to electric-pair-will-use-region, return a boolean.
3330 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3331
3332 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3333 (delete-selection-pre-hook): Use use-region-p.
3334 (delete-selection-self-insert-function): Remove.
3335 (self-insert-command): Obey self-insert-uses-region-functions.
3336 (self-insert-iso): Revert to previous setting, since we don't actually
3337 know what that command does.
3338 (delete-selection-self-insert-hooks): Remove.
3339
b1d39ccc
SL
33402012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3341
3342 * delsel.el (delete-selection-helper): New function, extracted from
3343 delete-selection-pre-hook.
3344 (delete-selection-pre-hook): Use it.
3345 (delete-selection-self-insert-function): New function.
3346 (delete-selection-self-insert-hooks): New hook.
3347 (self-insert-command, self-insert-iso): Use it.
3348 * electric.el (electric-pair-syntax): New function, extracted from
3349 electric-pair-post-self-insert-function.
3350 (electric-pair-post-self-insert-function): Use it.
3351 (electric-pair-delete-selection-self-insert-function): New function.
3352 (electric-pair-mode): Require delsel and setup
3353 delete-selection-self-insert-hooks (bug#11520).
3354
045ef729
CY
33552012-10-20 Chong Yidong <cyd@gnu.org>
3356
4c5d08a8
CY
3357 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3358 no changes to show (Bug#12586).
3359
045ef729
CY
3360 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3361 list explicitly (Bug#12571).
3362
3503c798 33632012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3364
b1d39ccc
SL
3365 * progmodes/flymake.el (flymake-create-temp-inplace):
3366 Use file-truename.
79e1997a 3367
2068905b
EZ
33682012-10-20 Eli Zaretskii <eliz@gnu.org>
3369
3370 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3371
4c9e9550
JB
33722012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3373
3374 * calc/calc-units.el (math-extract-units): Properly extract powers
3375 of units.
3376
1a6e7e38
DC
33772012-10-20 Daniel Colascione <dancol@dancol.org>
3378
3379 * frame.el (make-frame): Set x-display-name as we used to in order
3380 to unbreak creating an X11 frame from an Emacs daemon started
3381 without a display.
3382
8e808318
SM
33832012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3386 the same completion-field (bug#12221).
8e808318 3387
fb0104da
MR
33882012-10-19 Martin Rudalics <rudalics@gmx.at>
3389
3390 * emacs-lisp/debug.el (debug): Record height of debugger window
3391 also when debugger will be back (Bug#8789).
3392
8c27235e
CY
33932012-10-18 Chong Yidong <cyd@gnu.org>
3394
3395 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3396 Convert to defcustom.
3397 (gdb-get-source-file): Don't bind pop-up-windows.
3398
3399 * progmodes/gud.el (gud-display-line): Don't specially re-use
3400 other frames for the gdb-mi case (Bug#12648).
3401
90eacf99
SM
34022012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3403
aaf0c300
SM
3404 * emacs-lisp/advice.el: Clean up commentary a bit.
3405 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3406 (byte-code-function-p): Never redefine.
3407
90eacf99
SM
3408 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3409
281c9d2b
GM
34102012-10-18 Glenn Morris <rgm@gnu.org>
3411
40714e3d
GM
3412 * dired.el (dired-sort-toggle): Some ls implementations only allow
3413 a single option string. (Bug#12666)
3414
281c9d2b
GM
3415 * minibuffer.el (completion-cycle-threshold): Doc fix.
3416
b278604e
KH
34172012-10-17 Kenichi Handa <handa@gnu.org>
3418
90eacf99
SM
3419 * international/mule.el (set-keyboard-coding-system):
3420 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3421 Supply TERMINAL arg to set-input-meta-mode.
3422
df171c23 34232012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3424
3425 * wdired.el (wdired-old-marks): New variable.
3426 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3427 (wdired-do-renames): Move point with renamed file and don't lose
3428 mark status (Bug#11795).
3429
e5a94ec4
JL
34302012-10-16 Juri Linkov <juri@jurta.org>
3431
3432 * replace.el (query-replace-help): Mention multi-buffer replacement
3433 keys in the Help message. (Bug#12655)
3434
d18a0d24
CY
34352012-10-15 Chong Yidong <cyd@gnu.org>
3436
3437 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3438
8111f5e6
EZ
34392012-10-14 Eli Zaretskii <eliz@gnu.org>
3440
7b9abf24
EZ
3441 * window.el (display-buffer): Doc fix.
3442
8111f5e6
EZ
3443 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3444 Adjust the msft regexp to the output of Studio 2010, and move msft
3445 before edg-1. See the discussion on emacs-devel,
3446 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3447 for the details.
3448
5046ef67
SM
34492012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3450
9760c73c
SM
3451 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3452 (oset): Move uses of object-class-fast macro after its definition.
3453
5046ef67
SM
3454 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3455
0d11ff1c
CY
34562012-10-13 Chong Yidong <cyd@gnu.org>
3457
3458 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3459 enabled, re-enable it (Bug#11963).
3460
88ded8ac
MR
34612012-10-13 Martin Rudalics <rudalics@gmx.at>
3462
3463 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3464 non-nil, restore window configuration (Bug#12623).
3465
bd0ffffd
SM
34662012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3467
06485aa8
SM
3468 * help-fns.el (describe-variable, describe-function-1):
3469 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3470
bd0ffffd
SM
3471 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3472
3a989246
GM
34732012-10-12 Glenn Morris <rgm@gnu.org>
3474
3475 * mail/rmailsum.el (rmail-header-summary):
3476 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3477
55cd00c8
FEG
34782012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3479
bd0ffffd
SM
3480 * progmodes/python.el (python-mode-map):
3481 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3482 (python-nav--up-list): Fix behavior for blocks on the same level.
3483
ac9fc2c7
SM
34842012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3485
d8cc4c00 3486 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3487
5253a5fd
SM
3488 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3489 changes to the format of load-history.
3490
ac9fc2c7
SM
3491 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3492 completion-ignore-case in case that var is buffer-local (bug#12615).
3493
cde44a77
KH
34942012-10-11 Kenichi Handa <handa@gnu.org>
3495
3496 * international/eucjp-ms.el: Re-generated.
3497
4ef4a10d
KH
34982012-10-10 Kenichi Handa <handa@gnu.org>
3499
3500 * select.el (xselect--encode-string): If a coding is specified for
3501 selection, and that is compatible with COMPOUND_TEXT, use it.
3502
9d7f027b
MR
35032012-10-10 Martin Rudalics <rudalics@gmx.at>
3504
3505 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3506 (switch-to-buffer):
3507 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3508
238f3a58
SM
35092012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3512 Don't document nil as a useful value (bug#12583).
3513
1d51f99c
MA
35142012-10-09 Michael Albinus <michael.albinus@gmx.de>
3515
238f3a58
SM
3516 * net/tramp.el (tramp-debug-message):
3517 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3518 (with-tramp-progress-reporter): Rename from
3519 `tramp-with-progress-reporter'.
238f3a58
SM
3520 (with-tramp-file-property, with-tramp-connection-property):
3521 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3522 `with-connection-property', respectively.
3523
3524 * net/tramp-cache.el: Remove `with-file-property' and
3525 `with-connection-property'.
3526
3527 * net/tramp.el:
3528 * net/tramp-gvfs.el:
3529 * net/tramp-sh.el:
3530 * net/tramp-smb.el: Adapt callees.
3531
3532 * net/trampver.el: Update release number.
3533
26b77251
GM
35342012-10-09 Glenn Morris <rgm@gnu.org>
3535
9a5f296f
GM
3536 * w32-fns.el (set-message-beep):
3537 * term/w32-win.el (set-message-beep): Update declarations.
3538
94c66ce5
SM
35392012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3540
10766e9e
SM
3541 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3542 (mode-line-widen, mode-line-input-method-map)
3543 (mode-line-coding-system-map, mode-line-remote)
3544 (mode-line-unbury-buffer, mode-line-bury-buffer)
3545 (mode-line-next-buffer, mode-line-previous-buffer):
3546 Replace save-selected-window+select-window => with-selected-window.
3547
f754db08
SM
3548 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3549 * progmodes/cc-vars.el (bq-process): Remove, unused.
3550
94c66ce5
SM
3551 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3552
a4ff7fe1
FEG
35532012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3554
3555 Implemented `backward-up-list'-like navigation.
3556 * progmodes/python.el (python-nav-up-list)
3557 (python-nav-backward-up-list): New functions.
3558 (python-mode-map): Define substitute key for backward-up-list to
3559 python-nav-backward-up-list.
3560
24517d82
FEG
35612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3562
3563 * progmodes/python.el (python-fill-paragraph): Rename from
3564 python-fill-paragraph-function. Fixed fill-paragraph for
3565 decorators (Bug#12605).
3566
51867ae2
FEG
35672012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3568
3569 * progmodes/python.el (python-shell-output-filter): Handle extra
3570 carriage return in OSX (Bug#12409).
3571
a5b773c4
FEG
35722012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3573
3574 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3575 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3576 (python-syntax-propertize-function): Use it.
3577 (python-shell-output-syntax-table): New var.
3578 (inferior-python-mode): Prevent unbalanced parens/quotes from
3579 previous output mess with current input context.
3580
13373538
JB
35812012-10-08 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3584 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3585
775a132d
MA
35862012-10-08 Michael Albinus <michael.albinus@gmx.de>
3587
3588 * ffap.el (ffap-replace-file-component): Support Tramp file name
3589 syntax, not only ange-ftp's one.
3590
3ab44929
GM
35912012-10-08 Glenn Morris <rgm@gnu.org>
3592
57f1dee4
GM
3593 * cus-start.el (message-log-max): Set :version.
3594
3ab44929
GM
3595 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3596
6a088630
MR
35972012-10-08 Martin Rudalics <rudalics@gmx.at>
3598
3599 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3600 the minibuffer window (Bug#10851).
3601
8dbce54c
FEG
36022012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3603
3604 Enhancements on forward-sexp movement.
3605 * progmodes/python.el (python-nav-beginning-of-statement)
3606 (python-nav-end-of-statement): Return point-marker.
3607 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3608 (python-info-current-symbol)
3609 (python-info-statement-starts-block-p): Rename from
3610 python-info-beginning-of-block-p.
3611 (python-info-statement-ends-block-p): Rename from
3612 python-info-end-of-block-p.
3613 (python-info-beginning-of-statement-p)
3614 (python-info-end-of-statement-p)
3615 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3616 New functions.
3617
5acd2b3e
SM
36182012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3621 frame-selected-windows.
3622
e08348a0
DC
36232012-10-08 Daniel Colascione <dancol@dancol.org>
3624
3625 * battery.el (battery-status-function): Check for
3626 w32-battery-status itself, not system-time windows-nt.
3627
3628 * frame.el: Require cl-lib.
3629 (display-format-alist): New variable mapping frame types to
3630 functions that initialize them.
3631 (window-system-for-display): New function: interprets
3632 display-format-alist.
3633 (make-frame-on-display): Remove existing display-selection logic
3634 and just forward to make-frame, which will now DTRT.
3635 (make-frame): Restructure to use window-system-for-display to
3636 figure out how to create a frame on a given display.
3637 (display-mouse-p): Look for frame-type w32, not a particular
3638 system-type.
3639
3640 * loadup.el: Load w32 lisp code when we have the w32 feature.
3641
3642 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3643 system-type windows-nt.
3644
3645 * server.el (server-create-window-system-frame): Look for window
3646 type.
3647 (server-proces-filter): Only force a window system when windows-nt
3648 _and_ w32. Explain why.
3649
3650 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3651 of window systems we configure for the mode.
3652
3653 * startup.el (command-line): Mark window system is initialized
3654 after we've done it.
3655
3656 * common-win.el (x-select-text): Look for w32, not windows-nt.
3657
3658 * ns-win.el: Require cl-lib. Add ourselves to
3659 display-format-alist.
3660 (ns-initialize-window-system): Assert we're not initialized twice.
3661
3662 * w32-win.el: Enable lexical binding; require cl-lib; add
3663 ourselves to display-format-alist.
3664 (w32-handle-dropped-file): Convert incoming dropped files from
3665 Windows paths to Cygwin ones before passing them on to the rest of
3666 Emacs.
3667 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3668 (w32-initialize-window-system): Assert we're not initialized twice.
3669
3670 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3671 (x-initialize-window-system): Assert we're not initialized twice.
3672
3673 * w32-common-fns.el: New File.
3674 (w32-version, w32-using-nt, w32-get-clipboard-data)
3675 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3676 (w32-charset-info-alist, x-last-selected, text)
3677 (x-get-selection-value, x-selection-value): Move here.
3678
3679 * w32-fns.el: Require w32-common-fns.
3680 (w32-version, w32-using-nt, w32-get-clipboard-data)
3681 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3682 (w32-charset-info-alist, x-last-selected, text)
3683 (x-get-selection-value, x-selection-value): Move to
3684 w32-common-fns.
3685
3686 * w32-vars.el:
3687 (w32-allow-system-shell, w32-system-shells): Define only in
3688 non-cygwin case.
3689
795b1482
SM
36902012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3693 (read-passwd): Remove a few more potential sources of leaks.
3694
f27c99dc
FEG
36952012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3696
3697 * progmodes/python.el (inferior-python-mode)
795b1482 3698 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3699 variables copied from parent buffer.
3700
fcacb558
JD
37012012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3702
3703 * term/ns-win.el (ns-read-file-name): Update declaration to match
3704 nsfns.m.
3705 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3706 it is set when font is acted upon.
3707
be0d5bae
FEG
37082012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3709
3710 Enhancements to indentation.
3711 * progmodes/python.el (python-indent-context): Give priority to
3712 inside-string context. Make comments indentation markers.
3713 (python-indent-region): Do not mess with strings, unless it's the
3714 enclosing set of quotes.
3715
13af0d10
SM
37162012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3717
662a9d0e
SM
3718 * window.el (internal--before-save-selected-window)
3719 (internal--after-save-selected-window): New functions extracted from
3720 save-selected-window. Make sure we return the `alist' we construct.
3721 (save-selected-window): Use them.
3722
3723 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3724 Use with-selected-window.
3725
13af0d10
SM
3726 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3727 forms that define macros (bug#12593).
3728
6aa75fb6
KH
37292012-10-07 Kenichi Handa <handa@gnu.org>
3730
13af0d10
SM
3731 * international/mule-conf.el (compound-text-with-extensions):
3732 Add :mime-charset property as x-ctext.
6aa75fb6 3733
78d876b9
SM
37342012-10-07 Stefan Merten <smerten@oekonux.de>
3735
3736 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3737 (rst-indent-literal-normal, rst-indent-literal-minimized)
3738 (rst-indent-comment): Correct :version tag.
557337e9 3739 (rst-official-cvs-rev): Correct version string.
78d876b9 3740
99a1e701
GM
37412012-10-07 Glenn Morris <rgm@gnu.org>
3742
3743 * mail/rmailmm.el (rmail-mime-process-multipart):
3744 Do not confuse a multipart message with an epilogue
3745 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3746
08f18c3d
FEG
37472012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3748
3749 Fix shell output retrieval and comint-prompt-regexp init.
3750 * progmodes/python.el (inferior-python-mode):
3751 (python-shell-make-comint): Fix initialization of
3752 comint-prompt-regexp from copied file local variables.
3753 (python-shell-fetched-lines): Remove var.
3754 (python-shell-output-filter-in-progress): Rename from
3755 python-shell-fetch-lines-in-progress.
3756 (python-shell-output-filter-buffer): Rename from
3757 python-shell-fetch-lines-string.
3758 (python-shell-fetch-lines-filter): Delete function.
3759 (python-shell-output-filter): New function.
3760 (python-shell-send-string-no-output): Use them.
3761
82ed3ab4
GM
37622012-10-07 Glenn Morris <rgm@gnu.org>
3763
1595ecfa
GM
3764 * hi-lock.el (hi-lock-process-phrase):
3765 Try to make it less fragile. (Bug#7161)
3766
82ed3ab4
GM
3767 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3768
f1f4dba0
GM
37692012-10-06 Glenn Morris <rgm@gnu.org>
3770
addc11ed 3771 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3772 non-existent mode `help'.
3773 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3774
460042b8
GM
3775 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3776 (reftex-create-bibtex-footer): Fix custom types.
3777
67667c70
GM
3778 * progmodes/sh-script.el (sh-indent-after-continuation):
3779 Add explicit :group.
3780
18dec750
GM
3781 * textmodes/rst.el (rst-preferred-decorations)
3782 (rst-shift-basic-offset): Clarify obsolescence versions.
3783
d1a1c7e6
GM
3784 * profiler.el (profiler): Add missing group :version tag.
3785 * avoid.el (mouse-avoidance-banish-position):
3786 * proced.el (proced-renice-command):
3787 * calc/calc.el (calc-ensure-consistent-units):
3788 * calendar/icalendar.el (icalendar-import-format-uid):
3789 * net/tramp.el (tramp-save-ad-hoc-proxies):
3790 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3791 * progmodes/flymake.el (flymake-error-bitmap)
3792 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3793 * progmodes/sh-script.el (sh-indent-after-continuation):
3794 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3795 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3796 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3797 (vhdl-array-index-record-field-in-sensitivity-list)
3798 (vhdl-indent-comment-like-next-code-line):
3799 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3800 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3801 (reftex-cite-key-separator, reftex-create-bibtex-header)
3802 (reftex-create-bibtex-footer):
3803 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3804 (rst-indent-literal-normal, rst-indent-literal-minimized)
3805 (rst-indent-comment): Add missing custom :version tags.
3806
ef35abb4
GM
3807 * calendar/timeclock.el (timeclock-modeline-display):
3808 Add missing obsolete alias for renamed user option.
3809
d1aae614
GM
3810 * strokes.el (strokes-modeline-string):
3811 * emulation/crisp.el (crisp-mode-modeline-string):
3812 * eshell/esh-mode.el (eshell-status-in-modeline):
3813 Aliases to defcustoms must come before the defcustom.
3814
f1f4dba0
GM
3815 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3816 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3817 (cal-tex-cursor-week-monday): Doc fixes.
3818 (cal-tex-cursor-week2-summary): Doc fix.
3819 Rename from cal-tex-cursor-week-at-a-glance.
3820
3821 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3822 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3823
3824 * calendar/calendar.el (calendar-mode-map):
3825 Add cal-tex-cursor-week2-summary.
3826
d39109c3
SM
38272012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3828
685f87b0
SM
3829 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3830
d39109c3
SM
3831 * subr.el (read-passwd-map): New var.
3832 (read-passwd): Use `read-string' again.
3833 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3834
5694896d
J
38352012-10-06 Jambunathan K <kjambunathan@gmail.com>
3836
3837 * register.el (append-to-register, prepend-to-register):
3838 Deactivate mark, as does `copy-to-register' (bug#12389).
3839
9414dd8d
CY
38402012-10-06 Chong Yidong <cyd@gnu.org>
3841
3842 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3843
2b89bca4
KH
38442012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3845
3846 * international/characters.el: Fix simple mistake ((car chars) ->
3847 elt), delete duplicated code.
3848
d5acb99a
GM
38492012-10-06 Glenn Morris <rgm@gnu.org>
3850
3851 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3852
123ec157
JS
38532012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3854
3855 * color.el (color-hsl-to-rgb): Fix incorrect results for
3856 small and large hue values. (Bug#12559)
3857
7fa36ccb
FEG
38582012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3859
3860 Enhancements to docstring formatting when filling paragraphs.
3861 * progmodes/python.el (python-fill-docstring-style): Rename from
3862 python-fill-string-style. Added new style.
3863 (python-fill-string): Use new style. Better checks for
3864 docstrings.
3865
d8788e1e
GM
38662012-10-05 Glenn Morris <rgm@gnu.org>
3867
204f3953
GM
3868 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3869
d8788e1e
GM
3870 * color.el (color-name-to-rgb, color-rgb-to-hex)
3871 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3872 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3873 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3874 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3875
8d956cef
GM
3876 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3877
e8757f09 38782012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3879
3880 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3881 to get the correct size across symlinks.
3882
e8757f09
GM
3883 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3884
0e2ae83d
JL
38852012-10-04 Juri Linkov <juri@jurta.org>
3886
3887 * replace.el (query-replace-interactive): Declare obsolete.
3888 (query-replace-read-from): Add the last incremental search string
3889 to the list of default values accessible via M-n.
3890 (map-query-replace-regexp): Use `read-regexp'.
3891 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3892 (map-query-replace-regexp, replace-string, replace-regexp):
3893 Fix docstrings to replace mentions of `query-replace-interactive'
3894 with alternatives. (Bug#12526)
3895
93cacb6d
JL
38962012-10-04 Juri Linkov <juri@jurta.org>
3897
3898 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3899 (dired-pop-to-buffer): Declare obsolete.
3900 (dired-mark-pop-up): Doc fix.
3901
fc345011
FEG
39022012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3903
3904 Allow user to set docstring style for fill-paragraph.
3905 * progmodes/python.el
3906 (python-fill-comment-function, python-fill-string-function)
3907 (python-fill-decorator-function, python-fill-paren-function):
3908 Remove :safe for defcustoms.
3909 (python-fill-string-style): New defcustom
5694896d 3910 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3911 (python-fill-string): Honor python-fill-string-style settings.
3912
6bab5d8b
MR
39132012-10-04 Martin Rudalics <rudalics@gmx.at>
3914
3915 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3916 after setting its buffer (Bug#10805).
3917
a1a9f411
FEG
39182012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3919
3920 Fix cornercase for string syntax.
3921 * progmodes/python.el (python-syntax-propertize-function):
3922 Simplify and enhance the regexp for unescaped quotes. Now it also
3923 matches quotes in weird situations like the single quote in
3924 "something\"'".
3925 (python-syntax-stringify): Simplify num-quotes detecting code.
3926
05e153a6
GM
39272012-10-03 Glenn Morris <rgm@gnu.org>
3928
3929 * help-macro.el (three-step-help):
3930 Revert 2012-09-29 change. (Bug#12567)
3931
2e566ecb
MR
39322012-10-03 Martin Rudalics <rudalics@gmx.at>
3933
96ef9ccd
MR
3934 * menu-bar.el (kill-this-buffer): Don't do anything when
3935 `menu-frame' is not alive or visible (Bug#8184).
3936
2e566ecb
MR
3937 * emacs-lisp/debug.el (debug): When quitting the debugger window
3938 restore current buffer (Bug#12502).
3939
a96e1cb7
CY
39402012-10-02 Chong Yidong <cyd@gnu.org>
3941
5694896d
J
3942 * progmodes/hideif.el (hif-lookup, hif-defined):
3943 Handle semantic-c-takeover-hideif.
a96e1cb7 3944
b3ecad33
PE
39452012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3946
3947 Change sampling interval units from ms to ns.
3948 * profiler.el (profiler-sampling-interval): Change units
3949 from ms to ns, multiplying the default by 1000000 so that
3950 it remains 1 ms.
3951 (profiler-report-cpu-line-format): Give enough room for
3952 the maximum counters on 64-bit hosts.
3953 (profiler-report-render-calltree-1): Call them "CPU samples",
3954 not "Time (ms)", since they are not milliseconds now (and
3955 never really were).
3956
8cb51b66 39572012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3958
5694896d
J
3959 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3960 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3961
fd795bf4
CY
39622012-10-02 Chong Yidong <cyd@gnu.org>
3963
3964 * emacs-lisp/eieio.el: Restore Version header.
3965
fe0a74f9
SM
39662012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3967
6be9197e
SM
3968 * vc/diff-mode.el (diff--auto-refine-data): New var.
3969 (diff-hunk): Use it to delay refinement.
3970 (diff-mode): Remove overlays when we turn off font-lock.
3971
18486139
SM
3972 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3973 (table-initialize-table-fixed-width-mode)
3974 (table-set-table-fixed-width-mode): Remove functions.
3975 (table-command-list): Move initialization into declaration.
3976 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3977 (table-with-cache-buffer): Use `declare'.
3978 (table-span-cell): Simplify via CSE.
3979 (table-fixed-width-mode): Use define-minor-mode.
3980 (table-call-interactively, table-funcall, table-apply): Remove.
3981 (table-function): New function, to replace them.
3982
d83ef976
SM
3983 * bookmark.el (bookmark-search-pattern): Remove var.
3984 (bookmark-read-search-input): Remove function.
3985 (bookmark-bmenu-search): Reimplement using a minibuffer.
3986
cd386662
SM
3987 * faces.el (modeline): Remove obsolete face name.
3988
fe0a74f9
SM
3989 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3990 and give a non-nil default value.
3991 (add-change-log-entry): Simplify accordingly.
3992
9f7b98f8
DG
39932012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3994
3995 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3996 (vc-git-log-edit-toggle-amend): New function.
3997 (vc-git-log-edit-toggle-signoff): New function.
3998 (vc-git-log-edit-mode): New major mode.
3999 (vc-git-log-edit-mode-map): Keymap for it.
4000 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4001
4002 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4003 header names.
4004 (log-edit-toggle-header): New function.
4005 (log-edit-extract-headers): Accept function values in HEADERS alist.
4006
62a81506
CY
40072012-10-01 David Engster <deng@randomsample.de>
4008
4009 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4010 from symbol property and change message to be more consistent with
4011 Emacs proper.
4012 (eieio-describe-generic): Add filename for each implementation.
4013 Fix indices for generic and normal methods.
4014 (eieio-method-def, eieio-class-def): New buttons.
4015 (eieio-help-find-method-definition)
4016 (eieio-help-find-class-definition): New functions.
4017 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4018 class, constructor and method definitions.
4019
4020 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4021 information in symbol property.
4022 (scoped-class): Remove.
4023 (eieio-slot-name-index, call-next-method): Check if it is bound.
4024
40252012-10-01 Leo P. White <lpw25@cam.ac.uk>
4026
4027 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4028 (eieio-custom-mode): New major mode.
4029 (eieio-customize-object): Use it.
4030
40312012-10-01 Eric Ludlam <zappo@gnu.org>
4032
4033 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4034 specifying the expected class, and whether subclassing is allowed.
4035 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4036 (eieio-persistent-validate/fix-slot-value)
4037 (eieio-persistent-slot-type-is-class-p): New functions.
4038 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4039
4040 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4041 Stop using unused publd variable.
4042
4043 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4044 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4045 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4046 (eieio-speedbar-handle-click): Do not specify a class for the
4047 method. Fixes method invocation order problems with EDE.
4048
375e49d4
SM
40492012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4052 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4053
16ce6ccd
KF
40542012-10-01 Karl Fogel <kfogel@red-bean.com>
4055
4056 * bookmark.el (bookmark-version-control): Give tags in the
4057 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4058 (bookmark-write-file): Bind `print-circle' to `t' to allow
4059 circular custom bookmark types. (Bug#12503)
16ce6ccd 4060
19e54a4d
PE
40612012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4062
86ec63ba
PE
4063 Revert the FOLLOW-SYMLINKS change for file-attributes.
4064 * files.el (remote-file-name-inhibit-cache, after-find-file):
4065 * time.el (display-time-file-nonempty-p): Undo last change.
4066
19e54a4d
PE
4067 * profiler.el (profiler-sampling-interval): Change default back to 1.
4068 See Stefan Monnier in
4069 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4070
0478776b
FEG
40712012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4072
4073 Shell output catching a la gud-gdb.
4074 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4075 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4076 New Vars.
0478776b
FEG
4077 (python-shell-fetch-lines-filter): New function.
4078 (python-shell-send-string-no-output): Use them.
4079
c22bac2c
TM
40802012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4081
4082 * profiler.el (profiler-sampling-interval): Rename from
4083 profiler-sample-interval.
4084 (profiler-sampling-interval): Default to 10.
4085 (profiler-find-profile): New command (was profiler-find-log).
4086 (profiler-find-profile-other-window): New command.
4087 (profiler-find-profile-other-frame): New command.
4088 (profiler-profile): Introduce API-level data structure.
4089
e7a2937b
PE
40902012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4091
4092 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4093 * files.el (remote-file-name-inhibit-cache):
4094 * time.el (display-time-file-nonempty-p): Use it.
4095 * files.el (after-find-file): Don't chase links before calling
4096 file-exists-p, as file-exists-p already does the right thing.
4097
4f595e15
RA
40982012-09-30 Ralf Angeli <angeli@caeruleus.net>
4099
4100 Merge from standalone RefTeX repository.
4101
4102 The following ChangeLog entries are shortened versions of the
4103 original ones with file paths adapted. A not so strongly edited
4104 version of the original ChangeLog can be found in the commit log.
4105
4106 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4107 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4108 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4109
4110 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4111 that entries with whitespace at various places are found.
4112 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4113 Include @String definitions in the resulting bib file. Add header
4114 and footer defined in `reftex-create-bibtex-header' and
4115 `reftex-create-bibtex-footer'.
4116 (reftex-do-citation): Make it possible again to insert
4117 non-existent entries. Save match data when asking for optional
4118 arguments. Return all keys, not just the first one.
4119 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4120 all citations in the same line.
4121 (reftex-parse-bibtex-entry): Accept additional optional argument
4122 `raw' and keep quotes or braces if it is non-nil. Match fields
4123 containing hyphens besides word constituents.
4124 (reftex-get-string-refs): New function.
4125 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4126 and ask if it should be reread in case it did.
4127 (reftex-pop-to-bibtex-entry)
4128 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4129 entries with spaces or tabs in front of arguments.
4130 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4131 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4132 Match entries containing numbers and symbol constituents.
4133 (reftex-do-citation, reftex-figure-out-cite-format):
4134 Use `reftex-cite-key-separator'.
4f595e15
RA
4135
4136 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4137 (reftex-mouse-view-crossref): Explain why point is set.
4138
4139 * textmodes/reftex-global.el: Whitespace changes.
4140
4141 * textmodes/reftex-index.el: Move provide statement to end of
4142 file.
4143 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4144 (reftex-index-visit-phrases-buffer): Set marker when visiting
4145 buffer. This allows for returning from the phrases file to the
4146 file one was just editing instead of the file where the last
4147 phrases was added from.
4148 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4149 punctuation syntax as it usually is not used as string quote in
4150 TeX-related modes and may occur unmatched. The change also
4151 prevents fontification of quoted content.
4152 (reftex-index-phrases-mode): Use it.
4153
375e49d4
SM
4154 * textmodes/reftex-parse.el (reftex-parse-from-file):
4155 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4156 (reftex-parse-from-file): Use beginning of match instead of end as
4157 bound.
4158
4159 * textmodes/reftex-ref.el: Adapt creation of
4160 `reftex-<package>-<macro>' functions to new structure of
4161 `reftex-ref-style-alist'.
375e49d4
SM
4162 (reftex-reference): Use `reftex-ref-style-list' function.
4163 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4164 reference macro if `reftex-ref-macro-prompt' is non-nil.
4165 (reftex-reference): Pass refstyle to `reftex-format-special'.
4166 Determine reference macro by looking at
375e49d4
SM
4167 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4168 Use only one special format function.
4f595e15
RA
4169 (reftex-varioref-vref, reftex-fancyref-fref)
4170 (reftex-fancyref-Fref): Remove definitions. The functions are now
4171 generated from `reftex-ref-style-alist'.
4172 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4173 Remove.
4174 (reftex-format-special): New function.
4175
4176 * textmodes/reftex-sel.el
4177 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4178 of `reftex-ref-style-alist'. Remove code for testing macro type.
4179 (reftex-select-toggle-varioref)
4180 (reftex-select-toggle-fancyref): Remove.
4181 (reftex-select-cycle-ref-style-internal)
4182 (reftex-select-cycle-ref-style-forward)
4183 (reftex-select-cycle-ref-style-backward): New functions.
4184 (reftex-select-label-map): Use `v' and `V' for general cycling
4185 through reference styles. Add `p' for switching between number
4186 and page reference types.
4187
375e49d4
SM
4188 * textmodes/reftex-toc.el (reftex-re-enlarge):
4189 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4190 the horizontal version throws an error even if the parameter is 0.
4191
4192 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4193 (reftex-plug-into-AUCTeX): Doc fix.
4194 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4195 string. Adapt to new name.
4196 (reftex-ref-style-alist): Change structure so that it is not
4197 possible to use multiple different package names within a style.
375e49d4
SM
4198 Remove the symbols for symbols for macro type distinction.
4199 Add characters for macro selection.
4f595e15
RA
4200 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4201 (reftex-create-bibtex-footer): New variables.
4202 (reftex-format-ref-function): Mention third argument of special
4203 format function.
375e49d4
SM
4204 (reftex-ref-style-alist, reftex-ref-style-default-list):
4205 New variables.
4f595e15
RA
4206 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4207 to new implementation. Mark as obsolete. Add compatibility code
4208 for honoring the variable values in case they are set.
375e49d4
SM
4209 (reftex-cite-format-builtin, reftex-bibliography-commands):
4210 Add support for ConTeXt.
4211 (reftex-format-ref-function, reftex-format-cite-function):
4212 Fix custom type.
4f595e15
RA
4213 (reftex-cite-key-separator): New variable.
4214
4215 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4216 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4217 `reftex-syntax-table' because parens have to retain their paren
4218 syntax in order for parsing of BibTeX entries like @book(...) to
4219 work.
4220 (reftex-in-comment): Do not error out if `comment-start-skip' is
4221 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4222 (reftex-tie-multifile-symbols): Add doc string.
4223 Initialize `reftex-ref-style-list'.
4f595e15
RA
4224 (reftex-untie-multifile-symbols): Add doc string.
4225 (reftex-add-index-macros): Doc fix.
4226 (reftex-ref-style-activate, reftex-ref-style-toggle)
4227 (reftex-ref-style-list): New functions.
4228 (reftex-mode-menu): Use them. Adapt to new structure of
4229 `reftex-ref-style-alist'.
4230 (reftex-select-with-char): Kill the RefTeX Select buffer when
4231 done.
4232 (reftex-remove-if): New function.
4233 (reftex-erase-all-selection-and-index-buffers)
4234 (reftex-mode-menu): Reference styles are now computed from
4235 `reftex-ref-style-alist'. Fix typo.
4236 (reftex-report-bug): New function.
4237 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4238 algorithms with O(n log n). Introduce optional argument SORT (not
4239 yet used).
4240
440ba395
FEG
42412012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4242
4243 Enhancements for triple-quote string syntax.
375e49d4
SM
4244 * progmodes/python.el (python-syntax-propertize-function):
4245 Match both quote cases in one regexp.
440ba395
FEG
4246 (python-syntax-stringify): Handle matches properly.
4247
4c478e6b
JL
42482012-09-30 Juri Linkov <juri@jurta.org>
4249
4250 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4251 to nil around the call to `insert' to prevent
4c478e6b
JL
4252 directory time modification by lock_file. (Bug#2295)
4253 * tar-mode.el (tar-summarize-buffer): Idem.
4254
d80d54b2
JL
42552012-09-30 Juri Linkov <juri@jurta.org>
4256
4257 * facemenu.el (list-colors-sort): Add option "Luminance".
4258 (list-colors-sort-key): Implement it.
4259
4260 * vc/diff-mode.el (diff-refine-removed):
4261 * vc/ediff-init.el (ediff-fine-diff-A):
4262 * vc/smerge-mode.el (smerge-refined-removed):
4263 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4264
d7e642cc
JD
42652012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4266
4267 * term/ns-win.el (x-file-dialog): New function.
4268
ee41332b
JB
42692012-09-30 Juanma Barranquero <lekktu@gmail.com>
4270
4271 * ido.el (ido-max-directory-size): Default to nil; the current
4272 default is small for POSIX systems, and impractical on Windows 7
4273 now that lstat returns directory sizes for NTFS.
4274
5938d519
MR
42752012-09-30 Martin Rudalics <rudalics@gmx.at>
4276
4277 In buffer display functions handle window-height/window-width
4278 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4279 * window.el (window--display-buffer): New argument ALIST.
4280 Obey window-height and window-width alist entries.
4281 (window--try-to-split-window): New argument ALIST.
4282 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4283 changed and window-combination-limit equals `window-size'.
4284 (display-buffer-in-atom-window)
4285 (display-buffer-in-major-side-window)
4286 (display-buffer-in-side-window, display-buffer-same-window)
4287 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4288 (display-buffer-pop-up-window, display-buffer-below-selected)
4289 (display-buffer-at-bottom, display-buffer-in-previous-window)
4290 (display-buffer-use-some-window): Adjust all callers of
4291 window--display-buffer and window--try-to-split-window.
4292 (fit-frame-to-buffer): New option.
4293 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4294 is non-nil.
4295 (display-buffer-in-major-side-window): Evaluate window-height /
4296 window-width alist entries.
4297
4298 * help.el (temp-buffer-resize-frames)
4299 (temp-buffer-resize-regexps): Remove options.
4300 (temp-buffer-resize-mode): Adjust doc-string.
4301 (resize-temp-buffer-window): Don't consult
4302 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4303 temp-buffer-resize-frames.
4304
375e49d4
SM
4305 * dired.el (dired-mark-pop-up):
4306 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4307 entry.
4308
c4c0c2df
CY
43092012-09-30 Chong Yidong <cyd@gnu.org>
4310
48de8b12
CY
4311 * server.el (server-host): Document the security implications.
4312 (server-auth-key): Doc fix.
4313
4314 * startup.el (initial-buffer-choice): Doc fix.
4315
4316 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4317
a97dc380
CY
4318 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4319 restriction change.
4320
d39d3c8e
CY
4321 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4322
c4c0c2df
CY
4323 * help-fns.el (help-fns--obsolete): Fix last change.
4324
98a5e33b
SM
43252012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4326
34cf6f39
SM
4327 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4328 (minor-mode-map-alist): Remove redundant code.
4329
e01c13fe
SM
4330 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4331 visited in a buffer.
4332 (cvs-insert-visited-file): New function.
4333 (find-file-hook): Use it.
4334
4335 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4336
02661b3a
SM
4337 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4338 chose face.
4339 (log-edit-empty-buffer-p): Don't require a space after a header.
4340
43711d4b
SM
4341 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4342
38a30d64
SM
4343 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4344
4ffb41a9
SM
4345 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4346 a proper minor-mode.
4347
98a5e33b
SM
4348 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4349
de82e29b
GM
43502012-09-29 Glenn Morris <rgm@gnu.org>
4351
5cc2e639
GM
4352 * winner.el (winner-mode): Remove variable (let define-minor-mode
4353 handle it).
4354 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4355 Doc fixes.
4356 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4357 (winner-mode): Use define-minor-mode.
4358
7bd302eb
GM
4359 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4360 the full definition in loaddefs, rather than duplicating it.
4361
2923922f 4362 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4363
0e3e4156
GM
4364 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4365 (inferior-lisp-program, inferior-lisp-load-command)
4366 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4367 No need to autoload defcustoms.
0e3e4156 4368
de82e29b
GM
4369 * hippie-exp.el (hippie-expand-try-functions-list)
4370 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4371 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4372 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4373 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4374 * progmodes/vhdl-mode.el (vhdl-line-expand):
4375 Explicitly load hippie-exp, so it does not get autoloaded
4376 while hippie-expand-try-functions-list is let-bound.
4377
e60b51ab
GM
43782012-09-28 Glenn Morris <rgm@gnu.org>
4379
277f0cfa
GM
4380 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4381
e60b51ab
GM
4382 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4383 Only "cl.el" counts as cl these days.
4384
53baf48a
JL
43852012-09-28 Juri Linkov <juri@jurta.org>
4386
4387 Display archive errors in the echo area instead of inserting
4388 to the file buffer.
4389
4390 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4391 to STDERR-TEST that can be a regexp matching a successful output.
4392 Create a temporary file and redirect stderr to it. Search for
4393 STDERR-TEST in the stderr output and display it in the echo area
4394 if no match is found.
4395 (archive-extract-by-file): New function like
4396 `archive-extract-by-stdout' but extracting archives to files
4397 and looking for successful matches in stdout. Function body is
4398 mostly copied from `archive-rar-extract'.
4399 (archive-rar-extract): Use `archive-extract-by-file'.
4400 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4401
9c1228c3
LL
44022012-09-28 Leo Liu <sdl.web@gmail.com>
4403
375e49d4
SM
4404 * pcomplete.el (pcomplete-show-completions):
4405 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4406
9c1228c3
LL
4407 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4408
7f457c06
SM
44092012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4410
3df749b0
SM
4411 * type-break.el: Use lexical-binding.
4412 (type-break-mode): Use define-minor-mode.
4413
7f457c06
SM
4414 * emacs-lisp/pcase.el (pcase--mark-used): New.
4415 (pcase--u1): Use it (bug#12512).
4416
4417 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4418 in load-history with the right file name.
4419
c00ebc98
TH
44202012-09-28 Tassilo Horn <tsdh@gnu.org>
4421
4422 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4423 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4424 (doc-view-get-bounding-box): Make bounding box slicing work for
4425 ODF and DVI documents.
4426
96fb7170
GM
44272012-09-28 Glenn Morris <rgm@gnu.org>
4428
4429 * type-break.el (type-break-mode, type-break-interval)
4430 (type-break-good-rest-interval, type-break-keystroke-threshold):
4431 No need to autoload.
4432 (type-break-good-rest-interval, type-break-keystroke-threshold):
4433 Add :set-after.
4434
5bc93c67
CY
44352012-09-28 Chong Yidong <cyd@gnu.org>
4436
4437 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4438 Add :version tag.
4439
9cad61d6
SM
44402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4441
e28e67b3 4442 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4443
daee954c
GM
44442012-09-27 Glenn Morris <rgm@gnu.org>
4445
a88324d4
GM
4446 * faces.el (x-display-name): Declare (for without-x builds).
4447
8e5064e5
GM
4448 * linum.el (linum-format): Don't autoload it. Improve :type.
4449
cc1783c2
GM
4450 * progmodes/tcl.el: Don't require outline when compiling.
4451 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4452 * textmodes/sgml-mode.el: Don't require outline when compiling.
4453 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4454
48c339f2
GM
4455 * term.el (term-ansi-reset):
4456 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4457
daee954c
GM
4458 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4459 files for RCS and SCCS. (Bug#9781)
4460
b7f42161
CY
44612012-09-27 Chong Yidong <cyd@gnu.org>
4462
4463 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4464 change; value should be t.
4465
a2e770db
SM
44662012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4467
83600dc8
SM
4468 * image-mode.el: Use lexical-binding.
4469 (image-mode-winprops): Use t to stand for the window of
4470 a buffer that's not displayed.
4471 * doc-view.el (doc-view-new-window-function): Handle the new
4472 t in winprops.
4473 (doc-view-enlarge): Make it a real nop if the size is not changed.
4474 (doc-view-display): Handle the case where the buffer is not (yet?)
4475 displayed in any window.
4476 (doc-view-saved-settings): New var.
4477 (doc-view-mode): Use it.
4478 (doc-view-fallback-mode): Set it.
4479
a2e770db
SM
4480 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4481 Set lexical-binding.
4482 (minibuffer-eldef-shorten-default): New var.
4483 (minibuffer-default-in-prompt-regexps): Use it for new default.
4484 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4485
e3b60857
JB
44862012-09-26 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * international/uni-bidi.el:
4489 * international/uni-category.el:
4490 * international/uni-name.el:
4491 * international/uni-numeric.el: Regenerate.
4492
3a880af4
SM
44932012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4494 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * profiler.el: New file.
4497
07b1a5fb
SM
44982012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4501 (testcover-reinstrument): Simplify with CSE.
4502
42019c2e
JB
45032012-09-26 Juanma Barranquero <lekktu@gmail.com>
4504
4505 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4506
179f044b
WS
45072012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4508
4509 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4510 (verilog-auto-input, verilog-auto-insert-lisp)
4511 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4512 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4513 (verilog-auto-unused, verilog-auto-wire)
4514 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4515 newline. Reported by Andrew Jones.
4516 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4517 Reported by Brad Dobbie.
07b1a5fb
SM
4518 (verilog-batch-delete-trailing-whitespace):
4519 Create verilog-batch-delete-trailing-whitespace.
4520 Reported by Brad Dobbie.
179f044b
WS
4521 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4522 parameters from another module. Reported by Dan Katz.
4523 (verilog-auto, verilog-auto-assign-modport)
4524 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4525 AUTOINOUTMODPORT for UVM interface module shell generation.
4526 Reported by Brad Dobbie.
4527 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4528 standard behavior.
4529 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4530 Reported by Matt Martin.
4531
9c52dd5a
MR
45322012-09-25 Martin Rudalics <rudalics@gmx.at>
4533
4534 * window.el (window--resize-child-windows): When resizing child
4535 windows proportionally, process them in reverse order to
4536 preserve the "when splitting a window the new one gets the odd
4537 line" behavior.
4538 (window--resize-root-window-vertically): When resizing the
4539 minibuffer window try to affect only windows at the bottom of the
4540 frame. (Bug#12419)
4541
863666eb
CY
45422012-09-25 Chong Yidong <cyd@gnu.org>
4543
4544 * subr.el (declare): Doc fix.
4545
4546 * help-fns.el (help-fns--obsolete): Handle macros properly.
4547
59f7af81
CY
45482012-09-25 Chong Yidong <cyd@gnu.org>
4549
4550 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4551 this function obsolete.
4552
4553 * calendar/cal-x.el (calendar-two-frame-setup)
4554 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4555 * calendar/calendar.el (american-calendar, european-calendar)
4556 (calendar-for-loop):
4557 * comint.el (comint-dynamic-simple-complete)
4558 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4559 * desktop.el (desktop-load-default):
4560 * dired-x.el (dired-omit-here-always)
4561 (dired-hack-local-variables, dired-default-directory):
4562 * emacs-lisp/derived.el (derived-mode-class):
4563 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4564 * emacs-lock.el (toggle-emacs-lock):
4565 * epa.el (epa-display-verify-result):
4566 * epg.el (epg-sign-keys, epg-start-sign-keys)
4567 (epg-passphrase-callback-function):
4568 * eshell/esh-util.el (eshell-for):
4569 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4570 (eshell-add-to-window-buffer-names):
4571 * files.el (locate-file-completion):
4572 * imenu.el (imenu-example--create-c-index)
4573 (imenu-example--create-lisp-index)
4574 (imenu-example--lisp-extract-index-name)
4575 (imenu-example--name-and-position):
4576 * international/mule-cmds.el (princ-list):
4577 * international/mule-diag.el (decode-codepage-char):
4578 * international/mule-util.el (detect-coding-with-priority):
4579 * iswitchb.el (iswitchb-read-buffer):
4580 * mail/mailalias.el (mail-complete):
4581 * mail/sendmail.el (mail-sent-via):
4582 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4583 (mouse-major-mode-menu):
4584 * password-cache.el (password-read-and-add):
4585 * pcomplete.el (pcomplete-parse-comint-arguments):
4586 * progmodes/sh-script.el (sh-maybe-here-document):
4587 * replace.el (query-replace-regexp-eval):
4588 * savehist.el (savehist-load):
4589 * simple.el (choose-completion-delete-max-match):
4590 * term.el (term-dynamic-simple-complete):
4591 * vc/ediff-init.el (ediff-check-version):
4592 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4593 * vc/vc.el (vc-diff-switches-list):
4594 * view.el (view-return-to-alist-update): Likewise.
4595
4596 * subr.el (eval-next-after-load, makehash, insert-string)
4597 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4598 mark obsolete.
4599 (mode-line-inverse-video): Variable deleted.
4600
4601 * international/mule-util.el (string-to-sequence): Remove.
4602
4603 * calendar/calendar.el (calendar-version):
4604 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4605 (icalendar-convert-diary-to-ical):
4606 * cus-edit.el (custom-mode):
4607 * ansi-color.el (ansi-color-unfontify-region):
4608 * international/latin1-disp.el (latin1-char-displayable-p):
4609 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4610 * progmodes/which-func.el (which-func-update-1):
4611 Use define-obsolete-function-alias.
59f7af81
CY
4612
4613 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4614 * net/newst-treeview.el (newsticker-groups-filename):
4615 Fix incorrect obsolescence declaration.
59f7af81
CY
4616
4617 * allout.el (allout-passphrase-hint-string): Likewise.
4618 (allout-init): Use a declare form to mark obsolete.
4619
4620 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4621 this applies to functions.
4622
4623 * iswitchb.el (iswitchb-read-buffer): Move code of
4624 iswitchb-define-mode-map here, and delete that obsolete function.
4625
4626 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4627 font-lock-reference-face.
4628
cca96c97
GM
46292012-09-25 Glenn Morris <rgm@gnu.org>
4630
b06eeda8
GM
4631 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4632 Doc fixes.
4633
cca96c97
GM
4634 * eshell/em-term.el (eshell-term-name):
4635 Default to term-term-name. (Bug#12485)
4636
dc4f818b
FEG
46372012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4638
cca96c97
GM
4639 * progmodes/python.el (python-shell-send-buffer): Better handling
4640 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4641
289c24bd
GM
46422012-09-24 Glenn Morris <rgm@gnu.org>
4643
4644 * eshell/esh-cmd.el (eshell-find-alias-function):
4645 Tighten up file-name regexp. (Bug#12499)
4646
8fb8b88f
FEG
46472012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4648
4649 Enhancements for triple-quote string syntax.
4650 * progmodes/python.el (python-quote-syntax): Remove.
4651 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4652 (python-syntax-count-quotes, python-syntax-stringify):
4653 New functions.
8fb8b88f 4654
6c27f0f8
CY
46552012-09-24 Chong Yidong <cyd@gnu.org>
4656
a5f2b6ec
CY
4657 * mail/supercite.el (sc-version): Remove obsolete function.
4658 (sc-describe): Don't mark as obsolete, since it is bound.
4659 (sc-submit-bug-report): Remove.
4660
4661 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4662 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4663 (log-edit-require-final-newline)
4664 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4665
4666 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4667 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4668 * vc/vc.el (vc-checkout-carefully): Likewise.
4669
4670 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4671 (emerge-version): Remove.
4672
4673 * progmodes/compile.el (compile-internal): Remove.
4674 (compilation-parse-errors-function): Fix typo.
4675
4676 * international/mule.el (set-char-table-default): Remove.
4677 (set-coding-priority, make-coding-system, generic-char-p)
4678 (charset-list, charset-bytes, charset-id): Use declare to mark
4679 functions as obsolete.
4680
4681 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4682 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4683 * vc/vc-hooks.el (vc-default-registered): Don't use
4684 vc-master-templates.
4685
07b1a5fb
SM
4686 * font-lock.el (font-lock-reference-face):
4687 Use define-obsolete-variable-alias.
6c27f0f8
CY
4688
4689 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4690 * calendar/calendar.el (calendar-font-lock-keywords):
4691 * calendar/diary-lib.el (diary-font-lock-keywords)
4692 (diary-fancy-font-lock-keywords):
4693 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4694 * textmodes/reftex-index.el (reftex-insert-index):
4695 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4697 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4698 * progmodes/prolog.el (prolog-font-lock-keywords):
4699 * progmodes/idlwave.el (idlwave-idl-keywords):
4700 * progmodes/ada-mode.el (ada-font-lock-keywords):
4701 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4702
bcc0adbf
GM
47032012-09-24 Glenn Morris <rgm@gnu.org>
4704
4705 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4706
095bb823
FEG
47072012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4708
4709 * progmodes/python.el (python-indent-line): More consistent cursor
4710 movement behavior.
4711
70efc5c9
SM
47122012-09-23 Stefan Merten <smerten@oekonux.de>
4713
4714 * textmodes/rst.el: Fix compiler warning.
4715
2f438239
RW
47162012-09-23 Roland Winkler <winkler@gnu.org>
4717
07b1a5fb
SM
4718 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4719 Transcribe also LaTeX hyphenation.
2f438239
RW
4720 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4721 bibtex-reformat-previous-options.
4722
936ad041
RW
47232012-09-23 Roland Winkler <winkler@gnu.org>
4724
4725 * proced.el (proced-renice-command): New variable.
4726 (proced-marked-processes): New function.
4727 (proced-with-processes-buffer): New macro.
4728 (proced-send-signal): Use them.
4729 (proced-renice): New command bound to r.
4730
6fab0274
RW
47312012-09-23 Roland Winkler <winkler@gnu.org>
4732
4733 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4734 ibuffer-saved-filter-groups has one element, shortcut the call of
4735 completing-read. (Bug#12331)
4736
9a930676
CY
47372012-09-23 Chong Yidong <cyd@gnu.org>
4738
4739 * bindings.el (mode-line-toggle-read-only):
4740 * bs.el (bs-toggle-readonly):
4741 * buff-menu.el (Buffer-menu-toggle-read-only):
4742 * dired.el (dired-toggle-read-only):
4743 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4744
d07ff9db
CY
47452012-09-23 Chong Yidong <cyd@gnu.org>
4746
4747 * image.el (image-type-available-p): Adapt to init-image-library
4748 argument changes.
4749
51c4474e
JL
47502012-09-22 Juri Linkov <juri@jurta.org>
4751
4752 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4753 `dired-toggle-read-only'. (Bug#12462)
4754
43bf5e8e
MR
47552012-09-22 Martin Rudalics <rudalics@gmx.at>
4756
4757 * subr.el (temp-output-buffer-show): New function.
4758 (with-output-to-temp-buffer): Call temp-output-buffer-show
4759 instead of internal-temp-output-buffer-show.
4760
c88b867f
CY
47612012-09-22 Chong Yidong <cyd@gnu.org>
4762
3df47cd5
CY
4763 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4764 (Bug#12462).
4765
c88b867f
CY
4766 * repeat.el (repeat): Doc fix (Bug#12348).
4767
4768 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4769 (Bug#10909).
4770
4771 * simple.el (shell-command-on-region): Doc fix.
3171e303 4772 (read-only-mode): Doc fix.
c88b867f 4773
df9685f3
EZ
47742012-09-22 Eli Zaretskii <eliz@gnu.org>
4775
4776 * emacs-lisp/timer.el (run-with-idle-timer)
4777 (timer-activate-when-idle): Warn against reinvoking an idle timer
4778 from within its own timer action. (Bug#12447)
4779
8e17c9ba
MR
47802012-09-22 Martin Rudalics <rudalics@gmx.at>
4781
4782 * cus-start.el (window-combination-limit): Add new optional
4783 values.
4784 * window.el (temp-buffer-window-show)
4785 (window--try-to-split-window): Handle new values of
4786 window-combination-limit (Bug#1806).
4787 (split-window): Test window-combination-limit for t instead of
4788 non-nil.
4789 (display-buffer-at-bottom): New buffer display action function.
4790 * help.el (temp-buffer-resize-regexps): New option.
4791 (temp-buffer-resize-mode): Rewrite doc-string.
4792 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4793 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4794
48a24920
SM
47952012-09-22 Stefan Merten <smerten@oekonux.de>
4796
70efc5c9 4797 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4798 (rst-official-version)
4799 (rst-package-emacs-version-alist): Sync with official version
4800 V1.4.0.
4801 (rst-faces-defaults, rst-set-level-default)
4802 (rst-level-face-max, rst-level-face-base-color)
4803 (rst-level-face-base-light, rst-level-face-format-light)
4804 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4805 (rst-adornment-faces-alist): Match new setup.
4806 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4807 (rst-level-5, rst-level-6): New faces.
4808
82f8cd94
CY
48092012-09-22 Chong Yidong <cyd@gnu.org>
4810
4811 * simple.el (undo): Handle indirect buffers (Bug#8207).
4812
acfa068f 48132012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4814
4815 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4816 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4817 (ido-set-matches-1): Use it. (Bug#2042)
4818
acfa068f 48192012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4820
4821 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4822 Fix 2011-05-17 change. (Bug#12418)
4823
acfa068f 48242012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4825
4826 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4827
acfa068f 48282012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4829
4830 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4831 Be more robust about locating simple.el.
4832
acfa068f 48332012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4834
4835 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4836
acfa068f
CY
48372012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4838
4839 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4840
41a97e6f
JL
48412012-09-20 Juri Linkov <juri@jurta.org>
4842
eb2deaff
JL
4843 * replace.el (query-replace-read-from): Use `read-regexp' instead
4844 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4845 (occur-read-primary-args): Use `read-regexp' instead of
4846 `read-string'.
4847 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4848 `read-from-minibuffer'.
4849 * isearch.el (isearch-occur): Use `read-regexp' instead of
4850 `read-string'.
4851 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4852 `read-from-minibuffer'.
4853 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4854 of `read-string'. (Bug#7567)
4855
5825610b
JL
4856 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4857 and allow accepting a list of strings prepended to a list of
4858 standard default values. Doc fix. (Bug#12321)
4859
eebbf404
JL
4860 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4861
41a97e6f
JL
4862 * replace.el (read-regexp): Don't add ": " when PROMPT already
4863 ends with a colon and space. (Bug#12321)
4864
c9e452d3
TH
48652012-09-20 Tassilo Horn <tsdh@gnu.org>
4866
4867 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4868 error.
4869
ee97deee
SM
48702012-09-20 Stefan Merten <smerten@oekonux.de>
4871
70efc5c9 4872 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4873 Fixes feature request bug#11711.
4874 (rst-mode): Create `imenu-create-index-function'.
4875 (rst-get-stripped-line): Delete after refactoring.
4876 (rst-section-tree, rst-section-tree-rec)
4877 (rst-section-tree-point): Refactor and document properly.
4878 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4879 (rst-imenu-convert-cell, rst-imenu-create-index):
4880 New function.
ee97deee 4881
f490dab9
SM
48822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4883
95b9712e
SM
4884 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4885 (macroexp--expand-all): Use it.
4886 (macroexp--funcall-and-return): Remove by folding it into its sole
4887 caller (macroexp--warn-and-return).
4888 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4889 Use macroexp--obsolete-warning.
4890
f490dab9
SM
4891 * calc/calc.el: Fix last change by removing the whole chunk, since it
4892 was only needed back when Calc was not bundled.
4893
96e8d411
MR
48942012-09-20 Martin Rudalics <rudalics@gmx.at>
4895
4896 * emacs-lisp/debug.el (debug): Restore assignment to
4897 debugger-old-buffer removed on 2012-09-08.
4898
0876a82d
JL
48992012-09-20 Juri Linkov <juri@jurta.org>
4900
4901 * dired-aux.el (dired-diff): Remove (require 'diff) since
4902 `diff-latest-backup-file' is now autoloaded.
4903
9f7c28f0
CY
49042012-09-20 Chong Yidong <cyd@gnu.org>
4905
4906 * vc/diff.el (diff-latest-backup-file): Autoload.
4907
7a04bee9
SM
49082012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4909
e6f0a80d
SM
4910 * calc/calc.el: Remove redundant autoload shape check.
4911 (sel-mode): Don't defvar.
4912 (calc-get-stack-element): Add `sel-mode' arg instead.
4913 (calc-top, calc-top-list): Pass it this additional argument.
4914 * calc/calc-store.el (calc-store-map):
4915 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4916 (calc-map-equation, calc-outer-product, calc-inner-product):
4917 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4918
7a04bee9
SM
4919 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4920
12734222
JL
49212012-09-19 Juri Linkov <juri@jurta.org>
4922
4923 * dired-aux.el (dired-diff): Add (require 'diff) because
4924 `diff-latest-backup-file' is not autoloaded.
4925 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4926 of `dired-get-filename' to t to not report error when there is
4927 no default file on the current line.
4928
46624b4f
SM
49292012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4930
ce97595b
SM
4931 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4932 macroexp--eval-if-compile.
4933 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4934 (macroexp--expand-all): Use them (bug#12371).
4935
46624b4f
SM
4936 * doc-view.el (doc-view-guess-paper-size)
4937 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4938
db8a5a18
TH
49392012-09-19 Tassilo Horn <tsdh@gnu.org>
4940
4941 New feature: set optimal slice from BoundingBox information.
4942 * doc-view.el (doc-view-mode-map): Add keybinding.
4943 (doc-view-menu): Add menu entry.
4944 (doc-view-set-slice): Adapt docstring.
4945 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4946 (doc-view-scale-bounding-box)
4947 (doc-view-set-slice-from-bounding-box): New functions.
4948 (doc-view-paper-sizes): New defvar.
4949
69f6644c
GM
49502012-09-19 Glenn Morris <rgm@gnu.org>
4951
35f5b19d
GM
4952 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4953 (byte-compile-log-warning): Autoload. (Bug#12371)
4954
69f6644c
GM
4955 * calendar/calendar.el (calendar-american-month-header)
4956 (calendar-european-month-header, calendar-iso-month-header)
4957 (calendar-month-header): New options.
4958 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4959 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4960
e543ae91
JD
49612012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4962
4963 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4964
2fd5e67d
JL
49652012-09-18 Juri Linkov <juri@jurta.org>
4966
4967 * dired-aux.el (dired-diff): Restore original functionality of
4968 getting the default value, but keep new feature of using the
4969 latest existing backup file (`diff-latest-backup-file').
4970
42917e79
JL
49712012-09-18 Juri Linkov <juri@jurta.org>
4972
4973 * dired.el (dired-mark): If the region is active in Transient Mark
4974 mode, mark all files in the active region. Doc fix.
4975 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4976 Doc fix. (Bug#10624)
4977
20f70ede
JL
49782012-09-18 Juri Linkov <juri@jurta.org>
4979
4980 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4981 attributes for M-n are pulled from the file at point.
4982 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4983 Suggested by Drew Adams. (Bug#10624)
4984
32fb8162
DG
49852012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4986
4987 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4988 whitespace after "end".
4989 (ruby-do-end-to-brace): Collapse block to one line if it fits
4990 within fill-column.
4991
37ab5092
MR
49922012-09-18 Martin Rudalics <rudalics@gmx.at>
4993
4994 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4995 value.
4996 (debug): Don't remove debugger window when debugger is expected
4997 to be back.
4998
ed1f0bd3
CY
49992012-09-18 Chong Yidong <cyd@gnu.org>
5000
5001 * custom.el (defface): Doc fix.
5002
5003 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5004
a11035b8
MB
50052012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5006
5007 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5008 to initialize query-on-exit; then test that instead (bug#12288).
5009
64f6a736
SM
50102012-09-17 Stefan Merten <smerten@oekonux.de>
5011
70efc5c9 5012 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5013 (rst-defcustom-testcover, rst-testcover-add-compose)
5014 (rst-testcover-add-1value): New functions.
5015 (rst-portable-mark-active-p): Replace by `use-region-p'.
5016 (rst-update-section, rst-classify-adornment)
5017 (rst-find-title-line): Mark `1value' forms.
5018 (rst-classify-adornment): Remove superfluous form.
5019 (rst-update-section, rst-get-adornments-around)
5020 (rst-adornment-complete-p, rst-get-next-adornment)
5021 (rst-adjust, rst-promote-region)
5022 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5023 (rst-find-pfx-in-region, rst-section-tree-rec)
5024 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5025 (rst-toc-node, rst-toc, rst-forward-section)
5026 (rst-iterate-leftmost-paragraphs)
5027 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5028 (rst-bullet-list-region)
5029 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5030 (rst-compile-find-conf, rst-compile)
5031 (rst-repeat-last-character): Fix style.
5032
580bd868
CY
50332012-09-17 Chong Yidong <cyd@gnu.org>
5034
5035 * comint.el (comint--complete-file-name-data): Don't add a space
5036 if the status is `sole'; that adds a gratuitous space in the
5037 completion-cycling case (Bug#12092).
5038
5039 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5040
69de3ec6
RS
50412012-09-17 Richard Stallman <rms@gnu.org>
5042
0dee970c
RS
5043 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5044 only in the mime-shown mode, not in raw mode.
5045 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5046 mime processing. (Bug#12305)
0dee970c 5047
6b250df6
GM
5048 * mail/rmail.el (rmail-retry-failure):
5049 Turn off mime processing first. (Bug#12037)
acb1c47b 5050
69de3ec6
RS
5051 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5052
d079ee5f
CY
50532012-09-17 Chong Yidong <cyd@gnu.org>
5054
5055 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5056 (shell-dynamic-complete-functions): Convert to defcustom.
5057 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5058
865fe16f
CY
5059 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5060 * comint.el (comint-prompt-read-only):
5061 * custom.el (defcustom):
5062 * hi-lock.el (hi-lock-mode):
5063 * ibuffer.el (ibuffer-formats):
5064 * ielm.el (ielm-prompt-read-only):
5065 * novice.el (disable-command):
5066 * saveplace.el (toggle-save-place):
5067 * speedbar.el (speedbar-supported-extension-expressions):
5068 * startup.el (auto-save-list-file-prefix, init-file-user)
5069 (after-init-hook, inhibit-startup-echo-area-message):
5070 * strokes.el (strokes-help):
5071 * time-stamp.el (time-stamp):
5072 * calendar/calendar.el (calendar, diary-file):
5073 * calendar/diary-lib.el (diary-mail-entries, diary)
5074 (diary-list-entries-hook):
5075 * calendar/holidays.el (holidays, calendar-holidays):
5076 * calendar/lunar.el (lunar-phases):
5077 * calendar/solar.el (sunrise-sunset):
5078 * emulation/edt.el (edt-load-keys):
5079 * emulation/viper.el (viper-mode):
5080 * eshell/em-alias.el (eshell-command-aliases-list):
5081 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5082 * international/ogonek.el (ogonek-information):
5083 * net/tramp-cmds.el (tramp-bug):
5084 * net/quickurl.el (quickurl-reread-hook-postfix):
5085 * play/decipher.el (decipher-font-lock-keywords):
5086 * progmodes/cc-styles.el (c-set-style):
5087 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5088 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5089 * progmodes/octave-mod.el (octave-mode):
5090 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5091 * progmodes/verilog-mode.el (verilog-read-defines):
5092 * textmodes/two-column.el (2C-mode): Likewise.
5093
48093eb9
KY
50942012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5095
5096 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5097 that holds many addresses.
5098
c584eaf9
CY
50992012-09-16 Chong Yidong <cyd@gnu.org>
5100
40d70ecb
CY
5101 * align.el (align-areas): Call the indication function with
5102 positions instead of markers for arguments (Bug#12343).
5103
1667e065
CY
5104 * files.el (parse-colon-path): Use split-string (Bug#12351).
5105
fdc2806d 5106 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5107 (display-buffer-function): Mark as obsolete.
fdc2806d 5108
f1be615c 5109 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5110 values similar to font-lock-keywords (Bug#12136).
5111 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5112 (compilation-error-regexp-alist): Doc fix.
5113
f40a9709
GM
51142012-09-15 Glenn Morris <rgm@gnu.org>
5115
72aa16e1
GM
5116 * version.el (emacs-bzr-version-bzr): New function.
5117 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5118
82375160
GM
5119 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5120 checkouts, check the parent dirstate matches the branch.
5121 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5122 empty string.
5123
f40a9709
GM
5124 * version.el (emacs-bzr-version): Doc fix.
5125 (emacs-bzr-version-dirstate): New function.
5126 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5127 is local try and check that it matches the branch. If not, just
5128 use dirstate information. (Bug#12441)
5129
cb26b7f5
JL
51302012-09-14 Juri Linkov <juri@jurta.org>
5131
5132 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5133 (Bug#12399)
5134
2de39f08
SM
51352012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5136
0fb3cb7c
SM
5137 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5138
2de39f08
SM
5139 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5140 Remove obsolete byte-compiler hack that tried to silence some warnings.
5141 (edebug-submit-bug-report): Remove.
5142 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5143 Remove aliases, use the un-prefixed name instead.
5144 (edebug-pop-to-buffer): Consider other frames.
5145 (edebug-original-read):: Make it more obvious that it's always defined.
5146 (edebug--make-form-data-entry, edebug--form-data-name)
5147 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5148 single-dashed name, and implement with cl-defstruct.
5149 (edebug-set-form-data-entry): Use the standard accessors.
5150 (edebug-make-top-form-data-entry): Use push.
5151 (edebug-no-match): Drop useless `funcall'.
5152 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5153 to functions.
5154 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5155 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5156 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5157 (easy-menu-define, with-custom-print): Remove redundant specs.
5158 (edebug-outside-overriding-local-map)
5159 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5160 (edebug--display): Bind unread-command-events directly to nil rather
5161 than binding it to unread-command-events and later setting it to nil.
5162 (edebug--display): Kill edebug-eval-buffer here...
5163 (edebug--recursive-edit): ...rather than here.
5164 Bind standard-output and standard-input.
5165 (edebug-eval): Check cl-macroexpand-all is fboundp.
5166 (edebug-temp-display-freq-count): Fix last change.
5167
5168 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5169 * subr.el (noreturn, 1value): Add `debug' spec.
5170 * emacs-lisp/advice.el: Require cl-lib.
5171 (ad-copy-tree): Remove, use copy-tree instead.
5172 (ad-dolist): Remove use dolist or cl-dolist instead.
5173 (ad-do-return): Remove, use cl-return instead.
5174 (defadvice): Add `debug' spec.
5175
5b68b333
JL
51762012-09-13 Juri Linkov <juri@jurta.org>
5177
5178 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5179 (Bug#12399)
5180
b9800ec4
GM
51812012-09-13 Glenn Morris <rgm@gnu.org>
5182
6a2e6868
GM
5183 * calc/calc.el (math-compose-expr):
5184 * calc/calc-ext.el (math-compose-expr):
5185 * progmodes/cc-defs.el (cl-macroexpand-all):
5186 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5187 (cl-macroexpand-all): Update declarations.
5188
b9800ec4
GM
5189 * vc/vc.el: No need to require ediff.
5190 (ediff-load-version-control): Declare.
5191 (ediff-vc-internal): Fix declaration.
5192 (vc-version-ediff): Require ediff.
5193
c18e885b
PE
51942012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5195
5196 Use a more backwards-compatible timer format (Bug#12430).
5197 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5198 being right after USECS, as that better supports old code that
5199 inadvisedly looked directly at the timer vector.
5200
d607d303
KH
52012012-09-13 Kenichi Handa <handa@gnu.org>
5202
5203 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5204 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5205 `coding-priority' property of these language environment.
5206
72eac303
PE
52072012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5208
5209 Fix glitches caused by addition of psec to timers (Bug#12430).
5210 * image.el (image-animate-timer):
5211 * time.el (display-time-world-timer):
5212 Use timer--function and timer--args rather than raw access to
5213 timer vector.
5214
2168fe4f
GM
52152012-09-13 Glenn Morris <rgm@gnu.org>
5216
5217 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5218 If not compiling a file, try using load-file-name.
5219
bd8d6108
SM
52202012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5221
c0c54fbd
SM
5222 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5223 Fix last change.
5224 (edebug-update-eval-list): Use `push'.
5225
bd8d6108
SM
5226 * emacs-lisp/edebug.el: Use lexical-binding.
5227 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5228 Mark unused args with underscore.
5229 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5230 (edebug-form-data): Use defvar-local.
5231 (edebug-make-before-and-after-form, edebug-make-after-form):
5232 Use backquote.
5233 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5234 Not dynamically scoped any more.
5235 (edebug--enter-trace): Add arguments `function' and `args'.
5236 Rename from edebug-enter-trace.
5237 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5238 (edebug--update-coverage): Add `after-index' and `value' args.
5239 Rename from edebug-update-coverage.
5240 (edebug-slow-after): Call it accordingly.
5241 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5242 edebug-recursive-edit.
5243 (edebug--display): Call it accordingly. Add args `value',
5244 `offset-index', and `arg-mode'. Rename from edebug-display.
5245 (edebug-debugger, edebug): Call it accordingly.
5246 (edebug-eval-display-list): Use dolist.
5247
a9f9d9de
JL
52482012-09-12 Juri Linkov <juri@jurta.org>
5249
5250 * info.el (Info-search): Don't check for isearch-mode and
5251 isearch-regexp before let-binding search-spaces-regexp to
5252 Info-search-whitespace-regexp.
5253 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5254 search-whitespace-regexp if isearch-lax-whitespace or
5255 isearch-regexp-lax-whitespace is non-nil.
5256 (Info-mode): Don't set local variable search-whitespace-regexp.
5257 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5258
bfeae2cf
SM
52592012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5262 (debugger-env-macro): Remove support for unread-command-char.
5263
5264 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5265 the temporary map re-appearing on emulation-mode-map-alists.
5266
5267 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5268 since 22.1.
5269
5270 * ehelp.el (with-electric-help): Accept functions in
5271 electric-help-form-to-execute.
5272 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5273 And replace unread-command-char -> unread-command-events.
5274
fbbcaf1b
MA
52752012-09-12 Michael Albinus <michael.albinus@gmx.de>
5276
5277 Sync with Tramp 2.2.6.
5278
5279 * net/tramp.el (tramp-accept-process-output): Don't use
5280 JUST-THIS-ONE in the XEmacs case.
5281
5282 * net/trampver.el: Update release number.
5283
4dece104
MR
52842012-09-12 Martin Rudalics <rudalics@gmx.at>
5285
bfeae2cf
SM
5286 * emacs-lisp/debug.el (debugger-previous-window-height):
5287 New variable.
4dece104
MR
5288 (debug): When debugger-jumping-flag is non-nil try to restore
5289 height of debugger window. (Bug#8789)
5290
45b82ad0
SM
52912012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5292
60c49c0f
SM
5293 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5294 overriding-local-map and pre/post-command-hook here.
5295 (edebug-recursive-edit): Do it here instead (bug#12345).
5296 (edebug-outside-unread-command-char): Remove all uses of
5297 unread-command-char.
5298
45b82ad0
SM
5299 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5300 inhibit-debugger is bound instead.
5301
baa26ea0
BG
53022012-09-11 Bastien Guerry <bzg@gnu.org>
5303
5304 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5305 (Bug#12346)
baa26ea0 5306
04e8abfa
BG
53072012-09-11 Bastien Guerry <bzg@gnu.org>
5308
96d03571 5309 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5310 (Bug#12347)
96d03571
BG
5311
53122012-09-11 Bastien Guerry <bzg@gnu.org>
5313
fc0c31f8 5314 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5315
04e082b0
MM
53162012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5317
5318 * progmodes/sql.el: Version 3.1
5319 (sql-db2-escape-newlines): New variable.
5320 (sql-escape-newlines-filter): Use it.
5321
399a361b
JB
53222012-09-10 Juanma Barranquero <lekktu@gmail.com>
5323
5324 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5325
0780c517
DN
53262012-09-10 Dan Nicolaescu <dann@gnu.org>
5327
45b82ad0
SM
5328 * vc/diff-mode.el (diff-mode-menu):
5329 Bind diff-remove-trailing-whitespace.
0780c517 5330
9b851e25
SM
53312012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5334 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5335 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5336 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5337 (eval-defun-2): Remove bogus interactive spec.
5338 (lisp-indent-line): Remove redundant whole-exp code, now done in
5339 indent-according-to-mode.
5340 (save-match-data): Remove redundant indent data.
5341
5342 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5343 Use `declare'.
5344
3231d532
JL
53452012-09-09 Juri Linkov <juri@jurta.org>
5346
5347 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5348 (replace-lax-whitespace, query-replace-regexp)
5349 (query-replace-regexp-eval, replace-regexp): Doc fix.
5350 (perform-replace, replace-highlight): Let-bind
5351 isearch-lax-whitespace to replace-lax-whitespace and
5352 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5353
5354 * isearch.el (isearch-query-replace): Let-bind
5355 replace-lax-whitespace to isearch-lax-whitespace and
5356 replace-regexp-lax-whitespace to
5357 isearch-regexp-lax-whitespace. (Bug#10885)
5358
70fe8236
SM
53592012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5362
8ed43f15
AM
53632012-09-09 Alan Mackenzie <acm@muc.de>
5364
70fe8236
SM
5365 * progmodes/cc-engine.el (c-state-cache-init):
5366 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5367 (c-record-parse-state-state):
5368 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5369
bfabf70a
AS
53702012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5371
5372 * register.el (register-separator): Rename from
5373 separator-register. All uses changed. Doc fix.
5374 (register): Fix version.
5375
011474aa
CY
53762012-09-09 Chong Yidong <cyd@gnu.org>
5377
5378 * replace.el (query-replace-map): Bind four new symbols for
5379 requesting window scrolling.
5380
5381 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5382 query-replace-map (Bug#8948).
5383
5384 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5385
5386 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5387 since they are now in query-replace-map.
5388
5389 * window.el (scroll-other-window-down): Make the arg optional.
5390
a8b7cd8d
CY
53912012-09-09 Chong Yidong <cyd@gnu.org>
5392
5393 * files.el (hack-local-variables-confirm): Use quit-window to kill
5394 the *Local Variables* buffer.
5395
c3268831
DG
53962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5397
5398 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5399 not just expect to be at its beginning. Adjust callees.
5400 Succeed when do-end block has no space before the pipe character.
5401 (ruby-brace-to-do-end): When the original block is one-liner,
5402 convert to multiline. Reindent the result.
5403
0979429b
J
54042012-09-08 Jambunathan K <kjambunathan@gmail.com>
5405
5406 * register.el (register): New group.
27359e99 5407 (separator-register): New user option.
0979429b
J
5408 (increment-register): Route it to `append-to-register', if
5409 register contains text. Implication is that `C-x r +' can now be
5410 used for appending to a text register (bug#12217).
5411 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5412 `separator-register'.
0979429b 5413
ace2989a
AM
54142012-09-08 Alan Mackenzie <acm@muc.de>
5415
5416 AWK Mode: make auto-newline work when there's "==" in the pattern.
5417 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5418 correctly.
0979429b
J
5419 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5420 Test more rigorously for "=" token.
ace2989a 5421
616c6c36
DG
54222012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5423
0979429b
J
5424 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5425 Only fail when reached LIMIT.
616c6c36 5426
35d98877
CY
54272012-09-08 Chong Yidong <cyd@gnu.org>
5428
5429 * dired.el (dired-mode-map): Don't bind M-=.
5430
5431 * dired-aux.el (dired-diff): Use backup file as default.
5432
1715f2db
DA
54332012-09-08 Drew Adams <drew.adams@oracle.com>
5434
5435 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5436
6dcef6ec
CY
54372012-09-08 Chong Yidong <cyd@gnu.org>
5438
5439 * subr.el (syntax-after, syntax-class): Doc fix.
5440
fa2bcf43
MR
54412012-09-08 Martin Rudalics <rudalics@gmx.at>
5442
5443 * window.el (display-buffer-in-previous-window): New buffer
5444 display action function.
5445
5446 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5447 (debugger-previous-window): New variable.
5448 (debug): Rewrite using display-buffer-in-previous-window,
5449 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5450
daac280a
SM
54512012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5454
9dd40b00
MM
54552012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5456
daac280a
SM
5457 * progmodes/python.el (python-shell-send-string):
5458 When default-directory is remote, create temp file on remote
9dd40b00
MM
5459 filesystem.
5460 (python-shell-send-file): When file is remote, pass local view of
5461 file paths to remote Python interpreter. (Bug#12340)
5462
145823ec
CY
54632012-09-07 Chong Yidong <cyd@gnu.org>
5464
cee2e90d
CY
5465 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5466
0d7eb2ea
CY
5467 * files.el (after-find-file): Don't fail on a read-only buffer if
5468 require-final-newline is `visit' or `visit-save' (Bug#11156).
5469
145823ec
CY
5470 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5471
daac280a
SM
5472 * userlock.el (ask-user-about-supersession-threat):
5473 Use read-char-choice (Bug#12093).
145823ec 5474
74c582e6
CY
54752012-09-07 Chong Yidong <cyd@gnu.org>
5476
e5c2edf7
CY
5477 * subr.el (buffer-narrowed-p): New function.
5478
5479 * ses.el (ses-widen):
5480 * simple.el (count-words--buffer-message):
1f9f395d 5481 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5482
5483 * simple.el (count-words-region): Don't signal an error if there
5484 is a non-nil prefix arg and the mark is not set.
c640e87d 5485
74c582e6
CY
5486 * help.el (describe-key-briefly): Allow the message to be seen
5487 when invoked from the minibuffer (Bug#7014).
5488
d81ceaaf
DG
54892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5490
5491 * progmodes/ruby-mode.el (ruby-end-of-defun)
5492 (ruby-beginning-of-defun): Simplify, allow indentation before
5493 block beginning and end keywords.
8f06acce
DG
5494 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5495 (ruby-end-of-defun): Expect that the point is at the beginning of
5496 the defun.
d81ceaaf 5497
d458ef98
SM
54982012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5501 (bug#12367).
5502 (cl--make-usage-args): Strip _ from argument names.
5503
20367d28
RS
55042012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5505
5506 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5507 obsolete alias speedbar-key-map.
5508 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5509 (vhdl-index-menu-init): Don't use obsolete variable
5510 font-lock-maximum-size.
5511
3424a4f6
CY
55122012-09-06 Chong Yidong <cyd@gnu.org>
5513
5514 * frame.el (window-system-version): Mark as obsolete.
5515
fcbfbdea
CY
5516 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5517 of obsolete variable speedbar-key-map.
5518
826b3235
JL
55192012-09-06 Juri Linkov <juri@jurta.org>
5520
5521 * replace.el (replace-lax-whitespace): New defcustom.
5522 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5523 (replace-string, replace-regexp): Mention it in docstrings.
5524 (perform-replace, replace-highlight): Let-bind
5525 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5526 to the values of replace-lax-whitespace and regexp-flag.
5527 Don't let-bind search-whitespace-regexp. (Bug#10885)
5528
5529 * isearch.el (isearch-query-replace): Let-bind
5530 replace-lax-whitespace instead of let-binding
5531 replace-search-function and replace-re-search-function.
5532 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5533 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5534 (isearch-toggle-symbol): Set isearch-regexp to nil
5535 in isearch-word mode (like in isearch-toggle-word).
5536
1ec5e41d
JL
55372012-09-06 Juri Linkov <juri@jurta.org>
5538
5539 * replace.el (replace-search-function)
5540 (replace-re-search-function): Set default values to nil.
5541 (perform-replace): Let-bind isearch-related variables based on
5542 replace-related values, call `isearch-search-fun' and let-bind
5543 the result to `search-function'. Remove code that sets
5544 `search-function' and `search-string' separately for
5545 `delimited-flag'.
5546 (replace-highlight): Add new argument `delimited-flag' and
5547 rename other arguments to the names used in `perform-replace'.
5548 Let-bind `isearch-word' to the argument `delimited-flag'.
5549 (Bug#10885, bug#10887)
5550
0ba2d4b6
DG
55512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5552
5553 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5554 ruby-beginning-of-indent, simplify, allow all keywords to have
5555 indentation before them.
5556 (ruby-beginning-of-indent): Adjust for above. Search until the
5557 found point is not inside a string or comment.
5558 (ruby-font-lock-keywords): Allow symbols to start with "@"
5559 character, give them higher priority than variables.
5560 (ruby-syntax-propertize-function)
5561 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5562 matchers. Expression expansions are not comments when inside a
5563 string, and there comment syntax status is irrelevant.
5564 (ruby-match-expression-expansion): New function. Check that
5565 expression expansion is inside a string, and it's not escaped.
5566 (ruby-font-lock-keywords): Use it.
5567
ef654460
MR
55682012-09-05 Martin Rudalics <rudalics@gmx.at>
5569
5570 * help.el (temp-buffer-max-height): New default value.
5571 (temp-buffer-resize-frames): New option.
5572 (resize-temp-buffer-window): Optionally resize frame.
5573
5574 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5575 (fit-frame-to-buffer): New function.
5576
7e570fbf 55772012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5578
5579 * emulation/cua-rect.el (cua--init-rectangles):
5580 * textmodes/picture.el (picture-mode-map):
5581 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5582 like forward-char and backward-char. (Bug#12317)
5583
7e570fbf 55842012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5585
5586 * progmodes/flymake.el (flymake-warning-re): New variable.
5587 (flymake-parse-line): Use it.
5588
7e570fbf 55892012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5590
5591 * calendar/holidays.el (holiday-christian-holidays):
5592 Rename an entry. (Bug#12289)
5593
7e570fbf 55942012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5595
5596 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5597 (bug#12222).
5598
972debf2
SM
55992012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * loadup.el: Load macroexp. Remove hack.
5602 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5603 (macroexp--expand-all): Use it to get better warnings.
5604 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5605 (internal-macroexpand-for-load): New functions.
5606 (macroexp--pending-eager-loads): New var.
5607 (emacs-startup-hook): New hack to replace one in loadup.el.
5608 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5609 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5610 (cl-psetf): Simplify.
5611 (cl-defstruct): Add indent rule.
5612
8ce192e3
LI
56132012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5614
5615 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5616 over `user-mail-address' for the SMTP MAIL FROM envelope.
5617 (smtpmail-via-smtp): Ditto.
5618
6578b4d8
DG
56192012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5620
5621 * progmodes/ruby-mode.el: Clean up keybindings.
5622 (ruby-mode-map): Don't bind ruby-electric-brace,
5623 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5624 backward-kill-word, reindent-then-newline-and-indent.
5625 (ruby-mark-defun): Remove.
5626 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5627 (ruby-mode): Set local beginning-of-defun-function and
5628 end-of-defun-function values.
5629
c5e28e39
MR
56302012-09-03 Martin Rudalics <rudalics@gmx.at>
5631
5632 * window.el (temp-buffer-window-setup-hook)
5633 (temp-buffer-window-show-hook): New hooks.
5634 (temp-buffer-window-setup, temp-buffer-window-show)
5635 (with-temp-buffer-window): New functions.
972debf2
SM
5636 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5637 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5638
5639 * help.el (temp-buffer-resize-mode): Fix doc-string.
5640 (resize-temp-buffer-window): New optional argument WINDOW.
5641
5642 * files.el (recover-file, save-buffers-kill-emacs):
5643 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5644
73406194
MA
56452012-09-02 Michael Albinus <michael.albinus@gmx.de>
5646
5647 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5648 remote definition of `default-directory', ensure we can connect.
5649
63dd1c6f
JL
56502012-09-02 Juri Linkov <juri@jurta.org>
5651
5652 Toggle whitespace matching mode with M-s SPC.
5653 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5654
5655 * isearch.el (search-whitespace-regexp): Doc fix.
5656 Remove cons cell customization.
5657 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5658 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5659 New variables.
5660 (isearch-forward, isearch-forward-regexp): Doc fix.
5661 (isearch-toggle-lax-whitespace): New command.
5662 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5663 (re-search-forward-lax-whitespace)
5664 (re-search-backward-lax-whitespace): New functions.
5665 (isearch-whitespace-regexp): Remove function.
5666 (isearch-query-replace): Let-bind replace-search-function and
5667 replace-re-search-function.
5668 (isearch-occur): Let-bind search-spaces-regexp according to the
5669 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5670 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5671 condition for C-q SPC.
5672 (isearch-search-fun-default): Use new functions mentioned above.
5673 (isearch-search-forward, isearch-search-backward): Remove functions.
5674 (isearch-search): Don't let-bind search-spaces-regexp.
5675 (isearch-lazy-highlight-space-regexp): Remove variable.
5676 (isearch-lazy-highlight-lax-whitespace)
5677 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5678 (isearch-lazy-highlight-new-loop): Use them.
5679 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5680
af7dda05
CY
56812012-09-02 Chong Yidong <cyd@gnu.org>
5682
5683 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5684
d67d3afd
GM
56852012-09-02 Glenn Morris <rgm@gnu.org>
5686
5687 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5688
69678719
GM
56892012-09-01 Glenn Morris <rgm@gnu.org>
5690
5691 * term.el: Tidy up menu definitions.
5692 (term-mode-map): Use easymenu for In/Out, Complete menus.
5693 (term-pager-break-map): Initialize in the defvar.
5694 (term-terminal-menu, term-signals-menu): Define with easymenu.
5695 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5696 (term-pager-menu): New, extracted from term-process-pager.
5697 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5698 (term-update-mode-line): Propertize line/char and page items.
5699 (term-process-pager): Move keymap initialization elsewhere.
5700
78dd6ab1
MR
57012012-09-01 Martin Rudalics <rudalics@gmx.at>
5702
5703 * window.el (switch-to-prev-buffer): Handle additional values of
5704 BURY-OR-KILL argument. Don't switch in minibuffer window.
5705 (switch-to-next-buffer): Don't switch in minibuffer window.
5706 (quit-restore-window): New function based on quit-window.
5707 Handle additional values of former KILL argument.
5708 (quit-window): Call quit-restore-window with appropriate
5709 interpretation of KILL argument.
5710 (display-buffer-below-selected): New buffer display action
5711 function.
5712
3d10e134
SM
57132012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * minibuffer.el (completion-at-point-functions): Complete docstring
5716 (bug#12254).
5717
0e23ef9d
PE
57182012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5719
5720 Better seed support for (random).
5721 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5722 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5723 * play/mpuz.el, play/tetris.el, play/zone.el:
5724 * calc/calc-comb.el (math-init-random-base):
5725 * play/blackbox.el (bb-init-board):
5726 * play/life.el (life):
5727 * server.el (server-use-tcp):
5728 * type-break.el (type-break):
5729 Remove unnecessary call to (random t).
5730 * net/sasl.el (sasl-unique-id-function):
5731 Change (random t) to (random), now that the latter is more random.
5732 * play/life.el (life-initialized): Remove no-longer-needed var.
5733
862382df
MR
57342012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5735
5736 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5737 Consider frame's buffer predicate when choosing the buffer.
5738 (Bug#12081)
5739
262a66e1
RS
57402012-08-30 Richard Stallman <rms@gnu.org>
5741
5742 * simple.el (special-mode-map): Delete binding for `z'.
5743
f17e1d00
AS
57442012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * progmodes/compile.el (compilation-always-kill): Doc fix.
5747
24777832
CY
57482012-08-30 Chong Yidong <cyd@gnu.org>
5749
5750 * window.el (display-buffer-reuse-frames): Make the obsolescence
5751 message more informative.
5752
69ba1f04
GM
57532012-08-30 Glenn Morris <rgm@gnu.org>
5754
5755 * paren.el (show-paren-delay):
5756 Add a :set function. Doc fix. (Bug#12297)
5757
f0019ede
MB
57582012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5759
5760 * progmodes/compile.el (compilation-always-kill): New var.
5761 (compilation-start): Use it.
5762
35e62fc9
SM
57632012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5764
af070a1c
SM
5765 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5766 * files.el (read-only-mode): Move to simple.el.
5767
35e62fc9
SM
5768 * files.el (read-only-mode): New minor mode.
5769 (toggle-read-only): Use it and mark obsolete.
5770 (find-file--read-only):
5771 * vc/vc.el (vc-next-action, vc-checkout):
5772 * vc/vc-cvs.el (vc-cvs-checkout):
5773 * obsolete/vc-mcvs.el (vc-mcvs-update):
5774 * ffap.el (ffap--toggle-read-only): Update callers.
5775
c2c43c23
MA
57762012-08-29 Michael Albinus <michael.albinus@gmx.de>
5777
5778 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5779 remote shell scripts.
5780 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5781
5782 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5783 "/usr/local/sbin".
5784
9fba804b
SM
57852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5788
eada0861 57892012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5790
806f0cc7
LL
5791 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5792 completion-at-point. (Bug#12220)
5793
3bb213b9
LL
5794 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5795
22ab32ef
LL
5796 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5797
eada0861 57982012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5799
19c17fc1
CY
5800 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5801 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5802
eada0861 58032012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5804
5805 * progmodes/hideif.el (hif-compress-define-list):
5806 Fix typo. (Bug#11951)
5807
eada0861 58082012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5809
5810 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5811 buffer local setting.
5812
27d6c5a8
LL
5813 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5814 rcirc-encode-coding-system.
5815
eada0861 58162012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5817
5818 * net/rcirc.el (rcirc-split-message): New function.
5819 (rcirc-send-message): Use it. (Bug#12051)
5820
d44688e4
JL
58212012-08-28 Juri Linkov <juri@jurta.org>
5822
5823 * info.el (Info-fontify-node): Hide empty lines at the end of
5824 the node. (Bug#12272)
5825
34f10d41
MR
58262012-08-27 Drew Adams <drew.adams@oracle.com>
5827
5828 * dired.el (dired-pop-to-buffer): Make window start at beginning
5829 of buffer (Bug#12281).
5830
77f1f99c
CY
58312012-08-26 Chong Yidong <cyd@gnu.org>
5832
5833 * window.el (special-display-regexps, special-display-frame-alist)
5834 (special-display-buffer-names, special-display-function)
5835 (display-buffer-reuse-frames): Mark as obsolete.
5836
5837 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5838
5839 * help.el (help-print-return-message): Don't treat
5840 display-buffer-reuse-frames specially.
5841
d97af5a0
CY
58422012-08-26 Chong Yidong <cyd@gnu.org>
5843
9fba804b
SM
5844 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5845 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5846 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5847 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5848 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5849 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5850 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5851 the functions directly with gdb-display-buffer-other-frame-action.
5852 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5853 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5854 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5855 (gdb-display-registers-buffer): Define directly.
5856 (def-gdb-display-buffer): Macro deleted.
5857 (gdb-display-buffer): Remove second and third args, callers don't
5858 use them. Defer to the default display-buffer behavior, apart
5859 from making windows dedicated.
5860 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5861
5862 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5863
5864 * window.el (display-buffer-pop-up-frame): Handle a
5865 pop-up-frame-parameters alist entry.
5866 (display-buffer): Document it.
5867
dd7ffad6
CY
58682012-08-26 Chong Yidong <cyd@gnu.org>
5869
5870 * isearch.el (search-whitespace-regexp): Make string and nil
5871 values apply to both ordinary and regexp search. Allow a cons
5872 cell value to distinguish between the two.
5873 (isearch-whitespace-regexp, isearch-search-forward)
5874 (isearch-search-backward): New functions.
5875 (isearch-occur, isearch-search-fun-default, isearch-search)
5876 (isearch-lazy-highlight-new-loop): Use them.
5877 (isearch-forward, isearch-forward-regexp): Doc fix.
5878
4c47bd1e
CY
58792012-08-26 Chong Yidong <cyd@gnu.org>
5880
5881 * faces.el (help-argument-name): Always inherit from italic
5882 (Bug#12213).
5883
9aba119d
MR
58842012-08-25 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (window--even-window-heights): Even heights when
5887 WINDOW and the selected window form a vertical combination.
5888 (display-buffer-use-some-window): Provide that window used gets
5889 sized back by quit-window. (Bug#11880) and (Bug#12091)
5890
ca5256ad
PE
58912012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5892
5893 Fix file time stamp problem with bzr and CVS (Bug#12001).
5894 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5895 in the file's time stamp, since the version control system loses
5896 that information.
5897
d1c0d176
JL
58982012-08-22 Juri Linkov <juri@jurta.org>
5899
5900 * info.el (Info-fontify-node): Hide the suffix of the
5901 Info file name in the header line. (Bug#12187)
5902
141562ff
GM
59032012-08-22 Glenn Morris <rgm@gnu.org>
5904
5905 * calendar/cal-tex.el (cal-tex-weekly-common):
5906 Restore leading blank page.
5907
3a21537c 59082012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5909
5910 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5911 the region under `shift-select-mode'. (Bug#12231)
5912
59132012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5914
5915 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5916 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5917 gives details on why the space is never needed.
5918
ea95074e
MR
59192012-08-22 Martin Rudalics <rudalics@gmx.at>
5920
9fba804b
SM
5921 * window.el (walk-window-tree, window-with-parameter):
5922 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5923 should run on the minibuffer window.
5924 (window-at-side-list): Don't operate on minibuffer window.
5925 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5926 (window--size-ignore): Rename to window--size-ignore-p.
5927 Update callers.
caceae25
MR
5928 (display-buffer-in-atom-window, window--major-non-side-window)
5929 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5930 (delete-side-window, display-buffer-in-side-window):
5931 New functions.
caceae25
MR
5932 (window--side-check, window-deletable-p, delete-window)
5933 (delete-other-windows, split-window): Handle side windows and
5934 atomic windows appropriately.
5935 (window--display-buffer): Call display-buffer-record-window also
5936 when the window buffer did not change.
ea95074e 5937
80a51fa0
CS
59382012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5939
5940 * help-fns.el (help-fns--key-bindings):
5941 Abbreviate non-symbol remap targets. (Bug#12174)
5942
fbb6300b
MR
59432012-08-22 Martin Rudalics <rudalics@gmx.at>
5944
5945 * dired.el (dired-mark-remembered): Don't clobber point.
5946 (Bug#11795)
5947
2b2c0794
GM
59482012-08-22 Glenn Morris <rgm@gnu.org>
5949
5950 * progmodes/bug-reference.el (bug-reference): New custom group.
5951 (bug-reference-bug-regexp): Make it a defcustom.
5952
37219830
DU
59532012-08-22 Daiki Ueno <ueno@unixuser.org>
5954
5955 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5956 (js-paren-indent-offset, js-square-indent-offset)
5957 (js-curly-indent-offset): Add :safe (Bug#12257).
5958
94e0e559
EC
59592012-08-22 Edward O'Connor <hober0@gmail.com>
5960
5961 * json.el (json-key-format): Add error properties.
5962 (json-encode-key): New function.
5963 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5964 Use json-encode-key.
5965
da485f5e
GM
59662012-08-22 Glenn Morris <rgm@gnu.org>
5967
5968 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5969 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5970 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5971 Update for above change.
5972
c6cc78b8
AS
59732012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5974
5975 * cus-face.el (custom-face-attributes): Fix customize type for the
5976 :underline attribute. (Bug#11805)
5977
5481664a
MR
59782012-08-21 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (window-point-1, set-window-point-1): Remove.
5981 (window-in-direction, record-window-buffer)
5982 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5983 (window--state-get-1, display-buffer-record-window):
5984 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5985 window-point and set-window-point respectively.
5986
6d74698e
GM
59872012-08-21 Glenn Morris <rgm@gnu.org>
5988
b7fa2691
GM
5989 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5990 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5991 Use it.
5992
52f56d5a
GM
5993 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5994 (cal-tex-shortday): New function.
5995 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5996 (cal-tex-cursor-filofax-daily): Use the above.
5997
9f1ee09e
GM
5998 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5999 New functions.
6000 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6001 (cal-tex-cursor-filofax-week): Use them.
6002
79858159
GM
6003 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6004 New constants.
6005 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6006 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6007
d346b2b4
GM
6008 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6009 (cal-tex-end-document): Don't rely on buffer name.
6010
b2403709
GM
6011 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6012 Use cal-tex-vspace.
6013 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6014 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6015 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6016 Use cal-tex-arg.
b2403709 6017
1cebb5c0
GM
6018 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6019 (cal-tex-cursor-week, cal-tex-cursor-week2)
6020 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6021 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6022 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6023 (cal-tex-insert-preamble, cal-tex-b-document)
6024 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6025 Improve cal-tex-cmd usage.
6026
c68cd5d4
GM
6027 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6028 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6029 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6030 (cal-tex-weekly-paper): New function.
6031 (cal-tex-cursor-week, cal-tex-cursor-week2)
6032 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6033 (cal-tex-cursor-day): Use it.
6034
9dca4801
GM
6035 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6036 (cal-tex-cursor-filofax-week): Remove leading blank page.
6037
1941e134
GM
6038 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6039 Add autoload cookie. For now at least, don't use color, since
6040 no other cal-tex function does.
6041
6d74698e
GM
6042 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6043 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6044 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6045
64cde199
JL
60462012-08-21 Juri Linkov <juri@jurta.org>
6047
6048 * info.el (Info-file-attributes): New variable.
6049 (info-insert-file-contents): Add file attributes to
6050 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6051 `Info-toc-nodes' when previous modtime of the Info file is less
6052 than new modtime.
6053 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6054 of info.el. (Bug#12230)
6055
32757648
GM
60562012-08-20 Glenn Morris <rgm@gnu.org>
6057
6058 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6059 * calendar/holidays.el (calendar-holiday-list):
6060 Report errors with display-warning rather than beep'n'sleep.
6061
a32fbbcf
MA
60622012-08-20 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp.el (tramp-accept-process-output): Accept only output
6065 from PROC. Otherwise, process filters and sentinels might be
6066 confused. (Bug#12145)
6067
a05731a0
CY
60682012-08-20 Chong Yidong <cyd@gnu.org>
6069
6070 * descr-text.el (describe-text-properties-1): Use overlays-in to
6071 report on empty overlays (Bug#3322).
6072
36e8d1eb
GM
60732012-08-20 Glenn Morris <rgm@gnu.org>
6074
3d300447
GM
6075 * mail/rmailout.el (rmail-output-read-file-name):
6076 Trap and report errors in rmail-output-file-alist elements.
6077
36e8d1eb
GM
6078 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6079 since most non-font-lock faces are not also variables).
6080
b96e5814
ER
60812012-08-20 Edward Reingold <reingold@iit.edu>
6082
6083 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6084 New function. (Bug12160)
6085
7cef3569
GM
60862012-08-19 Glenn Morris <rgm@gnu.org>
6087
6088 * mail/rmailout.el (rmail-output-read-file-name):
6089 Fix previous change (when the alist is nil or does not match).
6090
17975d7f
CY
60912012-08-19 Chong Yidong <cyd@gnu.org>
6092
6093 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6094 (Bug#12228).
6095
2170b1bd
CY
60962012-08-18 Chong Yidong <cyd@gnu.org>
6097
6098 * simple.el (yank-handled-properties): New defcustom.
6099 (yank-excluded-properties): Add font-lock-face and category.
6100 (yank): Doc fix.
6101
9fba804b
SM
6102 * subr.el (remove-yank-excluded-properties):
6103 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6104 and category is now done this way, instead of being hard-coded.
6105 (insert-for-yank-1): Remove font-lock-face handling.
6106 (yank-handle-font-lock-face-property)
6107 (yank-handle-category-property): New function.
6108
ee218151
GM
61092012-08-17 Glenn Morris <rgm@gnu.org>
6110
6111 * mail/rmailout.el (rmail-output-read-file-name):
6112 Check rmail-output-file-alist against the full message body
6113 in the correct rmail buffer. (Bug#12214)
6114
4a6bc3fd
MA
61152012-08-17 Michael Albinus <michael.albinus@gmx.de>
6116
9fba804b
SM
6117 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6118 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6119
383dcbf9
CY
61202012-08-17 Chong Yidong <cyd@gnu.org>
6121
6122 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6123 font spec, set the font directly (Bug#3228).
6124
998c4a6a
MR
61252012-08-17 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (delete-window): Fix last fix.
6128
52162052
MR
61292012-08-16 Martin Rudalics <rudalics@gmx.at>
6130
6131 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6132 (window-child, window-child-count, window-last-child)
6133 (window-normalize-window, window-combined-p)
6134 (window-combinations, window-atom-root, window-min-size)
6135 (window-sizable, window-sizable-p, window-size-fixed-p)
6136 (window-min-delta, window-max-delta, window--resizable)
6137 (window--resizable-p, window-resizable, window-total-size)
6138 (window-full-height-p, window-full-width-p, window-body-size)
6139 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6140 (minimize-window, window-deletable-p, delete-window)
6141 (delete-other-windows, set-window-buffer-start-and-point)
6142 (next-buffer, previous-buffer, split-window, balance-windows-2)
6143 (set-window-text-height, window-buffer-height)
6144 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6145 (truncated-partial-width-window-p): Minor code adjustments.
6146 In doc-strings state whether the argument window has to denote a
85c2386b 6147 live, valid or any window.
52162052 6148
1c308380
PS
61492012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6150
6151 * progmodes/subword.el (subword-forward-function)
6152 (subword-backward-function, subword-forward-regexp)
6153 (subword-backward-regexp): New variables.
6154 (subword-forward, subword-forward-internal, subword-backward-internal):
6155 Use new variables, eg so that different "word" definitions
6156 can be easily used. (Bug#11411)
6157
94c9ece1
SM
61582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6161 for composite selectors.
6162 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6163 operation just because we can't find a previous revision.
6164
f2045622
CY
61652012-08-15 Chong Yidong <cyd@gnu.org>
6166
6167 * frame.el (set-frame-font): Accept font objects.
6168
582db660
SM
61692012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6172
2f29c200
WJ
61732012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6174
456e62c2
WJ
6175 * man.el (Man-overstrike-face, Man-underline-face)
6176 (Man-reverse-face): Remove variables.
6177 (Man-overstrike, Man-underline, Man-reverse): New faces.
6178 (Man-fontify-manpage): Use them instead of the variables.
6179 (Man-cleanup-manpage): Comment change.
6180 (Man-ansi-color-map): New variable.
6181 (Man-fontify-manpage): Use it.
6182 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6183
2f29c200
WJ
6184 Implement ANSI SGR parameters 22-27 (bug#12146).
6185 * ansi-color.el (ansi-colors): Doc fix.
6186 (ansi-color-context, ansi-color-context-region): Doc fix.
6187 (ansi-color--find-face): New function.
6188 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6189 Rename the local variable `face' to `codes' since it is now a list of
6190 ansi codes. Doc fix.
6191 (ansi-color-get-face): Remove.
6192 (ansi-color-parse-sequence): New function, derived from
6193 ansi-color-get-face.
6194 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6195 codes 22-27.
6196
b4f5e9df
SM
61972012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * subr.el (read-passwd): Allow use from a minibuffer.
6200
ba025fbd
EZ
62012012-08-14 Eli Zaretskii <eliz@gnu.org>
6202
6203 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6204 inside comments and strings as identifiers.
6205
6206 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6207 expression to evaluate. This allows to evaluate expressions with
6208 embedded whitespace.
6209 (gud-tooltip-tips): Add a blank before the newline in the
6210 message-box text, for the benefit of message-box emulation on
6211 MS-Windows.
6212
6213 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6214 messages from GDB, pop them up in a tooltip to give feedback to
6215 user.
b4f5e9df
SM
6216 (gdb-tooltip-print-1): Quote the expression to evaluate.
6217 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6218 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6219 if the TTY name is nil or empty (which happens when communicating
6220 with the inferior via pipes, e.g. on MS-Windows).
6221 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6222 don't send that to the GUD buffer.
6223
c548f821
GM
62242012-08-14 Glenn Morris <rgm@gnu.org>
6225
6226 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6227 Optimize away setq-default with no args, as for setq. (Bug#12195)
6228
55802e4a
CY
62292012-08-14 Chong Yidong <cyd@gnu.org>
6230
4abcdac8
CY
6231 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6232
55802e4a
CY
6233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6234 (Bug#12085).
6235
3c3cda1a
GM
62362012-08-14 Glenn Morris <rgm@gnu.org>
6237
6238 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6239
e1873bd0
MA
62402012-08-14 Michael Albinus <michael.albinus@gmx.de>
6241
6242 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6243 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6244 Use cached shell name.
6245
925411b4
FEG
62462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6247
6248 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6249 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6250
e636fafe
DG
62512012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6252
6253 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6254 (ruby-percent-literal-beg-re): New constant.
6255 (ruby-syntax-general-delimiters-goto-beg): Rename to
6256 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6257 (ruby-syntax-propertize-general-delimiters): Rename to
6258 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6259 popular term. Adjust comments everywhere.
6260 (ruby-syntax-propertize-percent-literal): Only propertize when not
6261 inside a simple string or comment. When the literal is unclosed,
6262 leave the text after it unpropertized.
f063063a
DG
6263 (ruby-syntax-methods-before-regexp): New constant.
6264 (ruby-syntax-propertize-function): Use it to recognize regexps.
6265 Don't look at the text after regexp, just use the whitelist.
e636fafe 6266
e5b19827
AS
62672012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6268
6269 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6270 non-nil always load the compiled file if it exists. (Bug#12197)
6271
a9f6f311
CY
62722012-08-14 Chong Yidong <cyd@gnu.org>
6273
6274 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6275 (hi-lock-set-pattern): When deciding whether to use font lock or
6276 overlays, look at font-lock-mode instead of font-lock-fontified
6277 (Bug#12168).
6278 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6279 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6280
7d806b1e
DU
62812012-08-14 Daiki Ueno <ueno@unixuser.org>
6282
6283 * subr.el (internal--after-with-selected-window): Fix typo
6284 (Bug#12193).
6285
5beed586
FEG
62862012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6287
6288 Use `completion-table-dynamic' for completion functions.
6289 * progmodes/python.el
6290 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6291 (python-shell-completion--get-completions):
6292 Remove functions.
5beed586
FEG
6293 (python-shell-completion-complete-at-point): New function.
6294 (python-completion-complete-at-point): Use it.
6295
92cb3b04
J
62962012-08-13 Jambunathan K <kjambunathan@gmail.com>
6297
6298 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6299 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6300
89660017
SM
63012012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6302
3c98c962
SM
6303 * subr.el (function-get): Refine `autoload' arg so it can also
6304 autoload functions for gv.el (bug#12191).
6305 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6306 autoloads macros.
6307
aa7c6dbe
SM
6308 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6309 Prefer pcase-let over destructuring-bind.
6310 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6311 Also, remove whitespace as we go, rather than after accumulating the
6312 various places.
6313
89660017
SM
6314 * subr.el (internal--before-with-selected-window)
6315 (internal--after-with-selected-window): Fix typo seleted->selected.
6316 (with-selected-window): Adjust callers.
6317 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6318
31cd32c9
BG
63192012-08-13 Bastien Guerry <bzg@gnu.org>
6320
0fcd3d9f 6321 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6322 enhancement. (Bug#12172)
6323
1b15d8ad
AS
63242012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6325
31e54db0
AS
6326 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6327 type 1-6.
6328 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6329 extended headers.
6330
1b15d8ad
AS
6331 * files.el (hack-local-variables-filter): Remove useless eval.
6332
35cb9c06
MR
63332012-08-13 Martin Rudalics <rudalics@gmx.at>
6334
6335 * subr.el (with-selected-window): Fix last change.
6336
1439443b
SM
63372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * subr.el (internal--before-with-seleted-window)
6340 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6341 (with-selected-window): Use them, to replace dependency on
6342 tty-top-frame.
1439443b 6343
0d9e2599
NN
63442012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6345
6346 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6347 binding for `newline'.
6348 (ruby-move-to-block): When moving backward, stop at block opening,
6349 not indentation.
6350 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6351 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6352 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6353 `ruby-toggle-block'.
6354
ba10c48c
SM
63552012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * ibuffer.el (ibuffer-do-toggle-read-only):
6358 * dired.el (dired-toggle-read-only):
6359 * buff-menu.el (Buffer-menu-toggle-read-only):
6360 * bindings.el (mode-line-toggle-read-only):
6361 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6362
9229c658
AS
63632012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6364
6365 * descr-text.el (describe-char): Put the overlays over the
6366 "displayed as" character.
6367
0fd09128
JB
63682012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6369
6370 * calc/calc-units.el (math-default-units-table): Give an
6371 initial value.
6372 (math-put-default-units): Add options to put composite units and
6373 unit systems in the default units table.
6374 (calc-convert-units): Send composite units to
6375 `math-put-default-units' when appropriate.
6376
9ff9402d 63772012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6378
fbb5e336
GM
6379 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6380
7aacaf15
GM
6381 * tutorial.el (help-with-tutorial):
6382 * emacs-lisp/copyright.el (copyright-update-directory):
6383 * emacs-lisp/autoload.el (autoload-find-generated-file)
6384 (autoload-find-file): Disable local eval: (for insurance).
6385
f40b9f10
GM
6386 * files.el (hack-local-variables-filter): If an eval: form is not
6387 known to be safe, and enable-local-variables is :safe, then ignore
6388 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6389 This is CVE-2012-3479.
f40b9f10 6390
daa9f1a6
SM
63912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6394 (rx-form): Simplify.
6395
9cd80478
DG
63962012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6397
0d9e2599
NN
6398 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6399 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6400 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6401 (ruby-syntax-propertize-function): Adjust for changes in
6402 `ruby-syntax-propertize-heredoc'.
6403
64042012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6405
9cd80478
DG
6406 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6407 binding (use `M-;' instead).
9cd80478 6408 (ruby-singleton-class-p): New function.
0d9e2599 6409 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6410
d301b413
SM
64112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6414
1530c98e
CY
64152012-08-10 Chong Yidong <cyd@gnu.org>
6416
6417 * progmodes/python.el (python-shell-get-process-name): Don't mess
6418 with same-window-buffer-names.
6419
6420 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6421 (eshell-remove-from-window-buffer-names): Make obsolete.
6422 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6423 (eshell): Just use pop-to-buffer-same-window instead.
6424
e1293765
CY
64252012-08-10 Chong Yidong <cyd@gnu.org>
6426
6427 * bindings.el: Bind M-= back to count-words-region.
6428
6429 * simple.el (count-words-region): Accept a prefix arg for acting
6430 on the entire buffer.
6431 (count-words--buffer-message): New helper function.
6432
e1894109
SM
64332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6436 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6437 (event-start, event-end): Use posn-at-point to return a more
6438 informative posn.
6439 (posnp): New function.
6440 * mouse.el (popup-menu-normalize-position): Use it.
6441
c69f56a2
MY
64422012-08-10 Masatake YAMATO <yamato@redhat.com>
6443
6444 * mouse.el (popup-menu-normalize-position): New function.
6445 (popup-menu): Use `popup-menu-normalize-position' to normalize
6446 the form for POSITION argument.
6447
6448 * term/x-win.el (x-menu-bar-open):
6449 Use the value returend from (posn-at-point) as position
6450 passed to `popup-menu'.
6451
31673780
JB
64522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6453
6454 * calc/calccomp.el (math-compose-expr): Add extra argument
6455 indicating that parentheses should be put around products in
6456 denominators. Give multiplication precedence over division during
6457 composition.
6458
dab7711b
CY
64592012-08-09 Chong Yidong <cyd@gnu.org>
6460
dee4ef93
CY
6461 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6462 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6463 (Man-untabify-command, manual-program): Convert to defcustom
6464 (Bug#10429).
6465
73e2bbc5
CY
6466 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6467
3e861c8a
CY
6468 * descr-text.el (describe-char): Don't insert extra newlines
6469 (Bug#10127).
6470
a9f5a649
CY
6471 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6472 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6473
dab7711b
CY
6474 * align.el (align-region): Delete temporary markers (Bug#10047).
6475 Plus some code cleanups.
6476
e0cc4efa
FEG
64772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6478
6479 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6480 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6481 (python-shell-internal-last-output): Use make-local-variable
6482 instead of make-variable-buffer-local.
6483
489af14f
FEG
64842012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6485
6486 * progmodes/python.el: Enhancements to forward-sexp.
6487 (python-nav-forward-sexp): Rename from
6488 python-nav-forward-sexp-function.
c69f56a2
MY
6489 (python-nav--forward-sexp, python-nav--backward-sexp):
6490 New functions.
489af14f 6491
0fc50303
JB
64922012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6493
6494 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6495 modes and simplification modes.
6496
5d65606a
SM
64972012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * delsel.el (delete-selection-pre-hook): Don't propagate the
6500 file-supersession signals (bug#12161).
6501
4250fdf5
SM
65022012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6505 (cl-map-extents): Add compatibility aliases (bug#12135).
6506
d9f9b465
MA
65072012-08-08 Michael Albinus <michael.albinus@gmx.de>
6508
6509 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6510 tests by `ignore-error'.
6511 (tramp-find-shell): Open also a new shell, when cache is already
6512 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6513
ce0fcefa
JL
65142012-08-08 Juri Linkov <juri@jurta.org>
6515
6516 * bookmark.el: Add `defaults' property to the bookmark record.
6517 (bookmark-current-buffer): Doc fix.
6518 (bookmark-make-record): Add `defaults' property with default values
6519 to the bookmark record.
6520 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6521 with `bookmark-insert-current-bookmark'.
6522 (bookmark-set): Get `defaults' property from the bookmark record
6523 and use it in `read-from-minibuffer'.
6524 (bookmark-insert-current-bookmark): Remove function.
6525
6526 * info.el (Info-bookmark-make-record): Add `defaults' property
6527 with values of canonical Info node name, the current Info file
6528 name and the current Info node name. (Bug#12107)
6529
53fa8652
JL
65302012-08-08 Juri Linkov <juri@jurta.org>
6531
6532 * files.el (basic-save-buffer): Use `buffer-name' as the default
6533 of `read-file-name' when buffer is not visiting a file (bug#12128).
6534
242c0a95
JL
65352012-08-08 Juri Linkov <juri@jurta.org>
6536
6537 * info.el (Info-isearch-search): Doc fix.
6538 (Info-search): Change search-failed message from "initial node" to
6539 "end of node" (bug#12078).
6540 (Info-isearch-search): Change `isearch-string-state' to
6541 `isearch--state-string'.
6542
32ac3a6b
GM
65432012-08-08 Glenn Morris <rgm@gnu.org>
6544
6545 * language/persian.el: Remove file.
f8c1afd5 6546 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6547 * loadup.el: Remove language/persian.
6548
2c2d9c9c
OF
65492012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6550
6551 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6552
2d79ec42
FEG
65532012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6554
3c855b96 6555 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6556 (python-syntax-context) Rename from python-info-ppss-context.
6557 (python-syntax-context-type): Rename from
6558 python-info-ppss-context-type.
6559 (python-syntax-comment-or-string-p): Rename from
6560 python-info-ppss-comment-or-string-p.
6561
2bd255dd
JB
65622012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6563
6564 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6565
c395097f
AS
65662012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6567
6125983e
AS
6568 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6569 a defcustom that is quoted with backquote.
6570
4250fdf5
SM
6571 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6572 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6573 (math-do-arg-check, math-define-function-body): Use backquote forms.
6574 * calc/calc-ext.el (math-defcache): Likewise.
6575 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6576 * allout.el (allout-new-exposure): Likewise.
6577 * calc/calcalg2.el (math-tracing-integral): Likewise.
6578 * info.el (Info-last-menu-item): Likewise.
6579 * emulation/vip.el (vip-loop): Likewise.
6580 * textmodes/artist.el (artist-funcall): Likewise.
6581 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6582 Construct menu-item directly.
6583
4250fdf5
SM
6584 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6585 Don't declare.
c395097f 6586
5fb50dd3
CY
65872012-08-07 Chong Yidong <cyd@gnu.org>
6588
6589 * simple.el (deactivate-mark): Preserve text properties when
6590 saving the primary selection (Bug#8384).
6591
54eea618
KR
65922012-08-07 Kevin Ryde <user42@zip.com.au>
6593
6594 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6595 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6596 and continue processing (Bug#12110).
6597
638eaeb9
SM
65982012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6601 syntax-propertize-function (bug#10095).
6602
ea376861
SM
66032012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6604
f91b35be
SM
6605 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6606 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6607 describe-function-1.
6608 (describe-function-1): Use them. Move compiler macro after sig.
6609 (help-fns--compiler-macro): Use function-get. Assume we're already in
6610 standard-output. Adjust layout to new call order.
6611
ea376861
SM
6612 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6613 re-binding a symbol that has a symbol-macro (bug#12119).
6614
d5be7bd0
MB
66152012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6616
6617 * language/persian.el: New file. (Bug#11812)
6618 * loadup.el: Add language/persian.el.
6619
90749b53
CY
66202012-08-06 Chong Yidong <cyd@gnu.org>
6621
6622 * window.el (window--maybe-raise-frame): New function.
6623 (window--display-buffer): Split off from here.
6624 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6625 (display-buffer-pop-up-window, display-buffer-use-some-window):
6626 Obey an inhibit-switch-frame action alist entry.
6627 (display-buffer): Update doc.
6628
6629 * replace.el (occur-after-change-function): Avoid losing focus by
6630 using the inhibit-switch-frame display parameter (Bug#12139).
6631
ba7b0154
FEG
66322012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6633
6634 Make internal shell process buffer names start with space.
6635 * progmodes/python.el (python-shell-make-comint): Add optional
6636 argument INTERNAL.
6637 (run-python-internal): Use it.
6638 (python-shell-internal-get-or-create-process): Check for new
6639 internal buffer names.
6640
5eaeacb5
GM
66412012-08-06 Glenn Morris <rgm@gnu.org>
6642
e296d94b 6643 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6644 Do less getting and setting of environment variables.
6645
b7ccbdc2
CY
66462012-08-05 Chong Yidong <cyd@gnu.org>
6647
777fe95e
CY
6648 * proced.el (proced): Add substitution string to docstring to
6649 trigger autoloading of the proced library on C-h f (Bug#1768).
6650
4250fdf5
SM
6651 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6652 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6653
6654 * imenu.el (imenu-generic-expression): Move documentation here
6655 from imenu--generic-function.
6656 (imenu--generic-function): Refer to imenu-generic-expression.
6657
9e3b7800 66582012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6659
6660 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6661 indentation declaration.
6662 (viper-loop): Add indentation declaration (Bug#7025).
6663
e5d9c0d1
CY
66642012-08-05 Chong Yidong <cyd@gnu.org>
6665
f0422feb
CY
6666 * help-fns.el (describe-variable): Add hyperlink for
6667 directory-local variables files. Improve buffer-local and
6668 permanent-local reporting; suggested by MON KEY (Bug#6644).
6669
6670 * help-mode.el (help-dir-local-var-def): New button type.
6671
e5d9c0d1
CY
6672 * files.el (kill-buffer-hook): Provide a defvar.
6673
a4f2deaa
GM
66742012-08-05 Glenn Morris <rgm@gnu.org>
6675
6676 * eshell/esh-ext.el (eshell/addpath):
6677 Also update eshell-path-env. (Bug#12013)
6678
a9dd5754
CY
66792012-08-05 Chong Yidong <cyd@gnu.org>
6680
a4f2deaa 6681 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6682
d014c740
CY
6683 * fringe.el (fringe-styles): Add docstring.
6684 (fringe--check-mode): New function.
6685 (set-fringe-mode, set-fringe-style): Use it.
6686 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6687
a9dd5754
CY
6688 * files.el (set-auto-mode): Fix invalid setq call.
6689
7c2dc8bd
SM
66902012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * isearch.el: Misc simplification; use defstruct.
6693 (isearch-mode-map): Dense maps now work like sparse ones.
6694 (isearch--state): New defstruct.
6695 (isearch-string-state, isearch-message-state, isearch-point-state)
6696 (isearch-success-state, isearch-forward-state)
6697 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6698 (isearch-wrapped-state, isearch-barrier-state)
6699 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6700 replaced by defstruct's accessors.
6701 (isearch--set-state): Rename from isearch-top-state and change
6702 calling convention.
6703 (isearch-push-state): Use new isearch--get-state.
6704 (isearch-toggle-word): Disable regexp when enabling word.
6705 (isearch-message-prefix): Remove unused arg _c-q-hack.
6706 (isearch-message-suffix): Remove unused arg _ellipsis.
6707
7fcc0070
AS
67082012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6709
6710 * simple.el (list-processes--refresh): For a server use :host or
6711 :local as the address.
97ad0769 6712 (list-processes): Doc fix.
7fcc0070 6713
a11035b8 67142012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6715
6716 * lisp/mpc.el: Support password in host argument.
6717 (mpc--proc-connect): Parse and use new password element.
6718 Set mpc-proc variable instead of returning process.
6719 (mpc-proc): Adjust accordingly.
6720
6dad7178
EZ
67212012-08-03 Eli Zaretskii <eliz@gnu.org>
6722
18949c2f
EZ
6723 * whitespace.el (whitespace-display-mappings): Use Unicode
6724 codepoints, instead of emacs-mule codepoints. See
6725 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6726 for the details.
6727
6dad7178
EZ
6728 * files.el (file-truename): Don't skip symlink-chasing part on
6729 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6730 Windows into the loop that recursively chases symlinks.
6731 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6732 MS-DOS.
6733
385b0198
CY
67342012-08-03 Chong Yidong <cyd@gnu.org>
6735
6200f3c4
CY
6736 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6737
385b0198
CY
6738 * sort.el (sort-regexp-fields): Doc fix.
6739
b9e74744
TH
67402012-08-03 Tassilo Horn <tsdh@gnu.org>
6741
6742 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6743 labels regex position point at the expected place.
6744
41013cb4
MK
67452012-08-03 MON KEY <monkey@sandpframing.com>
6746
6747 * net/imap.el (imap-interactive-login, imap-authenticate)
6748 (imap-mailbox-lsub, imap-mailbox-list)
6749 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6750 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6751 (imap-parse-response): Doc fix.
6752
0ffee616
JT
67532012-08-03 João Távora <joaotavora@gmail.com>
6754
6755 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6756 if sexp scanning does not move point (Bug#5734).
6757
cfcc9cc8
TH
67582012-08-02 Tassilo Horn <tsdh@gnu.org>
6759
6760 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6761 Add listings, minted, and ctable packages.
6762 (reftex-label-alist-builtin): Move listings, minted, and ctable
6763 entries before LaTeX.
a01bbb84 6764 (reftex-label-alist): Docfix.
cfcc9cc8 6765
66ec2442
BG
67662012-08-02 Bastien Guerry <bzg@gnu.org>
6767
6768 * replace.el (occur): Fix docstring (bug#12122).
6769
837b365b
GM
67702012-08-02 Glenn Morris <rgm@gnu.org>
6771
6772 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6773
e098de97
PE
67742012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6775
6776 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6777 * international/mule-cmds.el: Create
6778 inactivate-current-input-method-function as an obsolete alias for
6779 deactivate-current-input-method-function. See Katsumi Yamaoka in
6780 <http://bugs.gnu.org/10150#46>.
6781
a0f95636
JB
67822012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6783
6784 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6785 of nested `if's.
6786
0d26d7c4
GM
67872012-08-01 Glenn Morris <rgm@gnu.org>
6788
6789 * progmodes/autoconf.el (autoconf-definition-regexp):
6790 Add AH_TEMPLATE, adjust submatch numbering.
6791 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6792 (autoconf-current-defun-function): Update for above change.
6793 (autoconf-current-defun-function): First skip to end of current word.
6794
b686ba06
RS
67952012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6796
6797 * calendar/cal-html.el (cal-html-insert-agenda-days):
6798 Fix typo. (Bug#12018)
6799
0d49da68
FEG
68002012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6801
6802 Shell processes: enhancements to startup and CEDET compatibility.
6803 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6804 (python-shell-make-comint): accept-process-output at startup.
6805 (run-python-internal): Set inferior-python-mode-hook to nil.
6806 (python-shell-internal-get-or-create-process): call sit-for.
6807 (python-preoutput-result): Add obsolete alias.
6808 (python-shell-internal-send-string): Use it.
6809 (python-shell-send-setup-code): Remove call to
6810 accept-process-output.
6811
f1a71c6e
AS
68122012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6813
6814 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6815 (Bug#12108)
6816
d2605269
JB
68172012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6818
6819 * calc-mode.el (calc-basic-simplification-mode): Rename from
6820 `calc-limited-simplification-mode'.
6821 (calc-alg-simplification-mode): New function.
fc0c31f8 6822 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6823
d2605269
JB
6824 * calc.el (calc-set-mode-line): Adjust mode line display for
6825 basic simplification mode.
6826
6827 * calc-help.el (calc-m-prefix-help): Update help message.
6828
6829 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6830 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6831
a3827a43
BG
68322012-07-31 Bastien Guerry <bzg@gnu.org>
6833
6834 * man.el (man): Fix comment. (bug#12101)
6835
502e3f89
MR
68362012-07-31 Martin Rudalics <rudalics@gmx.at>
6837
6838 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6839 Don't return a non-nil value when no suitable buffer was found.
6840
d7714961
FEG
68412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6842
6843 * progmodes/python.el (run-python-internal): Disable font lock for
6844 internal shells.
6845
1f45e27e
SM
68462012-07-30 Stefan Merten <smerten@oekonux.de>
6847
70efc5c9 6848 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6849 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6850 (rst-official-version, rst-official-cvs-rev)
6851 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6852 (rst-mode-map): New key binding.
6853
0aee6912
PE
68542012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6855
6856 Update .PHONY listings in makefiles.
6857 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6858 autoloads, update-subdirs, updates, bzr-update, update-authors,
6859 compile-onefile, compile-calc, backup-compiled-files,
6860 compile-after-backup, compile-one-process, mh-autoloads,
6861 bootstrap-clean, distclean, maintainer-clean.
6862
9052f9f0
JB
68632012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6864
1823ac5a
JB
6865 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6866 (calc-set-mode-line): Don't display "AlgSimp ".
6867
6868 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6869 (calc-lim-simplify-mode): New function.
6870 (calc-set-simplify-mode): Default to 'alg.
6871 (calc-default-simplify-mode): Make algebraic simplifications
6872 the default.
6873
6874 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6875 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6876
8d7c7eed 6877 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6878 indicate new simplification modes.
6879
1823ac5a
JB
6880 * calc/README: Mention new default simplification mode.
6881
9052f9f0
JB
6882 * calc/calc.el (math-normalize-error): New variable.
6883 (math-normalize): Set `math-normalize-error' to t
6884 when there's an error.
6885
6886 * calc/calc-alg.el (math-simplify): Don't simplify when
6887 `math-normalize' returns an error.
6888
20ba0cb4
EZ
68892012-07-29 Eli Zaretskii <eliz@gnu.org>
6890
6891 * international/mule-cmds.el (set-locale-environment): Revert last
6892 change, since display-graphic-p returns nil when this function is
6893 called during startup. Instead...
6894
6895 * term/w32console.el (terminal-init-w32console): ...setup the
6896 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6897
a5dcc929
JL
68982012-07-29 Juri Linkov <juri@jurta.org>
6899
6900 * simple.el (goto-line): Don't display default line number in the
6901 prompt because it should be displayed by `read-number' (bug#9952).
6902 Add the current line number to the defaults of `goto-line' to
6903 allow its easier modification by users with `M-n' (bug#9201).
6904
6905 * subr.el (read-number): Support multiple default values like in
6906 other minibuffer reading functions. Replace `read' with
6907 `string-to-number' for consistency with `number-to-string'.
6908
72b255c7
PE
69092012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6910
6911 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6912 * emulation/viper-init.el (viper-deactivate-input-method-action):
6913 Rename from viper-inactivate-input-method-action.
6914 (viper-deactivate-input-method):
6915 Rename from viper-inactivate-input-method.
6916 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6917 * international/mule-cmds.el (deactivate-input-method):
6918 Rename from inactivate-input-method.
6919 Also run input-method-deactivate-hook.
6920 (deactivate-current-input-method-function):
6921 Rename from inactivate-current-input-method-function.
6922 (input-method-deactivate-hook): New hook.
6923 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6924 (inactivate-input-method): Mark obsolete.
6925
72b255c7
PE
6926 * international/quail.el (quail-activate):
6927 Also run quail-deactivate-hook.
6928 (quail-deactivate): Rename from quail-inactivate.
6929 * international/robin.el (robin-activate):
6930 Also run robin-deactivate-hook.
6931 (robin-deactivate): Rename from robin-inactivate.
6932
2549c068
CY
69332012-07-29 Chong Yidong <cyd@gnu.org>
6934
6935 * simple.el (indicate-copied-region): New function.
6936 (kill-ring-save): Split off from here.
6937
6938 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6939 (kill-rectangle): Set deactivate-mark to t on read-only error.
6940
6941 * register.el (copy-to-register, copy-rectangle-to-register):
6942 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6943 (append-to-register, prepend-to-register): Call indicate-copied-region.
6944
69452012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6946
6947 * simple.el (async-shell-command-buffer): New defcustom.
6948 (shell-command): Use it. (Bug#4719)
6949
01bd1b0d
EZ
69502012-07-28 Eli Zaretskii <eliz@gnu.org>
6951
6952 * international/mule-cmds.el (set-locale-environment): In a
6953 console session on MS-Windows, set up keyboard and terminal
6954 encoding from the OEM codepage, not the ANSI codepage.
6955 (Bug#12055)
6956
a55739d3
CY
69572012-07-28 Chong Yidong <cyd@gnu.org>
6958
6959 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6960 gdb-get-location.
6961
0e1a094f 69622012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6963
6964 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6965 the alist (bug#12029).
6966
20329d73
EZ
69672012-07-28 Eli Zaretskii <eliz@gnu.org>
6968
6969 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6970 (compile-always, compile-first)
6971 ($(lisp)/calendar/cal-loaddefs.el)
6972 ($(lisp)/calendar/diary-loaddefs.el)
6973 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6974 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6975 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6976 instead of on update-subdirs.
6977 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6978
345a2258
CY
69792012-07-28 Chong Yidong <cyd@gnu.org>
6980
1eee6341
CY
6981 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6982 directory if vc-deduce-backend returns nil (Bug#7350).
6983
345a2258
CY
6984 * simple.el (delete-trailing-lines): New option.
6985 (delete-trailing-whitespace): Obey it (Bug#11879).
6986
049a0936
DE
69872012-07-28 David Engster <deng@randomsample.de>
6988
6989 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6990 Explanation of new 'symbol-qnames feature in doc-strings.
6991 (xml-maybe-do-ns): Return expanded names as plain symbols if
6992 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6993 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6994
aa81af71
FEG
69952012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6996
6997 Consistent completion in inferior python with emacs -nw.
6998 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6999 binding in inferior-python-mode-map with "\t".
7000 (python-shell-completion-complete-at-point)
7001 (python-completion-complete-at-point): Remove interactive spec.
7002
e827b1eb
JB
70032012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7004
7005 * calc/calccomp.el (math-compose-expr): Undo previous change.
7006
a90dfb95
FEG
70072012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7008
4250fdf5 7009 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7010 run-python.
7011 (python-shell-make-comint): Fix pop-to-buffer call.
7012 (run-python): Autoload. New arg SHOW.
7013 (python-shell-get-or-create-process): Do not pop python process
7014 buffer.
7015
32770973 70162012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7017
7018 * notifications.el (notifications-on-action-signal)
7019 (notifications-on-closed-signal): Use also the bus address for the map.
7020 (notifications-notify, notifications-close-notification)
fc0c31f8 7021 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7022
86332df2
TH
70232012-07-27 Tassilo Horn <tsdh@gnu.org>
7024
4250fdf5
SM
7025 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7026 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7027 ctable macro.
7028 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7029 labels written in keyvals syntax.
7030
ca1302a4
JB
70312012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7032
7033 * calc/calccomp.el (math-compose-expr): Use parentheses when
7034 there is a product in the denominator of a fraction.
7035
f8b91036
EZ
70362012-07-26 Eli Zaretskii <eliz@gnu.org>
7037
7038 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7039 ($(lisp)/calendar/diary-loaddefs.el)
7040 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7041 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7042 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7043 rewritten while the autoload files are built at the same time,
7044 which needs to load subdirs.el.
7045
c8e5a42c
MR
70462012-07-26 Martin Rudalics <rudalics@gmx.at>
7047
7048 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7049 (mouse-drag-line): Don't exit tracking when a switch-frame or
7050 switch-window event occurs (Bug#12006).
7051
670d85ea
SM
70522012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * mouse.el (popup-menu): Fix last change.
7055
7abaf5cc
SM
70562012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7057
7058 Autoload from Lisp with more care. Follow aliases when looking for
7059 function properties.
7060 * subr.el (autoloadp): New function.
7061 (symbol-file): Use it.
7062 (function-get): New function.
7063 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7064 autoload-do-load.
7065 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7066 (lisp-indent-function):
7067 * emacs-lisp/gv.el (gv-get):
7068 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7069 * emacs-lisp/byte-opt.el (byte-optimize-form):
7070 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7071 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7072 Use function-get.
7073 * emacs-lisp/cl.el: Don't propagate function properties any more.
7074
7075 * speedbar.el (speedbar-add-localized-speedbar-support):
7076 * emacs-lisp/disass.el (disassemble-internal):
7077 * desktop.el (desktop-load-file):
7078 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7079 (describe-function-1):
7080 * emacs-lisp/find-func.el (find-function-noselect):
7081 * emacs-lisp/elp.el (elp-instrument-function):
7082 * emacs-lisp/advice.el (ad-has-proper-definition):
7083 * apropos.el (apropos-safe-documentation, apropos-macrop):
7084 * emacs-lisp/debug.el (debug-on-entry):
7085 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7086 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7087 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7088
b1364986
AA
70892012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7090
7091 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7092 function, not an obsolete variable (Bug#12046).
7093
67ada220
AS
70942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7095
7096 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7097
f08088e3
CS
70982012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7099
7100 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7101 window only if it is still live (Bug#12034).
7102
8137e7b3
MR
71032012-07-25 Martin Rudalics <rudalics@gmx.at>
7104
7105 * subr.el (redirect-frame-focus): Add advertised calling
7106 convention (Bug#12030).
7107
09ae5da1
PE
71082012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7109
7110 Prefer typical American spelling for "acknowledgment".
7111 * vc/add-log.el (change-log-acknowledgment): Rename from
7112 change-log-acknowledgement, with an alias for the old name.
7113
3cc5a3a8
JB
71142012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7115
7116 * calc-alg.el (math-simplify-divide): Don't cross multiply
7117 in an equation when the lhs is a variable.
7118
b7af7f62
JD
71192012-07-24 Julien Danjou <julien@danjou.info>
7120
7121 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7122 Remove, unused.
7123
ec1b09b1
EZ
71242012-07-23 Eli Zaretskii <eliz@gnu.org>
7125
7126 * startup.el (command-line): Don't display an empty user name in
7127 the error message about non-existent home directory, when
7128 init-file-user was set to an empty string. See
7129 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7130 for the details and context.
7131
b525fd8a
VB
71322012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7133
7134 * ses.el (ses-cell-formula-aset): New macro.
7135 (ses-cell-references-aset): New macro.
7136 (ses-cell-p): New function.
7137 (ses-rename-cell): Do no longer rely on complex operations like
7138 ses-cell-set-formula or ses-set-cell to change the cell and handle
7139 the undo at the same time, but rather use lower level new macros
7140 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7141 the undo directly. Refresh the mode line.
b525fd8a 7142
2c73e345
LL
71432012-07-21 Leo Liu <sdl.web@gmail.com>
7144
670d85ea
SM
7145 * progmodes/cc-cmds.el (c-defun-name):
7146 Use match-string-no-properties instead for consistency.
2c73e345 7147
542dfbde
LL
71482012-07-20 Leo Liu <sdl.web@gmail.com>
7149
3646bcd6
LL
7150 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7151 (Bug#7879)
7152
542dfbde
LL
7153 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7154
25721031
CY
71552012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7158 * progmodes/bug-reference.el, misearch.el: Provide themselves
7159 (bug#11915).
7160
7161 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7162 of narrowed buffer (bug#11966).
7163
316e68a7
VB
71642012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7165
7166 * ses.el (ses-rename-cell): Set new name also in reference list of
7167 cells of which the renamed cell depends.
7168
bbf0e7d9
MY
71692012-07-20 Masatake YAMATO <yamato@redhat.com>
7170
7171 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7172 to check whether menu-bar is shown or not. If not shown,
7173 show the menu-bar as a popup menu instead of using tmm.
7174 * mouse.el (popup-menu): Accept `point' as `position' argument.
7175
c28662a8
DG
71762012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7177
7178 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7179 up inside string symbol literal (bug#11923).
7180
87ab808f
EZ
71812012-07-20 Eli Zaretskii <eliz@gnu.org>
7182
7183 * startup.el (fancy-startup-text): Read the whole tutorial, not
7184 just its first 256 bytes. Prevents gibberish in display of the
7185 tutorial title.
7186
89dea803
DA
71872012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7188
7189 Drop idle buffer compaction due to an absence of the
7190 proved efficiency.
7191 * compact.el: Remove.
7192
8a4e6db8
SS
71932012-07-19 Sam Steingold <sds@gnu.org>
7194
7195 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7196 vc-bzr-pull & vc-bzr-merge-branch.
7197 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7198 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7199 for consistency with compilation-error-regexp-alist.
7200 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7201 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7202 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7203 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7204
5db81e33
SM
72052012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * emacs-lisp/chart.el: Use lexical-binding.
7208 (chart-emacs-storage): Don't hardcode the list of entries.
7209
5b835e1d
DA
72102012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7211
7212 Next round of tweaks caused by Fgarbage_collect changes.
7213 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7214
9cd47b72
DA
72152012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7216
7217 Compact buffers when idle.
7218 * compact.el: New file.
7219
1d6fc0df
SM
72202012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * subr.el (eventp): Presume that if it looks vaguely like an event,
7223 it's an event (bug#10190).
7224
1d29cc7d
FEG
72252012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7226
7227 Enhancements to ppss related code (thanks Stefan).
7228 * progmodes/python.el (python-indent-context)
7229 (python-indent-calculate-indentation, python-indent-dedent-line)
7230 (python-indent-electric-colon, python-nav-forward-block)
7231 (python-mode-abbrev-table)
1d6fc0df 7232 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7233 for ppss context.
7234 (python-info-continuation-line-p): Cleanup.
7235 (python-info-ppss-context): Do not catch 'quote.
7236 (python-info-ppss-context-type)
7237 (python-info-ppss-comment-or-string-p): Simplify.
7238
d583cbe6
FEG
72392012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7240
7241 * progmodes/python.el: Enhancements to eldoc support.
7242 (python-info-current-symbol): New function.
7243 (python-eldoc-at-point): Use python-info-current-symbol.
7244 (python-info-current-defun): Fix cornercase on first defun scan.
7245 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7246 and signal error when no inferior python process is available.
7247
eceb6feb
DG
72482012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7249
7250 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7251 assume it's always t.
7252 (vc-git-registered): Remove caching, the function is only called
7253 once.
7254 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7255
4c8ff0fe
CY
72562012-07-18 Chong Yidong <cyd@gnu.org>
7257
19fb7186
CY
7258 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7259
9587c688
CY
7260 * simple.el (count-words): Report on narrowing (Bug#9959).
7261
0fe776a1
CY
7262 * bindings.el: Bind M-= to count-words.
7263
4c8ff0fe
CY
7264 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7265
7f5331cc
MY
72662012-07-18 Masatake YAMATO <yamato@redhat.com>
7267
7268 * progmodes/sh-script.el (sh-imenu-generic-expression):
7269 Capture a function with `function' keyword and without parentheses
7270 like "function FOO" (bug#11856).
7271
2dc2a609
TH
72722012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7273
7274 * window.el (split-window-sensibly): Make WINDOW argument
7275 optional.
7276
439f7677
CY
72772012-07-18 Chong Yidong <cyd@gnu.org>
7278
9aeb25a6
CY
7279 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7280
439f7677
CY
7281 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7282 and make C-x 8 RET exit isearch (Bug#11439).
7283
7284 * international/iso-transl.el: Move isearch-mode-map key
7285 definitions to isearch.el.
7286
12999ea8
SM
72872012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7290 (eieio-defclass): Use gv-define-setter when possible.
7291
3ab6e069
DA
72922012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7293
7294 Reflect recent changes in Fgarbage_collect.
7295 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7296 reflect new format of data returned by Fgarbage_collect.
7297
0a60bc10
FEG
72982012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7299
7300 New utility functions + python-info-ppss-context fix (Bug#11910).
7301 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7302 (python-info-ppss-comment-or-string-p): New functions.
7303 (python-info-ppss-context): Small fix for string check.
7304
6dafa0d5
JL
73052012-07-17 Juri Linkov <juri@jurta.org>
7306
7307 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7308 (dired-do-async-shell-command): Don't add `*' at the end of the
7309 command (Bug#11815).
7310 (dired-do-shell-command): Doc fix.
7311 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7312 Join the individual commands using either "&" or ";" as the
7313 separator depending on the values of these trailing characters.
7314 At the end re-add the trailing "&". (Bug#10598)
7315
7316 * simple.el (async-shell-command): Sync the interactive spec with
7317 `shell-command'. Doc fix.
7318 (shell-command): Doc fix.
7319
b19dd9d1
JL
73202012-07-17 Juri Linkov <juri@jurta.org>
7321
7322 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7323
bcdc27d7 73242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7325
bcdc27d7 7326 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7327 * progmodes/python.el (python-nav-beginning-of-statement):
7328 Rename from python-nav-statement-start.
bcdc27d7
FEG
7329 (python-nav-end-of-statement): Rename from
7330 python-nav-statement-end.
7331 (python-nav-beginning-of-block): Rename from
7332 python-nav-block-start.
7333 (python-nav-end-of-block): Rename from python-nav-block-end.
7334
191da00e
FEG
73352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7336
7f5331cc
MY
7337 * progmodes/python.el (python-shell-send-string-no-output):
7338 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7339 future interactions (Bug#11868).
7340
4dc7c8d5 73412012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7342
88ecaf8f
SM
7343 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7344
ef501ef0
SM
7345 * emacs-lisp/elint.el (elint-find-args-in-code):
7346 Use help-function-arglist, so as to handle lexical byte-code.
7347
aa7aaf8f
SM
7348 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7349 change (bug#11826).
7350
45fd731c
SM
73512012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7352
2143fa32
SM
7353 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7354 Avoid spuriously marking the buffer as modified because of c-is-sws.
7355
efc26dbe
SM
7356 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7357 as not-a-comment (bug#11946).
7358
f5695c9a
SM
7359 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7360 for uninterned vars.
7361
7362 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7363 Use read-event since we don't really want to read chars but bytes.
7364
45fd731c
SM
7365 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7366 $$..$$ but also $..$ using regexps (bug#11953).
7367 Use tex-verbatim for \url and \path.
7368 (tex-font-lock-keywords): Define as defconst like the others.
7369 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7370
ddfc8813
RK
73712012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7372
7373 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7374 alias for insert-char.
7375
758e556a
FEG
73762012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7377
7378 * progmodes/python.el: Simplified imenu implementation.
7379 (python-nav-jump-to-defun): Remove command.
7380 (python-mode-map): Use `imenu' instead.
7381 (python-nav-list-defun-positions-cache)
7382 (python-imenu-include-defun-type, python-imenu-make-tree)
7383 (python-imenu-subtree-root-label, python-imenu-index-alist):
7384 Remove vars.
7385 (python-nav-list-defun-positions, python-nav-read-defun)
7386 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7387 (python-imenu-make-tree, python-imenu-create-index):
7388 Remove functions.
758e556a
FEG
7389 (python-mode): Update to interact with imenu by setting
7390 `imenu-extract-index-name-function' only.
7391
032d23ab
FEG
73922012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7393
7394 * progmodes/python.el: Enhancements to navigation commands.
7395 (python-nav-backward-sentence)
7396 (python-nav-forward-sentence): Remove.
7397 (python-nav-backward-statement, python-nav-forward-statement)
7398 (python-nav-statement-start, python-nav-statement-end)
7399 (python-nav-backward-block, python-nav-forward-block)
7400 (python-nav-block-start, python-nav-block-end)
7401 (python-nav-forward-sexp-function)
7402 (python-info-current-line-comment-p)
7403 (python-info-current-line-empty-p): New functions.
7404 (python-indent-context): Use `python-nav-statement-start'.
7405
01795a1b
MA
74062012-07-16 Michael Albinus <michael.albinus@gmx.de>
7407
9328d9aa
MA
7408 * eshell/em-ls.el (eshell/ls): Use `apply'.
7409
7410 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7411 multi-hops, instead of Tramp internals.
7412
01795a1b
MA
7413 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7414
7415 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7416 when F1 and F2 are located on different hosts.
7417
63408057
CY
74182012-07-14 Chong Yidong <cyd@gnu.org>
7419
7420 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7421 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7422 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7423 (xterm-mouse--read-event-sequence-1000)
7424 (xterm-mouse--read-event-sequence-1006): New functions. For old
7425 mouse protocol, handle M-mouse-X events correctly.
7426 (xterm-mouse-event): New arg specifying mouse protocol.
7427 (turn-on-xterm-mouse-tracking-on-terminal)
7428 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7429 sequence to toggle extended coordinates on newer XTerms.
7430 This appears to be harmless on terminals which do not support this.
63408057 7431
cd276f6e
LL
74322012-07-14 Leo Liu <sdl.web@gmail.com>
7433
28ca98ac
LL
7434 Add fringe bitmap indicators for flymake. (Bug#11253)
7435 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7436 (flymake-make-overlay): New arg BITMAP.
7437 (flymake-error-bitmap, flymake-warning-bitmap)
7438 (flymake-fringe-indicator-position): New user variables.
7439
cd276f6e
LL
7440 * fringe.el: New bitmap exclamation-mark.
7441
04408072
JD
74422012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7443
7444 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7445 also (Bug#7879).
7446
b5cf7fc4
CY
74472012-07-14 Chong Yidong <cyd@gnu.org>
7448
7449 * electric.el (electric-pair-post-self-insert-function): Fix pair
7450 insertion in empty-region case (Bug#11520).
7451
be755c79
RT
74522012-07-14 Chong Yidong <cyd@gnu.org>
7453
45fd731c
SM
7454 * bindings.el: Consolidate ctl-x-r-map bindings.
7455 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7456
7457 * rect.el, register.el: Move bindings to bindings.el.
7458
74592012-07-14 Reuben Thomas <rrt@sc3d.org>
7460
7461 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7462
7f5b3198
AS
74632012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7464
7465 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7466
97662200
JB
74672012-07-13 Juanma Barranquero <lekktu@gmail.com>
7468
80185fed
JB
7469 * bindings.el (top): Use `mapc' instead of `mapcar'.
7470
97662200
JB
7471 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7472
2bb1ae55
MA
74732012-07-13 Michael Albinus <michael.albinus@gmx.de>
7474
7475 * progmodes/sql.el (sql-comint): Suppress the check for program on
7476 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7477 (Bug#11908)
7478
dea31bd3
CY
74792012-07-13 Chong Yidong <cyd@gnu.org>
7480
7481 * bindings.el: Assign a non-nil permanent-local property to
7482 per-buffer variables which lack a default value (Bug#11930).
7483
7484 * help-fns.el (describe-variable): In the "automatically becomes
7485 local" notice, take note of permanent-local variables.
7486
b68b3337
CY
74872012-07-13 Chong Yidong <cyd@gnu.org>
7488
7489 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7490 to allow printing the message when called from Lisp.
7491
7492 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7493 Remove toggle-read-only.
7494
7495 * bs.el (bs-toggle-readonly):
45fd731c
SM
7496 * buff-menu.el (Buffer-menu-toggle-read-only):
7497 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7498
7499 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7500 Remove with-no-warnings around toggle-read-only.
7501 (ffap-read-only, ffap-read-only-other-window)
7502 (ffap-read-only-other-frame): Callers changed.
7503
7504 * help-mode.el: Don't require view package.
7505 (help-mode-finish): Set buffer-read-only instead of calling
7506 toggle-read-only.
7507
7508 * bindings.el (mode-line-toggle-read-only):
7509 * dired.el (dired-toggle-read-only):
7510 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7511 with non-nil second arg.
7512
7513 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7514 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7515 directly.
7516
56bc1586
EZ
75172012-07-12 Eli Zaretskii <eliz@gnu.org>
7518
7519 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7520 not incf.
7521
a464a6c7
SM
75222012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 More CL cleanups and reduction of use of cl.el.
7525 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7526 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7527 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7528 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7529 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7530 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7531 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7532 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7533 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7534 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7535 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7536 * eshell/em-cmpl.el, eshell/em-banner.el:
7537 * calendar/parse-time.el: Use cl-lib.
7538 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7539 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7540 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7541 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7542 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7543 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7544 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7545 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7546 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7547 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7548 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7549 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7550 `lambda' rather than with `quote'.
7551 (eshell-do-opt): Adjust accordingly.
7552 (eshell-process-option): Simplify.
7553 * eshell/esh-var.el:
7554 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7555 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7556 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7557 to `pcase--dontcare'.
7558 * emacs-lisp/cl.el (labels): Mark obsolete.
7559 (cl--letf, letf): Move to cl-lib.
7560 (cl--letf*, letf*): Remove.
7561 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7562 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7563 (cl-progv): Rewrite.
7564 (cl--letf, cl-letf): Move from cl.el.
7565 (cl-letf*): New macro.
7566 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7567
7ad4afe1
MA
75682012-07-11 Michael Albinus <michael.albinus@gmx.de>
7569
7570 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7571
9af57756
CY
75722012-07-11 Chong Yidong <cyd@gnu.org>
7573
7574 * vc/log-edit.el (log-edit-vc-backend): New variable.
7575 (log-edit): Doc fix.
7576
7577 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7578 argument of log-edit to set up all local variables.
7579 (vc-start-logentry): New optional arg specifying VC backend.
7580
7581 * vc/vc.el (vc-checkin): Use it.
7582 (vc-deduce-fileset): Handle Log Edit buffers.
7583 (vc-diff): Make first argument optional too.
7584
7585 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7586
8477cc7a
MA
75872012-07-10 Michael Albinus <michael.albinus@gmx.de>
7588
7589 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7590 command, just in case. The function is not needed anymore.
7591 (eshell-external-command): Do not call `eshell-remote-command'.
7592
19faa8e8
SM
75932012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7594
f58e0fd5
SM
7595 Reduce use of (require 'cl).
7596 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7597 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7598 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7599 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7600 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7601 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7602 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7603 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7604 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7605 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7606 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7607 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7608 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7609 (byte-compile-unfold-bcf, byte-compile-check-variable):
7610 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7611 (byte-compile-nilconstp):
7612 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7613 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7614
2519d43a
SM
7615 * emacs-lisp/gv.el (cond): Make it a valid place.
7616 (if): Simplify slightly.
7617
19faa8e8
SM
7618 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7619 (pcase--self-quoting-p): New function.
7620 (pcase--u1): Use it.
7621
c4907a5e
GM
76222012-07-10 Glenn Morris <rgm@gnu.org>
7623
7624 * emacs-lisp/authors.el (authors-fixed-entries):
7625 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7626
c4444d16
PE
76272012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7628
7629 Rename configure.in to configure.ac (Bug#11603).
7630 * emacs-lisp/authors.el (authors-canonical-file-name):
7631 * progmodes/autoconf.el (autoconf-mode):
7632 Prefer configure.ac to configure.in.
7633
d75be97d
CY
76342012-07-08 Chong Yidong <cyd@gnu.org>
7635
01ac65bd
CY
7636 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7637 Implement the mouse-1-click-follows-link handling properly.
7638
7639 * info.el (Info-link-keymap): Use follow-link mechanism for
7640 header-line links (Bug#374).
7641
d75be97d
CY
7642 * simple.el (deactivate-mark): Do not set the primary selection
7643 if another program has acquired it (Bug#11772).
7644
87a92845 76452012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7646
7647 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7648 (woman-decode-region): Replace escaped-escapes without destroying
7649 bold or underline (Bug#11552).
87a92845 7650 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7651
621b9d6c
CY
76522012-07-07 Chong Yidong <cyd@gnu.org>
7653
7654 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7655 (interprogram-cut-function, interprogram-paste-function):
7656 Mention that we typically mean the clipboard.
621b9d6c 7657
133a11fc
GM
76582012-07-06 Glenn Morris <rgm@gnu.org>
7659
0d27a45e
GM
7660 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7661
133a11fc
GM
7662 * files.el (toggle-read-only): Restrict message to interactive use.
7663
07b151f1
MA
76642012-07-06 Michael Albinus <michael.albinus@gmx.de>
7665
7666 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7667
7668 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7669
211b896b
GM
76702012-07-06 Glenn Morris <rgm@gnu.org>
7671
50394322
GM
7672 * Makefile.in (compile-one-process): Rename from "recompile".
7673
211b896b
GM
7674 * Makefile.in (bzr-update): "compile" is the same as "recompile
7675 autoloads", but parallelizable, so use that instead.
7676
4737eec9
DG
76772012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7678
7679 * window.el (quit-window): Always restore window height when
8137e7b3 7680 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7681
226c3633 76822012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7683
7684 * simple.el (kill-whole-line): Doc tweak.
7685
226c3633 76862012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7687
7688 * files.el (file-relative-name): Compare file names
7689 case-insensitively if on MS-Windows or MS-DOS, or if
7690 read-file-name-completion-ignore-case is non-nil. Don't use
7691 case-fold-search for this purpose. (Bug#11827)
7692
4dc7c8d5
SM
76932012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7694
7695 * calendar/cal-dst.el (calendar-current-time-zone):
7696 Return calendar-current-time-zone-cache if non-nil.
7697
76982012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 76992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7700
19faa8e8
SM
7701 * calendar/cal-dst.el (calendar-current-time-zone):
7702 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7703
60198fc9
GM
77042012-07-06 Glenn Morris <rgm@gnu.org>
7705
7706 * Makefile.in (cvs-update): Remove old alias.
7707
957b3189
MA
77082012-07-05 Michael Albinus <michael.albinus@gmx.de>
7709
7710 Sync with Tramp 2.2.6-pre.
7711
7712 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7713 compatible declaration.
7714
19faa8e8
SM
7715 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7716 Protect `list-load-path-shadows' call.
957b3189
MA
7717
7718 * net/tramp-compat.el (top): Require packages, which aren't
7719 autoloaded anymore for XEmacs. Protect call of
7720 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7721 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7722 it hurts at least for SXEmacs.
7723 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7724 standard-value for `temporary-file-directory'.
7725
7726 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7727 Redirect stderr to /dev/null.
7728 (tramp-sh-handle-write-region): uid and gid can be floats.
7729 Reported by Russell Sim <russell.sim@gmail.com>.
7730 (tramp-sh-handle-vc-registered): Hide errors.
7731 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7732 and `start-file-process'.
7733 (tramp-maybe-open-connection): Check also whether `non-essential'
7734 is bound.
7735
566df3fc
CY
77362012-07-04 Chong Yidong <cyd@gnu.org>
7737
7738 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7739 (xml-parse-tag): Likewise, and avoid changing entity tables.
7740 (xml-syntax-table): Define from scratch, making sure not to give
7741 x2000 and other Unicode spaces whitespace syntax, since those are
7742 not spaces in XML.
7743 (xml-parse-fragment): Delete unused function.
7744 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7745 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7746 (xml-entity-ref, xml-pe-reference-re)
7747 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7748 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7749 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7750 (xml-entity-value-re): Use syntax references in regexps where
7751 possible; no need to define inside a let-binding.
7752 (xml-parse-dtd): Use xml-pe-reference-re.
7753 (xml-entity-or-char-ref-re): New defconst.
7754 (xml-parse-string, xml-substitute-special): Use it.
7755
30eabd7a
SM
77562012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7757
0781098a
SM
7758 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7759 (find-file--read-only): New function.
7760 (find-file-read-only, find-file-read-only-other-window)
7761 (find-file-read-only-other-frame): Use it.
7762 (insert-file-contents-literally): Don't `fset'.
7763 (get-free-disk-space): Use locate-dominating-file.
7764
b5771c0d
SM
7765 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7766 function is already compiled.
7767
30eabd7a
SM
7768 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7769
b4886f6e
MA
77702012-07-03 Michael Albinus <michael.albinus@gmx.de>
7771
7772 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7773 files on the same host.
7774
b9d82339
AS
77752012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7776
7777 * help-fns.el (describe-function-1): Only call
7778 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7779
a76e6535
CY
77802012-07-03 Chong Yidong <cyd@gnu.org>
7781
7782 * xml.el: Protect parser against XML bombs.
7783 (xml-entity-expansion-limit): New variable.
7784 (xml-parse-string, xml-substitute-special): Use it.
7785 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7786
b544fef2
GM
77872012-07-03 Glenn Morris <rgm@gnu.org>
7788
7789 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7790 Allow linking to specific messages in debbugs reports (eg 123#5).
7791
a7aef6f5
CY
77922012-07-02 Chong Yidong <cyd@gnu.org>
7793
7794 * xml.el: Fix entity and character reference expansion, allowing
7795 them to expand into markup as per XML spec.
7796 (xml-default-ns): New variable.
7797 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7798 (xml-parse-region): Make first two arguments optional.
7799 Discard text properties.
7800 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7801 All callers changed.
a7aef6f5
CY
7802 (xml-parse-tag): Call xml-parse-tag-1. For backward
7803 compatibility, this function should not modify buffer contents.
7804 (xml-parse-tag-1): Fix opening-tag regexp.
7805 (xml-parse-string): Rewrite, handling entity and character
7806 references properly.
7807 (xml--entity-replacement-text): Signal an error if a parameter
7808 entity is undefined.
7809
3df31c9f
SM
78102012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7811
2b5208f1
SM
7812 * comint.el (comint-output-filter): Filter out repeated prompts.
7813
3df31c9f
SM
7814 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7815 and file-name-absolute-p.
7816 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7817 internal calls.
7818
e3ac1281
PE
78192012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7820
7821 Spelling fixes.
7822 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7823 Rename from byte-compile--refiy-function. All uses changed.
7824
fbf2e7ad
CY
78252012-07-01 Chong Yidong <cyd@gnu.org>
7826
7827 * xml.el (xml--parse-buffer): New function. Move most of
7828 xml-parse-region here.
7829 (xml-parse-region): Copy region into a temporary buffer, since
7830 parameter entity substitution requires changing buffer contents.
7831 Use xml--parse-buffer.
7832 (xml-parse-file): Use xml--parse-buffer.
7833 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7834 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7835
9bf0aa15
GM
78362012-06-30 Glenn Morris <rgm@gnu.org>
7837
bbce2853
GM
7838 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7839
9bf0aa15
GM
7840 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7841 Remove outdated and unnecessary dbus declarations.
7842
0d23c240
EZ
78432012-06-30 Eli Zaretskii <eliz@gnu.org>
7844
7845 * emacs-lisp/timer.el (timer-until): Subtract results of
7846 float-time, instead of taking float-time of the result of
7847 time-subtract, since float-time signals an error for negative time
7848 arguments.
7849
b3218de1
CY
78502012-06-30 Chong Yidong <cyd@gnu.org>
7851
7852 * xml.el (xml-*-re): Convert defvars into defconsts, and
7853 eval-and-compile them so eval-and-compile works on derivatives.
7854 (xml--entity-replacement-text): Use eval-and-comple.
7855
a40c87a0
MA
78562012-06-30 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * vc/vc-git.el (vc-git-registered): Use cache property
7859 `git-registered'.
7860 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7861 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7862 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7863
ac87de97
DG
78642012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7865
7866 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7867 removed (likely outside Emacs). (Bug#11757)
ac87de97 7868
ac10fe06
SM
78692012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7870
3df31c9f 7871 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7872
7f3fbd5d
CY
78732012-06-30 Chong Yidong <cyd@gnu.org>
7874
7875 * xml.el: Implement XML parameter entities.
7876 (xml-parameter-entity-alist): New variable.
7877 (xml-parse-region, xml-parse-fragment): Preserve previous values
7878 of xml-entity-alist and xml-parameter-entity-alist, so that
7879 repeated calls on different documents do not change them.
7880 (xml-parse-tag): Fix doctype regexp.
7881 (xml--entity-replacement-text): New function.
7882 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7883 properly requires url retrieval which is unimplemented.
7884 (xml-escape-string): Doc fix.
7885
3cfbebba
SM
78862012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7889
2af3565e
DA
78902012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7891
7892 * fringe.el (fringe-mode): Doc fix.
7893
929df0e7
MA
78942012-06-29 Michael Albinus <michael.albinus@gmx.de>
7895
7896 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7897 is non-nil.
7898 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7899 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7900
c8d3a25c 79012012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7902
c8d3a25c
GM
7903 * calendar/cal-dst.el (calendar-current-time-zone):
7904 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7905
c8d3a25c 79062012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7907
7908 * progmodes/which-func.el (which-func-format):
7909 Add mouse-face. (Bug#11698)
7910
c8d3a25c
GM
79112012-06-29 Leo Liu <sdl.web@gmail.com>
7912
7913 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7914
79152012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * minibuffer.el (minibuffer-confirm-exit-commands):
7918 Add completion-at-point (bug#11725).
7919
79202012-06-29 Glenn Morris <rgm@gnu.org>
7921
7922 * progmodes/f90.el (f90-font-lock-keywords-2):
7923 Add some preprocessor elements. (Bug#10499)
7924
79252012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7926
7927 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7928 Use syntax-propertize (bug#11739).
7929
2badeec4
JB
79302012-06-28 Juanma Barranquero <lekktu@gmail.com>
7931
7932 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7933
ae4969c2
JD
79342012-06-28 Julien Danjou <julien@danjou.info>
7935
7936 * term.el (term-handle-colors-array): Use a set of new faces to
7937 color the terminal. Also uses :inverse-video property.
7938 (term-default-fg-color): Set to nil by default, deprecate in favor
7939 of `term-face'.
7940 (term-default-bg-color): Set to nil by default, deprecate in favor
7941 of `term-face'.
7942 (term-current-face): Use `term-face' by default.
7943 (term-bold-attribute): Variable deleted.
7944
1c9bd870
GM
79452012-06-28 Glenn Morris <rgm@gnu.org>
7946
7947 * simple.el (completion-list-mode-finish):
7948 Don't use toggle-read-only. (Since completion-list-mode has
7949 a special mode-class, it wasn't doing anything extra anyway.)
7950
c207708c
SM
79512012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 Make inlining of other-mode interpreted functions work (bug#11799).
7954 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7955 (byte-compile): Use it to fix compilation of lexical-binding closures.
7956 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7957 function, if needed.
7958
3fd56834
SM
79592012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7960
04901786
SM
7961 * help-mode.el (help-make-xrefs): Don't just withstand
7962 cyclic-variable-indirection but any error in documentation-property.
7963
1ec4b7b2
SM
7964 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7965 memory use.
7966 * bindings.el (bindings--define-key): New function.
7967 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7968 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7969 * bindings.el: Use it to purecopy define-key bindings.
7970
e309e2a5
SM
7971 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7972
d5c6faf9
SM
7973 * emacs-lisp/cl.el (flet): Mark obsolete.
7974 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7975 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7976 * progmodes/js.el (js-c-fill-paragraph):
7977 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7978 (ebrowse-switch-member-buffer-to-derived-class):
7979 * play/5x5.el (5x5-solver): Use cl-flet.
7980
6e9590e2
SM
7981 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7982 (cl--symbol-function): New macro.
7983 (cl--letf, cl--letf*): Use it.
7984
3fd56834
SM
7985 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7986 Strip "toggle-" if any.
7987
35ff222c
GM
79882012-06-27 Glenn Morris <rgm@gnu.org>
7989
1ba6038a
GM
7990 * info.el (Info-default-directory-list): Move here from paths.el.
7991 * paths.el: Remove file, which is now empty.
7992 * loadup.el: No longer load "paths".
7993
0ea0e51b
GM
7994 * custom.el (custom-initialize-delay): Doc fix.
7995
35ff222c
GM
7996 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7997 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7998 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7999 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8000 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8001 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8002 * eshell/eshell.el (eshell-defgroup): Remove alias.
8003
c89926a5
CY
80042012-06-27 Chong Yidong <cyd@gnu.org>
8005
8006 * help.el (help-enable-auto-load): New variable.
8007
8008 * help-fns.el (help-fns--autoloaded-p): New function.
8009 (describe-function-1): Refer to a function as "autoloaded" if it
8010 was autoloaded at any time in the past. Perform autoloading if
8011 help-enable-auto-load is non-nil.
8012
cc06e7e7
EZ
80132012-06-26 Eli Zaretskii <eliz@gnu.org>
8014
8015 * makefile.w32-in (compile, compile-always): Depend on
8016 update-subdirs, not on subdirs.el. Otherwise, several different
8017 sub-targets of 'bootstrap' running in parallel could
8018 simultaneously write to subdirs.el, producing a garbled file.
8019
d2c32364
SS
80202012-06-26 Sam Steingold <sds@gnu.org>
8021
8022 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8023 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8024 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8025 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8026 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8027 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8028 * textmodes/tex-mode.el: Use it.
8029 Did not touch cedet and org because they are maintained elsewhere.
8030
5cf983b2
MR
80312012-06-26 Martin Rudalics <rudalics@gmx.at>
8032
8033 * calendar/calendar.el (calendar-exit): Don't try to delete or
8034 iconify last frame. See:
8035 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8036
8c4f2952
JD
80372012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8038
8039 * server.el (server-process-filter): Remember dir in the
8040 process's `server-client-directory' properties.
8041
772b2e2c
CY
80422012-06-24 Chong Yidong <cyd@gnu.org>
8043
8044 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8045 non-tag text.
8046
711b11e1
JB
80472012-06-23 Juanma Barranquero <lekktu@gmail.com>
8048
8049 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8050
dc5d230c
SM
80512012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * help-fns.el (describe-variable): Don't croak when doc is not found.
8054 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8055 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8056 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8057 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8058 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8059 ((lambda ..) ..).
8060 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8061
136e1c1d
CY
80622012-06-23 Chong Yidong <cyd@gnu.org>
8063
e8c1cabf
CY
8064 * info.el (Info-mouse-follow-link): Accept symbol values of
8065 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8066 (Info-fontify-node): Use Info-link-keymap for all navigation
8067 buttons, with link-args property to perform the desired action.
8068 (Info-link-keymap): Doc fix.
8069 (Info-next-link-keymap, Info-prev-link-keymap)
8070 (Info-up-link-keymap): Delete now-unused keymaps.
8071
0e9e6c6a
CY
80722012-06-23 Chong Yidong <cyd@gnu.org>
8073
05e89fea
CY
8074 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8075
0e9e6c6a
CY
8076 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8077 system abbrevs.
8078
8079 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8080
e33c6771
SM
80812012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8082
b68581e2
SM
8083 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8084 (bug#11719).
8085
e33c6771
SM
8086 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8087 the requote function doesn't work properly (bug#11714).
8088
7117e105
GM
80892012-06-23 Glenn Morris <rgm@gnu.org>
8090
8091 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8092
36cec983
SM
80932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 Further GV/CL cleanups.
8096 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8097 gv-expander.
8098 (gv--defun-declaration): New function.
8099 (defun-declarations-alist): Use it.
8100 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8101 (gv-place): Autoload.
8102 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8103 original definition of dotimes and dolist.
8104 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8105 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8106 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8107 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8108 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8109 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8110 to the function's definition.
8111 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8112 * window.el:
8113 * files.el:
8114 * faces.el:
8115 * env.el: Don't use CL.
8116
d35af63c
PE
81172012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8118
8119 Support higher-resolution time stamps (Bug#9000).
8120
8121 * calendar/time-date.el (with-decoded-time-value): New arg
8122 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8123 (encode-time-value): New optional arg PICO. New type 3.
8124 (time-to-seconds) [!float-time]: Support the new picoseconds
8125 component if it's used.
8126 (seconds-to-time, time-subtract, time-add):
8127 Support ps-resolution time stamps as well.
8128
8129 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8130 (timerp): Timer vectors now have length 9, not 8.
8131 (timer--time): Support new-style (4-part) time stamps.
8132 (timer-next-integral-multiple-of-time): Time stamps now have
8133 picosecond resolution, so take a bit more care about rounding.
8134 (timer-relative-time, timer-inc-time): New optional arg psecs.
8135 (timer-set-time-with-usecs): Set psecs to 0.
8136 (timer--activate): Check psecs component, too.
8137
8138 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8139
ac77b21a
SM
81402012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8141
f143bfe3
SM
8142 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8143 Move the non-essential binding to the post/pre-command-hook where it is
8144 more obviously correct.
8145
ac77b21a
SM
8146 * subr.el (read-passwd): Don't use a history at all.
8147 * savehist.el (savehist-save): Remove password saved accidentally
8148 because of the above bug.
8149
76386c5a
BG
81502012-06-22 Bastien Guerry <bzg@gnu.org>
8151
8152 * files.el (toggle-read-only): Display a message telling whether
8153 the buffer is read-only or not (bug#11726).
8154
2ee3d7f0
SM
81552012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * emacs-lisp/gv.el: New file.
8158 * subr.el (push, pop): Extend to generalized variables.
8159 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8160 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8161 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8162 gv-define-simple-setter, and gv-define-expander.
8163 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8164 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8165 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8166 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8167 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8168 gv-letplace.
8169 (cl-defstruct): Don't define setf-method any more.
8170 * emacs-lisp/cl.el (flet): Don't autoload.
8171 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8172 (define-setf-expander, defsetf, define-modify-macro)
8173 (cl-struct-setf-expander): Move from cl-lib.el.
8174 * emacs-lisp/syntax.el:
8175 * emacs-lisp/ewoc.el:
8176 * emacs-lisp/smie.el:
8177 * emacs-lisp/cconv.el:
8178 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8179 (timer--time): Use gv-define-simple-setter.
8180 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8181 to avoid coding-system problems in subr.el. Adjust all users.
8182 (macroexp--maxsize, macroexp-small-p): New functions.
8183 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8184 * scroll-bar.el (scroll-bar-mode):
8185 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8186 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8187 * winner.el (winner-configuration, winner-make-point-alist)
8188 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8189 * files.el (locate-file-completion-table): Avoid list*.
8190
c5695d1d
CY
81912012-06-22 Chong Yidong <cyd@gnu.org>
8192
8193 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8194 (dired-create-files): Doc fix (Bug#11329).
8195 (dired-do-copy): Doc fix (Bug#11334).
8196 (dired-mark-read-string): Doc fix (Bug#11553).
8197
2ee3d7f0
SM
8198 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8199 Doc fix (Bug#11326).
c5695d1d
CY
8200 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8201 (dired-dwim-target): Doc fix.
8202
8203 * wdired.el (wdired-mode): Doc fix.
8204
89b5595a
GM
82052012-06-22 Glenn Morris <rgm@gnu.org>
8206
575db3f1
GM
8207 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8208 (pcmpl-rpm-cache-stamp-file): New constant.
8209 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8210 (pcmpl-rpm-packages): Optionally cache list of packages.
8211
a4c8dd51
GM
8212 * pcmpl-rpm.el (pcmpl-rpm): New group.
8213 (pcmpl-rpm-query-options): New option.
8214 (pcmpl-rpm-packages): No need to inline it.
8215 Use pcmpl-rpm-query-options.
8216
89b5595a
GM
8217 * calendar/calendar.el (calendar-in-read-only-buffer):
8218 Avoid some needless mode changes.
8219
e76f0800
CY
82202012-06-21 Chong Yidong <cyd@gnu.org>
8221
8222 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8223 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8224 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8225
297a8f1d
CY
82262012-06-20 Chong Yidong <cyd@gnu.org>
8227
8228 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8229
d34c18b1
DR
82302012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8231
8232 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8233 (bug#11201).
8234
32f7f28e
CY
82352012-06-20 Chong Yidong <cyd@gnu.org>
8236
8237 * term.el (term-window-width): Handle the case of a missing right
8238 fringe (Bug#8837).
8239 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8240 (term-mode): Use define-derived-mode. Minor cleanups.
8241 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8242 (term-move-columns, term-insert-char, term-emulate-terminal)
8243 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8244
493c6688
MA
82452012-06-20 Michael Albinus <michael.albinus@gmx.de>
8246
d34c18b1
DR
8247 * net/ange-ftp.el (ange-ftp-get-passwd):
8248 Bind `enable-recursive-minibuffers'.
493c6688
MA
8249 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8250
3f06ecf4
DR
82512012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8252
8253 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8254
68f12411
GM
82552012-06-19 Glenn Morris <rgm@gnu.org>
8256
8257 * progmodes/python.el (python-mode): Derive from prog-mode.
8258
b3820318
KG
82592012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8260
8261 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8262 (edt-user-menu-bar-update-buffers): New functions.
8263 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8264
c6bf3022
CY
82652012-06-19 Chong Yidong <cyd@gnu.org>
8266
8267 * subr.el (with-selected-window): Preserve the selected window's
8268 terminal's top-frame (Bug#4702).
8269
8270 * window.el (save-selected-window): Likewise.
8271
25f09295
SM
82722012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 * progmodes/python.el (python-rx-constituents): Move backquote.
8275 (python-skeleton-define, python-define-auxiliary-skeleton):
8276 Use `declare'.
8277
6b11952a
MA
82782012-06-18 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * minibuffer.el (read-file-name-default): Revert the patch from
8281 2012-06-17.
8282
ee4b1330
SM
82832012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8286 (pcase--u1, pcase--q1): Don't use apply-partially.
8287
35647f79
GM
82882012-06-18 Glenn Morris <rgm@gnu.org>
8289
8290 * progmodes/python.el (python-proc, python-buffer)
8291 (python-send-receive, python-send-string): Fix obsolete versions.
8292
24b0cff0
MR
82932012-06-18 Martin Rudalics <rudalics@gmx.at>
8294
8295 * window.el (special-display-p): Completely remove stringp
8296 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8297
29855149
MA
82982012-06-17 Michael Albinus <michael.albinus@gmx.de>
8299
8300 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8301
8302 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8303
8304 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8305 * net/tramp-sh.el (tramp-maybe-open-connection):
8306 Throw if `non-essential' is non-nil.
8307
07463363
MR
83082012-06-17 Martin Rudalics <rudalics@gmx.at>
8309
8310 * window.el (special-display-p): Signal an error if BUFFER-NAME
8311 is not a string (Bug#11713).
8312
48d1354e
PE
83132012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8314
8315 * progmodes/python.el (python-info-beginning-of-backslash):
8316 Rename from python-info-beginning-of-backlash, as a spelling fix.
8317
eb4a8a9a
CY
83182012-06-17 Chong Yidong <cyd@gnu.org>
8319
8320 * term.el (term-emulate-terminal): If term-check-size is called,
8321 move point to the process mark without resetting point (Bug#4635).
8322
ddfbf826 83232012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8324
8325 * international/mule-cmds.el (mule-menu-keymap)
8326 (set-language-environment, set-locale-environment): Doc tweaks.
8327
9b0e3eba
AA
83282012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8329
8330 * cus-face.el (custom-face-attributes): Add wave-style underline
8331 attribute.
8332 * faces.el (set-face-attribute): Update docstring to describe
8333 wave-style underline attribute.
8334
771e3eae
CY
83352012-06-16 Chong Yidong <cyd@gnu.org>
8336
8337 * term/xterm.el (terminal-init-xterm): Discard input before
8338 querying background mode (Bug#10959).
8339
7ae2ea10
SM
83402012-06-16 Stefan Merten <smerten@oekonux.de>
8341
8342 * textmodes/rst.el: Added and corrected some comments.
8343 (rst-re-alist-def): Improve symbol syntax.
8344 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8345 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8346 (rst-official-version, rst-official-cvs-rev): Update version
8347 information.
7ae2ea10 8348
b6974efa
JB
83492012-06-15 Juanma Barranquero <lekktu@gmail.com>
8350
8351 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8352 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8353
8826d473
GM
83542012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8355
8356 * progmodes/python.el: New python.el merge.
8357 (python-guess-indent): Obsolete var.
8358 (python-indent-guess-indent-offset): New defcustom.
8359 (python-indent): Obsolete var.
8360 (python-indent-offset): New defcustom.
8361 (python-python-command, python-jython-command): Delete var.
8362 (python-shell-interpreter): New defcustom.
8363 (python-pdbtrack-do-tracking-p): Delete var.
8364 (python-pdbtrack-activate): New defcustom.
8365 (python-use-skeletons): Obsolete var.
8366 (python-skeleton-autoinsert): New defcustom.
8367 (inferior-python-filter-regexp, python-continuation-offset)
8368 (python-honour-comment-indentation, python-indent-string-contents)
8369 (python-jython-packages, python-mode-hook)
8370 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8371 (python-shell-prompt-alist)
8372 (python-source-modes): Delete defcustoms.
8373 (python-check-buffer-name, python-eldoc-setup-code)
8374 (python-eldoc-string-code, python-ffap-setup-code)
8375 (python-ffap-string-code, python-fill-comment-function)
8376 (python-fill-decorator-function, python-fill-paren-function)
8377 (python-fill-string-function, python-imenu-include-defun-type)
8378 (python-imenu-make-tree, python-imenu-subtree-root-label)
8379 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8380 (python-shell-compilation-regexp-alist)
8381 (python-shell-completion-module-string-code)
8382 (python-shell-completion-pdb-string-code)
8383 (python-shell-completion-setup-code)
8384 (python-shell-completion-string-code)
8385 (python-shell-enable-font-lock, python-shell-exec-path)
8386 (python-shell-extra-pythonpaths)
8387 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8388 (python-shell-process-environment)
8389 (python-shell-prompt-block-regexp)
8390 (python-shell-prompt-output-regexp)
8391 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8392 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8393 (python-shell-virtualenv-path): New defcustoms.
8394 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8395 (inferior-python-mode-syntax-table, python--prompt-regexp)
8396 (python-buffer, python-command python-python-command)
8397 (python-default-template, python-imports, python-indent-index)
8398 (python-indent-list, python-indent-list-length)
8399 (python-mode-running, python-pdbtrack-is-tracking-p)
8400 (python-preoutput-continuation, python-preoutput-leftover)
8401 (python-preoutput-result, python-preoutput-skip-next-prompt)
8402 (python-prev-dir/file, python-recursing)
8403 (python-saved-check-command, python-version-checked)
8404 (python-which-func-length-limit)
8405 (view-return-to-alist): Delete vars.
8406 (python-check-custom-command, python-dotty-syntax-table)
8407 (python-imenu-index-alist, python-indent-current-level)
8408 (python-indent-dedenters, python-indent-levels)
8409 (python-nav-beginning-of-defun-regexp)
8410 (python-nav-list-defun-positions-cache)
8411 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8412 (python-shell-internal-buffer)
8413 (python-skeleton-available): New vars.
8414 (def-python-skeleton): Delete macro.
8415 (python-skeleton-define): New macro.
8416 (python-define-auxiliary-skeleton, python-rx): New macros.
8417 (python-insert-class): Delete command.
8418 (python-skeleton-class): New command.
8419 (python-insert-def): Delete command.
8420 (python-skeleton-def): New command.
8421 (python-insert-for): Delete command.
8422 (python-skeleton-for): New command.
8423 (python-insert-if): Delete command.
8424 (python-skeleton-if): New command.
8425 (python-insert-try/except, python-insert-try/finally): Delete commands.
8426 (python-skeleton-try): New command.
8427 (python-insert-while): Delete command.
8428 (python-skeleton-while): New command.
8429 (python-backspace): Delete command.
8430 (python-indent-dedent-line-backspace): New command.
8431 (python-electric-colon): Delete command.
8432 (python-indent-electric-colon): New command.
8433 (python-guess-indent): Delete command.
8434 (python-indent-guess-indent-offset): New command.
8435 (python-shift-left): Delete command.
8436 (python-indent-shift-left): New command.
8437 (python-shift-right): Delete command.
8438 (python-indent-shift-right): New command.
8439 (python-find-function): Delete command.
8440 (python-nav-jump-to-defun): New command.
8441 (python-next-statement): Delete command.
8442 (python-nav-forward-sentence): New command.
8443 (python-previous-statement): Delete command.
8444 (python-nav-backward-sentence): New command.
8445 (python-fill-paragraph): Delete command.
8446 (python-fill-paragraph-function): New command.
8447 (python-send-buffer): Delete command.
8448 (python-shell-send-buffer): New command.
8449 (python-send-defun): Delete command.
8450 (python-shell-send-defun): New command.
8451 (python-send-region, python-send-region-and-go): Delete commands.
8452 (python-shell-send-region)
8453 (python-shell-switch-to-shell): New commands.
8454 (python-send-string): Delete command.
8455 (python-shell-send-string): New command.
8456 (python-switch-to-python): Delete command.
8457 (python-shell-switch-to-shell): New command.
8458 (python-describe-symbol): Delete command.
8459 (python-eldoc-at-point): New command.
8460 (python--set-prompt-regexp, python-args-to-list)
8461 (python-after-info-look, python-check-version)
8462 (python-check-comint-prompt, python-find-imports)
8463 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8464 (python-unload-function, python-expand-template)
8465 (python-maybe-jython, python-preoutput-filter)
8466 (python-pdbtrack-get-source-buffer)
8467 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8468 (python-pdbtrack-toggle-stack-tracking)
8469 (python-pdbtrack-track-stack-file, python-initial-text)
8470 (python-first-word, python-comment-line-p, python-send-command)
8471 (python-setup-brm, python-sentinel, python-set-proc)
8472 (python-skip-out, python-input-filter, python-outdent-p)
8473 (python-outline-level, python-backslash-continuation-line-p)
8474 (python-end-of-block, python-end-of-statement, python-mark-block)
8475 (python-beginning-of-block, python-beginning-of-statement)
8476 (python-blank-line-p, python-beginning-of-string)
8477 (python-open-block-statement-p): Delete functions.
8478 (python-indent-line, python-indent-line-1): Delete functions.
8479 (python-indent-line): New function.
8480 (python-indentation-levels): Delete function.
8481 (python-indent-calculate-levels): New function.
8482 (python-proc): Delete function.
8483 (python-shell-get-process): New function.
8484 (python-send-receive): Delete function.
8485 (python-shell-send-string-no-output): New function.
8486 (python-module-path): Delete function.
8487 (python-ffap-module-path): New function.
8488 (python-completion-at-point)
8489 (python-symbol-completions): Delete functions.
8490 (python-completion-complete-at-point): New function.
8491 (python-load-file): Delete function.
8492 (python-shell-send-file): New function.
8493 (python-calculate-indentation): Delete function.
8494 (python-indent-calculate-indentation): New function.
8495 (python-skip-comments/blanks): Delete function.
8496 (python-util-forward-comment): New function.
8497 (python-continuation-line-p): Delete function.
8498 (python-info-continuation-line-p): New function.
8499 (python-which-func, python-current-defun): Delete function.
8500 (python-info-current-defun): New function.
8501 (python-beginning-of-defun): Delete function.
8502 (python-nav-beginning-of-defun): New function.
8503 (python-close-block-statement-p)
8504 (python-block-end-p): Delete function.
8505 (python-info-closing-block): New function.
8506 (python-comint-output-filter-function)
8507 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8508 (python-fill-comment, python-fill-decorator, python-fill-paren)
8509 (python-fill-string, python-imenu-make-element-tree)
8510 (python-imenu-make-tree, python-imenu-tree-assoc)
8511 (python-indent-context, python-indent-dedent-line)
8512 (python-indent-line-function)
8513 (python-indent-post-self-insert-function)
8514 (python-indent-toggle-levels)
8515 (python-info-assignment-continuation-line-p)
8516 (python-info-beginning-of-backlash)
8517 (python-info-block-continuation-line-p)
8518 (python-info-closing-block-message)
8519 (python-info-line-ends-backslash-p)
8520 (python-info-looking-at-beginning-of-defun)
8521 (python-info-ppss-context, python-info-ppss-context-type)
8522 (python-nav-list-defun-positions, python-nav-read-defun)
8523 (python-nav-sentence-end, python-nav-sentence-start)
8524 (python-pdbtrack-comint-output-filter-function)
8525 (python-pdbtrack-set-tracked-buffer)
8526 (python-shell-calculate-exec-path)
8527 (python-shell-calculate-process-environment)
8528 (python-shell-completion--do-completion-at-point)
8529 (python-shell-completion--get-completions)
8530 (python-shell-completion-complete-at-point)
8531 (python-shell-completion-complete-or-indent)
8532 (python-shell-get-or-create-process)
8533 (python-shell-get-process-name)
8534 (python-shell-internal-get-or-create-process)
8535 (python-shell-internal-get-process-name)
8536 (python-shell-internal-send-string, python-shell-make-comint)
8537 (python-shell-parse-command, python-shell-send-setup-code)
8538 (python-skeleton-add-menu-items)
8539 (python-util-clone-local-variables, python-util-position)
8540 (run-python-internal, python-indentation-levels)
8541 (python-nav-beginning-of-defun)
8542 (python-completion-complete-at-point): New functions.
8543 (run-python): Change arguments. New API requirements.
8544
4302f5ba
SM
85452012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8546
f38ea36d
SM
8547 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8548 (bug#11649).
8549
8550 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8551 (macroexp--expand-all): Use it.
8552
4302f5ba
SM
8553 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8554 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8555 Use `cl-function' instead.
8556
33377562
JB
85572012-06-14 Juanma Barranquero <lekktu@gmail.com>
8558
8559 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8560 Suggested by Stefan Monnier while discussing bug#11657.
8561
54c5ba1a
SS
85622012-06-14 Sam Steingold <sds@gnu.org>
8563
8564 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8565
f9f1b1fe
AS
85662012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8567
8568 * play/doctor.el (doctor-doc): Remove parameter and use
8569 doctor-sent instead of sent.
8570 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8571
a81068ba
SM
85722012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8573
5a315f9c
SM
8574 * files.el: Require cl-lib.
8575 (file-name-non-special): Replace case -> cl-case.
8576
8577 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8578
a81068ba
SM
8579 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8580 mapping from #' to function*.
8581
8cca9703
CY
85822012-06-13 Chong Yidong <cyd@gnu.org>
8583
8584 * mouse.el (mouse-drag-track): Do not set the mark if the user
8585 releases the mouse without selecting anything (Bug#11588).
8586
a12ac9d7
SM
85872012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8588
ccf1dc18
SM
8589 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8590 as well (bug#11646).
8591
ef62b23d
SM
8592 * loadup.el: Count byte-code functions as well.
8593
c4c8444a
SM
8594 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8595 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8596
a12ac9d7
SM
8597 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8598 (bug#11649). Add cl-defun and cl-defmacro.
8599
87e6e64f
DA
86002012-06-13 Drew Adams <drew.adams@oracle.com>
8601
8602 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8603 Fix last change.
8604
682cefaf
MA
86052012-06-13 Michael Albinus <michael.albinus@gmx.de>
8606
8607 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8608 Otherwise, it blocks in batch mode.
8609
773e1f08
JB
86102012-06-13 Juanma Barranquero <lekktu@gmail.com>
8611
8612 * help-mode.el (bookmark-make-record-default): Declare.
8613
60057926
CY
86142012-06-13 Chong Yidong <cyd@gnu.org>
8615
8616 * emacs-lisp/package.el (list-packages): Compute a list of
8617 packages that are newly-available since the last list-packages
8618 invocation.
8619 (package-menu--new-package-list): New var.
8620 (package-menu--generate, package-menu--print-info)
8621 (package-menu--status-predicate, package-menu-mark-install):
8622 Handle new status label "new".
8623
ad4d226c
SM
86242012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8627 conversion to backquotes.
8628
f1a4e679
CY
86292012-06-12 Chong Yidong <cyd@gnu.org>
8630
8631 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8632 Rename from gud-inhibit-global-bindings.
8633
8634 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8635
8636 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8637 hook from nxml-glyph-set-hook.
8638
8639 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8640 declaration.
8641
8642 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8643
8644 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8645 Convert to defcustom.
8646
0c9e42b5
DA
86472012-06-12 Drew Adams <drew.adams@oracle.com>
8648
8649 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8650 New functions.
8651 (help-mode): Use them.
8652
09e06855
GM
86532012-06-11 Glenn Morris <rgm@gnu.org>
8654
8655 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8656 Use preprocessor face for directives.
8657 (fortran-directive-re): Doc fix.
8658
71adb94b
SM
86592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8660
2eb87922
SM
8661 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8662 conversion to backquotes (bug#11652).
8663
71adb94b
SM
8664 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8665 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8666 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8667 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8668 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8669 (cl-ninth, cl-tenth): Mark them as inlinable.
8670 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8671 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8672 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8673 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8674 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8675 (cl-list*, cl-adjoin): Don't put an autoload manually.
8676 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8677 (cl--compiler-macro-list*): Add autoload cookie.
8678 (cl--compiler-macro-cXXr): New function.
2eb87922 8679
71adb94b
SM
8680 * help-fns.el (help-fns--compiler-macro): New function extracted from
8681 describe-function-1; follow aliases and use `compiler-macro' property.
8682 (describe-function-1): Use it.
8683
a6674402
CY
86842012-06-11 Chong Yidong <cyd@gnu.org>
8685
8686 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8687 is uninstalled, if imagemagick is installed.
8688
bb3faf5b
SM
86892012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * emacs-lisp/cl-lib.el: Use lexical-binding.
8692 (cl-map-extents, cl-maclisp-member): Remove.
8693 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8694 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8695 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8696 * emacs-lisp/cl-extra.el: Use lexical-binding.
8697 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8698 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8699 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8700 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8701 * emacs-lisp/cl-seq.el: Use lexical-binding.
8702 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8703 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8704 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8705 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8706 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8707 CL's internals.
8708
2fe4b125
MA
87092012-06-11 Michael Albinus <michael.albinus@gmx.de>
8710
8711 Sync with Tramp 2.2.6-pre.
8712
8713 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8714 `print-length' and `print-level' to nil, in order to avoid
8715 truncation. Reported by Christopher Schmidt
8716 <christopher@ristopher.com>.
8717
8718 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8719
8720 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8721 New defmacro.
8722 (tramp-compat-copy-directory): Add optional argument
8723 COPY-CONTENTS. It is not handled yet.
8724
8725 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8726 (tramp-ftp-file-name-p): Simplify.
8727
8728 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8729 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8730 connection vector.
8731
8732 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8733 (tramp-methods): Do not use `tramp-password-end-of-line'.
8734 (tramp-completion-function-alist-putty): Handle UNIX case.
8735 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8736 (tramp-do-file-attributes-with-stat)
8737 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8738 gid as real numbers. They could run out of integer range on cygwin.
8739 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8740 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8741 (tramp-open-connection-setup-interactive-shell):
8742 Use `tramp-cleanup'. Move check for busyboxes ...
8743 (tramp-find-shell): ... here. Simplify implementation.
8744 Set "remote-shell" property also for alternative shells.
8745 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8746 If failing, a regular file would be written otherwise.
8747 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8748 (tramp-find-inline-encoding): Cache the coding commands in the
8749 process cache. Apply test command on the remote side, if defined.
8750 (tramp-find-inline-compress): Cache the compress commands in the
8751 process cache.
8752 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8753 when requested. Handle hops.
8754 (tramp-current-connection): New defvar.
87e6e64f
DA
8755 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8756 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8757 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8758 (tramp-get-inline-compress, tramp-get-inline-coding):
8759 Read connection properties from the process cache.
2fe4b125
MA
8760
8761 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8762 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8763 New defconsts.
2fe4b125
MA
8764 (tramp-smb-prompt): Extend for powershell prompt.
8765 (tramp-smb-file-name-handler-alist): Add handlers for
8766 `process-file', `shell-command' and `start-file-process'.
8767 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8768 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8769 (tramp-smb-file-name-p): Simplify.
8770 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8771 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8772 (tramp-smb-shell-quote-argument): New defuns.
8773 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8774 Implement using "tar". By this, time-stamps are preserved.
8775 (tramp-smb-handle-copy-file): Handle also the case of directories.
8776 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8777 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8778 Use `tramp-get-connection-buffer').
2fe4b125
MA
8779 (tramp-smb-handle-rename-file): Use "rename", when source and
8780 target are on the same share.
87e6e64f
DA
8781 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8782 Use `tramp-smb-server-version'.
2fe4b125
MA
8783 (tramp-smb-wait-for-output): Remove prompt.
8784
8785 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8786 (tramp-methods, tramp-rsh-end-of-line):
8787 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8788 (tramp-save-ad-hoc-proxies): New defcustom.
8789 (tramp-completion-function-alist): Adapt docstring.
8790 (tramp-default-password-end-of-line): Remove defcustom.
8791 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8792 (tramp-user-regexp, tramp-file-name-regexp-unified)
8793 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8794 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8795 (tramp-remote-file-name-spec-regexp): New defconst.
8796 (tramp-file-name-structure): Extend structure for hops.
8797 (tramp-get-method-parameter): Move up.
8798 (tramp-file-name-p, tramp-dissect-file-name)
8799 (with-parsed-tramp-file-name): Handle hops.
8800 (tramp-file-name-hop): New defun.
8801 (tramp-make-tramp-file-name): New optional arg HOP.
8802 (tramp-message-show-progress-reporter-message): New defvar.
8803 (tramp-with-progress-reporter): Use it. We cannot use
8804 `tramp-message-show-message' here, because this suppresses also
8805 error buffers.
8806 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8807 `tramp-message-show-message' is nil.
8808 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8809 (tramp-cleanup): New defun.
8810 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8811 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8812 an error unchanged.
8813 (tramp-completion-handle-file-name-all-completions): Handle hops.
8814 Fix an error when called from ido.
8815 (tramp-completion-dissect-file-name): Use better local variable
8816 name. Add hop to the vector.
8817 (tramp-handle-insert-file-contents): Use progress-reporter for the
8818 whole scenario.
8819 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8820 to `t'.
8821 (tramp-check-for-regexp): Simplify search.
8822 (tramp-enter-password): Remove it. Move implementation ...
8823 (tramp-action-password): ... here.
8824 (tramp-mode-string-to-int, tramp-local-host-p)
8825 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8826 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8827 Set tramp-autoload cookie.
2fe4b125
MA
8828
8829 * net/trampver.el: Update release number.
8830
88312012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8832 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8835 (tramp-parse-group, tramp-parse-file)
8836 (tramp-parse-shostkeys-sknownhosts): New defuns.
8837 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8838 (tramp-parse-shosts-group, tramp-parse-sconfig)
8839 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8840 (tramp-parse-sknownhosts, tramp-parse-hosts)
8841 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8842 Use them.
8843 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8844 (tramp-parse-putty-group): Don't narrow.
8845 (tramp-parse-putty): Make a loop.
8846 (tramp-file-name-handler): Catch the `suppress' signal.
8847
72834e10
CY
88482012-06-11 Chong Yidong <cyd@gnu.org>
8849
8850 * image.el (imagemagick-register-types): Put the ImageMagick entry
8851 at the end of image-type-file-name-regexps.
8852
a4712e11
JB
88532012-06-11 Johan Bockgård <bojohan@gnu.org>
8854
8855 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8856 (pcase, pcase-let*, pcase-dolist): Use them.
8857
82ad98e3
SM
88582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/pcase.el (pcase--let*): New function.
8861 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8862 (pcase--expand): Use macroexp-let².
8863
f80efb86
SM
88642012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8867 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8868 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8869 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8870 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8871 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8872
31ca4639 88732012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8874
31ca4639
CY
8875 * mail/rmail.el (rmail-yank-current-message): Leave point at
8876 correct position. (Bug#11660)
94f0aa34 8877
31ca4639 88782012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8879
31ca4639 8880 * allout-widgets.el: Fix code header.
9e1b8ec4 8881
31ca4639 88822012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8883
f80efb86
SM
8884 * cus-edit.el (customize-changed-options-previous-release):
8885 Bump to 24.1.
31ca4639 8886
642b6d30
AS
88872012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8888
8889 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8890
4f5d2ba1
CY
88912012-06-09 Chong Yidong <cyd@gnu.org>
8892
8893 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8894
e75852fd
MR
88952012-06-09 Martin Rudalics <rudalics@gmx.at>
8896
8897 * window.el (special-display-popup-frame): Don't use
8898 window--display-buffer (Bug#11651).
8899
1e48e282
EZ
89002012-06-09 Eli Zaretskii <eliz@gnu.org>
8901
8a26b487
EZ
8902 Fix parallel builds: make sure loaddefs.el is not being written
8903 while Lisp files are compiled.
8904 (compile): Don't depend on 'mh-autoloads'.
8905 (compile-CMD, compile-SH): Depend on 'autoloads'.
8906 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8907
1e48e282
EZ
8908 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8909
6175e34b
CY
89102012-06-09 Chong Yidong <cyd@gnu.org>
8911
8912 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8913 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8914 Doc fixes (Bug#11225).
8915
d9857e53
SM
89162012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8919 a function if there's a clear indication that it has a compiler-macro.
8920 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8921 (macro-declarations-alist): Add arglist to declaration functions.
8922 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8923 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8924 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8925 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8926 Also add autoload to find the compiler macro.
8927 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8928 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8929 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8930 (cl--compiler-macro-get): New functions, replacing calls to
8931 cl-define-compiler-macro.
8932 (cl-typep) [compiler-macro]: Use macroexp-let².
8933
f81298f8 89342012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8935
8936 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8937 string properly, fixes Bug#11473.
8938
4b56d0fe
CY
89392012-06-08 Chong Yidong <cyd@gnu.org>
8940
8941 * faces.el (set-face-attribute): Doc fix.
8942 (modify-face): Don't use :bold and :italic.
8943 (error, warning, success): Tweak definitions.
8944
8945 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8946 (custom-modified, custom-set, custom-changed, custom-themed)
8947 (custom-saved, custom-button, custom-button-mouse)
8948 (custom-button-pressed, custom-state, custom-comment-tag)
8949 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8950 (custom-group-subtitle): Use new-style face specs.
8951 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8952 (custom-set-face, custom-changed-face, custom-saved-face)
8953 (custom-button-face, custom-button-pressed-face)
8954 (custom-documentation-face, custom-state-face)
8955 (custom-comment-face, custom-comment-tag-face)
8956 (custom-variable-tag-face, custom-variable-button-face)
8957 (custom-face-tag-face, custom-group-tag-face-1)
8958 (custom-group-tag-face): Remove obsolete face alias.
8959
8960 * epa.el (epa-validity-high, epa-validity-medium)
8961 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8962 (epa-field-name, epa-field-body):
8963 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8964 (font-lock-keyword-face, font-lock-builtin-face)
8965 (font-lock-function-name-face, font-lock-variable-name-face)
8966 (font-lock-type-face, font-lock-constant-face):
8967 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8968 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8969 * speedbar.el (speedbar-button-face, speedbar-file-face)
8970 (speedbar-directory-face, speedbar-tag-face)
8971 (speedbar-selected-face, speedbar-highlight-face)
8972 (speedbar-separator-face):
8973 * whitespace.el (whitespace-newline, whitespace-space)
8974 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8975 (whitespace-line, whitespace-space-before-tab)
8976 (whitespace-space-after-tab, whitespace-indentation)
8977 (whitespace-empty):
8978 * emulation/cua-base.el (cua-global-mark):
8979 * eshell/em-prompt.el (eshell-prompt):
8980 * net/newst-plainview.el (newsticker-new-item-face)
8981 (newsticker-old-item-face, newsticker-immortal-item-face)
8982 (newsticker-obsolete-item-face, newsticker-date-face)
8983 (newsticker-statistics-face, newsticker-default-face):
8984 * net/newst-reader.el (newsticker-feed-face)
8985 (newsticker-extra-face, newsticker-enclosure-face):
8986 * net/newst-treeview.el (newsticker-treeview-face)
8987 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8988 (newsticker-treeview-immortal-face)
8989 (newsticker-treeview-obsolete-face)
8990 (newsticker-treeview-selection-face):
8991 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8992 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8993 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8994 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8995 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8996 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8997 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8998 (mpuz-text):
8999 * progmodes/vera-mode.el (vera-font-lock-number)
9000 (vera-font-lock-function, vera-font-lock-interface):
9001 * textmodes/table.el (table-cell): Use new-style face specs, and
9002 don't use the old :bold and :italic attributes.
9003
9004 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9005 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9006 (ebrowse-member-class, ebrowse-progress): Likewise.
9007 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9008 (ebrowse-file-name-face, ebrowse-default-face)
9009 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9010 (ebrowse-progress-face): Remove obsolete faces.
9011
9012 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9013 Inherit from error and warning faces respectively.
9014
9015 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9016 Likewise.
f80efb86
SM
9017 (flyspell-incorrect-face, flyspell-duplicate-face):
9018 Remove obsolete aliases.
4b56d0fe 9019
03310646
MA
90202012-06-08 Michael Albinus <michael.albinus@gmx.de>
9021
9022 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9023 Avoid infloop.
9024
513749ee
SM
90252012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * startup.el (argv, argi): Make lexically scoped.
9028 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9029 * emacs-lisp/cl-macs.el: Use lexical-binding.
9030 Rename cl-bind-* to cl--bind-*.
9031 * files.el: Don't require `cl' since it doesn't use it.
9032 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9033
595ef4ad
JB
90342012-06-08 Juanma Barranquero <lekktu@gmail.com>
9035
9036 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9037 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9038 instead of calling external sort utility.
9039 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9040
e9f66fcb
EZ
90412012-06-08 Eli Zaretskii <eliz@gnu.org>
9042
9043 * descr-text.el (describe-char): Mention how to insert the
9044 character, if the current input method doesn't support it.
9045 See the discussion in this thread for the details:
9046 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9047
3d10db47
SS
90482012-06-08 Sam Steingold <sds@gnu.org>
9049
9050 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9051 XF86Back to previous-buffer.
9052 (minibuffer-local-map): Bind them to next-history-element and
9053 previous-history-element respectively.
9054 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9055 help-go-back respectively.
9056 * info.el (Info-mode-map): Bind them to Info-history-forward and
9057 Info-history-back respectively.
9058 These are the keys next to Up on the ThinkPad keyboard.
9059
de7e2b36
SM
90602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9063 * emacs-lisp/cl-macs.el: Provide itself.
9064 (cl--labels-convert-cache): New var.
9065 (cl--labels-convert): New function.
9066 (cl-flet, cl-labels): New implementation with new semantics, relying on
9067 lexical-binding.
9068 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9069 (cl-closure-vars, cl--function-convert-cache)
9070 (cl--function-convert): Move from cl-macs.el.
9071 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9072 rename by removing the "cl-" prefix.
9073 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9074
6fa6c4ae
SM
90752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9078 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9079 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9080 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9081 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9082 (cl-hash-table-count): Add old compatibility aliases.
9083
9084 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9085 Use macroexpand-all-environment instead.
9086 (cl--old-macroexpand): New var.
9087 (cl--sm-macroexpand): New function.
9088 (cl-symbol-macrolet): Use it during macro expansion.
9089 (cl--function-convert-cache): New var.
9090 (cl--function-convert): New function, extracted from
9091 cl-macroexpand-all.
9092 (cl-lexical-let): Use it.
9093
9094 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9095 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9096 (cl-member): Remove old alias.
9097
9098 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9099 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9100 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9101 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9102 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9103 (cl-macroexpand-cmacs): Remove var.
9104 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9105 Use macroexpand-all instead.
9106
4dd1c416
SM
91072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9110 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9111 (macroexp-copyable-p): New functions and macros.
9112 * emacs-lisp/edebug.el (edebug-unwrap):
9113 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9114 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9115 (pcase--let*): Remove.
9116 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9117 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9118 macroexp-const-p instead.
9119 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9120
9121 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9122 instead of "cl-" for internal definitions. Use macroexp-const-p.
9123 (cl-old-bc-file-form): Remove var.
9124 (cl-const-exprs-p): Remove fun.
9125 (cl-labels, cl-macrolet): Use backquote.
9126 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9127 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9128 (cl-define-setf-expander): Rename from cl-define-setf-method.
9129 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9130
9131 * international/mule-cmds.el: Don't require CL.
9132 (view-hello-file): Don't use `letf'.
9133
ed8bd4d7
SM
91342012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9135
7287f2f3
SM
9136 * tmm.el (tmm-prompt): Use string-prefix-p.
9137 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9138 (tmm-add-prompt): Use minibuffer-completion-help.
9139 (tmm-delete-map): Remove.
9140
ed8bd4d7
SM
9141 * subr.el (kbd): Make it its own function.
9142
7b4cdbf4
SM
91432012-06-07 Stefan Merten <smerten@oekonux.de>
9144
9145 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9146 Silence compiler warnings. Fix versions.
ed8bd4d7 9147 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9148 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9149 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9150 (rst-package-emacs-version-alist): Correct Emacs version to
9151 represent major merge with upstream.
ed8bd4d7 9152 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9153
2b48d721
GM
91542012-06-06 Glenn Morris <rgm@gnu.org>
9155
9156 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9157 Only print environment variables if set.
9158
fa779ab0
SM
91592012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9162 (macroexp--cons): Rename from maybe-cons.
9163 (macroexp--accumulate): Rename from macroexp-accumulate.
9164 (macroexp--all-forms): Rename from macroexpand-all-forms.
9165 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9166 (macroexp--expand-all): Rename from macroexpand-all-1.
9167
628299e0
SS
91682012-06-06 Sam Steingold <sds@gnu.org>
9169
9170 * calendar/calendar.el (calendar-in-read-only-buffer):
9171 Call `special-mode' to enable the standard read-only keybindings.
9172
b7bb5838
SM
91732012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9176 with "loading" messages (bug#11635).
9177
dfb308ba
MA
91782012-06-06 Michael Albinus <michael.albinus@gmx.de>
9179
9180 * files.el (enable-remote-dir-locals): New option.
9181 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9182
0372ee92
MA
9183 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9184 Ensure, that the temp directory is local.
9185
9186 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9187 `temporary-file-directory'.
9188
eed0bb91
MA
9189 * progmodes/python.el (python-send-region): Ensure, that the
9190 temporary file is created also in the remote case.
9191
7a58f64d
GM
91922012-06-06 Glenn Morris <rgm@gnu.org>
9193
f7dd4e98
GM
9194 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9195 (vc-rcs-update-changelog): Use it.
9196
090bd7cb 9197 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9198
7a58f64d
GM
9199 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9200 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9201 (vc-sccs-diff): Replace use of the external vcdiff script.
9202
daed4003
GM
92032012-06-05 Glenn Morris <rgm@gnu.org>
9204
9205 * ledit.el: Move to obsolete/.
9206
48c455c7
SS
92072012-06-05 Sam Steingold <sds@gnu.org>
9208
ed9265fc 9209 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9210 patch (Bug#11140).
9211
57a7d507
SM
92122012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9213
090bd7cb 9214 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9215
53aacf21
SM
9216 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9217 compiler-macro expansion.
9218
57a7d507
SM
9219 Add native compiler-macro support.
9220 * emacs-lisp/macroexp.el (macroexpand-all-1):
9221 Support compiler-macros directly. Properly follow aliases and apply
9222 the compiler macros more thoroughly.
9223 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9224 macroexpand now properly follows aliases.
9225 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9226 (cl-compiler-macroexpand): Use new prop.
9227 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9228
9229 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9230
51a5f9d8
MR
92312012-06-05 Martin Rudalics <rudalics@gmx.at>
9232
9233 * window.el (get-lru-window, get-mru-window, get-largest-window):
9234 New argument NOT-SELECTED to avoid picking the selected window.
9235 (window--display-buffer-1, window--display-buffer-2): Replace by
9236 new function window--display-buffer
9237 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9238 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9239 Use window--display-buffer.
51a5f9d8
MR
9240 (display-buffer-use-some-window): Remove temporary dedication
9241 hack by calling get-lru-window and get-largest-window with
9242 NOT-SELECTED argument non-nil. Call window--display-buffer.
9243
08f9f738
GM
92442012-06-05 Glenn Morris <rgm@gnu.org>
9245
9246 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9247 Replace external vcdiff script.
9248
e364a2b7
SM
92492012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9252
041df390
CY
92532012-06-04 Chong Yidong <cyd@gnu.org>
9254
e364a2b7
SM
9255 * image.el (imagemagick-types-inhibit): Revert last change.
9256 Add INFO and M.
47b36b94 9257 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9258
7c1898a7
SM
92592012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * emacs-lisp/cl-lib.el: Rename from cl.el.
9262 * emacs-lisp/cl.el: New compatibility file.
9263 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9264 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9265 to obey the "cl-" prefix.
9266 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9267
0c3461de
GM
92682012-06-03 Glenn Morris <rgm@gnu.org>
9269
1e266c88
GM
9270 * emacs-lisp/authors.el (authors-aliases): Addition.
9271
0c3461de
GM
9272 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9273 Fix :version.
9274
d8a52e15
SM
92752012-06-03 Stefan Merten <smerten@oekonux.de>
9276
9277 * textmodes/rst.el: Add comments.
9278 (rst-transition, rst-adornment): New faces.
9279 (rst-adornment-faces-alist): Make default safe to reevaluate.
9280 Fixes
9281 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9282 Improve customization tags.
9283 (rst-define-level-faces): Clarify meaning.
9284
5205d6f6
CY
92852012-06-03 Chong Yidong <cyd@gnu.org>
9286
9287 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9288 (compilation-mode-line-run, compilation-mode-line-exit):
9289 New faces.
5205d6f6
CY
9290 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9291
757ee657
JD
92922012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9293
7c1898a7
SM
9294 * progmodes/which-func.el (which-func-update-ediff-windows):
9295 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9296
5f2c76c6
CY
92972012-06-03 Chong Yidong <cyd@gnu.org>
9298
9299 * bindings.el: Remove explicit help text from format-mode-line.
9300 It is now supplied by mode-line-default-help-echo.
9301 (mode-line-front-space, mode-line-end-spaces)
9302 (mode-line-misc-info): New variables.
9303 (mode-line-modes, mode-line-position): Move the default value to
9304 the variable definition.
9305 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9306 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9307 (mode-line-modified-help-echo): New functions.
9308 (mode-line-mule-info, mode-line-modified): Use them.
9309 (mode-line-eol-desc, propertized-buffer-identification):
9310 Consistency fixes for help text.
cbe46e5f
CY
9311 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9312 set-buffer-file-coding-system (Bug#289).
9313 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9314
f2d6a3df
SM
93152012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9316
9317 * simple.el (execute-extended-command): Set real-this-command
9318 (bug#11506).
9319
37269466
CY
93202012-06-02 Chong Yidong <cyd@gnu.org>
9321
9322 Remove incorrect uses of "modeline" in comments, docstrings, and
9323 function/variable names (Bug#10329).
9324
9325 * cus-edit.el (mode-line):
9326 * dframe.el (dframe-mouse-hscroll):
9327 * emacs-lisp/re-builder.el:
9328 * emacs-lisp/easy-mmode.el (define-minor-mode):
9329 * frame.el (set-frame-name):
9330 * help.el (lookup-minor-mode-from-indicator):
9331 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9332 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9333 (c-toggle-hungry-state):
9334 * progmodes/antlr-mode.el (antlr-language-alist):
9335 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9336 * progmodes/vhdl-mode.el (vhdl-mode):
9337 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9338 * term/ns-win.el (ns-face-at-pos):
9339 * term/sup-mouse.el (sup-mouse-report):
9340 * textmodes/flyspell.el (flyspell-mode-line-string):
9341 * textmodes/ispell.el (ispell-highlight-face):
9342 * textmodes/reftex-global.el:
9343 * vc/vc-arch.el (vc-arch-mode-line-string):
9344 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9345 * vc/vc-git.el (vc-git-mode-line-string):
9346 * vc/vc-hooks.el (vc-display-status)
9347 (vc-default-mode-line-string):
9348 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9349
9350 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9351
9352 * dired.el (dired-sort-set-mode-line): Rename from
9353 dired-sort-set-modeline. All callers changed.
9354
9355 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9356 eshell-status-in-modeline.
9357
9358 * foldout.el (foldout-mode-line-string): Rename from
9359 foldout-modeline-string. All callers changed.
9360 (foldout-update-mode-line): Rename from foldout-update-modeline.
9361
9362 * subr.el (redraw-modeline): Make into obsolete alias.
9363
9364 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9365 timeclock-modeline-display. Make old name an alias.
9366 (timeclock-update-mode-line): Likewise. All callers changed.
9367 (timeclock-mode-line-display): No need to check before using
9368 add-hook.
9369 (timeclock-relative, timeclock-day-over-hook)
9370 (timeclock-use-elapsed, timeclock-mode-string)
9371 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9372
9373 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9374 crisp-mode-modeline-string.
9375
9376 * play/solitaire.el (solitaire-build-mode-line): Rename from
9377 solitaire-build-modeline. All callers changed.
9378
9379 * play/zone.el (zone-hiding-mode-line): Rename from
9380 zone-hiding-modeline. All callers changed.
9381 (zone): Remove unusued `modeline-hidden-level' property.
9382
9383 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9384 xscheme-modeline-initialize. All callers changed.
9385
9386 * strokes.el (strokes-lighter): Rename from
9387 strokes-modeline-string.
9388
9389 * textmodes/sgml-mode.el (html-face-tag-alist)
9390 (html-tag-face-alist): Use mode-line face instead of obsolete
9391 alias modeline.
9392
42152ee4
SM
93932012-06-02 Stefan Merten <smerten@oekonux.de>
9394
9395 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9396 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9397
95f520b5
CY
93982012-06-02 Chong Yidong <cyd@gnu.org>
9399
9400 * image.el (imagemagick-enabled-types): Rename from
9401 imagemagick-types-enable. Add many more types.
9402 (imagemagick-types-inhibit): Change default to nil.
9403 (imagemagick-filter-types): Caller changed.
9404
4a5f187a
SM
94052012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9406
03fef3e6
SM
9407 * emacs-lisp/cl-macs.el: Use backquotes.
9408 (cl-transform-function-property): Use eval-and-compile rather than
9409 abusing `require'.
9410 (defstruct): Use declare-function instead of with-no-warnings.
9411
4a5f187a
SM
9412 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9413 (byte-compile-output-docform): Re-add the print-circle bindings.
9414 (byte-compile-fix-header): Use #$ just because it's shorter.
9415 (byte-compile-output-file-form): Remove defun/defmacro.
9416
bd56924f
MR
94172012-06-01 Martin Rudalics <rudalics@gmx.at>
9418
9419 * simple.el (choose-completion): Remove now obsolete binding for
9420 owindow.
9421
046e38ce
MA
94222012-06-01 Michael Albinus <michael.albinus@gmx.de>
9423
9424 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9425 in order to avoid "Stack overflow in regexp matcher".
9426
32d72c2f
GM
94272012-05-31 Glenn Morris <rgm@gnu.org>
9428
9429 * image.el: For clarity, call imagemagick-register-types at
9430 top-level, rather than relying on a custom :initialize.
9431 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9432 (imagemagick-filter-types): New function. (Bug#7406)
9433 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9434 If disabling support, remove elements altogether rather
9435 than using an impossible regexp.
9436 (imagemagick-types-inhibit): Give it the default init function.
9437
dd41169b
SM
94382012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9439
4a5f187a
SM
9440 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9441 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9442
efc00ab1 94432012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9444
9445 * desktop.el (desktop-read): Clear previous and next buffers for
9446 all windows and bury *Messages* buffer (bug#11556).
9447
500fcedc
SM
94482012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9449
9450 Add `declare' for `defun'. Align `defmacro's with it.
9451 * emacs-lisp/easy-mmode.el (define-minor-mode)
9452 (define-globalized-minor-mode): Don't autoload the var definitions.
9453 * emacs-lisp/byte-run.el: Use lexical-binding.
9454 (defun-declarations-alist, macro-declarations-alist): New vars.
9455 (defmacro, defun): Use them.
9456 (make-obsolete, define-obsolete-function-alias)
9457 (make-obsolete-variable, define-obsolete-variable-alias):
9458 Use `declare'.
9459 (macro-declaration-function): Mark obsolete.
9460 * emacs-lisp/autoload.el: Use lexical-binding.
9461 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9462
6e8a1786
AM
94632012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9464
9465 * textmodes/ispell.el (ispell-with-no-warnings):
9466 Define as a macro.
500fcedc
SM
9467 (ispell-kill-ispell, ispell-change-dictionary):
9468 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9469 `interactive-p'.
9470
61b108cc
SM
94712012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9474 (macro-declaration-function): Move var from C code.
9475 (macro-declaration-function): Define function with defalias.
9476 * emacs-lisp/macroexp.el (macroexpand-all-1):
9477 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9478 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9479 defun/defmacro any more.
9480 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9481 Provide fallback for unknown arglist.
9482 (byte-compile-arglist-warn): Change calling convention.
9483 (byte-compile-output-file-form): Move print-vars binding.
9484 (byte-compile-output-docform): Simplify accordingly.
9485 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9486 (byte-compile-defmacro-declaration): Remove.
9487 (byte-compile-file-form-defmumble): Generalize to defalias.
9488 (byte-compile-output-as-comment): Return byte-positions.
9489 Simplify callers accordingly.
9490 (byte-compile-lambda): Use `assert'.
9491 (byte-compile-defun, byte-compile-defmacro): Remove.
9492 (byte-compile-file-form-defalias):
9493 Use byte-compile-file-form-defmumble.
9494 (byte-compile-defalias-warn): Remove.
9495
6d3f7c2f
SM
94962012-05-29 Stefan Merten <smerten@oekonux.de>
9497
9498 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9499 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9500
9501 (rst-mode-abbrev-table): Merge definition.
9502 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9503 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9504
6dbaa1c7
UJ
95052012-05-29 Ulf Jasper <ulf.jasper@web.de>
9506
9507 * calendar/icalendar.el
9508 (icalendar-export-region): Export UID properly.
9509
d209e2fb 95102012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9511 * calendar/icalendar.el (icalendar-import-format):
9512 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9513 (icalendar-import-format-uid): New.
9514 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9515 Export UID.
9516
6876a58d
SM
95172012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9520 different alternative patterns.
9521 (pcase-codegen): Be more careful to preserve identity.
9522 (pcase--u1): Don't forget to mark vars as used.
9523
9524 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9525 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9526 (byte-compile-from-buffer): ...rather than here.
9527
9528 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9529 functions from byte-compile-function-environment.
9530
46b7967e
TN
95312012-05-29 Troels Nielsen <bn.troels@gmail.com>
9532
9533 * window.el (window-deletable-p): Avoid deleting the root window
9534 of a frame with an active minibuffer.
9535
69d565e2
MR
95362012-05-29 Martin Rudalics <rudalics@gmx.at>
9537
9538 * simple.el (choose-completion): Use quit-window (Bug#11567).
9539
a149fa51
CY
95402012-05-29 Chong Yidong <cyd@gnu.org>
9541
9542 * whitespace.el (whitespace-cleanup): Fix usage of
9543 whitespace-empty-at-bob-regexp (Bug#11492).
9544
2b311310
AH
95452012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9546
9547 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9548 revert (Bug#11488).
9549
b9cb2387
JL
95502012-05-29 Juri Linkov <juri@jurta.org>
9551
9552 * isearch.el (isearch-mode-map): Bind `M-s _' to
9553 `isearch-toggle-symbol'. Bind `M-s c' to
9554 `isearch-toggle-case-fold'.
9555 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9556 (isearch-forward): Add `M-s _' to the docstring.
9557 (isearch-forward-symbol, isearch-toggle-case-fold)
9558 (isearch-symbol-regexp): New functions. (Bug#11381)
9559
d5e61c1c
JL
95602012-05-29 Juri Linkov <juri@jurta.org>
9561
9562 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9563 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9564 a function, call it to get the regexp.
9565 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9566 property `isearch-message-prefix' instead of the string "word ".
9567 (isearch-search-fun-default): For the case of `isearch-word',
9568 return a lambda that calls re-search-forward/re-search-backward
9569 with a regexp returned by `word-search-regexp' or by the function
9570 in `isearch-word'.
9571
8cbd80f7
JL
95722012-05-29 Juri Linkov <juri@jurta.org>
9573
9574 * isearch.el (isearch-search-fun-default): New function.
9575 (isearch-search-fun): Move default part to the new function
9576 `isearch-search-fun-default'.
9577 (isearch-search-fun-function): Set the default value to
9578 `isearch-search-fun-default'. (Bug#11381)
9579
9580 * comint.el (comint-history-isearch-end):
9581 Use `isearch-search-fun-default'.
9582 (comint-history-isearch-search): Use `isearch-search-fun-default'
9583 and remove spacial case for `isearch-word'.
9584 (comint-history-isearch-wrap): Remove spacial case for
9585 `isearch-word'.
9586
9587 * hexl.el (hexl-isearch-search-function):
9588 Use `isearch-search-fun-default'.
9589
9590 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9591 Use `word-search-regexp' for `isearch-word'.
9592
9593 * misearch.el (multi-isearch-search-fun):
9594 Use `isearch-search-fun-default'.
9595
9596 * simple.el (minibuffer-history-isearch-search):
9597 Use `isearch-search-fun-default' and remove spacial case for
9598 `isearch-word'.
9599 (minibuffer-history-isearch-wrap): Remove spacial case for
9600 `isearch-word'.
9601
9602 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9603 Remove spacial case for `isearch-word'.
9604 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9605
85c8c5b6
AM
96062012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9607
9608 Decrease XEmacs incompatibilities.
9609 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9610 Use `string-match'.
9611 (flyspell-delete-region-overlays): Use alternative definition for
9612 XEmacs.
9613 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9614 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9615 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9616 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9617 `define-obsolete-face-alias' under XEmacs, but old method.
9618
9619 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9620 `with-no-warnings' definition or Emacs alias.
9621 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9622 (ispell-word): Do not use `region-p' if XEmacs.
9623
8cab9efc
AM
96242012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9625
9626 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9627 Check for `ispell-dictionary-base-alist' instead of full
9628 `ispell-dictionary-alist'.
9629 (ispell-init-process): Show spellchecker when starting new Ispell
9630 process.
9631
fda91268
RZ
96322012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9635 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9636
694ea8e3
JB
96372012-05-27 Juanma Barranquero <lekktu@gmail.com>
9638
9639 * version.el (motif-version-string, gtk-version-string)
9640 (ns-version-string): Declare.
9641
e4d4f539
JL
96422012-05-27 Juri Linkov <juri@jurta.org>
9643
9644 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9645 after the `eval-defun-1' specialcaseing
9646 like in `edebug-eval-defun' (bug#10181).
9647
9648 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9649 like in `eval-defun-1'.
9650
33017faf 96512012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9652
fda91268
RZ
9653 * mail/sendmail.el (mail-yank-region):
9654 Recognize rmail-yank-current-message in addition to insert-buffer.
9655 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9656 a *mail* buffer created through rmail-start-mail with sendmail as
9657 mail-user-agent.
9658
33017faf
GM
96592012-05-27 Chong Yidong <cyd@gnu.org>
9660
9661 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9662 Default to 256 (Bug#11267).
9663
9664 * help.el (describe-mode): Doc fix.
9665
04188bb9
GM
96662012-05-26 Glenn Morris <rgm@gnu.org>
9667
38264cc9
GM
9668 * w32-fns.el (w32-init-info): Remove.
9669 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9670
eb7afdad
GM
9671 * info.el (info-initialize): For self-contained NS builds, put the
9672 included info/ directory at the front. (Bug#2791)
9673
04188bb9
GM
9674 * paths.el (Info-default-directory-list): Make it a defcustom,
9675 mainly so that we can use custom-initialize-delay.
9676
a179e3f7
SM
96772012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9678
43416392
SM
9679 * subr.el (buffer-has-markers-at): Mark obsolete.
9680
a179e3f7 9681 * subr.el (lambda): Use declare.
43416392 9682
a179e3f7
SM
9683 * emacs-lisp/lisp-mode.el (lambda):
9684 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9685
34a008d9
AH
96862012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9687
9688 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9689
0a3b289f
GM
96902012-05-26 Glenn Morris <rgm@gnu.org>
9691
9692 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9693
758c81e8
GM
96942012-05-25 Glenn Morris <rgm@gnu.org>
9695
f9f334f0
GM
9696 * paths.el: Remove no-byte-compile.
9697 * loadup.el: No need to load paths.el uncompiled.
9698
87eb79c2
GM
9699 * image.el (imagemagick-types-inhibit): Doc fix.
9700
758c81e8
GM
9701 * version.el: Remove no-byte-compile and associated formatting.
9702 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9703 is ancient code from when there was an "inc-vers.el".
9704
e7e85dc0
SM
97052012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * progmodes/gdb-mi.el: Minor style changes.
9708 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9709 Turn into minor modes.
9710 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9711 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9712 (gdb-shell): Remove unneeded let-binding.
9713 (gdb-get-many-fields): Eliminate O(n²) behavior.
9714
f31237a4
EZ
97152012-05-25 Eli Zaretskii <eliz@gnu.org>
9716
9717 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9718 platforms that don't link in fontset.c.
9719
bc1b21bb
JL
97202012-05-25 Juri Linkov <juri@jurta.org>
9721
9722 Use the same diff color scheme as in modern VCSes (bug#10181).
9723
9724 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9725 to avoid confusion with `diff-added' that now uses green colors.
9726 (diff-removed): Use shades of red.
9727 (diff-added): Use shades of green.
9728 (diff-changed): Leave just the yellow color.
9729 (diff-use-changed-face): New variable.
9730 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9731 how to highlight context diff changes.
9732 (diff-refine-change): Use shades of yellow.
9733 (diff-refine-removed): New face that uses shades of red.
9734 (diff-refine-added): New face that uses shades of green.
9735 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9736 `diff-refine-removed' in the call to `smerge-refine-subst'
9737 depending on the value of `diff-use-changed-face'.
9738
9739 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9740 (smerge-other): Use shades of green.
9741 (smerge-base): Use shades of yellow.
9742 (smerge-refined-change): Empty face.
9743 (smerge-refined-removed): New face that uses shades of red.
9744 (smerge-refined-added): New face that uses shades of green.
9745 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9746 args `props-r' and `props-a', and use them. Doc fix.
9747 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9748 on its value use different faces `smerge-refined-change',
9749 `smerge-refined-removed', `smerge-refined-added' in the call to
9750 `smerge-refine-subst'.
9751
9752 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9753 Add face condition `min-colors 88' with shades of red.
9754 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9755 `min-colors 88' with shades of green.
9756 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9757 `min-colors 88' with shades of yellow.
9758
6df9112c
GM
97592012-05-24 Glenn Morris <rgm@gnu.org>
9760
ead5edc0
GM
9761 * paths.el (prune-directory-list, remote-shell-program): Move to...
9762 * files.el (prune-directory-list, remote-shell-program): ...here.
9763 For the latter, delay initialization, prefer ssh, just search PATH.
9764
f18b81e6
GM
9765 * paths.el (term-file-prefix): Move to faces.el (the only user).
9766 * faces.el (term-file-prefix): Move here, make it a defcustom.
9767
ee2f89a6
GM
9768 * paths.el (news-directory, news-path, news-inews-program):
9769 Move to gnus/nnspool.el.
61a583ca 9770
f8815e4c
GM
9771 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9772
c8f3b42c
GM
9773 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9774 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9775 Make the latter a defcustom, with a delayed initialization.
9776
6df9112c
GM
9777 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9778 These were deleted from Gnus itself late 2010.
9779
5dadff36
JB
97802012-05-22 Juanma Barranquero <lekktu@gmail.com>
9781
9e1701c6
JB
9782 * progmodes/which-func.el (which-func-ff-hook):
9783 Check against user-error, not error.
9784
bd7239f5 9785 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9786 cl-specs.el, which no longer exists.
9787
3290526d
GM
97882012-05-22 Glenn Morris <rgm@gnu.org>
9789
9790 * info.el (info-emacs-bug): New command.
9791 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9792 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9793
ff0c3cfb
GM
97942012-05-21 Glenn Morris <rgm@gnu.org>
9795
9796 * makefile.w32-in (update-subdirs-SH):
9797 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9798
5814f126
SM
97992012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9800
a52c0aa0
SM
9801 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9802
5814f126
SM
9803 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9804 Simplify Maven regexp, and make sure the file can't start with a space
9805 (bug#11517).
9806
b847032c
GM
98072012-05-21 Glenn Morris <rgm@gnu.org>
9808
9809 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9810 Scrap superfluous subshells.
9811
3858bfe7
SM
98122012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9815 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9816
d14b0029
JB
98172012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9818
9819 * calc/calc.el (calc-ensure-consistent-units): New variable.
9820
a52c0aa0
SM
9821 * calc/calc-units.el (math-consistent-units-p)
9822 (math-check-unit-consistency): New functions.
9823 (calc-quick-units, calc-convert-units):
9824 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9825 is non-nil.
d14b0029
JB
9826 (calc-extract-units): Fix typo.
9827
60c4db3a
SM
98282012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9829
77f3b62e
SM
9830 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9831
60c4db3a
SM
9832 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9833 (flyspell-default-deplacement-commands): Don't spell check after
9834 repeated window/frame switches (e.g. triggered by mouse-movement).
9835 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9836 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9837 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9838 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9839 Remove unused vars.
9840 (flyspell-get-casechars, flyspell-get-not-casechars):
9841 Simplify; Don't bother removing a ] just to add it back.
9842 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9843
d209e2fb 98442012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9845
9846 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9847 New functions.
bd7239f5 9848 (math-function-table): Add support for more C functions.
b1a10716 9849
3f1b25b5
AM
98502012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9851
090bd7cb
JB
9852 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9853 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9854 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9855
b581bb5c
SM
98562012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9859 their respective macro declarations.
9860 * skeleton.el (define-skeleton):
9861 * progmodes/compile.el (define-compilation-mode):
9862 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9863 (define-ibuffer-filter):
9864 * emacs-lisp/generic.el (define-generic-mode):
9865 * emacs-lisp/easy-mmode.el (define-minor-mode)
9866 (define-globalized-minor-mode):
9867 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9868 * emacs-lisp/byte-run.el (defsubst):
9869 * custom.el (deftheme): Add doc-string metadata.
9870
70b8ef8f
SM
98712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9874
b1198e17
SM
98752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9876
9abdc45d
SM
9877 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9878
b1198e17
SM
9879 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9880 * emacs-lisp/cl-macs.el: Idem.
9881 * emacs-lisp/cl-specs.el: Remove.
9882
4735906a
SM
98832012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 Minor renaming of internal CL functions and variables.
9886 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9887 (cl--position): Rename from cl-position.
9888 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9889 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9890 (cl--random-state): Rename from *random-state*.
9891
ac348012
SM
98922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9895 parens around the arg list (bug#11499).
9896
a0a79cde
JL
98972012-05-17 Juri Linkov <juri@jurta.org>
9898
9899 * isearch.el (word-search-regexp, word-search-backward)
9900 (word-search-forward, word-search-backward-lax)
9901 (word-search-forward-lax): Move functions from search.c
9902 (bug#10145, bug#11381).
9903
65034a51
AM
99042012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9905
090bd7cb
JB
9906 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9907 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9908 Delay for otherchars as for normal word components.
65034a51 9909
1a72a195
SM
99102012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * minibuffer.el (completion--sifn-requote): Fix last change.
9913 (minibuffer-local-must-match-filename-map):
9914 Move define-obsolete-variable-alias before its var.
9915
fdb058c2
SM
99162012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9917
c41045e6
SM
9918 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9919
036dfb8b
SM
9920 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9921 behavior.
9922 (completion--string-equal-p): New function.
9923 (completion--twq-all): Use it to get better assertion failure data.
9924
2473256d
SM
9925 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9926 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9927 (shell--requote-argument): New functions.
9928 (shell-completion-vars): Use them.
9929 (shell--parse-pcomplete-arguments): Rename from
9930 shell-parse-pcomplete-arguments.
9931 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9932 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9933 Obey comint-file-name-quote-list.
9934
fdb058c2
SM
9935 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9936 (smie-indent-keyword): Use it.
9937
51fa99f1
SM
99382012-05-14 Stefan Merten <smerten@oekonux.de>
9939
9940 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9941
e18afed7 99422012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9943
9944 * net/rlogin.el (rlogin-mode-map): Fix last change.
9945
e18afed7 99462012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9947
9948 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9949 the following \r\n using a single `process-send-string', since the
9950 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9951 with two `process-send-string's (Bug#11444).
8633b1f4 9952
e18afed7 99532012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9954
fdb058c2
SM
9955 * shell.el (shell-parse-pcomplete-arguments):
9956 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9957
2d21d7f6
WJ
99582012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9959
e18afed7 9960 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9961 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9962 (image-transform-width, image-transform-fit-width): New functions.
9963 (image-transform-properties): Use them.
9964 (image-transform-check-size): New function.
9965 (image-toggle-display-image): Use it (for testing).
9966 (image-transform-set-rotation): Reduce angle mod 360.
9967 Delete obsolete comment.
9968
7102e6d0
WJ
99692012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9970
9971 * image-mode.el: Fix scaling (bug#11399).
9972 (image-transform-resize): Doc fix.
9973 (image-transform-properties): Default scale is 1 and height should
9974 be an integer.
9975
06bc5e6e
SM
99762012-05-13 Johan Bockgård <bojohan@gnu.org>
9977
9978 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9979 than hard-coding `car', to fix misbehavior when moving forward.
9980
0ae03b6a
CY
99812012-05-13 Chong Yidong <cyd@gnu.org>
9982
9983 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9984 (tabulated-list-entries, tabulated-list-padding)
9985 (tabulated-list-sort-key): Make permanent-local.
9986
9987 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9988 (electric-buffer-list): Put electric buffer menu
9989 command descriptions in this docstring, instead of the docstring
9990 of electric-buffer-menu-mode. Code cleanups.
9991 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9992 Electric-buffer-menu-mode.
9993 (electric-buffer-update-highlight): Minor code cleanup.
9994
205a7391
MA
99952012-05-13 Michael Albinus <michael.albinus@gmx.de>
9996
9997 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9998 (Bug#11447)
9999
e5bd0a28
SM
100002012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 Move define-obsolete-variable-alias before the var's definition.
10003 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10004 * tooltip.el (tooltip-hook):
10005 * textmodes/reftex-toc.el (reftex-toc-map):
10006 * textmodes/reftex-sel.el (reftex-select-label-map)
10007 (reftex-select-bib-map):
10008 * textmodes/reftex-index.el (reftex-index-map)
10009 (reftex-index-phrases-map):
10010 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10011 * progmodes/meta-mode.el (meta-mode-map):
10012 * novice.el (disabled-command-hook):
10013 * loadhist.el (unload-hook-features-list):
10014 * frame.el (blink-cursor):
10015 * files.el (find-file-not-found-hooks, write-file-hooks)
10016 (write-contents-hooks):
10017 * emulation/tpu-edt.el (GOLD-map):
10018 * emacs-lock.el (emacs-lock-from-exiting):
10019 * emacs-lisp/generic.el (generic-font-lock-defaults):
10020 * emacs-lisp/chart.el (chart-map):
10021 * dos-fns.el (register-name-alist):
10022 * dired-x.el (dired-omit-files-p):
10023 * desktop.el (desktop-enable):
10024 * cus-edit.el (custom-mode-hook):
10025 * buff-menu.el (buffer-menu-mode-hook):
10026 * bookmark.el (bookmark-read-annotation-text-func)
10027 (bookmark-exit-hooks):
10028 * allout.el (allout-mode-deactivate-hook)
10029 (allout-exposure-change-hook, allout-structure-added-hook)
10030 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10031 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10032 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10033 comes before the corresponding variable's definition.
10034
ac59c2f6
CY
100352012-05-12 Chong Yidong <cyd@gnu.org>
10036
10037 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10038 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10039 (Buffer-menu-mode-map): Bind it.
10040 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10041
dee6c9a3
SM
100422012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10043
2171cea5
SM
10044 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10045 (prolog-upper-case-string, prolog-lower-case-string)
10046 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10047 (prolog-use-smie, prolog-smie-grammar): New vars.
10048 (prolog-smie-forward-token, prolog-smie-backward-token)
10049 (prolog-smie-rules): New funs.
10050 (prolog-comment-indent): Remove.
10051 (prolog-mode-variables): Use default comment indentation instead.
10052 Setup SMIE.
10053 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10054 (prolog-mode): Don't call them any more.
10055 (prolog-electric-colon, prolog-electric-dash)
10056 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10057
aa0382bd
SM
10058 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10059
dbacb4bd
SM
10060 * minibuffer.el (completion--twq-all): Again, allow case differences.
10061
13bdd94c
SM
10062 * term.el: Move keymap initialization code to be more idiomatic.
10063 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10064 (term-terminal-menu): Move initialization into declaration.
10065 (term-escape-char): Let the user set it in her .emacs.
10066
ff46c759
SM
10067 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10068 Provide SMIE-based indentation (not enabled by default yet).
10069 (sh-mode-map): Don't bind electric keys.
10070 Use electric-pair-mode instead of skeleton-pair.
10071 (sh-assignment-regexp): Fit within 80 columns.
10072 (sh-indent-supported): Specify actual shell name instead of boolean.
10073 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10074 (sh-maybe-here-document): Use it. Make obsolete.
10075 (sh-electric-here-document-mode) New minor mode.
10076 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10077 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10078 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10079 (sh-smie-rc-grammar, sh-use-smie): New vars.
10080 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10081 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10082 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10083 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10084 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10085 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10086 (sh-set-shell): Use smie-setup if requested.
10087
dee6c9a3
SM
10088 * term.el (term-set-escape-char): Properly set term-escape-char.
10089 See http://stackoverflow.com/questions/10524656.
10090
9f9aa044
CY
100912012-05-10 Chong Yidong <cyd@gnu.org>
10092
10093 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10094 Use url-generic-parse-url, and handle host names and Windows
10095 filenames properly.
10096 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10097 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10098 URL schemes to work on.
10099 (ffap--toggle-read-only): New function.
10100 (ffap-read-only, ffap-read-only-other-window)
10101 (ffap-read-only-other-frame): Use it.
10102 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10103 necessary for ffap-url-unwrap-remote.
10104
836d29b3
DA
101052012-05-10 Dave Abrahams <dave@boostpro.com>
10106
10107 * cus-start.el (create-lockfiles): Add it.
10108
00fd78ed
CY
101092012-05-09 Chong Yidong <cyd@gnu.org>
10110
10111 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10112 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10113
666b903b 101142012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10115
10116 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10117
666b903b 101182012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10119
10120 * ansi-color.el (ansi-color-process-output): Check for validity of
10121 comint-last-output-start before using it. This avoids a bad
10122 interaction with gdb-mi's input/output buffer.
10123
666b903b 101242012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10125
10126 * files.el (dir-locals-read-from-file):
10127 Mention dir-locals in any error message.
10128
666b903b 101292012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10130
10131 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10132 package (Bug#11410).
10133
f677562b
CY
10134 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10135 variables into description.
10136
666b903b 101372012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10138
10139 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10140 shell-delimiter-argument-list (bug#11348).
10141 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10142
b499d8d0
JB
101432012-05-09 Juanma Barranquero <lekktu@gmail.com>
10144
8f6b6da8
JB
10145 * textmodes/rst.el: Silence byte-compiler warnings.
10146 (rst-re-alist, rst-reset-section-caches): Move around.
10147 (rst-re): Use `characterp', not `char-valid-p'.
10148 (font-lock-beg, font-lock-end): Declare.
10149
4824146a
JB
10150 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10151 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10152
b499d8d0
JB
10153 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10154
ad89bb83
GM
101552012-05-08 Glenn Morris <rgm@gnu.org>
10156
10157 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10158
8bba5a75
SM
101592012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10160
49ed9c8e
SM
10161 * vc/log-edit.el: Add GNU coding standards highlighting.
10162 (log-edit-font-lock-gnu-style)
10163 (log-edit-font-lock-gnu-keywords): New vars.
10164 (log-edit-font-lock-keywords): New fun.
10165 (log-edit-mode): Don't fold case in font-lock.
10166 (log-edit-font-lock-keywords): Do not assume case-folding.
10167
07d00b56
SM
10168 * imenu.el: Misc cleanup. Make docstrings out of comments.
10169 Use lexical-binding.
10170 (imenu--index-alist, imenu--last-menubar-index-alist)
10171 (imenu-menubar-modified-tick): Use defvar-local.
10172 (imenu--split-menu): Remove unused var.
10173 (imenu--cleanup-seen): Declare as global.
10174 (imenu--cleanup): Use dolist.
10175
8bba5a75
SM
10176 * subr.el (defvar-local): Add debug spec and doc-string position.
10177
5075bdb5
GM
101782012-05-08 Glenn Morris <rgm@gnu.org>
10179
090bd7cb 10180 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10181 * language/english.el, language/georgian.el, language/greek.el:
10182 * language/japanese.el, language/khmer.el, language/korean.el:
10183 * language/lao.el, language/misc-lang.el, language/romanian.el:
10184 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10185 * language/thai.el, language/utf-8-lang.el:
10186 Remove no-byte-compile setting.
10187
5075bdb5
GM
10188 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10189
06f679a7
AH
101902012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10191
10192 * progmodes/make-mode.el (makefile-browse):
10193 Remove unnecessary interactive. (Bug#11324)
10194
03794570
GM
101952012-05-07 Glenn Morris <rgm@gnu.org>
10196
af8630f4
GM
10197 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10198
03794570
GM
10199 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10200
f0809a9d
SM
102012012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10202
28be5ce7
SM
10203 * loadup.el: Preload newcomment.el.
10204 * newcomment.el: Move autoload-only code to toplevel.
10205
f0809a9d
SM
10206 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10207 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10208 Handle new :right-align column property.
10209 (tabulated-list-print-col): Idem, plus use `display' text-property to
10210 try and preserve alignment for variable pitch fonts.
10211
1241b724
CY
102122012-05-07 Chong Yidong <cyd@gnu.org>
10213
10214 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10215 (tabulated-list-use-header-line): New var.
10216 (tabulated-list-init-header): Use it.
10217 (tabulated-list-print-fake-header): New function.
10218 (tabulated-list-print): Use it.
10219 (tabulated-list-sort-button-map): Add non-header-line commands.
10220 (tabulated-list-init-header): Add column name property to basic
10221 labels as well.
10222 (tabulated-list-col-sort): Handle non-header-line button case.
10223 (tabulated-list--sort-by-column-name): Fix a corner case.
10224
f0809a9d
SM
10225 * buff-menu.el (list-buffers--refresh):
10226 Handle Buffer-menu-use-header-line.
1241b724 10227
e5f9458f
CY
102282012-05-06 Chong Yidong <cyd@gnu.org>
10229
10230 * buff-menu.el: Convert to Tabulated List mode.
10231 (Buffer-menu-buffer+size-width): Make obsolete.
10232 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10233 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10234 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10235 documentation into docstring of buffer-menu.
10236 (Buffer-menu-toggle-files-only): Add an informative message.
10237 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10238 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10239 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10240 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10241 (Buffer-menu-execute, Buffer-menu-select)
10242 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10243 (Buffer-menu-bury): Use Tabulated List machinery.
10244 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10245 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10246 Delete.
e5f9458f
CY
10247 (list-buffers--refresh): New function.
10248 (list-buffers-noselect): Use it.
10249 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10250 (Buffer-menu--pretty-file-name): New helper functions.
10251
10252 * loadup.el: Preload tabulated-list.
10253
10254 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10255 tabulated-list-sort-column.
10256 (tabulated-list-init-header): Add the initial aligning space even
10257 if tabulated-list-padding is zero.
10258
e129292c
CS
102592012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10260
10261 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10262 whose cdr is not a cons cell correctly (bug#11038).
10263
6632d361
CY
102642012-05-06 Chong Yidong <cyd@gnu.org>
10265
e129292c
CS
10266 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10267 Accept additional plist in column descriptors.
6632d361
CY
10268 (tabulated-list-init-header): Obey it.
10269 (tabulated-list-get-entry): New function.
10270 (tabulated-list-put-tag): Use it. Use string-width instead of
10271 length.
10272 (tabulated-list--column-number): New function.
10273 (tabulated-list-print): Use it.
e129292c
CS
10274 (tabulated-list-print-col): New function.
10275 Set `tabulated-list-column-name' property on each column's text.
6632d361 10276 (tabulated-list-print-entry): Use it.
e129292c
CS
10277 (tabulated-list-delete-entry, tabulated-list-set-col):
10278 New functions.
6632d361
CY
10279 (tabulated-list-sort-column): New command (Bug#11337).
10280
3cc99f68
CY
10281 * buff-menu.el (list-buffers): Move C-x C-b binding from
10282 buff-menu.el to bindings.el.
10283
10284 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10285 :advertised-binding feature.
10286
52b61776
TN
102872012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10288
10289 * progmodes/compile.el (compilation-internal-error-properties):
10290 Calculate start position correctly when end-col is set but
10291 end-line is not (Bug#11382).
10292
ebfe2597
WJ
102932012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10294
10295 * man.el (Man-unindent): Use text-property-default-nonsticky to
10296 prevent untabify from inheriting face properties (Bug#11408).
10297
6d3f7c2f
SM
102982012-05-05 Stefan Merten <smerten@oekonux.de>
10299
10300 * textmodes/rst.el: Major merge with upstream development up to
10301 Docutils SVN r7399 / rst.el V1.2.1.
10302
10303 Clarify maintainership and authors.
10304
10305 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10306 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10307 (rst-official-version, rst-official-cvs-rev, rst-version)
10308 (rst-package-emacs-version-alist): New functions and variables
10309 for version information.
10310
10311 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10312 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10313 (rst-mode-syntax-table, rst-mode): New and corrected functions
10314 and variables representing reStructuredText features.
10315
10316 (rst-re): New function for reStructuredText regexes. Use in
10317 many places.
10318
10319 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10320 (rst-mode-map): Rebind keys.
10321
10322 (rst-mode-lazy, rst-font-lock-keywords)
10323 (rst-font-lock-extend-region)
10324 (rst-font-lock-extend-region-internal)
10325 (rst-font-lock-extend-region-extend)
10326 (rst-font-lock-find-unindented-line-limit)
10327 (rst-font-lock-find-unindented-line-match)
10328 (rst-adornment-level, rst-font-lock-adornment-level)
10329 (rst-font-lock-adornment-match)
10330 (rst-font-lock-handle-adornment-pre-match-form)
10331 (rst-font-lock-handle-adornment-matcher): Major revision of
10332 font-locking. Integrate with other code. Use `jit-lock-mode'.
10333
10334 (rst-preferred-adornments, rst-adjust-hook)
10335 (rst-new-adornment-down, rst-preferred-bullets)
10336 (rst-preferred-bullets, rst-indent, rst-indent-width)
10337 (rst-indent-field, rst-indent-literal-normal)
10338 (rst-indent-literal-minimized, rst-indent-comment): Change,
10339 extend and improve customization.
10340
10341 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10342 (rst-normalize-cursor-position, rst-get-decoration)
10343 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10344 (rst-rstrip, rst-toc-insert-find-delete-contents)
10345 (rst-shift-fill-region, rst-compute-bullet-tabs)
10346 (rst-debug-print-tabs, rst-debug-mark-found)
10347 (rst-shift-region-guts, rst-shift-region-right)
10348 (rst-shift-region-left, rst-use-char-classes)
10349 (rst-font-lock-keywords-function)
10350 (rst-font-lock-indentation-point)
10351 (rst-font-lock-find-unindented-line-begin)
10352 (rst-font-lock-find-unindented-line-end)
10353 (rst-font-lock-find-unindented-line)
10354 (rst-font-lock-adornment-point, rst-font-lock-level)
10355 (rst-adornment-level-alist): Remove functions and variables.
10356
10357 (rst-compare-adornments, rst-get-adornment-match)
10358 (rst-suggest-new-adornment, rst-get-adornments-around)
10359 (rst-adornment-complete-p, rst-get-next-adornment)
10360 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10361 (rst-straighten-adornments): Standardize function names to
10362 use "adornment" instead of "decoration". Correct callers.
10363 Similar standardizing in many places.
10364
10365 (rst-update-section, rst-adjust, rst-promote-region)
10366 (rst-enumerate-region, rst-bullet-list-region)
10367 (rst-repeat-last-character): Correct use of `interactive'.
10368
10369 (rst-classify-adornment, rst-find-all-adornments)
10370 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10371 (rst-find-leftmost-column, rst-repeat-last-character):
10372 Refactor functions.
10373
10374 (rst-find-title-line, rst-reset-section-caches)
10375 (rst-get-adornments-around, rst-adjust-adornment-work)
10376 (rst-arabic-to-roman, rst-roman-to-arabic)
10377 (rst-insert-list-pos, rst-insert-list-new-item)
10378 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10379 New functions.
10380
10381 (rst-all-sections, rst-section-hierarchy)
10382 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10383 New variables.
10384
10385 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10386 configuration instead of only buffer. Change where necessary.
10387
10388 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10389 (rst-shift-region, rst-adaptive-fill): New functions for
10390 indentation and filling.
10391
10392 (rst-comment-line-break, rst-comment-indent)
10393 (rst-comment-insert-comment, rst-comment-region)
10394 (rst-uncomment-region): New functions for handling comments.
10395
10396 (rst-compile): Quote shell arguments.
10397
10398 (rst-compile-pdf-preview, rst-compile-slides-preview):
10399 Delete temporary files after use.
10400
a43f98b3
GM
104012012-05-05 Glenn Morris <rgm@gnu.org>
10402
48176e8b
GM
10403 * calendar/cal-html.el: Optionally include holidays in the output.
10404 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10405 (cal-html-holidays): New option.
10406 (cal-html-css-default): Add holiday entry.
10407 (holiday-in-range): Autoload it.
10408 (cal-html-htmlify-entry): Add optional class argument.
10409 (cal-html-htmlify-list): Add optional holidays argument.
10410 (cal-html-insert-agenda-days): Include holidays in the output.
10411 (cal-html-one-month): Maybe include holidays.
10412
a43f98b3
GM
10413 * calendar/holidays.el (holiday-in-range):
10414 Move here from cal-tex-list-holidays.
10415 * calendar/cal-tex.el (cal-tex-list-holidays):
10416 Make it an obsolete alias for holiday-in-range. Update all callers.
10417
fef9d149 104182012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10419
10420 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10421 Nextstep.
10422
248da2f4
RW
104232012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10424
10425 * files.el (file-auto-mode-skip): New var.
10426 (set-auto-mode-1): Use it.
10427
f95e9344
SM
104282012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10429
df96ab1e
SM
10430 * repeat.el: Use lexical-binding.
10431 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10432 (repeat-undo-count): Remove.
10433 (repeat):
10434 * progmodes/octave-mod.el (octave-abbrev-start):
10435 * progmodes/f90.el (f90-abbrev-start):
10436 * face-remap.el (text-scale-adjust):
10437 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10438
5342bb06
SM
10439 * emacs-lisp/pcase.el (pcase--let*): New function.
10440 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10441 a bit more.
10442 (pcase--split-pred): Be more clever about ruling out overlap between
10443 a predicate and some constant pattern.
10444 (pcase--q1): Use `null' instead of (eq foo nil).
10445
f95e9344
SM
10446 * subr.el (setq-local, defvar-local): New macros.
10447 (kbd): Redefine as an alias.
10448 (with-selected-window): Leave unrelated frames alone.
10449 (set-temporary-overlay-map): New function.
10450
71873e2b
SM
104512012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * subr.el (user-error): New function.
10454 * window.el (switch-to-buffer):
10455 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10456 (smerge-match-conflict):
10457 * simple.el (previous-matching-history-element)
10458 (next-matching-history-element, goto-history-element, undo-more)
10459 (undo-start):
10460 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10461 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10462 (next-file, tags-loop-scan, list-tags, complete-tag):
10463 * progmodes/compile.el (compilation-loop):
10464 * mouse.el (mouse-minibuffer-check):
10465 * man.el (Man-bgproc-sentinel, Man-goto-page):
10466 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10467 (Info-history-forward, Info-follow-reference, Info-menu)
10468 (Info-extract-menu-item, Info-extract-menu-counting)
10469 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10470 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10471 (Info-next-reference, Info-prev-reference, Info-index)
10472 (Info-index-next, Info-follow-nearest-node)
10473 (Info-copy-current-node-name):
10474 * imenu.el (imenu--make-index-alist)
10475 (imenu-default-create-index-function, imenu-add-to-menubar):
10476 * files.el (basic-save-buffer, recover-file):
10477 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10478 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10479 (checkdoc-message-text, checkdoc-defun):
10480 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10481 * cus-edit.el (customize-changed-options, customize-rogue)
10482 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10483 (custom-variable-mark-to-reset-standard)
10484 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10485 (custom-file):
10486 * completion.el (check-completion-length):
10487 * comint.el (comint-search-arg)
10488 (comint-previous-matching-input-string-position)
10489 (comint-previous-matching-input)
10490 (comint-replace-by-expanded-history-before-point, comint-send-input)
10491 (comint-copy-old-input, comint-backward-matching-input)
10492 (comint-goto-process-mark, comint-set-process-mark):
10493 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10494 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10495
8a61ee22
SM
104962012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10497
66408d1e
SM
10498 * dabbrev.el (dabbrev--ignore-case-p): New function.
10499 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10500 Use it.
10501
8a61ee22
SM
10502 * files.el (automount-dir-prefix): Mark as obsolete.
10503
3c74813a
GM
105042012-05-04 Glenn Morris <rgm@gnu.org>
10505
10506 * patcomp.el, play/bruce.el: Move to obsolete/.
10507
0bfcf5c5
PE
105082012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10509
10510 Fix minor Y10k bugs.
10511 * arc-mode.el (archive-unixdate):
10512 * autoinsert.el (auto-insert-alist):
10513 * calc/calc-forms.el (math-this-year):
10514 * emacs-lisp/copyright.el (copyright-current-year)
10515 (copyright-update-year, copyright):
10516 * tar-mode.el (tar-clip-time-string):
10517 * time.el (display-time-update):
10518 Don't assume years have 4 digits.
10519
78f3273a
CY
105202012-05-04 Chong Yidong <cyd@gnu.org>
10521
10522 * dos-w32.el (file-name-buffer-file-type-alist)
10523 (direct-print-region-use-command-dot-com):
10524 * ffap.el (ffap-menu-regexp):
10525 * find-file.el (ff-special-constructs):
10526 * follow.el (follow-debug):
10527 * forms.el (forms--debug):
10528 * iswitchb.el (iswitchb-all-frames):
10529 * ido.el (ido-all-frames):
10530 * emacs-lisp/timer.el (timer-max-repeats):
10531 * mail/feedmail.el (feedmail-mail-send-hook)
10532 (feedmail-mail-send-hook-queued):
10533 * mail/footnote.el (footnote-signature-separator):
10534 * mail/mailabbrev.el (mail-alias-separator-string)
10535 (mail-abbrev-mode-regexp):
10536 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10537 * progmodes/idlwave.el (idlwave-libinfo-file)
10538 (idlwave-default-completion-case-is-down)
10539 (idlwave-library-routines): Convert defvars to defcustoms.
10540
10541 * mail/rmail.el (rmail-decode-mime-charset):
10542 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10543 (idlwave-shell-fix-inserted-breaks)
10544 (idlwave-shell-activate-alt-keybindings)
10545 (idlwave-shell-use-breakpoint-glyph):
10546 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10547
f7ae6719
SM
105482012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10551
47086495
WS
105522012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10553
10554 * progmodes/verilog-mode.el (font-lock-keywords):
10555 Fix mis-highligting auto. Reported by Craig Barner.
10556 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10557 defines from global name space. Reported by Dan Dever.
47086495
WS
10558 (verilog-auto-reset, verilog-auto-reset-widths)
10559 (verilog-auto-tieoff): Support using unbased numbers for
10560 AUTORESET and AUTOTIEOFF.
10561 (verilog-submit-bug-report): Update variable list.
10562 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10563 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10564 (verilog-auto-template-lint): Fix hash error when linting modules
10565 with no used templates.
10566 (verilog-warn, verilog-warn-error)
10567 (verilog-warn-fatal): When non-interactive report multiple
10568 warnings before exiting. Suggested by Brad Dobbie.
10569 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10570 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10571 to report unused template errors. Reported by Brad Dobbie.
10572 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10573 nets, bug438. Reported by Vns Blore.
47086495
WS
10574 (verilog-auto-inout-module, verilog-auto-reg)
10575 (verilog-read-decls, verilog-read-sub-decls-sig)
10576 (verilog-signals-edit-wire-reg, verilog-signals-with):
10577 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10578 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10579 "reg" for backwards compatibility presuming Verilog 2001.
10580 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10581 (verilog-preprocess): Fix replication of preprocess output.
10582 Reported by Brad Dobbie.
10583 (verilog-auto-inst-interfaced-ports):
10584 Create verilog-auto-inst-interfaced-ports, bug429.
10585 Reported by Julian Gorfajn.
10586 (verilog-after-save-font-hook)
10587 (verilog-before-save-font-hook): New variable.
10588 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10589 (verilog-save-font-mods): Wrap disabling fontification, reported
10590 by David Rogoff.
10591 (verilog-do-indent, verilog-pretty-declarations-auto)
10592 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10593 Reported by Pierre-David Pfister.
10594 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10595 of class declarations, bug292. Reported by Kevin Heilman.
10596 (verilog-read-decls): Fix 'parameter type' not appearing in
10597 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10598 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10599 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10600 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10601 Reported by David Kravitz.
10602
106032012-05-03 Michael McNamara <mac@mail.brushroad.com>
10604
10605 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10606 assignment with tests in ifs and for loops.
10607 (verilog-extended-complete-re, verilog-complete-reg): Change so
10608 that DPI inport functions don't look like fuction declarations.
10609 (verilog-pretty-expr): Don't line up assignment
10610 operations to the test and increment in if and for loops
10611 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10612 that DPI inport functions don't look like fuction declarations.
47086495 10613
2e51d4b5
KH
106142012-05-03 Kenichi Handa <handa@m17n.org>
10615
10616 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10617 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10618 (Bug#11282).
10619
2bd785a2
SM
106202012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * emacs-lisp/bytecomp.el
10623 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10624 since cconv.el might have introduced :fun-body, internal-make-closure,
10625 and friends for bytecomp to handle (bug#11391).
10626 * custom.el (defcustom): Avoid ((λ ..) ..).
10627
99d27583
SM
106282012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10629
10630 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10631
55a71479
JB
106322012-05-02 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * notifications.el (dbus-debug):
10635 * term/linux.el (gpm-mouse-enable):
10636 * term/screen.el (xterm-register-default-colors): Declare.
10637
7b97c764
CY
106382012-05-02 Chong Yidong <cyd@gnu.org>
10639
2bc356d7
CY
10640 * cus-start.el (gc-cons-percentage, exec-suffixes)
10641 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10642 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10643 (make-cursor-line-fully-visible, void-text-area-pointer)
10644 (font-list-limit): Add customization data.
10645
7b97c764
CY
10646 * allout.el (allout-exposure-change-functions)
10647 (allout-structure-added-functions)
10648 (allout-structure-deleted-functions)
10649 (allout-structure-shifted-functions): Rename abnormal hooks from
10650 *-hook, and convert to defcustoms.
5d3385a0
JB
10651 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10652 Convert to defcustoms.
7b97c764
CY
10653 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10654
10655 * allout-widgets.el: Hook callers changed.
10656
90207a15 106572012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10658
10659 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10660 the yanked message in preference to the default value of
10661 buffer-file-coding-system.
10662
90207a15 106632012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10664
5d3385a0
JB
10665 * window.el (display-buffer--action-function-custom-type):
10666 Fix entry.
d9558cad 10667
90207a15 106682012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10669
10670 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10671
d80ac57b
GM
106722012-05-01 Glenn Morris <rgm@gnu.org>
10673
976f7668
GM
10674 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10675
beb83b5a
GM
10676 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10677
d80ac57b
GM
10678 * cus-edit.el (custom-variable-documentation): Simplify with format.
10679
b593d6a9 106802012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10681 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10682
10683 * simple.el (suggest-key-bindings, execute-extended-command):
10684 Move from keyboard.c.
10685
782fbf2a
CY
106862012-05-01 Chong Yidong <cyd@gnu.org>
10687
10688 * follow.el: Eliminate advice.
10689 (set-process-filter, process-filter, sit-for): Advice deleted.
10690 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10691 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10692 Vars deleted.
782fbf2a
CY
10693 (follow-auto): Use a :set function.
10694 (follow-mode): Rewritten. Don't advise process filters.
10695 (follow-switch-to-current-buffer-all, follow-scroll-up)
10696 (follow-scroll-down): Assume follow-mode is bound.
10697 (follow-comint-scroll-to-bottom)
10698 (follow-align-compilation-windows): New functions.
10699 (follow--window-sorter): New function.
10700 (follow-all-followers): Use it to explicitly sort windows by their
10701 positions; don't make assumptions about next-window order.
10702 (follow-windows-start-end, follow-delete-other-windows-and-split)
10703 (follow-calc-win-start): Doc fix.
10704 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10705 vertical-motion unnecessarily.
10706 (follow-adjust-window): New function.
10707 (follow-post-command-hook): Use it.
10708 (follow-call-set-process-filter, follow-call-process-filter)
10709 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10710 (follow-stop-intercept-process-output, follow-generic-filter):
10711 Functions deleted.
10712 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10713 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10714 New functions, replacing advice on scroll-bar-* commands.
87233a14 10715 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10716
10717 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10718 (comint-postoutput-scroll-to-bottom): Use it.
10719 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10720
290af740
GM
107212012-05-01 Glenn Morris <rgm@gnu.org>
10722
10723 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10724 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10725 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10726 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10727 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10728 Remove no-byte-compile setting.
10729
6eac8dc9
SM
107302012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10733 all-completions code to not return a number in the last cdr.
10734
9cc7819c
LL
107352012-04-30 Leo Liu <sdl.web@gmail.com>
10736
10737 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10738 read-only error.
10739
c93b886f
CY
107402012-04-29 Chong Yidong <cyd@gnu.org>
10741
10742 * follow.el (follow-calc-win-end): Rewrite to handle partial
10743 screen lines correctly (Bug#8390).
10744 (follow-avoid-tail-recenter): Minor cleanup.
10745
8b6c19f4
SM
107462012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 Avoid the obsolete `assoc' package.
10749 * speedbar.el (speedbar-refresh): Avoid adelete.
10750 (speedbar-file-lists): Simplify and avoid aput.
10751 * man.el (Man--sections, Man--refpages): New vars, replacing
10752 Man-sections-alist and Man-refpages-alist.
10753 (Man-build-section-alist, Man-build-references-alist):
10754 Use them; avoid aput.
10755 (Man--last-section, Man--last-refpage): New vars.
10756 (Man-follow-manual-reference): Use them.
10757 Use the `default' arg of completing-read.
10758 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10759
c5bb7569
CY
107602012-04-27 Chong Yidong <cyd@gnu.org>
10761
d1d2e2e8
CY
10762 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10763
15cd8efd
CY
10764 * startup.el (x-apply-session-resources): New function.
10765
10766 * term/ns-win.el (ns-initialize-window-system):
10767 * term/w32-win.el (w32-initialize-window-system):
10768 * term/x-win.el (x-initialize-window-system): Use it to properly
10769 set menu-bar-mode and other vars from X resources, even if the
10770 initial frame is not a window-system frame (Bug#2299).
10771
c5bb7569
CY
10772 * subr.el (read-key): Avoid running filter function when setting
10773 up temporary tool bar entries (Bug#9922).
10774
a8e7d6d7 107752012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10776
10777 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10778 (Bug#11344)
10779
a8e7d6d7 107802012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10781
10782 * select.el (xselect--encode-string): New function, split from
10783 xselect-convert-to-string.
10784 (xselect-convert-to-string): Use it.
10785 (xselect-convert-to-filename, xselect-convert-to-os)
10786 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10787 returned strings are properly encoded (Bug#11315).
10788
a8e7d6d7 107892012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10790
10791 * simple.el (delete-active-region): Move to killing custom group.
10792
a8e7d6d7 107932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10794
10795 * progmodes/which-func.el (which-func-current): Quote %
10796 characters for mode-line processing.
10797
578c1d4b 107982012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10799
10800 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10801 reaching eob (Bug#11286).
10802
a8e7d6d7 108032012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10804
10805 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10806 (gdb): Make it buffer-local and init to zero.
10807 (gdb-control-commands-regexp): New variable.
10808 (gdb-send): Don't wrap in "-interpreter-exec console" if
10809 gdb-control-level is positive. Increment gdb-control-level
10810 whenever the command matches gdb-control-commands-regexp, and
10811 decrement it each time the command is "end". (Bug#11279)
10812
a8e7d6d7 108132012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10814
10815 * window.el (adjust-window-trailing-edge, enlarge-window)
10816 (shrink-window, window-resize):
10817 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10818 windows (Bug#11276).
10819
b3608390
CY
108202012-04-27 Chong Yidong <cyd@gnu.org>
10821
10822 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10823 fix "missing prefix" warning. All callers changed.
b3608390 10824
797e6e88
SM
108252012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * emacs-lisp/assoc.el: Move to obsolete/.
10828
e95a67dc
SM
108292012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10830
657c21e4 10831 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10832
10833 * term/ns-win.el (ns-define-service):
10834 * progmodes/pascal.el (pascal-goto-defun):
10835 * progmodes/js.el (js--read-tab):
10836 * progmodes/etags.el (tags-lazy-completion-table):
10837 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10838 * emacs-lisp/ewoc.el (ewoc--wrap):
10839 * emacs-lisp/assoc.el (aput, adelete, amake):
10840 * doc-view.el (doc-view-convert-current-doc):
10841 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10842
cb3e7ae0
CY
108432012-04-26 Chong Yidong <cyd@gnu.org>
10844
dce04f7f
CY
10845 * image.el (image-type-from-buffer): Only return supported image
10846 type (Bug#9045).
10847
cb3e7ae0
CY
10848 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10849 value, for symmetry with diff-end-of-hunk.
10850 (diff-split-hunk, diff-find-source-location)
10851 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10852 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10853 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10854 compute the relevant hunk or file properly (Bug#6005).
10855 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10856
0d42eb3e
SM
108572012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10858
10859 * vc/vc-mtn.el:
10860 * vc/vc-hg.el:
10861 * vc/vc-git.el:
10862 * vc/vc-dir.el:
10863 * vc/vc-cvs.el:
10864 * vc/vc-bzr.el:
10865 * vc/vc-arch.el:
10866 * vc/vc.el: Replace lexical-let by lexical-binding.
10867 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10868 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10869 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10870
f08ae1c9
CY
108712012-04-26 Chong Yidong <cyd@gnu.org>
10872
8b71081d
CY
10873 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10874 (diff-mode-shared-map): Bind it to / and [remap undo].
10875
f08ae1c9
CY
10876 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10877 (ediff-window-setup-function): Use it as the default, to set up
10878 windows based on whether the current frame is graphical (Bug#2138).
10879 (ediff-choose-window-setup-function-automatically): Make obsolete.
10880
10881 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10882
ef24141c
SM
108832012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10884
cc356a5d
SM
10885 * ffap.el: Remove old code for obsolete package.
10886 (ffap-complete-as-file-p): Remove.
10887
b4ff4f1f
SM
10888 Use completion-table-with-quoting for comint and pcomplete.
10889 * comint.el (comint--unquote&requote-argument)
10890 (comint--unquote-argument, comint--requote-argument): New functions.
10891 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10892 (comint-quote-filename): Use regexp-opt-charset.
10893 (comint--common-suffix, comint--common-quoted-suffix)
10894 (comint--table-subvert): Remove.
10895 (comint-unquote-function, comint-requote-function): New vars.
10896 (comint--complete-file-name-data): Use them with
10897 completion-table-with-quoting.
10898 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10899 * pcomplete.el (pcomplete-arg-quote-list)
10900 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10901 (pcomplete-unquote-argument-function): Default to non-nil.
10902 (pcomplete-unquote-argument): Simplify.
10903 (pcomplete--common-quoted-suffix): Remove.
10904 (pcomplete-requote-argument-function): New var.
10905 (pcomplete--common-suffix): New function.
10906 (pcomplete-completions-at-point): Use completion-table-with-quoting
10907 and completion-table-subvert.
10908
79c4eeb4
SM
10909 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10910 (minibuffer--double-dollars): Preserve properties.
10911 (completion--sifn-requote): New function.
10912 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10913
ef24141c
SM
10914 * minibuffer.el: Add support for completion of quoted/escaped data.
10915 (completion-table-with-quoting, completion-table-subvert): New funs.
10916 (completion--twq-try, completion--twq-all): New functions.
10917 (completion--nth-completion): New function.
10918 (completion-try-completion, completion-all-completions): Use it.
10919
784e7d6e
LL
109202012-04-25 Leo Liu <sdl.web@gmail.com>
10921
dd2ac746
SM
10922 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10923 Use compilation-message if available to find real filename.
784e7d6e 10924
07875ee7
CY
109252012-04-25 Chong Yidong <cyd@gnu.org>
10926
10927 * vc/diff-mode.el (diff-setup-whitespace): New function.
10928 (diff-mode): Use it.
10929
10930 * vc/diff.el (diff-sentinel):
10931 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10932 Whitespace mode variables based on diff style (Bug#8612).
10933
5055880d
LL
109342012-04-25 Leo Liu <sdl.web@gmail.com>
10935
daf75653
LL
10936 * progmodes/python.el (python-send-region): Add suffix .py to the
10937 temp file.
10938
5055880d
LL
10939 * files.el (auto-mode-alist): Use javascript-mode instead.
10940
db9b177b
AH
109412012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10942
ef24141c 10943 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10944
090bd7cb 10945 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10946 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10947 references, see Bug#9.
ef24141c 10948 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10949 when receiving a fault reply.
ef24141c 10950 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10951
090bd7cb 10952 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10953 (soap-inspect-simple-type): New function.
db9b177b 10954
090bd7cb 10955 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10956 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10957 (soap-decode-basic-type, soap-encode-basic-type):
10958 support unsignedInt and double basic types.
db9b177b 10959 (soap-resolve-references-for-simple-type)
ef24141c
SM
10960 (soap-parse-simple-type, soap-encode-simple-type): New function.
10961 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10962
090bd7cb 10963 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10964 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10965 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10966 the local name of "soapenc:Array".
10967 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10968 decoding integer, byte and anyURI xsd types.
10969
1fc6097b
CY
109702012-04-25 Chong Yidong <cyd@gnu.org>
10971
10972 * cus-edit.el (custom-buffer-create-internal): Update header text.
10973
afc6df87
EZ
109742012-04-25 Eli Zaretskii <eliz@gnu.org>
10975
10976 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10977 settings on 'system-type', not on 'window-system'. On MS-Windows,
10978 set interactive-mode on in GDB.
10979
dfbd787f
SM
109802012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10983 (ruby-syntax-propertize-regexp): Remove.
10984 (ruby-syntax-propertize-function): Split regexp into chunks.
10985 Match following code directly.
10986
85222d44
DG
109872012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10988
51a8ea2a
DG
10989 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10990 (ruby-syntax-propertize-regexp): New function.
10991 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10992 by a special keyword.
10993
85222d44
DG
10994 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10995 (ruby-syntax-general-delimiters-goto-beg)
10996 (ruby-syntax-propertize-general-delimiters): New functions.
10997 (ruby-syntax-propertize-function): Use them to handle GDL.
10998 (ruby-font-lock-keywords): Move old handling of GDL...
10999 (ruby-font-lock-syntactic-keywords): .. to here.
11000 (ruby-calculate-indent): Adjust indentation for GDL.
11001
b613912b
MA
110022012-04-24 Michael Albinus <michael.albinus@gmx.de>
11003
b5380639
MA
11004 * notifications.el (top): Remove unneeded declarations.
11005 (notifications-specification-version): Change to "1.2".
e43042fe 11006 (notifications-interface, notifications-notify-method)
b613912b
MA
11007 (notifications-close-notification-method): Fix docstring.
11008 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11009 (notifications-notify): Add :action-items, :resident and
11010 :transient hints. Change "image_data" to "image-data" and
11011 "image_path" to "image-path".
b613912b
MA
11012 (notifications-get-capabilities): New defun.
11013
257440aa
LL
110142012-04-24 Leo Liu <sdl.web@gmail.com>
11015
11016 * progmodes/python.el: Move hideshow setup to the end.
11017
b1bac16e
MR
110182012-04-24 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (handle-select-window): Clear echo area since this is
11021 no more done by read_char (Bug#11304).
11022
d81bd059
SM
110232012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11024
11025 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11026 and `/ M' to filter-derived-mode.
11027 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11028 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11029 (ibuffer-mark-by-mode): Use default rather than initial-input.
11030 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11031
c4cf6d91
IA
110322012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11033
11034 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11035 (ibuffer-filter-by-derived-mode): New filter.
11036 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11037
7511ded8
CY
110382012-04-23 Andreas Politz <politza@fh-trier.de>
11039
11040 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11041
775c916b
CY
110422012-04-23 Chong Yidong <cyd@gnu.org>
11043
11044 * cus-edit.el (customize-apropos, customize-apropos-options):
11045 Disable matching of non-option variables (Bug#11176).
11046 (customize-option, customize-option-other-window)
11047 (customize-changed-options): Doc fix.
11048 (customize-apropos-options, customize-apropos-faces)
11049 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11050
11051 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11052 Fix word list splitting (Bug#11132).
46c71e23
CY
11053 (apropos-symbol, apropos-keybinding, apropos-label)
11054 (apropos-property, apropos-function-button)
11055 (apropos-variable-button, apropos-misc-button): New faces.
11056 (apropos-symbol-face, apropos-keybinding-face)
11057 (apropos-label-face, apropos-property-face, apropos-match-face):
11058 Variables removed (Bug#8396).
11059 (apropos-library-button, apropos-format-plist, apropos-print)
11060 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11061
2df41f9c
MA
110622012-04-23 Michael Albinus <michael.albinus@gmx.de>
11063
11064 * net/xesam.el (xesam-mode-map): Use let-bound map in
11065 initialization. (Bug#11292)
11066
da00640a
AM
110672012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11068
11069 Preserve ispell session localwords when switching back to
11070 original buffer.
11071
090bd7cb
JB
11072 * textmodes/ispell.el (ispell-buffer-session-localwords):
11073 New buffer-local variable to hold buffer session localwords.
ed9265fc 11074 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11075 localwords.
11076 (ispell-command-loop, ispell-change-dictionary)
11077 (ispell-buffer-local-words): Preserve session localwords when
11078 needed.
11079
090bd7cb
JB
11080 * textmodes/flyspell.el (flyspell-process-localwords)
11081 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11082
f621ccf5
AM
110832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11084
090bd7cb
JB
11085 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11086 using obsolete `translation-table-for-input'.
ef24141c
SM
11087 (ispell-word, ispell-process-line, ispell-complete-word):
11088 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11089
c2d1019e
CY
110902012-04-22 Chong Yidong <cyd@gnu.org>
11091
11092 * cus-edit.el (custom-variable-menu)
11093 (custom-variable-reset-saved, custom-face-menu)
11094 (custom-face-reset-saved): If there is no saved value, make the
11095 "reset-saved" operation bring back the default (Bug#9509).
11096 (custom-face-state): Properly detect themed faces.
11097
eeddc531
CY
11098 * faces.el (face-spec-set): Stop supporting deprecated form of
11099 third arg.
11100
dcbf5805
MA
111012012-04-22 Michael Albinus <michael.albinus@gmx.de>
11102
11103 Move functions from C to Lisp. Make non-blocking method calls
11104 the default. Implement further D-Bus standard interfaces.
11105
ef24141c
SM
11106 * net/dbus.el (dbus-message-internal): Declare function.
11107 Remove unneeded function declarations.
dcbf5805
MA
11108 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11109 (dbus-message-type-method-return, dbus-message-type-error)
11110 (dbus-message-type-signal): Declare variables. Remove local
11111 definitions.
11112 (dbus-interface-dbus, dbus-interface-peer)
11113 (dbus-interface-introspectable, dbus-interface-properties)
11114 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11115 Adapt docstring.
11116 (dbus-interface-objectmanager): New defconst.
11117 (dbus-call-method, dbus-call-method-asynchronously)
11118 (dbus-send-signal, dbus-method-return-internal)
11119 (dbus-method-error-internal, dbus-register-service)
11120 (dbus-register-signal, dbus-register-method): New defuns, moved
11121 from dbusbind.c
11122 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11123 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11124 New defuns.
dcbf5805
MA
11125 (dbus-call-method-non-blocking): Make it an obsolete function.
11126 (dbus-unregister-object, dbus-unregister-service)
11127 (dbus-handle-event, dbus-register-property)
11128 (dbus-property-handler): Obey the new structure of
11129 `bus-registered-objects'.
11130 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11131 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11132 Use `dbus-call-method'.
11133
cf20dee0
CY
111342012-04-22 Chong Yidong <cyd@gnu.org>
11135
11136 * cus-edit.el (custom-commands, custom-reset-menu)
11137 (Custom-reset-standard): Tweak labels.
11138 (custom-reset-button-menu): Change default to t.
11139 (custom-buffer-create-internal): For the custom-reset-button-menu
11140 case, put the revert button first.
11141 (custom-group-subtitle): New face.
11142 (custom-group-value-create): Align docstring to a specific column.
11143
11144 * wid-edit.el (widget-documentation-link-add): Don't handle
11145 indentation in this function.
11146 (widget-documentation-string-indent-to): New function.
11147 (widget-documentation-string-value-create): Use it.
11148
11149 * autorevert.el (auto-revert):
11150 * epg-config.el (epg):
11151 * ibuffer.el (ibuffer):
11152 * mpc.el (mpc):
11153 * ses.el (ses):
11154 * eshell/eshell.el (eshell):
11155 * net/ange-ftp.el (ange-ftp):
11156 * progmodes/ebnf2ps.el (postscript):
11157 * progmodes/flymake.el (flymake):
11158 * progmodes/prolog.el (prolog):
11159 * progmodes/verilog-mode.el (verilog-mode):
11160 * progmodes/which-func.el (which-func):
11161 * term/xterm.el (xterm):
11162 * textmodes/picture.el (picture):
11163 * textmodes/tildify.el (tildify):
11164 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11165 customization buffers.
11166
583e23bd
AM
111672012-04-22 Alan Mackenzie <acm@muc.de>
11168
11169 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11170 Adding a ) can hide the resulting (..) from searches. Fix it.
11171 Bound the backward search to the position of the existing (.
11172
7dd51bf1
JB
111732012-04-21 Juanma Barranquero <lekktu@gmail.com>
11174
11175 * progmodes/verilog-mode.el (verilog-mode): Check whether
11176 which-func-modes is t before adding verilog-mode.
11177 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11178
d64a438f
LL
111792012-04-21 Leo Liu <sdl.web@gmail.com>
11180
7dd51bf1 11181 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11182
081e8d65
MV
111832012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11184
11185 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11186 filling of the last column of a table (Bug#5635).
11187 (woman-find-next-control-line): New arg, specifying an additional
11188 regexp component for the control line.
11189 (woman2-roff-buffer): Use it.
11190 (woman-break-table): New function.
11191 (woman2-TS): Use it.
11192
111932012-04-21 Chong Yidong <cyd@gnu.org>
11194
11195 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11196 (woman-horizontal-escapes, woman-negative-vertical-space)
11197 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11198 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11199
ed571ccb
SM
112002012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * minibuffer.el (completion-file-name-table): Complete user names.
11203
39773899
LL
112042012-04-20 Leo Liu <sdl.web@gmail.com>
11205
11206 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11207 and pcase-let*.
11208
de6ff46d
CY
112092012-04-20 Chong Yidong <cyd@gnu.org>
11210
11211 * server.el (server-execute): Respect initial-buffer-choice if it
11212 is a string and there are no files to open (Bug#2825).
11213 (server-create-window-system-frame, server-create-tty-frame):
11214 Don't switch buffers here.
2d0e8e61
CY
11215 (server-process-filter): Only try to open a window system frame if
11216 compiled with graphical support (Bug#8314).
de6ff46d 11217
54071013
DN
112182012-04-20 Dan Nicolaescu <dann@gnu.org>
11219
11220 * battery.el (battery-echo-area-format): Display remaining time
11221 for sysfs backend too (Bug#11269).
11222 (battery-linux-sysfs): Fix conditional for the charge.
11223
f30d612a
CY
112242012-04-20 Chong Yidong <cyd@gnu.org>
11225
c07a4c0b 11226 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11227 (gdb-inferior-io--init-proc): New function.
11228 (gdb-init-1): Use it.
11229 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11230 responsible for allocating a new pty and hooking it to gdb when
11231 the old pty gets an EIO due to process exit.
11232 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11233 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11234 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11235
2116e93c
EZ
112362012-04-20 Eli Zaretskii <eliz@gnu.org>
11237
11238 * window.el (window-min-size, window-sizable, window-min-delta)
11239 (window-max-delta, window--resizable, window-resizable)
11240 (window-total-size, window-full-height-p, window-full-width-p)
11241 (window-in-direction, window--resize-mini-window, window-resize)
11242 (window--resize-child-windows-normal)
11243 (window--resize-child-windows, window--resize-siblings)
11244 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11245 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11246
c07a4c0b 112472012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11248
ef24141c
SM
11249 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11250 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11251 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11252 pty process (Bug#11273).
11253 (gdb-update): New arg to suppress talking to the gdb process.
11254 (gdb-done-or-error): Use it.
11255 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11256 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11257 sentinel not being called.
11258
11259 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11260
d02766ab
CY
11261 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11262
c07a4c0b 112632012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11264
11265 * net/network-stream.el (open-network-stream): Doc fix.
11266
c07a4c0b 112672012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11268
11269 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11270
c07a4c0b 112712012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11272
11273 Ensure searching for keywords is case sensitive.
11274
11275 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11276 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11277 (c-defun-name, c-mark-function, c-cpp-define-name)
11278 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11279 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11280
ef24141c
SM
11281 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11282 Bind case-fold-search to nil.
f0f6bc35 11283
c07a4c0b 112842012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11285
11286 * mail/sendmail.el (mail-bury): Call return action with the right
11287 Rmail buffer (Bug#11242).
11288
9a864fa2
CY
11289 * server.el (server-process-filter): Handle corner case where both
11290 tty and nowait options are present (Bug#11102).
11291
539aa513
EZ
112922012-04-20 Eli Zaretskii <eliz@gnu.org>
11293
11294 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11295 (top level): Put into the executable the ident-style '$Id:' tag on
11296 windows-nt as well.
539aa513 11297
cfc7d5da
SM
112982012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11299
11300 * electric.el (electric-indent-post-self-insert-function): Check that
11301 electric-indent-mode is enabled in current buffer.
11302
5b01685c
JB
113032012-04-19 Juanma Barranquero <lekktu@gmail.com>
11304
11305 * imenu.el (imenu-progress-message): Restore; it is "used" in
11306 erc/erc-imenu.el and net/snmp-mode.el.
11307
4d6769e1
JB
113082012-04-19 Juanma Barranquero <lekktu@gmail.com>
11309
11310 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11311 (mouse-avoidance-nudge-mouse): Remove unused binding.
11312
11313 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11314
11315 * descr-text.el (describe-char):
11316 * progmodes/python.el (python-describe-symbol):
11317 Don't call `toggle-read-only', set `buffer-read-only'.
11318
11319 * imenu.el (imenu-default-goto-function): Mark unused args.
11320 (imenu-progress-message): Remove obsolete macro; all callers changed.
11321
11322 * subr.el (keymap-canonicalize): Remove unused binding.
11323 (read-passwd): Mark unused arg.
11324
11325 * tutorial.el (tutorial--display-changes): Remove unused binding.
11326 (tutorial--save-tutorial-to): Remove unused variable.
11327
11328 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11329 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11330 (package-generate-autoloads, package-menu--generate)
11331 (package-menu--find-upgrades): Remove unused bindings.
11332
11333 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11334 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11335 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11336 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11337 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11338 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11339 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11340 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11341 (cua-delete-char-rectangle): Mark unused args.
11342 (cua-align-rectangle): Remove unused binding.
11343
11344 * mail/rmail.el (compilation--message->loc)
11345 (epa--find-coding-system-for-mime-charset): Declare.
11346
11347 * net/dbus.el (dbus-register-service): Declare.
11348 (dbus-name-owner-changed-handler): Remove unused binding.
11349
11350 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11351 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11352 (nxml-scan-backward-within): Mark unused arg.
11353 (nxml-dynamic-markup-word): Remove unused binding.
11354
11355 * mouse.el (mouse-menu-major-mode-map):
11356 * emacs-lisp/authors.el (authors-scan-change-log)
11357 (authors-add-to-author-list):
11358 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11359 * emacs-lisp/smie.el (smie-auto-fill):
11360 * mail/sendmail.el (mail-bury):
11361 * mail/unrmail.el (unrmail):
11362 * net/tls.el (open-tls-stream):
11363 * textmodes/picture.el (picture-mouse-set-point):
11364 Remove unused bindings.
11365
8c8fc5df
MA
113662012-04-19 Michael Albinus <michael.albinus@gmx.de>
11367
11368 * net/tramp.el (tramp-action-password): Let-bind
11369 `enable-recursive-minibuffers' to t.
11370
a77b0ac9
SS
113712012-04-18 Sam Steingold <sds@gnu.org>
11372
11373 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11374 instead of 'string to accommodate values like [f11].
11375 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11376 * progmodes/gdb-mi.el: Likewise.
11377
12a106a9
LL
113782012-04-18 Leo Liu <sdl.web@gmail.com>
11379
11380 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11381 current buffer.
11382 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11383 LOCAL is nil.
11384
bc6494ef
CY
113852012-04-18 Chong Yidong <cyd@gnu.org>
11386
11387 * simple.el (line-move): Use forward-line if in batch mode
11388 (Bug#11053).
11389
c09c46b2
CS
113902012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11391
11392 * files.el (after-find-file): Do not try to add a final newline if
11393 the buffer is read-only (Bug#11156).
11394
5f6530ea
RS
113952012-04-17 Richard Stallman <rms@gnu.org>
11396
11397 * mail/rmail.el (rmail-start-mail):
11398 Pass (rmail-mail-return...) for the return-action.
11399 Pass (rmail-yank-current-message...) for the yank-action.
11400 (rmail-yank-current-message): New function.
11401 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11402 (rmail-reply): Likewise.
11403 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11404
11405 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11406 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11407 buffer, not newbuf.
11408
197b6f3c
JB
114092012-04-17 Juanma Barranquero <lekktu@gmail.com>
11410
11411 * server.el (server-ensure-safe-dir): Simplify.
11412
2311d8e5 114132012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11414
2311d8e5
GM
11415 * emacs-lisp/smie.el: Provide smarter auto-filling.
11416 (smie-auto-fill): New function.
11417 (smie-setup): Use it.
98fb480e 11418
2311d8e5
GM
11419 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11420
114212012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11422
11423 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11424 (comment-indent): Use it.
11425
2311d8e5 114262012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11427
11428 * ses.el: The overall change is to add cell renaming, that is
11429 setting fancy names for cell symbols other than name matching
11430 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11431 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11432 (ses-create-cell-variable): New defun.
2311d8e5 11433 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11434 (ses-relocate-formula): Relocate formulas only for cells the
11435 symbols of which are not renamed, i.e. symbols whose names do not
11436 match regexp "\\`[A-Z]+[0-9]+\\'".
11437 (ses-relocate-all): Relocate values only for cells the symbols of
11438 which are not renamed.
11439 (ses-load): Create cells variables as the (ses-cell ...) are read,
11440 in order to check row col consistency with cell symbol name only
11441 for cells that are not renamed.
11442 (ses-replace-name-in-formula): New defun.
11443 (ses-rename-cell): New defun.
4bdf2ad2 11444
fc72b15c
PO
114452012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11446
11447 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11448 New option (bug#11118).
11449 (perl-calculate-indent): Respect it.
11450
12e10e61
GM
114512012-04-17 Glenn Morris <rgm@gnu.org>
11452
11453 * dired-aux.el (dired-mark-read-string): Doc fix.
11454
30009afd
DA
114552012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11456
11457 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11458 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11459
41f03f4d
GM
114602012-04-17 Glenn Morris <rgm@gnu.org>
11461
11462 * mouse.el (mouse-drag-track):
11463 * speedbar.el (speedbar-frame-mode):
11464 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11465
f45f90f3
LL
114662012-04-16 Leo Liu <sdl.web@gmail.com>
11467
11468 * progmodes/python.el: Trivial cleanup.
11469
94ee8db5
GM
114702012-04-16 Glenn Morris <rgm@gnu.org>
11471
121b8917
GM
11472 * vc/vc.el (vc-string-prefix-p):
11473 * vc/pcvs-util.el (cvs-string-prefix-p):
11474 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11475 * mpc.el (mpc-string-prefix-p):
11476 Make all of these into obsolete aliases for string-prefix-p.
11477 Update callers.
11478 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11479
1197ecfa
GM
11480 * textmodes/two-column.el: Move custom options to the start.
11481 (frame-width): Remove compat definition.
11482 (2C-associate-buffer, 2C-dissociate):
11483 Use with-current-buffer rather than save-excursion.
11484 (2C-dissociate): Force a mode-line update.
11485 (2C-autoscroll): Use ignore-errors.
11486
099e7202
GM
11487 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11488 Autoload trivia.
11489
bf350d6a
GM
11490 * emacs-lisp/cl-extra.el (*random-state*):
11491 Remove unnecessary declaration.
11492
0e829eab
GM
11493 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11494
e3ad7552
GM
11495 * play/cookie1.el (cookie-snarf):
11496 Give an explicit error if input file cannot be read.
11497
68892d27
GM
11498 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11499
20f0c46d
GM
11500 * progmodes/perl-mode.el (c-macro-expand):
11501 Remove unnecessary autoload (it is in loaddefs.el).
11502
5a0978ce
GM
11503 * textmodes/picture.el (picture-desired-column)
11504 (picture-update-desired-column): Convert comments to doc-strings.
11505 (picture-substitute): Remove function.
11506 (picture-mode-map): Initialize in the defvar.
11507
6b955486
GM
11508 * woman.el: Remove eval-after-load for tar-mode.
11509 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11510 (woman-tar-extract-file): Autoload it.
11511
94ee8db5
GM
11512 * frame.el (automatic-hscrolling): Make this alias obsolete.
11513
177eca34
AM
115142012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11515
090bd7cb 11516 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11517 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11518 (ispell-dictionary-base-alist): Revert to original XEmacs
11519 friendly version for default. [:alpha:] will be added in
090bd7cb 11520 `ispell-set-spellchecker-params' if needed.
177eca34 11521
c505aaeb
CY
115222012-04-16 Chong Yidong <cyd@gnu.org>
11523
b19dd9d1 11524 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11525 (imagemagick-register-types): Use it.
11526 (imagemagick-types-inhibit): Add :set function. Allow new value
11527 of t to inhibit all types.
11528
11529 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11530 so we can preload it.
11531
11532 * loadup.el (fboundp): Preload regexp-opt, needed by
11533 imagemagick-register-types.
11534
60efac0f
CY
115352012-04-15 Chong Yidong <cyd@gnu.org>
11536
11537 * frame.el (scrolling): Remove nearly unused customization group.
11538
11539 * scroll-all.el (scroll-all-mode): Move to windows group.
11540
5dd1713e
CY
115412012-04-15 Chong Yidong <cyd@gnu.org>
11542
11543 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11544
e6fd457e
CY
115452012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11548 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11549
e153c136
GM
115502012-04-15 Glenn Morris <rgm@gnu.org>
11551
11552 * simple.el (process-file-side-effects): Doc fix.
11553
e6fd457e 115542012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11555
11556 * international/mule-cmds.el (set-language-environment): Doc fix.
11557
3603c3b1
JB
115582012-04-14 Juanma Barranquero <lekktu@gmail.com>
11559
11560 * server.el (server-auth-key, server-generate-key): Doc fixes.
11561 (server-get-auth-key): Doc fix. Use `string-match-p'.
11562 (server-start): Reflow docstring.
11563
e6de100c
LI
115642012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11565
11566 * server.el (server-generate-key): `called-interactively-p'
11567 requires a parameter.
11568
29734c21
MN
115692012-04-14 Michal Nazarewicz <mina86@mina86.com>
11570
11571 * server.el (server-auth-key): New variable.
75f1671a 11572 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11573 (server-start): Use the new variable and functions to allow
11574 setting a permanent server key (bug#9423).
11575
d65c9521
LL
115762012-04-14 Leo Liu <sdl.web@gmail.com>
11577
11578 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11579
5ae255c7
PE
115802012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11581
11582 Spelling fixes.
11583 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11584 Emacs uses American spelling.
11585
d5e6342e
JB
115862012-04-14 Juanma Barranquero <lekktu@gmail.com>
11587
11588 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11589 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11590 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11591 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11592
ab036cd7
SM
115932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * progmodes/which-func.el (which-func-modes): Change default.
11596
35dc09a1 115972012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11598
11599 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11600 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11601
35dc09a1 116022012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11603
11604 * custom.el (custom-theme-set-variables): Doc fix.
11605
35dc09a1 116062012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11607
11608 * international/mule.el (set-auto-coding-for-load): Doc fix.
11609
35dc09a1 116102012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11611
35dc09a1
GM
11612 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11613 imenu work again for Objective C Mode. Correct the *-index values,
11614 these having been disturbed by a previous change in 2011-08.
57f845ee 11615
0de3da9f
AM
11616 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11617 Correct two search limits.
11618
35dc09a1 116192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11620
11621 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11622
35dc09a1 116232012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11624
11625 * international/characters.el: Fix sorting.
11626
35dc09a1 116272012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11628
11629 * international/characters.el: Add more missing Latin case pairs.
11630
35dc09a1 116312012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11632
11633 * files.el (dir-locals-set-class-variables): Doc fix.
11634
35dc09a1 116352012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11636
3f1b5bf8
EZ
11637 * international/characters.el: Add set-case-syntax-pair call for
11638 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11639 counterpart. (Bug#11209)
11640
9f847f41
EZ
11641 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11642
35dc09a1 116432012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11644
11645 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11646
35dc09a1 116472012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11648
35dc09a1
GM
11649 * textmodes/ispell.el (ispell-dictionary-base-alist):
11650 Add data for Hebrew.
e2627d21 11651
35dc09a1 116522012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11653
35dc09a1
GM
11654 * net/rcirc.el (rcirc-cmd-quit):
11655 Revert 2012-03-18 change (Bug#11192).
5c14e333 11656
35dc09a1 116572012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11658
11659 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11660
35dc09a1 116612012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11662
4517fe3a
SM
11663 * minibuffer.el (completion-in-region-mode-map):
11664 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11665
b472a594
VD
116662012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11667
11668 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11669
09b95ce3
MY
116702012-04-13 Masatake YAMATO <yamato@redhat.com>
11671
11672 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11673 to allow `C-M-f' and `C-M-b' to move to the nearest path
11674 separator (bug#9511).
11675
4b63a9ca
LI
116762012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11677
11678 * avoid.el: Require cl when compiling. And also move the
11679 `provide' to the end.
11680
7b55b8bf
TV
116812012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11682
11683 * avoid.el (mouse-avoidance-banish-position): New variable.
11684 (mouse-avoidance-banish-destination): Use it (bug#10165).
11685
adedaa1f
LL
116862012-04-13 Leo Liu <sdl.web@gmail.com>
11687
11688 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11689
70e74021
KB
116902012-04-13 Ken Brown <kbrown@cornell.edu>
11691
11692 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11693 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11694 (browse-url-filename-alist): For the same reason, don't modify
11695 file:// URLs on Cygwin.
11696
e75e89ba
SM
116972012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11700 the region on shift if the binding is already shifted (bug#11221).
11701
82f289a4
GM
117022012-04-12 Glenn Morris <rgm@gnu.org>
11703
11704 * mail/mailpost.el: Move to obsolete/.
11705
d333dc4c
DA
117062012-04-12 Drew Adams <drew.adams@oracle.com>
11707
11708 * imenu.el (imenu--generic-function): Ignore invisible definitions
11709 (bug#10123).
11710
0d15b5ba
VD
117112012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11712
11713 * hexl.el (hexl-bits): New variable.
11714 (hexl-options): Mention the variable in the doc string.
75f1671a 11715 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11716 (hexl-mode): Mention the new variable.
75f1671a
JB
11717 (hexl-mode, hexl-current-address, hexl-current-address):
11718 Use the displen.
0d15b5ba
VD
11719 (hexl-ascii-start-column): New function.
11720 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11721 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11722
64a440db
AM
117232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11724
11725 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11726 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11727 the encoding, as expected by hunspell.
11728
6decb6c2
SM
117292012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * battery.el (battery--linux-sysfs-regexp): New const.
11732 (battery-status-function): Use it. Remove yeeloong special case.
11733 (battery-yeeloong-sysfs): Remove.
11734 (battery-echo-area-format): Remove yeeloong special case.
11735
088be6fb
SM
117362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11737
6622e416
SM
11738 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11739 Reported by Noah Friedman.
11740
088be6fb
SM
11741 * subr.el (read-passwd): Use read-string.
11742
b49f886e
LMI
117432012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11744
11745 * vcursor.el (vcursor-move): Increase the priority of the overlay
11746 (bug#9663).
11747
a63067fc
DD
117482012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11749
11750 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11751 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11752
ac3cf14a
WS
117532012-04-11 William Stevenson <yhvh2000@gmail.com>
11754
11755 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11756 define-minor-mode (bug#10760).
11757
c4fc691b 117582012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11759
4d6769e1 11760 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11761 that directories matching `grep-find-ignored-files' won't be
11762 pruned (bug#10351).
11763
af23e2e5
CY
117642012-04-11 Chong Yidong <cyd@gnu.org>
11765
11766 * startup.el (command-line): Remove support for long-obsolete
11767 variable font-lock-face-attributes.
11768
ab7ce8c1
GM
117692012-04-11 Glenn Morris <rgm@gnu.org>
11770
11771 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11772
de8c03dc
SM
117732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * window.el (window--state-get-1): Obey window-point-insertion-type.
11776
050cc68b
LB
117772012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11778
11779 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11780 to previous function when point is on the first character of a
75f1671a 11781 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11782
a38c310c
GM
117832012-04-11 Glenn Morris <rgm@gnu.org>
11784
effed0c2
GM
11785 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11786 not just file-errors.
11787
a38c310c
GM
11788 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11789 (vc-bzr-sha1): Use internal sha1.
11790
0221e323
SM
117912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11794
43956923
SG
117952012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11796
11797 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11798 that start in the middle of the line (bug#10496).
11799
6a8c9eaf
DN
118002012-04-10 Dan Nicolaescu <dann@gnu.org>
11801
11802 * battery.el (battery-linux-proc-acpi): Only one battery is
11803 discharged at a time, but that seems to confuse battery.el when
11804 computing `rate-type' for the battery not being discharged
11805 (bug#10332).
11806
1930bf5d
SM
118072012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11808
2a718f6f
SM
11809 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11810
599430d0
SM
11811 * international/quail.el: Use dolist and simplify.
11812 (quail-define-package, quail-update-keyboard-layout)
11813 (quail-define-rules): Use dolist.
11814 (quail-insert-kbd-layout, quail-get-translation): CSE.
11815
a2754b6c
SM
11816 * tmm.el: Use dolist, remove left over hook.
11817 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11818 Use dolist.
11819 (calendar-load-hook): Don't mess with it.
11820
1930bf5d
SM
11821 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11822 Use derived-mode-p. Run the diff asynchronously.
11823
9f67961c
LMI
118242012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11827
2a8ce227
JB
118282012-04-10 Juanma Barranquero <lekktu@gmail.com>
11829
11830 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11831 (list-dynamic-libraries--loaded): New function.
11832 (list-dynamic-libraries--refresh): Use it.
11833
8f33b5f8
NW
118342012-04-10 Nathan Weizenbaum <nweiz@google.com>
11835
1930bf5d
SM
11836 * progmodes/python.el (python-fill-paragraph):
11837 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11838 disabled (bug#7018).
11839
b12f0439
L
118402012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11841
1930bf5d 11842 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11843 DOS/MS Windows for the Baltic languages. There are still plenty
11844 of texts written in this encoding/codepage (bug#6519).
b12f0439 11845
57c3bd01
GM
118462012-04-10 Glenn Morris <rgm@gnu.org>
11847
11848 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11849 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11850
6c3eab30
FA
118512012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11852
1930bf5d 11853 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11854 next-line "n" and previous-line "p" in order to make recentf more
11855 consistent with ibuffer, dired or org-mode (bug#9387).
11856
24d78a88
LMI
118572012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11858
bc72b5d9
LMI
11859 * image.el (put-image): Return the overlay created instead of the
11860 optional input string (bug#7834). Note that this may break code
11861 that is (for some reason or other) depending on `put-image'
11862 returning the string.
11863
bd2dba5a
LMI
11864 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11865
74beb59f
LMI
11866 * simple.el (zap-to-char): Allow zapping using input methods
11867 (bug#1580).
11868
24d78a88
LMI
11869 * textmodes/fill.el (fill-region): Leave point and mark where they
11870 were before filling (bug#5399).
11871
263f20cd
GM
118722012-04-09 Glenn Morris <rgm@gnu.org>
11873
11874 * version.el (emacs-bzr-get-version):
11875 Handle lightweight checkouts of local branches.
11876
58d1f797
AS
118772012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11878
263f20cd 11879 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11880
b4d3bc10
CY
118812012-04-09 Chong Yidong <cyd@gnu.org>
11882
11883 * custom.el (custom-variable-p): Return nil for non-symbol
11884 arguments instead of signaling an error.
11885 (user-variable-p): Obsolete alias for custom-variable-p.
11886
11887 * apropos.el (apropos-variable):
11888 * files-x.el (read-file-local-variable):
11889 * simple.el (set-variable):
11890 * woman.el (woman-mini-help):
11891 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11892
fd06db5d
GM
118932012-04-09 Glenn Morris <rgm@gnu.org>
11894
e5fcdb5e
GM
11895 * startup.el (normal-top-level): Don't look for leim-list.el
11896 in places where it will not be found. (Bug#910)
11897
fd06db5d
GM
11898 * international/mule-cmds.el (set-default-coding-systems):
11899 * files.el (normal-mode):
11900 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11901 This function was removed with ucs-tables.el in 2008.
11902
b39bb7e1
EZ
119032012-04-08 Eli Zaretskii <eliz@gnu.org>
11904
11905 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11906 ispell-encoding8-command to "-i", without a trailing space.
11907 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11908 separate command-line arguments, to specify the encoding, since
11909 that's how hunspell expects it.
11910
5c5b8e23
GM
119112012-04-08 Glenn Morris <rgm@gnu.org>
11912
11913 * loadup.el: Load bindings before cus-start.
11914 This reduces somewhat the number of "rogue" settings in emacs -Q.
11915
a1ed8b05
GM
119162012-04-07 Glenn Morris <rgm@gnu.org>
11917
11918 * version.el (emacs-bzr-get-version): New function.
dfae128a 11919 (emacs-bzr-version): New variable.
a1ed8b05
GM
11920 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11921 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11922
b142f158
EZ
119232012-04-07 Eli Zaretskii <eliz@gnu.org>
11924
dfae128a
GM
11925 * international/uni-bidi.el, international/uni-category.el:
11926 * international/uni-combining.el, international/uni-decimal.el:
11927 * international/uni-decomposition.el, international/uni-digit.el:
11928 * international/uni-lowercase.el, international/uni-mirrored.el:
11929 * international/uni-name.el, international/uni-numeric.el:
11930 * international/uni-titlecase.el, international/uni-uppercase.el:
11931 Update for Unicode 6.1.
b142f158 11932
9078ead6
EZ
119332012-04-07 Eli Zaretskii <eliz@gnu.org>
11934
11935 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11936
f23d2c7d
LMI
119372012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11938
11939 * window.el (shrink-window): Mention the `window-min-height'
11940 variable in the doc string.
11941
0a0a3573
BG
119422012-04-05 Bastien Guerry <bzg@altern.org>
11943
11944 * color.el (color-lighten-name): Fix typo.
11945
e5248ac9
SM
119462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * server.el (server--on-display-p): New function.
11949 (server--on-display-p): Use it.
11950
b4243e22
GV
119512012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11952
11953 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11954 (bug#11145).
11955
305d9f44
SM
119562012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * comint.el (comint--common-quoted-suffix): Check string boundary
11959 before comparing (bug#11158).
11960 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11961
3d439cd1
CY
119622012-04-04 Chong Yidong <cyd@gnu.org>
11963
321cc491
CY
11964 * minibuffer.el (completion-extra-properties): Doc fix.
11965
3d439cd1
CY
11966 * subr.el (delayed-warnings-hook): Doc fix.
11967
2d562c0f
DU
119682012-04-04 Daiki Ueno <ueno@unixuser.org>
11969
11970 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11971 selection (Bug#11159).
11972 (epa-insert-keys): Inform that the default public key will be
11973 exported if no key is selected.
11974
4443f204
RS
119752012-04-04 Richard Stallman <rms@gnu.org>
11976
11977 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11978
529c06b6
CY
119792012-04-03 Chong Yidong <cyd@gnu.org>
11980
11981 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11982 mail-insert-file, not its obsolete alias mail-attach-file.
11983
66b907dc
MA
119842012-04-03 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * notifications.el (notifications-notify): Fix docstring.
11987
c0ea195d
GM
119882012-04-02 Glenn Morris <rgm@gnu.org>
11989
11990 * emacs-lisp/authors.el (authors-aliases): Another addition.
11991
5ca64e00
MA
119922012-04-02 Michael Albinus <michael.albinus@gmx.de>
11993
11994 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11995 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11996 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11997
42ee526b
CY
119982012-04-01 Chong Yidong <cyd@gnu.org>
11999
12000 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12001 Handle root directory properly.
12002 (copy-directory): Caller changed.
12003
12004 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12005 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12006
0b021094
GM
120072012-03-31 Glenn Morris <rgm@gnu.org>
12008
40f86458
GM
12009 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12010
7019c177
GM
12011 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12012
a1daddd6
GM
12013 * calendar/calendar.el (calendar-window-list)
12014 (calendar-hide-window): Restore. (Bug#11140)
12015 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12016
0b021094
GM
12017 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12018
40311efc
TV
120192012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12020
12021 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12022 Check if file is a symlink (Bug#10489).
12023
12024 * files.el (copy-directory): Likewise.
12025
5319014e
CY
120262012-03-30 Chong Yidong <cyd@gnu.org>
12027
12028 * image.el (imagemagick-types-inhibit)
12029 (imagemagick-register-types): Doc fix.
12030
935d1290
AM
120312012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12032
090bd7cb 12033 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12034 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12035 and treats ~word as ordinary words in pipe mode.
935d1290 12036
61c6e8fd
GM
120372012-03-30 Glenn Morris <rgm@gnu.org>
12038
12039 * tutorial.el (help-with-tutorial): Ensure local variables don't
12040 happen to make the buffer read-only. (Bug#11127)
12041
81fdff00
SM
120422012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12045 (perl-calculate-indent): Return `noindent' in strings.
12046
6e7a6ec0
SS
120472012-03-28 Sam Steingold <sds@gnu.org>
12048
12049 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12050 instead of the broken adhockery which does not prevent calendar
12051 buffers from being displayed at random after exit.
12052 (calendar-window-list, calendar-hide-window): Remove the broken
12053 adhockery.
12054
fee88ca0
GM
120552012-03-28 Glenn Morris <rgm@gnu.org>
12056
12057 * replace.el (query-replace-map): Doc fix.
12058
38de3354
AS
120592012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12060
12061 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12062 contents. (Bug#11109)
12063
b973155e
SM
120642012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12067 (bug#11077).
12068 (avl-tree--check, avl-tree--check-node): New funs.
12069
dcb6e7b3
MR
120702012-03-27 Martin Rudalics <rudalics@gmx.at>
12071
12072 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12073 (switch-to-prev-buffer, switch-to-next-buffer):
12074 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12075 showing a buffer already is done on the same frame.
12076
b4fa35fa
GM
120772012-03-27 Glenn Morris <rgm@gnu.org>
12078
12079 * startup.el (mail-host-address): Doc fix.
12080
f9210e18
SM
120812012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12084 than 197 variables.
12085
c0bf7753
AF
120862012-03-26 Ami Fischman <ami@fischman.org>
12087
12088 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12089
33da7b16
GM
120902012-03-26 Glenn Morris <rgm@gnu.org>
12091
02243d9d
GM
12092 * files.el (save-buffers-kill-emacs): Doc fix.
12093
33da7b16
GM
12094 * startup.el (normal-top-level, command-line, command-line-1):
12095 Give them doc strings.
12096
e5a69fd0
EZ
120972012-03-25 Eli Zaretskii <eliz@gnu.org>
12098
12099 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12100 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12101
9a69676a
CY
121022012-03-25 Chong Yidong <cyd@gnu.org>
12103
4125cb8b
CY
12104 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12105 theme if it was previously enabled before (Bug#11031).
12106
dd470960
CY
12107 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12108 spec with custom-face-get-current-spec if its :shown-value is not
12109 determined yet (Bug#9337).
4125cb8b 12110 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12111
9a69676a
CY
12112 * button.el (button-at): Minor addition to docstring.
12113
6e7e90fa
SL
121142012-03-24 Simon Leinen <simon.leinen@gmail.com>
12115
12116 * vc/vc.el (vc-merge): Fix a prompt.
12117
f06e2758
CY
121182012-03-24 Chong Yidong <cyd@gnu.org>
12119
12120 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12121 point (Bug#9623).
12122
6e7e90fa
SL
12123 * button.el (button-at): Minor addition to docstring.
12124
b9d0879b
SM
121252012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * newcomment.el (comment-choose-indent): No space after BOL.
12128
e71cebb3
SS
121292012-03-22 Sam Steingold <sds@gnu.org>
12130
12131 * window.el (switch-to-prev-buffer): Revert last patch because the
12132 bug turned out to be an advertised feature (Elisp manual 28.14).
12133
335aff35
GM
121342012-03-22 Glenn Morris <rgm@gnu.org>
12135
12136 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12137 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12138
c676576a
LMI
121392012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12140
12141 * net/network-stream.el (network-stream-open-starttls): Make error
12142 message under Windows be less misleading.
12143
126f3d39
LW
121442012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12145
12146 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12147 understands (bug#9942).
12148
64fee311
CY
121492012-03-22 Chong Yidong <cyd@gnu.org>
12150
12151 * simple.el (end-of-visible-line): Handle return value of
12152 next-single-property-change properly (Bug#9371).
12153
a640d29a
KH
121542012-03-22 Kenichi Handa <handa@m17n.org>
12155
12156 * international/quail.el (quail-insert-kbd-layout): Fix previous
12157 change. To avoid unwanted bidi reordering, use
12158 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12159
39675016
DG
121602012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12161
12162 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12163 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12164 (ruby-beginning-of-indent): Be more careful with the difference
12165 between word-boundary and symbol boundary.
12166 (ruby-mode-syntax-table): Make : a symbol constituent.
12167
0a6934fc 121682012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12169
3d008e4f
SM
12170 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12171
0a6934fc
SM
121722012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12173
af67c9d7
SM
12174 * progmodes/etags.el (tags-completion-at-point-function):
12175 Improve last fix.
12176
1acad97c
SM
12177 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12178
e298b5da
SS
121792012-03-21 Sam Steingold <sds@gnu.org>
12180
12181 * progmodes/etags.el (tags-completion-at-point-function):
12182 Avoid the error when point is inside the pattern.
12183
91d82a70
JY
121842012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12185
12186 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12187 line (Bug#10855).
12188
69188b79
CY
121892012-03-21 Drew Adams <drew.adams@oracle.com>
12190
12191 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12192
99fc91fe
AK
121932012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12194
12195 * ido.el (ido-set-current-directory, ido-read-internal)
12196 (ido-choose-completion-string, ido-completion-help): Handle nil
12197 value of ido-completion-buffer (Bug#11008).
12198
087bbb4c
SS
121992012-03-21 Sam Steingold <sds@gnu.org>
12200
12201 * window.el (switch-to-prev-buffer): Do not switch to a visible
12202 window previous buffer, just like with the frame previous buffers.
12203
fb5b8aca
CY
122042012-03-21 Chong Yidong <cyd@gnu.org>
12205
12206 * faces.el (make-face, make-empty-face, copy-face):
12207 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12208 Doc fixes.
12209
dc9924b8
SM
122102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12213 (widget-complete): Remove broken use of it.
12214
f0bcceb9
CY
122152012-03-20 Chong Yidong <cyd@gnu.org>
12216
dc9924b8
SM
12217 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12218 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12219 characters.
12220
ee52ebf3
TH
122212012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12222
12223 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12224 to draw rectangles, not squares. (Regression introduced by revno
12225 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12226
4c5779ab
CY
122272012-03-18 Chong Yidong <cyd@gnu.org>
12228
12229 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12230 it is not yet defined (for temacs).
12231
15360934
LL
122322012-03-18 Leo Liu <sdl.web@gmail.com>
12233
735135f9
PE
12234 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12235 prefix.
15360934 12236
d9a8eb66
EZ
122372012-03-17 Eli Zaretskii <eliz@gnu.org>
12238
12239 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12240 (ispell-choices-win-default-height, ispell-silently-savep)
12241 (ispell-dictionary-alist, ispell-encoding8-command)
12242 (ispell-check-version, ispell-aspell-find-dictionary)
12243 (ispell-valid-dictionary-list, ispell-words-keyword)
12244 (ispell-get-word, ispell-internal-change-dictionary)
12245 (ispell-region, ispell-skip-region-list)
12246 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12247 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12248 (ispell-message-text-end, ispell-message)
12249 (ispell-buffer-local-parsing): Doc fix.
12250
f02ff80d
J
122512012-03-13 Jambunathan K <kjambunathan@gmail.com>
12252
12253 * htmlfontify.el: Add support for code block fontification for ODT
12254 export (Bug #9914).
12255 (hfy-optimisations): Define new option
12256 `body-text-only'
12257 (hfy-fontify-buffer): Honor above setting.
12258 (hfy-begin-span, hfy-end-span): New routines factored out form
12259 `hfy-fontify-buffer'.
12260 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12261 that permit insertion of custom tags.
12262 (hfy-fontify-buffer): Use above handlers.
12263 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12264 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12265 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12266 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12267 bind a special variable `hfy-user-sheet-assoc'.
12268 (htmlfontify-string): New defun.
12269 (hfy-compile-face-map): Make sure that the last char in the
12270 buffer is correctly fontified.
12271 (hfy-face-resolve-face): Whitespace only change.
12272
9ac7a13f
EZ
122732012-03-17 Eli Zaretskii <eliz@gnu.org>
12274
12275 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12276 message more clear.
12277
e2b5bdd7
LL
122782012-03-16 Leo Liu <sdl.web@gmail.com>
12279
12280 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12281
2e492df3
AM
122822012-03-16 Alan Mackenzie <acm@muc.de>
12283
677d5c92 12284 Further optimize the handling of large macros.
2e492df3
AM
12285
12286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12287 limit to a call of `c-literal-limits'.
12288 (c-determine-+ve-limit): New function.
dc9924b8
SM
12289 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12290 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12291 In CASE 5B, restrict a search limit to 500.
12292 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12293
12294 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12295 Restrict macro bounds to +-500 from after-change's BEG END.
12296
50e94f0c
LL
122972012-03-16 Leo Liu <sdl.web@gmail.com>
12298
12299 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12300
6f09f6ed
AH
123012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12302
12303 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12304 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12305
c7e73d51
GM
123062012-03-16 Glenn Morris <rgm@gnu.org>
12307
da986230
GM
12308 * view.el (view-buffer, view-buffer-other-window)
12309 (view-buffer-other-frame): Doc fixes re special mode-class.
12310
0835f01e
GM
12311 * subr.el (eval-after-load): If named feature is provided not from
12312 a file, run after-load forms. (Bug#10946)
12313
c7e73d51
GM
12314 * calendar/calendar.el (calendar-insert-at-column):
12315 Handle non-unit-width characters a bit better. (Bug#10978)
12316
3f2eafd1
CY
123172012-03-15 Chong Yidong <cyd@gnu.org>
12318
12319 * emacs-lisp/ring.el (ring-extend): New function.
12320 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12321
12322 * comint.el (comint-read-input-ring)
12323 (comint-add-to-input-history): Grow comint-input-ring lazily.
12324
103af3fe
SM
123252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12326
663b1677
SM
12327 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12328 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12329
103af3fe
SM
12330 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12331 (imenu-add-to-menubar): Don't add a redundant index.
12332 (imenu-update-menubar): Handle a dynamically composed keymap.
12333
899cb7cb
KY
123342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12335
12336 * mail/sendmail.el (mail-encode-header):
12337 Bind rfc2047-encode-encoded-words to nil.
12338
3809f91d
GM
123392012-03-13 Glenn Morris <rgm@gnu.org>
12340
12341 * calendar/calendar.el (calendar-string-spread):
12342 Handle non-unit-width characters a bit better. (Bug#10978)
12343
9e345a01
LL
123442012-03-13 Leo Liu <sdl.web@gmail.com>
12345
12346 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12347 directory and file as argument (Bug#10822).
12348
4a07df36
KS
123492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12350
12351 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12352 For dynamically generated code, follow $PC.
12353 (gdb-disassembly-handler-custom): Handle no function name case.
12354
4aaa9356
TL
123552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12356
12357 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12358 * emulation/ws-mode.el (ws-query-replace):
12359 * sort.el (sort-regexp-fields):
12360 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12361
225979da
SM
123622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12363
12364 * dabbrev.el: Fix cycle completion order (bug#10963).
12365 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12366 (dabbrev-completion): Don't use an obarray; provide
12367 a cycle-sort-function.
12368
e2f1fdab
LL
123692012-03-12 Leo Liu <sdl.web@gmail.com>
12370
dc9924b8 12371 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12372 (kill-do-not-save-duplicates): Doc fix.
12373
b19490ed
SM
123742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * dabbrev.el: Fix cycle completion (bug#10963).
12377 Use lexical binding and wrap to 80 columns.
12378 (dabbrev-completion): Delay computing the list of completions.
12379
4b05d722
KH
123802012-03-12 Kenichi Handa <handa@m17n.org>
12381
12382 * international/quail.el (quail-insert-kbd-layout): Surround each
12383 row by LRO and PDF instead of inserting many LRMs. Pad the left
12384 and right of each non-spacing marks. Insert invisible space
12385 between lower and upper characters to prevent composition.
12386
dbbc2e69
SM
123872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * minibuffer.el (minibuffer-complete): Don't get confused when the
12390 function is run twice via different commands (bug#10958).
12391 (complete-with-action): Fix docstring.
12392
292112ed
CY
123932012-03-12 Chong Yidong <cyd@gnu.org>
12394
5d1ac394
CY
12395 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12396 (nxml-completion-at-point-function): New function.
12397 (nxml-mode): Use it.
12398 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12399
292112ed
CY
12400 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12401 Load generated autoloads file before byte compiling (Bug#10970).
12402 (package--make-autoloads-and-compile): New helper fun.
12403
4098f8f7
CS
124042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12405
12406 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12407
8f754691
MA
124082012-03-11 Michael Albinus <michael.albinus@gmx.de>
12409
12410 * autorevert.el (auto-revert-handler): Ensure, that
12411 file-readable-p is applied only for local files or in
12412 auto-revert-tail-mode.
12413
e29ab36b
AS
124142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12415
dbbc2e69
SM
12416 * server.el (server-eval-at): Handle non-tcp connections.
12417 Decode result string.
ad0bf5b6 12418
e29ab36b
AS
12419 * server.el (server-msg-size): New constant.
12420 (server-reply-print): New function.
12421 (server-eval-and-print): Use it.
12422 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12423 Handle -print-nonl.
12424
de5939ba
CS
124252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12426
12427 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12428 (Bug#10987).
12429
0c93eabf
CY
124302012-03-11 Chong Yidong <cyd@gnu.org>
12431
397a688f
CY
12432 * simple.el (goto-line): Doc fix (Bug#9938).
12433
2cc775f9
CY
12434 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12435
0c93eabf
CY
12436 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12437 when finished (Bug#10963).
12438
c491fa41
MR
124392012-03-11 Martin Rudalics <rudalics@gmx.at>
12440
12441 * window.el (split-window-below): Fix bug in case where
12442 split-window-keep-point is nil (Bug#10971).
12443
300e8fa5
JL
124442012-03-11 Juri Linkov <juri@jurta.org>
12445
12446 * replace.el (replace-highlight): Set isearch-word to nil
12447 unconditionally. (Bug#10887)
12448
dbf6c5a1
EZ
124492012-03-10 Eli Zaretskii <eliz@gnu.org>
12450
12451 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12452 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12453 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12454 (mairix-widget-create-query): Add usage information about mairix
12455 search forms: negating words, searching for substrings, etc.
12456
b9e501de
JP
124572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12458
12459 * international/fontset.el (font-encoding-alist): Add an entry for
12460 ksx1001 (Bug#5667).
12461
92795c91
RS
124622012-03-10 Richard Stallman <rms@gnu.org>
12463
1694e6c1
RS
12464 * mail/sendmail.el (mail-encode-header):
12465 Set rfc2047-encode-encoded-words.
12466
607e8555
RS
12467 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12468
de3bc99a
RS
12469 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12470 view buffer means not swapped.
12471 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12472 (rmail-write-region-annotate): Error if real text has disappeared.
12473
92795c91
RS
12474 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12475
699bd04e
CY
124762012-03-10 Chong Yidong <cyd@gnu.org>
12477
12478 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12479 * emulation/cua-base.el (cua--init-keymaps):
12480 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12481
570a1714
MR
124822012-03-10 Martin Rudalics <rudalics@gmx.at>
12483
dbbc2e69
SM
12484 * speedbar.el (speedbar-unhighlight-one-tag-line):
12485 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12486
82dcf4e4
CY
124872012-03-10 Chong Yidong <cyd@gnu.org>
12488
7a2c7ca7
CY
12489 * minibuffer.el (completion-in-region, completion-help-at-point):
12490 Give the completion field overlay a high priority (Bug#6830).
12491
82dcf4e4
CY
12492 * dired.el (dired-goto-file): Recognize absolute file name
12493 listings (Bug#7126).
12494 (dired-goto-file-1): New helper function.
12495 (dired-toggle-read-only): Inhibit warnings.
12496
052e28ac
MA
124972012-03-09 Michael Albinus <michael.albinus@gmx.de>
12498
75f1671a 12499 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12500 there are no properties.
12501
95d5e396
LL
125022012-03-09 Leo Liu <sdl.web@gmail.com>
12503
12504 * savehist.el (savehist-printable): Stricter check for string
12505 value (Bug#10937).
12506
3f018d6d
EZ
125072012-03-09 Eli Zaretskii <eliz@gnu.org>
12508
dbbc2e69
SM
12509 * mail/smtpmail.el (smtpmail-send-it):
12510 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12511 valid mbox format.
12512
f7fd3d79
GM
125132012-03-09 Glenn Morris <rgm@gnu.org>
12514
12515 * files.el (dir-locals-find-file):
12516 Don't check result is regular, readable.
12517 (dir-locals-read-from-file): Demote errors.
12518
6ff6e72f
EZ
125192012-03-08 Eli Zaretskii <eliz@gnu.org>
12520
dbbc2e69
SM
12521 * international/quail.el (quail-insert-kbd-layout):
12522 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12523 layout cell, to prevent their reordering by bidi display engine.
12524 For details, see the discussion in
12525 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12526
9cec7834
AM
125272012-03-08 Alan Mackenzie <acm@muc.de>
12528
12529 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12530 the starting position; make it extend the marked region when
12531 invoked repeatedly - all under appropriate circumstances.
12532 Fixes bugs #5525, #10906.
12533
9a40b8d4
GM
125342012-03-08 Glenn Morris <rgm@gnu.org>
12535
12536 * files.el (locate-dominating-file, dir-locals-find-file):
12537 Undo 2012-03-06 change.
12538
7a08ed35
EZ
125392012-03-07 Eli Zaretskii <eliz@gnu.org>
12540
dbbc2e69
SM
12541 * international/quail.el (quail-help):
12542 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12543 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12544 for the reason.
12545
5aca4f71 125462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12547
12548 Avoid superfluous registering of signals. (Bug#10807)
12549
12550 * notifications.el (notifications-on-action-object)
12551 (notifications-on-close-object): New defvars.
12552 (notifications-on-action-signal, notifications-on-closed-signal):
12553 Unregister the signal if not needed any longer.
12554 (notifications-notify): Register `notifications-action-signal' or
12555 `notifications-closed-signal', if :on-action or :on-close has been
12556 passed as argument.
12557
78e8b10a
CY
125582012-03-07 Chong Yidong <cyd@gnu.org>
12559
12560 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12561 non-X platforms.
12562
69481eb8
GM
125632012-03-06 Glenn Morris <rgm@gnu.org>
12564
12565 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12566 (x-disown-selection-internal, x-get-selection-internal):
12567 Doc fix (add arglist signatures). (Bug#10783)
12568
133b8e11
KS
125692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12570
12571 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12572 Handle breakpoints with no "type".
12573
99a83064
GM
125742012-03-06 Glenn Morris <rgm@gnu.org>
12575
12576 * files.el (locate-dominating-file): Add optional predicate argument.
12577 (dir-locals-find-file): Make use of above change.
12578
17798e78
TTN
125792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12580
12581 * info.el (Info-insert-dir): Also try "dir.gz".
12582
eb182446
GM
125832012-03-06 Glenn Morris <rgm@gnu.org>
12584
8f2114ee
GM
12585 * files.el (dir-locals-find-file):
12586 Ignore non-readable or non-regular files. (Bug#10928)
12587
eb182446
GM
12588 * files.el (locate-dominating-file): Doc fix.
12589
24679323
AS
125902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12591
12592 * calendar/calendar.el (calendar-set-mode-line):
12593 `getenv' returns a string. (Bug#10951)
12594
01d972a9
LL
125952012-03-05 Leo Liu <sdl.web@gmail.com>
12596
109aa8a9
LL
12597 * simple.el (backward-delete-char-untabify): Constrain point to
12598 field (Bug#10939).
12599
01d972a9
LL
12600 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12601
10607bea
CY
126022012-03-05 Chong Yidong <cyd@gnu.org>
12603
12604 * simple.el (count-words): If called from Lisp, return the word
12605 count, for symmetry with `count-lines'. Arglist changed.
12606 (count-words--message): Args changed. Consolidate counting code
12607 from count-words and count-words-region.
12608 (count-words-region): Caller changed.
12609 (count-lines-region): Make it an obsolete alias.
12610
5dd11cfe
TH
126112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12612
12613 * saveplace.el (save-place-to-alist)
12614 (save-place-ignore-files-regexp): Allow value nil to disable this
12615 feature.
12616
c349f4e6
CY
126172012-03-04 Chong Yidong <cyd@gnu.org>
12618
12619 * faces.el (face-spec-reset-face): For the default face, reset the
12620 attributes to default values (Bug#10748).
12621
e627be4c
LMI
126222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12623
12624 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12625 previous patch: Check `message-send-mail-function', and not the
12626 default function (bug#10897).
12627
ebeabff4
MA
126282012-03-04 Michael Albinus <michael.albinus@gmx.de>
12629
a41a6cf4
MA
12630 * notifications.el (notifications-on-action-signal)
12631 (notifications-on-closed-signal): Check for unique service name of
12632 incoming event. Fix error in removing entry.
ebeabff4 12633 (top): Register for signals with wildcard service name.
a41a6cf4 12634 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12635
c1ca42b4
CY
126362012-03-04 Chong Yidong <cyd@gnu.org>
12637
dc9924b8 12638 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12639
ea16568d
GM
126402012-03-04 Glenn Morris <rgm@gnu.org>
12641
12642 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12643 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12644 (expand-abbrev, define-abbrev-table): Doc fixes.
12645
fbae4637
LMI
126462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12647
12648 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12649 `message-default-send-mail-function' and not `send-mail-function'
12650 when doing the prompting for `sendmail-query-once' before sending
12651 in Message buffers (bug#10897).
12652
a1e7225c
LMI
12653 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12654 This is inconsistent with all the other stream functions, which leave
12655 the setting up to the higher levels (if so wanted) (bug#10931).
12656
56d093a9
AM
126572012-03-02 Alan Mackenzie <acm@muc.de>
12658
12659 Depessimize the handling of very large macros.
12660
12661 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12662 (c-macro-cache-syntactic): New variables to implement a one
12663 element macro cache.
12664 (c-invalidate-macro-cache): New function.
12665 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12666 Adapt to use the new cache.
12667 (c-state-safe-place): Use better the cache of safe positions.
12668 (c-state-semi-nonlit-pos-cache)
12669 (c-state-semi-nonlit-pos-cache-limit):
12670 New variables for...
12671 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12672 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12673 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12674 Use c-state-semi-safe-place.
56d093a9 12675
dbbc2e69
SM
12676 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12677 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12678
817e5c3d
MA
126792012-03-02 Michael Albinus <michael.albinus@gmx.de>
12680
dbbc2e69
SM
12681 * jka-compr.el (jka-compr-call-process):
12682 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12683 not remote.
12684
a032a702
MA
126852012-03-01 Michael Albinus <michael.albinus@gmx.de>
12686
12687 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12688 access of FILE2, if FILE1 does not exist.
12689
99a54f21
MA
12690 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12691 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12692
12693 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12694 Add "PAGER=" to `process-environment'.
12695
f6561e1f
MM
126962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12697
12698 * progmodes/sql.el: Bug fix
12699 (sql-get-login-ext): Save login values in globals.
12700 (sql-get-login): Use new version of `sql-get-login-ext'.
12701 (sql-interactive-mode): Set global `sql-connection' to nil.
12702 (sql-connect): Set global values for connection.
12703 (sql-product-interactive): Save global values as buffer local.
12704
2d44d9cc
LL
127052012-02-29 Leo Liu <sdl.web@gmail.com>
12706
12707 * abbrev.el (define-abbrevs): Reset sys to nil.
12708
96b49301 127092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12710
bf7f9bc5
JB
12711 * files.el (file-equal-p): Rename from `files-equal-p'.
12712 Return nil when one or both files don't exist.
96b49301 12713 (file-subdir-of-p): Now only top directory must exists,
12714 return nil if it doesn't.
bf7f9bc5
JB
12715 (copy-directory): No need to test with `file-subdir-of-p' after
12716 creating dir.
12717 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12718 to `file-equal-p'.
96b49301 12719
44e97401
GM
127202012-02-28 Glenn Morris <rgm@gnu.org>
12721
12722 * shell.el (shell-mode):
12723 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12724 * play/landmark.el (landmark-font-lock-face-O):
12725 * play/handwrite.el (handwrite):
12726 * play/gomoku.el (gomoku-O):
12727 * net/browse-url.el (browse-url-browser-display):
12728 * international/mule.el (define-charset):
12729 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12730 * filesets.el (filesets-find-file-delay):
12731 * eshell/em-xtra.el (eshell-xtra):
12732 * eshell/em-unix.el (eshell-grep):
12733 * emulation/viper.el (viper-mode):
12734 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12735 * emacs-lisp/easymenu.el (easy-menu-define):
12736 * calendar/timeclock.el (timeclock-use-display-time):
12737 * bs.el (bs-mode):
12738 * bookmark.el (bookmark-save-flag):
12739 Doc fix (standardize possessive apostrophe usage).
12740
c98c6276
CY
127412012-02-27 Chong Yidong <cyd@gnu.org>
12742
bf7f9bc5
JB
12743 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12744 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12745
c98c6276
CY
12746 * font-lock.el (font-lock-specified-p): Rename from
12747 font-lock-spec-present. Callers changed.
12748
9c62cd04 127492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12750
bf7f9bc5
JB
12751 * emacs-lisp/package.el (package-compute-transaction):
12752 Handle holding a package version to t in package-load-list.
8ac9e529 12753
530739c9
MA
127542012-02-26 Michael Albinus <michael.albinus@gmx.de>
12755
12756 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12757 (tramp-get-inode, tramp-get-device): Use cached values.
12758
487915d7
AM
127592012-02-26 Alan Mackenzie <acm@muc.de>
12760
12761 Check there is a font-lock specification before doing initial
12762 fontification.
12763
12764 * font-core.el (font-lock-mode): Move the conditional from
12765 :after-hook to font-lock-initial-fontify.
12766 (font-lock-default-function): Move the check for a specification
12767 to font-lock-spec-present.
12768
dc9924b8 12769 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12770 (font-lock-spec-present): New function.
12771
4fd96557
JB
127722012-02-26 Jim Blandy <jimb@red-bean.com>
12773
12774 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12775 (gdb-send): Apply it to the operand of the '-interpreter-exec
12776 console' command, so that we can pass arguments with (say) quotes
12777 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12778
9a4888c0
CY
127792012-02-26 Chong Yidong <cyd@gnu.org>
12780
07498861
CY
12781 * help-fns.el (describe-function-1): Clarify description of
12782 remapping (Bug#10844).
12783
9a4888c0
CY
12784 * files.el (files-equal-p): Doc fix.
12785 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12786 and quit the loop once a mismatch is found.
12787
ea8fb88d
JB
127882012-02-25 Juanma Barranquero <lekktu@gmail.com>
12789
12790 * bs.el (bs--show-with-configuration): Don't throw an error
12791 if the window cannot be split; otherwise, subsequent calls to
12792 bs-show fail, restoring a stale window config. (Bug#10882)
12793
525795c1
JD
127942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12795
12796 * term/ns-win.el (global-map): Bind ns-drag-file to
12797 ns-find-file (Bug#5855, Bug#10050).
12798
f008086f
AS
127992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12800
12801 * calendar/parse-time.el (parse-time-string): Allow extractor to
12802 return nil.
12803
a3fcfa99
MA
128042012-02-25 Michael Albinus <michael.albinus@gmx.de>
12805
91027d08
JB
12806 * net/tramp.el (tramp-file-name-for-operation):
12807 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12808
12809 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12810 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12811 Add COPY-CONTENTS argument.
a3fcfa99 12812
67b0de11
CY
128132012-02-25 Chong Yidong <cyd@gnu.org>
12814
12815 Add custom groups for VC backends, for consistency with vc-bzr.
12816
12817 * vc/vc-arch.el (vc-arch):
12818 * vc/vc-cvs.el (vc-cvs):
12819 * vc/vc-git.el (vc-git):
12820 * vc/vc-hg.el (vc-hg):
12821 * vc/vc-mtn.el (vc-mtn):
12822 * vc/vc-rcs.el (vc-rcs):
12823 * vc/vc-sccs.el (vc-sccs):
12824 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12825 All relevant defcustoms reassigned.
12826
3c9dfce6
CY
128272012-02-25 Chong Yidong <cyd@gnu.org>
12828
1339bf43
CY
12829 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12830
3c9dfce6
CY
12831 * term/x-win.el (x-initialize-window-system): Reduce default for
12832 x-selection-timeout to 5 seconds (Bug#8869).
12833
25b2e303 128342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12835
ec70a47d
GM
12836 * files.el (files-equal-p, file-subdir-of-p): New functions.
12837 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12838 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12839 * dired-aux.el (dired-copy-file-recursive): Same.
12840 (dired-create-files): Modify destination when source is equal to
12841 dest when copying files.
53a46cd0 12842 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12843
914260cd
MA
128442012-02-24 Michael Albinus <michael.albinus@gmx.de>
12845
12846 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12847 (Bug#10874)
12848
2cb228f7
AM
128492012-02-23 Alan Mackenzie <acm@muc.de>
12850
12851 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12852 parameter "after-hook:" to allow the expansion to run code after
12853 the execution of the mode hooks.
12854
12855 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12856 from font-lock-mode-internal.
2cb228f7 12857
91027d08 12858 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12859 :after-hook.
12860
8f0fde21
SM
128612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12862
3e88618b
SM
12863 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12864 (completion--cache-all-sorted-completions): New function.
12865 (completion-all-sorted-completions): Use it.
12866 (completion--do-completion, minibuffer-force-complete):
12867 Use it to re-instate the flush hook.
12868
8f0fde21
SM
12869 * icomplete.el (icomplete-completions): Replace last fix with a better
12870 one (bug#10850).
12871
8e911f6f
DG
128722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12873
12874 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12875 when it might call us back infinitely (bug#10797).
12876
49fe4321
GM
128772012-02-23 Glenn Morris <rgm@gnu.org>
12878
12879 * minibuffer.el (completion-category-overrides): Doc fix.
12880
b291b572
SM
128812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12884 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12885
31a9ef2e
GM
128862012-02-23 Glenn Morris <rgm@gnu.org>
12887
5e6e6794 12888 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12889 (authors-obsolete-files-regexps, authors-ignored-files)
12890 (authors-ambiguous-files, authors-renamed-files-alist):
12891 Add more entries.
12892
0bd1e074
JL
128932012-02-23 Juri Linkov <juri@jurta.org>
12894
12895 * isearch.el (isearch-occur): Sync interactive spec with occur's
12896 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12897
b617673c
JL
12898 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12899
19e9789e
JL
129002012-02-22 Juri Linkov <juri@jurta.org>
12901
12902 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12903 (ucs-insert): Doc fix. Check for hex digits in the string.
12904 Don't display `nil' in the error message. (Bug#10857)
12905
f41ce09d
AM
129062012-02-22 Alan Mackenzie <acm@muc.de>
12907
7a71b18d 12908 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12909
ac2eceee
GM
129102012-02-22 Glenn Morris <rgm@gnu.org>
12911
12912 * ffap.el (ffap-c-path):
12913 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12914
abd1f678
CY
129152012-02-22 Chong Yidong <cyd@gnu.org>
12916
12917 * custom.el (load-theme): Doc fix.
12918
f25aef2e
GM
129192012-02-22 Glenn Morris <rgm@gnu.org>
12920
12921 * dired-x.el (dired-guess-shell-alist-default):
12922 Remove escape sequences from nroff output. (Bug#172)
12923
5f8dc2ca
GM
129242012-02-21 Glenn Morris <rgm@gnu.org>
12925
6ff86ec4
GM
12926 * vc/emerge.el (emerge-defvar-local):
12927 Set `permanent-local' property rather than unused `preserved'.
12928
be3223a3 12929 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12930 (picture-mode-map): Use it. (Bug#10860)
12931 (picture-mode): Doc fix.
12932
3fe58f4f
JB
129332012-02-21 Juanma Barranquero <lekktu@gmail.com>
12934
12935 * newcomment.el (uncomment-region-default): Remove unused binding.
12936
f9a998c3
GM
129372012-02-21 Glenn Morris <rgm@gnu.org>
12938
12939 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12940 (picture-self-insert, picture-tab-chars): Doc fix.
12941 (picture-mode-map): Fix C-a, C-e.
12942
c6029348
GM
129432012-02-20 Glenn Morris <rgm@gnu.org>
12944
12945 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12946
ab1ce9d7
LL
129472012-02-20 Leo Liu <sdl.web@gmail.com>
12948
12949 * icomplete.el (icomplete-completions): Check FROM arg before
12950 passing to substring (Bug#10850).
12951
0fd40f89
CY
129522012-02-19 Chong Yidong <cyd@gnu.org>
12953
12954 * comint.el: Require ansi-color.
12955 (comint-output-filter-functions): Add ansi-color-process-output.
12956
12957 * ansi-color.el: Don't set comint-output-filter-functions; it is
12958 now in the initial value defined in comint.el.
12959 (ansi-color-apply-face-function): New variable.
12960 (ansi-color-apply-on-region): Use it.
12961 (ansi-color-apply-overlay-face): New function.
12962
12963 * shell.el (shell): No need to require ansi-color.
12964 (shell-mode): Use ansi-color-apply-face-function to highlight
12965 color escapes using font-lock-face property (Bug#10835).
12966
20af2394
CY
129672012-02-19 Chong Yidong <cyd@gnu.org>
12968
12969 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12970 mode-line formats (Bug#10839).
12971
e23a3fbe
GM
129722012-02-18 Glenn Morris <rgm@gnu.org>
12973
b474519e
GM
12974 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12975
12976 * mail/undigest.el (unforward-rmail-message): Doc fix.
12977
e23a3fbe
GM
12978 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12979
57939ff4
EZ
129802012-02-18 Eli Zaretskii <eliz@gnu.org>
12981
12982 * international/characters.el (script-list): Sync with the latest
12983 Unicode Character Database.
12984
0c23686e
AS
129852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12986
12987 * international/titdic-cnv.el: Remove duplicate coding tag.
12988 * language/cham.el: Likewise.
12989 * language/tai-viet.el: Likewise.
12990
6818b449
GM
129912012-02-18 Glenn Morris <rgm@gnu.org>
12992
12993 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12994 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12995 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12996 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12997 * calendar/holidays.el (holiday-bahai-holidays)
12998 (calendar-holidays, list-holidays):
12999 Use utf-8 Bahá'í in doc-strings, menus, etc.
13000
0311a3fc
TH
130012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13002
13003 * saveplace.el (save-place-ignore-files-regexp): New variable
13004 allowing for excluding files from saving their location of point.
13005 The default value matches the temporary commit message editing
13006 files from Git, SVN, Bazaar, and Mercurial.
13007 (save-place-to-alist): Use it.
13008
d209e2fb 130092012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13010 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13011
13012 * newcomment.el (uncomment-region-default): Don't leave extra space
13013 when an arg is provided (bug#8150).
13014
ee0ce425
TZ
130152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13016
eb864a71 13017 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13018
95ddf442
GM
130192012-02-17 Glenn Morris <rgm@gnu.org>
13020
13021 * net/socks.el: Require network-stream. (Bug#10599)
13022
48dd1e39 130232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13024
13025 * international/charprop.el:
13026 * international/uni-name.el:
13027 * international/uni-old-name.el:
13028 * international/uni-comment.el: Regenerate.
13029
d68cd087
GM
130302012-02-16 Glenn Morris <rgm@gnu.org>
13031
13032 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13033 Interactively in calendar buffer, give an error if not on a date.
13034
13932042
GM
130352012-02-15 Glenn Morris <rgm@gnu.org>
13036
13037 * shell.el (shell-delimiter-argument-list):
13038 Revert 2011-02-17 change. (Bug#8027)
13039
c3a70e2b
CY
130402012-02-15 Chong Yidong <cyd@gnu.org>
13041
60236b0d
CY
13042 * minibuffer.el (completion-at-point-functions): Doc fix.
13043
c3a70e2b
CY
13044 * custom.el (defcustom): Doc fix; note use of defvar.
13045
9f26dc24
GM
130462012-02-15 Glenn Morris <rgm@gnu.org>
13047
13048 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13049 Doc fixes.
13050
6546b134
GM
130512012-02-14 Glenn Morris <rgm@gnu.org>
13052
13053 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13054
d29b2b4c
LI
130552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13056
13057 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13058 way the ports list is computed.
835bdcba
LI
13059 (smtpmail-query-smtp-server): Prompt the user for a port number if
13060 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13061
08dcdbc9
TZ
130622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13063
13064 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13065
2605051a
GM
130662012-02-13 Glenn Morris <rgm@gnu.org>
13067
13068 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13069
7ee99f32
TZ
130702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13071
13072 * net/gnutls.el (gnutls-trustfiles): New variable.
13073 (gnutls-negotiate): Use it.
13074
5f0af64f
LI
130752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13076
13077 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13078 does its stuff if Gnus is running.
13079
c14fcc95
AM
130802012-02-13 Alan Mackenzie <acm@muc.de>
13081
13082 Fix a loop in c-set-fl-decl-start.
13083
7a71b18d 13084 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13085 c-backward-syntactic-ws actually moves backwards.
13086
142b4d90
LL
130872012-02-13 Leo Liu <sdl.web@gmail.com>
13088
13089 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13090 beginning so that all \C-o chars are removed.
13091
fa9958a6
TZ
130922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13093
dc9924b8 13094 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13095
0bc5886a
AM
130962012-02-12 Alan Mackenzie <acm@muc.de>
13097
13098 Fix infinite loop with long macros.
4d6769e1 13099 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13100
d4bd55e7
CY
131012012-02-12 Chong Yidong <cyd@gnu.org>
13102
13103 * window.el (display-buffer): Doc fix (Bug#10785).
13104
66f3fe22
GM
131052012-02-12 Glenn Morris <rgm@gnu.org>
13106
bd7da63e
GM
13107 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13108 (x-disown-selection-internal, x-get-selection-internal):
13109 Sync docs with the xselect.c versions.
13110
66f3fe22
GM
13111 * allout-widgets.el: Add missing license notice.
13112
3e0d2fa7
GM
131132012-02-11 Glenn Morris <rgm@gnu.org>
13114
cfecdf09
GM
13115 * select.el (x-get-selection-internal, x-own-selection-internal)
13116 (x-disown-selection-internal):
13117 * x-dnd.el (x-get-selection-internal): Update declarations.
13118
6d216d7f
GM
13119 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13120
2bed3f04
GM
13121 * window.el (window-sides-slots):
13122 * tool-bar.el (tool-bar-position):
13123 * term/xterm.el (xterm-extra-capabilities):
13124 * ses.el (ses-self-reference-early-detection):
13125 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13126 (verilog-auto-wire-type)
13127 (verilog-auto-delete-trailing-whitespace)
13128 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13129 (verilog-auto-tieoff-declaration):
13130 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13131 (sql-oracle-statement-starters, sql-oracle-scan-on):
13132 * progmodes/prolog.el (prolog-align-comments-flag)
13133 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13134 (prolog-left-indent-regexp, prolog-paren-indent-p)
13135 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13136 (prolog-types, prolog-mode-specificators)
13137 (prolog-determinism-specificators, prolog-directives)
13138 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13139 (prolog-electric-dot-flag)
13140 (prolog-electric-dot-full-predicate-template)
13141 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13142 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13143 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13144 (prolog-program-switches, prolog-prompt-regexp)
13145 (prolog-debug-on-string, prolog-debug-off-string)
13146 (prolog-trace-on-string, prolog-trace-off-string)
13147 (prolog-zip-on-string, prolog-zip-off-string)
13148 (prolog-use-standard-consult-compile-method-flag)
13149 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13150 (prolog-imenu-max-lines, prolog-info-predicate-index)
13151 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13152 (prolog-char-quote-workaround):
13153 * progmodes/cc-vars.el (c-defun-tactic):
13154 * net/tramp.el (tramp-encoding-command-interactive)
13155 (tramp-local-end-of-line):
13156 * net/soap-client.el (soap-client):
13157 * net/netrc.el (netrc-file):
13158 * net/gnutls.el (gnutls):
13159 * minibuffer.el (completion-category-overrides)
13160 (completion-cycle-threshold)
13161 (completion-pcm-complete-word-inserts-delimiters):
13162 * man.el (Man-name-local-regexp):
13163 * mail/feedmail.el (feedmail-display-full-frame):
13164 * international/characters.el (glyphless-char-display-control):
13165 * eshell/em-ls.el (eshell-ls-date-format):
13166 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13167 (lisp-lambda-list-keyword-parameter-indentation)
13168 (lisp-lambda-list-keyword-parameter-alignment):
13169 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13170 * dired-x.el (dired-omit-verbose):
13171 * cus-theme.el (custom-theme-allow-multiple-selections):
13172 * calc/calc.el (calc-highlight-selections-with-faces)
13173 (calc-lu-field-reference, calc-lu-power-reference)
13174 (calc-note-threshold):
13175 * battery.el (battery-mode-line-limit):
13176 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13177 (archive-7z-update):
13178 * allout.el (allout-prefixed-keybindings)
13179 (allout-unprefixed-keybindings)
13180 (allout-inhibit-auto-fill-on-headline)
13181 (allout-flattened-numbering-abbreviation):
13182 * allout-widgets.el (allout-widgets-auto-activation)
13183 (allout-widgets-icons-dark-subdir)
13184 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13185 (allout-widgets-theme-dark-background)
13186 (allout-widgets-theme-light-background)
13187 (allout-widgets-item-image-properties-emacs)
13188 (allout-widgets-item-image-properties-xemacs)
13189 (allout-widgets-run-unit-tests-on-load)
13190 (allout-widgets-time-decoration-activity)
13191 (allout-widgets-hook-error-post-time)
13192 (allout-widgets-track-decoration):
13193 Add missing :version tags to new defcustoms and defgroups.
13194
5fec1b8e
GM
13195 * progmodes/sql.el (sql-ansi-statement-starters)
13196 (sql-oracle-statement-starters): Add custom type.
13197
3e0d2fa7
GM
13198 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13199 (prolog-system-version): Give it a type.
13200
90b671e2
EZ
132012012-02-11 Eli Zaretskii <eliz@gnu.org>
13202
13203 * term/pc-win.el (x-select-text, x-selection-owner-p)
13204 (x-own-selection-internal, x-disown-selection-internal)
13205 (x-get-selection-internal): Sync doc strings and argument lists
13206 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13207
5eac0c02
LL
132082012-02-11 Leo Liu <sdl.web@gmail.com>
13209
13210 * progmodes/python.el (python-end-of-statement): Fix infinite
13211 loop. (Bug#10788)
13212
f82cb659
GM
132132012-02-10 Glenn Morris <rgm@gnu.org>
13214
13215 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13216 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13217
cc26d239
LI
132182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13219
13220 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13221 about SMTP before checking the From header.
13222
91027d08 13223 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13224 into own function for reuse by emacsbug.el.
13225
1be3ca5a
LL
132262012-02-10 Leo Liu <sdl.web@gmail.com>
13227
13228 * subr.el (condition-case-unless-debug): Rename from
13229 condition-case-no-debug. All callers changed.
13230 (with-demoted-errors): Fix caller.
13231
13232 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13233 * nxml/rng-valid.el (rng-do-some-validation):
13234 * emacs-lisp/package.el (package-refresh-contents)
13235 (package-menu-execute):
13236 * desktop.el (desktop-create-buffer):
91027d08 13237 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13238
b011fbfe
GM
132392012-02-10 Glenn Morris <rgm@gnu.org>
13240
b2096d72
GM
13241 * textmodes/bibtex.el:
13242 Add missing :version tags for new/changed defcustoms.
13243
b011fbfe
GM
13244 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13245
4c7e65bf
LI
132462012-02-09 Lars Ingebrigtsen <larsi@rusty>
13247
13248 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13249 (smtpmail-via-smtp): Use it, or fall back on the From address.
13250 (smtpmail-send-it): Ditto.
13251
f3934f6f
SM
132522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13255 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13256 (byte-compile-tmp-var): New const.
13257 (byte-compile-defvar): Use it to minimize .elc size.
13258 Just use `defvar' rather than simulate it (bug#10761).
13259
a075a2c5
GM
132602012-02-09 Glenn Morris <rgm@gnu.org>
13261
cf3aa21b
GM
13262 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13263
354998cd
GM
13264 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13265 Add :version tags.
13266
dc9924b8
SM
13267 * progmodes/compile.el (compilation-error-screen-columns)
13268 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13269
dab3703d
GM
13270 * vc/log-view.el (log-view-toggle-entry-display):
13271 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13272
3f88cd72
GM
13273 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13274 (report-emacs-bug-can-use-xdg-email):
13275 (report-emacs-bug-insert-to-mailer): Doc fixes.
13276 (report-emacs-bug): Message fix.
13277
d95b247d
GM
13278 * net/browse-url.el (browse-url-can-use-xdg-open)
13279 (browse-url-xdg-open): Doc fixes.
13280
a075a2c5
GM
13281 * electric.el (electric-indent-mode, electric-pair-mode)
13282 (electric-layout-rules, electric-layout-mode): Doc fixes.
13283 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13284
ffb6157e
MR
132852012-02-08 Martin Rudalics <rudalics@gmx.at>
13286
13287 * server.el (server-unselect-display): Don't inadvertently kill
13288 the current buffer. (Bug#10729)
13289
e1ac4066
GM
132902012-02-08 Glenn Morris <rgm@gnu.org>
13291
34e8a2da
GM
13292 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13293 (sql-list-table): Doc fixes.
13294
b4ac6e8c
GM
13295 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13296 Comment out (does nothing).
13297
e1ac4066
GM
13298 * completion.el (dynamic-completion-mode):
13299 * dirtrack.el (dirtrack-debug-mode):
13300 * electric.el (electric-layout-mode):
13301 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13302 * face-remap.el (text-scale-mode, buffer-face-mode):
13303 * iimage.el (iimage-mode):
13304 * image-mode.el (image-transform-mode):
13305 * minibuffer.el (completion-in-region-mode):
13306 * scroll-lock.el (scroll-lock-mode):
13307 * simple.el (next-error-follow-minor-mode):
13308 * tar-mode.el (tar-subfile-mode):
13309 * tooltip.el (tooltip-mode):
13310 * vcursor.el (vcursor-use-vcursor-map):
13311 * wid-browse.el (widget-minor-mode):
13312 * emulation/tpu-edt.el (tpu-edt-mode):
13313 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13314 * international/iso-ascii.el (iso-ascii-mode):
13315 * language/thai-util.el (thai-word-mode):
13316 * mail/supercite.el (sc-minor-mode):
13317 * net/goto-addr.el (goto-address-mode):
13318 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13319 * progmodes/cwarn.el (cwarn-mode):
13320 * progmodes/flymake.el (flymake-mode):
13321 * progmodes/glasses.el (glasses-mode):
13322 * progmodes/hideshow.el (hs-minor-mode):
13323 * progmodes/pascal.el (pascal-outline-mode):
13324 * textmodes/enriched.el (enriched-mode):
13325 * vc/smerge-mode.el (smerge-mode):
13326 Doc fixes (minor mode argument).
13327
5e0d957f
EZ
133282012-02-07 Eli Zaretskii <eliz@gnu.org>
13329
13330 * ls-lisp.el (ls-lisp-sanitize): New function.
13331 (ls-lisp-insert-directory): Use it to fix or remove any elements
13332 in file-alist with missing attributes. (Bug#4673)
13333
98d7371e
AM
133342012-02-07 Alan Mackenzie <acm@muc.de>
13335
13336 Fix spurious recognition of c-in-knr-argdecl.
13337
13338 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13339 putative K&R region.
13340
667ced3a
AM
133412012-02-07 Alan Mackenzie <acm@muc.de>
13342
eb864a71
LM
13343 * progmodes/cc-engine.el (c-forward-objc-directive):
13344 Prevent looping in "#pragma mark @implementation".
667ced3a 13345
5b77774d
MA
133462012-02-07 Michael Albinus <michael.albinus@gmx.de>
13347
13348 * notifications.el (notifications-on-closed-signal): Make `reason'
13349 optional. (Bug#10744)
13350
af008560
GM
133512012-02-07 Glenn Morris <rgm@gnu.org>
13352
60d47423
GM
13353 * emacs-lisp/easy-mmode.el (define-minor-mode):
13354 Doc fixes for the macro and the mode it defines.
13355
dd605cc4
GM
13356 * image.el (imagemagick-types-inhibit): Doc fix.
13357
af008560
GM
13358 * cus-start.el (imagemagick-render-type): Add it.
13359
5cc59a37
LI
133602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13361
4d6769e1
JB
13362 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13363 Set the default at load time, too, so that `font-lock-fontify-buffer'
13364 can be called without setting up the entire mode first. This fixes
13365 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13366
9a6dd747
CY
133672012-02-06 Chong Yidong <cyd@gnu.org>
13368
2d16b285
CY
13369 * simple.el (list-processes--refresh): Delete exited processes
13370 (Bug#8094).
13371
171e9b6e
CY
13372 * comint.el (comint-next-prompt): next-single-char-property-change
13373 and prev-single-char-property-change never return nil (Bug#8657).
13374
9a6dd747
CY
13375 * custom.el (defcustom): Doc fix (Bug#9711).
13376
aa4589a7
CY
133772012-02-05 Chong Yidong <cyd@gnu.org>
13378
5c2a252f
CY
13379 * cus-edit.el (custom-variable-reset-backup): Quote the value
13380 before storing it in the customized-value property (Bug#6712).
4aab9006 13381 (custom-display): Add a customization type tag.
983b9602 13382 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13383
aa4589a7
CY
13384 * wid-edit.el (widget-field-value-get): New optional arg to
13385 suppress trailing whitespace truncation.
13386 (character): Use it (Bug#2689).
13387
1ff980ae
AS
133882012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13389
13390 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13391 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13392
03988c98
CY
133932012-02-05 Chong Yidong <cyd@gnu.org>
13394
eeb6cc88
CY
13395 * cus-edit.el (custom-variable-value-create): For mismatched
13396 types, show the current value (Bug#7600).
13397
03988c98
CY
13398 * custom.el (defcustom): Doc fix.
13399
f8cdeef0
GM
134002012-02-05 Glenn Morris <rgm@gnu.org>
13401
13402 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13403
0696d255
JB
134042012-02-05 Juanma Barranquero <lekktu@gmail.com>
13405
13406 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13407 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13408 (pp-last-sexp): Use `looking-at-p'.
13409
34c99998
GM
134102012-02-04 Glenn Morris <rgm@gnu.org>
13411
8f05da42
GM
13412 * files.el (revert-buffer):
13413 Doc fix (mention revert-buffer-in-progress-p).
13414
f160676e
GM
13415 * emacs-lisp/ert-x.el (ert-simulate-command):
13416 Check deferred-action-list (which is obsolete) is bound.
13417
c7291ad9
GM
13418 * subr.el (with-wrapper-hook): Doc fixes.
13419
34c99998
GM
13420 * simple.el (filter-buffer-substring-functions)
13421 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13422
6283a7d3
LL
134232012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13424
13425 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13426 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13427
e96e3013
LL
134282012-02-04 Leo Liu <sdl.web@gmail.com>
13429
13430 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13431
8ded50f2
GM
134322012-02-04 Glenn Morris <rgm@gnu.org>
13433
82ff1d13
GM
13434 * image.el (image-extension-data): Add obsolete alias.
13435
987a0a16
GM
13436 * isearch.el (isearch-update): Doc fix.
13437
ea32ef46
GM
13438 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13439
8ded50f2
GM
13440 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13441
eea14f31
GM
134422012-02-03 Glenn Morris <rgm@gnu.org>
13443
13444 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13445 (image-animate-timeout): Doc fix.
13446
13447 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13448
12f381b7
GM
134492012-02-02 Glenn Morris <rgm@gnu.org>
13450
953cebf5
GM
13451 * server.el (server-auth-dir): Doc fix.
13452 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13453
12f381b7
GM
13454 * subr.el (run-mode-hooks): Doc fix.
13455
953a8c3b
JL
134562012-02-02 Juri Linkov <juri@jurta.org>
13457
13458 * image-mode.el (image-toggle-display-image): Remove tautological
13459 `major-mode' from the `derived-mode-p' test.
13460
c5d3843c
KH
134612012-02-02 Kenichi Handa <handa@m17n.org>
13462
9f6e692e 13463 * composite.el (compose-region): Cancel previous change.
c5d3843c 13464
159462d4 134652012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13466
13467 * composite.el (compose-region, compose-string): Signal error for
13468 a null string component (Bug#6988).
13469
9f562668
CY
134702012-02-01 Chong Yidong <cyd@gnu.org>
13471
e2cef717
CY
13472 * view.el (view-buffer-other-window, view-buffer-other-frame):
13473 Handle special modes like view-buffer (Bug#10650).
13474 (view-buffer): Simplify.
13475
9f562668
CY
13476 * frame.el (set-frame-font): Tweak meaning of third argument.
13477
9f6e692e
JB
13478 * dynamic-setting.el (font-setting-change-default-font):
13479 Use set-frame-font (Bug#9982).
9f562668 13480
781acb9f
GM
134812012-02-01 Glenn Morris <rgm@gnu.org>
13482
6035be52
GM
13483 * progmodes/compile.el (compilation-internal-error-properties):
13484 Respect compilation-first-column in the "*compilation*" buffer.
13485
781acb9f
GM
13486 * emacs-lisp/easy-mmode.el (define-minor-mode):
13487 Relax :variable's test for a named function.
13488
abbceb00
AM
134892012-01-31 Alan Mackenzie <acm@muc.de>
13490
13491 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13492 off by one error.
13493
fce3fdeb
CY
134942012-01-31 Chong Yidong <cyd@gnu.org>
13495
13496 * frame.el (set-frame-font): New arg ALL-FRAMES.
13497
13498 * menu-bar.el (menu-set-font): Use set-frame-font.
13499
13500 * faces.el (face-spec-reset-face): Don't apply unspecified
13501 attribute values to the default face.
13502
47893581
JB
135032012-01-31 Juanma Barranquero <lekktu@gmail.com>
13504
13505 * progmodes/cwarn.el (cwarn): Remove dead link.
13506 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13507 Remove * from defcustom docstrings.
13508 (turn-on-cwarn-mode): Make obsolete.
13509 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13510 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13511
e58e988a
GM
135122012-01-31 Glenn Morris <rgm@gnu.org>
13513
60dc2671 13514 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13515 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13516 Allow named functions to be used as the cdr of :variable.
e58e988a 13517
7a3f511d
GM
135182012-01-30 Glenn Morris <rgm@gnu.org>
13519
13520 * emacs-lisp/authors.el (authors-fixed-entries):
13521 Remove reference to deleted file rnewspost.el.
13522
cb882333
JB
135232012-01-29 Juanma Barranquero <lekktu@gmail.com>
13524
13525 * window.el (window-with-parameter): Remove unused variable `windows'.
13526 (window--side-check): Remove unused variable `code'.
13527 (window--resize-siblings): Remove unused variable `first'.
13528 (adjust-window-trailing-edge): Remove unused variable `failed'.
13529 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13530 Use `let', not `let*'.
13531 (balance-windows-2): Remove unused variable `found'.
13532 (window--state-put-2): Remove unused variable `splits'.
13533 (window-state-put): Remove unused variable `selected'.
13534 (same-window-p): Use `string-match-p'.
13535 (display-buffer-assq-regexp): Remove unused variable `value'.
13536 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13537 Mark argument ALIST as ignored.
13538 (pop-to-buffer): Remove unused variable `old-window'.
13539
907201af
EZ
135402012-01-29 Eli Zaretskii <eliz@gnu.org>
13541
13542 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13543 and .lzma compressed files.
13544
ea162670
CY
135452012-01-29 Chong Yidong <cyd@gnu.org>
13546
5b95ee8a
CY
13547 * frame.el (window-system-default-frame-alist): Doc fix.
13548
ea162670
CY
13549 * dynamic-setting.el (font-setting-change-default-font): Don't
13550 change the default face if SET-FONT argument is non-nil (Bug#9982).
13551
6fccd6e8 135522012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13553
13554 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13555
0f29fa41 135562012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13557
13558 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13559 breakpoints in files outside current directory (Bug#6098).
13560
db174434
CY
135612012-01-29 Chong Yidong <cyd@gnu.org>
13562
6b25e4e2
SE
13563 * progmodes/python.el: Require ansi-color at top-level.
13564
6df6ae42
JB
13565 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13566 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13567 (lisp-mode-abbrev-table): Add doc.
13568 (lisp-mode-variables): Don't set local-abbrev-table.
13569 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13570
e70ee681
RW
135712012-01-28 Roland Winkler <winkler@gnu.org>
13572
13573 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13574
ace88aa2
RW
135752012-01-28 Roland Winkler <winkler@gnu.org>
13576
13577 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13578 (bibtex-set-dialect): Use it. Either set global values of
13579 dialect-dependent variables or bind these variables buffer-locally
13580 (Bug#10254).
13581 (bibtex-mode): Call bibtex-set-dialect via
13582 hack-local-variables-hook.
eb864a71
LM
13583 (bibtex-dialect): Update docstring.
13584 Add safe-local-variable predicate.
ace88aa2
RW
13585 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13586 bibtex-set-dialect.
13587 (bibtex-mode-map): Define menu for each dialect.
13588 (bibtex-entry): Fix docstring.
13589
93376c5b
CY
135902012-01-28 Chong Yidong <cyd@gnu.org>
13591
13592 * eshell/esh-arg.el (eshell-quote-argument): New function.
13593
13594 * eshell/esh-ext.el (eshell-invoke-batch-file):
13595 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13596 first arg to eshell-parse-command (Bug#10523).
13597
4372494f
DA
135982012-01-28 Drew Adams <drew.adams@oracle.com>
13599
13600 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13601 `default-directory' is non-nil.
13602
4d4ec1f8
EZ
136032012-01-28 Eli Zaretskii <eliz@gnu.org>
13604
13605 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13606 line that displays system-configuration-options. (Bug#9924)
13607
7c188927
DA
136082012-01-28 Drew Adams <drew.adams@oracle.com>
13609
13610 * descr-text.el (describe-char): Show information about POS, in
13611 addition to information about the character at POS. Improve and
13612 update the doc string. Change "code point" to "code point in
13613 charset", to avoid confusion with the character's Unicode code
13614 point shown above that. (Bug#10129)
13615
e0da685a
EZ
136162012-01-28 Eli Zaretskii <eliz@gnu.org>
13617
13618 * descr-text.el (describe-char): Show the raw character, not only
13619 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13620 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13621 for the reasons.
13622
70550acf
PH
136232012-01-28 Phil Hagelberg <phil@hagelb.org>
13624
eb864a71
LM
13625 * emacs-lisp/package.el (package-install):
13626 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13627
0ce8e868
CY
136282012-01-28 Chong Yidong <cyd@gnu.org>
13629
cb882333
JB
13630 * emacs-lisp/package.el (package-maybe-load-descriptor):
13631 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13632 (package-maybe-load-descriptor): Use it.
13633 (package-download-transaction): Fully load required packages
13634 inside the loop, so that `require' calls work (Bug#10593).
13635 (package-install): No need to call package-initialize now.
13636
2e7f3bea
CY
136372012-01-28 Chong Yidong <cyd@gnu.org>
13638
6e9bad14
CY
13639 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13640
f823b8ca
CY
13641 * tooltip.el (tooltip-mode): Doc fix.
13642 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13643
2680c309
CY
13644 * frame.el (set-cursor-color): Doc fix (Bug#352).
13645
d7a9e63b
CY
13646 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13647 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13648
2e7f3bea
CY
13649 * cus-edit.el (custom-buffer-create-internal): Fix search button
13650 action (Bug#10542).
2ae01800 13651 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13652
fc4f7a23
EW
136532012-01-27 Eduard Wiebe <usenet@pusto.de>
13654
13655 * dired.el (dired-mark-files-regexp):
13656 Include any subdirectory components. (Bug#10445)
13657
7dd37071
ML
136582012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13659
13660 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13661 Handle [host]:port syntax. (Bug#10533)
13662
a268160b
AH
136632012-01-27 Alex Harsanyi <harsanyi@mac.com>
13664
13665 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13666
e43273ef
GM
136672012-01-26 Glenn Morris <rgm@gnu.org>
13668
13669 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13670 * term.el (term-raw-escape-map): Use Control-X-prefix.
13671 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13672
1edf595d
MR
136732012-01-25 Martin Rudalics <rudalics@gmx.at>
13674
13675 * window.el (window-state-get, window--state-get-1): Don't deal
13676 with fixed-sizeness of windows. Simplify code.
13677
fa8eafef
JC
136782012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13679
6df6ae42
JB
13680 * window.el (window--state-get-1, window--state-put-2):
13681 Don't save and restore the mark.
fa8eafef 13682
0b21c100
CY
136832012-01-25 Chong Yidong <cyd@gnu.org>
13684
13685 * custom.el (custom-variable-p): Doc fix.
13686
5ae1a6c8
GM
136872012-01-25 Glenn Morris <rgm@gnu.org>
13688
40047858
GM
13689 * dired.el (dired-goto-file): Handle some of the more common
13690 characters that `ls -b' escapes. (Bug#10596)
13691
5ddce96c
GM
13692 * progmodes/compile.el (compilation-next-error-function):
13693 Respect compilation-first-column in the "*compilation*" buffer.
13694 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13695
5ae1a6c8
GM
13696 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13697
b559f1a9
GM
136982012-01-24 Glenn Morris <rgm@gnu.org>
13699
13700 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13701
6725d21a
JD
137022012-01-24 Julien Danjou <julien@danjou.info>
13703
13704 * color.el (color-rgb-to-hsl): Fix value computing.
13705 (color-hue-to-rgb): New function.
13706 (color-hsl-to-rgb): New function.
13707 (color-clamp, color-saturate-hsl, color-saturate-name)
13708 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13709 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13710
70df4bbe
GM
137112012-01-24 Glenn Morris <rgm@gnu.org>
13712
13713 * vc/vc-rcs.el (vc-rcs-create-tag):
13714 * vc/vc-sccs.el (vc-sccs-create-tag):
13715 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13716
802a2ae2
ML
137172012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13718
13719 * eshell/esh-util.el (eshell-read-hosts-file):
13720 Skip comment lines. (Bug#10549)
13721
d7128bb1
ML
13722 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13723
d1a5c3b4
JB
137242012-01-23 Juanma Barranquero <lekktu@gmail.com>
13725
2724d9c7
JB
13726 * subr.el (display-delayed-warnings): Doc fix.
13727 (collapse-delayed-warnings): New function to collapse identical
13728 adjacent warnings.
13729 (delayed-warnings-hook): Add it.
d1a5c3b4 13730
a5509865
MA
137312012-01-22 Michael Albinus <michael.albinus@gmx.de>
13732
13733 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13734
a5509865
MA
13735 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13736 (tramp-default-user-alist): Don't add "pscp".
13737 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13738 property "login-as", if set. (Bug#10530)
13739
cc6d5805
MA
137402012-01-21 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13743 "plink1" and "psftp". (Bug#10530)
13744
137452012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13746
13747 * international/mule-cmds.el (prefer-coding-system): Show a
13748 warning message if the default value of file-name-coding-system
13749 was not changed.
13750
f0960428
JC
137512012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13752
cb882333
JB
13753 * windmove.el (windmove-reference-loc):
13754 Fix windmove-reference-loc miscalculation.
f0960428 13755
dd6f2a63
JB
137562012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13757
13758 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13759 default unit.
13760
7b447e9b
GM
137612012-01-21 Glenn Morris <rgm@gnu.org>
13762
117a9ea1
GM
13763 * international/mule.el (auto-coding-alist): Add .tbz.
13764
7b447e9b
GM
13765 * files.el (local-enable-local-variables): Doc fix.
13766 (inhibit-local-variables-regexps): Rename from
13767 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13768 Doc fix. Add some extensions from auto-coding-alist.
13769 (inhibit-local-variables-suffixes):
13770 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13771 (inhibit-local-variables-p):
13772 New function, extracted from set-auto-mode-1.
13773 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13774 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13775 (hack-local-variables): Doc fix. Make the mode-only case
13776 respect enable-local-variables and friends.
13777 Respect inhibit-local-variables-regexps for file-locals, but
13778 not for directory-locals.
13779 (set-visited-file-name):
13780 Take account of inhibit-local-variables-regexps.
13781 Whether it applies may change as the file name is changed.
13782 * jka-cmpr-hook.el (jka-compr-install):
13783 * jka-compr.el (jka-compr-uninstall):
13784 Update for inhibit-first-line-modes-suffixes name change.
13785
dd6e3cdd
MR
137862012-01-20 Martin Rudalics <rudalics@gmx.at>
13787
13788 * help-macro.el (make-help-screen): Temporarily restore original
13789 binding for minor-mode-map-alist (Bug#10454).
13790
0d0deb38
JD
137912012-01-19 Julien Danjou <julien@danjou.info>
13792
13793 * color.el (color-name-to-rgb): Use the white color to find the max
13794 color component value and return correctly computed values.
13795 (color-name-to-rgb): Add missing float conversion for max value.
13796
34a02f46
MR
137972012-01-19 Martin Rudalics <rudalics@gmx.at>
13798
13799 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13800 special state value for window-persistent-parameters.
13801 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13802 (window--state-put-2): Reset all window parameters to nil before
13803 assigning values of persistent parameters.
13804
606c44c4
AM
138052012-01-18 Alan Mackenzie <acm@muc.de>
13806
13807 Eliminate sluggishness and hangs in fontification of "semicolon
13808 deserts".
13809
cb882333
JB
13810 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13811 Change value 10000 -> 3000.
606c44c4
AM
13812 (c-state-safe-place): Reformulate so it doesn't stack up an
13813 infinite number of wrong entries in c-state-nonlit-pos-cache.
13814 (c-determine-limit-get-base, c-determine-limit): New functions to
13815 determine backward search limits disregarding literals.
13816 (c-find-decl-spots): Amend commenting.
13817 (c-cheap-inside-bracelist-p): New function which detects "={".
13818
13819 * progmodes/cc-fonts.el
13820 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13821 backward search.
13822 (c-font-lock-declarations): Fix an occurrence of point being
13823 undefined. Check additionally for point being in a bracelist or
13824 near a macro invocation without a semicolon so as to avoid a
13825 fruitless time consuming search for a declarator. Give a more
13826 precise search limit for declarators using the new
13827 c-determine-limit.
13828
f3860cea
GM
138292012-01-18 Glenn Morris <rgm@gnu.org>
13830
13831 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13832 (set-auto-mode): Doc fixes.
13833
1db03b16
GM
138342012-01-17 Glenn Morris <rgm@gnu.org>
13835
0e6038be
GM
13836 * isearch.el (search-nonincremental-instead): Fix doc typo.
13837
1db03b16
GM
13838 * dired.el (dired-insert-directory): Handle newlines in directory name.
13839 (dired-build-subdir-alist): Unescape newlines in directory name.
13840
4cb0aa75
MA
138412012-01-17 Michael Albinus <michael.albinus@gmx.de>
13842
13843 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13844 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13845 (tramp-action-terminal): Use it. (Bug#10530)
13846
1d00653d
SM
138472012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13848
13849 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13850
6a6ee00d
MR
138512012-01-16 Martin Rudalics <rudalics@gmx.at>
13852
13853 * window.el (window-state-ignored-parameters): Remove variable.
13854 (window--state-get-1): Rename argument MARKERS to IGNORE.
13855 Handle persistent window parameters. Make copy of clone-of
13856 parameter only if requested. (Bug#10348)
13857 (window--state-put-2): Install a window parameter only if it has
13858 a non-nil value or an existing parameter shall be overwritten.
13859
97912def
MA
138602012-01-15 Michael Albinus <michael.albinus@gmx.de>
13861
13862 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13863
688070a5
EZ
138642012-01-14 Eli Zaretskii <eliz@gnu.org>
13865
13866 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13867 don't pass the (nil) value of `upnode' to string-match.
13868
301afadc
CY
138692012-01-14 Chong Yidong <cyd@gnu.org>
13870
13871 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13872 Fix values recognized by the cursorBlink resource.
301afadc 13873
9e5788aa
PE
138742012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13875
13876 * epg.el (epg--make-temp-file): Avoid permission race condition
13877 when running on old Emacs versions (bug#10403).
13878
3cdb7f5a
GM
138792012-01-14 Glenn Morris <rgm@gnu.org>
13880
13881 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13882
8c82b1b4
AM
138832012-01-13 Alan Mackenzie <acm@muc.de>
13884
13885 Fix filling for when filladapt mode is enabled.
13886
13887 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13888 c-mask-paragraph, pass in `fill-paragraph' rather than
13889 `fill-region-as-paragraph'. (This is a reversion of a previous
13890 change.)
eb864a71
LM
13891 * progmodes/cc-mode.el (c-basic-common-init):
13892 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13893
e517eda4
GM
138942012-01-13 Glenn Morris <rgm@gnu.org>
13895
1498536e
GM
13896 * dired.el (dired-switches-escape-p): New function.
13897 (dired-insert-directory): Use dired-switches-escape-p.
13898 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13899
e517eda4
GM
13900 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13901
328f984d
GM
139022012-01-12 Glenn Morris <rgm@gnu.org>
13903
13904 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13905 changes in adaptive-fill-regexp. (Bug#10276)
13906
2cc769a8
AM
139072012-01-11 Alan Mackenzie <acm@muc.de>
13908
13909 Fix Emacs bug #10463 - put `widen's around the critical spots.
13910
1d00653d 13911 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13912 widen around each invocation of c-state-pp-to-literal. Remove an
13913 unused let variable.
13914
e52c37fa
GM
139152012-01-11 Glenn Morris <rgm@gnu.org>
13916
13917 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13918 Doc fix.
e52c37fa 13919
96f8741e
CY
139202012-01-10 Chong Yidong <cyd@gnu.org>
13921
1d00653d
SM
13922 * net/network-stream.el (network-stream-open-starttls):
13923 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13924 response to the capability command.
13925
b09a806e
GM
139262012-01-10 Glenn Morris <rgm@gnu.org>
13927
13928 * mail/unrmail.el (unrmail): Tweak previous change.
13929
7655cb66
CY
139302012-01-09 Chong Yidong <cyd@gnu.org>
13931
13932 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13933
9d5a8f0b
AM
139342012-01-08 Alan Mackenzie <acm@muc.de>
13935
677d5c92 13936 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13937
13938 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13939 arm to a cond form to handle enums.
13940 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13941 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13942
9a0115ab 139432012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13944
13945 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13946 (Bug#10401)
6bb72cbd 13947
f186bb95
LMI
139482012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13949
29232a68
LMI
13950 * faces.el (set-face-attribute): Clarify the meaning of the nil
13951 frame (bug#10294).
13952
4e5d086d
LMI
13953 * subr.el (with-selected-frame): Mention that the selected frame
13954 is restored (bug#9980).
13955
8e66aebe
LMI
13956 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13957 (bug#9759).
13958
cd394be1 13959 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13960 (password-read): Don't autoload unused function.
13961
adf4e762
JB
139622012-01-07 Juanma Barranquero <lekktu@gmail.com>
13963
13964 * progmodes/which-func.el (which-func-mode): Turn into a
13965 non-interactive function and mark as obsolete (bug#10428).
13966
89bd9ccd
CY
139672012-01-06 Chong Yidong <cyd@gnu.org>
13968
13969 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13970 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13971 functions, along with 1 and -1.
13972
4afee9d5
EZ
139732012-01-06 Eli Zaretskii <eliz@gnu.org>
13974
13975 * time.el (display-time-load-average)
13976 (display-time-default-load-average): Doc fixes. See the thread
13977 starting at
13978 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13979 for the details.
13980
536aea70
GM
139812012-01-06 Glenn Morris <rgm@gnu.org>
13982
665ae865
GM
13983 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13984 has no messages. (Bug#10377)
13985
c869783d
GM
13986 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13987 than Info-edit. (Bug#10385)
13988
2bb4227e
GM
13989 * time.el (display-time-load-average, display-time-next-load-average):
13990 Doc fixes.
13991
7d5944b9
GM
13992 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13993 local setting of buffer-read-only to the input buffer. (Bug#10419)
13994
536aea70
GM
13995 * calendar/calendar.el (calendar-mode):
13996 Locally set scroll-margin to 0. (Bug#10379)
13997
7dccca16
UM
139982012-01-06 Ulrich Mueller <ulm@gentoo.org>
13999
14000 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14001
afbb7930
GM
140022012-01-05 Glenn Morris <rgm@gnu.org>
14003
14004 * eshell/em-unix.el (diff-no-select): Autoload it.
14005 (eshell/diff): Use diff-no-select. (Bug#10420)
14006
04482335
CY
140072012-01-05 Chong Yidong <cyd@gnu.org>
14008
7baca3bc
CY
14009 * shell.el (shell-dynamic-complete-functions): Revert last change.
14010 (shell-command-completion-function): New function.
14011 (shell-completion-vars): Use it to implement
14012 shell-completion-execonly (Bug#10417).
14013
04482335
CY
14014 * custom.el (enable-theme): Don't set custom-safe-themes.
14015
1d00653d
SM
14016 * cus-theme.el (custom-theme-merge-theme):
14017 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14018
bb5aa5d6
MM
140192012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14020
14021 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14022 first prompt in `sql-interacive-mode'.
14023 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14024 keywords.
6df6ae42 14025 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14026 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14027 context of original buffer. Invoke `sql-login-hook'.
14028
a7183d7c
EZ
140292012-01-04 Eli Zaretskii <eliz@gnu.org>
14030
14031 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14032 letters in cite-prefix.
14033
a1eacd1e
LMI
140342012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14035
14036 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14037
787cdb34
CY
140382012-01-03 Chong Yidong <cyd@gnu.org>
14039
1d00653d
SM
14040 * shell.el (shell-dynamic-complete-functions):
14041 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14042 comint-filename-completion first (Bug#10417).
14043
30710442
RS
140442012-01-02 Richard Stallman <rms@gnu.org>
14045
14046 * battery.el (battery-status-function):
14047 Detect when to use battery-yeeloong-sysfs.
14048 (battery-echo-area-format): Add string for Yeeloong.
14049 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14050 (battery-yeeloong-sysfs): New function.
14051
f75bfc33
CY
140522012-01-02 Chong Yidong <cyd@gnu.org>
14053
14054 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14055 (dirtrack): Merge code for handling relative filenames in prompt
14056 from shell-dir-cookie-watcher.
14057 (dirtrack-debug-message): New arg to avoid excess format calls.
14058
14059 * shell.el (shell-dir-cookie-re): Variable deleted.
14060 (shell-dir-cookie-watcher): Function deleted.
14061 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14062 with dirtrack-mode.
14063
651e947e
EZ
140642012-01-01 Eli Zaretskii <eliz@gnu.org>
14065
1d00653d
SM
14066 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14067 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14068 libgnutls-26.dll.
14069
94d4c7dc
AS
140702011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14071
14072 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14073
8d43f3cd
EZ
140742011-12-31 Eli Zaretskii <eliz@gnu.org>
14075
14076 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14077 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14078
98c8795a
MA
140792011-12-29 Michael Albinus <michael.albinus@gmx.de>
14080
14081 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14082 also for alternative shells.
14083 (tramp-open-connection-setup-interactive-shell): Check, whether
14084 the shell is a busybox.
14085 (tramp-send-command): Don't suppress multiple prompts for
14086 busyboxes, it hurts.
14087
51281b32
CY
140882011-12-28 Chong Yidong <cyd@gnu.org>
14089
14090 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14091 (gdb-get-source-file): Move mode line update to
14092 gdb-get-source-file (Bug#10087).
14093
2170cb53
CY
140942011-12-25 Chong Yidong <cyd@gnu.org>
14095
14096 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14097 gud-gdb-marker-filter without taking it as an argument.
14098 (gud-gdb-run-command-fetch-lines): Caller changed.
14099 (gud-gdb-completion-function): New variable.
14100 (gud-gdb-completion-at-point): Use it.
14101 (gud-gdb-completions-1): Split from gud-gdb-completions.
14102
14103 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14104 function as separate arguments.
14105 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14106 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14107 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14108 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14109 (gdb-stopped, def-gdb-auto-update-trigger)
14110 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14111 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14112 Callers changed.
2170cb53
CY
14113 (gud-gdbmi-completions): New function.
14114 (gdb): Use it for generating the completion table.
14115
be8b11bb
AM
141162011-12-24 Alan Mackenzie <acm@muc.de>
14117
14118 Introduce a mechanism to widen the region used in context font
1d00653d 14119 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14120
1d00653d
SM
14121 * progmodes/cc-langs.el (c-before-font-lock-functions):
14122 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14123 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14124 functions to be run just before context (etc.) font locking.
14125
14126 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14127 New, functionality extracted from
be8b11bb 14128 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14129 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14130 (c-after-change): Set c-in-after-change-fontification.
14131 (c-set-fl-decl-start): Rejig its interface, so it can be called
14132 from both after-change and context fontifying.
b81d40f0
JB
14133 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14134 New functions.
14135 (c-standard-font-lock-fontify-region-function): New variable.
14136 (c-font-lock-fontify-region): New function.
be8b11bb 14137
341cf6ac
JL
141382011-12-24 Juri Linkov <juri@jurta.org>
14139
14140 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14141 (Bug#10348)
14142
bffcee0a
MA
141432011-12-23 Michael Albinus <michael.albinus@gmx.de>
14144
14145 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14146 existence of source file. (Bug#10325)
14147
cb5e207c
AM
141482011-12-23 Alan Mackenzie <acm@muc.de>
14149
14150 Fix unstable fontification inside templates.
14151
b81d40f0
JB
14152 * progmodes/cc-langs.el (c-before-font-lock-functions):
14153 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14154 additionally has c-set-fl-decl-start. The other languages (apart
14155 from AWK) have that as a single entry.
14156
b81d40f0
JB
14157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14158 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14159 c-set-fl-decl-start.
14160
b81d40f0
JB
14161 * progmodes/cc-mode.el (c-common-init, c-after-change):
14162 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14163 (c-set-fl-decl-start): New function, extracted from
14164 c-font-lock-enclosing-decls and enhanced.
14165
60ff536c
JB
141662011-12-23 Juanma Barranquero <lekktu@gmail.com>
14167
14168 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14169
1c4757d6
JL
141702011-12-22 Juri Linkov <juri@jurta.org>
14171
14172 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14173
d031f2c7
CY
141742011-12-22 Chong Yidong <cyd@gnu.org>
14175
14176 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14177
bace743a
DA
141782011-12-21 Drew Adams <drew.adams@oracle.com>
14179
14180 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14181
728a1f2b
JC
141822011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14183
14184 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14185
0d373f73
TZ
141862011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14187
fec0aaa4
TZ
14188 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14189 highlighting and support. Fix up comments for capitalization.
14190 (cfengine-mode-debug): New var.
14191 (cfengine3-mode): Change the modeline indicator to "CFE3".
14192 (cfengine3-font-lock-keywords): Improve defun highlighting.
14193 (cfengine2-actions): Rename from `cfengine-actions'.
14194 (cfengine2-font-lock-keywords): Rename from
14195 `cfengine-font-lock-keywords'.
14196 (cfengine2-imenu-expression): Rename from
14197 `cfengine-imenu-expression'.
14198 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14199 (cfengine2-beginning-of-defun): Rename from
14200 `cfengine-beginning-of-defun'.
14201 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14202 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14203 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14204 modeline indicator to "CFE2".
14205 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14206 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14207
bc86f573
CY
142082011-12-21 Chong Yidong <cyd@gnu.org>
14209
14210 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14211 filename argument.
14212
d45ba96b
MR
142132011-12-20 Martin Rudalics <rudalics@gmx.at>
14214
14215 * window.el (window-normalize-buffer-to-display): Remove.
14216 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14217
a6198c90
CY
142182011-12-19 Chong Yidong <cyd@gnu.org>
14219
14220 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14221 Don't signal an error in a predicate function; return non-nil.
14222 (vc-dir-mark-file): Move the error here.
14223 (vc-dir-mark-unmark): If acting on the region, keep going if one
14224 of the entries cannot be marked/unmarked.
14225 (vc-dir-mark-all-files): If current entry is a directory, mark
14226 only child files, as documented.
14227
34c5fb55
VB
142282011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14229
14230 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14231 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14232 addition.
14233
c803b2b7
JD
142342011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14235
14236 * term/ns-win.el (ns-get-selection-internal)
14237 (ns-store-selection-internal): Declare.
1154d12e
JB
14238 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14239 Declare as obsolete.
14240 (ns-get-pasteboard, ns-paste-secondary):
14241 Use ns-get-selection-internal.
41e9b956 14242 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14243 Use ns-store-selection-internal.
c803b2b7 14244
9cff91f8 142452011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14246
14247 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14248 (vc-deduce-fileset): Doc fix.
99a289d9 14249
f16c898a
AS
142502011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14251
14252 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14253
763237c4
SS
142542011-12-13 Sam Steingold <sds@gnu.org>
14255
14256 * man.el (Man-getpage-in-background): When running under a
14257 window-system, ignore $MANWIDTH and $COLUMNS.
14258
5fc1c122
KH
142592011-12-15 Kenichi Handa <handa@m17n.org>
14260
14261 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14262 (setup-ethiopic-environment-internal): Comment out key-binding for
14263 ethio-toggle-punctuation.
14264
13d49cbb
AM
142652011-12-13 Alan Mackenzie <acm@muc.de>
14266
898169a2
AM
14267 Add the switch statement to AWK Mode.
14268
7a71b18d 14269 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14270 "default" to the keywords regexp.
14271
7a71b18d 14272 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14273 expression as the rest.
1d00653d
SM
14274 (c-nonlabel-token-key): Allow string literals for AWK.
14275 Refactor for the other modes.
898169a2 14276
13d49cbb 14277 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14278 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14279 routines. Limit backward searching in c-font-lock-enclosing.decl.
14280
14281 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14282 pp-state and literal type in addition to the limits.
1d00653d 14283 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14284 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14285 (c-slow-in-literal, c-fast-in-literal): Remove.
14286 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14287
14288 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14289 being in a literal. Add a limit for backward searching.
14290
14291 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14292 c-slow-in-literal.
14293
15e0efc7
SM
142942011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14297
454592a6
MR
142982011-12-13 Martin Rudalics <rudalics@gmx.at>
14299
14300 * window.el (delete-other-windows): Use correct frame in call to
14301 window-with-parameter.
14302
87393f26
DP
143032011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14304
14305 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14306 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14307 (makefile-gmake-statements, makefile-makepp-statements):
14308 Use it and add new makepp keywords.
14309 (makefile-makepp-font-lock-keywords): Add new patterns.
14310 (makefile-match-function-end): Match new [...] and [[...]].
14311
11636b22
JB
143122011-12-11 Juanma Barranquero <lekktu@gmail.com>
14313
14314 * ses.el (ses-call-printer-return, ses-cell-property-get)
14315 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14316 (ses-create-cell-variable, ses-reset-header-string)
14317 (ses-cell-set-formula, ses-repair-cell-reference-all)
14318 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14319 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14320 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14321 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14322 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14323 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14324 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14325 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14326 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14327 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14328 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14329 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14330
cf018193
VB
143312011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14332
14333 * ses.el: The overall change is to add cell renaming, that is
14334 setting fancy names for cell symbols other than name matching
14335 "\\`[A-Z]+[0-9]+\\'" regexp .
14336 (ses-create-cell-variable): New defun.
14337 (ses-relocate-formula): Relocate formulas only for cells the
14338 symbols of which are not renamed, i.e. symbols whose names do not
14339 match regexp "\\`[A-Z]+[0-9]+\\'".
14340 (ses-relocate-all): Relocate values only for cells the symbols of
14341 which are not renamed.
14342 (ses-load): Create cells variables as the (ses-cell ...) are read,
14343 in order to check row col consistency with cell symbol name only
14344 for cells that are not renamed.
14345 (ses-replace-name-in-formula): New defun.
14346 (ses-rename-cell): New defun.
14347
ee957461
CY
143482011-12-11 Chong Yidong <cyd@gnu.org>
14349
14350 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14351 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14352
9a9e9ef0
MR
143532011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14354
14355 * window.el (other-window): Fix docstring.
14356
92a8eba5
EZ
143572011-12-10 Eli Zaretskii <eliz@gnu.org>
14358
14359 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14360 `from' or `to' address before taking its substring.
14361 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14362 encoded name is chopped in the middle of the encoded string, and
14363 thus displayed encoded.
14364
e152e577
JB
143652011-12-10 Juanma Barranquero <lekktu@gmail.com>
14366
14367 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14368
e5d84bfe
EZ
143692011-12-10 Eli Zaretskii <eliz@gnu.org>
14370
14371 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14372 to use texinfo-update-node and commands that call it if the
14373 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14374 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14375 (texinfo-all-menus-update, texinfo-master-menu)
14376 (texinfo-update-node, texinfo-every-node-update)
14377 (texinfo-multiple-files-update): Doc fix. Warn against updating
14378 all the @node lines.
14379 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14380 argument is numeric. Explain better in the doc string what the
14381 function really does.
14382 (texinfo-insert-master-menu-list): Improve the error message
14383 displayed if there's no menu in the Top node.
14384 (Bug#2975) See also this thread:
e5d84bfe
EZ
14385 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14386
1d84e9bb
MG
143872011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14388
14389 * speedbar.el (speedbar-supported-extension-expressions):
14390 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14391
382c953b
JB
143922011-12-09 Juanma Barranquero <lekktu@gmail.com>
14393
14394 * printing.el (pr-mode-alist):
14395 * simple.el (filter-buffer-substring-functions)
14396 (completion-list-insert-choice-function):
14397 * window.el (window-with-parameter, window-atom-root)
14398 (window-sides-slots, window-size-fixed, window-min-delta)
14399 (window-max-delta, window--resize-mini-window)
14400 (window--resize-child-windows-normal, window-tree)
14401 (delete-other-windows, quit-window, split-window)
14402 (display-buffer-record-window, special-display-buffer-names)
14403 (special-display-regexps, special-display-popup-frame)
14404 (same-window-p, split-window-sensibly)
14405 (display-buffer-overriding-action, display-buffer-alist)
14406 (display-buffer-base-action, display-buffer, switch-to-buffer)
14407 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14408 (fit-window-to-buffer, recenter-positions)
14409 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14410 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14411 and remove unneeded backslashes in docstrings.
14412
39c9faef
SM
144132011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14414
98449af8
SM
14415 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14416
39c9faef
SM
14417 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14418 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14419 end in ".mk".
14420 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14421 when reading the makefile (bug#10116).
14422
86ed9fdc
SM
144232011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14426 (bug#10116).
14427
5580f89d
GM
144282011-12-06 Glenn Morris <rgm@gnu.org>
14429
14430 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14431
28d3917c
CY
144322011-12-06 Chong Yidong <cyd@gnu.org>
14433
14434 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14435
a98edce9
JB
144362011-12-06 Juanma Barranquero <lekktu@gmail.com>
14437
14438 * textmodes/table.el (table-shorten-cell): Fix typo.
14439
e65adfac
CG
144402011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14441
14442 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14443
71cc0b74
EZ
144442011-12-05 Eli Zaretskii <eliz@gnu.org>
14445
14446 * descr-text.el (describe-char): Fix display of strong
14447 right-to-left characters and directional embeddings and overrides.
14448
14449 * simple.el (what-cursor-position): Fix display of codepoints of
14450 strong right-to-left characters.
14451
315bc30d
CY
144522011-12-05 Chong Yidong <cyd@gnu.org>
14453
14454 * faces.el (read-color): Doc fix.
14455
58a70b94
GM
144562011-12-05 Glenn Morris <rgm@gnu.org>
14457
14458 * align.el (align--set-marker): Add doc-string.
14459 Don't try to move something that is not a marker. (Bug#10216)
14460
5158face
GM
144612011-12-04 Glenn Morris <rgm@gnu.org>
14462
14463 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14464 overly zealous deletion of trailing whitespace.
14465
520fca41
JB
144662011-12-04 Juanma Barranquero <lekktu@gmail.com>
14467
14468 * server.el (server-delete-client): On Windows, do not try to delete
14469 the only terminal.
14470 (server-process-filter): On Windows, treat requests for a tty frame as
14471 if they were for a GUI frame if the running server is in GUI mode.
14472
5e605a2e
GM
144732011-12-03 Glenn Morris <rgm@gnu.org>
14474
14475 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14476
5c3fe83f
SM
144772011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14478
6f5e57e7
SM
14479 * electric.el: Streamline electric-indent's hook.
14480 (electric-indent-chars): Revert to simple list.
14481 (electric-indent-functions): New var.
14482 (electric-indent-post-self-insert-function): Use it.
14483
5c3fe83f
SM
14484 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14485 there's no inferior buffer (bug#10196).
14486 (prolog-consult-compile): Don't use toggle-read-only.
14487
6bdac736
MA
144882011-12-02 Michael Albinus <michael.albinus@gmx.de>
14489
14490 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14491 interrupt. (Bug#10187)
14492
6131ba7f
SM
144932011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14494
99c79fee
SM
14495 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14496 (bug#9160).
14497
6131ba7f
SM
14498 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14499 (bug#10191).
14500
cb0a02ea
JL
145012011-12-02 Juri Linkov <juri@jurta.org>
14502
14503 * info.el (Info-search): Display "end of manual" when Isearch
14504 reaches the end of single-file Info manual. (Bug#9918)
14505
66e0570c
EZ
145062011-12-02 Eli Zaretskii <eliz@gnu.org>
14507
14508 * isearch.el (isearch-message-prefix): Run the input method part
14509 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14510
02b16839
JL
145112011-12-02 Juri Linkov <juri@jurta.org>
14512
14513 * isearch.el (isearch-occur): Use `word-search-regexp' for
14514 `isearch-word'.
14515 (isearch-search-and-update): Add condition for `isearch-word' and
14516 call `word-search-regexp'. (Bug#10145)
14517
0b950688
GM
145182011-12-01 Glenn Morris <rgm@gnu.org>
14519
14520 * eshell/em-hist.el (eshell-hist-initialize):
14521 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14522 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14523
9505c3c7
SM
145242011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14527
1bbe96b2 145282011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14529
a1beca85
SM
14530 * progmodes/verilog-mode.el (verilog-pretty-expr):
14531 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14532 verilog, such as += *= and the like.
14533 (verilog-assignment-operator-re): Regular expression to find the
14534 assigment operator in a verilog assignment.
14535 (verilog-assignment-operation-re): Regular expression to find an
14536 assignment statement for pretty-expr.
14537 (verilog-in-attribute-p): Query returns true if point is in an
14538 attribute context; used to skip these for expression line up from
14539 pretty-expr.
14540 (verilog-in-parameter-p): Query returns true if point is in an
14541 parameter definition context; used to skip these for expression
14542 line up from pretty-expr.
14543 (verilog-in-parenthesis-p): Query returns true if point is in a
14544 parenthetical expression, specifically ( ) but not [ ] or { };
14545 used by pretty-expr.
14546 (verilog-just-one-space): If there is no space, don't add one.
14547 (verilog-get-lineup-indent-2): Specifically skip just attribute
14548 contexts for expression lineup, rather than skipping all
14549 parenthetical expressions.
14550 (verilog-calculate-indent): Fix comment, and fix indent.
14551 (verilog-do-indent): Indent declarations in lists (suggested by
14552 Joachim Lechner).
14553 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14554 skeleton items.
14555 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14556 by Alain Mellan).
14557
1bbe96b2 145582011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14559
14560 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14561 parameters with embedded comments. Reported by Ray Stevens.
14562 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14563 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14564 Reported by Tim Holt.
14565 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14566 instantiated by upper module causing wrong expansion until AUTOed a
14567 second time. Reported by K C Buckenmaier.
14568 (verilog-diff-auto): Fix showing .* as a difference when
14569 `verilog-auto-star-save' off. Reported by Dan Dever.
14570 (verilog-auto-reset, verilog-read-always-signals)
14571 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14572 temporary signals in reset list if
14573 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14574 style to each signal's assignment type, bug381.
14575 Reported by Thomas Esposito.
6288f0ca
WS
14576 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14577 (verilog-uvm-statement-re): Support UVM indentation and
14578 highlighting, with old OVM keywords only.
a1beca85 14579 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14580 Support AUTOTIEOFF creating non-wire data types.
14581 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14582 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14583 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14584 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14585 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14586 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14587 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14588 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14589 non-numeric vector width. Reported by Alex Reed.
14590 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14591 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14592 (verilog-auto-delete-trailing-whitespace):
14593 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14594 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14595 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14596 Fix verilog-scan-cache corruption when running user AUTO expansion
14597 hooks that call indentation routines.
14598 (verilog-simplify-range-expression): Fix typo ignoring lower case
14599 identifiers.
14600 (verilog-delete-auto): Fix delete-autos to also remove user created
14601 automatics, as long as they start with AUTO.
14602 (verilog-batch-diff-auto, verilog-diff-auto)
14603 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14604 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14605 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14606 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14607 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14608 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14609 is disabled and its cache will get corrupt, causing AUTOS not to
14610 expand. Instead use only -quick functions.
14611 (verilog-scan-region): Fix scanning over escaped quotes.
14612 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14613 (verilog-re-search-backward-quick)
14614 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14615 related functions now ignore strings, to fix misparsing of strings
14616 with magic comments embedded in them.
a1beca85
SM
14617 (verilog-read-auto-template):
14618 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14619 Reported by Brad Dobbie.
14620 (verilog-read-auto-template):
14621 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14622 Reported by Brad Dobbie.
6288f0ca
WS
14623 (verilog-auto-inst, verilog-auto-inst-param)
14624 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14625 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14626 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14627 debugging templates without merge conflicts, bug357.
14628 Reported by Brad Dobbie.
14629 (verilog-read-auto-template):
14630 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14631 Reported by Brad Dobbie.
14632 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14633 abbrevs so user won't be asked to save.
14634 (verilog-read-auto-lisp-present): Fix to start at beginning of
14635 buffer in case called outside of verilog-auto.
14636 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14637 to "X-2". Reported by Matthew Myers.
14638 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14639 all inputs from module templates. Reported by Leith Johnson.
14640 (verilog-module-inside-filename-p): Fix locating programs as with
14641 modules.
14642 (verilog-auto-inst-port): Fix vl-width expressions when using
14643 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14644 (verilog-decls-get-regs, verilog-decls-get-signals,
14645 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14646 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14647 verilog-read-decls): Combine reg and wire structures into one var
14648 structure to represent SystemVerilog concepts.
14649 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14650 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14651 (verilog-auto-wire-type, verilog-insert-definition):
14652 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14653 SystemVerilog "logic" keyword instead of "wire"/"reg".
14654 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14655 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14656 ifdef or generate if so there's not a driver conflict).
14657 Reported by Matthew Myers.
14658 (verilog-auto-declare-nettype, verilog-insert-definition):
14659 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14660 `default_nettype none. Reported by Julian Gorfajn.
14661 (verilog-read-always-signals-recurse, verilog-read-decls)
14662 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14663 malformed end statement, bug325. Reported by Joshua Wise and
14664 Andrew Drake.
14665 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14666 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14667 when expanding .* in interfaces, bug320.
14668 Reported by Pierre-David Pfister.
6288f0ca 14669 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14670 name and open parenthesis, bug317.
14671 Reported by Pierre-David Pfister.
6288f0ca
WS
14672 (verilog-simplify-range-expression): Fix simplification of
14673 multiplications inside AUTOWIRE connections, bug303.
14674 (verilog-auto-inst-port): Support parameter expansion in
14675 multidimensional arrays.
14676 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14677 after "assert property". Reported by Julian Gorfajn.
14678 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14679 with multiplication, bug303.
14680 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14681 Reported by Jan Frode Lonnum.
14682
1bbe96b2
GM
146832011-11-30 Juanma Barranquero <lekktu@gmail.com>
14684
14685 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14686 (hfy-shell-file-name, hfy-shell):
14687 * international/fontset.el (x-decompose-font-name): Fix typos.
14688
146892011-11-29 Ken Brown <kbrown@cornell.edu>
14690
14691 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14692 (gdb-version): Remove defvar.
14693 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14694 (gdb-gud-context-command, gdb-non-stop-handler)
14695 (gdb-current-context-command, gdb-stopped): Use it.
14696 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14697 (gdb-non-stop-handler): Don't enable pretty-printing here.
14698 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14699 non-stop mode. Use the following.
14700 (gdb-check-target-async): New defun.
14701 (gud-watch, gdb-stopped): Fix whitespace.
14702 (gdb-get-source-file): Don't try to display the source file if
14703 `gdb-main-file' is nil.
14704
147052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14706
14707 * align.el: Try to generate fewer markers (bug#10047).
14708 (align--set-marker): New macro.
14709 (align-region): Use it.
14710
c935221f
SM
147112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14714
e70b5064
CY
147152011-11-29 Chong Yidong <cyd@gnu.org>
14716
14717 * indent.el (indent-for-tab-command, indent-according-to-mode):
14718 Doc fix.
14719 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14720
f3af92b7
MA
147212011-11-29 Michael Albinus <michael.albinus@gmx.de>
14722
14723 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14724 aware of remote file names. (Bug#10124)
14725
ed472be9
CY
147262011-11-29 Chong Yidong <cyd@gnu.org>
14727
14728 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14729
24510c22
SM
147302011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * files.el (find-file): Don't use force-same-window (bug#10144).
14733 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14734 use pop-to-buffer if the selected window can't be used.
14735 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14736
c60c3703
EZ
147372011-11-28 Eli Zaretskii <eliz@gnu.org>
14738
14739 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14740 special-mode-map.
14741
e95def75
CY
147422011-11-28 Chong Yidong <cyd@gnu.org>
14743
14744 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14745
c3f1c606
NR
147462011-11-27 Nick Roberts <nickrob@snap.net.nz>
14747
14748 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14749 gdb-get-source-file-list on gdb-create-source-file-list.
14750
00db469c
EZ
147512011-11-26 Eli Zaretskii <eliz@gnu.org>
14752
14753 * whitespace.el (whitespace-newline): Use a different foreground
14754 color for 16-color light-background displays.
14755
4ad3bc2a
CY
147562011-11-24 Chong Yidong <cyd@gnu.org>
14757
14758 * window.el (display-buffer--special-action): Doc fix.
14759
e9fce1ac
JB
147602011-11-25 Juanma Barranquero <lekktu@gmail.com>
14761
14762 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14763 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14764 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14765 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14766 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14767 (avl-tree-stack-first):
14768 * emacs-lisp/cconv.el (cconv--analyse-use):
14769 * net/gnutls.el (gnutls-negotiate): Fix typos.
14770
cb825e5d
GM
147712011-11-24 Glenn Morris <rgm@gnu.org>
14772
3adbe224
GM
14773 * lpr.el (lpr-windows-system, lpr-lp-system):
14774 * mail/binhex.el (binhex-begin-line):
14775 * progmodes/grep.el (grep-history, grep-find-history):
14776 * textmodes/flyspell.el:
14777 * vc/pcvs-defs.el (cvs-global-menu):
14778 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14779 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14780 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14781
321decc8
GM
14782 * net/tls.el: Fix case of "GnuTLS".
14783
420b63ad
GM
14784 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14785
cb825e5d
GM
14786 * version.el (emacs-build-system): Give it a doc-string.
14787
a0649f08
JL
147882011-11-24 Juri Linkov <juri@jurta.org>
14789
14790 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14791
c0bc0fd4
GM
147922011-11-24 Glenn Morris <rgm@gnu.org>
14793
14794 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14795 if called on a non-mime message just toggle the headers. (Bug#8006)
14796
20db1522
JB
147972011-11-24 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14800 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14801 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14802 (allout-rebullet-heading, allout-open-sibtopic)
14803 (allout-toggle-current-subtree-encryption)
14804 (allout-toggle-subtree-encryption, allout-encrypt-string)
14805 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14806 (allout-distinctive-bullets-string, allout-auto-activation):
14807 * window.el (window-normalize-buffer-to-display):
14808 * progmodes/verilog-mode.el (verilog-batch-indent):
14809 * textmodes/bibtex.el (bibtex-field-braces-opt)
14810 (bibtex-field-strings-opt):
14811 * vc/cvs-status.el (cvs-tree-merge):
14812 Fix typos.
14813
7262a87c
MA
148142011-11-23 Michael Albinus <michael.albinus@gmx.de>
14815
14816 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14817 `non-essential' to t, in order to avoid remote connections.
14818
283430a1
EZ
148192011-11-23 Eli Zaretskii <eliz@gnu.org>
14820
a1beca85
SM
14821 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14822 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14823 case-insensitively.
14824
d2992a38
ML
148252011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14826
14827 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14828
50419064
GM
148292011-11-23 Glenn Morris <rgm@gnu.org>
14830
da94eca1
GM
14831 * paths.el (rmail-file-name): Reformat the doc-string so that it
14832 is picked up.
14833
9aac4de2
GM
14834 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14835 (rmail-auto-file): Ignore case in the "special" field names,
14836 as mail-fetch-field does for all others.
14837
8038d2d2
GM
14838 * mail/rmail.el (rmail-forward):
14839 * mail/rmailkwd.el (rmail-set-label):
14840 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14841 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14842
f3fe222a
GM
14843 * mail/rmail.el (rmail-current-message): Doc fix.
14844
50419064
GM
14845 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14846
28109f49
SM
148472011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14848
14849 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14850
394c65f1
GM
148512011-11-22 Glenn Morris <rgm@gnu.org>
14852
14853 * mail/rmailmm.el (test-rmail-mime-handler)
14854 (test-rmail-mime-bulk-handler)
14855 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14856
f2a0aa3a
JL
148572011-11-21 Juri Linkov <juri@jurta.org>
14858
1154d12e
JB
14859 * calc/calc.el (calc-read-key-sequence):
14860 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14861
9c34a344
LMI
148622011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14863
14864 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14865 Tell the caller that the next line needs recomputation, even
14866 though it doesn't start a sexp (bug#10094).
14867
f04a3be9
SM
148682011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14871
7978747f
SM
148722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14873
f04a3be9
SM
14874 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14875 Use force-same-window.
7978747f 14876
fe7a3057
JB
148772011-11-20 Juanma Barranquero <lekktu@gmail.com>
14878
14879 * descr-text.el (describe-char-unicode-data):
14880 * json.el (json-string-escape):
14881 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14882 (Footnote-unicode, Footnote-style-p):
14883 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14884
24901d61
CY
148852011-11-20 Chong Yidong <cyd@gnu.org>
14886
14887 * window.el (replace-buffer-in-windows): Restore interactive spec.
14888
bac7ff22
SM
148892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14890
24f3d7b9
SM
14891 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14892
bac7ff22
SM
14893 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14894 (byte-compile-global-not-obsolete-vars): New var.
14895 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14896 Use it.
14897 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14898
cd1181db
JB
148992011-11-20 Juanma Barranquero <lekktu@gmail.com>
14900
14901 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14902 * progmodes/pascal.el (electric-pascal-equal):
14903 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14904 * xml.el (xml-substitute-special): Fix typos.
14905
7fb18e9e
GM
149062011-11-20 Glenn Morris <rgm@gnu.org>
14907
14908 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14909 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14910 Doc fixes.
14911 (rmail-decode-mime-charset): Mark as obsolete.
14912
14913 * mail/rmailsum.el (rmail-message-regexp-p-1):
14914 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14915 Before using mime functions, check they are set. (Bug#10077)
14916
d5a6b3ba
JL
149172011-11-19 Juri Linkov <juri@jurta.org>
14918
14919 * info.el (Info-finder-find-node): Use `package--builtins' instead
14920 of `package-alist'. Use node names formed by the pattern "Keyword "
14921 and the keyword name.
14922
e981b61f
AS
149232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14924
1d00653d 14925 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14926
3ffbc301
JL
149272011-11-19 Juri Linkov <juri@jurta.org>
14928
14929 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14930 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14931 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14932 `old-history', `old-history-forward'. Add let-binding
14933 `window-selected'. Remove calls to `kill-buffer',
14934 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14935 before calling `Info-find-node', so `Info-find-node-2' will reread
14936 the Info file. Restore window positions only when `window-selected'
14937 is non-nil.
14938
30c62133
JL
149392011-11-19 Juri Linkov <juri@jurta.org>
14940
14941 * isearch.el (isearch-lazy-highlight-new-loop):
14942 Remove condition `(not isearch-error)'. (Bug#9918)
14943
14944 * misearch.el (multi-isearch-search-fun): Add condition
14945 `(not bound)' to ignore lazy-highlighting search.
14946 Add the search-failed message "end of multi" when the end of
14947 multi-sequence is reached. Uncapitalize the search-failed
14948 message "Repeat for next buffer".
14949
14950 * info.el (Info-search): Add the search-failed message
14951 "end of the manual" when the end of the manual is reached
14952 in Isearch mode.
14953
645ca9cf
JL
149542011-11-19 Juri Linkov <juri@jurta.org>
14955
14956 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14957 Use non-destructive `remove' instead of `delete' because
14958 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14959 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14960
df754f66
JL
149612011-11-19 Juri Linkov <juri@jurta.org>
14962
14963 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14964 to nil instead of binding `search-ring' and `regexp-search-ring'.
14965 (Bug#9185)
14966
0e23d96a
EZ
149672011-11-19 Eli Zaretskii <eliz@gnu.org>
14968
14969 * simple.el (line-move): Force movement by logical lines for any
14970 hscrolled window, not only when auto-hscroll-mode is on.
14971 (line-move-visual): Update doc string to that effect. (Bug#10076)
14972
8a6ccb66
AS
149732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14974
14975 * language/european.el (macintosh): Define as alias for mac-roman.
14976
49ae5b39
EZ
149772011-11-19 Eli Zaretskii <eliz@gnu.org>
14978
14979 * mail/rmailmm.el (rmail-mime-display-header)
14980 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14981 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14982 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14983 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14984 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14985 of a raw aref.
14986 (rmail-mime-entity-segment): To get past the tagline, move forward
14987 2 more lines, to account for the 2 empty lines that precede and
14988 follow the line with the buttons.
14989 (rmail-mime-update-tagline): Move one more line, to get past the
14990 empty line that follows the buttons in the tagline. (Bug#9520)
14991
c56cad4a
MR
149922011-11-19 Martin Rudalics <rudalics@gmx.at>
14993
14994 * window.el (window-max-delta-1, window-min-delta-1)
14995 (window-min-size-1, window-state-get-1, window-state-put-1)
14996 (window-state-put-2): Use "window--" prefix.
14997
cbe71af3
SM
149982011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14999
2ad52c60
SM
15000 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15001 (smie-warning-count): New var.
15002 (smie-set-prec2tab): Use it.
15003 (smie-bnf->prec2): Improve warnings. Add docstring.
15004 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15005 (smie-bnf--set-class): New function.
15006 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15007 corner case.
15008
6944dbc1
SM
15009 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15010 (compilation-error-properties, compilation-move-to-column):
15011 Handle compilation-first-column while in the target buffer.
15012
c400c4d7
SM
15013 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15014 Don't hardcode point-min==1.
15015
6dbe3e96
SM
15016 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15017 (eshell-rewrite-for-command): Remove workaround.
15018 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15019 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15020 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15021
cbe71af3
SM
15022 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15023
a8e1496d
GM
150242011-11-17 Glenn Morris <rgm@gnu.org>
15025
15026 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15027 Ignore buffer-local generated-autoload-file if it is the same
15028 as the global value. (Bug#10049)
15029
df85d315
JB
150302011-11-17 Juanma Barranquero <lekktu@gmail.com>
15031
15032 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15033 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15034 (reftex-toc-previous-heading, reftex-toc-max-level)
15035 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15036 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15037 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15038 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15039 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15040 (reftex-toc-rename-label, reftex-toc-visit-location)
15041 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15042 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15043 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15044 leaving "*toc*" only for references to the buffer.
15045
a0c2d0ae
MR
150462011-11-17 Martin Rudalics <rudalics@gmx.at>
15047
15048 * window.el (window-resize, delete-window, split-window):
15049 Replace window-splits by window-combination-resize.
1d00653d 15050 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15051
35c0bac8
GM
150522011-11-17 Glenn Morris <rgm@gnu.org>
15053
15054 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15055 Make bash entry derive from sh entry, not shell entry.
15056
d0c8fc8a
MA
150572011-11-16 Michael Albinus <michael.albinus@gmx.de>
15058
7262a87c
MA
15059 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15060 local file name.
15061
7877f373
JB
150622011-11-16 Juanma Barranquero <lekktu@gmail.com>
15063
15064 * menu-bar.el (menu-bar-file-menu):
15065 * printing.el (pr-ps-utility):
15066 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15067 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15068 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15069 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15070 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15071 (icalendar--convert-cyclic-to-ical)
15072 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15073 (icalendar--convert-ical-to-diary)
15074 (icalendar--convert-recurring-to-diary)
15075 (icalendar--convert-non-recurring-all-day-to-diary)
15076 (icalendar-import-format-sample):
15077 * progmodes/idlw-shell.el (idlwave-shell-mode):
15078 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15079 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15080 (vhdl-ps-print-init): Fix typos.
15081
10649b82
KM
150822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15083
9d0cfcd6
GM
15084 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15085 FSF and collapse date sequence, obscure author/maintainer email address
15086 better, remove extra version line, track relocation of author's webpage.
10649b82 15087
9d0cfcd6
GM
15088 * progmodes/python.el (python-pdbtrack-input-prompt)
15089 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15090 regular python pdb prompts. Adjustments shamelessly taken exactly as
15091 suggested in EmacsWiki page (tiny change):
15092 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15093
58179cce
JB
150942011-11-16 Juanma Barranquero <lekktu@gmail.com>
15095
15096 * expand.el (expand-pos, expand-index, expand-point):
15097 Remove redundant info from docstring.
15098 (expand-add-abbrevs): Doc fix.
15099 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15100 (expand-sample-perl-mode-expand-list): Fix typos.
15101
15102 * net/dbus.el (dbus-event-member-name):
15103 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15104 * term/pc-win.el (msdos-create-frame-with-faces):
15105 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15106
b6f67890
MR
151072011-11-16 Martin Rudalics <rudalics@gmx.at>
15108
15109 * window.el (split-window, window-state-get-1)
15110 (window-state-put-1, window-state-put-2): Rename occurrences of
15111 window-nest to window-combination-limit.
1d00653d 15112 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15113
ce7ddba0
CY
151142011-11-16 Chong Yidong <cyd@gnu.org>
15115
15116 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15117 regexp (Bug#10033).
15118
3ae704f4
SM
151192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15122 `completing-read' will remove *Completions* and will preserve
15123 current-buffer for us.
15124 (tmm-add-prompt): Users of *Completions* will always (re)set its
15125 major mode.
15126 (tmm-old-comp-map): Remove.
15127
6ad1cdde
GM
151282011-11-16 Glenn Morris <rgm@gnu.org>
15129
15130 * mail/rmailedit.el: Require rmailmm when compiling.
15131 (rmail-old-mime-state): New declaration.
15132 (rmail-edit-current-message): If editing a mime message,
15133 edit the "raw" message from the mbox buffer.
15134 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15135
d20faa20
GM
151362011-11-15 Glenn Morris <rgm@gnu.org>
15137
15138 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15139 which wasn't being used. Add optional arg to force given state.
15140 (rmail-mime): Add optional arg to force given state.
15141
c7015153
JB
151422011-11-15 Juanma Barranquero <lekktu@gmail.com>
15143
15144 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15145 * frame.el (display-mm-dimensions-alist):
15146 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15147 (outline-move-subtree-down):
15148 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15149 (newsticker--treeview-do-get-node):
15150 * net/quickurl.el (quickurl-list-buffer-name):
15151 * progmodes/dcl-mode.el (dcl-mode):
15152 * progmodes/gdb-mi.el (gdb-mapcar*):
15153 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15154
45261b50
GM
151552011-11-15 Glenn Morris <rgm@gnu.org>
15156
15157 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15158 in a boolean sense, so just make it a boolean, and fix the doc.
15159 (rmail-show-mime-function, rmail-mime-feature)
15160 (rmail-require-mime-maybe): Doc fixes.
15161 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15162
15163 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15164
0d26e0b6
JB
151652011-11-15 Juanma Barranquero <lekktu@gmail.com>
15166
15167 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15168 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15169 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15170 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15171
447f30f6
GM
151722011-11-15 Glenn Morris <rgm@gnu.org>
15173
672b871d
GM
15174 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15175 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15176 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15177 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15178 (rmail-mime, rmail-show-mime): Doc fixes.
15179
f6aa5bb1
GM
15180 * term/ns-win.el (mode-line-frame-identification):
15181 Leave it alone. (Bug#10051)
15182
947cd66b
GM
15183 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15184
447f30f6
GM
15185 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15186 Handle empty buffers. (Bug#9978)
15187
0b381c7e
JB
151882011-11-14 Juanma Barranquero <lekktu@gmail.com>
15189
15190 * international/mule.el (define-charset):
15191 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15192 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15193 * progmodes/verilog-mode.el (verilog-backward-token):
15194 * textmodes/ispell.el (lookup-words):
15195 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15196
71e027ac
GM
151972011-11-14 Glenn Morris <rgm@gnu.org>
15198
56632ce4
GM
15199 * progmodes/executable.el
15200 (executable-make-buffer-file-executable-if-script-p):
15201 Handle file-modes returning nil.
15202
40500957
GM
15203 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15204 message - not necessary, and causes problems. (Bug#9831)
15205
071c2340
GM
15206 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15207
d3cfca60
GM
15208 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15209
71e027ac
GM
15210 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15211 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15212 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15213
89d61221
MR
152142011-11-12 Martin Rudalics <rudalics@gmx.at>
15215
15216 * window.el (window-resize, delete-window): Use window-splits
15217 variable instead of function.
15218 (window-state-get-1, window-state-put-2, window-state-put):
15219 Don't deal with windows' splits status.
15220
98282f6f
GM
152212011-11-12 Glenn Morris <rgm@gnu.org>
15222
15223 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15224 (apropos-documentation): Doc fixes.
15225
40a8bdf6
JB
152262011-11-11 Juanma Barranquero <lekktu@gmail.com>
15227
15228 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15229 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15230
65bd19ff
SM
152312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * electric.el (electric-indent-post-self-insert-function): Make it
15234 possible for a char to only indent in some circumstances.
15235 (electric-indent-mode): Simplify.
15236
54f9154c
MR
152372011-11-11 Martin Rudalics <rudalics@gmx.at>
15238
15239 * window.el (windows-with-parameter): Remove unused function.
15240 (windows-at-side): Rename to window-at-side-list.
15241 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15242 (window-side-check, window-size-ignore, window-size-fixed-1)
15243 (window-in-direction-2): Prefix with "window--".
15244 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15245
68cbc58b
GM
152462011-11-11 Glenn Morris <rgm@gnu.org>
15247
15248 * subr.el (eval-after-load): If FILE is already loaded,
15249 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15250
b2621720
GM
152512011-11-10 Glenn Morris <rgm@gnu.org>
15252
9a4de110
GM
15253 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15254 Call svn via vc-svn-command rather than vc-do-command.
15255 (vc-svn-command): Add --non-interactive. (Bug#9993)
15256 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15257
b2621720
GM
15258 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15259 Add toggle-read-only. (Bug#7292)
15260 * files.el (toggle-read-only): Mention that it should only
15261 be used interactively. (Bug#10006)
15262
1dce7193
SM
152632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15264
d9ac1a1e
SM
15265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15266 Adjust regexp for OCaml warnings.
15267
0c325082
SM
15268 * electric.el (electric-pair-post-self-insert-function): Let user
15269 turn it off buffer-locally (bug#9932).
15270
90132c14
SM
15271 * progmodes/python.el (python-beginning-of-statement):
15272 Rewrite (bug#2703).
15273
1dce7193
SM
15274 * progmodes/compile.el: Better handle TABs (bug#9749).
15275 (compilation-internal-error-properties)
15276 (compilation-next-error-function): Obey the target buffer's
15277 compilation-error-screen-columns.
15278
c4e7c63a
JB
152792011-11-09 Juanma Barranquero <lekktu@gmail.com>
15280
15281 * progmodes/meta-mode.el: Remove obsolete comments.
15282 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15283 Fix typos in docstrings.
15284
2cffd681
MR
152852011-11-09 Martin Rudalics <rudalics@gmx.at>
15286
15287 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15288 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15289 (window--resizable): New function. Make all callers of
15290 window-resizable call window--resizable instead.
15291 (window-resizable): Rewrite in terms of window--resizable.
15292
0edcba87
GM
152932011-11-08 Glenn Morris <rgm@gnu.org>
15294
15295 * progmodes/delphi.el (delphi-mode-syntax-table):
15296 Let define-derived-mode define a proper syntax table. (Bug#9994)
15297
4b0d61e3
SM
152982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * window.el: Stay away from defsubst.
15301 (window-list-no-nils): Remove.
15302 (window-state-get-1, window-state-get): Use backquote instead.
15303
cd394be1 153042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15305
4b0d61e3 15306 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15307 Fix incorrect use of default argument in `completing-read'.
15308
e1c2c6f2
MR
153092011-11-08 Martin Rudalics <rudalics@gmx.at>
15310
15311 * window.el (display-buffer-function, special-display-function):
15312 Mention display-buffer-record-window but do not mention
15313 help-setup parameter in doc-strings.
b3f4a882 15314 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15315
105216ed
CY
153162011-11-08 Chong Yidong <cyd@gnu.org>
15317
15318 * window.el (window-total-height, window-total-width): Doc fix.
15319 (window-body-size): Move from C.
15320 (window-body-height, window-body-width): Move to C.
15321
0a9f9ab5
SM
153222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15323
15324 * window.el: Make special-display like display-buffer-alist (bug#9532).
15325 (display-buffer--special-action): New function, morphed
15326 from display-buffer--special.
15327 (display-buffer): Use it to handle special-display-buffers at higher
15328 priority (just after display-buffer-alist).
15329 (display-buffer-fallback-action, display-buffer--other-frame-action)
15330 (pop-to-buffer-same-window): Remove display-buffer--special.
15331
a769dd15
GM
153322011-11-07 Glenn Morris <rgm@gnu.org>
15333
15334 * calendar/cal-menu.el (cal-menu-set-date-title):
15335 Do nothing if not in a calendar. (Bug#9976)
15336
05a61ee3
SM
153372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * files.el (find-file): Always use selected-window.
15340
be7f5545
MR
153412011-11-07 Martin Rudalics <rudalics@gmx.at>
15342
15343 * window.el (window-combinations): Make WINDOW argument
15344 mandatory. Rewrite doc-string.
15345 (walk-window-subtree, window-atom-check, window-min-delta)
15346 (window-max-delta, window--resize-this-window)
15347 (window--resize-root-window-vertically, window-tree)
15348 (balance-windows, window-state-put): Rewrite doc-strings as to
15349 not mention the term "subwindow".
15350 (window--resize-subwindows-skip-p): Rename to
15351 window--resize-child-windows-skip-p.
15352 (window--resize-subwindows-normal): Rename to
15353 window--resize-child-windows-normal.
15354 (window--resize-subwindows): Rename to
15355 window--resize-child-windows.
15356 (window-or-subwindow-p): Rename to window--in-subtree-p.
15357
3c6702ef
ML
153582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15359
15360 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15361 Ensure that mbox format messages end in two newlines (Bug#9974).
15362
49745b39
CY
153632011-11-06 Chong Yidong <cyd@gnu.org>
15364
15365 * window.el (window-combination-p): Function deleted; its
15366 side-effect is not used in any existing code.
15367 (window-combinations, window-combined-p): Call window-*-child
15368 directly.
15369
24300f5f
CY
153702011-11-05 Chong Yidong <cyd@gnu.org>
15371
15372 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15373 (window-size-ignore, window-state-get): Callers changed.
15374 (window-normalize-window): Rename from window-normalize-any-window.
15375 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15376 (window-normalize-live-window): Delete.
447f16b8
CY
15377 (window-combination-p, window-combined-p, window-combinations)
15378 (walk-window-subtree, window-atom-root, window-min-size)
15379 (window-sizable, window-sizable-p, window-size-fixed-p)
15380 (window-min-delta, window-max-delta, window-resizable)
15381 (window-resizable-p, window-full-height-p, window-full-width-p)
15382 (window-current-scroll-bars, window-point-1, set-window-point-1)
15383 (window-at-side-p, window-in-direction, window-resize)
15384 (adjust-window-trailing-edge, maximize-window, minimize-window)
15385 (window-deletable-p, delete-window, delete-other-windows)
15386 (record-window-buffer, unrecord-window-buffer)
15387 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15388 (quit-window, split-window, window-state-put)
15389 (set-window-text-height, fit-window-to-buffer)
15390 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15391
89bd5ee1
EZ
153922011-11-04 Eli Zaretskii <eliz@gnu.org>
15393
53479029
EZ
15394 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15395 rfc2047-decode-string.
15396 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15397 warnings.
15398
89bd5ee1
EZ
15399 * window.el (window-body-height, window-body-width): Mention in
15400 the doc string that the return values are in frame's canonical
15401 units. (Bug#9949)
15402
bd17fdee
AM
154032011-11-03 Alan Mackenzie <acm@muc.de>
15404
15405 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15406 change in cc-engine.el.
15407
acc825c5
SM
154082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15409
15410 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15411
1885e5b8
MR
154122011-11-02 Martin Rudalics <rudalics@gmx.at>
15413
15414 * window.el (quit-window): Call unrecord-window-buffer after
15415 showing another buffer in the window. (Bug#9937)
acc825c5 15416 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15417
ebe06da9
JB
154182011-11-02 Juanma Barranquero <lekktu@gmail.com>
15419
15420 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15421 Accept status with more than 9 shelves. (Bug#9935)
15422 Reported by Colin D Bennett <colin@gibibit.com>.
15423
4ee88440
MR
154242011-11-01 Martin Rudalics <rudalics@gmx.at>
15425
15426 * help.el (with-help-window): Don't reference
15427 temp-buffer-show-specifiers in doc-string.
15428
08e1d82c
AS
154292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15430
15431 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15432 menu-item.
15433
84bd6e9e
VJL
154342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15435
15436 * whitespace.el: New version 13.2.2.
15437 (whitespace-newline-mode): Disable properly. Reported by Sarah
15438 <EmacsWiki>.
15439
dba0634a
UJ
154402011-10-30 Ulf Jasper <ulf.jasper@web.de>
15441
15442 * net/newst-treeview.el: Remove "Time-stamp".
15443 (newsticker--group-manage-orphan-feeds): Do not call
15444 newsticker--treeview-tree-update.
db22a3c2
JB
15445 (newsticker-treeview-update, newsticker-treeview):
15446 Call newsticker--treeview-tree-update if necessary.
dba0634a 15447
3d8daefe
MR
154482011-10-30 Martin Rudalics <rudalics@gmx.at>
15449
15450 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15451 (window-iso-combinations): Remove "iso-" infix.
15452 Suggested by Chong Yidong.
3d8daefe
MR
15453 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15454 (window-max-delta-1, window-resize, window--resize-siblings)
15455 (window--resize-this-window, adjust-window-trailing-edge)
15456 (split-window, balance-windows-1)
15457 (shrink-window-if-larger-than-buffer):
15458 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15459 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15460
1bc4c3ae
SM
154612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15464 in place (bug#9907).
15465 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15466 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15467 (eshell-structure-basic-command, eshell-rewrite-while-command)
15468 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15469 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15470 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15471 (eshell-do-pipelines-synchronously, eshell-eval-command):
15472 Use backquotes and prefer setq to set.
15473 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15474 (eshell-macrop): Use functionp.
c1e2f5fa 15475 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15476
30b65d9c
CY
154772011-10-30 Chong Yidong <cyd@gnu.org>
15478
15479 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15480 instead of set-mark (Bug#9810).
15481
2d197ffb
CY
154822011-10-30 Chong Yidong <cyd@gnu.org>
15483
15484 * window.el (split-window-below, split-window-right): Rename from
15485 split-window-above-each-other and split-window-side-by-side
15486 respectively. All callers changed.
15487 (split-window-sensibly, split-window-sensibly): Use them.
15488 (split-window-keep-point): Doc fix.
15489
15490 * isearch.el: Add isearch-scroll property to split-window-below
15491 and split-window-right.
15492
15493 * follow.el (follow-mode):
15494 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15495 * progmodes/ada-xref.el (ada-gdb-application):
15496 * emulation/vip.el (vip-buffer-in-two-windows):
15497 * image-dired.el (image-dired-dired-with-window-configuration):
15498 * dired-x.el (dired-do-find-marked-files):
15499 * dired.el (dired-pop-to-buffer):
15500 * bs.el (bs--show-with-configuration):
15501 * vc/emerge.el (emerge-setup-windows):
15502 * textmodes/two-column.el (2C-two-columns):
15503 * textmodes/reftex-toc.el (reftex-toc):
15504 * progmodes/gdb-mi.el (gdb-setup-windows):
15505 * progmodes/fortran.el (fortran-window-create):
15506 * net/newst-treeview.el (newsticker--treeview-window-init):
15507 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15508 * emulation/tpu-edt.el (tpu-gold-map):
15509 * emulation/crisp.el (crisp-mode-map):
15510 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15511
38bb2ca8
CY
155122011-10-29 Chong Yidong <cyd@gnu.org>
15513
aa4de341
CY
15514 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15515
e1eb5385
CY
15516 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15517
5d2ece3c
CY
15518 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15519 forged Ispell output (Bug#7904).
15520
38bb2ca8
CY
15521 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15522
d0af9f77
SM
155232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * doc-view.el: Avoid ugly errors about not finding nil.
15526 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15527 (doc-view-dvipdf-program, doc-view-unoconv-program)
15528 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15529 Avoid nil or absolute file name as default value.
15530 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15531
52bedd34
AM
155322011-10-28 Alan Mackenzie <acm@muc.de>
15533
db22a3c2 15534 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15535
7e43cfa5
AM
155362011-10-28 Alan Mackenzie <acm@muc.de>
15537
15538 Amend the handling of c-beginning/end-of-defun in nested declaration
15539 scopes.
15540
52bedd34
AM
15541 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15542 cc-langs.el. Change it to a defcustom.
7e43cfa5 15543
52bedd34
AM
15544 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15545 cc-vars.el.
7e43cfa5 15546
d0af9f77
SM
15547 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15548 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15549
52bedd34 15550 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15551 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15552 (c-widen-to-enclosing-decl-scope): New function.
15553 (c-while-widening-to-decl-block): New macro.
15554 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15555 outward for defun boundaries, and correspondingly change symbol
15556 `respect-enclosure' to `go-outward'.
15557 (c-declaration-limits): Change algorithm to report only the "innermost"
15558 defun's boundaries.
15559
1a2ce9ee
DD
155602011-10-28 Deniz Dogan <deniz@dogan.se>
15561
15562 * net/rcirc.el (rcirc-mode): Use hard newlines.
15563
bc97a826
AM
155642011-10-28 Alan Mackenzie <acm@muc.de>
15565
15566 Amend to indent and fontify macros "which include their own semicolon"
15567 correctly, using the "virtual semicolon" mechanism.
15568
52bedd34 15569 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15570
d0af9f77 15571 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15572 Recode to scan one line at a time rather than having \n and \r
58179cce 15573 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15574 (c-forward-label): Amend for virtual semicolons.
58179cce 15575 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15576
52bedd34
AM
15577 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15578 of the new C macros.
bc97a826 15579
52bedd34 15580 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15581 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15582 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15583 (c-opt-cpp-macro-define): Make into a full language variable.
15584 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15585 AWK Mode (including \n, \r) removed, no longer needed.
15586
d0af9f77
SM
15587 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15588 Invoke c-make-macro-with-semi-re.
bc97a826 15589
52bedd34
AM
15590 * progmodes/cc-vars.el (c-macro-with-semi-re):
15591 (c-macro-names-with-semicolon): New variables.
58179cce 15592 (c-make-macro-with-semi-re): New function.
bc97a826 15593
7a6c0941
SM
155942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15595
15596 * vc/log-edit.el: Fill empty field rather than adding new one.
15597 (log-edit-add-field): New function.
15598 (log-edit-insert-changelog): Use it.
15599
b0c4cdcf
ML
156002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15601
15602 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15603
ee1f1da9
SM
156042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15605
15606 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15607 (gdb--check-interpreter): New function.
15608 (gdb): Use it.
15609
51bc5f8b
GM
156102011-10-27 Glenn Morris <rgm@gnu.org>
15611
416a2c45
GM
15612 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15613 (least-positive-float, least-negative-float)
15614 (least-positive-normalized-float, least-negative-normalized-float)
15615 (float-epsilon, float-negative-epsilon):
15616 Remove unnecessary declarations.
15617
15618 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15619 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15620 (least-positive-float, least-negative-float)
15621 (least-positive-normalized-float, least-negative-normalized-float)
15622 (float-epsilon, float-negative-epsilon): Add doc-strings,
15623 based on those in cl.texi.
15624
51bc5f8b
GM
15625 * files.el (set-visited-file-name): If the major-mode changed,
15626 reload the local variables. (Bug#9796)
15627
15de15c6
CY
156282011-10-27 Chong Yidong <cyd@gnu.org>
15629
15630 * subr.el (change-major-mode-after-body-hook): New hook.
15631 (run-mode-hooks): Run it.
15632
ee1f1da9
SM
15633 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15634 Use change-major-mode-before-body-hook.
15de15c6
CY
15635
15636 * simple.el (fundamental-mode):
15637 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15638 change introducing fundamental-mode-hook.
15639
5430d399
JB
156402011-10-26 Juanma Barranquero <lekktu@gmail.com>
15641
acc825c5 15642 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15643
ad74a69e
MA
156442011-10-26 Michael Albinus <michael.albinus@gmx.de>
15645
15646 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15647 tramp.el explicitly. (Bug#7583)
ad74a69e 15648
71d4c2a5
SM
156492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * progmodes/octave-mod.el:
15652 * progmodes/octave-inf.el: Update maintainer.
15653
b1f6fa26
CY
156542011-10-26 Chong Yidong <cyd@gnu.org>
15655
15656 * subr.el (with-wrapper-hook): Rewrite doc.
15657
3f04efd6
MA
156582011-10-25 Michael Albinus <michael.albinus@gmx.de>
15659
15660 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15661 filenames "/method:foo:". (Bug#9793)
3f04efd6 15662
410488d3
SM
156632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15666 (bug#9865).
15667
c1ebb47e
GM
156682011-10-24 Glenn Morris <rgm@gnu.org>
15669
15670 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15671
7f5c46c7
MA
156722011-10-24 Michael Albinus <michael.albinus@gmx.de>
15673
15674 * notifications.el: Add the requirement of a running D-Bus session
15675 bus to the Commentary.
15676
db2440b6
JL
156772011-10-24 Juri Linkov <juri@jurta.org>
15678
15679 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15680 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15681 (Bug#9364)
15682
feecf435
JL
156832011-10-24 Juri Linkov <juri@jurta.org>
15684
15685 * info.el (Info-following-node-name-re): Add newline to the list
15686 of allowed characters for leading space. (Bug#9824)
15687
a3839de2
SM
156882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15689
acc825c5
SM
15690 * progmodes/octave-inf.el (inferior-octave-mode-map):
15691 Fix C-c C-h binding.
a3839de2
SM
15692 * progmodes/octave-mod.el (octave-help): Remove.
15693
09388e76
MA
156942011-10-23 Michael Albinus <michael.albinus@gmx.de>
15695
15696 Sync with Tramp 2.2.3.
15697
15698 * net/tramp-cache.el (top): Pacify byte-compiler using
15699 `init-file-user' and `site-run-file'.
15700
15701 * net/trampver.el: Update release number.
15702
86c60681
CY
157032011-10-23 Chong Yidong <cyd@gnu.org>
15704
15705 * files.el (toggle-read-only): Remove obsolete comment about
15706 version control.
15707
15708 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15709 for toggle-read-only. Note that this hasn't called vc-next-action
15710 since 2008-05-02, though it wasn't documented at the time.
15711
a3839de2
SM
15712 * vc/ediff-init.el (ediff-toggle-read-only-function):
15713 Use toggle-read-only.
86c60681 15714
cd5495ff
AM
157152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15716
15717 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15718 of c-parse-state.
15719
00b77525 15720 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15721 correct faulty logical expression.
cd5495ff
AM
15722 (c-parse-state-state, c-record-parse-state-state):
15723 (c-replay-parse-state-state): New defvar/defuns.
15724 (c-debug-parse-state): Use new functions.
15725
42ee24ed
MR
157262011-10-22 Martin Rudalics <rudalics@gmx.at>
15727
15728 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15729 last fix. Use window-in-direction correctly.
42ee24ed 15730
a7dee7e7
CY
157312011-10-21 Chong Yidong <cyd@gnu.org>
15732
15733 * progmodes/idlwave.el (idlwave-mode):
15734 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15735 require-final-newline; that's done in prog-mode.
15736 Suggested by Stefan Monnier.
a7dee7e7 15737
e07b9a6d
MR
157382011-10-21 Martin Rudalics <rudalics@gmx.at>
15739
15740 * mouse.el (mouse-drag-window-above)
15741 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15742 (mouse-drag-mode-line-1, mouse-drag-header-line)
15743 (mouse-drag-vertical-line-rightward-window): Remove.
15744 (mouse-drag-line): New function.
15745 (mouse-drag-mode-line, mouse-drag-header-line)
15746 (mouse-drag-vertical-line): Call mouse-drag-line.
15747 * window.el (window-at-side-p, windows-at-side): New functions.
15748
7e1361d9
UM
157492011-10-21 Ulrich Mueller <ulm@gentoo.org>
15750
15751 * tar-mode.el (tar-grind-file-mode):
15752 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15753
30fcaf3a
CY
157542011-10-21 Chong Yidong <cyd@gnu.org>
15755
15756 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15757 * progmodes/vera-mode.el (vera-mode):
15758 Use mode-require-final-newline.
30fcaf3a 15759
516eddb0
GM
157602011-10-20 Glenn Morris <rgm@gnu.org>
15761
db22a3c2 15762 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15763
10d5f513
CS
157642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15765
15766 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15767
ac6c8639
CY
157682011-10-20 Chong Yidong <cyd@gnu.org>
15769
15770 * emulation/cua-base.el (cua-mode):
15771 * mail/footnote.el (footnote-mode):
15772 * mail/mailabbrev.el (mail-abbrevs-mode):
15773 * net/xesam.el (xesam-minor-mode):
15774 * progmodes/bug-reference.el (bug-reference-mode):
15775 * progmodes/cap-words.el (capitalized-words-mode):
15776 * progmodes/compile.el (compilation-minor-mode)
15777 (compilation-shell-minor-mode):
15778 * progmodes/gud.el (gud-tooltip-mode):
15779 * progmodes/hideif.el (hide-ifdef-mode):
15780 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15781 * progmodes/subword.el (subword-mode):
15782 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15783 * progmodes/which-func.el (which-function-mode):
15784 * term/tvi970.el (tvi970-set-keypad-mode):
15785 * term/vt100.el (vt100-wide-mode):
15786 * textmodes/flyspell.el (flyspell-mode):
15787 * textmodes/ispell.el (ispell-minor-mode):
15788 * textmodes/nroff-mode.el (nroff-electric-mode):
15789 * textmodes/paragraphs.el (use-hard-newlines):
15790 * textmodes/refill.el (refill-mode):
15791 * textmodes/reftex.el (reftex-mode):
15792 * textmodes/rst.el (rst-minor-mode):
15793 * textmodes/sgml-mode.el (html-autoview-mode)
15794 (sgml-electric-tag-pair-mode):
15795 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15796 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15797 * emulation/crisp.el (crisp-mode):
15798 * emacs-lisp/eldoc.el (eldoc-mode):
15799 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15800 minor mode behavior.
15801
aa42ab43
JL
158022011-10-19 Juri Linkov <juri@jurta.org>
15803
15804 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15805 the list of hard-coded chars with escape-glyph face.
15806
89400f1d
SM
158072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15810
305c07f6
MA
158112011-10-19 Michael Albinus <michael.albinus@gmx.de>
15812
15813 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15814 running process.
15815
13754b54
GM
158162011-10-19 Glenn Morris <rgm@gnu.org>
15817
15818 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15819 Ignore ignored files. (Bug#9726)
15820
06e21633
CY
158212011-10-19 Chong Yidong <cyd@gnu.org>
15822
15823 Doc fix for minor modes, stating that an omitted argument enables
15824 the mode unconditionally when called from Lisp.
15825
15826 * abbrev.el (abbrev-mode):
15827 * allout.el (allout-mode):
15828 * autoinsert.el (auto-insert-mode):
15829 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15830 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15831 (global-auto-revert-mode):
15832 * battery.el (display-battery-mode):
15833 * composite.el (global-auto-composition-mode)
15834 (auto-composition-mode):
15835 * delsel.el (delete-selection-mode):
15836 * desktop.el (desktop-save-mode):
15837 * dired-x.el (dired-omit-mode):
15838 * dirtrack.el (dirtrack-mode):
15839 * doc-view.el (doc-view-minor-mode):
15840 * double.el (double-mode):
15841 * electric.el (electric-indent-mode, electric-pair-mode):
15842 * emacs-lock.el (emacs-lock-mode):
15843 * epa-hook.el (auto-encryption-mode):
15844 * follow.el (follow-mode):
15845 * font-core.el (font-lock-mode):
15846 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15847 * help.el (temp-buffer-resize-mode):
15848 * hilit-chg.el (highlight-changes-mode)
15849 (highlight-changes-visible-mode):
15850 * hi-lock.el (hi-lock-mode):
15851 * hl-line.el (hl-line-mode, global-hl-line-mode):
15852 * icomplete.el (icomplete-mode):
15853 * ido.el (ido-everywhere):
15854 * image-file.el (auto-image-file-mode):
15855 * image-mode.el (image-minor-mode):
15856 * iswitchb.el (iswitchb-mode):
15857 * jka-cmpr-hook.el (auto-compression-mode):
15858 * linum.el (linum-mode):
15859 * longlines.el (longlines-mode):
15860 * master.el (master-mode):
15861 * mb-depth.el (minibuffer-depth-indicate-mode):
15862 * menu-bar.el (menu-bar-mode):
15863 * minibuf-eldef.el (minibuffer-electric-default-mode):
15864 * mouse-sel.el (mouse-sel-mode):
15865 * msb.el (msb-mode):
15866 * mwheel.el (mouse-wheel-mode):
15867 * outline.el (outline-minor-mode):
15868 * paren.el (show-paren-mode):
15869 * recentf.el (recentf-mode):
15870 * reveal.el (reveal-mode, global-reveal-mode):
15871 * rfn-eshadow.el (file-name-shadow-mode):
15872 * ruler-mode.el (ruler-mode):
15873 * savehist.el (savehist-mode):
15874 * scroll-all.el (scroll-all-mode):
15875 * scroll-bar.el (scroll-bar-mode):
15876 * server.el (server-mode):
15877 * shell.el (shell-dirtrack-mode):
15878 * simple.el (auto-fill-mode, transient-mark-mode)
15879 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15880 (line-number-mode, column-number-mode, size-indication-mode)
15881 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15882 * strokes.el (strokes-mode):
15883 * time.el (display-time-mode):
15884 * t-mouse.el (gpm-mouse-mode):
15885 * tool-bar.el (tool-bar-mode):
15886 * tooltip.el (tooltip-mode):
15887 * type-break.el (type-break-mode-line-message-mode)
15888 (type-break-query-mode):
15889 * view.el (view-mode):
15890 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15891 (global-whitespace-mode, global-whitespace-newline-mode):
15892 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15893
a3839de2
SM
15894 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15895 Fix autogenerated docstring.
06e21633 15896
5214e501
JL
158972011-10-19 Juri Linkov <juri@jurta.org>
15898
15899 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15900 by checking environment variables "DESKTOP_SESSION" and
15901 "XDG_CURRENT_DESKTOP". (Bug#9779)
15902
195f8db9
JL
159032011-10-19 Juri Linkov <juri@jurta.org>
15904
15905 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15906 (browse-url-chromium-program, browse-url-chromium-arguments):
15907 New defcustoms.
15908 (browse-url-default-browser): Check for `browse-url-chromium' and
15909 call `browse-url-chromium-program'.
15910 (browse-url-chromium): New command. (Bug#9779)
15911
343a34ff
JB
159122011-10-18 Juanma Barranquero <lekktu@gmail.com>
15913
15914 * facemenu.el (list-colors-duplicates): On Windows, detect more
15915 duplicates by assuming that only colors matching "^System" are
15916 special "system colors". (Bug#9722)
15917
6978a151
SM
159182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15919
15920 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15921 to distinguish the author from the committer.
15922
6a80b297
MA
159232011-10-18 Michael Albinus <michael.albinus@gmx.de>
15924
15925 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15926
b31a5677
JK
159272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15928
15929 * international/mule.el (sgml-html-meta-auto-coding-function):
15930 Add support for detecting encoding in HTML5 specified only as
15931 <meta charset="UTF-8">. Implementation just makes http-equiv and
15932 content-type parts from HTML4 encoding string optional. (Bug#9716)
15933
80c6d77f
GM
159342011-10-18 Glenn Morris <rgm@gnu.org>
15935
15936 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15937
08b0fee8
CY
159382011-10-18 Chong Yidong <cyd@gnu.org>
15939
15940 * faces.el (cursor): Doc fix.
15941
67e729a5
CY
159422011-10-17 Chong Yidong <cyd@gnu.org>
15943
15944 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15945
343a34ff 159462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15947
15948 * dirtrack.el (dirtrack): Support shell buffers with path
15949 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15950
0bc06380
TZ
159512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15952
15953 * json.el: Bump version to 1.3 and note change in History.
15954 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15955
8b79f3e0
SM
159562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15957
5a7c536b
SM
15958 * comint.el (comint-insert-input, comint-send-input)
15959 (comint-get-old-input-default, comint-backward-matching-input)
15960 (comint-next-prompt): Use nil instead of `input' for field property of
15961 past user input (bug#114).
15962
96a8a0df
SM
15963 * minibuffer.el (completion--replace): Inherit surrounding properties
15964 (bug#114).
15965 (minibuffer-complete-and-exit): Use it.
15966
8b79f3e0
SM
15967 * comint.el (comint--table-subvert): Quote the all-completions output
15968 (bug#9160).
15969
b8f7ff0d
MR
159702011-10-17 Martin Rudalics <rudalics@gmx.at>
15971
8b79f3e0 15972 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15973
b8f7ff0d 15974 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15975 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15976 entries and separate them from frame entries.
15977
c235b555
GM
159782011-10-15 Glenn Morris <rgm@gnu.org>
15979
15980 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15981 Doc fixes.
15982
6bbfa6e1
CY
159832011-10-15 Chong Yidong <cyd@stupidchicken.com>
15984
8b79f3e0
SM
15985 * net/network-stream.el (network-stream-open-starttls):
15986 Improve detection of failure due to lack of TLS support.
ec5c990d 15987
6bbfa6e1
CY
15988 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15989 putting the input text in front and in bold.
15990
98488977
SM
159912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15992
3d1337be
SM
15993 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15994
ee0b45e4
SM
15995 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15996 empty buffer.
15997
98488977
SM
15998 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15999 unread-command-events rather than pushing yet-another event.
16000
186f4720
EZ
160012011-10-14 Eli Zaretskii <eliz@gnu.org>
16002
16003 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16004 the explanation of the possible choices. Make the options passed
16005 to completing-read shorter.
16006
8b7a997c
AM
160072011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16008
16009 * textmodes/flyspell.el (flyspell-large-region): Make sure
16010 extended character mode is used if defined (Bug#1339).
16011
12587bbb
EZ
160122011-10-13 Eli Zaretskii <eliz@gnu.org>
16013
16014 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16015 character info for LRE, LRO, RLE, and RLO characters by appending
16016 an invisible PDF.
12587bbb 16017
bad41229
SM
160182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16021 even in case of error; add debug spec; simplify data flow.
16022 (with-timeout-handler): Remove.
16023
28dbc92f
MA
160242011-10-12 Michael Albinus <michael.albinus@gmx.de>
16025
16026 Fix Bug#6019, Bug#9315.
16027
16028 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16029 complete `buffer-file-name', the local file name part could look
16030 remotely (for example on VMS).
16031
16032 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16033 `tramp-run-real-handler'.
16034 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16035 already quoted by '"'.
16036
16037 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16038 Let `file-name-handler-alist' be nil, the local file name part
16039 could look remotely (for example on VMS).
16040
e1b0b23a
SM
160412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16044 from here...
16045 (flyspell-post-command-hook): ...to here.
16046
a120bde9
SM
160472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16050 if not needed.
16051 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16052 using completion. Protect against "slow" callers.
16053 Remove the "message hack".
16054
7ce7717b
JL
160552011-10-11 Juri Linkov <juri@jurta.org>
16056
16057 * isearch.el (isearch-lazy-highlight-word): New variable.
16058 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16059 Use it. (Bug#9727)
16060
c02ee9d6
GM
160612011-10-11 Glenn Morris <rgm@gnu.org>
16062
16063 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16064 like f90-previous-statement does.
16065
93e616fd 160662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16067
1f190e73 16068 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16069 only in interactive use, to avoid error.
16070
af7b6078
SM
160712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * minibuffer.el (completion-file-name-table): Fix last change,
16074 i.e. ignore normal errors but not the other ones.
16075
0563dae9
MR
160762011-10-10 Martin Rudalics <rudalics@gmx.at>
16077
16078 * window.el (special-display-buffer-names)
16079 (special-display-regexps): Remove some remnants of earlier
16080 changes from doc-strings.
366ca7f3
MR
16081 (quit-windows-on): New function.
16082
16083 * vc/vc.el (vc-revert, vc-rollback):
16084 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16085 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16086 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16087
49677495
MR
160882011-10-09 Martin Rudalics <rudalics@gmx.at>
16089
16090 * window.el (frame-auto-hide-function): Add version tag.
16091 (Bug#9699)
16092
56f2d1e1
MA
160932011-10-09 Michael Albinus <michael.albinus@gmx.de>
16094
16095 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16096 condition.
16097
112a6592
LL
160982011-10-09 Leo Liu <sdl.web@gmail.com>
16099
16100 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16101 (Bug#9701)
16102
0812589b
GM
161032011-10-08 Glenn Morris <rgm@gnu.org>
16104
16105 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16106 before the first code statement zero indent. (Bug#9690)
16107
b2b0776e
CY
161082011-10-08 Chong Yidong <cyd@stupidchicken.com>
16109
16110 * simple.el (count-words-region): Always count in the region.
16111 Report the number of lines and characters too.
16112 (count-words): New command, which counts in the buffer if the
16113 region is inactive, as count-words-region used to.
16114 (count-words--message): New function. Handle plurals.
16115 (count-lines-region): Make it an alias for count-words-region.
16116
16117 * bindings.el (esc-map): Replace count-lines-region with
16118 count-words-region.
16119
c557cd6b
MR
161202011-10-08 Martin Rudalics <rudalics@gmx.at>
16121
16122 * window.el (window--delete): Delete dedicated frame
16123 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16124 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16125
61a57ef4 161262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16127
3a7d293b 16128 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16129
c3833279
CY
161302011-10-07 Chong Yidong <cyd@stupidchicken.com>
16131
16132 * bindings.el ([M-left],[M-right]): Bind to left-word and
16133 right-word respectively.
16134
21ce8245
GM
161352011-10-07 Glenn Morris <rgm@gnu.org>
16136
16137 * cus-start.el (debug-on-quit): Fix custom type.
16138
6d823bb2
LMI
161392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16140
0181e193
LMI
16141 * subr.el (define-key-after): Clarify that the function is not
16142 useful for non-menu keymaps.
16143
6d823bb2
LMI
16144 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16145
8e3459ce 161462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16147
21ce8245 16148 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16149 in current minibuffer (Fix bug with recursive minibuffers).
16150
a1c2d21e
CY
161512011-10-06 Chong Yidong <cyd@stupidchicken.com>
16152
16153 * progmodes/gdb-mi.el (gdb): Doc fix.
16154
5a4cf282
MR
161552011-10-05 Martin Rudalics <rudalics@gmx.at>
16156
16157 * window.el (frame-auto-hide-function): New option replacing
16158 frame-auto-delete. Suggested by Stefan Monnier.
16159 (window--delete): Call frame-auto-hide-function instead of
16160 investigating frame-auto-delete.
c96111ea
MR
16161 (window-point-1, set-window-point-1): New functions.
16162 (window-in-direction, record-window-buffer, window-state-get-1)
16163 (display-buffer-record-window): Use window-point-1 instead of
16164 window-point.
16165 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16166
9854542e
SM
161672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16168
16169 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16170
8943cfb0
GM
161712011-10-05 Glenn Morris <rgm@gnu.org>
16172
16173 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16174 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16175
647ab967
LL
161762011-10-05 Leo Liu <sdl.web@gmail.com>
16177
16178 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16179 works with buffer object.
16180
3ddfbced
SM
161812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16182
16183 * mpc.el (mpc-tool-bar-map): Add labels.
16184
bdfa5dd2
GM
161852011-10-04 Glenn Morris <rgm@gnu.org>
16186
16187 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16188
0e2070b5
MR
161892011-10-04 Martin Rudalics <rudalics@gmx.at>
16190
16191 * window.el (window--delete): New function.
16192 (frame-auto-delete): Resuscitate option.
16193 (bury-buffer, replace-buffer-in-windows)
16194 (quit-window): Rewrite using window--delete.
16195 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16196 Pass display-buffer-mark-dedicated to window--display-buffer-2
16197 (Bug#9639).
16198
3dc61a09
SM
161992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16200
915a9b64
SM
16201 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16202 returns a list (bug#9554). Add remote file name completion.
16203 * comint.el (comint--table-subvert): Curry and get quote&unquote
16204 functions as arguments.
16205 (comint--complete-file-name-data): Adjust call accordingly.
16206 * pcomplete.el (pcomplete--table-subvert): Remove.
16207 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16208
3dc61a09
SM
16209 * minibuffer.el (completion-table-case-fold): Use currying.
16210 (completion--styles-type, completion--cycling-threshold-type):
16211 New constants.
16212 (completion-styles, completion-category-overrides)
16213 (completion-cycle-threshold): Use them.
16214 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16215 completion-table-case-fold.
16216
8ea0a993
SB
162172011-10-03 Stephen Berman <stephen.berman@gmx.net>
16218
16219 * minibuffer.el (completion-category-overrides): Fix type of styles
16220 and add more user friendly tags (bug#9660).
16221
8c24b7f6
SM
162222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16223
16224 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16225 (mule-input-method-string): New widget.
16226 (default-input-method, language-info-custom-alist): Use it.
16227
428fe61a
SM
162282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16229
32c1fffd
SM
16230 * pcomplete.el: Require comint.
16231 (pcomplete--common-suffix): Remove.
16232 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16233 (pcomplete--table-subvert): Sync with comint--table-subvert.
16234 (pcomplete--entries): Use comint-completion-file-name-table.
16235 * comint.el (comint-unquote-filename): Simplify.
16236 (comint-completion-file-name-table): New function (bug#9616).
16237 (comint--complete-file-name-data): Use it.
16238
428fe61a
SM
16239 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16240 (pcmpl-gnu-tar-buffer): Remove.
16241 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16242 around. Make sure pcomplete-suffix-list is only changed temporarily.
16243 Don't look inside the tar's file if it's too large.
428fe61a 16244
04c52e2f
CY
162452011-10-01 Chong Yidong <cyd@stupidchicken.com>
16246
ce3cefcc
CY
16247 * cus-edit.el (custom-mode-map):
16248 * epa.el (epa-key-list-mode-map):
16249 * man.el (Man-mode-map):
16250 * startup.el (splash-screen-keymap):
16251 * simple.el (special-mode-map): Use scroll-up-command and
16252 scroll-down-command.
16253
16254 * progmodes/idlw-help.el (idlwave-help-mode-map):
16255 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16256 * net/newst-plainview.el (newsticker-mode-map):
16257 * emulation/ws-mode.el (wordstar-mode-map):
16258 * emulation/vi.el (vi-com-map):
16259 * calc/calc-graph.el (calc-graph-show-dumb):
16260 * term/sun.el (terminal-init-sun):
16261 * term/ns-win.el (global-map):
16262 * progmodes/grep.el (grep-mode-map):
16263 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16264 * mail/rmail.el (rmail-mode-map):
16265 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16266
04c52e2f
CY
16267 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16268 custom-safe-themes as special.
16269
79adf8c8
JD
162702011-10-01 Julien Danjou <julien@danjou.info>
16271
16272 * notifications.el (notifications-notify): Fix docstring.
16273
63bd50d3
PS
162742011-10-01 Per Starbäck <per@starback.se>
16275
16276 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16277
199e4c7e
MR
162782011-09-30 Martin Rudalics <rudalics@gmx.at>
16279
16280 * startup.el (command-line-1): Fix last fix by inserting
16281 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16282 (Bug#9605) and (Bug#9636)
199e4c7e 16283
fe5f08dd
EZ
162842011-09-29 Eli Zaretskii <eliz@gnu.org>
16285
16286 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16287 window is hscrolled, move by logical lines. (Bug#9607)
16288 (line-move-visual): Update the doc string to the above effect.
16289
b5516bbd
MR
162902011-09-29 Martin Rudalics <rudalics@gmx.at>
16291
ccee00c0
MR
16292 * window.el (display-buffer-record-window): When WINDOW is the
16293 selected window use `point' instead of `window-point'. (Bug#9626)
16294
b5516bbd
MR
16295 * startup.el (command-line-1): Use insert-before-markers when
16296 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16297
b5516bbd
MR
16298 * help.el (help-window): Remove variable.
16299
52aa0014
GM
163002011-09-29 Glenn Morris <rgm@gnu.org>
16301
16302 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16303
df9a7357
JB
163042011-09-29 Juanma Barranquero <lekktu@gmail.com>
16305
16306 * descr-text.el (describe-char-categories): Accept category
16307 descriptions more than one line long.
16308
a8406c20
SM
163092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16310
88d9610c
SM
16311 * simple.el (delete-trailing-whitespace): Fix last change.
16312
a5daf810
SM
16313 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16314 Don't confuse "y => 3" as the beginning of a `y' operation.
16315
a8406c20
SM
16316 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16317 object has more than 4 slots (bug#9613).
16318
a239d4e9
JB
163192011-09-28 Juanma Barranquero <lekktu@gmail.com>
16320
16321 * subr.el (with-output-to-temp-buffer):
16322 * net/quickurl.el (quickurl, quickurl-browse-url):
16323 Fix typos in docstrings.
16324
693fbdb6
EZ
163252011-09-27 Eli Zaretskii <eliz@gnu.org>
16326
16327 * minibuffer.el (completion-styles)
16328 (completion-category-overrides): Cross reference each other in doc
16329 strings.
16330
8b457e28
GM
163312011-09-27 Glenn Morris <rgm@gnu.org>
16332
16333 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16334 to split-string. (Bug#9606)
16335
85a16208
LMI
163362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16337
16338 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16339 (bug#9615).
16340
502f9ebd
CY
163412011-09-27 Chong Yidong <cyd@stupidchicken.com>
16342
16343 * emacs-lisp/package.el (list-packages): Fix echo area message.
16344
7690bdea
LL
163452011-09-27 Leo Liu <sdl.web@gmail.com>
16346
16347 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16348
e2ee6f30
MA
163492011-09-25 Michael Albinus <michael.albinus@gmx.de>
16350
16351 * net/dbus.el (dbus-unregister-object): Don't release services for
16352 registered signals. (Bug#9581)
16353
f3f98342
TZ
163542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16355
16356 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16357 function that picks between cfengine 2 and 3 support
16358 automatically. Update docs accordingly.
16359
dd7aa8dd
KH
163602011-09-22 Kenichi Handa <handa@m17n.org>
16361
16362 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16363 ZERO.
16364 (indian-itrans-v5-table-for-tamil): New variable.
16365 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16366
3f2b07f8
KM
163672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16368
16369 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16370 that's true if the current command involved collapsing of text.
16371 It's reset to false at the beginning of the next command.
16372 (allout-post-command-business): Move the cursor to the beginning
16373 of entry if the cursor is hidden and collapsing activity just
16374 happened.
16375
371d6a61
CY
163762011-09-24 Chong Yidong <cyd@stupidchicken.com>
16377
16378 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16379 tracking (Bug#9541).
16380
2ac2721a
UJ
163812011-09-24 Ulf Jasper <ulf.jasper@web.de>
16382
16383 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16384 (newsticker-show-news): Automatically load html rendering package
16385 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16386 because w3m-fill-column is let-bound" and the error "Symbol's value
16387 as variable is void: w3m-fill-column".
2ac2721a 16388
fac7ae53
MA
163892011-09-24 Michael Albinus <michael.albinus@gmx.de>
16390
16391 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16392 Release services only if they are defined. (Bug#9581)
16393
e08b633b
RS
163942011-09-23 Richard Stallman <rms@gnu.org>
16395
e488d29c
RS
16396 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16397 distinguish start of paragraph from start of its text.
16398
19c38752
RS
16399 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16400
e08b633b
RS
16401 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16402 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16403 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16404
0a39f27e
AS
164052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16406
16407 * international/mule-diag.el (mule-diag): Insert a newline after
16408 each fontset description.
16409
db4e950d
SM
164102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * simple.el (delete-trailing-whitespace):
16413 Document last change; simplify.
16414
eca3f3ea
PW
164152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16416
d68e189a
PW
16417 * simple.el (delete-trailing-whitespace): Also delete
16418 extra newlines at the end of the buffer.
16419
eca3f3ea
PW
16420 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16421 (picture-newline): Use forward-line so as to ignore fields.
16422
01c157cc
SM
164232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16424
16425 * subr.el (with-wrapper-hook): Fix edebug spec.
16426
022de23e
LMI
164272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16428
16429 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16430 (bug#4538).
16431
91683089
MA
164322011-09-23 Michael Albinus <michael.albinus@gmx.de>
16433
eca3f3ea
PW
16434 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16435 Fix nasty bug using wrong cached values.
91683089 16436
5bdd6fa4
AM
164372011-09-23 Alan Mackenzie <acm@muc.de>
16438
16439 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16440
97adfb97
CY
164412011-09-23 Chong Yidong <cyd@stupidchicken.com>
16442
16443 * window.el (pop-to-buffer): Ensure right window is selected if we
16444 chose another frame.
16445
d4ef2b50
EZ
164462011-09-22 Eli Zaretskii <eliz@gnu.org>
16447
16448 * simple.el (what-cursor-position): Use get-char-property-change
16449 and next-single-char-property-change, to be able to show display
16450 properties that come from overlays as well as text properties.
16451
72258fe5
CY
164522011-09-22 Chong Yidong <cyd@stupidchicken.com>
16453
16454 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16455
16456 * cmuscheme.el (run-scheme, switch-to-scheme):
16457 * cus-edit.el (customize-group, custom-buffer-create)
16458 (customize-browse):
16459 * info.el (info):
16460 * shell.el (shell):
16461 * mail/sendmail.el (mail):
16462 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16463
8f098516
RS
164642011-09-22 Richard Stallman <rms@gnu.org>
16465
16466 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16467 move back only to line beg, don't move back over blank lines.
16468
e74f1bb6
MA
164692011-09-22 Michael Albinus <michael.albinus@gmx.de>
16470
16471 * files.el (copy-directory): Set directory attributes only in case
16472 they could be retrieved from the source directory. (Bug#9565)
16473
bfeef8b6
DK
164742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16475
16476 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16477 (hs-find-block-beginning, hs-hide-level-recursive):
16478 Ignore strings as well as comments. (Bug#9502)
16479
7e423bb8
AS
164802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16481
16482 * progmodes/sql.el (sql-comint-postgres):
16483 Convert port number to a string. (Bug#9566)
16484
b4d72fcf
MR
164852011-09-22 Martin Rudalics <rudalics@gmx.at>
16486
16487 * window.el (quit-window): Undedicate window when switching to
16488 previous buffer. Reported by Thierry Volpiatto
16489 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16490 (special-display-popup-frame): When popping up a new frame reset
16491 its previous buffers to nil. Simplify code.
b4d72fcf 16492
a7b88dc6
MA
164932011-09-21 Michael Albinus <michael.albinus@gmx.de>
16494
16495 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16496 and process filter, as done also in `shell-command'.
16497
cf4eacfd
MR
164982011-09-21 Martin Rudalics <rudalics@gmx.at>
16499
eca3f3ea 16500 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16501 Call set-window-start with NOFORCE argument t.
16502 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16503 (quit-window): Reword doc-string. Handle new format of
16504 quit-restore parameter. Don't delete window if it has a
16505 previous buffer we can show instead of the present one.
16506 (display-buffer-record-window): Rewrite using a new format for
16507 the quit-restore window parameter
16508 (special-display-popup-frame, display-buffer-same-window)
16509 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16510 (display-buffer-pop-up-window, display-buffer-use-some-window):
16511 Adapt symbol passed to display-buffer-record-window.
16512 * help.el (help-window-setup): Handle new format of quit-restore
16513 parameter.
16514
8d28cb95
SM
165152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16516
94ab793f
SM
16517 * faces.el (face-list): Fix docstring (bug#9564).
16518
8d28cb95
SM
16519 * window.el (display-buffer--action-function-custom-type):
16520 Don't include internal functions in the Custom interface.
16521
3820edeb
JL
165222011-09-20 Juri Linkov <juri@jurta.org>
16523
16524 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16525 (Info-forward-node, Info-backward-node, Info-next-preorder)
16526 (Info-last-preorder): Use it. (Bug#9528)
16527
5147931d
JL
165282011-09-20 Juri Linkov <juri@jurta.org>
16529
16530 * info.el (Info-last-preorder): Visit last menu item only when
16531 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16532
cf499a1a
JD
165332011-09-20 Julien Danjou <julien@danjou.info>
16534
16535 * password-cache.el (password-cache-remove): Remove entries even if the
16536 value is nil, so that password with a nil value (negative caching) is
16537 possible to invalidate.
16538
f84e2fe2
LM
165392011-09-20 Lawrence Mitchell <wence@gmx.li>
16540
16541 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16542 all whitespace around breakpoint. (Bug#9553)
16543 (f90-find-breakpoint): Only break at whitespace inside a comment.
16544
78054a46
SM
165452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * minibuffer.el (completion-file-name-table): Keep track of errors.
16548 (completion-table-with-predicate): Handle the case where pred1 is nil.
16549 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16550
345083b2
SM
165512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16552
e24e27be
SM
16553 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16554 (debugger-return-value): Signal an error if the debugging context does
16555 not await any return value.
16556
345083b2
SM
16557 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16558 * image-mode.el (image-toggle-display-text)
16559 (image-toggle-display-image): Stay away from evil `intangible'.
16560
08d355e3
LL
165612011-09-19 Leo Liu <sdl.web@gmail.com>
16562
16563 * replace.el (occur-revert-arguments): Make it permanent-local.
16564 (occur-mode): Don't call font-lock-defontify.
16565
f01da43f
CY
165662011-09-19 Chong Yidong <cyd@stupidchicken.com>
16567
16568 * net/ldap.el (ldap-search-internal): Don't push empty search
16569 result (Bug#9508).
16570
b6072fa6
SM
165712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16574
443d6696
MA
165752011-09-19 Michael Albinus <michael.albinus@gmx.de>
16576
16577 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16578 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16579
7cc6e154
JL
165802011-09-18 Juri Linkov <juri@jurta.org>
16581
16582 * buff-menu.el (Buffer-menu-mode-map):
16583 * dired.el (dired-mode-map):
16584 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16585 (lisp-interaction-mode-map):
16586 * emacs-lisp/package.el (package-menu-mode-map):
16587 * epa.el (epa-key-list-mode-map):
16588 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16589 (menu-bar-options-menu):
16590 * outline.el (outline-mode-menu-bar-map):
16591 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16592 * vc/vc-dir.el (vc-dir-menu-map):
16593 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16594 Capitalize non-function content words in menu item strings.
16595
16596 * dired.el (dired-mode-map): Add menu item for
16597 `image-dired-dired-toggle-marked-thumbs'.
16598
80302a81
JL
165992011-09-18 Juri Linkov <juri@jurta.org>
16600
16601 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16602 to `isearch-case-fold-search' and restore its original value
16603 after the `isearch-mode' call.
16604
46c5cf66
JL
166052011-09-18 Juri Linkov <juri@jurta.org>
16606
16607 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16608 because `zgrep' returns 1 for successful matches (bug#9226).
16609
d18b513b
JL
166102011-09-18 Juri Linkov <juri@jurta.org>
16611
16612 * info.el (Info-extract-menu-node-name): Check the second match
16613 for empty string (second test-case of bug#9528).
16614 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16615 intermediate nodes to the history (first test-case of bug#9528).
16616
72753f87
JL
166172011-09-18 Juri Linkov <juri@jurta.org>
16618
16619 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16620 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16621
c9384295
JL
166222011-09-18 Juri Linkov <juri@jurta.org>
16623
1154d12e
JB
16624 * info.el (Info-file-supports-index-cookies):
16625 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16626 outputs one more line for long file names (bug#4142).
c9384295 16627
d473dce8
CY
166282011-09-18 Chong Yidong <cyd@stupidchicken.com>
16629
16630 * newcomment.el (comment-normalize-vars): If prompting for
16631 comment-start, set comment-start-skip too (Bug#8424).
16632
2176854d
JB
166332011-09-18 Johan Bockgård <bojohan@gnu.org>
16634
16635 * icomplete.el: Fix previous fix of Bug#5849.
16636 (icomplete-mode): Don't set completion-show-inline-help.
16637 (icomplete-minibuffer-setup): Set completion-show-inline-help
16638 locally during icompletion.
16639
3aace4e4
CY
166402011-09-18 Chong Yidong <cyd@stupidchicken.com>
16641
c940224f
CY
16642 * woman.el (woman2-process-escapes): Don't delete unrecognized
16643 escapes (Bug#7843).
16644
3aace4e4
CY
16645 * files.el (inhibit-first-line-modes-regexps): Add image files.
16646 (hack-local-variables-prop-line): Return nil for malformed
16647 prop-lines (Bug#9044).
16648
710dec63
MA
166492011-09-18 Michael Albinus <michael.albinus@gmx.de>
16650
16651 * net/tramp.el (top): Don't require 'shell.
16652 (tramp-methods): Fix docstring.
16653 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16654 Return complete remote file name. Handle "smb" case.
16655 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16656 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16657
16658 * net/tramp-compat.el (top): Require 'shell.
16659
16660 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16661 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16662 `tramp-current-host'.
16663 (tramp-get-remote-tmpdir): Remove.
16664
16665 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16666 `tramp-tmpdir' entries.
16667 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16668 (tramp-smb-handle-file-attributes): Ignore errors.
16669 (tramp-smb-wait-for-output): Check also for process end.
16670
5d5ac8ec
LMI
166712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16672
16673 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16674 when sending QUIT (bug#9312).
16675
8c0f49f0
CY
166762011-09-17 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16679 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16680 occur-mode-display-occurrence.
16681 (occur-edit-mode): Add usage message.
16682 (occur-cease-edit): New command.
16683 (occur-after-change-function): Use text properties to find the
16684 position of the prefix text.
16685 (occur-engine): Set stickiness of prefix text properties.
16686
8f1383f7
GM
166872011-09-17 Glenn Morris <rgm@gnu.org>
16688
16689 * progmodes/etags.el (complete-tag):
16690 Fix call to completion-in-region. (Bug#9526)
16691
744ba0e3
JL
166922011-09-17 Juri Linkov <juri@jurta.org>
16693
16694 * textmodes/ispell.el (ispell-word): Add to the error message
16695 the word, ispell program name and current dictionary (bug#9121).
16696 (ispell-tex-arg-end): Capitalize "error" in the error message.
16697
d9bbf400
AS
166982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16699
16700 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16701 check. (Bug#4251)
16702
8da11505
JL
167032011-09-17 Juri Linkov <juri@jurta.org>
16704
16705 * window.el (window-safe-min-height, window-safe-min-width):
16706 Fix typos (followup to bug#9522).
16707
a91adc7e
SJ
167082011-09-17 Sven Joachim <svenjoac@gmx.de>
16709
16710 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16711
064f328a
EZ
167122011-09-16 Eli Zaretskii <eliz@gnu.org>
16713
16714 * simple.el (line-move): If goal-column is set, move by logical
16715 lines, not by display lines. (Bug#971)
16716 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16717 to reflect the above change.
16718
e69df516
SM
167192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * image.el (imagemagick-register-types): Use regexp-opt.
16722
cbb0f9ab
CY
167232011-09-15 Chong Yidong <cyd@stupidchicken.com>
16724
16725 * window.el (display-buffer-base-action): Rename from
16726 display-buffer-default-action. Make default value empty.
16727 (display-buffer-overriding-action): Convert to defvar.
16728 (display-buffer-fallback-action): New var.
16729
25322144
CY
167302011-09-15 Chong Yidong <cyd@stupidchicken.com>
16731
16732 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16733 declaration.
16734 (package--add-to-archive-contents): If there is a duplicate entry
16735 with an older version, remove it.
16736 (package-menu-mark-delete, package-menu-mark-install)
16737 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16738 (package-menu-mark-obsolete-for-deletion):
16739 Use package-menu-get-status instead of a regexp search.
25322144
CY
16740 (package-menu-get-status): Use tabulated-list-entry.
16741 (package-menu-mark-upgrades): New command.
d770725a 16742 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16743 (package-menu-execute): Do installation before deletion.
16744 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16745 instead of checking major-mode.
16746 (package-menu--find-upgrades): New function.
16747
7520339c
LMI
167482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16749
16750 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16751 passwords in the log buffer.
65a046c4
LMI
16752 (smtpmail-process-filter): Update the process marker so that the
16753 "broken by peer" status message is inserted in the right place.
7520339c 16754
d3c30954
SM
167552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16756
3fe48822
SM
16757 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16758 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16759 bibtex-completion-at-point-function.
16760 (bibtex-completion-at-point-function): Use them.
16761
1b8b3954
SM
16762 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16763
d3c30954
SM
16764 * mpc.el (mpc-constraints-tag-lookup): New function.
16765 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16766 also to browser "album|playlist".
16767
72779976
JL
167682011-09-14 Juri Linkov <juri@jurta.org>
16769
16770 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16771 (isearch-edit-string): Use length of `isearch-string' when
16772 `isearch-fail-pos' returns nil.
16773 (isearch-message): Remove duplicate code and call
16774 `isearch-fail-pos' with arg `t'.
16775
a0bf2bcd
CY
167762011-09-14 Chong Yidong <cyd@stupidchicken.com>
16777
17bb0a2d
CY
16778 * replace.el (occur-mode-goto-occurrence): Don't force using other
16779 window (Bug#9499).
16780
a0bf2bcd
CY
16781 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16782
f678e0b6
MR
167832011-09-14 Martin Rudalics <rudalics@gmx.at>
16784
16785 * window.el (display-buffer-window): Remove.
16786 (display-buffer-record-window): Use help-setup window parameter
16787 instead of variable display-buffer-window.
16788 (display-buffer-function, special-display-buffer-names)
16789 (special-display-function): Mention help-setup parameter instead
16790 of display-buffer-window in doc-string.
d3c30954
SM
16791 * help.el (help-window-setup): New argument help-window.
16792 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16793 Reword some messages.
16794 (with-help-window): Pass window used for displaying the buffer
16795 to help-window-setup. Don't set display-buffer-window.
16796
8e39b2e8
GM
167972011-09-13 Glenn Morris <rgm@gnu.org>
16798
16799 * emacs-lisp/debug.el (debugger-make-xrefs):
16800 Preserve point. (Bug#9462)
16801
85e9c04b
CY
168022011-09-13 Chong Yidong <cyd@stupidchicken.com>
16803
16804 * window.el (window-deletable-p): Use next-frame.
16805
1b36ed6a
MR
168062011-09-13 Martin Rudalics <rudalics@gmx.at>
16807
16808 * window.el (window-auto-delete): Remove.
16809 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16810 dedication and previous buffers.
1b36ed6a
MR
16811 (switch-to-prev-buffer): Don't delete window.
16812 (delete-windows-on): Delete a window's frame if and only if the
16813 window is dedicated.
16814 (replace-buffer-in-windows): Delete buffer's window or frame if
16815 and only if window is dedicated.
16816 (quit-window): Handle quit-restore as before last change.
4d61f28d 16817 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16818
ef8ef9fb
CY
168192011-09-13 Chong Yidong <cyd@stupidchicken.com>
16820
16821 * window.el (window-deletable-p): Never delete the last frame on a
16822 given terminal.
16823
b2cba41e
GM
168242011-09-13 Glenn Morris <rgm@gnu.org>
16825
16826 * help.el (describe-key-briefly): Copy previous standard-output change.
16827
51553db6 168282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16829
16830 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16831
b7556719
GM
168322011-09-13 Glenn Morris <rgm@gnu.org>
16833
16834 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16835 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16836
64b51947
CY
168372011-09-12 Chong Yidong <cyd@stupidchicken.com>
16838
16839 * dired-aux.el (dired-mark-read-string): Don't return default
16840 value on empty input (Bug#9361).
16841 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16842 Omit initial minibuffer contents.
16843 (dired-do-chmod): Signal an error on empty input.
16844 (dired-mark-read-string): Don't return default on empty input.
16845
16846 * files.el (file-modes-symbolic-to-number): Doc fix.
16847
393a301e
SM
168482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16849
16850 * international/mule-cmds.el (ucs-completions): Remove.
16851 (read-char-by-name): Use complete-with-action instead; add metadata.
16852
fa5660f9
CY
168532011-09-11 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * window.el (display-buffer--action-function-custom-type)
16856 (display-buffer--action-custom-type): New vars.
16857 (display-buffer-alist, display-buffer-default-action)
16858 (display-buffer-overriding-action): Add defcustom types.
16859
4a592f66
CY
16860 * frame.el (delete-other-frames): Doc fix (Bug#276).
16861
73d56dbd
LMI
168622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16863
16864 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16865
37ac18a3
CY
168662011-09-11 Chong Yidong <cyd@stupidchicken.com>
16867
16868 Change modes that used same-window-* vars to use switch-to-buffer.
16869
16870 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16871 Use switch-to-buffer.
16872
16873 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16874 (customize-browse, custom-buffer-create-other-window):
16875 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16876
16877 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16878 (Info-prev, Info-up, Info-speedbar-goto-node)
16879 (info-display-manual): Use switch-to-buffer.
16880 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16881
16882 * mail/sendmail.el (mail): Use switch-to-buffer.
16883 (mail-recover): Use switch-to-buffer-other-window.
16884
16885 * cmuscheme.el (run-scheme, switch-to-scheme):
16886 * ielm.el (ielm):
16887 * shell.el (shell):
16888 * net/rlogin.el (rlogin):
16889 * net/telnet.el (telnet, rsh):
16890 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16891
10195bd6
AS
168922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16893
16894 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16895
b322f63a
LMI
168962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16897
39d7fed6
LMI
16898 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16899 so don't mention it (bug#9301).
ba5a81f1 16900 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16901
ee0e9f11
LMI
16902 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16903 match `x', `w32' and `ns', like the manual says (bug#9029).
16904
0b1c89c1 16905 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16906 (process-kill-buffer-query-function): Mention the buffer name in
16907 the query.
0b1c89c1 16908
77549ea8
LMI
16909 * image-mode.el (image-next-line): The line parameter is mandatory
16910 (bug#9258).
16911
803ef892
LMI
16912 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16913 which can be useful (bug#9301).
16914
12980837
LMI
16915 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16916
91054f8f
LMI
16917 * subr.el (match-string): Mention that the current buffer should
16918 be the same as the search was done in (bug#9282).
16919
b322f63a
LMI
16920 * facemenu.el: Disable the remove-* commands if the mark isn't
16921 active (bug#9162).
16922
3199b96f
CY
169232011-09-10 Chong Yidong <cyd@stupidchicken.com>
16924
16925 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16926 of display-buffer.
16927 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16928
16929 * replace.el (occur-mode-goto-occurrence)
16930 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16931 and display-buffer.
16932
16933 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16934 display-buffer.
16935
16936 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16937 special-display and same-window variables.
16938 (mail-other-window): Use switch-to-buffer-other-window.
16939 (mail-other-frame): USe switch-to-buffer-other-frame.
16940
393a301e
SM
16941 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16942 Use display-buffer-other-frame.
3199b96f
CY
16943 (gdb-display-gdb-buffer): Use pop-to-buffer.
16944
16945 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16946
16947 * progmodes/python.el: Don't set same-window-buffer-names.
16948
16949 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16950
16951 * window.el (display-buffer-alist): Add *Python*.
16952
8319e0bf
CY
169532011-09-10 Chong Yidong <cyd@stupidchicken.com>
16954
16955 * window.el (display-buffer-alist): Add entry for buffers
16956 previously handled same-window-*.
16957 (display-buffer-alist, display-buffer-default-action)
16958 (display-buffer-overriding-action): Mark as risky.
16959 (display-buffer-alist): Document action function changes.
16960 (display-buffer--same-window-action)
16961 (display-buffer--other-frame-action): New variables.
16962 (switch-to-buffer, display-buffer-other-frame): Use them.
16963 (display-buffer): Rename reuse-frame entry to reusable-frames.
16964 (display-buffer-reuse-selected-window): Function deleted.
16965 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16966 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16967 (display-buffer-special): New function.
16968 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16969 display-buffer-reuse-or-pop-window. Split off special-display
16970 part into display-buffer-special.
16971 (display-buffer-use-some-window): Don't perform any special
16972 pop-up-frames handling.
16973 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16974 (display-buffer--maybe-same-window): Rename from
0d3ff375 16975 display-buffer-maybe-same-window.
8319e0bf 16976
919a69aa
CY
16977 * info.el: Don't set same-window-regexps.
16978 (info-setup): New function.
16979 (info-other-window, info): Call it.
16980
16981 * cus-edit.el: Don't set same-window-regexps.
16982 (customize-group): New argument.
16983 (customize-group-other-window): Use it.
16984 (customize-face, customize-face-other-window): Likewise.
16985 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16986
8319e0bf
CY
16987 * net/rlogin.el:
16988 * net/telnet.el:
16989 * progmodes/gud.el: Don't set same-window-regexps.
16990
16991 * cmuscheme.el:
16992 * ielm.el:
16993 * shell.el:
16994 * mail/sendmail.el:
16995 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16996
25173000
JL
169972011-09-10 Juri Linkov <juri@jurta.org>
16998
16999 * isearch.el (isearch-edit-string): Remove obsolete mention of
17000 `C-w' (`isearch-yank-word-or-char') from docstring.
17001 (isearch-query-replace): Fix typo in docstring (bug#9466).
17002
056e44ef
JL
170032011-09-10 Juri Linkov <juri@jurta.org>
17004
17005 * paren.el (show-paren-function): Don't show escaped parens.
17006 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17007
c3760c17
EZ
170082011-09-10 Eli Zaretskii <eliz@gnu.org>
17009
17010 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17011 (mm-default-file-encoding): Remove autoload forms, they are
17012 replaced with autoload cookies in mml.el and mm-encode.el.
17013 (mail-add-attachment): New command.
17014 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17015 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17016 the doc string.
17017 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17018
fece895e
RT
170192011-09-10 Reuben Thomas <rrt@sc3d.org>
17020
e69df516
SM
17021 * simple.el (count-words-region): Use buffer if there's no region
17022 (bug#9429).
fece895e 17023
5e68ce4a
JL
170242011-09-09 Juri Linkov <juri@jurta.org>
17025
17026 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17027 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17028 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17029
0a6b9622
AM
170302011-09-09 Alan Mackenzie <acm@muc.de>
17031
17032 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17033 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17034
14a29deb
EZ
170352011-09-09 Eli Zaretskii <eliz@gnu.org>
17036
17037 Fix for Savannah bug#9392.
17038 * simple.el (mail-encode-mml): New defvar.
17039
17040 * mail/rmail.el (mail-encode-mml): Add a defvar.
17041 (rmail-enable-mime-composing): Default to t.
17042 (rmail-forward): Use MIME method of forwarding only if both
17043 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17044 Set mail-encode-mml non-nil if the MIME method was used.
17045
17046 * mail/sendmail.el (mml-to-mime): Add autoload form.
17047 (mail-encode-mml): Add a defvar.
17048 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17049 to nil.
17050 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17051 message through mml-to-mime, and reset mail-encode-mml to nil.
17052
28c45130
GM
170532011-09-09 Glenn Morris <rgm@gnu.org>
17054
17055 * woman.el (woman-if-body): When processing an .el block,
17056 do not delete the next .el block as well. (Bug#9447)
69f4b618 17057 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17058
9b1c252e
MR
170592011-09-08 Martin Rudalics <rudalics@gmx.at>
17060
17061 * window.el (window-deletable-p): Make sure window is live before
17062 invoking window-prev-buffers.
17063
567457e3
LL
170642011-09-08 Leo Liu <sdl.web@gmail.com>
17065
17066 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17067
97f05794
JL
170682011-09-08 Juri Linkov <juri@jurta.org>
17069
17070 * progmodes/compile.el (compilation-environment): Make it
17071 a defcustom (bug#8340).
17072
8b0874b5
MR
170732011-09-08 Martin Rudalics <rudalics@gmx.at>
17074
17075 * window.el (frame-auto-delete): Rename to window-auto-delete.
17076 Make it control auto-deletion of windows and/or frames.
17077 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17078 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17079 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17080 Rewrite handling of case when window/frame can be deleted.
17081 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17082 argument t. (Bug#9456)
8b0874b5 17083
4feb6e73
CY
170842011-09-07 Chong Yidong <cyd@stupidchicken.com>
17085
17086 * help-mode.el (help-mode): Restore autoload.
17087
91ab9c13
JL
170882011-09-07 Juri Linkov <juri@jurta.org>
17089
17090 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17091 `compilation-environment'. Set buffer-local
17092 `compilation-environment' to `thisenv' later after (funcall mode).
17093 (Bug#8340)
17094
17095 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17096 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17097 instead of replacing its value. (Bug#8340)
17098
0527e251
JL
170992011-09-07 Juri Linkov <juri@jurta.org>
17100
17101 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17102 based on text properties put by `grep-filter' instead of matching
17103 escape sequences.
17104 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17105 to the value of `grep-error-screen-columns' (bug#9438).
17106
249f792c
JL
171072011-09-07 Juri Linkov <juri@jurta.org>
17108
17109 * simple.el (next-error-highlight, next-error-highlight-no-select):
17110 Doc fix (bug#9432).
17111
ff7271b9
OT
171122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17113
17114 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17115 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17116
183fc730
LL
171172011-09-07 Leo Liu <sdl.web@gmail.com>
17118
17119 * net/rcirc.el (rcirc-mode): Conditionally initialize
17120 rcirc-input-ring.
17121
77694924
SM
171222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17123
17124 * emacs-lisp/find-func.el (find-function-C-source): Only set
17125 find-function-C-source-directory after checking that we found a source
17126 file there (bug#9440).
17127
d809b8eb
AM
171282011-09-06 Alan Mackenzie <acm@muc.de>
17129
17130 * isearch.el (isearch-other-meta-char): Wherever a key list is
17131 unread, "unread" the prefix arg, too. This fixes bug #8901.
17132
453de99f
OG
171332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17134
17135 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17136
90439906
JL
171372011-09-05 Juri Linkov <juri@jurta.org>
17138
17139 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17140
f62bd846
JL
171412011-09-05 Juri Linkov <juri@jurta.org>
17142
17143 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17144 keeping point where processing of grep matches begins, and
17145 continue to delete remaining escape sequences from the same point.
17146 (grep-filter): Make leading zero optional in "0?1;31m" because
17147 git-grep emits "\033[1;31m" escape sequences unlike expected
17148 "\033[01;31m" as GNU Grep does (bug#9408).
17149 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17150
045820ec
JL
171512011-09-05 Juri Linkov <juri@jurta.org>
17152
17153 * subr.el (y-or-n-p): Capitalize "yes".
17154
f5e29b9b
MA
171552011-09-04 Michael Albinus <michael.albinus@gmx.de>
17156
17157 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17158 `tramp-cache-unload-hook' where appropriate.
17159 (tramp-methods): Rename `tramp-remote-sh' to
17160 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17161 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17162
17163 * net/tramp-sh.el (top): Don't require 'shell.
17164 (tramp-methods): Add `tramp-remote-shell' and
17165 `tramp-remote-shell-args' entries.
17166 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17167 (tramp-sh-handle-shell-command): Remove.
17168 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17169 Use `tramp-remote-shell'.
17170
2784c434
CY
171712011-09-03 Chong Yidong <cyd@stupidchicken.com>
17172
393a301e 17173 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17174 (sendmail-query-once): Save directly to send-mail-function.
17175 Update message-send-mail-function too.
17176
17177 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17178
464cdf56
CS
171792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17180
17181 * progmodes/python.el (python-mode-map): Use correct function to
17182 start python interpreter from menu-bar (as reported by Geert
17183 Kloosterman).
17184 (inferior-python-mode-map): Fix typo.
393a301e 17185 (python-shell-map): Remove.
464cdf56 17186
d37e5c87
DD
171872011-09-03 Deniz Dogan <deniz@dogan.se>
17188
17189 * net/rcirc.el (rcirc-print): Simplify code for
17190 rcirc-scroll-show-maximum-output. There is no need to walk
17191 through all windows to find the right one.
17192
f3ada0ee
CS
171932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17194
17195 * help.el (help-return-method): Doc fix.
17196
1f3c99ca
MR
171972011-09-03 Martin Rudalics <rudalics@gmx.at>
17198
17199 * window.el (window-deletable-p): Don't return a non-nil value
17200 when there's a buffer that was shown in the window before.
17201 (Bug#9419)
393a301e
SM
17202 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17203 Set window's previous buffers to nil.
1f3c99ca 17204
a3cf097f
EZ
172052011-09-03 Eli Zaretskii <eliz@gnu.org>
17206
17207 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17208 newline before and after the tag line, so it doesn't interfere
17209 with determining the paragraph direction of bidirectional text.
17210
3d03de90
LL
172112011-09-03 Leo Liu <sdl.web@gmail.com>
17212
17213 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17214
c3313451
CY
172152011-09-02 Chong Yidong <cyd@stupidchicken.com>
17216
393a301e 17217 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17218 (pop-to-buffer): Change interactive spec. Pass second argument
17219 directly to display-buffer.
17220 (display-buffer): Fix interactive spec. Use functionp to
17221 distinguish between a function and a list of functions.
17222
17223 * abbrev.el (edit-abbrevs):
17224 * arc-mode.el (archive-extract):
17225 * autoinsert.el (auto-insert):
17226 * bookmark.el (bookmark-bmenu-list):
17227 * files.el (find-file):
17228 * view.el (view-buffer):
17229 * progmodes/compile.el (compilation-goto-locus):
17230 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17231
89894cd8
CY
172322011-09-02 Chong Yidong <cyd@stupidchicken.com>
17233
17234 * window.el (display-buffer-alist): Doc fix.
17235 (display-buffer): Add docstring. Don't treat
17236 display-buffer-default specially.
17237 (display-buffer-reuse-selected-window)
17238 (display-buffer-same-window, display-buffer-maybe-same-window)
17239 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17240 (display-buffer-pop-up-window)
17241 (display-buffer-reuse-or-pop-window)
17242 (display-buffer-use-some-window): New functions.
17243 (display-buffer-default-action): Use them.
393a301e 17244 (display-buffer-default): Delete.
89894cd8
CY
17245 (pop-to-buffer-1): Fix choice of actions.
17246
ae0bc9fb
SM
172472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17248
17249 * minibuffer.el (completion--insert-strings): Don't get confused by
17250 completion entries that end with an LF char.
17251
e9d90883
EZ
172522011-09-01 Eli Zaretskii <eliz@gnu.org>
17253
17254 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17255
437014c8
CY
172562011-09-01 Chong Yidong <cyd@stupidchicken.com>
17257
17258 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17259 (display-buffer-same-window, display-buffer-other-window):
17260 New functions.
437014c8
CY
17261 (pop-to-buffer-1): New function. Use the above.
17262 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17263 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17264
17265 * view.el (view-buffer-other-window, view-buffer-other-frame):
17266 Just use pop-to-buffer.
17267
a5e063d5
TV
172682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17269
17270 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17271
793d32bb
WH
172722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17273
17274 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17275
d65e4c15
RS
172762011-08-31 Richard Stallman <rms@gnu.org>
17277
17278 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17279 of the separation of rmail-view-buffer from rmail-buffer.
17280 If you say no to "replace original", the decrypt is in the
17281 view buffer. If you say yes, the decrypt goes into the
17282 rmail buffer also.
17283
f818cd2a
MR
172842011-08-31 Martin Rudalics <rudalics@gmx.at>
17285
17286 * window.el (display-buffer-window): Rewrite doc-string.
17287 (display-buffer-record-window): New function.
17288 (display-buffer-macro-specifiers)
17289 (display-buffer-even-window-sizes, display-buffer-set-height)
17290 (display-buffer-set-width, display-buffer-in-window)
17291 (display-buffer-reuse-window, display-buffer-split-specifiers)
17292 (display-buffer-side-specifiers, display-buffer-split-window-1)
17293 (display-buffer-split-window, display-buffer-split-atom-window)
17294 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17295 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17296 (display-buffer-other-window-means-other-frame)
17297 (display-buffer-normalize-special)
17298 (display-buffer-normalize-default)
17299 (display-buffer-normalize-argument)
17300 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17301 (display-buffer-normalize-specifiers, display-buffer-frame)
17302 (display-buffer-same-window, display-buffer-same-frame)
17303 (display-buffer-other-window)
17304 (display-buffer-same-frame-other-window)
17305 (display-buffer-other-frame, pop-to-buffer-same-window)
17306 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17307 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17308 (switch-to-buffer-same-frame)
17309 (switch-to-buffer-other-window-same-frame)
17310 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17311 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17312 (display-buffer-alist-set): Remove.
17313 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17314 (special-display-regexps, special-display-function):
17315 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17316 parameter.
17317 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17318 (special-display-frame-alist, special-display-popup-frame)
17319 (same-window-buffer-names, same-window-regexps, same-window-p)
17320 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17321 (split-window-preferred-function, split-height-threshold)
17322 (split-width-threshold, window-splittable-p)
17323 (split-window-sensibly, window--try-to-split-window)
17324 (window--frame-usable-p, even-window-heights)
17325 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17326 (window--display-buffer-2, display-buffer-other-frame):
17327 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17328 (display-buffer-default, display-buffer-assq-regexp): New functions.
17329 (display-buffer-alist): Rewrite doc-string.
17330 (display-buffer-default-action)
17331 (display-buffer-overriding-action): New variables.
17332 (display-buffer, switch-to-buffer): Rewrite.
17333 (pop-to-buffer): Restore Emacs 23 behavior but use
17334 window-normalize-buffer-to-display.
17335 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17336 Restore Emacs 23 behavior but use
17337 window-normalize-buffer-to-switch-to.
17338 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17339 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17340 Rewrite using Emacs 23 options.
f818cd2a 17341
5bc3b51d
MA
173422011-08-31 Michael Albinus <michael.albinus@gmx.de>
17343
17344 * net/tramp.el (tramp-root-regexp): Remove.
17345 (tramp-completion-file-name-regexp-unified)
17346 (tramp-completion-file-name-regexp-separate)
17347 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17348 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17349 (tramp-drop-volume-letter): Simplify definition.
17350 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17351
b1a4f8e1
SM
173522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17353
17354 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17355 (bug#9356).
17356
5664fa7b
RT
173572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17358
b1a4f8e1 17359 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17360
9a45d6c3
JL
173612011-08-29 Juri Linkov <juri@jurta.org>
17362
17363 * isearch.el (isearch-done): Don't display message "Mark saved"
17364 when arg `edit' is non-nil to prevent its flicker in the echo area.
17365
fb87e0fb
CY
173662011-08-28 Chong Yidong <cyd@stupidchicken.com>
17367
17368 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17369 obsolete packages for deletion.
17370
09ac1c2a
CS
173712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17372
17373 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17374 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17375 view-mode from help-mode.
17376 (help-xref-override-view-map): Remove.
17377 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17378 view-mode is not used anymore.
17379
7a1ff57f
CY
173802011-08-28 Chong Yidong <cyd@stupidchicken.com>
17381
17382 * server.el (server-port): Doc fix.
17383
b9696605
CY
17384 * cus-theme.el (custom-theme-choose-mode): Inherit from
17385 special-mode (Bug#9124).
17386 (custom-theme-choose-mode-map): Add special-mode to parent.
17387
ef8cdf8c
AM
173882011-08-28 Alan Mackenzie <acm@muc.de>
17389
17390 * progmodes/cc-fonts.el
17391 (c-make-font-lock-BO-decl-search-function): New function.
17392 (c-basic-matchers-after - "Fontify the clauses after various
17393 keywords"): Extract the three keyword lists for the 3 erroneous
17394 constructs from the list of four, and use the new function above
17395 in place of an old one.
17396
27de4e20
DD
173972011-08-28 Deniz Dogan <deniz@dogan.se>
17398
17399 * net/rcirc.el (rcirc-insert-prev-input)
17400 (rcirc-insert-next-input): Remove unused argument.
17401
356a3681
SM
174022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17403
17404 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17405
3fc9b218
AM
174062011-08-27 Alan Mackenzie <acm@muc.de>
17407
17408 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17409 handle function pointer parameters properly.
17410
538a061c
MR
174112011-08-27 Martin Rudalics <rudalics@gmx.at>
17412
17413 * window.el (display-buffer-reuse-window): Fix case where
17414 selected window was reused with non-nil OTHER-WINDOW argument.
17415 (Bug#9381)
17416
35b1c40c
DD
174172011-08-27 Deniz Dogan <deniz@dogan.se>
17418
17419 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17420 oftc's NickServ messages.
17421
2f6a3e79
GM
174222011-08-27 Glenn Morris <rgm@gnu.org>
17423
17424 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17425
7254299e
CY
174262011-08-26 Chong Yidong <cyd@stupidchicken.com>
17427
17428 * emacs-lisp/package.el (package-install): Call package-initialize
17429 if called interactively.
17430
f8ccf167
LL
174312011-08-26 Leo Liu <sdl.web@gmail.com>
17432
17433 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17434
3e8cd5ce
JL
174352011-08-25 Juri Linkov <juri@jurta.org>
17436
17437 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17438 `search-whitespace-regexp' (bug#9364).
17439
93eb7113
JL
174402011-08-25 Juri Linkov <juri@jurta.org>
17441
17442 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17443 `regexp-search-ring' to their global values to protect from
17444 updating by `read-from-minibuffer' (bug#9185).
17445
f65d1611
JL
174462011-08-25 Juri Linkov <juri@jurta.org>
17447
17448 * textmodes/ispell.el (ispell-command-loop): Add newline
17449 at the end of the "Use option `i'..." line.
17450
f1cf7a31
JL
174512011-08-25 Juri Linkov <juri@jurta.org>
17452
17453 * battery.el (display-battery-mode): If `battery-status-function'
17454 or `battery-mode-line-format' is nil, display the message and set
17455 `display-battery-mode' to nil (bug#9363).
17456
0c95fcf7
EZ
174572011-08-25 Eli Zaretskii <eliz@gnu.org>
17458
17459 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17460 bidi-string-mark-left-to-right; they are unnecessary now.
17461
a2ebe600
DD
174622011-08-25 Deniz Dogan <deniz@dogan.se>
17463
17464 * net/quickurl.el: Documentation typo fixes.
17465
e4ed06f1
CY
174662011-08-25 Chong Yidong <cyd@stupidchicken.com>
17467
17468 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17469
e5f1c99e
GM
174702011-08-25 Glenn Morris <rgm@gnu.org>
17471
b2948976
GM
17472 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17473
e5f1c99e
GM
17474 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17475 (smtpmail-via-smtp): Handle nil response from smtp.
17476
f22f4808
JL
174772011-08-24 Juri Linkov <juri@jurta.org>
17478
17479 * proced.el (proced-marked): Inherit from `error' instead of
17480 `font-lock-warning-face'.
17481
17482 * ibuffer.el (ibuffer-marked-face): Change default face from
17483 `font-lock-warning-face' to `warning'.
17484 (ibuffer-deletion-face): Change default face from
17485 `font-lock-type-face' to `error'.
17486
17487 * battery.el (battery-update): Use the face `error' instead of
17488 `font-lock-warning-face' (bug#6117).
17489
6a93965e
JL
174902011-08-24 Juri Linkov <juri@jurta.org>
17491
17492 * faces.el (success): Change face color from "Green3" to
17493 "ForestGreen" on light background (bug#9353).
17494
1ed43b09
CY
174952011-08-24 Chong Yidong <cyd@stupidchicken.com>
17496
5664fa7b
RT
17497 * window.el (quit-window): Rename from quit-restore-window.
17498 Use same arglist as old quit-window.
1ed43b09
CY
17499 (frame-auto-delete): Doc fix.
17500
17501 * view.el (view-mode-exit): Use quit-window.
17502
11dcdbb2
JL
175032011-08-24 Juri Linkov <juri@jurta.org>
17504
17505 * isearch.el (isearch-ring-adjust1): Start visiting previous
17506 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17507 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17508 for empty search string (when the last search string is reused
17509 automatically) to adjust the isearch ring to the last element and
17510 prepare the correct index for further M-p commands (bug#9185).
17511
de62b4df
KH
175122011-08-24 Kenichi Handa <handa@m17n.org>
17513
17514 * international/ucs-normalize.el: If decomposition property of
17515 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17516 nil.
17517 (nfd, nfkd): Likewise.
17518
963b492b
SM
175192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17520
17521 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17522 from process filters aren't reliably transmitted to the surrounding
17523 accept-process-output.
17524 (mpc-proc-check): New function.
17525 (mpc-proc-sync): Use it (bug#8293)
17526
93b6b5e1
SM
175272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17528
17529 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17530 Add compatibility functions (bug#9313).
17531
bca633fb
EZ
175322011-08-23 Eli Zaretskii <eliz@gnu.org>
17533
b177498a
EZ
17534 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17535
6df6ae42 17536 * international/uni-bidi.el: Regenerate.
bca633fb 17537
0902a04e
KH
175382011-08-23 Kenichi Handa <handa@m17n.org>
17539
17540 * international/charprop.el:
17541 * international/uni-bidi.el:
17542 * international/uni-category.el:
17543 * international/uni-combining.el:
17544 * international/uni-comment.el:
17545 * international/uni-decimal.el:
17546 * international/uni-decomposition.el:
17547 * international/uni-digit.el:
17548 * international/uni-lowercase.el:
17549 * international/uni-mirrored.el:
17550 * international/uni-name.el:
17551 * international/uni-numeric.el:
17552 * international/uni-old-name.el:
17553 * international/uni-titlecase.el:
17554 * international/uni-uppercase.el: Regenerate.
17555
3bbf23bc
MR
175562011-08-23 Martin Rudalics <rudalics@gmx.at>
17557
17558 * help.el (help-window-setup): Fix message displayed when other
17559 window is reused. (Bug#9341)
17560
b3fd59bd
SM
175612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17562
1802e444
SM
17563 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17564 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17565
b3fd59bd
SM
17566 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17567 Mark obsolete.
17568 * shell.el (shell-parse-pcomplete-arguments): New function.
17569 (shell-completion-vars): Use it instead (bug#9160).
17570
4eb61348
SM
175712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17572
867cab74
SM
17573 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17574 strings and comments (bug#9333).
17575
4eb61348
SM
17576 * emacs-lisp/debug.el (debug-arglist): New function.
17577 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17578 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17579
262a1439
JL
175802011-08-22 Juri Linkov <juri@jurta.org>
17581
56ee679c
JL
17582 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17583 Revert regexp that highlights output switches to its old
17584 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17585
262a1439
JL
17586 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17587 to check for empty output (bug#9226).
17588
f13f86fb
CY
175892011-08-22 Chong Yidong <cyd@stupidchicken.com>
17590
17591 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17592 symbol-constituent as the default, as that stops font-lock from
17593 working properly (Bug#8843).
17594
c65c9622
LMI
175952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17596
17597 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17598 `coding-system-for-*' around the process open call to avoid
17599 auth-source side effects.
e7f2c178 17600 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17601 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17602 probe hangs.
c65c9622 17603
23a8a5ab
CY
176042011-08-21 Chong Yidong <cyd@stupidchicken.com>
17605
ff98b2dd
CY
17606 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17607
23a8a5ab
CY
17608 * emacs-lisp/find-func.el (find-function-noselect): New arg
17609 lisp-only.
17610
17611 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17612 signal an error for built-in functions (Bug#6664).
17613
f5e3c598
LMI
176142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17615
17616 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17617 (smtpmail-try-auth-methods): Use it.
17618
a3f2468a
CY
176192011-08-21 Chong Yidong <cyd@stupidchicken.com>
17620
2c34e8da
CY
17621 * font-lock.el (font-lock-fontify-region)
17622 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17623 (font-lock-default-unfontify-buffer)
17624 (font-lock-default-fontify-region)
17625 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17626
b3fd59bd
SM
17627 * progmodes/compile.el (compilation-error-properties):
17628 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17629 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17630 `ant' regexp.
ee31aabc 17631
a3f2468a
CY
17632 * net/browse-url.el (browse-url-firefox): Don't call
17633 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17634
8e999f70
GM
176352011-08-20 Glenn Morris <rgm@gnu.org>
17636
c21a496a
GM
17637 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17638
59ee0542
GM
17639 * tutorial.el (tutorial--default-keys): Update some default bindings.
17640
8e999f70
GM
17641 * files.el (hack-local-variables): Fully ignore case for "mode:".
17642
e3715033
AM
176432011-08-20 Alan Mackenzie <acm@muc.de>
17644
17645 Resolve invalid use of a regexp in regexp-opt.
17646
4d61f28d
JB
17647 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17648 detection for a java annotation.
e3715033 17649
4d61f28d 17650 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17651 detection for a java annotation.
17652
4d61f28d
JB
17653 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17654 handling for java.
e3715033
AM
17655 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17656
04ed2e9c
CY
176572011-08-20 Chong Yidong <cyd@stupidchicken.com>
17658
17659 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17660 (Bug#9274).
17661
826cee64
AM
176622011-08-20 Alan Mackenzie <acm@muc.de>
17663
58179cce 17664 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17665 such a construct. Mainly for when jit-lock etc. starts a chunk
17666 here.
17667
58179cce 17668 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17669 variable.
58179cce 17670 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17671 c-make-font-lock-search-function.
17672 (c-make-font-lock-search-function): Use the above function.
17673 (c-make-font-lock-context-search-function): New function.
17674 (c-cpp-matchers): Enhance the preprocessor expression case with
17675 the above function
17676 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17677 which takes an expression.
17678
17679 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17680
13009bd8
MR
176812011-08-20 Martin Rudalics <rudalics@gmx.at>
17682
17683 * window.el (display-buffer-reuse-window)
17684 (display-buffer-pop-up-window): Don't reuse or split a side
17685 window.
17686
9234ff7f
GM
176872011-08-19 Glenn Morris <rgm@gnu.org>
17688
17689 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17690 Downcase "Mode:". (Bug#9331)
9234ff7f 17691
f635daa1
CY
176922011-08-18 Chong Yidong <cyd@stupidchicken.com>
17693
17694 * international/characters.el: Add L and R categories.
17695
17696 * subr.el (bidi-string-mark-left-to-right): Rename from
17697 string-mark-left-to-right. Use category search.
17698
17699 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17700
bc987f8b
JL
177012011-08-18 Juri Linkov <juri@jurta.org>
17702
17703 * faces.el (error, warning, success): New faces with definitions
17704 copied from old default values of `font-lock-warning-face',
17705 `compilation-warning', `compilation-info' (bug#6117).
17706
17707 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17708
17709 * progmodes/compile.el (compilation-error): Inherit from `error'.
17710 (compilation-warning): Inherit from `warning'.
17711 (compilation-info): Inherit from `success'.
17712
17713 * dired.el (dired-marked): Inherit from `warning'.
17714 (dired-flagged): Inherit from `error'.
17715
57173b96
LMI
177162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17717
3e79eb87
LMI
17718 * mail/smtpmail.el (auth-source): Require to avoid problems with
17719 binding variables (bug#9298). Also clean up some unused
17720 autoloads.
17721
b3fd59bd
SM
17722 * net/network-stream.el (network-stream-open-starttls):
17723 Support using starttls.el without using gnutls-cli.
57173b96 17724
02b404de
JL
177252011-08-17 Juri Linkov <juri@jurta.org>
17726
17727 * progmodes/grep.el (rgrep): Handle the case when
17728 `grep-find-command' is a cons cell (bug#9278).
17729
8c9177f2
MR
177302011-08-17 Martin Rudalics <rudalics@gmx.at>
17731
17732 * window.el (display-buffer-pop-up-frame): Run frame creation
17733 function with BUFFER current (as special-display-popup-frame
17734 does). Reported by Drew Adams.
17735
3644a0ab
DU
177362011-08-17 Daiki Ueno <ueno@unixuser.org>
17737
17738 * epa-mail.el: Simplify GnuPG group expansion using
17739 epg-expand-group.
17740 (epa-mail-group-alist, epa-mail-group-modtime)
17741 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17742 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17743 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17744 Remove.
17745
5e617bc2 177462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17747
17748 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17749
9c4aeabf
AM
177502011-08-16 Alan Mackenzie <acm@muc.de>
17751
17752 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17753 Correct, to avoid the inside of macros.
17754
3a99bf64
RS
177552011-08-16 Richard Stallman <rms@gnu.org>
17756
04963aa8
RS
17757 * epa-mail.el: Handle GnuPG group definitions.
17758 (epa-mail-group-alist, epa-mail-group-modtime)
17759 (epa-mail-gnupg-conf-file): New variables.
17760 (epa-mail-parse-groups, epa-mail-sync-groups)
17761 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17762 (epa-mail-expand-recipients): New functions.
17763 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17764
177549d0
RS
17765 * mail/rmail.el (rmail-epa-decrypt): New command.
17766
fe38beef
RS
17767 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17768 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17769 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17770 (epa-decrypt-armor-in-region): Make error message clearer.
17771
934eacb9
SM
177722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17773
17774 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17775 and "a2b" to "ab" for `prefix'.
17776
d024fb4e
CY
177772011-08-14 Chong Yidong <cyd@stupidchicken.com>
17778
17779 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17780 filter groups.
de148fee
CY
17781 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17782 Fourquet (Bug#8804).
d024fb4e 17783
62f1ca49
JB
177842011-08-12 Juanma Barranquero <lekktu@gmail.com>
17785
17786 * startup.el (argi): Declare as global variable (bug#9275).
17787
9ccaaa4b
CY
177882011-08-12 Chong Yidong <cyd@stupidchicken.com>
17789
17790 * subr.el (string-mark-left-to-right): Search the entire string
17791 for RTL script, not just the terminating character. Doc fix.
17792
a3dae87a
SM
177932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17794
6cd18349
SM
17795 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17796 New function.
17797 (js--regexp-literal, js-syntax-propertize-function): Remove.
17798 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17799 (js-mode-map): Don't rebind electric keys.
17800 (js-insert-and-indent): Remove.
17801 (js-mode): Setup electric-layout and electric-indent instead.
17802
a3dae87a
SM
17803 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17804
9d5cb631
DU
178052011-08-12 Daiki Ueno <ueno@unixuser.org>
17806
17807 * epa.el (epa-progress-callback-function): Fix the logic of
17808 displaying progress.
17809 * epa-file.el (epa-file-insert-file-contents): Make progress
17810 display more user-friendly.
17811 (epa-file-write-region): Ditto.
17812
3e26a4a2
CY
178132011-08-10 Chong Yidong <cyd@stupidchicken.com>
17814
17815 * subr.el (string-mark-left-to-right): New function.
17816
17817 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17818 Use string-mark-left-to-right.
17819 (list-buffers-noselect): Caller changed.
17820
a3dae87a
SM
17821 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17822 Use string-mark-left-to-right.
3e26a4a2
CY
17823 (tabulated-list-print): Recenter after moving point.
17824
ac8cf6e6
JL
178252011-08-10 Juri Linkov <juri@jurta.org>
17826
17827 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17828 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17829 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17830
8d96c9a4
CY
178312011-08-09 Chong Yidong <cyd@stupidchicken.com>
17832
17833 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17834 (Bug#7554).
17835
7be1c708 178362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17837
17838 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17839 character. (Bug#6594)
17840
37e11a63
CY
178412011-08-08 Chong Yidong <cyd@stupidchicken.com>
17842
839dde57
CY
17843 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17844 (image-dired--with-db-file): New macro.
17845 (image-dired-write-tags, image-dired-remove-tag)
17846 (image-dired-create-gallery-lists, image-dired-write-comments)
17847 (image-dired-get-comment, image-dired-mark-tagged-files)
17848 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17849 (image-dired-gallery-generate): Use insert-file-contents.
17850
37e11a63
CY
17851 * time.el (display-time-world-list, display-time-world-display):
17852 * time-stamp.el (time-stamp-string):
17853 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17854 set-time-zone-rule (Bug#7337).
17855
0b4946c4
DU
178562011-08-08 Daiki Ueno <ueno@unixuser.org>
17857
17858 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17859 (epg-error-to-string, epg-errors-to-string): New function.
17860 (epg-wait-for-completion): Reverse errors list.
17861 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17862 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17863 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17864 (epg-sign-keys, epg-generate-key-from-file)
17865 (epg-generate-key-from-string): Format errors by using
17866 epg-errors-to-string (bug#9255).
17867 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17868
75bfc667
JL
178692011-08-07 Juri Linkov <juri@jurta.org>
17870
17871 * faces.el (list-faces-display): Remove extra angle bracket
17872 from `help-mode-map'.
17873
17874 * info.el (Info-history-toc-nodes): Doc fix.
17875
17876 * longlines.el (longlines-mode): Doc fix.
17877
673e08bb
SM
178782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17879
4640dd88
SM
17880 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17881 of statements and in a few more cases (bug#9183).
17882
673e08bb
SM
17883 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17884 New functions.
17885 (cl-transform-lambda): Use them (bug#9239).
17886
89b3f019
MR
178872011-08-05 Martin Rudalics <rudalics@gmx.at>
17888
17889 * window.el (display-buffer-same-window)
17890 (display-buffer-same-frame, display-buffer-other-window)
17891 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17892 (pop-to-buffer-other-window)
17893 (pop-to-buffer-same-frame-other-window)
17894 (pop-to-buffer-other-frame): Make them defuns.
17895 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17896
640c8776
SM
178972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17898
17899 * subr.el (make-composed-keymap): Move from C. Change calling
17900 convention, and improve docstring to bring attention to a subtle point.
17901 * minibuffer.el (completing-read-default): Adjust accordingly.
17902
63648a95
MA
179032011-08-03 Michael Albinus <michael.albinus@gmx.de>
17904
17905 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17906 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17907
17908 * net/trampver.el: Update release number.
17909
b796c9b7
SM
179102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17911
17912 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17913 "in" (bug#9190).
17914
2239d7d5
LMI
179152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
e07dd7c3
LMI
17917 * mail/sendmail.el (sendmail-query-once): Restore the current
17918 buffer after querying (bug#9074).
17919
0e6a2bd7
LMI
17920 * dired.el (dired-flagged): Use different faces for marked and
17921 flagged files (bug#6117).
17922
ce887515
LMI
17923 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17924 (bug#4433).
17925
92f2affc
LMI
17926 * ido.el (ido-mode): Switch off the message if called
17927 non-interactively.
17928
57d5aff0
LMI
17929 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17930 before 587, since it appears that that's more likely to work for
17931 more people.
17932
98cd6c18 17933 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17934 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17935 exist.
17936
b96dec83
LMI
17937 * info.el: Remove the `Info-beginning-of-buffer' function
17938 (bug#8325).
17939
b796c9b7
SM
17940 * net/network-stream.el (network-stream-open-starttls):
17941 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17942
d90e2ea0
MR
179432011-08-01 Martin Rudalics <rudalics@gmx.at>
17944
17945 * window.el (display-buffer-in-window): Don't set dedicated status
17946 of window here (Bug#9215).
17947 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17948 (display-buffer-pop-up-side-window)
b796c9b7 17949 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17950
cca09170
SM
179512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17952
17953 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17954 before binding generated-autoload-file.
17955
027b979c
DD
179562011-08-01 Deniz Dogan <deniz@dogan.se>
17957
17958 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17959
3c7ee4f3
MA
179602011-07-30 Michael Albinus <michael.albinus@gmx.de>
17961
17962 Sync with Tramp 2.2.2.
17963
17964 * net/trampver.el: Update release number.
17965
2cc8e51a
JL
179662011-07-30 Juri Linkov <juri@jurta.org>
17967
17968 * dired-aux.el (dired-touch-initial): Remove function.
17969 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17970 current time, and `default' to the last modification time of the
17971 current marked file (bug#6887).
17972
a514d856
JM
179732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17974
17975 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17976 numeric argument to read-number (bug#9163).
a514d856 17977
8a7eddd7
MA
179782011-07-27 Michael Albinus <michael.albinus@gmx.de>
17979
17980 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17981 connection process, it could be nil.
17982
1ddd96f5
LL
179832011-07-27 Leo Liu <sdl.web@gmail.com>
17984
17985 Simplify url handling in rcirc-mode.
17986
17987 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17988 (rcirc-browse-url-at-mouse): Remove.
17989 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17990
b248a85d
AM
179912011-07-26 Alan Mackenzie <acm@muc.de>
17992
17993 Fontify bitfield declarations properly.
17994
17995 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17996 (c-symbol-chars): Now exported as a lang variable.
17997 (c-not-primitive-type-keywords): New lang variable.
17998
17999 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18000 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18001 parsed as a bitfield declaration.
b248a85d 18002
b796c9b7
SM
18003 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18004 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18005 (c-punctuation-in): New function.
18006 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18007 declarations properly.
18008
68575ab0
UJ
180092011-07-26 Ulf Jasper <ulf.jasper@web.de>
18010
18011 * calendar/icalendar.el (icalendar--all-events): Take care of
18012 multiple vcalendars in a single file.
b796c9b7 18013 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18014
0f0a88b9
DD
180152011-07-25 Deniz Dogan <deniz@dogan.se>
18016
18017 * image.el (insert-image): Clarifying docstring.
18018
0b3f36df
MA
180192011-07-24 Michael Albinus <michael.albinus@gmx.de>
18020
18021 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18022 `tramp-send-command-and-check' if there is no error.
18023 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18024
a9901f61
AM
180252011-07-22 Alan Mackenzie <acm@muc.de>
18026
18027 Prevent cc-langs.elc being loaded at run time.
18028
18029 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18030 cc-langs.
18031
4d61f28d 18032 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18033 "(require 'cc-langs)". Quote a form so it will evaluate at
18034 (cc-mode's) compilation time.
18035
11d074b2
MA
180362011-07-22 Michael Albinus <michael.albinus@gmx.de>
18037
18038 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18039 loading. (Bug#9114)
18040
938b94c8
MR
180412011-07-21 Martin Rudalics <rudalics@gmx.at>
18042
18043 * window.el (display-buffer-pop-up-window)
18044 (display-buffer-pop-up-side-window)
18045 (display-buffer-in-side-window): Call display-buffer-set-height
18046 and display-buffer-set-width after setting the new window's
b796c9b7 18047 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18048
bfa4f190
SS
180492011-07-20 Sam Steingold <sds@gnu.org>
18050
18051 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18052 (etags-tags-included-tables): Call `convert-standard-filename' on
18053 the file names contained in TAGS so that windows Emacs can handle
18054 TAGS files created by cygwin ctags.
18055
8ca42262
LMI
180562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18057
18058 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18059 which apparently didn't work.
18060
5db2afd2 180612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18062
5db2afd2
RW
18063 * proced.el (proced-send-signal): For *Marked Processes* buffer
18064 put point at beginning of buffer.
18065
92e15d10
SB
180662011-07-19 Stephen Berman <stephen.berman@gmx.net>
18067
18068 * proced.el (proced-format): Make header lines align with the text
18069 (bug#1779).
18070
1bfd59e5
LMI
180712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
18073 * view.el (view-buffer): Allow running in `special' modes if we're
18074 visiting a file (bug#8615).
18075
f5aae37c
MR
180762011-07-19 Martin Rudalics <rudalics@gmx.at>
18077
18078 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18079 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18080 New functions.
f5aae37c
MR
18081 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18082 more accurately.
18083
bf2c1571
AM
180842011-07-18 Alan Mackenzie <acm@muc.de>
18085
18086 Fontify declarators properly when, e.g., a jit-lock chunk begins
18087 inside a declaration.
18088
18089 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18090
b796c9b7
SM
18091 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18092 New function.
bf2c1571
AM
18093 (c-complex-decl-matchers): Insert reference to
18094 c-font-lock-enclosing-decls.
18095
18096 * progmodes/cc-engine.el (c-backward-single-comment):
18097 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18098 to nil around calls to (forward-comment -1).
18099
4e190b80
LMI
181002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18101
12dc863d
LMI
18102 * image.el (put-image): Doc typo fix.
18103
a762e966
LMI
18104 * progmodes/etags.el (tags-search): Doc typo fix.
18105
4e190b80
LMI
18106 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18107 password if we get errors 550 to 554.
18108
f019fb21
LMI
181092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18110
b796c9b7 18111 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18112
81746738
LMI
18113 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18114 indentation character (bug#6380).
18115
3ee3a1b5
LMI
18116 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18117
c82f64de
LMI
18118 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18119 to clarify what the problem is (bug#4291).
18120
f019fb21
LMI
18121 * simple.el (current-kill): Clarify what
18122 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18123 (auto-fill-mode): Document `auto-fill-function' in relation to
18124 `auto-fill-mode' (bug#2470).
f019fb21 18125
0794775d
LM
181262011-07-16 Lawrence Mitchell <wence@gmx.li>
18127
18128 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18129 method if slot is read-only (bug#9035).
18130
be39b8cc
MR
181312011-07-16 Martin Rudalics <rudalics@gmx.at>
18132
b796c9b7 18133 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18134 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18135 selected before, see discussion of (Bug#8615), (Bug#6954).
18136 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18137
6ccf7859
GM
181382011-07-15 Glenn Morris <rgm@gnu.org>
18139
18140 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18141 Respect help-form.
6ccf7859 18142
87e86684
LM
181432011-07-09 Lawrence Mitchell <wence@gmx.li>
18144
18145 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18146 (gnutls-negotiate): Use it.
18147
d6066239
LMI
181482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18149
b796c9b7
SM
18150 * net/gnutls.el (gnutls-negotiate):
18151 Upcase `gnutls-algorithm-priority'.
d6066239 18152
bd23ebc0
GM
181532011-07-15 Glenn Morris <rgm@gnu.org>
18154
c65bca65
GM
18155 * jka-compr.el (jka-compr-verbose): Move from here...
18156 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18157 Add missing :version tag.
18158 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18159
478615cc
LMI
181602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18161
7b41decb
LMI
18162 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18163 (gnutls-negotiate): Use it.
18164
dbc44fcd
LMI
18165 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18166
06789f97
LMI
18167 * info.el (Info-beginning-of-buffer): New command.
18168 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18169 announcing `b' as the key (bug#8325).
ab896c37 18170 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18171
c39da690
LMI
18172 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18173
3aa5f34b
LMI
18174 * international/mule-cmds.el
18175 (describe-specified-language-support): Make the error message
18176 clearer (bug#8905).
18177
4bf0979f
LMI
18178 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18179
478615cc
LMI
18180 * isearch.el (isearch-barrier): Add a doc string, since it's
18181 mentioned in a function doc string (bug#8678).
18182
75c68aa1
MR
181832011-07-15 Martin Rudalics <rudalics@gmx.at>
18184
18185 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18186 buffer argument (Bug#9083) and self-identifying label argument.
18187
a7c33da2
GM
181882011-07-15 Glenn Morris <rgm@gnu.org>
18189
18190 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18191
2f5c6024
LMI
181922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18193
18194 * man.el (Man-fontify-manpage): Fix message when formatting the
18195 man page (bug#7929).
18196
0bb23927 181972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18198
18199 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18200 argument LRM; if non-nil, append an invisible LRM character to the
18201 buffer name.
18202 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18203 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18204 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18205 paragraph direction.
cce4b0a7 18206
621ef9ab
LMI
182072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18208
d1583c48
LMI
18209 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18210 the man page name (bug#7929).
18211
6a57fb5f
LMI
18212 * image.el (put-image): Mention the `put-image' overlay property
18213 (bug#7834).
18214
d7956b14
LMI
18215 * scroll-bar.el (set-scroll-bar-mode): Mention that
18216 `scroll-bar-mode' lists the values (bug#7772).
18217
5b2d4a66
LMI
18218 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18219 command (bug#7729).
18220
7509a874
LMI
18221 * rect.el (apply-on-rectangle): Return the point after the last
18222 operation.
18223 (string-rectangle): Go to the point after the last operation
18224 (bug#7522).
18225
4fe74b19
LMI
18226 * printing.el (pr-toggle-region): Clarify the documentation
18227 slightly (bug#7493).
18228
b796c9b7
SM
18229 * time.el (display-time-update):
18230 Allow `display-time-mail-function' to return nil (bug#7158).
18231 Fix suggested by Detlev Zundel.
ab283561 18232
fc233c9d
LMI
18233 * vc/diff.el (diff): Clarify the order the file names are read
18234 (bug#7111).
18235
43f5740b
LMI
18236 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18237 the doc string (bug#7015).
18238
f2182a76
LMI
18239 * font-lock.el (font-lock-maximum-decoration): Mention what
18240 numeric levels mean (bug#6935).
18241
621ef9ab
LMI
18242 * startup.el (initial-buffer-choice): Don't mention the `none'
18243 selection, which is against policy.
18244
adc47434
MR
182452011-07-14 Martin Rudalics <rudalics@gmx.at>
18246
b796c9b7
SM
18247 * window.el (display-buffer-normalize-special):
18248 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18249
7e5bfb8f
EZ
182502011-07-14 Eli Zaretskii <eliz@gnu.org>
18251
18252 * subr.el (version<, version<=, version=): Mention "-CVS" and
18253 "-12345" alpha version numbers.
18254
27fa387a
CY
182552011-07-14 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * bindings.el: Add advertised binding for set-mark-command
18258 (Bug#5772).
18259
8bdfa064
CY
182602011-07-14 Chong Yidong <cyd@stupidchicken.com>
18261
18262 * bindings.el (mode-line-other-buffer):
18263 * bookmark.el (bookmark-bmenu-2-window):
18264 * bs.el (bs-cycle-next, bs-cycle-previous):
18265 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18266 switch-to-buffer.
18267
18268 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18269 Delete.
8bdfa064 18270
5eba16a3
JB
182712011-07-14 Juanma Barranquero <lekktu@gmail.com>
18272
18273 * follow.el (follow-debug-message, follow-redisplay):
18274 * jka-cmpr-hook.el (with-auto-compression-mode):
18275 Fix typos in docstrings.
18276
15853710
LMI
182772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18278
a28e4607
LMI
18279 * subr.el (with-silent-modifications): Clarify somewhat what the
18280 macro inhibits (bug#6525).
18281
15853710
LMI
18282 * simple.el (eval-expression): Note what it does if called
18283 interactively (bug#6495).
18284
bee0fcef
CY
182852011-07-13 Chong Yidong <cyd@stupidchicken.com>
18286
b796c9b7
SM
18287 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18288 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18289
18290 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18291 Remove switch-to-buffer.
18292
58274504
LMI
182932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18294
bd2fcc8d
LMI
18295 * files.el (make-directory): Clarify that an error will be raised
18296 if there's an error (bug#6397).
18297
0f04b32c
LMI
18298 * startup.el (initial-buffer-choice): Add `none' as a choice
18299 (bug#6234).
18300
465c5fc8
LMI
18301 * subr.el (add-hook): Clarify section about buffer-local hooks
18302 (bug#6218).
18303
58274504
LMI
18304 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18305
bead9a43
JB
183062011-07-13 Juanma Barranquero <lekktu@gmail.com>
18307
18308 * tabify.el (untabify): Preserve the current column so that point
18309 doesn't move (bug#6032).
18310
3af98a7b
LMI
183112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18312
b796c9b7
SM
18313 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18314 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18315
6240145a
GM
183162011-07-13 Glenn Morris <rgm@gnu.org>
18317
18318 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18319 (dired-insert-directory): Give a message the first time
18320 if ls is found not to support --dired.
18321
1d8c2ccc
LMI
183222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18323
18324 * simple.el (toggle-truncate-lines): Clarify what is toggled
18325 (bug#5580). Text by Drew Adams.
18326
5fc4038e
CY
183272011-07-13 Chong Yidong <cyd@stupidchicken.com>
18328
18329 * simple.el (blink-matching-open): Make the error message from the
18330 last change less verbose.
18331
bf6012e5
DN
183322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18333
18334 * font-lock.el (font-lock-comment-face): Use the high contrast
18335 "yellow" color for font-lock-comment-face on low color terminals
18336 using a dark background color (bug#4221).
18337
343c3b5a
LMI
183382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18339
7e9505c5
LMI
18340 * dired.el (dired-insert-set-properties): Make the doc string
18341 reflect what it does now (bug#5325).
18342
c26fdcf5
LMI
18343 * simple.el (blink-matching-open): Say that we were unable to find
18344 the match within the limit, if we're limited (bug#5122).
18345
bb388cc5
LMI
18346 * international/mule-cmds.el (prefer-coding-system): Add an
18347 example (bug#4869).
18348
343c3b5a
LMI
18349 * progmodes/etags.el (tags-search): Document `file-list-form'
18350 (bug#4731).
18351
2a517d45
LM
183522011-07-13 Lawrence Mitchell <wence@gmx.li>
18353
18354 * net/browse-url.el (browse-url-default-browser)
18355 (browse-url-browser-function): Make the default browser choice a
18356 bit more logical (bug#4300). Also clean up the doc string.
18357
b6c78ef2
JB
183582011-07-13 Juanma Barranquero <lekktu@gmail.com>
18359
18360 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18361 binary endings (bug#4440).
18362
1c4dd947
LMI
183632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18364
a2014063
LMI
18365 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18366 which can be pretty annoying (bug#8971).
18367
9c9c2d88
LMI
18368 * jka-compr.el (jka-compr-verbose): New variable, and use
18369 throughout (bug#8971).
18370
1c4dd947
LMI
18371 * info.el (Info-find-file): Fall back on the installation
18372 directory if we can't find the info node anywhere else.
18373
a1c9f41b
SO
183742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18375
18376 * vc/vc.el (vc-revert-file):
18377 Don't set file time-stamp in the past. (Bug#5181)
18378
536f3d36
LMI
183792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18380
7152b011
LMI
18381 * files.el (after-find-file): Give a better error message when
18382 trying to find a symlink that points to a file that doesn't exist
18383 (bug#4398).
18384
536f3d36
LMI
18385 * progmodes/cc-vars.el: Remove (probably) misleading comment
18386 (bug#4396).
18387
460c0fba
JB
183882011-07-12 Johan Bockgård <bojohan@gnu.org>
18389
18390 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18391
7a6bda45
CY
183922011-07-12 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * mouse-sel.el: Hack restoring functionality, while keeping
18395 compatibility with 2010-07-03 changes to mouse selection.
18396 (mouse-sel-primary-overlay): New var.
18397 (mouse-sel-selection-alist): Use it.
18398 (mouse-sel-mode): Doc fix; remove points that are default features
18399 of mouse.el.
18400
c79598ef
JB
184012011-07-12 Johan Bockgård <bojohan@gnu.org>
18402
18403 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18404 Fix previous fix (bug#2490).
18405
ff8be6ef
RW
184062011-07-12 Roland Winkler <winkler@gnu.org>
18407
b796c9b7
SM
18408 * textmodes/bibtex.el (bibtex-initialize):
18409 Use pop-to-buffer-same-window.
ff8be6ef
RW
18410 (bibtex-search-entries): Fix interactive call.
18411
296ba3ee
LMI
184122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18413
f5242a02 18414 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18415 Fontise bytecomp Error lines more correctly (bug#2490).
18416 Fix suggested by Johan Bockgård.
f5242a02 18417
296ba3ee
LMI
18418 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18419
18420 * dired-x.el (dired-guess-default): Use `delete-dups'.
18421
f69fd0d2
CY
184222011-07-12 Chong Yidong <cyd@stupidchicken.com>
18423
18424 * dired.el (dired-mark-prompt):
18425 * dired-aux.el (dired-read-shell-command): Doc fix.
18426
eab5dc07
LMI
184272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18428
b796c9b7
SM
18429 * mail/sendmail.el (sendmail-query-once):
18430 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18431 emacs -Q.
18432
18433 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18434
eab5dc07
LMI
18435 * cus-edit.el (custom-file): Take an optional no-error variable.
18436 (customize-save-variable): Set the variable, and give a warning if
18437 running under "emacs -q".
18438
a1e65d42
JB
184392011-07-11 Juanma Barranquero <lekktu@gmail.com>
18440
18441 * loadhist.el (unload-feature-special-hooks):
18442 Add `auto-coding-functions', `fill-nobreak-predicate' and
18443 `find-directory-functions' (bug#5327).
18444
1d52da10
LMI
184452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18446
be958f1d
LMI
18447 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18448
5bedb26c
LMI
18449 * cus-edit.el (custom-guess-name-alist): -alist variables should
18450 use the `alist' type (bug#3120). Suggested by Drew Adams.
18451
1d52da10
LMI
18452 * printing.el: Add documentation to all the `pr-toggle-' commands.
18453
cd394be1 184542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18455
18456 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18457 backends where it makes sense (bug#2623).
18458
dcc88d8a
LMI
184592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18460
c3de9feb
LMI
18461 * dired-x.el (dired-guess-default): Remove duplicate shell command
18462 entries (bug#2028).
8a93078b 18463 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18464 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18465
dcc88d8a
LMI
18466 * subr.el (remove-duplicates): New conveniency function.
18467
505e3645
LMI
184682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469
18470 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18471 (bug#1526).
18472
184732011-07-10 Martin Rudalics <rudalics@gmx.at>
18474
18475 * window.el (display-buffer-normalize-default): Don't invert
18476 meaning of even-window-heights. Reported by Eli Zaretskii
18477 <eliz@gnu.org>.
18478
455e4fa1
BR
184792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18480
18481 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18482
8e0bc3e9
CY
184832011-07-10 Chong Yidong <cyd@stupidchicken.com>
18484
18485 * window.el (display-buffer): Fix arguments to
18486 display-buffer-reuse-window in last change.
18487
fa7c3228
CY
18488 * faces.el (link): Use a less saturated blue on light backgrounds.
18489
18490 * startup.el (fancy-startup-text, fancy-about-text)
18491 (fancy-startup-tail): Use font-lock faces, for background safety.
18492
c0a7f300
BN
184932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18494
b796c9b7
SM
18495 * emulation/viper-cmd.el (viper-change-state-to-vi):
18496 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18497
4dc2a129
MR
184982011-07-09 Martin Rudalics <rudalics@gmx.at>
18499
18500 * window.el (display-buffer-default-specifiers): Remove.
18501 (display-buffer-macro-specifiers): Remove default specifiers.
18502 (display-buffer-alist): Default to nil.
b796c9b7 18503 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18504 (display-buffer-pop-up-window): Allow splitting internal
18505 windows. Check whether a live window was created.
18506 (display-buffer-other-window-means-other-frame)
18507 (display-buffer-normalize-arguments): Rename to
18508 display-buffer-normalize-argument and rewrite. Set the
18509 other-window specifier.
18510 (display-buffer-normalize-special): New function.
18511 (display-buffer-normalize-options): Rename to
18512 display-buffer-normalize-default and rewrite.
18513 (display-buffer-normalize-options-inhibit): Remove.
18514 (display-buffer-normalize-specifiers): Rewrite.
18515 (display-buffer): Process other-window specifier and call
18516 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18517 more faithfully.
b796c9b7 18518 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18519 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18520 (display-buffer-in-window, display-buffer-alist-set):
18521 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18522 <tassilo@member.fsf.org>.
18523
2d43b8c9
LL
185242011-07-09 Leo Liu <sdl.web@gmail.com>
18525
18526 * register.el (insert-register): Restore accidental change on
18527 2011-06-26. (Bug#9028)
18528
7f9b7c53
GM
185292011-07-09 Glenn Morris <rgm@gnu.org>
18530
18531 * subr.el (remq): Handle the empty list. (Bug#9024)
18532
f042cfd8
AS
185332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18534
18535 * mail/sendmail.el (send-mail-function): No longer delay custom
18536 initialization.
18537 * custom.el (custom-initialize-delay): Doc fix.
18538
856b2f11
SM
185392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18540
18541 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18542
afae1d68
MA
185432011-07-08 Michael Albinus <michael.albinus@gmx.de>
18544
18545 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18546 human-friendly prompt.
18547
0757af94
SM
185482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18551 provided by a particular plugin.
18552
d760b731
LMI
185532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18554
18555 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18556 save customizations (with "emacs -Q"), just set the variable
18557 instead of erroring out.
18558
18559 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18560
cd79ce90
JL
185612011-07-08 Juri Linkov <juri@jurta.org>
18562
18563 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18564 (archive-zip-update-case): Use 7z if found by `executable-find'.
18565 The order of searching the available programs is the same as in
18566 `archive-zip-extract' (bug#8968).
18567
14cc04aa
CY
185682011-07-07 Chong Yidong <cyd@stupidchicken.com>
18569
18570 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18571 (menu-bar-options-menu): Tweak descriptions.
18572
0a1848ec
LMI
185732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18574
18575 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18576 menu items into verb phrases (bug#1421). Also refill to fit under
18577 80 columns.
18578
f5bd0689
CY
185792011-07-07 Chong Yidong <cyd@stupidchicken.com>
18580
538e85c6
CY
18581 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18582 (Info-read-node-name): Doc fix (Bug#1084).
18583
f5bd0689
CY
18584 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18585 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18586 (end-of-sexp, beginning-of-sexp)
18587 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18588 (forward-symbol, forward-same-syntax, word-at-point)
18589 (sentence-at-point): Doc fix (Bug#1144).
18590
56ec5115
LMI
185912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18592
f3f8e37f
LMI
18593 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18594 should cover it (bug#1281).
18595
0757af94 18596 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18597
e9fce1ac 18598 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18599 negotiation fails, then possibly try again with a non-encrypted
18600 connection (bug#9017).
18601
56ec5115
LMI
18602 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18603 be used.
18604
c2f9aec8
RS
186052011-07-07 Richard Stallman <rms@gnu.org>
18606
18607 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18608 property, and handle its changed format.
18609 Look for the correct line number.
18610 Use file's line contents (but not past first =) to find
18611 correct line in message.
18612
ef7b981d 186132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18614
18615 * international/characters.el (build-unicode-category-table):
18616 Delete it.
0757af94 18617 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18618
0757af94 18619 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18620 to src/chartab.c.
18621 (get-char-code-property): Call unicode-property-table-internal to
18622 load a file. Call get-unicode-property-internal where necessary.
18623 (put-char-code-property): Call unicode-property-table-internal to
18624 load a file. Call put-unicode-property-internal where necessary.
18625 put-unicode-property-internal where necessary.
0757af94
SM
18626 (char-code-property-description):
18627 Call unicode-property-table-internal to load a file.
c805dec0
KH
18628
18629 * international/charprop.el:
18630 * international/uni-bidi.el:
18631 * international/uni-category.el:
18632 * international/uni-combining.el:
18633 * international/uni-comment.el:
18634 * international/uni-decimal.el:
18635 * international/uni-decomposition.el:
18636 * international/uni-digit.el:
18637 * international/uni-lowercase.el:
18638 * international/uni-mirrored.el:
18639 * international/uni-name.el:
18640 * international/uni-numeric.el:
18641 * international/uni-old-name.el:
18642 * international/uni-titlecase.el:
18643 * international/uni-uppercase.el: Regenerate.
18644
18645 * loadup.el: Load international/charprop.el before
18646 international/characters.
18647
e14b388a
CY
186482011-07-07 Chong Yidong <cyd@stupidchicken.com>
18649
18650 * window.el (next-buffer, previous-buffer): Signal an error if
18651 called from a minibuffer window.
18652
18653 * bindings.el: Revert 2011-07-04 change.
18654
354cf0ba
RS
186552011-07-06 Richard Stallman <rms@gnu.org>
18656
18657 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18658 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18659 Treat markers like ints.
18660 (rmail-mime-entity): Doc fix.
18661
a48868a7
LMI
186622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18663
4906cd3d
LMI
18664 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18665 defcustom again for backwards compatibility.
18666
e0457abe
LMI
18667 * simple.el (shell-command-on-region): Fill.
18668
d67f7e1f
LMI
18669 * dired-aux.el (dired-kill-line): Add a doc string.
18670
fe204702
LMI
18671 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18672 to "\\sw\\|\\s_" (bug#358).
18673
a48868a7
LMI
18674 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18675 (dired-unmark-backward): Ditto.
18676 (dired-flag-backup-files): Ditto.
18677
18678 * dired-x.el (dired-mark-sexp): Ditto.
18679
aa8a705c
RS
186802011-07-06 Richard Stallman <rms@gnu.org>
18681
18682 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18683 (rmail-mime-entity): New arg TRUNCATED.
18684 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18685 New functions.
18686 (rmail-mime-save): Warn if entity is truncated.
18687 (rmail-mime-toggle-hidden): Likewise, for showing.
18688 (rmail-mime-process-multipart): Record when an entity is truncated.
18689
a9a936b9
RS
18690 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18691 if ENTITY is a string.
18692
1f2b92cb
LMI
186932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18694
f4f73198 18695 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18696 of faces when `M-C-x'-ing their definitions (bug#8378).
18697 Also clean up the code slightly.
f4f73198 18698
12b16734 18699 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18700 because that makes the colors go away.
12b16734 18701
f0691d22
LMI
18702 * mail/sendmail.el (send-mail-function): Change the default to
18703 `sendmail-query-once'.
9e87df06 18704 (sendmail-query-once): Add an autoload cookie.
f0691d22 18705
1f2b92cb
LMI
18706 * net/network-stream.el (network-stream-open-starttls): Try using
18707 a plain connection even if the server offered STARTTLS, and we
18708 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18709 capability. This should make smtpmail.el work in slightly more
18710 configurations.
18711
1cdd2a1b
MA
187122011-07-06 Michael Albinus <michael.albinus@gmx.de>
18713
18714 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18715 New defun.
18716 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18717
fbcc67e2
MM
187182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18719
18720 * progmodes/sql.el: Version 3.0
0757af94 18721 (sql-product-alist): Add product :completion-object,
fbcc67e2 18722 :completion-column, and :statement attributes.
0757af94 18723 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18724 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18725 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18726 ansi keywords.
18727 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18728 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18729 (sql-oracle-show-reserved-words): New function for development.
18730 (sql-product-font-lock): Simplify for source code buffers.
18731 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18732 New functions.
18733 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18734 (sql-mode-map): Add statement movement functions.
18735 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18736 New variable.
fbcc67e2
MM
18737 (sql-statement-regexp, sql-beginning-of-statement)
18738 (sql-end-of-statement, sql-signum): New functions.
0757af94 18739 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18740 (sql-show-sqli-buffer): Bug fix.
18741 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18742 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18743 with sql-interactive-mode.
18744 (sql-save-connection): Save buffer local settings.
0757af94 18745 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18746 (sql-product-interactive): Bug fix.
18747 (sql-preoutput-hold): New variable.
18748 (sql-interactive-remove-continuation-prompt): Bug fixes.
18749 (sql-debug-redirect): New variable.
18750 (sql-str-literal): New function.
18751 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18752 Redesign.
fbcc67e2
MM
18753 (sql-oracle-save-settings, sql-oracle-restore-settings)
18754 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18755 (sql-completion-object, sql-completion-column)
18756 (sql-completion-sqlbuf): New variables.
18757 (sql-build-completions-1, sql-build-completions)
18758 (sql-try-completion): New functions.
18759 (sql-read-table-name): Use them.
18760 (sql-contains-names): New buffer local variable.
18761 (sql-list-all, sql-list-table): Use it.
18762 (sql-oracle-completion-types): New variable.
18763 (sql-oracle-completion-object, sql-sqlite-completion-object)
18764 (sql-postgres-completion-object): New functions.
18765
d4eaeab1
GM
187662011-07-06 Glenn Morris <rgm@gnu.org>
18767
18768 * window.el (pop-to-buffer): Doc fix.
18769
322b7dab 187702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18771
18772 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18773
322b7dab 187742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18775
322b7dab 18776 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18777
322b7dab 18778 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18779
605dd5bf
CY
187802011-07-05 Chong Yidong <cyd@stupidchicken.com>
18781
18782 * button.el (button): Inherit from link face. Suggested by Dan
18783 Nicolaescu.
18784
7dbfa719
SM
187852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18786
3db614b0
SM
18787 * progmodes/gdb-mi.el: Fit in 80 columns.
18788 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18789 switch-to-buffer.
18790
7dbfa719
SM
18791 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18792 if imenu is simply not configured (bug#8941).
18793
919d884a
KM
187942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18795
18796 * allout.el (allout-post-undo-hook): New allout outline-change
18797 event hook to signal undo activity.
18798 (allout-post-command-business): Run allout-post-undo-hook if an
18799 undo just occurred.
7dbfa719
SM
18800 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18801 * allout-widgets.el (allout-widgets-after-undo-function):
18802 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18803 in the vicinity of an undo.
18804 (allout-widgets-mode): Include allout-widgets-after-undo-function
18805 on the new allout-post-undo-hook.
18806
450a0f09
SM
188072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18808
18809 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18810 Let define-derived-mode define it.
18811 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18812 cycles of abbrev-table inheritance (bug#8998).
18813
2de69e00
RW
188142011-07-05 Roland Winkler <winkler@gnu.org>
18815
18816 * textmodes/bibtex.el: Add support for biblatex.
18817 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18818 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18819 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18820 (bibtex-entry-alist, bibtex-field-alist): New variables.
18821 (bibtex-entry-field-alist): Obsolete alias for
18822 bibtex-BibTeX-entry-alist.
18823 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18824 (bibtex-set-dialect): New command.
18825 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18826 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18827 Bind via bibtex-set-dialect.
2de69e00
RW
18828 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18829 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18830 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18831 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18832 Define via bibtex-set-dialect.
450a0f09
SM
18833 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18834 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18835 (bibtex-vec-push, bibtex-vec-incr): New functions.
18836 (bibtex-format-entry, bibtex-field-list)
18837 (bibtex-print-help-message, bibtex-validate)
18838 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18839
2dcdbdd9
SM
188402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18841
18842 * progmodes/compile.el (compilation-goto-locus):
18843 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18844 * bs.el (bs-cycle-next, bs-cycle-previous):
18845 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18846 * bindings.el (mode-line-other-buffer):
18847 * autoinsert.el (auto-insert):
18848 * arc-mode.el (archive-extract):
18849 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18850
b27640fe
JB
188512011-07-05 Juanma Barranquero <lekktu@gmail.com>
18852
18853 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18854 Fix check of `emacs-lock-unlockable-modes'.
18855 Coerce true values of `emacs-lock--try-unlocking' to t.
18856
53bbe3ad
JB
188572011-07-05 Juanma Barranquero <lekktu@gmail.com>
18858
18859 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18860 * emacs-lock.el: New file.
18861
1d3cdbc7
JD
188622011-07-05 Julien Danjou <julien@danjou.info>
18863
18864 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18865 than `boundp' to check if face is set.
18866
9173deec
JB
188672011-07-05 Juanma Barranquero <lekktu@gmail.com>
18868
18869 * register.el (registerv-make):
18870 * window.el (window-min-height): Fix typos in docstrings.
18871
869795d6
JD
188722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18873
9173deec 18874 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18875 Update doc string.
18876
b768cdcd
JB
188772011-07-04 Juanma Barranquero <lekktu@gmail.com>
18878
18879 * server.el (server-execute): Catch quit and call
18880 `server-return-error' to pass the error back to emacsclient and
18881 close the connection (bug#8942).
18882
13aa217b
KM
188832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18884
18885 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18886 insecure exception for current topic. Also note that auto-saves
18887 are handled differently.
18888
5d3385a0 18889 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18890 State variables for tracking auto-save inhibition situation.
18891
18892 (allout-write-contents-hook-handler): Rename from
18893 'allout-write-file-hook-handler', and describe how it depends on
18894 write-contents-functions sensitivity to non-nil value to prevent
18895 file write.
18896
18897 (allout-auto-save-hook-handler): Remove. auto-save does not check
18898 this in individual buffers, only in the starting buffer, so this
18899 is not the right way for us to inhibit auto-save in a buffer
18900 according to its condition.
18901
18902 (allout-mode): Use new allout-write-contents-hook-handler, and
18903 only with write-contents-functions. Remove auto-save provisions -
18904 they're implemented elsewhere.
18905
18906 (allout-before-change-handler): If undo is in progress, note that
18907 for attention of allout-post-command-business.
18908
18909 (allout-post-command-business): If the command we're following was
18910 an undo, check for change in the status of encrypted items and
18911 adjust auto-save inhibitions accordingly.
18912
18913 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18914 according to whether there are or aren't any plain-text topics
18915 pending encryption.
18916
2dcdbdd9 18917 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18918 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18919 if there are plain-text topics pending encryption.
13aa217b
KM
18920
18921 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18922 buffer-saved-size and some allout state to not inhibit auto-saves
18923 if there are no longer any plain-text topics pending encryption.
18924
0757af94
SM
18925 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18926 No longer provide for exemption of the current topic.
13aa217b 18927
ac89b32c
JL
189282011-07-04 Juri Linkov <juri@jurta.org>
18929
18930 Add 7z operations to delete and save changed members (bug#8968).
18931 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18932 New defcustoms.
18933 (archive-7z-write-file-member): New function.
18934 (archive-7z-summarize): Fix the number of dashes in the
18935 listing output.
18936
8fa39615
SM
189372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18938
18939 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18940 (bug#8958).
18941
2f11b3f1
CY
189422011-07-04 Chong Yidong <cyd@stupidchicken.com>
18943
d66fef2b
CY
18944 * bindings.el: Ignore next-buffer and previous-buffer in
18945 minibuffer-local-map.
18946
2f11b3f1
CY
18947 * font-lock.el (font-lock-builtin-face): Change light background
18948 color to dark slate blue (Bug#6693).
18949
f932a347
WD
189502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18951
18952 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18953
c8af70e1
SM
189542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18957 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18958 Add switch-to-buffer.
18959
f158badc
LMI
189602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18961
18962 * isearch.el (isearch-search-fun-function): Clarify further the
18963 meaning of the function returned.
18964
6d95bd46
MA
189652011-07-04 Michael Albinus <michael.albinus@gmx.de>
18966
18967 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18968
18969 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18970 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18971 Use it.
18972 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18973 `tramp-default-remote-path' does not exist.
18974 (tramp-send-command-and-read): New optional argument NOERROR.
18975 (tramp-open-connection-setup-interactive-shell)
18976 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18977 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18978 (tramp-process-sentinel): Flush also process' connection property.
18979 (tramp-sh-handle-start-file-process): Do not set process
18980 sentinel. It is done now ...
18981 (tramp-maybe-open-connection): ... here. (Bug#8929)
18982
909e6b67
MK
189832011-07-04 MON KEY <monkey@sandpframing.com>
18984
18985 * play/animate.el (animate-string): Doc fixes and allow changing
18986 the buffer name (bug#5417).
18987
189882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18989
c8af70e1 18990 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18991
f34755dc
PE
189922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18993
396cec72
PE
18994 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18995 This is simpler and helps future-proof the code.
18996 (timer-until): Use time-subtract and float-time.
08235028 18997 (timer--time-less-p): Use time-less-p.
f34755dc 18998
56e6cc31
JB
189992011-07-04 Juanma Barranquero <lekktu@gmail.com>
19000
3abb79e5
JB
19001 * type-break.el (timep): Use the value of `float-time' to avoid a
19002 byte-compiler warning.
19003
56e6cc31
JB
19004 * server.el (server-eval-and-print): Return any result, even nil.
19005
7b9430b4
PE
190062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19007
19008 * type-break.el: Accept time formats that the builtins accept.
19009 (timep, type-break-time-difference): Accept any format that
19010 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19011 This is simpler and helps future-proof the code.
19012 (type-break-time-difference): Round rather than ignoring
19013 subseconds components.
19014
3034e9e7
LMI
190152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19016
19017 * info.el (Info-apropos-matches): Make non-interactive, since it
19018 doesn't seem to do anything useful as a command (bug#8829).
19019
1485f4c0
CY
190202011-07-03 Chong Yidong <cyd@stupidchicken.com>
19021
19022 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19023 Move from faces.el.
1485f4c0
CY
19024 (frame-default-terminal-background): New function.
19025
19026 * custom.el (custom-push-theme): Don't record faces in `changed'
19027 theme; this doesn't work correctly for per-frame face settings.
19028 (disable-theme): Use face-set-after-frame-default to reset faces.
19029 (custom--frame-color-default): New function.
19030
9fa3dd45
LMI
190312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19032
c8af70e1 19033 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19034 (bug#8769).
19035
6cbbc20c
KR
190362011-03-29 Kevin Ryde <user42@zip.com.au>
19037
19038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19039 `perl-Test2' extend to match possible "fail #N" rep count
19040 (bug#8377).
19041
c7f98048
LMI
190422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19043
65676592
LMI
19044 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19045 `smtpmail-via-smtp' now returns the error instead of nil.
19046
c7f98048
LMI
19047 * isearch.el (isearch-search-fun-function): Clarify the doc string
19048 (bug#8101).
19049
56e6cc31 190502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19051
19052 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19053 unnecessary spaces (bug#8987).
19054
2b216704
LMI
190552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19056
19057 * net/network-stream.el (open-network-stream): Use the
19058 :end-of-capability command thoughout.
19059
190602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19061
19062 * net/network-stream.el (open-network-stream): Add the
19063 :end-of-capability command parameter, used by pop3.el.
19064
36adf6ce
LMI
190652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19066
1ca0da0e
LMI
19067 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19068
fc00f69c
LMI
19069 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19070 for list)" (bug#6475).
19071
28fd8759 19072 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19073 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19074 an error (bug#6297).
19075
0dd8b6da
LMI
19076 * man.el (Man-reference-regexp): Allow matching possible
19077 word-wrapped references (bug#6289).
19078
ce1438d6
LMI
19079 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19080 for consistency with the other vc buffers (bug#6197).
19081 (vc-checkin): Ditto.
19082
19083 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19084
36adf6ce
LMI
19085 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19086
e83cc1f7
LMI
190872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19088
8a20ca4c
LMI
19089 * custom.el (defcustom): Clarify that :set is only used in the
19090 Customize user interface (bug#6089).
19091
83319045
LMI
19092 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19093 associated with a file, refuse to run instead of erroring out
19094 (bug#6084).
19095
a8392169
LMI
19096 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19097 the doc string, since it appears that using `fill-column' always
19098 controls the width (bug#7845).
19099
e83cc1f7
LMI
19100 * simple.el (shell-command-on-region): Say where the error output
19101 went if `shell-command-default-error-buffer' is set (bug#6857).
19102
e47ca23b
KM
191032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19104
19105 * allout.el (allout-yank-processing): Adjust cursor position for
19106 backwards-deleted space.
19107
19108 (allout-rebullet-heading): Register changes with
19109 allout-exposure-changed-hook, so the modified topic is properly
19110 decorated.
19111
5cf56143
LMI
191122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19113
08549772
LMI
19114 * minibuffer.el (completion-in-region): Document PREDICATE
19115 (bug#7136).
19116
48e96771
LMI
19117 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19118 of keyword/argument pairs (bug#6904).
19119
c8af70e1
SM
19120 * replace.el (multi-occur):
19121 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19122
e17d05e2
LMI
191232011-07-02 Drew Adams <drew.adams@oracle.com>
19124
19125 * dired.el (dired-mark-if): Make the message about whether it's
19126 marking or unmarking clearer (bug#8523).
19127
063b0e45
LMI
191282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19129
19130 * disp-table.el (display-table-print-array): New function.
19131 (describe-display-table): Use it to print the vectors more pretty
19132 (Bug#8859).
19133
28545e04
MR
191342011-07-02 Martin Rudalics <rudalics@gmx.at>
19135
19136 * window.el (window-state-get-1): Don't assign clone numbers.
19137 Add clone-of item to list of window parameters.
19138 (window-state-put-2): Don't process clone numbers.
19139 (display-buffer-alist): Fix doc-string.
19140
3349e122
SM
191412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19142
19143 * subr.el (remq): Don't allocate if it's not needed.
19144 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19145 (keymap--merge-bindings): New functions.
19146 (keymap-canonicalize): Use them to refine the canonicalization.
19147 * minibuffer.el (minibuffer-local-completion-map)
19148 (minibuffer-local-must-match-map): Move initialization from C.
19149 (minibuffer-local-filename-completion-map): Move initialization from C;
19150 don't inherit from anything here.
19151 (minibuffer-local-filename-must-match-map): Make obsolete.
19152 (completing-read-default): Use make-composed-keymap to combine
19153 minibuffer-local-filename-completion-map with either
19154 minibuffer-local-must-match-map or
19155 minibuffer-local-filename-completion-map.
19156
d224ac83
GM
191572011-07-01 Glenn Morris <rgm@gnu.org>
19158
3de63bf8
GM
19159 * type-break.el (type-break-time-sum): Use dolist.
19160
d224ac83
GM
19161 * textmodes/flyspell.el (flyspell-word-search-backward):
19162 Replace CL function.
19163
1a1e3f32
SM
191642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19165
fe3f64d5
SM
19166 * mouse.el (mouse--strip-first-event): New function.
19167 (function-key-map): Use it to map fringe clicks to normal clicks
19168 by default.
19169
eb604e34
SM
19170 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19171 (vc-bzr-revision-completion-table): Add support for annotate and date.
19172
1a1e3f32
SM
19173 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19174 inherit from parent.
19175
5bd35902
LMI
191762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19177
ace6c69c 19178 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19179 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19180
191e2bed
LMI
19181 * dired.el (dired-mode): Fix up the doc string as suggested by
19182 Drew Adams (bug#8817).
19183
5bd35902
LMI
19184 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19185 cookie, since the manual says that it should be possible to add
19186 this function to `find-file-hook' (bug#8709).
19187
eee8207a
TZ
191882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19189
19190 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19191 here. Noted Ted Zlatanov as the maintainer.
19192 (cfengine-common-settings, cfengine-common-syntax): New functions
19193 to set up common things between `cfengine-mode' and
19194 `cfengine3-mode'.
19195 (cfengine3-mode): New mode.
19196 (cfengine3-defuns cfengine3-defuns-regex
19197 (cfengine3-class-selector-regex cfengine3-category-regex)
19198 (cfengine3-vartypes cfengine3-font-lock-keywords)
19199 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19200 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19201
36b148cf
MA
192022011-07-01 Michael Albinus <michael.albinus@gmx.de>
19203
19204 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19205
19206 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19207
0bf4ba9a
MR
192082011-07-01 Martin Rudalics <rudalics@gmx.at>
19209
19210 * window.el (same-window-buffer-names, same-window-regexps)
19211 (same-window-p, special-display-frame-alist)
19212 (special-display-popup-frame, special-display-function)
19213 (special-display-buffer-names, special-display-regexps)
19214 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19215 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19216 (split-window-preferred-function, split-height-threshold)
19217 (split-width-threshold, even-window-heights)
19218 (display-buffer-mark-dedicated, window-splittable-p)
19219 (split-window-sensibly, window-safely-shrinkable-p):
19220 Un-obsolete.
19221 (display-buffer): Don't spread args with function specifier
19222 because special-display-popup-frame won't like it.
19223
35837f51
PE
192242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19225
d0672f86
PE
19226 Time-stamp simplifications and fixes.
19227 These improve accuracy slightly, and future-proof the code
19228 against some potential changes to current-time format.
19229
b9444d97
PE
19230 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19231 by using time-since and float-time.
19232
0ef923dc
PE
19233 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19234 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19235 + NNN microseconds".
19236
2f81380d
PE
19237 * type-break.el (type-break-time-sum): Rewrite using time-add.
19238
845b5c3e
PE
19239 * play/hanoi.el (hanoi-current-time-float): Remove.
19240 All uses replaced by float-time.
19241
ee6f1be0
PE
19242 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19243 This yields a more-accurate answer.
19244 (rng-time-to-float): Remove; no longer needed.
19245
fe955043
PE
19246 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19247
5777162a
PE
19248 * calendar/timeclock.el (timeclock-seconds-to-time):
19249 Defalias to seconds-to-time, since they're the same thing.
19250
3103f8b6 19251 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19252 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19253 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19254
0e61a35f
SM
192552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19256
19257 * window.el (bury-buffer): Don't iconify the only frame.
19258 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19259 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19260
ddd63a1e
CY
192612011-07-01 Chong Yidong <cyd@stupidchicken.com>
19262
0e61a35f
SM
19263 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19264 Add mouse-yank-primary.
ddd63a1e 19265
055f4923
TZ
192662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19267
19268 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19269
6a2fb145
SM
192702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19271
19272 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19273 (find-library-name): Use it to find relative load names when provided
19274 absolute file name (bug#8803).
19275
fd4983f2
LMI
192762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19277
887d14ad
LMI
19278 * textmodes/flyspell.el (flyspell-word): Consider words that
19279 differ only in case as potential doublons (bug#5687).
19280
c53dc7fc
LMI
19281 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19282 Remove two rather uninteresting debugging-like messages to make
19283 debbugs.el more silent.
19284
fd4983f2
LMI
19285 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19286 a password-like phrase.
19287
7a71b18d 192882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19289
19290 * progmodes/cc-guess.el: New file.
19291
6a2fb145 19292 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19293
19294 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19295 derived from `c-basic-common-init'.
19296
19297 * progmodes/cc-mode.el (top-level): Require cc-guess.
19298 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19299
1fa280a3
LM
193002011-06-30 Lawrence Mitchell <wence@gmx.li>
19301
19302 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19303
e6597158
AM
193042011-06-30 Alan Mackenzie <acm@muc.de>
19305
1fa280a3
LM
19306 * progmodes/cc-engine.el (c-guess-continued-construct):
19307 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19308 lock is disabled. Name this case as "CASE G".
19309
68ba37fb
KM
193102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19311
19312 * allout.el (allout-yank-processing): Fix injection of extra space
19313 between bullet and non-whitespace character in first topic when
19314 pasting, ensuring that the actual spacing in the pasted topic
19315 following the bullet char is preserved. This extra space was
19316 causing pasted encrypted topics to get a decrypted status even
19317 when the content was actually still encrypted. Now the decryption
19318 status from before the paste is preserved.
19319
19320 (allout-flag-region): Set all allout overlays so they evaporate
19321 when reduced to zero length (evanescent), to prevent overlay
19322 leakage.
19323
887a0b34
GM
193242011-06-30 Glenn Morris <rgm@gnu.org>
19325
94b9acce
GM
19326 * w32-fns.el (w32-charset-info-alist): Declare.
19327
1d9b46d4
GM
19328 * find-dired.el (find-grep-options): Simplify.
19329
cc232200
GM
19330 * term/ns-win.el (ns-set-resource): Declare.
19331
28e77c46
GM
19332 * ses.el (row, col): Declare dynamic variables honestly.
19333
887a0b34
GM
19334 * textmodes/reftex-parse.el (index-tags): Declare.
19335
658d8eb8
CY
193362011-06-30 Chong Yidong <cyd@stupidchicken.com>
19337
19338 * cus-edit.el (customize-push-and-save): New function.
19339
19340 * files.el (hack-local-variables-confirm): Use it.
19341
1fa280a3
LM
19342 * custom.el (load-theme): New arg NO-CONFIRM.
19343 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19344 (custom-enabled-themes): Doc fix.
19345
19346 * cus-theme.el (customize-create-theme)
19347 (custom-theme-merge-theme): Callers to load-theme changed.
19348
bb617717
LMI
193492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19350
d61bdd5d
LMI
19351 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19352 short URLs have at least one dot in them (bug #7614).
19353
bb617717
LMI
19354 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19355 nil, because using a pty is apparently too slow (bug #895).
19356
2f31f37a
LMI
193572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19358
19359 * mail/sendmail.el (sendmail-query-once): New function.
19360 (sendmail-query-once-function): New variable.
19361
3076b24e
GM
193622011-06-29 Glenn Morris <rgm@gnu.org>
19363
faf2a174
GM
19364 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19365
3076b24e
GM
19366 * ses.el (top-level): Require cl when compiling.
19367 (ses-set-localvars): Fix error statement.
19368 Call it at compile time to silence a storm of warnings.
19369
5386012d
MR
193702011-06-29 Martin Rudalics <rudalics@gmx.at>
19371
19372 * window.el (normalize-live-buffer): Rename to
19373 window-normalize-buffer.
19374 (normalize-live-frame): Rename to window-normalize-frame.
19375 (normalize-any-window): Rename to window-normalize-any-window.
19376 (normalize-live-window): Rename to window-normalize-live-window.
19377 (make-window-atom): Rename to window-make-atom.
19378 (window-resize-reset): Rename to window--resize-reset.
19379 (window-resize-reset-1): Rename to window--resize-reset-1.
19380 (resize-mini-window): Rename to window--resize-mini-window.
19381 (resize-subwindows-skip-p): Rename to
19382 window--resize-subwindows-skip-p.
19383 (resize-subwindows-normal): Rename to
19384 window--resize-subwindows-normal.
19385 (resize-subwindows): Rename to window--resize-subwindows.
19386 (resize-other-windows): Rename to window--resize-siblings.
19387 (resize-this-window): Rename to window--resize-this-window.
19388 (resize-root-window): Rename to window--resize-root-window.
19389 (resize-root-window-vertically): Rename to
19390 window--resize-root-window-vertically.
19391 (normalize-buffer-to-display): Rename to
19392 window-normalize-buffer-to-display.
19393 (normalize-buffer-to-switch-to): Rename to
19394 window-normalize-buffer-to-switch-to.
19395 Correspondingly update all callers of the functions listed
19396 above.
19397 (display-buffer-alist, display-buffer-normalize-arguments)
19398 (display-buffer-normalize-options, display-buffer)
19399 (display-buffer-alist-set): Use "function" instead of
19400 "fun-with-args".
19401
1176868d
CY
194022011-06-28 Chong Yidong <cyd@stupidchicken.com>
19403
19404 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19405 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19406 debbugs.gnu.org. Mention acknowledgment email.
19407
20a7a65f
LMI
194082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19409
19410 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19411 buffer multibyteness, since it shouldn't matter.
19412
5f45cca5
MR
194132011-06-28 Martin Rudalics <rudalics@gmx.at>
19414
19415 * window.el (display-buffer-in-side-window): Handle dedicated
19416 windows as in display-buffer-reuse-window.
19417 (display-buffer-normalize-alist): Use value of override
19418 specifier.
19419 (display-buffer-normalize-specifiers): Use value of
19420 other-window-means-other-frame specifier.
19421 (display-buffer-alist): Rewrite some texts in widgets.
19422 (display-buffer): Spread arguments when calling function
19423 specified by fun-with-args.
19424
ad85fe1f
DD
194252011-06-28 Deniz Dogan <deniz@dogan.se>
19426
1fa280a3
LM
19427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19428 Unnest `let'.
da68c4c8 19429
ad85fe1f
DD
19430 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19431 selectors (Bug#5732).
ec49bd31 19432 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19433
a08cc025
JA
194342011-06-27 Jari Aalto <jari.aalto@cante.net>
19435
19436 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19437 (eshell-ls-date-format): New defcustom.
19438 (eshell-ls-file): Use it.
19439
e2b551c5
SM
194402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19441
19442 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19443
8982b231
KY
194442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19445
19446 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19447 (ange-ftp-make-tmp-name): New arg.
19448 (ange-ftp-file-local-copy): Use it.
19449
36c9fa27
J
194502011-06-27 Jambunathan K <kjambunathan@gmail.com>
19451
19452 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19453 no-conversion (Bug#8870).
19454
d68443dc
MR
194552011-06-27 Martin Rudalics <rudalics@gmx.at>
19456
19457 * window.el (window-right, window-left, window-child)
19458 (window-child-count, window-last-child)
19459 (window-iso-combination-p, walk-window-tree-1)
19460 (window-atom-check-1, window-tree-1, delete-window)
19461 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19462 new naming conventions - window-vchild, window-hchild,
19463 window-next and window-prev are now called window-top-child,
19464 window-left-child, window-next-sibling and window-prev-sibling
19465 respectively.
d615d6d2
MR
19466 (resize-window-reset): Rename to window-resize-reset.
19467 (resize-window-reset-1): Rename to window-resize-reset-1.
19468 (resize-window): Rename to window-resize.
19469 (window-min-height, window-min-width)
19470 (resize-mini-window, resize-this-window, resize-root-window)
19471 (resize-root-window-vertically, adjust-window-trailing-edge)
19472 (enlarge-window, shrink-window, maximize-window)
19473 (minimize-window, delete-window, quit-restore-window)
19474 (split-window, balance-windows, balance-windows-area-adjust)
19475 (balance-windows-area, window-state-put-2)
19476 (display-buffer-even-window-sizes, display-buffer-set-height)
19477 (display-buffer-set-width, set-window-text-height)
19478 (fit-window-to-buffer): Rename all "resize-window" prefixed
19479 calls to use the "window-resize" prefix convention.
19480 (display-buffer-alist): Fix symbol for label specifier.
19481 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19482 corresponding specifier.
19483 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19484
b6458526
VB
194852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19486
19487 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19488 convention.
19489 (ses-call-printer): Does not pass an empty string to formatter when the
19490 cell is empty to keep from barking printer Calc math-format-value.
19491
d31fd9ac
RS
194922011-06-27 Richard Stallman <rms@gnu.org>
19493
43d5bf84
RS
19494 * battery.el (battery-mode-line-limit): New variable.
19495 (battery-update): Handle it.
19496
d31fd9ac
RS
19497 * mail/rmailmm.el (rmail-mime-process-multipart):
19498 Handle truncated messages.
19499
819a6054
GM
195002011-06-27 Glenn Morris <rgm@gnu.org>
19501
19502 * progmodes/flymake.el (flymake-err-line-patterns):
19503 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19504
cedc73f2
VB
195052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19506
819a6054 19507 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19508 (ses--clean-!, ses--clean-_): New functions.
19509 (ses-range): Add configurability of readout order, and conversion
19510 to Calc vector.
19511
5e5d49b6
VB
19512 * ses.el (ses-repair-cell-reference-all): New function.
19513 (ses-cell-symbol): Set macro as safe, so that it can be used in
19514 formulas.
19515
56e6cc31 19516 * ses.el: Update cycle detection algorithm.
90ca8b49 19517 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19518 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19519 (ses-set-localvars): New function.
19520 (ses-make-cell): Add property-list as a cell element.
19521 (ses-cell-property-get-fun, ses-cell-property-get)
19522 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19523 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19524 New functions.
90ca8b49
VB
19525 (ses-cell-property-set, ses-cell-property-pop)
19526 (ses-cell-property-get-handle): New macro.
19527 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19528 New aliases, used for code readability.
19529 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19530 cycle detection.
19531 (ses-self-reference-early-detection): New defcustom.
fac916bf 19532 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19533 (ses-mode): Use ses-set-localvars.
19534 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19535 before lauching the update processing.
19536 (ses-initialize-Dijkstra-attempt): New function.
19537 (ses-recalculate-cell): Update for cycle detection based on
19538 Dijkstra algorithm.
19539
2bb63e81
VB
19540 * ses.el: Fix commenting and indenting convention.
19541
c9d29fb8
SM
195422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19543
19544 * bs.el (bs-cycle-next): Complete last change.
19545
d8e4b68b
JB
195462011-06-27 Drew Adams <drew.adams@oracle.com>
19547
19548 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19549
40098786
LMI
195502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19551
c9d29fb8
SM
19552 * net/network-stream.el (network-stream-open-starttls):
19553 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19554 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19555
40098786
LMI
19556 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19557 to binary to possibly avoid line encoding issues on Windows (among
19558 other things).
19559
468d09d4
LMI
195602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19561
19562 * net/network-stream.el (open-network-stream): Return an :error
19563 saying what the problem was, if possible.
19564
19565 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19566 server.
19567
19568 * net/network-stream.el (network-stream-open-starttls): If we
19569 wanted to use STARTTLS, and the server offered it, but we weren't
19570 able to because we had no STARTTLS support, then close the connection.
19571 (open-network-stream): Return an :error element, if present.
19572
16f07dd7
CY
195732011-06-26 Chong Yidong <cyd@stupidchicken.com>
19574
88821ca0
CY
19575 * hl-line.el (hl-line-sticky-flag): Doc fix.
19576 (global-hl-line-sticky-flag): New option (Bug#8323).
19577 (global-hl-line-highlight): Obey it.
19578
16f07dd7
CY
19579 * vc/vc.el (vc-revert-show-diff): Default to t.
19580
6b5ccddf
KM
195812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19582
c9d29fb8
SM
19583 * allout-widgets.el (allout-widgets-post-command-business):
19584 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19585 undecorated when an isearch is continued past, and isearch
19586 automatically collapses them. This leads to "widget leaks", where
19587 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19588 hidden widgets can slow down cursor travel, substantially.
19589 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19590 so we're doing without this nicety.
19591
19592 (allout-widgets-tally-string): Don't try to do a hash-table-count
19593 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19594 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19595 *Messages* when allout-widgets-maintain-tally is t.
19596
355f2e07
MR
195972011-06-26 Martin Rudalics <rudalics@gmx.at>
19598
19599 * window.el (display-buffer-normalize-argument): Rename to
19600 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19601 LABEL argument. Respect special-display-function when popping up
19602 a new frame. Fix code searching for a window showing the buffer
19603 on another frame.
c9d29fb8
SM
19604 (display-buffer-normalize-specifiers):
19605 Call display-buffer-normalize-arguments.
355f2e07
MR
19606 (display-buffer-in-window): Don't undedicate the window if its
19607 buffer remains the same.
19608 Reported by Drew Adams <drew.adams@oracle.com>.
19609 (display-buffer-alist): Add choice for same-window macro
19610 specfier.
19611 (display-buffer): Mention special meaning of LABEL argument in
19612 doc-string. Fix quoting. Don't pop up a new frame even as
19613 fallback.
19614
7ca8fc42
JB
196152011-06-26 Juanma Barranquero <lekktu@gmail.com>
19616
19617 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19618 avoid deleting the current window in some cases (bug#8911).
19619
bc312254
AS
196202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19621
19622 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19623 (Bug#8934)
19624
2db18f3f
LMI
196252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19626
c9d29fb8
SM
19627 * net/network-stream.el (network-stream-open-starttls):
19628 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19629 (network-stream-open-tls): Ditto.
19630
6302e0d3
LL
196312011-06-26 Leo Liu <sdl.web@gmail.com>
19632
19633 * register.el (registerv): New struct.
19634 (registerv-make): New function.
c9d29fb8
SM
19635 (jump-to-register, describe-register-1, insert-register):
19636 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19637 struct. (Bug#8415)
19638
5fdd4046
CY
196392011-06-26 Chong Yidong <cyd@stupidchicken.com>
19640
2afef60a
CY
19641 * vc/vc.el (vc-revert-show-diff): New defcustom.
19642 (vc-diff-internal): New arg specifying diff buffer.
19643 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19644 reuse an existing *vc-diff* buffer (Bug#8927).
19645
5fdd4046
CY
19646 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19647
e93db24a
GM
196482011-06-26 Glenn Morris <rgm@gnu.org>
19649
19650 * progmodes/f90.el (f90-critical-indent): New option.
19651 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19652 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19653 (f90-mode): Doc fix.
19654 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19655 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19656 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19657 (f90-match-end): Handle block, critical.
19658
eefff499
GM
196592011-06-25 Glenn Morris <rgm@gnu.org>
19660
f6ba4cc9
GM
19661 * calendar/diary-lib.el (diary-included-files): Doc fix.
19662 (diary-include-files): New function, extracted from
19663 diary-include-other-diary-files and diary-mark-included-diary-files.
19664 (diary-include-other-diary-files, diary-mark-included-diary-files):
19665 Just call diary-include-files.
19666 (diary-mark-entries): Reset diary-included-files on first call.
19667
16712304
GM
19668 * calendar/diary-lib.el (diary-mark-entries)
19669 (diary-mark-included-diary-files):
19670 Visit included diary-files in temp buffers.
19671
5d8e0d43
GM
19672 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19673 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19674 (f90-start-block-re, f90-imenu-generic-expression)
19675 (f90-looking-at-program-block-start, f90-no-block-limit):
19676 Add support for submodules.
19677
ccf7a5d5
GM
19678 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19679 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19680
11fdef7d 196812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19682
19683 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19684 buffer-file-type before setting its value, to avoid disastrous
eefff499 19685 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19686
74f53697
JB
196872011-06-25 Juanma Barranquero <lekktu@gmail.com>
19688
19689 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19690
19691 * ses.el (ses-unload-function):
19692 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19693
19694 * proced.el (proced-unload-function):
19695 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19696
18a4ce5e
AR
196972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19698
19699 * server.el (server-create-window-system-frame): Add parameters arg.
19700 (server-process-filter): Doc fix. Handle frame-parameters.
19701
519d22cc
JB
197022011-06-25 Juanma Barranquero <lekktu@gmail.com>
19703
19704 Fix bug#8730, bug#8781.
19705
19706 * loadhist.el (unload--set-major-mode): New function.
19707 (unload-feature): Use it.
19708
19709 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19710 (python-unload-function): New function.
19711
c206f5b0
SM
197122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19713
19714 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19715
f9ad64f3
GS
197162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19717
19718 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19719 the candidates list.
19720
7d0da90e
JB
197212011-06-24 Juanma Barranquero <lekktu@gmail.com>
19722
19723 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19724
14b4e83d
RS
197252011-06-23 Richard Stallman <rms@gnu.org>
19726
19727 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19728 (rmail-variables): Set next-error-move-function.
19729 (rmail-what-message): Take argument POS.
19730 (rmail-next-error-move): New function.
19731
273d2baf
SM
197322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19735 messages for adjacent non-terminals.
19736
56c2cc9a
RS
197372011-06-23 Richard Stallman <rms@gnu.org>
19738
19739 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19740 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19741 (rmail-start-mail): Don't specify use of rmail-mail-return;
19742 that's done by mail-bury now.
19743 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19744
d59eb518
MA
197452011-06-23 Michael Albinus <michael.albinus@gmx.de>
19746
19747 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19748 SIZE is a number.
19749
02cfc6d6
MR
197502011-06-23 Martin Rudalics <rudalics@gmx.at>
19751
19752 * window.el (get-lru-window, get-mru-window)
19753 (get-largest-window): Never return a minibuffer window.
19754 (display-buffer-pop-up-window): Fix a bug that could lead to
19755 reusing the minibuffer window.
19756 (display-buffer): Pass original specifier argument to
19757 display-buffer-function instead of the normalized one.
19758 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19759
4e323265
LL
197602011-06-22 Leo Liu <sdl.web@gmail.com>
19761
19762 * minibuffer.el (completing-read-function)
1f9f395d 19763 (completing-read-default): Move from minibuf.c.
4e323265 19764
7a70468f
RS
197652011-06-22 Richard Stallman <rms@gnu.org>
19766
50718fc2
RS
19767 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19768 to Rmail even if not started by a special Rmail command.
19769
7a70468f
RS
19770 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19771 Copy the buffer currently showing just one message.
19772
297dde5a
RW
197732011-06-22 Roland Winkler <winkler@gnu.org>
19774
19775 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19776 (bibtex-clean-entry): First delete the old key so that a
19777 customized algorithm for generating the new key does not get
19778 confused by the old key.
19779 (bibtex-url): Obey regexp of first step.
19780 (bibtex-search-entries): Do not use add-to-list with local
19781 list-var.
19782
97bb1093
LMI
197832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19784
19785 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19786 stored a user name, then query for the password first, instead of
19787 waiting for SMTP to give an error message and the trying again.
19788
1c0f1a19
JD
197892011-06-22 Lawrence Mitchell <wence@gmx.li>
19790
19791 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19792 BUFFER in call-process.
19793
396f7c9d
LMI
197942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19795
19796 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19797 QUIT twice.
ddb7ffee
LMI
19798 (smtpmail-try-auth-methods): Require user name and password from
19799 auth-source.
396f7c9d 19800
8998d1b3
MR
198012011-06-22 Martin Rudalics <rudalics@gmx.at>
19802
19803 * window.el (display-buffer-default-specifiers)
19804 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19805 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19806 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19807
19808 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19809 (special-display-frame-alist, special-display-popup-frame):
19810 Remove duplicate declarations. These are now in window.el.
19811
4ea31e07
LMI
198122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19813
c9d29fb8
SM
19814 * mail/smtpmail.el (smtpmail-via-smtp):
19815 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19816 server supports it. SMTP servers that support STARTTLS commonly
19817 require it.
19818
19819 * net/network-stream.el (network-stream-open-starttls): Support
19820 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19821 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19822
95f41d9a
LMI
19823 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19824 upgrades with `open-network-stream', and rely solely on
19825 auth-source for all credentials. Big changes throughout the file,
19826 but in particular:
c9d29fb8
SM
19827 (smtpmail-auth-credentials): Remove.
19828 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19829 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19830 MAIL FROM, too.
95f41d9a 19831
c9d29fb8
SM
19832 * net/network-stream.el (network-stream-open-starttls):
19833 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19834 STARTTLS.
19835 (auth-source): Require.
19836 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19837 (network-stream-certificate): Change cert-cert to cert and
19838 cert-key to key.
4ea31e07 19839
065ec2c7
MA
198402011-06-21 Michael Albinus <michael.albinus@gmx.de>
19841
19842 * net/tramp-cache.el (top): Don't load the persistency file when
19843 "emacs -Q" has been called.
19844
cd93b359
DR
198452011-06-21 Tim Harper <timcharper@gmail.com>
19846
d8e4b68b
JB
19847 * term/ns-win.el (ns-initialize-window-system):
19848 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19849 resource to NO as it is not yet supported by the NS port.
19850
ae9c0411
JB
198512011-06-21 Juanma Barranquero <lekktu@gmail.com>
19852
19853 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19854 (list-dynamic-libraries): ...not here.
19855
7f3f739f
LL
198562011-06-21 Leo Liu <sdl.web@gmail.com>
19857
19858 * subr.el (sha1): Implement sha1 using secure-hash.
19859
327c8fb1
MR
198602011-06-21 Martin Rudalics <rudalics@gmx.at>
19861
19862 * window.el (display-buffer-alist): In default value do not
19863 enforce searching a window on any but the selected frame.
19864 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19865 (display-buffer-select-window): Remove function.
19866 (display-buffer-in-window): When a window on another frame gets
19867 reused, do not select it any more but just raise its frame if
19868 necessary (Bug#8851) and (Bug#8856).
19869 (display-buffer-normalize-options): Handle pop-up-frames related
19870 options more faithfully.
19871 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19872 window if it is on another frame.
c9d29fb8
SM
19873 (display-buffer-alist, display-buffer-default-specifiers):
19874 Don't make new frame unsplittable by default.
9e9de014
MR
19875 (display-buffer-normalize-argument): Fix doc-string typo and use
19876 'same-frame-other-window instead of 'other-window when associating
19877 with display-buffer-macro-specifiers.
327c8fb1 19878
7cf3f556
VB
198792011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19880
19881 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19882 New functions.
19883 (5x5-mode-map, 5x5-mode-menu): Bind them.
19884 (5x5-draw-grid): Tweak the solver's rendering.
19885
60a406cf
SM
198862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19887
19888 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19889 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19890
d8e4b68b 198912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19892
19893 * menu-bar.el: Use function variable instead of switch-to-buffer.
19894 (menu-bar-select-buffer-function): New variable.
60a406cf 19895 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19896
478d6f95
SM
198972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19898
19899 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19900 variable's status.
19901
ca530739
JD
199022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19903
19904 * x-dnd.el (x-dnd-version-from-flags)
19905 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19906 and long as number (Bug#8899).
19907 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19908
bcd70d97
SM
199092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19910
60a406cf 19911 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19912 (completion-try-completion, completion-all-completions): Compute the
19913 metadata argument if it's missing; make it optional (bug#8795).
19914
60a406cf 19915 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19916 (widget-complete): Use new :completion-function property.
19917 (widget-completions-at-point): New function.
19918 (default): Use :completion-function instead of :complete.
60a406cf
SM
19919 (widget-default-completions): Rename from widget-default-complete;
19920 Rewrite.
bcd70d97
SM
19921 (widget-string-complete, widget-file-complete, widget-color-complete):
19922 Remove functions.
19923 (file, symbol, function, variable, coding-system, color):
19924 * international/mule-cmds.el (default-input-method, charset)
19925 (language-info-custom-alist):
19926 * cus-edit.el (face): Use new property :completions.
19927
19928 * progmodes/pascal.el (pascal-completions-at-point): New function.
19929 (pascal-mode): Use it.
19930 (pascal-mode-map): Use completion-at-point.
19931 (pascal-toggle-completions): Make obsolete.
19932 (pascal-complete-word, pascal-show-completions):
19933 * progmodes/octave-mod.el (octave-complete-symbol):
19934 Redefine as obsolete alias.
19935 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19936 Signal absence of completion info for old Octave,
19937 (inferior-octave-complete): Redefine as obsolete alias.
19938 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19939 (meta-completions-at-point): Rename from meta-complete-symbol and
19940 adapt it for use on completion-at-point-functions.
19941 (meta-common-mode): Use it.
19942 (meta-looking-at-backward, meta-match-buffer): Remove.
19943 (meta-complete-symbol): Redefine as obsolete alias.
19944 (meta-common-mode-map): Use completion-at-point.
19945 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19946 (makefile-mode-map): Use completion-at-point.
19947 (makefile-completions-at-point): Rename from makefile-complete and
19948 adapt it for use on completion-at-point-functions.
19949 (makefile-mode): Use it.
19950 (makefile-complete): Redefine as obsolete alias.
19951
aebf69c8
DD
199522011-06-20 Deniz Dogan <deniz@dogan.se>
19953
19954 * net/rcirc.el: Delete trailing whitespaces once and for all.
19955
bfbbb27d
DC
199562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19957
19958 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19959
d264a46b
CY
199602011-06-19 Chong Yidong <cyd@stupidchicken.com>
19961
4ca009e5
CY
19962 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19963
d264a46b
CY
19964 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19965
fbf5b3ce
MR
199662011-06-19 Martin Rudalics <rudalics@gmx.at>
19967
19968 * window.el (display-buffer-other-window-means-other-frame):
19969 Call display-buffer-normalize-alist.
19970 (display-buffer-normalize-specifiers-1): Rename to
19971 display-buffer-normalize-argument. New argument other-frame.
19972 Rewrite.
19973 (display-buffer-normalize-specifiers-2): Rename to
19974 display-buffer-normalize-options.
19975 (display-buffer-normalize-alist-1): New function.
19976 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19977 display-buffer-normalize-alist.
19978 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19979 (display-buffer-normalize-options-inhibit): New variable.
19980 (display-buffer-normalize-specifiers): Rewrite calling
19981 display-buffer-normalize-alist,
19982 display-buffer-normalize-argument, and
19983 display-buffer-normalize-options. Don't call the latter if
19984 display-buffer-normalize-options-inhibit is non-nil.
19985 (frame-auto-delete): New option.
19986 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19987 (window-list-no-nils, window-state-ignored-parameters)
19988 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19989 (window-state-put-1, window-state-put-2, window-state-put):
19990 New functions.
9a028c23
MR
19991 (display-buffer-normalize-options): Move special-display-p group
19992 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19993
6d10d800
CY
199942011-06-18 Chong Yidong <cyd@stupidchicken.com>
19995
6420d28b
CY
19996 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19997 groups (Bug#8776).
19998 (rx-submatch-n): New function.
19999 (rx): Document it.
20000
ddb8b596
CY
20001 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20002 (Bug#8768).
20003
20004 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20005
77080289
CY
20006 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20007
61dfb316
CY
20008 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20009 anytime existing face settings are present (Bug#8889).
20010
6d10d800
CY
20011 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20012 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20013 Remove unused argument.
20014
be3fb2b8
MR
200152011-06-18 Martin Rudalics <rudalics@gmx.at>
20016
bcd70d97
SM
20017 * window.el (display-buffer-default-specifiers):
20018 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20019 pop-up-window-min-width, and another reuse-window specifier
20020 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20021 (display-buffer-normalize-specifiers-2):
20022 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20023 pop-up-windows is unset. Add a reuse-window specifier for the
20024 case popping up a new window fails.
20025 (special-display-popup-frame): Remove double quoting.
28dec25a 20026 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20027
1c6d8c76
SM
200282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20031 according to comint-completion-addsuffix.
20032
20033 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20034 (pcomplete-suffix-list): Mark as obsolete.
20035 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20036 pcomplete-seen in the closure.
20037 (pcomplete-comint-setup): Setup completion-at-point as well.
20038 (pcomplete--entries): New function.
20039 (pcomplete--env-regexp): New var.
20040 (pcomplete-entries): Rewrite to work with partial-completion and
20041 without relying on pcomplete-suffix-list.
20042 (pcomplete-pare-list): Remove, unused.
20043
25aef8b8
MR
200442011-06-17 Martin Rudalics <rudalics@gmx.at>
20045
20046 * window.el (display-buffer-alist): Set pop-up-window-min-height
20047 and pop-up-window-min-width in default value. Reported by
20048 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20049 other-window-means-other-frame.
20050 (display-buffer-macro-specifiers): Comment out entry for
20051 other-window specifier.
20052 (display-buffer-other-window-means-other-frame): New function.
20053 (display-buffer-normalize-specifiers-1): New arguments
20054 buffer-name and label. Treat other-window case specially.
20055 (display-buffer-normalize-specifiers-2): Treat other-window case
20056 specially.
20057 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20058 (display-buffer-normalize-specifiers):
20059 Call display-buffer-normalize-specifiers-3.
25aef8b8 20060
dbad4f69
MR
200612011-06-17 Martin Rudalics <rudalics@gmx.at>
20062
20063 * window.el (same-window-p): Fix two typos introduced when
20064 adding with-no-warnings.
d1067961
MR
20065 (display-buffer-normalize-specifiers-1): Don't check
20066 pop-up-frames for 'unset initialization.
20067 (display-buffer-normalize-specifiers-2): Major rewrite using
20068 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20069 (pop-up-frames, display-buffer-reuse-frames)
20070 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20071 Suggested by David Engster <deng@randomsample.de>.
20072 (even-window-heights): Initialize to 'unset.
20073 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20074 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20075 other window case.
dbad4f69 20076
9b9c9e3a
MR
200772011-06-16 Martin Rudalics <rudalics@gmx.at>
20078
bcd70d97
SM
20079 * window.el (display-buffer-normalize-specifiers-1):
20080 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20081 second argument of display-buffer (Bug#8865).
981d5c09
MR
20082 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20083 (switch-to-buffer-other-window-same-frame)
20084 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20085 Adams (Bug#8875).
9c2755e9
MR
20086 (display-buffer): Don't check noninteractive when calling
20087 display-buffer-pop-up-frame.
20088 (display-buffer-pop-up-frame): Never pop up a frame in
20089 noninteractive mode (Bug#8857).
67222e1d
MR
20090 (enlarge-window, shrink-window): Don't report an error when the
20091 window can't be resized as requested (Bug#8862).
9b9c9e3a 20092
2b75be67
SM
200932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20094
9ffdd3ba
SM
20095 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20096
cb581a67
SM
20097 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20098
2b75be67
SM
20099 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20100
8c0e3589
AM
201012011-06-15 Alan Mackenzie <acm@muc.de>
20102
cb581a67
SM
20103 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20104 for declarators, disable knr checking to speed up for normal files.
20105 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20106
b96e6cde
LMI
201072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20108
4bba86e6
LMI
20109 * net/network-stream.el (open-network-stream): Add the keyword
20110 :always-query-capabilities for the case where you want to force a
20111 `plain' network connection, but the protocol still requires the
20112 capabilitiy command (i.e., SMTP and EHLO).
20113
2b75be67 20114 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20115 consistency with other `-live-p' functions.
20116
efdcdbf8
SM
201172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20118
20119 * window.el (same-window-buffer-names, same-window-regexps)
20120 (special-display-frame-alist, special-display-popup-frame)
20121 (special-display-function, special-display-buffer-names)
20122 (special-display-regexps, pop-up-frame-alist)
20123 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20124 (pop-up-windows, split-window-preferred-function)
20125 (split-height-threshold, split-width-threshold, even-window-heights)
20126 (display-buffer-mark-dedicated): Don't encourage the use of
20127 display-buffer-alist from Elisp code.
20128
c5cde042
DN
201292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20130
20131 * progmodes/python.el (python-mode): Derive from prog-mode.
20132 * progmodes/ps-mode.el (ps-mode):
20133 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20134 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20135 * progmodes/ld-script.el (ld-script-mode): Likewise.
20136
baa1c9ab
MR
201372011-06-15 Martin Rudalics <rudalics@gmx.at>
20138
20139 * window.el (display-buffer-alist): Trim default value to avoid
20140 popping up a new frame (Bug#8857) or reusing an arbitrary window
20141 on another frame.
20142 (display-buffer): Do not fall back on popping up a new frame in
20143 batch mode (Bug#8857).
20144
c5dd5a51
CY
201452011-06-14 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20148 (custom-theme-summary): New function.
20149 (customize-themes): Use it.
20150
d647b7c4
GM
201512011-06-13 Glenn Morris <rgm@gnu.org>
20152
20153 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20154
9481c002
MR
201552011-06-13 Martin Rudalics <rudalics@gmx.at>
20156
357f93d2
MR
20157 * help.el (help-window): Remove variable.
20158 (help-window-point-marker, temp-buffer-max-height)
20159 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20160 (help-print-return-message): Don't set help-window.
20161 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20162 (help-window-setup-finish): Remove.
20163 (help-window-display-message, help-window-setup)
20164 (with-help-window): Major rewrite based on new
20165 display-buffer-window variable.
20166
20167 * help-mode.el (help-mode-finish): Remove help-window related
20168 code.
20169
20170 * view.el (view-exits-all-viewing-windows): Remove reference to
20171 view-return-to-alist in doc-string.
20172 (view-return-to-alist): Make obsolete.
20173 (view-buffer): Call pop-to-buffer-same-window and remove
20174 undo-window code.
20175 (view-buffer-other-window): Call pop-to-buffer-other-window and
20176 simplify code. Ignore second argument.
20177 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20178 simplify code. Ignore second argument.
20179 (view-return-to-alist-update): Make obsolete.
20180 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20181 Rewrite using quit-restore window parameters.
2b75be67
SM
20182 (view-mode-exit): Rename second argument to EXIT-ONLY.
20183 Rewrite using quit-restore-window.
357f93d2
MR
20184 (View-exit, View-exit-and-edit, View-leave, View-quit)
20185 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20186 appropriate arguments.
20187 (view-end-message): Use quit-restore window parameter.
20188
9481c002
MR
20189 * window.el (display-buffer-function): Rewrite doc-string.
20190 (display-buffer-window, display-buffer-alist): New variables.
20191 (display-buffer-split-specifiers)
20192 (display-buffer-side-specifiers)
20193 (display-buffer-macro-specifiers): New constants.
20194 (display-buffer-even-window-sizes, display-buffer-set-height)
20195 (display-buffer-set-width, display-buffer-select-window)
20196 (display-buffer-in-window, display-buffer-reuse-window)
20197 (display-buffer-split-window-1, display-buffer-split-window)
20198 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20199 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20200 (display-buffer-in-side-window, normalize-buffer-to-display)
20201 (display-buffer-normalize-specifiers-1)
20202 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20203 (display-buffer-normalize-specifiers, display-buffer-frame):
20204 New functions.
9481c002
MR
20205 (display-buffer): Major rewrite.
20206 (display-buffer-other-window, display-buffer-other-frame)
20207 (pop-to-buffer, switch-to-buffer-other-window)
20208 (switch-to-buffer-other-frame): Rewrite.
20209 (display-buffer-same-window, display-buffer-same-frame)
20210 (display-buffer-same-frame-other-window)
20211 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20212 (pop-to-buffer-other-window)
20213 (pop-to-buffer-same-frame-other-window)
20214 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20215 (switch-to-buffer-other-window-same-frame): New functions.
20216 (same-window-p, special-display-p): Rewrite disabling warnings.
20217 Make obsolete.
20218 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20219 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20220 Make obsolete
20221 (same-window-buffer-names, same-window-regexps)
20222 (special-display-frame-alist, special-display-popup-frame)
20223 (special-display-function, special-display-buffer-names)
20224 (special-display-regexps, pop-up-frame-alist)
20225 (pop-up-frame-function, split-window-preferred-function)
20226 (split-height-threshold, split-width-threshold)
20227 (even-window-heights): Make obsolete.
20228
9db51aca
GM
202292011-06-12 Glenn Morris <rgm@gnu.org>
20230
20231 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20232 Misc simplifications.
9db51aca 20233
39cffb44
MR
202342011-06-12 Martin Rudalics <rudalics@gmx.at>
20235
20236 * window.el (window-safely-shrinkable-p): Restore function which
20237 was inadvertently removed in change from 2011-06-11. Declare as
20238 obsolete.
20239
2b75be67
SM
20240 * calendar/calendar.el (calendar-generate-window):
20241 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20242 window-safely-shrinkable-p.
20243
a8955be7
GM
202442011-06-12 Glenn Morris <rgm@gnu.org>
20245
20246 * progmodes/fortran.el (fortran-mode-syntax-table):
20247 * progmodes/f90.el (f90-mode-syntax-table):
20248 Set % to punctuation. (Bug#8820)
20249 (f90-find-tag-default): Remove, no longer needed.
20250
f0d4059d
DC
202512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20252
20253 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20254
1100a63c
CY
202552011-06-11 Chong Yidong <cyd@stupidchicken.com>
20256
20257 * image.el (image-animated-p): Return animation delay in seconds.
20258 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20259 (image-animate-timeout): Remove DELAY argument. Don't assume
20260 every subimage has the same delay; get it from image-animated-p.
20261 (image-animate): Caller changed.
20262
def722bf
MA
202632011-06-11 Michael Albinus <michael.albinus@gmx.de>
20264
20265 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20266 to ignored backtrace functions.
20267
0a2bb1a9
GM
202682011-06-11 Glenn Morris <rgm@gnu.org>
20269
20270 * calendar/appt.el (appt-disp-window-function): Doc fix.
20271 (appt-check): Handle overlapping appointments. (Bug#8337)
20272
6198ccd0
MR
202732011-06-11 Martin Rudalics <rudalics@gmx.at>
20274
20275 * window.el (window-tree-1, window-tree): New functions, moving
20276 the latter to window.el.
20277 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20278 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20279 (bw-refresh-edges): Remove.
20280 (balance-windows-1, balance-windows-2): New functions.
20281 (balance-windows): Rewrite in terms of window tree functions,
20282 balance-windows-1 and balance-windows-2.
20283 (bw-adjust-window): Remove.
20284 (balance-windows-area-adjust): New function with functionality of
20285 bw-adjust-window but using resize-window.
2b75be67
SM
20286 (set-window-text-height): Rewrite doc-string.
20287 Use normalize-live-window and resize-window.
20288 (enlarge-window-horizontally, shrink-window-horizontally):
20289 Rename argument to DELTA.
6198ccd0
MR
20290 (window-buffer-height): New function.
20291 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20292 Rewrite using new window resize routines.
2b75be67
SM
20293 (kill-buffer-and-window, mouse-autoselect-window-select):
20294 Use ignore-errors instead of condition-case.
6198ccd0
MR
20295 (quit-window): Call delete-frame instead of delete-windows-on
20296 for the only buffer on frame.
20297
9397e56f
MR
202982011-06-10 Martin Rudalics <rudalics@gmx.at>
20299
20300 * loadup.el (top-level): Load window before files for the sake
20301 of replace-buffer-in-windows.
20302
20303 * files.el (read-buffer-to-switch)
20304 (switch-to-buffer-other-window)
2b75be67
SM
20305 (switch-to-buffer-other-frame, display-buffer-other-frame):
20306 Move to window.el.
9397e56f
MR
20307
20308 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20309 (previous-buffer): Move to window.el.
20310
20311 * bindings.el (unbury-buffer): Move to window.el.
20312
20313 * window.el (delete-other-windows-vertically): Move after
20314 definition of delete-other-windows.
20315 (other-window, delete-windows-on, replace-buffer-in-windows):
20316 Move here from window.c.
20317 (record-window-buffer, unrecord-window-buffer)
20318 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20319 (switch-to-next-buffer): New functions.
20320 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20321 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20322 (previous-buffer): Move here from simple.el.
20323 Call switch-to-prev-buffer.
9397e56f
MR
20324 (bury-buffer): Move here from buffer.c. Switch to previous
20325 buffer when window cannot be deleted.
20326 (unbury-buffer): Move here from bindings.el.
20327 (ctl-x-map): Move binding for other-window from window.c to
20328 here.
20329 (read-buffer-to-switch, switch-to-buffer-other-window)
20330 (switch-to-buffer-other-frame): Move here from files.el.
20331 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20332 (switch-to-buffer): Move here from buffer.c.
20333 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20334
562dd5e9
MR
203352011-06-10 Martin Rudalics <rudalics@gmx.at>
20336
20337 * window.el (window-min-height, window-min-width): Move here
20338 from window.c. Add defcustoms and rewrite doc-strings.
20339 (resize-mini-window, resize-window): New functions.
20340 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20341 Move here from window.c.
20342 (maximize-window, minimize-window): New functions.
20343 (delete-window, delete-other-windows, split-window): Move here
20344 from window.c.
20345 (window-split-min-size): New function.
20346 (split-window-keep-point): Mention split-window-above-each-other
20347 instead of split-window-vertically.
2b75be67 20348 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20349 Rename split-window-vertically to split-window-above-each-other
20350 and provide defalias for old definition.
20351 (split-window-side-by-side, split-window-horizontally):
20352 Rename split-window-horizontally to split-window-side-by-side
20353 and provide defalias for the old definition.
562dd5e9
MR
20354 (ctl-x-map): Move bindings for delete-window,
20355 delete-other-windows and enlarge-window here from window.c.
20356 Replace bindings for split-window-vertically and
20357 split-window-horizontally by bindings for
20358 split-window-above-each-other and split-window-side-by-side.
20359
20360 * cus-start.el (all): Remove entries for window-min-height and
20361 window-min-width. Add entries for window-splits and
20362 window-nest.
20363
f0da764a
GM
203642011-06-09 Glenn Morris <rgm@gnu.org>
20365
80675c21
GM
20366 * calendar/appt.el (appt-mode-line): New function.
20367 (appt-check, appt-disp-window): Use it.
20368
f0da764a
GM
20369 * files.el (hack-one-local-variable-eval-safep):
20370 Allow minor-modes with explicit +/-1 arguments.
20371
59f623b7
TZ
203722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20373
20374 * term/xterm.el (xterm): Add defgroup.
20375 (xterm-extra-capabilities): Add defcustom to supply known xterm
20376 capabilities, skip querying them, or query them (default).
20377 (terminal-init-xterm): Use it.
20378 (terminal-init-xterm-modify-other-keys): New function to set up
20379 modifyOtherKeys support to simplify `terminal-init-xterm'.
20380
9aab8e0d
MR
203812011-06-09 Martin Rudalics <rudalics@gmx.at>
20382
20383 * window.el (resize-window-reset, resize-window-reset-1)
20384 (resize-subwindows-skip-p, resize-subwindows-normal)
20385 (resize-subwindows, resize-other-windows, resize-this-window)
20386 (resize-root-window, resize-root-window-vertically)
20387 (window-deletable-p, window-or-subwindow-p)
20388 (frame-root-window-p): New functions.
20389
e8b08aee
GM
203902011-06-09 Glenn Morris <rgm@gnu.org>
20391
20392 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20393 (ange-ftp-get-files): Use it.
20394
254c37a5
AK
203952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20396
20397 * mail/sendmail.el (mail-recover-1, mail-recover):
20398 * files.el (recover-file, recover-session):
20399 Handle dired-listing-switches not being just a single short option.
20400
35d7dbd3
GM
204012011-06-09 Glenn Morris <rgm@gnu.org>
20402
20403 * calendar/appt.el (appt-display-message, appt-disp-window):
20404 Handle lists of appointments.
20405
387522b2
MR
204062011-06-08 Martin Rudalics <rudalics@gmx.at>
20407
2b75be67
SM
20408 * window.el (one-window-p): Move down in code.
20409 Rewrite doc-string.
20410 (window-current-scroll-bars): Rewrite doc-string.
20411 Normalize live window argument.
387522b2
MR
20412 (walk-windows, get-window-with-predicate, count-windows):
20413 Rewrite doc-string. Use window-list-1.
20414 (window-in-direction-2, window-in-direction, get-mru-window):
20415 New functions.
20416
d8e4b68b 204172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20418
20419 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20420 Doc fix (Bug#8713).
20421
204222011-06-08 Chong Yidong <cyd@stupidchicken.com>
20423
20424 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20425
204262011-06-08 Juanma Barranquero <lekktu@gmail.com>
20427
20428 * loadhist.el (unload-feature-special-hooks):
20429 Add `comint-output-filter-functions'.
20430
0de12c52
IK
204312011-06-08 Ivan Kanis <gnu@kanis.fr>
20432
20433 * calendar/appt.el (appt-check): Move some initializations into the let.
20434
f3d1777e
MR
204352011-06-08 Martin Rudalics <rudalics@gmx.at>
20436
20437 * window.el (window-height): Defalias to window-total-height.
20438 (window-width): Defalias to window-body-width.
20439
18af70d0
CY
204402011-06-07 Chong Yidong <cyd@stupidchicken.com>
20441
20442 * image-mode.el (image-toggle-animation): New command.
20443 (image-mode-map): Bind it to RET.
20444 (image-mode): Update message.
20445 (image-toggle-display-image): Avoid a spurious cache flush.
20446 (image-transform-rotation): Doc fix.
20447 (image-transform-properties): Return quickly in the normal case.
20448 (image-animate-loop): Rename from image-animate-max-time.
20449
2b75be67 20450 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20451 (create-animated-image): Remove unnecessary function.
20452 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20453 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20454 (image-animate-timer): Use car-safe.
20455 (image-animate-timeout): Rename argument.
20456
190b47e6
MR
204572011-06-07 Martin Rudalics <rudalics@gmx.at>
20458
20459 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20460 window.c. Rename first argument to ALL-FRAMES.
20461 Rephrase doc-strings.
20462 (get-buffer-window-list): Rewrite using window-list-1.
20463 Rephrase doc-string.
a1511caf
MR
20464 (window-safe-min-height, window-safe-min-width): New constants.
20465 (window-size-ignore, window-min-size, window-min-size-1)
20466 (window-sizable, window-sizable-p, window-size-fixed-1)
20467 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20468 (window-max-delta-1, window-max-delta, window-resizable)
20469 (window-resizable-p, window-total-height, window-total-width)
20470 (window-body-width): New functions.
20471 (window-full-height-p, window-full-width-p): Rewrite using
20472 window-total-size.
20473 (window-body-height): Rewrite using window-body-size.
190b47e6 20474
85cc1f11
MR
204752011-06-06 Martin Rudalics <rudalics@gmx.at>
20476
20477 * window.el (window-right, window-left, window-child)
20478 (window-child-count, window-last-child, window-any-p)
20479 (normalize-live-buffer, normalize-live-frame)
20480 (normalize-any-window, normalize-live-window)
20481 (window-iso-combination-p, window-iso-combined-p)
20482 (window-iso-combinations)
20483 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20484 (windows-with-parameter, window-with-parameter)
20485 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20486 (window-atom-check, window-side-check, window-check):
20487 New functions.
85cc1f11
MR
20488 (ignore-window-parameters, window-sides, window-sides-vertical)
20489 (window-sides-slots): New variables.
20490 (window-size-fixed): Move down in code. Minor doc-string fix.
20491
e7156492
AS
204922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20493
20494 * comint.el (comint-dynamic-complete-as-filename)
20495 (comint-dynamic-complete-filename): Correctly call
20496 completion-in-region.
20497
7e821d0d
DD
204982011-06-05 Deniz Dogan <deniz@dogan.se>
20499
20500 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20501 in last change.
20502
ac09b8a1
DD
205032011-06-05 Deniz Dogan <deniz@dogan.se>
20504
20505 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20506 (rcirc): Use it to prompt for encryption.
20507
34699b85
RW
205082011-06-05 Roland Winkler <winkler@gnu.org>
20509
20510 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20511 (bibtex-search-entries): New command bound to C-c C-a.
20512 (bibtex-display-entries): New function.
20513
004dedd3
RW
205142011-06-05 Roland Winkler <winkler@gnu.org>
20515
20516 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20517 (bibtex-insert-kill): After yanking insert newline if necessary.
20518 (bibtex-initialize): Call bibtex-string-files-init only once.
20519 (bibtex-mode): Do not call easy-menu-add.
20520 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20521 (bibtex-yank): Set arg properly if nil.
20522
022fe7ce
RW
205232011-06-05 Roland Winkler <winkler@gnu.org>
20524
2b75be67
SM
20525 * textmodes/bibtex.el (bibtex-search-entry-globally):
20526 New variable.
022fe7ce
RW
20527 (bibtex-search-entry): Use it.
20528
b7c3692a
RW
205292011-06-05 Roland Winkler <winkler@gnu.org>
20530
20531 * textmodes/bibtex.el (bibtex-entry-format): New option
20532 sort-fields.
20533 (bibtex-format-entry, bibtex-reformat): Honor this option.
20534 (bibtex-parse-entry): Return fields in proper order.
20535
8eda563d
JB
205362011-06-05 Juanma Barranquero <lekktu@gmail.com>
20537
20538 * doc-view.el (doc-view-remove-if): Move computation of result out
20539 of `dolist' to silence misleading lexical-binding warning.
20540
7dbe3dbc
CY
205412011-06-04 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20544 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20545
0c33dd17
MA
205462011-06-04 Michael Albinus <michael.albinus@gmx.de>
20547
20548 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20549 "SunOS 5.10".
20550
f8f91c2b
MA
205512011-06-04 Michael Albinus <michael.albinus@gmx.de>
20552
20553 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20554 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20555 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20556 (tramp-parse-putty):
20557 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20558 (tramp-completion-function-alist-ssh)
20559 (tramp-completion-function-alist-telnet)
20560 (tramp-completion-function-alist-su)
20561 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20562 cookie.
20563
20564 * net/tramp-ftp.el:
20565 * net/tramp-sh.el:
20566 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20567 load "tramp.el" `tramp-set-completion-function'.
20568
e17d9003
SM
205692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20570
20571 * shell.el: Require and use pcomplete.
20572 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20573 (shell-completion-vars): Set pcomplete-default-completion-function.
20574
6c4cab03
DD
205752011-06-04 Deniz Dogan <deniz@dogan.se>
20576
20577 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20578 `memq' (Bug#8799).
20579
ea9fafe0
SM
205802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20581
20582 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20583
b3e945d3
JB
205842011-06-02 Juanma Barranquero <lekktu@gmail.com>
20585
20586 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20587 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20588 * vc/log-view.el (log-view-beginning-of-defun):
20589 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20590 (smerge-refine-forward, smerge-refine-chopup-region):
20591 Silence warning for unused `dotimes' counter variables.
20592
7d520089
SM
205932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20594
20595 * net/tramp.el (tramp-with-progress-reporter): Rename from
20596 with-progress-reporter. Use `declare'.
20597 * net/tramp-smb.el:
20598 * net/tramp-sh.el:
20599 * net/tramp-gvfs.el: Update all uses.
20600
a1c2400f
JB
206012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20602
20603 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20604 buffer isn't killed before making it current.
20605
2403c841
SM
206062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20607
20608 Silence various byte-compiler warnings.
20609 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20610 `access-type' and new obsolescence format.
20611 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20612 new format.
20613 (byte-compile-check-variable): New `access-type' argument.
20614 Only warn if the access-type is obsolete.
20615 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20616 (byte-compile-variable-set): Adjust callers.
20617 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20618 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20619 setting it as obsolete.
20620 * simple.el (minibuffer-completing-symbol):
20621 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20622 access as obsolete.
20623 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20624 obsolete yet.
20625 * international/quail.el (quail-mouse-choose-completion): Remove unused
20626 code referring to obsolete var.
20627 (quail-choose-completion-string): Remove.
20628 * server.el (server-clients-with, server-kill-buffer-query-function)
20629 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20630 * proced.el (proced-send-signal):
20631 * emacs-lisp/lisp.el (lisp-complete-symbol):
20632 Replace completion-annotate-function with completion-extra-properties.
20633
2462470b
SM
206342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20635
fb5b2591
SM
20636 * simple.el (goto-line): Use read-number.
20637 (overriding-map-is-bound): Remove.
20638 (saved-overriding-map): Change default.
20639 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20640 Take the map as argument.
20641 (universal-argument, negative-argument, digit-argument): Use it.
20642 (restore-overriding-map): Adjust.
20643 (do-auto-fill): Use fill-forward-paragraph.
20644 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20645
fd6fa53f
SM
20646 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20647 (minibuffer-inactive-mode): New major mode.
20648 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20649 the *Messages* buffer" hack.
20650 (mouse-popup-menubar): Don't burp if the event is a normal key.
20651
2462470b
SM
20652 Miscellaneous tweaks.
20653 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20654 lexical scoping as in subr.el's dolist and dotimes.
20655 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20656 Silence compiler warning.
20657 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20658 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20659 * international/ccl.el (ccl-compile): Trivial simplification.
20660 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20661 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20662 `printflag' argument.
20663 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20664 Purecopy the whole obsolescence data.
20665
108bf785
LL
206662011-06-01 Leo Liu <sdl.web@gmail.com>
20667
20668 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20669 improve doc-string as suggested by Marco Pessotto
20670 <melmothx@gmail.com>.
20671 (rcirc-print): Fix last change.
20672
30a23501
SM
206732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * minibuffer.el (complete-with-action): Return nil for the metadata and
20676 boundaries of non-functional tables.
20677 (completion-table-dynamic): Return nil for the metadata.
20678 (completion-table-with-terminator): Add default case, using
20679 complete-with-action.
20680 (completion--metadata): New function.
20681 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20682 to try and avoid pathological performance problems.
20683 (completion--embedded-envvar-table): Return `category' metadata.
20684
bcd54f83
LMI
206852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20686
20687 * subr.el (process-alive-p): New tiny convenience function.
20688
e227544d
SM
206892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20690
20691 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20692 content but also its previous major mode.
20693
e8296fdc
HE
206942011-05-31 Helmut Eller <eller.helmut@gmail.com>
20695
4d61f28d 20696 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20697 *Backtrace* buffer when we exit with C-M-c.
20698
620c53a6
SM
206992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20700
20701 * minibuffer.el: Add metadata method to completion tables.
20702 (completion-category-overrides): New defcustom.
20703 (completion-metadata, completion--field-metadata)
20704 (completion-metadata-get, completion--styles)
20705 (completion--cycle-threshold): New functions.
20706 (completion-try-completion, completion-all-completions):
20707 Add `metadata' argument to choose completion-styles.
20708 (completion--do-completion): Use metadata to choose cycling.
20709 (completion-all-sorted-completions): Use metadata for sorting.
20710 Remove :completion-cycle-penalty which is not needed any more.
20711 (completion--try-word-completion): Add `metadata' argument.
20712 (minibuffer-completion-help): Check metadata for annotation function
20713 and sorting.
20714 (completion-file-name-table): Return `category' metadata.
20715 (minibuffer-completing-file-name): Make obsolete.
20716 * simple.el (minibuffer-completing-symbol): Make obsolete.
20717 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20718 completion-try-completion.
20719
1257e755
SM
207202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20721
20722 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20723
3767e706
LL
207242011-05-30 Leo Liu <sdl.web@gmail.com>
20725
20726 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20727 (rcirc-print): Decode all incoming messages (bug#8744).
20728 (rcirc-decode-coding-system): Allow value nil for automatic coding
20729 system detection.
3767e706 20730
d1a5d56a
GM
207312011-06-01 Glenn Morris <rgm@gnu.org>
20732
20733 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20734
e8cbec34
CY
207352011-05-29 Chong Yidong <cyd@stupidchicken.com>
20736
20737 * image.el (image-animate-max-time): Allow nil and t values.
20738 Default to nil.
20739 (create-animated-image): Doc fix.
20740 (image-animate-start): Remove second arg; just use
20741 image-animate-max-time.
20742 (image-animate-timeout): Doc fix. Args changed.
20743
20744 * image-mode.el (image-toggle-display-image): Ensure that the
20745 image spec passed to the animate timer is the same object as in
58179cce 20746 the buffer's display property (Bug#6981).
e8cbec34
CY
20747 (image-transform-properties): Doc fix.
20748
20749 * image.el (image-animate-max-time): Default to nil.
20750
159daf87
MR
207512011-05-29 Martin Rudalics <rudalics@gmx.at>
20752
20753 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20754 entire buffer list (Bug#8184).
20755
d66c4c7c
CY
207562011-05-29 Chong Yidong <cyd@stupidchicken.com>
20757
20758 * image.el (imagemagick-types-inhibit)
20759 (imagemagick-register-types): Doc fix.
20760
80aec780
DD
207612011-05-29 Deniz Dogan <deniz@dogan.se>
20762
20763 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20764 default.
20765
1dd3c2d9
CY
207662011-05-29 Chong Yidong <cyd@stupidchicken.com>
20767
20768 * select.el: Don't perform clipboard-manager saving in hooks;
20769 leave the hooks empty.
20770
60e56523
LL
207712011-05-28 Leo Liu <sdl.web@gmail.com>
20772
20773 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20774 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20775 (occur-edit-mode): New major mode (Bug#8463).
20776 (occur-after-change-function): New function.
20777 (occur-engine): Give Occur tags a read-only property.
20778
2b1e1a22
KR
207792011-05-28 Kevin Ryde <user42@zip.com.au>
20780
20781 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20782
5d344e88
CY
207832011-05-28 Chong Yidong <cyd@stupidchicken.com>
20784
8e6ca83d
CY
20785 * bindings.el (help-echo): Make the initial non-indicator dash
20786 empty on graphical terminals (Bug#7295).
20787
5d344e88
CY
20788 * files.el (auto-mode-alist): Move config rule after the
20789 in-stripping one (Bug#8547).
20790
bfbbace7
CY
20791 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20792
fbeba6e2
CY
20793 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20794 setting (Bug#8740).
20795
60ed8c72
AA
207962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20797
4ac619f0
AA
20798 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20799 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20800 (Bug#8539).
60ed8c72 20801
23db196e
CY
208022011-05-28 Chong Yidong <cyd@stupidchicken.com>
20803
20804 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20805
5012f24c
DK
208062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20807
20808 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20809 (hs-hide-block-at-point, hs-find-block-beginning)
20810 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20811 (Bug#8279).
20812
6a639b16
GM
208132011-05-28 Glenn Morris <rgm@gnu.org>
20814
20815 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20816
d43eaf2c
CY
208172011-05-28 Chong Yidong <cyd@stupidchicken.com>
20818
5199bde1
CY
20819 * help-fns.el (describe-function-1): If the function is a derived
20820 major mode, print the parent mode.
20821
d43eaf2c
CY
20822 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20823 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20824
423428a8
SM
208252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20826
0ff8e1ba 20827 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20828 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20829 * progmodes/etags.el (tags-completion-at-point-function):
20830 * info-look.el (info-lookup-completions-at-point): Mark as
20831 non-exclusive.
20832 (info-complete): Adjust accordingly.
20833
423428a8
SM
20834 * info-look.el: Convert to lexical-binding and completion-at-point.
20835 (info-lookup-completions-at-point): New function.
20836 (info-complete): Use it and completion-in-region.
20837
b74aa22b
DA
208382011-05-28 Drew Adams <drew.adams@oracle.com>
20839
20840 * isearch.el: Let M-e start with point at the first mismatched char.
20841 (isearch-fail-pos): New function.
20842 (isearch-edit-string): Use it.
20843
66e2e71d
DK
208442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20845
20846 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20847
b1890b0f 208482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20849
20850 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20851 traversal functions for avl-trees.
20852 (avl-tree--stack): New struct.
20853 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20854 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20855 (avl-tree--do-enter): Add optional `updatefun' arg.
20856 Change return value.
eb95d01d 20857 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20858 (avl-tree--do-delete): Add `test' and `nilflag' args.
20859 Change return value.
eb95d01d
TC
20860 (avl-tree-member): Add optional `nilflag'
20861 (avl-tree-member-p): New function.
20862 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20863 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20864 (avl-tree-stack-empty-p): New functions.
20865
3769ddcf
TC
20866 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20867 avl-tree--del-balance1 and make it work both ways.
20868 (avl-tree--del-balance2): Remove.
20869 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20870 make it work both ways.
20871 (avl-tree--enter-balance2): Remove.
20872 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20873 New macros.
20874 (avl-tree--mapc, avl-tree-map): Add direction argument.
20875
eb95d01d 208762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20877
20878 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20879
a9f737ee
CY
208802011-05-27 Chong Yidong <cyd@stupidchicken.com>
20881
20882 * select.el: Support clipboard managers with built-in function
20883 x-clipboard-manager-save, via delete-frame-functions and
20884 kill-emacs-hook.
20885 (xselect-convert-to-targets): Add MULTIPLE target to list.
20886 (xselect-convert-to-save-targets): New function.
20887
c92a1e54
KH
208882011-05-27 Kenichi Handa <handa@m17n.org>
20889
20890 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20891 let-binding rfc2047-encode-encoded-words to nil.
20892
e145f188
GM
208932011-05-27 Glenn Morris <rgm@gnu.org>
20894
5ec8a862
GM
20895 * mail/emacsbug.el: Don't require url-util.
20896
4b29d9fb
GM
20897 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20898
e145f188
GM
20899 * files.el (set-auto-mode):
20900 Also respect mode: entries at the end of the file. (Bug#8586)
20901
7d15102b
GM
209022011-05-26 Glenn Morris <rgm@gnu.org>
20903
98f593b8
GM
20904 * files.el (hack-local-variables-prop-line, hack-local-variables):
20905 Downcase mode names, as seems to be traditional.
27b48e63 20906 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20907
7d15102b
GM
20908 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20909 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20910
51d5b4ec
JD
209112011-05-25 Julien Danjou <julien@danjou.info>
20912
20913 * textmodes/rst.el (rst-define-level-faces): Do not define face
20914 symbol if it is already defined.
20915
91513f63
VB
209162011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20917
20918 * play/5x5.el (5x5-new-game, 5x5-randomize):
20919 Reset 5x5-solver-output to nil when a new grid is cast.
20920 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20921 these debugging traces, as defmacro breaks the compiled code.
20922
4d90d6d0
DK
209232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20924
20925 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20926
e1b90ef6
LL
209272011-05-24 Leo Liu <sdl.web@gmail.com>
20928
20929 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20930 (vc-bzr-sha1): Adapt.
20931
d8e4b68b 20932 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20933
20934 * bindings.el: Provide sha1 feature.
20935
db0406bb 209362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20937
20938 * mail/sendmail.el: Require `rfc2047'.
20939 (mail-insert-from-field): Do not perform RFC2047 encoding.
20940 (mail-encode-header): New function.
20941 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20942 buffer to the return value of select-message-coding-system.
20943 Call mail-encode-header.
b8d747b9
KH
20944
20945 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20946
db0406bb 209472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20948
4d90d6d0
DK
20949 * mail/supercite.el (sc-default-cite-frame):
20950 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20951
eb8a5e9b
GM
209522011-05-24 Glenn Morris <rgm@gnu.org>
20953
f8630703
GM
20954 * progmodes/python.el (brm-menu): Declare.
20955
8831bbed
GM
20956 * emulation/viper.el (viper-set-hooks): Declare.
20957
eb8a5e9b
GM
20958 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20959 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20960 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20961 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20962 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20963 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20964
a2a25d24
SM
209652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20966
20967 Add an :exit-function for completion-at-point.
20968
20969 * minibuffer.el (completion--done): New fun.
20970 (completion--do-completion): Use it. New arg `expect-exact'.
20971 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20972 since completion--do-completion does it for us now.
20973 (minibuffer-force-complete): Use completion--done and
20974 completion--replace. Handle sole-completion case with more care.
20975 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20976 (completion-extra-properties): New var.
20977 (completion-annotate-function): Make obsolete.
20978 (minibuffer-completion-help): Adjust accordingly.
20979 Use completion-list-insert-choice-function.
20980 (completion-at-point, completion-help-at-point):
20981 Bind completion-extra-properties.
20982 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20983 * simple.el (completion-list-insert-choice-function): New var.
20984 (completion-setup-function): Preserve it.
20985 (choose-completion): Pay attention to it, shuffle the code a bit.
20986 (choose-completion-string): New arg `insert-function'.
20987
20988 * textmodes/bibtex.el: Convert to lexical binding.
20989 (bibtex-mode-map): Use completion-at-point.
20990 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20991 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20992 (bibtex-complete): Define as obsolete alias.
20993 (bibtex-complete-internal): Remove.
20994 (bibtex-format-entry): Remove unused sub-group in regexp.
20995 * shell.el (shell--command-completion-data)
20996 (shell-environment-variable-completion):
20997 * pcomplete.el (pcomplete-completions-at-point):
20998 * comint.el (comint--complete-file-name-data): Use :exit-function
20999 instead of completion-table-with-terminator so it also works for
21000 choose-completion.
21001
e44e373d
SM
210022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21003
4f91a816
SM
21004 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21005
782fc819
SM
21006 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21007 (bug#8710).
21008
e44e373d
SM
21009 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21010
381987c3
KM
210112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21012
21013 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21014 customization variable and implement: If non-nil, auto-fill will
21015 be inhibited while on topic's header line.
21016
b776bc70
VB
210172011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21018
21019 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21020 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21021 always have a solution in grid size = 5 cases.
21022 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21023 (5x5-solver-output, 5x5-log-buffer): New vars.
21024 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21025 Make these variables buffer local to achieve 5x5 multi-session-ness.
21026 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21027 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21028 (5x5-solve-suggest): New funs.
21029 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21030 randomize a grid so that we ensure that there is always a solution.
21031 (5x5-make-random-grid): Allow other movement than flipping.
21032
7de88b6e
KR
210332011-05-23 Kevin Ryde <user42@zip.com.au>
21034
21035 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21036 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21037 advice and passes PREDICATE.
21038
b1ef1257
SM
210392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21040
bbca48fe
SM
21041 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21042 byte-compile-lambda if it's actually a lambda.
21043
b1ef1257
SM
21044 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21045 Fix function quoting. Use backquote better.
21046
92a9cc65
YS
210472011-05-22 Yuanle Song <sylecn@gmail.com>
21048
21049 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21050 matching (Bug#8516).
21051
fe93f41a 210522011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21053
21054 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21055 different face (Bug#8178).
21056
d5b44c93
CY
210572011-05-22 Chong Yidong <cyd@stupidchicken.com>
21058
21059 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21060 defface (Bug#8144).
21061
79106a44
SM
210622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21063
9c848d8a
SM
21064 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21065 funcall as well (bug#8712). Warn when performing those conversions.
21066 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21067
79106a44
SM
21068 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21069
88dfa756
GM
210702011-05-22 Glenn Morris <rgm@gnu.org>
21071
21072 * files.el (hack-local-variables-prop-line): Small simplifications.
21073 (hack-local-variables, hack-local-variables-prop-line):
21074 If MODE-ONLY, return the mode, rather than just `t'.
21075
b7cf2c79
SM
210762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21077
21078 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21079
3f1a8558
GM
210802011-05-21 Glenn Morris <rgm@gnu.org>
21081
7e4ccca3
GM
21082 * files.el (hack-local-variables-prop-line, hack-local-variables):
21083 If only interested in the mode, don't bother doing the other stuff.
21084
637d46ca
GM
21085 * image-mode.el (image-after-revert-hook):
21086 Redraw all frames on which the image is visible. (Bug#8567)
21087
973d955b
GM
21088 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21089
3f1a8558
GM
21090 * wid-edit.el (widget-checklist-match-inline):
21091 Fix 2011-04-19 change. (Bug#8649)
21092
96479927
SM
210932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21094
1dcf791f
SM
21095 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21096 Also allow singlespace after single-letter capitals followed by a dot.
21097
96479927
SM
21098 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21099 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21100
35fd0881
N
211012011-05-20 Nix <nix@esperi.org.uk>
21102
21103 * files.el (basic-save-buffer-2):
21104 Fix handling of break-hardlink-on-save with non-existent files.
21105
82745640
DD
211062011-05-19 Deniz Dogan <deniz@dogan.se>
21107
21108 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21109 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21110
4a720484
GM
211112011-05-19 Glenn Morris <rgm@gnu.org>
21112
d1f21341
GM
21113 * progmodes/f90.el (f90-type-def-re):
21114 Handle "type, bind(c)". (Bug#8691)
21115
4a720484
GM
21116 * emacs-lisp/autoload.el (batch-update-autoloads):
21117 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21118
2fb0a219
MA
211192011-05-18 Michael Albinus <michael.albinus@gmx.de>
21120
21121 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21122 property for the correct connection in case of multihops.
21123
e565dd37
GM
211242011-05-18 Glenn Morris <rgm@gnu.org>
21125
c2571358 21126 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21127 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21128
e565dd37
GM
21129 Rationalize calendar handling of day and month abbrev-arrays.
21130 * calendar/calendar.el (calendar-customized-p): New function.
21131 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21132 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21133 Add :set function.
21134 (calendar-abbrev-length, calendar-day-abbrev-array)
21135 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21136 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21137 Elements may no longer be nil.
21138 (calendar-day-name, calendar-month-name):
21139 Update for changed nature of abbrev arrays.
21140 * calendar/diary-lib.el (diary-name-pattern):
21141 Update for changed nature of abbrev arrays.
21142 (diary-mark-entries-1): Update calendar-make-alist calls.
21143 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21144 * calendar/cal-html.el (cal-html-day-abbrev-array):
21145 Simply inherit from calendar-day-abbrev-array.
21146
1d99a745
SM
211472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21148
21149 * progmodes/grep.el (grep-mode): Disable default
21150 compilation-directory-matcher setting (bug#8684).
21151
7c1d9aa0
MA
211522011-05-17 Michael Albinus <michael.albinus@gmx.de>
21153
21154 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21155 instead of "head" and "tail". There were problems with SunOS 5.9,
21156 and it performs better.
21157
3952e9d8
GM
211582011-05-17 Glenn Morris <rgm@gnu.org>
21159
2dd12e7f
GM
21160 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21161
e4157b9c
GM
21162 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21163 Replace obsolete function.
21164
8e249bbd
GM
21165 * shell.el (pcomplete-parse-arguments-function): Declare.
21166
3952e9d8
GM
21167 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21168 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21169 (appt-check): Doc fixes.
21170 (appt-disp-window-function, appt-delete-window-function):
21171 Remove needless special case in custom :type.
21172 (appt-display-count): Default to 0, not nil.
21173 (appt-check): Reset appt-display-count to 0, not nil.
21174
c71a0d48 211752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21176
c71a0d48
GM
21177 * progmodes/python.el (python-font-lock-keywords):
21178 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21179
31d55be9
SM
211802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21181
21182 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21183
3bfacb2f
KR
211842011-05-16 Kevin Ryde <user42@zip.com.au>
21185
21186 * info-look.el (makefile-automake-mode): New setups, looking in
21187 automake manual, then makefile-mode.
21188 (makefile-mode): Remove automake manual, have it just in
21189 makefile-automake-mode since there's various things different or
21190 not relevant to plain make.
21191 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21192 believe a hypothetical automake-mode would go to makefile-mode,
21193 not the other way around.
21194
c8e83751
CY
211952011-05-15 Chong Yidong <cyd@stupidchicken.com>
21196
5e9e35cd
CY
21197 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21198 hunk-end tags (Bug#8672).
21199
c8e83751
CY
21200 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21201 vc-annotate-show-diff-revision-at-line (Bug#8671).
21202
50b23e5a
GM
212032011-05-14 Glenn Morris <rgm@gnu.org>
21204
7210a739
GM
21205 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21206 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21207 (change-log-font-lock-keywords): Also handle multiple author lines
21208 with leading tabs. (Bug#8644)
7210a739 21209
4691905a
GM
21210 * calendar/appt.el (appt-check): Rename some local variables.
21211 Some simplification/reordering.
21212
50b23e5a
GM
21213 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21214 (feedmail-sendmail-f-doesnt-sell-me-out)
21215 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21216 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21217 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21218 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21219 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21220 (feedmail-binmail-gnulinuxish-template):
21221 Rename from feedmail-binmail-linuxish-template.
21222 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21223 Use insert-buffer-substring.
21224
215cda7c
BC
212252011-05-14 Bill Carpenter <bill@carpenter.org>
21226
21227 * mail/feedmail.el (feedmail-patch-level): Increase.
21228 (feedmail-debug): New custom group.
21229 (feedmail-confirm-outgoing-timeout)
21230 (feedmail-sendmail-f-doesnt-sell-me-out)
21231 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21232 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21233 (feedmail-sender-line, feedmail-from-line)
21234 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21235 (feedmail-spray-this-address)
215cda7c
BC
21236 (feedmail-spray-address-fiddle-plex-list)
21237 (feedmail-queue-use-send-time-for-date)
21238 (feedmail-queue-use-send-time-for-message-id)
21239 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21240 (feedmail-buffer-eating-function):
21241 Doc fixes.
21242 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21243 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21244 (feedmail-message-action-scroll-down): New functions.
21245 (feedmail-queue-directory, feedmail-queue-draft-directory):
21246 Use expand-file-name.
21247 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21248 Remove C-v help entry.
21249 (feedmail-queue-buffer-file-name): New variable.
21250 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21251 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21252 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21253 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21254 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21255 (feedmail-message-action-toggle-spray)
21256 (feedmail-run-the-queue-no-prompts)
21257 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21258 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21259 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21260 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21261 (feedmail-envelope-deducer, feedmail-fiddle-from)
21262 (feedmail-fiddle-sender, feedmail-default-date-generator)
21263 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21264 (feedmail-fiddle-spray-address)
21265 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21266 (feedmail-fiddle-list-of-fiddle-plexes)
21267 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21268 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21269 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21270 Change default. Doc fix.
21271 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21272 (feedmail-binmail-linuxish-template): New constant.
21273 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21274 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21275 (feedmail-send-it): Add debug call.
21276 Use feedmail-queue-buffer-file-name, and
21277 feedmail-send-it-immediately-wrapper.
21278 (feedmail-message-action-send): Add debug call.
21279 Use feedmail-send-it-immediately-wrapper.
21280 (feedmail-queue-express-to-queue): Add debug call.
21281 Run feedmail-queue-express-hook.
21282 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21283 (feedmail-message-action-help-blat):
21284 Rename from feedmail-queue-send-edit-prompt-help-first.
21285 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21286 Check line-endings. Handle errors better.
21287 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21288 Doc fix. Add debug call.
21289 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21290 Use feedmail-queue-send-edit-prompt-inner.
21291 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21292 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21293 from feedmail-queue-send-edit-prompt.
21294 (feedmail-queue-send-edit-prompt-help)
21295 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21296 (feedmail-tidy-up-slug): Add debug call.
21297 Respect feedmail-queue-slug-suspect-regexp.
21298 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21299 (feedmail-dump-message-to-queue): Add debug call.
21300 Expand queue-directory.
21301 (feedmail-dump-message-to-queue): Change message slightly.
21302 Use feedmail-say-chatter.
21303 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21304 (feedmail-send-it-immediately-wrapper): New function.
21305 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21306 Insert empty string rather than newline. Handle full-frame case.
21307 Use catch/throw. Use feedmail-say-chatter.
21308 (feedmail-fiddle-from): Try mail-host-address.
21309 (feedmail-default-message-id-generator): Doc fix.
21310 Bind system-time-locale. Handle missing end.
21311 (feedmail-fiddle-x-mailer): Add debug call.
21312 Handle feedmail-x-mailer-line being nil.
21313 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21314 Add debug call. Use buffer-substring-no-properties.
21315 (feedmail-say-debug, feedmail-say-chatter): New functions.
21316 (feedmail-find-eoh): Give an explicit error.
21317
42c7e61e
UJ
213182011-05-13 Ulf Jasper <ulf.jasper@web.de>
21319
c2571358 21320 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21321 family from helvetica to sans.
c2571358 21322 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21323 etc/images/newsticker.
21324
c2571358 21325 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21326 family from helvetica to sans.
21327
21328 * net/newst-plainview.el (newsticker-new-item-face)
21329 (newsticker-old-item-face, newsticker-immortal-item-face)
21330 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21331 (newsticker-statistics-face): Change default family from
42c7e61e 21332 helvetica to sans.
c2571358 21333 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21334 etc/images/newsticker.
21335
5d3385a0
JB
21336 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21337 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21338 auto-marking.
21339
8497a297
DV
213402011-05-13 Didier Verna <didier@xemacs.org>
21341
21342 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21343 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21344 TODO entries.
8497a297
DV
21345 (lisp-lambda-list-keyword-parameter-indentation)
21346 (lisp-lambda-list-keyword-parameter-alignment)
21347 (lisp-lambda-list-keyword-alignment): New customizable user options.
21348 (lisp-indent-defun-method): Improve docstring.
21349 (extended-loop-p): Fix comment.
21350 (lisp-indent-lambda-list-keywords-regexp): New variable.
21351 (lisp-indent-lambda-list): New function.
21352 (lisp-indent-259): Use it.
21353 (lisp-indent-defmethod): Support for more than one
21354 method qualifier and properly indent methods lambda-lists.
21355 (defgeneric): Provide a missing common-lisp-indent-function property.
21356
f278f87f
SM
213572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21358
21359 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21360 bounds for the empty string (bug#8667).
21361
5233edd7
GM
213622011-05-13 Glenn Morris <rgm@gnu.org>
21363
5237a44f
GM
21364 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21365
8340026c 21366 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21367 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21368
5233edd7 21369 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21370 (appt-time-msg-list): Doc fix.
a5464014 21371 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21372
92d10796
AS
213732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21374
21375 * progmodes/ld-script.el (ld-script-keywords)
21376 (ld-script-builtins): Update keywords list.
21377
914a0ae1
SM
213782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21379
c89be45f
SM
21380 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21381
914a0ae1
SM
21382 * shell.el (shell-completion-vars): New function.
21383 (shell-mode):
21384 * simple.el (read-shell-command): Use it.
21385 (blink-matching-open): No need for " [...]" in minibuffer-message.
21386
98dc3df3
GM
213872011-05-12 Glenn Morris <rgm@gnu.org>
21388
21389 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21390 (appt-check): Simplify.
21391
d2fc7e3d 213922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21393
4d61f28d 21394 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21395 literal "/dev/null".
21396
d2fc7e3d 213972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21398
21399 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21400 Fix typo.
21401
d2fc7e3d 214022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21403
3f254caa
SM
21404 * progmodes/which-func.el (which-function):
21405 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21406 which might not be defined (Bug#8260).
21407
d45885f7
GM
214082011-05-12 Glenn Morris <rgm@gnu.org>
21409
21410 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21411 Let byte-compile-initial-macro-environment always take precedence.
21412
488086f4
SM
214132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21414
21415 * net/rcirc.el: Add support for SSL/TLS connections.
21416 (rcirc-server-alist): New field `encryption'.
21417 (rcirc): Check `encryption' settings.
21418 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21419 Merge make-local-variable into `set'.
21420 (rcirc--connection-open-p): New function.
21421 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21422 the process is not a network process (e.g. running gnutls-cli).
21423 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21424 Make rcirc-(en|de)code-coding-system local here.
21425 (rcirc-mode): Merge make-local-variable into `set'.
21426 (rcirc-parent-buffer): Make permanent buffer-local.
21427 (rcirc-multiline-minor-mode): Don't do it here.
21428 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21429 there's no server buffer.
21430
7d3b9d44
GM
214312011-05-11 Glenn Morris <rgm@gnu.org>
21432
f64049c6
GM
21433 * newcomment.el (comment-kill): Prefix "unused" local.
21434
93c9df73
GM
21435 * term/w32console.el (get-screen-color): Declare.
21436
7d3b9d44
GM
21437 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21438 Handle symbol elements of byte-compile-initial-macro-environment.
21439
9e2dd53f
LL
214402011-05-10 Leo Liu <sdl.web@gmail.com>
21441
488086f4
SM
21442 * bookmark.el (bookmark-bmenu-mode-map):
21443 Bind bookmark-bmenu-search to `/'.
8b340240 21444
9e2dd53f 21445 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21446 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21447 (Footnote-unicode): New function.
21448 (footnote-style-alist): Add unicode style to the list.
21449 (footnote-style): Doc fix.
9e2dd53f 21450
79b70037
GM
214512011-05-10 Jim Meyering <meyering@redhat.com>
21452
21453 Fix doubled-word typos.
21454 * international/quail.el (quail-insert-kbd-layout): and and -> and
21455 * kermit.el: and and -> and
21456 * net/ldap.el (ldap-search-internal): to to -> to
21457 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21458 * progmodes/js.el (js-mode): and and -> and
21459 * textmodes/artist.el (artist-move-to-xy): at at -> at
21460 (artist-draw-region-trim-line-endings): if if -> if
21461 And Safetyc -> Safety.
21462 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21463
b8f82dc1 214642011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21465 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21466
21467 * files.el (hack-one-local-variable-eval-safep):
21468 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21469
4f99f44b
GM
214702011-05-10 Glenn Morris <rgm@gnu.org>
21471
21472 * calendar/diary-lib.el (diary-list-entries-hook)
21473 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21474 (diary-nongregorian-marking-hook, diary-list-entries)
21475 (diary-include-other-diary-files, diary-mark-entries)
21476 (diary-mark-included-diary-files): Doc fixes.
21477
84f29e6b
JB
214782011-05-09 Juanma Barranquero <lekktu@gmail.com>
21479
21480 * misc.el: Require tabulated-list.el during compilation.
21481
9bedd73a
CY
214822011-05-09 Chong Yidong <cyd@stupidchicken.com>
21483
488086f4
SM
21484 * progmodes/compile.el (compilation-start):
21485 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21486 (compilation-filter-hook): Doc fix.
21487
797c735c
DD
214882011-05-09 Deniz Dogan <deniz@dogan.se>
21489
21490 * wdired.el: Remove outdated installation comment. Fix usage
21491 comment.
21492
5f4b1dfe
JB
214932011-05-09 Juanma Barranquero <lekktu@gmail.com>
21494
21495 * misc.el: Implement new command `list-dynamic-libraries'.
21496 (list-dynamic-libraries--loaded-only-p): New variable.
21497 (list-dynamic-libraries--refresh): New function.
21498 (list-dynamic-libraries): New command.
21499
4c44026c
CY
215002011-05-09 Chong Yidong <cyd@stupidchicken.com>
21501
488086f4
SM
21502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21503 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21504 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21505 higher priority to avoid clobbering by gnu.
21506
027f966d
CY
215072011-05-08 Chong Yidong <cyd@stupidchicken.com>
21508
21509 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21510 if the face has existing theme settings (Bug#8454).
21511
085f5d7d
CY
215122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21513
488086f4
SM
21514 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21515 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21516
2a86a00c
RS
21517 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21518 special file names `.' and `..' (Bug#8259).
21519
d9c54a06
CY
215202011-05-08 Chong Yidong <cyd@stupidchicken.com>
21521
488086f4
SM
21522 * progmodes/grep.el (grep-mode-font-lock-keywords):
21523 Remove buffer-changing entries.
d9c54a06
CY
21524 (grep-filter): New function.
21525 (grep-mode): Add it to compilation-filter-hook.
21526
21527 * progmodes/compile.el (compilation-filter-hook)
21528 (compilation-filter-start): New defvars.
21529 (compilation-filter): Call compilation-filter-hook prior to
21530 updating the process mark.
21531
c4662635
SM
215322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21533
21534 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21535
b0512a1d
EZ
215362011-05-07 Eli Zaretskii <eliz@gnu.org>
21537
605c9376
EZ
21538 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21539 mailclient-send-it even if window-system is nil. (Bug#8595)
21540
c4662635
SM
21541 * term/w32console.el (terminal-init-w32console):
21542 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21543 background-mode. (Bug#8597)
21544
d1dc2cc2
SM
215452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21546
21547 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21548 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21549 New functions.
21550 (defgeneric, eieio--defmethod): Use them.
21551 (eieio-defgeneric): Remove.
21552 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21553
915d1300
GM
215542011-05-07 Glenn Morris <rgm@gnu.org>
21555
a3961c3e
GM
21556 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21557 Use let rather than let*.
21558 (timeclock-find-discrep): Remove unused local.
21559
314347b9
GM
21560 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21561
915d1300
GM
21562 * calendar/appt.el (appt-time-msg-list): Doc fix.
21563
275b59b0
NF
215642011-05-06 Noah Friedman <friedman@splode.com>
21565
21566 * apropos.el (apropos-print-doc): Only use
21567 emacs-lisp-docstring-fill-column when it is bound to an integer,
21568 per that variable's documentation.
21569
6c19f744
SM
215702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21571
21572 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21573 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21574
60f884b2
GM
215752011-05-06 Glenn Morris <rgm@gnu.org>
21576
5006e634
GM
21577 * calendar/appt.el (appt-message-warning-time): Doc fix.
21578 (appt-warning-time-regexp): New option.
21579 (appt-make-list): Respect appt-message-warning-time.
21580
548d0a63
GM
21581 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21582 New options.
21583 (diary-add-to-list): Strip comments from the displayed string.
21584 (diary-mode): Set comment-start and comment-end.
21585
60f884b2
GM
21586 * vc/diff-mode.el (smerge-refine-subst): Declare.
21587 (diff-refine-hunk): Don't require smerge-mode when compiling.
21588
989681bb
JB
215892011-05-06 Juanma Barranquero <lekktu@gmail.com>
21590
21591 * simple.el (list-processes): Return nil as the docstring says.
21592
a6bc05e1
MA
215932011-05-05 Michael Albinus <michael.albinus@gmx.de>
21594
21595 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21596 to "".
21597 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21598 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21599 determining of binary transfer. (Bug#7383)
21600
23c22e9a
MA
216012011-05-05 Michael Albinus <michael.albinus@gmx.de>
21602
c4662635
SM
21603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21604 Fix port computation bug. (Bug#8618)
23c22e9a 21605
0bff894f
GM
216062011-05-05 Glenn Morris <rgm@gnu.org>
21607
b8296902
GM
21608 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21609
1f522ce8
GM
21610 * simple.el (shell-dynamic-complete-functions)
21611 (comint-dynamic-complete-functions): Declare.
21612
cf5bee67
GM
21613 * net/network-stream.el (gnutls-negotiate):
21614 * simple.el (tabulated-list-print): Fix declarations.
21615
21616 * progmodes/gud.el (syntax-symbol, syntax-point):
21617 Remove unnecessary and incorrect declarations.
21618
0bff894f 21619 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21620 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21621
9869b3ae
SM
216222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21623
21624 Fix earlier half-done eieio-defmethod change (bug#8338).
21625 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21626 Streamline and change calling convention.
21627 (defmethod): Adjust accordingly and simplify.
21628 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21629 new eieio--defmethod.
21630 (slot-boundp): Minor CSE simplification.
21631
9c1d5ac5
MZ
216322011-05-05 Milan Zamazal <pdm@zamazal.org>
21633
21634 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21635 (glasses-make-readable): Use glasses-separate-capital-groups.
21636
455c834e
JB
216372011-05-05 Juanma Barranquero <lekktu@gmail.com>
21638
21639 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21640 (warning-series): Doc fix.
21641 (display-warning): Don't try to create the buffer if we just found it.
21642
9ed7c8cb
CY
216432011-05-04 Chong Yidong <cyd@stupidchicken.com>
21644
21645 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21646 (autoload-find-generated-file): New function.
21647 (generate-file-autoloads): Bind generated-autoload-file to
21648 buffer-file-name.
9869b3ae
SM
21649 (update-file-autoloads, update-directory-autoloads):
21650 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21651 output file (Bug#7989).
21652 (batch-update-autoloads): Doc fix.
21653
0898ca10
JB
216542011-05-04 Juanma Barranquero <lekktu@gmail.com>
21655
21656 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21657
31dfb76c
GM
216582011-05-04 Glenn Morris <rgm@gnu.org>
21659
f330b642
GM
21660 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21661 function, so it follows changes in calendar-date-style.
21662 (diary-fancy-date-matcher): New function.
21663 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21664 (diary-fancy-font-lock-fontify-region-function):
21665 Use diary-fancy-date-pattern as a function.
21666
31dfb76c
GM
21667 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21668 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21669
48e79d6a
TZ
216702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21671
21672 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21673 instead of positional arguments. Allow :keylist and :crlfiles
21674 arguments.
21675 (open-gnutls-stream): Call it.
21676
21677 * net/network-stream.el (network-stream-open-starttls): Adjust to
21678 call `gnutls-negotiate' with :process and :hostname arguments.
21679
dd5a5ee0
SM
216802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21681
ef80fc09
SM
21682 * minibuffer.el (completion--message): New function.
21683 (completion--do-completion, minibuffer-complete)
21684 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21685 (completion--do-completion): Don't ignore completion-auto-help when in
21686 icomplete-mode.
21687
dd5a5ee0
SM
21688 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21689 internal encoding (e.g. tibetan zero is not whitespace).
21690 (global-whitespace-mode): Prefer save-current-buffer.
21691 (whitespace-trailing-regexp): Remove useless save-match-data.
21692 (whitespace-empty-at-bob-regexp): Minor simplification.
21693
b7d22a83
CY
216942011-05-03 Chong Yidong <cyd@stupidchicken.com>
21695
21696 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21697
5192af46
AM
216982011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21699
21700 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21701 Use `concat' to create string for insertion.
5192af46 21702
5767d190
SM
217032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21704
21705 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21706 Avoid open-line which runs post-self-insert-hook.
21707 (bibtex-fill-entry): Remove unused `end' var.
21708
bf242939
AM
217092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21710
5767d190
SM
21711 * textmodes/ispell.el (ispell-add-per-file-word-list):
21712 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21713
25666126
LL
217142011-05-03 Leo Liu <sdl.web@gmail.com>
21715
21716 * isearch.el (isearch-yank-pop): New command.
5767d190 21717 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21718 (isearch-forward): Mention it.
21719
52d3c2d0
SM
217202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21721
1bcace58
SM
21722 * simple.el (minibuffer-complete-shell-command): Remove.
21723 (minibuffer-local-shell-command-map): Use completion-at-point.
21724 (read-shell-command): Setup completion vars here instead.
21725 (read-expression-map): Bind TAB to symbol completion.
21726
52d3c2d0
SM
21727 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21728 error directly rather via storing it into `results'.
21729
35813471
LL
217302011-05-02 Leo Liu <sdl.web@gmail.com>
21731
21732 * vc/diff.el: Fix description.
21733
e793a940
LMI
217342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21735
21736 * server.el (server-eval-at): New function.
21737
8de66e05
LMI
217382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21739
21740 * net/network-stream.el (open-network-stream): Take a :nowait
21741 parameter and pass it on to `make-network-process'.
21742 (network-stream-open-plain): Ditto.
21743
dcb79f20
AS
217442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21745
21746 * faces.el (face-spec-set-match-display): Don't match toolkit
21747 options on terminal frames.
21748
14a7fbd8
SM
217492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21750
7eabc1be
SM
21751 * progmodes/pascal.el: Use lexical binding.
21752 (pascal-mode-map): Remove author preferences.
21753
14a7fbd8
SM
21754 * pcomplete.el (pcomplete-std-complete): Don't abuse
21755 completion-at-point.
21756
50f84510
JB
217572011-04-28 Juanma Barranquero <lekktu@gmail.com>
21758
6e087a44
JB
21759 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21760 removing code that has been dead since 1991 or so.
21761
50f84510
JB
21762 * startup.el (command-line): When warning about "_emacs", use a
21763 delayed warning to allow the user to filter it out.
21764
0ba690bd
DD
217652011-04-28 Deniz Dogan <deniz@dogan.se>
21766
21767 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21768 user has not joined.
21769
08abfaad
SM
217702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21771
21772 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21773 aren't any completions at point.
21774
638f053a
JB
217752011-04-28 Juanma Barranquero <lekktu@gmail.com>
21776
21777 * subr.el (display-delayed-warnings): New function.
21778 (delayed-warnings-hook): New variable.
21779
8fff8daa
SM
217802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21781
08abfaad
SM
21782 * minibuffer.el (completion-at-point, completion-help-at-point):
21783 Don't presume that a given completion-at-point-function will always
21784 use the same calling convention.
21785
8fff8daa
SM
21786 * pcomplete.el (pcomplete-completions-at-point):
21787 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21788 pcomplete-seen is non-nil.
21789 (pcomplete-comint-setup): Also recognize the new comint/shell
21790 completion functions.
21791 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21792 pcomplete-seen is non-nil.
21793
841a1577 217942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21795
841a1577 21796 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21797 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21798 the first character in the entry. This allows for code to add its
211ec907
UJ
21799 own uid to the entry.
21800 (icalendar--convert-float-to-ical): Add export of
21801 `diary-float'-entries save for those with the optional DAY
21802 argument.
21803
2a782793
DC
218042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21805
21806 * subr.el (shell-quote-argument): Use alternate escaping strategy
21807 when we spot a variable reference in a string.
21808
0438ce91
DC
218092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21810
21811 * cus-start.el (all): Define customization for debug-on-event.
21812
841a1577 218132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21814
21815 * subr.el (shell-quote-argument): Escape correctly under Windows.
21816
d090ed6c
SM
218172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21818
21819 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21820
bfd31217
MA
218212011-04-25 Michael Albinus <michael.albinus@gmx.de>
21822
d090ed6c
SM
21823 * net/tramp.el (tramp-process-actions): Add POS argument.
21824 Delete region between POS and (pos).
bfd31217 21825
d090ed6c
SM
21826 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21827 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21828 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21829
21830 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21831 position in `tramp-process-actions' call.
21832
21833 * net/trampver.el: Update release number.
21834
e92f3bd3
SM
218352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21836
850256b5
SM
21837 * custom.el (defcustom): Obey lexical-binding.
21838
e92f3bd3
SM
21839 Fix octave-inf completion problems reported by Alexander Klimov.
21840 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21841 Inherit from octave-mode-syntax-table.
21842 (inferior-octave-mode): Set info-lookup-mode.
21843 (inferior-octave-completion-at-point): New function.
21844 (inferior-octave-complete): Use it and completion-in-region.
21845 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21846 comint-filename-completion.
21847 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21848 symbol elements which shouldn't be word elements.
21849 (octave-font-lock-keywords, octave-beginning-of-defun)
21850 (octave-function-header-regexp): Adjust regexps accordingly.
21851 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21852
cd22b309
JB
218532011-04-25 Juanma Barranquero <lekktu@gmail.com>
21854
21855 * net/gnutls.el (gnutls-errorp): Declare before first use.
21856
8b492194
TZ
218572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21858
21859 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21860 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21861 default trustfile exists before going to use it. Add missing
5a5fa834 21862 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21863 Reported by Claudio Bley <claudio.bley@gmail.com>.
21864 (open-gnutls-stream): Add usage example.
21865
21866 * net/network-stream.el (network-stream-open-starttls): Give host
21867 parameter to `gnutls-negotiate'.
21868 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21869 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21870
841a1577 218712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21872
cd22b309
JB
21873 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21874 Use correct match group (bug#8438).
05842630 21875
3ba7869c
CY
218762011-04-24 Chong Yidong <cyd@stupidchicken.com>
21877
512e3ae1
CY
21878 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21879 (package-menu--generate): New arg specifying packages to show.
21880 (package-menu-refresh, package-menu-execute, list-packages):
21881 Callers changed.
21882 (package-show-package-list): New function, replacing deleted
21883 package--list-packages (renamed because it is non-internal).
21884
21885 * finder.el (finder-list-matches): Use package-show-package-list
21886 instead of deleted package--list-packages.
21887
e92f3bd3
SM
21888 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21889 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21890 (vc-annotate-mode-map): Bind it to RET.
21891
7031be6d
UR
218922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21893
21894 * progmodes/etags.el (next-file): Don't use set-buffer to change
21895 buffers (Bug#8478).
21896
4ef177aa
CY
218972011-04-24 Chong Yidong <cyd@stupidchicken.com>
21898
c8d173eb
CY
21899 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21900
4ef177aa
CY
21901 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21902 (apropos-accumulator): Doc fix.
21903 (apropos-function, apropos-macro, apropos-command)
21904 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21905 (apropos-plist): Add face property.
21906 (apropos-symbols-internal): Fix indentation.
21907 (apropos-print): Simplify help, and recognize apropos-multi-type.
21908 (apropos-print-doc): Use button-type-get to extract the button's
21909 face property. Fill docstring (Bug#8352).
21910
4ffd0d6b 219112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21912
21913 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21914
c6c32125 21915 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21916 (mpuz-mode-map): Use mapc.
c6c32125
JB
21917 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21918 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21919 Fix typos in docstrings.
21920
58d468b4
JB
21921 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21922 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21923
6470c3c6
JB
21924 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21925
4ffd0d6b 219262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21927
21928 * minibuffer.el (completion--do-completion): Avoid the "Next char
21929 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21930
3ad8bad0
CY
21931 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21932 mouse-2 into unread-command-events, it is interpreted correctly.
21933
71d73c9c 21934 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21935 (image-toggle-display): Doc fix.
71d73c9c 21936
841a1577 219372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21938
4ffd0d6b
GM
21939 * textmodes/page.el (what-page): Use line-number-at-pos to
21940 calculate line number (Bug#6825).
6e1dbaa9 21941
c2fb1b60
JB
219422011-04-22 Juanma Barranquero <lekktu@gmail.com>
21943
21944 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21945 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21946 Pass argument NO-DEFAULT to `find-tag-interactive'.
21947
e02f48d7
JB
219482011-04-22 Juanma Barranquero <lekktu@gmail.com>
21949
21950 Lexical-binding cleanup.
21951
21952 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21953 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21954 * progmodes/ada-prj.el (ada-prj-initialize-values)
21955 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21956 (ada-prj-show-value):
21957 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21958 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21959 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21960 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21961 * progmodes/bug-reference.el (bug-reference-push-button):
21962 * progmodes/fortran.el (fortran-line-length):
21963 * progmodes/glasses.el (glasses-change):
21964 * progmodes/octave-mod.el (octave-fill-paragraph):
21965 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21966 (python-pdbtrack-grub-for-buffer, python-sentinel):
21967 * progmodes/sql.el (sql-save-connection):
21968 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21969 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21970 Mark unused parameters.
21971
21972 * progmodes/compile.el (compilation--flush-directory-cache)
21973 (compilation--flush-parse, compile-internal): Mark unused parameters.
21974 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21975 (compilation-next-error-function): Remove unused variable `timestamp'.
21976
21977 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21978 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21979
21980 * progmodes/dcl-mode.el (dcl-end-of-command):
21981 Remove unused variable `start'.
21982 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21983 (dcl-option-value-basic, dcl-option-value-offset)
21984 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21985 Mark unused parameters.
21986 (dcl-save-local-variable): Remove unused variable `val'.
21987 (mode): Declare.
21988
21989 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21990 Mark unused parameters.
21991 (delphi-ignore-changes): Move before first use.
21992 (delphi-charset-token-at): Remove unused variable `start'.
21993 (delphi-else-start): Remove unused variable `if-count'.
21994 (delphi-comment-block-start, delphi-comment-block-end):
21995 Remove unused variable `kind'.
21996 (delphi-indent-line): Remove unused variable `new-point'.
21997
21998 * progmodes/ebrowse.el (ebrowse-files-list)
21999 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22000 Mark unused parameters. Don't quote `lambda'.
22001 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22002 Don't quote `lambda'.
22003 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22004 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22005 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22006 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22007 Use `ignore-errors'.
22008 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22009 (ebrowse-view/find-file-and-search-pattern)
22010 (ebrowse-view/find-member-declaration/definition):
22011 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22012 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22013 Rename parameter PREFIX-ARG to PREFIX.
22014 (ebrowse-tags-read-name): Remove unused variables `start' and
22015 `member-info'.
22016 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22017 to `tags-file'.
22018
22019 * progmodes/etags.el (local-find-tag-hook): Declare.
22020 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22021 Mark unused parameters.
22022
22023 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22024 (executable-interpret): Mark unused parameter.
22025
22026 * progmodes/flymake.el (flymake-process-sentinel)
22027 (flymake-after-change-function)
22028 (flymake-create-temp-with-folder-structure)
22029 (flymake-get-include-dirs-dot): Mark unused parameters.
22030 (flymake-safe-delete-directory): Remove unused variable `err'.
22031
22032 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22033 (speedbar-timer-fn, speedbar-line-text)
22034 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22035 (speedbar-center-buffer-smartly): Declare functions.
22036 (gdb-find-watch-expression): Remove unused variable `array'.
22037 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22038 (gdb-starting): Mark unused parameters.
22039 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22040 (gdb-table-string): Remove unused variable `res'.
22041 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22042 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22043 (gdb-display-buffer): Remove unused variable `cur-size'.
22044
22045 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22046 allow lexical-binding compilation.
22047 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22048 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22049 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22050 Mark unused parameters.
22051 (gud-gdb-marker-filter): Remove unused variable `match'.
22052 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22053 lambda expressions and funcall them, instead of using `fset'.
22054
22055 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22056 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22057
22058 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22059 variable `header-beg'; use `let'.
22060
22061 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22062 `restart', `last-sexp' and `at-do'.
22063
22064 * progmodes/js.el (js--debug): Mark unused parameter.
22065 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22066 (js--splice-into-items): Remove unused variable `item'.
22067 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22068
22069 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22070 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22071 (makefile-complete): Remove unused variable `try'.
22072 (makefile-fill-paragraph, makefile-match-function-end):
22073 Mark unused parameters.
22074
22075 * progmodes/octave-inf.el (inferior-octave-complete):
22076 Remove unused variable `proc'.
22077 (inferior-octave-output-digest): Mark unused parameter.
22078
22079 * progmodes/perl-mode.el (perl-calculate-indent):
22080 Remove unused variable `err'.
22081
22082 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22083 (prolog-indent-line): Mark unused parameters.
22084 (prolog-indent-line): Remove unused variable `beg'.
22085
22086 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22087 (reporter-dont-compact-list): Declare.
22088
22089 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22090 Remove unused variable `char'.
22091 (sh-debug): Mark unused parameter.
22092 (sh-get-indent-info): Remove unused variable `start'.
22093 (sh-calculate-indent): Remove unused variable `var'.
22094
22095 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22096 (simula-electric-keyword): Remove unused variable `null'.
22097 (simula-search-backward, simula-search-forward): Remove unused
22098 variables `begin' and `end'.
22099
22100 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22101 Remove unused variable `pos'.
22102 (vera-electric-tab, vera-comment-uncomment-region):
22103 Mark unused parameters.
22104 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22105
7ede3b65
CY
221062011-04-22 Chong Yidong <cyd@stupidchicken.com>
22107
22108 * emacs-lisp/package.el (package--builtins, package-alist)
22109 (package-load-descriptor, package-built-in-p, package-activate)
22110 (define-package, package-installed-p)
22111 (package-compute-transaction, package-buffer-info)
22112 (package--push): Doc fix. Distinguish more clearly between
22113 version strings and version lists.
22114
121656e9
JB
221152011-04-21 Juanma Barranquero <lekktu@gmail.com>
22116
22117 Lexical-binding cleanup.
22118
22119 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22120 (5x5-make-mutate-best):
22121 * play/fortune.el (fortune-in-buffer):
22122 * play/gomoku.el (gomoku-init-display):
22123 * play/solitaire.el (solitaire, solitaire-do-check):
22124 * play/tetris.el (tetris-default-update-speed-function):
22125 Mark unused parameters.
22126
22127 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22128 (bubbles--shift): Remove unused variable `char-org'.
22129 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22130 (bubbles--show-images): Remove unused variable `char'.
22131
22132 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22133 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22134 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22135 (decipher-analyze-buffer): Use ?\s.
22136 (decipher-make-checkpoint): Remove unused variable `mapping'.
22137
22138 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22139
22140 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22141 Remove unused variable `result'; use `let'.
22142
22143 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22144 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22145 (gametree-children-shown-p, gametree-compute-reduced-score):
22146 Use `ignore-errors'.
22147
22148 * play/handwrite.el (ps-lpr-switches): Declare.
22149 (handwrite): Remove unused variables `pmin' and `lastp'.
22150
22151 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22152
22153 * play/landmark.el (landmark-init-display)
22154 (landmark-update-naught-weights): Mark unused parameters.
22155 (landmark-y): Remove unused variable `noise'. Simplify.
22156 (landmark-human-plays): Remove unused variable `score'.
22157
22158 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22159 (mpuz-try-proposal): Remove unused variable `game'.
22160
22161 * play/zone.el (life-patterns): Declare.
22162
80f499c7
JB
221632011-04-20 Juanma Barranquero <lekktu@gmail.com>
22164
22165 * vc/vc.el (ediff-vc-internal): Declare function.
22166
024ff170
SM
221672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22168
c0a193ea
SM
22169 * shell.el: Use lexical-binding and std completion UI.
22170 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22171 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22172 comint-preoutput-filter-functions rather than on
22173 comint-output-filter-functions.
22174 (shell-command-completion, shell--command-completion-data)
22175 (shell-filename-completion, shell-environment-variable-completion)
22176 (shell-c-a-p-replace-by-expanded-directory): New functions.
22177 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22178 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22179 (shell-dynamic-complete-environment-variable): Use them.
22180 (shell-dynamic-complete-as-environment-variable)
22181 (shell-dynamic-complete-as-command): Remove.
22182 (shell-match-partial-variable): Match past point.
22183 * comint.el: Clean up use of completion-at-point-functions.
22184 (comint-completion-at-point): New function.
22185 (comint-mode): Use it completion-at-point-functions.
22186 (comint-dynamic-complete): Make it obsolete.
22187 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22188 (comint-c-a-p-replace-by-expanded-history): New function.
22189 (comint-dynamic-complete-functions)
22190 (comint-replace-by-expanded-history): Use it.
22191 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22192 termination strings. Try harder to avoid second try-completion.
22193 (completion-in-region-mode-map): Disable bindings that don't work yet.
22194
2dbaa080
SM
22195 * comint.el: Use lexical-binding. Require CL.
22196 (comint-dynamic-complete-functions): Use comint-filename-completion.
22197 (comint-completion-addsuffix): Tweak custom type.
22198 (comint-filename-completion, comint--common-suffix)
22199 (comint--common-quoted-suffix, comint--table-subvert)
22200 (comint--complete-file-name-data): New functions.
22201 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22202 (comint-dynamic-list-filename-completions): Use them.
22203 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22204
2dbaa080
SM
22205 * minibuffer.el (completion-in-region-mode):
22206 Keep completion-in-region-mode--predicate global.
22207 (completion-in-region--postch):
22208 Assume completion-in-region-mode--predicate is not null.
22209
c79a6f38
SM
22210 * progmodes/flymake.el (flymake-start-syntax-check-process):
22211 Obey `dir'. Simplify.
22212
024ff170
SM
22213 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22214 we're in VC after all.
22215
1c6c854e
CS
222162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22217
22218 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22219 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22220 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22221
bed7f140
SM
222222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22223
332e62ab
SM
22224 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22225 add sanity check.
22226
bed7f140
SM
22227 * obsolete/erc-hecomplete.el: Make obsolete.
22228 * obsolete/: Standardize obsolescence info in the header.
22229
f195c582
GM
222302011-04-20 Glenn Morris <rgm@gnu.org>
22231
22232 * calendar/solar.el (solar-horizontal-coordinates):
22233 Use the longitude argument rather than `calendar-longitude'.
22234 (solar-date-next-longitude): Remove unused locals.
22235
cb79b8c0
VJL
222362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22237
22238 * whitespace.el: New version 13.2.1.
22239
222402011-04-20 felix <EmacsWiki> (tiny change)
22241
d8e4b68b 22242 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22243 switching between major modes on a file.
22244
602ea69d
SM
222452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22246
22247 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22248 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22249 multi-line comments as well.
22250
06b60517
JB
222512011-04-19 Juanma Barranquero <lekktu@gmail.com>
22252
22253 Lexical-binding cleanup.
22254
22255 * arc-mode.el (archive-mode-revert):
22256 * cmuscheme.el (scheme-interactively-start-process):
22257 * custom.el (custom-initialize-delay):
22258 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22259 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22260 * emacs-lock.el (emacs-lock-clear-sentinel):
22261 * ezimage.el (defezimage):
22262 * follow.el (follow-avoid-tail-recenter):
22263 * fringe.el (set-fringe-mode-1):
22264 * generic-x.el (bat-generic-mode-compile):
22265 * help-mode.el (help-info-variable, help-do-xref)
22266 (help-mode-revert-buffer):
22267 * help.el (view-emacs-todo):
22268 * iswitchb.el (iswitchb-completion-help):
22269 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22270 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22271 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22272 * locate.el (locate-update):
22273 * longlines.el (longlines-encode-region)
22274 (longlines-after-change-function):
22275 * outline.el (outline-isearch-open-invisible):
22276 * ps-def.el (declare-function, charset-dimension, char-width)
22277 (encode-char):
22278 * ps-mule.el (ps-mule-plot-string):
22279 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22280 (recentf-edit-list-select, recentf-edit-list-validate)
22281 (recentf-open-files-action):
22282 * rect.el (delete-whitespace-rectangle-line)
22283 (rectangle-number-line-callback):
22284 * register.el (window-configuration-to-register)
22285 (frame-configuration-to-register):
22286 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22287 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22288 (xselect-convert-to-targets, xselect-convert-to-delete)
22289 (xselect-convert-to-filename, xselect-convert-to-charpos)
22290 (xselect-convert-to-lineno, xselect-convert-to-colno)
22291 (xselect-convert-to-os, xselect-convert-to-host)
22292 (xselect-convert-to-user, xselect-convert-to-class)
22293 (xselect-convert-to-name, xselect-convert-to-integer)
22294 (xselect-convert-to-atom, xselect-convert-to-identity):
22295 * subr.el (declare, ignore, process-kill-without-query)
22296 (text-clone-maintain):
22297 * terminal.el (te-get-char, te-tic-sentinel):
22298 * tool-bar.el (tool-bar-make-keymap):
22299 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22300 * type-break.el (type-break-mode, type-break-noninteractive-query):
22301 * view.el (View-back-to-mark):
22302 * wid-browse.el (widget-browse-action, widget-browse-widget)
22303 (widget-browse-widgets, widget-browse-sexp):
22304 * widget.el (define-widget-keywords):
22305 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22306 Mark unused parameters.
22307
22308 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22309 (align-areas): Remove unused variable `look'.
22310 (align-region): Remove unused variables `real-end' and `pos-list'.
22311
22312 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22313
22314 * bindings.el (mode-line-modified, mode-line-remote):
22315 Mark unused parameters.
22316 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22317
22318 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22319 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22320
22321 * comint.el (comint-history-isearch-pop-state)
22322 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22323 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22324 (comint-substitute-in-file-name): Doc fix.
22325
22326 * completion.el (cmpl-statistics-block): Mark unused parameter.
22327 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22328 (save-completions-to-file, load-completions-from-file):
22329 Remove unused local variable `e'.
22330
22331 * composite.el (compose-chars): Remove unused variable `len'.
22332 (lgstring-insert-glyph): Remove unused variable `g'.
22333 (compose-glyph-string): Remove unused variables `ascent',
22334 `descent', `lbearing' and `rbearing'.
22335 (compose-glyph-string-relative): Remove unused variables
22336 `lbearing', `rbearing' and `wadjust'.
22337 (compose-gstring-for-graphic): Remove unused variables `header',
22338 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22339 (compose-gstring-for-terminal): Remove unused variables `header'
22340 and `nchars'. Use `let', not `let*'.
22341
22342 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22343 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22344 (Custom-buffer-done, custom-buffer-create-internal)
22345 (custom-browse-visibility-action, custom-browse-group-tag-action)
22346 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22347 (widget-magic-mouse-down-action, custom-toggle-parent)
22348 (custom-add-parent-links, custom-toggle-hide-variable)
22349 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22350 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22351 (custom-face-menu-create, custom-variable-menu-create, get)
22352 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22353 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22354 (customize-apropos): Remove unused variable `tests'.
22355 (custom-group-value-create): Remove unused variable `hidden-p'.
22356 (sort-fold-case): Declare.
22357
22358 * cus-theme.el (custom-reset-standard-faces-list)
22359 (custom-reset-standard-variables-list): Declare.
22360 (customize-create-theme, custom-theme-revert, custom-theme-write)
22361 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22362 Mark unused parameters.
22363
22364 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22365
22366 * delim-col.el (delimit-columns-max): Move defvar before first use.
22367
22368 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22369 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22370
22371 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22372 (auto-insert): Declare.
22373 (desktop-restore-file-buffer): Rename desktop-* parameters;
22374 mark unused ones.
22375 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22376 (desktop-buffer): Rename desktop-* parameters.
22377
22378 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22379 (dframe-reposition-frame-xemacs, dframe-help-echo)
22380 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22381 Mark unused parameters.
22382
22383 * dired-aux.el (backup-extract-version-start, overwrite-query)
22384 (overwrite-backup-query, rename-regexp-query)
22385 (rename-non-directory-query): Declare.
22386 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22387 (dired-add-entry): Remove unused variable `orig-file-name'.
22388 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22389 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22390 `dired-copy-preserve-time' directly.
22391 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22392 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22393
22394 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22395 (dired-virtual-revert, dired-make-relative-symlink):
22396 Mark unused parameters.
22397 (manual-program): Declare.
22398 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22399 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22400 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22401
22402 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22403
22404 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22405
22406 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22407 Declare.
22408
22409 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22410
22411 * electric.el (Electric-command-loop): Rename parameter
22412 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22413
22414 * expand.el (expand-in-literal): Remove unused variable `here'.
22415
22416 * facemenu.el (facemenu-add-new-color):
22417 Remove unused variable `docstring'.
22418
22419 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22420 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22421 (face-attr-construct): Mark unused parameter. Doc fix.
22422 (read-color): Remove unused variable `hex-string'.
22423
22424 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22425 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22426 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22427 (display-buffer-other-frame): Remove unused variable `old-window'.
22428 (kill-buffer-hook): Declare.
22429 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22430 Mark unused parameters.
22431 (after-find-file): Pass 1 to `auto-save-mode', not t.
22432
22433 * files-x.el (auto-insert): Declare.
22434 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22435
22436 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22437 variable `buf'. Mark unused parameter.
06b60517
JB
22438 (find-lisp-insert-directory): Mark unused parameter.
22439
22440 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22441 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22442 (format-common-tail): Remove, unused.
22443 (format-deannotate-region): Remove unused variable `loc'.
22444 (format-annotate-region): Remove unused variable `p'.
22445 (format-annotate-single-property-change): Remove unused variables
22446 `default' and `tail'.
22447
22448 * forms.el (read-file-filter): Declare.
22449 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22450
22451 * frame.el (frame-creation-function-alist): Mark unused parameter.
22452 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22453
22454 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22455 Remove unused parameters.
22456 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22457 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22458
22459 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22460 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22461 (hfy-prepare-tag-map): Mark unused parameters.
22462 (htmlfontify-buffer): Use `called-interactively-p'.
22463
22464 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22465 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22466 (ibuffer-do-occur): Mark unused parameters.
22467 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22468 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22469
22470 * ibuffer.el: Don't quote `lambda'.
22471 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22472 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22473 Mark unused parameters.
22474
22475 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22476 (ido-completing-read): Mark unused parameters.
22477 (ido-copy-current-word): Mark unused parameters;
22478 remove unused variable `name'.
22479 (ido-sort-merged-list): Remove unused parameter `dirs'.
22480
22481 * ielm.el (ielm-input-sender): Mark unused parameter.
22482 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22483 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22484 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22485 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22486 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22487
22488 * image-dired.el (image-dired-display-thumbs): Remove unused
22489 variables `curr-file' and `count'.
22490 (image-dired-remove-tag): Remove unused variable `start'.
22491 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22492 variable `curr-file'
22493 (image-dired-rotate-original): Remove unused variable `temp-file'.
22494 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22495 Remove unused variable `file'.
22496 (image-dired-gallery-generate): Remove unused variable `curr'.
22497 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22498
22499 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22500
22501 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22502
22503 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22504
22505 * isearch.el (minibuffer-history-symbol): Declare.
22506 (isearch-edit-string): Remove unused variable `err'.
22507 (isearch-message-prefix, isearch-message-suffix):
22508 Mark unused parameters.
22509
22510 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22511
22512 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22513
22514 * makesum.el (double-column): Remove unused variable `cnt'.
22515
22516 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22517 (ido-ignore-item-temp-list): Declare.
22518
22519 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22520 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22521 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22522 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22523 `mouse-col-delta'.
22524
22525 * mouse-sel.el (mouse-extend-internal):
22526 Remove unused variable `orig-window-frame'.
22527
22528 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22529 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22530 Move declarations before first use.
22531 (pcomplete-opt): Mark unused parameters; doc fix.
22532
22533 * proced.el (proced-revert): Mark unused parameter.
22534 (proced-send-signal): Remove unused variable `err'.
22535
22536 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22537 Rename parameter PREFIX-ARG to ARG.
22538 (ps-basic-plot-string, ps-basic-plot-whitespace):
22539 Mark unused parameters.
22540
22541 * replace.el (replace-count): Define.
22542 (occur-revert-function): Mark unused parameters.
22543 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22544 (isearch-case-fold-search, isearch-string): Declare.
22545 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22546 bind `case-fold-search'. Remove unused variables `beg' and `end',
22547 and simplify.
22548 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22549 COUNT and bind `replace-count'.
22550 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22551 to COUNT.
22552
22553 * savehist.el (print-readably, print-string-length): Declare.
22554
22555 * shadowfile.el (shadow-expand-cluster-in-file-name):
22556 Remove unused variable `cluster'.
22557 (shadow-copy-file): Remove unused variable `i'.
22558 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22559 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22560 (shadow-define-literal-group, shadow-define-regexp-group)
22561 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22562
22563 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22564 (shell): Use `called-interactively-p'.
22565 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22566
22567 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22568 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22569 (delete-backward-char): Remove unused variable `ocol'.
22570 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22571 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22572 (event-apply-hyper-modifier, event-apply-shift-modifier)
22573 (event-apply-control-modifier, event-apply-meta-modifier):
22574 Mark unused parameters.
22575 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22576 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22577
22578 * speedbar.el (speedbar-ignored-directory-expressions)
22579 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22580 (speedbar-find-file, speedbar-dir-follow)
22581 (speedbar-directory-buttons-follow, speedbar-tag-find)
22582 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22583 (speedbar-buffers-line-directory, speedbar-buffer-click):
22584 Mark unused parameters.
22585 (speedbar-tag-file): Remove unused variable `mode'.
22586 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22587
22588 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22589
22590 * talk.el (talk): Remove unused variable `display'.
22591
22592 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22593 (tar-write-region-annotate): Mark unused parameter.
22594
22595 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22596 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22597 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22598 warning by another.
22599
22600 * time-stamp.el (time-stamp-string-preprocess):
22601 Remove unused variable `require-padding'.
22602
22603 * tree-widget.el (widget-glyph-enable): Declare.
22604 (tree-widget-action): Mark unused parameter.
22605
22606 * w32-fns.el (x-get-selection): Mark unused parameter.
22607 (autoload-make-program, generated-autoload-file): Declare.
22608
22609 * wdired.el (wdired-revert): Mark unused parameters.
22610 (wdired-xcase-word): Remove unused variable `err'.
22611
22612 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22613 (whitespace-help-scroll): Remove unused variable `data-help'.
22614
22615 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22616 (widget-image-insert, widget-after-change, default)
22617 (widget-default-format-handler, widget-default-notify)
22618 (widget-default-prompt-value, widget-info-link-action)
22619 (widget-url-link-action, widget-function-link-action)
22620 (widget-variable-link-action, widget-file-link-action)
22621 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22622 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22623 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22624 (widget-insert-button-action, widget-delete-button-action, visibility)
22625 (widget-documentation-link-action, widget-documentation-string-action)
22626 (widget-const-prompt-value, widget-regexp-match, symbol)
22627 (widget-coding-system-prompt-value)
22628 (widget-key-sequence-value-to-external, sexp)
22629 (widget-sexp-value-to-internal, character, vector, cons)
22630 (widget-choice-prompt-value, widget-boolean-prompt-value)
22631 (widget-color--choose-action): Mark unused parameters.
22632 (widget-item-match-inline, widget-choice-match-inline)
22633 (widget-checklist-match, widget-checklist-match-inline)
22634 (widget-group-match): Rename parameter VALUES to VALS.
22635 (widget-field-value-set): Remove unused variable `size'.
22636 (widget-color-action): Remove unused variables `value' and `start'.
22637
22638 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22639 variable `dir'. Doc fix.
06b60517
JB
22640 (windmove-find-other-window): Don't pass it.
22641
22642 * window.el (count-windows): Mark unused parameter.
22643 (bw-adjust-window): Remove unused variable `err'.
22644
22645 * woman.el (woman-file-name): Remove unused variable `default'.
22646 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22647 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22648 (global-font-lock-mode): Declare.
22649 (woman-decode-region): Mark unused parameter.
22650 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22651
22652 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22653 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22654 (x-dnd-handle-moz-url): Remove unused variable `title'.
22655 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22656
22657 * xml.el (xml-parse-tag, xml-parse-attlist):
22658 Remove unused variable `pos'.
22659
bc4f7f3d
GM
226602011-04-19 Glenn Morris <rgm@gnu.org>
22661
22662 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22663 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22664 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22665 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22666 * calendar/cal-html.el (cal-html-insert-minical):
22667 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22668 (calendar-mark-date-pattern):
22669 Prefix "unused" locals.
22670
22671 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22672 optional argument `style'.
22673
22674 * calendar/appt.el (appt-make-list):
22675 * calendar/cal-china.el (calendar-chinese-date-string):
22676 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22677 (diary-hebrew-yahrzeit):
22678 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22679 * calendar/calendar.el (calendar-generate-window):
22680 * calendar/time-date.el (time-to-days):
22681 Remove unused local variables.
22682
16a43933
CY
226832011-04-18 Chong Yidong <cyd@stupidchicken.com>
22684
22685 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22686 glyphless-char-display table.
22687 (tabulated-list-glyphless-char-display): New var.
22688
7eed1860
SS
226892011-04-18 Sam Steingold <sds@gnu.org>
22690
22691 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22692 to acknowledgments.
22693
4d2d1ccd
GM
226942011-04-17 Glenn Morris <rgm@gnu.org>
22695
22696 * calendar/diary-lib.el (diary-sexp-entry):
22697 * calendar/holidays.el (holiday-sexp):
22698 Set debug-on-error rather than the removed stack-trace-on-error.
22699
239da61d
GM
227002011-04-16 Glenn Morris <rgm@gnu.org>
22701
22702 * progmodes/f90.el: Use lexical-binding.
22703 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22704
8b05752a
SM
227052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22706
daca8ba5
SM
22707 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22708 (mail-mode): Setup mailalias completion here instead.
22709 * mail/mailalias.el: Use lexical-binding.
22710 (pattern, mailalias-done): Declare dynamic.
22711 (mail-completion-at-point-function): New function, from mail-complete.
22712 (mail-complete): Use it.
22713 (mail-completion-expand): New function.
22714 (mail-get-names): Use it.
22715 (mail-directory, mail-directory-process, mail-directory-stream):
22716 Don't use `pattern' for lexically bound arg.
22717
6f542485
SM
22718 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22719
037e7c3f
SM
22720 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22721 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22722 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22723
8b05752a
SM
22724 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22725 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22726 (byte-interactive-p): Define them again, for use when inlining
22727 old code.
22728
49093f60
JB
227292011-04-15 Juanma Barranquero <lekktu@gmail.com>
22730
22731 * loadup.el: Use `string-to-number', not `string-to-int'.
22732
b5b8e7de
SM
227332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22734
22735 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22736 gud-gdb-complete-command.
22737 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22738 (gud-gdb-completion-at-point): New function.
22739 (gud-gdb-completions): Remove.
22740
f42efeb5
MA
227412011-04-14 Michael Albinus <michael.albinus@gmx.de>
22742
49093f60
JB
22743 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22744 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22745 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22746 whether `executable-find' is bound.
f42efeb5
MA
22747
22748 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22749
e240cc21
SM
227502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22751
22752 * minibuffer.el (completion-in-region-mode-predicate)
22753 (completion-in-region-mode--predicate): New vars.
22754 (completion-in-region, completion-in-region--postch)
22755 (completion-in-region-mode): Use them.
22756 (completion--capf-wrapper): Also return the hook function.
22757 (completion-at-point, completion-help-at-point):
22758 Adjust and provide a predicate.
c2bd2ab0
SM
22759
22760 Preserve arg names for advice of subr and lexical functions (bug#8457).
22761 * help-fns.el (help-function-arglist): Consolidate the subr and
22762 new-byte-code cases. Add argument `preserve-names' to extract names
22763 from the docstring when needed.
22764 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22765 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22766 (ad-arglist): Use help-function-arglist's new arg.
22767 (ad-definition-type): Use cond.
22768
c183f693
JB
227692011-04-13 Juanma Barranquero <lekktu@gmail.com>
22770
06641a47
JB
22771 * autorevert.el (auto-revert-handler):
22772 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22773 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22774 Don't quote lambda.
22775
c183f693
JB
22776 * image-mode.el (image-transform-set-scale):
22777 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22778
1e3b6001
G
227792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22780
22781 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22782 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22783 Upgrades via gnutls-cli are too slow to be done opportunistically.
22784
2d6af8dd
JB
227852011-04-12 Juanma Barranquero <lekktu@gmail.com>
22786
22787 * dframe.el (dframe-current-frame): Remove spurious quote.
22788
c0749a51
GM
227892011-04-12 Glenn Morris <rgm@gnu.org>
22790
088d0d61
GM
22791 * calendar/cal-tex.el (cal-tex-end-document):
22792 Try to automatically use latin1 input if needed.
22793
c0749a51
GM
22794 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22795 Don't try to cons a mark onto an empty element.
22796
5c90fde0
LL
227972011-04-11 Leo Liu <sdl.web@gmail.com>
22798
22799 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22800 buffers.
22801 (ido-kill-buffer-at-head): Support killing virtual buffers.
22802
369e974d
CY
228032011-04-10 Chong Yidong <cyd@stupidchicken.com>
22804
22805 * minibuffer.el (completion-show-inline-help): New var.
22806 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22807 (minibuffer-force-complete, minibuffer-complete-word):
22808 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22809
22810 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22811 to avoid interference from inline help (Bug#5849).
22812
37f1c930
LL
228132011-04-10 Leo Liu <sdl.web@gmail.com>
22814
099c39a4
JB
22815 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22816 Fix typo.
37f1c930 22817
a32d4040
CY
228182011-04-09 Chong Yidong <cyd@stupidchicken.com>
22819
22820 * image-mode.el (image-toggle-display-image): Signal an error if
22821 not in Image mode.
22822 (image-transform-mode, image-transform-resize)
22823 (image-transform-set-rotation): Doc fix.
daca8ba5 22824 (image-transform-set-resize): Delete.
a32d4040
CY
22825 (image-transform-set-scale, image-transform-fit-to-height)
22826 (image-transform-fit-to-width): Handle image-toggle-display-image
22827 and image-transform-resize directly.
22828
099c39a4 228292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22830
22831 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22832 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22833 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22834 (doc-view-mode-map): Add bindings for the new functions.
22835
099c39a4 228362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22837
4d61f28d 22838 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22839 Fix typo in docstring.
22840
3726838a
EZ
228412011-04-08 Eli Zaretskii <eliz@gnu.org>
22842
04f33f1e
EZ
22843 * files.el (file-size-human-readable): Produce one digit after
22844 decimal, like "ls -lh" does.
22845
22846 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22847 the file size representation.
22848
3726838a
EZ
22849 * simple.el (list-processes): If async subprocesses are not
22850 available, error out with a clear error message.
22851
cbb59342
CY
228522011-04-08 Chong Yidong <cyd@stupidchicken.com>
22853
22854 * help.el (help-form-show): New function, to be called from C.
22855 Put help-form output in a buffer named differently than *Help*.
22856
e3971c44
EZ
228572011-04-08 Eli Zaretskii <eliz@gnu.org>
22858
22859 * files.el (file-size-human-readable): New function.
22860
22861 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22862 computing the representation inline. Don't require `cl'.
22863
12544bbe
GM
228642011-04-08 Glenn Morris <rgm@gnu.org>
22865
a1de6c6a
GM
22866 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22867
3c4671f4
GM
22868 * net/browse-url.el (browse-url-firefox):
22869 Test system-type, not system-configuration.
22870
b605679c
GM
22871 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22872 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22873 Use log-edit-empty-buffer-p. (Bug#7598)
22874
56442f0c
GM
22875 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22876 (rlogin-mode-map): Initialize in the defvar.
22877 (rlogin): Use ignore-errors.
22878
12544bbe
GM
22879 * replace.el (occur-mode-map): Some fixes for menu items.
22880
eb237b0f
AH
228812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22882
22883 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22884
7d668f2c
CY
228852011-04-06 Chong Yidong <cyd@stupidchicken.com>
22886
e67a13ab
CY
22887 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22888 issuing unused warnings.
22889
22890 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22891 macro directly.
22892
7d668f2c
CY
22893 * simple.el: Lisp reimplement of list-processes. Based on an
22894 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22895 (process-menu-mode): New major mode.
22896 (list-processes--refresh, list-processes):
22897 (process-menu-visit-buffer): New functions.
22898
22899 * files.el (save-buffers-kill-emacs): Don't assume any return
22900 value of list-processes, which is undocumented anyway.
22901
a83ec3c9
CY
229022011-04-06 Chong Yidong <cyd@stupidchicken.com>
22903
22904 * emacs-lisp/tabulated-list.el: New file.
22905
e91a96fe
CY
22906 * emacs-lisp/package.el: Use Tabulated List mode.
22907 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22908 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22909 table format using Tabulated List mode variables.
22910 (package--push): New macro, replacing package-list-maybe-add.
22911 (package-menu--generate): Use package--push. Renamed from
22912 package--generate-package-list.
22913 (package-menu-refresh, list-packages): Use it.
daca8ba5 22914 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22915 Return insertion data instead of inserting it directly.
099c39a4
JB
22916 (package-menu-describe-package, package-menu-execute):
22917 Use tabulated-list-get-id.
e91a96fe
CY
22918 (package-menu-mark-delete, package-menu-mark-install)
22919 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22920 (package-menu-mark-obsolete-for-deletion):
22921 Use tabulated-list-put-tag.
e91a96fe
CY
22922 (package--list-packages, package-menu-revert)
22923 (package-menu-get-package, package-menu-get-version)
22924 (package-menu-sort-by-column): Functions deleted.
22925 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22926 (package-menu--status-predicate, package-menu--version-predicate)
22927 (package-menu--name-predicate)
22928 (package-menu--description-predicate): Handle arguments in the
22929 Tabulated List format.
22930 (package-list-packages-no-fetch): Call list-packages.
22931
3e214b50
JB
229322011-04-06 Juanma Barranquero <lekktu@gmail.com>
22933
22934 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22935 (after-find-file): Don't bind it.
3e214b50
JB
22936 (revert-buffer-in-progress-p): New variable.
22937 (revert-buffer): Bind it.
22938 Pass nil for `after-find-file-from-revert-buffer'.
22939
22940 * saveplace.el (save-place-find-file-hook): Use new variable
22941 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22942
3f0f1700
GM
229432011-04-06 Glenn Morris <rgm@gnu.org>
22944
c0274801
GM
22945 * Makefile.in (AUTOGEN_VCS): New variable.
22946 (autoloads): Use $AUTOGEN_VCS.
22947
3f0f1700
GM
22948 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22949 * calendar/calendar.el (calendar-mode-map):
22950 Check for toolkit scroll bars. (Bug#8305)
22951
41ea9e48
CY
229522011-04-05 Chong Yidong <cyd@stupidchicken.com>
22953
22954 * minibuffer.el (completion-in-region--postch)
22955 (completion-in-region-mode): Remove unnecessary messages.
22956
6194c800
JB
229572011-04-05 Juanma Barranquero <lekktu@gmail.com>
22958
33256f14
JB
22959 * font-lock.el (font-lock-refresh-defaults):
22960 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22961 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22962
6194c800
JB
22963 * info.el (Info-directory-list, Info-read-node-name-2)
22964 (Info-split-parameter-string): Doc fixes.
22965 (Info-virtual-nodes): Reflow docstring.
22966 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22967 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22968 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22969 Fix typos in docstrings.
22970 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22971 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22972 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22973 (Info-restore-desktop-buffer): Mark unused parameters.
22974 (Info-directory-find-file, Info-directory-find-node)
22975 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22976 (Info-virtual-index-find-node, Info-apropos-find-file)
22977 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22978 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22979 (Info-virtual-index): Remove unused local variable `nodename'.
22980
b87a8200 229812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22982
b87a8200
DD
22983 * net/rcirc.el: Update my e-mail address.
22984 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22985
3b2ff876
CY
229862011-04-05 Chong Yidong <cyd@stupidchicken.com>
22987
22988 * startup.el (command-line): Save the cursor's theme-face
22989 directly, instead of using face-override-spec.
22990
22991 * custom.el (load-theme): Minor optimization in assigning faces.
22992
8d17e7ca
JB
229932011-04-04 Juanma Barranquero <lekktu@gmail.com>
22994
22995 * help-fns.el (describe-variable): Complete all variables having
22996 documentation, including keywords.
22997 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22998
2fbc1934
JB
229992011-04-04 Juanma Barranquero <lekktu@gmail.com>
23000
23001 Convert to lexical-binding.
23002
23003 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23004 (bs--get-marked-string, bs--get-modified-string)
23005 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23006 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23007 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23008
23009 * ehelp.el (electric-help-execute-extended)
23010 (electric-help-ctrl-x-prefix):
23011 * hexl.el (hexl-revert-buffer-function):
23012 * linum.el (linum-after-change, linum-after-scroll):
23013 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23014
23015 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23016
74f50695
DU
230172011-04-04 Daiki Ueno <ueno@unixuser.org>
23018
23019 * epa-dired.el:
23020 * epa-mail.el:
23021 * epa-hook.el:
23022 * epa-file.el:
23023 * epa.el:
23024 * epg.el: Use lexical binding.
23025
c11325f7
CY
230262011-04-03 Chong Yidong <cyd@stupidchicken.com>
23027
0d9e9a12
CY
23028 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23029
c11325f7 23030 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23031 dictionary case for flyspell-mark-duplications-exceptions.
23032 Use regexp matching for languages.
c11325f7
CY
23033 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23034 default dictionary (Bug#7926).
23035
da91b5f2
CY
230362011-04-02 Chong Yidong <cyd@stupidchicken.com>
23037
099c39a4
JB
23038 * emacs-lisp/package.el (package--with-work-buffer):
23039 Recognize https URLs.
da91b5f2 23040
099c39a4
JB
23041 * net/network-stream.el: Move from gnus/proto-stream.el.
23042 Change prefix to network-stream throughout.
da91b5f2
CY
23043 (open-protocol-stream): Merge into open-network-stream, leaving
23044 open-protocol-stream as an alias. Handle nil BUFFER args.
23045
23046 * subr.el (open-network-stream): Move to net/network-stream.el.
23047
afa8e9f6
GM
230482011-04-02 Glenn Morris <rgm@gnu.org>
23049
1d2e369d
GM
23050 * find-dired.el (find-exec-terminator): New option.
23051 (find-ls-option): Test for -ls support.
23052 (find-ls-subdir-switches): Test for -b in find-ls-option.
23053 (find-dired, find-grep-dired): Doc fixes.
23054 (find-dired): Use find-exec-terminator.
23055
8abb7da8 23056 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23057 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23058 (find-name-arg): Remove purecopy.
8abb7da8 23059
f3ca7378
GM
23060 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23061 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23062 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23063 accordingly. Don't add the null-device if not needed.
23064
afa8e9f6
GM
23065 * files.el (save-some-buffers): Doc fix.
23066
35eae264
EZ
230672011-04-02 Eli Zaretskii <eliz@gnu.org>
23068
23069 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23070
26b51db5
JB
230712011-04-01 Juanma Barranquero <lekktu@gmail.com>
23072
23073 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23074 Use `dolist' rather than `mapcar'.
23075
7200d79c
SM
230762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23077
03408648 23078 Add lexical binding.
7200d79c 23079
03408648
SM
23080 * subr.el (apply-partially): Use new closures rather than CL.
23081 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23082 (dolist, dotimes): Use slightly different expansion for lexical code.
23083 (functionp): Move to C.
23084 (letrec): New macro.
23085 (with-wrapper-hook): Use it and apply-partially instead of CL.
23086 (eval-after-load): Preserve lexical-binding.
23087 (save-window-excursion, with-output-to-temp-buffer): Turn them
23088 into macros.
7200d79c 23089
03408648
SM
23090 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23091
23092 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23093 than the arglist.
23094 (help-add-fundoc-usage): Don't add `Not documented'.
23095 (help-function-arglist): Handle closures, subroutines, and new
23096 byte-code-functions.
23097 (help-make-usage): Remove leading underscores.
23098 (describe-function-1): Handle closures.
23099 (describe-variable): Use special-variable-p for completion.
23100
23101 * files.el (lexical-binding): Declare safe.
f488fb65 23102
03408648
SM
23103 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23104 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23105 (pcase): Add `let' pattern.
23106 Change memoization so it actually works.
23107 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23108 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23109 <let>: New case.
f488fb65 23110
03408648
SM
23111 * emacs-lisp/macroexp.el: Use lexical binding.
23112 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23113 Don't convert ' to #' without checking that it's indeed quoting
23114 a lambda.
23115
23116 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23117 Use eval-sexp-add-defvars.
03408648
SM
23118 (eval-sexp-add-defvars): New fun.
23119
23120 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23121
23122 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23123 Don't autoload.
23124 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23125 than the internal `byte-compile-lambda'.
23126 (defmethod): Don't hide code under quotes.
23127 (eieio-defmethod): New `code' argument.
23128
23129 * emacs-lisp/eieio-comp.el: Remove.
23130
23131 * emacs-lisp/edebug.el (edebug-eval-defun)
23132 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23133 (edebug-toggle): Avoid `eval'.
23134
23135 * emacs-lisp/disass.el (disassemble-internal): Handle new
23136 `closure' objects.
23137 (disassemble-1): Handle new byte codes.
23138
23139 * emacs-lisp/cl.el (pushnew): Silence warning.
23140
23141 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23142 (cl-byte-compile-throw): Remove.
23143 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23144
23145 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23146 closures.
23147
23148 * emacs-lisp/cconv.el: New file.
23149
23150 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23151 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23152 (byte-compile-initial-macro-environment):
23153 Handle declare-function here.
23154 (byte-compile--lexical-environment): New var.
23155 (byte-stack-ref, byte-stack-set, byte-discardN)
23156 (byte-discardN-preserve-tos): New lap codes.
23157 (byte-interactive-p): Don't use any more.
23158 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23159 New macros.
23160 (byte-compile-lapcode): Use them and handle new lap codes.
23161 (byte-compile-obsolete): Remove.
23162 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23163 (byte-compile-arglist-warn): Check late def of inlinable funs.
23164 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23165 since they should have been expanded by now.
23166 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23167 (byte-compile-from-buffer): Remove unused second arg.
23168 (byte-compile-preprocess): New function.
23169 (byte-compile-toplevel-file-form): New function to distinguish
23170 file-form calls from outside from file-form calls from hunk-handlers.
23171 (byte-compile-file-form): Simplify.
23172 (byte-compile-file-form-defsubst): Remove.
23173 (byte-compile-file-form-defmumble): Simplify now that
23174 byte-compile-lambda always returns a byte-code-function.
23175 (byte-compile): Preprocess.
23176 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23177 Remove, not used any more.
23178 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23179 (byte-compile-make-args-desc): New funs.
23180 (byte-compile-lambda): Handle lexical functions. Always return
23181 a byte-code-function.
23182 (byte-compile-reserved-constants): New var, to make up room for
23183 closed-over variables.
23184 (byte-compile-constants-vector): Obey it.
23185 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23186 (byte-compile-macroexpand-declare-function): New function.
23187 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23188 byte-code-functions.
23189 (byte-compile-form): Check obsolescence here.
23190 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23191 (byte-compile-variable-ref): Remove.
23192 (byte-compile-dynamic-variable-op): New fun.
23193 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23194 (byte-compile-variable-set): New funs.
23195 (byte-compile-discard): Add 2 args.
23196 (byte-compile-stack-ref, byte-compile-stack-set)
23197 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23198 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23199 macroexpand-all instead.
23200 (byte-compile-quote-form): Remove.
23201 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23202 (byte-compile-bind, byte-compile-unbind): New funs.
23203 (byte-compile-let): Handle let* and lexical binding.
23204 (byte-compile-let*): Remove.
23205 (byte-compile-catch, byte-compile-unwind-protect)
23206 (byte-compile-track-mouse, byte-compile-condition-case):
23207 Handle a new :fun-body form, used for lexical scoping.
23208 (byte-compile-save-window-excursion)
23209 (byte-compile-with-output-to-temp-buffer): Remove.
23210 (byte-compile-defun): Simplify.
23211 (byte-compile-stack-adjustment): New fun.
23212 (byte-compile-out): Use it.
23213 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23214
23215 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23216 handler any more.
23217
23218 * emacs-lisp/byte-opt.el: Use lexical binding.
23219 (byte-inline-lapcode): Remove (to bytecomp).
23220 (byte-compile-inline-expand): Pay attention to inlining to/from
23221 lexically bound code.
23222 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23223 any more.
23224 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23225 any more and don't call compiler-macros.
23226 (byte-compile-splice-in-already-compiled-code): Remove.
23227 (byte-code): Don't inline any more.
23228 (disassemble-offset): Receive `bytes' as argument rather than via
23229 dynamic scoping.
23230 (byte-compile-tag-number): Declare before first use.
23231 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23232 `return' even if make-spliceable.
23233 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23234 obsolete interactive-p.
23235 (byte-optimize-lapcode): Optimize new lap-codes.
23236 Don't trip up on new form of `byte-constant' lap code.
23237
23238 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23239
23240 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23241
23242 * custom.el (custom-initialize-default, custom-declare-variable):
23243 Use `defvar'.
23244
23245 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23246 New variables.
23247 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23248 (COMPILE_FIRST): Add macroexp and cconv.
23249 * makefile.w32-in: Mirror changes in Makefile.in.
23250
23251 * vc/cvs-status.el:
23252 * vc/diff-mode.el:
23253 * vc/log-edit.el:
23254 * vc/log-view.el:
23255 * vc/smerge-mode.el:
23256 * textmodes/bibtex-style.el:
090bd7cb 23257 * textmodes/css-mode.el:
03408648
SM
23258 * startup.el:
23259 * uniquify.el:
da91b5f2
CY
23260 * minibuffer.el:
23261 * newcomment.el:
23262 * reveal.el:
23263 * server.el:
23264 * mpc.el:
23265 * emacs-lisp/smie.el:
23266 * doc-view.el:
23267 * dired.el:
03408648
SM
23268 * abbrev.el: Use lexical binding.
23269
0f0c1f27
EZ
232702011-04-01 Eli Zaretskii <eliz@gnu.org>
23271
23272 * info.el (info-display-manual): New function.
23273
c82b2579
SM
232742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23275
23276 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23277
221ddf68
TH
232782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23279
23280 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23281 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23282
cba6e77e
GM
232832011-03-31 Glenn Morris <rgm@gnu.org>
23284
e040639f
GM
23285 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23286
cba6e77e
GM
23287 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23288
6d0f1c9e
CS
232892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23290
23291 * progmodes/python.el (python-default-interpreter)
23292 (python-python-command-args, python-jython-command-args)
23293 (python-which-shell, python-which-args, python-which-bufname)
23294 (python-file-queue, python-comint-output-filter-function)
23295 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23296 variables and functions.
23297
3e2d70fd
SM
232982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23299
23300 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23301 (completion-in-region-mode): New minor mode.
23302 (completion-in-region): Use it.
23303 (completion-in-region--data, completion-in-region-mode-map): New vars.
23304 (completion-in-region--postch): New function.
23305 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23306 New vars.
23307 (completion--capf-wrapper): New function.
23308 (completion-at-point): Use it to track well-behavedness of
23309 hook functions.
23310 (completion-help-at-point): New command.
23311
f3e4086c
JM
233122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23313
23314 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23315 syntax class to search for whitespace on a single line
23316 (Message-ID: <4D938140.4030905@redhat.com>).
23317
eb7ffc14
LL
233182011-03-30 Leo Liu <sdl.web@gmail.com>
23319
23320 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23321 New commands.
23322 (edit-abbrevs-map): Bind them here.
23323 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23324
d806ab68
KM
233252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23326
23327 * allout.el (allout-hide-by-annotation, allout-flag-region):
23328 Reduce possibility of overlay leakage by making them volatile.
23329
23330 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23331 hash is not shared between buffers. Mode initialization is
23332 responsible for giving it a useful starting value.
23333 (allout-item-span): Reduce possibility of overlay leakage by
23334 making them volatile.
23335 (allout-widgets-count-buttons-in-region): Add diagnostic function
23336 for tracking down button overlay leaks.
23337
ea622834
LL
233382011-03-29 Leo Liu <sdl.web@gmail.com>
23339
23340 * ido.el (ido-read-internal): Use the default history var
23341 minibuffer-history if no HISTORY is specified.
23342
b62f8267
G
233432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23344
03408648
SM
23345 * net/imap.el (imap-shell-open, imap-process-connection-type):
23346 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23347 Kerberos, SSL, other subprocesses.
23348
947b6566
LL
233492011-03-28 Leo Liu <sdl.web@gmail.com>
23350
23351 * abbrev.el (abbrev-table-empty-p): New function.
23352 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23353 nonempty ones. (Bug#5937)
23354
5ffb62aa
JD
233552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23356
23357 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23358
7a097943
LL
233592011-03-27 Leo Liu <sdl.web@gmail.com>
23360
23361 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23362 for foreground and background colors.
23363 (ansi-color-make-color-map): Adapt.
23364
c5b40130
LL
233652011-03-25 Leo Liu <sdl.web@gmail.com>
23366
1f48f7d2
LL
23367 * midnight.el (midnight-time-float): Remove. Note it calculates
23368 the microsecond component incorrectly and seconds-to-time does the
23369 same job.
625897ec 23370 Remove redundant (require 'timer).
1f48f7d2 23371
c5b40130
LL
23372 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23373 (ido-completions): Remove unused arguments. (Bug#8329)
23374
d86d2721
SM
233752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23376
23377 * minibuffer.el (completion--flush-all-sorted-completions):
23378 Remove itself from hook.
23379 (completion-at-point): Let the functions perform the completion
23380 immediately and return nil or t.
23381 * comint.el (comint-dynamic-complete-functions): Now identical to
23382 completion-at-point-functions.
23383 (comint-dynamic-list-input-ring): Remove unused var `index'.
23384 (comint--match-partial-filename, comint--unquote&expand-filename):
23385 New funs, split from comint-match-partial-filename.
23386 (comint-dynamic-complete): Use completion-at-point.
23387 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23388
e8974c48
DA
233892011-03-24 Drew Adams <drew.adams@oracle.com>
23390
23391 * thingatpt.el: Support `defun'.
23392
def71b5e
LL
233932011-03-23 Leo Liu <sdl.web@gmail.com>
23394
cb5af48e
LL
23395 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23396
def71b5e
LL
23397 * help-mode.el (help-mode-finish): Tweak regexp.
23398
927c53e7
GM
233992011-03-23 Glenn Morris <rgm@gnu.org>
23400
18d05bed
GM
23401 * eshell/esh-opt.el (eshell-eval-using-options):
23402 Do not bind unused local variable `eshell-option-stub'.
23403
927c53e7
GM
23404 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23405
9d0da923
JB
234062011-03-22 Juanma Barranquero <lekktu@gmail.com>
23407
23408 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23409 keymap variable in `with-no-warnings' to avoid a warning when the
23410 keymap has been already `defconst'ed.
23411
4b978a67
LL
234122011-03-22 Leo Liu <sdl.web@gmail.com>
23413
23414 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23415 encode all chars in abbrevs; otherwise use emacs-mule or
23416 utf-8-emacs. (Bug#8308)
23417
5fd62452
JB
234182011-03-22 Juanma Barranquero <lekktu@gmail.com>
23419
0b1596c6
JB
23420 * simple.el (backward-delete-char-untabify):
23421 Avoid warning about using `delete-backward-char'.
23422
5fd62452
JB
23423 * image.el (image-type-file-name-regexps): Make it variable.
23424 `imagemagick-register-types' modifies it, and the user may want
23425 to add new extensions for known image types.
23426 (imagemagick-register-types): Throw error if not using ImageMagick.
23427
0b4e93f1
LL
234282011-03-22 Leo Liu <sdl.web@gmail.com>
23429
23430 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23431 located before rcirc-prompt-end-marker.
23432 (rcirc-complete): Error if point is not after rcirc prompt.
23433 Handle the case when table is nil.
9882e214 23434 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23435
fccee4ab
CY
234362011-03-22 Chong Yidong <cyd@stupidchicken.com>
23437
23438 * custom.el (custom--inhibit-theme-enable): Make it affect only
23439 custom-theme-set-variables and custom-theme-set-faces.
23440 (provide-theme): Ignore custom--inhibit-theme-enable.
23441 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23442 (custom-enabling-themes): Delete variable.
d86d2721
SM
23443 (enable-theme): Accept only loaded themes as arguments.
23444 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23445 (custom-enabled-themes): Forbid themes from setting this.
23446 Eliminate use of custom-enabling-themes.
23447 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23448
af896da6
LL
234492011-03-21 Leo Liu <sdl.web@gmail.com>
23450
23451 * ido.el (ido-read-internal): Add ido-selected to history instead
23452 of user input.
23453
78f64af0
SM
234542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23455
23456 * subr.el (deferred-action-list, deferred-action-function):
23457 Mark obsolete.
23458
b16ac1ec
LL
234592011-03-21 Leo Liu <sdl.web@gmail.com>
23460
810f7698
LL
23461 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23462 change on 2011-02-13 (bug#8309).
23463
b16ac1ec
LL
23464 * minibuffer.el (read-file-name-function): Change default value.
23465 (read-file-name--defaults): Rename from read-file-name-defaults.
23466 (read-file-name-default): Rename from read-file-name.
23467 (read-file-name): Call read-file-name-function.
23468
4e05e67e
GM
234692011-03-21 Glenn Morris <rgm@gnu.org>
23470
23471 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23472 Doc fixes.
23473
4359915b
CY
234742011-03-21 Chong Yidong <cyd@stupidchicken.com>
23475
23476 * cus-theme.el: Add missing provide statement.
23477 (customize-create-theme): Extract theme value correctly.
23478 (custom-theme-visit-theme): Autoload.
23479 (customize-create-theme): Prompt before inserting default faces.
23480
1fe275ee
JB
234812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23482
23483 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23484 units and musical notes.
23485
cd394be1 234862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23487
23488 * ido.el (ido-read-internal): Use completing-read-default.
23489 (ido-completing-read): Fix compatibility with completing-read.
23490
7d476bde
CO
234912011-03-20 Christian Ohler <ohler@gnu.org>
23492
23493 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23494 (ert-delete-all-tests): Use `called-interactively-p' rather than
23495 `interactive-p'.
23496 (ert--make-xrefs-region): Respect END.
23497
fe0fb33e
CY
234982011-03-19 Chong Yidong <cyd@stupidchicken.com>
23499
ff854b0b
CY
23500 * dired-aux.el (dired-create-directory): Signal an error if the
23501 directory already exists (Bug#8246).
23502
fe0fb33e
CY
23503 * facemenu.el (list-colors-display): Call list-faces-display
23504 inside with-help-window.
23505 (list-colors-print): Use display property to align the final
23506 column, instead of checking window-width.
23507
576bce32
EZ
235082011-03-19 Eli Zaretskii <eliz@gnu.org>
23509
4d61f28d 23510 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23511 windows-nt systems.
23512 (emerge-protect-metachars): Quote correctly for ms-dos and
23513 windows-nt systems.
23514
89c41d68 235152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23516
23517 * info.el (info-initialize): Replace all uses of `:' with
23518 path-separator for compatibility with non-Unix systems.
23519 Cache quoting of path-separator. (Bug#8258)
23520
b14e3e21 235212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23522
23523 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23524 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23525 (mouse-avoidance-mode): Fix typos in docstrings.
23526
4525ce3e
CY
235272011-03-19 Chong Yidong <cyd@stupidchicken.com>
23528
23529 * startup.el (package-subdirectory-regexp): Move from package.el.
23530 Omit \\` and \\', and let callers add them.
23531
23532 * emacs-lisp/package.el (package-strip-version)
23533 (package-load-all-descriptors): Add \\` and \\' to
23534 package-subdirectory-regexp before using it.
23535 (package-untar-buffer): New arg DIR; ensure that file untars only
23536 into this expected directory. Remove superfluous delete-region.
23537 (package-unpack): Caller changed.
23538 (package-tar-file-info): Use package-subdirectory-regexp.
23539
a904a09a 235402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23541
a904a09a
SM
23542 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23543 diff-mode-shared-map (bug#8284).
23544 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23545
235462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23547
23548 * calendar/time-date.el (format-seconds): Use assoc instead of
23549 assoc-string, since assoc-string doesn't exist in XEmacs.
23550
171fc304
JB
235512011-03-17 Juanma Barranquero <lekktu@gmail.com>
23552
23553 * custom.el (custom-known-themes): Reflow docstring.
23554 (custom-theme-load-path): Fix typo in docstring.
23555 (load-theme): Fix typo in error message.
23556 (custom-available-themes, custom-variable-theme-value):
23557 Use `let', not `let*'.
23558
d71990a1
JB
235592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23560
23561 * calc/README: Mention inclusion of musical notes.
23562
23563 * calc/calc-units.el (calc-lu-quant): Rename from
23564 `calc-logunits-quantity'.
23565 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23566 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23567 (calc-db): Rename from `calc-dblevel'.
23568 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23569 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23570 (calc-np): Rename from `calc-nplevel'.
23571 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23572 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23573 (calc-lu-plus): Rename from `calc-logunits-add'.
23574 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23575 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23576 (calc-lu-minus): Rename from `calc-logunits-sub'.
23577 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23578 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23579 (calc-lu-times): Rename from `calc-logunits-mul'.
23580 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23581 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23582 (calc-lu-divide): Rename from `calc-logunits-div'.
23583 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23584 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23585
23586 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23587 functions being autoloaded.
23588
23589 * calc/calc.el (calc-lu-power-reference): Rename from
23590 `calc-logunits-power-reference'.
23591 (calc-lu-field-reference): Rename from
23592 `calc-logunits-field-reference'.
23593
7a71b18d
GM
23594 * calc/calc-help.el (calc-l-prefix-help):
23595 Mention musical note functions.
d71990a1 23596
40c2934b
SM
235972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23598
23599 * minibuffer.el (completion-all-sorted-completions):
23600 Use :completion-cycle-penalty text property if present.
23601
b0911414
KM
236022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23603
23604 * allout.el (allout-yank-processing): Adjust for new rebulleting
23605 regime so bullet being yanked is used without prompting the user
23606 for a choice.
23607
8a05b668
JB
236082011-03-16 Juanma Barranquero <lekktu@gmail.com>
23609
23610 * startup.el (command-line): Warn the user that _emacs is deprecated.
23611
5ba5fb81
JB
236122011-03-16 Juanma Barranquero <lekktu@gmail.com>
23613
23614 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23615 (delphi-verbose, delphi-comment-face, delphi-string-face)
23616 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23617 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23618 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23619 (delphi-new-comment-line, delphi-font-lock-defaults)
23620 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23621 Fix typos in docstrings.
23622
2dab465b
KM
236232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23624
5ba5fb81 23625 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23626 Invert the roles of character and string values for INSTEAD, so a
23627 string is used for the more common case of a defaulting prompt.
23628
0adf5618
SM
236292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23630
23631 * progmodes/ruby-mode.el (ruby-backward-sexp):
23632 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23633 * play/gamegrid.el (gamegrid-make-face):
23634 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23635 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23636 * notifications.el (notifications-notify):
23637 * net/xesam.el (xesam-search-engines):
23638 * net/quickurl.el (quickurl-list-insert):
23639 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23640
d72700e5
CY
236412011-03-15 Chong Yidong <cyd@stupidchicken.com>
23642
23643 * startup.el (command-line): Update package subdirectory regexp.
23644
49c5410a
SM
236452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23646
c6eee9aa
SM
23647 * allout.el (allout-abbreviate-flattened-numbering)
23648 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23649
49c5410a
SM
23650 * subr.el (read-char-choice): Only show the cursor after the prompt,
23651 not after the answer.
23652
047b2bb9
KR
236532011-03-15 Kevin Ryde <user42@zip.com.au>
23654
23655 * help-fns.el (variable-at-point): Skip leading quotes, if any
23656 (bug#8253).
23657
0a57d256
SM
236582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23659
23660 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23661 warning message.
23662
77c992bc
MA
236632011-03-14 Michael Albinus <michael.albinus@gmx.de>
23664
23665 * shell.el (shell): When called interactively, offer to change the
23666 shell file name on remote hosts.
23667
eebc475d
TZ
236682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23669
23670 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23671 integration for LDAP parameters. The host, base, user or binddn,
23672 and secret tokens can be specified in a netrc file, for instance.
23673 This is optional because an `auth-source' parameter must be
23674 specified in the search attributes.
23675
9d05d1ba
JB
236762011-03-13 Juanma Barranquero <lekktu@gmail.com>
23677
23678 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23679
09d9db2c
GM
236802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23681
23682 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23683 into declaration. Remove redundant and harmful binding.
23684
236852011-03-12 Eli Zaretskii <eliz@gnu.org>
23686
23687 * files.el (file-ownership-preserved-p): Pass `integer' as an
23688 explicit 2nd argument to `file-attributes'. If the file's owner
23689 is the Administrators group on Windows, and the current user is
23690 Administrator, consider that a match.
23691
23692 * server.el (server-ensure-safe-dir): Consider server directory
23693 safe on MS-Windows if its owner is the Administrators group while
23694 the current Emacs user is Administrator. Use `=' to compare
23695 numerical UIDs, since they could be integers or floats.
23696
219bd536
JB
236972011-03-12 Juanma Barranquero <lekktu@gmail.com>
23698
23699 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23700
f3afd36b
MA
237012011-03-12 Michael Albinus <michael.albinus@gmx.de>
23702
23703 Sync with Tramp 2.2.1.
23704
23705 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23706
23707 * net/trampver.el: Update release number.
23708
3aaaa6f1
SM
237092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23710
94642599
SM
23711 * progmodes/compile.el (compilation--previous-directory): Fix up
23712 various nil/dead-marker mismatches (bug#8014).
23713 (compilation-directory-properties, compilation-error-properties):
23714 Don't call it at a position past the one we're about to change.
23715
3aaaa6f1
SM
23716 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23717 Disable obsolescence warnings in the file that declares it.
23718
14239447
KM
237192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23720
099c39a4
JB
23721 * allout-widgets.el (allout-widgets-tally):
23722 Initialize allout-widgets-tally as a hash table rather than nil to
23723 prevent mode-line redisplay warnings. Also, clarify the module
23724 description and fix a comment typo.
14239447 23725
135e287c
JB
237262011-03-11 Juanma Barranquero <lekktu@gmail.com>
23727
23728 * help-fns.el (describe-variable): Don't complete keywords.
23729 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23730
ffbf300e
CY
237312011-03-10 Chong Yidong <cyd@stupidchicken.com>
23732
ba08b241
CY
23733 * emacs-lisp/package.el (package-version-join): Impose a standard
23734 string representation for pre/alpha/beta version lists.
23735 (package-unpack-single): Standardize the directory name by passing
23736 it through package-version-join.
23737 (package-strip-rcs-id): Accept any version string that does not
23738 signal an error in version-to-list.
ffbf300e 23739
f346fd6b
MA
237402011-03-10 Michael Albinus <michael.albinus@gmx.de>
23741
23742 * simple.el (delete-trailing-whitespace): Return nil for the
23743 benefit of `write-file-functions'.
23744
ccb55d27
GM
237452011-03-10 Glenn Morris <rgm@gnu.org>
23746
5ceaac0c
GM
23747 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23748
02da65ff
GM
23749 * vc/vc-git.el (vc-git-program): New option.
23750 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23751 (vc-git--call): Use it.
23752
b2f603cc
GM
23753 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23754
5772caab
GM
23755 * cus-edit.el (Custom-newline): If no button at point, look
23756 for a subgroup button at start-of-line. (Bug#2298)
23757
ccb55d27
GM
23758 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23759
ec6ecaed
JD
237602011-03-10 Julien Danjou <julien@danjou.info>
23761
23762 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23763 `cursor-type' is nil.
23764
9d5aa01d
JB
237652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23766
23767 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23768
b6a5875b
KM
237692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23770
7a71b18d 23771 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23772 preserves the existing header prefix, rebulleting it if necessary,
23773 rather than replacing it. This is necessary for proper operation
23774 of cooperative addons like allout-widgets.
1154d12e
JB
23775 (allout-make-topic-prefix, allout-rebullet-heading):
23776 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23777 value as alternate bullet to be used, instead of prompting the user
23778 for a bullet character.
b6a5875b 23779
ee545c35
MA
237802011-03-09 Michael Albinus <michael.albinus@gmx.de>
23781
d86d2721
SM
23782 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23783 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23784 `tramp-default-port'.
23785
c47971d7
DD
237862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23787
23788 * net/rcirc.el (rcirc-handler-001): Remove useless
23789 with-rcirc-process-buffer.
23790 (rcirc-check-auth-status): Swap arguments to string-match.
23791
13522cb4
GM
237922011-03-09 Glenn Morris <rgm@gnu.org>
23793
0be6f4f1
GM
23794 * shell.el (shell-mode):
23795 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23796
13522cb4
GM
23797 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23798 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23799
515de2e3
CY
238002011-03-08 Chong Yidong <cyd@stupidchicken.com>
23801
23802 * emacs-lisp/package.el (package-refresh-contents)
23803 (package-menu-execute): Use condition-case-no-debug.
23804
b511b994
MA
238052011-03-08 Michael Albinus <michael.albinus@gmx.de>
23806
23807 * simple.el (shell-command-to-string): Use `process-file'.
23808
23809 * emacs-lisp/package.el (package-tar-file-info): Handle also
23810 remote files.
23811
d86d2721
SM
23812 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23813 Use `equal' for upload base check.
b511b994 23814
25bbfb31
AM
238152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23816
23817 * textmodes/texinfo.el (texinfo-environments):
23818 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23819
be996521
GM
238202011-03-08 Glenn Morris <rgm@gnu.org>
23821
e9c8529f
GM
23822 * cus-start.el (cursor-in-non-selected-windows):
23823 Fix :set quoting oddness. (Bug#8192)
23824
be996521
GM
23825 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23826 in some setf expressions. (Bug#2159)
23827
2bb5649e
CY
238282011-03-08 Chong Yidong <cyd@stupidchicken.com>
23829
23830 * custom.el (custom-available-themes): Return themes in
23831 alphabetical order.
23832
33383987 23833See ChangeLog.15 for earlier changes.
e3d51b27
MR
23834
23835;; Local Variables:
23836;; coding: utf-8
e3d51b27
MR
23837;; End:
23838
ab422c4d 23839 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23840
23841 This file is part of GNU Emacs.
23842
23843 GNU Emacs is free software: you can redistribute it and/or modify
23844 it under the terms of the GNU General Public License as published by
23845 the Free Software Foundation, either version 3 of the License, or
23846 (at your option) any later version.
23847
23848 GNU Emacs is distributed in the hope that it will be useful,
23849 but WITHOUT ANY WARRANTY; without even the implied warranty of
23850 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23851 GNU General Public License for more details.
23852
23853 You should have received a copy of the GNU General Public License
23854 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.