* autorevert.el (auto-revert-use-notify): Fix docstring.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
382936d1
MA
12013-01-30 Michael Albinus <michael.albinus@gmx.de>
2
3 * autorevert.el (auto-revert-use-notify): Fix docstring.
4
dd331297
LL
52013-01-30 Leo Liu <sdl.web@gmail.com>
6
7 * imenu.el (imenu--truncate-items): Fix subalist checking.
8 (Bug#13576)
9
c491dd70
GM
102013-01-30 Glenn Morris <rgm@gnu.org>
11
12 * mouse.el (mouse-drag-line): Avoid pushing same event onto
13 unread-command-events twice in some cases. This tries to implement
14 the 2012-07-26 changes in a different way. (Bug#13560)
15
6ff930c3
FEG
162013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
17
18 * progmodes/python.el
19 (python-pdbtrack-comint-output-filter-function): Enhancements on
20 stacktrace detection. (thanks @gnovak)
21
1d4e7225
SM
222013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
25 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
26 Use defvar-local.
27 (jit-lock-register): Use setq-local.
28
7c3fb76f
JB
292013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
30
31 * calc-units.el (math-default-units-table): Remove initial value.
32 (calc-convert-units): Treat expressions where all the units cancel as
33 if they didn't have units.
34
8bc8712e
MA
352013-01-30 Michael Albinus <michael.albinus@gmx.de>
36
37 * net/tramp.el (tramp-process-connection-type): Fix docstring.
38 (tramp-completion-reread-directory-timeout): Fix type.
39 (tramp-connection-min-time-diff): New defcustom.
40
41 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
42
1886a16d
GM
432013-01-30 Glenn Morris <rgm@gnu.org>
44
45 * imenu.el (imenu-default-create-index-function):
46 Put back a version of the infinite loop test removed 2013-01-23.
47
3f82a88a 482013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 49
1d4e7225
SM
50 * progmodes/python.el (python-shell-parse-command):
51 Find python-shell-interpreter with modified environment.
e4497086 52
3f82a88a 532013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
54
55 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
56
953e5b8c
AM
572013-01-29 Alan Mackenzie <acm@muc.de>
58
59 Amend to fontify /regexp/s in actions correctly.
60 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 61 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
62 are no longer included.
63 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
64 What used to be these variables without "-line" in the name.
65 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now
66 are.
67 (c-awk-non-arith-op-bra-re): Now also matches {.
68 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
69 "return", and "case".
70 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
71 by /.
72 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
73 (c-awk-set-syntax-table-properties): Extend FSM to handle
74 {,},(,),;.
75
1b69262a
MA
762013-01-29 Michael Albinus <michael.albinus@gmx.de>
77
1d4e7225
SM
78 * autorevert.el (auto-revert-use-notify):
79 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 80
1b69262a
MA
81 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
82
1d4e7225
SM
83 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
84 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 85 in `tramp-file-name-handler'.
ea55064c
MA
86 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
87 compatibility.
88 (tramp-compute-multi-hops): Check, whether
89 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 90
b2dc4f52
SM
912013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
94 (bug#13297).
95
499572e4
DG
962013-01-27 Dmitry Gutov <dgutov@yandex.ru>
97
98 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
99 checks made superfluous by the \_< operator.
a324b8c7
DG
100 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
101 temporarily) broken indentation.
b2dc4f52
SM
102 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
103 Highlight nested constants, too. \_< broke that.
499572e4
DG
104
1052013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
106
107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
108 instead of "\\b".
109
629cb6ec
MA
1102013-01-27 Michael Albinus <michael.albinus@gmx.de>
111
112 * autorevert.el (auto-revert-handler): Notifications which result
113 from a saved file shall not be taken into account. (Bug#13557)
114
cc17363f
AS
1152013-01-26 Andreas Schwab <schwab@linux-m68k.org>
116
117 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
118 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
119 (lisp-mode): Pass t for it. (Bug#13556)
120
b7aea0ff
AM
1212013-01-25 Alan Mackenzie <acm@muc.de>
122
123 AWK Mode: Fix indentation bug at top level. Bug #12274.
124
125 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
126 just before CASE 5D.
127
1314a64c
DA
1282013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
129
130 * net/socks.el (socks-nslookup-host): Use string-to-number.
131
ef3544f6
MA
1322013-01-25 Michael Albinus <michael.albinus@gmx.de>
133
134 * autorevert.el (auto-revert-remote-files)
135 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
136 (auto-revert-notify-enabled, auto-revert-use-notify)
137 (auto-revert-notify-watch-descriptor-hash-list)
138 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
139 (auto-revert-notify-event-descriptor)
140 (auto-revert-notify-event-action)
141 (auto-revert-notify-event-file-name): Doc fix.
142 (global-auto-revert-mode): Reorder checks.
143 (auto-revert-notify-rm-watch): Respect changed values of
144 `auto-revert-notify-watch-descriptor-hash-list'.
145 (auto-revert-notify-add-watch): Check for
146 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
147 `inotify-add-watch'. Watch `default-directory' instead of
148 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
149 has a changed meaning now. (Bug#13540)
150 (auto-revert-notify-handler): Change implementation wrt events
151 returning from a directory.
152 (auto-revert-handler): Reorder implementation for checks of remote
153 files.
154 (auto-revert-buffers): Fix parentheses error.
155
830e46e6 1562013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
157
158 * progmodes/python.el: Enhancements to header documentation about
159 skeletons. (Bug#5716)
160
ddc62155
FEG
161 * imenu.el (imenu-default-create-index-function): Remove useless
162 infinite loop check. (Bug#13438)
163
830e46e6 1642013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
165
166 Fix a bug in the state cache mechanism. Refactor this a bit.
167
168 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
169 `cache-pos' element from the return value.
170 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
171 buffer to enable proper searching from beyond HERE. Amend the
172 test for detecting the sought brace pair. Amend the value written
173 to the "brace desert cache" when the brace isn't found.
174 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
175 and several other variables analogously.
176 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
177 parameter to a locally calculated variable.
178 (c-parse-state-1): Change the calling conventions to the two
179 defuns involving `cache-pos'.
180
830e46e6 1812013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
182
183 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
184
3d4147ba
BG
1852013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
186
187 * paren.el (show-paren-function): Make sure to set 'priority and
188 'face only if the overlay does exist.
189
e1ffa412
MA
1902013-01-24 Michael Albinus <michael.albinus@gmx.de>
191
192 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
193
194 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
195 basic attributes.
196 (tramp-sh-handle-set-file-acl): Improve error checking.
197
5ad86e34
DA
1982013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
199
200 * doc-view.el (doc-view-display): Force mode line update until all
201 document is converted. Suggested by Stefan Monnier (Bug#13164).
202
d6f9c03f
BG
2032013-01-23 Bastien Guerry <bzg@gnu.org>
204
205 * paren.el (show-paren-function): Make sure an overlay exists
206 before trying to delete it. Also use `pos' as a position only
207 when it is an integer.
208
3544e11a
DA
2092013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
210
211 * play/gametree.el (gametree-break-line-here): Use point-marker.
212
19b50424
MA
2132013-01-22 Michael Albinus <michael.albinus@gmx.de>
214
b2dc4f52
SM
215 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
216 Mark descriptive parts with `display' property.
19b50424 217
7fd5a843
AM
2182013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
219
220 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
221 New variable to map standard dict names to hunspell ones.
222 (ispell-set-spellchecker-params): Make sure specific dict names
223 are used for standard dicts with hunspell.
224
e6aff855
TH
2252013-01-21 Tassilo Horn <tsdh@gnu.org>
226
227 * textmodes/reftex-cite.el (reftex-format-citation): Add format
228 chars for note (%N) and url (%U).
229 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
230
c84b0881
JL
2312013-01-21 Juri Linkov <juri@jurta.org>
232
233 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
234 in addition to existing separate binding `meta f10' in `global-map'.
235 (Bug#13484)
236
a36e2d26
MA
2372013-01-21 Michael Albinus <michael.albinus@gmx.de>
238
239 Improve XEmacs compatibility.
240
241 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
242
243 * net/tramp-adb.el (top): Require `time-date'.
244 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
245 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
246 Use `tramp-file-name-handler'.
247 (tramp-adb-maybe-open-connection):
248 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 249
b2dc4f52
SM
250 * net/tramp-sh.el (tramp-sh-handle-file-acl):
251 Use `tramp-compat-funcall'.
a36e2d26
MA
252
253 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
254 `tramp-compat-funcall'.
255
88c7dfa3
JH
2562013-01-21 Jürgen Hötzel <juergen@archlinux.org>
257
258 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
259 reimplementation using "adb shell command ..." instead of running
260 remote shell interactively.
261
15df6fa4
GM
2622013-01-20 Glenn Morris <rgm@gnu.org>
263
a576cc76
GM
264 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
265 Add native profiler menu entries.
266
15df6fa4
GM
267 * profiler.el (profiler-running-p): New function.
268 (profiler-cpu-profile): Use profiler-running-p.
269 (profiler-report-mode-map): Add some more menu entries.
270
c4d1e0c3
GM
2712013-01-19 Glenn Morris <rgm@gnu.org>
272
273 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
274 fixes 2012-12-07 change. (Bug#13499)
275
795e7a5b 2762013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
277
278 * dired.el (dired-get-marked-files): Prune erroneous values due to
279 last change. (Bug#13152)
280
795e7a5b 2812013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
282
283 * progmodes/etags.el (tags-table-check-computed-list):
284 Preserve point in tags buffer. (Bug#13412)
285
f8a42ad6
GM
286 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
287
20de6ab6
CW
2882013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
289 Chong Yidong <cyd@gnu.org>
290
b2dc4f52
SM
291 * image-mode.el (image-next-file, image-previous-file):
292 New commands (Bug#8453).
20de6ab6
CW
293 (image-mode-map): Bind them to n and p.
294 (image-mode--images-in-directory): New helper function.
295
2a43515a
CY
2962013-01-19 Chong Yidong <cyd@gnu.org>
297
298 * image-mode.el (image-mode-fit-frame): Add a frame argument.
299 Suggested by Drew Adams (Bug#7730). Handle window decorations;
300 save and restore the old window configuration.
301
b1170947
LL
3022013-01-18 Leo Liu <sdl.web@gmail.com>
303
304 * progmodes/js.el: Tweak autoload cookie for alias.
305
0eb87688
MA
3062013-01-17 Michael Albinus <michael.albinus@gmx.de>
307
308 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
309 buffer local, again. This was lost with the fix on 2013-01-12.
310
99d36ea8
JH
3112013-01-17 Jürgen Hötzel <juergen@archlinux.org>
312
313 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
314 order to support several eshell buffers in parallel.
315
68a08a32
MA
3162013-01-17 Michael Albinus <michael.albinus@gmx.de>
317
318 * autorevert.el (auto-revert-use-notify): In the :set function, do
319 not modify `kill-buffer-hook'.
b2dc4f52
SM
320 (auto-revert-notify-rm-watch):
321 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
322 (auto-revert-notify-add-watch): Do not call
323 `auto-revert-notify-rm-watch', but add it to a buffer local
324 `kill-buffer-hook'.
325
e59eee43
SM
3262013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
329 call to `eval' rather than a backquoted lambda.
330
6e8cd0ae
SM
3312013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
332
cb9c0a53
SM
333 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
334 to return an explicit nil.
335 (advice--remove-function): Change accordingly.
336
337 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
338 the use of nadvice.el.
339
6e8cd0ae
SM
340 * progmodes/which-func.el (which-function): Silence imenu errors
341 (bug#13433).
342
4586ce8a
MM
3432013-01-15 Michael R. Mauger <mmaug@yahoo.com>
344
6e8cd0ae 345 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
346 (sql-mode-font-lock-object-name): Match schema qualified names.
347 (sql-connect): Use string keys.
348 (sql-product-interactive): Wait for interpreter prompt.
349 (sql-comint-oracle): Set process coding based on NLS_LANG.
350
9d55215c
MM
3512013-01-15 Michael R. Mauger <mmaug@yahoo.com>
352
353 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
354 (sql-interactive-remove-continuation-prompt):
355 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 356
57dd9e68
LL
3572013-01-14 Leo Liu <sdl.web@gmail.com>
358
359 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
360 (Bug#13420)
361
51e73492
GM
3622013-01-14 Glenn Morris <rgm@gnu.org>
363
364 * progmodes/compile.el (compilation-error-regexp-alist-alist):
365 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
366
c0511b57 3672013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 368
6e8cd0ae
SM
369 * progmodes/python.el (python-nav-end-of-statement):
370 Fix cornercase when handling multiline strings.
50620051 371
4c0a6d4a
RS
3722013-01-13 Richard Stallman <rms@gnu.org>
373
9f7e86ef
RS
374 * mail/sendmail.el (mail-position-on-field): Add doc string.
375
6e8cd0ae
SM
376 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
377 Get current message boundaries and pass them to
4c0a6d4a
RS
378 message-forward-make-body-mime. Minor style changes.
379
ad33a799
EZ
3802013-01-13 Eli Zaretskii <eliz@gnu.org>
381
382 * cus-start.el (all): Avoid warnings about
6e8cd0ae 383 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 384
616763d5
JD
3852013-01-11 Jan Djärv <jan.h.d@swipnet.se>
386
387 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
388
e5b5a34d
SM
3892013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * jit-lock.el (jit-lock-debug-mode): New minor mode.
392 (jit-lock--debug-fontifying): New var.
393 (jit-lock--debug-fontify): New function.
394 * subr.el (condition-case-unless-debug): Don't prevent catching the
395 error, just let the debbugger run.
396 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
397 timer code and don't drop errors silently.
398
2daddd9e
MA
3992013-01-12 Michael Albinus <michael.albinus@gmx.de>
400
401 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
402 `permanent-local' property.
71c661e4 403 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 404
86fbb162
EZ
4052013-01-12 Eli Zaretskii <eliz@gnu.org>
406
407 * autorevert.el (auto-revert-notify-handler): Fix filtering of
408 file notification by ACTION. For filtering by file name, compare
409 only the non-directory part of the file name.
410
a0784609
SM
4112013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
412
96c421bb
SM
413 * autorevert.el: Use cl-lib instead of cl.
414
a0784609
SM
415 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
416 (vc-bzr-checkin): Use it.
417 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
418 will preserve match-data.
419
f90ff906 4202013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 421
f90ff906
FD
422 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
423 (js--declaration-keyword-re): New var.
424 (js--multi-line-declaration-indentation): New function.
425 (js--proper-indentation): Use it.
9fc9a531 426
f90ff906 4272013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 428
f90ff906
FD
429 * calc/calc.el (calc-highlight-selections-with-faces)
430 (calc-dispatch):
431 * comint.el (comint-history-isearch-message):
432 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
433 * ffap.el (ffap-string-at-point-region, ffap-next)
434 (ffap-string-at-point, ffap-string-around)
435 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 436 (ffap-literally):
9fc9a531 437 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
438 (font-lock-removed-keywords-alist):
439 * help-mode.el (help-xref-symbol-regexp):
440 * info.el (Info-find-emacs-command-nodes):
441 * international/mule.el (add-to-coding-system-list):
442 * isearch.el (isearch-message-function, isearch-fail-pos):
443 * misearch.el (multi-isearch-next-buffer-function):
444 * newcomment.el (comment-box):
9fc9a531 445 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 446 (pr-setting-database):
9fc9a531
AH
447 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
448 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
449 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
450 (pike-font-lock-keywords-3):
451 * progmodes/compile.el (compile):
9fc9a531 452 * progmodes/etags.el (tags-table-files)
f90ff906 453 (tags-table-files-function, tags-included-tables-function):
9fc9a531 454 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 455 (gdb-restore-windows):
9fc9a531 456 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
457 (ps-n-up-filling-database):
458 * server.el (server-buffer, server-log):
9fc9a531
AH
459 * simple.el (newline, delete-backward-char, delete-forward-char)
460 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 461 (temporary-goal-column):
9fc9a531 462 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
463 (flyspell-default-deplacement-commands):
464 * textmodes/ispell.el (ispell-accept-output):
465 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 466 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
467 (compare-ignore-case, compare-windows-dehighlight):
468 * vc/diff.el (diff):
9fc9a531
AH
469 * whitespace.el (whitespace-point)
470 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 471 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 472
65adfa20
MA
4732013-01-11 Michael Albinus <michael.albinus@gmx.de>
474
475 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
476 (auto-revert-notify-rm-watch): Ignore errors.
477 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
478 inotify, and '(size last-write-time) for w32notify.
479 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
480 watch fails - this is a fallback to the file modification check.
481 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
482 (auto-revert-notify-event-action)
483 (auto-revert-notify-event-file-name): New defuns.
484 (auto-revert-notify-handler): Use them. Implement first
485 plausibility checks.
486 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
487
43b2e2e7
JD
4882013-01-11 Julien Danjou <julien@danjou.info>
489
490 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
491 max are almost equal. Also return the correct value for V which is
492 already between 0 and 1.
493
30818a23
DA
4942013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
495
496 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
497
10e714d5
EZ
4982013-01-11 Eli Zaretskii <eliz@gnu.org>
499
500 * autorevert.el (auto-revert-notify-rm-watch)
501 (auto-revert-notify-add-watch): Fix typos in w32notify function
502 names.
503
a778dd57
MA
5042013-01-10 Michael Albinus <michael.albinus@gmx.de>
505
506 * autorevert.el (auto-revert-notify-enabled): Move up.
507 (auto-revert-use-notify): New defcustom.
508 (auto-revert-mode, global-auto-revert-mode)
509 (auto-revert-notify-add-watch, auto-revert-handler)
510 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
511 `auto-revert-notify-enabled'.
512
72781fef
EP
5132013-01-10 Elias Pipping <pipping@exherbo.org>
514
515 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
516 * doc-view.el (doc-view-document->bitmap):
517 Use doc-view-single-page-converter-function instead of
518 single-page-converter arg; adjust callers.
519
e6ed8f08
FL
5202013-01-10 Feng Li <fengli@gmail.com> (tiny change)
521
522 * progmodes/which-func.el (which-function): Understand Semantic's use
523 of overlays in imenu--index-alist.
524
327a6cca
WJ
5252013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
526
527 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
528 (Man-man-k-use-anchor): New var.
529 (Man-parse-man-k): New function.
530 (Man-completion-table): Use it.
531 (man): Flush the completion cache between uses.
532
ed911257
MA
5332013-01-10 Michael Albinus <michael.albinus@gmx.de>
534
535 * autorevert.el: Add file watch support.
536 (auto-revert-notify-enabled): New defconst.
537 (auto-revert-notify-watch-descriptor-hash-list)
538 (auto-revert-notify-watch-descriptor)
539 (auto-revert-notify-modified-p): New defvars.
540 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
541 (auto-revert-notify-handler): New defuns.
542 (auto-revert-mode, global-auto-revert-mode): Remove file watches
543 when mode is disabled.
544 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
545 (auto-revert-buffers): Add file watches for active buffers.
546
58cc0a01
DA
5472013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
548
549 * cus-start.el (toplevel): Only allow float values for
550 scroll-up-aggressively and scroll-down-aggressively.
551 Allow any number for line-spacing.
552
bbc7ff25
SM
5532013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
556 (doc-view-pdf->png-converter-function): Use mupdf if available.
557 (doc-view-djvu->png-converter-function)
558 (doc-view-ps->png-converter-function): Remove.
559 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
560 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
561 (doc-view-already-converted-p): Adjust accordingly.
562 (doc-view-mode-p): Simplify.
563 (doc-view-enlarge): Use setq-local.
564 (doc-view-pdf->png-converter-ghostscript)
565 (doc-view-djvu->png-converter-ddjvu)
566 (doc-view-pdf->png-converter-mupdf): Rework to call
567 doc-view-start-process directly.
568 (doc-view-pdf/ps->png): Simplify accordingly.
569 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
570 (doc-view-document->bitmap): Rename from doc-view-document->png.
571 (doc-view-convert-current-doc): Merge pdf and djvu cases.
572 (doc-view-set-slice-from-bounding-box): Fix completion table.
573 (doc-view-mode): Use add-hook for after-revert-hook.
574
3c855b96
GM
5752013-01-10 Glenn Morris <rgm@gnu.org>
576
577 * emacs-lisp/authors.el (authors-ignored-files)
578 (authors-valid-file-names, authors-renamed-files-alist):
579 Add some more entries.
580
3f9549e8 5812013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
582
583 * image-mode.el (image-mode-winprops): Don't throw away the fallback
584 `t' pseudo-window entry.
585
3f9549e8 5862013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
587
588 Fix bugs in the c-parse-state mechanism. Reuse some markers
589 instead of continually generating new ones.
590
591 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
592 (c-state-old-cpp-end-marker): New variables.
593 (c-append-lower-brace-pair-to-state-cache): Start a backward
594 search for "}" definitively outside CPP constructs.
595 (c-remove-stale-state-cache): Inform the caller of a need to
596 search back for a brace pair in certain circumstances.
597 (c-state-maybe-marker): New macro.
598 (c-parse-state): Reuse markers when appropriate.
599
3f9549e8 6002013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
601
602 * simple.el (execute-extended-command): Doc fix.
603 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
604
3f9549e8 6052013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
606
607 * faces.el (read-face-name): Doc fix.
608
b14abca9
RW
6092013-01-10 Roland Winkler <winkler@gnu.org>
610
611 * emacs-lisp/crm.el: Allow any regexp for separators.
612 (crm-default-separator): All spaces around the default comma separator.
613 (crm--completion-command): New macro.
614 (crm-completion-help, crm-complete, crm-complete-word): Use it.
615 (crm-complete-and-exit): Handle non-single-char separators.
616
2b541f9a
EP
6172013-01-09 Elias Pipping <pipping@lavabit.com>
618
619 * doc-view.el: Add support for DjVu (bug#13164).
620 (doc-view-djvu->png-converter-function): New config var.
621 (doc-view-single-page-converter-function, doc-view--image-type)
622 (doc-view--image-file-extension): New vars.
623 (doc-view-mode): Initialize them.
624 (doc-view-goto-page): Use them.
625 (doc-view-mode-p): Add support for ddjvu.
626 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
627 (doc-view-set-up-single-converter): New funs.
628 (doc-view-pdf/ps->png): Extend for djvu.
629 (doc-view-document->png): Rename from doc-view-pdf->png.
630 (doc-view-convert-current-doc): Handle djvu.
631 (doc-view-insert-image, doc-view-display)
632 (doc-view-already-converted-p): Don't hardcode png.
633 (doc-view-set-doc-type): Recognize djvu docs.
634
85f17e35
EP
6352013-01-09 Elias Pipping <pipping@lavabit.com>
636
637 * doc-view.el: Add support for mupdf converter (bug#13164).
638 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
639 (doc-view-ps->png-converter-function): New config vars.
640 (doc-view-pdf->png-converter-ghostscript)
641 (doc-view-ps->png-converter-ghostscript)
642 (doc-view-pdf->png-converter-mupdf): New functions.
643 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
644
ccd04887
MA
6452013-01-09 Jürgen Hötzel <juergen@archlinux.org>
646
647 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
648 first in session cache: When `tramp-own-remote-path' is in
649 `tramp-remote-path', the remote path is only set in the session
650 cache.
651
c5ad92de
GM
6522013-01-09 Glenn Morris <rgm@gnu.org>
653
fb9f7146
GM
654 * emacs-lisp/trace.el (trace-function-foreground)
655 (trace-function-background): Doc fix.
c5ad92de 656
39a0786e
JL
6572013-01-09 Juri Linkov <juri@jurta.org>
658
659 * international/mule-cmds.el (read-char-by-name): Move let-binding
660 of completion-ignore-case around completing-read to fix regression
661 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
662 `string-match-p' using the nil value of `case-fold-search' and
663 `completion-ignore-case' in `completion-pcm--all-completions'.
664 (Bug#12615).
665
fb9f7146 6662013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
667
668 * progmodes/compile.el (compilation-parse-errors):
669 Fix typo. (Bug#13369)
670
fb9f7146 6712013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
672
673 * comint.el (comint-send-input): Check size of buffer before
674 waiting for process output, in case already accepted. (Bug#13290)
675
677d5c92
PE
6762013-01-09 Paul Eggert <eggert@cs.ucla.edu>
677
678 Spelling fixes.
679 * net/tramp-adb.el (tramp-adb-get-toolbox):
680 Fix misspelling of 'unknown'.
681
073ca75b
JL
6822013-01-08 Juri Linkov <juri@jurta.org>
683
684 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
685 * progmodes/flymake.el (flymake-errline, flymake-warnline):
686 Use underline style wave on terminals that support it. (Bug#13000)
687
a4648137
SM
6882013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
689
4bdc3526
SM
690 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
691 the predicate returns nil.
692
a4648137
SM
693 * simple.el: Use lexical-binding.
694 (primitive-undo): Use pcase.
695 (minibuffer-history-isearch-push-state): Use a closure.
696
3bace969
AH
6972013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
698
699 * simple.el (primitive-undo): Move from undo.c.
700
a731fc1b
SM
7012013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
702
1c851e98
SM
703 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
704 (cvs-mode-remove-handled): Use it (bug#13380).
705
a731fc1b
SM
706 * emacs-lisp/nadvice.el (advice--tweak): New function.
707 (advice--remove-function, advice--subst-main): Use it.
708
709 * emacs-lisp/advice.el: Update commentary.
710
2a22c83b
MA
7112013-01-08 Michael Albinus <michael.albinus@gmx.de>
712
a731fc1b
SM
713 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
714 Remove spurious entry.
2a22c83b 715
83c1803a
GM
7162013-01-08 Glenn Morris <rgm@gnu.org>
717
718 * net/tramp.el (tramp-default-host-alist): Add :version.
719
8a2e287c
JL
7202013-01-08 Juri Linkov <juri@jurta.org>
721
722 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
723 single completion. (Bug#12456)
724 (info--manual-names): Expand node completions into an explicit list
725 before appending it to another list. Filter out internal buffers
726 with the leading space in the buffer name. (Bug#10771)
727
c6a22ce2
JL
7282013-01-08 Juri Linkov <juri@jurta.org>
729
730 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
731 that defaults to the Top node.
732 (Info-goto-node, Info-read-node-name): Doc fix to mention that
733 the short format (FILENAME) goes to the Top node.
734 (Info-build-node-completions): Rename arg `file' to `filename'.
735 (Bug#13365)
736
acfe10b7
BG
7372013-01-07 Bastien Guerry <bzg@gnu.org>
738
a731fc1b
SM
739 * menu-bar.el (menu-bar-search-documentation-menu):
740 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
741
7422013-01-07 Bastien Guerry <bzg@gnu.org>
743
744 * apropos.el (apropos-do-all): Update docstring.
745 (apropos-user-option-button): New face.
746 (apropos-user-option): Rename from `apropos-variable' and update
747 docstring.
748 (apropos-variable): Rewrite, now show all variables by default.
749 (apropos-print): Mention "User option" instead of "Variable" when
750 printing doc for user options. (Bug#13276)
751
62bcf670
JH
7522013-01-07 Jürgen Hötzel <juergen@archlinux.org>
753
754 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
755 Handle filename correctly, when parsing "source -> target" symlink
756 output.
757 (tramp-adb-handle-set-file-times): New defun.
758
4986fa21
SM
7592013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
762 advice list when the interactive-spec of ad-Advice-* changes.
763
3bee311e
KY
7642013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
765
766 * wid-edit.el (widget-default-get): Work for inlined elements.
767 (Bug#12670)
768
b49eebcc
MA
7692013-01-07 Michael Albinus <michael.albinus@gmx.de>
770
771 * net/tramp.el (tramp-default-host-alist): New defcustom.
772 (tramp-find-host): Use it.
4986fa21 773 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
774 `eshell-directory-change-hook'.
775
776 * net/tramp-adb.el (top): Add adb specific entry in
777 `tramp-default-host-alist'.
778 (tramp-adb-file-name-host): Remove function.
779 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
780 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
781
3bee311e 782 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 783
84f6744a
JH
7842013-01-06 Jürgen Hötzel <juergen@archlinux.org>
785
786 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
787
b6cfbcd0
MA
7882013-01-06 Michael Albinus <michael.albinus@gmx.de>
789
790 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 791 consist of more than one digit.
4986fa21
SM
792 (tramp-adb-file-name-handler-alist):
793 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
794 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
795 (tramp-adb-handle-file-exists-p): Remove function.
796 (tramp-adb-file-name-host): New defun.
797 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
798 Use it.
799 (tramp-adb-maybe-open-connection): Set "remote-path" property.
800
58ba7b1b
CY
8012013-01-06 Chong Yidong <cyd@gnu.org>
802
803 * vc/vc.el (vc-next-action): Detect buffer modifications
804 conflicting with locking VCS operation (Bug#11490).
805
806 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
807
f4566fe9
MA
8082013-01-05 Michael Albinus <michael.albinus@gmx.de>
809
810 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
811 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
812
838cf298
MA
8132013-01-05 Jürgen Hötzel <juergen@archlinux.org>
814
815 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
816 parsing of ls output using regular expression (handle filenames
817 with spaces). Use virtual device number.
818 (tramp-do-parse-file-attributes-with-ls): New defun (Code
819 cleanup).
820
1bd71e9f
DU
8212013-01-04 Daiki Ueno <ueno@gnu.org>
822
823 * epg.el: Silence byte-compiler warnings.
824 (epg--start): Use delete-char instead of delete-backward-char.
825 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
826
00cd4c1c
DU
8272013-01-04 Daiki Ueno <ueno@gnu.org>
828
829 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
830 Suggested by Eli Zaretskii <eliz@gnu.org>.
831
f99ced35
MA
8322013-01-04 Michael Albinus <michael.albinus@gmx.de>
833
834 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
835 non-negative integers. Otherwise, the default values are used.
836 (tramp-convert-file-attributes): Convert uid and gid to integers.
837
0f668a4d 8382013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 839
d2be4dcc
GM
840 * term.el (term-handle-colors-array): Ensure face attributes
841 are fully specified, not nil. (Bug#13337)
842
5b00b749
GM
843 * term.el (term-default-fg-color, term-default-bg-color):
844 Fix custom type.
845
220740a3
GM
846 * progmodes/etags.el (tags-compression-info-list): Doc fix.
847 (tag-find-file-of-tag-noselect): Check auto-compression-mode
848 rather than 'jka-compr being loaded. (Bug#13338)
849
bdd9367d
WD
8502013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
851
852 * icomplete.el (icomplete-completions):
853 Honor icomplete-prospects-height once more following
854 2012-11-29 changes. (Bug#13224)
855
96dd18b1
SM
8562013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
857
c0bd248c
SM
858 * subr.el (internal--called-interactively-p--get-frame): Find aliases
859 of called-interactively-p as well (bug#13237).
860
4a74c818
SM
861 * view.el (view--enable, view--disable): Rename from view-mode-enable
862 and view-mode-disable and assume it's called from view-mode.
863 (view-mode-enable, view-mode-disable): Redefine as obsolete
864 compatibility layer above view-mode.
865 (view-mode-enter): Call `view-mode'.
866
867 * files.el (after-find-file): Call `view-mode'.
868
96dd18b1
SM
869 * doc-view.el (doc-view-scale-internally): New var.
870 (doc-view-enlarge, doc-view-insert-image): Obey it.
871
c2cf1829
DU
8722013-01-03 Daiki Ueno <ueno@gnu.org>
873
874 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
875 exist. (Bug#13344)
876
ad235a8b
GM
8772013-01-03 Glenn Morris <rgm@gnu.org>
878
a8aa6c2d
GM
879 * mail/rmail.el (rmail-set-header-1): Ignore case.
880 Handle multi-line headers. (Bug#13330)
881
a6d6c20b
GM
882 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
883 Handle paragraph starting at beginning of buffer.
884
ed5bdeb9
GM
885 * subr.el (eval-after-load): Don't purecopy the form, so that it
886 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
887
ad235a8b
GM
888 * emacs-lisp/byte-run.el (defun): Place cl declarations
889 after any interactive spec. (Bug#13265)
890
9539d465 8912013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
892
893 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
894 defun. Don't check for DECL if DOCSTRING isn't a string.
895 (defun): Likewise.
896
9539d465 8972013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 898
5ee1772e
GM
899 * eshell/em-cmpl.el (eshell-pcomplete):
900 More thoroughly imitate pcomplete. (Bug#13293)
901
4cddca30
GM
902 * files.el (parse-colon-path): Doc fix. (Bug#12351)
903 Return nil for empty path elements. (Bug#13296)
904
9539d465 9052013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
906
907 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
908 order to improve efficiency (Based on Daniel Colascione's
909 <dancol@dancol.org> patch). (Bug#13182)
910
9539d465 9112013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
912
913 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
914
9539d465 9152013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
916
917 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
918 neither DOCSTRING nor DECL was given. (Bug#13316)
919
aca3d51d
MA
9202013-01-02 Michael Albinus <michael.albinus@gmx.de>
921
922 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
923 `error' call.
924 (tramp-do-copy-or-rename-file): Ignore errors when calling
925 `set-file-extended-attributes'.
926
4986fa21
SM
927 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
928 Add handler for `file-acl'.
aca3d51d
MA
929 (tramp-smb-handle-file-acl): New defun.
930
87e65f96
JB
9312013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
932
933 * calc/README: Mention ISO 8601 week-numbering dates.
934
0aac98ac
MR
9352013-01-01 Martin Rudalics <rudalics@gmx.at>
936
937 * view.el (view-mode-enable): New argument run-view-mode-hook.
938 Run view-mode-hook only when it's non-nil (Bug#13315).
939 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
940 argument t.
941
1a82330c
JH
9422012-12-31 Jürgen Hötzel <juergen@archlinux.org>
943
944 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
945 (No device connected, invalid device name). (Bug #13299)
946
27fcfe31
MR
9472012-12-31 Martin Rudalics <rudalics@gmx.at>
948
949 * window.el (window-resizable--p): Rename to window-resizable-p.
950 (window-resize-no-error): New function.
951
952 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
953 broken in fix from 2012-12-28.
954
96c052a5
SM
9552012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * subr.el (special-form-p): Don't signal errors on undef aliases.
958
fd1f1603
JB
9592012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
960
961 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
962 `math-parse-iso-date' when it looks like it might be needed.
963 Allow times of 24:00.
fd1f1603
JB
964 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
965 of 24:00.
966
8db39aeb
GM
9672012-12-30 Glenn Morris <rgm@gnu.org>
968
969 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
970 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
971 (rmail-summary-displayed, rmail-summary): Declare.
972 (mairix-rmail-display): Just require rmail.
973
d5e5e7b4 9742012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
975
976 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
977 check for the tarball contents.
978
d5e5e7b4 9792012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
980
981 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
982 tarfile content listings (Bug#13136).
983
d5e5e7b4 9842012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 985
96c052a5
SM
986 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
987 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 988
4f752957
MA
9892012-12-30 Michael Albinus <michael.albinus@gmx.de>
990
3ee24a3b
MA
991 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
992 integers, if they are real numbers. (Bug#13282)
993
4f752957
MA
994 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
995 Return `t' on success.
996
96c052a5
SM
997 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
998 Add handler for `set-file-selinux-context'.
4f752957 999
eff2eb58
MA
10002012-12-29 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1003 (tramp-sh-handle-set-file-acl): Return `t' on success.
1004
ccad023b
EZ
10052012-12-29 Eli Zaretskii <eliz@gnu.org>
1006
96c052a5
SM
1007 * files.el (backup-buffer-copy, basic-save-buffer-2):
1008 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1009 instead of signaling an error. (Bug#13298)
7e56b103 1010 (basic-save-buffer): Likewise.
ccad023b 1011
ccb1c17e
FEG
10122012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1013
1014 * progmodes/python.el: Support other commands triggering
1015 python-indent-line so indentation cycling continues to work.
1016 (python-indent-trigger-commands): New defcustom.
1017 (python-indent-line): Use it.
1018
16768034
FEG
10192012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1020
1021 * progmodes/python.el (python-shell-send-region): Add blank lines
1022 for non sent code so backtraces remain correct.
1023
66164d2f
FEG
10242012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1025
1026 * progmodes/python.el: Remove cl dependency.
1027 (python-syntax-count-quotes): Replace incf call.
1028 (python-fill-string): Replace setf call.
1029
761231d1
DC
10302012-12-29 Damien Cassou <damien.cassou@gmail.com>
1031
43ebd12b 1032 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1033
7c3e220a
MR
10342012-12-28 Martin Rudalics <rudalics@gmx.at>
1035
96c052a5
SM
1036 * mail/rmail.el (rmail-maybe-display-summary):
1037 Rewrite (Bug#13066).
7c3e220a 1038
361828b5
AS
10392012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1040
1041 * epg.el (epg--start): Modify process-environment locally.
1042
23bd348c
DU
10432012-12-28 Daiki Ueno <ueno@gnu.org>
1044
1045 * epg.el: Support pinentry-curses.
1046 Suggested by Werner Koch in
1047 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1048 (epg-agent-file, epg-agent-mtime): New variable.
1049 (epg--start): Record the modified time of gpg-agent socket file,
1050 to restore Emacs frame after pinentry-curses termination.
1051 (epg-wait-for-completion): Restore Emacs frame here.
1052
313f39aa
JL
10532012-12-27 Juri Linkov <juri@jurta.org>
1054
1055 * info.el (Info-file-completions): New variable.
1056 (Info-read-node-name-1): Complete node names in the Info file
1057 when a file name is given. Call `Info-build-node-completions'
1058 with a file name.
1059 (Info-build-node-completions): Add new arg `file'. When it is
1060 non-nil, visit it in a temporary buffer and cache its completions in
1061 `Info-current-file-completions'. Move most of the function body to
1062 `Info-build-node-completions-1'.
1063 (Info-build-node-completions-1): New function with the body from
1064 `Info-build-node-completions'. (Bug#12456)
1065
a45b7647
JL
10662012-12-27 Juri Linkov <juri@jurta.org>
1067
1068 * frame.el (frame-maximization-style): Remove user option.
1069 (cycle-frame-maximized): Remove function.
1070 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1071 (toggle-frame-fullscreen): New command bound to <f11> instead of
1072 `toggle-frame-maximized'.
1073 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1074
10ffd0be
MA
10752012-12-27 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1078
1079 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1080 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1081 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1082 for `file-accessible-directory-p'. (Bug#13275)
1083
fd146719
SS
10842012-12-27 Sam Steingold <sds@gnu.org>
1085
1086 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1087 continuations, see <http://stackoverflow.com/questions/3582436>.
1088
82e2a1f0 10892012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1090
1091 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1092 "module" and "def" to have indentation before them.
1093 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1094
ea0857a1
DG
1095 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1096
82e2a1f0 10972012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1098
1099 Speed up fontification where there's large brace blocks.
1100 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1101 to a call of c-beginning-of-decl-1.
1102
c34339f3
VS
11032012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1104
1105 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1106 (comint-postoutput-scroll-to-bottom):
1107 Call comint-adjust-window-point (Bug#13248).
c34339f3 1108
78269b95
DG
11092012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1110
1111 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1112 Rakefile regexp.
1113 (auto-mode-alist): Associate .gemspec files with ruby-mode
1114 (https://bugs.ruby-lang.org/issues/5453).
1115
bd8c13f9
JH
11162012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1117
96c052a5
SM
1118 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1119 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1120 CyanogenMod).
bd8c13f9
JH
1121 (tramp-adb-handle-file-attributes)
1122 (tramp-adb-handle-insert-directory)
1123 (tramp-adb-handle-file-name-all-completions): Use it.
1124 (tramp-adb-get-toolbox): New defun. Check for remote shell
1125 implementation (BusyBox or Toolbox).
1126
dc646358
CK
11272012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1128
1129 * startup.el (initial-buffer-choice): Allow function as value
1130 (Bug#13251).
1131 (command-line-1): Handle case where initial-buffer-choice
1132 specifies a function.
1133 * server.el (server-execute): Handle case where
1134 initial-buffer-choice specifies a function.
1135
e7d52a4d
LI
11362012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1137
1138 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1139 its own function.
1140 (smtpmail-try-auth-methods): Forget the user name/password if the
1141 login is unsuccessful (bug#12424).
1142
cdb07539
MA
11432012-12-22 Michael Albinus <michael.albinus@gmx.de>
1144
1ef5f225
MA
1145 * notifications.el (notifications-notify): Protect body with
1146 `with-demoted-errors'.
1147
96c052a5
SM
1148 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1149 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1150 change.
1151
594f37aa
CY
11522012-12-21 Chong Yidong <cyd@gnu.org>
1153
1154 * sort.el (sort-subr): Doc fix (Bug#13056).
1155
a4b0cca1 11562012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1157
acc650b8
BG
1158 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1159
0e9c7693
MA
11602012-12-21 Michael Albinus <michael.albinus@gmx.de>
1161
1162 * simple.el (process-file): Overwrite stderr file, if exists.
1163
c6609164
DU
11642012-12-21 Daiki Ueno <ueno@gnu.org>
1165
1166 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1167 (epg-error): Set `error-message' property.
c6609164 1168
aa26f345
CY
11692012-12-21 Chong Yidong <cyd@gnu.org>
1170
34b4b7eb
CY
1171 * international/mule-cmds.el (read-char-by-name): Signal an error
1172 if the user does not supply a valid character (Bug#13177).
1173
aa26f345
CY
1174 * simple.el (transpose-subr-1): Preserve marker positions by
1175 changing the insertion sequence (Bug#13122).
1176
05c22d87
KD
11772012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1178
1179 * simple.el (kill-region): Deactivate mark even for empty regions
1180 (Bug#13169).
1181
f5733f87
CY
11822012-12-21 Chong Yidong <cyd@gnu.org>
1183
1184 * help-fns.el (describe-variable): Make sure we get the right
1185 buffer name (Bug#13105). Suggested by Kelly Dean.
1186
fab6916d
MM
11872012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1188
1189 * comint.el (comint-redirect-previous-input-string): New variable.
1190 (comint-redirect-setup, comint-redirect-cleanup)
1191 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1192 (comint-redirect-preoutput-filter): Fix verbose message.
1193
91b982a0
MA
11942012-12-20 Michael Albinus <michael.albinus@gmx.de>
1195
1196 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1197 is too long for Tramp. See discussion in
1198 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1199
1200 * progmodes/compile.el (compilation-start): Remove line escape
1201 template.
1202
87523aed
DA
12032012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1204
1205 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1206 Adjust comment.
1207
ee3c0aec
JB
12082012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1209
1210 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1211 following non-comment text (bug#13207).
1212 (lm-header-multiline): Continuation lines need to be indented more than
1213 the first line.
1214 (lm-homepage): New function.
1215 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1216
4a74c818
SM
12172012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1218
f4d79bd0
SM
1219 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1220 very beginning of a hunk (e.g. killing the first line).
1221
3c532af6
MA
12222012-12-19 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1225 and text properties from returned ACL string.
1226 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1227 for "setfacl" command.
1228
e0d01ef3
MA
12292012-12-18 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1232 `tramp-cleanup-this-connection', when the process has died.
1233 (Bug#13151)
1234
2387610d
SM
12352012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1238
19156242
KR
12392012-12-17 Kevin Ryde <user42@zip.com.au>
1240
1241 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1242
53b6a8b1
MA
12432012-12-17 Michael Albinus <michael.albinus@gmx.de>
1244
1245 Add support for preserving ACL entries of files.
1246
1247 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1248 `set-file-acl' handlers.
1249
19156242
KR
1250 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1251 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1252
19156242
KR
1253 * net/tramp-compat.el (tramp-compat-copy-file):
1254 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1255
19156242
KR
1256 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1257 Add `file-acl' and `set-file-acl' handlers.
1258 (tramp-gvfs-handle-copy-file):
1259 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1260 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1261 New defuns.
53b6a8b1 1262
19156242
KR
1263 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1264 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1265 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1266 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1267 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1268 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1269
19156242
KR
1270 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1271 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1272 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1273
6ae57a67
KD
12742012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1275
1276 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1277 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1278 *Metahelp* with a leading space (Bug#13190).
1279
7c3d167f
RF
12802012-12-16 Romain Francoise <romain@orebokech.com>
1281
1282 * files.el (file-extended-attributes)
1283 (set-file-extended-attributes): New functions.
1284 (backup-buffer): Use them to handle both SELinux context and ACL
1285 entries.
1286 (backup-buffer-copy): Work with an alist of extended attributes,
1287 rather than an SELinux context.
1288 (basic-save-buffer-2): Ditto.
1289
19b748ad
TM
12902012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1291
1292 * battery.el (battery-bsd-apm): New function.
1293
70042c64
JB
12942012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1295
1296 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1297 standard date formats.
1298
279f9b06
JL
12992012-12-15 Juri Linkov <juri@jurta.org>
1300
1301 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1302 `isearch-insert-char-by-name'.
1303 (with-isearch-suspended): New defmacro with body mostly from
1304 `isearch-edit-string' except the part that sets
1305 `isearch-new-string' and `isearch-new-message'.
1306 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1307 body that sets `isearch-new-string' and `isearch-new-message'.
1308 (isearch-insert-char-by-name): New command.
1309 * international/mule-cmds.el (read-char-by-name): Let-bind
1310 `enable-recursive-minibuffers' to t.
1311 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1312
8370def5
JL
13132012-12-15 Juri Linkov <juri@jurta.org>
1314
1315 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1316 (Bug#13175)
1317
178fb95d
CS
13182012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1319
1320 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1321 the prompt. (Bug#13045)
1322
a5f74442
GM
13232012-12-14 Glenn Morris <rgm@gnu.org>
1324
1325 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1326 Try to include filename in non-bytecomp warning. (Bug#13132)
1327
97976f9f
PE
13282012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1329
1330 Fix permissions bugs with setgid directories etc. (Bug#13125)
1331 * files.el (backup-buffer): Don't rely on 9th output of
1332 file-attributes, as it's now a placeholder. Instead, use the new
1333 optional arg of file-ownership-preserved-p.
1334 (file-ownership-preserved-p): New optional arg GROUP.
1335 Fix mishandling of setuid directories that would cause this
1336 function to return t when it should have returned nil.
1337 Document what happens if the file does not exist, and when
1338 it's not known whether the ownership will be preserved.
1339 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1340 Likewise.
1341 (tramp-get-local-gid): Use group-gid for integer, as that's
1342 faster and more reliable.
1343
016b2a42
JD
13442012-12-14 Julien Danjou <julien@danjou.info>
1345
19156242
KR
1346 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1347 Update keywords list, data type and PL/pgSQL.
016b2a42 1348
665e5e07
DA
13492012-12-14 Dave Abrahams <dave@boostpro.com>
1350
1351 * vc/ediff-util.el (ediff-buffer-type): New function.
1352 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1353 rather than taking it as as argument.
1354 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1355
d72e9e92
RC
13562012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1357
1358 * json.el: Add pretty-print option (bug#12634).
1359 (json-encoding-separator, json-encoding-default-indentation)
1360 (json--encoding-current-indentation, json-encoding-pretty-print)
1361 (json-encoding-lisp-style-closings): New vars.
1362 (json--with-indentation): New macro.
1363 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1364 (json-encode-array): Use it to obey json-encoding-pretty-print.
1365 (json-pretty-print-buffer, json-pretty-print): New commands.
1366
dbb530d9
DG
13672012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1368
1369 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1370 Extract `ruby-syntax-propertize-expansions'.
1371 (ruby-syntax-propertize-expansions): Only change syntax on
1372 certain string delimiters, to punctuation. This way the common
1373 functions like forward-word and thing-at-point still work.
1374 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1375 (ruby-block-contains-point): New function.
1376 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1377
ce0440ff
JB
13782012-12-13 Juanma Barranquero <lekktu@gmail.com>
1379
1380 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1381 unload-feature finishes even when aborting an ongoing edebug session.
1382 Also, do not worry about edebug-mode, unload-feature takes care of it.
1383
f10331bf
AS
13842012-12-13 Andreas Schwab <schwab@suse.de>
1385
1386 * net/tls.el (tls-program): Update customize type.
1387
5f3a3bb1
JB
13882012-12-13 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1391 (edebug-setup-hook, cl-read-load-hooks): Use it.
1392 (edebug-unload-function): New function. (Bug#13163)
1393
6ce21463
MA
13942012-12-13 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1397 Otherwise, there could be errors in autoloading. (Bug#13151)
1398
d754b364
JH
13992012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1400
1401 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1402 sequences.
1403
727f9739 14042012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1405
1406 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1407 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1408 around `forward-comment' not recognizing ^M as whitespace.
1409
727f9739 14102012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1411
1412 * progmodes/python.el (python-skeleton-class)
1413 (python-skeleton-def): Do not add space after defun name.
1414
eb8006c6
SM
14152012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1418 (cl--symbol-function): Remove (now that funbound is like nil).
1419
4c74b1e4
GM
14202012-12-12 Glenn Morris <rgm@gnu.org>
1421
1422 * button.el (button--area-button-p): Fix typo.
1423
37f38bca
SS
14242012-12-12 Sam Steingold <sds@gnu.org>
1425
1426 * frame.el (frame-maximization-style): New user option.
1427 (toggle-frame-maximized): Toggle frame maximization according to
1428 `frame-maximization-style', bound to <f11>.
1429 (cycle-frame-maximized): Cycle between all maximization styles and
1430 non-maximized frame, bound to shift-<f11>.
1431
fd49a218
DC
14322012-12-12 David Cadé <codename68@gmail.com>
1433
1434 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1435
69e1c203
JB
14362012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1437
1438 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1439 (eieio-override-prin1): Don't quote kewords and booleans.
1440 (object-write) <eieio-default-superclass>: Don't put closing parens
1441 on new line, avoid needless empty lines, align values that are objects
1442 with the slot keyword (instead of beginning on the same line).
1443 (eieio-list-prin1): Align value with slot keyword; increase
1444 eieio-print-depth before printing members of the list.
1445
4b0df848
SM
14462012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1447
030f4af5
SM
1448 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1449 a display text-property.
1450 (report-emacs-bug-hook): Don't bother deleting it any more.
1451
6ac1f8ca
SM
1452 * hilit-chg.el (highlight-save-buffer-state): Delete.
1453 Use with-silent-modifications instead.
1454 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1455
4b0df848
SM
1456 * button.el: Handle buttons in display text-properties.
1457 (button--area-button-p, button--area-button-string):
1458 Use (STRING . STRING-POS) representation instead of just STRING.
1459
d46d2d3a
EZ
14602012-12-11 Eli Zaretskii <eliz@gnu.org>
1461
1462 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1463 subdirectory be skipped.
1464
a0099d31
GM
14652012-12-11 Glenn Morris <rgm@gnu.org>
1466
36327e4f
GM
1467 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1468
a0099d31
GM
1469 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1470 Treat preprocessor lines embedded in continuations like comments.
1471 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1472
ff3f6c26
JB
14732012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1474
1475 * calc/calc.el (calc-standard-date-formats): Add more date
1476 formats.
1477 * calc/calc-forms.el (math-parse-iso-date): New function.
1478 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1479 (math-parse-iso-date-validate): Add extra error checking.
1480 (calc-date-notation): Add ability to access new date formats.
1481
ed6f2cd4
SM
14822012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1485 font-lock as well as when there's no text-property.
1486
c868b919
J
14872012-12-10 Jambunathan K <kjambunathan@gmail.com>
1488
1489 * hi-lock.el: Refine the choice of default face.
1490 (hi-lock-keyword->face): New function. Use it wherever we used
1491 cadadadr instead.
1492 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1493 (hi-lock--last-face): Remove var.
1494 (hi-lock--unused-faces): New var to replace it.
1495 (hi-lock-read-face-name): Use/maintain it.
1496 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1497 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1498 if it has another face.
1499
2b8c9064
EZ
15002012-12-10 Eli Zaretskii <eliz@gnu.org>
1501
1502 * subr.el (w32notify-handle-event): New function.
1503 (inotify-handle-event): Doc fix.
1504
81606b10
RS
15052012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1506
1507 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1508
265c2fbf 15092012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1510
1511 * simple.el (just-one-space): Doc fix.
1512
265c2fbf 15132012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1514
c868b919 1515 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1516
265c2fbf 15172012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1518
1519 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1520 narrowed buffer (bug#12361).
1521
265c2fbf 15222012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1523
1524 * vc/vc-hooks.el (vc-state): Doc fix.
1525
265c2fbf 15262012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1527
1528 * mail/rmail.el (rmail-maybe-display-summary):
1529 Preserve buffer, in case select-window changes it. (Bug#13066)
1530
265c2fbf 15312012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1532
1533 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1534 cl-load-hook where they belong.
1535
bad162fd
SM
15362012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1539
ca065258
EZ
15402012-12-09 Eli Zaretskii <eliz@gnu.org>
1541
1542 Parallelize byte compilation on MS-Windows.
1543 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1544 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1545 (WINS_BASIC): Define as concatenation of the above.
1546 (compile): Subdivide into 4 separate and independent jobs that can
1547 be run in parallel.
1548 (compile0-CMD, compile0-SH): New targets for compiling
1549 COMPILE_FIRST files, which are prerequisites for the rest of the
1550 byte-compilation.
bad162fd
SM
1551 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1552 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1553 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1554 compiling under a Unixy shell.
1555
5dea55d2
CY
15562012-12-09 Chong Yidong <cyd@gnu.org>
1557
1558 * simple.el (set-mark-default-inactive): Delete this
1559 accidentally-introduced option.
1560 (set-mark-command, exchange-point-and-mark): Remove calls.
1561
c6c08d3f
GM
15622012-12-09 Glenn Morris <rgm@gnu.org>
1563
1564 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1565 Respect a defcustom's :set function, if appropriate. (Bug#109)
1566 (eval-defun): Doc fix.
1567
858aab4c
JL
15682012-12-08 Juri Linkov <juri@jurta.org>
1569
1570 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1571 (Info-fontify-node, Info-bookmark-make-record): Remove the
1572 file extension from Info-current-file (Bug#13016).
1573
2e4ad7e5
SM
15742012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1577 point, still provide some default.
1578 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1579 names, since we don't use it right now. Actually return the list.
1580 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1581
75498db0
CY
15822012-12-07 Chong Yidong <cyd@gnu.org>
1583
ffe7ba8f
CY
1584 * novice.el (disabled-command-function): Remove a spurious help
1585 xref (Bug#13043). Suggested by Kelly Dean.
1586
454eb095
CY
1587 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1588 syntax is specified (Bug#13025).
1589
75498db0
CY
1590 * info.el (Info-set-mode-line): Remove the file extension from
1591 Info-current-file if there is one (Bug#13016).
1592
13a40633
GM
15932012-12-07 Glenn Morris <rgm@gnu.org>
1594
54c8b5ba
GM
1595 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1596 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1597 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1598 and rmail-mime-decoded. (Bug#9841)
1599
13a40633
GM
1600 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1601 (batch-unrmail, unrmail): Doc fixes.
1602 (unrmail): Respect unrmail-mbox-format.
1603 * mail/rmail.el (rmail-mbox-format): New option.
1604 (rmail-show-message-1): Respect rmail-mbox-format.
1605
4611a3cc
SM
16062012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1609
1812c724
SM
16102012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1611
338bfefa
SM
1612 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1613 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1614 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1615 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1616 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1617 (cl-progv): Don't rely on dynamic scoping to find the body.
1618 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1619 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1620 (cl-declaim): Use backquotes.
1621 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1622 Use "cl--" prefix for the object's tag.
1623
1812c724
SM
1624 * ses.el: Use advice-add/remove.
1625 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1626 (copy-region-as-kill, yank): Use advice-add.
1627 (ses-unload-function): Use advice-remove.
1628
24fc9480
JB
16292012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1630
1631 * button.el: Make them work in header-lines (bug#12817).
1632 (button-map): Add bindings for header-line and mode-line use.
1633 (button-get, button-put, button-label): `button' may now be a string.
1634 (button-activate): Don't make it a defsubst.
1635 (button--area-button-p, button--area-button-string): New functions.
1636 (make-text-button): Fix the return value when `beg' was a string.
1637 (push-button): Handle the mode-line case.
1638
853c1ffc
SM
16392012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1640
93852cb0
SM
1641 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1642 (sql-signum): Remove. Use `cl-signum' instead.
1643 (sql-read-passwd): Remove; use read-passwd instread.
1644 (sql-get-login-ext): Use read-string.
1645 (sql-get-login): Use dolist and pcase.
1646 (sql--completion-table): Rename from sql-try-completion.
1647 Use complete-with-action.
1648 (sql-mode): Don't change abbrev-all-caps globally.
1649 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1650 (sql-postgres-completion-object): Initialize vars in their `let'.
1651 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1652 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1653 (sql-comint-interbase): Use a single append, without setq.
1654 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1655
853c1ffc
SM
1656 * hi-lock.el: Rework the default face and the serialize regexp code.
1657 (hi-lock--auto-select-face-defaults): Remove.
1658 (hi-lock-string-serialize-serial): Remove.
1659 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1660 make weak.
1661 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1662 equal string.
1663 (hi-lock-set-pattern): Adjust accordingly.
1664 (hi-lock--regexps-at-point): Simplify accordingly.
1665 (hi-lock--auto-select-face-defaults): Remove.
1666 (hi-lock--last-face): New var to replace it.
1667 (hi-lock-read-face-name): Rewrite (bug#11095).
1668 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1669
5504e2c7
MA
16702012-12-06 Michael Albinus <michael.albinus@gmx.de>
1671
853c1ffc
SM
1672 * net/tramp.el (tramp-replace-environment-variables):
1673 Hide compiler warning.
5504e2c7
MA
1674 (tramp-file-name-for-operation): Remove `executable-find',
1675 `start-process', `call-process' and `call-process-region'.
1676
853c1ffc 1677 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1678
1679 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1680 compatibility.
1681
1682 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1683
e1d51545
CY
16842012-12-06 Chong Yidong <cyd@gnu.org>
1685
1686 * ffap.el (ffap-replace-file-component): Fix typo.
1687
d8ad4d3f 16882012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1689
1690 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1691 fix open-paren-like token test (bug#12785).
1692
d8ad4d3f 16932012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1694
1695 * mail/rmailsum.el (rmail-new-summary): Tweak for
1696 rmail-maybe-display-summary changing buffer. (Bug#13066)
1697
d8ad4d3f 16982012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1699
1700 * info.el (Info-fontify-node): Don't hide the last newline.
1701 (Bug#12272)
1702
9ad948e2
KY
17032012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1704
1705 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1706 so as to enable message-read-from-minibuffer to expand mail aliases.
1707
4b5c89ee
SM
17082012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1711 the `intangible' property.
1712 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1713
5602a53a
DD
17142012-12-05 Deniz Dogan <deniz@dogan.se>
1715
1716 * net/rcirc.el (rcirc-urls): Update documentation.
1717 (rcirc-condition-filter): New function.
1718 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1719 and exclude consecutive duplicate URLs (Bug#6082).
1720
51b890ac
MA
17212012-12-05 Michael Albinus <michael.albinus@gmx.de>
1722
d5f97f62
MA
1723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1724 Check return code of copy command.
1725
853c1ffc
SM
1726 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1727 Use group `tramp'. Add version.
51b890ac 1728
04b14f2b
CY
17292012-12-05 Chong Yidong <cyd@gnu.org>
1730
a3680194
CY
1731 * ffap.el (ffap-url-regexp): Don't require matching at front of
1732 string (Bug#4952).
1733 (ffap-url-p): If only a substring matches, return that.
1734 (ffap-url-at-point): Use the return value of ffap-url-p.
1735 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1736 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1737 (ffap-guess-file-name-at-point): Likewise.
1738 (ffap-replace-file-component): Fix typo.
1739
04b14f2b
CY
1740 * info.el (info-display-manual): Add existing Info buffers, whose
1741 files may not be in Info-directory-list, to the completion.
1742 (info--manual-names): New helper function.
1743
49596095
GM
17442012-12-05 Glenn Morris <rgm@gnu.org>
1745
1746 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1747 New functions, for detecting and resolving conflicts. (Bug#10709)
1748
b85aec93
J
17492012-12-04 Jambunathan K <kjambunathan@gmail.com>
1750
1751 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1752 (hi-lock-auto-select-face-defaults): New buffer local variable.
1753 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1754 (hi-lock-unface-buffer): Prompt user with useful defaults.
1755 With prefix arg, unhighlight all hi-lock patterns in buffer.
1756
8515507f
SM
17572012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1760
72cebfb7
MA
17612012-12-04 Michael Albinus <michael.albinus@gmx.de>
1762
1763 * Makefile.in (TRAMP_SRC):
1764 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1765
0ec3f7ea
JH
17662012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1767
1768 * net/tramp-adb.el: New package.
1769
770de7cf
CY
17702012-12-04 Chong Yidong <cyd@gnu.org>
1771
ce3e7725
CY
1772 * terminal.el: Move to obsolete/.
1773
770de7cf
CY
1774 * longlines.el: Move to obsolete/.
1775
1776 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1777 Remove code referring to longlines mode.
1778
c38a186c
JL
17792012-12-03 Juri Linkov <juri@jurta.org>
1780
1781 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1782
329bfd64
AM
17832012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1784
1785 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1786 (ispell-start-process, ispell-internal-change-dictionary):
1787 Make sure personal dictionary name is expanded after initial
1788 `default-directory' value. Use expanded strings for
1789 keep/restart checks and for value (Bug#13019).
329bfd64 1790
77a74935
JB
17912012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1792
1793 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1794
c5bc2d1d 17952012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1796
1797 * files.el (dir-locals-read-from-file): Check file non-empty
1798 before reading. (Bug#13038)
1799
c5bc2d1d 18002012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1801
1802 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1803 Remove any version extension before checking filename. (Bug#13006)
1804 (jka-compr-compression-info-list): Belated :version bump.
1805
c5bc2d1d 18062012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1807
8ecba97d
CY
1808 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1809
a5bf43ba
CY
1810 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1811 (buffer-menu): Doc fix (Bug#12294).
1812
c5bc2d1d 18132012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1814
1815 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1816 of diary-show-all-entries in the diary buffer (Bug#12994).
1817
c5bc2d1d 18182012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1819
1820 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1821 "<STDIN>". This is binary safe.
1822
682ceaf8
JB
18232012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1824
1825 * calc/calc-forms.el (math-absolute-from-iso-dt)
1826 (math-date-to-iso-dt, math-parse-iso-date-validate)
1827 (math-iso-dt-to-date): New functions.
1828 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1829 (math-fd-isoweekday): New variables.
1830 (calc-date-notation, math-parse-standard-date, math-format-date)
1831 (math-format-date-part): Add support for more formatting codes.
1832
db47d5e9
DG
18332012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1836 current buffer's file name when called interactively (Bug#12488).
1837
3faf4944
JL
18382012-12-02 Juri Linkov <juri@jurta.org>
1839
1840 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1841 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1842
cb5d51dc
YN
18432012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1844
1845 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1846 before using it for comparison (Bug#5297).
1847
f38cd76e
JA
18482012-12-01 Jari Aalto <jari.aalto@cante.net>
1849
1850 * textmodes/css-mode.el (css-current-defun-name): New function.
1851 (css-mode): Use it.
1852
1853 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1854 (html-mode): Use it.
1855
ba03d0d9
CY
18562012-12-01 Chong Yidong <cyd@gnu.org>
1857
1858 Modularize add-log-current-defun (Bug#2224).
1859 Suggested by Jari Aalto.
1860
1861 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1862 (add-log-current-defun): Move mode-specific code to other files.
1863 (add-log-lisp-like-modes, add-log-c-like-modes)
1864 (add-log-tex-like-modes): Variables deleted.
1865
1866 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1867 (lisp-mode-variables): Use it.
1868
1869 * progmodes/cc-mode.el (c-common-init):
1870 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1871 add-log-current-defun-function.
1872
1873 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1874 (m4-mode): Use it.
1875
1876 * progmodes/perl-mode.el (perl-current-defun-name): New.
1877 (perl-mode): Use it.
1878
853c1ffc
SM
1879 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1880 Use lisp-current-defun-name.
ba03d0d9
CY
1881
1882 * textmodes/tex-mode.el (tex-current-defun-name): New.
1883 (tex-common-initialization): Use it.
1884
1885 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1886 (texinfo-mode): Use it.
1887
92eadba5
CY
18882012-12-01 Chong Yidong <cyd@gnu.org>
1889
1890 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1891 * progmodes/autoconf.el (autoconf-mode):
1892 * progmodes/js.el (js-mode):
1893 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1894 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1895 * progmodes/perl-mode.el (perl-mode):
1896 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1897 * textmodes/css-mode.el (css-mode):
1898 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1899 (sgml-tags-invisible, sgml-guess-indent):
1900 * textmodes/tex-mode.el (tex-common-initialization)
1901 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1902 (doctex-mode, plain-tex-mode, latex-mode):
1903 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1904
3ddbf803
KK
19052012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1906
1907 * vc/vc-hg.el (vc-hg-next-revision):
1908 Ensure use of default "tip" output format. (Bug#6968)
1909
f0b6ae63
KS
19102012-12-01 Kim F. Storm <storm@cua.dk>
1911
1912 * startup.el (fancy-startup-tail): Add a clickable link
1913 (Bug#2176).
1914
c01bf73e
CY
19152012-12-01 Chong Yidong <cyd@gnu.org>
1916
1917 * startup.el (fancy-startup-tail): Improve the message about
1918 auto-save files (Bug#2176).
1919
f0b6ae63
KS
1920 * files.el (recover-session): Improve the descriptive message, and
1921 use substitute-command-keys.
1922
a9400458
GM
19232012-12-01 Glenn Morris <rgm@gnu.org>
1924
1925 * ido.el (ido-file-internal):
1926 Handle other-window, other-frame for dired. (Bug#13036)
1927
fb3bf6ce
GM
19282012-11-30 Glenn Morris <rgm@gnu.org>
1929
1930 * icomplete.el (icomplete-separator): Fix :version.
1931
a813fe3f
CY
19322012-11-30 Chong Yidong <cyd@gnu.org>
1933
1934 * shell.el (shell): For C-u M-x shell, use an inactive shell
1935 buffer as the default (Bug#1975).
276479fd
CY
1936 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1937 (shell-mode): Use them to reapply ansi colorization if Shell mode
1938 is re-enabled.
a813fe3f 1939
a8b733a5
CY
19402012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1941
1942 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1943
6fccd6e8
SB
19442012-11-30 Samuel Bronson <naesten@gmail.com>
1945
1946 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1947 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1948
53c9a337
TT
19492012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1950
1951 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1952 by move-to-column (Bug#3234).
1953
ccf520bb
CY
19542012-11-30 Chong Yidong <cyd@gnu.org>
1955
1956 * longlines.el (longlines-wrap-line, longlines-encode-region):
1957 Preserve text properties (Bug#1425).
1958
171b0949
OT
19592012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1960
1961 * vc/vc.el (vc-register): Allow registering a file which is
1962 already registered with a different backend (Bug#10589).
1963
cc37e70f
J
19642012-11-29 Jambunathan K <kjambunathan@gmail.com>
1965 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * icomplete.el: Change separator; add ido-style commands.
1968 (icomplete-show-key-bindings): Remove custom var.
1969 (icomplete-get-keys): Remove function.
1970 (icomplete-forward-completions, icomplete-backward-completions):
1971 New commands.
1972 (icomplete-minibuffer-map): New var.
1973 (icomplete-minibuffer-setup): Use it.
1974 (icomplete-exhibit): Don't delay if the list of completions is known.
1975 (icomplete-separator): New custom.
1976 (icomplete-completions): Use it.
1977 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1978 (minibuffer-force-complete-and-exit): New command.
1979 (minibuffer--complete-and-exit): New function extracted from
1980 minibuffer-complete-and-exit.
1981 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1982
1983 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1984 error message when the file doesn't exist (bug#12974).
1985
31646597
KD
19862012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1987
1988 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1989
e9df8f87
GM
19902012-11-29 Glenn Morris <rgm@gnu.org>
1991
824eefe4
GM
1992 * files.el (hack-dir-local-variables): Warn if try to set
1993 coding via dir-locals, since it doesn't work. (Bug#7169)
1994
4ad900d9
GM
1995 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1996 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1997 Set buffer-local value of desktop-save-buffer.
1998 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1999 New functions.
2000 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2001 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2002
e9df8f87
GM
2003 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2004 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2005 Doc fix.
2006 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2007 Doc fixes.
2008
e7c8fcc4
JB
20092012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2010
2011 * calc/calc-forms.el (calc-date-notation): Fix regexp
2012 used to find time codes. Fix symbol for seconds.
2013
48d6d9c0
GM
20142012-11-27 Glenn Morris <rgm@gnu.org>
2015
2016 * emacs-lisp/derived.el (derived-mode-make-docstring):
2017 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2018
369f945d
SM
20192012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2022 lexically scoped variables (bug#13005).
2023
5c9cf0a3 20242012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2025
999e745e
GM
2026 * vc/vc-hooks.el (vc-mistrust-permissions):
2027 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2028
5c9cf0a3 20292012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2030
999e745e
GM
2031 * progmodes/python.el (python-indent-guess-indent-offset):
2032 If indentation is guessed make python-indent-offset buffer-local.
2033
207cb73c 2034 Fix Imenu regression.
999e745e
GM
2035 * progmodes/python.el (python-nav-beginning-of-defun):
2036 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2037 (python-imenu-prev-index-position): New function.
2038
5c9cf0a3 20392012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2040
2041 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2042
2043 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2044 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2045
5c9cf0a3 20462012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2047
2048 * hippie-exp.el (hippie-expand-try-functions-list):
2049 Re-autoload it. (Bug#12982)
2050
5c9cf0a3 20512012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2052
369f945d
SM
2053 * descr-text.el (describe-char-padded-string):
2054 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2055
5c9cf0a3 20562012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2057
2058 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2059 and obsoletion message.
2060
5c9cf0a3 20612012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2062
2063 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2064 the constructs to keep outside of the `cl-block' (bug#12977).
2065
5c9cf0a3 20662012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2067
2068 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2069 keep reading until we get the up-event anyway, in order to process
2070 the up-event for mouse-1-click-follows-link (Bug#12971).
2071
848a2dd1
SM
20722012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2075 base function is not yet defined (bug#12965).
2076 (ad-activate-advised-definition): Use ad-compile-function.
2077 (ad-activate): Use cond.
2078
9ad79506
LL
20792012-11-25 Leo Liu <sdl.web@gmail.com>
2080
2081 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2082 (Bug#12979)
2083
e2cb57f5
VB
20842012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2085
2086 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2087 reftex-section-info-function in order to be compatible with
2088 Texinfo integration.
2089
2090 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2091 (reftex-section-post-regexp, reftex-section-info-function):
2092 New variable.
2093 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2094 reftex-section-post-regexp, and reftex-section-info-function in order
2095 to be compatible with Texinfo integration.
2096
2097 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2098 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2099 Texinfo integration.
2100
1c4f115d
CY
21012012-11-25 Chong Yidong <cyd@gnu.org>
2102
2103 * faces.el: Make face-spec-set more analogous to setq.
2104 (face-spec-set): Change the third arg to specify whether this
2105 function is being called via defface, customize, or a third party.
2106 Set the appropriate symbol properties. Clear the override spec if
2107 setting via Custom. Initialize face if necessary. (Bug#4988)
2108 (face-spec-recalc): Allow theme faces to completely replace the
2109 defface spec, in the same way as custom faces (Bug#8454).
2110
2111 * cus-face.el (custom-declare-face): Move face initialization to
2112 face-spec-set.
2113 (custom-theme-set-faces): Don't initialize the face name here, as
2114 that is now done in face-spec-set.
2115
2116 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2117 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2118 Simplify by using the new arg to face-spec-set.
2119
2120 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2121 reset face-override-spec too, and use custom-declare-face.
2122
c2350548
JD
21232012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2124
2125 * term/ns-win.el (ns-initialize-window-system): Move creation of
2126 fontsets here (Bug#11964).
2127
ecfc364c
VB
21282012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2129
2130 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2131 cell renaming.
2132
0917cc54
CY
21332012-11-24 Chong Yidong <cyd@gnu.org>
2134
433212bf
CY
2135 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2136 obsolete.
2137
0917cc54
CY
2138 * custom.el (custom-theme-set-variables): Use a topological sort
2139 for ordering by custom dependencies (Bug#12952).
2140 (custom--sort-vars, custom--sort-vars-1): New functions.
2141
d125ca15 21422012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2143
2144 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2145 lexical-binding (bug#12938).
2146
d125ca15 21472012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2148
2149 * image-mode.el (image-transform-check-size): Use assertions only
2150 for images of type imagemagick.
2151
2152 Otherwise no error, image-transform-fit-to-{width,height} is
2153 silently ignored, as before. Doc fix.
2154
d125ca15 21552012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2156
2157 * faces.el (color-defined-p): Doc fix (Bug#12853).
2158
d125ca15 21592012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2160
2161 * dired.el (dired-mark): Add optional arg `interactive'.
2162 Check for `use-region-p' if `interactive' is non-nil.
2163 (dired-unmark, dired-flag-file-deletion): Add optional arg
2164 `interactive'. Call `dired-mark' with the arg `interactive'.
2165 (Bug#10624)
2166
cc4c01bd
JL
2167 * wdired.el: Revert 2012-10-17 change partly and replace it with
2168 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2169 (wdired-finish-edit): Add marks for new file names to
2170 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2171 after `revert-buffer'.
2172 (wdired-do-renames): Remove calls to `dired-remove-file',
2173 `dired-add-file', `dired-add-entry'. (Bug#11795)
2174
d125ca15 21752012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2176
dc310ed0
AM
2177 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2178
b03aabda
AM
2179 Fix bugs in the state cache. Enhance a debugging mechanism.
2180 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2181 "brace at column zero" strategy for C++.
2182 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2183 (c-parse-state-point): New variable.
2184 (c-record-parse-state-state): Record old parse state with
2185 `copy-tree'. Record previous value of point.
2186 (c-debug-parse-state-double-cons): New debugging function.
2187 (c-debug-parse-state): Call the above new function.
2188 (c-toggle-parse-state-debug): Output a confirmatory message.
2189
002c019c
SM
2190 * progmodes/cc-mode.el (c-before-change, c-after-change):
2191 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2192 `c-after-change'.
2193
930a6273
CY
21942012-11-23 Chong Yidong <cyd@gnu.org>
2195
2196 * find-cmd.el (find-constituents): Add executable, ipath,
2197 readable, samefile, writable, daystart, regextype (Bug#12856).
2198
15c9d04e
SM
21992012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2202
2ecb2679
PE
22032012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2204
2205 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2206 definition. This fixes a bootstrap failure.
a14a5a40
PE
2207 (calc-gregorian-switch): In menu, put dates before regions.
2208 This is easier to follow, lines up better in the menu, and lets us
2209 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2210 names, not "Vatican", as that's better for non-expert users.
2211 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2212 Bohemia and Moravia (which existed then and now) and not
2213 Czechoslovakia (which didn't exist then and doesn't exist now).
2214 What is now the U.S. mostly did not switch at the same time as
2215 Britain, so omit the U.S. Correct spelling of "Britain".
2216 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2217
723da6aa
JB
22182012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2219
2220 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2221 after the variable is changed.
2222
21fa2482
DC
22232012-11-21 Daniel Colascione <dancol@dancol.org>
2224
2225 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2226 in SQL declarations for font-lock.
2227 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2228
3ca2f1bf
GM
22292012-11-21 Glenn Morris <rgm@gnu.org>
2230
1bf335cf
GM
2231 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2232 (face-italic-p): Add optional argument "inherit".
2233
3ca2f1bf
GM
2234 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2235 Remove -p suffix from names, for consistency with other set-face-*.
2236 (set-face-inverse-video): Fix interactive spec.
2237 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2238 * textmodes/table.el (table--update-cell-face):
2239 Use set-face-inverse-video rather than now obsolete alias.
2240
6ef2e5ef 22412012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2242
2243 * simple.el (line-move): Don't call line-move-partial if
2244 scroll-conservatively is in effect. (Bug#12927)
2245
6ef2e5ef 22462012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2247
93b05041
SM
2248 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2249 Fallback on completion-at-point rather than
2250 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2251 (eshell-cmpl-initialize): Setup completion-at-point.
2252
2253 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2254
bc715d67
SM
2255 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2256
6ef2e5ef 22572012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2258
2259 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2260 are remote, check out-of-band property for both.
2261
6ef2e5ef 22622012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2263
2264 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2265 code rewrite.
2266
6ef2e5ef 22672012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2268
535efd4a
PE
2269 More minor time fixes.
2270 * calendar/time-date.el: Commentary fix.
2271 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2272 too much other code depends on (0 0) time stamps.
2273 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2274 Add a couple of FIXME comments.
2275
0c93aa38
PE
2276 Minor cleanup for times as lists of four integers.
2277 * files.el (dir-locals-directory-cache):
2278 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2279 Doc fixes.
2280 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2281 * ps-bdf.el (bdf-file-newer-than-time):
2282 Process four-integers time stamps, not two. Doc fixes.
2283
23ba2705
SM
22842012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2e31777b
SM
2286 * uniquify.el (uniquify-managed): Use defvar-local.
2287 (rename-buffer, create-file-buffer): Advise with advice-add.
2288 (uniquify-unload-function): Unadvise accordingly.
2289
8b62d742
SM
2290 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2291 (trace-buffer): Don't purecopy.
2292 (trace-entry-message, trace-exit-message): Add `context' arg.
2293 (trace--timer): New var.
2294 (trace-make-advice): Adjust for use in nadvice.
2295 Add `context' argument. Delay `display-buffer' via a timer.
2296 (trace-function-internal): Use advice-add.
2297 (trace--read-args): New function.
2298 (trace-function-foreground, trace-function-background): Use it.
2299 (trace-function): Rename to trace-function-foreground and redefine as
2300 an alias to that new name.
2301 (untrace-function, untrace-all): Adjust to the use of nadvice.
2302
5d0ccd95
SM
2303 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2304
3837d988
SM
2305 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2306
23ba2705
SM
2307 * subr.el (called-interactively-p-functions): New var.
2308 (internal--called-interactively-p--get-frame): New macro.
2309 (called-interactively-p, interactive-p): Rewrite in Lisp.
2310 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2311 (called-interactively-p-functions): Use it.
2312 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2313 (called-interactively-p-functions): Use it.
2314 * allout.el (allout-called-interactively-p): Don't assume
2315 called-interactively-p is a subr.
2316
b0636be7
GM
23172012-11-20 Glenn Morris <rgm@gnu.org>
2318
2319 * profiler.el (profiler-report-mode-map): Add a menu.
2320 No need to bind `q' because we derive from special-mode.
2321 (profiler-report-find-entry): Handle calls from the menu-bar.
2322
855b17af
SM
23232012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2324
14146222
SM
2325 * emacs-lisp/byte-run.el (defun-declarations-alist):
2326 Allow a compiler-macro to be a lambda expression.
2327
2328 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2329 eval-when-compile.
2330 (python-syntax-context): Add compiler-macro.
2331 (python-font-lock-keywords): Simplify with De Morgan.
2332
1000d895
SM
2333 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2334
ac5392dc
SM
2335 * files.el (load-file): Require match in minibuffer selection, as was
2336 the case in Emacs-20 before we changed the spec to allow .elc files
2337 (bug#12935).
2338
19dc7206
SM
2339 * json.el: Don't require cl since we don't use it.
2340 * color.el: Don't require cl.
2341 (color-complement): `caddr' -> `nth 2'.
2342
855b17af
SM
2343 * calendar/time-date.el (time-to-seconds): De-obsolete.
2344
e8909bdc
JB
23452012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2346
2347 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2348 year numbers.
2349 (math-date-to-julian-dt): Adjust the initial approximation for the
2350 year to deal with the new definition of the DATE.
2351
6e9f7997
DC
23522012-11-19 Daniel Colascione <dancol@dancol.org>
2353
855b17af
SM
2354 * term/w32-win.el (cygwin-convert-path-from-windows):
2355 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2356
6a3dd257
CY
23572012-11-18 Chong Yidong <cyd@gnu.org>
2358
2359 * filecache.el (file-cache--read-list): New function.
2360 (file-cache-add-directory-list, file-cache-add-file-list)
2361 (file-cache-delete-file-list, file-cache-delete-directory-list):
2362 Use it to read a list of files or directories (Bug#12846).
2363 (file-cache-add-file, file-cache-add-directory)
2364 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2365 (file-cache-delete-directory): Print an message.
2366
eef97f35
JB
23672012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2368
2369 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2370 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2371
913c8291
GM
23722012-11-18 Glenn Morris <rgm@gnu.org>
2373
2374 * image.el (insert-image, insert-sliced-image): Doc fix.
2375
2ac9538d 23762012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2377
2378 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2379 (Bug#12810).
2380
2ac9538d 23812012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2382
2383 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2384 response when the target file is in a subdirectory (Bug#12757).
2385
2ac9538d 23862012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2387
2388 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2389
2ac9538d 23902012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2391
9a5e2ee3
GM
2392 * emacs-lisp/cl-lib.el (face-underline-p):
2393 Use set-face-underline rather than the alias set-face-underline-p.
2394
65463c40 2395 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2396 * subr.el (with-output-to-temp-buffer):
2397 Add doc xref to with-temp-buffer-window.
65463c40 2398
c9ed8e3d
JB
23992012-11-18 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2402 * calc/calc.el (math-format-date-cache): Declare.
2403
310e60d9
PE
24042012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2405
6f6b82d6
PE
2406 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2407 It also uses January 1, 1 AD as its day number 1.
310e60d9 2408 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2409 (math-julian-date-beginning-int): Implement this.
310e60d9 2410
d7fe6352
JB
24112012-11-17 Juanma Barranquero <lekktu@gmail.com>
2412
2413 * descr-text.el (quail-find-key):
2414 * dired.el (desktop-file-name):
2415 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2416 * generic-x.el (comint-mode, comint-exec):
2417 * image-dired.el (widget-forward):
2418 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2419 (speedbar-change-expand-button-char)
2420 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2421 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2422 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2423 (widget-field-action, widget-value-set):
2424 * speedbar.el (imenu--make-index-alist):
2425 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2426 (ring-length, ring-insert):
2427 * vcursor.el (compare-windows-skip-whitespace):
2428 * woman.el (dired-get-filename):
2429 Declare functions.
2430
2431 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2432
c9f618db
JB
24332012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2434
2435 * calc/calc.el (calc-gregorian-switch): New variable.
2436
2437 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2438 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2439 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2440 (math-leap-year-p): Add option to distinguish between Julian
2441 and Gregorian calendars.
2442 (math-day-number): Use `math-day-in-year' to do the computations.
2443 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2444 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2445 to do the computations.
2446 (math-date-to-dt): Use `math-date-to-julian-dt' and
2447 `math-date-to-gregorian-dt' to do the computations.
2448 (calcFunc-weekday, math-format-date-part): Use the new version of
2449 the DATE to determine the weekday.
2450 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2451 when necessary.
2452
3804f7bc
EZ
24532012-11-17 Eli Zaretskii <eliz@gnu.org>
2454
2455 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2456 Cygwin; otherwise use 'file:'. (Bug#12914)
2457 (cygwin-convert-path-from-windows): Declare, to avoid
2458 byte-compiler warnings.
2459
de959d4d
AP
24602012-11-17 Andreas Politz <politza@fh-trier.de>
2461
2462 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2463 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2464 prefix and negative numeric prefix args (Bug#12795).
2465
e45deaef
SB
24662012-11-17 Stephen Berman <stephen.berman@gmx.net>
2467
2468 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2469 Don't signal an error with a score that is too low to add to the
2470 list of top scores. (Bug#12779)
2471
ec15e0ff
CY
24722012-11-17 Chong Yidong <cyd@gnu.org>
2473
8e7696a1
CY
2474 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2475
ec15e0ff
CY
2476 * filecache.el (file-cache-add-file): Handle relative file name in
2477 the argument (Bug#12694).
2478
60c4ee66
JH
24792012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2480
2481 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2482
cdc5d88c
SM
24832012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2484
dd0c5bbb
SM
2485 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2486
cdc5d88c
SM
2487 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2488
0ff7851c
MR
24892012-11-16 Martin Rudalics <rudalics@gmx.at>
2490
2491 * window.el (enlarge-window, shrink-window): Don't mention return
2492 value in doc-string (Bug#12896).
2493 (window--display-buffer): Don't resize frames - it won't work
2494 with all window managers and defeat pop-up-frame-alist.
2495 (display-buffer-alist): In doc-string explain that CONDITION can
2496 be a function and which arguments are passed to it (Bug#12854).
2497 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2498 expressions (Bug#12854).
2499 (display-buffer): Pass ACTION argument to
2500 display-buffer-assq-regexp.
2501
dedd1884
GM
25022012-11-16 Glenn Morris <rgm@gnu.org>
2503
7c82753d
GM
2504 * window.el (fit-frame-to-buffer-bottom-margin)
2505 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2506
dedd1884
GM
2507 * faces.el (face-underline-p): Use face-attribute-specified-or.
2508
96e05507 25092012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2510
2511 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2512
96e05507 25132012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2514
2515 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2516
96e05507 25172012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2518
17c083ac
GM
2519 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2520 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2521
bde3c6c0
GM
2522 * faces.el (face-underline-p): Doc fix. Handle :underline being
2523 things other than `t' (a string, a list).
2524 (face-inverse-video-p): Doc fix.
2525 (set-face-underline): Rename it back from set-face-underline-p.
2526 Doc fix. Allow interactive input of values other than t.
2527 (read-face-attribute): Apply formatting to :underline,
2528 since like :box and :stipple it can take list values.
2529
e2e13f18
GM
2530 * term.el (ansi-term): Don't let C-x escape-char binding
2531 clobber the more standard C-c binding. (Bug#12842)
2532
e0ea8060
GM
2533 * subr.el (set-temporary-overlay-map): Doc fix.
2534
96e05507 25352012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2536
2537 * window.el (record-window-buffer)
2538 (display-buffer-record-window): When copying the markers to
2539 window-point preserve window-point-insertion-type. (Bug#12588)
2540
96e05507 25412012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2542
2543 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2544 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2545 Use new names for hooks rather than obsolete aliases.
2546
faeafc01
DC
25472012-11-15 Daniel Colascione <dancol@dancol.org>
2548
2549 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2550 prefix instead of "file:" so that when FILE-NAME begins with "//",
2551 as it does when the target file is on a network share, url-handler
2552 isn't confused.
2553
1232d6c2
SM
25542012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2557 a preactivated advice from an old advice.el; they're not compatible!
2558
47f01a8a
KY
25592012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2560
2561 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2562 Fix string-spec case.
2563
2564 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2565
a61428c4
SM
25662012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2569 (advice--buffer-local-function-sample): New var.
2570 (advice--set-buffer-local, advice--buffer-local): New functions.
2571 (add-function, remove-function): Use them.
2572
875ce3a7
DA
25732012-11-15 Drew Adams <drew.adams@oracle.com>
2574
2575 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2576
589fc479
SM
25772012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2580 potential binding of print-gensym to t, and prettify (back)quotes in
2581 case they appear in args's default values (bug#12884).
2582
1668ea90
SM
25832012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2586 (advice-eval-interactive-spec): New function.
2587 (advice--make-interactive-form): Support around advice (bug#12844).
2588
8619323f
DG
25892012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2590
2591 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2592 more strict. Add docstring.
c62792e7
DG
2593 (ruby-expression-expansion-re): Extract from
2594 `ruby-match-expression-expansion'.
2595 (ruby-syntax-propertize-function): After everything else, search
2596 for expansions in string literals, mark their insides as
2597 whitespace syntax and save match data for font-lock.
2598 (ruby-font-lock-keywords): Use the 2nd group from expression
2599 expansion matches.
2600 (ruby-match-expression-expansion): Use the match data saved to the
2601 text property in ruby-syntax-propertize-function.
8619323f 2602
9c3912d3
SM
26032012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2606 (bug#12879).
2607
5e9419e8
DG
26082012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2609
2610 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2611 start/end keyword a bit harder. Works with different values of N.
2612 Add more comments.
2613 (ruby-end-of-block): Update accordingly.
2614
3c442f8b
SM
26152012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2616
fa470af0
SM
2617 * woman.el (woman-file-name): Don't mess with unread-command-events
2618 (bug#12861).
2619
3c442f8b
SM
2620 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2621 Remove out of date self-require hack.
2622 (ad-do-advised-functions): Use simple `dolist'.
2623 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2624 (ad-advice-definition): Redefine as functions.
2625 (ad-advice-classes): Move before first use.
2626 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2627 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2628 (ad--defalias-fset): Remove functions.
fa470af0 2629 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2630 (ad-get-orig-definition): Rewrite.
2631 (ad-make-advised-definition-docstring): Change base docstring.
2632 (ad-real-orig-definition): Rewrite.
2633 (ad-map-arglists): Change name of called function.
2634 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2635 (ad-make-advised-definition): Simplify.
2636 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2637 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2638 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2639 function and call ad-activate if needed.
2640 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2641 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2642 (ad-compile-function): Compile ad-Advice-*.
2643 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2644 (ad-start-advice, ad-stop-advice): Remove.
2645
5745cae6
DG
26462012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2647
2648 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2649 period before class method names, not after. Remove handling of
2650 one impossible case. Add comments.
2651
413d4689
SM
26522012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2653
7db1bda8
SM
2654 * emacs-lisp/advice.el: Remove support for freezing.
2655 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2656 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2657 Remove support for `freeze'.
2658
413d4689
SM
2659 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2660 override the default.
2661 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2662 cl--dotimes/dolist.
2663 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2664 `cl' is loaded.
2665
2666 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2667 from add-advice.
2668 (advice--strip-macro): New function.
2669 (advice--defalias-fset): Use them to handle macros.
2670 (advice-add): Use them.
2671 (advice-member-p): Correctly handle macros.
2672
f178c32d
DG
26732012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2674
7db1bda8
SM
2675 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2676 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2677
f78ee6af 26782012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2679
2680 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2681
f78ee6af 26822012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2683
2684 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2685 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2686 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2687
f78ee6af 26882012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2689
2690 Fix end-of-defun misbehavior.
2691 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2692 python-beginning-of-defun-function. Handle nested defuns
2693 correctly.
2694 (python-nav-end-of-defun): Rename from
2695 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2696 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2697 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2698 parent defuns as soon as possible.
2699
f78ee6af 27002012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2701
2702 * progmodes/flymake.el (flymake-error-bitmap)
2703 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2704 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2705
f78ee6af 27062012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2707
2708 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2709 backward, always stop at indentation. Reverts the change from
2710 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2711
f78ee6af 27122012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2713
a1d3e07e
GM
2714 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2715 Add ibuffer-filter-by-derived-mode.
2716
84acf328
GM
2717 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2718 the same name shadowing each other.
2719
38785e75
GM
2720 * window.el (with-temp-buffer-window): Doc tweak.
2721
57fc0fee
GM
2722 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2723
6ba6a3e5
GM
2724 * help.el (temp-buffer-max-height):
2725 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2726 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2727
231d8498
SM
27282012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/nadvice.el: New package.
2731 * subr.el (special-form-p): New function.
2732 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2733 (elp-all-instrumented-list): Remove var.
2734 (elp-not-profilable): Remove elp-wrapper.
2735 (elp-profilable-p): Use autoloadp and special-form-p.
2736 (elp--advice-name): New const.
2737 (elp-instrument-function): Use advice-add.
2738 (elp--instrumented-p): New predicate.
2739 (elp-restore-function): Use advice-remove.
2740 (elp-restore-all, elp-reset-all): Use mapatoms.
2741 (elp-set-master): Use elp--instrumented-p.
2742 (elp--make-wrapper): Rename from elp-wrapper, return a function
2743 suitable for advice-add. Use cl-inf.
2744 (elp-results): Use mapatoms+elp--instrumented-p.
2745 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2746 (debug-function-list): Remove var.
2747 (debug): Rename arg, and then let-bind it explicitly inside.
2748 (debugger-setup-buffer): Rename arg.
2749 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2750 (debugger-frame-number): Adjust to new debug-on-entry setup.
2751 (debug--implement-debug-on-entry): Rename from
2752 implement-debug-on-entry, add argument.
2753 (debugger-special-form-p): Remove, use special-form-p instead.
2754 (debug-on-entry): Use advice-add.
2755 (debug--function-list): New function.
2756 (cancel-debug-on-entry): Use it, along with advice-remove.
2757 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2758 (debugger-list-functions): Use debug--function-list instead of
2759 debug-function-list.
2760 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2761 (ad-special-form-p): Remove, use special-form-p instead.
2762 (ad-set-advice-info): Use add-function and remove-function.
2763 (ad--defalias-fset): Adjust accordingly.
2764
19e09879
GM
27652012-11-10 Glenn Morris <rgm@gnu.org>
2766
714cebd1
GM
2767 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2768 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2769 (report-emacs-bug-create-existing-bugs-buffer)
2770 (report-emacs-bug-parse-query-results)
2771 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2772
bf67dafa
GM
2773 * term.el (term-default-fg-color, term-default-bg-color):
2774 Make obsolete, rather than just saying "deprecated" in the doc.
2775
19e09879
GM
2776 * term.el (term): Rename from `term-face'.
2777 (term-current-face, ansi-term-color-vector)
2778 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2779 Update all users.
2780
6baf66d5 27812012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2782
2783 * server.el (server-create-window-system-frame): Handle Nextstep
2784 specially (Bug#12780).
2785
6baf66d5 27862012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2787
2788 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2789 Unautoload, and make obsolete. (Bug#7449)
2790
6baf66d5 27912012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2792
2793 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2794 rename from diff-remove-trailing-whitespace (Bug#12831).
2795
6baf66d5 27962012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2797
2798 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2799 miscompilation of trace.el.
2800
6baf66d5 28012012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2802
2803 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2804
6baf66d5 28052012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2806
2807 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2808 (bug#12812).
2809
6baf66d5 28102012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2811
2812 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2813 a defcustom with an appropriate :set function.
2814 (minibuffer-default--in-prompt-regexps): New function.
2815
6baf66d5 28162012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2817
031b2ea7
GM
2818 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2819 (define-modify-macro): Doc fixes.
2820
2ee1d59f
GM
2821 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2822 (gv-define-simple-setter): Update doc of `fix-return'.
2823
6baf66d5 28242012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2825
b715ed44
SM
2826 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2827 twice when `fix-return' is set (bug#12813).
2828
d57c286e
SM
2829 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2830 gv-define-simple-setter (bug#12812).
2831
c9cac599
SM
2832 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2833 (bug#12756).
2834
6baf66d5 28352012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2836
2837 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2838
5593ed90
GM
2839 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2840 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2841 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2842 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2843
2844 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2845
05a859c1
LL
28462012-11-10 Leo Liu <sdl.web@gmail.com>
2847
2848 * ido.el (ido-set-matches-1): Improve flex matching performance by
2849 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2850
32e5c58c
SM
28512012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2854 (ad--defalias-fset): New function.
2855 (ad-safe-fset): Remove.
2856 (ad-make-freeze-definition): Use cl-letf*.
2857
f5925cd9
SM
28582012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2859
da03ef8a
SM
2860 * subr.el (dolist): Don't bind VAR in RESULT.
2861
6858633a
SM
2862 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2863 (fset, documentation): Don't save real def since we don't advise.
2864 (ad-do-advised-functions): Remove problematic `result-form'.
2865 (ad-safe-fset): `ad-real-fset' => `fset'.
2866 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2867 uses CL's dolist internally.
2868 (ad-arglist): Remove unused arg `name'.
2869 (ad-docstring, ad-make-advised-docstring):
2870 `ad-real-documentation' => `documentation'.
2871 (warning-suppress-types): Declare.
2872 (ad-set-arguments): Simple CSE.
2873 (ad-recover-normality): Sanity check.
2874
f5925cd9
SM
2875 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2876 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2877
93a66b3a
VB
28782012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2879
2880 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2881 `ses-cell'. This means that the same mapping is done for all SES
2882 sheets. That is good enough for cells with standard A1 names, but
2883 not for named cell. So a hash map is added for the latter.
2884 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2885 (ses-sym-rowcol): Use hashmap for named cell.
2886 (ses-is-cell-sym-p): New defun.
2887 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2888 (ses-create-cell-variable): Add cell to hashmap when name is not
2889 A1-like.
93a66b3a
VB
2890 (ses-rename-cell): Check that cell new name is not already in
2891 spreadsheet with the use of ses-is-cell-sym-p
2892 (ses-rename-cell): Use hash map for named cells, but accept also
2893 renaming back to A1-like.
2894
67dd8ad1
SM
28952012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2896
57618ecf
SM
2897 * emacs-lisp/advice.el: Use new dynamic docstrings.
2898 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2899 Use dynamic-docstring-function instead of ad-advice-info.
2900 (ad--make-advised-docstring): New function extracted from
2901 ad-make-advised-docstring.
2902 (ad-make-advised-docstring): Use it.
2903 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2904 from sql-help.
2905 (sql-help): Use it with dynamic-docstring-function.
2906
67dd8ad1
SM
2907 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2908
be883b34
SM
29092012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2910
d41706aa
SM
2911 * files.el (hack-one-local-variable--obsolete): New function.
2912 (hack-one-local-variable): Use it for obsolete settings.
2913
85e55412
SM
2914 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2915 the new name.
2916
be883b34
SM
2917 * progmodes/js.el (js--filling-paragraph): New var.
2918 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2919 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2920 less sneaky.
2921
cabc040a
JD
29222012-11-08 Julien Danjou <julien@danjou.info>
2923
2924 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2925 `auto-mode-alist' (Bug#12835).
2926
d14bb752
SM
29272012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2928
79b3e376
SM
2929 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2930 (perl--prettify-symbols-alist): New const.
2931 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2932 New functions.
2933 (perl-font-lock-keywords-2): Use them.
2934 (perl-electric-noindent-p): New function.
2935 (perl-mode): Use it to set up electric-indent-mode.
2936 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2937 (perl-mode-map): Remove bindings for them.
2938 (perl-imenu-generic-expression, perl-outline-level):
2939 Match functions&packages in column>0.
2940
3b11e6ac
SM
2941 * env.el (env--substitute-vars-regexp): New const.
2942 (substitute-env-vars): Use it. Add `only-defined' arg.
2943 * net/tramp.el (tramp-replace-environment-variables): Use it.
2944
784c1a7b
SM
2945 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2946 Byte-compile *before* eval in eval-and-compile.
2947 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2948 (byte-compile-file-form-autoload): Don't hide actual definition.
2949 (byte-compile-maybe-guarded): Accept `functionp' as well.
2950
d14bb752
SM
2951 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2952
499a0f7a
MA
29532012-11-07 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * notifications.el (notifications-get-server-information-method):
2956 New defconst.
2957 (notifications-get-capabilities): Fix docstring.
2958 (notifications-get-server-information): New defun.
2959
f0704a9a
AM
29602012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2961
2962 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2963 readability.
2964
b159a1fd
AM
2965 * textmodes/ispell.el: Experimental support for support debugging.
2966 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2967 buffer for ispell.
2968 (ispell-print-if-debug): New function to print stuff to
2969 `ispell-debug-buffer' if debugging is enabled.
2970 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2971 show some debugging info.
2972 (ispell-buffer-with-debug): New function that creates a debugging
2973 buffer and calls `ispell-buffer' with debugging enabled.
2974
056cb3a1
AM
2975 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2976 comment in autoconf mode. (Bug#12768)
2977
8e6a67b7
DA
29782012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2979
2980 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2981 frame-first-window, frame-root-window, frame-selected-window,
2982 minibuffer-selected-window, minibuffer-window,
2983 window-absolute-pixel-edges, window-at, window-body-height,
2984 window-body-width, window-display-table, window-combination-limit,
2985 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2986 window-inside-edges, window-inside-pixel-edges, window-left-child,
2987 window-left-column, window-margins, window-next-buffers,
2988 window-next-sibling, window-new-normal, window-new-total,
2989 window-normal-size, window-parameter, window-parameters, window-parent,
2990 window-pixel-edges, window-point, window-prev-buffers,
2991 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2992 window-start, window-text-height, window-top-child, window-top-line,
2993 window-total-height, window-total-width and window-use-time to the list
2994 of functions without side-effects.
2995 (toplevel): Add window-valid-p to the list of error-free functions
2996 without side-effects.
2997
53fc914f
AM
29982012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2999
f5925cd9
SM
3000 * textmodes/ispell.el (ispell-program-name):
3001 Update spellchecker parameters when customized.
53fc914f 3002
9749e2b0
GM
30032012-11-04 Glenn Morris <rgm@gnu.org>
3004
3005 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3006
2cbafa56
CY
30072012-11-04 Chong Yidong <cyd@gnu.org>
3008
3009 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3010 same-window-* variables.
3011
85178ca1
JL
30122012-11-04 Juri Linkov <juri@jurta.org>
3013
3014 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3015 (isearch-describe-key, isearch-describe-mode): Use a display
3016 action instead of binding same-window-* variables (Bug#10040).
3017
5c677d44
GM
30182012-11-03 Glenn Morris <rgm@gnu.org>
3019
49138400
GM
3020 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3021 Rename handler properties back from cl-- to cl-. (Bug#12788)
3022
5c677d44
GM
3023 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3024
1d4341f9
EZ
30252012-11-03 Eli Zaretskii <eliz@gnu.org>
3026
3027 * term/pc-win.el: Don't load term/internal from here.
3028
3029 * loadup.el: Load term/internal from here.
3030
12fd5ee1
FEG
30312012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3032
3033 * progmodes/python.el (inferior-python-mode): Fix hang in
3034 jit-lock (Bug#12645).
3035
43bcfda6
MR
30362012-11-03 Martin Rudalics <rudalics@gmx.at>
3037
3038 * window.el (switch-to-visible-buffer)
3039 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3040
376a8e83
GM
30412012-11-03 Glenn Morris <rgm@gnu.org>
3042
3043 * emacs-lisp/cl-lib.el (cl--random-time):
3044 Rename from cl-random-time. (Bug#12773)
3045 (cl--gensym-counter, cl--random-state): Update callers.
3046 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3047
0f7b074f
CY
30482012-11-03 Chong Yidong <cyd@gnu.org>
3049
3050 * cus-start.el: Make cursor-type customizable (Bug#11633).
3051
3a6851d9
GM
30522012-11-02 Glenn Morris <rgm@gnu.org>
3053
00a3b041
GM
3054 * filecache.el: No need to load find-lisp when compiling.
3055 (find-lisp-find-files): Autoload it.
3056 (file-cache-add-directory-recursively): Don't require find-lisp.
3057
11fef14a
GM
3058 * image.el (image-type-from-file-name): Trivial simplification.
3059
3a6851d9
GM
3060 * emacs-lisp/bytecomp.el (byte-compile-eval):
3061 Decouple "noruntime" and "cl-functions" warnings.
3062
b4b096e4
SB
30632012-11-01 Stephen Berman <stephen.berman@gmx.net>
3064
3065 * play/gomoku.el (gomoku-display-statistics): Update mode line
3066 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3067
218e997a
MR
30682012-10-31 Martin Rudalics <rudalics@gmx.at>
3069
3070 * window.el (quit-restore-window): If the window has been
3071 created on an existing frame and ended up as the sole window on
3072 that frame, do not delete it (Bug#12764).
3073
b08b6da7
SM
30742012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3618df45
SM
3076 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3077 Rename from sh--inside-arithmetic-expression, handle more cases
3078 (bug#11263).
3079
b08b6da7
SM
3080 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3081 (sh-font-lock-open-heredoc): Use it (bug#12770).
3082
4ddedf94
GM
30832012-10-30 Glenn Morris <rgm@gnu.org>
3084
f43a5263
GM
3085 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3086
4ddedf94
GM
3087 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3088
748b0d84
CY
30892012-10-29 Chong Yidong <cyd@gnu.org>
3090
b5dd9a77
CY
3091 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3092 function key is stored in a keyboard macro (Bug#4894).
3093
748b0d84
CY
3094 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3095
e07fcbdc
SM
30962012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3097
d7f9cc85
SM
3098 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3099 header comments".
3100 (diff-unified->context, diff-context->unified)
3101 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3102
c606253c
SM
3103 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3104
e07fcbdc
SM
3105 * files.el (find-alternate-file): Only ask one question (bug#12487).
3106
894b9dd9
CY
31072012-10-29 Chong Yidong <cyd@gnu.org>
3108
1dc2755a
CY
3109 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3110 Suggested by Dan Nicolaescu (Bug#6326).
3111
329c48d8
CY
3112 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3113
2230fa5b 3114 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3115
e84cad57
CY
3116 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3117
1913c5f5
CY
3118 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3119
894b9dd9
CY
3120 * face-remap.el (face-remap-add-relative): Handle the case where a
3121 face-remapping-alist entry is a cons cell (Bug#12762).
3122
329c48d8
CY
31232012-10-29 Kevin Ryde <user42@zip.com.au>
3124
3125 * woman.el (woman-parse-numeric-value): Handle picas correctly
3126 (Bug#12639).
3127
a0ccbcbd
GM
31282012-10-29 Glenn Morris <rgm@gnu.org>
3129
3130 * emacs-lisp/cl.el (defsetf): Doc fix.
3131
b3871e59
SM
31322012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3135 syntax to the matching opener, if any (bug#12547).
3136 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3137 matching open as a "case-(".
3138 (sh-smie-rc-grammar): Add a corresponding rule for it.
3139
cd44022c
DH
31402012-10-28 Daniel Hackney <dan@haxney.org>
3141
3142 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3143 "PKGNAME-autoloads.el" in case we created it.
3144
70edffb1
SM
31452012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3146
86957a0c
SM
3147 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3148 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3149 (completion--twq-all): Disable too-strict assertions.
86957a0c 3150
70edffb1
SM
3151 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3152
d069271c
EZ
31532012-10-27 Eli Zaretskii <eliz@gnu.org>
3154
3155 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3156 text to match the real keybindings.
3157
e2f022a3
JL
31582012-10-27 Juri Linkov <juri@jurta.org>
3159
3160 * wdired.el (wdired-keep-marker-rename): New defcustom.
3161 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3162 (Bug#11795)
3163
3164 * dired.el (dired-keep-marker-rename): Add reference to
3165 `wdired-keep-marker-rename' in the docstring.
3166 Add default character value ?R to display initially in
3167 Customization UI instead of ?@.
3168
df171c23
MR
31692012-10-27 Martin Rudalics <rudalics@gmx.at>
3170
3171 * window.el (display-buffer): In doc-string describe
3172 window-height and window-width alist entries.
3173
3174 * time.el (display-time-world): Restore fit-window-to-buffer
3175 behavior.
3176
05b621a6
CY
31772012-10-27 Chong Yidong <cyd@gnu.org>
3178
3179 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3180
55f197b2
J
31812012-10-26 Jambunathan K <kjambunathan@gmail.com>
3182
3183 * minibuffer.el (completion-category-overrides): New completion
3184 category `bookmark' (bug#11131).
3185
372212df
SM
31862012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3187
150f809c
SM
3188 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3189 Silence bogus compiler warnings for ad-do-it.
3190
372212df
SM
3191 * bookmark.el (bookmark-completing-read): Set the completion category
3192 to `bookmark' (bug#11131).
3193
c5772569
B
31942012-10-26 Bastien <bzg@altern.org>
3195 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * face-remap.el: Use lexical-binding.
3198 (text-scale-adjust): Improve docstring. Use itself for the temporary
3199 overlay-map bindings, so as to repeat the "Use..." message each time.
3200
a2be0357
SM
32012012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3202
63314e57
SM
3203 * emacs-lisp/macroexp.el (macroexp--expand-all):
3204 Obey byte-compile-warning-enabled-p (bug#12486).
3205
a2be0357
SM
3206 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3207 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3208
8c7727c3
MR
32092012-10-26 Martin Rudalics <rudalics@gmx.at>
3210
3211 * mouse.el (mouse-drag-line): Move last form into preceding when
3212 clause (Bug#12731).
3213
3214 * help.el (resize-temp-buffer-window): Fix doc-string.
3215
3f2a848d
DE
32162012-10-25 David Engster <deng@randomsample.de>
3217
3218 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3219 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3220
3221 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3222 always loaded. Require `speedbar' unconditionally.
3223
a7723be6
SM
32242012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3225
aaabfc8b
SM
3226 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3227
414a8595
SM
3228 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3229
fb5b9475
SM
3230 * net/ldap.el (ldap-search-internal): The official ldif format starts
3231 with a "version: 1" header (bug#12724).
3232
a7723be6
SM
3233 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3234 (bug#12721).
3235
a05cb6e3
GM
32362012-10-25 Glenn Morris <rgm@gnu.org>
3237
3238 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3239
3c92de70
SM
32402012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * minibuffer.el (minibuffer-force-complete): Use one more marker
3243 for the temporary-overlay-map command (bug#12619).
3244
a4b6d7c6
CY
32452012-10-24 Chong Yidong <cyd@gnu.org>
3246
3247 * time.el (display-time-world-mode): Derive from special-mode.
3248 (display-time-world): Use display-buffer (Bug#12708).
3249 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3250 (display-time-world-display): Wrap the final delete-char inside
3251 inhibit-read-only.
a4b6d7c6 3252
75e8f9d2
CY
32532012-10-24 Chong Yidong <cyd@gnu.org>
3254
cd996018
CY
3255 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3256 Doc fix.
3257
75e8f9d2
CY
3258 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3259
d92df117
SM
32602012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * minibuffer.el (completion--all-sorted-completions-location): New var.
3263 (completion--cache-all-sorted-completions)
3264 (completion--flush-all-sorted-completions): Use it.
3265 (completion-in-region, completion-in-region--postch)
3266 (completion-at-point, completion-help-at-point): Use markers in
3267 completion-in-region--data (bug#12619).
3268
9c3e39f3
SM
32692012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3270
c79825bd
SM
3271 * progmodes/compile.el (compilation-start): Try to handle common
3272 quoting of `cd' argument (bug#12640).
3273
9c3e39f3
SM
3274 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3275 (bug#12671).
3276
a6709bc7
GM
32772012-10-23 Glenn Morris <rgm@gnu.org>
3278
3279 * progmodes/gud.el (gud-menu-map):
3280 Check gdb-active-process is bound. (Bug#12358)
3281
d1069532
SM
32822012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3283
d20d69c0
SM
3284 * repeat.el (repeat): Set real-this-command (bug#12232).
3285
d1069532
SM
3286 * htmlfontify.el (hfy-post-html-hook):
3287 * filesets.el (filesets-cache-fill-content-hook):
3288 * arc-mode.el (archive-extract-hook):
3289 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3290 * net/rcirc.el (rcirc-sentinel-functions)
3291 (rcirc-receive-message-functions, rcirc-activity-functions)
3292 (rcirc-print-functions):
3293 * net/dbus.el (dbus-event-error-functions):
3294 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3295 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3296 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3297 * term/sun.el (sun-raw-prefix-hooks):
3298 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3299
f7eac6d8
MA
33002012-10-23 Michael Albinus <michael.albinus@gmx.de>
3301
d1069532
SM
3302 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3303 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3304 (tramp-smb-wait-for-output): Add timeout to
3305 `tramp-accept-process-output' calls.
3306
608d9d7c
CY
33072012-10-23 Chong Yidong <cyd@gnu.org>
3308
49238e7f
CY
3309 * faces.el (font-list-limit): Define as an obsolete variable.
3310
3311 * startup.el (command-line):
3312 * cus-start.el: Don't refer to font-list-limit.
3313
608d9d7c
CY
3314 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3315
4ff5b1b2
SM
33162012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * subr.el (internal-temp-output-buffer-show): Rename from
3319 temp-output-buffer-show, since previously compiled files expect this name.
3320
ea1d4aac
GM
33212012-10-23 Glenn Morris <rgm@gnu.org>
3322
3323 * image.el (image-type-from-file-name): If multiple types match,
3324 return the first one that is supported. (Bug#9045)
3325
eda82a31
GM
33262012-10-22 Glenn Morris <rgm@gnu.org>
3327
3328 * image.el (imagemagick-enabled-types): Doc fix.
3329
4f020bec
TA
33302012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3331
3332 * progmodes/which-func.el (which-func-current): The hash-table may have
3333 an explicit nil (bug#12338).
3334
c77d37e2
SM
33352012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * electric.el (electric-pair-delete-selection-self-insert-function):
3338 Rename to electric-pair-will-use-region, return a boolean.
3339 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3340
3341 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3342 (delete-selection-pre-hook): Use use-region-p.
3343 (delete-selection-self-insert-function): Remove.
3344 (self-insert-command): Obey self-insert-uses-region-functions.
3345 (self-insert-iso): Revert to previous setting, since we don't actually
3346 know what that command does.
3347 (delete-selection-self-insert-hooks): Remove.
3348
b1d39ccc
SL
33492012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3350
3351 * delsel.el (delete-selection-helper): New function, extracted from
3352 delete-selection-pre-hook.
3353 (delete-selection-pre-hook): Use it.
3354 (delete-selection-self-insert-function): New function.
3355 (delete-selection-self-insert-hooks): New hook.
3356 (self-insert-command, self-insert-iso): Use it.
3357 * electric.el (electric-pair-syntax): New function, extracted from
3358 electric-pair-post-self-insert-function.
3359 (electric-pair-post-self-insert-function): Use it.
3360 (electric-pair-delete-selection-self-insert-function): New function.
3361 (electric-pair-mode): Require delsel and setup
3362 delete-selection-self-insert-hooks (bug#11520).
3363
045ef729
CY
33642012-10-20 Chong Yidong <cyd@gnu.org>
3365
4c5d08a8
CY
3366 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3367 no changes to show (Bug#12586).
3368
045ef729
CY
3369 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3370 list explicitly (Bug#12571).
3371
3503c798 33722012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3373
b1d39ccc
SL
3374 * progmodes/flymake.el (flymake-create-temp-inplace):
3375 Use file-truename.
79e1997a 3376
2068905b
EZ
33772012-10-20 Eli Zaretskii <eliz@gnu.org>
3378
3379 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3380
4c9e9550
JB
33812012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3382
3383 * calc/calc-units.el (math-extract-units): Properly extract powers
3384 of units.
3385
1a6e7e38
DC
33862012-10-20 Daniel Colascione <dancol@dancol.org>
3387
3388 * frame.el (make-frame): Set x-display-name as we used to in order
3389 to unbreak creating an X11 frame from an Emacs daemon started
3390 without a display.
3391
8e808318
SM
33922012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3395 the same completion-field (bug#12221).
8e808318 3396
fb0104da
MR
33972012-10-19 Martin Rudalics <rudalics@gmx.at>
3398
3399 * emacs-lisp/debug.el (debug): Record height of debugger window
3400 also when debugger will be back (Bug#8789).
3401
8c27235e
CY
34022012-10-18 Chong Yidong <cyd@gnu.org>
3403
3404 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3405 Convert to defcustom.
3406 (gdb-get-source-file): Don't bind pop-up-windows.
3407
3408 * progmodes/gud.el (gud-display-line): Don't specially re-use
3409 other frames for the gdb-mi case (Bug#12648).
3410
90eacf99
SM
34112012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3412
aaf0c300
SM
3413 * emacs-lisp/advice.el: Clean up commentary a bit.
3414 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3415 (byte-code-function-p): Never redefine.
3416
90eacf99
SM
3417 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3418
281c9d2b
GM
34192012-10-18 Glenn Morris <rgm@gnu.org>
3420
40714e3d
GM
3421 * dired.el (dired-sort-toggle): Some ls implementations only allow
3422 a single option string. (Bug#12666)
3423
281c9d2b
GM
3424 * minibuffer.el (completion-cycle-threshold): Doc fix.
3425
b278604e
KH
34262012-10-17 Kenichi Handa <handa@gnu.org>
3427
90eacf99
SM
3428 * international/mule.el (set-keyboard-coding-system):
3429 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3430 Supply TERMINAL arg to set-input-meta-mode.
3431
df171c23 34322012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3433
3434 * wdired.el (wdired-old-marks): New variable.
3435 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3436 (wdired-do-renames): Move point with renamed file and don't lose
3437 mark status (Bug#11795).
3438
e5a94ec4
JL
34392012-10-16 Juri Linkov <juri@jurta.org>
3440
3441 * replace.el (query-replace-help): Mention multi-buffer replacement
3442 keys in the Help message. (Bug#12655)
3443
d18a0d24
CY
34442012-10-15 Chong Yidong <cyd@gnu.org>
3445
3446 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3447
8111f5e6
EZ
34482012-10-14 Eli Zaretskii <eliz@gnu.org>
3449
7b9abf24
EZ
3450 * window.el (display-buffer): Doc fix.
3451
8111f5e6
EZ
3452 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3453 Adjust the msft regexp to the output of Studio 2010, and move msft
3454 before edg-1. See the discussion on emacs-devel,
3455 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3456 for the details.
3457
5046ef67
SM
34582012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3459
9760c73c
SM
3460 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3461 (oset): Move uses of object-class-fast macro after its definition.
3462
5046ef67
SM
3463 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3464
0d11ff1c
CY
34652012-10-13 Chong Yidong <cyd@gnu.org>
3466
3467 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3468 enabled, re-enable it (Bug#11963).
3469
88ded8ac
MR
34702012-10-13 Martin Rudalics <rudalics@gmx.at>
3471
3472 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3473 non-nil, restore window configuration (Bug#12623).
3474
bd0ffffd
SM
34752012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3476
06485aa8
SM
3477 * help-fns.el (describe-variable, describe-function-1):
3478 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3479
bd0ffffd
SM
3480 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3481
3a989246
GM
34822012-10-12 Glenn Morris <rgm@gnu.org>
3483
3484 * mail/rmailsum.el (rmail-header-summary):
3485 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3486
55cd00c8
FEG
34872012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3488
bd0ffffd
SM
3489 * progmodes/python.el (python-mode-map):
3490 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3491 (python-nav--up-list): Fix behavior for blocks on the same level.
3492
ac9fc2c7
SM
34932012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3494
d8cc4c00 3495 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3496
5253a5fd
SM
3497 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3498 changes to the format of load-history.
3499
ac9fc2c7
SM
3500 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3501 completion-ignore-case in case that var is buffer-local (bug#12615).
3502
cde44a77
KH
35032012-10-11 Kenichi Handa <handa@gnu.org>
3504
3505 * international/eucjp-ms.el: Re-generated.
3506
4ef4a10d
KH
35072012-10-10 Kenichi Handa <handa@gnu.org>
3508
3509 * select.el (xselect--encode-string): If a coding is specified for
3510 selection, and that is compatible with COMPOUND_TEXT, use it.
3511
9d7f027b
MR
35122012-10-10 Martin Rudalics <rudalics@gmx.at>
3513
3514 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3515 (switch-to-buffer):
3516 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3517
238f3a58
SM
35182012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3521 Don't document nil as a useful value (bug#12583).
3522
1d51f99c
MA
35232012-10-09 Michael Albinus <michael.albinus@gmx.de>
3524
238f3a58
SM
3525 * net/tramp.el (tramp-debug-message):
3526 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3527 (with-tramp-progress-reporter): Rename from
3528 `tramp-with-progress-reporter'.
238f3a58
SM
3529 (with-tramp-file-property, with-tramp-connection-property):
3530 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3531 `with-connection-property', respectively.
3532
3533 * net/tramp-cache.el: Remove `with-file-property' and
3534 `with-connection-property'.
3535
3536 * net/tramp.el:
3537 * net/tramp-gvfs.el:
3538 * net/tramp-sh.el:
3539 * net/tramp-smb.el: Adapt callees.
3540
3541 * net/trampver.el: Update release number.
3542
26b77251
GM
35432012-10-09 Glenn Morris <rgm@gnu.org>
3544
9a5f296f
GM
3545 * w32-fns.el (set-message-beep):
3546 * term/w32-win.el (set-message-beep): Update declarations.
3547
94c66ce5
SM
35482012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3549
10766e9e
SM
3550 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3551 (mode-line-widen, mode-line-input-method-map)
3552 (mode-line-coding-system-map, mode-line-remote)
3553 (mode-line-unbury-buffer, mode-line-bury-buffer)
3554 (mode-line-next-buffer, mode-line-previous-buffer):
3555 Replace save-selected-window+select-window => with-selected-window.
3556
f754db08
SM
3557 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3558 * progmodes/cc-vars.el (bq-process): Remove, unused.
3559
94c66ce5
SM
3560 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3561
a4ff7fe1
FEG
35622012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3563
3564 Implemented `backward-up-list'-like navigation.
3565 * progmodes/python.el (python-nav-up-list)
3566 (python-nav-backward-up-list): New functions.
3567 (python-mode-map): Define substitute key for backward-up-list to
3568 python-nav-backward-up-list.
3569
24517d82
FEG
35702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3571
3572 * progmodes/python.el (python-fill-paragraph): Rename from
3573 python-fill-paragraph-function. Fixed fill-paragraph for
3574 decorators (Bug#12605).
3575
51867ae2
FEG
35762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3577
3578 * progmodes/python.el (python-shell-output-filter): Handle extra
3579 carriage return in OSX (Bug#12409).
3580
a5b773c4
FEG
35812012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3582
3583 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3584 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3585 (python-syntax-propertize-function): Use it.
3586 (python-shell-output-syntax-table): New var.
3587 (inferior-python-mode): Prevent unbalanced parens/quotes from
3588 previous output mess with current input context.
3589
13373538
JB
35902012-10-08 Juanma Barranquero <lekktu@gmail.com>
3591
3592 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3593 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3594
775a132d
MA
35952012-10-08 Michael Albinus <michael.albinus@gmx.de>
3596
3597 * ffap.el (ffap-replace-file-component): Support Tramp file name
3598 syntax, not only ange-ftp's one.
3599
3ab44929
GM
36002012-10-08 Glenn Morris <rgm@gnu.org>
3601
57f1dee4
GM
3602 * cus-start.el (message-log-max): Set :version.
3603
3ab44929
GM
3604 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3605
6a088630
MR
36062012-10-08 Martin Rudalics <rudalics@gmx.at>
3607
3608 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3609 the minibuffer window (Bug#10851).
3610
8dbce54c
FEG
36112012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3612
3613 Enhancements on forward-sexp movement.
3614 * progmodes/python.el (python-nav-beginning-of-statement)
3615 (python-nav-end-of-statement): Return point-marker.
3616 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3617 (python-info-current-symbol)
3618 (python-info-statement-starts-block-p): Rename from
3619 python-info-beginning-of-block-p.
3620 (python-info-statement-ends-block-p): Rename from
3621 python-info-end-of-block-p.
3622 (python-info-beginning-of-statement-p)
3623 (python-info-end-of-statement-p)
3624 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3625 New functions.
3626
5acd2b3e
SM
36272012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3630 frame-selected-windows.
3631
e08348a0
DC
36322012-10-08 Daniel Colascione <dancol@dancol.org>
3633
3634 * battery.el (battery-status-function): Check for
3635 w32-battery-status itself, not system-time windows-nt.
3636
3637 * frame.el: Require cl-lib.
3638 (display-format-alist): New variable mapping frame types to
3639 functions that initialize them.
3640 (window-system-for-display): New function: interprets
3641 display-format-alist.
3642 (make-frame-on-display): Remove existing display-selection logic
3643 and just forward to make-frame, which will now DTRT.
3644 (make-frame): Restructure to use window-system-for-display to
3645 figure out how to create a frame on a given display.
3646 (display-mouse-p): Look for frame-type w32, not a particular
3647 system-type.
3648
3649 * loadup.el: Load w32 lisp code when we have the w32 feature.
3650
3651 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3652 system-type windows-nt.
3653
3654 * server.el (server-create-window-system-frame): Look for window
3655 type.
3656 (server-proces-filter): Only force a window system when windows-nt
3657 _and_ w32. Explain why.
3658
3659 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3660 of window systems we configure for the mode.
3661
3662 * startup.el (command-line): Mark window system is initialized
3663 after we've done it.
3664
3665 * common-win.el (x-select-text): Look for w32, not windows-nt.
3666
3667 * ns-win.el: Require cl-lib. Add ourselves to
3668 display-format-alist.
3669 (ns-initialize-window-system): Assert we're not initialized twice.
3670
3671 * w32-win.el: Enable lexical binding; require cl-lib; add
3672 ourselves to display-format-alist.
3673 (w32-handle-dropped-file): Convert incoming dropped files from
3674 Windows paths to Cygwin ones before passing them on to the rest of
3675 Emacs.
3676 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3677 (w32-initialize-window-system): Assert we're not initialized twice.
3678
3679 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3680 (x-initialize-window-system): Assert we're not initialized twice.
3681
3682 * w32-common-fns.el: New File.
3683 (w32-version, w32-using-nt, w32-get-clipboard-data)
3684 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3685 (w32-charset-info-alist, x-last-selected, text)
3686 (x-get-selection-value, x-selection-value): Move here.
3687
3688 * w32-fns.el: Require w32-common-fns.
3689 (w32-version, w32-using-nt, w32-get-clipboard-data)
3690 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3691 (w32-charset-info-alist, x-last-selected, text)
3692 (x-get-selection-value, x-selection-value): Move to
3693 w32-common-fns.
3694
3695 * w32-vars.el:
3696 (w32-allow-system-shell, w32-system-shells): Define only in
3697 non-cygwin case.
3698
795b1482
SM
36992012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3701 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3702 (read-passwd): Remove a few more potential sources of leaks.
3703
f27c99dc
FEG
37042012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3705
3706 * progmodes/python.el (inferior-python-mode)
795b1482 3707 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3708 variables copied from parent buffer.
3709
fcacb558
JD
37102012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3711
3712 * term/ns-win.el (ns-read-file-name): Update declaration to match
3713 nsfns.m.
3714 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3715 it is set when font is acted upon.
3716
be0d5bae
FEG
37172012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3718
3719 Enhancements to indentation.
3720 * progmodes/python.el (python-indent-context): Give priority to
3721 inside-string context. Make comments indentation markers.
3722 (python-indent-region): Do not mess with strings, unless it's the
3723 enclosing set of quotes.
3724
13af0d10
SM
37252012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3726
662a9d0e
SM
3727 * window.el (internal--before-save-selected-window)
3728 (internal--after-save-selected-window): New functions extracted from
3729 save-selected-window. Make sure we return the `alist' we construct.
3730 (save-selected-window): Use them.
3731
3732 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3733 Use with-selected-window.
3734
13af0d10
SM
3735 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3736 forms that define macros (bug#12593).
3737
6aa75fb6
KH
37382012-10-07 Kenichi Handa <handa@gnu.org>
3739
13af0d10
SM
3740 * international/mule-conf.el (compound-text-with-extensions):
3741 Add :mime-charset property as x-ctext.
6aa75fb6 3742
78d876b9
SM
37432012-10-07 Stefan Merten <smerten@oekonux.de>
3744
3745 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3746 (rst-indent-literal-normal, rst-indent-literal-minimized)
3747 (rst-indent-comment): Correct :version tag.
557337e9 3748 (rst-official-cvs-rev): Correct version string.
78d876b9 3749
99a1e701
GM
37502012-10-07 Glenn Morris <rgm@gnu.org>
3751
3752 * mail/rmailmm.el (rmail-mime-process-multipart):
3753 Do not confuse a multipart message with an epilogue
3754 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3755
08f18c3d
FEG
37562012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3757
3758 Fix shell output retrieval and comint-prompt-regexp init.
3759 * progmodes/python.el (inferior-python-mode):
3760 (python-shell-make-comint): Fix initialization of
3761 comint-prompt-regexp from copied file local variables.
3762 (python-shell-fetched-lines): Remove var.
3763 (python-shell-output-filter-in-progress): Rename from
3764 python-shell-fetch-lines-in-progress.
3765 (python-shell-output-filter-buffer): Rename from
3766 python-shell-fetch-lines-string.
3767 (python-shell-fetch-lines-filter): Delete function.
3768 (python-shell-output-filter): New function.
3769 (python-shell-send-string-no-output): Use them.
3770
82ed3ab4
GM
37712012-10-07 Glenn Morris <rgm@gnu.org>
3772
1595ecfa
GM
3773 * hi-lock.el (hi-lock-process-phrase):
3774 Try to make it less fragile. (Bug#7161)
3775
82ed3ab4
GM
3776 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3777
f1f4dba0
GM
37782012-10-06 Glenn Morris <rgm@gnu.org>
3779
addc11ed 3780 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3781 non-existent mode `help'.
3782 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3783
460042b8
GM
3784 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3785 (reftex-create-bibtex-footer): Fix custom types.
3786
67667c70
GM
3787 * progmodes/sh-script.el (sh-indent-after-continuation):
3788 Add explicit :group.
3789
18dec750
GM
3790 * textmodes/rst.el (rst-preferred-decorations)
3791 (rst-shift-basic-offset): Clarify obsolescence versions.
3792
d1a1c7e6
GM
3793 * profiler.el (profiler): Add missing group :version tag.
3794 * avoid.el (mouse-avoidance-banish-position):
3795 * proced.el (proced-renice-command):
3796 * calc/calc.el (calc-ensure-consistent-units):
3797 * calendar/icalendar.el (icalendar-import-format-uid):
3798 * net/tramp.el (tramp-save-ad-hoc-proxies):
3799 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3800 * progmodes/flymake.el (flymake-error-bitmap)
3801 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3802 * progmodes/sh-script.el (sh-indent-after-continuation):
3803 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3804 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3805 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3806 (vhdl-array-index-record-field-in-sensitivity-list)
3807 (vhdl-indent-comment-like-next-code-line):
3808 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3809 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3810 (reftex-cite-key-separator, reftex-create-bibtex-header)
3811 (reftex-create-bibtex-footer):
3812 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3813 (rst-indent-literal-normal, rst-indent-literal-minimized)
3814 (rst-indent-comment): Add missing custom :version tags.
3815
ef35abb4
GM
3816 * calendar/timeclock.el (timeclock-modeline-display):
3817 Add missing obsolete alias for renamed user option.
3818
d1aae614
GM
3819 * strokes.el (strokes-modeline-string):
3820 * emulation/crisp.el (crisp-mode-modeline-string):
3821 * eshell/esh-mode.el (eshell-status-in-modeline):
3822 Aliases to defcustoms must come before the defcustom.
3823
f1f4dba0
GM
3824 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3825 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3826 (cal-tex-cursor-week-monday): Doc fixes.
3827 (cal-tex-cursor-week2-summary): Doc fix.
3828 Rename from cal-tex-cursor-week-at-a-glance.
3829
3830 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3831 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3832
3833 * calendar/calendar.el (calendar-mode-map):
3834 Add cal-tex-cursor-week2-summary.
3835
d39109c3
SM
38362012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3837
685f87b0
SM
3838 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3839
d39109c3
SM
3840 * subr.el (read-passwd-map): New var.
3841 (read-passwd): Use `read-string' again.
3842 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3843
5694896d
J
38442012-10-06 Jambunathan K <kjambunathan@gmail.com>
3845
3846 * register.el (append-to-register, prepend-to-register):
3847 Deactivate mark, as does `copy-to-register' (bug#12389).
3848
9414dd8d
CY
38492012-10-06 Chong Yidong <cyd@gnu.org>
3850
3851 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3852
2b89bca4
KH
38532012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3854
3855 * international/characters.el: Fix simple mistake ((car chars) ->
3856 elt), delete duplicated code.
3857
d5acb99a
GM
38582012-10-06 Glenn Morris <rgm@gnu.org>
3859
3860 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3861
123ec157
JS
38622012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3863
3864 * color.el (color-hsl-to-rgb): Fix incorrect results for
3865 small and large hue values. (Bug#12559)
3866
7fa36ccb
FEG
38672012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3868
3869 Enhancements to docstring formatting when filling paragraphs.
3870 * progmodes/python.el (python-fill-docstring-style): Rename from
3871 python-fill-string-style. Added new style.
3872 (python-fill-string): Use new style. Better checks for
3873 docstrings.
3874
d8788e1e
GM
38752012-10-05 Glenn Morris <rgm@gnu.org>
3876
204f3953
GM
3877 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3878
d8788e1e
GM
3879 * color.el (color-name-to-rgb, color-rgb-to-hex)
3880 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3881 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3882 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3883 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3884
8d956cef
GM
3885 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3886
e8757f09 38872012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3888
3889 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3890 to get the correct size across symlinks.
3891
e8757f09
GM
3892 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3893
0e2ae83d
JL
38942012-10-04 Juri Linkov <juri@jurta.org>
3895
3896 * replace.el (query-replace-interactive): Declare obsolete.
3897 (query-replace-read-from): Add the last incremental search string
3898 to the list of default values accessible via M-n.
3899 (map-query-replace-regexp): Use `read-regexp'.
3900 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3901 (map-query-replace-regexp, replace-string, replace-regexp):
3902 Fix docstrings to replace mentions of `query-replace-interactive'
3903 with alternatives. (Bug#12526)
3904
93cacb6d
JL
39052012-10-04 Juri Linkov <juri@jurta.org>
3906
3907 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3908 (dired-pop-to-buffer): Declare obsolete.
3909 (dired-mark-pop-up): Doc fix.
3910
fc345011
FEG
39112012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3912
3913 Allow user to set docstring style for fill-paragraph.
3914 * progmodes/python.el
3915 (python-fill-comment-function, python-fill-string-function)
3916 (python-fill-decorator-function, python-fill-paren-function):
3917 Remove :safe for defcustoms.
3918 (python-fill-string-style): New defcustom
5694896d 3919 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3920 (python-fill-string): Honor python-fill-string-style settings.
3921
6bab5d8b
MR
39222012-10-04 Martin Rudalics <rudalics@gmx.at>
3923
3924 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3925 after setting its buffer (Bug#10805).
3926
a1a9f411
FEG
39272012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3928
3929 Fix cornercase for string syntax.
3930 * progmodes/python.el (python-syntax-propertize-function):
3931 Simplify and enhance the regexp for unescaped quotes. Now it also
3932 matches quotes in weird situations like the single quote in
3933 "something\"'".
3934 (python-syntax-stringify): Simplify num-quotes detecting code.
3935
05e153a6
GM
39362012-10-03 Glenn Morris <rgm@gnu.org>
3937
3938 * help-macro.el (three-step-help):
3939 Revert 2012-09-29 change. (Bug#12567)
3940
2e566ecb
MR
39412012-10-03 Martin Rudalics <rudalics@gmx.at>
3942
96ef9ccd
MR
3943 * menu-bar.el (kill-this-buffer): Don't do anything when
3944 `menu-frame' is not alive or visible (Bug#8184).
3945
2e566ecb
MR
3946 * emacs-lisp/debug.el (debug): When quitting the debugger window
3947 restore current buffer (Bug#12502).
3948
a96e1cb7
CY
39492012-10-02 Chong Yidong <cyd@gnu.org>
3950
5694896d
J
3951 * progmodes/hideif.el (hif-lookup, hif-defined):
3952 Handle semantic-c-takeover-hideif.
a96e1cb7 3953
b3ecad33
PE
39542012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3955
3956 Change sampling interval units from ms to ns.
3957 * profiler.el (profiler-sampling-interval): Change units
3958 from ms to ns, multiplying the default by 1000000 so that
3959 it remains 1 ms.
3960 (profiler-report-cpu-line-format): Give enough room for
3961 the maximum counters on 64-bit hosts.
3962 (profiler-report-render-calltree-1): Call them "CPU samples",
3963 not "Time (ms)", since they are not milliseconds now (and
3964 never really were).
3965
8cb51b66 39662012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3967
5694896d
J
3968 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3969 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3970
fd795bf4
CY
39712012-10-02 Chong Yidong <cyd@gnu.org>
3972
3973 * emacs-lisp/eieio.el: Restore Version header.
3974
fe0a74f9
SM
39752012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3976
6be9197e
SM
3977 * vc/diff-mode.el (diff--auto-refine-data): New var.
3978 (diff-hunk): Use it to delay refinement.
3979 (diff-mode): Remove overlays when we turn off font-lock.
3980
18486139
SM
3981 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3982 (table-initialize-table-fixed-width-mode)
3983 (table-set-table-fixed-width-mode): Remove functions.
3984 (table-command-list): Move initialization into declaration.
3985 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3986 (table-with-cache-buffer): Use `declare'.
3987 (table-span-cell): Simplify via CSE.
3988 (table-fixed-width-mode): Use define-minor-mode.
3989 (table-call-interactively, table-funcall, table-apply): Remove.
3990 (table-function): New function, to replace them.
3991
d83ef976
SM
3992 * bookmark.el (bookmark-search-pattern): Remove var.
3993 (bookmark-read-search-input): Remove function.
3994 (bookmark-bmenu-search): Reimplement using a minibuffer.
3995
cd386662
SM
3996 * faces.el (modeline): Remove obsolete face name.
3997
fe0a74f9
SM
3998 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3999 and give a non-nil default value.
4000 (add-change-log-entry): Simplify accordingly.
4001
9f7b98f8
DG
40022012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4005 (vc-git-log-edit-toggle-amend): New function.
4006 (vc-git-log-edit-toggle-signoff): New function.
4007 (vc-git-log-edit-mode): New major mode.
4008 (vc-git-log-edit-mode-map): Keymap for it.
4009 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4010
4011 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4012 header names.
4013 (log-edit-toggle-header): New function.
4014 (log-edit-extract-headers): Accept function values in HEADERS alist.
4015
62a81506
CY
40162012-10-01 David Engster <deng@randomsample.de>
4017
4018 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4019 from symbol property and change message to be more consistent with
4020 Emacs proper.
4021 (eieio-describe-generic): Add filename for each implementation.
4022 Fix indices for generic and normal methods.
4023 (eieio-method-def, eieio-class-def): New buttons.
4024 (eieio-help-find-method-definition)
4025 (eieio-help-find-class-definition): New functions.
4026 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4027 class, constructor and method definitions.
4028
4029 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4030 information in symbol property.
4031 (scoped-class): Remove.
4032 (eieio-slot-name-index, call-next-method): Check if it is bound.
4033
40342012-10-01 Leo P. White <lpw25@cam.ac.uk>
4035
4036 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4037 (eieio-custom-mode): New major mode.
4038 (eieio-customize-object): Use it.
4039
40402012-10-01 Eric Ludlam <zappo@gnu.org>
4041
4042 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4043 specifying the expected class, and whether subclassing is allowed.
4044 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4045 (eieio-persistent-validate/fix-slot-value)
4046 (eieio-persistent-slot-type-is-class-p): New functions.
4047 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4048
4049 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4050 Stop using unused publd variable.
4051
4052 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4053 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4054 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4055 (eieio-speedbar-handle-click): Do not specify a class for the
4056 method. Fixes method invocation order problems with EDE.
4057
375e49d4
SM
40582012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4061 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4062
16ce6ccd
KF
40632012-10-01 Karl Fogel <kfogel@red-bean.com>
4064
4065 * bookmark.el (bookmark-version-control): Give tags in the
4066 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4067 (bookmark-write-file): Bind `print-circle' to `t' to allow
4068 circular custom bookmark types. (Bug#12503)
16ce6ccd 4069
19e54a4d
PE
40702012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4071
86ec63ba
PE
4072 Revert the FOLLOW-SYMLINKS change for file-attributes.
4073 * files.el (remote-file-name-inhibit-cache, after-find-file):
4074 * time.el (display-time-file-nonempty-p): Undo last change.
4075
19e54a4d
PE
4076 * profiler.el (profiler-sampling-interval): Change default back to 1.
4077 See Stefan Monnier in
4078 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4079
0478776b
FEG
40802012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4081
4082 Shell output catching a la gud-gdb.
4083 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4084 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4085 New Vars.
0478776b
FEG
4086 (python-shell-fetch-lines-filter): New function.
4087 (python-shell-send-string-no-output): Use them.
4088
c22bac2c
TM
40892012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4090
4091 * profiler.el (profiler-sampling-interval): Rename from
4092 profiler-sample-interval.
4093 (profiler-sampling-interval): Default to 10.
4094 (profiler-find-profile): New command (was profiler-find-log).
4095 (profiler-find-profile-other-window): New command.
4096 (profiler-find-profile-other-frame): New command.
4097 (profiler-profile): Introduce API-level data structure.
4098
e7a2937b
PE
40992012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4100
4101 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4102 * files.el (remote-file-name-inhibit-cache):
4103 * time.el (display-time-file-nonempty-p): Use it.
4104 * files.el (after-find-file): Don't chase links before calling
4105 file-exists-p, as file-exists-p already does the right thing.
4106
4f595e15
RA
41072012-09-30 Ralf Angeli <angeli@caeruleus.net>
4108
4109 Merge from standalone RefTeX repository.
4110
4111 The following ChangeLog entries are shortened versions of the
4112 original ones with file paths adapted. A not so strongly edited
4113 version of the original ChangeLog can be found in the commit log.
4114
4115 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4116 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4117 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4118
4119 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4120 that entries with whitespace at various places are found.
4121 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4122 Include @String definitions in the resulting bib file. Add header
4123 and footer defined in `reftex-create-bibtex-header' and
4124 `reftex-create-bibtex-footer'.
4125 (reftex-do-citation): Make it possible again to insert
4126 non-existent entries. Save match data when asking for optional
4127 arguments. Return all keys, not just the first one.
4128 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4129 all citations in the same line.
4130 (reftex-parse-bibtex-entry): Accept additional optional argument
4131 `raw' and keep quotes or braces if it is non-nil. Match fields
4132 containing hyphens besides word constituents.
4133 (reftex-get-string-refs): New function.
4134 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4135 and ask if it should be reread in case it did.
4136 (reftex-pop-to-bibtex-entry)
4137 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4138 entries with spaces or tabs in front of arguments.
4139 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4140 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4141 Match entries containing numbers and symbol constituents.
4142 (reftex-do-citation, reftex-figure-out-cite-format):
4143 Use `reftex-cite-key-separator'.
4f595e15
RA
4144
4145 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4146 (reftex-mouse-view-crossref): Explain why point is set.
4147
4148 * textmodes/reftex-global.el: Whitespace changes.
4149
4150 * textmodes/reftex-index.el: Move provide statement to end of
4151 file.
4152 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4153 (reftex-index-visit-phrases-buffer): Set marker when visiting
4154 buffer. This allows for returning from the phrases file to the
4155 file one was just editing instead of the file where the last
4156 phrases was added from.
4157 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4158 punctuation syntax as it usually is not used as string quote in
4159 TeX-related modes and may occur unmatched. The change also
4160 prevents fontification of quoted content.
4161 (reftex-index-phrases-mode): Use it.
4162
375e49d4
SM
4163 * textmodes/reftex-parse.el (reftex-parse-from-file):
4164 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4165 (reftex-parse-from-file): Use beginning of match instead of end as
4166 bound.
4167
4168 * textmodes/reftex-ref.el: Adapt creation of
4169 `reftex-<package>-<macro>' functions to new structure of
4170 `reftex-ref-style-alist'.
375e49d4
SM
4171 (reftex-reference): Use `reftex-ref-style-list' function.
4172 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4173 reference macro if `reftex-ref-macro-prompt' is non-nil.
4174 (reftex-reference): Pass refstyle to `reftex-format-special'.
4175 Determine reference macro by looking at
375e49d4
SM
4176 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4177 Use only one special format function.
4f595e15
RA
4178 (reftex-varioref-vref, reftex-fancyref-fref)
4179 (reftex-fancyref-Fref): Remove definitions. The functions are now
4180 generated from `reftex-ref-style-alist'.
4181 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4182 Remove.
4183 (reftex-format-special): New function.
4184
4185 * textmodes/reftex-sel.el
4186 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4187 of `reftex-ref-style-alist'. Remove code for testing macro type.
4188 (reftex-select-toggle-varioref)
4189 (reftex-select-toggle-fancyref): Remove.
4190 (reftex-select-cycle-ref-style-internal)
4191 (reftex-select-cycle-ref-style-forward)
4192 (reftex-select-cycle-ref-style-backward): New functions.
4193 (reftex-select-label-map): Use `v' and `V' for general cycling
4194 through reference styles. Add `p' for switching between number
4195 and page reference types.
4196
375e49d4
SM
4197 * textmodes/reftex-toc.el (reftex-re-enlarge):
4198 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4199 the horizontal version throws an error even if the parameter is 0.
4200
4201 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4202 (reftex-plug-into-AUCTeX): Doc fix.
4203 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4204 string. Adapt to new name.
4205 (reftex-ref-style-alist): Change structure so that it is not
4206 possible to use multiple different package names within a style.
375e49d4
SM
4207 Remove the symbols for symbols for macro type distinction.
4208 Add characters for macro selection.
4f595e15
RA
4209 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4210 (reftex-create-bibtex-footer): New variables.
4211 (reftex-format-ref-function): Mention third argument of special
4212 format function.
375e49d4
SM
4213 (reftex-ref-style-alist, reftex-ref-style-default-list):
4214 New variables.
4f595e15
RA
4215 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4216 to new implementation. Mark as obsolete. Add compatibility code
4217 for honoring the variable values in case they are set.
375e49d4
SM
4218 (reftex-cite-format-builtin, reftex-bibliography-commands):
4219 Add support for ConTeXt.
4220 (reftex-format-ref-function, reftex-format-cite-function):
4221 Fix custom type.
4f595e15
RA
4222 (reftex-cite-key-separator): New variable.
4223
4224 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4225 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4226 `reftex-syntax-table' because parens have to retain their paren
4227 syntax in order for parsing of BibTeX entries like @book(...) to
4228 work.
4229 (reftex-in-comment): Do not error out if `comment-start-skip' is
4230 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4231 (reftex-tie-multifile-symbols): Add doc string.
4232 Initialize `reftex-ref-style-list'.
4f595e15
RA
4233 (reftex-untie-multifile-symbols): Add doc string.
4234 (reftex-add-index-macros): Doc fix.
4235 (reftex-ref-style-activate, reftex-ref-style-toggle)
4236 (reftex-ref-style-list): New functions.
4237 (reftex-mode-menu): Use them. Adapt to new structure of
4238 `reftex-ref-style-alist'.
4239 (reftex-select-with-char): Kill the RefTeX Select buffer when
4240 done.
4241 (reftex-remove-if): New function.
4242 (reftex-erase-all-selection-and-index-buffers)
4243 (reftex-mode-menu): Reference styles are now computed from
4244 `reftex-ref-style-alist'. Fix typo.
4245 (reftex-report-bug): New function.
4246 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4247 algorithms with O(n log n). Introduce optional argument SORT (not
4248 yet used).
4249
440ba395
FEG
42502012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4251
4252 Enhancements for triple-quote string syntax.
375e49d4
SM
4253 * progmodes/python.el (python-syntax-propertize-function):
4254 Match both quote cases in one regexp.
440ba395
FEG
4255 (python-syntax-stringify): Handle matches properly.
4256
4c478e6b
JL
42572012-09-30 Juri Linkov <juri@jurta.org>
4258
4259 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4260 to nil around the call to `insert' to prevent
4c478e6b
JL
4261 directory time modification by lock_file. (Bug#2295)
4262 * tar-mode.el (tar-summarize-buffer): Idem.
4263
d80d54b2
JL
42642012-09-30 Juri Linkov <juri@jurta.org>
4265
4266 * facemenu.el (list-colors-sort): Add option "Luminance".
4267 (list-colors-sort-key): Implement it.
4268
4269 * vc/diff-mode.el (diff-refine-removed):
4270 * vc/ediff-init.el (ediff-fine-diff-A):
4271 * vc/smerge-mode.el (smerge-refined-removed):
4272 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4273
d7e642cc
JD
42742012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4275
4276 * term/ns-win.el (x-file-dialog): New function.
4277
ee41332b
JB
42782012-09-30 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * ido.el (ido-max-directory-size): Default to nil; the current
4281 default is small for POSIX systems, and impractical on Windows 7
4282 now that lstat returns directory sizes for NTFS.
4283
5938d519
MR
42842012-09-30 Martin Rudalics <rudalics@gmx.at>
4285
4286 In buffer display functions handle window-height/window-width
4287 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4288 * window.el (window--display-buffer): New argument ALIST.
4289 Obey window-height and window-width alist entries.
4290 (window--try-to-split-window): New argument ALIST.
4291 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4292 changed and window-combination-limit equals `window-size'.
4293 (display-buffer-in-atom-window)
4294 (display-buffer-in-major-side-window)
4295 (display-buffer-in-side-window, display-buffer-same-window)
4296 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4297 (display-buffer-pop-up-window, display-buffer-below-selected)
4298 (display-buffer-at-bottom, display-buffer-in-previous-window)
4299 (display-buffer-use-some-window): Adjust all callers of
4300 window--display-buffer and window--try-to-split-window.
4301 (fit-frame-to-buffer): New option.
4302 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4303 is non-nil.
4304 (display-buffer-in-major-side-window): Evaluate window-height /
4305 window-width alist entries.
4306
4307 * help.el (temp-buffer-resize-frames)
4308 (temp-buffer-resize-regexps): Remove options.
4309 (temp-buffer-resize-mode): Adjust doc-string.
4310 (resize-temp-buffer-window): Don't consult
4311 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4312 temp-buffer-resize-frames.
4313
375e49d4
SM
4314 * dired.el (dired-mark-pop-up):
4315 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4316 entry.
4317
c4c0c2df
CY
43182012-09-30 Chong Yidong <cyd@gnu.org>
4319
48de8b12
CY
4320 * server.el (server-host): Document the security implications.
4321 (server-auth-key): Doc fix.
4322
4323 * startup.el (initial-buffer-choice): Doc fix.
4324
4325 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4326
a97dc380
CY
4327 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4328 restriction change.
4329
d39d3c8e
CY
4330 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4331
c4c0c2df
CY
4332 * help-fns.el (help-fns--obsolete): Fix last change.
4333
98a5e33b
SM
43342012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4335
34cf6f39
SM
4336 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4337 (minor-mode-map-alist): Remove redundant code.
4338
e01c13fe
SM
4339 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4340 visited in a buffer.
4341 (cvs-insert-visited-file): New function.
4342 (find-file-hook): Use it.
4343
4344 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4345
02661b3a
SM
4346 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4347 chose face.
4348 (log-edit-empty-buffer-p): Don't require a space after a header.
4349
43711d4b
SM
4350 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4351
38a30d64
SM
4352 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4353
4ffb41a9
SM
4354 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4355 a proper minor-mode.
4356
98a5e33b
SM
4357 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4358
de82e29b
GM
43592012-09-29 Glenn Morris <rgm@gnu.org>
4360
5cc2e639
GM
4361 * winner.el (winner-mode): Remove variable (let define-minor-mode
4362 handle it).
4363 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4364 Doc fixes.
4365 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4366 (winner-mode): Use define-minor-mode.
4367
7bd302eb
GM
4368 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4369 the full definition in loaddefs, rather than duplicating it.
4370
2923922f 4371 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4372
0e3e4156
GM
4373 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4374 (inferior-lisp-program, inferior-lisp-load-command)
4375 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4376 No need to autoload defcustoms.
0e3e4156 4377
de82e29b
GM
4378 * hippie-exp.el (hippie-expand-try-functions-list)
4379 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4380 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4381 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4382 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4383 * progmodes/vhdl-mode.el (vhdl-line-expand):
4384 Explicitly load hippie-exp, so it does not get autoloaded
4385 while hippie-expand-try-functions-list is let-bound.
4386
e60b51ab
GM
43872012-09-28 Glenn Morris <rgm@gnu.org>
4388
277f0cfa
GM
4389 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4390
e60b51ab
GM
4391 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4392 Only "cl.el" counts as cl these days.
4393
53baf48a
JL
43942012-09-28 Juri Linkov <juri@jurta.org>
4395
4396 Display archive errors in the echo area instead of inserting
4397 to the file buffer.
4398
4399 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4400 to STDERR-TEST that can be a regexp matching a successful output.
4401 Create a temporary file and redirect stderr to it. Search for
4402 STDERR-TEST in the stderr output and display it in the echo area
4403 if no match is found.
4404 (archive-extract-by-file): New function like
4405 `archive-extract-by-stdout' but extracting archives to files
4406 and looking for successful matches in stdout. Function body is
4407 mostly copied from `archive-rar-extract'.
4408 (archive-rar-extract): Use `archive-extract-by-file'.
4409 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4410
9c1228c3
LL
44112012-09-28 Leo Liu <sdl.web@gmail.com>
4412
375e49d4
SM
4413 * pcomplete.el (pcomplete-show-completions):
4414 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4415
9c1228c3
LL
4416 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4417
7f457c06
SM
44182012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4419
3df749b0
SM
4420 * type-break.el: Use lexical-binding.
4421 (type-break-mode): Use define-minor-mode.
4422
7f457c06
SM
4423 * emacs-lisp/pcase.el (pcase--mark-used): New.
4424 (pcase--u1): Use it (bug#12512).
4425
4426 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4427 in load-history with the right file name.
4428
c00ebc98
TH
44292012-09-28 Tassilo Horn <tsdh@gnu.org>
4430
4431 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4432 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4433 (doc-view-get-bounding-box): Make bounding box slicing work for
4434 ODF and DVI documents.
4435
96fb7170
GM
44362012-09-28 Glenn Morris <rgm@gnu.org>
4437
4438 * type-break.el (type-break-mode, type-break-interval)
4439 (type-break-good-rest-interval, type-break-keystroke-threshold):
4440 No need to autoload.
4441 (type-break-good-rest-interval, type-break-keystroke-threshold):
4442 Add :set-after.
4443
5bc93c67
CY
44442012-09-28 Chong Yidong <cyd@gnu.org>
4445
4446 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4447 Add :version tag.
4448
9cad61d6
SM
44492012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4450
e28e67b3 4451 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4452
daee954c
GM
44532012-09-27 Glenn Morris <rgm@gnu.org>
4454
a88324d4
GM
4455 * faces.el (x-display-name): Declare (for without-x builds).
4456
8e5064e5
GM
4457 * linum.el (linum-format): Don't autoload it. Improve :type.
4458
cc1783c2
GM
4459 * progmodes/tcl.el: Don't require outline when compiling.
4460 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4461 * textmodes/sgml-mode.el: Don't require outline when compiling.
4462 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4463
48c339f2
GM
4464 * term.el (term-ansi-reset):
4465 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4466
daee954c
GM
4467 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4468 files for RCS and SCCS. (Bug#9781)
4469
b7f42161
CY
44702012-09-27 Chong Yidong <cyd@gnu.org>
4471
4472 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4473 change; value should be t.
4474
a2e770db
SM
44752012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4476
83600dc8
SM
4477 * image-mode.el: Use lexical-binding.
4478 (image-mode-winprops): Use t to stand for the window of
4479 a buffer that's not displayed.
4480 * doc-view.el (doc-view-new-window-function): Handle the new
4481 t in winprops.
4482 (doc-view-enlarge): Make it a real nop if the size is not changed.
4483 (doc-view-display): Handle the case where the buffer is not (yet?)
4484 displayed in any window.
4485 (doc-view-saved-settings): New var.
4486 (doc-view-mode): Use it.
4487 (doc-view-fallback-mode): Set it.
4488
a2e770db
SM
4489 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4490 Set lexical-binding.
4491 (minibuffer-eldef-shorten-default): New var.
4492 (minibuffer-default-in-prompt-regexps): Use it for new default.
4493 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4494
e3b60857
JB
44952012-09-26 Juanma Barranquero <lekktu@gmail.com>
4496
4497 * international/uni-bidi.el:
4498 * international/uni-category.el:
4499 * international/uni-name.el:
4500 * international/uni-numeric.el: Regenerate.
4501
3a880af4
SM
45022012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4503 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * profiler.el: New file.
4506
07b1a5fb
SM
45072012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4510 (testcover-reinstrument): Simplify with CSE.
4511
42019c2e
JB
45122012-09-26 Juanma Barranquero <lekktu@gmail.com>
4513
4514 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4515
179f044b
WS
45162012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4517
4518 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4519 (verilog-auto-input, verilog-auto-insert-lisp)
4520 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4521 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4522 (verilog-auto-unused, verilog-auto-wire)
4523 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4524 newline. Reported by Andrew Jones.
4525 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4526 Reported by Brad Dobbie.
07b1a5fb
SM
4527 (verilog-batch-delete-trailing-whitespace):
4528 Create verilog-batch-delete-trailing-whitespace.
4529 Reported by Brad Dobbie.
179f044b
WS
4530 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4531 parameters from another module. Reported by Dan Katz.
4532 (verilog-auto, verilog-auto-assign-modport)
4533 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4534 AUTOINOUTMODPORT for UVM interface module shell generation.
4535 Reported by Brad Dobbie.
4536 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4537 standard behavior.
4538 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4539 Reported by Matt Martin.
4540
9c52dd5a
MR
45412012-09-25 Martin Rudalics <rudalics@gmx.at>
4542
4543 * window.el (window--resize-child-windows): When resizing child
4544 windows proportionally, process them in reverse order to
4545 preserve the "when splitting a window the new one gets the odd
4546 line" behavior.
4547 (window--resize-root-window-vertically): When resizing the
4548 minibuffer window try to affect only windows at the bottom of the
4549 frame. (Bug#12419)
4550
863666eb
CY
45512012-09-25 Chong Yidong <cyd@gnu.org>
4552
4553 * subr.el (declare): Doc fix.
4554
4555 * help-fns.el (help-fns--obsolete): Handle macros properly.
4556
59f7af81
CY
45572012-09-25 Chong Yidong <cyd@gnu.org>
4558
4559 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4560 this function obsolete.
4561
4562 * calendar/cal-x.el (calendar-two-frame-setup)
4563 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4564 * calendar/calendar.el (american-calendar, european-calendar)
4565 (calendar-for-loop):
4566 * comint.el (comint-dynamic-simple-complete)
4567 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4568 * desktop.el (desktop-load-default):
4569 * dired-x.el (dired-omit-here-always)
4570 (dired-hack-local-variables, dired-default-directory):
4571 * emacs-lisp/derived.el (derived-mode-class):
4572 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4573 * emacs-lock.el (toggle-emacs-lock):
4574 * epa.el (epa-display-verify-result):
4575 * epg.el (epg-sign-keys, epg-start-sign-keys)
4576 (epg-passphrase-callback-function):
4577 * eshell/esh-util.el (eshell-for):
4578 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4579 (eshell-add-to-window-buffer-names):
4580 * files.el (locate-file-completion):
4581 * imenu.el (imenu-example--create-c-index)
4582 (imenu-example--create-lisp-index)
4583 (imenu-example--lisp-extract-index-name)
4584 (imenu-example--name-and-position):
4585 * international/mule-cmds.el (princ-list):
4586 * international/mule-diag.el (decode-codepage-char):
4587 * international/mule-util.el (detect-coding-with-priority):
4588 * iswitchb.el (iswitchb-read-buffer):
4589 * mail/mailalias.el (mail-complete):
4590 * mail/sendmail.el (mail-sent-via):
4591 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4592 (mouse-major-mode-menu):
4593 * password-cache.el (password-read-and-add):
4594 * pcomplete.el (pcomplete-parse-comint-arguments):
4595 * progmodes/sh-script.el (sh-maybe-here-document):
4596 * replace.el (query-replace-regexp-eval):
4597 * savehist.el (savehist-load):
4598 * simple.el (choose-completion-delete-max-match):
4599 * term.el (term-dynamic-simple-complete):
4600 * vc/ediff-init.el (ediff-check-version):
4601 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4602 * vc/vc.el (vc-diff-switches-list):
4603 * view.el (view-return-to-alist-update): Likewise.
4604
4605 * subr.el (eval-next-after-load, makehash, insert-string)
4606 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4607 mark obsolete.
4608 (mode-line-inverse-video): Variable deleted.
4609
4610 * international/mule-util.el (string-to-sequence): Remove.
4611
4612 * calendar/calendar.el (calendar-version):
4613 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4614 (icalendar-convert-diary-to-ical):
4615 * cus-edit.el (custom-mode):
4616 * ansi-color.el (ansi-color-unfontify-region):
4617 * international/latin1-disp.el (latin1-char-displayable-p):
4618 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4619 * progmodes/which-func.el (which-func-update-1):
4620 Use define-obsolete-function-alias.
59f7af81
CY
4621
4622 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4623 * net/newst-treeview.el (newsticker-groups-filename):
4624 Fix incorrect obsolescence declaration.
59f7af81
CY
4625
4626 * allout.el (allout-passphrase-hint-string): Likewise.
4627 (allout-init): Use a declare form to mark obsolete.
4628
4629 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4630 this applies to functions.
4631
4632 * iswitchb.el (iswitchb-read-buffer): Move code of
4633 iswitchb-define-mode-map here, and delete that obsolete function.
4634
4635 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4636 font-lock-reference-face.
4637
cca96c97
GM
46382012-09-25 Glenn Morris <rgm@gnu.org>
4639
b06eeda8
GM
4640 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4641 Doc fixes.
4642
cca96c97
GM
4643 * eshell/em-term.el (eshell-term-name):
4644 Default to term-term-name. (Bug#12485)
4645
dc4f818b
FEG
46462012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4647
cca96c97
GM
4648 * progmodes/python.el (python-shell-send-buffer): Better handling
4649 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4650
289c24bd
GM
46512012-09-24 Glenn Morris <rgm@gnu.org>
4652
4653 * eshell/esh-cmd.el (eshell-find-alias-function):
4654 Tighten up file-name regexp. (Bug#12499)
4655
8fb8b88f
FEG
46562012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4657
4658 Enhancements for triple-quote string syntax.
4659 * progmodes/python.el (python-quote-syntax): Remove.
4660 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4661 (python-syntax-count-quotes, python-syntax-stringify):
4662 New functions.
8fb8b88f 4663
6c27f0f8
CY
46642012-09-24 Chong Yidong <cyd@gnu.org>
4665
a5f2b6ec
CY
4666 * mail/supercite.el (sc-version): Remove obsolete function.
4667 (sc-describe): Don't mark as obsolete, since it is bound.
4668 (sc-submit-bug-report): Remove.
4669
4670 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4671 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4672 (log-edit-require-final-newline)
4673 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4674
4675 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4676 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4677 * vc/vc.el (vc-checkout-carefully): Likewise.
4678
4679 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4680 (emerge-version): Remove.
4681
4682 * progmodes/compile.el (compile-internal): Remove.
4683 (compilation-parse-errors-function): Fix typo.
4684
4685 * international/mule.el (set-char-table-default): Remove.
4686 (set-coding-priority, make-coding-system, generic-char-p)
4687 (charset-list, charset-bytes, charset-id): Use declare to mark
4688 functions as obsolete.
4689
4690 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4691 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4692 * vc/vc-hooks.el (vc-default-registered): Don't use
4693 vc-master-templates.
4694
07b1a5fb
SM
4695 * font-lock.el (font-lock-reference-face):
4696 Use define-obsolete-variable-alias.
6c27f0f8
CY
4697
4698 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4699 * calendar/calendar.el (calendar-font-lock-keywords):
4700 * calendar/diary-lib.el (diary-font-lock-keywords)
4701 (diary-fancy-font-lock-keywords):
4702 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4703 * textmodes/reftex-index.el (reftex-insert-index):
4704 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4705 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4706 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4707 * progmodes/prolog.el (prolog-font-lock-keywords):
4708 * progmodes/idlwave.el (idlwave-idl-keywords):
4709 * progmodes/ada-mode.el (ada-font-lock-keywords):
4710 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4711
bcc0adbf
GM
47122012-09-24 Glenn Morris <rgm@gnu.org>
4713
4714 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4715
095bb823
FEG
47162012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4717
4718 * progmodes/python.el (python-indent-line): More consistent cursor
4719 movement behavior.
4720
70efc5c9
SM
47212012-09-23 Stefan Merten <smerten@oekonux.de>
4722
4723 * textmodes/rst.el: Fix compiler warning.
4724
2f438239
RW
47252012-09-23 Roland Winkler <winkler@gnu.org>
4726
07b1a5fb
SM
4727 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4728 Transcribe also LaTeX hyphenation.
2f438239
RW
4729 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4730 bibtex-reformat-previous-options.
4731
936ad041
RW
47322012-09-23 Roland Winkler <winkler@gnu.org>
4733
4734 * proced.el (proced-renice-command): New variable.
4735 (proced-marked-processes): New function.
4736 (proced-with-processes-buffer): New macro.
4737 (proced-send-signal): Use them.
4738 (proced-renice): New command bound to r.
4739
6fab0274
RW
47402012-09-23 Roland Winkler <winkler@gnu.org>
4741
4742 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4743 ibuffer-saved-filter-groups has one element, shortcut the call of
4744 completing-read. (Bug#12331)
4745
9a930676
CY
47462012-09-23 Chong Yidong <cyd@gnu.org>
4747
4748 * bindings.el (mode-line-toggle-read-only):
4749 * bs.el (bs-toggle-readonly):
4750 * buff-menu.el (Buffer-menu-toggle-read-only):
4751 * dired.el (dired-toggle-read-only):
4752 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4753
d07ff9db
CY
47542012-09-23 Chong Yidong <cyd@gnu.org>
4755
4756 * image.el (image-type-available-p): Adapt to init-image-library
4757 argument changes.
4758
51c4474e
JL
47592012-09-22 Juri Linkov <juri@jurta.org>
4760
4761 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4762 `dired-toggle-read-only'. (Bug#12462)
4763
43bf5e8e
MR
47642012-09-22 Martin Rudalics <rudalics@gmx.at>
4765
4766 * subr.el (temp-output-buffer-show): New function.
4767 (with-output-to-temp-buffer): Call temp-output-buffer-show
4768 instead of internal-temp-output-buffer-show.
4769
c88b867f
CY
47702012-09-22 Chong Yidong <cyd@gnu.org>
4771
3df47cd5
CY
4772 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4773 (Bug#12462).
4774
c88b867f
CY
4775 * repeat.el (repeat): Doc fix (Bug#12348).
4776
4777 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4778 (Bug#10909).
4779
4780 * simple.el (shell-command-on-region): Doc fix.
3171e303 4781 (read-only-mode): Doc fix.
c88b867f 4782
df9685f3
EZ
47832012-09-22 Eli Zaretskii <eliz@gnu.org>
4784
4785 * emacs-lisp/timer.el (run-with-idle-timer)
4786 (timer-activate-when-idle): Warn against reinvoking an idle timer
4787 from within its own timer action. (Bug#12447)
4788
8e17c9ba
MR
47892012-09-22 Martin Rudalics <rudalics@gmx.at>
4790
4791 * cus-start.el (window-combination-limit): Add new optional
4792 values.
4793 * window.el (temp-buffer-window-show)
4794 (window--try-to-split-window): Handle new values of
4795 window-combination-limit (Bug#1806).
4796 (split-window): Test window-combination-limit for t instead of
4797 non-nil.
4798 (display-buffer-at-bottom): New buffer display action function.
4799 * help.el (temp-buffer-resize-regexps): New option.
4800 (temp-buffer-resize-mode): Rewrite doc-string.
4801 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4802 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4803
48a24920
SM
48042012-09-22 Stefan Merten <smerten@oekonux.de>
4805
70efc5c9 4806 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4807 (rst-official-version)
4808 (rst-package-emacs-version-alist): Sync with official version
4809 V1.4.0.
4810 (rst-faces-defaults, rst-set-level-default)
4811 (rst-level-face-max, rst-level-face-base-color)
4812 (rst-level-face-base-light, rst-level-face-format-light)
4813 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4814 (rst-adornment-faces-alist): Match new setup.
4815 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4816 (rst-level-5, rst-level-6): New faces.
4817
82f8cd94
CY
48182012-09-22 Chong Yidong <cyd@gnu.org>
4819
4820 * simple.el (undo): Handle indirect buffers (Bug#8207).
4821
acfa068f 48222012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4823
4824 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4825 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4826 (ido-set-matches-1): Use it. (Bug#2042)
4827
acfa068f 48282012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4829
4830 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4831 Fix 2011-05-17 change. (Bug#12418)
4832
acfa068f 48332012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4834
4835 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4836
acfa068f 48372012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4838
4839 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4840 Be more robust about locating simple.el.
4841
acfa068f 48422012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4843
4844 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4845
acfa068f
CY
48462012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4847
4848 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4849
41a97e6f
JL
48502012-09-20 Juri Linkov <juri@jurta.org>
4851
eb2deaff
JL
4852 * replace.el (query-replace-read-from): Use `read-regexp' instead
4853 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4854 (occur-read-primary-args): Use `read-regexp' instead of
4855 `read-string'.
4856 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4857 `read-from-minibuffer'.
4858 * isearch.el (isearch-occur): Use `read-regexp' instead of
4859 `read-string'.
4860 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4861 `read-from-minibuffer'.
4862 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4863 of `read-string'. (Bug#7567)
4864
5825610b
JL
4865 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4866 and allow accepting a list of strings prepended to a list of
4867 standard default values. Doc fix. (Bug#12321)
4868
eebbf404
JL
4869 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4870
41a97e6f
JL
4871 * replace.el (read-regexp): Don't add ": " when PROMPT already
4872 ends with a colon and space. (Bug#12321)
4873
c9e452d3
TH
48742012-09-20 Tassilo Horn <tsdh@gnu.org>
4875
4876 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4877 error.
4878
ee97deee
SM
48792012-09-20 Stefan Merten <smerten@oekonux.de>
4880
70efc5c9 4881 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4882 Fixes feature request bug#11711.
4883 (rst-mode): Create `imenu-create-index-function'.
4884 (rst-get-stripped-line): Delete after refactoring.
4885 (rst-section-tree, rst-section-tree-rec)
4886 (rst-section-tree-point): Refactor and document properly.
4887 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4888 (rst-imenu-convert-cell, rst-imenu-create-index):
4889 New function.
ee97deee 4890
f490dab9
SM
48912012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4892
95b9712e
SM
4893 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4894 (macroexp--expand-all): Use it.
4895 (macroexp--funcall-and-return): Remove by folding it into its sole
4896 caller (macroexp--warn-and-return).
4897 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4898 Use macroexp--obsolete-warning.
4899
f490dab9
SM
4900 * calc/calc.el: Fix last change by removing the whole chunk, since it
4901 was only needed back when Calc was not bundled.
4902
96e8d411
MR
49032012-09-20 Martin Rudalics <rudalics@gmx.at>
4904
4905 * emacs-lisp/debug.el (debug): Restore assignment to
4906 debugger-old-buffer removed on 2012-09-08.
4907
0876a82d
JL
49082012-09-20 Juri Linkov <juri@jurta.org>
4909
4910 * dired-aux.el (dired-diff): Remove (require 'diff) since
4911 `diff-latest-backup-file' is now autoloaded.
4912
9f7c28f0
CY
49132012-09-20 Chong Yidong <cyd@gnu.org>
4914
4915 * vc/diff.el (diff-latest-backup-file): Autoload.
4916
7a04bee9
SM
49172012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4918
e6f0a80d
SM
4919 * calc/calc.el: Remove redundant autoload shape check.
4920 (sel-mode): Don't defvar.
4921 (calc-get-stack-element): Add `sel-mode' arg instead.
4922 (calc-top, calc-top-list): Pass it this additional argument.
4923 * calc/calc-store.el (calc-store-map):
4924 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4925 (calc-map-equation, calc-outer-product, calc-inner-product):
4926 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4927
7a04bee9
SM
4928 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4929
12734222
JL
49302012-09-19 Juri Linkov <juri@jurta.org>
4931
4932 * dired-aux.el (dired-diff): Add (require 'diff) because
4933 `diff-latest-backup-file' is not autoloaded.
4934 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4935 of `dired-get-filename' to t to not report error when there is
4936 no default file on the current line.
4937
46624b4f
SM
49382012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4939
ce97595b
SM
4940 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4941 macroexp--eval-if-compile.
4942 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4943 (macroexp--expand-all): Use them (bug#12371).
4944
46624b4f
SM
4945 * doc-view.el (doc-view-guess-paper-size)
4946 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4947
db8a5a18
TH
49482012-09-19 Tassilo Horn <tsdh@gnu.org>
4949
4950 New feature: set optimal slice from BoundingBox information.
4951 * doc-view.el (doc-view-mode-map): Add keybinding.
4952 (doc-view-menu): Add menu entry.
4953 (doc-view-set-slice): Adapt docstring.
4954 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4955 (doc-view-scale-bounding-box)
4956 (doc-view-set-slice-from-bounding-box): New functions.
4957 (doc-view-paper-sizes): New defvar.
4958
69f6644c
GM
49592012-09-19 Glenn Morris <rgm@gnu.org>
4960
35f5b19d
GM
4961 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4962 (byte-compile-log-warning): Autoload. (Bug#12371)
4963
69f6644c
GM
4964 * calendar/calendar.el (calendar-american-month-header)
4965 (calendar-european-month-header, calendar-iso-month-header)
4966 (calendar-month-header): New options.
4967 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4968 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4969
e543ae91
JD
49702012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4971
4972 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4973
2fd5e67d
JL
49742012-09-18 Juri Linkov <juri@jurta.org>
4975
4976 * dired-aux.el (dired-diff): Restore original functionality of
4977 getting the default value, but keep new feature of using the
4978 latest existing backup file (`diff-latest-backup-file').
4979
42917e79
JL
49802012-09-18 Juri Linkov <juri@jurta.org>
4981
4982 * dired.el (dired-mark): If the region is active in Transient Mark
4983 mode, mark all files in the active region. Doc fix.
4984 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4985 Doc fix. (Bug#10624)
4986
20f70ede
JL
49872012-09-18 Juri Linkov <juri@jurta.org>
4988
4989 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4990 attributes for M-n are pulled from the file at point.
4991 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4992 Suggested by Drew Adams. (Bug#10624)
4993
32fb8162
DG
49942012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4997 whitespace after "end".
4998 (ruby-do-end-to-brace): Collapse block to one line if it fits
4999 within fill-column.
5000
37ab5092
MR
50012012-09-18 Martin Rudalics <rudalics@gmx.at>
5002
5003 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5004 value.
5005 (debug): Don't remove debugger window when debugger is expected
5006 to be back.
5007
ed1f0bd3
CY
50082012-09-18 Chong Yidong <cyd@gnu.org>
5009
5010 * custom.el (defface): Doc fix.
5011
5012 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5013
a11035b8
MB
50142012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5015
5016 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5017 to initialize query-on-exit; then test that instead (bug#12288).
5018
64f6a736
SM
50192012-09-17 Stefan Merten <smerten@oekonux.de>
5020
70efc5c9 5021 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5022 (rst-defcustom-testcover, rst-testcover-add-compose)
5023 (rst-testcover-add-1value): New functions.
5024 (rst-portable-mark-active-p): Replace by `use-region-p'.
5025 (rst-update-section, rst-classify-adornment)
5026 (rst-find-title-line): Mark `1value' forms.
5027 (rst-classify-adornment): Remove superfluous form.
5028 (rst-update-section, rst-get-adornments-around)
5029 (rst-adornment-complete-p, rst-get-next-adornment)
5030 (rst-adjust, rst-promote-region)
5031 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5032 (rst-find-pfx-in-region, rst-section-tree-rec)
5033 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5034 (rst-toc-node, rst-toc, rst-forward-section)
5035 (rst-iterate-leftmost-paragraphs)
5036 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5037 (rst-bullet-list-region)
5038 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5039 (rst-compile-find-conf, rst-compile)
5040 (rst-repeat-last-character): Fix style.
5041
580bd868
CY
50422012-09-17 Chong Yidong <cyd@gnu.org>
5043
5044 * comint.el (comint--complete-file-name-data): Don't add a space
5045 if the status is `sole'; that adds a gratuitous space in the
5046 completion-cycling case (Bug#12092).
5047
5048 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5049
69de3ec6
RS
50502012-09-17 Richard Stallman <rms@gnu.org>
5051
0dee970c
RS
5052 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5053 only in the mime-shown mode, not in raw mode.
5054 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5055 mime processing. (Bug#12305)
0dee970c 5056
6b250df6
GM
5057 * mail/rmail.el (rmail-retry-failure):
5058 Turn off mime processing first. (Bug#12037)
acb1c47b 5059
69de3ec6
RS
5060 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5061
d079ee5f
CY
50622012-09-17 Chong Yidong <cyd@gnu.org>
5063
5064 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5065 (shell-dynamic-complete-functions): Convert to defcustom.
5066 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5067
865fe16f
CY
5068 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5069 * comint.el (comint-prompt-read-only):
5070 * custom.el (defcustom):
5071 * hi-lock.el (hi-lock-mode):
5072 * ibuffer.el (ibuffer-formats):
5073 * ielm.el (ielm-prompt-read-only):
5074 * novice.el (disable-command):
5075 * saveplace.el (toggle-save-place):
5076 * speedbar.el (speedbar-supported-extension-expressions):
5077 * startup.el (auto-save-list-file-prefix, init-file-user)
5078 (after-init-hook, inhibit-startup-echo-area-message):
5079 * strokes.el (strokes-help):
5080 * time-stamp.el (time-stamp):
5081 * calendar/calendar.el (calendar, diary-file):
5082 * calendar/diary-lib.el (diary-mail-entries, diary)
5083 (diary-list-entries-hook):
5084 * calendar/holidays.el (holidays, calendar-holidays):
5085 * calendar/lunar.el (lunar-phases):
5086 * calendar/solar.el (sunrise-sunset):
5087 * emulation/edt.el (edt-load-keys):
5088 * emulation/viper.el (viper-mode):
5089 * eshell/em-alias.el (eshell-command-aliases-list):
5090 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5091 * international/ogonek.el (ogonek-information):
5092 * net/tramp-cmds.el (tramp-bug):
5093 * net/quickurl.el (quickurl-reread-hook-postfix):
5094 * play/decipher.el (decipher-font-lock-keywords):
5095 * progmodes/cc-styles.el (c-set-style):
5096 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5097 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5098 * progmodes/octave-mod.el (octave-mode):
5099 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5100 * progmodes/verilog-mode.el (verilog-read-defines):
5101 * textmodes/two-column.el (2C-mode): Likewise.
5102
48093eb9
KY
51032012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5104
5105 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5106 that holds many addresses.
5107
c584eaf9
CY
51082012-09-16 Chong Yidong <cyd@gnu.org>
5109
40d70ecb
CY
5110 * align.el (align-areas): Call the indication function with
5111 positions instead of markers for arguments (Bug#12343).
5112
1667e065
CY
5113 * files.el (parse-colon-path): Use split-string (Bug#12351).
5114
fdc2806d 5115 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5116 (display-buffer-function): Mark as obsolete.
fdc2806d 5117
f1be615c 5118 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5119 values similar to font-lock-keywords (Bug#12136).
5120 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5121 (compilation-error-regexp-alist): Doc fix.
5122
f40a9709
GM
51232012-09-15 Glenn Morris <rgm@gnu.org>
5124
72aa16e1
GM
5125 * version.el (emacs-bzr-version-bzr): New function.
5126 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5127
82375160
GM
5128 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5129 checkouts, check the parent dirstate matches the branch.
5130 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5131 empty string.
5132
f40a9709
GM
5133 * version.el (emacs-bzr-version): Doc fix.
5134 (emacs-bzr-version-dirstate): New function.
5135 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5136 is local try and check that it matches the branch. If not, just
5137 use dirstate information. (Bug#12441)
5138
cb26b7f5
JL
51392012-09-14 Juri Linkov <juri@jurta.org>
5140
5141 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5142 (Bug#12399)
5143
2de39f08
SM
51442012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5145
0fb3cb7c
SM
5146 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5147
2de39f08
SM
5148 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5149 Remove obsolete byte-compiler hack that tried to silence some warnings.
5150 (edebug-submit-bug-report): Remove.
5151 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5152 Remove aliases, use the un-prefixed name instead.
5153 (edebug-pop-to-buffer): Consider other frames.
5154 (edebug-original-read):: Make it more obvious that it's always defined.
5155 (edebug--make-form-data-entry, edebug--form-data-name)
5156 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5157 single-dashed name, and implement with cl-defstruct.
5158 (edebug-set-form-data-entry): Use the standard accessors.
5159 (edebug-make-top-form-data-entry): Use push.
5160 (edebug-no-match): Drop useless `funcall'.
5161 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5162 to functions.
5163 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5164 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5165 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5166 (easy-menu-define, with-custom-print): Remove redundant specs.
5167 (edebug-outside-overriding-local-map)
5168 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5169 (edebug--display): Bind unread-command-events directly to nil rather
5170 than binding it to unread-command-events and later setting it to nil.
5171 (edebug--display): Kill edebug-eval-buffer here...
5172 (edebug--recursive-edit): ...rather than here.
5173 Bind standard-output and standard-input.
5174 (edebug-eval): Check cl-macroexpand-all is fboundp.
5175 (edebug-temp-display-freq-count): Fix last change.
5176
5177 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5178 * subr.el (noreturn, 1value): Add `debug' spec.
5179 * emacs-lisp/advice.el: Require cl-lib.
5180 (ad-copy-tree): Remove, use copy-tree instead.
5181 (ad-dolist): Remove use dolist or cl-dolist instead.
5182 (ad-do-return): Remove, use cl-return instead.
5183 (defadvice): Add `debug' spec.
5184
5b68b333
JL
51852012-09-13 Juri Linkov <juri@jurta.org>
5186
5187 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5188 (Bug#12399)
5189
b9800ec4
GM
51902012-09-13 Glenn Morris <rgm@gnu.org>
5191
6a2e6868
GM
5192 * calc/calc.el (math-compose-expr):
5193 * calc/calc-ext.el (math-compose-expr):
5194 * progmodes/cc-defs.el (cl-macroexpand-all):
5195 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5196 (cl-macroexpand-all): Update declarations.
5197
b9800ec4
GM
5198 * vc/vc.el: No need to require ediff.
5199 (ediff-load-version-control): Declare.
5200 (ediff-vc-internal): Fix declaration.
5201 (vc-version-ediff): Require ediff.
5202
c18e885b
PE
52032012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5204
5205 Use a more backwards-compatible timer format (Bug#12430).
5206 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5207 being right after USECS, as that better supports old code that
5208 inadvisedly looked directly at the timer vector.
5209
d607d303
KH
52102012-09-13 Kenichi Handa <handa@gnu.org>
5211
5212 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5213 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5214 `coding-priority' property of these language environment.
5215
72eac303
PE
52162012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5217
5218 Fix glitches caused by addition of psec to timers (Bug#12430).
5219 * image.el (image-animate-timer):
5220 * time.el (display-time-world-timer):
5221 Use timer--function and timer--args rather than raw access to
5222 timer vector.
5223
2168fe4f
GM
52242012-09-13 Glenn Morris <rgm@gnu.org>
5225
5226 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5227 If not compiling a file, try using load-file-name.
5228
bd8d6108
SM
52292012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5230
c0c54fbd
SM
5231 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5232 Fix last change.
5233 (edebug-update-eval-list): Use `push'.
5234
bd8d6108
SM
5235 * emacs-lisp/edebug.el: Use lexical-binding.
5236 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5237 Mark unused args with underscore.
5238 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5239 (edebug-form-data): Use defvar-local.
5240 (edebug-make-before-and-after-form, edebug-make-after-form):
5241 Use backquote.
5242 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5243 Not dynamically scoped any more.
5244 (edebug--enter-trace): Add arguments `function' and `args'.
5245 Rename from edebug-enter-trace.
5246 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5247 (edebug--update-coverage): Add `after-index' and `value' args.
5248 Rename from edebug-update-coverage.
5249 (edebug-slow-after): Call it accordingly.
5250 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5251 edebug-recursive-edit.
5252 (edebug--display): Call it accordingly. Add args `value',
5253 `offset-index', and `arg-mode'. Rename from edebug-display.
5254 (edebug-debugger, edebug): Call it accordingly.
5255 (edebug-eval-display-list): Use dolist.
5256
a9f9d9de
JL
52572012-09-12 Juri Linkov <juri@jurta.org>
5258
5259 * info.el (Info-search): Don't check for isearch-mode and
5260 isearch-regexp before let-binding search-spaces-regexp to
5261 Info-search-whitespace-regexp.
5262 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5263 search-whitespace-regexp if isearch-lax-whitespace or
5264 isearch-regexp-lax-whitespace is non-nil.
5265 (Info-mode): Don't set local variable search-whitespace-regexp.
5266 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5267
bfeae2cf
SM
52682012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5271 (debugger-env-macro): Remove support for unread-command-char.
5272
5273 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5274 the temporary map re-appearing on emulation-mode-map-alists.
5275
5276 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5277 since 22.1.
5278
5279 * ehelp.el (with-electric-help): Accept functions in
5280 electric-help-form-to-execute.
5281 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5282 And replace unread-command-char -> unread-command-events.
5283
fbbcaf1b
MA
52842012-09-12 Michael Albinus <michael.albinus@gmx.de>
5285
5286 Sync with Tramp 2.2.6.
5287
5288 * net/tramp.el (tramp-accept-process-output): Don't use
5289 JUST-THIS-ONE in the XEmacs case.
5290
5291 * net/trampver.el: Update release number.
5292
4dece104
MR
52932012-09-12 Martin Rudalics <rudalics@gmx.at>
5294
bfeae2cf
SM
5295 * emacs-lisp/debug.el (debugger-previous-window-height):
5296 New variable.
4dece104
MR
5297 (debug): When debugger-jumping-flag is non-nil try to restore
5298 height of debugger window. (Bug#8789)
5299
45b82ad0
SM
53002012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5301
60c49c0f
SM
5302 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5303 overriding-local-map and pre/post-command-hook here.
5304 (edebug-recursive-edit): Do it here instead (bug#12345).
5305 (edebug-outside-unread-command-char): Remove all uses of
5306 unread-command-char.
5307
45b82ad0
SM
5308 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5309 inhibit-debugger is bound instead.
5310
baa26ea0
BG
53112012-09-11 Bastien Guerry <bzg@gnu.org>
5312
5313 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5314 (Bug#12346)
baa26ea0 5315
04e8abfa
BG
53162012-09-11 Bastien Guerry <bzg@gnu.org>
5317
96d03571 5318 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5319 (Bug#12347)
96d03571
BG
5320
53212012-09-11 Bastien Guerry <bzg@gnu.org>
5322
fc0c31f8 5323 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5324
04e082b0
MM
53252012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5326
5327 * progmodes/sql.el: Version 3.1
5328 (sql-db2-escape-newlines): New variable.
5329 (sql-escape-newlines-filter): Use it.
5330
399a361b
JB
53312012-09-10 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5334
0780c517
DN
53352012-09-10 Dan Nicolaescu <dann@gnu.org>
5336
45b82ad0
SM
5337 * vc/diff-mode.el (diff-mode-menu):
5338 Bind diff-remove-trailing-whitespace.
0780c517 5339
9b851e25
SM
53402012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5343 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5344 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5345 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5346 (eval-defun-2): Remove bogus interactive spec.
5347 (lisp-indent-line): Remove redundant whole-exp code, now done in
5348 indent-according-to-mode.
5349 (save-match-data): Remove redundant indent data.
5350
5351 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5352 Use `declare'.
5353
3231d532
JL
53542012-09-09 Juri Linkov <juri@jurta.org>
5355
5356 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5357 (replace-lax-whitespace, query-replace-regexp)
5358 (query-replace-regexp-eval, replace-regexp): Doc fix.
5359 (perform-replace, replace-highlight): Let-bind
5360 isearch-lax-whitespace to replace-lax-whitespace and
5361 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5362
5363 * isearch.el (isearch-query-replace): Let-bind
5364 replace-lax-whitespace to isearch-lax-whitespace and
5365 replace-regexp-lax-whitespace to
5366 isearch-regexp-lax-whitespace. (Bug#10885)
5367
70fe8236
SM
53682012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5371
8ed43f15
AM
53722012-09-09 Alan Mackenzie <acm@muc.de>
5373
70fe8236
SM
5374 * progmodes/cc-engine.el (c-state-cache-init):
5375 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5376 (c-record-parse-state-state):
5377 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5378
bfabf70a
AS
53792012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5380
5381 * register.el (register-separator): Rename from
5382 separator-register. All uses changed. Doc fix.
5383 (register): Fix version.
5384
011474aa
CY
53852012-09-09 Chong Yidong <cyd@gnu.org>
5386
5387 * replace.el (query-replace-map): Bind four new symbols for
5388 requesting window scrolling.
5389
5390 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5391 query-replace-map (Bug#8948).
5392
5393 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5394
5395 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5396 since they are now in query-replace-map.
5397
5398 * window.el (scroll-other-window-down): Make the arg optional.
5399
a8b7cd8d
CY
54002012-09-09 Chong Yidong <cyd@gnu.org>
5401
5402 * files.el (hack-local-variables-confirm): Use quit-window to kill
5403 the *Local Variables* buffer.
5404
c3268831
DG
54052012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5406
5407 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5408 not just expect to be at its beginning. Adjust callees.
5409 Succeed when do-end block has no space before the pipe character.
5410 (ruby-brace-to-do-end): When the original block is one-liner,
5411 convert to multiline. Reindent the result.
5412
0979429b
J
54132012-09-08 Jambunathan K <kjambunathan@gmail.com>
5414
5415 * register.el (register): New group.
27359e99 5416 (separator-register): New user option.
0979429b
J
5417 (increment-register): Route it to `append-to-register', if
5418 register contains text. Implication is that `C-x r +' can now be
5419 used for appending to a text register (bug#12217).
5420 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5421 `separator-register'.
0979429b 5422
ace2989a
AM
54232012-09-08 Alan Mackenzie <acm@muc.de>
5424
5425 AWK Mode: make auto-newline work when there's "==" in the pattern.
5426 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5427 correctly.
0979429b
J
5428 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5429 Test more rigorously for "=" token.
ace2989a 5430
616c6c36
DG
54312012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5432
0979429b
J
5433 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5434 Only fail when reached LIMIT.
616c6c36 5435
35d98877
CY
54362012-09-08 Chong Yidong <cyd@gnu.org>
5437
5438 * dired.el (dired-mode-map): Don't bind M-=.
5439
5440 * dired-aux.el (dired-diff): Use backup file as default.
5441
1715f2db
DA
54422012-09-08 Drew Adams <drew.adams@oracle.com>
5443
5444 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5445
6dcef6ec
CY
54462012-09-08 Chong Yidong <cyd@gnu.org>
5447
5448 * subr.el (syntax-after, syntax-class): Doc fix.
5449
fa2bcf43
MR
54502012-09-08 Martin Rudalics <rudalics@gmx.at>
5451
5452 * window.el (display-buffer-in-previous-window): New buffer
5453 display action function.
5454
5455 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5456 (debugger-previous-window): New variable.
5457 (debug): Rewrite using display-buffer-in-previous-window,
5458 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5459
daac280a
SM
54602012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5463
9dd40b00
MM
54642012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5465
daac280a
SM
5466 * progmodes/python.el (python-shell-send-string):
5467 When default-directory is remote, create temp file on remote
9dd40b00
MM
5468 filesystem.
5469 (python-shell-send-file): When file is remote, pass local view of
5470 file paths to remote Python interpreter. (Bug#12340)
5471
145823ec
CY
54722012-09-07 Chong Yidong <cyd@gnu.org>
5473
cee2e90d
CY
5474 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5475
0d7eb2ea
CY
5476 * files.el (after-find-file): Don't fail on a read-only buffer if
5477 require-final-newline is `visit' or `visit-save' (Bug#11156).
5478
145823ec
CY
5479 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5480
daac280a
SM
5481 * userlock.el (ask-user-about-supersession-threat):
5482 Use read-char-choice (Bug#12093).
145823ec 5483
74c582e6
CY
54842012-09-07 Chong Yidong <cyd@gnu.org>
5485
e5c2edf7
CY
5486 * subr.el (buffer-narrowed-p): New function.
5487
5488 * ses.el (ses-widen):
5489 * simple.el (count-words--buffer-message):
1f9f395d 5490 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5491
5492 * simple.el (count-words-region): Don't signal an error if there
5493 is a non-nil prefix arg and the mark is not set.
c640e87d 5494
74c582e6
CY
5495 * help.el (describe-key-briefly): Allow the message to be seen
5496 when invoked from the minibuffer (Bug#7014).
5497
d81ceaaf
DG
54982012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5499
5500 * progmodes/ruby-mode.el (ruby-end-of-defun)
5501 (ruby-beginning-of-defun): Simplify, allow indentation before
5502 block beginning and end keywords.
8f06acce
DG
5503 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5504 (ruby-end-of-defun): Expect that the point is at the beginning of
5505 the defun.
d81ceaaf 5506
d458ef98
SM
55072012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5510 (bug#12367).
5511 (cl--make-usage-args): Strip _ from argument names.
5512
20367d28
RS
55132012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5514
5515 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5516 obsolete alias speedbar-key-map.
5517 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5518 (vhdl-index-menu-init): Don't use obsolete variable
5519 font-lock-maximum-size.
5520
3424a4f6
CY
55212012-09-06 Chong Yidong <cyd@gnu.org>
5522
5523 * frame.el (window-system-version): Mark as obsolete.
5524
fcbfbdea
CY
5525 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5526 of obsolete variable speedbar-key-map.
5527
826b3235
JL
55282012-09-06 Juri Linkov <juri@jurta.org>
5529
5530 * replace.el (replace-lax-whitespace): New defcustom.
5531 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5532 (replace-string, replace-regexp): Mention it in docstrings.
5533 (perform-replace, replace-highlight): Let-bind
5534 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5535 to the values of replace-lax-whitespace and regexp-flag.
5536 Don't let-bind search-whitespace-regexp. (Bug#10885)
5537
5538 * isearch.el (isearch-query-replace): Let-bind
5539 replace-lax-whitespace instead of let-binding
5540 replace-search-function and replace-re-search-function.
5541 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5542 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5543 (isearch-toggle-symbol): Set isearch-regexp to nil
5544 in isearch-word mode (like in isearch-toggle-word).
5545
1ec5e41d
JL
55462012-09-06 Juri Linkov <juri@jurta.org>
5547
5548 * replace.el (replace-search-function)
5549 (replace-re-search-function): Set default values to nil.
5550 (perform-replace): Let-bind isearch-related variables based on
5551 replace-related values, call `isearch-search-fun' and let-bind
5552 the result to `search-function'. Remove code that sets
5553 `search-function' and `search-string' separately for
5554 `delimited-flag'.
5555 (replace-highlight): Add new argument `delimited-flag' and
5556 rename other arguments to the names used in `perform-replace'.
5557 Let-bind `isearch-word' to the argument `delimited-flag'.
5558 (Bug#10885, bug#10887)
5559
0ba2d4b6
DG
55602012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5561
5562 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5563 ruby-beginning-of-indent, simplify, allow all keywords to have
5564 indentation before them.
5565 (ruby-beginning-of-indent): Adjust for above. Search until the
5566 found point is not inside a string or comment.
5567 (ruby-font-lock-keywords): Allow symbols to start with "@"
5568 character, give them higher priority than variables.
5569 (ruby-syntax-propertize-function)
5570 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5571 matchers. Expression expansions are not comments when inside a
5572 string, and there comment syntax status is irrelevant.
5573 (ruby-match-expression-expansion): New function. Check that
5574 expression expansion is inside a string, and it's not escaped.
5575 (ruby-font-lock-keywords): Use it.
5576
ef654460
MR
55772012-09-05 Martin Rudalics <rudalics@gmx.at>
5578
5579 * help.el (temp-buffer-max-height): New default value.
5580 (temp-buffer-resize-frames): New option.
5581 (resize-temp-buffer-window): Optionally resize frame.
5582
5583 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5584 (fit-frame-to-buffer): New function.
5585
7e570fbf 55862012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5587
5588 * emulation/cua-rect.el (cua--init-rectangles):
5589 * textmodes/picture.el (picture-mode-map):
5590 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5591 like forward-char and backward-char. (Bug#12317)
5592
7e570fbf 55932012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5594
5595 * progmodes/flymake.el (flymake-warning-re): New variable.
5596 (flymake-parse-line): Use it.
5597
7e570fbf 55982012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5599
5600 * calendar/holidays.el (holiday-christian-holidays):
5601 Rename an entry. (Bug#12289)
5602
7e570fbf 56032012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5604
5605 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5606 (bug#12222).
5607
972debf2
SM
56082012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * loadup.el: Load macroexp. Remove hack.
5611 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5612 (macroexp--expand-all): Use it to get better warnings.
5613 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5614 (internal-macroexpand-for-load): New functions.
5615 (macroexp--pending-eager-loads): New var.
5616 (emacs-startup-hook): New hack to replace one in loadup.el.
5617 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5618 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5619 (cl-psetf): Simplify.
5620 (cl-defstruct): Add indent rule.
5621
8ce192e3
LI
56222012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5623
5624 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5625 over `user-mail-address' for the SMTP MAIL FROM envelope.
5626 (smtpmail-via-smtp): Ditto.
5627
6578b4d8
DG
56282012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5629
5630 * progmodes/ruby-mode.el: Clean up keybindings.
5631 (ruby-mode-map): Don't bind ruby-electric-brace,
5632 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5633 backward-kill-word, reindent-then-newline-and-indent.
5634 (ruby-mark-defun): Remove.
5635 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5636 (ruby-mode): Set local beginning-of-defun-function and
5637 end-of-defun-function values.
5638
c5e28e39
MR
56392012-09-03 Martin Rudalics <rudalics@gmx.at>
5640
5641 * window.el (temp-buffer-window-setup-hook)
5642 (temp-buffer-window-show-hook): New hooks.
5643 (temp-buffer-window-setup, temp-buffer-window-show)
5644 (with-temp-buffer-window): New functions.
972debf2
SM
5645 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5646 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5647
5648 * help.el (temp-buffer-resize-mode): Fix doc-string.
5649 (resize-temp-buffer-window): New optional argument WINDOW.
5650
5651 * files.el (recover-file, save-buffers-kill-emacs):
5652 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5653
73406194
MA
56542012-09-02 Michael Albinus <michael.albinus@gmx.de>
5655
5656 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5657 remote definition of `default-directory', ensure we can connect.
5658
63dd1c6f
JL
56592012-09-02 Juri Linkov <juri@jurta.org>
5660
5661 Toggle whitespace matching mode with M-s SPC.
5662 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5663
5664 * isearch.el (search-whitespace-regexp): Doc fix.
5665 Remove cons cell customization.
5666 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5667 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5668 New variables.
5669 (isearch-forward, isearch-forward-regexp): Doc fix.
5670 (isearch-toggle-lax-whitespace): New command.
5671 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5672 (re-search-forward-lax-whitespace)
5673 (re-search-backward-lax-whitespace): New functions.
5674 (isearch-whitespace-regexp): Remove function.
5675 (isearch-query-replace): Let-bind replace-search-function and
5676 replace-re-search-function.
5677 (isearch-occur): Let-bind search-spaces-regexp according to the
5678 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5679 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5680 condition for C-q SPC.
5681 (isearch-search-fun-default): Use new functions mentioned above.
5682 (isearch-search-forward, isearch-search-backward): Remove functions.
5683 (isearch-search): Don't let-bind search-spaces-regexp.
5684 (isearch-lazy-highlight-space-regexp): Remove variable.
5685 (isearch-lazy-highlight-lax-whitespace)
5686 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5687 (isearch-lazy-highlight-new-loop): Use them.
5688 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5689
af7dda05
CY
56902012-09-02 Chong Yidong <cyd@gnu.org>
5691
5692 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5693
d67d3afd
GM
56942012-09-02 Glenn Morris <rgm@gnu.org>
5695
5696 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5697
69678719
GM
56982012-09-01 Glenn Morris <rgm@gnu.org>
5699
5700 * term.el: Tidy up menu definitions.
5701 (term-mode-map): Use easymenu for In/Out, Complete menus.
5702 (term-pager-break-map): Initialize in the defvar.
5703 (term-terminal-menu, term-signals-menu): Define with easymenu.
5704 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5705 (term-pager-menu): New, extracted from term-process-pager.
5706 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5707 (term-update-mode-line): Propertize line/char and page items.
5708 (term-process-pager): Move keymap initialization elsewhere.
5709
78dd6ab1
MR
57102012-09-01 Martin Rudalics <rudalics@gmx.at>
5711
5712 * window.el (switch-to-prev-buffer): Handle additional values of
5713 BURY-OR-KILL argument. Don't switch in minibuffer window.
5714 (switch-to-next-buffer): Don't switch in minibuffer window.
5715 (quit-restore-window): New function based on quit-window.
5716 Handle additional values of former KILL argument.
5717 (quit-window): Call quit-restore-window with appropriate
5718 interpretation of KILL argument.
5719 (display-buffer-below-selected): New buffer display action
5720 function.
5721
3d10e134
SM
57222012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * minibuffer.el (completion-at-point-functions): Complete docstring
5725 (bug#12254).
5726
0e23ef9d
PE
57272012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5728
5729 Better seed support for (random).
5730 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5731 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5732 * play/mpuz.el, play/tetris.el, play/zone.el:
5733 * calc/calc-comb.el (math-init-random-base):
5734 * play/blackbox.el (bb-init-board):
5735 * play/life.el (life):
5736 * server.el (server-use-tcp):
5737 * type-break.el (type-break):
5738 Remove unnecessary call to (random t).
5739 * net/sasl.el (sasl-unique-id-function):
5740 Change (random t) to (random), now that the latter is more random.
5741 * play/life.el (life-initialized): Remove no-longer-needed var.
5742
862382df
MR
57432012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5744
5745 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5746 Consider frame's buffer predicate when choosing the buffer.
5747 (Bug#12081)
5748
262a66e1
RS
57492012-08-30 Richard Stallman <rms@gnu.org>
5750
5751 * simple.el (special-mode-map): Delete binding for `z'.
5752
f17e1d00
AS
57532012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5754
5755 * progmodes/compile.el (compilation-always-kill): Doc fix.
5756
24777832
CY
57572012-08-30 Chong Yidong <cyd@gnu.org>
5758
5759 * window.el (display-buffer-reuse-frames): Make the obsolescence
5760 message more informative.
5761
69ba1f04
GM
57622012-08-30 Glenn Morris <rgm@gnu.org>
5763
5764 * paren.el (show-paren-delay):
5765 Add a :set function. Doc fix. (Bug#12297)
5766
f0019ede
MB
57672012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5768
5769 * progmodes/compile.el (compilation-always-kill): New var.
5770 (compilation-start): Use it.
5771
35e62fc9
SM
57722012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5773
af070a1c
SM
5774 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5775 * files.el (read-only-mode): Move to simple.el.
5776
35e62fc9
SM
5777 * files.el (read-only-mode): New minor mode.
5778 (toggle-read-only): Use it and mark obsolete.
5779 (find-file--read-only):
5780 * vc/vc.el (vc-next-action, vc-checkout):
5781 * vc/vc-cvs.el (vc-cvs-checkout):
5782 * obsolete/vc-mcvs.el (vc-mcvs-update):
5783 * ffap.el (ffap--toggle-read-only): Update callers.
5784
c2c43c23
MA
57852012-08-29 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5788 remote shell scripts.
5789 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5790
5791 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5792 "/usr/local/sbin".
5793
9fba804b
SM
57942012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5797
eada0861 57982012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5799
806f0cc7
LL
5800 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5801 completion-at-point. (Bug#12220)
5802
3bb213b9
LL
5803 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5804
22ab32ef
LL
5805 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5806
eada0861 58072012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5808
19c17fc1
CY
5809 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5810 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5811
eada0861 58122012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5813
5814 * progmodes/hideif.el (hif-compress-define-list):
5815 Fix typo. (Bug#11951)
5816
eada0861 58172012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5818
5819 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5820 buffer local setting.
5821
27d6c5a8
LL
5822 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5823 rcirc-encode-coding-system.
5824
eada0861 58252012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5826
5827 * net/rcirc.el (rcirc-split-message): New function.
5828 (rcirc-send-message): Use it. (Bug#12051)
5829
d44688e4
JL
58302012-08-28 Juri Linkov <juri@jurta.org>
5831
5832 * info.el (Info-fontify-node): Hide empty lines at the end of
5833 the node. (Bug#12272)
5834
34f10d41
MR
58352012-08-27 Drew Adams <drew.adams@oracle.com>
5836
5837 * dired.el (dired-pop-to-buffer): Make window start at beginning
5838 of buffer (Bug#12281).
5839
77f1f99c
CY
58402012-08-26 Chong Yidong <cyd@gnu.org>
5841
5842 * window.el (special-display-regexps, special-display-frame-alist)
5843 (special-display-buffer-names, special-display-function)
5844 (display-buffer-reuse-frames): Mark as obsolete.
5845
5846 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5847
5848 * help.el (help-print-return-message): Don't treat
5849 display-buffer-reuse-frames specially.
5850
d97af5a0
CY
58512012-08-26 Chong Yidong <cyd@gnu.org>
5852
9fba804b
SM
5853 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5854 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5855 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5856 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5857 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5858 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5859 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5860 the functions directly with gdb-display-buffer-other-frame-action.
5861 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5862 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5863 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5864 (gdb-display-registers-buffer): Define directly.
5865 (def-gdb-display-buffer): Macro deleted.
5866 (gdb-display-buffer): Remove second and third args, callers don't
5867 use them. Defer to the default display-buffer behavior, apart
5868 from making windows dedicated.
5869 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5870
5871 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5872
5873 * window.el (display-buffer-pop-up-frame): Handle a
5874 pop-up-frame-parameters alist entry.
5875 (display-buffer): Document it.
5876
dd7ffad6
CY
58772012-08-26 Chong Yidong <cyd@gnu.org>
5878
5879 * isearch.el (search-whitespace-regexp): Make string and nil
5880 values apply to both ordinary and regexp search. Allow a cons
5881 cell value to distinguish between the two.
5882 (isearch-whitespace-regexp, isearch-search-forward)
5883 (isearch-search-backward): New functions.
5884 (isearch-occur, isearch-search-fun-default, isearch-search)
5885 (isearch-lazy-highlight-new-loop): Use them.
5886 (isearch-forward, isearch-forward-regexp): Doc fix.
5887
4c47bd1e
CY
58882012-08-26 Chong Yidong <cyd@gnu.org>
5889
5890 * faces.el (help-argument-name): Always inherit from italic
5891 (Bug#12213).
5892
9aba119d
MR
58932012-08-25 Martin Rudalics <rudalics@gmx.at>
5894
5895 * window.el (window--even-window-heights): Even heights when
5896 WINDOW and the selected window form a vertical combination.
5897 (display-buffer-use-some-window): Provide that window used gets
5898 sized back by quit-window. (Bug#11880) and (Bug#12091)
5899
ca5256ad
PE
59002012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5901
5902 Fix file time stamp problem with bzr and CVS (Bug#12001).
5903 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5904 in the file's time stamp, since the version control system loses
5905 that information.
5906
d1c0d176
JL
59072012-08-22 Juri Linkov <juri@jurta.org>
5908
5909 * info.el (Info-fontify-node): Hide the suffix of the
5910 Info file name in the header line. (Bug#12187)
5911
141562ff
GM
59122012-08-22 Glenn Morris <rgm@gnu.org>
5913
5914 * calendar/cal-tex.el (cal-tex-weekly-common):
5915 Restore leading blank page.
5916
3a21537c 59172012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5918
5919 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5920 the region under `shift-select-mode'. (Bug#12231)
5921
59222012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5923
5924 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5925 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5926 gives details on why the space is never needed.
5927
ea95074e
MR
59282012-08-22 Martin Rudalics <rudalics@gmx.at>
5929
9fba804b
SM
5930 * window.el (walk-window-tree, window-with-parameter):
5931 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5932 should run on the minibuffer window.
5933 (window-at-side-list): Don't operate on minibuffer window.
5934 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5935 (window--size-ignore): Rename to window--size-ignore-p.
5936 Update callers.
caceae25
MR
5937 (display-buffer-in-atom-window, window--major-non-side-window)
5938 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5939 (delete-side-window, display-buffer-in-side-window):
5940 New functions.
caceae25
MR
5941 (window--side-check, window-deletable-p, delete-window)
5942 (delete-other-windows, split-window): Handle side windows and
5943 atomic windows appropriately.
5944 (window--display-buffer): Call display-buffer-record-window also
5945 when the window buffer did not change.
ea95074e 5946
80a51fa0
CS
59472012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5948
5949 * help-fns.el (help-fns--key-bindings):
5950 Abbreviate non-symbol remap targets. (Bug#12174)
5951
fbb6300b
MR
59522012-08-22 Martin Rudalics <rudalics@gmx.at>
5953
5954 * dired.el (dired-mark-remembered): Don't clobber point.
5955 (Bug#11795)
5956
2b2c0794
GM
59572012-08-22 Glenn Morris <rgm@gnu.org>
5958
5959 * progmodes/bug-reference.el (bug-reference): New custom group.
5960 (bug-reference-bug-regexp): Make it a defcustom.
5961
37219830
DU
59622012-08-22 Daiki Ueno <ueno@unixuser.org>
5963
5964 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5965 (js-paren-indent-offset, js-square-indent-offset)
5966 (js-curly-indent-offset): Add :safe (Bug#12257).
5967
94e0e559
EC
59682012-08-22 Edward O'Connor <hober0@gmail.com>
5969
5970 * json.el (json-key-format): Add error properties.
5971 (json-encode-key): New function.
5972 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5973 Use json-encode-key.
5974
da485f5e
GM
59752012-08-22 Glenn Morris <rgm@gnu.org>
5976
5977 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5978 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5979 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5980 Update for above change.
5981
c6cc78b8
AS
59822012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5983
5984 * cus-face.el (custom-face-attributes): Fix customize type for the
5985 :underline attribute. (Bug#11805)
5986
5481664a
MR
59872012-08-21 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (window-point-1, set-window-point-1): Remove.
5990 (window-in-direction, record-window-buffer)
5991 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5992 (window--state-get-1, display-buffer-record-window):
5993 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5994 window-point and set-window-point respectively.
5995
6d74698e
GM
59962012-08-21 Glenn Morris <rgm@gnu.org>
5997
b7fa2691
GM
5998 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5999 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6000 Use it.
6001
52f56d5a
GM
6002 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6003 (cal-tex-shortday): New function.
6004 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6005 (cal-tex-cursor-filofax-daily): Use the above.
6006
9f1ee09e
GM
6007 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6008 New functions.
6009 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6010 (cal-tex-cursor-filofax-week): Use them.
6011
79858159
GM
6012 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6013 New constants.
6014 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6015 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6016
d346b2b4
GM
6017 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6018 (cal-tex-end-document): Don't rely on buffer name.
6019
b2403709
GM
6020 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6021 Use cal-tex-vspace.
6022 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6023 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6024 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6025 Use cal-tex-arg.
b2403709 6026
1cebb5c0
GM
6027 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6028 (cal-tex-cursor-week, cal-tex-cursor-week2)
6029 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6030 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6031 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6032 (cal-tex-insert-preamble, cal-tex-b-document)
6033 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6034 Improve cal-tex-cmd usage.
6035
c68cd5d4
GM
6036 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6037 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6038 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6039 (cal-tex-weekly-paper): New function.
6040 (cal-tex-cursor-week, cal-tex-cursor-week2)
6041 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6042 (cal-tex-cursor-day): Use it.
6043
9dca4801
GM
6044 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6045 (cal-tex-cursor-filofax-week): Remove leading blank page.
6046
1941e134
GM
6047 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6048 Add autoload cookie. For now at least, don't use color, since
6049 no other cal-tex function does.
6050
6d74698e
GM
6051 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6052 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6053 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6054
64cde199
JL
60552012-08-21 Juri Linkov <juri@jurta.org>
6056
6057 * info.el (Info-file-attributes): New variable.
6058 (info-insert-file-contents): Add file attributes to
6059 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6060 `Info-toc-nodes' when previous modtime of the Info file is less
6061 than new modtime.
6062 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6063 of info.el. (Bug#12230)
6064
32757648
GM
60652012-08-20 Glenn Morris <rgm@gnu.org>
6066
6067 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6068 * calendar/holidays.el (calendar-holiday-list):
6069 Report errors with display-warning rather than beep'n'sleep.
6070
a32fbbcf
MA
60712012-08-20 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/tramp.el (tramp-accept-process-output): Accept only output
6074 from PROC. Otherwise, process filters and sentinels might be
6075 confused. (Bug#12145)
6076
a05731a0
CY
60772012-08-20 Chong Yidong <cyd@gnu.org>
6078
6079 * descr-text.el (describe-text-properties-1): Use overlays-in to
6080 report on empty overlays (Bug#3322).
6081
36e8d1eb
GM
60822012-08-20 Glenn Morris <rgm@gnu.org>
6083
3d300447
GM
6084 * mail/rmailout.el (rmail-output-read-file-name):
6085 Trap and report errors in rmail-output-file-alist elements.
6086
36e8d1eb
GM
6087 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6088 since most non-font-lock faces are not also variables).
6089
b96e5814
ER
60902012-08-20 Edward Reingold <reingold@iit.edu>
6091
6092 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6093 New function. (Bug12160)
6094
7cef3569
GM
60952012-08-19 Glenn Morris <rgm@gnu.org>
6096
6097 * mail/rmailout.el (rmail-output-read-file-name):
6098 Fix previous change (when the alist is nil or does not match).
6099
17975d7f
CY
61002012-08-19 Chong Yidong <cyd@gnu.org>
6101
6102 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6103 (Bug#12228).
6104
2170b1bd
CY
61052012-08-18 Chong Yidong <cyd@gnu.org>
6106
6107 * simple.el (yank-handled-properties): New defcustom.
6108 (yank-excluded-properties): Add font-lock-face and category.
6109 (yank): Doc fix.
6110
9fba804b
SM
6111 * subr.el (remove-yank-excluded-properties):
6112 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6113 and category is now done this way, instead of being hard-coded.
6114 (insert-for-yank-1): Remove font-lock-face handling.
6115 (yank-handle-font-lock-face-property)
6116 (yank-handle-category-property): New function.
6117
ee218151
GM
61182012-08-17 Glenn Morris <rgm@gnu.org>
6119
6120 * mail/rmailout.el (rmail-output-read-file-name):
6121 Check rmail-output-file-alist against the full message body
6122 in the correct rmail buffer. (Bug#12214)
6123
4a6bc3fd
MA
61242012-08-17 Michael Albinus <michael.albinus@gmx.de>
6125
9fba804b
SM
6126 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6127 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6128
383dcbf9
CY
61292012-08-17 Chong Yidong <cyd@gnu.org>
6130
6131 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6132 font spec, set the font directly (Bug#3228).
6133
998c4a6a
MR
61342012-08-17 Martin Rudalics <rudalics@gmx.at>
6135
6136 * window.el (delete-window): Fix last fix.
6137
52162052
MR
61382012-08-16 Martin Rudalics <rudalics@gmx.at>
6139
6140 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6141 (window-child, window-child-count, window-last-child)
6142 (window-normalize-window, window-combined-p)
6143 (window-combinations, window-atom-root, window-min-size)
6144 (window-sizable, window-sizable-p, window-size-fixed-p)
6145 (window-min-delta, window-max-delta, window--resizable)
6146 (window--resizable-p, window-resizable, window-total-size)
6147 (window-full-height-p, window-full-width-p, window-body-size)
6148 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6149 (minimize-window, window-deletable-p, delete-window)
6150 (delete-other-windows, set-window-buffer-start-and-point)
6151 (next-buffer, previous-buffer, split-window, balance-windows-2)
6152 (set-window-text-height, window-buffer-height)
6153 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6154 (truncated-partial-width-window-p): Minor code adjustments.
6155 In doc-strings state whether the argument window has to denote a
85c2386b 6156 live, valid or any window.
52162052 6157
1c308380
PS
61582012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6159
6160 * progmodes/subword.el (subword-forward-function)
6161 (subword-backward-function, subword-forward-regexp)
6162 (subword-backward-regexp): New variables.
6163 (subword-forward, subword-forward-internal, subword-backward-internal):
6164 Use new variables, eg so that different "word" definitions
6165 can be easily used. (Bug#11411)
6166
94c9ece1
SM
61672012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6168
6169 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6170 for composite selectors.
6171 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6172 operation just because we can't find a previous revision.
6173
f2045622
CY
61742012-08-15 Chong Yidong <cyd@gnu.org>
6175
6176 * frame.el (set-frame-font): Accept font objects.
6177
582db660
SM
61782012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6181
2f29c200
WJ
61822012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6183
456e62c2
WJ
6184 * man.el (Man-overstrike-face, Man-underline-face)
6185 (Man-reverse-face): Remove variables.
6186 (Man-overstrike, Man-underline, Man-reverse): New faces.
6187 (Man-fontify-manpage): Use them instead of the variables.
6188 (Man-cleanup-manpage): Comment change.
6189 (Man-ansi-color-map): New variable.
6190 (Man-fontify-manpage): Use it.
6191 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6192
2f29c200
WJ
6193 Implement ANSI SGR parameters 22-27 (bug#12146).
6194 * ansi-color.el (ansi-colors): Doc fix.
6195 (ansi-color-context, ansi-color-context-region): Doc fix.
6196 (ansi-color--find-face): New function.
6197 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6198 Rename the local variable `face' to `codes' since it is now a list of
6199 ansi codes. Doc fix.
6200 (ansi-color-get-face): Remove.
6201 (ansi-color-parse-sequence): New function, derived from
6202 ansi-color-get-face.
6203 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6204 codes 22-27.
6205
b4f5e9df
SM
62062012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * subr.el (read-passwd): Allow use from a minibuffer.
6209
ba025fbd
EZ
62102012-08-14 Eli Zaretskii <eliz@gnu.org>
6211
6212 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6213 inside comments and strings as identifiers.
6214
6215 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6216 expression to evaluate. This allows to evaluate expressions with
6217 embedded whitespace.
6218 (gud-tooltip-tips): Add a blank before the newline in the
6219 message-box text, for the benefit of message-box emulation on
6220 MS-Windows.
6221
6222 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6223 messages from GDB, pop them up in a tooltip to give feedback to
6224 user.
b4f5e9df
SM
6225 (gdb-tooltip-print-1): Quote the expression to evaluate.
6226 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6227 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6228 if the TTY name is nil or empty (which happens when communicating
6229 with the inferior via pipes, e.g. on MS-Windows).
6230 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6231 don't send that to the GUD buffer.
6232
c548f821
GM
62332012-08-14 Glenn Morris <rgm@gnu.org>
6234
6235 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6236 Optimize away setq-default with no args, as for setq. (Bug#12195)
6237
55802e4a
CY
62382012-08-14 Chong Yidong <cyd@gnu.org>
6239
4abcdac8
CY
6240 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6241
55802e4a
CY
6242 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6243 (Bug#12085).
6244
3c3cda1a
GM
62452012-08-14 Glenn Morris <rgm@gnu.org>
6246
6247 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6248
e1873bd0
MA
62492012-08-14 Michael Albinus <michael.albinus@gmx.de>
6250
6251 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6252 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6253 Use cached shell name.
6254
925411b4
FEG
62552012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6256
6257 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6258 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6259
e636fafe
DG
62602012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6261
6262 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6263 (ruby-percent-literal-beg-re): New constant.
6264 (ruby-syntax-general-delimiters-goto-beg): Rename to
6265 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6266 (ruby-syntax-propertize-general-delimiters): Rename to
6267 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6268 popular term. Adjust comments everywhere.
6269 (ruby-syntax-propertize-percent-literal): Only propertize when not
6270 inside a simple string or comment. When the literal is unclosed,
6271 leave the text after it unpropertized.
f063063a
DG
6272 (ruby-syntax-methods-before-regexp): New constant.
6273 (ruby-syntax-propertize-function): Use it to recognize regexps.
6274 Don't look at the text after regexp, just use the whitelist.
e636fafe 6275
e5b19827
AS
62762012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6279 non-nil always load the compiled file if it exists. (Bug#12197)
6280
a9f6f311
CY
62812012-08-14 Chong Yidong <cyd@gnu.org>
6282
6283 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6284 (hi-lock-set-pattern): When deciding whether to use font lock or
6285 overlays, look at font-lock-mode instead of font-lock-fontified
6286 (Bug#12168).
6287 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6288 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6289
7d806b1e
DU
62902012-08-14 Daiki Ueno <ueno@unixuser.org>
6291
6292 * subr.el (internal--after-with-selected-window): Fix typo
6293 (Bug#12193).
6294
5beed586
FEG
62952012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6296
6297 Use `completion-table-dynamic' for completion functions.
6298 * progmodes/python.el
6299 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6300 (python-shell-completion--get-completions):
6301 Remove functions.
5beed586
FEG
6302 (python-shell-completion-complete-at-point): New function.
6303 (python-completion-complete-at-point): Use it.
6304
92cb3b04
J
63052012-08-13 Jambunathan K <kjambunathan@gmail.com>
6306
6307 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6308 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6309
89660017
SM
63102012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6311
3c98c962
SM
6312 * subr.el (function-get): Refine `autoload' arg so it can also
6313 autoload functions for gv.el (bug#12191).
6314 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6315 autoloads macros.
6316
aa7c6dbe
SM
6317 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6318 Prefer pcase-let over destructuring-bind.
6319 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6320 Also, remove whitespace as we go, rather than after accumulating the
6321 various places.
6322
89660017
SM
6323 * subr.el (internal--before-with-selected-window)
6324 (internal--after-with-selected-window): Fix typo seleted->selected.
6325 (with-selected-window): Adjust callers.
6326 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6327
31cd32c9
BG
63282012-08-13 Bastien Guerry <bzg@gnu.org>
6329
0fcd3d9f 6330 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6331 enhancement. (Bug#12172)
6332
1b15d8ad
AS
63332012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6334
31e54db0
AS
6335 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6336 type 1-6.
6337 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6338 extended headers.
6339
1b15d8ad
AS
6340 * files.el (hack-local-variables-filter): Remove useless eval.
6341
35cb9c06
MR
63422012-08-13 Martin Rudalics <rudalics@gmx.at>
6343
6344 * subr.el (with-selected-window): Fix last change.
6345
1439443b
SM
63462012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * subr.el (internal--before-with-seleted-window)
6349 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6350 (with-selected-window): Use them, to replace dependency on
6351 tty-top-frame.
1439443b 6352
0d9e2599
NN
63532012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6354
6355 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6356 binding for `newline'.
6357 (ruby-move-to-block): When moving backward, stop at block opening,
6358 not indentation.
6359 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6360 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6361 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6362 `ruby-toggle-block'.
6363
ba10c48c
SM
63642012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * ibuffer.el (ibuffer-do-toggle-read-only):
6367 * dired.el (dired-toggle-read-only):
6368 * buff-menu.el (Buffer-menu-toggle-read-only):
6369 * bindings.el (mode-line-toggle-read-only):
6370 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6371
9229c658
AS
63722012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6373
6374 * descr-text.el (describe-char): Put the overlays over the
6375 "displayed as" character.
6376
0fd09128
JB
63772012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6378
6379 * calc/calc-units.el (math-default-units-table): Give an
6380 initial value.
6381 (math-put-default-units): Add options to put composite units and
6382 unit systems in the default units table.
6383 (calc-convert-units): Send composite units to
6384 `math-put-default-units' when appropriate.
6385
9ff9402d 63862012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6387
fbb5e336
GM
6388 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6389
7aacaf15
GM
6390 * tutorial.el (help-with-tutorial):
6391 * emacs-lisp/copyright.el (copyright-update-directory):
6392 * emacs-lisp/autoload.el (autoload-find-generated-file)
6393 (autoload-find-file): Disable local eval: (for insurance).
6394
f40b9f10
GM
6395 * files.el (hack-local-variables-filter): If an eval: form is not
6396 known to be safe, and enable-local-variables is :safe, then ignore
6397 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6398 This is CVE-2012-3479.
f40b9f10 6399
daa9f1a6
SM
64002012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6403 (rx-form): Simplify.
6404
9cd80478
DG
64052012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6406
0d9e2599
NN
6407 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6408 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6409 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6410 (ruby-syntax-propertize-function): Adjust for changes in
6411 `ruby-syntax-propertize-heredoc'.
6412
64132012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6414
9cd80478
DG
6415 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6416 binding (use `M-;' instead).
9cd80478 6417 (ruby-singleton-class-p): New function.
0d9e2599 6418 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6419
d301b413
SM
64202012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6423
1530c98e
CY
64242012-08-10 Chong Yidong <cyd@gnu.org>
6425
6426 * progmodes/python.el (python-shell-get-process-name): Don't mess
6427 with same-window-buffer-names.
6428
6429 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6430 (eshell-remove-from-window-buffer-names): Make obsolete.
6431 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6432 (eshell): Just use pop-to-buffer-same-window instead.
6433
e1293765
CY
64342012-08-10 Chong Yidong <cyd@gnu.org>
6435
6436 * bindings.el: Bind M-= back to count-words-region.
6437
6438 * simple.el (count-words-region): Accept a prefix arg for acting
6439 on the entire buffer.
6440 (count-words--buffer-message): New helper function.
6441
e1894109
SM
64422012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6445 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6446 (event-start, event-end): Use posn-at-point to return a more
6447 informative posn.
6448 (posnp): New function.
6449 * mouse.el (popup-menu-normalize-position): Use it.
6450
c69f56a2
MY
64512012-08-10 Masatake YAMATO <yamato@redhat.com>
6452
6453 * mouse.el (popup-menu-normalize-position): New function.
6454 (popup-menu): Use `popup-menu-normalize-position' to normalize
6455 the form for POSITION argument.
6456
6457 * term/x-win.el (x-menu-bar-open):
6458 Use the value returend from (posn-at-point) as position
6459 passed to `popup-menu'.
6460
31673780
JB
64612012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6462
6463 * calc/calccomp.el (math-compose-expr): Add extra argument
6464 indicating that parentheses should be put around products in
6465 denominators. Give multiplication precedence over division during
6466 composition.
6467
dab7711b
CY
64682012-08-09 Chong Yidong <cyd@gnu.org>
6469
dee4ef93
CY
6470 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6471 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6472 (Man-untabify-command, manual-program): Convert to defcustom
6473 (Bug#10429).
6474
73e2bbc5
CY
6475 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6476
3e861c8a
CY
6477 * descr-text.el (describe-char): Don't insert extra newlines
6478 (Bug#10127).
6479
a9f5a649
CY
6480 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6481 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6482
dab7711b
CY
6483 * align.el (align-region): Delete temporary markers (Bug#10047).
6484 Plus some code cleanups.
6485
e0cc4efa
FEG
64862012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6487
6488 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6489 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6490 (python-shell-internal-last-output): Use make-local-variable
6491 instead of make-variable-buffer-local.
6492
489af14f
FEG
64932012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6494
6495 * progmodes/python.el: Enhancements to forward-sexp.
6496 (python-nav-forward-sexp): Rename from
6497 python-nav-forward-sexp-function.
c69f56a2
MY
6498 (python-nav--forward-sexp, python-nav--backward-sexp):
6499 New functions.
489af14f 6500
0fc50303
JB
65012012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6502
6503 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6504 modes and simplification modes.
6505
5d65606a
SM
65062012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * delsel.el (delete-selection-pre-hook): Don't propagate the
6509 file-supersession signals (bug#12161).
6510
4250fdf5
SM
65112012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6514 (cl-map-extents): Add compatibility aliases (bug#12135).
6515
d9f9b465
MA
65162012-08-08 Michael Albinus <michael.albinus@gmx.de>
6517
6518 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6519 tests by `ignore-error'.
6520 (tramp-find-shell): Open also a new shell, when cache is already
6521 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6522
ce0fcefa
JL
65232012-08-08 Juri Linkov <juri@jurta.org>
6524
6525 * bookmark.el: Add `defaults' property to the bookmark record.
6526 (bookmark-current-buffer): Doc fix.
6527 (bookmark-make-record): Add `defaults' property with default values
6528 to the bookmark record.
6529 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6530 with `bookmark-insert-current-bookmark'.
6531 (bookmark-set): Get `defaults' property from the bookmark record
6532 and use it in `read-from-minibuffer'.
6533 (bookmark-insert-current-bookmark): Remove function.
6534
6535 * info.el (Info-bookmark-make-record): Add `defaults' property
6536 with values of canonical Info node name, the current Info file
6537 name and the current Info node name. (Bug#12107)
6538
53fa8652
JL
65392012-08-08 Juri Linkov <juri@jurta.org>
6540
6541 * files.el (basic-save-buffer): Use `buffer-name' as the default
6542 of `read-file-name' when buffer is not visiting a file (bug#12128).
6543
242c0a95
JL
65442012-08-08 Juri Linkov <juri@jurta.org>
6545
6546 * info.el (Info-isearch-search): Doc fix.
6547 (Info-search): Change search-failed message from "initial node" to
6548 "end of node" (bug#12078).
6549 (Info-isearch-search): Change `isearch-string-state' to
6550 `isearch--state-string'.
6551
32ac3a6b
GM
65522012-08-08 Glenn Morris <rgm@gnu.org>
6553
6554 * language/persian.el: Remove file.
f8c1afd5 6555 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6556 * loadup.el: Remove language/persian.
6557
2c2d9c9c
OF
65582012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6559
6560 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6561
2d79ec42
FEG
65622012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6563
3c855b96 6564 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6565 (python-syntax-context) Rename from python-info-ppss-context.
6566 (python-syntax-context-type): Rename from
6567 python-info-ppss-context-type.
6568 (python-syntax-comment-or-string-p): Rename from
6569 python-info-ppss-comment-or-string-p.
6570
2bd255dd
JB
65712012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6572
6573 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6574
c395097f
AS
65752012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6576
6125983e
AS
6577 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6578 a defcustom that is quoted with backquote.
6579
4250fdf5
SM
6580 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6581 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6582 (math-do-arg-check, math-define-function-body): Use backquote forms.
6583 * calc/calc-ext.el (math-defcache): Likewise.
6584 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6585 * allout.el (allout-new-exposure): Likewise.
6586 * calc/calcalg2.el (math-tracing-integral): Likewise.
6587 * info.el (Info-last-menu-item): Likewise.
6588 * emulation/vip.el (vip-loop): Likewise.
6589 * textmodes/artist.el (artist-funcall): Likewise.
6590 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6591 Construct menu-item directly.
6592
4250fdf5
SM
6593 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6594 Don't declare.
c395097f 6595
5fb50dd3
CY
65962012-08-07 Chong Yidong <cyd@gnu.org>
6597
6598 * simple.el (deactivate-mark): Preserve text properties when
6599 saving the primary selection (Bug#8384).
6600
54eea618
KR
66012012-08-07 Kevin Ryde <user42@zip.com.au>
6602
6603 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6604 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6605 and continue processing (Bug#12110).
6606
638eaeb9
SM
66072012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6610 syntax-propertize-function (bug#10095).
6611
ea376861
SM
66122012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6613
f91b35be
SM
6614 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6615 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6616 describe-function-1.
6617 (describe-function-1): Use them. Move compiler macro after sig.
6618 (help-fns--compiler-macro): Use function-get. Assume we're already in
6619 standard-output. Adjust layout to new call order.
6620
ea376861
SM
6621 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6622 re-binding a symbol that has a symbol-macro (bug#12119).
6623
d5be7bd0
MB
66242012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6625
6626 * language/persian.el: New file. (Bug#11812)
6627 * loadup.el: Add language/persian.el.
6628
90749b53
CY
66292012-08-06 Chong Yidong <cyd@gnu.org>
6630
6631 * window.el (window--maybe-raise-frame): New function.
6632 (window--display-buffer): Split off from here.
6633 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6634 (display-buffer-pop-up-window, display-buffer-use-some-window):
6635 Obey an inhibit-switch-frame action alist entry.
6636 (display-buffer): Update doc.
6637
6638 * replace.el (occur-after-change-function): Avoid losing focus by
6639 using the inhibit-switch-frame display parameter (Bug#12139).
6640
ba7b0154
FEG
66412012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6642
6643 Make internal shell process buffer names start with space.
6644 * progmodes/python.el (python-shell-make-comint): Add optional
6645 argument INTERNAL.
6646 (run-python-internal): Use it.
6647 (python-shell-internal-get-or-create-process): Check for new
6648 internal buffer names.
6649
5eaeacb5
GM
66502012-08-06 Glenn Morris <rgm@gnu.org>
6651
e296d94b 6652 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6653 Do less getting and setting of environment variables.
6654
b7ccbdc2
CY
66552012-08-05 Chong Yidong <cyd@gnu.org>
6656
777fe95e
CY
6657 * proced.el (proced): Add substitution string to docstring to
6658 trigger autoloading of the proced library on C-h f (Bug#1768).
6659
4250fdf5
SM
6660 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6661 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6662
6663 * imenu.el (imenu-generic-expression): Move documentation here
6664 from imenu--generic-function.
6665 (imenu--generic-function): Refer to imenu-generic-expression.
6666
9e3b7800 66672012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6668
6669 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6670 indentation declaration.
6671 (viper-loop): Add indentation declaration (Bug#7025).
6672
e5d9c0d1
CY
66732012-08-05 Chong Yidong <cyd@gnu.org>
6674
f0422feb
CY
6675 * help-fns.el (describe-variable): Add hyperlink for
6676 directory-local variables files. Improve buffer-local and
6677 permanent-local reporting; suggested by MON KEY (Bug#6644).
6678
6679 * help-mode.el (help-dir-local-var-def): New button type.
6680
e5d9c0d1
CY
6681 * files.el (kill-buffer-hook): Provide a defvar.
6682
a4f2deaa
GM
66832012-08-05 Glenn Morris <rgm@gnu.org>
6684
6685 * eshell/esh-ext.el (eshell/addpath):
6686 Also update eshell-path-env. (Bug#12013)
6687
a9dd5754
CY
66882012-08-05 Chong Yidong <cyd@gnu.org>
6689
a4f2deaa 6690 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6691
d014c740
CY
6692 * fringe.el (fringe-styles): Add docstring.
6693 (fringe--check-mode): New function.
6694 (set-fringe-mode, set-fringe-style): Use it.
6695 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6696
a9dd5754
CY
6697 * files.el (set-auto-mode): Fix invalid setq call.
6698
7c2dc8bd
SM
66992012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * isearch.el: Misc simplification; use defstruct.
6702 (isearch-mode-map): Dense maps now work like sparse ones.
6703 (isearch--state): New defstruct.
6704 (isearch-string-state, isearch-message-state, isearch-point-state)
6705 (isearch-success-state, isearch-forward-state)
6706 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6707 (isearch-wrapped-state, isearch-barrier-state)
6708 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6709 replaced by defstruct's accessors.
6710 (isearch--set-state): Rename from isearch-top-state and change
6711 calling convention.
6712 (isearch-push-state): Use new isearch--get-state.
6713 (isearch-toggle-word): Disable regexp when enabling word.
6714 (isearch-message-prefix): Remove unused arg _c-q-hack.
6715 (isearch-message-suffix): Remove unused arg _ellipsis.
6716
7fcc0070
AS
67172012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6718
6719 * simple.el (list-processes--refresh): For a server use :host or
6720 :local as the address.
97ad0769 6721 (list-processes): Doc fix.
7fcc0070 6722
a11035b8 67232012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6724
6725 * lisp/mpc.el: Support password in host argument.
6726 (mpc--proc-connect): Parse and use new password element.
6727 Set mpc-proc variable instead of returning process.
6728 (mpc-proc): Adjust accordingly.
6729
6dad7178
EZ
67302012-08-03 Eli Zaretskii <eliz@gnu.org>
6731
18949c2f
EZ
6732 * whitespace.el (whitespace-display-mappings): Use Unicode
6733 codepoints, instead of emacs-mule codepoints. See
6734 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6735 for the details.
6736
6dad7178
EZ
6737 * files.el (file-truename): Don't skip symlink-chasing part on
6738 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6739 Windows into the loop that recursively chases symlinks.
6740 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6741 MS-DOS.
6742
385b0198
CY
67432012-08-03 Chong Yidong <cyd@gnu.org>
6744
6200f3c4
CY
6745 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6746
385b0198
CY
6747 * sort.el (sort-regexp-fields): Doc fix.
6748
b9e74744
TH
67492012-08-03 Tassilo Horn <tsdh@gnu.org>
6750
6751 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6752 labels regex position point at the expected place.
6753
41013cb4
MK
67542012-08-03 MON KEY <monkey@sandpframing.com>
6755
6756 * net/imap.el (imap-interactive-login, imap-authenticate)
6757 (imap-mailbox-lsub, imap-mailbox-list)
6758 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6759 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6760 (imap-parse-response): Doc fix.
6761
0ffee616
JT
67622012-08-03 João Távora <joaotavora@gmail.com>
6763
6764 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6765 if sexp scanning does not move point (Bug#5734).
6766
cfcc9cc8
TH
67672012-08-02 Tassilo Horn <tsdh@gnu.org>
6768
6769 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6770 Add listings, minted, and ctable packages.
6771 (reftex-label-alist-builtin): Move listings, minted, and ctable
6772 entries before LaTeX.
a01bbb84 6773 (reftex-label-alist): Docfix.
cfcc9cc8 6774
66ec2442
BG
67752012-08-02 Bastien Guerry <bzg@gnu.org>
6776
6777 * replace.el (occur): Fix docstring (bug#12122).
6778
837b365b
GM
67792012-08-02 Glenn Morris <rgm@gnu.org>
6780
6781 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6782
e098de97
PE
67832012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6784
6785 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6786 * international/mule-cmds.el: Create
6787 inactivate-current-input-method-function as an obsolete alias for
6788 deactivate-current-input-method-function. See Katsumi Yamaoka in
6789 <http://bugs.gnu.org/10150#46>.
6790
a0f95636
JB
67912012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6792
6793 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6794 of nested `if's.
6795
0d26d7c4
GM
67962012-08-01 Glenn Morris <rgm@gnu.org>
6797
6798 * progmodes/autoconf.el (autoconf-definition-regexp):
6799 Add AH_TEMPLATE, adjust submatch numbering.
6800 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6801 (autoconf-current-defun-function): Update for above change.
6802 (autoconf-current-defun-function): First skip to end of current word.
6803
b686ba06
RS
68042012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6805
6806 * calendar/cal-html.el (cal-html-insert-agenda-days):
6807 Fix typo. (Bug#12018)
6808
0d49da68
FEG
68092012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6810
6811 Shell processes: enhancements to startup and CEDET compatibility.
6812 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6813 (python-shell-make-comint): accept-process-output at startup.
6814 (run-python-internal): Set inferior-python-mode-hook to nil.
6815 (python-shell-internal-get-or-create-process): call sit-for.
6816 (python-preoutput-result): Add obsolete alias.
6817 (python-shell-internal-send-string): Use it.
6818 (python-shell-send-setup-code): Remove call to
6819 accept-process-output.
6820
f1a71c6e
AS
68212012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6822
6823 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6824 (Bug#12108)
6825
d2605269
JB
68262012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6827
6828 * calc-mode.el (calc-basic-simplification-mode): Rename from
6829 `calc-limited-simplification-mode'.
6830 (calc-alg-simplification-mode): New function.
fc0c31f8 6831 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6832
d2605269
JB
6833 * calc.el (calc-set-mode-line): Adjust mode line display for
6834 basic simplification mode.
6835
6836 * calc-help.el (calc-m-prefix-help): Update help message.
6837
6838 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6839 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6840
a3827a43
BG
68412012-07-31 Bastien Guerry <bzg@gnu.org>
6842
6843 * man.el (man): Fix comment. (bug#12101)
6844
502e3f89
MR
68452012-07-31 Martin Rudalics <rudalics@gmx.at>
6846
6847 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6848 Don't return a non-nil value when no suitable buffer was found.
6849
d7714961
FEG
68502012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6851
6852 * progmodes/python.el (run-python-internal): Disable font lock for
6853 internal shells.
6854
1f45e27e
SM
68552012-07-30 Stefan Merten <smerten@oekonux.de>
6856
70efc5c9 6857 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6858 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6859 (rst-official-version, rst-official-cvs-rev)
6860 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6861 (rst-mode-map): New key binding.
6862
0aee6912
PE
68632012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6864
6865 Update .PHONY listings in makefiles.
6866 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6867 autoloads, update-subdirs, updates, bzr-update, update-authors,
6868 compile-onefile, compile-calc, backup-compiled-files,
6869 compile-after-backup, compile-one-process, mh-autoloads,
6870 bootstrap-clean, distclean, maintainer-clean.
6871
9052f9f0
JB
68722012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6873
1823ac5a
JB
6874 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6875 (calc-set-mode-line): Don't display "AlgSimp ".
6876
6877 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6878 (calc-lim-simplify-mode): New function.
6879 (calc-set-simplify-mode): Default to 'alg.
6880 (calc-default-simplify-mode): Make algebraic simplifications
6881 the default.
6882
6883 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6884 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6885
8d7c7eed 6886 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6887 indicate new simplification modes.
6888
1823ac5a
JB
6889 * calc/README: Mention new default simplification mode.
6890
9052f9f0
JB
6891 * calc/calc.el (math-normalize-error): New variable.
6892 (math-normalize): Set `math-normalize-error' to t
6893 when there's an error.
6894
6895 * calc/calc-alg.el (math-simplify): Don't simplify when
6896 `math-normalize' returns an error.
6897
20ba0cb4
EZ
68982012-07-29 Eli Zaretskii <eliz@gnu.org>
6899
6900 * international/mule-cmds.el (set-locale-environment): Revert last
6901 change, since display-graphic-p returns nil when this function is
6902 called during startup. Instead...
6903
6904 * term/w32console.el (terminal-init-w32console): ...setup the
6905 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6906
a5dcc929
JL
69072012-07-29 Juri Linkov <juri@jurta.org>
6908
6909 * simple.el (goto-line): Don't display default line number in the
6910 prompt because it should be displayed by `read-number' (bug#9952).
6911 Add the current line number to the defaults of `goto-line' to
6912 allow its easier modification by users with `M-n' (bug#9201).
6913
6914 * subr.el (read-number): Support multiple default values like in
6915 other minibuffer reading functions. Replace `read' with
6916 `string-to-number' for consistency with `number-to-string'.
6917
72b255c7
PE
69182012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6919
6920 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6921 * emulation/viper-init.el (viper-deactivate-input-method-action):
6922 Rename from viper-inactivate-input-method-action.
6923 (viper-deactivate-input-method):
6924 Rename from viper-inactivate-input-method.
6925 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6926 * international/mule-cmds.el (deactivate-input-method):
6927 Rename from inactivate-input-method.
6928 Also run input-method-deactivate-hook.
6929 (deactivate-current-input-method-function):
6930 Rename from inactivate-current-input-method-function.
6931 (input-method-deactivate-hook): New hook.
6932 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6933 (inactivate-input-method): Mark obsolete.
6934
72b255c7
PE
6935 * international/quail.el (quail-activate):
6936 Also run quail-deactivate-hook.
6937 (quail-deactivate): Rename from quail-inactivate.
6938 * international/robin.el (robin-activate):
6939 Also run robin-deactivate-hook.
6940 (robin-deactivate): Rename from robin-inactivate.
6941
2549c068
CY
69422012-07-29 Chong Yidong <cyd@gnu.org>
6943
6944 * simple.el (indicate-copied-region): New function.
6945 (kill-ring-save): Split off from here.
6946
6947 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6948 (kill-rectangle): Set deactivate-mark to t on read-only error.
6949
6950 * register.el (copy-to-register, copy-rectangle-to-register):
6951 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6952 (append-to-register, prepend-to-register): Call indicate-copied-region.
6953
69542012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6955
6956 * simple.el (async-shell-command-buffer): New defcustom.
6957 (shell-command): Use it. (Bug#4719)
6958
01bd1b0d
EZ
69592012-07-28 Eli Zaretskii <eliz@gnu.org>
6960
6961 * international/mule-cmds.el (set-locale-environment): In a
6962 console session on MS-Windows, set up keyboard and terminal
6963 encoding from the OEM codepage, not the ANSI codepage.
6964 (Bug#12055)
6965
a55739d3
CY
69662012-07-28 Chong Yidong <cyd@gnu.org>
6967
6968 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6969 gdb-get-location.
6970
0e1a094f 69712012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6972
6973 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6974 the alist (bug#12029).
6975
20329d73
EZ
69762012-07-28 Eli Zaretskii <eliz@gnu.org>
6977
6978 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6979 (compile-always, compile-first)
6980 ($(lisp)/calendar/cal-loaddefs.el)
6981 ($(lisp)/calendar/diary-loaddefs.el)
6982 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6983 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6984 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6985 instead of on update-subdirs.
6986 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6987
345a2258
CY
69882012-07-28 Chong Yidong <cyd@gnu.org>
6989
1eee6341
CY
6990 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6991 directory if vc-deduce-backend returns nil (Bug#7350).
6992
345a2258
CY
6993 * simple.el (delete-trailing-lines): New option.
6994 (delete-trailing-whitespace): Obey it (Bug#11879).
6995
049a0936
DE
69962012-07-28 David Engster <deng@randomsample.de>
6997
6998 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6999 Explanation of new 'symbol-qnames feature in doc-strings.
7000 (xml-maybe-do-ns): Return expanded names as plain symbols if
7001 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7002 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7003
aa81af71
FEG
70042012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7005
7006 Consistent completion in inferior python with emacs -nw.
7007 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7008 binding in inferior-python-mode-map with "\t".
7009 (python-shell-completion-complete-at-point)
7010 (python-completion-complete-at-point): Remove interactive spec.
7011
e827b1eb
JB
70122012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7013
7014 * calc/calccomp.el (math-compose-expr): Undo previous change.
7015
a90dfb95
FEG
70162012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7017
4250fdf5 7018 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7019 run-python.
7020 (python-shell-make-comint): Fix pop-to-buffer call.
7021 (run-python): Autoload. New arg SHOW.
7022 (python-shell-get-or-create-process): Do not pop python process
7023 buffer.
7024
32770973 70252012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7026
7027 * notifications.el (notifications-on-action-signal)
7028 (notifications-on-closed-signal): Use also the bus address for the map.
7029 (notifications-notify, notifications-close-notification)
fc0c31f8 7030 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7031
86332df2
TH
70322012-07-27 Tassilo Horn <tsdh@gnu.org>
7033
4250fdf5
SM
7034 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7035 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7036 ctable macro.
7037 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7038 labels written in keyvals syntax.
7039
ca1302a4
JB
70402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7041
7042 * calc/calccomp.el (math-compose-expr): Use parentheses when
7043 there is a product in the denominator of a fraction.
7044
f8b91036
EZ
70452012-07-26 Eli Zaretskii <eliz@gnu.org>
7046
7047 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7048 ($(lisp)/calendar/diary-loaddefs.el)
7049 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7050 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7051 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7052 rewritten while the autoload files are built at the same time,
7053 which needs to load subdirs.el.
7054
c8e5a42c
MR
70552012-07-26 Martin Rudalics <rudalics@gmx.at>
7056
7057 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7058 (mouse-drag-line): Don't exit tracking when a switch-frame or
7059 switch-window event occurs (Bug#12006).
7060
670d85ea
SM
70612012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * mouse.el (popup-menu): Fix last change.
7064
7abaf5cc
SM
70652012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 Autoload from Lisp with more care. Follow aliases when looking for
7068 function properties.
7069 * subr.el (autoloadp): New function.
7070 (symbol-file): Use it.
7071 (function-get): New function.
7072 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7073 autoload-do-load.
7074 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7075 (lisp-indent-function):
7076 * emacs-lisp/gv.el (gv-get):
7077 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7078 * emacs-lisp/byte-opt.el (byte-optimize-form):
7079 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7080 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7081 Use function-get.
7082 * emacs-lisp/cl.el: Don't propagate function properties any more.
7083
7084 * speedbar.el (speedbar-add-localized-speedbar-support):
7085 * emacs-lisp/disass.el (disassemble-internal):
7086 * desktop.el (desktop-load-file):
7087 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7088 (describe-function-1):
7089 * emacs-lisp/find-func.el (find-function-noselect):
7090 * emacs-lisp/elp.el (elp-instrument-function):
7091 * emacs-lisp/advice.el (ad-has-proper-definition):
7092 * apropos.el (apropos-safe-documentation, apropos-macrop):
7093 * emacs-lisp/debug.el (debug-on-entry):
7094 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7095 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7096 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7097
b1364986
AA
70982012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7099
7100 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7101 function, not an obsolete variable (Bug#12046).
7102
67ada220
AS
71032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7104
7105 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7106
f08088e3
CS
71072012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7108
7109 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7110 window only if it is still live (Bug#12034).
7111
8137e7b3
MR
71122012-07-25 Martin Rudalics <rudalics@gmx.at>
7113
7114 * subr.el (redirect-frame-focus): Add advertised calling
7115 convention (Bug#12030).
7116
09ae5da1
PE
71172012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7118
7119 Prefer typical American spelling for "acknowledgment".
7120 * vc/add-log.el (change-log-acknowledgment): Rename from
7121 change-log-acknowledgement, with an alias for the old name.
7122
3cc5a3a8
JB
71232012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7124
7125 * calc-alg.el (math-simplify-divide): Don't cross multiply
7126 in an equation when the lhs is a variable.
7127
b7af7f62
JD
71282012-07-24 Julien Danjou <julien@danjou.info>
7129
7130 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7131 Remove, unused.
7132
ec1b09b1
EZ
71332012-07-23 Eli Zaretskii <eliz@gnu.org>
7134
7135 * startup.el (command-line): Don't display an empty user name in
7136 the error message about non-existent home directory, when
7137 init-file-user was set to an empty string. See
7138 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7139 for the details and context.
7140
b525fd8a
VB
71412012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7142
7143 * ses.el (ses-cell-formula-aset): New macro.
7144 (ses-cell-references-aset): New macro.
7145 (ses-cell-p): New function.
7146 (ses-rename-cell): Do no longer rely on complex operations like
7147 ses-cell-set-formula or ses-set-cell to change the cell and handle
7148 the undo at the same time, but rather use lower level new macros
7149 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7150 the undo directly. Refresh the mode line.
b525fd8a 7151
2c73e345
LL
71522012-07-21 Leo Liu <sdl.web@gmail.com>
7153
670d85ea
SM
7154 * progmodes/cc-cmds.el (c-defun-name):
7155 Use match-string-no-properties instead for consistency.
2c73e345 7156
542dfbde
LL
71572012-07-20 Leo Liu <sdl.web@gmail.com>
7158
3646bcd6
LL
7159 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7160 (Bug#7879)
7161
542dfbde
LL
7162 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7163
25721031
CY
71642012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7167 * progmodes/bug-reference.el, misearch.el: Provide themselves
7168 (bug#11915).
7169
7170 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7171 of narrowed buffer (bug#11966).
7172
316e68a7
VB
71732012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7174
7175 * ses.el (ses-rename-cell): Set new name also in reference list of
7176 cells of which the renamed cell depends.
7177
bbf0e7d9
MY
71782012-07-20 Masatake YAMATO <yamato@redhat.com>
7179
7180 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7181 to check whether menu-bar is shown or not. If not shown,
7182 show the menu-bar as a popup menu instead of using tmm.
7183 * mouse.el (popup-menu): Accept `point' as `position' argument.
7184
c28662a8
DG
71852012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7186
7187 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7188 up inside string symbol literal (bug#11923).
7189
87ab808f
EZ
71902012-07-20 Eli Zaretskii <eliz@gnu.org>
7191
7192 * startup.el (fancy-startup-text): Read the whole tutorial, not
7193 just its first 256 bytes. Prevents gibberish in display of the
7194 tutorial title.
7195
89dea803
DA
71962012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7197
7198 Drop idle buffer compaction due to an absence of the
7199 proved efficiency.
7200 * compact.el: Remove.
7201
8a4e6db8
SS
72022012-07-19 Sam Steingold <sds@gnu.org>
7203
7204 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7205 vc-bzr-pull & vc-bzr-merge-branch.
7206 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7207 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7208 for consistency with compilation-error-regexp-alist.
7209 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7210 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7211 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7212 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7213
5db81e33
SM
72142012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * emacs-lisp/chart.el: Use lexical-binding.
7217 (chart-emacs-storage): Don't hardcode the list of entries.
7218
5b835e1d
DA
72192012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7220
7221 Next round of tweaks caused by Fgarbage_collect changes.
7222 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7223
9cd47b72
DA
72242012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7225
7226 Compact buffers when idle.
7227 * compact.el: New file.
7228
1d6fc0df
SM
72292012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * subr.el (eventp): Presume that if it looks vaguely like an event,
7232 it's an event (bug#10190).
7233
1d29cc7d
FEG
72342012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7235
7236 Enhancements to ppss related code (thanks Stefan).
7237 * progmodes/python.el (python-indent-context)
7238 (python-indent-calculate-indentation, python-indent-dedent-line)
7239 (python-indent-electric-colon, python-nav-forward-block)
7240 (python-mode-abbrev-table)
1d6fc0df 7241 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7242 for ppss context.
7243 (python-info-continuation-line-p): Cleanup.
7244 (python-info-ppss-context): Do not catch 'quote.
7245 (python-info-ppss-context-type)
7246 (python-info-ppss-comment-or-string-p): Simplify.
7247
d583cbe6
FEG
72482012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7249
7250 * progmodes/python.el: Enhancements to eldoc support.
7251 (python-info-current-symbol): New function.
7252 (python-eldoc-at-point): Use python-info-current-symbol.
7253 (python-info-current-defun): Fix cornercase on first defun scan.
7254 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7255 and signal error when no inferior python process is available.
7256
eceb6feb
DG
72572012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7258
7259 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7260 assume it's always t.
7261 (vc-git-registered): Remove caching, the function is only called
7262 once.
7263 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7264
4c8ff0fe
CY
72652012-07-18 Chong Yidong <cyd@gnu.org>
7266
19fb7186
CY
7267 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7268
9587c688
CY
7269 * simple.el (count-words): Report on narrowing (Bug#9959).
7270
0fe776a1
CY
7271 * bindings.el: Bind M-= to count-words.
7272
4c8ff0fe
CY
7273 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7274
7f5331cc
MY
72752012-07-18 Masatake YAMATO <yamato@redhat.com>
7276
7277 * progmodes/sh-script.el (sh-imenu-generic-expression):
7278 Capture a function with `function' keyword and without parentheses
7279 like "function FOO" (bug#11856).
7280
2dc2a609
TH
72812012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7282
7283 * window.el (split-window-sensibly): Make WINDOW argument
7284 optional.
7285
439f7677
CY
72862012-07-18 Chong Yidong <cyd@gnu.org>
7287
9aeb25a6
CY
7288 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7289
439f7677
CY
7290 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7291 and make C-x 8 RET exit isearch (Bug#11439).
7292
7293 * international/iso-transl.el: Move isearch-mode-map key
7294 definitions to isearch.el.
7295
12999ea8
SM
72962012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7299 (eieio-defclass): Use gv-define-setter when possible.
7300
3ab6e069
DA
73012012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7302
7303 Reflect recent changes in Fgarbage_collect.
7304 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7305 reflect new format of data returned by Fgarbage_collect.
7306
0a60bc10
FEG
73072012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7308
7309 New utility functions + python-info-ppss-context fix (Bug#11910).
7310 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7311 (python-info-ppss-comment-or-string-p): New functions.
7312 (python-info-ppss-context): Small fix for string check.
7313
6dafa0d5
JL
73142012-07-17 Juri Linkov <juri@jurta.org>
7315
7316 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7317 (dired-do-async-shell-command): Don't add `*' at the end of the
7318 command (Bug#11815).
7319 (dired-do-shell-command): Doc fix.
7320 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7321 Join the individual commands using either "&" or ";" as the
7322 separator depending on the values of these trailing characters.
7323 At the end re-add the trailing "&". (Bug#10598)
7324
7325 * simple.el (async-shell-command): Sync the interactive spec with
7326 `shell-command'. Doc fix.
7327 (shell-command): Doc fix.
7328
b19dd9d1
JL
73292012-07-17 Juri Linkov <juri@jurta.org>
7330
7331 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7332
bcdc27d7 73332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7334
bcdc27d7 7335 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7336 * progmodes/python.el (python-nav-beginning-of-statement):
7337 Rename from python-nav-statement-start.
bcdc27d7
FEG
7338 (python-nav-end-of-statement): Rename from
7339 python-nav-statement-end.
7340 (python-nav-beginning-of-block): Rename from
7341 python-nav-block-start.
7342 (python-nav-end-of-block): Rename from python-nav-block-end.
7343
191da00e
FEG
73442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7345
7f5331cc
MY
7346 * progmodes/python.el (python-shell-send-string-no-output):
7347 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7348 future interactions (Bug#11868).
7349
4dc7c8d5 73502012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7351
88ecaf8f
SM
7352 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7353
ef501ef0
SM
7354 * emacs-lisp/elint.el (elint-find-args-in-code):
7355 Use help-function-arglist, so as to handle lexical byte-code.
7356
aa7aaf8f
SM
7357 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7358 change (bug#11826).
7359
45fd731c
SM
73602012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7361
2143fa32
SM
7362 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7363 Avoid spuriously marking the buffer as modified because of c-is-sws.
7364
efc26dbe
SM
7365 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7366 as not-a-comment (bug#11946).
7367
f5695c9a
SM
7368 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7369 for uninterned vars.
7370
7371 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7372 Use read-event since we don't really want to read chars but bytes.
7373
45fd731c
SM
7374 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7375 $$..$$ but also $..$ using regexps (bug#11953).
7376 Use tex-verbatim for \url and \path.
7377 (tex-font-lock-keywords): Define as defconst like the others.
7378 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7379
ddfc8813
RK
73802012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7381
7382 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7383 alias for insert-char.
7384
758e556a
FEG
73852012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7386
7387 * progmodes/python.el: Simplified imenu implementation.
7388 (python-nav-jump-to-defun): Remove command.
7389 (python-mode-map): Use `imenu' instead.
7390 (python-nav-list-defun-positions-cache)
7391 (python-imenu-include-defun-type, python-imenu-make-tree)
7392 (python-imenu-subtree-root-label, python-imenu-index-alist):
7393 Remove vars.
7394 (python-nav-list-defun-positions, python-nav-read-defun)
7395 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7396 (python-imenu-make-tree, python-imenu-create-index):
7397 Remove functions.
758e556a
FEG
7398 (python-mode): Update to interact with imenu by setting
7399 `imenu-extract-index-name-function' only.
7400
032d23ab
FEG
74012012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7402
7403 * progmodes/python.el: Enhancements to navigation commands.
7404 (python-nav-backward-sentence)
7405 (python-nav-forward-sentence): Remove.
7406 (python-nav-backward-statement, python-nav-forward-statement)
7407 (python-nav-statement-start, python-nav-statement-end)
7408 (python-nav-backward-block, python-nav-forward-block)
7409 (python-nav-block-start, python-nav-block-end)
7410 (python-nav-forward-sexp-function)
7411 (python-info-current-line-comment-p)
7412 (python-info-current-line-empty-p): New functions.
7413 (python-indent-context): Use `python-nav-statement-start'.
7414
01795a1b
MA
74152012-07-16 Michael Albinus <michael.albinus@gmx.de>
7416
9328d9aa
MA
7417 * eshell/em-ls.el (eshell/ls): Use `apply'.
7418
7419 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7420 multi-hops, instead of Tramp internals.
7421
01795a1b
MA
7422 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7423
7424 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7425 when F1 and F2 are located on different hosts.
7426
63408057
CY
74272012-07-14 Chong Yidong <cyd@gnu.org>
7428
7429 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7430 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7431 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7432 (xterm-mouse--read-event-sequence-1000)
7433 (xterm-mouse--read-event-sequence-1006): New functions. For old
7434 mouse protocol, handle M-mouse-X events correctly.
7435 (xterm-mouse-event): New arg specifying mouse protocol.
7436 (turn-on-xterm-mouse-tracking-on-terminal)
7437 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7438 sequence to toggle extended coordinates on newer XTerms.
7439 This appears to be harmless on terminals which do not support this.
63408057 7440
cd276f6e
LL
74412012-07-14 Leo Liu <sdl.web@gmail.com>
7442
28ca98ac
LL
7443 Add fringe bitmap indicators for flymake. (Bug#11253)
7444 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7445 (flymake-make-overlay): New arg BITMAP.
7446 (flymake-error-bitmap, flymake-warning-bitmap)
7447 (flymake-fringe-indicator-position): New user variables.
7448
cd276f6e
LL
7449 * fringe.el: New bitmap exclamation-mark.
7450
04408072
JD
74512012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7452
7453 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7454 also (Bug#7879).
7455
b5cf7fc4
CY
74562012-07-14 Chong Yidong <cyd@gnu.org>
7457
7458 * electric.el (electric-pair-post-self-insert-function): Fix pair
7459 insertion in empty-region case (Bug#11520).
7460
be755c79
RT
74612012-07-14 Chong Yidong <cyd@gnu.org>
7462
45fd731c
SM
7463 * bindings.el: Consolidate ctl-x-r-map bindings.
7464 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7465
7466 * rect.el, register.el: Move bindings to bindings.el.
7467
74682012-07-14 Reuben Thomas <rrt@sc3d.org>
7469
7470 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7471
7f5b3198
AS
74722012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7473
7474 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7475
97662200
JB
74762012-07-13 Juanma Barranquero <lekktu@gmail.com>
7477
80185fed
JB
7478 * bindings.el (top): Use `mapc' instead of `mapcar'.
7479
97662200
JB
7480 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7481
2bb1ae55
MA
74822012-07-13 Michael Albinus <michael.albinus@gmx.de>
7483
7484 * progmodes/sql.el (sql-comint): Suppress the check for program on
7485 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7486 (Bug#11908)
7487
dea31bd3
CY
74882012-07-13 Chong Yidong <cyd@gnu.org>
7489
7490 * bindings.el: Assign a non-nil permanent-local property to
7491 per-buffer variables which lack a default value (Bug#11930).
7492
7493 * help-fns.el (describe-variable): In the "automatically becomes
7494 local" notice, take note of permanent-local variables.
7495
b68b3337
CY
74962012-07-13 Chong Yidong <cyd@gnu.org>
7497
7498 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7499 to allow printing the message when called from Lisp.
7500
7501 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7502 Remove toggle-read-only.
7503
7504 * bs.el (bs-toggle-readonly):
45fd731c
SM
7505 * buff-menu.el (Buffer-menu-toggle-read-only):
7506 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7507
7508 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7509 Remove with-no-warnings around toggle-read-only.
7510 (ffap-read-only, ffap-read-only-other-window)
7511 (ffap-read-only-other-frame): Callers changed.
7512
7513 * help-mode.el: Don't require view package.
7514 (help-mode-finish): Set buffer-read-only instead of calling
7515 toggle-read-only.
7516
7517 * bindings.el (mode-line-toggle-read-only):
7518 * dired.el (dired-toggle-read-only):
7519 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7520 with non-nil second arg.
7521
7522 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7523 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7524 directly.
7525
56bc1586
EZ
75262012-07-12 Eli Zaretskii <eliz@gnu.org>
7527
7528 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7529 not incf.
7530
a464a6c7
SM
75312012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 More CL cleanups and reduction of use of cl.el.
7534 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7535 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7536 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7537 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7538 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7539 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7540 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7541 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7542 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7543 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7544 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7545 * eshell/em-cmpl.el, eshell/em-banner.el:
7546 * calendar/parse-time.el: Use cl-lib.
7547 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7548 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7549 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7550 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7551 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7552 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7553 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7554 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7555 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7556 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7557 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7558 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7559 `lambda' rather than with `quote'.
7560 (eshell-do-opt): Adjust accordingly.
7561 (eshell-process-option): Simplify.
7562 * eshell/esh-var.el:
7563 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7564 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7565 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7566 to `pcase--dontcare'.
7567 * emacs-lisp/cl.el (labels): Mark obsolete.
7568 (cl--letf, letf): Move to cl-lib.
7569 (cl--letf*, letf*): Remove.
7570 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7571 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7572 (cl-progv): Rewrite.
7573 (cl--letf, cl-letf): Move from cl.el.
7574 (cl-letf*): New macro.
7575 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7576
7ad4afe1
MA
75772012-07-11 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7580
9af57756
CY
75812012-07-11 Chong Yidong <cyd@gnu.org>
7582
7583 * vc/log-edit.el (log-edit-vc-backend): New variable.
7584 (log-edit): Doc fix.
7585
7586 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7587 argument of log-edit to set up all local variables.
7588 (vc-start-logentry): New optional arg specifying VC backend.
7589
7590 * vc/vc.el (vc-checkin): Use it.
7591 (vc-deduce-fileset): Handle Log Edit buffers.
7592 (vc-diff): Make first argument optional too.
7593
7594 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7595
8477cc7a
MA
75962012-07-10 Michael Albinus <michael.albinus@gmx.de>
7597
7598 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7599 command, just in case. The function is not needed anymore.
7600 (eshell-external-command): Do not call `eshell-remote-command'.
7601
19faa8e8
SM
76022012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7603
f58e0fd5
SM
7604 Reduce use of (require 'cl).
7605 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7606 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7607 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7608 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7609 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7610 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7611 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7612 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7613 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7614 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7615 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7616 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7617 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7618 (byte-compile-unfold-bcf, byte-compile-check-variable):
7619 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7620 (byte-compile-nilconstp):
7621 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7622 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7623
2519d43a
SM
7624 * emacs-lisp/gv.el (cond): Make it a valid place.
7625 (if): Simplify slightly.
7626
19faa8e8
SM
7627 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7628 (pcase--self-quoting-p): New function.
7629 (pcase--u1): Use it.
7630
c4907a5e
GM
76312012-07-10 Glenn Morris <rgm@gnu.org>
7632
7633 * emacs-lisp/authors.el (authors-fixed-entries):
7634 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7635
c4444d16
PE
76362012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7637
7638 Rename configure.in to configure.ac (Bug#11603).
7639 * emacs-lisp/authors.el (authors-canonical-file-name):
7640 * progmodes/autoconf.el (autoconf-mode):
7641 Prefer configure.ac to configure.in.
7642
d75be97d
CY
76432012-07-08 Chong Yidong <cyd@gnu.org>
7644
01ac65bd
CY
7645 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7646 Implement the mouse-1-click-follows-link handling properly.
7647
7648 * info.el (Info-link-keymap): Use follow-link mechanism for
7649 header-line links (Bug#374).
7650
d75be97d
CY
7651 * simple.el (deactivate-mark): Do not set the primary selection
7652 if another program has acquired it (Bug#11772).
7653
87a92845 76542012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7655
7656 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7657 (woman-decode-region): Replace escaped-escapes without destroying
7658 bold or underline (Bug#11552).
87a92845 7659 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7660
621b9d6c
CY
76612012-07-07 Chong Yidong <cyd@gnu.org>
7662
7663 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7664 (interprogram-cut-function, interprogram-paste-function):
7665 Mention that we typically mean the clipboard.
621b9d6c 7666
133a11fc
GM
76672012-07-06 Glenn Morris <rgm@gnu.org>
7668
0d27a45e
GM
7669 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7670
133a11fc
GM
7671 * files.el (toggle-read-only): Restrict message to interactive use.
7672
07b151f1
MA
76732012-07-06 Michael Albinus <michael.albinus@gmx.de>
7674
7675 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7676
7677 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7678
211b896b
GM
76792012-07-06 Glenn Morris <rgm@gnu.org>
7680
50394322
GM
7681 * Makefile.in (compile-one-process): Rename from "recompile".
7682
211b896b
GM
7683 * Makefile.in (bzr-update): "compile" is the same as "recompile
7684 autoloads", but parallelizable, so use that instead.
7685
4737eec9
DG
76862012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7687
7688 * window.el (quit-window): Always restore window height when
8137e7b3 7689 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7690
226c3633 76912012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7692
7693 * simple.el (kill-whole-line): Doc tweak.
7694
226c3633 76952012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7696
7697 * files.el (file-relative-name): Compare file names
7698 case-insensitively if on MS-Windows or MS-DOS, or if
7699 read-file-name-completion-ignore-case is non-nil. Don't use
7700 case-fold-search for this purpose. (Bug#11827)
7701
4dc7c8d5
SM
77022012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7703
7704 * calendar/cal-dst.el (calendar-current-time-zone):
7705 Return calendar-current-time-zone-cache if non-nil.
7706
77072012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 77082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7709
19faa8e8
SM
7710 * calendar/cal-dst.el (calendar-current-time-zone):
7711 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7712
60198fc9
GM
77132012-07-06 Glenn Morris <rgm@gnu.org>
7714
7715 * Makefile.in (cvs-update): Remove old alias.
7716
957b3189
MA
77172012-07-05 Michael Albinus <michael.albinus@gmx.de>
7718
7719 Sync with Tramp 2.2.6-pre.
7720
7721 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7722 compatible declaration.
7723
19faa8e8
SM
7724 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7725 Protect `list-load-path-shadows' call.
957b3189
MA
7726
7727 * net/tramp-compat.el (top): Require packages, which aren't
7728 autoloaded anymore for XEmacs. Protect call of
7729 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7730 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7731 it hurts at least for SXEmacs.
7732 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7733 standard-value for `temporary-file-directory'.
7734
7735 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7736 Redirect stderr to /dev/null.
7737 (tramp-sh-handle-write-region): uid and gid can be floats.
7738 Reported by Russell Sim <russell.sim@gmail.com>.
7739 (tramp-sh-handle-vc-registered): Hide errors.
7740 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7741 and `start-file-process'.
7742 (tramp-maybe-open-connection): Check also whether `non-essential'
7743 is bound.
7744
566df3fc
CY
77452012-07-04 Chong Yidong <cyd@gnu.org>
7746
7747 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7748 (xml-parse-tag): Likewise, and avoid changing entity tables.
7749 (xml-syntax-table): Define from scratch, making sure not to give
7750 x2000 and other Unicode spaces whitespace syntax, since those are
7751 not spaces in XML.
7752 (xml-parse-fragment): Delete unused function.
7753 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7754 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7755 (xml-entity-ref, xml-pe-reference-re)
7756 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7757 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7758 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7759 (xml-entity-value-re): Use syntax references in regexps where
7760 possible; no need to define inside a let-binding.
7761 (xml-parse-dtd): Use xml-pe-reference-re.
7762 (xml-entity-or-char-ref-re): New defconst.
7763 (xml-parse-string, xml-substitute-special): Use it.
7764
30eabd7a
SM
77652012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7766
0781098a
SM
7767 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7768 (find-file--read-only): New function.
7769 (find-file-read-only, find-file-read-only-other-window)
7770 (find-file-read-only-other-frame): Use it.
7771 (insert-file-contents-literally): Don't `fset'.
7772 (get-free-disk-space): Use locate-dominating-file.
7773
b5771c0d
SM
7774 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7775 function is already compiled.
7776
30eabd7a
SM
7777 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7778
b4886f6e
MA
77792012-07-03 Michael Albinus <michael.albinus@gmx.de>
7780
7781 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7782 files on the same host.
7783
b9d82339
AS
77842012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7785
7786 * help-fns.el (describe-function-1): Only call
7787 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7788
a76e6535
CY
77892012-07-03 Chong Yidong <cyd@gnu.org>
7790
7791 * xml.el: Protect parser against XML bombs.
7792 (xml-entity-expansion-limit): New variable.
7793 (xml-parse-string, xml-substitute-special): Use it.
7794 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7795
b544fef2
GM
77962012-07-03 Glenn Morris <rgm@gnu.org>
7797
7798 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7799 Allow linking to specific messages in debbugs reports (eg 123#5).
7800
a7aef6f5
CY
78012012-07-02 Chong Yidong <cyd@gnu.org>
7802
7803 * xml.el: Fix entity and character reference expansion, allowing
7804 them to expand into markup as per XML spec.
7805 (xml-default-ns): New variable.
7806 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7807 (xml-parse-region): Make first two arguments optional.
7808 Discard text properties.
7809 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7810 All callers changed.
a7aef6f5
CY
7811 (xml-parse-tag): Call xml-parse-tag-1. For backward
7812 compatibility, this function should not modify buffer contents.
7813 (xml-parse-tag-1): Fix opening-tag regexp.
7814 (xml-parse-string): Rewrite, handling entity and character
7815 references properly.
7816 (xml--entity-replacement-text): Signal an error if a parameter
7817 entity is undefined.
7818
3df31c9f
SM
78192012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7820
2b5208f1
SM
7821 * comint.el (comint-output-filter): Filter out repeated prompts.
7822
3df31c9f
SM
7823 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7824 and file-name-absolute-p.
7825 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7826 internal calls.
7827
e3ac1281
PE
78282012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7829
7830 Spelling fixes.
7831 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7832 Rename from byte-compile--refiy-function. All uses changed.
7833
fbf2e7ad
CY
78342012-07-01 Chong Yidong <cyd@gnu.org>
7835
7836 * xml.el (xml--parse-buffer): New function. Move most of
7837 xml-parse-region here.
7838 (xml-parse-region): Copy region into a temporary buffer, since
7839 parameter entity substitution requires changing buffer contents.
7840 Use xml--parse-buffer.
7841 (xml-parse-file): Use xml--parse-buffer.
7842 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7843 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7844
9bf0aa15
GM
78452012-06-30 Glenn Morris <rgm@gnu.org>
7846
bbce2853
GM
7847 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7848
9bf0aa15
GM
7849 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7850 Remove outdated and unnecessary dbus declarations.
7851
0d23c240
EZ
78522012-06-30 Eli Zaretskii <eliz@gnu.org>
7853
7854 * emacs-lisp/timer.el (timer-until): Subtract results of
7855 float-time, instead of taking float-time of the result of
7856 time-subtract, since float-time signals an error for negative time
7857 arguments.
7858
b3218de1
CY
78592012-06-30 Chong Yidong <cyd@gnu.org>
7860
7861 * xml.el (xml-*-re): Convert defvars into defconsts, and
7862 eval-and-compile them so eval-and-compile works on derivatives.
7863 (xml--entity-replacement-text): Use eval-and-comple.
7864
a40c87a0
MA
78652012-06-30 Michael Albinus <michael.albinus@gmx.de>
7866
7867 * vc/vc-git.el (vc-git-registered): Use cache property
7868 `git-registered'.
7869 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7870 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7871 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7872
ac87de97
DG
78732012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7874
7875 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7876 removed (likely outside Emacs). (Bug#11757)
ac87de97 7877
ac10fe06
SM
78782012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7879
3df31c9f 7880 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7881
7f3fbd5d
CY
78822012-06-30 Chong Yidong <cyd@gnu.org>
7883
7884 * xml.el: Implement XML parameter entities.
7885 (xml-parameter-entity-alist): New variable.
7886 (xml-parse-region, xml-parse-fragment): Preserve previous values
7887 of xml-entity-alist and xml-parameter-entity-alist, so that
7888 repeated calls on different documents do not change them.
7889 (xml-parse-tag): Fix doctype regexp.
7890 (xml--entity-replacement-text): New function.
7891 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7892 properly requires url retrieval which is unimplemented.
7893 (xml-escape-string): Doc fix.
7894
3cfbebba
SM
78952012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7898
2af3565e
DA
78992012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7900
7901 * fringe.el (fringe-mode): Doc fix.
7902
929df0e7
MA
79032012-06-29 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7906 is non-nil.
7907 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7908 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7909
c8d3a25c 79102012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7911
c8d3a25c
GM
7912 * calendar/cal-dst.el (calendar-current-time-zone):
7913 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7914
c8d3a25c 79152012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7916
7917 * progmodes/which-func.el (which-func-format):
7918 Add mouse-face. (Bug#11698)
7919
c8d3a25c
GM
79202012-06-29 Leo Liu <sdl.web@gmail.com>
7921
7922 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7923
79242012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * minibuffer.el (minibuffer-confirm-exit-commands):
7927 Add completion-at-point (bug#11725).
7928
79292012-06-29 Glenn Morris <rgm@gnu.org>
7930
7931 * progmodes/f90.el (f90-font-lock-keywords-2):
7932 Add some preprocessor elements. (Bug#10499)
7933
79342012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7937 Use syntax-propertize (bug#11739).
7938
2badeec4
JB
79392012-06-28 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7942
ae4969c2
JD
79432012-06-28 Julien Danjou <julien@danjou.info>
7944
7945 * term.el (term-handle-colors-array): Use a set of new faces to
7946 color the terminal. Also uses :inverse-video property.
7947 (term-default-fg-color): Set to nil by default, deprecate in favor
7948 of `term-face'.
7949 (term-default-bg-color): Set to nil by default, deprecate in favor
7950 of `term-face'.
7951 (term-current-face): Use `term-face' by default.
7952 (term-bold-attribute): Variable deleted.
7953
1c9bd870
GM
79542012-06-28 Glenn Morris <rgm@gnu.org>
7955
7956 * simple.el (completion-list-mode-finish):
7957 Don't use toggle-read-only. (Since completion-list-mode has
7958 a special mode-class, it wasn't doing anything extra anyway.)
7959
c207708c
SM
79602012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7961
7962 Make inlining of other-mode interpreted functions work (bug#11799).
7963 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7964 (byte-compile): Use it to fix compilation of lexical-binding closures.
7965 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7966 function, if needed.
7967
3fd56834
SM
79682012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7969
04901786
SM
7970 * help-mode.el (help-make-xrefs): Don't just withstand
7971 cyclic-variable-indirection but any error in documentation-property.
7972
1ec4b7b2
SM
7973 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7974 memory use.
7975 * bindings.el (bindings--define-key): New function.
7976 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7977 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7978 * bindings.el: Use it to purecopy define-key bindings.
7979
e309e2a5
SM
7980 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7981
d5c6faf9
SM
7982 * emacs-lisp/cl.el (flet): Mark obsolete.
7983 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7984 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7985 * progmodes/js.el (js-c-fill-paragraph):
7986 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7987 (ebrowse-switch-member-buffer-to-derived-class):
7988 * play/5x5.el (5x5-solver): Use cl-flet.
7989
6e9590e2
SM
7990 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7991 (cl--symbol-function): New macro.
7992 (cl--letf, cl--letf*): Use it.
7993
3fd56834
SM
7994 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7995 Strip "toggle-" if any.
7996
35ff222c
GM
79972012-06-27 Glenn Morris <rgm@gnu.org>
7998
1ba6038a
GM
7999 * info.el (Info-default-directory-list): Move here from paths.el.
8000 * paths.el: Remove file, which is now empty.
8001 * loadup.el: No longer load "paths".
8002
0ea0e51b
GM
8003 * custom.el (custom-initialize-delay): Doc fix.
8004
35ff222c
GM
8005 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8006 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8007 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8008 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8009 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8010 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8011 * eshell/eshell.el (eshell-defgroup): Remove alias.
8012
c89926a5
CY
80132012-06-27 Chong Yidong <cyd@gnu.org>
8014
8015 * help.el (help-enable-auto-load): New variable.
8016
8017 * help-fns.el (help-fns--autoloaded-p): New function.
8018 (describe-function-1): Refer to a function as "autoloaded" if it
8019 was autoloaded at any time in the past. Perform autoloading if
8020 help-enable-auto-load is non-nil.
8021
cc06e7e7
EZ
80222012-06-26 Eli Zaretskii <eliz@gnu.org>
8023
8024 * makefile.w32-in (compile, compile-always): Depend on
8025 update-subdirs, not on subdirs.el. Otherwise, several different
8026 sub-targets of 'bootstrap' running in parallel could
8027 simultaneously write to subdirs.el, producing a garbled file.
8028
d2c32364
SS
80292012-06-26 Sam Steingold <sds@gnu.org>
8030
8031 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8032 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8033 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8034 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8035 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8036 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8037 * textmodes/tex-mode.el: Use it.
8038 Did not touch cedet and org because they are maintained elsewhere.
8039
5cf983b2
MR
80402012-06-26 Martin Rudalics <rudalics@gmx.at>
8041
8042 * calendar/calendar.el (calendar-exit): Don't try to delete or
8043 iconify last frame. See:
8044 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8045
8c4f2952
JD
80462012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8047
8048 * server.el (server-process-filter): Remember dir in the
8049 process's `server-client-directory' properties.
8050
772b2e2c
CY
80512012-06-24 Chong Yidong <cyd@gnu.org>
8052
8053 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8054 non-tag text.
8055
711b11e1
JB
80562012-06-23 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8059
dc5d230c
SM
80602012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * help-fns.el (describe-variable): Don't croak when doc is not found.
8063 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8064 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8065 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8066 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8067 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8068 ((lambda ..) ..).
8069 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8070
136e1c1d
CY
80712012-06-23 Chong Yidong <cyd@gnu.org>
8072
e8c1cabf
CY
8073 * info.el (Info-mouse-follow-link): Accept symbol values of
8074 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8075 (Info-fontify-node): Use Info-link-keymap for all navigation
8076 buttons, with link-args property to perform the desired action.
8077 (Info-link-keymap): Doc fix.
8078 (Info-next-link-keymap, Info-prev-link-keymap)
8079 (Info-up-link-keymap): Delete now-unused keymaps.
8080
0e9e6c6a
CY
80812012-06-23 Chong Yidong <cyd@gnu.org>
8082
05e89fea
CY
8083 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8084
0e9e6c6a
CY
8085 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8086 system abbrevs.
8087
8088 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8089
e33c6771
SM
80902012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8091
b68581e2
SM
8092 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8093 (bug#11719).
8094
e33c6771
SM
8095 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8096 the requote function doesn't work properly (bug#11714).
8097
7117e105
GM
80982012-06-23 Glenn Morris <rgm@gnu.org>
8099
8100 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8101
36cec983
SM
81022012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 Further GV/CL cleanups.
8105 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8106 gv-expander.
8107 (gv--defun-declaration): New function.
8108 (defun-declarations-alist): Use it.
8109 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8110 (gv-place): Autoload.
8111 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8112 original definition of dotimes and dolist.
8113 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8114 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8115 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8116 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8117 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8118 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8119 to the function's definition.
8120 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8121 * window.el:
8122 * files.el:
8123 * faces.el:
8124 * env.el: Don't use CL.
8125
d35af63c
PE
81262012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8127
8128 Support higher-resolution time stamps (Bug#9000).
8129
8130 * calendar/time-date.el (with-decoded-time-value): New arg
8131 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8132 (encode-time-value): New optional arg PICO. New type 3.
8133 (time-to-seconds) [!float-time]: Support the new picoseconds
8134 component if it's used.
8135 (seconds-to-time, time-subtract, time-add):
8136 Support ps-resolution time stamps as well.
8137
8138 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8139 (timerp): Timer vectors now have length 9, not 8.
8140 (timer--time): Support new-style (4-part) time stamps.
8141 (timer-next-integral-multiple-of-time): Time stamps now have
8142 picosecond resolution, so take a bit more care about rounding.
8143 (timer-relative-time, timer-inc-time): New optional arg psecs.
8144 (timer-set-time-with-usecs): Set psecs to 0.
8145 (timer--activate): Check psecs component, too.
8146
8147 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8148
ac77b21a
SM
81492012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8150
f143bfe3
SM
8151 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8152 Move the non-essential binding to the post/pre-command-hook where it is
8153 more obviously correct.
8154
ac77b21a
SM
8155 * subr.el (read-passwd): Don't use a history at all.
8156 * savehist.el (savehist-save): Remove password saved accidentally
8157 because of the above bug.
8158
76386c5a
BG
81592012-06-22 Bastien Guerry <bzg@gnu.org>
8160
8161 * files.el (toggle-read-only): Display a message telling whether
8162 the buffer is read-only or not (bug#11726).
8163
2ee3d7f0
SM
81642012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/gv.el: New file.
8167 * subr.el (push, pop): Extend to generalized variables.
8168 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8169 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8170 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8171 gv-define-simple-setter, and gv-define-expander.
8172 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8173 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8174 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8175 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8176 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8177 gv-letplace.
8178 (cl-defstruct): Don't define setf-method any more.
8179 * emacs-lisp/cl.el (flet): Don't autoload.
8180 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8181 (define-setf-expander, defsetf, define-modify-macro)
8182 (cl-struct-setf-expander): Move from cl-lib.el.
8183 * emacs-lisp/syntax.el:
8184 * emacs-lisp/ewoc.el:
8185 * emacs-lisp/smie.el:
8186 * emacs-lisp/cconv.el:
8187 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8188 (timer--time): Use gv-define-simple-setter.
8189 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8190 to avoid coding-system problems in subr.el. Adjust all users.
8191 (macroexp--maxsize, macroexp-small-p): New functions.
8192 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8193 * scroll-bar.el (scroll-bar-mode):
8194 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8195 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8196 * winner.el (winner-configuration, winner-make-point-alist)
8197 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8198 * files.el (locate-file-completion-table): Avoid list*.
8199
c5695d1d
CY
82002012-06-22 Chong Yidong <cyd@gnu.org>
8201
8202 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8203 (dired-create-files): Doc fix (Bug#11329).
8204 (dired-do-copy): Doc fix (Bug#11334).
8205 (dired-mark-read-string): Doc fix (Bug#11553).
8206
2ee3d7f0
SM
8207 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8208 Doc fix (Bug#11326).
c5695d1d
CY
8209 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8210 (dired-dwim-target): Doc fix.
8211
8212 * wdired.el (wdired-mode): Doc fix.
8213
89b5595a
GM
82142012-06-22 Glenn Morris <rgm@gnu.org>
8215
575db3f1
GM
8216 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8217 (pcmpl-rpm-cache-stamp-file): New constant.
8218 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8219 (pcmpl-rpm-packages): Optionally cache list of packages.
8220
a4c8dd51
GM
8221 * pcmpl-rpm.el (pcmpl-rpm): New group.
8222 (pcmpl-rpm-query-options): New option.
8223 (pcmpl-rpm-packages): No need to inline it.
8224 Use pcmpl-rpm-query-options.
8225
89b5595a
GM
8226 * calendar/calendar.el (calendar-in-read-only-buffer):
8227 Avoid some needless mode changes.
8228
e76f0800
CY
82292012-06-21 Chong Yidong <cyd@gnu.org>
8230
8231 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8232 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8233 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8234
297a8f1d
CY
82352012-06-20 Chong Yidong <cyd@gnu.org>
8236
8237 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8238
d34c18b1
DR
82392012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8240
8241 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8242 (bug#11201).
8243
32f7f28e
CY
82442012-06-20 Chong Yidong <cyd@gnu.org>
8245
8246 * term.el (term-window-width): Handle the case of a missing right
8247 fringe (Bug#8837).
8248 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8249 (term-mode): Use define-derived-mode. Minor cleanups.
8250 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8251 (term-move-columns, term-insert-char, term-emulate-terminal)
8252 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8253
493c6688
MA
82542012-06-20 Michael Albinus <michael.albinus@gmx.de>
8255
d34c18b1
DR
8256 * net/ange-ftp.el (ange-ftp-get-passwd):
8257 Bind `enable-recursive-minibuffers'.
493c6688
MA
8258 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8259
3f06ecf4
DR
82602012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8261
8262 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8263
68f12411
GM
82642012-06-19 Glenn Morris <rgm@gnu.org>
8265
8266 * progmodes/python.el (python-mode): Derive from prog-mode.
8267
b3820318
KG
82682012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8269
8270 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8271 (edt-user-menu-bar-update-buffers): New functions.
8272 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8273
c6bf3022
CY
82742012-06-19 Chong Yidong <cyd@gnu.org>
8275
8276 * subr.el (with-selected-window): Preserve the selected window's
8277 terminal's top-frame (Bug#4702).
8278
8279 * window.el (save-selected-window): Likewise.
8280
25f09295
SM
82812012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * progmodes/python.el (python-rx-constituents): Move backquote.
8284 (python-skeleton-define, python-define-auxiliary-skeleton):
8285 Use `declare'.
8286
6b11952a
MA
82872012-06-18 Michael Albinus <michael.albinus@gmx.de>
8288
8289 * minibuffer.el (read-file-name-default): Revert the patch from
8290 2012-06-17.
8291
ee4b1330
SM
82922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8293
8294 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8295 (pcase--u1, pcase--q1): Don't use apply-partially.
8296
35647f79
GM
82972012-06-18 Glenn Morris <rgm@gnu.org>
8298
8299 * progmodes/python.el (python-proc, python-buffer)
8300 (python-send-receive, python-send-string): Fix obsolete versions.
8301
24b0cff0
MR
83022012-06-18 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (special-display-p): Completely remove stringp
8305 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8306
29855149
MA
83072012-06-17 Michael Albinus <michael.albinus@gmx.de>
8308
8309 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8310
8311 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8312
8313 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8314 * net/tramp-sh.el (tramp-maybe-open-connection):
8315 Throw if `non-essential' is non-nil.
8316
07463363
MR
83172012-06-17 Martin Rudalics <rudalics@gmx.at>
8318
8319 * window.el (special-display-p): Signal an error if BUFFER-NAME
8320 is not a string (Bug#11713).
8321
48d1354e
PE
83222012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8323
8324 * progmodes/python.el (python-info-beginning-of-backslash):
8325 Rename from python-info-beginning-of-backlash, as a spelling fix.
8326
eb4a8a9a
CY
83272012-06-17 Chong Yidong <cyd@gnu.org>
8328
8329 * term.el (term-emulate-terminal): If term-check-size is called,
8330 move point to the process mark without resetting point (Bug#4635).
8331
ddfbf826 83322012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8333
8334 * international/mule-cmds.el (mule-menu-keymap)
8335 (set-language-environment, set-locale-environment): Doc tweaks.
8336
9b0e3eba
AA
83372012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8338
8339 * cus-face.el (custom-face-attributes): Add wave-style underline
8340 attribute.
8341 * faces.el (set-face-attribute): Update docstring to describe
8342 wave-style underline attribute.
8343
771e3eae
CY
83442012-06-16 Chong Yidong <cyd@gnu.org>
8345
8346 * term/xterm.el (terminal-init-xterm): Discard input before
8347 querying background mode (Bug#10959).
8348
7ae2ea10
SM
83492012-06-16 Stefan Merten <smerten@oekonux.de>
8350
8351 * textmodes/rst.el: Added and corrected some comments.
8352 (rst-re-alist-def): Improve symbol syntax.
8353 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8354 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8355 (rst-official-version, rst-official-cvs-rev): Update version
8356 information.
7ae2ea10 8357
b6974efa
JB
83582012-06-15 Juanma Barranquero <lekktu@gmail.com>
8359
8360 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8361 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8362
8826d473
GM
83632012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8364
8365 * progmodes/python.el: New python.el merge.
8366 (python-guess-indent): Obsolete var.
8367 (python-indent-guess-indent-offset): New defcustom.
8368 (python-indent): Obsolete var.
8369 (python-indent-offset): New defcustom.
8370 (python-python-command, python-jython-command): Delete var.
8371 (python-shell-interpreter): New defcustom.
8372 (python-pdbtrack-do-tracking-p): Delete var.
8373 (python-pdbtrack-activate): New defcustom.
8374 (python-use-skeletons): Obsolete var.
8375 (python-skeleton-autoinsert): New defcustom.
8376 (inferior-python-filter-regexp, python-continuation-offset)
8377 (python-honour-comment-indentation, python-indent-string-contents)
8378 (python-jython-packages, python-mode-hook)
8379 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8380 (python-shell-prompt-alist)
8381 (python-source-modes): Delete defcustoms.
8382 (python-check-buffer-name, python-eldoc-setup-code)
8383 (python-eldoc-string-code, python-ffap-setup-code)
8384 (python-ffap-string-code, python-fill-comment-function)
8385 (python-fill-decorator-function, python-fill-paren-function)
8386 (python-fill-string-function, python-imenu-include-defun-type)
8387 (python-imenu-make-tree, python-imenu-subtree-root-label)
8388 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8389 (python-shell-compilation-regexp-alist)
8390 (python-shell-completion-module-string-code)
8391 (python-shell-completion-pdb-string-code)
8392 (python-shell-completion-setup-code)
8393 (python-shell-completion-string-code)
8394 (python-shell-enable-font-lock, python-shell-exec-path)
8395 (python-shell-extra-pythonpaths)
8396 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8397 (python-shell-process-environment)
8398 (python-shell-prompt-block-regexp)
8399 (python-shell-prompt-output-regexp)
8400 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8401 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8402 (python-shell-virtualenv-path): New defcustoms.
8403 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8404 (inferior-python-mode-syntax-table, python--prompt-regexp)
8405 (python-buffer, python-command python-python-command)
8406 (python-default-template, python-imports, python-indent-index)
8407 (python-indent-list, python-indent-list-length)
8408 (python-mode-running, python-pdbtrack-is-tracking-p)
8409 (python-preoutput-continuation, python-preoutput-leftover)
8410 (python-preoutput-result, python-preoutput-skip-next-prompt)
8411 (python-prev-dir/file, python-recursing)
8412 (python-saved-check-command, python-version-checked)
8413 (python-which-func-length-limit)
8414 (view-return-to-alist): Delete vars.
8415 (python-check-custom-command, python-dotty-syntax-table)
8416 (python-imenu-index-alist, python-indent-current-level)
8417 (python-indent-dedenters, python-indent-levels)
8418 (python-nav-beginning-of-defun-regexp)
8419 (python-nav-list-defun-positions-cache)
8420 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8421 (python-shell-internal-buffer)
8422 (python-skeleton-available): New vars.
8423 (def-python-skeleton): Delete macro.
8424 (python-skeleton-define): New macro.
8425 (python-define-auxiliary-skeleton, python-rx): New macros.
8426 (python-insert-class): Delete command.
8427 (python-skeleton-class): New command.
8428 (python-insert-def): Delete command.
8429 (python-skeleton-def): New command.
8430 (python-insert-for): Delete command.
8431 (python-skeleton-for): New command.
8432 (python-insert-if): Delete command.
8433 (python-skeleton-if): New command.
8434 (python-insert-try/except, python-insert-try/finally): Delete commands.
8435 (python-skeleton-try): New command.
8436 (python-insert-while): Delete command.
8437 (python-skeleton-while): New command.
8438 (python-backspace): Delete command.
8439 (python-indent-dedent-line-backspace): New command.
8440 (python-electric-colon): Delete command.
8441 (python-indent-electric-colon): New command.
8442 (python-guess-indent): Delete command.
8443 (python-indent-guess-indent-offset): New command.
8444 (python-shift-left): Delete command.
8445 (python-indent-shift-left): New command.
8446 (python-shift-right): Delete command.
8447 (python-indent-shift-right): New command.
8448 (python-find-function): Delete command.
8449 (python-nav-jump-to-defun): New command.
8450 (python-next-statement): Delete command.
8451 (python-nav-forward-sentence): New command.
8452 (python-previous-statement): Delete command.
8453 (python-nav-backward-sentence): New command.
8454 (python-fill-paragraph): Delete command.
8455 (python-fill-paragraph-function): New command.
8456 (python-send-buffer): Delete command.
8457 (python-shell-send-buffer): New command.
8458 (python-send-defun): Delete command.
8459 (python-shell-send-defun): New command.
8460 (python-send-region, python-send-region-and-go): Delete commands.
8461 (python-shell-send-region)
8462 (python-shell-switch-to-shell): New commands.
8463 (python-send-string): Delete command.
8464 (python-shell-send-string): New command.
8465 (python-switch-to-python): Delete command.
8466 (python-shell-switch-to-shell): New command.
8467 (python-describe-symbol): Delete command.
8468 (python-eldoc-at-point): New command.
8469 (python--set-prompt-regexp, python-args-to-list)
8470 (python-after-info-look, python-check-version)
8471 (python-check-comint-prompt, python-find-imports)
8472 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8473 (python-unload-function, python-expand-template)
8474 (python-maybe-jython, python-preoutput-filter)
8475 (python-pdbtrack-get-source-buffer)
8476 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8477 (python-pdbtrack-toggle-stack-tracking)
8478 (python-pdbtrack-track-stack-file, python-initial-text)
8479 (python-first-word, python-comment-line-p, python-send-command)
8480 (python-setup-brm, python-sentinel, python-set-proc)
8481 (python-skip-out, python-input-filter, python-outdent-p)
8482 (python-outline-level, python-backslash-continuation-line-p)
8483 (python-end-of-block, python-end-of-statement, python-mark-block)
8484 (python-beginning-of-block, python-beginning-of-statement)
8485 (python-blank-line-p, python-beginning-of-string)
8486 (python-open-block-statement-p): Delete functions.
8487 (python-indent-line, python-indent-line-1): Delete functions.
8488 (python-indent-line): New function.
8489 (python-indentation-levels): Delete function.
8490 (python-indent-calculate-levels): New function.
8491 (python-proc): Delete function.
8492 (python-shell-get-process): New function.
8493 (python-send-receive): Delete function.
8494 (python-shell-send-string-no-output): New function.
8495 (python-module-path): Delete function.
8496 (python-ffap-module-path): New function.
8497 (python-completion-at-point)
8498 (python-symbol-completions): Delete functions.
8499 (python-completion-complete-at-point): New function.
8500 (python-load-file): Delete function.
8501 (python-shell-send-file): New function.
8502 (python-calculate-indentation): Delete function.
8503 (python-indent-calculate-indentation): New function.
8504 (python-skip-comments/blanks): Delete function.
8505 (python-util-forward-comment): New function.
8506 (python-continuation-line-p): Delete function.
8507 (python-info-continuation-line-p): New function.
8508 (python-which-func, python-current-defun): Delete function.
8509 (python-info-current-defun): New function.
8510 (python-beginning-of-defun): Delete function.
8511 (python-nav-beginning-of-defun): New function.
8512 (python-close-block-statement-p)
8513 (python-block-end-p): Delete function.
8514 (python-info-closing-block): New function.
8515 (python-comint-output-filter-function)
8516 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8517 (python-fill-comment, python-fill-decorator, python-fill-paren)
8518 (python-fill-string, python-imenu-make-element-tree)
8519 (python-imenu-make-tree, python-imenu-tree-assoc)
8520 (python-indent-context, python-indent-dedent-line)
8521 (python-indent-line-function)
8522 (python-indent-post-self-insert-function)
8523 (python-indent-toggle-levels)
8524 (python-info-assignment-continuation-line-p)
8525 (python-info-beginning-of-backlash)
8526 (python-info-block-continuation-line-p)
8527 (python-info-closing-block-message)
8528 (python-info-line-ends-backslash-p)
8529 (python-info-looking-at-beginning-of-defun)
8530 (python-info-ppss-context, python-info-ppss-context-type)
8531 (python-nav-list-defun-positions, python-nav-read-defun)
8532 (python-nav-sentence-end, python-nav-sentence-start)
8533 (python-pdbtrack-comint-output-filter-function)
8534 (python-pdbtrack-set-tracked-buffer)
8535 (python-shell-calculate-exec-path)
8536 (python-shell-calculate-process-environment)
8537 (python-shell-completion--do-completion-at-point)
8538 (python-shell-completion--get-completions)
8539 (python-shell-completion-complete-at-point)
8540 (python-shell-completion-complete-or-indent)
8541 (python-shell-get-or-create-process)
8542 (python-shell-get-process-name)
8543 (python-shell-internal-get-or-create-process)
8544 (python-shell-internal-get-process-name)
8545 (python-shell-internal-send-string, python-shell-make-comint)
8546 (python-shell-parse-command, python-shell-send-setup-code)
8547 (python-skeleton-add-menu-items)
8548 (python-util-clone-local-variables, python-util-position)
8549 (run-python-internal, python-indentation-levels)
8550 (python-nav-beginning-of-defun)
8551 (python-completion-complete-at-point): New functions.
8552 (run-python): Change arguments. New API requirements.
8553
4302f5ba
SM
85542012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8555
f38ea36d
SM
8556 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8557 (bug#11649).
8558
8559 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8560 (macroexp--expand-all): Use it.
8561
4302f5ba
SM
8562 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8563 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8564 Use `cl-function' instead.
8565
33377562
JB
85662012-06-14 Juanma Barranquero <lekktu@gmail.com>
8567
8568 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8569 Suggested by Stefan Monnier while discussing bug#11657.
8570
54c5ba1a
SS
85712012-06-14 Sam Steingold <sds@gnu.org>
8572
8573 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8574
f9f1b1fe
AS
85752012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8576
8577 * play/doctor.el (doctor-doc): Remove parameter and use
8578 doctor-sent instead of sent.
8579 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8580
a81068ba
SM
85812012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8582
5a315f9c
SM
8583 * files.el: Require cl-lib.
8584 (file-name-non-special): Replace case -> cl-case.
8585
8586 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8587
a81068ba
SM
8588 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8589 mapping from #' to function*.
8590
8cca9703
CY
85912012-06-13 Chong Yidong <cyd@gnu.org>
8592
8593 * mouse.el (mouse-drag-track): Do not set the mark if the user
8594 releases the mouse without selecting anything (Bug#11588).
8595
a12ac9d7
SM
85962012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8597
ccf1dc18
SM
8598 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8599 as well (bug#11646).
8600
ef62b23d
SM
8601 * loadup.el: Count byte-code functions as well.
8602
c4c8444a
SM
8603 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8604 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8605
a12ac9d7
SM
8606 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8607 (bug#11649). Add cl-defun and cl-defmacro.
8608
87e6e64f
DA
86092012-06-13 Drew Adams <drew.adams@oracle.com>
8610
8611 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8612 Fix last change.
8613
682cefaf
MA
86142012-06-13 Michael Albinus <michael.albinus@gmx.de>
8615
8616 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8617 Otherwise, it blocks in batch mode.
8618
773e1f08
JB
86192012-06-13 Juanma Barranquero <lekktu@gmail.com>
8620
8621 * help-mode.el (bookmark-make-record-default): Declare.
8622
60057926
CY
86232012-06-13 Chong Yidong <cyd@gnu.org>
8624
8625 * emacs-lisp/package.el (list-packages): Compute a list of
8626 packages that are newly-available since the last list-packages
8627 invocation.
8628 (package-menu--new-package-list): New var.
8629 (package-menu--generate, package-menu--print-info)
8630 (package-menu--status-predicate, package-menu-mark-install):
8631 Handle new status label "new".
8632
ad4d226c
SM
86332012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8636 conversion to backquotes.
8637
f1a4e679
CY
86382012-06-12 Chong Yidong <cyd@gnu.org>
8639
8640 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8641 Rename from gud-inhibit-global-bindings.
8642
8643 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8644
8645 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8646 hook from nxml-glyph-set-hook.
8647
8648 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8649 declaration.
8650
8651 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8652
8653 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8654 Convert to defcustom.
8655
0c9e42b5
DA
86562012-06-12 Drew Adams <drew.adams@oracle.com>
8657
8658 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8659 New functions.
8660 (help-mode): Use them.
8661
09e06855
GM
86622012-06-11 Glenn Morris <rgm@gnu.org>
8663
8664 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8665 Use preprocessor face for directives.
8666 (fortran-directive-re): Doc fix.
8667
71adb94b
SM
86682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8669
2eb87922
SM
8670 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8671 conversion to backquotes (bug#11652).
8672
71adb94b
SM
8673 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8674 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8675 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8676 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8677 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8678 (cl-ninth, cl-tenth): Mark them as inlinable.
8679 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8680 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8681 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8682 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8683 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8684 (cl-list*, cl-adjoin): Don't put an autoload manually.
8685 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8686 (cl--compiler-macro-list*): Add autoload cookie.
8687 (cl--compiler-macro-cXXr): New function.
2eb87922 8688
71adb94b
SM
8689 * help-fns.el (help-fns--compiler-macro): New function extracted from
8690 describe-function-1; follow aliases and use `compiler-macro' property.
8691 (describe-function-1): Use it.
8692
a6674402
CY
86932012-06-11 Chong Yidong <cyd@gnu.org>
8694
8695 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8696 is uninstalled, if imagemagick is installed.
8697
bb3faf5b
SM
86982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * emacs-lisp/cl-lib.el: Use lexical-binding.
8701 (cl-map-extents, cl-maclisp-member): Remove.
8702 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8703 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8704 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8705 * emacs-lisp/cl-extra.el: Use lexical-binding.
8706 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8707 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8708 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8709 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8710 * emacs-lisp/cl-seq.el: Use lexical-binding.
8711 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8712 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8713 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8714 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8715 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8716 CL's internals.
8717
2fe4b125
MA
87182012-06-11 Michael Albinus <michael.albinus@gmx.de>
8719
8720 Sync with Tramp 2.2.6-pre.
8721
8722 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8723 `print-length' and `print-level' to nil, in order to avoid
8724 truncation. Reported by Christopher Schmidt
8725 <christopher@ristopher.com>.
8726
8727 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8728
8729 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8730 New defmacro.
8731 (tramp-compat-copy-directory): Add optional argument
8732 COPY-CONTENTS. It is not handled yet.
8733
8734 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8735 (tramp-ftp-file-name-p): Simplify.
8736
8737 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8738 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8739 connection vector.
8740
8741 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8742 (tramp-methods): Do not use `tramp-password-end-of-line'.
8743 (tramp-completion-function-alist-putty): Handle UNIX case.
8744 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8745 (tramp-do-file-attributes-with-stat)
8746 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8747 gid as real numbers. They could run out of integer range on cygwin.
8748 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8749 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8750 (tramp-open-connection-setup-interactive-shell):
8751 Use `tramp-cleanup'. Move check for busyboxes ...
8752 (tramp-find-shell): ... here. Simplify implementation.
8753 Set "remote-shell" property also for alternative shells.
8754 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8755 If failing, a regular file would be written otherwise.
8756 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8757 (tramp-find-inline-encoding): Cache the coding commands in the
8758 process cache. Apply test command on the remote side, if defined.
8759 (tramp-find-inline-compress): Cache the compress commands in the
8760 process cache.
8761 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8762 when requested. Handle hops.
8763 (tramp-current-connection): New defvar.
87e6e64f
DA
8764 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8765 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8766 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8767 (tramp-get-inline-compress, tramp-get-inline-coding):
8768 Read connection properties from the process cache.
2fe4b125
MA
8769
8770 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8771 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8772 New defconsts.
2fe4b125
MA
8773 (tramp-smb-prompt): Extend for powershell prompt.
8774 (tramp-smb-file-name-handler-alist): Add handlers for
8775 `process-file', `shell-command' and `start-file-process'.
8776 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8777 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8778 (tramp-smb-file-name-p): Simplify.
8779 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8780 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8781 (tramp-smb-shell-quote-argument): New defuns.
8782 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8783 Implement using "tar". By this, time-stamps are preserved.
8784 (tramp-smb-handle-copy-file): Handle also the case of directories.
8785 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8786 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8787 Use `tramp-get-connection-buffer').
2fe4b125
MA
8788 (tramp-smb-handle-rename-file): Use "rename", when source and
8789 target are on the same share.
87e6e64f
DA
8790 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8791 Use `tramp-smb-server-version'.
2fe4b125
MA
8792 (tramp-smb-wait-for-output): Remove prompt.
8793
8794 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8795 (tramp-methods, tramp-rsh-end-of-line):
8796 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8797 (tramp-save-ad-hoc-proxies): New defcustom.
8798 (tramp-completion-function-alist): Adapt docstring.
8799 (tramp-default-password-end-of-line): Remove defcustom.
8800 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8801 (tramp-user-regexp, tramp-file-name-regexp-unified)
8802 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8803 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8804 (tramp-remote-file-name-spec-regexp): New defconst.
8805 (tramp-file-name-structure): Extend structure for hops.
8806 (tramp-get-method-parameter): Move up.
8807 (tramp-file-name-p, tramp-dissect-file-name)
8808 (with-parsed-tramp-file-name): Handle hops.
8809 (tramp-file-name-hop): New defun.
8810 (tramp-make-tramp-file-name): New optional arg HOP.
8811 (tramp-message-show-progress-reporter-message): New defvar.
8812 (tramp-with-progress-reporter): Use it. We cannot use
8813 `tramp-message-show-message' here, because this suppresses also
8814 error buffers.
8815 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8816 `tramp-message-show-message' is nil.
8817 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8818 (tramp-cleanup): New defun.
8819 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8820 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8821 an error unchanged.
8822 (tramp-completion-handle-file-name-all-completions): Handle hops.
8823 Fix an error when called from ido.
8824 (tramp-completion-dissect-file-name): Use better local variable
8825 name. Add hop to the vector.
8826 (tramp-handle-insert-file-contents): Use progress-reporter for the
8827 whole scenario.
8828 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8829 to `t'.
8830 (tramp-check-for-regexp): Simplify search.
8831 (tramp-enter-password): Remove it. Move implementation ...
8832 (tramp-action-password): ... here.
8833 (tramp-mode-string-to-int, tramp-local-host-p)
8834 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8835 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8836 Set tramp-autoload cookie.
2fe4b125
MA
8837
8838 * net/trampver.el: Update release number.
8839
88402012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8841 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8844 (tramp-parse-group, tramp-parse-file)
8845 (tramp-parse-shostkeys-sknownhosts): New defuns.
8846 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8847 (tramp-parse-shosts-group, tramp-parse-sconfig)
8848 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8849 (tramp-parse-sknownhosts, tramp-parse-hosts)
8850 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8851 Use them.
8852 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8853 (tramp-parse-putty-group): Don't narrow.
8854 (tramp-parse-putty): Make a loop.
8855 (tramp-file-name-handler): Catch the `suppress' signal.
8856
72834e10
CY
88572012-06-11 Chong Yidong <cyd@gnu.org>
8858
8859 * image.el (imagemagick-register-types): Put the ImageMagick entry
8860 at the end of image-type-file-name-regexps.
8861
a4712e11
JB
88622012-06-11 Johan Bockgård <bojohan@gnu.org>
8863
8864 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8865 (pcase, pcase-let*, pcase-dolist): Use them.
8866
82ad98e3
SM
88672012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8868
8869 * emacs-lisp/pcase.el (pcase--let*): New function.
8870 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8871 (pcase--expand): Use macroexp-let².
8872
f80efb86
SM
88732012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8876 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8877 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8878 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8879 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8880 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8881
31ca4639 88822012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8883
31ca4639
CY
8884 * mail/rmail.el (rmail-yank-current-message): Leave point at
8885 correct position. (Bug#11660)
94f0aa34 8886
31ca4639 88872012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8888
31ca4639 8889 * allout-widgets.el: Fix code header.
9e1b8ec4 8890
31ca4639 88912012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8892
f80efb86
SM
8893 * cus-edit.el (customize-changed-options-previous-release):
8894 Bump to 24.1.
31ca4639 8895
642b6d30
AS
88962012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8897
8898 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8899
4f5d2ba1
CY
89002012-06-09 Chong Yidong <cyd@gnu.org>
8901
8902 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8903
e75852fd
MR
89042012-06-09 Martin Rudalics <rudalics@gmx.at>
8905
8906 * window.el (special-display-popup-frame): Don't use
8907 window--display-buffer (Bug#11651).
8908
1e48e282
EZ
89092012-06-09 Eli Zaretskii <eliz@gnu.org>
8910
8a26b487
EZ
8911 Fix parallel builds: make sure loaddefs.el is not being written
8912 while Lisp files are compiled.
8913 (compile): Don't depend on 'mh-autoloads'.
8914 (compile-CMD, compile-SH): Depend on 'autoloads'.
8915 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8916
1e48e282
EZ
8917 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8918
6175e34b
CY
89192012-06-09 Chong Yidong <cyd@gnu.org>
8920
8921 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8922 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8923 Doc fixes (Bug#11225).
8924
d9857e53
SM
89252012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8928 a function if there's a clear indication that it has a compiler-macro.
8929 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8930 (macro-declarations-alist): Add arglist to declaration functions.
8931 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8932 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8933 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8934 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8935 Also add autoload to find the compiler macro.
8936 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8937 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8938 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8939 (cl--compiler-macro-get): New functions, replacing calls to
8940 cl-define-compiler-macro.
8941 (cl-typep) [compiler-macro]: Use macroexp-let².
8942
f81298f8 89432012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8944
8945 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8946 string properly, fixes Bug#11473.
8947
4b56d0fe
CY
89482012-06-08 Chong Yidong <cyd@gnu.org>
8949
8950 * faces.el (set-face-attribute): Doc fix.
8951 (modify-face): Don't use :bold and :italic.
8952 (error, warning, success): Tweak definitions.
8953
8954 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8955 (custom-modified, custom-set, custom-changed, custom-themed)
8956 (custom-saved, custom-button, custom-button-mouse)
8957 (custom-button-pressed, custom-state, custom-comment-tag)
8958 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8959 (custom-group-subtitle): Use new-style face specs.
8960 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8961 (custom-set-face, custom-changed-face, custom-saved-face)
8962 (custom-button-face, custom-button-pressed-face)
8963 (custom-documentation-face, custom-state-face)
8964 (custom-comment-face, custom-comment-tag-face)
8965 (custom-variable-tag-face, custom-variable-button-face)
8966 (custom-face-tag-face, custom-group-tag-face-1)
8967 (custom-group-tag-face): Remove obsolete face alias.
8968
8969 * epa.el (epa-validity-high, epa-validity-medium)
8970 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8971 (epa-field-name, epa-field-body):
8972 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8973 (font-lock-keyword-face, font-lock-builtin-face)
8974 (font-lock-function-name-face, font-lock-variable-name-face)
8975 (font-lock-type-face, font-lock-constant-face):
8976 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8977 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8978 * speedbar.el (speedbar-button-face, speedbar-file-face)
8979 (speedbar-directory-face, speedbar-tag-face)
8980 (speedbar-selected-face, speedbar-highlight-face)
8981 (speedbar-separator-face):
8982 * whitespace.el (whitespace-newline, whitespace-space)
8983 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8984 (whitespace-line, whitespace-space-before-tab)
8985 (whitespace-space-after-tab, whitespace-indentation)
8986 (whitespace-empty):
8987 * emulation/cua-base.el (cua-global-mark):
8988 * eshell/em-prompt.el (eshell-prompt):
8989 * net/newst-plainview.el (newsticker-new-item-face)
8990 (newsticker-old-item-face, newsticker-immortal-item-face)
8991 (newsticker-obsolete-item-face, newsticker-date-face)
8992 (newsticker-statistics-face, newsticker-default-face):
8993 * net/newst-reader.el (newsticker-feed-face)
8994 (newsticker-extra-face, newsticker-enclosure-face):
8995 * net/newst-treeview.el (newsticker-treeview-face)
8996 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8997 (newsticker-treeview-immortal-face)
8998 (newsticker-treeview-obsolete-face)
8999 (newsticker-treeview-selection-face):
9000 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9001 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9002 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9003 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9004 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9005 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9006 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9007 (mpuz-text):
9008 * progmodes/vera-mode.el (vera-font-lock-number)
9009 (vera-font-lock-function, vera-font-lock-interface):
9010 * textmodes/table.el (table-cell): Use new-style face specs, and
9011 don't use the old :bold and :italic attributes.
9012
9013 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9014 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9015 (ebrowse-member-class, ebrowse-progress): Likewise.
9016 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9017 (ebrowse-file-name-face, ebrowse-default-face)
9018 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9019 (ebrowse-progress-face): Remove obsolete faces.
9020
9021 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9022 Inherit from error and warning faces respectively.
9023
9024 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9025 Likewise.
f80efb86
SM
9026 (flyspell-incorrect-face, flyspell-duplicate-face):
9027 Remove obsolete aliases.
4b56d0fe 9028
03310646
MA
90292012-06-08 Michael Albinus <michael.albinus@gmx.de>
9030
9031 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9032 Avoid infloop.
9033
513749ee
SM
90342012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * startup.el (argv, argi): Make lexically scoped.
9037 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9038 * emacs-lisp/cl-macs.el: Use lexical-binding.
9039 Rename cl-bind-* to cl--bind-*.
9040 * files.el: Don't require `cl' since it doesn't use it.
9041 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9042
595ef4ad
JB
90432012-06-08 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9046 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9047 instead of calling external sort utility.
9048 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9049
e9f66fcb
EZ
90502012-06-08 Eli Zaretskii <eliz@gnu.org>
9051
9052 * descr-text.el (describe-char): Mention how to insert the
9053 character, if the current input method doesn't support it.
9054 See the discussion in this thread for the details:
9055 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9056
3d10db47
SS
90572012-06-08 Sam Steingold <sds@gnu.org>
9058
9059 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9060 XF86Back to previous-buffer.
9061 (minibuffer-local-map): Bind them to next-history-element and
9062 previous-history-element respectively.
9063 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9064 help-go-back respectively.
9065 * info.el (Info-mode-map): Bind them to Info-history-forward and
9066 Info-history-back respectively.
9067 These are the keys next to Up on the ThinkPad keyboard.
9068
de7e2b36
SM
90692012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9072 * emacs-lisp/cl-macs.el: Provide itself.
9073 (cl--labels-convert-cache): New var.
9074 (cl--labels-convert): New function.
9075 (cl-flet, cl-labels): New implementation with new semantics, relying on
9076 lexical-binding.
9077 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9078 (cl-closure-vars, cl--function-convert-cache)
9079 (cl--function-convert): Move from cl-macs.el.
9080 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9081 rename by removing the "cl-" prefix.
9082 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9083
6fa6c4ae
SM
90842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9087 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9088 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9089 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9090 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9091 (cl-hash-table-count): Add old compatibility aliases.
9092
9093 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9094 Use macroexpand-all-environment instead.
9095 (cl--old-macroexpand): New var.
9096 (cl--sm-macroexpand): New function.
9097 (cl-symbol-macrolet): Use it during macro expansion.
9098 (cl--function-convert-cache): New var.
9099 (cl--function-convert): New function, extracted from
9100 cl-macroexpand-all.
9101 (cl-lexical-let): Use it.
9102
9103 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9104 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9105 (cl-member): Remove old alias.
9106
9107 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9108 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9109 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9110 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9111 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9112 (cl-macroexpand-cmacs): Remove var.
9113 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9114 Use macroexpand-all instead.
9115
4dd1c416
SM
91162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9119 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9120 (macroexp-copyable-p): New functions and macros.
9121 * emacs-lisp/edebug.el (edebug-unwrap):
9122 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9123 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9124 (pcase--let*): Remove.
9125 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9126 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9127 macroexp-const-p instead.
9128 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9129
9130 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9131 instead of "cl-" for internal definitions. Use macroexp-const-p.
9132 (cl-old-bc-file-form): Remove var.
9133 (cl-const-exprs-p): Remove fun.
9134 (cl-labels, cl-macrolet): Use backquote.
9135 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9136 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9137 (cl-define-setf-expander): Rename from cl-define-setf-method.
9138 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9139
9140 * international/mule-cmds.el: Don't require CL.
9141 (view-hello-file): Don't use `letf'.
9142
ed8bd4d7
SM
91432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9144
7287f2f3
SM
9145 * tmm.el (tmm-prompt): Use string-prefix-p.
9146 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9147 (tmm-add-prompt): Use minibuffer-completion-help.
9148 (tmm-delete-map): Remove.
9149
ed8bd4d7
SM
9150 * subr.el (kbd): Make it its own function.
9151
7b4cdbf4
SM
91522012-06-07 Stefan Merten <smerten@oekonux.de>
9153
9154 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9155 Silence compiler warnings. Fix versions.
ed8bd4d7 9156 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9157 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9158 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9159 (rst-package-emacs-version-alist): Correct Emacs version to
9160 represent major merge with upstream.
ed8bd4d7 9161 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9162
2b48d721
GM
91632012-06-06 Glenn Morris <rgm@gnu.org>
9164
9165 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9166 Only print environment variables if set.
9167
fa779ab0
SM
91682012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9171 (macroexp--cons): Rename from maybe-cons.
9172 (macroexp--accumulate): Rename from macroexp-accumulate.
9173 (macroexp--all-forms): Rename from macroexpand-all-forms.
9174 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9175 (macroexp--expand-all): Rename from macroexpand-all-1.
9176
628299e0
SS
91772012-06-06 Sam Steingold <sds@gnu.org>
9178
9179 * calendar/calendar.el (calendar-in-read-only-buffer):
9180 Call `special-mode' to enable the standard read-only keybindings.
9181
b7bb5838
SM
91822012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9185 with "loading" messages (bug#11635).
9186
dfb308ba
MA
91872012-06-06 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * files.el (enable-remote-dir-locals): New option.
9190 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9191
0372ee92
MA
9192 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9193 Ensure, that the temp directory is local.
9194
9195 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9196 `temporary-file-directory'.
9197
eed0bb91
MA
9198 * progmodes/python.el (python-send-region): Ensure, that the
9199 temporary file is created also in the remote case.
9200
7a58f64d
GM
92012012-06-06 Glenn Morris <rgm@gnu.org>
9202
f7dd4e98
GM
9203 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9204 (vc-rcs-update-changelog): Use it.
9205
090bd7cb 9206 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9207
7a58f64d
GM
9208 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9209 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9210 (vc-sccs-diff): Replace use of the external vcdiff script.
9211
daed4003
GM
92122012-06-05 Glenn Morris <rgm@gnu.org>
9213
9214 * ledit.el: Move to obsolete/.
9215
48c455c7
SS
92162012-06-05 Sam Steingold <sds@gnu.org>
9217
ed9265fc 9218 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9219 patch (Bug#11140).
9220
57a7d507
SM
92212012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9222
090bd7cb 9223 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9224
53aacf21
SM
9225 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9226 compiler-macro expansion.
9227
57a7d507
SM
9228 Add native compiler-macro support.
9229 * emacs-lisp/macroexp.el (macroexpand-all-1):
9230 Support compiler-macros directly. Properly follow aliases and apply
9231 the compiler macros more thoroughly.
9232 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9233 macroexpand now properly follows aliases.
9234 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9235 (cl-compiler-macroexpand): Use new prop.
9236 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9237
9238 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9239
51a5f9d8
MR
92402012-06-05 Martin Rudalics <rudalics@gmx.at>
9241
9242 * window.el (get-lru-window, get-mru-window, get-largest-window):
9243 New argument NOT-SELECTED to avoid picking the selected window.
9244 (window--display-buffer-1, window--display-buffer-2): Replace by
9245 new function window--display-buffer
9246 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9247 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9248 Use window--display-buffer.
51a5f9d8
MR
9249 (display-buffer-use-some-window): Remove temporary dedication
9250 hack by calling get-lru-window and get-largest-window with
9251 NOT-SELECTED argument non-nil. Call window--display-buffer.
9252
08f9f738
GM
92532012-06-05 Glenn Morris <rgm@gnu.org>
9254
9255 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9256 Replace external vcdiff script.
9257
e364a2b7
SM
92582012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9261
041df390
CY
92622012-06-04 Chong Yidong <cyd@gnu.org>
9263
e364a2b7
SM
9264 * image.el (imagemagick-types-inhibit): Revert last change.
9265 Add INFO and M.
47b36b94 9266 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9267
7c1898a7
SM
92682012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * emacs-lisp/cl-lib.el: Rename from cl.el.
9271 * emacs-lisp/cl.el: New compatibility file.
9272 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9273 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9274 to obey the "cl-" prefix.
9275 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9276
0c3461de
GM
92772012-06-03 Glenn Morris <rgm@gnu.org>
9278
1e266c88
GM
9279 * emacs-lisp/authors.el (authors-aliases): Addition.
9280
0c3461de
GM
9281 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9282 Fix :version.
9283
d8a52e15
SM
92842012-06-03 Stefan Merten <smerten@oekonux.de>
9285
9286 * textmodes/rst.el: Add comments.
9287 (rst-transition, rst-adornment): New faces.
9288 (rst-adornment-faces-alist): Make default safe to reevaluate.
9289 Fixes
9290 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9291 Improve customization tags.
9292 (rst-define-level-faces): Clarify meaning.
9293
5205d6f6
CY
92942012-06-03 Chong Yidong <cyd@gnu.org>
9295
9296 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9297 (compilation-mode-line-run, compilation-mode-line-exit):
9298 New faces.
5205d6f6
CY
9299 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9300
757ee657
JD
93012012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9302
7c1898a7
SM
9303 * progmodes/which-func.el (which-func-update-ediff-windows):
9304 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9305
5f2c76c6
CY
93062012-06-03 Chong Yidong <cyd@gnu.org>
9307
9308 * bindings.el: Remove explicit help text from format-mode-line.
9309 It is now supplied by mode-line-default-help-echo.
9310 (mode-line-front-space, mode-line-end-spaces)
9311 (mode-line-misc-info): New variables.
9312 (mode-line-modes, mode-line-position): Move the default value to
9313 the variable definition.
9314 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9315 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9316 (mode-line-modified-help-echo): New functions.
9317 (mode-line-mule-info, mode-line-modified): Use them.
9318 (mode-line-eol-desc, propertized-buffer-identification):
9319 Consistency fixes for help text.
cbe46e5f
CY
9320 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9321 set-buffer-file-coding-system (Bug#289).
9322 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9323
f2d6a3df
SM
93242012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9325
9326 * simple.el (execute-extended-command): Set real-this-command
9327 (bug#11506).
9328
37269466
CY
93292012-06-02 Chong Yidong <cyd@gnu.org>
9330
9331 Remove incorrect uses of "modeline" in comments, docstrings, and
9332 function/variable names (Bug#10329).
9333
9334 * cus-edit.el (mode-line):
9335 * dframe.el (dframe-mouse-hscroll):
9336 * emacs-lisp/re-builder.el:
9337 * emacs-lisp/easy-mmode.el (define-minor-mode):
9338 * frame.el (set-frame-name):
9339 * help.el (lookup-minor-mode-from-indicator):
9340 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9341 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9342 (c-toggle-hungry-state):
9343 * progmodes/antlr-mode.el (antlr-language-alist):
9344 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9345 * progmodes/vhdl-mode.el (vhdl-mode):
9346 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9347 * term/ns-win.el (ns-face-at-pos):
9348 * term/sup-mouse.el (sup-mouse-report):
9349 * textmodes/flyspell.el (flyspell-mode-line-string):
9350 * textmodes/ispell.el (ispell-highlight-face):
9351 * textmodes/reftex-global.el:
9352 * vc/vc-arch.el (vc-arch-mode-line-string):
9353 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9354 * vc/vc-git.el (vc-git-mode-line-string):
9355 * vc/vc-hooks.el (vc-display-status)
9356 (vc-default-mode-line-string):
9357 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9358
9359 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9360
9361 * dired.el (dired-sort-set-mode-line): Rename from
9362 dired-sort-set-modeline. All callers changed.
9363
9364 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9365 eshell-status-in-modeline.
9366
9367 * foldout.el (foldout-mode-line-string): Rename from
9368 foldout-modeline-string. All callers changed.
9369 (foldout-update-mode-line): Rename from foldout-update-modeline.
9370
9371 * subr.el (redraw-modeline): Make into obsolete alias.
9372
9373 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9374 timeclock-modeline-display. Make old name an alias.
9375 (timeclock-update-mode-line): Likewise. All callers changed.
9376 (timeclock-mode-line-display): No need to check before using
9377 add-hook.
9378 (timeclock-relative, timeclock-day-over-hook)
9379 (timeclock-use-elapsed, timeclock-mode-string)
9380 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9381
9382 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9383 crisp-mode-modeline-string.
9384
9385 * play/solitaire.el (solitaire-build-mode-line): Rename from
9386 solitaire-build-modeline. All callers changed.
9387
9388 * play/zone.el (zone-hiding-mode-line): Rename from
9389 zone-hiding-modeline. All callers changed.
9390 (zone): Remove unusued `modeline-hidden-level' property.
9391
9392 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9393 xscheme-modeline-initialize. All callers changed.
9394
9395 * strokes.el (strokes-lighter): Rename from
9396 strokes-modeline-string.
9397
9398 * textmodes/sgml-mode.el (html-face-tag-alist)
9399 (html-tag-face-alist): Use mode-line face instead of obsolete
9400 alias modeline.
9401
42152ee4
SM
94022012-06-02 Stefan Merten <smerten@oekonux.de>
9403
9404 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9405 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9406
95f520b5
CY
94072012-06-02 Chong Yidong <cyd@gnu.org>
9408
9409 * image.el (imagemagick-enabled-types): Rename from
9410 imagemagick-types-enable. Add many more types.
9411 (imagemagick-types-inhibit): Change default to nil.
9412 (imagemagick-filter-types): Caller changed.
9413
4a5f187a
SM
94142012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9415
03fef3e6
SM
9416 * emacs-lisp/cl-macs.el: Use backquotes.
9417 (cl-transform-function-property): Use eval-and-compile rather than
9418 abusing `require'.
9419 (defstruct): Use declare-function instead of with-no-warnings.
9420
4a5f187a
SM
9421 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9422 (byte-compile-output-docform): Re-add the print-circle bindings.
9423 (byte-compile-fix-header): Use #$ just because it's shorter.
9424 (byte-compile-output-file-form): Remove defun/defmacro.
9425
bd56924f
MR
94262012-06-01 Martin Rudalics <rudalics@gmx.at>
9427
9428 * simple.el (choose-completion): Remove now obsolete binding for
9429 owindow.
9430
046e38ce
MA
94312012-06-01 Michael Albinus <michael.albinus@gmx.de>
9432
9433 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9434 in order to avoid "Stack overflow in regexp matcher".
9435
32d72c2f
GM
94362012-05-31 Glenn Morris <rgm@gnu.org>
9437
9438 * image.el: For clarity, call imagemagick-register-types at
9439 top-level, rather than relying on a custom :initialize.
9440 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9441 (imagemagick-filter-types): New function. (Bug#7406)
9442 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9443 If disabling support, remove elements altogether rather
9444 than using an impossible regexp.
9445 (imagemagick-types-inhibit): Give it the default init function.
9446
dd41169b
SM
94472012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9448
4a5f187a
SM
9449 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9450 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9451
efc00ab1 94522012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9453
9454 * desktop.el (desktop-read): Clear previous and next buffers for
9455 all windows and bury *Messages* buffer (bug#11556).
9456
500fcedc
SM
94572012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 Add `declare' for `defun'. Align `defmacro's with it.
9460 * emacs-lisp/easy-mmode.el (define-minor-mode)
9461 (define-globalized-minor-mode): Don't autoload the var definitions.
9462 * emacs-lisp/byte-run.el: Use lexical-binding.
9463 (defun-declarations-alist, macro-declarations-alist): New vars.
9464 (defmacro, defun): Use them.
9465 (make-obsolete, define-obsolete-function-alias)
9466 (make-obsolete-variable, define-obsolete-variable-alias):
9467 Use `declare'.
9468 (macro-declaration-function): Mark obsolete.
9469 * emacs-lisp/autoload.el: Use lexical-binding.
9470 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9471
6e8a1786
AM
94722012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9473
9474 * textmodes/ispell.el (ispell-with-no-warnings):
9475 Define as a macro.
500fcedc
SM
9476 (ispell-kill-ispell, ispell-change-dictionary):
9477 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9478 `interactive-p'.
9479
61b108cc
SM
94802012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9483 (macro-declaration-function): Move var from C code.
9484 (macro-declaration-function): Define function with defalias.
9485 * emacs-lisp/macroexp.el (macroexpand-all-1):
9486 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9487 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9488 defun/defmacro any more.
9489 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9490 Provide fallback for unknown arglist.
9491 (byte-compile-arglist-warn): Change calling convention.
9492 (byte-compile-output-file-form): Move print-vars binding.
9493 (byte-compile-output-docform): Simplify accordingly.
9494 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9495 (byte-compile-defmacro-declaration): Remove.
9496 (byte-compile-file-form-defmumble): Generalize to defalias.
9497 (byte-compile-output-as-comment): Return byte-positions.
9498 Simplify callers accordingly.
9499 (byte-compile-lambda): Use `assert'.
9500 (byte-compile-defun, byte-compile-defmacro): Remove.
9501 (byte-compile-file-form-defalias):
9502 Use byte-compile-file-form-defmumble.
9503 (byte-compile-defalias-warn): Remove.
9504
6d3f7c2f
SM
95052012-05-29 Stefan Merten <smerten@oekonux.de>
9506
9507 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9508 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9509
9510 (rst-mode-abbrev-table): Merge definition.
9511 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9512 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9513
6dbaa1c7
UJ
95142012-05-29 Ulf Jasper <ulf.jasper@web.de>
9515
9516 * calendar/icalendar.el
9517 (icalendar-export-region): Export UID properly.
9518
d209e2fb 95192012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9520 * calendar/icalendar.el (icalendar-import-format):
9521 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9522 (icalendar-import-format-uid): New.
9523 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9524 Export UID.
9525
6876a58d
SM
95262012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9529 different alternative patterns.
9530 (pcase-codegen): Be more careful to preserve identity.
9531 (pcase--u1): Don't forget to mark vars as used.
9532
9533 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9534 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9535 (byte-compile-from-buffer): ...rather than here.
9536
9537 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9538 functions from byte-compile-function-environment.
9539
46b7967e
TN
95402012-05-29 Troels Nielsen <bn.troels@gmail.com>
9541
9542 * window.el (window-deletable-p): Avoid deleting the root window
9543 of a frame with an active minibuffer.
9544
69d565e2
MR
95452012-05-29 Martin Rudalics <rudalics@gmx.at>
9546
9547 * simple.el (choose-completion): Use quit-window (Bug#11567).
9548
a149fa51
CY
95492012-05-29 Chong Yidong <cyd@gnu.org>
9550
9551 * whitespace.el (whitespace-cleanup): Fix usage of
9552 whitespace-empty-at-bob-regexp (Bug#11492).
9553
2b311310
AH
95542012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9555
9556 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9557 revert (Bug#11488).
9558
b9cb2387
JL
95592012-05-29 Juri Linkov <juri@jurta.org>
9560
9561 * isearch.el (isearch-mode-map): Bind `M-s _' to
9562 `isearch-toggle-symbol'. Bind `M-s c' to
9563 `isearch-toggle-case-fold'.
9564 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9565 (isearch-forward): Add `M-s _' to the docstring.
9566 (isearch-forward-symbol, isearch-toggle-case-fold)
9567 (isearch-symbol-regexp): New functions. (Bug#11381)
9568
d5e61c1c
JL
95692012-05-29 Juri Linkov <juri@jurta.org>
9570
9571 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9572 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9573 a function, call it to get the regexp.
9574 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9575 property `isearch-message-prefix' instead of the string "word ".
9576 (isearch-search-fun-default): For the case of `isearch-word',
9577 return a lambda that calls re-search-forward/re-search-backward
9578 with a regexp returned by `word-search-regexp' or by the function
9579 in `isearch-word'.
9580
8cbd80f7
JL
95812012-05-29 Juri Linkov <juri@jurta.org>
9582
9583 * isearch.el (isearch-search-fun-default): New function.
9584 (isearch-search-fun): Move default part to the new function
9585 `isearch-search-fun-default'.
9586 (isearch-search-fun-function): Set the default value to
9587 `isearch-search-fun-default'. (Bug#11381)
9588
9589 * comint.el (comint-history-isearch-end):
9590 Use `isearch-search-fun-default'.
9591 (comint-history-isearch-search): Use `isearch-search-fun-default'
9592 and remove spacial case for `isearch-word'.
9593 (comint-history-isearch-wrap): Remove spacial case for
9594 `isearch-word'.
9595
9596 * hexl.el (hexl-isearch-search-function):
9597 Use `isearch-search-fun-default'.
9598
9599 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9600 Use `word-search-regexp' for `isearch-word'.
9601
9602 * misearch.el (multi-isearch-search-fun):
9603 Use `isearch-search-fun-default'.
9604
9605 * simple.el (minibuffer-history-isearch-search):
9606 Use `isearch-search-fun-default' and remove spacial case for
9607 `isearch-word'.
9608 (minibuffer-history-isearch-wrap): Remove spacial case for
9609 `isearch-word'.
9610
9611 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9612 Remove spacial case for `isearch-word'.
9613 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9614
85c8c5b6
AM
96152012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9616
9617 Decrease XEmacs incompatibilities.
9618 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9619 Use `string-match'.
9620 (flyspell-delete-region-overlays): Use alternative definition for
9621 XEmacs.
9622 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9623 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9624 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9625 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9626 `define-obsolete-face-alias' under XEmacs, but old method.
9627
9628 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9629 `with-no-warnings' definition or Emacs alias.
9630 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9631 (ispell-word): Do not use `region-p' if XEmacs.
9632
8cab9efc
AM
96332012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9634
9635 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9636 Check for `ispell-dictionary-base-alist' instead of full
9637 `ispell-dictionary-alist'.
9638 (ispell-init-process): Show spellchecker when starting new Ispell
9639 process.
9640
fda91268
RZ
96412012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9644 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9645
694ea8e3
JB
96462012-05-27 Juanma Barranquero <lekktu@gmail.com>
9647
9648 * version.el (motif-version-string, gtk-version-string)
9649 (ns-version-string): Declare.
9650
e4d4f539
JL
96512012-05-27 Juri Linkov <juri@jurta.org>
9652
9653 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9654 after the `eval-defun-1' specialcaseing
9655 like in `edebug-eval-defun' (bug#10181).
9656
9657 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9658 like in `eval-defun-1'.
9659
33017faf 96602012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9661
fda91268
RZ
9662 * mail/sendmail.el (mail-yank-region):
9663 Recognize rmail-yank-current-message in addition to insert-buffer.
9664 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9665 a *mail* buffer created through rmail-start-mail with sendmail as
9666 mail-user-agent.
9667
33017faf
GM
96682012-05-27 Chong Yidong <cyd@gnu.org>
9669
9670 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9671 Default to 256 (Bug#11267).
9672
9673 * help.el (describe-mode): Doc fix.
9674
04188bb9
GM
96752012-05-26 Glenn Morris <rgm@gnu.org>
9676
38264cc9
GM
9677 * w32-fns.el (w32-init-info): Remove.
9678 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9679
eb7afdad
GM
9680 * info.el (info-initialize): For self-contained NS builds, put the
9681 included info/ directory at the front. (Bug#2791)
9682
04188bb9
GM
9683 * paths.el (Info-default-directory-list): Make it a defcustom,
9684 mainly so that we can use custom-initialize-delay.
9685
a179e3f7
SM
96862012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9687
43416392
SM
9688 * subr.el (buffer-has-markers-at): Mark obsolete.
9689
a179e3f7 9690 * subr.el (lambda): Use declare.
43416392 9691
a179e3f7
SM
9692 * emacs-lisp/lisp-mode.el (lambda):
9693 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9694
34a008d9
AH
96952012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9696
9697 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9698
0a3b289f
GM
96992012-05-26 Glenn Morris <rgm@gnu.org>
9700
9701 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9702
758c81e8
GM
97032012-05-25 Glenn Morris <rgm@gnu.org>
9704
f9f334f0
GM
9705 * paths.el: Remove no-byte-compile.
9706 * loadup.el: No need to load paths.el uncompiled.
9707
87eb79c2
GM
9708 * image.el (imagemagick-types-inhibit): Doc fix.
9709
758c81e8
GM
9710 * version.el: Remove no-byte-compile and associated formatting.
9711 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9712 is ancient code from when there was an "inc-vers.el".
9713
e7e85dc0
SM
97142012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * progmodes/gdb-mi.el: Minor style changes.
9717 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9718 Turn into minor modes.
9719 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9720 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9721 (gdb-shell): Remove unneeded let-binding.
9722 (gdb-get-many-fields): Eliminate O(n²) behavior.
9723
f31237a4
EZ
97242012-05-25 Eli Zaretskii <eliz@gnu.org>
9725
9726 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9727 platforms that don't link in fontset.c.
9728
bc1b21bb
JL
97292012-05-25 Juri Linkov <juri@jurta.org>
9730
9731 Use the same diff color scheme as in modern VCSes (bug#10181).
9732
9733 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9734 to avoid confusion with `diff-added' that now uses green colors.
9735 (diff-removed): Use shades of red.
9736 (diff-added): Use shades of green.
9737 (diff-changed): Leave just the yellow color.
9738 (diff-use-changed-face): New variable.
9739 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9740 how to highlight context diff changes.
9741 (diff-refine-change): Use shades of yellow.
9742 (diff-refine-removed): New face that uses shades of red.
9743 (diff-refine-added): New face that uses shades of green.
9744 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9745 `diff-refine-removed' in the call to `smerge-refine-subst'
9746 depending on the value of `diff-use-changed-face'.
9747
9748 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9749 (smerge-other): Use shades of green.
9750 (smerge-base): Use shades of yellow.
9751 (smerge-refined-change): Empty face.
9752 (smerge-refined-removed): New face that uses shades of red.
9753 (smerge-refined-added): New face that uses shades of green.
9754 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9755 args `props-r' and `props-a', and use them. Doc fix.
9756 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9757 on its value use different faces `smerge-refined-change',
9758 `smerge-refined-removed', `smerge-refined-added' in the call to
9759 `smerge-refine-subst'.
9760
9761 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9762 Add face condition `min-colors 88' with shades of red.
9763 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9764 `min-colors 88' with shades of green.
9765 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9766 `min-colors 88' with shades of yellow.
9767
6df9112c
GM
97682012-05-24 Glenn Morris <rgm@gnu.org>
9769
ead5edc0
GM
9770 * paths.el (prune-directory-list, remote-shell-program): Move to...
9771 * files.el (prune-directory-list, remote-shell-program): ...here.
9772 For the latter, delay initialization, prefer ssh, just search PATH.
9773
f18b81e6
GM
9774 * paths.el (term-file-prefix): Move to faces.el (the only user).
9775 * faces.el (term-file-prefix): Move here, make it a defcustom.
9776
ee2f89a6
GM
9777 * paths.el (news-directory, news-path, news-inews-program):
9778 Move to gnus/nnspool.el.
61a583ca 9779
f8815e4c
GM
9780 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9781
c8f3b42c
GM
9782 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9783 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9784 Make the latter a defcustom, with a delayed initialization.
9785
6df9112c
GM
9786 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9787 These were deleted from Gnus itself late 2010.
9788
5dadff36
JB
97892012-05-22 Juanma Barranquero <lekktu@gmail.com>
9790
9e1701c6
JB
9791 * progmodes/which-func.el (which-func-ff-hook):
9792 Check against user-error, not error.
9793
bd7239f5 9794 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9795 cl-specs.el, which no longer exists.
9796
3290526d
GM
97972012-05-22 Glenn Morris <rgm@gnu.org>
9798
9799 * info.el (info-emacs-bug): New command.
9800 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9801 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9802
ff0c3cfb
GM
98032012-05-21 Glenn Morris <rgm@gnu.org>
9804
9805 * makefile.w32-in (update-subdirs-SH):
9806 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9807
5814f126
SM
98082012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9809
a52c0aa0
SM
9810 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9811
5814f126
SM
9812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9813 Simplify Maven regexp, and make sure the file can't start with a space
9814 (bug#11517).
9815
b847032c
GM
98162012-05-21 Glenn Morris <rgm@gnu.org>
9817
9818 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9819 Scrap superfluous subshells.
9820
3858bfe7
SM
98212012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9824 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9825
d14b0029
JB
98262012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9827
9828 * calc/calc.el (calc-ensure-consistent-units): New variable.
9829
a52c0aa0
SM
9830 * calc/calc-units.el (math-consistent-units-p)
9831 (math-check-unit-consistency): New functions.
9832 (calc-quick-units, calc-convert-units):
9833 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9834 is non-nil.
d14b0029
JB
9835 (calc-extract-units): Fix typo.
9836
60c4db3a
SM
98372012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9838
77f3b62e
SM
9839 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9840
60c4db3a
SM
9841 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9842 (flyspell-default-deplacement-commands): Don't spell check after
9843 repeated window/frame switches (e.g. triggered by mouse-movement).
9844 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9845 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9846 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9847 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9848 Remove unused vars.
9849 (flyspell-get-casechars, flyspell-get-not-casechars):
9850 Simplify; Don't bother removing a ] just to add it back.
9851 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9852
d209e2fb 98532012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9854
9855 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9856 New functions.
bd7239f5 9857 (math-function-table): Add support for more C functions.
b1a10716 9858
3f1b25b5
AM
98592012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9860
090bd7cb
JB
9861 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9862 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9863 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9864
b581bb5c
SM
98652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9868 their respective macro declarations.
9869 * skeleton.el (define-skeleton):
9870 * progmodes/compile.el (define-compilation-mode):
9871 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9872 (define-ibuffer-filter):
9873 * emacs-lisp/generic.el (define-generic-mode):
9874 * emacs-lisp/easy-mmode.el (define-minor-mode)
9875 (define-globalized-minor-mode):
9876 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9877 * emacs-lisp/byte-run.el (defsubst):
9878 * custom.el (deftheme): Add doc-string metadata.
9879
70b8ef8f
SM
98802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9883
b1198e17
SM
98842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9abdc45d
SM
9886 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9887
b1198e17
SM
9888 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9889 * emacs-lisp/cl-macs.el: Idem.
9890 * emacs-lisp/cl-specs.el: Remove.
9891
4735906a
SM
98922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 Minor renaming of internal CL functions and variables.
9895 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9896 (cl--position): Rename from cl-position.
9897 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9898 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9899 (cl--random-state): Rename from *random-state*.
9900
ac348012
SM
99012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9904 parens around the arg list (bug#11499).
9905
a0a79cde
JL
99062012-05-17 Juri Linkov <juri@jurta.org>
9907
9908 * isearch.el (word-search-regexp, word-search-backward)
9909 (word-search-forward, word-search-backward-lax)
9910 (word-search-forward-lax): Move functions from search.c
9911 (bug#10145, bug#11381).
9912
65034a51
AM
99132012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9914
090bd7cb
JB
9915 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9916 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9917 Delay for otherchars as for normal word components.
65034a51 9918
1a72a195
SM
99192012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * minibuffer.el (completion--sifn-requote): Fix last change.
9922 (minibuffer-local-must-match-filename-map):
9923 Move define-obsolete-variable-alias before its var.
9924
fdb058c2
SM
99252012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9926
c41045e6
SM
9927 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9928
036dfb8b
SM
9929 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9930 behavior.
9931 (completion--string-equal-p): New function.
9932 (completion--twq-all): Use it to get better assertion failure data.
9933
2473256d
SM
9934 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9935 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9936 (shell--requote-argument): New functions.
9937 (shell-completion-vars): Use them.
9938 (shell--parse-pcomplete-arguments): Rename from
9939 shell-parse-pcomplete-arguments.
9940 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9941 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9942 Obey comint-file-name-quote-list.
9943
fdb058c2
SM
9944 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9945 (smie-indent-keyword): Use it.
9946
51fa99f1
SM
99472012-05-14 Stefan Merten <smerten@oekonux.de>
9948
9949 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9950
e18afed7 99512012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9952
9953 * net/rlogin.el (rlogin-mode-map): Fix last change.
9954
e18afed7 99552012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9956
9957 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9958 the following \r\n using a single `process-send-string', since the
9959 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9960 with two `process-send-string's (Bug#11444).
8633b1f4 9961
e18afed7 99622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9963
fdb058c2
SM
9964 * shell.el (shell-parse-pcomplete-arguments):
9965 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9966
2d21d7f6
WJ
99672012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9968
e18afed7 9969 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9970 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9971 (image-transform-width, image-transform-fit-width): New functions.
9972 (image-transform-properties): Use them.
9973 (image-transform-check-size): New function.
9974 (image-toggle-display-image): Use it (for testing).
9975 (image-transform-set-rotation): Reduce angle mod 360.
9976 Delete obsolete comment.
9977
7102e6d0
WJ
99782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9979
9980 * image-mode.el: Fix scaling (bug#11399).
9981 (image-transform-resize): Doc fix.
9982 (image-transform-properties): Default scale is 1 and height should
9983 be an integer.
9984
06bc5e6e
SM
99852012-05-13 Johan Bockgård <bojohan@gnu.org>
9986
9987 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9988 than hard-coding `car', to fix misbehavior when moving forward.
9989
0ae03b6a
CY
99902012-05-13 Chong Yidong <cyd@gnu.org>
9991
9992 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9993 (tabulated-list-entries, tabulated-list-padding)
9994 (tabulated-list-sort-key): Make permanent-local.
9995
9996 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9997 (electric-buffer-list): Put electric buffer menu
9998 command descriptions in this docstring, instead of the docstring
9999 of electric-buffer-menu-mode. Code cleanups.
10000 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10001 Electric-buffer-menu-mode.
10002 (electric-buffer-update-highlight): Minor code cleanup.
10003
205a7391
MA
100042012-05-13 Michael Albinus <michael.albinus@gmx.de>
10005
10006 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10007 (Bug#11447)
10008
e5bd0a28
SM
100092012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 Move define-obsolete-variable-alias before the var's definition.
10012 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10013 * tooltip.el (tooltip-hook):
10014 * textmodes/reftex-toc.el (reftex-toc-map):
10015 * textmodes/reftex-sel.el (reftex-select-label-map)
10016 (reftex-select-bib-map):
10017 * textmodes/reftex-index.el (reftex-index-map)
10018 (reftex-index-phrases-map):
10019 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10020 * progmodes/meta-mode.el (meta-mode-map):
10021 * novice.el (disabled-command-hook):
10022 * loadhist.el (unload-hook-features-list):
10023 * frame.el (blink-cursor):
10024 * files.el (find-file-not-found-hooks, write-file-hooks)
10025 (write-contents-hooks):
10026 * emulation/tpu-edt.el (GOLD-map):
10027 * emacs-lock.el (emacs-lock-from-exiting):
10028 * emacs-lisp/generic.el (generic-font-lock-defaults):
10029 * emacs-lisp/chart.el (chart-map):
10030 * dos-fns.el (register-name-alist):
10031 * dired-x.el (dired-omit-files-p):
10032 * desktop.el (desktop-enable):
10033 * cus-edit.el (custom-mode-hook):
10034 * buff-menu.el (buffer-menu-mode-hook):
10035 * bookmark.el (bookmark-read-annotation-text-func)
10036 (bookmark-exit-hooks):
10037 * allout.el (allout-mode-deactivate-hook)
10038 (allout-exposure-change-hook, allout-structure-added-hook)
10039 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10040 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10041 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10042 comes before the corresponding variable's definition.
10043
ac59c2f6
CY
100442012-05-12 Chong Yidong <cyd@gnu.org>
10045
10046 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10047 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10048 (Buffer-menu-mode-map): Bind it.
10049 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10050
dee6c9a3
SM
100512012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10052
2171cea5
SM
10053 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10054 (prolog-upper-case-string, prolog-lower-case-string)
10055 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10056 (prolog-use-smie, prolog-smie-grammar): New vars.
10057 (prolog-smie-forward-token, prolog-smie-backward-token)
10058 (prolog-smie-rules): New funs.
10059 (prolog-comment-indent): Remove.
10060 (prolog-mode-variables): Use default comment indentation instead.
10061 Setup SMIE.
10062 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10063 (prolog-mode): Don't call them any more.
10064 (prolog-electric-colon, prolog-electric-dash)
10065 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10066
aa0382bd
SM
10067 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10068
dbacb4bd
SM
10069 * minibuffer.el (completion--twq-all): Again, allow case differences.
10070
13bdd94c
SM
10071 * term.el: Move keymap initialization code to be more idiomatic.
10072 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10073 (term-terminal-menu): Move initialization into declaration.
10074 (term-escape-char): Let the user set it in her .emacs.
10075
ff46c759
SM
10076 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10077 Provide SMIE-based indentation (not enabled by default yet).
10078 (sh-mode-map): Don't bind electric keys.
10079 Use electric-pair-mode instead of skeleton-pair.
10080 (sh-assignment-regexp): Fit within 80 columns.
10081 (sh-indent-supported): Specify actual shell name instead of boolean.
10082 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10083 (sh-maybe-here-document): Use it. Make obsolete.
10084 (sh-electric-here-document-mode) New minor mode.
10085 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10086 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10087 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10088 (sh-smie-rc-grammar, sh-use-smie): New vars.
10089 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10090 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10091 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10092 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10093 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10094 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10095 (sh-set-shell): Use smie-setup if requested.
10096
dee6c9a3
SM
10097 * term.el (term-set-escape-char): Properly set term-escape-char.
10098 See http://stackoverflow.com/questions/10524656.
10099
9f9aa044
CY
101002012-05-10 Chong Yidong <cyd@gnu.org>
10101
10102 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10103 Use url-generic-parse-url, and handle host names and Windows
10104 filenames properly.
10105 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10106 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10107 URL schemes to work on.
10108 (ffap--toggle-read-only): New function.
10109 (ffap-read-only, ffap-read-only-other-window)
10110 (ffap-read-only-other-frame): Use it.
10111 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10112 necessary for ffap-url-unwrap-remote.
10113
836d29b3
DA
101142012-05-10 Dave Abrahams <dave@boostpro.com>
10115
10116 * cus-start.el (create-lockfiles): Add it.
10117
00fd78ed
CY
101182012-05-09 Chong Yidong <cyd@gnu.org>
10119
10120 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10121 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10122
666b903b 101232012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10124
10125 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10126
666b903b 101272012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10128
10129 * ansi-color.el (ansi-color-process-output): Check for validity of
10130 comint-last-output-start before using it. This avoids a bad
10131 interaction with gdb-mi's input/output buffer.
10132
666b903b 101332012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10134
10135 * files.el (dir-locals-read-from-file):
10136 Mention dir-locals in any error message.
10137
666b903b 101382012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10139
10140 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10141 package (Bug#11410).
10142
f677562b
CY
10143 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10144 variables into description.
10145
666b903b 101462012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10147
10148 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10149 shell-delimiter-argument-list (bug#11348).
10150 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10151
b499d8d0
JB
101522012-05-09 Juanma Barranquero <lekktu@gmail.com>
10153
8f6b6da8
JB
10154 * textmodes/rst.el: Silence byte-compiler warnings.
10155 (rst-re-alist, rst-reset-section-caches): Move around.
10156 (rst-re): Use `characterp', not `char-valid-p'.
10157 (font-lock-beg, font-lock-end): Declare.
10158
4824146a
JB
10159 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10160 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10161
b499d8d0
JB
10162 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10163
ad89bb83
GM
101642012-05-08 Glenn Morris <rgm@gnu.org>
10165
10166 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10167
8bba5a75
SM
101682012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10169
49ed9c8e
SM
10170 * vc/log-edit.el: Add GNU coding standards highlighting.
10171 (log-edit-font-lock-gnu-style)
10172 (log-edit-font-lock-gnu-keywords): New vars.
10173 (log-edit-font-lock-keywords): New fun.
10174 (log-edit-mode): Don't fold case in font-lock.
10175 (log-edit-font-lock-keywords): Do not assume case-folding.
10176
07d00b56
SM
10177 * imenu.el: Misc cleanup. Make docstrings out of comments.
10178 Use lexical-binding.
10179 (imenu--index-alist, imenu--last-menubar-index-alist)
10180 (imenu-menubar-modified-tick): Use defvar-local.
10181 (imenu--split-menu): Remove unused var.
10182 (imenu--cleanup-seen): Declare as global.
10183 (imenu--cleanup): Use dolist.
10184
8bba5a75
SM
10185 * subr.el (defvar-local): Add debug spec and doc-string position.
10186
5075bdb5
GM
101872012-05-08 Glenn Morris <rgm@gnu.org>
10188
090bd7cb 10189 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10190 * language/english.el, language/georgian.el, language/greek.el:
10191 * language/japanese.el, language/khmer.el, language/korean.el:
10192 * language/lao.el, language/misc-lang.el, language/romanian.el:
10193 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10194 * language/thai.el, language/utf-8-lang.el:
10195 Remove no-byte-compile setting.
10196
5075bdb5
GM
10197 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10198
06f679a7
AH
101992012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10200
10201 * progmodes/make-mode.el (makefile-browse):
10202 Remove unnecessary interactive. (Bug#11324)
10203
03794570
GM
102042012-05-07 Glenn Morris <rgm@gnu.org>
10205
af8630f4
GM
10206 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10207
03794570
GM
10208 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10209
f0809a9d
SM
102102012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10211
28be5ce7
SM
10212 * loadup.el: Preload newcomment.el.
10213 * newcomment.el: Move autoload-only code to toplevel.
10214
f0809a9d
SM
10215 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10216 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10217 Handle new :right-align column property.
10218 (tabulated-list-print-col): Idem, plus use `display' text-property to
10219 try and preserve alignment for variable pitch fonts.
10220
1241b724
CY
102212012-05-07 Chong Yidong <cyd@gnu.org>
10222
10223 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10224 (tabulated-list-use-header-line): New var.
10225 (tabulated-list-init-header): Use it.
10226 (tabulated-list-print-fake-header): New function.
10227 (tabulated-list-print): Use it.
10228 (tabulated-list-sort-button-map): Add non-header-line commands.
10229 (tabulated-list-init-header): Add column name property to basic
10230 labels as well.
10231 (tabulated-list-col-sort): Handle non-header-line button case.
10232 (tabulated-list--sort-by-column-name): Fix a corner case.
10233
f0809a9d
SM
10234 * buff-menu.el (list-buffers--refresh):
10235 Handle Buffer-menu-use-header-line.
1241b724 10236
e5f9458f
CY
102372012-05-06 Chong Yidong <cyd@gnu.org>
10238
10239 * buff-menu.el: Convert to Tabulated List mode.
10240 (Buffer-menu-buffer+size-width): Make obsolete.
10241 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10242 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10243 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10244 documentation into docstring of buffer-menu.
10245 (Buffer-menu-toggle-files-only): Add an informative message.
10246 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10247 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10248 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10249 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10250 (Buffer-menu-execute, Buffer-menu-select)
10251 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10252 (Buffer-menu-bury): Use Tabulated List machinery.
10253 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10254 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10255 Delete.
e5f9458f
CY
10256 (list-buffers--refresh): New function.
10257 (list-buffers-noselect): Use it.
10258 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10259 (Buffer-menu--pretty-file-name): New helper functions.
10260
10261 * loadup.el: Preload tabulated-list.
10262
10263 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10264 tabulated-list-sort-column.
10265 (tabulated-list-init-header): Add the initial aligning space even
10266 if tabulated-list-padding is zero.
10267
e129292c
CS
102682012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10269
10270 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10271 whose cdr is not a cons cell correctly (bug#11038).
10272
6632d361
CY
102732012-05-06 Chong Yidong <cyd@gnu.org>
10274
e129292c
CS
10275 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10276 Accept additional plist in column descriptors.
6632d361
CY
10277 (tabulated-list-init-header): Obey it.
10278 (tabulated-list-get-entry): New function.
10279 (tabulated-list-put-tag): Use it. Use string-width instead of
10280 length.
10281 (tabulated-list--column-number): New function.
10282 (tabulated-list-print): Use it.
e129292c
CS
10283 (tabulated-list-print-col): New function.
10284 Set `tabulated-list-column-name' property on each column's text.
6632d361 10285 (tabulated-list-print-entry): Use it.
e129292c
CS
10286 (tabulated-list-delete-entry, tabulated-list-set-col):
10287 New functions.
6632d361
CY
10288 (tabulated-list-sort-column): New command (Bug#11337).
10289
3cc99f68
CY
10290 * buff-menu.el (list-buffers): Move C-x C-b binding from
10291 buff-menu.el to bindings.el.
10292
10293 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10294 :advertised-binding feature.
10295
52b61776
TN
102962012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10297
10298 * progmodes/compile.el (compilation-internal-error-properties):
10299 Calculate start position correctly when end-col is set but
10300 end-line is not (Bug#11382).
10301
ebfe2597
WJ
103022012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10303
10304 * man.el (Man-unindent): Use text-property-default-nonsticky to
10305 prevent untabify from inheriting face properties (Bug#11408).
10306
6d3f7c2f
SM
103072012-05-05 Stefan Merten <smerten@oekonux.de>
10308
10309 * textmodes/rst.el: Major merge with upstream development up to
10310 Docutils SVN r7399 / rst.el V1.2.1.
10311
10312 Clarify maintainership and authors.
10313
10314 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10315 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10316 (rst-official-version, rst-official-cvs-rev, rst-version)
10317 (rst-package-emacs-version-alist): New functions and variables
10318 for version information.
10319
10320 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10321 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10322 (rst-mode-syntax-table, rst-mode): New and corrected functions
10323 and variables representing reStructuredText features.
10324
10325 (rst-re): New function for reStructuredText regexes. Use in
10326 many places.
10327
10328 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10329 (rst-mode-map): Rebind keys.
10330
10331 (rst-mode-lazy, rst-font-lock-keywords)
10332 (rst-font-lock-extend-region)
10333 (rst-font-lock-extend-region-internal)
10334 (rst-font-lock-extend-region-extend)
10335 (rst-font-lock-find-unindented-line-limit)
10336 (rst-font-lock-find-unindented-line-match)
10337 (rst-adornment-level, rst-font-lock-adornment-level)
10338 (rst-font-lock-adornment-match)
10339 (rst-font-lock-handle-adornment-pre-match-form)
10340 (rst-font-lock-handle-adornment-matcher): Major revision of
10341 font-locking. Integrate with other code. Use `jit-lock-mode'.
10342
10343 (rst-preferred-adornments, rst-adjust-hook)
10344 (rst-new-adornment-down, rst-preferred-bullets)
10345 (rst-preferred-bullets, rst-indent, rst-indent-width)
10346 (rst-indent-field, rst-indent-literal-normal)
10347 (rst-indent-literal-minimized, rst-indent-comment): Change,
10348 extend and improve customization.
10349
10350 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10351 (rst-normalize-cursor-position, rst-get-decoration)
10352 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10353 (rst-rstrip, rst-toc-insert-find-delete-contents)
10354 (rst-shift-fill-region, rst-compute-bullet-tabs)
10355 (rst-debug-print-tabs, rst-debug-mark-found)
10356 (rst-shift-region-guts, rst-shift-region-right)
10357 (rst-shift-region-left, rst-use-char-classes)
10358 (rst-font-lock-keywords-function)
10359 (rst-font-lock-indentation-point)
10360 (rst-font-lock-find-unindented-line-begin)
10361 (rst-font-lock-find-unindented-line-end)
10362 (rst-font-lock-find-unindented-line)
10363 (rst-font-lock-adornment-point, rst-font-lock-level)
10364 (rst-adornment-level-alist): Remove functions and variables.
10365
10366 (rst-compare-adornments, rst-get-adornment-match)
10367 (rst-suggest-new-adornment, rst-get-adornments-around)
10368 (rst-adornment-complete-p, rst-get-next-adornment)
10369 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10370 (rst-straighten-adornments): Standardize function names to
10371 use "adornment" instead of "decoration". Correct callers.
10372 Similar standardizing in many places.
10373
10374 (rst-update-section, rst-adjust, rst-promote-region)
10375 (rst-enumerate-region, rst-bullet-list-region)
10376 (rst-repeat-last-character): Correct use of `interactive'.
10377
10378 (rst-classify-adornment, rst-find-all-adornments)
10379 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10380 (rst-find-leftmost-column, rst-repeat-last-character):
10381 Refactor functions.
10382
10383 (rst-find-title-line, rst-reset-section-caches)
10384 (rst-get-adornments-around, rst-adjust-adornment-work)
10385 (rst-arabic-to-roman, rst-roman-to-arabic)
10386 (rst-insert-list-pos, rst-insert-list-new-item)
10387 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10388 New functions.
10389
10390 (rst-all-sections, rst-section-hierarchy)
10391 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10392 New variables.
10393
10394 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10395 configuration instead of only buffer. Change where necessary.
10396
10397 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10398 (rst-shift-region, rst-adaptive-fill): New functions for
10399 indentation and filling.
10400
10401 (rst-comment-line-break, rst-comment-indent)
10402 (rst-comment-insert-comment, rst-comment-region)
10403 (rst-uncomment-region): New functions for handling comments.
10404
10405 (rst-compile): Quote shell arguments.
10406
10407 (rst-compile-pdf-preview, rst-compile-slides-preview):
10408 Delete temporary files after use.
10409
a43f98b3
GM
104102012-05-05 Glenn Morris <rgm@gnu.org>
10411
48176e8b
GM
10412 * calendar/cal-html.el: Optionally include holidays in the output.
10413 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10414 (cal-html-holidays): New option.
10415 (cal-html-css-default): Add holiday entry.
10416 (holiday-in-range): Autoload it.
10417 (cal-html-htmlify-entry): Add optional class argument.
10418 (cal-html-htmlify-list): Add optional holidays argument.
10419 (cal-html-insert-agenda-days): Include holidays in the output.
10420 (cal-html-one-month): Maybe include holidays.
10421
a43f98b3
GM
10422 * calendar/holidays.el (holiday-in-range):
10423 Move here from cal-tex-list-holidays.
10424 * calendar/cal-tex.el (cal-tex-list-holidays):
10425 Make it an obsolete alias for holiday-in-range. Update all callers.
10426
fef9d149 104272012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10428
10429 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10430 Nextstep.
10431
248da2f4
RW
104322012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10433
10434 * files.el (file-auto-mode-skip): New var.
10435 (set-auto-mode-1): Use it.
10436
f95e9344
SM
104372012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10438
df96ab1e
SM
10439 * repeat.el: Use lexical-binding.
10440 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10441 (repeat-undo-count): Remove.
10442 (repeat):
10443 * progmodes/octave-mod.el (octave-abbrev-start):
10444 * progmodes/f90.el (f90-abbrev-start):
10445 * face-remap.el (text-scale-adjust):
10446 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10447
5342bb06
SM
10448 * emacs-lisp/pcase.el (pcase--let*): New function.
10449 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10450 a bit more.
10451 (pcase--split-pred): Be more clever about ruling out overlap between
10452 a predicate and some constant pattern.
10453 (pcase--q1): Use `null' instead of (eq foo nil).
10454
f95e9344
SM
10455 * subr.el (setq-local, defvar-local): New macros.
10456 (kbd): Redefine as an alias.
10457 (with-selected-window): Leave unrelated frames alone.
10458 (set-temporary-overlay-map): New function.
10459
71873e2b
SM
104602012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * subr.el (user-error): New function.
10463 * window.el (switch-to-buffer):
10464 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10465 (smerge-match-conflict):
10466 * simple.el (previous-matching-history-element)
10467 (next-matching-history-element, goto-history-element, undo-more)
10468 (undo-start):
10469 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10470 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10471 (next-file, tags-loop-scan, list-tags, complete-tag):
10472 * progmodes/compile.el (compilation-loop):
10473 * mouse.el (mouse-minibuffer-check):
10474 * man.el (Man-bgproc-sentinel, Man-goto-page):
10475 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10476 (Info-history-forward, Info-follow-reference, Info-menu)
10477 (Info-extract-menu-item, Info-extract-menu-counting)
10478 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10479 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10480 (Info-next-reference, Info-prev-reference, Info-index)
10481 (Info-index-next, Info-follow-nearest-node)
10482 (Info-copy-current-node-name):
10483 * imenu.el (imenu--make-index-alist)
10484 (imenu-default-create-index-function, imenu-add-to-menubar):
10485 * files.el (basic-save-buffer, recover-file):
10486 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10487 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10488 (checkdoc-message-text, checkdoc-defun):
10489 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10490 * cus-edit.el (customize-changed-options, customize-rogue)
10491 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10492 (custom-variable-mark-to-reset-standard)
10493 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10494 (custom-file):
10495 * completion.el (check-completion-length):
10496 * comint.el (comint-search-arg)
10497 (comint-previous-matching-input-string-position)
10498 (comint-previous-matching-input)
10499 (comint-replace-by-expanded-history-before-point, comint-send-input)
10500 (comint-copy-old-input, comint-backward-matching-input)
10501 (comint-goto-process-mark, comint-set-process-mark):
10502 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10503 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10504
8a61ee22
SM
105052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10506
66408d1e
SM
10507 * dabbrev.el (dabbrev--ignore-case-p): New function.
10508 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10509 Use it.
10510
8a61ee22
SM
10511 * files.el (automount-dir-prefix): Mark as obsolete.
10512
3c74813a
GM
105132012-05-04 Glenn Morris <rgm@gnu.org>
10514
10515 * patcomp.el, play/bruce.el: Move to obsolete/.
10516
0bfcf5c5
PE
105172012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10518
10519 Fix minor Y10k bugs.
10520 * arc-mode.el (archive-unixdate):
10521 * autoinsert.el (auto-insert-alist):
10522 * calc/calc-forms.el (math-this-year):
10523 * emacs-lisp/copyright.el (copyright-current-year)
10524 (copyright-update-year, copyright):
10525 * tar-mode.el (tar-clip-time-string):
10526 * time.el (display-time-update):
10527 Don't assume years have 4 digits.
10528
78f3273a
CY
105292012-05-04 Chong Yidong <cyd@gnu.org>
10530
10531 * dos-w32.el (file-name-buffer-file-type-alist)
10532 (direct-print-region-use-command-dot-com):
10533 * ffap.el (ffap-menu-regexp):
10534 * find-file.el (ff-special-constructs):
10535 * follow.el (follow-debug):
10536 * forms.el (forms--debug):
10537 * iswitchb.el (iswitchb-all-frames):
10538 * ido.el (ido-all-frames):
10539 * emacs-lisp/timer.el (timer-max-repeats):
10540 * mail/feedmail.el (feedmail-mail-send-hook)
10541 (feedmail-mail-send-hook-queued):
10542 * mail/footnote.el (footnote-signature-separator):
10543 * mail/mailabbrev.el (mail-alias-separator-string)
10544 (mail-abbrev-mode-regexp):
10545 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10546 * progmodes/idlwave.el (idlwave-libinfo-file)
10547 (idlwave-default-completion-case-is-down)
10548 (idlwave-library-routines): Convert defvars to defcustoms.
10549
10550 * mail/rmail.el (rmail-decode-mime-charset):
10551 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10552 (idlwave-shell-fix-inserted-breaks)
10553 (idlwave-shell-activate-alt-keybindings)
10554 (idlwave-shell-use-breakpoint-glyph):
10555 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10556
f7ae6719
SM
105572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10558
10559 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10560
47086495
WS
105612012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10562
10563 * progmodes/verilog-mode.el (font-lock-keywords):
10564 Fix mis-highligting auto. Reported by Craig Barner.
10565 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10566 defines from global name space. Reported by Dan Dever.
47086495
WS
10567 (verilog-auto-reset, verilog-auto-reset-widths)
10568 (verilog-auto-tieoff): Support using unbased numbers for
10569 AUTORESET and AUTOTIEOFF.
10570 (verilog-submit-bug-report): Update variable list.
10571 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10572 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10573 (verilog-auto-template-lint): Fix hash error when linting modules
10574 with no used templates.
10575 (verilog-warn, verilog-warn-error)
10576 (verilog-warn-fatal): When non-interactive report multiple
10577 warnings before exiting. Suggested by Brad Dobbie.
10578 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10579 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10580 to report unused template errors. Reported by Brad Dobbie.
10581 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10582 nets, bug438. Reported by Vns Blore.
47086495
WS
10583 (verilog-auto-inout-module, verilog-auto-reg)
10584 (verilog-read-decls, verilog-read-sub-decls-sig)
10585 (verilog-signals-edit-wire-reg, verilog-signals-with):
10586 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10587 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10588 "reg" for backwards compatibility presuming Verilog 2001.
10589 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10590 (verilog-preprocess): Fix replication of preprocess output.
10591 Reported by Brad Dobbie.
10592 (verilog-auto-inst-interfaced-ports):
10593 Create verilog-auto-inst-interfaced-ports, bug429.
10594 Reported by Julian Gorfajn.
10595 (verilog-after-save-font-hook)
10596 (verilog-before-save-font-hook): New variable.
10597 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10598 (verilog-save-font-mods): Wrap disabling fontification, reported
10599 by David Rogoff.
10600 (verilog-do-indent, verilog-pretty-declarations-auto)
10601 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10602 Reported by Pierre-David Pfister.
10603 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10604 of class declarations, bug292. Reported by Kevin Heilman.
10605 (verilog-read-decls): Fix 'parameter type' not appearing in
10606 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10607 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10608 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10609 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10610 Reported by David Kravitz.
10611
106122012-05-03 Michael McNamara <mac@mail.brushroad.com>
10613
10614 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10615 assignment with tests in ifs and for loops.
10616 (verilog-extended-complete-re, verilog-complete-reg): Change so
10617 that DPI inport functions don't look like fuction declarations.
10618 (verilog-pretty-expr): Don't line up assignment
10619 operations to the test and increment in if and for loops
10620 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10621 that DPI inport functions don't look like fuction declarations.
47086495 10622
2e51d4b5
KH
106232012-05-03 Kenichi Handa <handa@m17n.org>
10624
10625 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10626 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10627 (Bug#11282).
10628
2bd785a2
SM
106292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * emacs-lisp/bytecomp.el
10632 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10633 since cconv.el might have introduced :fun-body, internal-make-closure,
10634 and friends for bytecomp to handle (bug#11391).
10635 * custom.el (defcustom): Avoid ((λ ..) ..).
10636
99d27583
SM
106372012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10640
55a71479
JB
106412012-05-02 Juanma Barranquero <lekktu@gmail.com>
10642
10643 * notifications.el (dbus-debug):
10644 * term/linux.el (gpm-mouse-enable):
10645 * term/screen.el (xterm-register-default-colors): Declare.
10646
7b97c764
CY
106472012-05-02 Chong Yidong <cyd@gnu.org>
10648
2bc356d7
CY
10649 * cus-start.el (gc-cons-percentage, exec-suffixes)
10650 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10651 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10652 (make-cursor-line-fully-visible, void-text-area-pointer)
10653 (font-list-limit): Add customization data.
10654
7b97c764
CY
10655 * allout.el (allout-exposure-change-functions)
10656 (allout-structure-added-functions)
10657 (allout-structure-deleted-functions)
10658 (allout-structure-shifted-functions): Rename abnormal hooks from
10659 *-hook, and convert to defcustoms.
5d3385a0
JB
10660 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10661 Convert to defcustoms.
7b97c764
CY
10662 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10663
10664 * allout-widgets.el: Hook callers changed.
10665
90207a15 106662012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10667
10668 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10669 the yanked message in preference to the default value of
10670 buffer-file-coding-system.
10671
90207a15 106722012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10673
5d3385a0
JB
10674 * window.el (display-buffer--action-function-custom-type):
10675 Fix entry.
d9558cad 10676
90207a15 106772012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10678
10679 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10680
d80ac57b
GM
106812012-05-01 Glenn Morris <rgm@gnu.org>
10682
976f7668
GM
10683 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10684
beb83b5a
GM
10685 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10686
d80ac57b
GM
10687 * cus-edit.el (custom-variable-documentation): Simplify with format.
10688
b593d6a9 106892012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10690 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10691
10692 * simple.el (suggest-key-bindings, execute-extended-command):
10693 Move from keyboard.c.
10694
782fbf2a
CY
106952012-05-01 Chong Yidong <cyd@gnu.org>
10696
10697 * follow.el: Eliminate advice.
10698 (set-process-filter, process-filter, sit-for): Advice deleted.
10699 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10700 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10701 Vars deleted.
782fbf2a
CY
10702 (follow-auto): Use a :set function.
10703 (follow-mode): Rewritten. Don't advise process filters.
10704 (follow-switch-to-current-buffer-all, follow-scroll-up)
10705 (follow-scroll-down): Assume follow-mode is bound.
10706 (follow-comint-scroll-to-bottom)
10707 (follow-align-compilation-windows): New functions.
10708 (follow--window-sorter): New function.
10709 (follow-all-followers): Use it to explicitly sort windows by their
10710 positions; don't make assumptions about next-window order.
10711 (follow-windows-start-end, follow-delete-other-windows-and-split)
10712 (follow-calc-win-start): Doc fix.
10713 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10714 vertical-motion unnecessarily.
10715 (follow-adjust-window): New function.
10716 (follow-post-command-hook): Use it.
10717 (follow-call-set-process-filter, follow-call-process-filter)
10718 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10719 (follow-stop-intercept-process-output, follow-generic-filter):
10720 Functions deleted.
10721 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10722 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10723 New functions, replacing advice on scroll-bar-* commands.
87233a14 10724 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10725
10726 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10727 (comint-postoutput-scroll-to-bottom): Use it.
10728 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10729
290af740
GM
107302012-05-01 Glenn Morris <rgm@gnu.org>
10731
10732 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10733 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10734 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10735 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10736 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10737 Remove no-byte-compile setting.
10738
6eac8dc9
SM
107392012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10740
10741 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10742 all-completions code to not return a number in the last cdr.
10743
9cc7819c
LL
107442012-04-30 Leo Liu <sdl.web@gmail.com>
10745
10746 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10747 read-only error.
10748
c93b886f
CY
107492012-04-29 Chong Yidong <cyd@gnu.org>
10750
10751 * follow.el (follow-calc-win-end): Rewrite to handle partial
10752 screen lines correctly (Bug#8390).
10753 (follow-avoid-tail-recenter): Minor cleanup.
10754
8b6c19f4
SM
107552012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 Avoid the obsolete `assoc' package.
10758 * speedbar.el (speedbar-refresh): Avoid adelete.
10759 (speedbar-file-lists): Simplify and avoid aput.
10760 * man.el (Man--sections, Man--refpages): New vars, replacing
10761 Man-sections-alist and Man-refpages-alist.
10762 (Man-build-section-alist, Man-build-references-alist):
10763 Use them; avoid aput.
10764 (Man--last-section, Man--last-refpage): New vars.
10765 (Man-follow-manual-reference): Use them.
10766 Use the `default' arg of completing-read.
10767 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10768
c5bb7569
CY
107692012-04-27 Chong Yidong <cyd@gnu.org>
10770
d1d2e2e8
CY
10771 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10772
15cd8efd
CY
10773 * startup.el (x-apply-session-resources): New function.
10774
10775 * term/ns-win.el (ns-initialize-window-system):
10776 * term/w32-win.el (w32-initialize-window-system):
10777 * term/x-win.el (x-initialize-window-system): Use it to properly
10778 set menu-bar-mode and other vars from X resources, even if the
10779 initial frame is not a window-system frame (Bug#2299).
10780
c5bb7569
CY
10781 * subr.el (read-key): Avoid running filter function when setting
10782 up temporary tool bar entries (Bug#9922).
10783
a8e7d6d7 107842012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10785
10786 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10787 (Bug#11344)
10788
a8e7d6d7 107892012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10790
10791 * select.el (xselect--encode-string): New function, split from
10792 xselect-convert-to-string.
10793 (xselect-convert-to-string): Use it.
10794 (xselect-convert-to-filename, xselect-convert-to-os)
10795 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10796 returned strings are properly encoded (Bug#11315).
10797
a8e7d6d7 107982012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10799
10800 * simple.el (delete-active-region): Move to killing custom group.
10801
a8e7d6d7 108022012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10803
10804 * progmodes/which-func.el (which-func-current): Quote %
10805 characters for mode-line processing.
10806
578c1d4b 108072012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10808
10809 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10810 reaching eob (Bug#11286).
10811
a8e7d6d7 108122012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10813
10814 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10815 (gdb): Make it buffer-local and init to zero.
10816 (gdb-control-commands-regexp): New variable.
10817 (gdb-send): Don't wrap in "-interpreter-exec console" if
10818 gdb-control-level is positive. Increment gdb-control-level
10819 whenever the command matches gdb-control-commands-regexp, and
10820 decrement it each time the command is "end". (Bug#11279)
10821
a8e7d6d7 108222012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10823
10824 * window.el (adjust-window-trailing-edge, enlarge-window)
10825 (shrink-window, window-resize):
10826 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10827 windows (Bug#11276).
10828
b3608390
CY
108292012-04-27 Chong Yidong <cyd@gnu.org>
10830
10831 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10832 fix "missing prefix" warning. All callers changed.
b3608390 10833
797e6e88
SM
108342012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * emacs-lisp/assoc.el: Move to obsolete/.
10837
e95a67dc
SM
108382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10839
657c21e4 10840 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10841
10842 * term/ns-win.el (ns-define-service):
10843 * progmodes/pascal.el (pascal-goto-defun):
10844 * progmodes/js.el (js--read-tab):
10845 * progmodes/etags.el (tags-lazy-completion-table):
10846 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10847 * emacs-lisp/ewoc.el (ewoc--wrap):
10848 * emacs-lisp/assoc.el (aput, adelete, amake):
10849 * doc-view.el (doc-view-convert-current-doc):
10850 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10851
cb3e7ae0
CY
108522012-04-26 Chong Yidong <cyd@gnu.org>
10853
dce04f7f
CY
10854 * image.el (image-type-from-buffer): Only return supported image
10855 type (Bug#9045).
10856
cb3e7ae0
CY
10857 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10858 value, for symmetry with diff-end-of-hunk.
10859 (diff-split-hunk, diff-find-source-location)
10860 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10861 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10862 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10863 compute the relevant hunk or file properly (Bug#6005).
10864 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10865
0d42eb3e
SM
108662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * vc/vc-mtn.el:
10869 * vc/vc-hg.el:
10870 * vc/vc-git.el:
10871 * vc/vc-dir.el:
10872 * vc/vc-cvs.el:
10873 * vc/vc-bzr.el:
10874 * vc/vc-arch.el:
10875 * vc/vc.el: Replace lexical-let by lexical-binding.
10876 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10877 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10878 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10879
f08ae1c9
CY
108802012-04-26 Chong Yidong <cyd@gnu.org>
10881
8b71081d
CY
10882 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10883 (diff-mode-shared-map): Bind it to / and [remap undo].
10884
f08ae1c9
CY
10885 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10886 (ediff-window-setup-function): Use it as the default, to set up
10887 windows based on whether the current frame is graphical (Bug#2138).
10888 (ediff-choose-window-setup-function-automatically): Make obsolete.
10889
10890 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10891
ef24141c
SM
108922012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10893
cc356a5d
SM
10894 * ffap.el: Remove old code for obsolete package.
10895 (ffap-complete-as-file-p): Remove.
10896
b4ff4f1f
SM
10897 Use completion-table-with-quoting for comint and pcomplete.
10898 * comint.el (comint--unquote&requote-argument)
10899 (comint--unquote-argument, comint--requote-argument): New functions.
10900 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10901 (comint-quote-filename): Use regexp-opt-charset.
10902 (comint--common-suffix, comint--common-quoted-suffix)
10903 (comint--table-subvert): Remove.
10904 (comint-unquote-function, comint-requote-function): New vars.
10905 (comint--complete-file-name-data): Use them with
10906 completion-table-with-quoting.
10907 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10908 * pcomplete.el (pcomplete-arg-quote-list)
10909 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10910 (pcomplete-unquote-argument-function): Default to non-nil.
10911 (pcomplete-unquote-argument): Simplify.
10912 (pcomplete--common-quoted-suffix): Remove.
10913 (pcomplete-requote-argument-function): New var.
10914 (pcomplete--common-suffix): New function.
10915 (pcomplete-completions-at-point): Use completion-table-with-quoting
10916 and completion-table-subvert.
10917
79c4eeb4
SM
10918 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10919 (minibuffer--double-dollars): Preserve properties.
10920 (completion--sifn-requote): New function.
10921 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10922
ef24141c
SM
10923 * minibuffer.el: Add support for completion of quoted/escaped data.
10924 (completion-table-with-quoting, completion-table-subvert): New funs.
10925 (completion--twq-try, completion--twq-all): New functions.
10926 (completion--nth-completion): New function.
10927 (completion-try-completion, completion-all-completions): Use it.
10928
784e7d6e
LL
109292012-04-25 Leo Liu <sdl.web@gmail.com>
10930
dd2ac746
SM
10931 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10932 Use compilation-message if available to find real filename.
784e7d6e 10933
07875ee7
CY
109342012-04-25 Chong Yidong <cyd@gnu.org>
10935
10936 * vc/diff-mode.el (diff-setup-whitespace): New function.
10937 (diff-mode): Use it.
10938
10939 * vc/diff.el (diff-sentinel):
10940 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10941 Whitespace mode variables based on diff style (Bug#8612).
10942
5055880d
LL
109432012-04-25 Leo Liu <sdl.web@gmail.com>
10944
daf75653
LL
10945 * progmodes/python.el (python-send-region): Add suffix .py to the
10946 temp file.
10947
5055880d
LL
10948 * files.el (auto-mode-alist): Use javascript-mode instead.
10949
db9b177b
AH
109502012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10951
ef24141c 10952 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10953
090bd7cb 10954 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10955 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10956 references, see Bug#9.
ef24141c 10957 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10958 when receiving a fault reply.
ef24141c 10959 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10960
090bd7cb 10961 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10962 (soap-inspect-simple-type): New function.
db9b177b 10963
090bd7cb 10964 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10965 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10966 (soap-decode-basic-type, soap-encode-basic-type):
10967 support unsignedInt and double basic types.
db9b177b 10968 (soap-resolve-references-for-simple-type)
ef24141c
SM
10969 (soap-parse-simple-type, soap-encode-simple-type): New function.
10970 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10971
090bd7cb 10972 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10973 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10974 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10975 the local name of "soapenc:Array".
10976 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10977 decoding integer, byte and anyURI xsd types.
10978
1fc6097b
CY
109792012-04-25 Chong Yidong <cyd@gnu.org>
10980
10981 * cus-edit.el (custom-buffer-create-internal): Update header text.
10982
afc6df87
EZ
109832012-04-25 Eli Zaretskii <eliz@gnu.org>
10984
10985 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10986 settings on 'system-type', not on 'window-system'. On MS-Windows,
10987 set interactive-mode on in GDB.
10988
dfbd787f
SM
109892012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10992 (ruby-syntax-propertize-regexp): Remove.
10993 (ruby-syntax-propertize-function): Split regexp into chunks.
10994 Match following code directly.
10995
85222d44
DG
109962012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10997
51a8ea2a
DG
10998 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10999 (ruby-syntax-propertize-regexp): New function.
11000 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11001 by a special keyword.
11002
85222d44
DG
11003 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11004 (ruby-syntax-general-delimiters-goto-beg)
11005 (ruby-syntax-propertize-general-delimiters): New functions.
11006 (ruby-syntax-propertize-function): Use them to handle GDL.
11007 (ruby-font-lock-keywords): Move old handling of GDL...
11008 (ruby-font-lock-syntactic-keywords): .. to here.
11009 (ruby-calculate-indent): Adjust indentation for GDL.
11010
b613912b
MA
110112012-04-24 Michael Albinus <michael.albinus@gmx.de>
11012
b5380639
MA
11013 * notifications.el (top): Remove unneeded declarations.
11014 (notifications-specification-version): Change to "1.2".
e43042fe 11015 (notifications-interface, notifications-notify-method)
b613912b
MA
11016 (notifications-close-notification-method): Fix docstring.
11017 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11018 (notifications-notify): Add :action-items, :resident and
11019 :transient hints. Change "image_data" to "image-data" and
11020 "image_path" to "image-path".
b613912b
MA
11021 (notifications-get-capabilities): New defun.
11022
257440aa
LL
110232012-04-24 Leo Liu <sdl.web@gmail.com>
11024
11025 * progmodes/python.el: Move hideshow setup to the end.
11026
b1bac16e
MR
110272012-04-24 Martin Rudalics <rudalics@gmx.at>
11028
11029 * window.el (handle-select-window): Clear echo area since this is
11030 no more done by read_char (Bug#11304).
11031
d81bd059
SM
110322012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11035 and `/ M' to filter-derived-mode.
11036 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11037 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11038 (ibuffer-mark-by-mode): Use default rather than initial-input.
11039 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11040
c4cf6d91
IA
110412012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11042
11043 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11044 (ibuffer-filter-by-derived-mode): New filter.
11045 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11046
7511ded8
CY
110472012-04-23 Andreas Politz <politza@fh-trier.de>
11048
11049 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11050
775c916b
CY
110512012-04-23 Chong Yidong <cyd@gnu.org>
11052
11053 * cus-edit.el (customize-apropos, customize-apropos-options):
11054 Disable matching of non-option variables (Bug#11176).
11055 (customize-option, customize-option-other-window)
11056 (customize-changed-options): Doc fix.
11057 (customize-apropos-options, customize-apropos-faces)
11058 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11059
11060 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11061 Fix word list splitting (Bug#11132).
46c71e23
CY
11062 (apropos-symbol, apropos-keybinding, apropos-label)
11063 (apropos-property, apropos-function-button)
11064 (apropos-variable-button, apropos-misc-button): New faces.
11065 (apropos-symbol-face, apropos-keybinding-face)
11066 (apropos-label-face, apropos-property-face, apropos-match-face):
11067 Variables removed (Bug#8396).
11068 (apropos-library-button, apropos-format-plist, apropos-print)
11069 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11070
2df41f9c
MA
110712012-04-23 Michael Albinus <michael.albinus@gmx.de>
11072
11073 * net/xesam.el (xesam-mode-map): Use let-bound map in
11074 initialization. (Bug#11292)
11075
da00640a
AM
110762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11077
11078 Preserve ispell session localwords when switching back to
11079 original buffer.
11080
090bd7cb
JB
11081 * textmodes/ispell.el (ispell-buffer-session-localwords):
11082 New buffer-local variable to hold buffer session localwords.
ed9265fc 11083 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11084 localwords.
11085 (ispell-command-loop, ispell-change-dictionary)
11086 (ispell-buffer-local-words): Preserve session localwords when
11087 needed.
11088
090bd7cb
JB
11089 * textmodes/flyspell.el (flyspell-process-localwords)
11090 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11091
f621ccf5
AM
110922012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11093
090bd7cb
JB
11094 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11095 using obsolete `translation-table-for-input'.
ef24141c
SM
11096 (ispell-word, ispell-process-line, ispell-complete-word):
11097 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11098
c2d1019e
CY
110992012-04-22 Chong Yidong <cyd@gnu.org>
11100
11101 * cus-edit.el (custom-variable-menu)
11102 (custom-variable-reset-saved, custom-face-menu)
11103 (custom-face-reset-saved): If there is no saved value, make the
11104 "reset-saved" operation bring back the default (Bug#9509).
11105 (custom-face-state): Properly detect themed faces.
11106
eeddc531
CY
11107 * faces.el (face-spec-set): Stop supporting deprecated form of
11108 third arg.
11109
dcbf5805
MA
111102012-04-22 Michael Albinus <michael.albinus@gmx.de>
11111
11112 Move functions from C to Lisp. Make non-blocking method calls
11113 the default. Implement further D-Bus standard interfaces.
11114
ef24141c
SM
11115 * net/dbus.el (dbus-message-internal): Declare function.
11116 Remove unneeded function declarations.
dcbf5805
MA
11117 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11118 (dbus-message-type-method-return, dbus-message-type-error)
11119 (dbus-message-type-signal): Declare variables. Remove local
11120 definitions.
11121 (dbus-interface-dbus, dbus-interface-peer)
11122 (dbus-interface-introspectable, dbus-interface-properties)
11123 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11124 Adapt docstring.
11125 (dbus-interface-objectmanager): New defconst.
11126 (dbus-call-method, dbus-call-method-asynchronously)
11127 (dbus-send-signal, dbus-method-return-internal)
11128 (dbus-method-error-internal, dbus-register-service)
11129 (dbus-register-signal, dbus-register-method): New defuns, moved
11130 from dbusbind.c
11131 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11132 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11133 New defuns.
dcbf5805
MA
11134 (dbus-call-method-non-blocking): Make it an obsolete function.
11135 (dbus-unregister-object, dbus-unregister-service)
11136 (dbus-handle-event, dbus-register-property)
11137 (dbus-property-handler): Obey the new structure of
11138 `bus-registered-objects'.
11139 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11140 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11141 Use `dbus-call-method'.
11142
cf20dee0
CY
111432012-04-22 Chong Yidong <cyd@gnu.org>
11144
11145 * cus-edit.el (custom-commands, custom-reset-menu)
11146 (Custom-reset-standard): Tweak labels.
11147 (custom-reset-button-menu): Change default to t.
11148 (custom-buffer-create-internal): For the custom-reset-button-menu
11149 case, put the revert button first.
11150 (custom-group-subtitle): New face.
11151 (custom-group-value-create): Align docstring to a specific column.
11152
11153 * wid-edit.el (widget-documentation-link-add): Don't handle
11154 indentation in this function.
11155 (widget-documentation-string-indent-to): New function.
11156 (widget-documentation-string-value-create): Use it.
11157
11158 * autorevert.el (auto-revert):
11159 * epg-config.el (epg):
11160 * ibuffer.el (ibuffer):
11161 * mpc.el (mpc):
11162 * ses.el (ses):
11163 * eshell/eshell.el (eshell):
11164 * net/ange-ftp.el (ange-ftp):
11165 * progmodes/ebnf2ps.el (postscript):
11166 * progmodes/flymake.el (flymake):
11167 * progmodes/prolog.el (prolog):
11168 * progmodes/verilog-mode.el (verilog-mode):
11169 * progmodes/which-func.el (which-func):
11170 * term/xterm.el (xterm):
11171 * textmodes/picture.el (picture):
11172 * textmodes/tildify.el (tildify):
11173 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11174 customization buffers.
11175
583e23bd
AM
111762012-04-22 Alan Mackenzie <acm@muc.de>
11177
11178 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11179 Adding a ) can hide the resulting (..) from searches. Fix it.
11180 Bound the backward search to the position of the existing (.
11181
7dd51bf1
JB
111822012-04-21 Juanma Barranquero <lekktu@gmail.com>
11183
11184 * progmodes/verilog-mode.el (verilog-mode): Check whether
11185 which-func-modes is t before adding verilog-mode.
11186 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11187
d64a438f
LL
111882012-04-21 Leo Liu <sdl.web@gmail.com>
11189
7dd51bf1 11190 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11191
081e8d65
MV
111922012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11193
11194 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11195 filling of the last column of a table (Bug#5635).
11196 (woman-find-next-control-line): New arg, specifying an additional
11197 regexp component for the control line.
11198 (woman2-roff-buffer): Use it.
11199 (woman-break-table): New function.
11200 (woman2-TS): Use it.
11201
112022012-04-21 Chong Yidong <cyd@gnu.org>
11203
11204 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11205 (woman-horizontal-escapes, woman-negative-vertical-space)
11206 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11207 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11208
ed571ccb
SM
112092012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * minibuffer.el (completion-file-name-table): Complete user names.
11212
39773899
LL
112132012-04-20 Leo Liu <sdl.web@gmail.com>
11214
11215 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11216 and pcase-let*.
11217
de6ff46d
CY
112182012-04-20 Chong Yidong <cyd@gnu.org>
11219
11220 * server.el (server-execute): Respect initial-buffer-choice if it
11221 is a string and there are no files to open (Bug#2825).
11222 (server-create-window-system-frame, server-create-tty-frame):
11223 Don't switch buffers here.
2d0e8e61
CY
11224 (server-process-filter): Only try to open a window system frame if
11225 compiled with graphical support (Bug#8314).
de6ff46d 11226
54071013
DN
112272012-04-20 Dan Nicolaescu <dann@gnu.org>
11228
11229 * battery.el (battery-echo-area-format): Display remaining time
11230 for sysfs backend too (Bug#11269).
11231 (battery-linux-sysfs): Fix conditional for the charge.
11232
f30d612a
CY
112332012-04-20 Chong Yidong <cyd@gnu.org>
11234
c07a4c0b 11235 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11236 (gdb-inferior-io--init-proc): New function.
11237 (gdb-init-1): Use it.
11238 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11239 responsible for allocating a new pty and hooking it to gdb when
11240 the old pty gets an EIO due to process exit.
11241 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11242 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11243 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11244
2116e93c
EZ
112452012-04-20 Eli Zaretskii <eliz@gnu.org>
11246
11247 * window.el (window-min-size, window-sizable, window-min-delta)
11248 (window-max-delta, window--resizable, window-resizable)
11249 (window-total-size, window-full-height-p, window-full-width-p)
11250 (window-in-direction, window--resize-mini-window, window-resize)
11251 (window--resize-child-windows-normal)
11252 (window--resize-child-windows, window--resize-siblings)
11253 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11254 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11255
c07a4c0b 112562012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11257
ef24141c
SM
11258 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11259 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11260 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11261 pty process (Bug#11273).
11262 (gdb-update): New arg to suppress talking to the gdb process.
11263 (gdb-done-or-error): Use it.
11264 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11265 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11266 sentinel not being called.
11267
11268 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11269
d02766ab
CY
11270 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11271
c07a4c0b 112722012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11273
11274 * net/network-stream.el (open-network-stream): Doc fix.
11275
c07a4c0b 112762012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11277
11278 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11279
c07a4c0b 112802012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11281
11282 Ensure searching for keywords is case sensitive.
11283
11284 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11285 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11286 (c-defun-name, c-mark-function, c-cpp-define-name)
11287 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11288 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11289
ef24141c
SM
11290 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11291 Bind case-fold-search to nil.
f0f6bc35 11292
c07a4c0b 112932012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11294
11295 * mail/sendmail.el (mail-bury): Call return action with the right
11296 Rmail buffer (Bug#11242).
11297
9a864fa2
CY
11298 * server.el (server-process-filter): Handle corner case where both
11299 tty and nowait options are present (Bug#11102).
11300
539aa513
EZ
113012012-04-20 Eli Zaretskii <eliz@gnu.org>
11302
11303 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11304 (top level): Put into the executable the ident-style '$Id:' tag on
11305 windows-nt as well.
539aa513 11306
cfc7d5da
SM
113072012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * electric.el (electric-indent-post-self-insert-function): Check that
11310 electric-indent-mode is enabled in current buffer.
11311
5b01685c
JB
113122012-04-19 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * imenu.el (imenu-progress-message): Restore; it is "used" in
11315 erc/erc-imenu.el and net/snmp-mode.el.
11316
4d6769e1
JB
113172012-04-19 Juanma Barranquero <lekktu@gmail.com>
11318
11319 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11320 (mouse-avoidance-nudge-mouse): Remove unused binding.
11321
11322 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11323
11324 * descr-text.el (describe-char):
11325 * progmodes/python.el (python-describe-symbol):
11326 Don't call `toggle-read-only', set `buffer-read-only'.
11327
11328 * imenu.el (imenu-default-goto-function): Mark unused args.
11329 (imenu-progress-message): Remove obsolete macro; all callers changed.
11330
11331 * subr.el (keymap-canonicalize): Remove unused binding.
11332 (read-passwd): Mark unused arg.
11333
11334 * tutorial.el (tutorial--display-changes): Remove unused binding.
11335 (tutorial--save-tutorial-to): Remove unused variable.
11336
11337 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11338 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11339 (package-generate-autoloads, package-menu--generate)
11340 (package-menu--find-upgrades): Remove unused bindings.
11341
11342 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11343 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11344 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11345 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11346 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11347 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11348 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11349 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11350 (cua-delete-char-rectangle): Mark unused args.
11351 (cua-align-rectangle): Remove unused binding.
11352
11353 * mail/rmail.el (compilation--message->loc)
11354 (epa--find-coding-system-for-mime-charset): Declare.
11355
11356 * net/dbus.el (dbus-register-service): Declare.
11357 (dbus-name-owner-changed-handler): Remove unused binding.
11358
11359 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11360 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11361 (nxml-scan-backward-within): Mark unused arg.
11362 (nxml-dynamic-markup-word): Remove unused binding.
11363
11364 * mouse.el (mouse-menu-major-mode-map):
11365 * emacs-lisp/authors.el (authors-scan-change-log)
11366 (authors-add-to-author-list):
11367 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11368 * emacs-lisp/smie.el (smie-auto-fill):
11369 * mail/sendmail.el (mail-bury):
11370 * mail/unrmail.el (unrmail):
11371 * net/tls.el (open-tls-stream):
11372 * textmodes/picture.el (picture-mouse-set-point):
11373 Remove unused bindings.
11374
8c8fc5df
MA
113752012-04-19 Michael Albinus <michael.albinus@gmx.de>
11376
11377 * net/tramp.el (tramp-action-password): Let-bind
11378 `enable-recursive-minibuffers' to t.
11379
a77b0ac9
SS
113802012-04-18 Sam Steingold <sds@gnu.org>
11381
11382 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11383 instead of 'string to accommodate values like [f11].
11384 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11385 * progmodes/gdb-mi.el: Likewise.
11386
12a106a9
LL
113872012-04-18 Leo Liu <sdl.web@gmail.com>
11388
11389 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11390 current buffer.
11391 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11392 LOCAL is nil.
11393
bc6494ef
CY
113942012-04-18 Chong Yidong <cyd@gnu.org>
11395
11396 * simple.el (line-move): Use forward-line if in batch mode
11397 (Bug#11053).
11398
c09c46b2
CS
113992012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11400
11401 * files.el (after-find-file): Do not try to add a final newline if
11402 the buffer is read-only (Bug#11156).
11403
5f6530ea
RS
114042012-04-17 Richard Stallman <rms@gnu.org>
11405
11406 * mail/rmail.el (rmail-start-mail):
11407 Pass (rmail-mail-return...) for the return-action.
11408 Pass (rmail-yank-current-message...) for the yank-action.
11409 (rmail-yank-current-message): New function.
11410 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11411 (rmail-reply): Likewise.
11412 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11413
11414 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11415 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11416 buffer, not newbuf.
11417
197b6f3c
JB
114182012-04-17 Juanma Barranquero <lekktu@gmail.com>
11419
11420 * server.el (server-ensure-safe-dir): Simplify.
11421
2311d8e5 114222012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11423
2311d8e5
GM
11424 * emacs-lisp/smie.el: Provide smarter auto-filling.
11425 (smie-auto-fill): New function.
11426 (smie-setup): Use it.
98fb480e 11427
2311d8e5
GM
11428 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11429
114302012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11431
11432 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11433 (comment-indent): Use it.
11434
2311d8e5 114352012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11436
11437 * ses.el: The overall change is to add cell renaming, that is
11438 setting fancy names for cell symbols other than name matching
11439 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11440 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11441 (ses-create-cell-variable): New defun.
2311d8e5 11442 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11443 (ses-relocate-formula): Relocate formulas only for cells the
11444 symbols of which are not renamed, i.e. symbols whose names do not
11445 match regexp "\\`[A-Z]+[0-9]+\\'".
11446 (ses-relocate-all): Relocate values only for cells the symbols of
11447 which are not renamed.
11448 (ses-load): Create cells variables as the (ses-cell ...) are read,
11449 in order to check row col consistency with cell symbol name only
11450 for cells that are not renamed.
11451 (ses-replace-name-in-formula): New defun.
11452 (ses-rename-cell): New defun.
4bdf2ad2 11453
fc72b15c
PO
114542012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11455
11456 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11457 New option (bug#11118).
11458 (perl-calculate-indent): Respect it.
11459
12e10e61
GM
114602012-04-17 Glenn Morris <rgm@gnu.org>
11461
11462 * dired-aux.el (dired-mark-read-string): Doc fix.
11463
30009afd
DA
114642012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11465
11466 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11467 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11468
41f03f4d
GM
114692012-04-17 Glenn Morris <rgm@gnu.org>
11470
11471 * mouse.el (mouse-drag-track):
11472 * speedbar.el (speedbar-frame-mode):
11473 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11474
f45f90f3
LL
114752012-04-16 Leo Liu <sdl.web@gmail.com>
11476
11477 * progmodes/python.el: Trivial cleanup.
11478
94ee8db5
GM
114792012-04-16 Glenn Morris <rgm@gnu.org>
11480
121b8917
GM
11481 * vc/vc.el (vc-string-prefix-p):
11482 * vc/pcvs-util.el (cvs-string-prefix-p):
11483 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11484 * mpc.el (mpc-string-prefix-p):
11485 Make all of these into obsolete aliases for string-prefix-p.
11486 Update callers.
11487 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11488
1197ecfa
GM
11489 * textmodes/two-column.el: Move custom options to the start.
11490 (frame-width): Remove compat definition.
11491 (2C-associate-buffer, 2C-dissociate):
11492 Use with-current-buffer rather than save-excursion.
11493 (2C-dissociate): Force a mode-line update.
11494 (2C-autoscroll): Use ignore-errors.
11495
099e7202
GM
11496 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11497 Autoload trivia.
11498
bf350d6a
GM
11499 * emacs-lisp/cl-extra.el (*random-state*):
11500 Remove unnecessary declaration.
11501
0e829eab
GM
11502 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11503
e3ad7552
GM
11504 * play/cookie1.el (cookie-snarf):
11505 Give an explicit error if input file cannot be read.
11506
68892d27
GM
11507 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11508
20f0c46d
GM
11509 * progmodes/perl-mode.el (c-macro-expand):
11510 Remove unnecessary autoload (it is in loaddefs.el).
11511
5a0978ce
GM
11512 * textmodes/picture.el (picture-desired-column)
11513 (picture-update-desired-column): Convert comments to doc-strings.
11514 (picture-substitute): Remove function.
11515 (picture-mode-map): Initialize in the defvar.
11516
6b955486
GM
11517 * woman.el: Remove eval-after-load for tar-mode.
11518 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11519 (woman-tar-extract-file): Autoload it.
11520
94ee8db5
GM
11521 * frame.el (automatic-hscrolling): Make this alias obsolete.
11522
177eca34
AM
115232012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11524
090bd7cb 11525 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11526 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11527 (ispell-dictionary-base-alist): Revert to original XEmacs
11528 friendly version for default. [:alpha:] will be added in
090bd7cb 11529 `ispell-set-spellchecker-params' if needed.
177eca34 11530
c505aaeb
CY
115312012-04-16 Chong Yidong <cyd@gnu.org>
11532
b19dd9d1 11533 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11534 (imagemagick-register-types): Use it.
11535 (imagemagick-types-inhibit): Add :set function. Allow new value
11536 of t to inhibit all types.
11537
11538 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11539 so we can preload it.
11540
11541 * loadup.el (fboundp): Preload regexp-opt, needed by
11542 imagemagick-register-types.
11543
60efac0f
CY
115442012-04-15 Chong Yidong <cyd@gnu.org>
11545
11546 * frame.el (scrolling): Remove nearly unused customization group.
11547
11548 * scroll-all.el (scroll-all-mode): Move to windows group.
11549
5dd1713e
CY
115502012-04-15 Chong Yidong <cyd@gnu.org>
11551
11552 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11553
e6fd457e
CY
115542012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11557 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11558
e153c136
GM
115592012-04-15 Glenn Morris <rgm@gnu.org>
11560
11561 * simple.el (process-file-side-effects): Doc fix.
11562
e6fd457e 115632012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11564
11565 * international/mule-cmds.el (set-language-environment): Doc fix.
11566
3603c3b1
JB
115672012-04-14 Juanma Barranquero <lekktu@gmail.com>
11568
11569 * server.el (server-auth-key, server-generate-key): Doc fixes.
11570 (server-get-auth-key): Doc fix. Use `string-match-p'.
11571 (server-start): Reflow docstring.
11572
e6de100c
LI
115732012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11574
11575 * server.el (server-generate-key): `called-interactively-p'
11576 requires a parameter.
11577
29734c21
MN
115782012-04-14 Michal Nazarewicz <mina86@mina86.com>
11579
11580 * server.el (server-auth-key): New variable.
75f1671a 11581 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11582 (server-start): Use the new variable and functions to allow
11583 setting a permanent server key (bug#9423).
11584
d65c9521
LL
115852012-04-14 Leo Liu <sdl.web@gmail.com>
11586
11587 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11588
5ae255c7
PE
115892012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11590
11591 Spelling fixes.
11592 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11593 Emacs uses American spelling.
11594
d5e6342e
JB
115952012-04-14 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11598 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11599 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11600 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11601
ab036cd7
SM
116022012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * progmodes/which-func.el (which-func-modes): Change default.
11605
35dc09a1 116062012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11607
11608 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11609 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11610
35dc09a1 116112012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11612
11613 * custom.el (custom-theme-set-variables): Doc fix.
11614
35dc09a1 116152012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11616
11617 * international/mule.el (set-auto-coding-for-load): Doc fix.
11618
35dc09a1 116192012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11620
35dc09a1
GM
11621 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11622 imenu work again for Objective C Mode. Correct the *-index values,
11623 these having been disturbed by a previous change in 2011-08.
57f845ee 11624
0de3da9f
AM
11625 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11626 Correct two search limits.
11627
35dc09a1 116282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11629
11630 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11631
35dc09a1 116322012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11633
11634 * international/characters.el: Fix sorting.
11635
35dc09a1 116362012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11637
11638 * international/characters.el: Add more missing Latin case pairs.
11639
35dc09a1 116402012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11641
11642 * files.el (dir-locals-set-class-variables): Doc fix.
11643
35dc09a1 116442012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11645
3f1b5bf8
EZ
11646 * international/characters.el: Add set-case-syntax-pair call for
11647 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11648 counterpart. (Bug#11209)
11649
9f847f41
EZ
11650 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11651
35dc09a1 116522012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11653
11654 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11655
35dc09a1 116562012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11657
35dc09a1
GM
11658 * textmodes/ispell.el (ispell-dictionary-base-alist):
11659 Add data for Hebrew.
e2627d21 11660
35dc09a1 116612012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11662
35dc09a1
GM
11663 * net/rcirc.el (rcirc-cmd-quit):
11664 Revert 2012-03-18 change (Bug#11192).
5c14e333 11665
35dc09a1 116662012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11667
11668 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11669
35dc09a1 116702012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11671
4517fe3a
SM
11672 * minibuffer.el (completion-in-region-mode-map):
11673 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11674
b472a594
VD
116752012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11676
11677 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11678
09b95ce3
MY
116792012-04-13 Masatake YAMATO <yamato@redhat.com>
11680
11681 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11682 to allow `C-M-f' and `C-M-b' to move to the nearest path
11683 separator (bug#9511).
11684
4b63a9ca
LI
116852012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11686
11687 * avoid.el: Require cl when compiling. And also move the
11688 `provide' to the end.
11689
7b55b8bf
TV
116902012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11691
11692 * avoid.el (mouse-avoidance-banish-position): New variable.
11693 (mouse-avoidance-banish-destination): Use it (bug#10165).
11694
adedaa1f
LL
116952012-04-13 Leo Liu <sdl.web@gmail.com>
11696
11697 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11698
70e74021
KB
116992012-04-13 Ken Brown <kbrown@cornell.edu>
11700
11701 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11702 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11703 (browse-url-filename-alist): For the same reason, don't modify
11704 file:// URLs on Cygwin.
11705
e75e89ba
SM
117062012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11709 the region on shift if the binding is already shifted (bug#11221).
11710
82f289a4
GM
117112012-04-12 Glenn Morris <rgm@gnu.org>
11712
11713 * mail/mailpost.el: Move to obsolete/.
11714
d333dc4c
DA
117152012-04-12 Drew Adams <drew.adams@oracle.com>
11716
11717 * imenu.el (imenu--generic-function): Ignore invisible definitions
11718 (bug#10123).
11719
0d15b5ba
VD
117202012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11721
11722 * hexl.el (hexl-bits): New variable.
11723 (hexl-options): Mention the variable in the doc string.
75f1671a 11724 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11725 (hexl-mode): Mention the new variable.
75f1671a
JB
11726 (hexl-mode, hexl-current-address, hexl-current-address):
11727 Use the displen.
0d15b5ba
VD
11728 (hexl-ascii-start-column): New function.
11729 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11730 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11731
64a440db
AM
117322012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11733
11734 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11735 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11736 the encoding, as expected by hunspell.
11737
6decb6c2
SM
117382012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * battery.el (battery--linux-sysfs-regexp): New const.
11741 (battery-status-function): Use it. Remove yeeloong special case.
11742 (battery-yeeloong-sysfs): Remove.
11743 (battery-echo-area-format): Remove yeeloong special case.
11744
088be6fb
SM
117452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11746
6622e416
SM
11747 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11748 Reported by Noah Friedman.
11749
088be6fb
SM
11750 * subr.el (read-passwd): Use read-string.
11751
b49f886e
LMI
117522012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11753
11754 * vcursor.el (vcursor-move): Increase the priority of the overlay
11755 (bug#9663).
11756
a63067fc
DD
117572012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11758
11759 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11760 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11761
ac3cf14a
WS
117622012-04-11 William Stevenson <yhvh2000@gmail.com>
11763
11764 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11765 define-minor-mode (bug#10760).
11766
c4fc691b 117672012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11768
4d6769e1 11769 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11770 that directories matching `grep-find-ignored-files' won't be
11771 pruned (bug#10351).
11772
af23e2e5
CY
117732012-04-11 Chong Yidong <cyd@gnu.org>
11774
11775 * startup.el (command-line): Remove support for long-obsolete
11776 variable font-lock-face-attributes.
11777
ab7ce8c1
GM
117782012-04-11 Glenn Morris <rgm@gnu.org>
11779
11780 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11781
de8c03dc
SM
117822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * window.el (window--state-get-1): Obey window-point-insertion-type.
11785
050cc68b
LB
117862012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11787
11788 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11789 to previous function when point is on the first character of a
75f1671a 11790 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11791
a38c310c
GM
117922012-04-11 Glenn Morris <rgm@gnu.org>
11793
effed0c2
GM
11794 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11795 not just file-errors.
11796
a38c310c
GM
11797 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11798 (vc-bzr-sha1): Use internal sha1.
11799
0221e323
SM
118002012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11803
43956923
SG
118042012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11805
11806 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11807 that start in the middle of the line (bug#10496).
11808
6a8c9eaf
DN
118092012-04-10 Dan Nicolaescu <dann@gnu.org>
11810
11811 * battery.el (battery-linux-proc-acpi): Only one battery is
11812 discharged at a time, but that seems to confuse battery.el when
11813 computing `rate-type' for the battery not being discharged
11814 (bug#10332).
11815
1930bf5d
SM
118162012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11817
2a718f6f
SM
11818 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11819
599430d0
SM
11820 * international/quail.el: Use dolist and simplify.
11821 (quail-define-package, quail-update-keyboard-layout)
11822 (quail-define-rules): Use dolist.
11823 (quail-insert-kbd-layout, quail-get-translation): CSE.
11824
a2754b6c
SM
11825 * tmm.el: Use dolist, remove left over hook.
11826 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11827 Use dolist.
11828 (calendar-load-hook): Don't mess with it.
11829
1930bf5d
SM
11830 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11831 Use derived-mode-p. Run the diff asynchronously.
11832
9f67961c
LMI
118332012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11834
11835 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11836
2a8ce227
JB
118372012-04-10 Juanma Barranquero <lekktu@gmail.com>
11838
11839 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11840 (list-dynamic-libraries--loaded): New function.
11841 (list-dynamic-libraries--refresh): Use it.
11842
8f33b5f8
NW
118432012-04-10 Nathan Weizenbaum <nweiz@google.com>
11844
1930bf5d
SM
11845 * progmodes/python.el (python-fill-paragraph):
11846 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11847 disabled (bug#7018).
11848
b12f0439
L
118492012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11850
1930bf5d 11851 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11852 DOS/MS Windows for the Baltic languages. There are still plenty
11853 of texts written in this encoding/codepage (bug#6519).
b12f0439 11854
57c3bd01
GM
118552012-04-10 Glenn Morris <rgm@gnu.org>
11856
11857 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11858 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11859
6c3eab30
FA
118602012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11861
1930bf5d 11862 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11863 next-line "n" and previous-line "p" in order to make recentf more
11864 consistent with ibuffer, dired or org-mode (bug#9387).
11865
24d78a88
LMI
118662012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11867
bc72b5d9
LMI
11868 * image.el (put-image): Return the overlay created instead of the
11869 optional input string (bug#7834). Note that this may break code
11870 that is (for some reason or other) depending on `put-image'
11871 returning the string.
11872
bd2dba5a
LMI
11873 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11874
74beb59f
LMI
11875 * simple.el (zap-to-char): Allow zapping using input methods
11876 (bug#1580).
11877
24d78a88
LMI
11878 * textmodes/fill.el (fill-region): Leave point and mark where they
11879 were before filling (bug#5399).
11880
263f20cd
GM
118812012-04-09 Glenn Morris <rgm@gnu.org>
11882
11883 * version.el (emacs-bzr-get-version):
11884 Handle lightweight checkouts of local branches.
11885
58d1f797
AS
118862012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11887
263f20cd 11888 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11889
b4d3bc10
CY
118902012-04-09 Chong Yidong <cyd@gnu.org>
11891
11892 * custom.el (custom-variable-p): Return nil for non-symbol
11893 arguments instead of signaling an error.
11894 (user-variable-p): Obsolete alias for custom-variable-p.
11895
11896 * apropos.el (apropos-variable):
11897 * files-x.el (read-file-local-variable):
11898 * simple.el (set-variable):
11899 * woman.el (woman-mini-help):
11900 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11901
fd06db5d
GM
119022012-04-09 Glenn Morris <rgm@gnu.org>
11903
e5fcdb5e
GM
11904 * startup.el (normal-top-level): Don't look for leim-list.el
11905 in places where it will not be found. (Bug#910)
11906
fd06db5d
GM
11907 * international/mule-cmds.el (set-default-coding-systems):
11908 * files.el (normal-mode):
11909 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11910 This function was removed with ucs-tables.el in 2008.
11911
b39bb7e1
EZ
119122012-04-08 Eli Zaretskii <eliz@gnu.org>
11913
11914 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11915 ispell-encoding8-command to "-i", without a trailing space.
11916 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11917 separate command-line arguments, to specify the encoding, since
11918 that's how hunspell expects it.
11919
5c5b8e23
GM
119202012-04-08 Glenn Morris <rgm@gnu.org>
11921
11922 * loadup.el: Load bindings before cus-start.
11923 This reduces somewhat the number of "rogue" settings in emacs -Q.
11924
a1ed8b05
GM
119252012-04-07 Glenn Morris <rgm@gnu.org>
11926
11927 * version.el (emacs-bzr-get-version): New function.
dfae128a 11928 (emacs-bzr-version): New variable.
a1ed8b05
GM
11929 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11930 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11931
b142f158
EZ
119322012-04-07 Eli Zaretskii <eliz@gnu.org>
11933
dfae128a
GM
11934 * international/uni-bidi.el, international/uni-category.el:
11935 * international/uni-combining.el, international/uni-decimal.el:
11936 * international/uni-decomposition.el, international/uni-digit.el:
11937 * international/uni-lowercase.el, international/uni-mirrored.el:
11938 * international/uni-name.el, international/uni-numeric.el:
11939 * international/uni-titlecase.el, international/uni-uppercase.el:
11940 Update for Unicode 6.1.
b142f158 11941
9078ead6
EZ
119422012-04-07 Eli Zaretskii <eliz@gnu.org>
11943
11944 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11945
f23d2c7d
LMI
119462012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11947
11948 * window.el (shrink-window): Mention the `window-min-height'
11949 variable in the doc string.
11950
0a0a3573
BG
119512012-04-05 Bastien Guerry <bzg@altern.org>
11952
11953 * color.el (color-lighten-name): Fix typo.
11954
e5248ac9
SM
119552012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * server.el (server--on-display-p): New function.
11958 (server--on-display-p): Use it.
11959
b4243e22
GV
119602012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11961
11962 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11963 (bug#11145).
11964
305d9f44
SM
119652012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * comint.el (comint--common-quoted-suffix): Check string boundary
11968 before comparing (bug#11158).
11969 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11970
3d439cd1
CY
119712012-04-04 Chong Yidong <cyd@gnu.org>
11972
321cc491
CY
11973 * minibuffer.el (completion-extra-properties): Doc fix.
11974
3d439cd1
CY
11975 * subr.el (delayed-warnings-hook): Doc fix.
11976
2d562c0f
DU
119772012-04-04 Daiki Ueno <ueno@unixuser.org>
11978
11979 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11980 selection (Bug#11159).
11981 (epa-insert-keys): Inform that the default public key will be
11982 exported if no key is selected.
11983
4443f204
RS
119842012-04-04 Richard Stallman <rms@gnu.org>
11985
11986 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11987
529c06b6
CY
119882012-04-03 Chong Yidong <cyd@gnu.org>
11989
11990 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11991 mail-insert-file, not its obsolete alias mail-attach-file.
11992
66b907dc
MA
119932012-04-03 Michael Albinus <michael.albinus@gmx.de>
11994
11995 * notifications.el (notifications-notify): Fix docstring.
11996
c0ea195d
GM
119972012-04-02 Glenn Morris <rgm@gnu.org>
11998
11999 * emacs-lisp/authors.el (authors-aliases): Another addition.
12000
5ca64e00
MA
120012012-04-02 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12004 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12005 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12006
42ee526b
CY
120072012-04-01 Chong Yidong <cyd@gnu.org>
12008
12009 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12010 Handle root directory properly.
12011 (copy-directory): Caller changed.
12012
12013 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12014 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12015
0b021094
GM
120162012-03-31 Glenn Morris <rgm@gnu.org>
12017
40f86458
GM
12018 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12019
7019c177
GM
12020 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12021
a1daddd6
GM
12022 * calendar/calendar.el (calendar-window-list)
12023 (calendar-hide-window): Restore. (Bug#11140)
12024 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12025
0b021094
GM
12026 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12027
40311efc
TV
120282012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12029
12030 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12031 Check if file is a symlink (Bug#10489).
12032
12033 * files.el (copy-directory): Likewise.
12034
5319014e
CY
120352012-03-30 Chong Yidong <cyd@gnu.org>
12036
12037 * image.el (imagemagick-types-inhibit)
12038 (imagemagick-register-types): Doc fix.
12039
935d1290
AM
120402012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12041
090bd7cb 12042 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12043 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12044 and treats ~word as ordinary words in pipe mode.
935d1290 12045
61c6e8fd
GM
120462012-03-30 Glenn Morris <rgm@gnu.org>
12047
12048 * tutorial.el (help-with-tutorial): Ensure local variables don't
12049 happen to make the buffer read-only. (Bug#11127)
12050
81fdff00
SM
120512012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12054 (perl-calculate-indent): Return `noindent' in strings.
12055
6e7a6ec0
SS
120562012-03-28 Sam Steingold <sds@gnu.org>
12057
12058 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12059 instead of the broken adhockery which does not prevent calendar
12060 buffers from being displayed at random after exit.
12061 (calendar-window-list, calendar-hide-window): Remove the broken
12062 adhockery.
12063
fee88ca0
GM
120642012-03-28 Glenn Morris <rgm@gnu.org>
12065
12066 * replace.el (query-replace-map): Doc fix.
12067
38de3354
AS
120682012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12069
12070 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12071 contents. (Bug#11109)
12072
b973155e
SM
120732012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12076 (bug#11077).
12077 (avl-tree--check, avl-tree--check-node): New funs.
12078
dcb6e7b3
MR
120792012-03-27 Martin Rudalics <rudalics@gmx.at>
12080
12081 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12082 (switch-to-prev-buffer, switch-to-next-buffer):
12083 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12084 showing a buffer already is done on the same frame.
12085
b4fa35fa
GM
120862012-03-27 Glenn Morris <rgm@gnu.org>
12087
12088 * startup.el (mail-host-address): Doc fix.
12089
f9210e18
SM
120902012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12093 than 197 variables.
12094
c0bf7753
AF
120952012-03-26 Ami Fischman <ami@fischman.org>
12096
12097 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12098
33da7b16
GM
120992012-03-26 Glenn Morris <rgm@gnu.org>
12100
02243d9d
GM
12101 * files.el (save-buffers-kill-emacs): Doc fix.
12102
33da7b16
GM
12103 * startup.el (normal-top-level, command-line, command-line-1):
12104 Give them doc strings.
12105
e5a69fd0
EZ
121062012-03-25 Eli Zaretskii <eliz@gnu.org>
12107
12108 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12109 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12110
9a69676a
CY
121112012-03-25 Chong Yidong <cyd@gnu.org>
12112
4125cb8b
CY
12113 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12114 theme if it was previously enabled before (Bug#11031).
12115
dd470960
CY
12116 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12117 spec with custom-face-get-current-spec if its :shown-value is not
12118 determined yet (Bug#9337).
4125cb8b 12119 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12120
9a69676a
CY
12121 * button.el (button-at): Minor addition to docstring.
12122
6e7e90fa
SL
121232012-03-24 Simon Leinen <simon.leinen@gmail.com>
12124
12125 * vc/vc.el (vc-merge): Fix a prompt.
12126
f06e2758
CY
121272012-03-24 Chong Yidong <cyd@gnu.org>
12128
12129 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12130 point (Bug#9623).
12131
6e7e90fa
SL
12132 * button.el (button-at): Minor addition to docstring.
12133
b9d0879b
SM
121342012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * newcomment.el (comment-choose-indent): No space after BOL.
12137
e71cebb3
SS
121382012-03-22 Sam Steingold <sds@gnu.org>
12139
12140 * window.el (switch-to-prev-buffer): Revert last patch because the
12141 bug turned out to be an advertised feature (Elisp manual 28.14).
12142
335aff35
GM
121432012-03-22 Glenn Morris <rgm@gnu.org>
12144
12145 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12146 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12147
c676576a
LMI
121482012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12149
12150 * net/network-stream.el (network-stream-open-starttls): Make error
12151 message under Windows be less misleading.
12152
126f3d39
LW
121532012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12154
12155 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12156 understands (bug#9942).
12157
64fee311
CY
121582012-03-22 Chong Yidong <cyd@gnu.org>
12159
12160 * simple.el (end-of-visible-line): Handle return value of
12161 next-single-property-change properly (Bug#9371).
12162
a640d29a
KH
121632012-03-22 Kenichi Handa <handa@m17n.org>
12164
12165 * international/quail.el (quail-insert-kbd-layout): Fix previous
12166 change. To avoid unwanted bidi reordering, use
12167 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12168
39675016
DG
121692012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12170
12171 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12172 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12173 (ruby-beginning-of-indent): Be more careful with the difference
12174 between word-boundary and symbol boundary.
12175 (ruby-mode-syntax-table): Make : a symbol constituent.
12176
0a6934fc 121772012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12178
3d008e4f
SM
12179 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12180
0a6934fc
SM
121812012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12182
af67c9d7
SM
12183 * progmodes/etags.el (tags-completion-at-point-function):
12184 Improve last fix.
12185
1acad97c
SM
12186 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12187
e298b5da
SS
121882012-03-21 Sam Steingold <sds@gnu.org>
12189
12190 * progmodes/etags.el (tags-completion-at-point-function):
12191 Avoid the error when point is inside the pattern.
12192
91d82a70
JY
121932012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12194
12195 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12196 line (Bug#10855).
12197
69188b79
CY
121982012-03-21 Drew Adams <drew.adams@oracle.com>
12199
12200 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12201
99fc91fe
AK
122022012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12203
12204 * ido.el (ido-set-current-directory, ido-read-internal)
12205 (ido-choose-completion-string, ido-completion-help): Handle nil
12206 value of ido-completion-buffer (Bug#11008).
12207
087bbb4c
SS
122082012-03-21 Sam Steingold <sds@gnu.org>
12209
12210 * window.el (switch-to-prev-buffer): Do not switch to a visible
12211 window previous buffer, just like with the frame previous buffers.
12212
fb5b8aca
CY
122132012-03-21 Chong Yidong <cyd@gnu.org>
12214
12215 * faces.el (make-face, make-empty-face, copy-face):
12216 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12217 Doc fixes.
12218
dc9924b8
SM
122192012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12222 (widget-complete): Remove broken use of it.
12223
f0bcceb9
CY
122242012-03-20 Chong Yidong <cyd@gnu.org>
12225
dc9924b8
SM
12226 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12227 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12228 characters.
12229
ee52ebf3
TH
122302012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12231
12232 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12233 to draw rectangles, not squares. (Regression introduced by revno
12234 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12235
4c5779ab
CY
122362012-03-18 Chong Yidong <cyd@gnu.org>
12237
12238 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12239 it is not yet defined (for temacs).
12240
15360934
LL
122412012-03-18 Leo Liu <sdl.web@gmail.com>
12242
735135f9
PE
12243 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12244 prefix.
15360934 12245
d9a8eb66
EZ
122462012-03-17 Eli Zaretskii <eliz@gnu.org>
12247
12248 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12249 (ispell-choices-win-default-height, ispell-silently-savep)
12250 (ispell-dictionary-alist, ispell-encoding8-command)
12251 (ispell-check-version, ispell-aspell-find-dictionary)
12252 (ispell-valid-dictionary-list, ispell-words-keyword)
12253 (ispell-get-word, ispell-internal-change-dictionary)
12254 (ispell-region, ispell-skip-region-list)
12255 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12256 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12257 (ispell-message-text-end, ispell-message)
12258 (ispell-buffer-local-parsing): Doc fix.
12259
f02ff80d
J
122602012-03-13 Jambunathan K <kjambunathan@gmail.com>
12261
12262 * htmlfontify.el: Add support for code block fontification for ODT
12263 export (Bug #9914).
12264 (hfy-optimisations): Define new option
12265 `body-text-only'
12266 (hfy-fontify-buffer): Honor above setting.
12267 (hfy-begin-span, hfy-end-span): New routines factored out form
12268 `hfy-fontify-buffer'.
12269 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12270 that permit insertion of custom tags.
12271 (hfy-fontify-buffer): Use above handlers.
12272 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12273 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12274 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12275 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12276 bind a special variable `hfy-user-sheet-assoc'.
12277 (htmlfontify-string): New defun.
12278 (hfy-compile-face-map): Make sure that the last char in the
12279 buffer is correctly fontified.
12280 (hfy-face-resolve-face): Whitespace only change.
12281
9ac7a13f
EZ
122822012-03-17 Eli Zaretskii <eliz@gnu.org>
12283
12284 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12285 message more clear.
12286
e2b5bdd7
LL
122872012-03-16 Leo Liu <sdl.web@gmail.com>
12288
12289 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12290
2e492df3
AM
122912012-03-16 Alan Mackenzie <acm@muc.de>
12292
677d5c92 12293 Further optimize the handling of large macros.
2e492df3
AM
12294
12295 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12296 limit to a call of `c-literal-limits'.
12297 (c-determine-+ve-limit): New function.
dc9924b8
SM
12298 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12299 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12300 In CASE 5B, restrict a search limit to 500.
12301 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12302
12303 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12304 Restrict macro bounds to +-500 from after-change's BEG END.
12305
50e94f0c
LL
123062012-03-16 Leo Liu <sdl.web@gmail.com>
12307
12308 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12309
6f09f6ed
AH
123102012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12311
12312 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12313 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12314
c7e73d51
GM
123152012-03-16 Glenn Morris <rgm@gnu.org>
12316
da986230
GM
12317 * view.el (view-buffer, view-buffer-other-window)
12318 (view-buffer-other-frame): Doc fixes re special mode-class.
12319
0835f01e
GM
12320 * subr.el (eval-after-load): If named feature is provided not from
12321 a file, run after-load forms. (Bug#10946)
12322
c7e73d51
GM
12323 * calendar/calendar.el (calendar-insert-at-column):
12324 Handle non-unit-width characters a bit better. (Bug#10978)
12325
3f2eafd1
CY
123262012-03-15 Chong Yidong <cyd@gnu.org>
12327
12328 * emacs-lisp/ring.el (ring-extend): New function.
12329 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12330
12331 * comint.el (comint-read-input-ring)
12332 (comint-add-to-input-history): Grow comint-input-ring lazily.
12333
103af3fe
SM
123342012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12335
663b1677
SM
12336 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12337 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12338
103af3fe
SM
12339 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12340 (imenu-add-to-menubar): Don't add a redundant index.
12341 (imenu-update-menubar): Handle a dynamically composed keymap.
12342
899cb7cb
KY
123432012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12344
12345 * mail/sendmail.el (mail-encode-header):
12346 Bind rfc2047-encode-encoded-words to nil.
12347
3809f91d
GM
123482012-03-13 Glenn Morris <rgm@gnu.org>
12349
12350 * calendar/calendar.el (calendar-string-spread):
12351 Handle non-unit-width characters a bit better. (Bug#10978)
12352
9e345a01
LL
123532012-03-13 Leo Liu <sdl.web@gmail.com>
12354
12355 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12356 directory and file as argument (Bug#10822).
12357
4a07df36
KS
123582012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12359
12360 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12361 For dynamically generated code, follow $PC.
12362 (gdb-disassembly-handler-custom): Handle no function name case.
12363
4aaa9356
TL
123642012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12365
12366 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12367 * emulation/ws-mode.el (ws-query-replace):
12368 * sort.el (sort-regexp-fields):
12369 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12370
225979da
SM
123712012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * dabbrev.el: Fix cycle completion order (bug#10963).
12374 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12375 (dabbrev-completion): Don't use an obarray; provide
12376 a cycle-sort-function.
12377
e2f1fdab
LL
123782012-03-12 Leo Liu <sdl.web@gmail.com>
12379
dc9924b8 12380 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12381 (kill-do-not-save-duplicates): Doc fix.
12382
b19490ed
SM
123832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * dabbrev.el: Fix cycle completion (bug#10963).
12386 Use lexical binding and wrap to 80 columns.
12387 (dabbrev-completion): Delay computing the list of completions.
12388
4b05d722
KH
123892012-03-12 Kenichi Handa <handa@m17n.org>
12390
12391 * international/quail.el (quail-insert-kbd-layout): Surround each
12392 row by LRO and PDF instead of inserting many LRMs. Pad the left
12393 and right of each non-spacing marks. Insert invisible space
12394 between lower and upper characters to prevent composition.
12395
dbbc2e69
SM
123962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12397
12398 * minibuffer.el (minibuffer-complete): Don't get confused when the
12399 function is run twice via different commands (bug#10958).
12400 (complete-with-action): Fix docstring.
12401
292112ed
CY
124022012-03-12 Chong Yidong <cyd@gnu.org>
12403
5d1ac394
CY
12404 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12405 (nxml-completion-at-point-function): New function.
12406 (nxml-mode): Use it.
12407 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12408
292112ed
CY
12409 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12410 Load generated autoloads file before byte compiling (Bug#10970).
12411 (package--make-autoloads-and-compile): New helper fun.
12412
4098f8f7
CS
124132012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12414
12415 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12416
8f754691
MA
124172012-03-11 Michael Albinus <michael.albinus@gmx.de>
12418
12419 * autorevert.el (auto-revert-handler): Ensure, that
12420 file-readable-p is applied only for local files or in
12421 auto-revert-tail-mode.
12422
e29ab36b
AS
124232012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12424
dbbc2e69
SM
12425 * server.el (server-eval-at): Handle non-tcp connections.
12426 Decode result string.
ad0bf5b6 12427
e29ab36b
AS
12428 * server.el (server-msg-size): New constant.
12429 (server-reply-print): New function.
12430 (server-eval-and-print): Use it.
12431 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12432 Handle -print-nonl.
12433
de5939ba
CS
124342012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12435
12436 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12437 (Bug#10987).
12438
0c93eabf
CY
124392012-03-11 Chong Yidong <cyd@gnu.org>
12440
397a688f
CY
12441 * simple.el (goto-line): Doc fix (Bug#9938).
12442
2cc775f9
CY
12443 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12444
0c93eabf
CY
12445 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12446 when finished (Bug#10963).
12447
c491fa41
MR
124482012-03-11 Martin Rudalics <rudalics@gmx.at>
12449
12450 * window.el (split-window-below): Fix bug in case where
12451 split-window-keep-point is nil (Bug#10971).
12452
300e8fa5
JL
124532012-03-11 Juri Linkov <juri@jurta.org>
12454
12455 * replace.el (replace-highlight): Set isearch-word to nil
12456 unconditionally. (Bug#10887)
12457
dbf6c5a1
EZ
124582012-03-10 Eli Zaretskii <eliz@gnu.org>
12459
12460 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12461 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12462 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12463 (mairix-widget-create-query): Add usage information about mairix
12464 search forms: negating words, searching for substrings, etc.
12465
b9e501de
JP
124662012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12467
12468 * international/fontset.el (font-encoding-alist): Add an entry for
12469 ksx1001 (Bug#5667).
12470
92795c91
RS
124712012-03-10 Richard Stallman <rms@gnu.org>
12472
1694e6c1
RS
12473 * mail/sendmail.el (mail-encode-header):
12474 Set rfc2047-encode-encoded-words.
12475
607e8555
RS
12476 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12477
de3bc99a
RS
12478 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12479 view buffer means not swapped.
12480 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12481 (rmail-write-region-annotate): Error if real text has disappeared.
12482
92795c91
RS
12483 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12484
699bd04e
CY
124852012-03-10 Chong Yidong <cyd@gnu.org>
12486
12487 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12488 * emulation/cua-base.el (cua--init-keymaps):
12489 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12490
570a1714
MR
124912012-03-10 Martin Rudalics <rudalics@gmx.at>
12492
dbbc2e69
SM
12493 * speedbar.el (speedbar-unhighlight-one-tag-line):
12494 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12495
82dcf4e4
CY
124962012-03-10 Chong Yidong <cyd@gnu.org>
12497
7a2c7ca7
CY
12498 * minibuffer.el (completion-in-region, completion-help-at-point):
12499 Give the completion field overlay a high priority (Bug#6830).
12500
82dcf4e4
CY
12501 * dired.el (dired-goto-file): Recognize absolute file name
12502 listings (Bug#7126).
12503 (dired-goto-file-1): New helper function.
12504 (dired-toggle-read-only): Inhibit warnings.
12505
052e28ac
MA
125062012-03-09 Michael Albinus <michael.albinus@gmx.de>
12507
75f1671a 12508 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12509 there are no properties.
12510
95d5e396
LL
125112012-03-09 Leo Liu <sdl.web@gmail.com>
12512
12513 * savehist.el (savehist-printable): Stricter check for string
12514 value (Bug#10937).
12515
3f018d6d
EZ
125162012-03-09 Eli Zaretskii <eliz@gnu.org>
12517
dbbc2e69
SM
12518 * mail/smtpmail.el (smtpmail-send-it):
12519 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12520 valid mbox format.
12521
f7fd3d79
GM
125222012-03-09 Glenn Morris <rgm@gnu.org>
12523
12524 * files.el (dir-locals-find-file):
12525 Don't check result is regular, readable.
12526 (dir-locals-read-from-file): Demote errors.
12527
6ff6e72f
EZ
125282012-03-08 Eli Zaretskii <eliz@gnu.org>
12529
dbbc2e69
SM
12530 * international/quail.el (quail-insert-kbd-layout):
12531 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12532 layout cell, to prevent their reordering by bidi display engine.
12533 For details, see the discussion in
12534 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12535
9cec7834
AM
125362012-03-08 Alan Mackenzie <acm@muc.de>
12537
12538 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12539 the starting position; make it extend the marked region when
12540 invoked repeatedly - all under appropriate circumstances.
12541 Fixes bugs #5525, #10906.
12542
9a40b8d4
GM
125432012-03-08 Glenn Morris <rgm@gnu.org>
12544
12545 * files.el (locate-dominating-file, dir-locals-find-file):
12546 Undo 2012-03-06 change.
12547
7a08ed35
EZ
125482012-03-07 Eli Zaretskii <eliz@gnu.org>
12549
dbbc2e69
SM
12550 * international/quail.el (quail-help):
12551 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12552 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12553 for the reason.
12554
5aca4f71 125552012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12556
12557 Avoid superfluous registering of signals. (Bug#10807)
12558
12559 * notifications.el (notifications-on-action-object)
12560 (notifications-on-close-object): New defvars.
12561 (notifications-on-action-signal, notifications-on-closed-signal):
12562 Unregister the signal if not needed any longer.
12563 (notifications-notify): Register `notifications-action-signal' or
12564 `notifications-closed-signal', if :on-action or :on-close has been
12565 passed as argument.
12566
78e8b10a
CY
125672012-03-07 Chong Yidong <cyd@gnu.org>
12568
12569 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12570 non-X platforms.
12571
69481eb8
GM
125722012-03-06 Glenn Morris <rgm@gnu.org>
12573
12574 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12575 (x-disown-selection-internal, x-get-selection-internal):
12576 Doc fix (add arglist signatures). (Bug#10783)
12577
133b8e11
KS
125782012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12579
12580 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12581 Handle breakpoints with no "type".
12582
99a83064
GM
125832012-03-06 Glenn Morris <rgm@gnu.org>
12584
12585 * files.el (locate-dominating-file): Add optional predicate argument.
12586 (dir-locals-find-file): Make use of above change.
12587
17798e78
TTN
125882012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12589
12590 * info.el (Info-insert-dir): Also try "dir.gz".
12591
eb182446
GM
125922012-03-06 Glenn Morris <rgm@gnu.org>
12593
8f2114ee
GM
12594 * files.el (dir-locals-find-file):
12595 Ignore non-readable or non-regular files. (Bug#10928)
12596
eb182446
GM
12597 * files.el (locate-dominating-file): Doc fix.
12598
24679323
AS
125992012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12600
12601 * calendar/calendar.el (calendar-set-mode-line):
12602 `getenv' returns a string. (Bug#10951)
12603
01d972a9
LL
126042012-03-05 Leo Liu <sdl.web@gmail.com>
12605
109aa8a9
LL
12606 * simple.el (backward-delete-char-untabify): Constrain point to
12607 field (Bug#10939).
12608
01d972a9
LL
12609 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12610
10607bea
CY
126112012-03-05 Chong Yidong <cyd@gnu.org>
12612
12613 * simple.el (count-words): If called from Lisp, return the word
12614 count, for symmetry with `count-lines'. Arglist changed.
12615 (count-words--message): Args changed. Consolidate counting code
12616 from count-words and count-words-region.
12617 (count-words-region): Caller changed.
12618 (count-lines-region): Make it an obsolete alias.
12619
5dd11cfe
TH
126202012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12621
12622 * saveplace.el (save-place-to-alist)
12623 (save-place-ignore-files-regexp): Allow value nil to disable this
12624 feature.
12625
c349f4e6
CY
126262012-03-04 Chong Yidong <cyd@gnu.org>
12627
12628 * faces.el (face-spec-reset-face): For the default face, reset the
12629 attributes to default values (Bug#10748).
12630
e627be4c
LMI
126312012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12632
12633 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12634 previous patch: Check `message-send-mail-function', and not the
12635 default function (bug#10897).
12636
ebeabff4
MA
126372012-03-04 Michael Albinus <michael.albinus@gmx.de>
12638
a41a6cf4
MA
12639 * notifications.el (notifications-on-action-signal)
12640 (notifications-on-closed-signal): Check for unique service name of
12641 incoming event. Fix error in removing entry.
ebeabff4 12642 (top): Register for signals with wildcard service name.
a41a6cf4 12643 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12644
c1ca42b4
CY
126452012-03-04 Chong Yidong <cyd@gnu.org>
12646
dc9924b8 12647 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12648
ea16568d
GM
126492012-03-04 Glenn Morris <rgm@gnu.org>
12650
12651 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12652 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12653 (expand-abbrev, define-abbrev-table): Doc fixes.
12654
fbae4637
LMI
126552012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12656
12657 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12658 `message-default-send-mail-function' and not `send-mail-function'
12659 when doing the prompting for `sendmail-query-once' before sending
12660 in Message buffers (bug#10897).
12661
a1e7225c
LMI
12662 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12663 This is inconsistent with all the other stream functions, which leave
12664 the setting up to the higher levels (if so wanted) (bug#10931).
12665
56d093a9
AM
126662012-03-02 Alan Mackenzie <acm@muc.de>
12667
12668 Depessimize the handling of very large macros.
12669
12670 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12671 (c-macro-cache-syntactic): New variables to implement a one
12672 element macro cache.
12673 (c-invalidate-macro-cache): New function.
12674 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12675 Adapt to use the new cache.
12676 (c-state-safe-place): Use better the cache of safe positions.
12677 (c-state-semi-nonlit-pos-cache)
12678 (c-state-semi-nonlit-pos-cache-limit):
12679 New variables for...
12680 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12681 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12682 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12683 Use c-state-semi-safe-place.
56d093a9 12684
dbbc2e69
SM
12685 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12686 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12687
817e5c3d
MA
126882012-03-02 Michael Albinus <michael.albinus@gmx.de>
12689
dbbc2e69
SM
12690 * jka-compr.el (jka-compr-call-process):
12691 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12692 not remote.
12693
a032a702
MA
126942012-03-01 Michael Albinus <michael.albinus@gmx.de>
12695
12696 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12697 access of FILE2, if FILE1 does not exist.
12698
99a54f21
MA
12699 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12700 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12701
12702 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12703 Add "PAGER=" to `process-environment'.
12704
f6561e1f
MM
127052012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12706
12707 * progmodes/sql.el: Bug fix
12708 (sql-get-login-ext): Save login values in globals.
12709 (sql-get-login): Use new version of `sql-get-login-ext'.
12710 (sql-interactive-mode): Set global `sql-connection' to nil.
12711 (sql-connect): Set global values for connection.
12712 (sql-product-interactive): Save global values as buffer local.
12713
2d44d9cc
LL
127142012-02-29 Leo Liu <sdl.web@gmail.com>
12715
12716 * abbrev.el (define-abbrevs): Reset sys to nil.
12717
96b49301 127182012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12719
bf7f9bc5
JB
12720 * files.el (file-equal-p): Rename from `files-equal-p'.
12721 Return nil when one or both files don't exist.
96b49301 12722 (file-subdir-of-p): Now only top directory must exists,
12723 return nil if it doesn't.
bf7f9bc5
JB
12724 (copy-directory): No need to test with `file-subdir-of-p' after
12725 creating dir.
12726 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12727 to `file-equal-p'.
96b49301 12728
44e97401
GM
127292012-02-28 Glenn Morris <rgm@gnu.org>
12730
12731 * shell.el (shell-mode):
12732 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12733 * play/landmark.el (landmark-font-lock-face-O):
12734 * play/handwrite.el (handwrite):
12735 * play/gomoku.el (gomoku-O):
12736 * net/browse-url.el (browse-url-browser-display):
12737 * international/mule.el (define-charset):
12738 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12739 * filesets.el (filesets-find-file-delay):
12740 * eshell/em-xtra.el (eshell-xtra):
12741 * eshell/em-unix.el (eshell-grep):
12742 * emulation/viper.el (viper-mode):
12743 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12744 * emacs-lisp/easymenu.el (easy-menu-define):
12745 * calendar/timeclock.el (timeclock-use-display-time):
12746 * bs.el (bs-mode):
12747 * bookmark.el (bookmark-save-flag):
12748 Doc fix (standardize possessive apostrophe usage).
12749
c98c6276
CY
127502012-02-27 Chong Yidong <cyd@gnu.org>
12751
bf7f9bc5
JB
12752 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12753 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12754
c98c6276
CY
12755 * font-lock.el (font-lock-specified-p): Rename from
12756 font-lock-spec-present. Callers changed.
12757
9c62cd04 127582012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12759
bf7f9bc5
JB
12760 * emacs-lisp/package.el (package-compute-transaction):
12761 Handle holding a package version to t in package-load-list.
8ac9e529 12762
530739c9
MA
127632012-02-26 Michael Albinus <michael.albinus@gmx.de>
12764
12765 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12766 (tramp-get-inode, tramp-get-device): Use cached values.
12767
487915d7
AM
127682012-02-26 Alan Mackenzie <acm@muc.de>
12769
12770 Check there is a font-lock specification before doing initial
12771 fontification.
12772
12773 * font-core.el (font-lock-mode): Move the conditional from
12774 :after-hook to font-lock-initial-fontify.
12775 (font-lock-default-function): Move the check for a specification
12776 to font-lock-spec-present.
12777
dc9924b8 12778 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12779 (font-lock-spec-present): New function.
12780
4fd96557
JB
127812012-02-26 Jim Blandy <jimb@red-bean.com>
12782
12783 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12784 (gdb-send): Apply it to the operand of the '-interpreter-exec
12785 console' command, so that we can pass arguments with (say) quotes
12786 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12787
9a4888c0
CY
127882012-02-26 Chong Yidong <cyd@gnu.org>
12789
07498861
CY
12790 * help-fns.el (describe-function-1): Clarify description of
12791 remapping (Bug#10844).
12792
9a4888c0
CY
12793 * files.el (files-equal-p): Doc fix.
12794 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12795 and quit the loop once a mismatch is found.
12796
ea8fb88d
JB
127972012-02-25 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * bs.el (bs--show-with-configuration): Don't throw an error
12800 if the window cannot be split; otherwise, subsequent calls to
12801 bs-show fail, restoring a stale window config. (Bug#10882)
12802
525795c1
JD
128032012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12804
12805 * term/ns-win.el (global-map): Bind ns-drag-file to
12806 ns-find-file (Bug#5855, Bug#10050).
12807
f008086f
AS
128082012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12809
12810 * calendar/parse-time.el (parse-time-string): Allow extractor to
12811 return nil.
12812
a3fcfa99
MA
128132012-02-25 Michael Albinus <michael.albinus@gmx.de>
12814
91027d08
JB
12815 * net/tramp.el (tramp-file-name-for-operation):
12816 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12817
12818 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12819 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12820 Add COPY-CONTENTS argument.
a3fcfa99 12821
67b0de11
CY
128222012-02-25 Chong Yidong <cyd@gnu.org>
12823
12824 Add custom groups for VC backends, for consistency with vc-bzr.
12825
12826 * vc/vc-arch.el (vc-arch):
12827 * vc/vc-cvs.el (vc-cvs):
12828 * vc/vc-git.el (vc-git):
12829 * vc/vc-hg.el (vc-hg):
12830 * vc/vc-mtn.el (vc-mtn):
12831 * vc/vc-rcs.el (vc-rcs):
12832 * vc/vc-sccs.el (vc-sccs):
12833 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12834 All relevant defcustoms reassigned.
12835
3c9dfce6
CY
128362012-02-25 Chong Yidong <cyd@gnu.org>
12837
1339bf43
CY
12838 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12839
3c9dfce6
CY
12840 * term/x-win.el (x-initialize-window-system): Reduce default for
12841 x-selection-timeout to 5 seconds (Bug#8869).
12842
25b2e303 128432012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12844
ec70a47d
GM
12845 * files.el (files-equal-p, file-subdir-of-p): New functions.
12846 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12847 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12848 * dired-aux.el (dired-copy-file-recursive): Same.
12849 (dired-create-files): Modify destination when source is equal to
12850 dest when copying files.
53a46cd0 12851 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12852
914260cd
MA
128532012-02-24 Michael Albinus <michael.albinus@gmx.de>
12854
12855 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12856 (Bug#10874)
12857
2cb228f7
AM
128582012-02-23 Alan Mackenzie <acm@muc.de>
12859
12860 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12861 parameter "after-hook:" to allow the expansion to run code after
12862 the execution of the mode hooks.
12863
12864 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12865 from font-lock-mode-internal.
2cb228f7 12866
91027d08 12867 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12868 :after-hook.
12869
8f0fde21
SM
128702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12871
3e88618b
SM
12872 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12873 (completion--cache-all-sorted-completions): New function.
12874 (completion-all-sorted-completions): Use it.
12875 (completion--do-completion, minibuffer-force-complete):
12876 Use it to re-instate the flush hook.
12877
8f0fde21
SM
12878 * icomplete.el (icomplete-completions): Replace last fix with a better
12879 one (bug#10850).
12880
8e911f6f
DG
128812012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12882
12883 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12884 when it might call us back infinitely (bug#10797).
12885
49fe4321
GM
128862012-02-23 Glenn Morris <rgm@gnu.org>
12887
12888 * minibuffer.el (completion-category-overrides): Doc fix.
12889
b291b572
SM
128902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12893 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12894
31a9ef2e
GM
128952012-02-23 Glenn Morris <rgm@gnu.org>
12896
5e6e6794 12897 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12898 (authors-obsolete-files-regexps, authors-ignored-files)
12899 (authors-ambiguous-files, authors-renamed-files-alist):
12900 Add more entries.
12901
0bd1e074
JL
129022012-02-23 Juri Linkov <juri@jurta.org>
12903
12904 * isearch.el (isearch-occur): Sync interactive spec with occur's
12905 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12906
b617673c
JL
12907 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12908
19e9789e
JL
129092012-02-22 Juri Linkov <juri@jurta.org>
12910
12911 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12912 (ucs-insert): Doc fix. Check for hex digits in the string.
12913 Don't display `nil' in the error message. (Bug#10857)
12914
f41ce09d
AM
129152012-02-22 Alan Mackenzie <acm@muc.de>
12916
7a71b18d 12917 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12918
ac2eceee
GM
129192012-02-22 Glenn Morris <rgm@gnu.org>
12920
12921 * ffap.el (ffap-c-path):
12922 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12923
abd1f678
CY
129242012-02-22 Chong Yidong <cyd@gnu.org>
12925
12926 * custom.el (load-theme): Doc fix.
12927
f25aef2e
GM
129282012-02-22 Glenn Morris <rgm@gnu.org>
12929
12930 * dired-x.el (dired-guess-shell-alist-default):
12931 Remove escape sequences from nroff output. (Bug#172)
12932
5f8dc2ca
GM
129332012-02-21 Glenn Morris <rgm@gnu.org>
12934
6ff86ec4
GM
12935 * vc/emerge.el (emerge-defvar-local):
12936 Set `permanent-local' property rather than unused `preserved'.
12937
be3223a3 12938 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12939 (picture-mode-map): Use it. (Bug#10860)
12940 (picture-mode): Doc fix.
12941
3fe58f4f
JB
129422012-02-21 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * newcomment.el (uncomment-region-default): Remove unused binding.
12945
f9a998c3
GM
129462012-02-21 Glenn Morris <rgm@gnu.org>
12947
12948 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12949 (picture-self-insert, picture-tab-chars): Doc fix.
12950 (picture-mode-map): Fix C-a, C-e.
12951
c6029348
GM
129522012-02-20 Glenn Morris <rgm@gnu.org>
12953
12954 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12955
ab1ce9d7
LL
129562012-02-20 Leo Liu <sdl.web@gmail.com>
12957
12958 * icomplete.el (icomplete-completions): Check FROM arg before
12959 passing to substring (Bug#10850).
12960
0fd40f89
CY
129612012-02-19 Chong Yidong <cyd@gnu.org>
12962
12963 * comint.el: Require ansi-color.
12964 (comint-output-filter-functions): Add ansi-color-process-output.
12965
12966 * ansi-color.el: Don't set comint-output-filter-functions; it is
12967 now in the initial value defined in comint.el.
12968 (ansi-color-apply-face-function): New variable.
12969 (ansi-color-apply-on-region): Use it.
12970 (ansi-color-apply-overlay-face): New function.
12971
12972 * shell.el (shell): No need to require ansi-color.
12973 (shell-mode): Use ansi-color-apply-face-function to highlight
12974 color escapes using font-lock-face property (Bug#10835).
12975
20af2394
CY
129762012-02-19 Chong Yidong <cyd@gnu.org>
12977
12978 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12979 mode-line formats (Bug#10839).
12980
e23a3fbe
GM
129812012-02-18 Glenn Morris <rgm@gnu.org>
12982
b474519e
GM
12983 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12984
12985 * mail/undigest.el (unforward-rmail-message): Doc fix.
12986
e23a3fbe
GM
12987 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12988
57939ff4
EZ
129892012-02-18 Eli Zaretskii <eliz@gnu.org>
12990
12991 * international/characters.el (script-list): Sync with the latest
12992 Unicode Character Database.
12993
0c23686e
AS
129942012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12995
12996 * international/titdic-cnv.el: Remove duplicate coding tag.
12997 * language/cham.el: Likewise.
12998 * language/tai-viet.el: Likewise.
12999
6818b449
GM
130002012-02-18 Glenn Morris <rgm@gnu.org>
13001
13002 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13003 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13004 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13005 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13006 * calendar/holidays.el (holiday-bahai-holidays)
13007 (calendar-holidays, list-holidays):
13008 Use utf-8 Bahá'í in doc-strings, menus, etc.
13009
0311a3fc
TH
130102012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13011
13012 * saveplace.el (save-place-ignore-files-regexp): New variable
13013 allowing for excluding files from saving their location of point.
13014 The default value matches the temporary commit message editing
13015 files from Git, SVN, Bazaar, and Mercurial.
13016 (save-place-to-alist): Use it.
13017
d209e2fb 130182012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13019 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13020
13021 * newcomment.el (uncomment-region-default): Don't leave extra space
13022 when an arg is provided (bug#8150).
13023
ee0ce425
TZ
130242012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13025
eb864a71 13026 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13027
95ddf442
GM
130282012-02-17 Glenn Morris <rgm@gnu.org>
13029
13030 * net/socks.el: Require network-stream. (Bug#10599)
13031
48dd1e39 130322012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13033
13034 * international/charprop.el:
13035 * international/uni-name.el:
13036 * international/uni-old-name.el:
13037 * international/uni-comment.el: Regenerate.
13038
d68cd087
GM
130392012-02-16 Glenn Morris <rgm@gnu.org>
13040
13041 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13042 Interactively in calendar buffer, give an error if not on a date.
13043
13932042
GM
130442012-02-15 Glenn Morris <rgm@gnu.org>
13045
13046 * shell.el (shell-delimiter-argument-list):
13047 Revert 2011-02-17 change. (Bug#8027)
13048
c3a70e2b
CY
130492012-02-15 Chong Yidong <cyd@gnu.org>
13050
60236b0d
CY
13051 * minibuffer.el (completion-at-point-functions): Doc fix.
13052
c3a70e2b
CY
13053 * custom.el (defcustom): Doc fix; note use of defvar.
13054
9f26dc24
GM
130552012-02-15 Glenn Morris <rgm@gnu.org>
13056
13057 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13058 Doc fixes.
13059
6546b134
GM
130602012-02-14 Glenn Morris <rgm@gnu.org>
13061
13062 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13063
d29b2b4c
LI
130642012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13065
13066 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13067 way the ports list is computed.
835bdcba
LI
13068 (smtpmail-query-smtp-server): Prompt the user for a port number if
13069 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13070
08dcdbc9
TZ
130712012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13072
13073 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13074
2605051a
GM
130752012-02-13 Glenn Morris <rgm@gnu.org>
13076
13077 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13078
7ee99f32
TZ
130792012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13080
13081 * net/gnutls.el (gnutls-trustfiles): New variable.
13082 (gnutls-negotiate): Use it.
13083
5f0af64f
LI
130842012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13085
13086 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13087 does its stuff if Gnus is running.
13088
c14fcc95
AM
130892012-02-13 Alan Mackenzie <acm@muc.de>
13090
13091 Fix a loop in c-set-fl-decl-start.
13092
7a71b18d 13093 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13094 c-backward-syntactic-ws actually moves backwards.
13095
142b4d90
LL
130962012-02-13 Leo Liu <sdl.web@gmail.com>
13097
13098 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13099 beginning so that all \C-o chars are removed.
13100
fa9958a6
TZ
131012012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13102
dc9924b8 13103 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13104
0bc5886a
AM
131052012-02-12 Alan Mackenzie <acm@muc.de>
13106
13107 Fix infinite loop with long macros.
4d6769e1 13108 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13109
d4bd55e7
CY
131102012-02-12 Chong Yidong <cyd@gnu.org>
13111
13112 * window.el (display-buffer): Doc fix (Bug#10785).
13113
66f3fe22
GM
131142012-02-12 Glenn Morris <rgm@gnu.org>
13115
bd7da63e
GM
13116 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13117 (x-disown-selection-internal, x-get-selection-internal):
13118 Sync docs with the xselect.c versions.
13119
66f3fe22
GM
13120 * allout-widgets.el: Add missing license notice.
13121
3e0d2fa7
GM
131222012-02-11 Glenn Morris <rgm@gnu.org>
13123
cfecdf09
GM
13124 * select.el (x-get-selection-internal, x-own-selection-internal)
13125 (x-disown-selection-internal):
13126 * x-dnd.el (x-get-selection-internal): Update declarations.
13127
6d216d7f
GM
13128 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13129
2bed3f04
GM
13130 * window.el (window-sides-slots):
13131 * tool-bar.el (tool-bar-position):
13132 * term/xterm.el (xterm-extra-capabilities):
13133 * ses.el (ses-self-reference-early-detection):
13134 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13135 (verilog-auto-wire-type)
13136 (verilog-auto-delete-trailing-whitespace)
13137 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13138 (verilog-auto-tieoff-declaration):
13139 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13140 (sql-oracle-statement-starters, sql-oracle-scan-on):
13141 * progmodes/prolog.el (prolog-align-comments-flag)
13142 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13143 (prolog-left-indent-regexp, prolog-paren-indent-p)
13144 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13145 (prolog-types, prolog-mode-specificators)
13146 (prolog-determinism-specificators, prolog-directives)
13147 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13148 (prolog-electric-dot-flag)
13149 (prolog-electric-dot-full-predicate-template)
13150 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13151 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13152 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13153 (prolog-program-switches, prolog-prompt-regexp)
13154 (prolog-debug-on-string, prolog-debug-off-string)
13155 (prolog-trace-on-string, prolog-trace-off-string)
13156 (prolog-zip-on-string, prolog-zip-off-string)
13157 (prolog-use-standard-consult-compile-method-flag)
13158 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13159 (prolog-imenu-max-lines, prolog-info-predicate-index)
13160 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13161 (prolog-char-quote-workaround):
13162 * progmodes/cc-vars.el (c-defun-tactic):
13163 * net/tramp.el (tramp-encoding-command-interactive)
13164 (tramp-local-end-of-line):
13165 * net/soap-client.el (soap-client):
13166 * net/netrc.el (netrc-file):
13167 * net/gnutls.el (gnutls):
13168 * minibuffer.el (completion-category-overrides)
13169 (completion-cycle-threshold)
13170 (completion-pcm-complete-word-inserts-delimiters):
13171 * man.el (Man-name-local-regexp):
13172 * mail/feedmail.el (feedmail-display-full-frame):
13173 * international/characters.el (glyphless-char-display-control):
13174 * eshell/em-ls.el (eshell-ls-date-format):
13175 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13176 (lisp-lambda-list-keyword-parameter-indentation)
13177 (lisp-lambda-list-keyword-parameter-alignment):
13178 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13179 * dired-x.el (dired-omit-verbose):
13180 * cus-theme.el (custom-theme-allow-multiple-selections):
13181 * calc/calc.el (calc-highlight-selections-with-faces)
13182 (calc-lu-field-reference, calc-lu-power-reference)
13183 (calc-note-threshold):
13184 * battery.el (battery-mode-line-limit):
13185 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13186 (archive-7z-update):
13187 * allout.el (allout-prefixed-keybindings)
13188 (allout-unprefixed-keybindings)
13189 (allout-inhibit-auto-fill-on-headline)
13190 (allout-flattened-numbering-abbreviation):
13191 * allout-widgets.el (allout-widgets-auto-activation)
13192 (allout-widgets-icons-dark-subdir)
13193 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13194 (allout-widgets-theme-dark-background)
13195 (allout-widgets-theme-light-background)
13196 (allout-widgets-item-image-properties-emacs)
13197 (allout-widgets-item-image-properties-xemacs)
13198 (allout-widgets-run-unit-tests-on-load)
13199 (allout-widgets-time-decoration-activity)
13200 (allout-widgets-hook-error-post-time)
13201 (allout-widgets-track-decoration):
13202 Add missing :version tags to new defcustoms and defgroups.
13203
5fec1b8e
GM
13204 * progmodes/sql.el (sql-ansi-statement-starters)
13205 (sql-oracle-statement-starters): Add custom type.
13206
3e0d2fa7
GM
13207 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13208 (prolog-system-version): Give it a type.
13209
90b671e2
EZ
132102012-02-11 Eli Zaretskii <eliz@gnu.org>
13211
13212 * term/pc-win.el (x-select-text, x-selection-owner-p)
13213 (x-own-selection-internal, x-disown-selection-internal)
13214 (x-get-selection-internal): Sync doc strings and argument lists
13215 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13216
5eac0c02
LL
132172012-02-11 Leo Liu <sdl.web@gmail.com>
13218
13219 * progmodes/python.el (python-end-of-statement): Fix infinite
13220 loop. (Bug#10788)
13221
f82cb659
GM
132222012-02-10 Glenn Morris <rgm@gnu.org>
13223
13224 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13225 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13226
cc26d239
LI
132272012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13228
13229 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13230 about SMTP before checking the From header.
13231
91027d08 13232 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13233 into own function for reuse by emacsbug.el.
13234
1be3ca5a
LL
132352012-02-10 Leo Liu <sdl.web@gmail.com>
13236
13237 * subr.el (condition-case-unless-debug): Rename from
13238 condition-case-no-debug. All callers changed.
13239 (with-demoted-errors): Fix caller.
13240
13241 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13242 * nxml/rng-valid.el (rng-do-some-validation):
13243 * emacs-lisp/package.el (package-refresh-contents)
13244 (package-menu-execute):
13245 * desktop.el (desktop-create-buffer):
91027d08 13246 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13247
b011fbfe
GM
132482012-02-10 Glenn Morris <rgm@gnu.org>
13249
b2096d72
GM
13250 * textmodes/bibtex.el:
13251 Add missing :version tags for new/changed defcustoms.
13252
b011fbfe
GM
13253 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13254
4c7e65bf
LI
132552012-02-09 Lars Ingebrigtsen <larsi@rusty>
13256
13257 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13258 (smtpmail-via-smtp): Use it, or fall back on the From address.
13259 (smtpmail-send-it): Ditto.
13260
f3934f6f
SM
132612012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13264 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13265 (byte-compile-tmp-var): New const.
13266 (byte-compile-defvar): Use it to minimize .elc size.
13267 Just use `defvar' rather than simulate it (bug#10761).
13268
a075a2c5
GM
132692012-02-09 Glenn Morris <rgm@gnu.org>
13270
cf3aa21b
GM
13271 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13272
354998cd
GM
13273 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13274 Add :version tags.
13275
dc9924b8
SM
13276 * progmodes/compile.el (compilation-error-screen-columns)
13277 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13278
dab3703d
GM
13279 * vc/log-view.el (log-view-toggle-entry-display):
13280 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13281
3f88cd72
GM
13282 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13283 (report-emacs-bug-can-use-xdg-email):
13284 (report-emacs-bug-insert-to-mailer): Doc fixes.
13285 (report-emacs-bug): Message fix.
13286
d95b247d
GM
13287 * net/browse-url.el (browse-url-can-use-xdg-open)
13288 (browse-url-xdg-open): Doc fixes.
13289
a075a2c5
GM
13290 * electric.el (electric-indent-mode, electric-pair-mode)
13291 (electric-layout-rules, electric-layout-mode): Doc fixes.
13292 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13293
ffb6157e
MR
132942012-02-08 Martin Rudalics <rudalics@gmx.at>
13295
13296 * server.el (server-unselect-display): Don't inadvertently kill
13297 the current buffer. (Bug#10729)
13298
e1ac4066
GM
132992012-02-08 Glenn Morris <rgm@gnu.org>
13300
34e8a2da
GM
13301 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13302 (sql-list-table): Doc fixes.
13303
b4ac6e8c
GM
13304 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13305 Comment out (does nothing).
13306
e1ac4066
GM
13307 * completion.el (dynamic-completion-mode):
13308 * dirtrack.el (dirtrack-debug-mode):
13309 * electric.el (electric-layout-mode):
13310 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13311 * face-remap.el (text-scale-mode, buffer-face-mode):
13312 * iimage.el (iimage-mode):
13313 * image-mode.el (image-transform-mode):
13314 * minibuffer.el (completion-in-region-mode):
13315 * scroll-lock.el (scroll-lock-mode):
13316 * simple.el (next-error-follow-minor-mode):
13317 * tar-mode.el (tar-subfile-mode):
13318 * tooltip.el (tooltip-mode):
13319 * vcursor.el (vcursor-use-vcursor-map):
13320 * wid-browse.el (widget-minor-mode):
13321 * emulation/tpu-edt.el (tpu-edt-mode):
13322 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13323 * international/iso-ascii.el (iso-ascii-mode):
13324 * language/thai-util.el (thai-word-mode):
13325 * mail/supercite.el (sc-minor-mode):
13326 * net/goto-addr.el (goto-address-mode):
13327 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13328 * progmodes/cwarn.el (cwarn-mode):
13329 * progmodes/flymake.el (flymake-mode):
13330 * progmodes/glasses.el (glasses-mode):
13331 * progmodes/hideshow.el (hs-minor-mode):
13332 * progmodes/pascal.el (pascal-outline-mode):
13333 * textmodes/enriched.el (enriched-mode):
13334 * vc/smerge-mode.el (smerge-mode):
13335 Doc fixes (minor mode argument).
13336
5e0d957f
EZ
133372012-02-07 Eli Zaretskii <eliz@gnu.org>
13338
13339 * ls-lisp.el (ls-lisp-sanitize): New function.
13340 (ls-lisp-insert-directory): Use it to fix or remove any elements
13341 in file-alist with missing attributes. (Bug#4673)
13342
98d7371e
AM
133432012-02-07 Alan Mackenzie <acm@muc.de>
13344
13345 Fix spurious recognition of c-in-knr-argdecl.
13346
13347 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13348 putative K&R region.
13349
667ced3a
AM
133502012-02-07 Alan Mackenzie <acm@muc.de>
13351
eb864a71
LM
13352 * progmodes/cc-engine.el (c-forward-objc-directive):
13353 Prevent looping in "#pragma mark @implementation".
667ced3a 13354
5b77774d
MA
133552012-02-07 Michael Albinus <michael.albinus@gmx.de>
13356
13357 * notifications.el (notifications-on-closed-signal): Make `reason'
13358 optional. (Bug#10744)
13359
af008560
GM
133602012-02-07 Glenn Morris <rgm@gnu.org>
13361
60d47423
GM
13362 * emacs-lisp/easy-mmode.el (define-minor-mode):
13363 Doc fixes for the macro and the mode it defines.
13364
dd605cc4
GM
13365 * image.el (imagemagick-types-inhibit): Doc fix.
13366
af008560
GM
13367 * cus-start.el (imagemagick-render-type): Add it.
13368
5cc59a37
LI
133692012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13370
4d6769e1
JB
13371 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13372 Set the default at load time, too, so that `font-lock-fontify-buffer'
13373 can be called without setting up the entire mode first. This fixes
13374 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13375
9a6dd747
CY
133762012-02-06 Chong Yidong <cyd@gnu.org>
13377
2d16b285
CY
13378 * simple.el (list-processes--refresh): Delete exited processes
13379 (Bug#8094).
13380
171e9b6e
CY
13381 * comint.el (comint-next-prompt): next-single-char-property-change
13382 and prev-single-char-property-change never return nil (Bug#8657).
13383
9a6dd747
CY
13384 * custom.el (defcustom): Doc fix (Bug#9711).
13385
aa4589a7
CY
133862012-02-05 Chong Yidong <cyd@gnu.org>
13387
5c2a252f
CY
13388 * cus-edit.el (custom-variable-reset-backup): Quote the value
13389 before storing it in the customized-value property (Bug#6712).
4aab9006 13390 (custom-display): Add a customization type tag.
983b9602 13391 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13392
aa4589a7
CY
13393 * wid-edit.el (widget-field-value-get): New optional arg to
13394 suppress trailing whitespace truncation.
13395 (character): Use it (Bug#2689).
13396
1ff980ae
AS
133972012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13398
13399 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13400 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13401
03988c98
CY
134022012-02-05 Chong Yidong <cyd@gnu.org>
13403
eeb6cc88
CY
13404 * cus-edit.el (custom-variable-value-create): For mismatched
13405 types, show the current value (Bug#7600).
13406
03988c98
CY
13407 * custom.el (defcustom): Doc fix.
13408
f8cdeef0
GM
134092012-02-05 Glenn Morris <rgm@gnu.org>
13410
13411 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13412
0696d255
JB
134132012-02-05 Juanma Barranquero <lekktu@gmail.com>
13414
13415 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13416 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13417 (pp-last-sexp): Use `looking-at-p'.
13418
34c99998
GM
134192012-02-04 Glenn Morris <rgm@gnu.org>
13420
8f05da42
GM
13421 * files.el (revert-buffer):
13422 Doc fix (mention revert-buffer-in-progress-p).
13423
f160676e
GM
13424 * emacs-lisp/ert-x.el (ert-simulate-command):
13425 Check deferred-action-list (which is obsolete) is bound.
13426
c7291ad9
GM
13427 * subr.el (with-wrapper-hook): Doc fixes.
13428
34c99998
GM
13429 * simple.el (filter-buffer-substring-functions)
13430 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13431
6283a7d3
LL
134322012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13433
13434 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13435 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13436
e96e3013
LL
134372012-02-04 Leo Liu <sdl.web@gmail.com>
13438
13439 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13440
8ded50f2
GM
134412012-02-04 Glenn Morris <rgm@gnu.org>
13442
82ff1d13
GM
13443 * image.el (image-extension-data): Add obsolete alias.
13444
987a0a16
GM
13445 * isearch.el (isearch-update): Doc fix.
13446
ea32ef46
GM
13447 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13448
8ded50f2
GM
13449 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13450
eea14f31
GM
134512012-02-03 Glenn Morris <rgm@gnu.org>
13452
13453 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13454 (image-animate-timeout): Doc fix.
13455
13456 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13457
12f381b7
GM
134582012-02-02 Glenn Morris <rgm@gnu.org>
13459
953cebf5
GM
13460 * server.el (server-auth-dir): Doc fix.
13461 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13462
12f381b7
GM
13463 * subr.el (run-mode-hooks): Doc fix.
13464
953a8c3b
JL
134652012-02-02 Juri Linkov <juri@jurta.org>
13466
13467 * image-mode.el (image-toggle-display-image): Remove tautological
13468 `major-mode' from the `derived-mode-p' test.
13469
c5d3843c
KH
134702012-02-02 Kenichi Handa <handa@m17n.org>
13471
9f6e692e 13472 * composite.el (compose-region): Cancel previous change.
c5d3843c 13473
159462d4 134742012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13475
13476 * composite.el (compose-region, compose-string): Signal error for
13477 a null string component (Bug#6988).
13478
9f562668
CY
134792012-02-01 Chong Yidong <cyd@gnu.org>
13480
e2cef717
CY
13481 * view.el (view-buffer-other-window, view-buffer-other-frame):
13482 Handle special modes like view-buffer (Bug#10650).
13483 (view-buffer): Simplify.
13484
9f562668
CY
13485 * frame.el (set-frame-font): Tweak meaning of third argument.
13486
9f6e692e
JB
13487 * dynamic-setting.el (font-setting-change-default-font):
13488 Use set-frame-font (Bug#9982).
9f562668 13489
781acb9f
GM
134902012-02-01 Glenn Morris <rgm@gnu.org>
13491
6035be52
GM
13492 * progmodes/compile.el (compilation-internal-error-properties):
13493 Respect compilation-first-column in the "*compilation*" buffer.
13494
781acb9f
GM
13495 * emacs-lisp/easy-mmode.el (define-minor-mode):
13496 Relax :variable's test for a named function.
13497
abbceb00
AM
134982012-01-31 Alan Mackenzie <acm@muc.de>
13499
13500 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13501 off by one error.
13502
fce3fdeb
CY
135032012-01-31 Chong Yidong <cyd@gnu.org>
13504
13505 * frame.el (set-frame-font): New arg ALL-FRAMES.
13506
13507 * menu-bar.el (menu-set-font): Use set-frame-font.
13508
13509 * faces.el (face-spec-reset-face): Don't apply unspecified
13510 attribute values to the default face.
13511
47893581
JB
135122012-01-31 Juanma Barranquero <lekktu@gmail.com>
13513
13514 * progmodes/cwarn.el (cwarn): Remove dead link.
13515 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13516 Remove * from defcustom docstrings.
13517 (turn-on-cwarn-mode): Make obsolete.
13518 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13519 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13520
e58e988a
GM
135212012-01-31 Glenn Morris <rgm@gnu.org>
13522
60dc2671 13523 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13524 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13525 Allow named functions to be used as the cdr of :variable.
e58e988a 13526
7a3f511d
GM
135272012-01-30 Glenn Morris <rgm@gnu.org>
13528
13529 * emacs-lisp/authors.el (authors-fixed-entries):
13530 Remove reference to deleted file rnewspost.el.
13531
cb882333
JB
135322012-01-29 Juanma Barranquero <lekktu@gmail.com>
13533
13534 * window.el (window-with-parameter): Remove unused variable `windows'.
13535 (window--side-check): Remove unused variable `code'.
13536 (window--resize-siblings): Remove unused variable `first'.
13537 (adjust-window-trailing-edge): Remove unused variable `failed'.
13538 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13539 Use `let', not `let*'.
13540 (balance-windows-2): Remove unused variable `found'.
13541 (window--state-put-2): Remove unused variable `splits'.
13542 (window-state-put): Remove unused variable `selected'.
13543 (same-window-p): Use `string-match-p'.
13544 (display-buffer-assq-regexp): Remove unused variable `value'.
13545 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13546 Mark argument ALIST as ignored.
13547 (pop-to-buffer): Remove unused variable `old-window'.
13548
907201af
EZ
135492012-01-29 Eli Zaretskii <eliz@gnu.org>
13550
13551 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13552 and .lzma compressed files.
13553
ea162670
CY
135542012-01-29 Chong Yidong <cyd@gnu.org>
13555
5b95ee8a
CY
13556 * frame.el (window-system-default-frame-alist): Doc fix.
13557
ea162670
CY
13558 * dynamic-setting.el (font-setting-change-default-font): Don't
13559 change the default face if SET-FONT argument is non-nil (Bug#9982).
13560
6fccd6e8 135612012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13562
13563 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13564
0f29fa41 135652012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13566
13567 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13568 breakpoints in files outside current directory (Bug#6098).
13569
db174434
CY
135702012-01-29 Chong Yidong <cyd@gnu.org>
13571
6b25e4e2
SE
13572 * progmodes/python.el: Require ansi-color at top-level.
13573
6df6ae42
JB
13574 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13575 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13576 (lisp-mode-abbrev-table): Add doc.
13577 (lisp-mode-variables): Don't set local-abbrev-table.
13578 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13579
e70ee681
RW
135802012-01-28 Roland Winkler <winkler@gnu.org>
13581
13582 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13583
ace88aa2
RW
135842012-01-28 Roland Winkler <winkler@gnu.org>
13585
13586 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13587 (bibtex-set-dialect): Use it. Either set global values of
13588 dialect-dependent variables or bind these variables buffer-locally
13589 (Bug#10254).
13590 (bibtex-mode): Call bibtex-set-dialect via
13591 hack-local-variables-hook.
eb864a71
LM
13592 (bibtex-dialect): Update docstring.
13593 Add safe-local-variable predicate.
ace88aa2
RW
13594 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13595 bibtex-set-dialect.
13596 (bibtex-mode-map): Define menu for each dialect.
13597 (bibtex-entry): Fix docstring.
13598
93376c5b
CY
135992012-01-28 Chong Yidong <cyd@gnu.org>
13600
13601 * eshell/esh-arg.el (eshell-quote-argument): New function.
13602
13603 * eshell/esh-ext.el (eshell-invoke-batch-file):
13604 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13605 first arg to eshell-parse-command (Bug#10523).
13606
4372494f
DA
136072012-01-28 Drew Adams <drew.adams@oracle.com>
13608
13609 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13610 `default-directory' is non-nil.
13611
4d4ec1f8
EZ
136122012-01-28 Eli Zaretskii <eliz@gnu.org>
13613
13614 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13615 line that displays system-configuration-options. (Bug#9924)
13616
7c188927
DA
136172012-01-28 Drew Adams <drew.adams@oracle.com>
13618
13619 * descr-text.el (describe-char): Show information about POS, in
13620 addition to information about the character at POS. Improve and
13621 update the doc string. Change "code point" to "code point in
13622 charset", to avoid confusion with the character's Unicode code
13623 point shown above that. (Bug#10129)
13624
e0da685a
EZ
136252012-01-28 Eli Zaretskii <eliz@gnu.org>
13626
13627 * descr-text.el (describe-char): Show the raw character, not only
13628 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13629 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13630 for the reasons.
13631
70550acf
PH
136322012-01-28 Phil Hagelberg <phil@hagelb.org>
13633
eb864a71
LM
13634 * emacs-lisp/package.el (package-install):
13635 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13636
0ce8e868
CY
136372012-01-28 Chong Yidong <cyd@gnu.org>
13638
cb882333
JB
13639 * emacs-lisp/package.el (package-maybe-load-descriptor):
13640 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13641 (package-maybe-load-descriptor): Use it.
13642 (package-download-transaction): Fully load required packages
13643 inside the loop, so that `require' calls work (Bug#10593).
13644 (package-install): No need to call package-initialize now.
13645
2e7f3bea
CY
136462012-01-28 Chong Yidong <cyd@gnu.org>
13647
6e9bad14
CY
13648 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13649
f823b8ca
CY
13650 * tooltip.el (tooltip-mode): Doc fix.
13651 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13652
2680c309
CY
13653 * frame.el (set-cursor-color): Doc fix (Bug#352).
13654
d7a9e63b
CY
13655 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13656 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13657
2e7f3bea
CY
13658 * cus-edit.el (custom-buffer-create-internal): Fix search button
13659 action (Bug#10542).
2ae01800 13660 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13661
fc4f7a23
EW
136622012-01-27 Eduard Wiebe <usenet@pusto.de>
13663
13664 * dired.el (dired-mark-files-regexp):
13665 Include any subdirectory components. (Bug#10445)
13666
7dd37071
ML
136672012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13668
13669 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13670 Handle [host]:port syntax. (Bug#10533)
13671
a268160b
AH
136722012-01-27 Alex Harsanyi <harsanyi@mac.com>
13673
13674 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13675
e43273ef
GM
136762012-01-26 Glenn Morris <rgm@gnu.org>
13677
13678 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13679 * term.el (term-raw-escape-map): Use Control-X-prefix.
13680 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13681
1edf595d
MR
136822012-01-25 Martin Rudalics <rudalics@gmx.at>
13683
13684 * window.el (window-state-get, window--state-get-1): Don't deal
13685 with fixed-sizeness of windows. Simplify code.
13686
fa8eafef
JC
136872012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13688
6df6ae42
JB
13689 * window.el (window--state-get-1, window--state-put-2):
13690 Don't save and restore the mark.
fa8eafef 13691
0b21c100
CY
136922012-01-25 Chong Yidong <cyd@gnu.org>
13693
13694 * custom.el (custom-variable-p): Doc fix.
13695
5ae1a6c8
GM
136962012-01-25 Glenn Morris <rgm@gnu.org>
13697
40047858
GM
13698 * dired.el (dired-goto-file): Handle some of the more common
13699 characters that `ls -b' escapes. (Bug#10596)
13700
5ddce96c
GM
13701 * progmodes/compile.el (compilation-next-error-function):
13702 Respect compilation-first-column in the "*compilation*" buffer.
13703 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13704
5ae1a6c8
GM
13705 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13706
b559f1a9
GM
137072012-01-24 Glenn Morris <rgm@gnu.org>
13708
13709 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13710
6725d21a
JD
137112012-01-24 Julien Danjou <julien@danjou.info>
13712
13713 * color.el (color-rgb-to-hsl): Fix value computing.
13714 (color-hue-to-rgb): New function.
13715 (color-hsl-to-rgb): New function.
13716 (color-clamp, color-saturate-hsl, color-saturate-name)
13717 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13718 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13719
70df4bbe
GM
137202012-01-24 Glenn Morris <rgm@gnu.org>
13721
13722 * vc/vc-rcs.el (vc-rcs-create-tag):
13723 * vc/vc-sccs.el (vc-sccs-create-tag):
13724 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13725
802a2ae2
ML
137262012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13727
13728 * eshell/esh-util.el (eshell-read-hosts-file):
13729 Skip comment lines. (Bug#10549)
13730
d7128bb1
ML
13731 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13732
d1a5c3b4
JB
137332012-01-23 Juanma Barranquero <lekktu@gmail.com>
13734
2724d9c7
JB
13735 * subr.el (display-delayed-warnings): Doc fix.
13736 (collapse-delayed-warnings): New function to collapse identical
13737 adjacent warnings.
13738 (delayed-warnings-hook): Add it.
d1a5c3b4 13739
a5509865
MA
137402012-01-22 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13743
a5509865
MA
13744 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13745 (tramp-default-user-alist): Don't add "pscp".
13746 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13747 property "login-as", if set. (Bug#10530)
13748
cc6d5805
MA
137492012-01-21 Michael Albinus <michael.albinus@gmx.de>
13750
13751 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13752 "plink1" and "psftp". (Bug#10530)
13753
137542012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13755
13756 * international/mule-cmds.el (prefer-coding-system): Show a
13757 warning message if the default value of file-name-coding-system
13758 was not changed.
13759
f0960428
JC
137602012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13761
cb882333
JB
13762 * windmove.el (windmove-reference-loc):
13763 Fix windmove-reference-loc miscalculation.
f0960428 13764
dd6f2a63
JB
137652012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13766
13767 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13768 default unit.
13769
7b447e9b
GM
137702012-01-21 Glenn Morris <rgm@gnu.org>
13771
117a9ea1
GM
13772 * international/mule.el (auto-coding-alist): Add .tbz.
13773
7b447e9b
GM
13774 * files.el (local-enable-local-variables): Doc fix.
13775 (inhibit-local-variables-regexps): Rename from
13776 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13777 Doc fix. Add some extensions from auto-coding-alist.
13778 (inhibit-local-variables-suffixes):
13779 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13780 (inhibit-local-variables-p):
13781 New function, extracted from set-auto-mode-1.
13782 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13783 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13784 (hack-local-variables): Doc fix. Make the mode-only case
13785 respect enable-local-variables and friends.
13786 Respect inhibit-local-variables-regexps for file-locals, but
13787 not for directory-locals.
13788 (set-visited-file-name):
13789 Take account of inhibit-local-variables-regexps.
13790 Whether it applies may change as the file name is changed.
13791 * jka-cmpr-hook.el (jka-compr-install):
13792 * jka-compr.el (jka-compr-uninstall):
13793 Update for inhibit-first-line-modes-suffixes name change.
13794
dd6e3cdd
MR
137952012-01-20 Martin Rudalics <rudalics@gmx.at>
13796
13797 * help-macro.el (make-help-screen): Temporarily restore original
13798 binding for minor-mode-map-alist (Bug#10454).
13799
0d0deb38
JD
138002012-01-19 Julien Danjou <julien@danjou.info>
13801
13802 * color.el (color-name-to-rgb): Use the white color to find the max
13803 color component value and return correctly computed values.
13804 (color-name-to-rgb): Add missing float conversion for max value.
13805
34a02f46
MR
138062012-01-19 Martin Rudalics <rudalics@gmx.at>
13807
13808 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13809 special state value for window-persistent-parameters.
13810 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13811 (window--state-put-2): Reset all window parameters to nil before
13812 assigning values of persistent parameters.
13813
606c44c4
AM
138142012-01-18 Alan Mackenzie <acm@muc.de>
13815
13816 Eliminate sluggishness and hangs in fontification of "semicolon
13817 deserts".
13818
cb882333
JB
13819 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13820 Change value 10000 -> 3000.
606c44c4
AM
13821 (c-state-safe-place): Reformulate so it doesn't stack up an
13822 infinite number of wrong entries in c-state-nonlit-pos-cache.
13823 (c-determine-limit-get-base, c-determine-limit): New functions to
13824 determine backward search limits disregarding literals.
13825 (c-find-decl-spots): Amend commenting.
13826 (c-cheap-inside-bracelist-p): New function which detects "={".
13827
13828 * progmodes/cc-fonts.el
13829 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13830 backward search.
13831 (c-font-lock-declarations): Fix an occurrence of point being
13832 undefined. Check additionally for point being in a bracelist or
13833 near a macro invocation without a semicolon so as to avoid a
13834 fruitless time consuming search for a declarator. Give a more
13835 precise search limit for declarators using the new
13836 c-determine-limit.
13837
f3860cea
GM
138382012-01-18 Glenn Morris <rgm@gnu.org>
13839
13840 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13841 (set-auto-mode): Doc fixes.
13842
1db03b16
GM
138432012-01-17 Glenn Morris <rgm@gnu.org>
13844
0e6038be
GM
13845 * isearch.el (search-nonincremental-instead): Fix doc typo.
13846
1db03b16
GM
13847 * dired.el (dired-insert-directory): Handle newlines in directory name.
13848 (dired-build-subdir-alist): Unescape newlines in directory name.
13849
4cb0aa75
MA
138502012-01-17 Michael Albinus <michael.albinus@gmx.de>
13851
13852 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13853 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13854 (tramp-action-terminal): Use it. (Bug#10530)
13855
1d00653d
SM
138562012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13859
6a6ee00d
MR
138602012-01-16 Martin Rudalics <rudalics@gmx.at>
13861
13862 * window.el (window-state-ignored-parameters): Remove variable.
13863 (window--state-get-1): Rename argument MARKERS to IGNORE.
13864 Handle persistent window parameters. Make copy of clone-of
13865 parameter only if requested. (Bug#10348)
13866 (window--state-put-2): Install a window parameter only if it has
13867 a non-nil value or an existing parameter shall be overwritten.
13868
97912def
MA
138692012-01-15 Michael Albinus <michael.albinus@gmx.de>
13870
13871 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13872
688070a5
EZ
138732012-01-14 Eli Zaretskii <eliz@gnu.org>
13874
13875 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13876 don't pass the (nil) value of `upnode' to string-match.
13877
301afadc
CY
138782012-01-14 Chong Yidong <cyd@gnu.org>
13879
13880 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13881 Fix values recognized by the cursorBlink resource.
301afadc 13882
9e5788aa
PE
138832012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13884
13885 * epg.el (epg--make-temp-file): Avoid permission race condition
13886 when running on old Emacs versions (bug#10403).
13887
3cdb7f5a
GM
138882012-01-14 Glenn Morris <rgm@gnu.org>
13889
13890 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13891
8c82b1b4
AM
138922012-01-13 Alan Mackenzie <acm@muc.de>
13893
13894 Fix filling for when filladapt mode is enabled.
13895
13896 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13897 c-mask-paragraph, pass in `fill-paragraph' rather than
13898 `fill-region-as-paragraph'. (This is a reversion of a previous
13899 change.)
eb864a71
LM
13900 * progmodes/cc-mode.el (c-basic-common-init):
13901 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13902
e517eda4
GM
139032012-01-13 Glenn Morris <rgm@gnu.org>
13904
1498536e
GM
13905 * dired.el (dired-switches-escape-p): New function.
13906 (dired-insert-directory): Use dired-switches-escape-p.
13907 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13908
e517eda4
GM
13909 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13910
328f984d
GM
139112012-01-12 Glenn Morris <rgm@gnu.org>
13912
13913 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13914 changes in adaptive-fill-regexp. (Bug#10276)
13915
2cc769a8
AM
139162012-01-11 Alan Mackenzie <acm@muc.de>
13917
13918 Fix Emacs bug #10463 - put `widen's around the critical spots.
13919
1d00653d 13920 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13921 widen around each invocation of c-state-pp-to-literal. Remove an
13922 unused let variable.
13923
e52c37fa
GM
139242012-01-11 Glenn Morris <rgm@gnu.org>
13925
13926 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13927 Doc fix.
e52c37fa 13928
96f8741e
CY
139292012-01-10 Chong Yidong <cyd@gnu.org>
13930
1d00653d
SM
13931 * net/network-stream.el (network-stream-open-starttls):
13932 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13933 response to the capability command.
13934
b09a806e
GM
139352012-01-10 Glenn Morris <rgm@gnu.org>
13936
13937 * mail/unrmail.el (unrmail): Tweak previous change.
13938
7655cb66
CY
139392012-01-09 Chong Yidong <cyd@gnu.org>
13940
13941 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13942
9d5a8f0b
AM
139432012-01-08 Alan Mackenzie <acm@muc.de>
13944
677d5c92 13945 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13946
13947 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13948 arm to a cond form to handle enums.
13949 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13950 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13951
9a0115ab 139522012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13953
13954 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13955 (Bug#10401)
6bb72cbd 13956
f186bb95
LMI
139572012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13958
29232a68
LMI
13959 * faces.el (set-face-attribute): Clarify the meaning of the nil
13960 frame (bug#10294).
13961
4e5d086d
LMI
13962 * subr.el (with-selected-frame): Mention that the selected frame
13963 is restored (bug#9980).
13964
8e66aebe
LMI
13965 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13966 (bug#9759).
13967
cd394be1 13968 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13969 (password-read): Don't autoload unused function.
13970
adf4e762
JB
139712012-01-07 Juanma Barranquero <lekktu@gmail.com>
13972
13973 * progmodes/which-func.el (which-func-mode): Turn into a
13974 non-interactive function and mark as obsolete (bug#10428).
13975
89bd9ccd
CY
139762012-01-06 Chong Yidong <cyd@gnu.org>
13977
13978 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13979 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13980 functions, along with 1 and -1.
13981
4afee9d5
EZ
139822012-01-06 Eli Zaretskii <eliz@gnu.org>
13983
13984 * time.el (display-time-load-average)
13985 (display-time-default-load-average): Doc fixes. See the thread
13986 starting at
13987 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13988 for the details.
13989
536aea70
GM
139902012-01-06 Glenn Morris <rgm@gnu.org>
13991
665ae865
GM
13992 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13993 has no messages. (Bug#10377)
13994
c869783d
GM
13995 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13996 than Info-edit. (Bug#10385)
13997
2bb4227e
GM
13998 * time.el (display-time-load-average, display-time-next-load-average):
13999 Doc fixes.
14000
7d5944b9
GM
14001 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14002 local setting of buffer-read-only to the input buffer. (Bug#10419)
14003
536aea70
GM
14004 * calendar/calendar.el (calendar-mode):
14005 Locally set scroll-margin to 0. (Bug#10379)
14006
7dccca16
UM
140072012-01-06 Ulrich Mueller <ulm@gentoo.org>
14008
14009 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14010
afbb7930
GM
140112012-01-05 Glenn Morris <rgm@gnu.org>
14012
14013 * eshell/em-unix.el (diff-no-select): Autoload it.
14014 (eshell/diff): Use diff-no-select. (Bug#10420)
14015
04482335
CY
140162012-01-05 Chong Yidong <cyd@gnu.org>
14017
7baca3bc
CY
14018 * shell.el (shell-dynamic-complete-functions): Revert last change.
14019 (shell-command-completion-function): New function.
14020 (shell-completion-vars): Use it to implement
14021 shell-completion-execonly (Bug#10417).
14022
04482335
CY
14023 * custom.el (enable-theme): Don't set custom-safe-themes.
14024
1d00653d
SM
14025 * cus-theme.el (custom-theme-merge-theme):
14026 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14027
bb5aa5d6
MM
140282012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14029
14030 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14031 first prompt in `sql-interacive-mode'.
14032 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14033 keywords.
6df6ae42 14034 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14035 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14036 context of original buffer. Invoke `sql-login-hook'.
14037
a7183d7c
EZ
140382012-01-04 Eli Zaretskii <eliz@gnu.org>
14039
14040 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14041 letters in cite-prefix.
14042
a1eacd1e
LMI
140432012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14044
14045 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14046
787cdb34
CY
140472012-01-03 Chong Yidong <cyd@gnu.org>
14048
1d00653d
SM
14049 * shell.el (shell-dynamic-complete-functions):
14050 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14051 comint-filename-completion first (Bug#10417).
14052
30710442
RS
140532012-01-02 Richard Stallman <rms@gnu.org>
14054
14055 * battery.el (battery-status-function):
14056 Detect when to use battery-yeeloong-sysfs.
14057 (battery-echo-area-format): Add string for Yeeloong.
14058 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14059 (battery-yeeloong-sysfs): New function.
14060
f75bfc33
CY
140612012-01-02 Chong Yidong <cyd@gnu.org>
14062
14063 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14064 (dirtrack): Merge code for handling relative filenames in prompt
14065 from shell-dir-cookie-watcher.
14066 (dirtrack-debug-message): New arg to avoid excess format calls.
14067
14068 * shell.el (shell-dir-cookie-re): Variable deleted.
14069 (shell-dir-cookie-watcher): Function deleted.
14070 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14071 with dirtrack-mode.
14072
651e947e
EZ
140732012-01-01 Eli Zaretskii <eliz@gnu.org>
14074
1d00653d
SM
14075 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14076 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14077 libgnutls-26.dll.
14078
94d4c7dc
AS
140792011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14080
14081 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14082
8d43f3cd
EZ
140832011-12-31 Eli Zaretskii <eliz@gnu.org>
14084
14085 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14086 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14087
98c8795a
MA
140882011-12-29 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14091 also for alternative shells.
14092 (tramp-open-connection-setup-interactive-shell): Check, whether
14093 the shell is a busybox.
14094 (tramp-send-command): Don't suppress multiple prompts for
14095 busyboxes, it hurts.
14096
51281b32
CY
140972011-12-28 Chong Yidong <cyd@gnu.org>
14098
14099 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14100 (gdb-get-source-file): Move mode line update to
14101 gdb-get-source-file (Bug#10087).
14102
2170cb53
CY
141032011-12-25 Chong Yidong <cyd@gnu.org>
14104
14105 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14106 gud-gdb-marker-filter without taking it as an argument.
14107 (gud-gdb-run-command-fetch-lines): Caller changed.
14108 (gud-gdb-completion-function): New variable.
14109 (gud-gdb-completion-at-point): Use it.
14110 (gud-gdb-completions-1): Split from gud-gdb-completions.
14111
14112 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14113 function as separate arguments.
14114 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14115 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14116 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14117 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14118 (gdb-stopped, def-gdb-auto-update-trigger)
14119 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14120 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14121 Callers changed.
2170cb53
CY
14122 (gud-gdbmi-completions): New function.
14123 (gdb): Use it for generating the completion table.
14124
be8b11bb
AM
141252011-12-24 Alan Mackenzie <acm@muc.de>
14126
14127 Introduce a mechanism to widen the region used in context font
1d00653d 14128 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14129
1d00653d
SM
14130 * progmodes/cc-langs.el (c-before-font-lock-functions):
14131 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14132 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14133 functions to be run just before context (etc.) font locking.
14134
14135 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14136 New, functionality extracted from
be8b11bb 14137 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14138 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14139 (c-after-change): Set c-in-after-change-fontification.
14140 (c-set-fl-decl-start): Rejig its interface, so it can be called
14141 from both after-change and context fontifying.
b81d40f0
JB
14142 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14143 New functions.
14144 (c-standard-font-lock-fontify-region-function): New variable.
14145 (c-font-lock-fontify-region): New function.
be8b11bb 14146
341cf6ac
JL
141472011-12-24 Juri Linkov <juri@jurta.org>
14148
14149 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14150 (Bug#10348)
14151
bffcee0a
MA
141522011-12-23 Michael Albinus <michael.albinus@gmx.de>
14153
14154 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14155 existence of source file. (Bug#10325)
14156
cb5e207c
AM
141572011-12-23 Alan Mackenzie <acm@muc.de>
14158
14159 Fix unstable fontification inside templates.
14160
b81d40f0
JB
14161 * progmodes/cc-langs.el (c-before-font-lock-functions):
14162 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14163 additionally has c-set-fl-decl-start. The other languages (apart
14164 from AWK) have that as a single entry.
14165
b81d40f0
JB
14166 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14167 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14168 c-set-fl-decl-start.
14169
b81d40f0
JB
14170 * progmodes/cc-mode.el (c-common-init, c-after-change):
14171 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14172 (c-set-fl-decl-start): New function, extracted from
14173 c-font-lock-enclosing-decls and enhanced.
14174
60ff536c
JB
141752011-12-23 Juanma Barranquero <lekktu@gmail.com>
14176
14177 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14178
1c4757d6
JL
141792011-12-22 Juri Linkov <juri@jurta.org>
14180
14181 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14182
d031f2c7
CY
141832011-12-22 Chong Yidong <cyd@gnu.org>
14184
14185 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14186
bace743a
DA
141872011-12-21 Drew Adams <drew.adams@oracle.com>
14188
14189 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14190
728a1f2b
JC
141912011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14192
14193 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14194
0d373f73
TZ
141952011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14196
fec0aaa4
TZ
14197 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14198 highlighting and support. Fix up comments for capitalization.
14199 (cfengine-mode-debug): New var.
14200 (cfengine3-mode): Change the modeline indicator to "CFE3".
14201 (cfengine3-font-lock-keywords): Improve defun highlighting.
14202 (cfengine2-actions): Rename from `cfengine-actions'.
14203 (cfengine2-font-lock-keywords): Rename from
14204 `cfengine-font-lock-keywords'.
14205 (cfengine2-imenu-expression): Rename from
14206 `cfengine-imenu-expression'.
14207 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14208 (cfengine2-beginning-of-defun): Rename from
14209 `cfengine-beginning-of-defun'.
14210 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14211 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14212 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14213 modeline indicator to "CFE2".
14214 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14215 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14216
bc86f573
CY
142172011-12-21 Chong Yidong <cyd@gnu.org>
14218
14219 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14220 filename argument.
14221
d45ba96b
MR
142222011-12-20 Martin Rudalics <rudalics@gmx.at>
14223
14224 * window.el (window-normalize-buffer-to-display): Remove.
14225 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14226
a6198c90
CY
142272011-12-19 Chong Yidong <cyd@gnu.org>
14228
14229 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14230 Don't signal an error in a predicate function; return non-nil.
14231 (vc-dir-mark-file): Move the error here.
14232 (vc-dir-mark-unmark): If acting on the region, keep going if one
14233 of the entries cannot be marked/unmarked.
14234 (vc-dir-mark-all-files): If current entry is a directory, mark
14235 only child files, as documented.
14236
34c5fb55
VB
142372011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14238
14239 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14240 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14241 addition.
14242
c803b2b7
JD
142432011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14244
14245 * term/ns-win.el (ns-get-selection-internal)
14246 (ns-store-selection-internal): Declare.
1154d12e
JB
14247 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14248 Declare as obsolete.
14249 (ns-get-pasteboard, ns-paste-secondary):
14250 Use ns-get-selection-internal.
41e9b956 14251 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14252 Use ns-store-selection-internal.
c803b2b7 14253
9cff91f8 142542011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14255
14256 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14257 (vc-deduce-fileset): Doc fix.
99a289d9 14258
f16c898a
AS
142592011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14260
14261 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14262
763237c4
SS
142632011-12-13 Sam Steingold <sds@gnu.org>
14264
14265 * man.el (Man-getpage-in-background): When running under a
14266 window-system, ignore $MANWIDTH and $COLUMNS.
14267
5fc1c122
KH
142682011-12-15 Kenichi Handa <handa@m17n.org>
14269
14270 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14271 (setup-ethiopic-environment-internal): Comment out key-binding for
14272 ethio-toggle-punctuation.
14273
13d49cbb
AM
142742011-12-13 Alan Mackenzie <acm@muc.de>
14275
898169a2
AM
14276 Add the switch statement to AWK Mode.
14277
7a71b18d 14278 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14279 "default" to the keywords regexp.
14280
7a71b18d 14281 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14282 expression as the rest.
1d00653d
SM
14283 (c-nonlabel-token-key): Allow string literals for AWK.
14284 Refactor for the other modes.
898169a2 14285
13d49cbb 14286 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14287 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14288 routines. Limit backward searching in c-font-lock-enclosing.decl.
14289
14290 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14291 pp-state and literal type in addition to the limits.
1d00653d 14292 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14293 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14294 (c-slow-in-literal, c-fast-in-literal): Remove.
14295 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14296
14297 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14298 being in a literal. Add a limit for backward searching.
14299
14300 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14301 c-slow-in-literal.
14302
15e0efc7
SM
143032011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14306
454592a6
MR
143072011-12-13 Martin Rudalics <rudalics@gmx.at>
14308
14309 * window.el (delete-other-windows): Use correct frame in call to
14310 window-with-parameter.
14311
87393f26
DP
143122011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14313
14314 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14315 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14316 (makefile-gmake-statements, makefile-makepp-statements):
14317 Use it and add new makepp keywords.
14318 (makefile-makepp-font-lock-keywords): Add new patterns.
14319 (makefile-match-function-end): Match new [...] and [[...]].
14320
11636b22
JB
143212011-12-11 Juanma Barranquero <lekktu@gmail.com>
14322
14323 * ses.el (ses-call-printer-return, ses-cell-property-get)
14324 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14325 (ses-create-cell-variable, ses-reset-header-string)
14326 (ses-cell-set-formula, ses-repair-cell-reference-all)
14327 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14328 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14329 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14330 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14331 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14332 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14333 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14334 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14335 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14336 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14337 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14338 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14339
cf018193
VB
143402011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14341
14342 * ses.el: The overall change is to add cell renaming, that is
14343 setting fancy names for cell symbols other than name matching
14344 "\\`[A-Z]+[0-9]+\\'" regexp .
14345 (ses-create-cell-variable): New defun.
14346 (ses-relocate-formula): Relocate formulas only for cells the
14347 symbols of which are not renamed, i.e. symbols whose names do not
14348 match regexp "\\`[A-Z]+[0-9]+\\'".
14349 (ses-relocate-all): Relocate values only for cells the symbols of
14350 which are not renamed.
14351 (ses-load): Create cells variables as the (ses-cell ...) are read,
14352 in order to check row col consistency with cell symbol name only
14353 for cells that are not renamed.
14354 (ses-replace-name-in-formula): New defun.
14355 (ses-rename-cell): New defun.
14356
ee957461
CY
143572011-12-11 Chong Yidong <cyd@gnu.org>
14358
14359 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14360 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14361
9a9e9ef0
MR
143622011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14363
14364 * window.el (other-window): Fix docstring.
14365
92a8eba5
EZ
143662011-12-10 Eli Zaretskii <eliz@gnu.org>
14367
14368 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14369 `from' or `to' address before taking its substring.
14370 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14371 encoded name is chopped in the middle of the encoded string, and
14372 thus displayed encoded.
14373
e152e577
JB
143742011-12-10 Juanma Barranquero <lekktu@gmail.com>
14375
14376 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14377
e5d84bfe
EZ
143782011-12-10 Eli Zaretskii <eliz@gnu.org>
14379
14380 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14381 to use texinfo-update-node and commands that call it if the
14382 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14383 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14384 (texinfo-all-menus-update, texinfo-master-menu)
14385 (texinfo-update-node, texinfo-every-node-update)
14386 (texinfo-multiple-files-update): Doc fix. Warn against updating
14387 all the @node lines.
14388 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14389 argument is numeric. Explain better in the doc string what the
14390 function really does.
14391 (texinfo-insert-master-menu-list): Improve the error message
14392 displayed if there's no menu in the Top node.
14393 (Bug#2975) See also this thread:
e5d84bfe
EZ
14394 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14395
1d84e9bb
MG
143962011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14397
14398 * speedbar.el (speedbar-supported-extension-expressions):
14399 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14400
382c953b
JB
144012011-12-09 Juanma Barranquero <lekktu@gmail.com>
14402
14403 * printing.el (pr-mode-alist):
14404 * simple.el (filter-buffer-substring-functions)
14405 (completion-list-insert-choice-function):
14406 * window.el (window-with-parameter, window-atom-root)
14407 (window-sides-slots, window-size-fixed, window-min-delta)
14408 (window-max-delta, window--resize-mini-window)
14409 (window--resize-child-windows-normal, window-tree)
14410 (delete-other-windows, quit-window, split-window)
14411 (display-buffer-record-window, special-display-buffer-names)
14412 (special-display-regexps, special-display-popup-frame)
14413 (same-window-p, split-window-sensibly)
14414 (display-buffer-overriding-action, display-buffer-alist)
14415 (display-buffer-base-action, display-buffer, switch-to-buffer)
14416 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14417 (fit-window-to-buffer, recenter-positions)
14418 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14419 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14420 and remove unneeded backslashes in docstrings.
14421
39c9faef
SM
144222011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14423
98449af8
SM
14424 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14425
39c9faef
SM
14426 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14427 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14428 end in ".mk".
14429 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14430 when reading the makefile (bug#10116).
14431
86ed9fdc
SM
144322011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14433
14434 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14435 (bug#10116).
14436
5580f89d
GM
144372011-12-06 Glenn Morris <rgm@gnu.org>
14438
14439 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14440
28d3917c
CY
144412011-12-06 Chong Yidong <cyd@gnu.org>
14442
14443 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14444
a98edce9
JB
144452011-12-06 Juanma Barranquero <lekktu@gmail.com>
14446
14447 * textmodes/table.el (table-shorten-cell): Fix typo.
14448
e65adfac
CG
144492011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14450
14451 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14452
71cc0b74
EZ
144532011-12-05 Eli Zaretskii <eliz@gnu.org>
14454
14455 * descr-text.el (describe-char): Fix display of strong
14456 right-to-left characters and directional embeddings and overrides.
14457
14458 * simple.el (what-cursor-position): Fix display of codepoints of
14459 strong right-to-left characters.
14460
315bc30d
CY
144612011-12-05 Chong Yidong <cyd@gnu.org>
14462
14463 * faces.el (read-color): Doc fix.
14464
58a70b94
GM
144652011-12-05 Glenn Morris <rgm@gnu.org>
14466
14467 * align.el (align--set-marker): Add doc-string.
14468 Don't try to move something that is not a marker. (Bug#10216)
14469
5158face
GM
144702011-12-04 Glenn Morris <rgm@gnu.org>
14471
14472 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14473 overly zealous deletion of trailing whitespace.
14474
520fca41
JB
144752011-12-04 Juanma Barranquero <lekktu@gmail.com>
14476
14477 * server.el (server-delete-client): On Windows, do not try to delete
14478 the only terminal.
14479 (server-process-filter): On Windows, treat requests for a tty frame as
14480 if they were for a GUI frame if the running server is in GUI mode.
14481
5e605a2e
GM
144822011-12-03 Glenn Morris <rgm@gnu.org>
14483
14484 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14485
5c3fe83f
SM
144862011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14487
6f5e57e7
SM
14488 * electric.el: Streamline electric-indent's hook.
14489 (electric-indent-chars): Revert to simple list.
14490 (electric-indent-functions): New var.
14491 (electric-indent-post-self-insert-function): Use it.
14492
5c3fe83f
SM
14493 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14494 there's no inferior buffer (bug#10196).
14495 (prolog-consult-compile): Don't use toggle-read-only.
14496
6bdac736
MA
144972011-12-02 Michael Albinus <michael.albinus@gmx.de>
14498
14499 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14500 interrupt. (Bug#10187)
14501
6131ba7f
SM
145022011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14503
99c79fee
SM
14504 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14505 (bug#9160).
14506
6131ba7f
SM
14507 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14508 (bug#10191).
14509
cb0a02ea
JL
145102011-12-02 Juri Linkov <juri@jurta.org>
14511
14512 * info.el (Info-search): Display "end of manual" when Isearch
14513 reaches the end of single-file Info manual. (Bug#9918)
14514
66e0570c
EZ
145152011-12-02 Eli Zaretskii <eliz@gnu.org>
14516
14517 * isearch.el (isearch-message-prefix): Run the input method part
14518 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14519
02b16839
JL
145202011-12-02 Juri Linkov <juri@jurta.org>
14521
14522 * isearch.el (isearch-occur): Use `word-search-regexp' for
14523 `isearch-word'.
14524 (isearch-search-and-update): Add condition for `isearch-word' and
14525 call `word-search-regexp'. (Bug#10145)
14526
0b950688
GM
145272011-12-01 Glenn Morris <rgm@gnu.org>
14528
14529 * eshell/em-hist.el (eshell-hist-initialize):
14530 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14531 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14532
9505c3c7
SM
145332011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14536
1bbe96b2 145372011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14538
a1beca85
SM
14539 * progmodes/verilog-mode.el (verilog-pretty-expr):
14540 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14541 verilog, such as += *= and the like.
14542 (verilog-assignment-operator-re): Regular expression to find the
14543 assigment operator in a verilog assignment.
14544 (verilog-assignment-operation-re): Regular expression to find an
14545 assignment statement for pretty-expr.
14546 (verilog-in-attribute-p): Query returns true if point is in an
14547 attribute context; used to skip these for expression line up from
14548 pretty-expr.
14549 (verilog-in-parameter-p): Query returns true if point is in an
14550 parameter definition context; used to skip these for expression
14551 line up from pretty-expr.
14552 (verilog-in-parenthesis-p): Query returns true if point is in a
14553 parenthetical expression, specifically ( ) but not [ ] or { };
14554 used by pretty-expr.
14555 (verilog-just-one-space): If there is no space, don't add one.
14556 (verilog-get-lineup-indent-2): Specifically skip just attribute
14557 contexts for expression lineup, rather than skipping all
14558 parenthetical expressions.
14559 (verilog-calculate-indent): Fix comment, and fix indent.
14560 (verilog-do-indent): Indent declarations in lists (suggested by
14561 Joachim Lechner).
14562 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14563 skeleton items.
14564 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14565 by Alain Mellan).
14566
1bbe96b2 145672011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14568
14569 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14570 parameters with embedded comments. Reported by Ray Stevens.
14571 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14572 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14573 Reported by Tim Holt.
14574 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14575 instantiated by upper module causing wrong expansion until AUTOed a
14576 second time. Reported by K C Buckenmaier.
14577 (verilog-diff-auto): Fix showing .* as a difference when
14578 `verilog-auto-star-save' off. Reported by Dan Dever.
14579 (verilog-auto-reset, verilog-read-always-signals)
14580 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14581 temporary signals in reset list if
14582 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14583 style to each signal's assignment type, bug381.
14584 Reported by Thomas Esposito.
6288f0ca
WS
14585 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14586 (verilog-uvm-statement-re): Support UVM indentation and
14587 highlighting, with old OVM keywords only.
a1beca85 14588 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14589 Support AUTOTIEOFF creating non-wire data types.
14590 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14591 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14592 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14593 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14594 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14595 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14596 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14597 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14598 non-numeric vector width. Reported by Alex Reed.
14599 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14600 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14601 (verilog-auto-delete-trailing-whitespace):
14602 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14603 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14604 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14605 Fix verilog-scan-cache corruption when running user AUTO expansion
14606 hooks that call indentation routines.
14607 (verilog-simplify-range-expression): Fix typo ignoring lower case
14608 identifiers.
14609 (verilog-delete-auto): Fix delete-autos to also remove user created
14610 automatics, as long as they start with AUTO.
14611 (verilog-batch-diff-auto, verilog-diff-auto)
14612 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14613 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14614 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14615 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14616 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14617 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14618 is disabled and its cache will get corrupt, causing AUTOS not to
14619 expand. Instead use only -quick functions.
14620 (verilog-scan-region): Fix scanning over escaped quotes.
14621 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14622 (verilog-re-search-backward-quick)
14623 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14624 related functions now ignore strings, to fix misparsing of strings
14625 with magic comments embedded in them.
a1beca85
SM
14626 (verilog-read-auto-template):
14627 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14628 Reported by Brad Dobbie.
14629 (verilog-read-auto-template):
14630 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14631 Reported by Brad Dobbie.
6288f0ca
WS
14632 (verilog-auto-inst, verilog-auto-inst-param)
14633 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14634 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14635 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14636 debugging templates without merge conflicts, bug357.
14637 Reported by Brad Dobbie.
14638 (verilog-read-auto-template):
14639 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14640 Reported by Brad Dobbie.
14641 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14642 abbrevs so user won't be asked to save.
14643 (verilog-read-auto-lisp-present): Fix to start at beginning of
14644 buffer in case called outside of verilog-auto.
14645 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14646 to "X-2". Reported by Matthew Myers.
14647 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14648 all inputs from module templates. Reported by Leith Johnson.
14649 (verilog-module-inside-filename-p): Fix locating programs as with
14650 modules.
14651 (verilog-auto-inst-port): Fix vl-width expressions when using
14652 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14653 (verilog-decls-get-regs, verilog-decls-get-signals,
14654 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14655 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14656 verilog-read-decls): Combine reg and wire structures into one var
14657 structure to represent SystemVerilog concepts.
14658 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14659 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14660 (verilog-auto-wire-type, verilog-insert-definition):
14661 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14662 SystemVerilog "logic" keyword instead of "wire"/"reg".
14663 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14664 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14665 ifdef or generate if so there's not a driver conflict).
14666 Reported by Matthew Myers.
14667 (verilog-auto-declare-nettype, verilog-insert-definition):
14668 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14669 `default_nettype none. Reported by Julian Gorfajn.
14670 (verilog-read-always-signals-recurse, verilog-read-decls)
14671 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14672 malformed end statement, bug325. Reported by Joshua Wise and
14673 Andrew Drake.
14674 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14675 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14676 when expanding .* in interfaces, bug320.
14677 Reported by Pierre-David Pfister.
6288f0ca 14678 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14679 name and open parenthesis, bug317.
14680 Reported by Pierre-David Pfister.
6288f0ca
WS
14681 (verilog-simplify-range-expression): Fix simplification of
14682 multiplications inside AUTOWIRE connections, bug303.
14683 (verilog-auto-inst-port): Support parameter expansion in
14684 multidimensional arrays.
14685 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14686 after "assert property". Reported by Julian Gorfajn.
14687 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14688 with multiplication, bug303.
14689 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14690 Reported by Jan Frode Lonnum.
14691
1bbe96b2
GM
146922011-11-30 Juanma Barranquero <lekktu@gmail.com>
14693
14694 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14695 (hfy-shell-file-name, hfy-shell):
14696 * international/fontset.el (x-decompose-font-name): Fix typos.
14697
146982011-11-29 Ken Brown <kbrown@cornell.edu>
14699
14700 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14701 (gdb-version): Remove defvar.
14702 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14703 (gdb-gud-context-command, gdb-non-stop-handler)
14704 (gdb-current-context-command, gdb-stopped): Use it.
14705 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14706 (gdb-non-stop-handler): Don't enable pretty-printing here.
14707 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14708 non-stop mode. Use the following.
14709 (gdb-check-target-async): New defun.
14710 (gud-watch, gdb-stopped): Fix whitespace.
14711 (gdb-get-source-file): Don't try to display the source file if
14712 `gdb-main-file' is nil.
14713
147142011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * align.el: Try to generate fewer markers (bug#10047).
14717 (align--set-marker): New macro.
14718 (align-region): Use it.
14719
c935221f
SM
147202011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14721
14722 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14723
e70b5064
CY
147242011-11-29 Chong Yidong <cyd@gnu.org>
14725
14726 * indent.el (indent-for-tab-command, indent-according-to-mode):
14727 Doc fix.
14728 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14729
f3af92b7
MA
147302011-11-29 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14733 aware of remote file names. (Bug#10124)
14734
ed472be9
CY
147352011-11-29 Chong Yidong <cyd@gnu.org>
14736
14737 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14738
24510c22
SM
147392011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * files.el (find-file): Don't use force-same-window (bug#10144).
14742 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14743 use pop-to-buffer if the selected window can't be used.
14744 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14745
c60c3703
EZ
147462011-11-28 Eli Zaretskii <eliz@gnu.org>
14747
14748 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14749 special-mode-map.
14750
e95def75
CY
147512011-11-28 Chong Yidong <cyd@gnu.org>
14752
14753 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14754
c3f1c606
NR
147552011-11-27 Nick Roberts <nickrob@snap.net.nz>
14756
14757 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14758 gdb-get-source-file-list on gdb-create-source-file-list.
14759
00db469c
EZ
147602011-11-26 Eli Zaretskii <eliz@gnu.org>
14761
14762 * whitespace.el (whitespace-newline): Use a different foreground
14763 color for 16-color light-background displays.
14764
4ad3bc2a
CY
147652011-11-24 Chong Yidong <cyd@gnu.org>
14766
14767 * window.el (display-buffer--special-action): Doc fix.
14768
e9fce1ac
JB
147692011-11-25 Juanma Barranquero <lekktu@gmail.com>
14770
14771 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14772 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14773 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14774 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14775 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14776 (avl-tree-stack-first):
14777 * emacs-lisp/cconv.el (cconv--analyse-use):
14778 * net/gnutls.el (gnutls-negotiate): Fix typos.
14779
cb825e5d
GM
147802011-11-24 Glenn Morris <rgm@gnu.org>
14781
3adbe224
GM
14782 * lpr.el (lpr-windows-system, lpr-lp-system):
14783 * mail/binhex.el (binhex-begin-line):
14784 * progmodes/grep.el (grep-history, grep-find-history):
14785 * textmodes/flyspell.el:
14786 * vc/pcvs-defs.el (cvs-global-menu):
14787 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14788 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14789 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14790
321decc8
GM
14791 * net/tls.el: Fix case of "GnuTLS".
14792
420b63ad
GM
14793 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14794
cb825e5d
GM
14795 * version.el (emacs-build-system): Give it a doc-string.
14796
a0649f08
JL
147972011-11-24 Juri Linkov <juri@jurta.org>
14798
14799 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14800
c0bc0fd4
GM
148012011-11-24 Glenn Morris <rgm@gnu.org>
14802
14803 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14804 if called on a non-mime message just toggle the headers. (Bug#8006)
14805
20db1522
JB
148062011-11-24 Juanma Barranquero <lekktu@gmail.com>
14807
14808 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14809 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14810 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14811 (allout-rebullet-heading, allout-open-sibtopic)
14812 (allout-toggle-current-subtree-encryption)
14813 (allout-toggle-subtree-encryption, allout-encrypt-string)
14814 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14815 (allout-distinctive-bullets-string, allout-auto-activation):
14816 * window.el (window-normalize-buffer-to-display):
14817 * progmodes/verilog-mode.el (verilog-batch-indent):
14818 * textmodes/bibtex.el (bibtex-field-braces-opt)
14819 (bibtex-field-strings-opt):
14820 * vc/cvs-status.el (cvs-tree-merge):
14821 Fix typos.
14822
7262a87c
MA
148232011-11-23 Michael Albinus <michael.albinus@gmx.de>
14824
14825 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14826 `non-essential' to t, in order to avoid remote connections.
14827
283430a1
EZ
148282011-11-23 Eli Zaretskii <eliz@gnu.org>
14829
a1beca85
SM
14830 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14831 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14832 case-insensitively.
14833
d2992a38
ML
148342011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14835
14836 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14837
50419064
GM
148382011-11-23 Glenn Morris <rgm@gnu.org>
14839
da94eca1
GM
14840 * paths.el (rmail-file-name): Reformat the doc-string so that it
14841 is picked up.
14842
9aac4de2
GM
14843 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14844 (rmail-auto-file): Ignore case in the "special" field names,
14845 as mail-fetch-field does for all others.
14846
8038d2d2
GM
14847 * mail/rmail.el (rmail-forward):
14848 * mail/rmailkwd.el (rmail-set-label):
14849 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14850 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14851
f3fe222a
GM
14852 * mail/rmail.el (rmail-current-message): Doc fix.
14853
50419064
GM
14854 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14855
28109f49
SM
148562011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14859
394c65f1
GM
148602011-11-22 Glenn Morris <rgm@gnu.org>
14861
14862 * mail/rmailmm.el (test-rmail-mime-handler)
14863 (test-rmail-mime-bulk-handler)
14864 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14865
f2a0aa3a
JL
148662011-11-21 Juri Linkov <juri@jurta.org>
14867
1154d12e
JB
14868 * calc/calc.el (calc-read-key-sequence):
14869 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14870
9c34a344
LMI
148712011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14872
14873 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14874 Tell the caller that the next line needs recomputation, even
14875 though it doesn't start a sexp (bug#10094).
14876
f04a3be9
SM
148772011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14878
14879 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14880
7978747f
SM
148812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14882
f04a3be9
SM
14883 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14884 Use force-same-window.
7978747f 14885
fe7a3057
JB
148862011-11-20 Juanma Barranquero <lekktu@gmail.com>
14887
14888 * descr-text.el (describe-char-unicode-data):
14889 * json.el (json-string-escape):
14890 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14891 (Footnote-unicode, Footnote-style-p):
14892 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14893
24901d61
CY
148942011-11-20 Chong Yidong <cyd@gnu.org>
14895
14896 * window.el (replace-buffer-in-windows): Restore interactive spec.
14897
bac7ff22
SM
148982011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14899
24f3d7b9
SM
14900 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14901
bac7ff22
SM
14902 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14903 (byte-compile-global-not-obsolete-vars): New var.
14904 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14905 Use it.
14906 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14907
cd1181db
JB
149082011-11-20 Juanma Barranquero <lekktu@gmail.com>
14909
14910 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14911 * progmodes/pascal.el (electric-pascal-equal):
14912 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14913 * xml.el (xml-substitute-special): Fix typos.
14914
7fb18e9e
GM
149152011-11-20 Glenn Morris <rgm@gnu.org>
14916
14917 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14918 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14919 Doc fixes.
14920 (rmail-decode-mime-charset): Mark as obsolete.
14921
14922 * mail/rmailsum.el (rmail-message-regexp-p-1):
14923 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14924 Before using mime functions, check they are set. (Bug#10077)
14925
d5a6b3ba
JL
149262011-11-19 Juri Linkov <juri@jurta.org>
14927
14928 * info.el (Info-finder-find-node): Use `package--builtins' instead
14929 of `package-alist'. Use node names formed by the pattern "Keyword "
14930 and the keyword name.
14931
e981b61f
AS
149322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14933
1d00653d 14934 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14935
3ffbc301
JL
149362011-11-19 Juri Linkov <juri@jurta.org>
14937
14938 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14939 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14940 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14941 `old-history', `old-history-forward'. Add let-binding
14942 `window-selected'. Remove calls to `kill-buffer',
14943 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14944 before calling `Info-find-node', so `Info-find-node-2' will reread
14945 the Info file. Restore window positions only when `window-selected'
14946 is non-nil.
14947
30c62133
JL
149482011-11-19 Juri Linkov <juri@jurta.org>
14949
14950 * isearch.el (isearch-lazy-highlight-new-loop):
14951 Remove condition `(not isearch-error)'. (Bug#9918)
14952
14953 * misearch.el (multi-isearch-search-fun): Add condition
14954 `(not bound)' to ignore lazy-highlighting search.
14955 Add the search-failed message "end of multi" when the end of
14956 multi-sequence is reached. Uncapitalize the search-failed
14957 message "Repeat for next buffer".
14958
14959 * info.el (Info-search): Add the search-failed message
14960 "end of the manual" when the end of the manual is reached
14961 in Isearch mode.
14962
645ca9cf
JL
149632011-11-19 Juri Linkov <juri@jurta.org>
14964
14965 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14966 Use non-destructive `remove' instead of `delete' because
14967 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14968 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14969
df754f66
JL
149702011-11-19 Juri Linkov <juri@jurta.org>
14971
14972 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14973 to nil instead of binding `search-ring' and `regexp-search-ring'.
14974 (Bug#9185)
14975
0e23d96a
EZ
149762011-11-19 Eli Zaretskii <eliz@gnu.org>
14977
14978 * simple.el (line-move): Force movement by logical lines for any
14979 hscrolled window, not only when auto-hscroll-mode is on.
14980 (line-move-visual): Update doc string to that effect. (Bug#10076)
14981
8a6ccb66
AS
149822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14983
14984 * language/european.el (macintosh): Define as alias for mac-roman.
14985
49ae5b39
EZ
149862011-11-19 Eli Zaretskii <eliz@gnu.org>
14987
14988 * mail/rmailmm.el (rmail-mime-display-header)
14989 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14990 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14991 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14992 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14993 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14994 of a raw aref.
14995 (rmail-mime-entity-segment): To get past the tagline, move forward
14996 2 more lines, to account for the 2 empty lines that precede and
14997 follow the line with the buttons.
14998 (rmail-mime-update-tagline): Move one more line, to get past the
14999 empty line that follows the buttons in the tagline. (Bug#9520)
15000
c56cad4a
MR
150012011-11-19 Martin Rudalics <rudalics@gmx.at>
15002
15003 * window.el (window-max-delta-1, window-min-delta-1)
15004 (window-min-size-1, window-state-get-1, window-state-put-1)
15005 (window-state-put-2): Use "window--" prefix.
15006
cbe71af3
SM
150072011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15008
2ad52c60
SM
15009 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15010 (smie-warning-count): New var.
15011 (smie-set-prec2tab): Use it.
15012 (smie-bnf->prec2): Improve warnings. Add docstring.
15013 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15014 (smie-bnf--set-class): New function.
15015 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15016 corner case.
15017
6944dbc1
SM
15018 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15019 (compilation-error-properties, compilation-move-to-column):
15020 Handle compilation-first-column while in the target buffer.
15021
c400c4d7
SM
15022 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15023 Don't hardcode point-min==1.
15024
6dbe3e96
SM
15025 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15026 (eshell-rewrite-for-command): Remove workaround.
15027 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15028 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15029 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15030
cbe71af3
SM
15031 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15032
a8e1496d
GM
150332011-11-17 Glenn Morris <rgm@gnu.org>
15034
15035 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15036 Ignore buffer-local generated-autoload-file if it is the same
15037 as the global value. (Bug#10049)
15038
df85d315
JB
150392011-11-17 Juanma Barranquero <lekktu@gmail.com>
15040
15041 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15042 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15043 (reftex-toc-previous-heading, reftex-toc-max-level)
15044 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15045 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15046 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15047 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15048 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15049 (reftex-toc-rename-label, reftex-toc-visit-location)
15050 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15051 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15052 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15053 leaving "*toc*" only for references to the buffer.
15054
a0c2d0ae
MR
150552011-11-17 Martin Rudalics <rudalics@gmx.at>
15056
15057 * window.el (window-resize, delete-window, split-window):
15058 Replace window-splits by window-combination-resize.
1d00653d 15059 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15060
35c0bac8
GM
150612011-11-17 Glenn Morris <rgm@gnu.org>
15062
15063 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15064 Make bash entry derive from sh entry, not shell entry.
15065
d0c8fc8a
MA
150662011-11-16 Michael Albinus <michael.albinus@gmx.de>
15067
7262a87c
MA
15068 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15069 local file name.
15070
7877f373
JB
150712011-11-16 Juanma Barranquero <lekktu@gmail.com>
15072
15073 * menu-bar.el (menu-bar-file-menu):
15074 * printing.el (pr-ps-utility):
15075 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15076 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15077 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15078 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15079 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15080 (icalendar--convert-cyclic-to-ical)
15081 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15082 (icalendar--convert-ical-to-diary)
15083 (icalendar--convert-recurring-to-diary)
15084 (icalendar--convert-non-recurring-all-day-to-diary)
15085 (icalendar-import-format-sample):
15086 * progmodes/idlw-shell.el (idlwave-shell-mode):
15087 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15088 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15089 (vhdl-ps-print-init): Fix typos.
15090
10649b82
KM
150912011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15092
9d0cfcd6
GM
15093 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15094 FSF and collapse date sequence, obscure author/maintainer email address
15095 better, remove extra version line, track relocation of author's webpage.
10649b82 15096
9d0cfcd6
GM
15097 * progmodes/python.el (python-pdbtrack-input-prompt)
15098 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15099 regular python pdb prompts. Adjustments shamelessly taken exactly as
15100 suggested in EmacsWiki page (tiny change):
15101 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15102
58179cce
JB
151032011-11-16 Juanma Barranquero <lekktu@gmail.com>
15104
15105 * expand.el (expand-pos, expand-index, expand-point):
15106 Remove redundant info from docstring.
15107 (expand-add-abbrevs): Doc fix.
15108 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15109 (expand-sample-perl-mode-expand-list): Fix typos.
15110
15111 * net/dbus.el (dbus-event-member-name):
15112 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15113 * term/pc-win.el (msdos-create-frame-with-faces):
15114 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15115
b6f67890
MR
151162011-11-16 Martin Rudalics <rudalics@gmx.at>
15117
15118 * window.el (split-window, window-state-get-1)
15119 (window-state-put-1, window-state-put-2): Rename occurrences of
15120 window-nest to window-combination-limit.
1d00653d 15121 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15122
ce7ddba0
CY
151232011-11-16 Chong Yidong <cyd@gnu.org>
15124
15125 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15126 regexp (Bug#10033).
15127
3ae704f4
SM
151282011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15129
15130 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15131 `completing-read' will remove *Completions* and will preserve
15132 current-buffer for us.
15133 (tmm-add-prompt): Users of *Completions* will always (re)set its
15134 major mode.
15135 (tmm-old-comp-map): Remove.
15136
6ad1cdde
GM
151372011-11-16 Glenn Morris <rgm@gnu.org>
15138
15139 * mail/rmailedit.el: Require rmailmm when compiling.
15140 (rmail-old-mime-state): New declaration.
15141 (rmail-edit-current-message): If editing a mime message,
15142 edit the "raw" message from the mbox buffer.
15143 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15144
d20faa20
GM
151452011-11-15 Glenn Morris <rgm@gnu.org>
15146
15147 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15148 which wasn't being used. Add optional arg to force given state.
15149 (rmail-mime): Add optional arg to force given state.
15150
c7015153
JB
151512011-11-15 Juanma Barranquero <lekktu@gmail.com>
15152
15153 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15154 * frame.el (display-mm-dimensions-alist):
15155 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15156 (outline-move-subtree-down):
15157 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15158 (newsticker--treeview-do-get-node):
15159 * net/quickurl.el (quickurl-list-buffer-name):
15160 * progmodes/dcl-mode.el (dcl-mode):
15161 * progmodes/gdb-mi.el (gdb-mapcar*):
15162 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15163
45261b50
GM
151642011-11-15 Glenn Morris <rgm@gnu.org>
15165
15166 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15167 in a boolean sense, so just make it a boolean, and fix the doc.
15168 (rmail-show-mime-function, rmail-mime-feature)
15169 (rmail-require-mime-maybe): Doc fixes.
15170 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15171
15172 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15173
0d26e0b6
JB
151742011-11-15 Juanma Barranquero <lekktu@gmail.com>
15175
15176 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15177 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15178 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15179 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15180
447f30f6
GM
151812011-11-15 Glenn Morris <rgm@gnu.org>
15182
672b871d
GM
15183 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15184 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15185 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15186 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15187 (rmail-mime, rmail-show-mime): Doc fixes.
15188
f6aa5bb1
GM
15189 * term/ns-win.el (mode-line-frame-identification):
15190 Leave it alone. (Bug#10051)
15191
947cd66b
GM
15192 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15193
447f30f6
GM
15194 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15195 Handle empty buffers. (Bug#9978)
15196
0b381c7e
JB
151972011-11-14 Juanma Barranquero <lekktu@gmail.com>
15198
15199 * international/mule.el (define-charset):
15200 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15201 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15202 * progmodes/verilog-mode.el (verilog-backward-token):
15203 * textmodes/ispell.el (lookup-words):
15204 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15205
71e027ac
GM
152062011-11-14 Glenn Morris <rgm@gnu.org>
15207
56632ce4
GM
15208 * progmodes/executable.el
15209 (executable-make-buffer-file-executable-if-script-p):
15210 Handle file-modes returning nil.
15211
40500957
GM
15212 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15213 message - not necessary, and causes problems. (Bug#9831)
15214
071c2340
GM
15215 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15216
d3cfca60
GM
15217 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15218
71e027ac
GM
15219 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15220 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15221 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15222
89d61221
MR
152232011-11-12 Martin Rudalics <rudalics@gmx.at>
15224
15225 * window.el (window-resize, delete-window): Use window-splits
15226 variable instead of function.
15227 (window-state-get-1, window-state-put-2, window-state-put):
15228 Don't deal with windows' splits status.
15229
98282f6f
GM
152302011-11-12 Glenn Morris <rgm@gnu.org>
15231
15232 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15233 (apropos-documentation): Doc fixes.
15234
40a8bdf6
JB
152352011-11-11 Juanma Barranquero <lekktu@gmail.com>
15236
15237 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15238 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15239
65bd19ff
SM
152402011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15241
15242 * electric.el (electric-indent-post-self-insert-function): Make it
15243 possible for a char to only indent in some circumstances.
15244 (electric-indent-mode): Simplify.
15245
54f9154c
MR
152462011-11-11 Martin Rudalics <rudalics@gmx.at>
15247
15248 * window.el (windows-with-parameter): Remove unused function.
15249 (windows-at-side): Rename to window-at-side-list.
15250 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15251 (window-side-check, window-size-ignore, window-size-fixed-1)
15252 (window-in-direction-2): Prefix with "window--".
15253 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15254
68cbc58b
GM
152552011-11-11 Glenn Morris <rgm@gnu.org>
15256
15257 * subr.el (eval-after-load): If FILE is already loaded,
15258 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15259
b2621720
GM
152602011-11-10 Glenn Morris <rgm@gnu.org>
15261
9a4de110
GM
15262 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15263 Call svn via vc-svn-command rather than vc-do-command.
15264 (vc-svn-command): Add --non-interactive. (Bug#9993)
15265 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15266
b2621720
GM
15267 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15268 Add toggle-read-only. (Bug#7292)
15269 * files.el (toggle-read-only): Mention that it should only
15270 be used interactively. (Bug#10006)
15271
1dce7193
SM
152722011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15273
d9ac1a1e
SM
15274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15275 Adjust regexp for OCaml warnings.
15276
0c325082
SM
15277 * electric.el (electric-pair-post-self-insert-function): Let user
15278 turn it off buffer-locally (bug#9932).
15279
90132c14
SM
15280 * progmodes/python.el (python-beginning-of-statement):
15281 Rewrite (bug#2703).
15282
1dce7193
SM
15283 * progmodes/compile.el: Better handle TABs (bug#9749).
15284 (compilation-internal-error-properties)
15285 (compilation-next-error-function): Obey the target buffer's
15286 compilation-error-screen-columns.
15287
c4e7c63a
JB
152882011-11-09 Juanma Barranquero <lekktu@gmail.com>
15289
15290 * progmodes/meta-mode.el: Remove obsolete comments.
15291 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15292 Fix typos in docstrings.
15293
2cffd681
MR
152942011-11-09 Martin Rudalics <rudalics@gmx.at>
15295
15296 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15297 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15298 (window--resizable): New function. Make all callers of
15299 window-resizable call window--resizable instead.
15300 (window-resizable): Rewrite in terms of window--resizable.
15301
0edcba87
GM
153022011-11-08 Glenn Morris <rgm@gnu.org>
15303
15304 * progmodes/delphi.el (delphi-mode-syntax-table):
15305 Let define-derived-mode define a proper syntax table. (Bug#9994)
15306
4b0d61e3
SM
153072011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15308
15309 * window.el: Stay away from defsubst.
15310 (window-list-no-nils): Remove.
15311 (window-state-get-1, window-state-get): Use backquote instead.
15312
cd394be1 153132011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15314
4b0d61e3 15315 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15316 Fix incorrect use of default argument in `completing-read'.
15317
e1c2c6f2
MR
153182011-11-08 Martin Rudalics <rudalics@gmx.at>
15319
15320 * window.el (display-buffer-function, special-display-function):
15321 Mention display-buffer-record-window but do not mention
15322 help-setup parameter in doc-strings.
b3f4a882 15323 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15324
105216ed
CY
153252011-11-08 Chong Yidong <cyd@gnu.org>
15326
15327 * window.el (window-total-height, window-total-width): Doc fix.
15328 (window-body-size): Move from C.
15329 (window-body-height, window-body-width): Move to C.
15330
0a9f9ab5
SM
153312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * window.el: Make special-display like display-buffer-alist (bug#9532).
15334 (display-buffer--special-action): New function, morphed
15335 from display-buffer--special.
15336 (display-buffer): Use it to handle special-display-buffers at higher
15337 priority (just after display-buffer-alist).
15338 (display-buffer-fallback-action, display-buffer--other-frame-action)
15339 (pop-to-buffer-same-window): Remove display-buffer--special.
15340
a769dd15
GM
153412011-11-07 Glenn Morris <rgm@gnu.org>
15342
15343 * calendar/cal-menu.el (cal-menu-set-date-title):
15344 Do nothing if not in a calendar. (Bug#9976)
15345
05a61ee3
SM
153462011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * files.el (find-file): Always use selected-window.
15349
be7f5545
MR
153502011-11-07 Martin Rudalics <rudalics@gmx.at>
15351
15352 * window.el (window-combinations): Make WINDOW argument
15353 mandatory. Rewrite doc-string.
15354 (walk-window-subtree, window-atom-check, window-min-delta)
15355 (window-max-delta, window--resize-this-window)
15356 (window--resize-root-window-vertically, window-tree)
15357 (balance-windows, window-state-put): Rewrite doc-strings as to
15358 not mention the term "subwindow".
15359 (window--resize-subwindows-skip-p): Rename to
15360 window--resize-child-windows-skip-p.
15361 (window--resize-subwindows-normal): Rename to
15362 window--resize-child-windows-normal.
15363 (window--resize-subwindows): Rename to
15364 window--resize-child-windows.
15365 (window-or-subwindow-p): Rename to window--in-subtree-p.
15366
3c6702ef
ML
153672011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15368
15369 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15370 Ensure that mbox format messages end in two newlines (Bug#9974).
15371
49745b39
CY
153722011-11-06 Chong Yidong <cyd@gnu.org>
15373
15374 * window.el (window-combination-p): Function deleted; its
15375 side-effect is not used in any existing code.
15376 (window-combinations, window-combined-p): Call window-*-child
15377 directly.
15378
24300f5f
CY
153792011-11-05 Chong Yidong <cyd@gnu.org>
15380
15381 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15382 (window-size-ignore, window-state-get): Callers changed.
15383 (window-normalize-window): Rename from window-normalize-any-window.
15384 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15385 (window-normalize-live-window): Delete.
447f16b8
CY
15386 (window-combination-p, window-combined-p, window-combinations)
15387 (walk-window-subtree, window-atom-root, window-min-size)
15388 (window-sizable, window-sizable-p, window-size-fixed-p)
15389 (window-min-delta, window-max-delta, window-resizable)
15390 (window-resizable-p, window-full-height-p, window-full-width-p)
15391 (window-current-scroll-bars, window-point-1, set-window-point-1)
15392 (window-at-side-p, window-in-direction, window-resize)
15393 (adjust-window-trailing-edge, maximize-window, minimize-window)
15394 (window-deletable-p, delete-window, delete-other-windows)
15395 (record-window-buffer, unrecord-window-buffer)
15396 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15397 (quit-window, split-window, window-state-put)
15398 (set-window-text-height, fit-window-to-buffer)
15399 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15400
89bd5ee1
EZ
154012011-11-04 Eli Zaretskii <eliz@gnu.org>
15402
53479029
EZ
15403 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15404 rfc2047-decode-string.
15405 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15406 warnings.
15407
89bd5ee1
EZ
15408 * window.el (window-body-height, window-body-width): Mention in
15409 the doc string that the return values are in frame's canonical
15410 units. (Bug#9949)
15411
bd17fdee
AM
154122011-11-03 Alan Mackenzie <acm@muc.de>
15413
15414 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15415 change in cc-engine.el.
15416
acc825c5
SM
154172011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15418
15419 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15420
1885e5b8
MR
154212011-11-02 Martin Rudalics <rudalics@gmx.at>
15422
15423 * window.el (quit-window): Call unrecord-window-buffer after
15424 showing another buffer in the window. (Bug#9937)
acc825c5 15425 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15426
ebe06da9
JB
154272011-11-02 Juanma Barranquero <lekktu@gmail.com>
15428
15429 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15430 Accept status with more than 9 shelves. (Bug#9935)
15431 Reported by Colin D Bennett <colin@gibibit.com>.
15432
4ee88440
MR
154332011-11-01 Martin Rudalics <rudalics@gmx.at>
15434
15435 * help.el (with-help-window): Don't reference
15436 temp-buffer-show-specifiers in doc-string.
15437
08e1d82c
AS
154382011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15439
15440 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15441 menu-item.
15442
84bd6e9e
VJL
154432011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15444
15445 * whitespace.el: New version 13.2.2.
15446 (whitespace-newline-mode): Disable properly. Reported by Sarah
15447 <EmacsWiki>.
15448
dba0634a
UJ
154492011-10-30 Ulf Jasper <ulf.jasper@web.de>
15450
15451 * net/newst-treeview.el: Remove "Time-stamp".
15452 (newsticker--group-manage-orphan-feeds): Do not call
15453 newsticker--treeview-tree-update.
db22a3c2
JB
15454 (newsticker-treeview-update, newsticker-treeview):
15455 Call newsticker--treeview-tree-update if necessary.
dba0634a 15456
3d8daefe
MR
154572011-10-30 Martin Rudalics <rudalics@gmx.at>
15458
15459 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15460 (window-iso-combinations): Remove "iso-" infix.
15461 Suggested by Chong Yidong.
3d8daefe
MR
15462 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15463 (window-max-delta-1, window-resize, window--resize-siblings)
15464 (window--resize-this-window, adjust-window-trailing-edge)
15465 (split-window, balance-windows-1)
15466 (shrink-window-if-larger-than-buffer):
15467 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15468 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15469
1bc4c3ae
SM
154702011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15473 in place (bug#9907).
15474 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15475 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15476 (eshell-structure-basic-command, eshell-rewrite-while-command)
15477 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15478 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15479 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15480 (eshell-do-pipelines-synchronously, eshell-eval-command):
15481 Use backquotes and prefer setq to set.
15482 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15483 (eshell-macrop): Use functionp.
c1e2f5fa 15484 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15485
30b65d9c
CY
154862011-10-30 Chong Yidong <cyd@gnu.org>
15487
15488 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15489 instead of set-mark (Bug#9810).
15490
2d197ffb
CY
154912011-10-30 Chong Yidong <cyd@gnu.org>
15492
15493 * window.el (split-window-below, split-window-right): Rename from
15494 split-window-above-each-other and split-window-side-by-side
15495 respectively. All callers changed.
15496 (split-window-sensibly, split-window-sensibly): Use them.
15497 (split-window-keep-point): Doc fix.
15498
15499 * isearch.el: Add isearch-scroll property to split-window-below
15500 and split-window-right.
15501
15502 * follow.el (follow-mode):
15503 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15504 * progmodes/ada-xref.el (ada-gdb-application):
15505 * emulation/vip.el (vip-buffer-in-two-windows):
15506 * image-dired.el (image-dired-dired-with-window-configuration):
15507 * dired-x.el (dired-do-find-marked-files):
15508 * dired.el (dired-pop-to-buffer):
15509 * bs.el (bs--show-with-configuration):
15510 * vc/emerge.el (emerge-setup-windows):
15511 * textmodes/two-column.el (2C-two-columns):
15512 * textmodes/reftex-toc.el (reftex-toc):
15513 * progmodes/gdb-mi.el (gdb-setup-windows):
15514 * progmodes/fortran.el (fortran-window-create):
15515 * net/newst-treeview.el (newsticker--treeview-window-init):
15516 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15517 * emulation/tpu-edt.el (tpu-gold-map):
15518 * emulation/crisp.el (crisp-mode-map):
15519 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15520
38bb2ca8
CY
155212011-10-29 Chong Yidong <cyd@gnu.org>
15522
aa4de341
CY
15523 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15524
e1eb5385
CY
15525 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15526
5d2ece3c
CY
15527 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15528 forged Ispell output (Bug#7904).
15529
38bb2ca8
CY
15530 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15531
d0af9f77
SM
155322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * doc-view.el: Avoid ugly errors about not finding nil.
15535 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15536 (doc-view-dvipdf-program, doc-view-unoconv-program)
15537 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15538 Avoid nil or absolute file name as default value.
15539 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15540
52bedd34
AM
155412011-10-28 Alan Mackenzie <acm@muc.de>
15542
db22a3c2 15543 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15544
7e43cfa5
AM
155452011-10-28 Alan Mackenzie <acm@muc.de>
15546
15547 Amend the handling of c-beginning/end-of-defun in nested declaration
15548 scopes.
15549
52bedd34
AM
15550 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15551 cc-langs.el. Change it to a defcustom.
7e43cfa5 15552
52bedd34
AM
15553 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15554 cc-vars.el.
7e43cfa5 15555
d0af9f77
SM
15556 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15557 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15558
52bedd34 15559 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15560 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15561 (c-widen-to-enclosing-decl-scope): New function.
15562 (c-while-widening-to-decl-block): New macro.
15563 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15564 outward for defun boundaries, and correspondingly change symbol
15565 `respect-enclosure' to `go-outward'.
15566 (c-declaration-limits): Change algorithm to report only the "innermost"
15567 defun's boundaries.
15568
1a2ce9ee
DD
155692011-10-28 Deniz Dogan <deniz@dogan.se>
15570
15571 * net/rcirc.el (rcirc-mode): Use hard newlines.
15572
bc97a826
AM
155732011-10-28 Alan Mackenzie <acm@muc.de>
15574
15575 Amend to indent and fontify macros "which include their own semicolon"
15576 correctly, using the "virtual semicolon" mechanism.
15577
52bedd34 15578 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15579
d0af9f77 15580 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15581 Recode to scan one line at a time rather than having \n and \r
58179cce 15582 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15583 (c-forward-label): Amend for virtual semicolons.
58179cce 15584 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15585
52bedd34
AM
15586 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15587 of the new C macros.
bc97a826 15588
52bedd34 15589 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15590 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15591 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15592 (c-opt-cpp-macro-define): Make into a full language variable.
15593 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15594 AWK Mode (including \n, \r) removed, no longer needed.
15595
d0af9f77
SM
15596 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15597 Invoke c-make-macro-with-semi-re.
bc97a826 15598
52bedd34
AM
15599 * progmodes/cc-vars.el (c-macro-with-semi-re):
15600 (c-macro-names-with-semicolon): New variables.
58179cce 15601 (c-make-macro-with-semi-re): New function.
bc97a826 15602
7a6c0941
SM
156032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * vc/log-edit.el: Fill empty field rather than adding new one.
15606 (log-edit-add-field): New function.
15607 (log-edit-insert-changelog): Use it.
15608
b0c4cdcf
ML
156092011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15610
15611 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15612
ee1f1da9
SM
156132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15616 (gdb--check-interpreter): New function.
15617 (gdb): Use it.
15618
51bc5f8b
GM
156192011-10-27 Glenn Morris <rgm@gnu.org>
15620
416a2c45
GM
15621 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15622 (least-positive-float, least-negative-float)
15623 (least-positive-normalized-float, least-negative-normalized-float)
15624 (float-epsilon, float-negative-epsilon):
15625 Remove unnecessary declarations.
15626
15627 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15628 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15629 (least-positive-float, least-negative-float)
15630 (least-positive-normalized-float, least-negative-normalized-float)
15631 (float-epsilon, float-negative-epsilon): Add doc-strings,
15632 based on those in cl.texi.
15633
51bc5f8b
GM
15634 * files.el (set-visited-file-name): If the major-mode changed,
15635 reload the local variables. (Bug#9796)
15636
15de15c6
CY
156372011-10-27 Chong Yidong <cyd@gnu.org>
15638
15639 * subr.el (change-major-mode-after-body-hook): New hook.
15640 (run-mode-hooks): Run it.
15641
ee1f1da9
SM
15642 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15643 Use change-major-mode-before-body-hook.
15de15c6
CY
15644
15645 * simple.el (fundamental-mode):
15646 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15647 change introducing fundamental-mode-hook.
15648
5430d399
JB
156492011-10-26 Juanma Barranquero <lekktu@gmail.com>
15650
acc825c5 15651 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15652
ad74a69e
MA
156532011-10-26 Michael Albinus <michael.albinus@gmx.de>
15654
15655 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15656 tramp.el explicitly. (Bug#7583)
ad74a69e 15657
71d4c2a5
SM
156582011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15659
15660 * progmodes/octave-mod.el:
15661 * progmodes/octave-inf.el: Update maintainer.
15662
b1f6fa26
CY
156632011-10-26 Chong Yidong <cyd@gnu.org>
15664
15665 * subr.el (with-wrapper-hook): Rewrite doc.
15666
3f04efd6
MA
156672011-10-25 Michael Albinus <michael.albinus@gmx.de>
15668
15669 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15670 filenames "/method:foo:". (Bug#9793)
3f04efd6 15671
410488d3
SM
156722011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15675 (bug#9865).
15676
c1ebb47e
GM
156772011-10-24 Glenn Morris <rgm@gnu.org>
15678
15679 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15680
7f5c46c7
MA
156812011-10-24 Michael Albinus <michael.albinus@gmx.de>
15682
15683 * notifications.el: Add the requirement of a running D-Bus session
15684 bus to the Commentary.
15685
db2440b6
JL
156862011-10-24 Juri Linkov <juri@jurta.org>
15687
15688 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15689 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15690 (Bug#9364)
15691
feecf435
JL
156922011-10-24 Juri Linkov <juri@jurta.org>
15693
15694 * info.el (Info-following-node-name-re): Add newline to the list
15695 of allowed characters for leading space. (Bug#9824)
15696
a3839de2
SM
156972011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15698
acc825c5
SM
15699 * progmodes/octave-inf.el (inferior-octave-mode-map):
15700 Fix C-c C-h binding.
a3839de2
SM
15701 * progmodes/octave-mod.el (octave-help): Remove.
15702
09388e76
MA
157032011-10-23 Michael Albinus <michael.albinus@gmx.de>
15704
15705 Sync with Tramp 2.2.3.
15706
15707 * net/tramp-cache.el (top): Pacify byte-compiler using
15708 `init-file-user' and `site-run-file'.
15709
15710 * net/trampver.el: Update release number.
15711
86c60681
CY
157122011-10-23 Chong Yidong <cyd@gnu.org>
15713
15714 * files.el (toggle-read-only): Remove obsolete comment about
15715 version control.
15716
15717 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15718 for toggle-read-only. Note that this hasn't called vc-next-action
15719 since 2008-05-02, though it wasn't documented at the time.
15720
a3839de2
SM
15721 * vc/ediff-init.el (ediff-toggle-read-only-function):
15722 Use toggle-read-only.
86c60681 15723
cd5495ff
AM
157242011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15725
15726 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15727 of c-parse-state.
15728
00b77525 15729 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15730 correct faulty logical expression.
cd5495ff
AM
15731 (c-parse-state-state, c-record-parse-state-state):
15732 (c-replay-parse-state-state): New defvar/defuns.
15733 (c-debug-parse-state): Use new functions.
15734
42ee24ed
MR
157352011-10-22 Martin Rudalics <rudalics@gmx.at>
15736
15737 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15738 last fix. Use window-in-direction correctly.
42ee24ed 15739
a7dee7e7
CY
157402011-10-21 Chong Yidong <cyd@gnu.org>
15741
15742 * progmodes/idlwave.el (idlwave-mode):
15743 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15744 require-final-newline; that's done in prog-mode.
15745 Suggested by Stefan Monnier.
a7dee7e7 15746
e07b9a6d
MR
157472011-10-21 Martin Rudalics <rudalics@gmx.at>
15748
15749 * mouse.el (mouse-drag-window-above)
15750 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15751 (mouse-drag-mode-line-1, mouse-drag-header-line)
15752 (mouse-drag-vertical-line-rightward-window): Remove.
15753 (mouse-drag-line): New function.
15754 (mouse-drag-mode-line, mouse-drag-header-line)
15755 (mouse-drag-vertical-line): Call mouse-drag-line.
15756 * window.el (window-at-side-p, windows-at-side): New functions.
15757
7e1361d9
UM
157582011-10-21 Ulrich Mueller <ulm@gentoo.org>
15759
15760 * tar-mode.el (tar-grind-file-mode):
15761 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15762
30fcaf3a
CY
157632011-10-21 Chong Yidong <cyd@gnu.org>
15764
15765 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15766 * progmodes/vera-mode.el (vera-mode):
15767 Use mode-require-final-newline.
30fcaf3a 15768
516eddb0
GM
157692011-10-20 Glenn Morris <rgm@gnu.org>
15770
db22a3c2 15771 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15772
10d5f513
CS
157732011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15774
15775 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15776
ac6c8639
CY
157772011-10-20 Chong Yidong <cyd@gnu.org>
15778
15779 * emulation/cua-base.el (cua-mode):
15780 * mail/footnote.el (footnote-mode):
15781 * mail/mailabbrev.el (mail-abbrevs-mode):
15782 * net/xesam.el (xesam-minor-mode):
15783 * progmodes/bug-reference.el (bug-reference-mode):
15784 * progmodes/cap-words.el (capitalized-words-mode):
15785 * progmodes/compile.el (compilation-minor-mode)
15786 (compilation-shell-minor-mode):
15787 * progmodes/gud.el (gud-tooltip-mode):
15788 * progmodes/hideif.el (hide-ifdef-mode):
15789 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15790 * progmodes/subword.el (subword-mode):
15791 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15792 * progmodes/which-func.el (which-function-mode):
15793 * term/tvi970.el (tvi970-set-keypad-mode):
15794 * term/vt100.el (vt100-wide-mode):
15795 * textmodes/flyspell.el (flyspell-mode):
15796 * textmodes/ispell.el (ispell-minor-mode):
15797 * textmodes/nroff-mode.el (nroff-electric-mode):
15798 * textmodes/paragraphs.el (use-hard-newlines):
15799 * textmodes/refill.el (refill-mode):
15800 * textmodes/reftex.el (reftex-mode):
15801 * textmodes/rst.el (rst-minor-mode):
15802 * textmodes/sgml-mode.el (html-autoview-mode)
15803 (sgml-electric-tag-pair-mode):
15804 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15805 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15806 * emulation/crisp.el (crisp-mode):
15807 * emacs-lisp/eldoc.el (eldoc-mode):
15808 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15809 minor mode behavior.
15810
aa42ab43
JL
158112011-10-19 Juri Linkov <juri@jurta.org>
15812
15813 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15814 the list of hard-coded chars with escape-glyph face.
15815
89400f1d
SM
158162011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15819
305c07f6
MA
158202011-10-19 Michael Albinus <michael.albinus@gmx.de>
15821
15822 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15823 running process.
15824
13754b54
GM
158252011-10-19 Glenn Morris <rgm@gnu.org>
15826
15827 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15828 Ignore ignored files. (Bug#9726)
15829
06e21633
CY
158302011-10-19 Chong Yidong <cyd@gnu.org>
15831
15832 Doc fix for minor modes, stating that an omitted argument enables
15833 the mode unconditionally when called from Lisp.
15834
15835 * abbrev.el (abbrev-mode):
15836 * allout.el (allout-mode):
15837 * autoinsert.el (auto-insert-mode):
15838 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15839 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15840 (global-auto-revert-mode):
15841 * battery.el (display-battery-mode):
15842 * composite.el (global-auto-composition-mode)
15843 (auto-composition-mode):
15844 * delsel.el (delete-selection-mode):
15845 * desktop.el (desktop-save-mode):
15846 * dired-x.el (dired-omit-mode):
15847 * dirtrack.el (dirtrack-mode):
15848 * doc-view.el (doc-view-minor-mode):
15849 * double.el (double-mode):
15850 * electric.el (electric-indent-mode, electric-pair-mode):
15851 * emacs-lock.el (emacs-lock-mode):
15852 * epa-hook.el (auto-encryption-mode):
15853 * follow.el (follow-mode):
15854 * font-core.el (font-lock-mode):
15855 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15856 * help.el (temp-buffer-resize-mode):
15857 * hilit-chg.el (highlight-changes-mode)
15858 (highlight-changes-visible-mode):
15859 * hi-lock.el (hi-lock-mode):
15860 * hl-line.el (hl-line-mode, global-hl-line-mode):
15861 * icomplete.el (icomplete-mode):
15862 * ido.el (ido-everywhere):
15863 * image-file.el (auto-image-file-mode):
15864 * image-mode.el (image-minor-mode):
15865 * iswitchb.el (iswitchb-mode):
15866 * jka-cmpr-hook.el (auto-compression-mode):
15867 * linum.el (linum-mode):
15868 * longlines.el (longlines-mode):
15869 * master.el (master-mode):
15870 * mb-depth.el (minibuffer-depth-indicate-mode):
15871 * menu-bar.el (menu-bar-mode):
15872 * minibuf-eldef.el (minibuffer-electric-default-mode):
15873 * mouse-sel.el (mouse-sel-mode):
15874 * msb.el (msb-mode):
15875 * mwheel.el (mouse-wheel-mode):
15876 * outline.el (outline-minor-mode):
15877 * paren.el (show-paren-mode):
15878 * recentf.el (recentf-mode):
15879 * reveal.el (reveal-mode, global-reveal-mode):
15880 * rfn-eshadow.el (file-name-shadow-mode):
15881 * ruler-mode.el (ruler-mode):
15882 * savehist.el (savehist-mode):
15883 * scroll-all.el (scroll-all-mode):
15884 * scroll-bar.el (scroll-bar-mode):
15885 * server.el (server-mode):
15886 * shell.el (shell-dirtrack-mode):
15887 * simple.el (auto-fill-mode, transient-mark-mode)
15888 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15889 (line-number-mode, column-number-mode, size-indication-mode)
15890 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15891 * strokes.el (strokes-mode):
15892 * time.el (display-time-mode):
15893 * t-mouse.el (gpm-mouse-mode):
15894 * tool-bar.el (tool-bar-mode):
15895 * tooltip.el (tooltip-mode):
15896 * type-break.el (type-break-mode-line-message-mode)
15897 (type-break-query-mode):
15898 * view.el (view-mode):
15899 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15900 (global-whitespace-mode, global-whitespace-newline-mode):
15901 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15902
a3839de2
SM
15903 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15904 Fix autogenerated docstring.
06e21633 15905
5214e501
JL
159062011-10-19 Juri Linkov <juri@jurta.org>
15907
15908 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15909 by checking environment variables "DESKTOP_SESSION" and
15910 "XDG_CURRENT_DESKTOP". (Bug#9779)
15911
195f8db9
JL
159122011-10-19 Juri Linkov <juri@jurta.org>
15913
15914 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15915 (browse-url-chromium-program, browse-url-chromium-arguments):
15916 New defcustoms.
15917 (browse-url-default-browser): Check for `browse-url-chromium' and
15918 call `browse-url-chromium-program'.
15919 (browse-url-chromium): New command. (Bug#9779)
15920
343a34ff
JB
159212011-10-18 Juanma Barranquero <lekktu@gmail.com>
15922
15923 * facemenu.el (list-colors-duplicates): On Windows, detect more
15924 duplicates by assuming that only colors matching "^System" are
15925 special "system colors". (Bug#9722)
15926
6978a151
SM
159272011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15928
15929 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15930 to distinguish the author from the committer.
15931
6a80b297
MA
159322011-10-18 Michael Albinus <michael.albinus@gmx.de>
15933
15934 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15935
b31a5677
JK
159362011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15937
15938 * international/mule.el (sgml-html-meta-auto-coding-function):
15939 Add support for detecting encoding in HTML5 specified only as
15940 <meta charset="UTF-8">. Implementation just makes http-equiv and
15941 content-type parts from HTML4 encoding string optional. (Bug#9716)
15942
80c6d77f
GM
159432011-10-18 Glenn Morris <rgm@gnu.org>
15944
15945 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15946
08b0fee8
CY
159472011-10-18 Chong Yidong <cyd@gnu.org>
15948
15949 * faces.el (cursor): Doc fix.
15950
67e729a5
CY
159512011-10-17 Chong Yidong <cyd@gnu.org>
15952
15953 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15954
343a34ff 159552011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15956
15957 * dirtrack.el (dirtrack): Support shell buffers with path
15958 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15959
0bc06380
TZ
159602011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15961
15962 * json.el: Bump version to 1.3 and note change in History.
15963 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15964
8b79f3e0
SM
159652011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15966
5a7c536b
SM
15967 * comint.el (comint-insert-input, comint-send-input)
15968 (comint-get-old-input-default, comint-backward-matching-input)
15969 (comint-next-prompt): Use nil instead of `input' for field property of
15970 past user input (bug#114).
15971
96a8a0df
SM
15972 * minibuffer.el (completion--replace): Inherit surrounding properties
15973 (bug#114).
15974 (minibuffer-complete-and-exit): Use it.
15975
8b79f3e0
SM
15976 * comint.el (comint--table-subvert): Quote the all-completions output
15977 (bug#9160).
15978
b8f7ff0d
MR
159792011-10-17 Martin Rudalics <rudalics@gmx.at>
15980
8b79f3e0 15981 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15982
b8f7ff0d 15983 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15984 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15985 entries and separate them from frame entries.
15986
c235b555
GM
159872011-10-15 Glenn Morris <rgm@gnu.org>
15988
15989 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15990 Doc fixes.
15991
6bbfa6e1
CY
159922011-10-15 Chong Yidong <cyd@stupidchicken.com>
15993
8b79f3e0
SM
15994 * net/network-stream.el (network-stream-open-starttls):
15995 Improve detection of failure due to lack of TLS support.
ec5c990d 15996
6bbfa6e1
CY
15997 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15998 putting the input text in front and in bold.
15999
98488977
SM
160002011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16001
3d1337be
SM
16002 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16003
ee0b45e4
SM
16004 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16005 empty buffer.
16006
98488977
SM
16007 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16008 unread-command-events rather than pushing yet-another event.
16009
186f4720
EZ
160102011-10-14 Eli Zaretskii <eliz@gnu.org>
16011
16012 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16013 the explanation of the possible choices. Make the options passed
16014 to completing-read shorter.
16015
8b7a997c
AM
160162011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16017
16018 * textmodes/flyspell.el (flyspell-large-region): Make sure
16019 extended character mode is used if defined (Bug#1339).
16020
12587bbb
EZ
160212011-10-13 Eli Zaretskii <eliz@gnu.org>
16022
16023 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16024 character info for LRE, LRO, RLE, and RLO characters by appending
16025 an invisible PDF.
12587bbb 16026
bad41229
SM
160272011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16028
16029 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16030 even in case of error; add debug spec; simplify data flow.
16031 (with-timeout-handler): Remove.
16032
28dbc92f
MA
160332011-10-12 Michael Albinus <michael.albinus@gmx.de>
16034
16035 Fix Bug#6019, Bug#9315.
16036
16037 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16038 complete `buffer-file-name', the local file name part could look
16039 remotely (for example on VMS).
16040
16041 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16042 `tramp-run-real-handler'.
16043 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16044 already quoted by '"'.
16045
16046 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16047 Let `file-name-handler-alist' be nil, the local file name part
16048 could look remotely (for example on VMS).
16049
e1b0b23a
SM
160502011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16053 from here...
16054 (flyspell-post-command-hook): ...to here.
16055
a120bde9
SM
160562011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16057
16058 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16059 if not needed.
16060 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16061 using completion. Protect against "slow" callers.
16062 Remove the "message hack".
16063
7ce7717b
JL
160642011-10-11 Juri Linkov <juri@jurta.org>
16065
16066 * isearch.el (isearch-lazy-highlight-word): New variable.
16067 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16068 Use it. (Bug#9727)
16069
c02ee9d6
GM
160702011-10-11 Glenn Morris <rgm@gnu.org>
16071
16072 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16073 like f90-previous-statement does.
16074
93e616fd 160752011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16076
1f190e73 16077 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16078 only in interactive use, to avoid error.
16079
af7b6078
SM
160802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16081
16082 * minibuffer.el (completion-file-name-table): Fix last change,
16083 i.e. ignore normal errors but not the other ones.
16084
0563dae9
MR
160852011-10-10 Martin Rudalics <rudalics@gmx.at>
16086
16087 * window.el (special-display-buffer-names)
16088 (special-display-regexps): Remove some remnants of earlier
16089 changes from doc-strings.
366ca7f3
MR
16090 (quit-windows-on): New function.
16091
16092 * vc/vc.el (vc-revert, vc-rollback):
16093 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16094 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16095 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16096
49677495
MR
160972011-10-09 Martin Rudalics <rudalics@gmx.at>
16098
16099 * window.el (frame-auto-hide-function): Add version tag.
16100 (Bug#9699)
16101
56f2d1e1
MA
161022011-10-09 Michael Albinus <michael.albinus@gmx.de>
16103
16104 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16105 condition.
16106
112a6592
LL
161072011-10-09 Leo Liu <sdl.web@gmail.com>
16108
16109 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16110 (Bug#9701)
16111
0812589b
GM
161122011-10-08 Glenn Morris <rgm@gnu.org>
16113
16114 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16115 before the first code statement zero indent. (Bug#9690)
16116
b2b0776e
CY
161172011-10-08 Chong Yidong <cyd@stupidchicken.com>
16118
16119 * simple.el (count-words-region): Always count in the region.
16120 Report the number of lines and characters too.
16121 (count-words): New command, which counts in the buffer if the
16122 region is inactive, as count-words-region used to.
16123 (count-words--message): New function. Handle plurals.
16124 (count-lines-region): Make it an alias for count-words-region.
16125
16126 * bindings.el (esc-map): Replace count-lines-region with
16127 count-words-region.
16128
c557cd6b
MR
161292011-10-08 Martin Rudalics <rudalics@gmx.at>
16130
16131 * window.el (window--delete): Delete dedicated frame
16132 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16133 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16134
61a57ef4 161352011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16136
3a7d293b 16137 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16138
c3833279
CY
161392011-10-07 Chong Yidong <cyd@stupidchicken.com>
16140
16141 * bindings.el ([M-left],[M-right]): Bind to left-word and
16142 right-word respectively.
16143
21ce8245
GM
161442011-10-07 Glenn Morris <rgm@gnu.org>
16145
16146 * cus-start.el (debug-on-quit): Fix custom type.
16147
6d823bb2
LMI
161482011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16149
0181e193
LMI
16150 * subr.el (define-key-after): Clarify that the function is not
16151 useful for non-menu keymaps.
16152
6d823bb2
LMI
16153 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16154
8e3459ce 161552011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16156
21ce8245 16157 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16158 in current minibuffer (Fix bug with recursive minibuffers).
16159
a1c2d21e
CY
161602011-10-06 Chong Yidong <cyd@stupidchicken.com>
16161
16162 * progmodes/gdb-mi.el (gdb): Doc fix.
16163
5a4cf282
MR
161642011-10-05 Martin Rudalics <rudalics@gmx.at>
16165
16166 * window.el (frame-auto-hide-function): New option replacing
16167 frame-auto-delete. Suggested by Stefan Monnier.
16168 (window--delete): Call frame-auto-hide-function instead of
16169 investigating frame-auto-delete.
c96111ea
MR
16170 (window-point-1, set-window-point-1): New functions.
16171 (window-in-direction, record-window-buffer, window-state-get-1)
16172 (display-buffer-record-window): Use window-point-1 instead of
16173 window-point.
16174 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16175
9854542e
SM
161762011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16177
16178 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16179
8943cfb0
GM
161802011-10-05 Glenn Morris <rgm@gnu.org>
16181
16182 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16183 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16184
647ab967
LL
161852011-10-05 Leo Liu <sdl.web@gmail.com>
16186
16187 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16188 works with buffer object.
16189
3ddfbced
SM
161902011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16191
16192 * mpc.el (mpc-tool-bar-map): Add labels.
16193
bdfa5dd2
GM
161942011-10-04 Glenn Morris <rgm@gnu.org>
16195
16196 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16197
0e2070b5
MR
161982011-10-04 Martin Rudalics <rudalics@gmx.at>
16199
16200 * window.el (window--delete): New function.
16201 (frame-auto-delete): Resuscitate option.
16202 (bury-buffer, replace-buffer-in-windows)
16203 (quit-window): Rewrite using window--delete.
16204 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16205 Pass display-buffer-mark-dedicated to window--display-buffer-2
16206 (Bug#9639).
16207
3dc61a09
SM
162082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16209
915a9b64
SM
16210 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16211 returns a list (bug#9554). Add remote file name completion.
16212 * comint.el (comint--table-subvert): Curry and get quote&unquote
16213 functions as arguments.
16214 (comint--complete-file-name-data): Adjust call accordingly.
16215 * pcomplete.el (pcomplete--table-subvert): Remove.
16216 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16217
3dc61a09
SM
16218 * minibuffer.el (completion-table-case-fold): Use currying.
16219 (completion--styles-type, completion--cycling-threshold-type):
16220 New constants.
16221 (completion-styles, completion-category-overrides)
16222 (completion-cycle-threshold): Use them.
16223 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16224 completion-table-case-fold.
16225
8ea0a993
SB
162262011-10-03 Stephen Berman <stephen.berman@gmx.net>
16227
16228 * minibuffer.el (completion-category-overrides): Fix type of styles
16229 and add more user friendly tags (bug#9660).
16230
8c24b7f6
SM
162312011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16232
16233 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16234 (mule-input-method-string): New widget.
16235 (default-input-method, language-info-custom-alist): Use it.
16236
428fe61a
SM
162372011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16238
32c1fffd
SM
16239 * pcomplete.el: Require comint.
16240 (pcomplete--common-suffix): Remove.
16241 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16242 (pcomplete--table-subvert): Sync with comint--table-subvert.
16243 (pcomplete--entries): Use comint-completion-file-name-table.
16244 * comint.el (comint-unquote-filename): Simplify.
16245 (comint-completion-file-name-table): New function (bug#9616).
16246 (comint--complete-file-name-data): Use it.
16247
428fe61a
SM
16248 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16249 (pcmpl-gnu-tar-buffer): Remove.
16250 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16251 around. Make sure pcomplete-suffix-list is only changed temporarily.
16252 Don't look inside the tar's file if it's too large.
428fe61a 16253
04c52e2f
CY
162542011-10-01 Chong Yidong <cyd@stupidchicken.com>
16255
ce3cefcc
CY
16256 * cus-edit.el (custom-mode-map):
16257 * epa.el (epa-key-list-mode-map):
16258 * man.el (Man-mode-map):
16259 * startup.el (splash-screen-keymap):
16260 * simple.el (special-mode-map): Use scroll-up-command and
16261 scroll-down-command.
16262
16263 * progmodes/idlw-help.el (idlwave-help-mode-map):
16264 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16265 * net/newst-plainview.el (newsticker-mode-map):
16266 * emulation/ws-mode.el (wordstar-mode-map):
16267 * emulation/vi.el (vi-com-map):
16268 * calc/calc-graph.el (calc-graph-show-dumb):
16269 * term/sun.el (terminal-init-sun):
16270 * term/ns-win.el (global-map):
16271 * progmodes/grep.el (grep-mode-map):
16272 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16273 * mail/rmail.el (rmail-mode-map):
16274 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16275
04c52e2f
CY
16276 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16277 custom-safe-themes as special.
16278
79adf8c8
JD
162792011-10-01 Julien Danjou <julien@danjou.info>
16280
16281 * notifications.el (notifications-notify): Fix docstring.
16282
63bd50d3
PS
162832011-10-01 Per Starbäck <per@starback.se>
16284
16285 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16286
199e4c7e
MR
162872011-09-30 Martin Rudalics <rudalics@gmx.at>
16288
16289 * startup.el (command-line-1): Fix last fix by inserting
16290 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16291 (Bug#9605) and (Bug#9636)
199e4c7e 16292
fe5f08dd
EZ
162932011-09-29 Eli Zaretskii <eliz@gnu.org>
16294
16295 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16296 window is hscrolled, move by logical lines. (Bug#9607)
16297 (line-move-visual): Update the doc string to the above effect.
16298
b5516bbd
MR
162992011-09-29 Martin Rudalics <rudalics@gmx.at>
16300
ccee00c0
MR
16301 * window.el (display-buffer-record-window): When WINDOW is the
16302 selected window use `point' instead of `window-point'. (Bug#9626)
16303
b5516bbd
MR
16304 * startup.el (command-line-1): Use insert-before-markers when
16305 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16306
b5516bbd
MR
16307 * help.el (help-window): Remove variable.
16308
52aa0014
GM
163092011-09-29 Glenn Morris <rgm@gnu.org>
16310
16311 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16312
df9a7357
JB
163132011-09-29 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * descr-text.el (describe-char-categories): Accept category
16316 descriptions more than one line long.
16317
a8406c20
SM
163182011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16319
88d9610c
SM
16320 * simple.el (delete-trailing-whitespace): Fix last change.
16321
a5daf810
SM
16322 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16323 Don't confuse "y => 3" as the beginning of a `y' operation.
16324
a8406c20
SM
16325 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16326 object has more than 4 slots (bug#9613).
16327
a239d4e9
JB
163282011-09-28 Juanma Barranquero <lekktu@gmail.com>
16329
16330 * subr.el (with-output-to-temp-buffer):
16331 * net/quickurl.el (quickurl, quickurl-browse-url):
16332 Fix typos in docstrings.
16333
693fbdb6
EZ
163342011-09-27 Eli Zaretskii <eliz@gnu.org>
16335
16336 * minibuffer.el (completion-styles)
16337 (completion-category-overrides): Cross reference each other in doc
16338 strings.
16339
8b457e28
GM
163402011-09-27 Glenn Morris <rgm@gnu.org>
16341
16342 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16343 to split-string. (Bug#9606)
16344
85a16208
LMI
163452011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16346
16347 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16348 (bug#9615).
16349
502f9ebd
CY
163502011-09-27 Chong Yidong <cyd@stupidchicken.com>
16351
16352 * emacs-lisp/package.el (list-packages): Fix echo area message.
16353
7690bdea
LL
163542011-09-27 Leo Liu <sdl.web@gmail.com>
16355
16356 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16357
e2ee6f30
MA
163582011-09-25 Michael Albinus <michael.albinus@gmx.de>
16359
16360 * net/dbus.el (dbus-unregister-object): Don't release services for
16361 registered signals. (Bug#9581)
16362
f3f98342
TZ
163632011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16364
16365 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16366 function that picks between cfengine 2 and 3 support
16367 automatically. Update docs accordingly.
16368
dd7aa8dd
KH
163692011-09-22 Kenichi Handa <handa@m17n.org>
16370
16371 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16372 ZERO.
16373 (indian-itrans-v5-table-for-tamil): New variable.
16374 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16375
3f2b07f8
KM
163762011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16377
16378 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16379 that's true if the current command involved collapsing of text.
16380 It's reset to false at the beginning of the next command.
16381 (allout-post-command-business): Move the cursor to the beginning
16382 of entry if the cursor is hidden and collapsing activity just
16383 happened.
16384
371d6a61
CY
163852011-09-24 Chong Yidong <cyd@stupidchicken.com>
16386
16387 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16388 tracking (Bug#9541).
16389
2ac2721a
UJ
163902011-09-24 Ulf Jasper <ulf.jasper@web.de>
16391
16392 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16393 (newsticker-show-news): Automatically load html rendering package
16394 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16395 because w3m-fill-column is let-bound" and the error "Symbol's value
16396 as variable is void: w3m-fill-column".
2ac2721a 16397
fac7ae53
MA
163982011-09-24 Michael Albinus <michael.albinus@gmx.de>
16399
16400 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16401 Release services only if they are defined. (Bug#9581)
16402
e08b633b
RS
164032011-09-23 Richard Stallman <rms@gnu.org>
16404
e488d29c
RS
16405 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16406 distinguish start of paragraph from start of its text.
16407
19c38752
RS
16408 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16409
e08b633b
RS
16410 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16411 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16412 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16413
0a39f27e
AS
164142011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16415
16416 * international/mule-diag.el (mule-diag): Insert a newline after
16417 each fontset description.
16418
db4e950d
SM
164192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16420
16421 * simple.el (delete-trailing-whitespace):
16422 Document last change; simplify.
16423
eca3f3ea
PW
164242011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16425
d68e189a
PW
16426 * simple.el (delete-trailing-whitespace): Also delete
16427 extra newlines at the end of the buffer.
16428
eca3f3ea
PW
16429 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16430 (picture-newline): Use forward-line so as to ignore fields.
16431
01c157cc
SM
164322011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * subr.el (with-wrapper-hook): Fix edebug spec.
16435
022de23e
LMI
164362011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16437
16438 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16439 (bug#4538).
16440
91683089
MA
164412011-09-23 Michael Albinus <michael.albinus@gmx.de>
16442
eca3f3ea
PW
16443 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16444 Fix nasty bug using wrong cached values.
91683089 16445
5bdd6fa4
AM
164462011-09-23 Alan Mackenzie <acm@muc.de>
16447
16448 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16449
97adfb97
CY
164502011-09-23 Chong Yidong <cyd@stupidchicken.com>
16451
16452 * window.el (pop-to-buffer): Ensure right window is selected if we
16453 chose another frame.
16454
d4ef2b50
EZ
164552011-09-22 Eli Zaretskii <eliz@gnu.org>
16456
16457 * simple.el (what-cursor-position): Use get-char-property-change
16458 and next-single-char-property-change, to be able to show display
16459 properties that come from overlays as well as text properties.
16460
72258fe5
CY
164612011-09-22 Chong Yidong <cyd@stupidchicken.com>
16462
16463 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16464
16465 * cmuscheme.el (run-scheme, switch-to-scheme):
16466 * cus-edit.el (customize-group, custom-buffer-create)
16467 (customize-browse):
16468 * info.el (info):
16469 * shell.el (shell):
16470 * mail/sendmail.el (mail):
16471 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16472
8f098516
RS
164732011-09-22 Richard Stallman <rms@gnu.org>
16474
16475 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16476 move back only to line beg, don't move back over blank lines.
16477
e74f1bb6
MA
164782011-09-22 Michael Albinus <michael.albinus@gmx.de>
16479
16480 * files.el (copy-directory): Set directory attributes only in case
16481 they could be retrieved from the source directory. (Bug#9565)
16482
bfeef8b6
DK
164832011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16484
16485 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16486 (hs-find-block-beginning, hs-hide-level-recursive):
16487 Ignore strings as well as comments. (Bug#9502)
16488
7e423bb8
AS
164892011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16490
16491 * progmodes/sql.el (sql-comint-postgres):
16492 Convert port number to a string. (Bug#9566)
16493
b4d72fcf
MR
164942011-09-22 Martin Rudalics <rudalics@gmx.at>
16495
16496 * window.el (quit-window): Undedicate window when switching to
16497 previous buffer. Reported by Thierry Volpiatto
16498 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16499 (special-display-popup-frame): When popping up a new frame reset
16500 its previous buffers to nil. Simplify code.
b4d72fcf 16501
a7b88dc6
MA
165022011-09-21 Michael Albinus <michael.albinus@gmx.de>
16503
16504 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16505 and process filter, as done also in `shell-command'.
16506
cf4eacfd
MR
165072011-09-21 Martin Rudalics <rudalics@gmx.at>
16508
eca3f3ea 16509 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16510 Call set-window-start with NOFORCE argument t.
16511 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16512 (quit-window): Reword doc-string. Handle new format of
16513 quit-restore parameter. Don't delete window if it has a
16514 previous buffer we can show instead of the present one.
16515 (display-buffer-record-window): Rewrite using a new format for
16516 the quit-restore window parameter
16517 (special-display-popup-frame, display-buffer-same-window)
16518 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16519 (display-buffer-pop-up-window, display-buffer-use-some-window):
16520 Adapt symbol passed to display-buffer-record-window.
16521 * help.el (help-window-setup): Handle new format of quit-restore
16522 parameter.
16523
8d28cb95
SM
165242011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16525
94ab793f
SM
16526 * faces.el (face-list): Fix docstring (bug#9564).
16527
8d28cb95
SM
16528 * window.el (display-buffer--action-function-custom-type):
16529 Don't include internal functions in the Custom interface.
16530
3820edeb
JL
165312011-09-20 Juri Linkov <juri@jurta.org>
16532
16533 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16534 (Info-forward-node, Info-backward-node, Info-next-preorder)
16535 (Info-last-preorder): Use it. (Bug#9528)
16536
5147931d
JL
165372011-09-20 Juri Linkov <juri@jurta.org>
16538
16539 * info.el (Info-last-preorder): Visit last menu item only when
16540 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16541
cf499a1a
JD
165422011-09-20 Julien Danjou <julien@danjou.info>
16543
16544 * password-cache.el (password-cache-remove): Remove entries even if the
16545 value is nil, so that password with a nil value (negative caching) is
16546 possible to invalidate.
16547
f84e2fe2
LM
165482011-09-20 Lawrence Mitchell <wence@gmx.li>
16549
16550 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16551 all whitespace around breakpoint. (Bug#9553)
16552 (f90-find-breakpoint): Only break at whitespace inside a comment.
16553
78054a46
SM
165542011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16555
16556 * minibuffer.el (completion-file-name-table): Keep track of errors.
16557 (completion-table-with-predicate): Handle the case where pred1 is nil.
16558 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16559
345083b2
SM
165602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16561
e24e27be
SM
16562 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16563 (debugger-return-value): Signal an error if the debugging context does
16564 not await any return value.
16565
345083b2
SM
16566 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16567 * image-mode.el (image-toggle-display-text)
16568 (image-toggle-display-image): Stay away from evil `intangible'.
16569
08d355e3
LL
165702011-09-19 Leo Liu <sdl.web@gmail.com>
16571
16572 * replace.el (occur-revert-arguments): Make it permanent-local.
16573 (occur-mode): Don't call font-lock-defontify.
16574
f01da43f
CY
165752011-09-19 Chong Yidong <cyd@stupidchicken.com>
16576
16577 * net/ldap.el (ldap-search-internal): Don't push empty search
16578 result (Bug#9508).
16579
b6072fa6
SM
165802011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16583
443d6696
MA
165842011-09-19 Michael Albinus <michael.albinus@gmx.de>
16585
16586 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16587 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16588
7cc6e154
JL
165892011-09-18 Juri Linkov <juri@jurta.org>
16590
16591 * buff-menu.el (Buffer-menu-mode-map):
16592 * dired.el (dired-mode-map):
16593 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16594 (lisp-interaction-mode-map):
16595 * emacs-lisp/package.el (package-menu-mode-map):
16596 * epa.el (epa-key-list-mode-map):
16597 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16598 (menu-bar-options-menu):
16599 * outline.el (outline-mode-menu-bar-map):
16600 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16601 * vc/vc-dir.el (vc-dir-menu-map):
16602 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16603 Capitalize non-function content words in menu item strings.
16604
16605 * dired.el (dired-mode-map): Add menu item for
16606 `image-dired-dired-toggle-marked-thumbs'.
16607
80302a81
JL
166082011-09-18 Juri Linkov <juri@jurta.org>
16609
16610 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16611 to `isearch-case-fold-search' and restore its original value
16612 after the `isearch-mode' call.
16613
46c5cf66
JL
166142011-09-18 Juri Linkov <juri@jurta.org>
16615
16616 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16617 because `zgrep' returns 1 for successful matches (bug#9226).
16618
d18b513b
JL
166192011-09-18 Juri Linkov <juri@jurta.org>
16620
16621 * info.el (Info-extract-menu-node-name): Check the second match
16622 for empty string (second test-case of bug#9528).
16623 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16624 intermediate nodes to the history (first test-case of bug#9528).
16625
72753f87
JL
166262011-09-18 Juri Linkov <juri@jurta.org>
16627
16628 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16629 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16630
c9384295
JL
166312011-09-18 Juri Linkov <juri@jurta.org>
16632
1154d12e
JB
16633 * info.el (Info-file-supports-index-cookies):
16634 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16635 outputs one more line for long file names (bug#4142).
c9384295 16636
d473dce8
CY
166372011-09-18 Chong Yidong <cyd@stupidchicken.com>
16638
16639 * newcomment.el (comment-normalize-vars): If prompting for
16640 comment-start, set comment-start-skip too (Bug#8424).
16641
2176854d
JB
166422011-09-18 Johan Bockgård <bojohan@gnu.org>
16643
16644 * icomplete.el: Fix previous fix of Bug#5849.
16645 (icomplete-mode): Don't set completion-show-inline-help.
16646 (icomplete-minibuffer-setup): Set completion-show-inline-help
16647 locally during icompletion.
16648
3aace4e4
CY
166492011-09-18 Chong Yidong <cyd@stupidchicken.com>
16650
c940224f
CY
16651 * woman.el (woman2-process-escapes): Don't delete unrecognized
16652 escapes (Bug#7843).
16653
3aace4e4
CY
16654 * files.el (inhibit-first-line-modes-regexps): Add image files.
16655 (hack-local-variables-prop-line): Return nil for malformed
16656 prop-lines (Bug#9044).
16657
710dec63
MA
166582011-09-18 Michael Albinus <michael.albinus@gmx.de>
16659
16660 * net/tramp.el (top): Don't require 'shell.
16661 (tramp-methods): Fix docstring.
16662 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16663 Return complete remote file name. Handle "smb" case.
16664 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16665 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16666
16667 * net/tramp-compat.el (top): Require 'shell.
16668
16669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16670 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16671 `tramp-current-host'.
16672 (tramp-get-remote-tmpdir): Remove.
16673
16674 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16675 `tramp-tmpdir' entries.
16676 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16677 (tramp-smb-handle-file-attributes): Ignore errors.
16678 (tramp-smb-wait-for-output): Check also for process end.
16679
5d5ac8ec
LMI
166802011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16681
16682 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16683 when sending QUIT (bug#9312).
16684
8c0f49f0
CY
166852011-09-17 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16688 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16689 occur-mode-display-occurrence.
16690 (occur-edit-mode): Add usage message.
16691 (occur-cease-edit): New command.
16692 (occur-after-change-function): Use text properties to find the
16693 position of the prefix text.
16694 (occur-engine): Set stickiness of prefix text properties.
16695
8f1383f7
GM
166962011-09-17 Glenn Morris <rgm@gnu.org>
16697
16698 * progmodes/etags.el (complete-tag):
16699 Fix call to completion-in-region. (Bug#9526)
16700
744ba0e3
JL
167012011-09-17 Juri Linkov <juri@jurta.org>
16702
16703 * textmodes/ispell.el (ispell-word): Add to the error message
16704 the word, ispell program name and current dictionary (bug#9121).
16705 (ispell-tex-arg-end): Capitalize "error" in the error message.
16706
d9bbf400
AS
167072011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16708
16709 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16710 check. (Bug#4251)
16711
8da11505
JL
167122011-09-17 Juri Linkov <juri@jurta.org>
16713
16714 * window.el (window-safe-min-height, window-safe-min-width):
16715 Fix typos (followup to bug#9522).
16716
a91adc7e
SJ
167172011-09-17 Sven Joachim <svenjoac@gmx.de>
16718
16719 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16720
064f328a
EZ
167212011-09-16 Eli Zaretskii <eliz@gnu.org>
16722
16723 * simple.el (line-move): If goal-column is set, move by logical
16724 lines, not by display lines. (Bug#971)
16725 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16726 to reflect the above change.
16727
e69df516
SM
167282011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16729
16730 * image.el (imagemagick-register-types): Use regexp-opt.
16731
cbb0f9ab
CY
167322011-09-15 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * window.el (display-buffer-base-action): Rename from
16735 display-buffer-default-action. Make default value empty.
16736 (display-buffer-overriding-action): Convert to defvar.
16737 (display-buffer-fallback-action): New var.
16738
25322144
CY
167392011-09-15 Chong Yidong <cyd@stupidchicken.com>
16740
16741 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16742 declaration.
16743 (package--add-to-archive-contents): If there is a duplicate entry
16744 with an older version, remove it.
16745 (package-menu-mark-delete, package-menu-mark-install)
16746 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16747 (package-menu-mark-obsolete-for-deletion):
16748 Use package-menu-get-status instead of a regexp search.
25322144
CY
16749 (package-menu-get-status): Use tabulated-list-entry.
16750 (package-menu-mark-upgrades): New command.
d770725a 16751 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16752 (package-menu-execute): Do installation before deletion.
16753 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16754 instead of checking major-mode.
16755 (package-menu--find-upgrades): New function.
16756
7520339c
LMI
167572011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16758
16759 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16760 passwords in the log buffer.
65a046c4
LMI
16761 (smtpmail-process-filter): Update the process marker so that the
16762 "broken by peer" status message is inserted in the right place.
7520339c 16763
d3c30954
SM
167642011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16765
3fe48822
SM
16766 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16767 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16768 bibtex-completion-at-point-function.
16769 (bibtex-completion-at-point-function): Use them.
16770
1b8b3954
SM
16771 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16772
d3c30954
SM
16773 * mpc.el (mpc-constraints-tag-lookup): New function.
16774 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16775 also to browser "album|playlist".
16776
72779976
JL
167772011-09-14 Juri Linkov <juri@jurta.org>
16778
16779 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16780 (isearch-edit-string): Use length of `isearch-string' when
16781 `isearch-fail-pos' returns nil.
16782 (isearch-message): Remove duplicate code and call
16783 `isearch-fail-pos' with arg `t'.
16784
a0bf2bcd
CY
167852011-09-14 Chong Yidong <cyd@stupidchicken.com>
16786
17bb0a2d
CY
16787 * replace.el (occur-mode-goto-occurrence): Don't force using other
16788 window (Bug#9499).
16789
a0bf2bcd
CY
16790 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16791
f678e0b6
MR
167922011-09-14 Martin Rudalics <rudalics@gmx.at>
16793
16794 * window.el (display-buffer-window): Remove.
16795 (display-buffer-record-window): Use help-setup window parameter
16796 instead of variable display-buffer-window.
16797 (display-buffer-function, special-display-buffer-names)
16798 (special-display-function): Mention help-setup parameter instead
16799 of display-buffer-window in doc-string.
d3c30954
SM
16800 * help.el (help-window-setup): New argument help-window.
16801 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16802 Reword some messages.
16803 (with-help-window): Pass window used for displaying the buffer
16804 to help-window-setup. Don't set display-buffer-window.
16805
8e39b2e8
GM
168062011-09-13 Glenn Morris <rgm@gnu.org>
16807
16808 * emacs-lisp/debug.el (debugger-make-xrefs):
16809 Preserve point. (Bug#9462)
16810
85e9c04b
CY
168112011-09-13 Chong Yidong <cyd@stupidchicken.com>
16812
16813 * window.el (window-deletable-p): Use next-frame.
16814
1b36ed6a
MR
168152011-09-13 Martin Rudalics <rudalics@gmx.at>
16816
16817 * window.el (window-auto-delete): Remove.
16818 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16819 dedication and previous buffers.
1b36ed6a
MR
16820 (switch-to-prev-buffer): Don't delete window.
16821 (delete-windows-on): Delete a window's frame if and only if the
16822 window is dedicated.
16823 (replace-buffer-in-windows): Delete buffer's window or frame if
16824 and only if window is dedicated.
16825 (quit-window): Handle quit-restore as before last change.
4d61f28d 16826 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16827
ef8ef9fb
CY
168282011-09-13 Chong Yidong <cyd@stupidchicken.com>
16829
16830 * window.el (window-deletable-p): Never delete the last frame on a
16831 given terminal.
16832
b2cba41e
GM
168332011-09-13 Glenn Morris <rgm@gnu.org>
16834
16835 * help.el (describe-key-briefly): Copy previous standard-output change.
16836
51553db6 168372011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16838
16839 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16840
b7556719
GM
168412011-09-13 Glenn Morris <rgm@gnu.org>
16842
16843 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16844 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16845
64b51947
CY
168462011-09-12 Chong Yidong <cyd@stupidchicken.com>
16847
16848 * dired-aux.el (dired-mark-read-string): Don't return default
16849 value on empty input (Bug#9361).
16850 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16851 Omit initial minibuffer contents.
16852 (dired-do-chmod): Signal an error on empty input.
16853 (dired-mark-read-string): Don't return default on empty input.
16854
16855 * files.el (file-modes-symbolic-to-number): Doc fix.
16856
393a301e
SM
168572011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16858
16859 * international/mule-cmds.el (ucs-completions): Remove.
16860 (read-char-by-name): Use complete-with-action instead; add metadata.
16861
fa5660f9
CY
168622011-09-11 Chong Yidong <cyd@stupidchicken.com>
16863
16864 * window.el (display-buffer--action-function-custom-type)
16865 (display-buffer--action-custom-type): New vars.
16866 (display-buffer-alist, display-buffer-default-action)
16867 (display-buffer-overriding-action): Add defcustom types.
16868
4a592f66
CY
16869 * frame.el (delete-other-frames): Doc fix (Bug#276).
16870
73d56dbd
LMI
168712011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16872
16873 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16874
37ac18a3
CY
168752011-09-11 Chong Yidong <cyd@stupidchicken.com>
16876
16877 Change modes that used same-window-* vars to use switch-to-buffer.
16878
16879 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16880 Use switch-to-buffer.
16881
16882 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16883 (customize-browse, custom-buffer-create-other-window):
16884 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16885
16886 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16887 (Info-prev, Info-up, Info-speedbar-goto-node)
16888 (info-display-manual): Use switch-to-buffer.
16889 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16890
16891 * mail/sendmail.el (mail): Use switch-to-buffer.
16892 (mail-recover): Use switch-to-buffer-other-window.
16893
16894 * cmuscheme.el (run-scheme, switch-to-scheme):
16895 * ielm.el (ielm):
16896 * shell.el (shell):
16897 * net/rlogin.el (rlogin):
16898 * net/telnet.el (telnet, rsh):
16899 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16900
10195bd6
AS
169012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16902
16903 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16904
b322f63a
LMI
169052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16906
39d7fed6
LMI
16907 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16908 so don't mention it (bug#9301).
ba5a81f1 16909 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16910
ee0e9f11
LMI
16911 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16912 match `x', `w32' and `ns', like the manual says (bug#9029).
16913
0b1c89c1 16914 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16915 (process-kill-buffer-query-function): Mention the buffer name in
16916 the query.
0b1c89c1 16917
77549ea8
LMI
16918 * image-mode.el (image-next-line): The line parameter is mandatory
16919 (bug#9258).
16920
803ef892
LMI
16921 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16922 which can be useful (bug#9301).
16923
12980837
LMI
16924 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16925
91054f8f
LMI
16926 * subr.el (match-string): Mention that the current buffer should
16927 be the same as the search was done in (bug#9282).
16928
b322f63a
LMI
16929 * facemenu.el: Disable the remove-* commands if the mark isn't
16930 active (bug#9162).
16931
3199b96f
CY
169322011-09-10 Chong Yidong <cyd@stupidchicken.com>
16933
16934 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16935 of display-buffer.
16936 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16937
16938 * replace.el (occur-mode-goto-occurrence)
16939 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16940 and display-buffer.
16941
16942 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16943 display-buffer.
16944
16945 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16946 special-display and same-window variables.
16947 (mail-other-window): Use switch-to-buffer-other-window.
16948 (mail-other-frame): USe switch-to-buffer-other-frame.
16949
393a301e
SM
16950 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16951 Use display-buffer-other-frame.
3199b96f
CY
16952 (gdb-display-gdb-buffer): Use pop-to-buffer.
16953
16954 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16955
16956 * progmodes/python.el: Don't set same-window-buffer-names.
16957
16958 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16959
16960 * window.el (display-buffer-alist): Add *Python*.
16961
8319e0bf
CY
169622011-09-10 Chong Yidong <cyd@stupidchicken.com>
16963
16964 * window.el (display-buffer-alist): Add entry for buffers
16965 previously handled same-window-*.
16966 (display-buffer-alist, display-buffer-default-action)
16967 (display-buffer-overriding-action): Mark as risky.
16968 (display-buffer-alist): Document action function changes.
16969 (display-buffer--same-window-action)
16970 (display-buffer--other-frame-action): New variables.
16971 (switch-to-buffer, display-buffer-other-frame): Use them.
16972 (display-buffer): Rename reuse-frame entry to reusable-frames.
16973 (display-buffer-reuse-selected-window): Function deleted.
16974 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16975 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16976 (display-buffer-special): New function.
16977 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16978 display-buffer-reuse-or-pop-window. Split off special-display
16979 part into display-buffer-special.
16980 (display-buffer-use-some-window): Don't perform any special
16981 pop-up-frames handling.
16982 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16983 (display-buffer--maybe-same-window): Rename from
0d3ff375 16984 display-buffer-maybe-same-window.
8319e0bf 16985
919a69aa
CY
16986 * info.el: Don't set same-window-regexps.
16987 (info-setup): New function.
16988 (info-other-window, info): Call it.
16989
16990 * cus-edit.el: Don't set same-window-regexps.
16991 (customize-group): New argument.
16992 (customize-group-other-window): Use it.
16993 (customize-face, customize-face-other-window): Likewise.
16994 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16995
8319e0bf
CY
16996 * net/rlogin.el:
16997 * net/telnet.el:
16998 * progmodes/gud.el: Don't set same-window-regexps.
16999
17000 * cmuscheme.el:
17001 * ielm.el:
17002 * shell.el:
17003 * mail/sendmail.el:
17004 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17005
25173000
JL
170062011-09-10 Juri Linkov <juri@jurta.org>
17007
17008 * isearch.el (isearch-edit-string): Remove obsolete mention of
17009 `C-w' (`isearch-yank-word-or-char') from docstring.
17010 (isearch-query-replace): Fix typo in docstring (bug#9466).
17011
056e44ef
JL
170122011-09-10 Juri Linkov <juri@jurta.org>
17013
17014 * paren.el (show-paren-function): Don't show escaped parens.
17015 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17016
c3760c17
EZ
170172011-09-10 Eli Zaretskii <eliz@gnu.org>
17018
17019 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17020 (mm-default-file-encoding): Remove autoload forms, they are
17021 replaced with autoload cookies in mml.el and mm-encode.el.
17022 (mail-add-attachment): New command.
17023 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17024 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17025 the doc string.
17026 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17027
fece895e
RT
170282011-09-10 Reuben Thomas <rrt@sc3d.org>
17029
e69df516
SM
17030 * simple.el (count-words-region): Use buffer if there's no region
17031 (bug#9429).
fece895e 17032
5e68ce4a
JL
170332011-09-09 Juri Linkov <juri@jurta.org>
17034
17035 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17036 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17037 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17038
0a6b9622
AM
170392011-09-09 Alan Mackenzie <acm@muc.de>
17040
17041 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17042 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17043
14a29deb
EZ
170442011-09-09 Eli Zaretskii <eliz@gnu.org>
17045
17046 Fix for Savannah bug#9392.
17047 * simple.el (mail-encode-mml): New defvar.
17048
17049 * mail/rmail.el (mail-encode-mml): Add a defvar.
17050 (rmail-enable-mime-composing): Default to t.
17051 (rmail-forward): Use MIME method of forwarding only if both
17052 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17053 Set mail-encode-mml non-nil if the MIME method was used.
17054
17055 * mail/sendmail.el (mml-to-mime): Add autoload form.
17056 (mail-encode-mml): Add a defvar.
17057 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17058 to nil.
17059 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17060 message through mml-to-mime, and reset mail-encode-mml to nil.
17061
28c45130
GM
170622011-09-09 Glenn Morris <rgm@gnu.org>
17063
17064 * woman.el (woman-if-body): When processing an .el block,
17065 do not delete the next .el block as well. (Bug#9447)
69f4b618 17066 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17067
9b1c252e
MR
170682011-09-08 Martin Rudalics <rudalics@gmx.at>
17069
17070 * window.el (window-deletable-p): Make sure window is live before
17071 invoking window-prev-buffers.
17072
567457e3
LL
170732011-09-08 Leo Liu <sdl.web@gmail.com>
17074
17075 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17076
97f05794
JL
170772011-09-08 Juri Linkov <juri@jurta.org>
17078
17079 * progmodes/compile.el (compilation-environment): Make it
17080 a defcustom (bug#8340).
17081
8b0874b5
MR
170822011-09-08 Martin Rudalics <rudalics@gmx.at>
17083
17084 * window.el (frame-auto-delete): Rename to window-auto-delete.
17085 Make it control auto-deletion of windows and/or frames.
17086 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17087 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17088 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17089 Rewrite handling of case when window/frame can be deleted.
17090 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17091 argument t. (Bug#9456)
8b0874b5 17092
4feb6e73
CY
170932011-09-07 Chong Yidong <cyd@stupidchicken.com>
17094
17095 * help-mode.el (help-mode): Restore autoload.
17096
91ab9c13
JL
170972011-09-07 Juri Linkov <juri@jurta.org>
17098
17099 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17100 `compilation-environment'. Set buffer-local
17101 `compilation-environment' to `thisenv' later after (funcall mode).
17102 (Bug#8340)
17103
17104 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17105 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17106 instead of replacing its value. (Bug#8340)
17107
0527e251
JL
171082011-09-07 Juri Linkov <juri@jurta.org>
17109
17110 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17111 based on text properties put by `grep-filter' instead of matching
17112 escape sequences.
17113 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17114 to the value of `grep-error-screen-columns' (bug#9438).
17115
249f792c
JL
171162011-09-07 Juri Linkov <juri@jurta.org>
17117
17118 * simple.el (next-error-highlight, next-error-highlight-no-select):
17119 Doc fix (bug#9432).
17120
ff7271b9
OT
171212011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17122
17123 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17124 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17125
183fc730
LL
171262011-09-07 Leo Liu <sdl.web@gmail.com>
17127
17128 * net/rcirc.el (rcirc-mode): Conditionally initialize
17129 rcirc-input-ring.
17130
77694924
SM
171312011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * emacs-lisp/find-func.el (find-function-C-source): Only set
17134 find-function-C-source-directory after checking that we found a source
17135 file there (bug#9440).
17136
d809b8eb
AM
171372011-09-06 Alan Mackenzie <acm@muc.de>
17138
17139 * isearch.el (isearch-other-meta-char): Wherever a key list is
17140 unread, "unread" the prefix arg, too. This fixes bug #8901.
17141
453de99f
OG
171422011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17143
17144 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17145
90439906
JL
171462011-09-05 Juri Linkov <juri@jurta.org>
17147
17148 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17149
f62bd846
JL
171502011-09-05 Juri Linkov <juri@jurta.org>
17151
17152 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17153 keeping point where processing of grep matches begins, and
17154 continue to delete remaining escape sequences from the same point.
17155 (grep-filter): Make leading zero optional in "0?1;31m" because
17156 git-grep emits "\033[1;31m" escape sequences unlike expected
17157 "\033[01;31m" as GNU Grep does (bug#9408).
17158 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17159
045820ec
JL
171602011-09-05 Juri Linkov <juri@jurta.org>
17161
17162 * subr.el (y-or-n-p): Capitalize "yes".
17163
f5e29b9b
MA
171642011-09-04 Michael Albinus <michael.albinus@gmx.de>
17165
17166 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17167 `tramp-cache-unload-hook' where appropriate.
17168 (tramp-methods): Rename `tramp-remote-sh' to
17169 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17170 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17171
17172 * net/tramp-sh.el (top): Don't require 'shell.
17173 (tramp-methods): Add `tramp-remote-shell' and
17174 `tramp-remote-shell-args' entries.
17175 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17176 (tramp-sh-handle-shell-command): Remove.
17177 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17178 Use `tramp-remote-shell'.
17179
2784c434
CY
171802011-09-03 Chong Yidong <cyd@stupidchicken.com>
17181
393a301e 17182 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17183 (sendmail-query-once): Save directly to send-mail-function.
17184 Update message-send-mail-function too.
17185
17186 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17187
464cdf56
CS
171882011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17189
17190 * progmodes/python.el (python-mode-map): Use correct function to
17191 start python interpreter from menu-bar (as reported by Geert
17192 Kloosterman).
17193 (inferior-python-mode-map): Fix typo.
393a301e 17194 (python-shell-map): Remove.
464cdf56 17195
d37e5c87
DD
171962011-09-03 Deniz Dogan <deniz@dogan.se>
17197
17198 * net/rcirc.el (rcirc-print): Simplify code for
17199 rcirc-scroll-show-maximum-output. There is no need to walk
17200 through all windows to find the right one.
17201
f3ada0ee
CS
172022011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17203
17204 * help.el (help-return-method): Doc fix.
17205
1f3c99ca
MR
172062011-09-03 Martin Rudalics <rudalics@gmx.at>
17207
17208 * window.el (window-deletable-p): Don't return a non-nil value
17209 when there's a buffer that was shown in the window before.
17210 (Bug#9419)
393a301e
SM
17211 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17212 Set window's previous buffers to nil.
1f3c99ca 17213
a3cf097f
EZ
172142011-09-03 Eli Zaretskii <eliz@gnu.org>
17215
17216 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17217 newline before and after the tag line, so it doesn't interfere
17218 with determining the paragraph direction of bidirectional text.
17219
3d03de90
LL
172202011-09-03 Leo Liu <sdl.web@gmail.com>
17221
17222 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17223
c3313451
CY
172242011-09-02 Chong Yidong <cyd@stupidchicken.com>
17225
393a301e 17226 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17227 (pop-to-buffer): Change interactive spec. Pass second argument
17228 directly to display-buffer.
17229 (display-buffer): Fix interactive spec. Use functionp to
17230 distinguish between a function and a list of functions.
17231
17232 * abbrev.el (edit-abbrevs):
17233 * arc-mode.el (archive-extract):
17234 * autoinsert.el (auto-insert):
17235 * bookmark.el (bookmark-bmenu-list):
17236 * files.el (find-file):
17237 * view.el (view-buffer):
17238 * progmodes/compile.el (compilation-goto-locus):
17239 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17240
89894cd8
CY
172412011-09-02 Chong Yidong <cyd@stupidchicken.com>
17242
17243 * window.el (display-buffer-alist): Doc fix.
17244 (display-buffer): Add docstring. Don't treat
17245 display-buffer-default specially.
17246 (display-buffer-reuse-selected-window)
17247 (display-buffer-same-window, display-buffer-maybe-same-window)
17248 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17249 (display-buffer-pop-up-window)
17250 (display-buffer-reuse-or-pop-window)
17251 (display-buffer-use-some-window): New functions.
17252 (display-buffer-default-action): Use them.
393a301e 17253 (display-buffer-default): Delete.
89894cd8
CY
17254 (pop-to-buffer-1): Fix choice of actions.
17255
ae0bc9fb
SM
172562011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17257
17258 * minibuffer.el (completion--insert-strings): Don't get confused by
17259 completion entries that end with an LF char.
17260
e9d90883
EZ
172612011-09-01 Eli Zaretskii <eliz@gnu.org>
17262
17263 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17264
437014c8
CY
172652011-09-01 Chong Yidong <cyd@stupidchicken.com>
17266
17267 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17268 (display-buffer-same-window, display-buffer-other-window):
17269 New functions.
437014c8
CY
17270 (pop-to-buffer-1): New function. Use the above.
17271 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17272 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17273
17274 * view.el (view-buffer-other-window, view-buffer-other-frame):
17275 Just use pop-to-buffer.
17276
a5e063d5
TV
172772011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17278
17279 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17280
793d32bb
WH
172812011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17282
17283 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17284
d65e4c15
RS
172852011-08-31 Richard Stallman <rms@gnu.org>
17286
17287 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17288 of the separation of rmail-view-buffer from rmail-buffer.
17289 If you say no to "replace original", the decrypt is in the
17290 view buffer. If you say yes, the decrypt goes into the
17291 rmail buffer also.
17292
f818cd2a
MR
172932011-08-31 Martin Rudalics <rudalics@gmx.at>
17294
17295 * window.el (display-buffer-window): Rewrite doc-string.
17296 (display-buffer-record-window): New function.
17297 (display-buffer-macro-specifiers)
17298 (display-buffer-even-window-sizes, display-buffer-set-height)
17299 (display-buffer-set-width, display-buffer-in-window)
17300 (display-buffer-reuse-window, display-buffer-split-specifiers)
17301 (display-buffer-side-specifiers, display-buffer-split-window-1)
17302 (display-buffer-split-window, display-buffer-split-atom-window)
17303 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17304 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17305 (display-buffer-other-window-means-other-frame)
17306 (display-buffer-normalize-special)
17307 (display-buffer-normalize-default)
17308 (display-buffer-normalize-argument)
17309 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17310 (display-buffer-normalize-specifiers, display-buffer-frame)
17311 (display-buffer-same-window, display-buffer-same-frame)
17312 (display-buffer-other-window)
17313 (display-buffer-same-frame-other-window)
17314 (display-buffer-other-frame, pop-to-buffer-same-window)
17315 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17316 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17317 (switch-to-buffer-same-frame)
17318 (switch-to-buffer-other-window-same-frame)
17319 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17320 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17321 (display-buffer-alist-set): Remove.
17322 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17323 (special-display-regexps, special-display-function):
17324 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17325 parameter.
17326 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17327 (special-display-frame-alist, special-display-popup-frame)
17328 (same-window-buffer-names, same-window-regexps, same-window-p)
17329 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17330 (split-window-preferred-function, split-height-threshold)
17331 (split-width-threshold, window-splittable-p)
17332 (split-window-sensibly, window--try-to-split-window)
17333 (window--frame-usable-p, even-window-heights)
17334 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17335 (window--display-buffer-2, display-buffer-other-frame):
17336 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17337 (display-buffer-default, display-buffer-assq-regexp): New functions.
17338 (display-buffer-alist): Rewrite doc-string.
17339 (display-buffer-default-action)
17340 (display-buffer-overriding-action): New variables.
17341 (display-buffer, switch-to-buffer): Rewrite.
17342 (pop-to-buffer): Restore Emacs 23 behavior but use
17343 window-normalize-buffer-to-display.
17344 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17345 Restore Emacs 23 behavior but use
17346 window-normalize-buffer-to-switch-to.
17347 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17348 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17349 Rewrite using Emacs 23 options.
f818cd2a 17350
5bc3b51d
MA
173512011-08-31 Michael Albinus <michael.albinus@gmx.de>
17352
17353 * net/tramp.el (tramp-root-regexp): Remove.
17354 (tramp-completion-file-name-regexp-unified)
17355 (tramp-completion-file-name-regexp-separate)
17356 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17357 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17358 (tramp-drop-volume-letter): Simplify definition.
17359 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17360
b1a4f8e1
SM
173612011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17362
17363 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17364 (bug#9356).
17365
5664fa7b
RT
173662011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17367
b1a4f8e1 17368 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17369
9a45d6c3
JL
173702011-08-29 Juri Linkov <juri@jurta.org>
17371
17372 * isearch.el (isearch-done): Don't display message "Mark saved"
17373 when arg `edit' is non-nil to prevent its flicker in the echo area.
17374
fb87e0fb
CY
173752011-08-28 Chong Yidong <cyd@stupidchicken.com>
17376
17377 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17378 obsolete packages for deletion.
17379
09ac1c2a
CS
173802011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17381
17382 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17383 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17384 view-mode from help-mode.
17385 (help-xref-override-view-map): Remove.
17386 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17387 view-mode is not used anymore.
17388
7a1ff57f
CY
173892011-08-28 Chong Yidong <cyd@stupidchicken.com>
17390
17391 * server.el (server-port): Doc fix.
17392
b9696605
CY
17393 * cus-theme.el (custom-theme-choose-mode): Inherit from
17394 special-mode (Bug#9124).
17395 (custom-theme-choose-mode-map): Add special-mode to parent.
17396
ef8cdf8c
AM
173972011-08-28 Alan Mackenzie <acm@muc.de>
17398
17399 * progmodes/cc-fonts.el
17400 (c-make-font-lock-BO-decl-search-function): New function.
17401 (c-basic-matchers-after - "Fontify the clauses after various
17402 keywords"): Extract the three keyword lists for the 3 erroneous
17403 constructs from the list of four, and use the new function above
17404 in place of an old one.
17405
27de4e20
DD
174062011-08-28 Deniz Dogan <deniz@dogan.se>
17407
17408 * net/rcirc.el (rcirc-insert-prev-input)
17409 (rcirc-insert-next-input): Remove unused argument.
17410
356a3681
SM
174112011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17414
3fc9b218
AM
174152011-08-27 Alan Mackenzie <acm@muc.de>
17416
17417 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17418 handle function pointer parameters properly.
17419
538a061c
MR
174202011-08-27 Martin Rudalics <rudalics@gmx.at>
17421
17422 * window.el (display-buffer-reuse-window): Fix case where
17423 selected window was reused with non-nil OTHER-WINDOW argument.
17424 (Bug#9381)
17425
35b1c40c
DD
174262011-08-27 Deniz Dogan <deniz@dogan.se>
17427
17428 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17429 oftc's NickServ messages.
17430
2f6a3e79
GM
174312011-08-27 Glenn Morris <rgm@gnu.org>
17432
17433 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17434
7254299e
CY
174352011-08-26 Chong Yidong <cyd@stupidchicken.com>
17436
17437 * emacs-lisp/package.el (package-install): Call package-initialize
17438 if called interactively.
17439
f8ccf167
LL
174402011-08-26 Leo Liu <sdl.web@gmail.com>
17441
17442 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17443
3e8cd5ce
JL
174442011-08-25 Juri Linkov <juri@jurta.org>
17445
17446 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17447 `search-whitespace-regexp' (bug#9364).
17448
93eb7113
JL
174492011-08-25 Juri Linkov <juri@jurta.org>
17450
17451 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17452 `regexp-search-ring' to their global values to protect from
17453 updating by `read-from-minibuffer' (bug#9185).
17454
f65d1611
JL
174552011-08-25 Juri Linkov <juri@jurta.org>
17456
17457 * textmodes/ispell.el (ispell-command-loop): Add newline
17458 at the end of the "Use option `i'..." line.
17459
f1cf7a31
JL
174602011-08-25 Juri Linkov <juri@jurta.org>
17461
17462 * battery.el (display-battery-mode): If `battery-status-function'
17463 or `battery-mode-line-format' is nil, display the message and set
17464 `display-battery-mode' to nil (bug#9363).
17465
0c95fcf7
EZ
174662011-08-25 Eli Zaretskii <eliz@gnu.org>
17467
17468 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17469 bidi-string-mark-left-to-right; they are unnecessary now.
17470
a2ebe600
DD
174712011-08-25 Deniz Dogan <deniz@dogan.se>
17472
17473 * net/quickurl.el: Documentation typo fixes.
17474
e4ed06f1
CY
174752011-08-25 Chong Yidong <cyd@stupidchicken.com>
17476
17477 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17478
e5f1c99e
GM
174792011-08-25 Glenn Morris <rgm@gnu.org>
17480
b2948976
GM
17481 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17482
e5f1c99e
GM
17483 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17484 (smtpmail-via-smtp): Handle nil response from smtp.
17485
f22f4808
JL
174862011-08-24 Juri Linkov <juri@jurta.org>
17487
17488 * proced.el (proced-marked): Inherit from `error' instead of
17489 `font-lock-warning-face'.
17490
17491 * ibuffer.el (ibuffer-marked-face): Change default face from
17492 `font-lock-warning-face' to `warning'.
17493 (ibuffer-deletion-face): Change default face from
17494 `font-lock-type-face' to `error'.
17495
17496 * battery.el (battery-update): Use the face `error' instead of
17497 `font-lock-warning-face' (bug#6117).
17498
6a93965e
JL
174992011-08-24 Juri Linkov <juri@jurta.org>
17500
17501 * faces.el (success): Change face color from "Green3" to
17502 "ForestGreen" on light background (bug#9353).
17503
1ed43b09
CY
175042011-08-24 Chong Yidong <cyd@stupidchicken.com>
17505
5664fa7b
RT
17506 * window.el (quit-window): Rename from quit-restore-window.
17507 Use same arglist as old quit-window.
1ed43b09
CY
17508 (frame-auto-delete): Doc fix.
17509
17510 * view.el (view-mode-exit): Use quit-window.
17511
11dcdbb2
JL
175122011-08-24 Juri Linkov <juri@jurta.org>
17513
17514 * isearch.el (isearch-ring-adjust1): Start visiting previous
17515 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17516 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17517 for empty search string (when the last search string is reused
17518 automatically) to adjust the isearch ring to the last element and
17519 prepare the correct index for further M-p commands (bug#9185).
17520
de62b4df
KH
175212011-08-24 Kenichi Handa <handa@m17n.org>
17522
17523 * international/ucs-normalize.el: If decomposition property of
17524 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17525 nil.
17526 (nfd, nfkd): Likewise.
17527
963b492b
SM
175282011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17531 from process filters aren't reliably transmitted to the surrounding
17532 accept-process-output.
17533 (mpc-proc-check): New function.
17534 (mpc-proc-sync): Use it (bug#8293)
17535
93b6b5e1
SM
175362011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17539 Add compatibility functions (bug#9313).
17540
bca633fb
EZ
175412011-08-23 Eli Zaretskii <eliz@gnu.org>
17542
b177498a
EZ
17543 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17544
6df6ae42 17545 * international/uni-bidi.el: Regenerate.
bca633fb 17546
0902a04e
KH
175472011-08-23 Kenichi Handa <handa@m17n.org>
17548
17549 * international/charprop.el:
17550 * international/uni-bidi.el:
17551 * international/uni-category.el:
17552 * international/uni-combining.el:
17553 * international/uni-comment.el:
17554 * international/uni-decimal.el:
17555 * international/uni-decomposition.el:
17556 * international/uni-digit.el:
17557 * international/uni-lowercase.el:
17558 * international/uni-mirrored.el:
17559 * international/uni-name.el:
17560 * international/uni-numeric.el:
17561 * international/uni-old-name.el:
17562 * international/uni-titlecase.el:
17563 * international/uni-uppercase.el: Regenerate.
17564
3bbf23bc
MR
175652011-08-23 Martin Rudalics <rudalics@gmx.at>
17566
17567 * help.el (help-window-setup): Fix message displayed when other
17568 window is reused. (Bug#9341)
17569
b3fd59bd
SM
175702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17571
1802e444
SM
17572 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17573 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17574
b3fd59bd
SM
17575 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17576 Mark obsolete.
17577 * shell.el (shell-parse-pcomplete-arguments): New function.
17578 (shell-completion-vars): Use it instead (bug#9160).
17579
4eb61348
SM
175802011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17581
867cab74
SM
17582 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17583 strings and comments (bug#9333).
17584
4eb61348
SM
17585 * emacs-lisp/debug.el (debug-arglist): New function.
17586 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17587 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17588
262a1439
JL
175892011-08-22 Juri Linkov <juri@jurta.org>
17590
56ee679c
JL
17591 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17592 Revert regexp that highlights output switches to its old
17593 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17594
262a1439
JL
17595 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17596 to check for empty output (bug#9226).
17597
f13f86fb
CY
175982011-08-22 Chong Yidong <cyd@stupidchicken.com>
17599
17600 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17601 symbol-constituent as the default, as that stops font-lock from
17602 working properly (Bug#8843).
17603
c65c9622
LMI
176042011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17605
17606 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17607 `coding-system-for-*' around the process open call to avoid
17608 auth-source side effects.
e7f2c178 17609 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17610 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17611 probe hangs.
c65c9622 17612
23a8a5ab
CY
176132011-08-21 Chong Yidong <cyd@stupidchicken.com>
17614
ff98b2dd
CY
17615 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17616
23a8a5ab
CY
17617 * emacs-lisp/find-func.el (find-function-noselect): New arg
17618 lisp-only.
17619
17620 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17621 signal an error for built-in functions (Bug#6664).
17622
f5e3c598
LMI
176232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17624
17625 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17626 (smtpmail-try-auth-methods): Use it.
17627
a3f2468a
CY
176282011-08-21 Chong Yidong <cyd@stupidchicken.com>
17629
2c34e8da
CY
17630 * font-lock.el (font-lock-fontify-region)
17631 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17632 (font-lock-default-unfontify-buffer)
17633 (font-lock-default-fontify-region)
17634 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17635
b3fd59bd
SM
17636 * progmodes/compile.el (compilation-error-properties):
17637 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17638 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17639 `ant' regexp.
ee31aabc 17640
a3f2468a
CY
17641 * net/browse-url.el (browse-url-firefox): Don't call
17642 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17643
8e999f70
GM
176442011-08-20 Glenn Morris <rgm@gnu.org>
17645
c21a496a
GM
17646 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17647
59ee0542
GM
17648 * tutorial.el (tutorial--default-keys): Update some default bindings.
17649
8e999f70
GM
17650 * files.el (hack-local-variables): Fully ignore case for "mode:".
17651
e3715033
AM
176522011-08-20 Alan Mackenzie <acm@muc.de>
17653
17654 Resolve invalid use of a regexp in regexp-opt.
17655
4d61f28d
JB
17656 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17657 detection for a java annotation.
e3715033 17658
4d61f28d 17659 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17660 detection for a java annotation.
17661
4d61f28d
JB
17662 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17663 handling for java.
e3715033
AM
17664 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17665
04ed2e9c
CY
176662011-08-20 Chong Yidong <cyd@stupidchicken.com>
17667
17668 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17669 (Bug#9274).
17670
826cee64
AM
176712011-08-20 Alan Mackenzie <acm@muc.de>
17672
58179cce 17673 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17674 such a construct. Mainly for when jit-lock etc. starts a chunk
17675 here.
17676
58179cce 17677 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17678 variable.
58179cce 17679 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17680 c-make-font-lock-search-function.
17681 (c-make-font-lock-search-function): Use the above function.
17682 (c-make-font-lock-context-search-function): New function.
17683 (c-cpp-matchers): Enhance the preprocessor expression case with
17684 the above function
17685 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17686 which takes an expression.
17687
17688 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17689
13009bd8
MR
176902011-08-20 Martin Rudalics <rudalics@gmx.at>
17691
17692 * window.el (display-buffer-reuse-window)
17693 (display-buffer-pop-up-window): Don't reuse or split a side
17694 window.
17695
9234ff7f
GM
176962011-08-19 Glenn Morris <rgm@gnu.org>
17697
17698 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17699 Downcase "Mode:". (Bug#9331)
9234ff7f 17700
f635daa1
CY
177012011-08-18 Chong Yidong <cyd@stupidchicken.com>
17702
17703 * international/characters.el: Add L and R categories.
17704
17705 * subr.el (bidi-string-mark-left-to-right): Rename from
17706 string-mark-left-to-right. Use category search.
17707
17708 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17709
bc987f8b
JL
177102011-08-18 Juri Linkov <juri@jurta.org>
17711
17712 * faces.el (error, warning, success): New faces with definitions
17713 copied from old default values of `font-lock-warning-face',
17714 `compilation-warning', `compilation-info' (bug#6117).
17715
17716 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17717
17718 * progmodes/compile.el (compilation-error): Inherit from `error'.
17719 (compilation-warning): Inherit from `warning'.
17720 (compilation-info): Inherit from `success'.
17721
17722 * dired.el (dired-marked): Inherit from `warning'.
17723 (dired-flagged): Inherit from `error'.
17724
57173b96
LMI
177252011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17726
3e79eb87
LMI
17727 * mail/smtpmail.el (auth-source): Require to avoid problems with
17728 binding variables (bug#9298). Also clean up some unused
17729 autoloads.
17730
b3fd59bd
SM
17731 * net/network-stream.el (network-stream-open-starttls):
17732 Support using starttls.el without using gnutls-cli.
57173b96 17733
02b404de
JL
177342011-08-17 Juri Linkov <juri@jurta.org>
17735
17736 * progmodes/grep.el (rgrep): Handle the case when
17737 `grep-find-command' is a cons cell (bug#9278).
17738
8c9177f2
MR
177392011-08-17 Martin Rudalics <rudalics@gmx.at>
17740
17741 * window.el (display-buffer-pop-up-frame): Run frame creation
17742 function with BUFFER current (as special-display-popup-frame
17743 does). Reported by Drew Adams.
17744
3644a0ab
DU
177452011-08-17 Daiki Ueno <ueno@unixuser.org>
17746
17747 * epa-mail.el: Simplify GnuPG group expansion using
17748 epg-expand-group.
17749 (epa-mail-group-alist, epa-mail-group-modtime)
17750 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17751 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17752 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17753 Remove.
17754
5e617bc2 177552011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17756
17757 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17758
9c4aeabf
AM
177592011-08-16 Alan Mackenzie <acm@muc.de>
17760
17761 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17762 Correct, to avoid the inside of macros.
17763
3a99bf64
RS
177642011-08-16 Richard Stallman <rms@gnu.org>
17765
04963aa8
RS
17766 * epa-mail.el: Handle GnuPG group definitions.
17767 (epa-mail-group-alist, epa-mail-group-modtime)
17768 (epa-mail-gnupg-conf-file): New variables.
17769 (epa-mail-parse-groups, epa-mail-sync-groups)
17770 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17771 (epa-mail-expand-recipients): New functions.
17772 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17773
177549d0
RS
17774 * mail/rmail.el (rmail-epa-decrypt): New command.
17775
fe38beef
RS
17776 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17777 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17778 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17779 (epa-decrypt-armor-in-region): Make error message clearer.
17780
934eacb9
SM
177812011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17782
17783 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17784 and "a2b" to "ab" for `prefix'.
17785
d024fb4e
CY
177862011-08-14 Chong Yidong <cyd@stupidchicken.com>
17787
17788 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17789 filter groups.
de148fee
CY
17790 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17791 Fourquet (Bug#8804).
d024fb4e 17792
62f1ca49
JB
177932011-08-12 Juanma Barranquero <lekktu@gmail.com>
17794
17795 * startup.el (argi): Declare as global variable (bug#9275).
17796
9ccaaa4b
CY
177972011-08-12 Chong Yidong <cyd@stupidchicken.com>
17798
17799 * subr.el (string-mark-left-to-right): Search the entire string
17800 for RTL script, not just the terminating character. Doc fix.
17801
a3dae87a
SM
178022011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17803
6cd18349
SM
17804 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17805 New function.
17806 (js--regexp-literal, js-syntax-propertize-function): Remove.
17807 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17808 (js-mode-map): Don't rebind electric keys.
17809 (js-insert-and-indent): Remove.
17810 (js-mode): Setup electric-layout and electric-indent instead.
17811
a3dae87a
SM
17812 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17813
9d5cb631
DU
178142011-08-12 Daiki Ueno <ueno@unixuser.org>
17815
17816 * epa.el (epa-progress-callback-function): Fix the logic of
17817 displaying progress.
17818 * epa-file.el (epa-file-insert-file-contents): Make progress
17819 display more user-friendly.
17820 (epa-file-write-region): Ditto.
17821
3e26a4a2
CY
178222011-08-10 Chong Yidong <cyd@stupidchicken.com>
17823
17824 * subr.el (string-mark-left-to-right): New function.
17825
17826 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17827 Use string-mark-left-to-right.
17828 (list-buffers-noselect): Caller changed.
17829
a3dae87a
SM
17830 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17831 Use string-mark-left-to-right.
3e26a4a2
CY
17832 (tabulated-list-print): Recenter after moving point.
17833
ac8cf6e6
JL
178342011-08-10 Juri Linkov <juri@jurta.org>
17835
17836 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17837 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17838 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17839
8d96c9a4
CY
178402011-08-09 Chong Yidong <cyd@stupidchicken.com>
17841
17842 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17843 (Bug#7554).
17844
7be1c708 178452011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17846
17847 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17848 character. (Bug#6594)
17849
37e11a63
CY
178502011-08-08 Chong Yidong <cyd@stupidchicken.com>
17851
839dde57
CY
17852 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17853 (image-dired--with-db-file): New macro.
17854 (image-dired-write-tags, image-dired-remove-tag)
17855 (image-dired-create-gallery-lists, image-dired-write-comments)
17856 (image-dired-get-comment, image-dired-mark-tagged-files)
17857 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17858 (image-dired-gallery-generate): Use insert-file-contents.
17859
37e11a63
CY
17860 * time.el (display-time-world-list, display-time-world-display):
17861 * time-stamp.el (time-stamp-string):
17862 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17863 set-time-zone-rule (Bug#7337).
17864
0b4946c4
DU
178652011-08-08 Daiki Ueno <ueno@unixuser.org>
17866
17867 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17868 (epg-error-to-string, epg-errors-to-string): New function.
17869 (epg-wait-for-completion): Reverse errors list.
17870 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17871 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17872 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17873 (epg-sign-keys, epg-generate-key-from-file)
17874 (epg-generate-key-from-string): Format errors by using
17875 epg-errors-to-string (bug#9255).
17876 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17877
75bfc667
JL
178782011-08-07 Juri Linkov <juri@jurta.org>
17879
17880 * faces.el (list-faces-display): Remove extra angle bracket
17881 from `help-mode-map'.
17882
17883 * info.el (Info-history-toc-nodes): Doc fix.
17884
17885 * longlines.el (longlines-mode): Doc fix.
17886
673e08bb
SM
178872011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17888
4640dd88
SM
17889 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17890 of statements and in a few more cases (bug#9183).
17891
673e08bb
SM
17892 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17893 New functions.
17894 (cl-transform-lambda): Use them (bug#9239).
17895
89b3f019
MR
178962011-08-05 Martin Rudalics <rudalics@gmx.at>
17897
17898 * window.el (display-buffer-same-window)
17899 (display-buffer-same-frame, display-buffer-other-window)
17900 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17901 (pop-to-buffer-other-window)
17902 (pop-to-buffer-same-frame-other-window)
17903 (pop-to-buffer-other-frame): Make them defuns.
17904 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17905
640c8776
SM
179062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * subr.el (make-composed-keymap): Move from C. Change calling
17909 convention, and improve docstring to bring attention to a subtle point.
17910 * minibuffer.el (completing-read-default): Adjust accordingly.
17911
63648a95
MA
179122011-08-03 Michael Albinus <michael.albinus@gmx.de>
17913
17914 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17915 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17916
17917 * net/trampver.el: Update release number.
17918
b796c9b7
SM
179192011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17920
17921 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17922 "in" (bug#9190).
17923
2239d7d5
LMI
179242011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17925
e07dd7c3
LMI
17926 * mail/sendmail.el (sendmail-query-once): Restore the current
17927 buffer after querying (bug#9074).
17928
0e6a2bd7
LMI
17929 * dired.el (dired-flagged): Use different faces for marked and
17930 flagged files (bug#6117).
17931
ce887515
LMI
17932 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17933 (bug#4433).
17934
92f2affc
LMI
17935 * ido.el (ido-mode): Switch off the message if called
17936 non-interactively.
17937
57d5aff0
LMI
17938 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17939 before 587, since it appears that that's more likely to work for
17940 more people.
17941
98cd6c18 17942 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17943 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17944 exist.
17945
b96dec83
LMI
17946 * info.el: Remove the `Info-beginning-of-buffer' function
17947 (bug#8325).
17948
b796c9b7
SM
17949 * net/network-stream.el (network-stream-open-starttls):
17950 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17951
d90e2ea0
MR
179522011-08-01 Martin Rudalics <rudalics@gmx.at>
17953
17954 * window.el (display-buffer-in-window): Don't set dedicated status
17955 of window here (Bug#9215).
17956 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17957 (display-buffer-pop-up-side-window)
b796c9b7 17958 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17959
cca09170
SM
179602011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17961
17962 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17963 before binding generated-autoload-file.
17964
027b979c
DD
179652011-08-01 Deniz Dogan <deniz@dogan.se>
17966
17967 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17968
3c7ee4f3
MA
179692011-07-30 Michael Albinus <michael.albinus@gmx.de>
17970
17971 Sync with Tramp 2.2.2.
17972
17973 * net/trampver.el: Update release number.
17974
2cc8e51a
JL
179752011-07-30 Juri Linkov <juri@jurta.org>
17976
17977 * dired-aux.el (dired-touch-initial): Remove function.
17978 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17979 current time, and `default' to the last modification time of the
17980 current marked file (bug#6887).
17981
a514d856
JM
179822011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17983
17984 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17985 numeric argument to read-number (bug#9163).
a514d856 17986
8a7eddd7
MA
179872011-07-27 Michael Albinus <michael.albinus@gmx.de>
17988
17989 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17990 connection process, it could be nil.
17991
1ddd96f5
LL
179922011-07-27 Leo Liu <sdl.web@gmail.com>
17993
17994 Simplify url handling in rcirc-mode.
17995
17996 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17997 (rcirc-browse-url-at-mouse): Remove.
17998 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17999
b248a85d
AM
180002011-07-26 Alan Mackenzie <acm@muc.de>
18001
18002 Fontify bitfield declarations properly.
18003
18004 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18005 (c-symbol-chars): Now exported as a lang variable.
18006 (c-not-primitive-type-keywords): New lang variable.
18007
18008 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18009 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18010 parsed as a bitfield declaration.
b248a85d 18011
b796c9b7
SM
18012 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18013 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18014 (c-punctuation-in): New function.
18015 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18016 declarations properly.
18017
68575ab0
UJ
180182011-07-26 Ulf Jasper <ulf.jasper@web.de>
18019
18020 * calendar/icalendar.el (icalendar--all-events): Take care of
18021 multiple vcalendars in a single file.
b796c9b7 18022 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18023
0f0a88b9
DD
180242011-07-25 Deniz Dogan <deniz@dogan.se>
18025
18026 * image.el (insert-image): Clarifying docstring.
18027
0b3f36df
MA
180282011-07-24 Michael Albinus <michael.albinus@gmx.de>
18029
18030 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18031 `tramp-send-command-and-check' if there is no error.
18032 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18033
a9901f61
AM
180342011-07-22 Alan Mackenzie <acm@muc.de>
18035
18036 Prevent cc-langs.elc being loaded at run time.
18037
18038 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18039 cc-langs.
18040
4d61f28d 18041 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18042 "(require 'cc-langs)". Quote a form so it will evaluate at
18043 (cc-mode's) compilation time.
18044
11d074b2
MA
180452011-07-22 Michael Albinus <michael.albinus@gmx.de>
18046
18047 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18048 loading. (Bug#9114)
18049
938b94c8
MR
180502011-07-21 Martin Rudalics <rudalics@gmx.at>
18051
18052 * window.el (display-buffer-pop-up-window)
18053 (display-buffer-pop-up-side-window)
18054 (display-buffer-in-side-window): Call display-buffer-set-height
18055 and display-buffer-set-width after setting the new window's
b796c9b7 18056 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18057
bfa4f190
SS
180582011-07-20 Sam Steingold <sds@gnu.org>
18059
18060 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18061 (etags-tags-included-tables): Call `convert-standard-filename' on
18062 the file names contained in TAGS so that windows Emacs can handle
18063 TAGS files created by cygwin ctags.
18064
8ca42262
LMI
180652011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18066
18067 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18068 which apparently didn't work.
18069
5db2afd2 180702011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18071
5db2afd2
RW
18072 * proced.el (proced-send-signal): For *Marked Processes* buffer
18073 put point at beginning of buffer.
18074
92e15d10
SB
180752011-07-19 Stephen Berman <stephen.berman@gmx.net>
18076
18077 * proced.el (proced-format): Make header lines align with the text
18078 (bug#1779).
18079
1bfd59e5
LMI
180802011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18081
18082 * view.el (view-buffer): Allow running in `special' modes if we're
18083 visiting a file (bug#8615).
18084
f5aae37c
MR
180852011-07-19 Martin Rudalics <rudalics@gmx.at>
18086
18087 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18088 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18089 New functions.
f5aae37c
MR
18090 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18091 more accurately.
18092
bf2c1571
AM
180932011-07-18 Alan Mackenzie <acm@muc.de>
18094
18095 Fontify declarators properly when, e.g., a jit-lock chunk begins
18096 inside a declaration.
18097
18098 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18099
b796c9b7
SM
18100 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18101 New function.
bf2c1571
AM
18102 (c-complex-decl-matchers): Insert reference to
18103 c-font-lock-enclosing-decls.
18104
18105 * progmodes/cc-engine.el (c-backward-single-comment):
18106 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18107 to nil around calls to (forward-comment -1).
18108
4e190b80
LMI
181092011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18110
12dc863d
LMI
18111 * image.el (put-image): Doc typo fix.
18112
a762e966
LMI
18113 * progmodes/etags.el (tags-search): Doc typo fix.
18114
4e190b80
LMI
18115 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18116 password if we get errors 550 to 554.
18117
f019fb21
LMI
181182011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18119
b796c9b7 18120 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18121
81746738
LMI
18122 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18123 indentation character (bug#6380).
18124
3ee3a1b5
LMI
18125 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18126
c82f64de
LMI
18127 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18128 to clarify what the problem is (bug#4291).
18129
f019fb21
LMI
18130 * simple.el (current-kill): Clarify what
18131 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18132 (auto-fill-mode): Document `auto-fill-function' in relation to
18133 `auto-fill-mode' (bug#2470).
f019fb21 18134
0794775d
LM
181352011-07-16 Lawrence Mitchell <wence@gmx.li>
18136
18137 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18138 method if slot is read-only (bug#9035).
18139
be39b8cc
MR
181402011-07-16 Martin Rudalics <rudalics@gmx.at>
18141
b796c9b7 18142 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18143 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18144 selected before, see discussion of (Bug#8615), (Bug#6954).
18145 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18146
6ccf7859
GM
181472011-07-15 Glenn Morris <rgm@gnu.org>
18148
18149 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18150 Respect help-form.
6ccf7859 18151
87e86684
LM
181522011-07-09 Lawrence Mitchell <wence@gmx.li>
18153
18154 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18155 (gnutls-negotiate): Use it.
18156
d6066239
LMI
181572011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18158
b796c9b7
SM
18159 * net/gnutls.el (gnutls-negotiate):
18160 Upcase `gnutls-algorithm-priority'.
d6066239 18161
bd23ebc0
GM
181622011-07-15 Glenn Morris <rgm@gnu.org>
18163
c65bca65
GM
18164 * jka-compr.el (jka-compr-verbose): Move from here...
18165 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18166 Add missing :version tag.
18167 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18168
478615cc
LMI
181692011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18170
7b41decb
LMI
18171 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18172 (gnutls-negotiate): Use it.
18173
dbc44fcd
LMI
18174 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18175
06789f97
LMI
18176 * info.el (Info-beginning-of-buffer): New command.
18177 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18178 announcing `b' as the key (bug#8325).
ab896c37 18179 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18180
c39da690
LMI
18181 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18182
3aa5f34b
LMI
18183 * international/mule-cmds.el
18184 (describe-specified-language-support): Make the error message
18185 clearer (bug#8905).
18186
4bf0979f
LMI
18187 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18188
478615cc
LMI
18189 * isearch.el (isearch-barrier): Add a doc string, since it's
18190 mentioned in a function doc string (bug#8678).
18191
75c68aa1
MR
181922011-07-15 Martin Rudalics <rudalics@gmx.at>
18193
18194 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18195 buffer argument (Bug#9083) and self-identifying label argument.
18196
a7c33da2
GM
181972011-07-15 Glenn Morris <rgm@gnu.org>
18198
18199 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18200
2f5c6024
LMI
182012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18202
18203 * man.el (Man-fontify-manpage): Fix message when formatting the
18204 man page (bug#7929).
18205
0bb23927 182062011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18207
18208 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18209 argument LRM; if non-nil, append an invisible LRM character to the
18210 buffer name.
18211 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18212 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18213 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18214 paragraph direction.
cce4b0a7 18215
621ef9ab
LMI
182162011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18217
d1583c48
LMI
18218 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18219 the man page name (bug#7929).
18220
6a57fb5f
LMI
18221 * image.el (put-image): Mention the `put-image' overlay property
18222 (bug#7834).
18223
d7956b14
LMI
18224 * scroll-bar.el (set-scroll-bar-mode): Mention that
18225 `scroll-bar-mode' lists the values (bug#7772).
18226
5b2d4a66
LMI
18227 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18228 command (bug#7729).
18229
7509a874
LMI
18230 * rect.el (apply-on-rectangle): Return the point after the last
18231 operation.
18232 (string-rectangle): Go to the point after the last operation
18233 (bug#7522).
18234
4fe74b19
LMI
18235 * printing.el (pr-toggle-region): Clarify the documentation
18236 slightly (bug#7493).
18237
b796c9b7
SM
18238 * time.el (display-time-update):
18239 Allow `display-time-mail-function' to return nil (bug#7158).
18240 Fix suggested by Detlev Zundel.
ab283561 18241
fc233c9d
LMI
18242 * vc/diff.el (diff): Clarify the order the file names are read
18243 (bug#7111).
18244
43f5740b
LMI
18245 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18246 the doc string (bug#7015).
18247
f2182a76
LMI
18248 * font-lock.el (font-lock-maximum-decoration): Mention what
18249 numeric levels mean (bug#6935).
18250
621ef9ab
LMI
18251 * startup.el (initial-buffer-choice): Don't mention the `none'
18252 selection, which is against policy.
18253
adc47434
MR
182542011-07-14 Martin Rudalics <rudalics@gmx.at>
18255
b796c9b7
SM
18256 * window.el (display-buffer-normalize-special):
18257 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18258
7e5bfb8f
EZ
182592011-07-14 Eli Zaretskii <eliz@gnu.org>
18260
18261 * subr.el (version<, version<=, version=): Mention "-CVS" and
18262 "-12345" alpha version numbers.
18263
27fa387a
CY
182642011-07-14 Chong Yidong <cyd@stupidchicken.com>
18265
18266 * bindings.el: Add advertised binding for set-mark-command
18267 (Bug#5772).
18268
8bdfa064
CY
182692011-07-14 Chong Yidong <cyd@stupidchicken.com>
18270
18271 * bindings.el (mode-line-other-buffer):
18272 * bookmark.el (bookmark-bmenu-2-window):
18273 * bs.el (bs-cycle-next, bs-cycle-previous):
18274 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18275 switch-to-buffer.
18276
18277 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18278 Delete.
8bdfa064 18279
5eba16a3
JB
182802011-07-14 Juanma Barranquero <lekktu@gmail.com>
18281
18282 * follow.el (follow-debug-message, follow-redisplay):
18283 * jka-cmpr-hook.el (with-auto-compression-mode):
18284 Fix typos in docstrings.
18285
15853710
LMI
182862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18287
a28e4607
LMI
18288 * subr.el (with-silent-modifications): Clarify somewhat what the
18289 macro inhibits (bug#6525).
18290
15853710
LMI
18291 * simple.el (eval-expression): Note what it does if called
18292 interactively (bug#6495).
18293
bee0fcef
CY
182942011-07-13 Chong Yidong <cyd@stupidchicken.com>
18295
b796c9b7
SM
18296 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18297 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18298
18299 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18300 Remove switch-to-buffer.
18301
58274504
LMI
183022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18303
bd2fcc8d
LMI
18304 * files.el (make-directory): Clarify that an error will be raised
18305 if there's an error (bug#6397).
18306
0f04b32c
LMI
18307 * startup.el (initial-buffer-choice): Add `none' as a choice
18308 (bug#6234).
18309
465c5fc8
LMI
18310 * subr.el (add-hook): Clarify section about buffer-local hooks
18311 (bug#6218).
18312
58274504
LMI
18313 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18314
bead9a43
JB
183152011-07-13 Juanma Barranquero <lekktu@gmail.com>
18316
18317 * tabify.el (untabify): Preserve the current column so that point
18318 doesn't move (bug#6032).
18319
3af98a7b
LMI
183202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18321
b796c9b7
SM
18322 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18323 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18324
6240145a
GM
183252011-07-13 Glenn Morris <rgm@gnu.org>
18326
18327 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18328 (dired-insert-directory): Give a message the first time
18329 if ls is found not to support --dired.
18330
1d8c2ccc
LMI
183312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18332
18333 * simple.el (toggle-truncate-lines): Clarify what is toggled
18334 (bug#5580). Text by Drew Adams.
18335
5fc4038e
CY
183362011-07-13 Chong Yidong <cyd@stupidchicken.com>
18337
18338 * simple.el (blink-matching-open): Make the error message from the
18339 last change less verbose.
18340
bf6012e5
DN
183412011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18342
18343 * font-lock.el (font-lock-comment-face): Use the high contrast
18344 "yellow" color for font-lock-comment-face on low color terminals
18345 using a dark background color (bug#4221).
18346
343c3b5a
LMI
183472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18348
7e9505c5
LMI
18349 * dired.el (dired-insert-set-properties): Make the doc string
18350 reflect what it does now (bug#5325).
18351
c26fdcf5
LMI
18352 * simple.el (blink-matching-open): Say that we were unable to find
18353 the match within the limit, if we're limited (bug#5122).
18354
bb388cc5
LMI
18355 * international/mule-cmds.el (prefer-coding-system): Add an
18356 example (bug#4869).
18357
343c3b5a
LMI
18358 * progmodes/etags.el (tags-search): Document `file-list-form'
18359 (bug#4731).
18360
2a517d45
LM
183612011-07-13 Lawrence Mitchell <wence@gmx.li>
18362
18363 * net/browse-url.el (browse-url-default-browser)
18364 (browse-url-browser-function): Make the default browser choice a
18365 bit more logical (bug#4300). Also clean up the doc string.
18366
b6c78ef2
JB
183672011-07-13 Juanma Barranquero <lekktu@gmail.com>
18368
18369 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18370 binary endings (bug#4440).
18371
1c4dd947
LMI
183722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18373
a2014063
LMI
18374 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18375 which can be pretty annoying (bug#8971).
18376
9c9c2d88
LMI
18377 * jka-compr.el (jka-compr-verbose): New variable, and use
18378 throughout (bug#8971).
18379
1c4dd947
LMI
18380 * info.el (Info-find-file): Fall back on the installation
18381 directory if we can't find the info node anywhere else.
18382
a1c9f41b
SO
183832011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18384
18385 * vc/vc.el (vc-revert-file):
18386 Don't set file time-stamp in the past. (Bug#5181)
18387
536f3d36
LMI
183882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18389
7152b011
LMI
18390 * files.el (after-find-file): Give a better error message when
18391 trying to find a symlink that points to a file that doesn't exist
18392 (bug#4398).
18393
536f3d36
LMI
18394 * progmodes/cc-vars.el: Remove (probably) misleading comment
18395 (bug#4396).
18396
460c0fba
JB
183972011-07-12 Johan Bockgård <bojohan@gnu.org>
18398
18399 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18400
7a6bda45
CY
184012011-07-12 Chong Yidong <cyd@stupidchicken.com>
18402
18403 * mouse-sel.el: Hack restoring functionality, while keeping
18404 compatibility with 2010-07-03 changes to mouse selection.
18405 (mouse-sel-primary-overlay): New var.
18406 (mouse-sel-selection-alist): Use it.
18407 (mouse-sel-mode): Doc fix; remove points that are default features
18408 of mouse.el.
18409
c79598ef
JB
184102011-07-12 Johan Bockgård <bojohan@gnu.org>
18411
18412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18413 Fix previous fix (bug#2490).
18414
ff8be6ef
RW
184152011-07-12 Roland Winkler <winkler@gnu.org>
18416
b796c9b7
SM
18417 * textmodes/bibtex.el (bibtex-initialize):
18418 Use pop-to-buffer-same-window.
ff8be6ef
RW
18419 (bibtex-search-entries): Fix interactive call.
18420
296ba3ee
LMI
184212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18422
f5242a02 18423 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18424 Fontise bytecomp Error lines more correctly (bug#2490).
18425 Fix suggested by Johan Bockgård.
f5242a02 18426
296ba3ee
LMI
18427 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18428
18429 * dired-x.el (dired-guess-default): Use `delete-dups'.
18430
f69fd0d2
CY
184312011-07-12 Chong Yidong <cyd@stupidchicken.com>
18432
18433 * dired.el (dired-mark-prompt):
18434 * dired-aux.el (dired-read-shell-command): Doc fix.
18435
eab5dc07
LMI
184362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18437
b796c9b7
SM
18438 * mail/sendmail.el (sendmail-query-once):
18439 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18440 emacs -Q.
18441
18442 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18443
eab5dc07
LMI
18444 * cus-edit.el (custom-file): Take an optional no-error variable.
18445 (customize-save-variable): Set the variable, and give a warning if
18446 running under "emacs -q".
18447
a1e65d42
JB
184482011-07-11 Juanma Barranquero <lekktu@gmail.com>
18449
18450 * loadhist.el (unload-feature-special-hooks):
18451 Add `auto-coding-functions', `fill-nobreak-predicate' and
18452 `find-directory-functions' (bug#5327).
18453
1d52da10
LMI
184542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18455
be958f1d
LMI
18456 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18457
5bedb26c
LMI
18458 * cus-edit.el (custom-guess-name-alist): -alist variables should
18459 use the `alist' type (bug#3120). Suggested by Drew Adams.
18460
1d52da10
LMI
18461 * printing.el: Add documentation to all the `pr-toggle-' commands.
18462
cd394be1 184632011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18464
18465 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18466 backends where it makes sense (bug#2623).
18467
dcc88d8a
LMI
184682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469
c3de9feb
LMI
18470 * dired-x.el (dired-guess-default): Remove duplicate shell command
18471 entries (bug#2028).
8a93078b 18472 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18473 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18474
dcc88d8a
LMI
18475 * subr.el (remove-duplicates): New conveniency function.
18476
505e3645
LMI
184772011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18478
18479 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18480 (bug#1526).
18481
184822011-07-10 Martin Rudalics <rudalics@gmx.at>
18483
18484 * window.el (display-buffer-normalize-default): Don't invert
18485 meaning of even-window-heights. Reported by Eli Zaretskii
18486 <eliz@gnu.org>.
18487
455e4fa1
BR
184882011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18489
18490 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18491
8e0bc3e9
CY
184922011-07-10 Chong Yidong <cyd@stupidchicken.com>
18493
18494 * window.el (display-buffer): Fix arguments to
18495 display-buffer-reuse-window in last change.
18496
fa7c3228
CY
18497 * faces.el (link): Use a less saturated blue on light backgrounds.
18498
18499 * startup.el (fancy-startup-text, fancy-about-text)
18500 (fancy-startup-tail): Use font-lock faces, for background safety.
18501
c0a7f300
BN
185022011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18503
b796c9b7
SM
18504 * emulation/viper-cmd.el (viper-change-state-to-vi):
18505 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18506
4dc2a129
MR
185072011-07-09 Martin Rudalics <rudalics@gmx.at>
18508
18509 * window.el (display-buffer-default-specifiers): Remove.
18510 (display-buffer-macro-specifiers): Remove default specifiers.
18511 (display-buffer-alist): Default to nil.
b796c9b7 18512 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18513 (display-buffer-pop-up-window): Allow splitting internal
18514 windows. Check whether a live window was created.
18515 (display-buffer-other-window-means-other-frame)
18516 (display-buffer-normalize-arguments): Rename to
18517 display-buffer-normalize-argument and rewrite. Set the
18518 other-window specifier.
18519 (display-buffer-normalize-special): New function.
18520 (display-buffer-normalize-options): Rename to
18521 display-buffer-normalize-default and rewrite.
18522 (display-buffer-normalize-options-inhibit): Remove.
18523 (display-buffer-normalize-specifiers): Rewrite.
18524 (display-buffer): Process other-window specifier and call
18525 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18526 more faithfully.
b796c9b7 18527 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18528 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18529 (display-buffer-in-window, display-buffer-alist-set):
18530 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18531 <tassilo@member.fsf.org>.
18532
2d43b8c9
LL
185332011-07-09 Leo Liu <sdl.web@gmail.com>
18534
18535 * register.el (insert-register): Restore accidental change on
18536 2011-06-26. (Bug#9028)
18537
7f9b7c53
GM
185382011-07-09 Glenn Morris <rgm@gnu.org>
18539
18540 * subr.el (remq): Handle the empty list. (Bug#9024)
18541
f042cfd8
AS
185422011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18543
18544 * mail/sendmail.el (send-mail-function): No longer delay custom
18545 initialization.
18546 * custom.el (custom-initialize-delay): Doc fix.
18547
856b2f11
SM
185482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18551
afae1d68
MA
185522011-07-08 Michael Albinus <michael.albinus@gmx.de>
18553
18554 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18555 human-friendly prompt.
18556
0757af94
SM
185572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18558
18559 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18560 provided by a particular plugin.
18561
d760b731
LMI
185622011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18563
18564 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18565 save customizations (with "emacs -Q"), just set the variable
18566 instead of erroring out.
18567
18568 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18569
cd79ce90
JL
185702011-07-08 Juri Linkov <juri@jurta.org>
18571
18572 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18573 (archive-zip-update-case): Use 7z if found by `executable-find'.
18574 The order of searching the available programs is the same as in
18575 `archive-zip-extract' (bug#8968).
18576
14cc04aa
CY
185772011-07-07 Chong Yidong <cyd@stupidchicken.com>
18578
18579 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18580 (menu-bar-options-menu): Tweak descriptions.
18581
0a1848ec
LMI
185822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18583
18584 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18585 menu items into verb phrases (bug#1421). Also refill to fit under
18586 80 columns.
18587
f5bd0689
CY
185882011-07-07 Chong Yidong <cyd@stupidchicken.com>
18589
538e85c6
CY
18590 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18591 (Info-read-node-name): Doc fix (Bug#1084).
18592
f5bd0689
CY
18593 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18594 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18595 (end-of-sexp, beginning-of-sexp)
18596 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18597 (forward-symbol, forward-same-syntax, word-at-point)
18598 (sentence-at-point): Doc fix (Bug#1144).
18599
56ec5115
LMI
186002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18601
f3f8e37f
LMI
18602 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18603 should cover it (bug#1281).
18604
0757af94 18605 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18606
e9fce1ac 18607 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18608 negotiation fails, then possibly try again with a non-encrypted
18609 connection (bug#9017).
18610
56ec5115
LMI
18611 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18612 be used.
18613
c2f9aec8
RS
186142011-07-07 Richard Stallman <rms@gnu.org>
18615
18616 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18617 property, and handle its changed format.
18618 Look for the correct line number.
18619 Use file's line contents (but not past first =) to find
18620 correct line in message.
18621
ef7b981d 186222011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18623
18624 * international/characters.el (build-unicode-category-table):
18625 Delete it.
0757af94 18626 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18627
0757af94 18628 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18629 to src/chartab.c.
18630 (get-char-code-property): Call unicode-property-table-internal to
18631 load a file. Call get-unicode-property-internal where necessary.
18632 (put-char-code-property): Call unicode-property-table-internal to
18633 load a file. Call put-unicode-property-internal where necessary.
18634 put-unicode-property-internal where necessary.
0757af94
SM
18635 (char-code-property-description):
18636 Call unicode-property-table-internal to load a file.
c805dec0
KH
18637
18638 * international/charprop.el:
18639 * international/uni-bidi.el:
18640 * international/uni-category.el:
18641 * international/uni-combining.el:
18642 * international/uni-comment.el:
18643 * international/uni-decimal.el:
18644 * international/uni-decomposition.el:
18645 * international/uni-digit.el:
18646 * international/uni-lowercase.el:
18647 * international/uni-mirrored.el:
18648 * international/uni-name.el:
18649 * international/uni-numeric.el:
18650 * international/uni-old-name.el:
18651 * international/uni-titlecase.el:
18652 * international/uni-uppercase.el: Regenerate.
18653
18654 * loadup.el: Load international/charprop.el before
18655 international/characters.
18656
e14b388a
CY
186572011-07-07 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * window.el (next-buffer, previous-buffer): Signal an error if
18660 called from a minibuffer window.
18661
18662 * bindings.el: Revert 2011-07-04 change.
18663
354cf0ba
RS
186642011-07-06 Richard Stallman <rms@gnu.org>
18665
18666 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18667 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18668 Treat markers like ints.
18669 (rmail-mime-entity): Doc fix.
18670
a48868a7
LMI
186712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18672
4906cd3d
LMI
18673 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18674 defcustom again for backwards compatibility.
18675
e0457abe
LMI
18676 * simple.el (shell-command-on-region): Fill.
18677
d67f7e1f
LMI
18678 * dired-aux.el (dired-kill-line): Add a doc string.
18679
fe204702
LMI
18680 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18681 to "\\sw\\|\\s_" (bug#358).
18682
a48868a7
LMI
18683 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18684 (dired-unmark-backward): Ditto.
18685 (dired-flag-backup-files): Ditto.
18686
18687 * dired-x.el (dired-mark-sexp): Ditto.
18688
aa8a705c
RS
186892011-07-06 Richard Stallman <rms@gnu.org>
18690
18691 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18692 (rmail-mime-entity): New arg TRUNCATED.
18693 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18694 New functions.
18695 (rmail-mime-save): Warn if entity is truncated.
18696 (rmail-mime-toggle-hidden): Likewise, for showing.
18697 (rmail-mime-process-multipart): Record when an entity is truncated.
18698
a9a936b9
RS
18699 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18700 if ENTITY is a string.
18701
1f2b92cb
LMI
187022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18703
f4f73198 18704 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18705 of faces when `M-C-x'-ing their definitions (bug#8378).
18706 Also clean up the code slightly.
f4f73198 18707
12b16734 18708 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18709 because that makes the colors go away.
12b16734 18710
f0691d22
LMI
18711 * mail/sendmail.el (send-mail-function): Change the default to
18712 `sendmail-query-once'.
9e87df06 18713 (sendmail-query-once): Add an autoload cookie.
f0691d22 18714
1f2b92cb
LMI
18715 * net/network-stream.el (network-stream-open-starttls): Try using
18716 a plain connection even if the server offered STARTTLS, and we
18717 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18718 capability. This should make smtpmail.el work in slightly more
18719 configurations.
18720
1cdd2a1b
MA
187212011-07-06 Michael Albinus <michael.albinus@gmx.de>
18722
18723 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18724 New defun.
18725 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18726
fbcc67e2
MM
187272011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18728
18729 * progmodes/sql.el: Version 3.0
0757af94 18730 (sql-product-alist): Add product :completion-object,
fbcc67e2 18731 :completion-column, and :statement attributes.
0757af94 18732 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18733 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18734 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18735 ansi keywords.
18736 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18737 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18738 (sql-oracle-show-reserved-words): New function for development.
18739 (sql-product-font-lock): Simplify for source code buffers.
18740 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18741 New functions.
18742 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18743 (sql-mode-map): Add statement movement functions.
18744 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18745 New variable.
fbcc67e2
MM
18746 (sql-statement-regexp, sql-beginning-of-statement)
18747 (sql-end-of-statement, sql-signum): New functions.
0757af94 18748 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18749 (sql-show-sqli-buffer): Bug fix.
18750 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18751 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18752 with sql-interactive-mode.
18753 (sql-save-connection): Save buffer local settings.
0757af94 18754 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18755 (sql-product-interactive): Bug fix.
18756 (sql-preoutput-hold): New variable.
18757 (sql-interactive-remove-continuation-prompt): Bug fixes.
18758 (sql-debug-redirect): New variable.
18759 (sql-str-literal): New function.
18760 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18761 Redesign.
fbcc67e2
MM
18762 (sql-oracle-save-settings, sql-oracle-restore-settings)
18763 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18764 (sql-completion-object, sql-completion-column)
18765 (sql-completion-sqlbuf): New variables.
18766 (sql-build-completions-1, sql-build-completions)
18767 (sql-try-completion): New functions.
18768 (sql-read-table-name): Use them.
18769 (sql-contains-names): New buffer local variable.
18770 (sql-list-all, sql-list-table): Use it.
18771 (sql-oracle-completion-types): New variable.
18772 (sql-oracle-completion-object, sql-sqlite-completion-object)
18773 (sql-postgres-completion-object): New functions.
18774
d4eaeab1
GM
187752011-07-06 Glenn Morris <rgm@gnu.org>
18776
18777 * window.el (pop-to-buffer): Doc fix.
18778
322b7dab 187792011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18780
18781 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18782
322b7dab 187832011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18784
322b7dab 18785 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18786
322b7dab 18787 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18788
605dd5bf
CY
187892011-07-05 Chong Yidong <cyd@stupidchicken.com>
18790
18791 * button.el (button): Inherit from link face. Suggested by Dan
18792 Nicolaescu.
18793
7dbfa719
SM
187942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18795
3db614b0
SM
18796 * progmodes/gdb-mi.el: Fit in 80 columns.
18797 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18798 switch-to-buffer.
18799
7dbfa719
SM
18800 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18801 if imenu is simply not configured (bug#8941).
18802
919d884a
KM
188032011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18804
18805 * allout.el (allout-post-undo-hook): New allout outline-change
18806 event hook to signal undo activity.
18807 (allout-post-command-business): Run allout-post-undo-hook if an
18808 undo just occurred.
7dbfa719
SM
18809 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18810 * allout-widgets.el (allout-widgets-after-undo-function):
18811 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18812 in the vicinity of an undo.
18813 (allout-widgets-mode): Include allout-widgets-after-undo-function
18814 on the new allout-post-undo-hook.
18815
450a0f09
SM
188162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18819 Let define-derived-mode define it.
18820 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18821 cycles of abbrev-table inheritance (bug#8998).
18822
2de69e00
RW
188232011-07-05 Roland Winkler <winkler@gnu.org>
18824
18825 * textmodes/bibtex.el: Add support for biblatex.
18826 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18827 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18828 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18829 (bibtex-entry-alist, bibtex-field-alist): New variables.
18830 (bibtex-entry-field-alist): Obsolete alias for
18831 bibtex-BibTeX-entry-alist.
18832 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18833 (bibtex-set-dialect): New command.
18834 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18835 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18836 Bind via bibtex-set-dialect.
2de69e00
RW
18837 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18838 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18839 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18840 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18841 Define via bibtex-set-dialect.
450a0f09
SM
18842 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18843 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18844 (bibtex-vec-push, bibtex-vec-incr): New functions.
18845 (bibtex-format-entry, bibtex-field-list)
18846 (bibtex-print-help-message, bibtex-validate)
18847 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18848
2dcdbdd9
SM
188492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18850
18851 * progmodes/compile.el (compilation-goto-locus):
18852 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18853 * bs.el (bs-cycle-next, bs-cycle-previous):
18854 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18855 * bindings.el (mode-line-other-buffer):
18856 * autoinsert.el (auto-insert):
18857 * arc-mode.el (archive-extract):
18858 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18859
b27640fe
JB
188602011-07-05 Juanma Barranquero <lekktu@gmail.com>
18861
18862 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18863 Fix check of `emacs-lock-unlockable-modes'.
18864 Coerce true values of `emacs-lock--try-unlocking' to t.
18865
53bbe3ad
JB
188662011-07-05 Juanma Barranquero <lekktu@gmail.com>
18867
18868 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18869 * emacs-lock.el: New file.
18870
1d3cdbc7
JD
188712011-07-05 Julien Danjou <julien@danjou.info>
18872
18873 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18874 than `boundp' to check if face is set.
18875
9173deec
JB
188762011-07-05 Juanma Barranquero <lekktu@gmail.com>
18877
18878 * register.el (registerv-make):
18879 * window.el (window-min-height): Fix typos in docstrings.
18880
869795d6
JD
188812011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18882
9173deec 18883 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18884 Update doc string.
18885
b768cdcd
JB
188862011-07-04 Juanma Barranquero <lekktu@gmail.com>
18887
18888 * server.el (server-execute): Catch quit and call
18889 `server-return-error' to pass the error back to emacsclient and
18890 close the connection (bug#8942).
18891
13aa217b
KM
188922011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18893
18894 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18895 insecure exception for current topic. Also note that auto-saves
18896 are handled differently.
18897
5d3385a0 18898 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18899 State variables for tracking auto-save inhibition situation.
18900
18901 (allout-write-contents-hook-handler): Rename from
18902 'allout-write-file-hook-handler', and describe how it depends on
18903 write-contents-functions sensitivity to non-nil value to prevent
18904 file write.
18905
18906 (allout-auto-save-hook-handler): Remove. auto-save does not check
18907 this in individual buffers, only in the starting buffer, so this
18908 is not the right way for us to inhibit auto-save in a buffer
18909 according to its condition.
18910
18911 (allout-mode): Use new allout-write-contents-hook-handler, and
18912 only with write-contents-functions. Remove auto-save provisions -
18913 they're implemented elsewhere.
18914
18915 (allout-before-change-handler): If undo is in progress, note that
18916 for attention of allout-post-command-business.
18917
18918 (allout-post-command-business): If the command we're following was
18919 an undo, check for change in the status of encrypted items and
18920 adjust auto-save inhibitions accordingly.
18921
18922 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18923 according to whether there are or aren't any plain-text topics
18924 pending encryption.
18925
2dcdbdd9 18926 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18927 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18928 if there are plain-text topics pending encryption.
13aa217b
KM
18929
18930 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18931 buffer-saved-size and some allout state to not inhibit auto-saves
18932 if there are no longer any plain-text topics pending encryption.
18933
0757af94
SM
18934 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18935 No longer provide for exemption of the current topic.
13aa217b 18936
ac89b32c
JL
189372011-07-04 Juri Linkov <juri@jurta.org>
18938
18939 Add 7z operations to delete and save changed members (bug#8968).
18940 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18941 New defcustoms.
18942 (archive-7z-write-file-member): New function.
18943 (archive-7z-summarize): Fix the number of dashes in the
18944 listing output.
18945
8fa39615
SM
189462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18947
18948 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18949 (bug#8958).
18950
2f11b3f1
CY
189512011-07-04 Chong Yidong <cyd@stupidchicken.com>
18952
d66fef2b
CY
18953 * bindings.el: Ignore next-buffer and previous-buffer in
18954 minibuffer-local-map.
18955
2f11b3f1
CY
18956 * font-lock.el (font-lock-builtin-face): Change light background
18957 color to dark slate blue (Bug#6693).
18958
f932a347
WD
189592011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18960
18961 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18962
c8af70e1
SM
189632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18964
18965 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18966 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18967 Add switch-to-buffer.
18968
f158badc
LMI
189692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18970
18971 * isearch.el (isearch-search-fun-function): Clarify further the
18972 meaning of the function returned.
18973
6d95bd46
MA
189742011-07-04 Michael Albinus <michael.albinus@gmx.de>
18975
18976 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18977
18978 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18979 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18980 Use it.
18981 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18982 `tramp-default-remote-path' does not exist.
18983 (tramp-send-command-and-read): New optional argument NOERROR.
18984 (tramp-open-connection-setup-interactive-shell)
18985 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18986 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18987 (tramp-process-sentinel): Flush also process' connection property.
18988 (tramp-sh-handle-start-file-process): Do not set process
18989 sentinel. It is done now ...
18990 (tramp-maybe-open-connection): ... here. (Bug#8929)
18991
909e6b67
MK
189922011-07-04 MON KEY <monkey@sandpframing.com>
18993
18994 * play/animate.el (animate-string): Doc fixes and allow changing
18995 the buffer name (bug#5417).
18996
189972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18998
c8af70e1 18999 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19000
f34755dc
PE
190012011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19002
396cec72
PE
19003 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19004 This is simpler and helps future-proof the code.
19005 (timer-until): Use time-subtract and float-time.
08235028 19006 (timer--time-less-p): Use time-less-p.
f34755dc 19007
56e6cc31
JB
190082011-07-04 Juanma Barranquero <lekktu@gmail.com>
19009
3abb79e5
JB
19010 * type-break.el (timep): Use the value of `float-time' to avoid a
19011 byte-compiler warning.
19012
56e6cc31
JB
19013 * server.el (server-eval-and-print): Return any result, even nil.
19014
7b9430b4
PE
190152011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19016
19017 * type-break.el: Accept time formats that the builtins accept.
19018 (timep, type-break-time-difference): Accept any format that
19019 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19020 This is simpler and helps future-proof the code.
19021 (type-break-time-difference): Round rather than ignoring
19022 subseconds components.
19023
3034e9e7
LMI
190242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19025
19026 * info.el (Info-apropos-matches): Make non-interactive, since it
19027 doesn't seem to do anything useful as a command (bug#8829).
19028
1485f4c0
CY
190292011-07-03 Chong Yidong <cyd@stupidchicken.com>
19030
19031 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19032 Move from faces.el.
1485f4c0
CY
19033 (frame-default-terminal-background): New function.
19034
19035 * custom.el (custom-push-theme): Don't record faces in `changed'
19036 theme; this doesn't work correctly for per-frame face settings.
19037 (disable-theme): Use face-set-after-frame-default to reset faces.
19038 (custom--frame-color-default): New function.
19039
9fa3dd45
LMI
190402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19041
c8af70e1 19042 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19043 (bug#8769).
19044
6cbbc20c
KR
190452011-03-29 Kevin Ryde <user42@zip.com.au>
19046
19047 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19048 `perl-Test2' extend to match possible "fail #N" rep count
19049 (bug#8377).
19050
c7f98048
LMI
190512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19052
65676592
LMI
19053 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19054 `smtpmail-via-smtp' now returns the error instead of nil.
19055
c7f98048
LMI
19056 * isearch.el (isearch-search-fun-function): Clarify the doc string
19057 (bug#8101).
19058
56e6cc31 190592011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19060
19061 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19062 unnecessary spaces (bug#8987).
19063
2b216704
LMI
190642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19065
19066 * net/network-stream.el (open-network-stream): Use the
19067 :end-of-capability command thoughout.
19068
190692011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19070
19071 * net/network-stream.el (open-network-stream): Add the
19072 :end-of-capability command parameter, used by pop3.el.
19073
36adf6ce
LMI
190742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19075
1ca0da0e
LMI
19076 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19077
fc00f69c
LMI
19078 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19079 for list)" (bug#6475).
19080
28fd8759 19081 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19082 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19083 an error (bug#6297).
19084
0dd8b6da
LMI
19085 * man.el (Man-reference-regexp): Allow matching possible
19086 word-wrapped references (bug#6289).
19087
ce1438d6
LMI
19088 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19089 for consistency with the other vc buffers (bug#6197).
19090 (vc-checkin): Ditto.
19091
19092 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19093
36adf6ce
LMI
19094 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19095
e83cc1f7
LMI
190962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19097
8a20ca4c
LMI
19098 * custom.el (defcustom): Clarify that :set is only used in the
19099 Customize user interface (bug#6089).
19100
83319045
LMI
19101 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19102 associated with a file, refuse to run instead of erroring out
19103 (bug#6084).
19104
a8392169
LMI
19105 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19106 the doc string, since it appears that using `fill-column' always
19107 controls the width (bug#7845).
19108
e83cc1f7
LMI
19109 * simple.el (shell-command-on-region): Say where the error output
19110 went if `shell-command-default-error-buffer' is set (bug#6857).
19111
e47ca23b
KM
191122011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19113
19114 * allout.el (allout-yank-processing): Adjust cursor position for
19115 backwards-deleted space.
19116
19117 (allout-rebullet-heading): Register changes with
19118 allout-exposure-changed-hook, so the modified topic is properly
19119 decorated.
19120
5cf56143
LMI
191212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19122
08549772
LMI
19123 * minibuffer.el (completion-in-region): Document PREDICATE
19124 (bug#7136).
19125
48e96771
LMI
19126 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19127 of keyword/argument pairs (bug#6904).
19128
c8af70e1
SM
19129 * replace.el (multi-occur):
19130 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19131
e17d05e2
LMI
191322011-07-02 Drew Adams <drew.adams@oracle.com>
19133
19134 * dired.el (dired-mark-if): Make the message about whether it's
19135 marking or unmarking clearer (bug#8523).
19136
063b0e45
LMI
191372011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19138
19139 * disp-table.el (display-table-print-array): New function.
19140 (describe-display-table): Use it to print the vectors more pretty
19141 (Bug#8859).
19142
28545e04
MR
191432011-07-02 Martin Rudalics <rudalics@gmx.at>
19144
19145 * window.el (window-state-get-1): Don't assign clone numbers.
19146 Add clone-of item to list of window parameters.
19147 (window-state-put-2): Don't process clone numbers.
19148 (display-buffer-alist): Fix doc-string.
19149
3349e122
SM
191502011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19151
19152 * subr.el (remq): Don't allocate if it's not needed.
19153 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19154 (keymap--merge-bindings): New functions.
19155 (keymap-canonicalize): Use them to refine the canonicalization.
19156 * minibuffer.el (minibuffer-local-completion-map)
19157 (minibuffer-local-must-match-map): Move initialization from C.
19158 (minibuffer-local-filename-completion-map): Move initialization from C;
19159 don't inherit from anything here.
19160 (minibuffer-local-filename-must-match-map): Make obsolete.
19161 (completing-read-default): Use make-composed-keymap to combine
19162 minibuffer-local-filename-completion-map with either
19163 minibuffer-local-must-match-map or
19164 minibuffer-local-filename-completion-map.
19165
d224ac83
GM
191662011-07-01 Glenn Morris <rgm@gnu.org>
19167
3de63bf8
GM
19168 * type-break.el (type-break-time-sum): Use dolist.
19169
d224ac83
GM
19170 * textmodes/flyspell.el (flyspell-word-search-backward):
19171 Replace CL function.
19172
1a1e3f32
SM
191732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19174
fe3f64d5
SM
19175 * mouse.el (mouse--strip-first-event): New function.
19176 (function-key-map): Use it to map fringe clicks to normal clicks
19177 by default.
19178
eb604e34
SM
19179 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19180 (vc-bzr-revision-completion-table): Add support for annotate and date.
19181
1a1e3f32
SM
19182 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19183 inherit from parent.
19184
5bd35902
LMI
191852011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19186
ace6c69c 19187 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19188 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19189
191e2bed
LMI
19190 * dired.el (dired-mode): Fix up the doc string as suggested by
19191 Drew Adams (bug#8817).
19192
5bd35902
LMI
19193 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19194 cookie, since the manual says that it should be possible to add
19195 this function to `find-file-hook' (bug#8709).
19196
eee8207a
TZ
191972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19198
19199 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19200 here. Noted Ted Zlatanov as the maintainer.
19201 (cfengine-common-settings, cfengine-common-syntax): New functions
19202 to set up common things between `cfengine-mode' and
19203 `cfengine3-mode'.
19204 (cfengine3-mode): New mode.
19205 (cfengine3-defuns cfengine3-defuns-regex
19206 (cfengine3-class-selector-regex cfengine3-category-regex)
19207 (cfengine3-vartypes cfengine3-font-lock-keywords)
19208 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19209 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19210
36b148cf
MA
192112011-07-01 Michael Albinus <michael.albinus@gmx.de>
19212
19213 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19214
19215 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19216
0bf4ba9a
MR
192172011-07-01 Martin Rudalics <rudalics@gmx.at>
19218
19219 * window.el (same-window-buffer-names, same-window-regexps)
19220 (same-window-p, special-display-frame-alist)
19221 (special-display-popup-frame, special-display-function)
19222 (special-display-buffer-names, special-display-regexps)
19223 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19224 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19225 (split-window-preferred-function, split-height-threshold)
19226 (split-width-threshold, even-window-heights)
19227 (display-buffer-mark-dedicated, window-splittable-p)
19228 (split-window-sensibly, window-safely-shrinkable-p):
19229 Un-obsolete.
19230 (display-buffer): Don't spread args with function specifier
19231 because special-display-popup-frame won't like it.
19232
35837f51
PE
192332011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19234
d0672f86
PE
19235 Time-stamp simplifications and fixes.
19236 These improve accuracy slightly, and future-proof the code
19237 against some potential changes to current-time format.
19238
b9444d97
PE
19239 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19240 by using time-since and float-time.
19241
0ef923dc
PE
19242 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19243 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19244 + NNN microseconds".
19245
2f81380d
PE
19246 * type-break.el (type-break-time-sum): Rewrite using time-add.
19247
845b5c3e
PE
19248 * play/hanoi.el (hanoi-current-time-float): Remove.
19249 All uses replaced by float-time.
19250
ee6f1be0
PE
19251 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19252 This yields a more-accurate answer.
19253 (rng-time-to-float): Remove; no longer needed.
19254
fe955043
PE
19255 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19256
5777162a
PE
19257 * calendar/timeclock.el (timeclock-seconds-to-time):
19258 Defalias to seconds-to-time, since they're the same thing.
19259
3103f8b6 19260 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19261 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19262 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19263
0e61a35f
SM
192642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19265
19266 * window.el (bury-buffer): Don't iconify the only frame.
19267 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19268 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19269
ddd63a1e
CY
192702011-07-01 Chong Yidong <cyd@stupidchicken.com>
19271
0e61a35f
SM
19272 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19273 Add mouse-yank-primary.
ddd63a1e 19274
055f4923
TZ
192752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19276
19277 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19278
6a2fb145
SM
192792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19280
19281 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19282 (find-library-name): Use it to find relative load names when provided
19283 absolute file name (bug#8803).
19284
fd4983f2
LMI
192852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19286
887d14ad
LMI
19287 * textmodes/flyspell.el (flyspell-word): Consider words that
19288 differ only in case as potential doublons (bug#5687).
19289
c53dc7fc
LMI
19290 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19291 Remove two rather uninteresting debugging-like messages to make
19292 debbugs.el more silent.
19293
fd4983f2
LMI
19294 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19295 a password-like phrase.
19296
7a71b18d 192972011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19298
19299 * progmodes/cc-guess.el: New file.
19300
6a2fb145 19301 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19302
19303 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19304 derived from `c-basic-common-init'.
19305
19306 * progmodes/cc-mode.el (top-level): Require cc-guess.
19307 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19308
1fa280a3
LM
193092011-06-30 Lawrence Mitchell <wence@gmx.li>
19310
19311 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19312
e6597158
AM
193132011-06-30 Alan Mackenzie <acm@muc.de>
19314
1fa280a3
LM
19315 * progmodes/cc-engine.el (c-guess-continued-construct):
19316 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19317 lock is disabled. Name this case as "CASE G".
19318
68ba37fb
KM
193192011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19320
19321 * allout.el (allout-yank-processing): Fix injection of extra space
19322 between bullet and non-whitespace character in first topic when
19323 pasting, ensuring that the actual spacing in the pasted topic
19324 following the bullet char is preserved. This extra space was
19325 causing pasted encrypted topics to get a decrypted status even
19326 when the content was actually still encrypted. Now the decryption
19327 status from before the paste is preserved.
19328
19329 (allout-flag-region): Set all allout overlays so they evaporate
19330 when reduced to zero length (evanescent), to prevent overlay
19331 leakage.
19332
887a0b34
GM
193332011-06-30 Glenn Morris <rgm@gnu.org>
19334
94b9acce
GM
19335 * w32-fns.el (w32-charset-info-alist): Declare.
19336
1d9b46d4
GM
19337 * find-dired.el (find-grep-options): Simplify.
19338
cc232200
GM
19339 * term/ns-win.el (ns-set-resource): Declare.
19340
28e77c46
GM
19341 * ses.el (row, col): Declare dynamic variables honestly.
19342
887a0b34
GM
19343 * textmodes/reftex-parse.el (index-tags): Declare.
19344
658d8eb8
CY
193452011-06-30 Chong Yidong <cyd@stupidchicken.com>
19346
19347 * cus-edit.el (customize-push-and-save): New function.
19348
19349 * files.el (hack-local-variables-confirm): Use it.
19350
1fa280a3
LM
19351 * custom.el (load-theme): New arg NO-CONFIRM.
19352 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19353 (custom-enabled-themes): Doc fix.
19354
19355 * cus-theme.el (customize-create-theme)
19356 (custom-theme-merge-theme): Callers to load-theme changed.
19357
bb617717
LMI
193582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19359
d61bdd5d
LMI
19360 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19361 short URLs have at least one dot in them (bug #7614).
19362
bb617717
LMI
19363 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19364 nil, because using a pty is apparently too slow (bug #895).
19365
2f31f37a
LMI
193662011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19367
19368 * mail/sendmail.el (sendmail-query-once): New function.
19369 (sendmail-query-once-function): New variable.
19370
3076b24e
GM
193712011-06-29 Glenn Morris <rgm@gnu.org>
19372
faf2a174
GM
19373 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19374
3076b24e
GM
19375 * ses.el (top-level): Require cl when compiling.
19376 (ses-set-localvars): Fix error statement.
19377 Call it at compile time to silence a storm of warnings.
19378
5386012d
MR
193792011-06-29 Martin Rudalics <rudalics@gmx.at>
19380
19381 * window.el (normalize-live-buffer): Rename to
19382 window-normalize-buffer.
19383 (normalize-live-frame): Rename to window-normalize-frame.
19384 (normalize-any-window): Rename to window-normalize-any-window.
19385 (normalize-live-window): Rename to window-normalize-live-window.
19386 (make-window-atom): Rename to window-make-atom.
19387 (window-resize-reset): Rename to window--resize-reset.
19388 (window-resize-reset-1): Rename to window--resize-reset-1.
19389 (resize-mini-window): Rename to window--resize-mini-window.
19390 (resize-subwindows-skip-p): Rename to
19391 window--resize-subwindows-skip-p.
19392 (resize-subwindows-normal): Rename to
19393 window--resize-subwindows-normal.
19394 (resize-subwindows): Rename to window--resize-subwindows.
19395 (resize-other-windows): Rename to window--resize-siblings.
19396 (resize-this-window): Rename to window--resize-this-window.
19397 (resize-root-window): Rename to window--resize-root-window.
19398 (resize-root-window-vertically): Rename to
19399 window--resize-root-window-vertically.
19400 (normalize-buffer-to-display): Rename to
19401 window-normalize-buffer-to-display.
19402 (normalize-buffer-to-switch-to): Rename to
19403 window-normalize-buffer-to-switch-to.
19404 Correspondingly update all callers of the functions listed
19405 above.
19406 (display-buffer-alist, display-buffer-normalize-arguments)
19407 (display-buffer-normalize-options, display-buffer)
19408 (display-buffer-alist-set): Use "function" instead of
19409 "fun-with-args".
19410
1176868d
CY
194112011-06-28 Chong Yidong <cyd@stupidchicken.com>
19412
19413 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19414 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19415 debbugs.gnu.org. Mention acknowledgment email.
19416
20a7a65f
LMI
194172011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19418
19419 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19420 buffer multibyteness, since it shouldn't matter.
19421
5f45cca5
MR
194222011-06-28 Martin Rudalics <rudalics@gmx.at>
19423
19424 * window.el (display-buffer-in-side-window): Handle dedicated
19425 windows as in display-buffer-reuse-window.
19426 (display-buffer-normalize-alist): Use value of override
19427 specifier.
19428 (display-buffer-normalize-specifiers): Use value of
19429 other-window-means-other-frame specifier.
19430 (display-buffer-alist): Rewrite some texts in widgets.
19431 (display-buffer): Spread arguments when calling function
19432 specified by fun-with-args.
19433
ad85fe1f
DD
194342011-06-28 Deniz Dogan <deniz@dogan.se>
19435
1fa280a3
LM
19436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19437 Unnest `let'.
da68c4c8 19438
ad85fe1f
DD
19439 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19440 selectors (Bug#5732).
ec49bd31 19441 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19442
a08cc025
JA
194432011-06-27 Jari Aalto <jari.aalto@cante.net>
19444
19445 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19446 (eshell-ls-date-format): New defcustom.
19447 (eshell-ls-file): Use it.
19448
e2b551c5
SM
194492011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19452
8982b231
KY
194532011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19454
19455 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19456 (ange-ftp-make-tmp-name): New arg.
19457 (ange-ftp-file-local-copy): Use it.
19458
36c9fa27
J
194592011-06-27 Jambunathan K <kjambunathan@gmail.com>
19460
19461 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19462 no-conversion (Bug#8870).
19463
d68443dc
MR
194642011-06-27 Martin Rudalics <rudalics@gmx.at>
19465
19466 * window.el (window-right, window-left, window-child)
19467 (window-child-count, window-last-child)
19468 (window-iso-combination-p, walk-window-tree-1)
19469 (window-atom-check-1, window-tree-1, delete-window)
19470 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19471 new naming conventions - window-vchild, window-hchild,
19472 window-next and window-prev are now called window-top-child,
19473 window-left-child, window-next-sibling and window-prev-sibling
19474 respectively.
d615d6d2
MR
19475 (resize-window-reset): Rename to window-resize-reset.
19476 (resize-window-reset-1): Rename to window-resize-reset-1.
19477 (resize-window): Rename to window-resize.
19478 (window-min-height, window-min-width)
19479 (resize-mini-window, resize-this-window, resize-root-window)
19480 (resize-root-window-vertically, adjust-window-trailing-edge)
19481 (enlarge-window, shrink-window, maximize-window)
19482 (minimize-window, delete-window, quit-restore-window)
19483 (split-window, balance-windows, balance-windows-area-adjust)
19484 (balance-windows-area, window-state-put-2)
19485 (display-buffer-even-window-sizes, display-buffer-set-height)
19486 (display-buffer-set-width, set-window-text-height)
19487 (fit-window-to-buffer): Rename all "resize-window" prefixed
19488 calls to use the "window-resize" prefix convention.
19489 (display-buffer-alist): Fix symbol for label specifier.
19490 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19491 corresponding specifier.
19492 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19493
b6458526
VB
194942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19495
19496 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19497 convention.
19498 (ses-call-printer): Does not pass an empty string to formatter when the
19499 cell is empty to keep from barking printer Calc math-format-value.
19500
d31fd9ac
RS
195012011-06-27 Richard Stallman <rms@gnu.org>
19502
43d5bf84
RS
19503 * battery.el (battery-mode-line-limit): New variable.
19504 (battery-update): Handle it.
19505
d31fd9ac
RS
19506 * mail/rmailmm.el (rmail-mime-process-multipart):
19507 Handle truncated messages.
19508
819a6054
GM
195092011-06-27 Glenn Morris <rgm@gnu.org>
19510
19511 * progmodes/flymake.el (flymake-err-line-patterns):
19512 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19513
cedc73f2
VB
195142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19515
819a6054 19516 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19517 (ses--clean-!, ses--clean-_): New functions.
19518 (ses-range): Add configurability of readout order, and conversion
19519 to Calc vector.
19520
5e5d49b6
VB
19521 * ses.el (ses-repair-cell-reference-all): New function.
19522 (ses-cell-symbol): Set macro as safe, so that it can be used in
19523 formulas.
19524
56e6cc31 19525 * ses.el: Update cycle detection algorithm.
90ca8b49 19526 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19527 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19528 (ses-set-localvars): New function.
19529 (ses-make-cell): Add property-list as a cell element.
19530 (ses-cell-property-get-fun, ses-cell-property-get)
19531 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19532 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19533 New functions.
90ca8b49
VB
19534 (ses-cell-property-set, ses-cell-property-pop)
19535 (ses-cell-property-get-handle): New macro.
19536 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19537 New aliases, used for code readability.
19538 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19539 cycle detection.
19540 (ses-self-reference-early-detection): New defcustom.
fac916bf 19541 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19542 (ses-mode): Use ses-set-localvars.
19543 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19544 before lauching the update processing.
19545 (ses-initialize-Dijkstra-attempt): New function.
19546 (ses-recalculate-cell): Update for cycle detection based on
19547 Dijkstra algorithm.
19548
2bb63e81
VB
19549 * ses.el: Fix commenting and indenting convention.
19550
c9d29fb8
SM
195512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19552
19553 * bs.el (bs-cycle-next): Complete last change.
19554
d8e4b68b
JB
195552011-06-27 Drew Adams <drew.adams@oracle.com>
19556
19557 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19558
40098786
LMI
195592011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19560
c9d29fb8
SM
19561 * net/network-stream.el (network-stream-open-starttls):
19562 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19563 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19564
40098786
LMI
19565 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19566 to binary to possibly avoid line encoding issues on Windows (among
19567 other things).
19568
468d09d4
LMI
195692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19570
19571 * net/network-stream.el (open-network-stream): Return an :error
19572 saying what the problem was, if possible.
19573
19574 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19575 server.
19576
19577 * net/network-stream.el (network-stream-open-starttls): If we
19578 wanted to use STARTTLS, and the server offered it, but we weren't
19579 able to because we had no STARTTLS support, then close the connection.
19580 (open-network-stream): Return an :error element, if present.
19581
16f07dd7
CY
195822011-06-26 Chong Yidong <cyd@stupidchicken.com>
19583
88821ca0
CY
19584 * hl-line.el (hl-line-sticky-flag): Doc fix.
19585 (global-hl-line-sticky-flag): New option (Bug#8323).
19586 (global-hl-line-highlight): Obey it.
19587
16f07dd7
CY
19588 * vc/vc.el (vc-revert-show-diff): Default to t.
19589
6b5ccddf
KM
195902011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19591
c9d29fb8
SM
19592 * allout-widgets.el (allout-widgets-post-command-business):
19593 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19594 undecorated when an isearch is continued past, and isearch
19595 automatically collapses them. This leads to "widget leaks", where
19596 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19597 hidden widgets can slow down cursor travel, substantially.
19598 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19599 so we're doing without this nicety.
19600
19601 (allout-widgets-tally-string): Don't try to do a hash-table-count
19602 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19603 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19604 *Messages* when allout-widgets-maintain-tally is t.
19605
355f2e07
MR
196062011-06-26 Martin Rudalics <rudalics@gmx.at>
19607
19608 * window.el (display-buffer-normalize-argument): Rename to
19609 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19610 LABEL argument. Respect special-display-function when popping up
19611 a new frame. Fix code searching for a window showing the buffer
19612 on another frame.
c9d29fb8
SM
19613 (display-buffer-normalize-specifiers):
19614 Call display-buffer-normalize-arguments.
355f2e07
MR
19615 (display-buffer-in-window): Don't undedicate the window if its
19616 buffer remains the same.
19617 Reported by Drew Adams <drew.adams@oracle.com>.
19618 (display-buffer-alist): Add choice for same-window macro
19619 specfier.
19620 (display-buffer): Mention special meaning of LABEL argument in
19621 doc-string. Fix quoting. Don't pop up a new frame even as
19622 fallback.
19623
7ca8fc42
JB
196242011-06-26 Juanma Barranquero <lekktu@gmail.com>
19625
19626 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19627 avoid deleting the current window in some cases (bug#8911).
19628
bc312254
AS
196292011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19630
19631 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19632 (Bug#8934)
19633
2db18f3f
LMI
196342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19635
c9d29fb8
SM
19636 * net/network-stream.el (network-stream-open-starttls):
19637 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19638 (network-stream-open-tls): Ditto.
19639
6302e0d3
LL
196402011-06-26 Leo Liu <sdl.web@gmail.com>
19641
19642 * register.el (registerv): New struct.
19643 (registerv-make): New function.
c9d29fb8
SM
19644 (jump-to-register, describe-register-1, insert-register):
19645 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19646 struct. (Bug#8415)
19647
5fdd4046
CY
196482011-06-26 Chong Yidong <cyd@stupidchicken.com>
19649
2afef60a
CY
19650 * vc/vc.el (vc-revert-show-diff): New defcustom.
19651 (vc-diff-internal): New arg specifying diff buffer.
19652 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19653 reuse an existing *vc-diff* buffer (Bug#8927).
19654
5fdd4046
CY
19655 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19656
e93db24a
GM
196572011-06-26 Glenn Morris <rgm@gnu.org>
19658
19659 * progmodes/f90.el (f90-critical-indent): New option.
19660 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19661 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19662 (f90-mode): Doc fix.
19663 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19664 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19665 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19666 (f90-match-end): Handle block, critical.
19667
eefff499
GM
196682011-06-25 Glenn Morris <rgm@gnu.org>
19669
f6ba4cc9
GM
19670 * calendar/diary-lib.el (diary-included-files): Doc fix.
19671 (diary-include-files): New function, extracted from
19672 diary-include-other-diary-files and diary-mark-included-diary-files.
19673 (diary-include-other-diary-files, diary-mark-included-diary-files):
19674 Just call diary-include-files.
19675 (diary-mark-entries): Reset diary-included-files on first call.
19676
16712304
GM
19677 * calendar/diary-lib.el (diary-mark-entries)
19678 (diary-mark-included-diary-files):
19679 Visit included diary-files in temp buffers.
19680
5d8e0d43
GM
19681 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19682 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19683 (f90-start-block-re, f90-imenu-generic-expression)
19684 (f90-looking-at-program-block-start, f90-no-block-limit):
19685 Add support for submodules.
19686
ccf7a5d5
GM
19687 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19688 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19689
11fdef7d 196902011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19691
19692 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19693 buffer-file-type before setting its value, to avoid disastrous
eefff499 19694 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19695
74f53697
JB
196962011-06-25 Juanma Barranquero <lekktu@gmail.com>
19697
19698 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19699
19700 * ses.el (ses-unload-function):
19701 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19702
19703 * proced.el (proced-unload-function):
19704 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19705
18a4ce5e
AR
197062011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19707
19708 * server.el (server-create-window-system-frame): Add parameters arg.
19709 (server-process-filter): Doc fix. Handle frame-parameters.
19710
519d22cc
JB
197112011-06-25 Juanma Barranquero <lekktu@gmail.com>
19712
19713 Fix bug#8730, bug#8781.
19714
19715 * loadhist.el (unload--set-major-mode): New function.
19716 (unload-feature): Use it.
19717
19718 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19719 (python-unload-function): New function.
19720
c206f5b0
SM
197212011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19722
19723 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19724
f9ad64f3
GS
197252011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19726
19727 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19728 the candidates list.
19729
7d0da90e
JB
197302011-06-24 Juanma Barranquero <lekktu@gmail.com>
19731
19732 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19733
14b4e83d
RS
197342011-06-23 Richard Stallman <rms@gnu.org>
19735
19736 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19737 (rmail-variables): Set next-error-move-function.
19738 (rmail-what-message): Take argument POS.
19739 (rmail-next-error-move): New function.
19740
273d2baf
SM
197412011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19742
19743 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19744 messages for adjacent non-terminals.
19745
56c2cc9a
RS
197462011-06-23 Richard Stallman <rms@gnu.org>
19747
19748 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19749 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19750 (rmail-start-mail): Don't specify use of rmail-mail-return;
19751 that's done by mail-bury now.
19752 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19753
d59eb518
MA
197542011-06-23 Michael Albinus <michael.albinus@gmx.de>
19755
19756 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19757 SIZE is a number.
19758
02cfc6d6
MR
197592011-06-23 Martin Rudalics <rudalics@gmx.at>
19760
19761 * window.el (get-lru-window, get-mru-window)
19762 (get-largest-window): Never return a minibuffer window.
19763 (display-buffer-pop-up-window): Fix a bug that could lead to
19764 reusing the minibuffer window.
19765 (display-buffer): Pass original specifier argument to
19766 display-buffer-function instead of the normalized one.
19767 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19768
4e323265
LL
197692011-06-22 Leo Liu <sdl.web@gmail.com>
19770
19771 * minibuffer.el (completing-read-function)
1f9f395d 19772 (completing-read-default): Move from minibuf.c.
4e323265 19773
7a70468f
RS
197742011-06-22 Richard Stallman <rms@gnu.org>
19775
50718fc2
RS
19776 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19777 to Rmail even if not started by a special Rmail command.
19778
7a70468f
RS
19779 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19780 Copy the buffer currently showing just one message.
19781
297dde5a
RW
197822011-06-22 Roland Winkler <winkler@gnu.org>
19783
19784 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19785 (bibtex-clean-entry): First delete the old key so that a
19786 customized algorithm for generating the new key does not get
19787 confused by the old key.
19788 (bibtex-url): Obey regexp of first step.
19789 (bibtex-search-entries): Do not use add-to-list with local
19790 list-var.
19791
97bb1093
LMI
197922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19793
19794 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19795 stored a user name, then query for the password first, instead of
19796 waiting for SMTP to give an error message and the trying again.
19797
1c0f1a19
JD
197982011-06-22 Lawrence Mitchell <wence@gmx.li>
19799
19800 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19801 BUFFER in call-process.
19802
396f7c9d
LMI
198032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19804
19805 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19806 QUIT twice.
ddb7ffee
LMI
19807 (smtpmail-try-auth-methods): Require user name and password from
19808 auth-source.
396f7c9d 19809
8998d1b3
MR
198102011-06-22 Martin Rudalics <rudalics@gmx.at>
19811
19812 * window.el (display-buffer-default-specifiers)
19813 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19814 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19815 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19816
19817 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19818 (special-display-frame-alist, special-display-popup-frame):
19819 Remove duplicate declarations. These are now in window.el.
19820
4ea31e07
LMI
198212011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19822
c9d29fb8
SM
19823 * mail/smtpmail.el (smtpmail-via-smtp):
19824 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19825 server supports it. SMTP servers that support STARTTLS commonly
19826 require it.
19827
19828 * net/network-stream.el (network-stream-open-starttls): Support
19829 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19830 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19831
95f41d9a
LMI
19832 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19833 upgrades with `open-network-stream', and rely solely on
19834 auth-source for all credentials. Big changes throughout the file,
19835 but in particular:
c9d29fb8
SM
19836 (smtpmail-auth-credentials): Remove.
19837 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19838 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19839 MAIL FROM, too.
95f41d9a 19840
c9d29fb8
SM
19841 * net/network-stream.el (network-stream-open-starttls):
19842 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19843 STARTTLS.
19844 (auth-source): Require.
19845 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19846 (network-stream-certificate): Change cert-cert to cert and
19847 cert-key to key.
4ea31e07 19848
065ec2c7
MA
198492011-06-21 Michael Albinus <michael.albinus@gmx.de>
19850
19851 * net/tramp-cache.el (top): Don't load the persistency file when
19852 "emacs -Q" has been called.
19853
cd93b359
DR
198542011-06-21 Tim Harper <timcharper@gmail.com>
19855
d8e4b68b
JB
19856 * term/ns-win.el (ns-initialize-window-system):
19857 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19858 resource to NO as it is not yet supported by the NS port.
19859
ae9c0411
JB
198602011-06-21 Juanma Barranquero <lekktu@gmail.com>
19861
19862 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19863 (list-dynamic-libraries): ...not here.
19864
7f3f739f
LL
198652011-06-21 Leo Liu <sdl.web@gmail.com>
19866
19867 * subr.el (sha1): Implement sha1 using secure-hash.
19868
327c8fb1
MR
198692011-06-21 Martin Rudalics <rudalics@gmx.at>
19870
19871 * window.el (display-buffer-alist): In default value do not
19872 enforce searching a window on any but the selected frame.
19873 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19874 (display-buffer-select-window): Remove function.
19875 (display-buffer-in-window): When a window on another frame gets
19876 reused, do not select it any more but just raise its frame if
19877 necessary (Bug#8851) and (Bug#8856).
19878 (display-buffer-normalize-options): Handle pop-up-frames related
19879 options more faithfully.
19880 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19881 window if it is on another frame.
c9d29fb8
SM
19882 (display-buffer-alist, display-buffer-default-specifiers):
19883 Don't make new frame unsplittable by default.
9e9de014
MR
19884 (display-buffer-normalize-argument): Fix doc-string typo and use
19885 'same-frame-other-window instead of 'other-window when associating
19886 with display-buffer-macro-specifiers.
327c8fb1 19887
7cf3f556
VB
198882011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19889
19890 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19891 New functions.
19892 (5x5-mode-map, 5x5-mode-menu): Bind them.
19893 (5x5-draw-grid): Tweak the solver's rendering.
19894
60a406cf
SM
198952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19896
19897 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19898 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19899
d8e4b68b 199002011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19901
19902 * menu-bar.el: Use function variable instead of switch-to-buffer.
19903 (menu-bar-select-buffer-function): New variable.
60a406cf 19904 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19905
478d6f95
SM
199062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19907
19908 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19909 variable's status.
19910
ca530739
JD
199112011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19912
19913 * x-dnd.el (x-dnd-version-from-flags)
19914 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19915 and long as number (Bug#8899).
19916 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19917
bcd70d97
SM
199182011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19919
60a406cf 19920 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19921 (completion-try-completion, completion-all-completions): Compute the
19922 metadata argument if it's missing; make it optional (bug#8795).
19923
60a406cf 19924 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19925 (widget-complete): Use new :completion-function property.
19926 (widget-completions-at-point): New function.
19927 (default): Use :completion-function instead of :complete.
60a406cf
SM
19928 (widget-default-completions): Rename from widget-default-complete;
19929 Rewrite.
bcd70d97
SM
19930 (widget-string-complete, widget-file-complete, widget-color-complete):
19931 Remove functions.
19932 (file, symbol, function, variable, coding-system, color):
19933 * international/mule-cmds.el (default-input-method, charset)
19934 (language-info-custom-alist):
19935 * cus-edit.el (face): Use new property :completions.
19936
19937 * progmodes/pascal.el (pascal-completions-at-point): New function.
19938 (pascal-mode): Use it.
19939 (pascal-mode-map): Use completion-at-point.
19940 (pascal-toggle-completions): Make obsolete.
19941 (pascal-complete-word, pascal-show-completions):
19942 * progmodes/octave-mod.el (octave-complete-symbol):
19943 Redefine as obsolete alias.
19944 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19945 Signal absence of completion info for old Octave,
19946 (inferior-octave-complete): Redefine as obsolete alias.
19947 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19948 (meta-completions-at-point): Rename from meta-complete-symbol and
19949 adapt it for use on completion-at-point-functions.
19950 (meta-common-mode): Use it.
19951 (meta-looking-at-backward, meta-match-buffer): Remove.
19952 (meta-complete-symbol): Redefine as obsolete alias.
19953 (meta-common-mode-map): Use completion-at-point.
19954 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19955 (makefile-mode-map): Use completion-at-point.
19956 (makefile-completions-at-point): Rename from makefile-complete and
19957 adapt it for use on completion-at-point-functions.
19958 (makefile-mode): Use it.
19959 (makefile-complete): Redefine as obsolete alias.
19960
aebf69c8
DD
199612011-06-20 Deniz Dogan <deniz@dogan.se>
19962
19963 * net/rcirc.el: Delete trailing whitespaces once and for all.
19964
bfbbb27d
DC
199652011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19966
19967 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19968
d264a46b
CY
199692011-06-19 Chong Yidong <cyd@stupidchicken.com>
19970
4ca009e5
CY
19971 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19972
d264a46b
CY
19973 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19974
fbf5b3ce
MR
199752011-06-19 Martin Rudalics <rudalics@gmx.at>
19976
19977 * window.el (display-buffer-other-window-means-other-frame):
19978 Call display-buffer-normalize-alist.
19979 (display-buffer-normalize-specifiers-1): Rename to
19980 display-buffer-normalize-argument. New argument other-frame.
19981 Rewrite.
19982 (display-buffer-normalize-specifiers-2): Rename to
19983 display-buffer-normalize-options.
19984 (display-buffer-normalize-alist-1): New function.
19985 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19986 display-buffer-normalize-alist.
19987 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19988 (display-buffer-normalize-options-inhibit): New variable.
19989 (display-buffer-normalize-specifiers): Rewrite calling
19990 display-buffer-normalize-alist,
19991 display-buffer-normalize-argument, and
19992 display-buffer-normalize-options. Don't call the latter if
19993 display-buffer-normalize-options-inhibit is non-nil.
19994 (frame-auto-delete): New option.
19995 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19996 (window-list-no-nils, window-state-ignored-parameters)
19997 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19998 (window-state-put-1, window-state-put-2, window-state-put):
19999 New functions.
9a028c23
MR
20000 (display-buffer-normalize-options): Move special-display-p group
20001 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20002
6d10d800
CY
200032011-06-18 Chong Yidong <cyd@stupidchicken.com>
20004
6420d28b
CY
20005 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20006 groups (Bug#8776).
20007 (rx-submatch-n): New function.
20008 (rx): Document it.
20009
ddb8b596
CY
20010 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20011 (Bug#8768).
20012
20013 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20014
77080289
CY
20015 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20016
61dfb316
CY
20017 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20018 anytime existing face settings are present (Bug#8889).
20019
6d10d800
CY
20020 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20021 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20022 Remove unused argument.
20023
be3fb2b8
MR
200242011-06-18 Martin Rudalics <rudalics@gmx.at>
20025
bcd70d97
SM
20026 * window.el (display-buffer-default-specifiers):
20027 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20028 pop-up-window-min-width, and another reuse-window specifier
20029 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20030 (display-buffer-normalize-specifiers-2):
20031 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20032 pop-up-windows is unset. Add a reuse-window specifier for the
20033 case popping up a new window fails.
20034 (special-display-popup-frame): Remove double quoting.
28dec25a 20035 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20036
1c6d8c76
SM
200372011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20038
20039 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20040 according to comint-completion-addsuffix.
20041
20042 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20043 (pcomplete-suffix-list): Mark as obsolete.
20044 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20045 pcomplete-seen in the closure.
20046 (pcomplete-comint-setup): Setup completion-at-point as well.
20047 (pcomplete--entries): New function.
20048 (pcomplete--env-regexp): New var.
20049 (pcomplete-entries): Rewrite to work with partial-completion and
20050 without relying on pcomplete-suffix-list.
20051 (pcomplete-pare-list): Remove, unused.
20052
25aef8b8
MR
200532011-06-17 Martin Rudalics <rudalics@gmx.at>
20054
20055 * window.el (display-buffer-alist): Set pop-up-window-min-height
20056 and pop-up-window-min-width in default value. Reported by
20057 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20058 other-window-means-other-frame.
20059 (display-buffer-macro-specifiers): Comment out entry for
20060 other-window specifier.
20061 (display-buffer-other-window-means-other-frame): New function.
20062 (display-buffer-normalize-specifiers-1): New arguments
20063 buffer-name and label. Treat other-window case specially.
20064 (display-buffer-normalize-specifiers-2): Treat other-window case
20065 specially.
20066 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20067 (display-buffer-normalize-specifiers):
20068 Call display-buffer-normalize-specifiers-3.
25aef8b8 20069
dbad4f69
MR
200702011-06-17 Martin Rudalics <rudalics@gmx.at>
20071
20072 * window.el (same-window-p): Fix two typos introduced when
20073 adding with-no-warnings.
d1067961
MR
20074 (display-buffer-normalize-specifiers-1): Don't check
20075 pop-up-frames for 'unset initialization.
20076 (display-buffer-normalize-specifiers-2): Major rewrite using
20077 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20078 (pop-up-frames, display-buffer-reuse-frames)
20079 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20080 Suggested by David Engster <deng@randomsample.de>.
20081 (even-window-heights): Initialize to 'unset.
20082 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20083 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20084 other window case.
dbad4f69 20085
9b9c9e3a
MR
200862011-06-16 Martin Rudalics <rudalics@gmx.at>
20087
bcd70d97
SM
20088 * window.el (display-buffer-normalize-specifiers-1):
20089 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20090 second argument of display-buffer (Bug#8865).
981d5c09
MR
20091 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20092 (switch-to-buffer-other-window-same-frame)
20093 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20094 Adams (Bug#8875).
9c2755e9
MR
20095 (display-buffer): Don't check noninteractive when calling
20096 display-buffer-pop-up-frame.
20097 (display-buffer-pop-up-frame): Never pop up a frame in
20098 noninteractive mode (Bug#8857).
67222e1d
MR
20099 (enlarge-window, shrink-window): Don't report an error when the
20100 window can't be resized as requested (Bug#8862).
9b9c9e3a 20101
2b75be67
SM
201022011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20103
9ffdd3ba
SM
20104 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20105
cb581a67
SM
20106 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20107
2b75be67
SM
20108 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20109
8c0e3589
AM
201102011-06-15 Alan Mackenzie <acm@muc.de>
20111
cb581a67
SM
20112 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20113 for declarators, disable knr checking to speed up for normal files.
20114 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20115
b96e6cde
LMI
201162011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20117
4bba86e6
LMI
20118 * net/network-stream.el (open-network-stream): Add the keyword
20119 :always-query-capabilities for the case where you want to force a
20120 `plain' network connection, but the protocol still requires the
20121 capabilitiy command (i.e., SMTP and EHLO).
20122
2b75be67 20123 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20124 consistency with other `-live-p' functions.
20125
efdcdbf8
SM
201262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * window.el (same-window-buffer-names, same-window-regexps)
20129 (special-display-frame-alist, special-display-popup-frame)
20130 (special-display-function, special-display-buffer-names)
20131 (special-display-regexps, pop-up-frame-alist)
20132 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20133 (pop-up-windows, split-window-preferred-function)
20134 (split-height-threshold, split-width-threshold, even-window-heights)
20135 (display-buffer-mark-dedicated): Don't encourage the use of
20136 display-buffer-alist from Elisp code.
20137
c5cde042
DN
201382011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20139
20140 * progmodes/python.el (python-mode): Derive from prog-mode.
20141 * progmodes/ps-mode.el (ps-mode):
20142 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20143 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20144 * progmodes/ld-script.el (ld-script-mode): Likewise.
20145
baa1c9ab
MR
201462011-06-15 Martin Rudalics <rudalics@gmx.at>
20147
20148 * window.el (display-buffer-alist): Trim default value to avoid
20149 popping up a new frame (Bug#8857) or reusing an arbitrary window
20150 on another frame.
20151 (display-buffer): Do not fall back on popping up a new frame in
20152 batch mode (Bug#8857).
20153
c5dd5a51
CY
201542011-06-14 Chong Yidong <cyd@stupidchicken.com>
20155
20156 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20157 (custom-theme-summary): New function.
20158 (customize-themes): Use it.
20159
d647b7c4
GM
201602011-06-13 Glenn Morris <rgm@gnu.org>
20161
20162 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20163
9481c002
MR
201642011-06-13 Martin Rudalics <rudalics@gmx.at>
20165
357f93d2
MR
20166 * help.el (help-window): Remove variable.
20167 (help-window-point-marker, temp-buffer-max-height)
20168 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20169 (help-print-return-message): Don't set help-window.
20170 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20171 (help-window-setup-finish): Remove.
20172 (help-window-display-message, help-window-setup)
20173 (with-help-window): Major rewrite based on new
20174 display-buffer-window variable.
20175
20176 * help-mode.el (help-mode-finish): Remove help-window related
20177 code.
20178
20179 * view.el (view-exits-all-viewing-windows): Remove reference to
20180 view-return-to-alist in doc-string.
20181 (view-return-to-alist): Make obsolete.
20182 (view-buffer): Call pop-to-buffer-same-window and remove
20183 undo-window code.
20184 (view-buffer-other-window): Call pop-to-buffer-other-window and
20185 simplify code. Ignore second argument.
20186 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20187 simplify code. Ignore second argument.
20188 (view-return-to-alist-update): Make obsolete.
20189 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20190 Rewrite using quit-restore window parameters.
2b75be67
SM
20191 (view-mode-exit): Rename second argument to EXIT-ONLY.
20192 Rewrite using quit-restore-window.
357f93d2
MR
20193 (View-exit, View-exit-and-edit, View-leave, View-quit)
20194 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20195 appropriate arguments.
20196 (view-end-message): Use quit-restore window parameter.
20197
9481c002
MR
20198 * window.el (display-buffer-function): Rewrite doc-string.
20199 (display-buffer-window, display-buffer-alist): New variables.
20200 (display-buffer-split-specifiers)
20201 (display-buffer-side-specifiers)
20202 (display-buffer-macro-specifiers): New constants.
20203 (display-buffer-even-window-sizes, display-buffer-set-height)
20204 (display-buffer-set-width, display-buffer-select-window)
20205 (display-buffer-in-window, display-buffer-reuse-window)
20206 (display-buffer-split-window-1, display-buffer-split-window)
20207 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20208 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20209 (display-buffer-in-side-window, normalize-buffer-to-display)
20210 (display-buffer-normalize-specifiers-1)
20211 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20212 (display-buffer-normalize-specifiers, display-buffer-frame):
20213 New functions.
9481c002
MR
20214 (display-buffer): Major rewrite.
20215 (display-buffer-other-window, display-buffer-other-frame)
20216 (pop-to-buffer, switch-to-buffer-other-window)
20217 (switch-to-buffer-other-frame): Rewrite.
20218 (display-buffer-same-window, display-buffer-same-frame)
20219 (display-buffer-same-frame-other-window)
20220 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20221 (pop-to-buffer-other-window)
20222 (pop-to-buffer-same-frame-other-window)
20223 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20224 (switch-to-buffer-other-window-same-frame): New functions.
20225 (same-window-p, special-display-p): Rewrite disabling warnings.
20226 Make obsolete.
20227 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20228 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20229 Make obsolete
20230 (same-window-buffer-names, same-window-regexps)
20231 (special-display-frame-alist, special-display-popup-frame)
20232 (special-display-function, special-display-buffer-names)
20233 (special-display-regexps, pop-up-frame-alist)
20234 (pop-up-frame-function, split-window-preferred-function)
20235 (split-height-threshold, split-width-threshold)
20236 (even-window-heights): Make obsolete.
20237
9db51aca
GM
202382011-06-12 Glenn Morris <rgm@gnu.org>
20239
20240 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20241 Misc simplifications.
9db51aca 20242
39cffb44
MR
202432011-06-12 Martin Rudalics <rudalics@gmx.at>
20244
20245 * window.el (window-safely-shrinkable-p): Restore function which
20246 was inadvertently removed in change from 2011-06-11. Declare as
20247 obsolete.
20248
2b75be67
SM
20249 * calendar/calendar.el (calendar-generate-window):
20250 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20251 window-safely-shrinkable-p.
20252
a8955be7
GM
202532011-06-12 Glenn Morris <rgm@gnu.org>
20254
20255 * progmodes/fortran.el (fortran-mode-syntax-table):
20256 * progmodes/f90.el (f90-mode-syntax-table):
20257 Set % to punctuation. (Bug#8820)
20258 (f90-find-tag-default): Remove, no longer needed.
20259
f0d4059d
DC
202602011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20261
20262 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20263
1100a63c
CY
202642011-06-11 Chong Yidong <cyd@stupidchicken.com>
20265
20266 * image.el (image-animated-p): Return animation delay in seconds.
20267 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20268 (image-animate-timeout): Remove DELAY argument. Don't assume
20269 every subimage has the same delay; get it from image-animated-p.
20270 (image-animate): Caller changed.
20271
def722bf
MA
202722011-06-11 Michael Albinus <michael.albinus@gmx.de>
20273
20274 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20275 to ignored backtrace functions.
20276
0a2bb1a9
GM
202772011-06-11 Glenn Morris <rgm@gnu.org>
20278
20279 * calendar/appt.el (appt-disp-window-function): Doc fix.
20280 (appt-check): Handle overlapping appointments. (Bug#8337)
20281
6198ccd0
MR
202822011-06-11 Martin Rudalics <rudalics@gmx.at>
20283
20284 * window.el (window-tree-1, window-tree): New functions, moving
20285 the latter to window.el.
20286 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20287 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20288 (bw-refresh-edges): Remove.
20289 (balance-windows-1, balance-windows-2): New functions.
20290 (balance-windows): Rewrite in terms of window tree functions,
20291 balance-windows-1 and balance-windows-2.
20292 (bw-adjust-window): Remove.
20293 (balance-windows-area-adjust): New function with functionality of
20294 bw-adjust-window but using resize-window.
2b75be67
SM
20295 (set-window-text-height): Rewrite doc-string.
20296 Use normalize-live-window and resize-window.
20297 (enlarge-window-horizontally, shrink-window-horizontally):
20298 Rename argument to DELTA.
6198ccd0
MR
20299 (window-buffer-height): New function.
20300 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20301 Rewrite using new window resize routines.
2b75be67
SM
20302 (kill-buffer-and-window, mouse-autoselect-window-select):
20303 Use ignore-errors instead of condition-case.
6198ccd0
MR
20304 (quit-window): Call delete-frame instead of delete-windows-on
20305 for the only buffer on frame.
20306
9397e56f
MR
203072011-06-10 Martin Rudalics <rudalics@gmx.at>
20308
20309 * loadup.el (top-level): Load window before files for the sake
20310 of replace-buffer-in-windows.
20311
20312 * files.el (read-buffer-to-switch)
20313 (switch-to-buffer-other-window)
2b75be67
SM
20314 (switch-to-buffer-other-frame, display-buffer-other-frame):
20315 Move to window.el.
9397e56f
MR
20316
20317 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20318 (previous-buffer): Move to window.el.
20319
20320 * bindings.el (unbury-buffer): Move to window.el.
20321
20322 * window.el (delete-other-windows-vertically): Move after
20323 definition of delete-other-windows.
20324 (other-window, delete-windows-on, replace-buffer-in-windows):
20325 Move here from window.c.
20326 (record-window-buffer, unrecord-window-buffer)
20327 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20328 (switch-to-next-buffer): New functions.
20329 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20330 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20331 (previous-buffer): Move here from simple.el.
20332 Call switch-to-prev-buffer.
9397e56f
MR
20333 (bury-buffer): Move here from buffer.c. Switch to previous
20334 buffer when window cannot be deleted.
20335 (unbury-buffer): Move here from bindings.el.
20336 (ctl-x-map): Move binding for other-window from window.c to
20337 here.
20338 (read-buffer-to-switch, switch-to-buffer-other-window)
20339 (switch-to-buffer-other-frame): Move here from files.el.
20340 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20341 (switch-to-buffer): Move here from buffer.c.
20342 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20343
562dd5e9
MR
203442011-06-10 Martin Rudalics <rudalics@gmx.at>
20345
20346 * window.el (window-min-height, window-min-width): Move here
20347 from window.c. Add defcustoms and rewrite doc-strings.
20348 (resize-mini-window, resize-window): New functions.
20349 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20350 Move here from window.c.
20351 (maximize-window, minimize-window): New functions.
20352 (delete-window, delete-other-windows, split-window): Move here
20353 from window.c.
20354 (window-split-min-size): New function.
20355 (split-window-keep-point): Mention split-window-above-each-other
20356 instead of split-window-vertically.
2b75be67 20357 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20358 Rename split-window-vertically to split-window-above-each-other
20359 and provide defalias for old definition.
20360 (split-window-side-by-side, split-window-horizontally):
20361 Rename split-window-horizontally to split-window-side-by-side
20362 and provide defalias for the old definition.
562dd5e9
MR
20363 (ctl-x-map): Move bindings for delete-window,
20364 delete-other-windows and enlarge-window here from window.c.
20365 Replace bindings for split-window-vertically and
20366 split-window-horizontally by bindings for
20367 split-window-above-each-other and split-window-side-by-side.
20368
20369 * cus-start.el (all): Remove entries for window-min-height and
20370 window-min-width. Add entries for window-splits and
20371 window-nest.
20372
f0da764a
GM
203732011-06-09 Glenn Morris <rgm@gnu.org>
20374
80675c21
GM
20375 * calendar/appt.el (appt-mode-line): New function.
20376 (appt-check, appt-disp-window): Use it.
20377
f0da764a
GM
20378 * files.el (hack-one-local-variable-eval-safep):
20379 Allow minor-modes with explicit +/-1 arguments.
20380
59f623b7
TZ
203812011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20382
20383 * term/xterm.el (xterm): Add defgroup.
20384 (xterm-extra-capabilities): Add defcustom to supply known xterm
20385 capabilities, skip querying them, or query them (default).
20386 (terminal-init-xterm): Use it.
20387 (terminal-init-xterm-modify-other-keys): New function to set up
20388 modifyOtherKeys support to simplify `terminal-init-xterm'.
20389
9aab8e0d
MR
203902011-06-09 Martin Rudalics <rudalics@gmx.at>
20391
20392 * window.el (resize-window-reset, resize-window-reset-1)
20393 (resize-subwindows-skip-p, resize-subwindows-normal)
20394 (resize-subwindows, resize-other-windows, resize-this-window)
20395 (resize-root-window, resize-root-window-vertically)
20396 (window-deletable-p, window-or-subwindow-p)
20397 (frame-root-window-p): New functions.
20398
e8b08aee
GM
203992011-06-09 Glenn Morris <rgm@gnu.org>
20400
20401 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20402 (ange-ftp-get-files): Use it.
20403
254c37a5
AK
204042011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20405
20406 * mail/sendmail.el (mail-recover-1, mail-recover):
20407 * files.el (recover-file, recover-session):
20408 Handle dired-listing-switches not being just a single short option.
20409
35d7dbd3
GM
204102011-06-09 Glenn Morris <rgm@gnu.org>
20411
20412 * calendar/appt.el (appt-display-message, appt-disp-window):
20413 Handle lists of appointments.
20414
387522b2
MR
204152011-06-08 Martin Rudalics <rudalics@gmx.at>
20416
2b75be67
SM
20417 * window.el (one-window-p): Move down in code.
20418 Rewrite doc-string.
20419 (window-current-scroll-bars): Rewrite doc-string.
20420 Normalize live window argument.
387522b2
MR
20421 (walk-windows, get-window-with-predicate, count-windows):
20422 Rewrite doc-string. Use window-list-1.
20423 (window-in-direction-2, window-in-direction, get-mru-window):
20424 New functions.
20425
d8e4b68b 204262011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20427
20428 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20429 Doc fix (Bug#8713).
20430
204312011-06-08 Chong Yidong <cyd@stupidchicken.com>
20432
20433 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20434
204352011-06-08 Juanma Barranquero <lekktu@gmail.com>
20436
20437 * loadhist.el (unload-feature-special-hooks):
20438 Add `comint-output-filter-functions'.
20439
0de12c52
IK
204402011-06-08 Ivan Kanis <gnu@kanis.fr>
20441
20442 * calendar/appt.el (appt-check): Move some initializations into the let.
20443
f3d1777e
MR
204442011-06-08 Martin Rudalics <rudalics@gmx.at>
20445
20446 * window.el (window-height): Defalias to window-total-height.
20447 (window-width): Defalias to window-body-width.
20448
18af70d0
CY
204492011-06-07 Chong Yidong <cyd@stupidchicken.com>
20450
20451 * image-mode.el (image-toggle-animation): New command.
20452 (image-mode-map): Bind it to RET.
20453 (image-mode): Update message.
20454 (image-toggle-display-image): Avoid a spurious cache flush.
20455 (image-transform-rotation): Doc fix.
20456 (image-transform-properties): Return quickly in the normal case.
20457 (image-animate-loop): Rename from image-animate-max-time.
20458
2b75be67 20459 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20460 (create-animated-image): Remove unnecessary function.
20461 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20462 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20463 (image-animate-timer): Use car-safe.
20464 (image-animate-timeout): Rename argument.
20465
190b47e6
MR
204662011-06-07 Martin Rudalics <rudalics@gmx.at>
20467
20468 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20469 window.c. Rename first argument to ALL-FRAMES.
20470 Rephrase doc-strings.
20471 (get-buffer-window-list): Rewrite using window-list-1.
20472 Rephrase doc-string.
a1511caf
MR
20473 (window-safe-min-height, window-safe-min-width): New constants.
20474 (window-size-ignore, window-min-size, window-min-size-1)
20475 (window-sizable, window-sizable-p, window-size-fixed-1)
20476 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20477 (window-max-delta-1, window-max-delta, window-resizable)
20478 (window-resizable-p, window-total-height, window-total-width)
20479 (window-body-width): New functions.
20480 (window-full-height-p, window-full-width-p): Rewrite using
20481 window-total-size.
20482 (window-body-height): Rewrite using window-body-size.
190b47e6 20483
85cc1f11
MR
204842011-06-06 Martin Rudalics <rudalics@gmx.at>
20485
20486 * window.el (window-right, window-left, window-child)
20487 (window-child-count, window-last-child, window-any-p)
20488 (normalize-live-buffer, normalize-live-frame)
20489 (normalize-any-window, normalize-live-window)
20490 (window-iso-combination-p, window-iso-combined-p)
20491 (window-iso-combinations)
20492 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20493 (windows-with-parameter, window-with-parameter)
20494 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20495 (window-atom-check, window-side-check, window-check):
20496 New functions.
85cc1f11
MR
20497 (ignore-window-parameters, window-sides, window-sides-vertical)
20498 (window-sides-slots): New variables.
20499 (window-size-fixed): Move down in code. Minor doc-string fix.
20500
e7156492
AS
205012011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20502
20503 * comint.el (comint-dynamic-complete-as-filename)
20504 (comint-dynamic-complete-filename): Correctly call
20505 completion-in-region.
20506
7e821d0d
DD
205072011-06-05 Deniz Dogan <deniz@dogan.se>
20508
20509 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20510 in last change.
20511
ac09b8a1
DD
205122011-06-05 Deniz Dogan <deniz@dogan.se>
20513
20514 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20515 (rcirc): Use it to prompt for encryption.
20516
34699b85
RW
205172011-06-05 Roland Winkler <winkler@gnu.org>
20518
20519 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20520 (bibtex-search-entries): New command bound to C-c C-a.
20521 (bibtex-display-entries): New function.
20522
004dedd3
RW
205232011-06-05 Roland Winkler <winkler@gnu.org>
20524
20525 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20526 (bibtex-insert-kill): After yanking insert newline if necessary.
20527 (bibtex-initialize): Call bibtex-string-files-init only once.
20528 (bibtex-mode): Do not call easy-menu-add.
20529 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20530 (bibtex-yank): Set arg properly if nil.
20531
022fe7ce
RW
205322011-06-05 Roland Winkler <winkler@gnu.org>
20533
2b75be67
SM
20534 * textmodes/bibtex.el (bibtex-search-entry-globally):
20535 New variable.
022fe7ce
RW
20536 (bibtex-search-entry): Use it.
20537
b7c3692a
RW
205382011-06-05 Roland Winkler <winkler@gnu.org>
20539
20540 * textmodes/bibtex.el (bibtex-entry-format): New option
20541 sort-fields.
20542 (bibtex-format-entry, bibtex-reformat): Honor this option.
20543 (bibtex-parse-entry): Return fields in proper order.
20544
8eda563d
JB
205452011-06-05 Juanma Barranquero <lekktu@gmail.com>
20546
20547 * doc-view.el (doc-view-remove-if): Move computation of result out
20548 of `dolist' to silence misleading lexical-binding warning.
20549
7dbe3dbc
CY
205502011-06-04 Chong Yidong <cyd@stupidchicken.com>
20551
20552 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20553 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20554
0c33dd17
MA
205552011-06-04 Michael Albinus <michael.albinus@gmx.de>
20556
20557 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20558 "SunOS 5.10".
20559
f8f91c2b
MA
205602011-06-04 Michael Albinus <michael.albinus@gmx.de>
20561
20562 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20563 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20564 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20565 (tramp-parse-putty):
20566 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20567 (tramp-completion-function-alist-ssh)
20568 (tramp-completion-function-alist-telnet)
20569 (tramp-completion-function-alist-su)
20570 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20571 cookie.
20572
20573 * net/tramp-ftp.el:
20574 * net/tramp-sh.el:
20575 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20576 load "tramp.el" `tramp-set-completion-function'.
20577
e17d9003
SM
205782011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20579
20580 * shell.el: Require and use pcomplete.
20581 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20582 (shell-completion-vars): Set pcomplete-default-completion-function.
20583
6c4cab03
DD
205842011-06-04 Deniz Dogan <deniz@dogan.se>
20585
20586 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20587 `memq' (Bug#8799).
20588
ea9fafe0
SM
205892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20590
20591 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20592
b3e945d3
JB
205932011-06-02 Juanma Barranquero <lekktu@gmail.com>
20594
20595 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20596 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20597 * vc/log-view.el (log-view-beginning-of-defun):
20598 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20599 (smerge-refine-forward, smerge-refine-chopup-region):
20600 Silence warning for unused `dotimes' counter variables.
20601
7d520089
SM
206022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20603
20604 * net/tramp.el (tramp-with-progress-reporter): Rename from
20605 with-progress-reporter. Use `declare'.
20606 * net/tramp-smb.el:
20607 * net/tramp-sh.el:
20608 * net/tramp-gvfs.el: Update all uses.
20609
a1c2400f
JB
206102011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20611
20612 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20613 buffer isn't killed before making it current.
20614
2403c841
SM
206152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20616
20617 Silence various byte-compiler warnings.
20618 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20619 `access-type' and new obsolescence format.
20620 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20621 new format.
20622 (byte-compile-check-variable): New `access-type' argument.
20623 Only warn if the access-type is obsolete.
20624 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20625 (byte-compile-variable-set): Adjust callers.
20626 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20627 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20628 setting it as obsolete.
20629 * simple.el (minibuffer-completing-symbol):
20630 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20631 access as obsolete.
20632 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20633 obsolete yet.
20634 * international/quail.el (quail-mouse-choose-completion): Remove unused
20635 code referring to obsolete var.
20636 (quail-choose-completion-string): Remove.
20637 * server.el (server-clients-with, server-kill-buffer-query-function)
20638 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20639 * proced.el (proced-send-signal):
20640 * emacs-lisp/lisp.el (lisp-complete-symbol):
20641 Replace completion-annotate-function with completion-extra-properties.
20642
2462470b
SM
206432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20644
fb5b2591
SM
20645 * simple.el (goto-line): Use read-number.
20646 (overriding-map-is-bound): Remove.
20647 (saved-overriding-map): Change default.
20648 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20649 Take the map as argument.
20650 (universal-argument, negative-argument, digit-argument): Use it.
20651 (restore-overriding-map): Adjust.
20652 (do-auto-fill): Use fill-forward-paragraph.
20653 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20654
fd6fa53f
SM
20655 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20656 (minibuffer-inactive-mode): New major mode.
20657 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20658 the *Messages* buffer" hack.
20659 (mouse-popup-menubar): Don't burp if the event is a normal key.
20660
2462470b
SM
20661 Miscellaneous tweaks.
20662 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20663 lexical scoping as in subr.el's dolist and dotimes.
20664 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20665 Silence compiler warning.
20666 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20667 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20668 * international/ccl.el (ccl-compile): Trivial simplification.
20669 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20670 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20671 `printflag' argument.
20672 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20673 Purecopy the whole obsolescence data.
20674
108bf785
LL
206752011-06-01 Leo Liu <sdl.web@gmail.com>
20676
20677 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20678 improve doc-string as suggested by Marco Pessotto
20679 <melmothx@gmail.com>.
20680 (rcirc-print): Fix last change.
20681
30a23501
SM
206822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20683
20684 * minibuffer.el (complete-with-action): Return nil for the metadata and
20685 boundaries of non-functional tables.
20686 (completion-table-dynamic): Return nil for the metadata.
20687 (completion-table-with-terminator): Add default case, using
20688 complete-with-action.
20689 (completion--metadata): New function.
20690 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20691 to try and avoid pathological performance problems.
20692 (completion--embedded-envvar-table): Return `category' metadata.
20693
bcd54f83
LMI
206942011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20695
20696 * subr.el (process-alive-p): New tiny convenience function.
20697
e227544d
SM
206982011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20699
20700 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20701 content but also its previous major mode.
20702
e8296fdc
HE
207032011-05-31 Helmut Eller <eller.helmut@gmail.com>
20704
4d61f28d 20705 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20706 *Backtrace* buffer when we exit with C-M-c.
20707
620c53a6
SM
207082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20709
20710 * minibuffer.el: Add metadata method to completion tables.
20711 (completion-category-overrides): New defcustom.
20712 (completion-metadata, completion--field-metadata)
20713 (completion-metadata-get, completion--styles)
20714 (completion--cycle-threshold): New functions.
20715 (completion-try-completion, completion-all-completions):
20716 Add `metadata' argument to choose completion-styles.
20717 (completion--do-completion): Use metadata to choose cycling.
20718 (completion-all-sorted-completions): Use metadata for sorting.
20719 Remove :completion-cycle-penalty which is not needed any more.
20720 (completion--try-word-completion): Add `metadata' argument.
20721 (minibuffer-completion-help): Check metadata for annotation function
20722 and sorting.
20723 (completion-file-name-table): Return `category' metadata.
20724 (minibuffer-completing-file-name): Make obsolete.
20725 * simple.el (minibuffer-completing-symbol): Make obsolete.
20726 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20727 completion-try-completion.
20728
1257e755
SM
207292011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20730
20731 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20732
3767e706
LL
207332011-05-30 Leo Liu <sdl.web@gmail.com>
20734
20735 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20736 (rcirc-print): Decode all incoming messages (bug#8744).
20737 (rcirc-decode-coding-system): Allow value nil for automatic coding
20738 system detection.
3767e706 20739
d1a5d56a
GM
207402011-06-01 Glenn Morris <rgm@gnu.org>
20741
20742 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20743
e8cbec34
CY
207442011-05-29 Chong Yidong <cyd@stupidchicken.com>
20745
20746 * image.el (image-animate-max-time): Allow nil and t values.
20747 Default to nil.
20748 (create-animated-image): Doc fix.
20749 (image-animate-start): Remove second arg; just use
20750 image-animate-max-time.
20751 (image-animate-timeout): Doc fix. Args changed.
20752
20753 * image-mode.el (image-toggle-display-image): Ensure that the
20754 image spec passed to the animate timer is the same object as in
58179cce 20755 the buffer's display property (Bug#6981).
e8cbec34
CY
20756 (image-transform-properties): Doc fix.
20757
20758 * image.el (image-animate-max-time): Default to nil.
20759
159daf87
MR
207602011-05-29 Martin Rudalics <rudalics@gmx.at>
20761
20762 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20763 entire buffer list (Bug#8184).
20764
d66c4c7c
CY
207652011-05-29 Chong Yidong <cyd@stupidchicken.com>
20766
20767 * image.el (imagemagick-types-inhibit)
20768 (imagemagick-register-types): Doc fix.
20769
80aec780
DD
207702011-05-29 Deniz Dogan <deniz@dogan.se>
20771
20772 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20773 default.
20774
1dd3c2d9
CY
207752011-05-29 Chong Yidong <cyd@stupidchicken.com>
20776
20777 * select.el: Don't perform clipboard-manager saving in hooks;
20778 leave the hooks empty.
20779
60e56523
LL
207802011-05-28 Leo Liu <sdl.web@gmail.com>
20781
20782 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20783 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20784 (occur-edit-mode): New major mode (Bug#8463).
20785 (occur-after-change-function): New function.
20786 (occur-engine): Give Occur tags a read-only property.
20787
2b1e1a22
KR
207882011-05-28 Kevin Ryde <user42@zip.com.au>
20789
20790 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20791
5d344e88
CY
207922011-05-28 Chong Yidong <cyd@stupidchicken.com>
20793
8e6ca83d
CY
20794 * bindings.el (help-echo): Make the initial non-indicator dash
20795 empty on graphical terminals (Bug#7295).
20796
5d344e88
CY
20797 * files.el (auto-mode-alist): Move config rule after the
20798 in-stripping one (Bug#8547).
20799
bfbbace7
CY
20800 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20801
fbeba6e2
CY
20802 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20803 setting (Bug#8740).
20804
60ed8c72
AA
208052011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20806
4ac619f0
AA
20807 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20808 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20809 (Bug#8539).
60ed8c72 20810
23db196e
CY
208112011-05-28 Chong Yidong <cyd@stupidchicken.com>
20812
20813 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20814
5012f24c
DK
208152011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20816
20817 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20818 (hs-hide-block-at-point, hs-find-block-beginning)
20819 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20820 (Bug#8279).
20821
6a639b16
GM
208222011-05-28 Glenn Morris <rgm@gnu.org>
20823
20824 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20825
d43eaf2c
CY
208262011-05-28 Chong Yidong <cyd@stupidchicken.com>
20827
5199bde1
CY
20828 * help-fns.el (describe-function-1): If the function is a derived
20829 major mode, print the parent mode.
20830
d43eaf2c
CY
20831 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20832 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20833
423428a8
SM
208342011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20835
0ff8e1ba 20836 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20837 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20838 * progmodes/etags.el (tags-completion-at-point-function):
20839 * info-look.el (info-lookup-completions-at-point): Mark as
20840 non-exclusive.
20841 (info-complete): Adjust accordingly.
20842
423428a8
SM
20843 * info-look.el: Convert to lexical-binding and completion-at-point.
20844 (info-lookup-completions-at-point): New function.
20845 (info-complete): Use it and completion-in-region.
20846
b74aa22b
DA
208472011-05-28 Drew Adams <drew.adams@oracle.com>
20848
20849 * isearch.el: Let M-e start with point at the first mismatched char.
20850 (isearch-fail-pos): New function.
20851 (isearch-edit-string): Use it.
20852
66e2e71d
DK
208532011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20854
20855 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20856
b1890b0f 208572011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20858
20859 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20860 traversal functions for avl-trees.
20861 (avl-tree--stack): New struct.
20862 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20863 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20864 (avl-tree--do-enter): Add optional `updatefun' arg.
20865 Change return value.
eb95d01d 20866 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20867 (avl-tree--do-delete): Add `test' and `nilflag' args.
20868 Change return value.
eb95d01d
TC
20869 (avl-tree-member): Add optional `nilflag'
20870 (avl-tree-member-p): New function.
20871 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20872 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20873 (avl-tree-stack-empty-p): New functions.
20874
3769ddcf
TC
20875 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20876 avl-tree--del-balance1 and make it work both ways.
20877 (avl-tree--del-balance2): Remove.
20878 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20879 make it work both ways.
20880 (avl-tree--enter-balance2): Remove.
20881 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20882 New macros.
20883 (avl-tree--mapc, avl-tree-map): Add direction argument.
20884
eb95d01d 208852011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20886
20887 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20888
a9f737ee
CY
208892011-05-27 Chong Yidong <cyd@stupidchicken.com>
20890
20891 * select.el: Support clipboard managers with built-in function
20892 x-clipboard-manager-save, via delete-frame-functions and
20893 kill-emacs-hook.
20894 (xselect-convert-to-targets): Add MULTIPLE target to list.
20895 (xselect-convert-to-save-targets): New function.
20896
c92a1e54
KH
208972011-05-27 Kenichi Handa <handa@m17n.org>
20898
20899 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20900 let-binding rfc2047-encode-encoded-words to nil.
20901
e145f188
GM
209022011-05-27 Glenn Morris <rgm@gnu.org>
20903
5ec8a862
GM
20904 * mail/emacsbug.el: Don't require url-util.
20905
4b29d9fb
GM
20906 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20907
e145f188
GM
20908 * files.el (set-auto-mode):
20909 Also respect mode: entries at the end of the file. (Bug#8586)
20910
7d15102b
GM
209112011-05-26 Glenn Morris <rgm@gnu.org>
20912
98f593b8
GM
20913 * files.el (hack-local-variables-prop-line, hack-local-variables):
20914 Downcase mode names, as seems to be traditional.
27b48e63 20915 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20916
7d15102b
GM
20917 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20918 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20919
51d5b4ec
JD
209202011-05-25 Julien Danjou <julien@danjou.info>
20921
20922 * textmodes/rst.el (rst-define-level-faces): Do not define face
20923 symbol if it is already defined.
20924
91513f63
VB
209252011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20926
20927 * play/5x5.el (5x5-new-game, 5x5-randomize):
20928 Reset 5x5-solver-output to nil when a new grid is cast.
20929 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20930 these debugging traces, as defmacro breaks the compiled code.
20931
4d90d6d0
DK
209322011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20933
20934 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20935
e1b90ef6
LL
209362011-05-24 Leo Liu <sdl.web@gmail.com>
20937
20938 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20939 (vc-bzr-sha1): Adapt.
20940
d8e4b68b 20941 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20942
20943 * bindings.el: Provide sha1 feature.
20944
db0406bb 209452011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20946
20947 * mail/sendmail.el: Require `rfc2047'.
20948 (mail-insert-from-field): Do not perform RFC2047 encoding.
20949 (mail-encode-header): New function.
20950 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20951 buffer to the return value of select-message-coding-system.
20952 Call mail-encode-header.
b8d747b9
KH
20953
20954 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20955
db0406bb 209562011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20957
4d90d6d0
DK
20958 * mail/supercite.el (sc-default-cite-frame):
20959 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20960
eb8a5e9b
GM
209612011-05-24 Glenn Morris <rgm@gnu.org>
20962
f8630703
GM
20963 * progmodes/python.el (brm-menu): Declare.
20964
8831bbed
GM
20965 * emulation/viper.el (viper-set-hooks): Declare.
20966
eb8a5e9b
GM
20967 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20968 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20969 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20970 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20971 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20972 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20973
a2a25d24
SM
209742011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20975
20976 Add an :exit-function for completion-at-point.
20977
20978 * minibuffer.el (completion--done): New fun.
20979 (completion--do-completion): Use it. New arg `expect-exact'.
20980 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20981 since completion--do-completion does it for us now.
20982 (minibuffer-force-complete): Use completion--done and
20983 completion--replace. Handle sole-completion case with more care.
20984 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20985 (completion-extra-properties): New var.
20986 (completion-annotate-function): Make obsolete.
20987 (minibuffer-completion-help): Adjust accordingly.
20988 Use completion-list-insert-choice-function.
20989 (completion-at-point, completion-help-at-point):
20990 Bind completion-extra-properties.
20991 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20992 * simple.el (completion-list-insert-choice-function): New var.
20993 (completion-setup-function): Preserve it.
20994 (choose-completion): Pay attention to it, shuffle the code a bit.
20995 (choose-completion-string): New arg `insert-function'.
20996
20997 * textmodes/bibtex.el: Convert to lexical binding.
20998 (bibtex-mode-map): Use completion-at-point.
20999 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21000 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21001 (bibtex-complete): Define as obsolete alias.
21002 (bibtex-complete-internal): Remove.
21003 (bibtex-format-entry): Remove unused sub-group in regexp.
21004 * shell.el (shell--command-completion-data)
21005 (shell-environment-variable-completion):
21006 * pcomplete.el (pcomplete-completions-at-point):
21007 * comint.el (comint--complete-file-name-data): Use :exit-function
21008 instead of completion-table-with-terminator so it also works for
21009 choose-completion.
21010
e44e373d
SM
210112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21012
4f91a816
SM
21013 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21014
782fc819
SM
21015 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21016 (bug#8710).
21017
e44e373d
SM
21018 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21019
381987c3
KM
210202011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21021
21022 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21023 customization variable and implement: If non-nil, auto-fill will
21024 be inhibited while on topic's header line.
21025
b776bc70
VB
210262011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21027
21028 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21029 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21030 always have a solution in grid size = 5 cases.
21031 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21032 (5x5-solver-output, 5x5-log-buffer): New vars.
21033 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21034 Make these variables buffer local to achieve 5x5 multi-session-ness.
21035 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21036 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21037 (5x5-solve-suggest): New funs.
21038 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21039 randomize a grid so that we ensure that there is always a solution.
21040 (5x5-make-random-grid): Allow other movement than flipping.
21041
7de88b6e
KR
210422011-05-23 Kevin Ryde <user42@zip.com.au>
21043
21044 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21045 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21046 advice and passes PREDICATE.
21047
b1ef1257
SM
210482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21049
bbca48fe
SM
21050 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21051 byte-compile-lambda if it's actually a lambda.
21052
b1ef1257
SM
21053 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21054 Fix function quoting. Use backquote better.
21055
92a9cc65
YS
210562011-05-22 Yuanle Song <sylecn@gmail.com>
21057
21058 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21059 matching (Bug#8516).
21060
fe93f41a 210612011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21062
21063 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21064 different face (Bug#8178).
21065
d5b44c93
CY
210662011-05-22 Chong Yidong <cyd@stupidchicken.com>
21067
21068 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21069 defface (Bug#8144).
21070
79106a44
SM
210712011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21072
9c848d8a
SM
21073 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21074 funcall as well (bug#8712). Warn when performing those conversions.
21075 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21076
79106a44
SM
21077 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21078
88dfa756
GM
210792011-05-22 Glenn Morris <rgm@gnu.org>
21080
21081 * files.el (hack-local-variables-prop-line): Small simplifications.
21082 (hack-local-variables, hack-local-variables-prop-line):
21083 If MODE-ONLY, return the mode, rather than just `t'.
21084
b7cf2c79
SM
210852011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21086
21087 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21088
3f1a8558
GM
210892011-05-21 Glenn Morris <rgm@gnu.org>
21090
7e4ccca3
GM
21091 * files.el (hack-local-variables-prop-line, hack-local-variables):
21092 If only interested in the mode, don't bother doing the other stuff.
21093
637d46ca
GM
21094 * image-mode.el (image-after-revert-hook):
21095 Redraw all frames on which the image is visible. (Bug#8567)
21096
973d955b
GM
21097 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21098
3f1a8558
GM
21099 * wid-edit.el (widget-checklist-match-inline):
21100 Fix 2011-04-19 change. (Bug#8649)
21101
96479927
SM
211022011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21103
1dcf791f
SM
21104 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21105 Also allow singlespace after single-letter capitals followed by a dot.
21106
96479927
SM
21107 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21108 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21109
35fd0881
N
211102011-05-20 Nix <nix@esperi.org.uk>
21111
21112 * files.el (basic-save-buffer-2):
21113 Fix handling of break-hardlink-on-save with non-existent files.
21114
82745640
DD
211152011-05-19 Deniz Dogan <deniz@dogan.se>
21116
21117 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21118 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21119
4a720484
GM
211202011-05-19 Glenn Morris <rgm@gnu.org>
21121
d1f21341
GM
21122 * progmodes/f90.el (f90-type-def-re):
21123 Handle "type, bind(c)". (Bug#8691)
21124
4a720484
GM
21125 * emacs-lisp/autoload.el (batch-update-autoloads):
21126 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21127
2fb0a219
MA
211282011-05-18 Michael Albinus <michael.albinus@gmx.de>
21129
21130 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21131 property for the correct connection in case of multihops.
21132
e565dd37
GM
211332011-05-18 Glenn Morris <rgm@gnu.org>
21134
c2571358 21135 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21136 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21137
e565dd37
GM
21138 Rationalize calendar handling of day and month abbrev-arrays.
21139 * calendar/calendar.el (calendar-customized-p): New function.
21140 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21141 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21142 Add :set function.
21143 (calendar-abbrev-length, calendar-day-abbrev-array)
21144 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21145 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21146 Elements may no longer be nil.
21147 (calendar-day-name, calendar-month-name):
21148 Update for changed nature of abbrev arrays.
21149 * calendar/diary-lib.el (diary-name-pattern):
21150 Update for changed nature of abbrev arrays.
21151 (diary-mark-entries-1): Update calendar-make-alist calls.
21152 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21153 * calendar/cal-html.el (cal-html-day-abbrev-array):
21154 Simply inherit from calendar-day-abbrev-array.
21155
1d99a745
SM
211562011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21157
21158 * progmodes/grep.el (grep-mode): Disable default
21159 compilation-directory-matcher setting (bug#8684).
21160
7c1d9aa0
MA
211612011-05-17 Michael Albinus <michael.albinus@gmx.de>
21162
21163 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21164 instead of "head" and "tail". There were problems with SunOS 5.9,
21165 and it performs better.
21166
3952e9d8
GM
211672011-05-17 Glenn Morris <rgm@gnu.org>
21168
2dd12e7f
GM
21169 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21170
e4157b9c
GM
21171 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21172 Replace obsolete function.
21173
8e249bbd
GM
21174 * shell.el (pcomplete-parse-arguments-function): Declare.
21175
3952e9d8
GM
21176 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21177 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21178 (appt-check): Doc fixes.
21179 (appt-disp-window-function, appt-delete-window-function):
21180 Remove needless special case in custom :type.
21181 (appt-display-count): Default to 0, not nil.
21182 (appt-check): Reset appt-display-count to 0, not nil.
21183
c71a0d48 211842011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21185
c71a0d48
GM
21186 * progmodes/python.el (python-font-lock-keywords):
21187 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21188
31d55be9
SM
211892011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21192
3bfacb2f
KR
211932011-05-16 Kevin Ryde <user42@zip.com.au>
21194
21195 * info-look.el (makefile-automake-mode): New setups, looking in
21196 automake manual, then makefile-mode.
21197 (makefile-mode): Remove automake manual, have it just in
21198 makefile-automake-mode since there's various things different or
21199 not relevant to plain make.
21200 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21201 believe a hypothetical automake-mode would go to makefile-mode,
21202 not the other way around.
21203
c8e83751
CY
212042011-05-15 Chong Yidong <cyd@stupidchicken.com>
21205
5e9e35cd
CY
21206 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21207 hunk-end tags (Bug#8672).
21208
c8e83751
CY
21209 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21210 vc-annotate-show-diff-revision-at-line (Bug#8671).
21211
50b23e5a
GM
212122011-05-14 Glenn Morris <rgm@gnu.org>
21213
7210a739
GM
21214 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21215 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21216 (change-log-font-lock-keywords): Also handle multiple author lines
21217 with leading tabs. (Bug#8644)
7210a739 21218
4691905a
GM
21219 * calendar/appt.el (appt-check): Rename some local variables.
21220 Some simplification/reordering.
21221
50b23e5a
GM
21222 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21223 (feedmail-sendmail-f-doesnt-sell-me-out)
21224 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21225 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21226 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21227 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21228 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21229 (feedmail-binmail-gnulinuxish-template):
21230 Rename from feedmail-binmail-linuxish-template.
21231 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21232 Use insert-buffer-substring.
21233
215cda7c
BC
212342011-05-14 Bill Carpenter <bill@carpenter.org>
21235
21236 * mail/feedmail.el (feedmail-patch-level): Increase.
21237 (feedmail-debug): New custom group.
21238 (feedmail-confirm-outgoing-timeout)
21239 (feedmail-sendmail-f-doesnt-sell-me-out)
21240 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21241 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21242 (feedmail-sender-line, feedmail-from-line)
21243 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21244 (feedmail-spray-this-address)
215cda7c
BC
21245 (feedmail-spray-address-fiddle-plex-list)
21246 (feedmail-queue-use-send-time-for-date)
21247 (feedmail-queue-use-send-time-for-message-id)
21248 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21249 (feedmail-buffer-eating-function):
21250 Doc fixes.
21251 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21252 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21253 (feedmail-message-action-scroll-down): New functions.
21254 (feedmail-queue-directory, feedmail-queue-draft-directory):
21255 Use expand-file-name.
21256 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21257 Remove C-v help entry.
21258 (feedmail-queue-buffer-file-name): New variable.
21259 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21260 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21261 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21262 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21263 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21264 (feedmail-message-action-toggle-spray)
21265 (feedmail-run-the-queue-no-prompts)
21266 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21267 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21268 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21269 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21270 (feedmail-envelope-deducer, feedmail-fiddle-from)
21271 (feedmail-fiddle-sender, feedmail-default-date-generator)
21272 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21273 (feedmail-fiddle-spray-address)
21274 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21275 (feedmail-fiddle-list-of-fiddle-plexes)
21276 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21277 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21278 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21279 Change default. Doc fix.
21280 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21281 (feedmail-binmail-linuxish-template): New constant.
21282 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21283 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21284 (feedmail-send-it): Add debug call.
21285 Use feedmail-queue-buffer-file-name, and
21286 feedmail-send-it-immediately-wrapper.
21287 (feedmail-message-action-send): Add debug call.
21288 Use feedmail-send-it-immediately-wrapper.
21289 (feedmail-queue-express-to-queue): Add debug call.
21290 Run feedmail-queue-express-hook.
21291 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21292 (feedmail-message-action-help-blat):
21293 Rename from feedmail-queue-send-edit-prompt-help-first.
21294 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21295 Check line-endings. Handle errors better.
21296 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21297 Doc fix. Add debug call.
21298 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21299 Use feedmail-queue-send-edit-prompt-inner.
21300 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21301 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21302 from feedmail-queue-send-edit-prompt.
21303 (feedmail-queue-send-edit-prompt-help)
21304 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21305 (feedmail-tidy-up-slug): Add debug call.
21306 Respect feedmail-queue-slug-suspect-regexp.
21307 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21308 (feedmail-dump-message-to-queue): Add debug call.
21309 Expand queue-directory.
21310 (feedmail-dump-message-to-queue): Change message slightly.
21311 Use feedmail-say-chatter.
21312 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21313 (feedmail-send-it-immediately-wrapper): New function.
21314 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21315 Insert empty string rather than newline. Handle full-frame case.
21316 Use catch/throw. Use feedmail-say-chatter.
21317 (feedmail-fiddle-from): Try mail-host-address.
21318 (feedmail-default-message-id-generator): Doc fix.
21319 Bind system-time-locale. Handle missing end.
21320 (feedmail-fiddle-x-mailer): Add debug call.
21321 Handle feedmail-x-mailer-line being nil.
21322 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21323 Add debug call. Use buffer-substring-no-properties.
21324 (feedmail-say-debug, feedmail-say-chatter): New functions.
21325 (feedmail-find-eoh): Give an explicit error.
21326
42c7e61e
UJ
213272011-05-13 Ulf Jasper <ulf.jasper@web.de>
21328
c2571358 21329 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21330 family from helvetica to sans.
c2571358 21331 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21332 etc/images/newsticker.
21333
c2571358 21334 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21335 family from helvetica to sans.
21336
21337 * net/newst-plainview.el (newsticker-new-item-face)
21338 (newsticker-old-item-face, newsticker-immortal-item-face)
21339 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21340 (newsticker-statistics-face): Change default family from
42c7e61e 21341 helvetica to sans.
c2571358 21342 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21343 etc/images/newsticker.
21344
5d3385a0
JB
21345 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21346 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21347 auto-marking.
21348
8497a297
DV
213492011-05-13 Didier Verna <didier@xemacs.org>
21350
21351 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21352 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21353 TODO entries.
8497a297
DV
21354 (lisp-lambda-list-keyword-parameter-indentation)
21355 (lisp-lambda-list-keyword-parameter-alignment)
21356 (lisp-lambda-list-keyword-alignment): New customizable user options.
21357 (lisp-indent-defun-method): Improve docstring.
21358 (extended-loop-p): Fix comment.
21359 (lisp-indent-lambda-list-keywords-regexp): New variable.
21360 (lisp-indent-lambda-list): New function.
21361 (lisp-indent-259): Use it.
21362 (lisp-indent-defmethod): Support for more than one
21363 method qualifier and properly indent methods lambda-lists.
21364 (defgeneric): Provide a missing common-lisp-indent-function property.
21365
f278f87f
SM
213662011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21367
21368 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21369 bounds for the empty string (bug#8667).
21370
5233edd7
GM
213712011-05-13 Glenn Morris <rgm@gnu.org>
21372
5237a44f
GM
21373 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21374
8340026c 21375 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21376 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21377
5233edd7 21378 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21379 (appt-time-msg-list): Doc fix.
a5464014 21380 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21381
92d10796
AS
213822011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21383
21384 * progmodes/ld-script.el (ld-script-keywords)
21385 (ld-script-builtins): Update keywords list.
21386
914a0ae1
SM
213872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21388
c89be45f
SM
21389 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21390
914a0ae1
SM
21391 * shell.el (shell-completion-vars): New function.
21392 (shell-mode):
21393 * simple.el (read-shell-command): Use it.
21394 (blink-matching-open): No need for " [...]" in minibuffer-message.
21395
98dc3df3
GM
213962011-05-12 Glenn Morris <rgm@gnu.org>
21397
21398 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21399 (appt-check): Simplify.
21400
d2fc7e3d 214012011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21402
4d61f28d 21403 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21404 literal "/dev/null".
21405
d2fc7e3d 214062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21407
21408 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21409 Fix typo.
21410
d2fc7e3d 214112011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21412
3f254caa
SM
21413 * progmodes/which-func.el (which-function):
21414 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21415 which might not be defined (Bug#8260).
21416
d45885f7
GM
214172011-05-12 Glenn Morris <rgm@gnu.org>
21418
21419 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21420 Let byte-compile-initial-macro-environment always take precedence.
21421
488086f4
SM
214222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21423
21424 * net/rcirc.el: Add support for SSL/TLS connections.
21425 (rcirc-server-alist): New field `encryption'.
21426 (rcirc): Check `encryption' settings.
21427 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21428 Merge make-local-variable into `set'.
21429 (rcirc--connection-open-p): New function.
21430 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21431 the process is not a network process (e.g. running gnutls-cli).
21432 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21433 Make rcirc-(en|de)code-coding-system local here.
21434 (rcirc-mode): Merge make-local-variable into `set'.
21435 (rcirc-parent-buffer): Make permanent buffer-local.
21436 (rcirc-multiline-minor-mode): Don't do it here.
21437 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21438 there's no server buffer.
21439
7d3b9d44
GM
214402011-05-11 Glenn Morris <rgm@gnu.org>
21441
f64049c6
GM
21442 * newcomment.el (comment-kill): Prefix "unused" local.
21443
93c9df73
GM
21444 * term/w32console.el (get-screen-color): Declare.
21445
7d3b9d44
GM
21446 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21447 Handle symbol elements of byte-compile-initial-macro-environment.
21448
9e2dd53f
LL
214492011-05-10 Leo Liu <sdl.web@gmail.com>
21450
488086f4
SM
21451 * bookmark.el (bookmark-bmenu-mode-map):
21452 Bind bookmark-bmenu-search to `/'.
8b340240 21453
9e2dd53f 21454 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21455 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21456 (Footnote-unicode): New function.
21457 (footnote-style-alist): Add unicode style to the list.
21458 (footnote-style): Doc fix.
9e2dd53f 21459
79b70037
GM
214602011-05-10 Jim Meyering <meyering@redhat.com>
21461
21462 Fix doubled-word typos.
21463 * international/quail.el (quail-insert-kbd-layout): and and -> and
21464 * kermit.el: and and -> and
21465 * net/ldap.el (ldap-search-internal): to to -> to
21466 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21467 * progmodes/js.el (js-mode): and and -> and
21468 * textmodes/artist.el (artist-move-to-xy): at at -> at
21469 (artist-draw-region-trim-line-endings): if if -> if
21470 And Safetyc -> Safety.
21471 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21472
b8f82dc1 214732011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21474 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21475
21476 * files.el (hack-one-local-variable-eval-safep):
21477 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21478
4f99f44b
GM
214792011-05-10 Glenn Morris <rgm@gnu.org>
21480
21481 * calendar/diary-lib.el (diary-list-entries-hook)
21482 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21483 (diary-nongregorian-marking-hook, diary-list-entries)
21484 (diary-include-other-diary-files, diary-mark-entries)
21485 (diary-mark-included-diary-files): Doc fixes.
21486
84f29e6b
JB
214872011-05-09 Juanma Barranquero <lekktu@gmail.com>
21488
21489 * misc.el: Require tabulated-list.el during compilation.
21490
9bedd73a
CY
214912011-05-09 Chong Yidong <cyd@stupidchicken.com>
21492
488086f4
SM
21493 * progmodes/compile.el (compilation-start):
21494 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21495 (compilation-filter-hook): Doc fix.
21496
797c735c
DD
214972011-05-09 Deniz Dogan <deniz@dogan.se>
21498
21499 * wdired.el: Remove outdated installation comment. Fix usage
21500 comment.
21501
5f4b1dfe
JB
215022011-05-09 Juanma Barranquero <lekktu@gmail.com>
21503
21504 * misc.el: Implement new command `list-dynamic-libraries'.
21505 (list-dynamic-libraries--loaded-only-p): New variable.
21506 (list-dynamic-libraries--refresh): New function.
21507 (list-dynamic-libraries): New command.
21508
4c44026c
CY
215092011-05-09 Chong Yidong <cyd@stupidchicken.com>
21510
488086f4
SM
21511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21512 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21513 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21514 higher priority to avoid clobbering by gnu.
21515
027f966d
CY
215162011-05-08 Chong Yidong <cyd@stupidchicken.com>
21517
21518 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21519 if the face has existing theme settings (Bug#8454).
21520
085f5d7d
CY
215212011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21522
488086f4
SM
21523 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21524 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21525
2a86a00c
RS
21526 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21527 special file names `.' and `..' (Bug#8259).
21528
d9c54a06
CY
215292011-05-08 Chong Yidong <cyd@stupidchicken.com>
21530
488086f4
SM
21531 * progmodes/grep.el (grep-mode-font-lock-keywords):
21532 Remove buffer-changing entries.
d9c54a06
CY
21533 (grep-filter): New function.
21534 (grep-mode): Add it to compilation-filter-hook.
21535
21536 * progmodes/compile.el (compilation-filter-hook)
21537 (compilation-filter-start): New defvars.
21538 (compilation-filter): Call compilation-filter-hook prior to
21539 updating the process mark.
21540
c4662635
SM
215412011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21542
21543 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21544
b0512a1d
EZ
215452011-05-07 Eli Zaretskii <eliz@gnu.org>
21546
605c9376
EZ
21547 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21548 mailclient-send-it even if window-system is nil. (Bug#8595)
21549
c4662635
SM
21550 * term/w32console.el (terminal-init-w32console):
21551 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21552 background-mode. (Bug#8597)
21553
d1dc2cc2
SM
215542011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21555
21556 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21557 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21558 New functions.
21559 (defgeneric, eieio--defmethod): Use them.
21560 (eieio-defgeneric): Remove.
21561 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21562
915d1300
GM
215632011-05-07 Glenn Morris <rgm@gnu.org>
21564
a3961c3e
GM
21565 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21566 Use let rather than let*.
21567 (timeclock-find-discrep): Remove unused local.
21568
314347b9
GM
21569 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21570
915d1300
GM
21571 * calendar/appt.el (appt-time-msg-list): Doc fix.
21572
275b59b0
NF
215732011-05-06 Noah Friedman <friedman@splode.com>
21574
21575 * apropos.el (apropos-print-doc): Only use
21576 emacs-lisp-docstring-fill-column when it is bound to an integer,
21577 per that variable's documentation.
21578
6c19f744
SM
215792011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21580
21581 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21582 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21583
60f884b2
GM
215842011-05-06 Glenn Morris <rgm@gnu.org>
21585
5006e634
GM
21586 * calendar/appt.el (appt-message-warning-time): Doc fix.
21587 (appt-warning-time-regexp): New option.
21588 (appt-make-list): Respect appt-message-warning-time.
21589
548d0a63
GM
21590 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21591 New options.
21592 (diary-add-to-list): Strip comments from the displayed string.
21593 (diary-mode): Set comment-start and comment-end.
21594
60f884b2
GM
21595 * vc/diff-mode.el (smerge-refine-subst): Declare.
21596 (diff-refine-hunk): Don't require smerge-mode when compiling.
21597
989681bb
JB
215982011-05-06 Juanma Barranquero <lekktu@gmail.com>
21599
21600 * simple.el (list-processes): Return nil as the docstring says.
21601
a6bc05e1
MA
216022011-05-05 Michael Albinus <michael.albinus@gmx.de>
21603
21604 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21605 to "".
21606 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21607 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21608 determining of binary transfer. (Bug#7383)
21609
23c22e9a
MA
216102011-05-05 Michael Albinus <michael.albinus@gmx.de>
21611
c4662635
SM
21612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21613 Fix port computation bug. (Bug#8618)
23c22e9a 21614
0bff894f
GM
216152011-05-05 Glenn Morris <rgm@gnu.org>
21616
b8296902
GM
21617 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21618
1f522ce8
GM
21619 * simple.el (shell-dynamic-complete-functions)
21620 (comint-dynamic-complete-functions): Declare.
21621
cf5bee67
GM
21622 * net/network-stream.el (gnutls-negotiate):
21623 * simple.el (tabulated-list-print): Fix declarations.
21624
21625 * progmodes/gud.el (syntax-symbol, syntax-point):
21626 Remove unnecessary and incorrect declarations.
21627
0bff894f 21628 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21629 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21630
9869b3ae
SM
216312011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 Fix earlier half-done eieio-defmethod change (bug#8338).
21634 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21635 Streamline and change calling convention.
21636 (defmethod): Adjust accordingly and simplify.
21637 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21638 new eieio--defmethod.
21639 (slot-boundp): Minor CSE simplification.
21640
9c1d5ac5
MZ
216412011-05-05 Milan Zamazal <pdm@zamazal.org>
21642
21643 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21644 (glasses-make-readable): Use glasses-separate-capital-groups.
21645
455c834e
JB
216462011-05-05 Juanma Barranquero <lekktu@gmail.com>
21647
21648 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21649 (warning-series): Doc fix.
21650 (display-warning): Don't try to create the buffer if we just found it.
21651
9ed7c8cb
CY
216522011-05-04 Chong Yidong <cyd@stupidchicken.com>
21653
21654 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21655 (autoload-find-generated-file): New function.
21656 (generate-file-autoloads): Bind generated-autoload-file to
21657 buffer-file-name.
9869b3ae
SM
21658 (update-file-autoloads, update-directory-autoloads):
21659 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21660 output file (Bug#7989).
21661 (batch-update-autoloads): Doc fix.
21662
0898ca10
JB
216632011-05-04 Juanma Barranquero <lekktu@gmail.com>
21664
21665 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21666
31dfb76c
GM
216672011-05-04 Glenn Morris <rgm@gnu.org>
21668
f330b642
GM
21669 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21670 function, so it follows changes in calendar-date-style.
21671 (diary-fancy-date-matcher): New function.
21672 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21673 (diary-fancy-font-lock-fontify-region-function):
21674 Use diary-fancy-date-pattern as a function.
21675
31dfb76c
GM
21676 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21677 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21678
48e79d6a
TZ
216792011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21680
21681 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21682 instead of positional arguments. Allow :keylist and :crlfiles
21683 arguments.
21684 (open-gnutls-stream): Call it.
21685
21686 * net/network-stream.el (network-stream-open-starttls): Adjust to
21687 call `gnutls-negotiate' with :process and :hostname arguments.
21688
dd5a5ee0
SM
216892011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21690
ef80fc09
SM
21691 * minibuffer.el (completion--message): New function.
21692 (completion--do-completion, minibuffer-complete)
21693 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21694 (completion--do-completion): Don't ignore completion-auto-help when in
21695 icomplete-mode.
21696
dd5a5ee0
SM
21697 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21698 internal encoding (e.g. tibetan zero is not whitespace).
21699 (global-whitespace-mode): Prefer save-current-buffer.
21700 (whitespace-trailing-regexp): Remove useless save-match-data.
21701 (whitespace-empty-at-bob-regexp): Minor simplification.
21702
b7d22a83
CY
217032011-05-03 Chong Yidong <cyd@stupidchicken.com>
21704
21705 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21706
5192af46
AM
217072011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21708
21709 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21710 Use `concat' to create string for insertion.
5192af46 21711
5767d190
SM
217122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21713
21714 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21715 Avoid open-line which runs post-self-insert-hook.
21716 (bibtex-fill-entry): Remove unused `end' var.
21717
bf242939
AM
217182011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21719
5767d190
SM
21720 * textmodes/ispell.el (ispell-add-per-file-word-list):
21721 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21722
25666126
LL
217232011-05-03 Leo Liu <sdl.web@gmail.com>
21724
21725 * isearch.el (isearch-yank-pop): New command.
5767d190 21726 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21727 (isearch-forward): Mention it.
21728
52d3c2d0
SM
217292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21730
1bcace58
SM
21731 * simple.el (minibuffer-complete-shell-command): Remove.
21732 (minibuffer-local-shell-command-map): Use completion-at-point.
21733 (read-shell-command): Setup completion vars here instead.
21734 (read-expression-map): Bind TAB to symbol completion.
21735
52d3c2d0
SM
21736 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21737 error directly rather via storing it into `results'.
21738
35813471
LL
217392011-05-02 Leo Liu <sdl.web@gmail.com>
21740
21741 * vc/diff.el: Fix description.
21742
e793a940
LMI
217432011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21744
21745 * server.el (server-eval-at): New function.
21746
8de66e05
LMI
217472011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21748
21749 * net/network-stream.el (open-network-stream): Take a :nowait
21750 parameter and pass it on to `make-network-process'.
21751 (network-stream-open-plain): Ditto.
21752
dcb79f20
AS
217532011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21754
21755 * faces.el (face-spec-set-match-display): Don't match toolkit
21756 options on terminal frames.
21757
14a7fbd8
SM
217582011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21759
7eabc1be
SM
21760 * progmodes/pascal.el: Use lexical binding.
21761 (pascal-mode-map): Remove author preferences.
21762
14a7fbd8
SM
21763 * pcomplete.el (pcomplete-std-complete): Don't abuse
21764 completion-at-point.
21765
50f84510
JB
217662011-04-28 Juanma Barranquero <lekktu@gmail.com>
21767
6e087a44
JB
21768 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21769 removing code that has been dead since 1991 or so.
21770
50f84510
JB
21771 * startup.el (command-line): When warning about "_emacs", use a
21772 delayed warning to allow the user to filter it out.
21773
0ba690bd
DD
217742011-04-28 Deniz Dogan <deniz@dogan.se>
21775
21776 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21777 user has not joined.
21778
08abfaad
SM
217792011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21780
21781 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21782 aren't any completions at point.
21783
638f053a
JB
217842011-04-28 Juanma Barranquero <lekktu@gmail.com>
21785
21786 * subr.el (display-delayed-warnings): New function.
21787 (delayed-warnings-hook): New variable.
21788
8fff8daa
SM
217892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21790
08abfaad
SM
21791 * minibuffer.el (completion-at-point, completion-help-at-point):
21792 Don't presume that a given completion-at-point-function will always
21793 use the same calling convention.
21794
8fff8daa
SM
21795 * pcomplete.el (pcomplete-completions-at-point):
21796 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21797 pcomplete-seen is non-nil.
21798 (pcomplete-comint-setup): Also recognize the new comint/shell
21799 completion functions.
21800 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21801 pcomplete-seen is non-nil.
21802
841a1577 218032011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21804
841a1577 21805 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21806 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21807 the first character in the entry. This allows for code to add its
211ec907
UJ
21808 own uid to the entry.
21809 (icalendar--convert-float-to-ical): Add export of
21810 `diary-float'-entries save for those with the optional DAY
21811 argument.
21812
2a782793
DC
218132011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21814
21815 * subr.el (shell-quote-argument): Use alternate escaping strategy
21816 when we spot a variable reference in a string.
21817
0438ce91
DC
218182011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21819
21820 * cus-start.el (all): Define customization for debug-on-event.
21821
841a1577 218222011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21823
21824 * subr.el (shell-quote-argument): Escape correctly under Windows.
21825
d090ed6c
SM
218262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21827
21828 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21829
bfd31217
MA
218302011-04-25 Michael Albinus <michael.albinus@gmx.de>
21831
d090ed6c
SM
21832 * net/tramp.el (tramp-process-actions): Add POS argument.
21833 Delete region between POS and (pos).
bfd31217 21834
d090ed6c
SM
21835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21836 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21837 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21838
21839 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21840 position in `tramp-process-actions' call.
21841
21842 * net/trampver.el: Update release number.
21843
e92f3bd3
SM
218442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21845
850256b5
SM
21846 * custom.el (defcustom): Obey lexical-binding.
21847
e92f3bd3
SM
21848 Fix octave-inf completion problems reported by Alexander Klimov.
21849 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21850 Inherit from octave-mode-syntax-table.
21851 (inferior-octave-mode): Set info-lookup-mode.
21852 (inferior-octave-completion-at-point): New function.
21853 (inferior-octave-complete): Use it and completion-in-region.
21854 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21855 comint-filename-completion.
21856 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21857 symbol elements which shouldn't be word elements.
21858 (octave-font-lock-keywords, octave-beginning-of-defun)
21859 (octave-function-header-regexp): Adjust regexps accordingly.
21860 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21861
cd22b309
JB
218622011-04-25 Juanma Barranquero <lekktu@gmail.com>
21863
21864 * net/gnutls.el (gnutls-errorp): Declare before first use.
21865
8b492194
TZ
218662011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21867
21868 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21869 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21870 default trustfile exists before going to use it. Add missing
5a5fa834 21871 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21872 Reported by Claudio Bley <claudio.bley@gmail.com>.
21873 (open-gnutls-stream): Add usage example.
21874
21875 * net/network-stream.el (network-stream-open-starttls): Give host
21876 parameter to `gnutls-negotiate'.
21877 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21878 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21879
841a1577 218802011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21881
cd22b309
JB
21882 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21883 Use correct match group (bug#8438).
05842630 21884
3ba7869c
CY
218852011-04-24 Chong Yidong <cyd@stupidchicken.com>
21886
512e3ae1
CY
21887 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21888 (package-menu--generate): New arg specifying packages to show.
21889 (package-menu-refresh, package-menu-execute, list-packages):
21890 Callers changed.
21891 (package-show-package-list): New function, replacing deleted
21892 package--list-packages (renamed because it is non-internal).
21893
21894 * finder.el (finder-list-matches): Use package-show-package-list
21895 instead of deleted package--list-packages.
21896
e92f3bd3
SM
21897 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21898 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21899 (vc-annotate-mode-map): Bind it to RET.
21900
7031be6d
UR
219012011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21902
21903 * progmodes/etags.el (next-file): Don't use set-buffer to change
21904 buffers (Bug#8478).
21905
4ef177aa
CY
219062011-04-24 Chong Yidong <cyd@stupidchicken.com>
21907
c8d173eb
CY
21908 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21909
4ef177aa
CY
21910 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21911 (apropos-accumulator): Doc fix.
21912 (apropos-function, apropos-macro, apropos-command)
21913 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21914 (apropos-plist): Add face property.
21915 (apropos-symbols-internal): Fix indentation.
21916 (apropos-print): Simplify help, and recognize apropos-multi-type.
21917 (apropos-print-doc): Use button-type-get to extract the button's
21918 face property. Fill docstring (Bug#8352).
21919
4ffd0d6b 219202011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21921
21922 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21923
c6c32125 21924 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21925 (mpuz-mode-map): Use mapc.
c6c32125
JB
21926 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21927 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21928 Fix typos in docstrings.
21929
58d468b4
JB
21930 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21931 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21932
6470c3c6
JB
21933 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21934
4ffd0d6b 219352011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21936
21937 * minibuffer.el (completion--do-completion): Avoid the "Next char
21938 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21939
3ad8bad0
CY
21940 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21941 mouse-2 into unread-command-events, it is interpreted correctly.
21942
71d73c9c 21943 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21944 (image-toggle-display): Doc fix.
71d73c9c 21945
841a1577 219462011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21947
4ffd0d6b
GM
21948 * textmodes/page.el (what-page): Use line-number-at-pos to
21949 calculate line number (Bug#6825).
6e1dbaa9 21950
c2fb1b60
JB
219512011-04-22 Juanma Barranquero <lekktu@gmail.com>
21952
21953 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21954 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21955 Pass argument NO-DEFAULT to `find-tag-interactive'.
21956
e02f48d7
JB
219572011-04-22 Juanma Barranquero <lekktu@gmail.com>
21958
21959 Lexical-binding cleanup.
21960
21961 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21962 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21963 * progmodes/ada-prj.el (ada-prj-initialize-values)
21964 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21965 (ada-prj-show-value):
21966 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21967 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21968 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21969 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21970 * progmodes/bug-reference.el (bug-reference-push-button):
21971 * progmodes/fortran.el (fortran-line-length):
21972 * progmodes/glasses.el (glasses-change):
21973 * progmodes/octave-mod.el (octave-fill-paragraph):
21974 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21975 (python-pdbtrack-grub-for-buffer, python-sentinel):
21976 * progmodes/sql.el (sql-save-connection):
21977 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21978 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21979 Mark unused parameters.
21980
21981 * progmodes/compile.el (compilation--flush-directory-cache)
21982 (compilation--flush-parse, compile-internal): Mark unused parameters.
21983 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21984 (compilation-next-error-function): Remove unused variable `timestamp'.
21985
21986 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21987 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21988
21989 * progmodes/dcl-mode.el (dcl-end-of-command):
21990 Remove unused variable `start'.
21991 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21992 (dcl-option-value-basic, dcl-option-value-offset)
21993 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21994 Mark unused parameters.
21995 (dcl-save-local-variable): Remove unused variable `val'.
21996 (mode): Declare.
21997
21998 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21999 Mark unused parameters.
22000 (delphi-ignore-changes): Move before first use.
22001 (delphi-charset-token-at): Remove unused variable `start'.
22002 (delphi-else-start): Remove unused variable `if-count'.
22003 (delphi-comment-block-start, delphi-comment-block-end):
22004 Remove unused variable `kind'.
22005 (delphi-indent-line): Remove unused variable `new-point'.
22006
22007 * progmodes/ebrowse.el (ebrowse-files-list)
22008 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22009 Mark unused parameters. Don't quote `lambda'.
22010 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22011 Don't quote `lambda'.
22012 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22013 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22014 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22015 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22016 Use `ignore-errors'.
22017 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22018 (ebrowse-view/find-file-and-search-pattern)
22019 (ebrowse-view/find-member-declaration/definition):
22020 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22021 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22022 Rename parameter PREFIX-ARG to PREFIX.
22023 (ebrowse-tags-read-name): Remove unused variables `start' and
22024 `member-info'.
22025 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22026 to `tags-file'.
22027
22028 * progmodes/etags.el (local-find-tag-hook): Declare.
22029 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22030 Mark unused parameters.
22031
22032 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22033 (executable-interpret): Mark unused parameter.
22034
22035 * progmodes/flymake.el (flymake-process-sentinel)
22036 (flymake-after-change-function)
22037 (flymake-create-temp-with-folder-structure)
22038 (flymake-get-include-dirs-dot): Mark unused parameters.
22039 (flymake-safe-delete-directory): Remove unused variable `err'.
22040
22041 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22042 (speedbar-timer-fn, speedbar-line-text)
22043 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22044 (speedbar-center-buffer-smartly): Declare functions.
22045 (gdb-find-watch-expression): Remove unused variable `array'.
22046 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22047 (gdb-starting): Mark unused parameters.
22048 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22049 (gdb-table-string): Remove unused variable `res'.
22050 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22051 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22052 (gdb-display-buffer): Remove unused variable `cur-size'.
22053
22054 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22055 allow lexical-binding compilation.
22056 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22057 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22058 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22059 Mark unused parameters.
22060 (gud-gdb-marker-filter): Remove unused variable `match'.
22061 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22062 lambda expressions and funcall them, instead of using `fset'.
22063
22064 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22065 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22066
22067 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22068 variable `header-beg'; use `let'.
22069
22070 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22071 `restart', `last-sexp' and `at-do'.
22072
22073 * progmodes/js.el (js--debug): Mark unused parameter.
22074 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22075 (js--splice-into-items): Remove unused variable `item'.
22076 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22077
22078 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22079 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22080 (makefile-complete): Remove unused variable `try'.
22081 (makefile-fill-paragraph, makefile-match-function-end):
22082 Mark unused parameters.
22083
22084 * progmodes/octave-inf.el (inferior-octave-complete):
22085 Remove unused variable `proc'.
22086 (inferior-octave-output-digest): Mark unused parameter.
22087
22088 * progmodes/perl-mode.el (perl-calculate-indent):
22089 Remove unused variable `err'.
22090
22091 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22092 (prolog-indent-line): Mark unused parameters.
22093 (prolog-indent-line): Remove unused variable `beg'.
22094
22095 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22096 (reporter-dont-compact-list): Declare.
22097
22098 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22099 Remove unused variable `char'.
22100 (sh-debug): Mark unused parameter.
22101 (sh-get-indent-info): Remove unused variable `start'.
22102 (sh-calculate-indent): Remove unused variable `var'.
22103
22104 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22105 (simula-electric-keyword): Remove unused variable `null'.
22106 (simula-search-backward, simula-search-forward): Remove unused
22107 variables `begin' and `end'.
22108
22109 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22110 Remove unused variable `pos'.
22111 (vera-electric-tab, vera-comment-uncomment-region):
22112 Mark unused parameters.
22113 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22114
7ede3b65
CY
221152011-04-22 Chong Yidong <cyd@stupidchicken.com>
22116
22117 * emacs-lisp/package.el (package--builtins, package-alist)
22118 (package-load-descriptor, package-built-in-p, package-activate)
22119 (define-package, package-installed-p)
22120 (package-compute-transaction, package-buffer-info)
22121 (package--push): Doc fix. Distinguish more clearly between
22122 version strings and version lists.
22123
121656e9
JB
221242011-04-21 Juanma Barranquero <lekktu@gmail.com>
22125
22126 Lexical-binding cleanup.
22127
22128 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22129 (5x5-make-mutate-best):
22130 * play/fortune.el (fortune-in-buffer):
22131 * play/gomoku.el (gomoku-init-display):
22132 * play/solitaire.el (solitaire, solitaire-do-check):
22133 * play/tetris.el (tetris-default-update-speed-function):
22134 Mark unused parameters.
22135
22136 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22137 (bubbles--shift): Remove unused variable `char-org'.
22138 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22139 (bubbles--show-images): Remove unused variable `char'.
22140
22141 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22142 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22143 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22144 (decipher-analyze-buffer): Use ?\s.
22145 (decipher-make-checkpoint): Remove unused variable `mapping'.
22146
22147 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22148
22149 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22150 Remove unused variable `result'; use `let'.
22151
22152 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22153 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22154 (gametree-children-shown-p, gametree-compute-reduced-score):
22155 Use `ignore-errors'.
22156
22157 * play/handwrite.el (ps-lpr-switches): Declare.
22158 (handwrite): Remove unused variables `pmin' and `lastp'.
22159
22160 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22161
22162 * play/landmark.el (landmark-init-display)
22163 (landmark-update-naught-weights): Mark unused parameters.
22164 (landmark-y): Remove unused variable `noise'. Simplify.
22165 (landmark-human-plays): Remove unused variable `score'.
22166
22167 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22168 (mpuz-try-proposal): Remove unused variable `game'.
22169
22170 * play/zone.el (life-patterns): Declare.
22171
80f499c7
JB
221722011-04-20 Juanma Barranquero <lekktu@gmail.com>
22173
22174 * vc/vc.el (ediff-vc-internal): Declare function.
22175
024ff170
SM
221762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22177
c0a193ea
SM
22178 * shell.el: Use lexical-binding and std completion UI.
22179 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22180 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22181 comint-preoutput-filter-functions rather than on
22182 comint-output-filter-functions.
22183 (shell-command-completion, shell--command-completion-data)
22184 (shell-filename-completion, shell-environment-variable-completion)
22185 (shell-c-a-p-replace-by-expanded-directory): New functions.
22186 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22187 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22188 (shell-dynamic-complete-environment-variable): Use them.
22189 (shell-dynamic-complete-as-environment-variable)
22190 (shell-dynamic-complete-as-command): Remove.
22191 (shell-match-partial-variable): Match past point.
22192 * comint.el: Clean up use of completion-at-point-functions.
22193 (comint-completion-at-point): New function.
22194 (comint-mode): Use it completion-at-point-functions.
22195 (comint-dynamic-complete): Make it obsolete.
22196 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22197 (comint-c-a-p-replace-by-expanded-history): New function.
22198 (comint-dynamic-complete-functions)
22199 (comint-replace-by-expanded-history): Use it.
22200 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22201 termination strings. Try harder to avoid second try-completion.
22202 (completion-in-region-mode-map): Disable bindings that don't work yet.
22203
2dbaa080
SM
22204 * comint.el: Use lexical-binding. Require CL.
22205 (comint-dynamic-complete-functions): Use comint-filename-completion.
22206 (comint-completion-addsuffix): Tweak custom type.
22207 (comint-filename-completion, comint--common-suffix)
22208 (comint--common-quoted-suffix, comint--table-subvert)
22209 (comint--complete-file-name-data): New functions.
22210 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22211 (comint-dynamic-list-filename-completions): Use them.
22212 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22213
2dbaa080
SM
22214 * minibuffer.el (completion-in-region-mode):
22215 Keep completion-in-region-mode--predicate global.
22216 (completion-in-region--postch):
22217 Assume completion-in-region-mode--predicate is not null.
22218
c79a6f38
SM
22219 * progmodes/flymake.el (flymake-start-syntax-check-process):
22220 Obey `dir'. Simplify.
22221
024ff170
SM
22222 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22223 we're in VC after all.
22224
1c6c854e
CS
222252011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22226
22227 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22228 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22229 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22230
bed7f140
SM
222312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22232
332e62ab
SM
22233 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22234 add sanity check.
22235
bed7f140
SM
22236 * obsolete/erc-hecomplete.el: Make obsolete.
22237 * obsolete/: Standardize obsolescence info in the header.
22238
f195c582
GM
222392011-04-20 Glenn Morris <rgm@gnu.org>
22240
22241 * calendar/solar.el (solar-horizontal-coordinates):
22242 Use the longitude argument rather than `calendar-longitude'.
22243 (solar-date-next-longitude): Remove unused locals.
22244
cb79b8c0
VJL
222452011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22246
22247 * whitespace.el: New version 13.2.1.
22248
222492011-04-20 felix <EmacsWiki> (tiny change)
22250
d8e4b68b 22251 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22252 switching between major modes on a file.
22253
602ea69d
SM
222542011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22255
22256 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22257 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22258 multi-line comments as well.
22259
06b60517
JB
222602011-04-19 Juanma Barranquero <lekktu@gmail.com>
22261
22262 Lexical-binding cleanup.
22263
22264 * arc-mode.el (archive-mode-revert):
22265 * cmuscheme.el (scheme-interactively-start-process):
22266 * custom.el (custom-initialize-delay):
22267 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22268 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22269 * emacs-lock.el (emacs-lock-clear-sentinel):
22270 * ezimage.el (defezimage):
22271 * follow.el (follow-avoid-tail-recenter):
22272 * fringe.el (set-fringe-mode-1):
22273 * generic-x.el (bat-generic-mode-compile):
22274 * help-mode.el (help-info-variable, help-do-xref)
22275 (help-mode-revert-buffer):
22276 * help.el (view-emacs-todo):
22277 * iswitchb.el (iswitchb-completion-help):
22278 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22279 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22280 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22281 * locate.el (locate-update):
22282 * longlines.el (longlines-encode-region)
22283 (longlines-after-change-function):
22284 * outline.el (outline-isearch-open-invisible):
22285 * ps-def.el (declare-function, charset-dimension, char-width)
22286 (encode-char):
22287 * ps-mule.el (ps-mule-plot-string):
22288 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22289 (recentf-edit-list-select, recentf-edit-list-validate)
22290 (recentf-open-files-action):
22291 * rect.el (delete-whitespace-rectangle-line)
22292 (rectangle-number-line-callback):
22293 * register.el (window-configuration-to-register)
22294 (frame-configuration-to-register):
22295 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22296 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22297 (xselect-convert-to-targets, xselect-convert-to-delete)
22298 (xselect-convert-to-filename, xselect-convert-to-charpos)
22299 (xselect-convert-to-lineno, xselect-convert-to-colno)
22300 (xselect-convert-to-os, xselect-convert-to-host)
22301 (xselect-convert-to-user, xselect-convert-to-class)
22302 (xselect-convert-to-name, xselect-convert-to-integer)
22303 (xselect-convert-to-atom, xselect-convert-to-identity):
22304 * subr.el (declare, ignore, process-kill-without-query)
22305 (text-clone-maintain):
22306 * terminal.el (te-get-char, te-tic-sentinel):
22307 * tool-bar.el (tool-bar-make-keymap):
22308 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22309 * type-break.el (type-break-mode, type-break-noninteractive-query):
22310 * view.el (View-back-to-mark):
22311 * wid-browse.el (widget-browse-action, widget-browse-widget)
22312 (widget-browse-widgets, widget-browse-sexp):
22313 * widget.el (define-widget-keywords):
22314 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22315 Mark unused parameters.
22316
22317 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22318 (align-areas): Remove unused variable `look'.
22319 (align-region): Remove unused variables `real-end' and `pos-list'.
22320
22321 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22322
22323 * bindings.el (mode-line-modified, mode-line-remote):
22324 Mark unused parameters.
22325 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22326
22327 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22328 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22329
22330 * comint.el (comint-history-isearch-pop-state)
22331 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22332 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22333 (comint-substitute-in-file-name): Doc fix.
22334
22335 * completion.el (cmpl-statistics-block): Mark unused parameter.
22336 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22337 (save-completions-to-file, load-completions-from-file):
22338 Remove unused local variable `e'.
22339
22340 * composite.el (compose-chars): Remove unused variable `len'.
22341 (lgstring-insert-glyph): Remove unused variable `g'.
22342 (compose-glyph-string): Remove unused variables `ascent',
22343 `descent', `lbearing' and `rbearing'.
22344 (compose-glyph-string-relative): Remove unused variables
22345 `lbearing', `rbearing' and `wadjust'.
22346 (compose-gstring-for-graphic): Remove unused variables `header',
22347 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22348 (compose-gstring-for-terminal): Remove unused variables `header'
22349 and `nchars'. Use `let', not `let*'.
22350
22351 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22352 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22353 (Custom-buffer-done, custom-buffer-create-internal)
22354 (custom-browse-visibility-action, custom-browse-group-tag-action)
22355 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22356 (widget-magic-mouse-down-action, custom-toggle-parent)
22357 (custom-add-parent-links, custom-toggle-hide-variable)
22358 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22359 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22360 (custom-face-menu-create, custom-variable-menu-create, get)
22361 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22362 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22363 (customize-apropos): Remove unused variable `tests'.
22364 (custom-group-value-create): Remove unused variable `hidden-p'.
22365 (sort-fold-case): Declare.
22366
22367 * cus-theme.el (custom-reset-standard-faces-list)
22368 (custom-reset-standard-variables-list): Declare.
22369 (customize-create-theme, custom-theme-revert, custom-theme-write)
22370 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22371 Mark unused parameters.
22372
22373 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22374
22375 * delim-col.el (delimit-columns-max): Move defvar before first use.
22376
22377 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22378 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22379
22380 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22381 (auto-insert): Declare.
22382 (desktop-restore-file-buffer): Rename desktop-* parameters;
22383 mark unused ones.
22384 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22385 (desktop-buffer): Rename desktop-* parameters.
22386
22387 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22388 (dframe-reposition-frame-xemacs, dframe-help-echo)
22389 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22390 Mark unused parameters.
22391
22392 * dired-aux.el (backup-extract-version-start, overwrite-query)
22393 (overwrite-backup-query, rename-regexp-query)
22394 (rename-non-directory-query): Declare.
22395 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22396 (dired-add-entry): Remove unused variable `orig-file-name'.
22397 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22398 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22399 `dired-copy-preserve-time' directly.
22400 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22401 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22402
22403 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22404 (dired-virtual-revert, dired-make-relative-symlink):
22405 Mark unused parameters.
22406 (manual-program): Declare.
22407 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22408 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22409 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22410
22411 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22412
22413 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22414
22415 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22416 Declare.
22417
22418 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22419
22420 * electric.el (Electric-command-loop): Rename parameter
22421 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22422
22423 * expand.el (expand-in-literal): Remove unused variable `here'.
22424
22425 * facemenu.el (facemenu-add-new-color):
22426 Remove unused variable `docstring'.
22427
22428 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22429 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22430 (face-attr-construct): Mark unused parameter. Doc fix.
22431 (read-color): Remove unused variable `hex-string'.
22432
22433 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22434 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22435 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22436 (display-buffer-other-frame): Remove unused variable `old-window'.
22437 (kill-buffer-hook): Declare.
22438 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22439 Mark unused parameters.
22440 (after-find-file): Pass 1 to `auto-save-mode', not t.
22441
22442 * files-x.el (auto-insert): Declare.
22443 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22444
22445 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22446 variable `buf'. Mark unused parameter.
06b60517
JB
22447 (find-lisp-insert-directory): Mark unused parameter.
22448
22449 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22450 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22451 (format-common-tail): Remove, unused.
22452 (format-deannotate-region): Remove unused variable `loc'.
22453 (format-annotate-region): Remove unused variable `p'.
22454 (format-annotate-single-property-change): Remove unused variables
22455 `default' and `tail'.
22456
22457 * forms.el (read-file-filter): Declare.
22458 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22459
22460 * frame.el (frame-creation-function-alist): Mark unused parameter.
22461 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22462
22463 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22464 Remove unused parameters.
22465 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22466 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22467
22468 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22469 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22470 (hfy-prepare-tag-map): Mark unused parameters.
22471 (htmlfontify-buffer): Use `called-interactively-p'.
22472
22473 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22474 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22475 (ibuffer-do-occur): Mark unused parameters.
22476 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22477 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22478
22479 * ibuffer.el: Don't quote `lambda'.
22480 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22481 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22482 Mark unused parameters.
22483
22484 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22485 (ido-completing-read): Mark unused parameters.
22486 (ido-copy-current-word): Mark unused parameters;
22487 remove unused variable `name'.
22488 (ido-sort-merged-list): Remove unused parameter `dirs'.
22489
22490 * ielm.el (ielm-input-sender): Mark unused parameter.
22491 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22492 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22493 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22494 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22495 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22496
22497 * image-dired.el (image-dired-display-thumbs): Remove unused
22498 variables `curr-file' and `count'.
22499 (image-dired-remove-tag): Remove unused variable `start'.
22500 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22501 variable `curr-file'
22502 (image-dired-rotate-original): Remove unused variable `temp-file'.
22503 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22504 Remove unused variable `file'.
22505 (image-dired-gallery-generate): Remove unused variable `curr'.
22506 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22507
22508 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22509
22510 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22511
22512 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22513
22514 * isearch.el (minibuffer-history-symbol): Declare.
22515 (isearch-edit-string): Remove unused variable `err'.
22516 (isearch-message-prefix, isearch-message-suffix):
22517 Mark unused parameters.
22518
22519 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22520
22521 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22522
22523 * makesum.el (double-column): Remove unused variable `cnt'.
22524
22525 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22526 (ido-ignore-item-temp-list): Declare.
22527
22528 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22529 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22530 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22531 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22532 `mouse-col-delta'.
22533
22534 * mouse-sel.el (mouse-extend-internal):
22535 Remove unused variable `orig-window-frame'.
22536
22537 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22538 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22539 Move declarations before first use.
22540 (pcomplete-opt): Mark unused parameters; doc fix.
22541
22542 * proced.el (proced-revert): Mark unused parameter.
22543 (proced-send-signal): Remove unused variable `err'.
22544
22545 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22546 Rename parameter PREFIX-ARG to ARG.
22547 (ps-basic-plot-string, ps-basic-plot-whitespace):
22548 Mark unused parameters.
22549
22550 * replace.el (replace-count): Define.
22551 (occur-revert-function): Mark unused parameters.
22552 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22553 (isearch-case-fold-search, isearch-string): Declare.
22554 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22555 bind `case-fold-search'. Remove unused variables `beg' and `end',
22556 and simplify.
22557 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22558 COUNT and bind `replace-count'.
22559 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22560 to COUNT.
22561
22562 * savehist.el (print-readably, print-string-length): Declare.
22563
22564 * shadowfile.el (shadow-expand-cluster-in-file-name):
22565 Remove unused variable `cluster'.
22566 (shadow-copy-file): Remove unused variable `i'.
22567 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22568 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22569 (shadow-define-literal-group, shadow-define-regexp-group)
22570 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22571
22572 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22573 (shell): Use `called-interactively-p'.
22574 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22575
22576 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22577 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22578 (delete-backward-char): Remove unused variable `ocol'.
22579 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22580 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22581 (event-apply-hyper-modifier, event-apply-shift-modifier)
22582 (event-apply-control-modifier, event-apply-meta-modifier):
22583 Mark unused parameters.
22584 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22585 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22586
22587 * speedbar.el (speedbar-ignored-directory-expressions)
22588 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22589 (speedbar-find-file, speedbar-dir-follow)
22590 (speedbar-directory-buttons-follow, speedbar-tag-find)
22591 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22592 (speedbar-buffers-line-directory, speedbar-buffer-click):
22593 Mark unused parameters.
22594 (speedbar-tag-file): Remove unused variable `mode'.
22595 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22596
22597 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22598
22599 * talk.el (talk): Remove unused variable `display'.
22600
22601 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22602 (tar-write-region-annotate): Mark unused parameter.
22603
22604 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22605 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22606 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22607 warning by another.
22608
22609 * time-stamp.el (time-stamp-string-preprocess):
22610 Remove unused variable `require-padding'.
22611
22612 * tree-widget.el (widget-glyph-enable): Declare.
22613 (tree-widget-action): Mark unused parameter.
22614
22615 * w32-fns.el (x-get-selection): Mark unused parameter.
22616 (autoload-make-program, generated-autoload-file): Declare.
22617
22618 * wdired.el (wdired-revert): Mark unused parameters.
22619 (wdired-xcase-word): Remove unused variable `err'.
22620
22621 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22622 (whitespace-help-scroll): Remove unused variable `data-help'.
22623
22624 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22625 (widget-image-insert, widget-after-change, default)
22626 (widget-default-format-handler, widget-default-notify)
22627 (widget-default-prompt-value, widget-info-link-action)
22628 (widget-url-link-action, widget-function-link-action)
22629 (widget-variable-link-action, widget-file-link-action)
22630 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22631 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22632 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22633 (widget-insert-button-action, widget-delete-button-action, visibility)
22634 (widget-documentation-link-action, widget-documentation-string-action)
22635 (widget-const-prompt-value, widget-regexp-match, symbol)
22636 (widget-coding-system-prompt-value)
22637 (widget-key-sequence-value-to-external, sexp)
22638 (widget-sexp-value-to-internal, character, vector, cons)
22639 (widget-choice-prompt-value, widget-boolean-prompt-value)
22640 (widget-color--choose-action): Mark unused parameters.
22641 (widget-item-match-inline, widget-choice-match-inline)
22642 (widget-checklist-match, widget-checklist-match-inline)
22643 (widget-group-match): Rename parameter VALUES to VALS.
22644 (widget-field-value-set): Remove unused variable `size'.
22645 (widget-color-action): Remove unused variables `value' and `start'.
22646
22647 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22648 variable `dir'. Doc fix.
06b60517
JB
22649 (windmove-find-other-window): Don't pass it.
22650
22651 * window.el (count-windows): Mark unused parameter.
22652 (bw-adjust-window): Remove unused variable `err'.
22653
22654 * woman.el (woman-file-name): Remove unused variable `default'.
22655 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22656 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22657 (global-font-lock-mode): Declare.
22658 (woman-decode-region): Mark unused parameter.
22659 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22660
22661 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22662 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22663 (x-dnd-handle-moz-url): Remove unused variable `title'.
22664 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22665
22666 * xml.el (xml-parse-tag, xml-parse-attlist):
22667 Remove unused variable `pos'.
22668
bc4f7f3d
GM
226692011-04-19 Glenn Morris <rgm@gnu.org>
22670
22671 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22672 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22673 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22674 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22675 * calendar/cal-html.el (cal-html-insert-minical):
22676 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22677 (calendar-mark-date-pattern):
22678 Prefix "unused" locals.
22679
22680 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22681 optional argument `style'.
22682
22683 * calendar/appt.el (appt-make-list):
22684 * calendar/cal-china.el (calendar-chinese-date-string):
22685 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22686 (diary-hebrew-yahrzeit):
22687 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22688 * calendar/calendar.el (calendar-generate-window):
22689 * calendar/time-date.el (time-to-days):
22690 Remove unused local variables.
22691
16a43933
CY
226922011-04-18 Chong Yidong <cyd@stupidchicken.com>
22693
22694 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22695 glyphless-char-display table.
22696 (tabulated-list-glyphless-char-display): New var.
22697
7eed1860
SS
226982011-04-18 Sam Steingold <sds@gnu.org>
22699
22700 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22701 to acknowledgments.
22702
4d2d1ccd
GM
227032011-04-17 Glenn Morris <rgm@gnu.org>
22704
22705 * calendar/diary-lib.el (diary-sexp-entry):
22706 * calendar/holidays.el (holiday-sexp):
22707 Set debug-on-error rather than the removed stack-trace-on-error.
22708
239da61d
GM
227092011-04-16 Glenn Morris <rgm@gnu.org>
22710
22711 * progmodes/f90.el: Use lexical-binding.
22712 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22713
8b05752a
SM
227142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22715
daca8ba5
SM
22716 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22717 (mail-mode): Setup mailalias completion here instead.
22718 * mail/mailalias.el: Use lexical-binding.
22719 (pattern, mailalias-done): Declare dynamic.
22720 (mail-completion-at-point-function): New function, from mail-complete.
22721 (mail-complete): Use it.
22722 (mail-completion-expand): New function.
22723 (mail-get-names): Use it.
22724 (mail-directory, mail-directory-process, mail-directory-stream):
22725 Don't use `pattern' for lexically bound arg.
22726
6f542485
SM
22727 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22728
037e7c3f
SM
22729 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22730 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22731 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22732
8b05752a
SM
22733 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22734 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22735 (byte-interactive-p): Define them again, for use when inlining
22736 old code.
22737
49093f60
JB
227382011-04-15 Juanma Barranquero <lekktu@gmail.com>
22739
22740 * loadup.el: Use `string-to-number', not `string-to-int'.
22741
b5b8e7de
SM
227422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22743
22744 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22745 gud-gdb-complete-command.
22746 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22747 (gud-gdb-completion-at-point): New function.
22748 (gud-gdb-completions): Remove.
22749
f42efeb5
MA
227502011-04-14 Michael Albinus <michael.albinus@gmx.de>
22751
49093f60
JB
22752 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22753 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22754 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22755 whether `executable-find' is bound.
f42efeb5
MA
22756
22757 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22758
e240cc21
SM
227592011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22760
22761 * minibuffer.el (completion-in-region-mode-predicate)
22762 (completion-in-region-mode--predicate): New vars.
22763 (completion-in-region, completion-in-region--postch)
22764 (completion-in-region-mode): Use them.
22765 (completion--capf-wrapper): Also return the hook function.
22766 (completion-at-point, completion-help-at-point):
22767 Adjust and provide a predicate.
c2bd2ab0
SM
22768
22769 Preserve arg names for advice of subr and lexical functions (bug#8457).
22770 * help-fns.el (help-function-arglist): Consolidate the subr and
22771 new-byte-code cases. Add argument `preserve-names' to extract names
22772 from the docstring when needed.
22773 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22774 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22775 (ad-arglist): Use help-function-arglist's new arg.
22776 (ad-definition-type): Use cond.
22777
c183f693
JB
227782011-04-13 Juanma Barranquero <lekktu@gmail.com>
22779
06641a47
JB
22780 * autorevert.el (auto-revert-handler):
22781 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22782 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22783 Don't quote lambda.
22784
c183f693
JB
22785 * image-mode.el (image-transform-set-scale):
22786 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22787
1e3b6001
G
227882011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22789
22790 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22791 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22792 Upgrades via gnutls-cli are too slow to be done opportunistically.
22793
2d6af8dd
JB
227942011-04-12 Juanma Barranquero <lekktu@gmail.com>
22795
22796 * dframe.el (dframe-current-frame): Remove spurious quote.
22797
c0749a51
GM
227982011-04-12 Glenn Morris <rgm@gnu.org>
22799
088d0d61
GM
22800 * calendar/cal-tex.el (cal-tex-end-document):
22801 Try to automatically use latin1 input if needed.
22802
c0749a51
GM
22803 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22804 Don't try to cons a mark onto an empty element.
22805
5c90fde0
LL
228062011-04-11 Leo Liu <sdl.web@gmail.com>
22807
22808 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22809 buffers.
22810 (ido-kill-buffer-at-head): Support killing virtual buffers.
22811
369e974d
CY
228122011-04-10 Chong Yidong <cyd@stupidchicken.com>
22813
22814 * minibuffer.el (completion-show-inline-help): New var.
22815 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22816 (minibuffer-force-complete, minibuffer-complete-word):
22817 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22818
22819 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22820 to avoid interference from inline help (Bug#5849).
22821
37f1c930
LL
228222011-04-10 Leo Liu <sdl.web@gmail.com>
22823
099c39a4
JB
22824 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22825 Fix typo.
37f1c930 22826
a32d4040
CY
228272011-04-09 Chong Yidong <cyd@stupidchicken.com>
22828
22829 * image-mode.el (image-toggle-display-image): Signal an error if
22830 not in Image mode.
22831 (image-transform-mode, image-transform-resize)
22832 (image-transform-set-rotation): Doc fix.
daca8ba5 22833 (image-transform-set-resize): Delete.
a32d4040
CY
22834 (image-transform-set-scale, image-transform-fit-to-height)
22835 (image-transform-fit-to-width): Handle image-toggle-display-image
22836 and image-transform-resize directly.
22837
099c39a4 228382011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22839
22840 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22841 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22842 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22843 (doc-view-mode-map): Add bindings for the new functions.
22844
099c39a4 228452011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22846
4d61f28d 22847 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22848 Fix typo in docstring.
22849
3726838a
EZ
228502011-04-08 Eli Zaretskii <eliz@gnu.org>
22851
04f33f1e
EZ
22852 * files.el (file-size-human-readable): Produce one digit after
22853 decimal, like "ls -lh" does.
22854
22855 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22856 the file size representation.
22857
3726838a
EZ
22858 * simple.el (list-processes): If async subprocesses are not
22859 available, error out with a clear error message.
22860
cbb59342
CY
228612011-04-08 Chong Yidong <cyd@stupidchicken.com>
22862
22863 * help.el (help-form-show): New function, to be called from C.
22864 Put help-form output in a buffer named differently than *Help*.
22865
e3971c44
EZ
228662011-04-08 Eli Zaretskii <eliz@gnu.org>
22867
22868 * files.el (file-size-human-readable): New function.
22869
22870 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22871 computing the representation inline. Don't require `cl'.
22872
12544bbe
GM
228732011-04-08 Glenn Morris <rgm@gnu.org>
22874
a1de6c6a
GM
22875 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22876
3c4671f4
GM
22877 * net/browse-url.el (browse-url-firefox):
22878 Test system-type, not system-configuration.
22879
b605679c
GM
22880 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22881 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22882 Use log-edit-empty-buffer-p. (Bug#7598)
22883
56442f0c
GM
22884 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22885 (rlogin-mode-map): Initialize in the defvar.
22886 (rlogin): Use ignore-errors.
22887
12544bbe
GM
22888 * replace.el (occur-mode-map): Some fixes for menu items.
22889
eb237b0f
AH
228902011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22891
22892 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22893
7d668f2c
CY
228942011-04-06 Chong Yidong <cyd@stupidchicken.com>
22895
e67a13ab
CY
22896 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22897 issuing unused warnings.
22898
22899 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22900 macro directly.
22901
7d668f2c
CY
22902 * simple.el: Lisp reimplement of list-processes. Based on an
22903 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22904 (process-menu-mode): New major mode.
22905 (list-processes--refresh, list-processes):
22906 (process-menu-visit-buffer): New functions.
22907
22908 * files.el (save-buffers-kill-emacs): Don't assume any return
22909 value of list-processes, which is undocumented anyway.
22910
a83ec3c9
CY
229112011-04-06 Chong Yidong <cyd@stupidchicken.com>
22912
22913 * emacs-lisp/tabulated-list.el: New file.
22914
e91a96fe
CY
22915 * emacs-lisp/package.el: Use Tabulated List mode.
22916 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22917 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22918 table format using Tabulated List mode variables.
22919 (package--push): New macro, replacing package-list-maybe-add.
22920 (package-menu--generate): Use package--push. Renamed from
22921 package--generate-package-list.
22922 (package-menu-refresh, list-packages): Use it.
daca8ba5 22923 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22924 Return insertion data instead of inserting it directly.
099c39a4
JB
22925 (package-menu-describe-package, package-menu-execute):
22926 Use tabulated-list-get-id.
e91a96fe
CY
22927 (package-menu-mark-delete, package-menu-mark-install)
22928 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22929 (package-menu-mark-obsolete-for-deletion):
22930 Use tabulated-list-put-tag.
e91a96fe
CY
22931 (package--list-packages, package-menu-revert)
22932 (package-menu-get-package, package-menu-get-version)
22933 (package-menu-sort-by-column): Functions deleted.
22934 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22935 (package-menu--status-predicate, package-menu--version-predicate)
22936 (package-menu--name-predicate)
22937 (package-menu--description-predicate): Handle arguments in the
22938 Tabulated List format.
22939 (package-list-packages-no-fetch): Call list-packages.
22940
3e214b50
JB
229412011-04-06 Juanma Barranquero <lekktu@gmail.com>
22942
22943 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22944 (after-find-file): Don't bind it.
3e214b50
JB
22945 (revert-buffer-in-progress-p): New variable.
22946 (revert-buffer): Bind it.
22947 Pass nil for `after-find-file-from-revert-buffer'.
22948
22949 * saveplace.el (save-place-find-file-hook): Use new variable
22950 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22951
3f0f1700
GM
229522011-04-06 Glenn Morris <rgm@gnu.org>
22953
c0274801
GM
22954 * Makefile.in (AUTOGEN_VCS): New variable.
22955 (autoloads): Use $AUTOGEN_VCS.
22956
3f0f1700
GM
22957 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22958 * calendar/calendar.el (calendar-mode-map):
22959 Check for toolkit scroll bars. (Bug#8305)
22960
41ea9e48
CY
229612011-04-05 Chong Yidong <cyd@stupidchicken.com>
22962
22963 * minibuffer.el (completion-in-region--postch)
22964 (completion-in-region-mode): Remove unnecessary messages.
22965
6194c800
JB
229662011-04-05 Juanma Barranquero <lekktu@gmail.com>
22967
33256f14
JB
22968 * font-lock.el (font-lock-refresh-defaults):
22969 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22970 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22971
6194c800
JB
22972 * info.el (Info-directory-list, Info-read-node-name-2)
22973 (Info-split-parameter-string): Doc fixes.
22974 (Info-virtual-nodes): Reflow docstring.
22975 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22976 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22977 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22978 Fix typos in docstrings.
22979 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22980 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22981 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22982 (Info-restore-desktop-buffer): Mark unused parameters.
22983 (Info-directory-find-file, Info-directory-find-node)
22984 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22985 (Info-virtual-index-find-node, Info-apropos-find-file)
22986 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22987 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22988 (Info-virtual-index): Remove unused local variable `nodename'.
22989
b87a8200 229902011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22991
b87a8200
DD
22992 * net/rcirc.el: Update my e-mail address.
22993 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22994
3b2ff876
CY
229952011-04-05 Chong Yidong <cyd@stupidchicken.com>
22996
22997 * startup.el (command-line): Save the cursor's theme-face
22998 directly, instead of using face-override-spec.
22999
23000 * custom.el (load-theme): Minor optimization in assigning faces.
23001
8d17e7ca
JB
230022011-04-04 Juanma Barranquero <lekktu@gmail.com>
23003
23004 * help-fns.el (describe-variable): Complete all variables having
23005 documentation, including keywords.
23006 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23007
2fbc1934
JB
230082011-04-04 Juanma Barranquero <lekktu@gmail.com>
23009
23010 Convert to lexical-binding.
23011
23012 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23013 (bs--get-marked-string, bs--get-modified-string)
23014 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23015 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23016 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23017
23018 * ehelp.el (electric-help-execute-extended)
23019 (electric-help-ctrl-x-prefix):
23020 * hexl.el (hexl-revert-buffer-function):
23021 * linum.el (linum-after-change, linum-after-scroll):
23022 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23023
23024 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23025
74f50695
DU
230262011-04-04 Daiki Ueno <ueno@unixuser.org>
23027
23028 * epa-dired.el:
23029 * epa-mail.el:
23030 * epa-hook.el:
23031 * epa-file.el:
23032 * epa.el:
23033 * epg.el: Use lexical binding.
23034
c11325f7
CY
230352011-04-03 Chong Yidong <cyd@stupidchicken.com>
23036
0d9e9a12
CY
23037 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23038
c11325f7 23039 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23040 dictionary case for flyspell-mark-duplications-exceptions.
23041 Use regexp matching for languages.
c11325f7
CY
23042 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23043 default dictionary (Bug#7926).
23044
da91b5f2
CY
230452011-04-02 Chong Yidong <cyd@stupidchicken.com>
23046
099c39a4
JB
23047 * emacs-lisp/package.el (package--with-work-buffer):
23048 Recognize https URLs.
da91b5f2 23049
099c39a4
JB
23050 * net/network-stream.el: Move from gnus/proto-stream.el.
23051 Change prefix to network-stream throughout.
da91b5f2
CY
23052 (open-protocol-stream): Merge into open-network-stream, leaving
23053 open-protocol-stream as an alias. Handle nil BUFFER args.
23054
23055 * subr.el (open-network-stream): Move to net/network-stream.el.
23056
afa8e9f6
GM
230572011-04-02 Glenn Morris <rgm@gnu.org>
23058
1d2e369d
GM
23059 * find-dired.el (find-exec-terminator): New option.
23060 (find-ls-option): Test for -ls support.
23061 (find-ls-subdir-switches): Test for -b in find-ls-option.
23062 (find-dired, find-grep-dired): Doc fixes.
23063 (find-dired): Use find-exec-terminator.
23064
8abb7da8 23065 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23066 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23067 (find-name-arg): Remove purecopy.
8abb7da8 23068
f3ca7378
GM
23069 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23070 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23071 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23072 accordingly. Don't add the null-device if not needed.
23073
afa8e9f6
GM
23074 * files.el (save-some-buffers): Doc fix.
23075
35eae264
EZ
230762011-04-02 Eli Zaretskii <eliz@gnu.org>
23077
23078 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23079
26b51db5
JB
230802011-04-01 Juanma Barranquero <lekktu@gmail.com>
23081
23082 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23083 Use `dolist' rather than `mapcar'.
23084
7200d79c
SM
230852011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23086
03408648 23087 Add lexical binding.
7200d79c 23088
03408648
SM
23089 * subr.el (apply-partially): Use new closures rather than CL.
23090 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23091 (dolist, dotimes): Use slightly different expansion for lexical code.
23092 (functionp): Move to C.
23093 (letrec): New macro.
23094 (with-wrapper-hook): Use it and apply-partially instead of CL.
23095 (eval-after-load): Preserve lexical-binding.
23096 (save-window-excursion, with-output-to-temp-buffer): Turn them
23097 into macros.
7200d79c 23098
03408648
SM
23099 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23100
23101 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23102 than the arglist.
23103 (help-add-fundoc-usage): Don't add `Not documented'.
23104 (help-function-arglist): Handle closures, subroutines, and new
23105 byte-code-functions.
23106 (help-make-usage): Remove leading underscores.
23107 (describe-function-1): Handle closures.
23108 (describe-variable): Use special-variable-p for completion.
23109
23110 * files.el (lexical-binding): Declare safe.
f488fb65 23111
03408648
SM
23112 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23113 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23114 (pcase): Add `let' pattern.
23115 Change memoization so it actually works.
23116 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23117 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23118 <let>: New case.
f488fb65 23119
03408648
SM
23120 * emacs-lisp/macroexp.el: Use lexical binding.
23121 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23122 Don't convert ' to #' without checking that it's indeed quoting
23123 a lambda.
23124
23125 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23126 Use eval-sexp-add-defvars.
03408648
SM
23127 (eval-sexp-add-defvars): New fun.
23128
23129 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23130
23131 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23132 Don't autoload.
23133 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23134 than the internal `byte-compile-lambda'.
23135 (defmethod): Don't hide code under quotes.
23136 (eieio-defmethod): New `code' argument.
23137
23138 * emacs-lisp/eieio-comp.el: Remove.
23139
23140 * emacs-lisp/edebug.el (edebug-eval-defun)
23141 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23142 (edebug-toggle): Avoid `eval'.
23143
23144 * emacs-lisp/disass.el (disassemble-internal): Handle new
23145 `closure' objects.
23146 (disassemble-1): Handle new byte codes.
23147
23148 * emacs-lisp/cl.el (pushnew): Silence warning.
23149
23150 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23151 (cl-byte-compile-throw): Remove.
23152 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23153
23154 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23155 closures.
23156
23157 * emacs-lisp/cconv.el: New file.
23158
23159 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23160 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23161 (byte-compile-initial-macro-environment):
23162 Handle declare-function here.
23163 (byte-compile--lexical-environment): New var.
23164 (byte-stack-ref, byte-stack-set, byte-discardN)
23165 (byte-discardN-preserve-tos): New lap codes.
23166 (byte-interactive-p): Don't use any more.
23167 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23168 New macros.
23169 (byte-compile-lapcode): Use them and handle new lap codes.
23170 (byte-compile-obsolete): Remove.
23171 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23172 (byte-compile-arglist-warn): Check late def of inlinable funs.
23173 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23174 since they should have been expanded by now.
23175 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23176 (byte-compile-from-buffer): Remove unused second arg.
23177 (byte-compile-preprocess): New function.
23178 (byte-compile-toplevel-file-form): New function to distinguish
23179 file-form calls from outside from file-form calls from hunk-handlers.
23180 (byte-compile-file-form): Simplify.
23181 (byte-compile-file-form-defsubst): Remove.
23182 (byte-compile-file-form-defmumble): Simplify now that
23183 byte-compile-lambda always returns a byte-code-function.
23184 (byte-compile): Preprocess.
23185 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23186 Remove, not used any more.
23187 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23188 (byte-compile-make-args-desc): New funs.
23189 (byte-compile-lambda): Handle lexical functions. Always return
23190 a byte-code-function.
23191 (byte-compile-reserved-constants): New var, to make up room for
23192 closed-over variables.
23193 (byte-compile-constants-vector): Obey it.
23194 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23195 (byte-compile-macroexpand-declare-function): New function.
23196 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23197 byte-code-functions.
23198 (byte-compile-form): Check obsolescence here.
23199 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23200 (byte-compile-variable-ref): Remove.
23201 (byte-compile-dynamic-variable-op): New fun.
23202 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23203 (byte-compile-variable-set): New funs.
23204 (byte-compile-discard): Add 2 args.
23205 (byte-compile-stack-ref, byte-compile-stack-set)
23206 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23207 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23208 macroexpand-all instead.
23209 (byte-compile-quote-form): Remove.
23210 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23211 (byte-compile-bind, byte-compile-unbind): New funs.
23212 (byte-compile-let): Handle let* and lexical binding.
23213 (byte-compile-let*): Remove.
23214 (byte-compile-catch, byte-compile-unwind-protect)
23215 (byte-compile-track-mouse, byte-compile-condition-case):
23216 Handle a new :fun-body form, used for lexical scoping.
23217 (byte-compile-save-window-excursion)
23218 (byte-compile-with-output-to-temp-buffer): Remove.
23219 (byte-compile-defun): Simplify.
23220 (byte-compile-stack-adjustment): New fun.
23221 (byte-compile-out): Use it.
23222 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23223
23224 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23225 handler any more.
23226
23227 * emacs-lisp/byte-opt.el: Use lexical binding.
23228 (byte-inline-lapcode): Remove (to bytecomp).
23229 (byte-compile-inline-expand): Pay attention to inlining to/from
23230 lexically bound code.
23231 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23232 any more.
23233 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23234 any more and don't call compiler-macros.
23235 (byte-compile-splice-in-already-compiled-code): Remove.
23236 (byte-code): Don't inline any more.
23237 (disassemble-offset): Receive `bytes' as argument rather than via
23238 dynamic scoping.
23239 (byte-compile-tag-number): Declare before first use.
23240 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23241 `return' even if make-spliceable.
23242 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23243 obsolete interactive-p.
23244 (byte-optimize-lapcode): Optimize new lap-codes.
23245 Don't trip up on new form of `byte-constant' lap code.
23246
23247 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23248
23249 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23250
23251 * custom.el (custom-initialize-default, custom-declare-variable):
23252 Use `defvar'.
23253
23254 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23255 New variables.
23256 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23257 (COMPILE_FIRST): Add macroexp and cconv.
23258 * makefile.w32-in: Mirror changes in Makefile.in.
23259
23260 * vc/cvs-status.el:
23261 * vc/diff-mode.el:
23262 * vc/log-edit.el:
23263 * vc/log-view.el:
23264 * vc/smerge-mode.el:
23265 * textmodes/bibtex-style.el:
090bd7cb 23266 * textmodes/css-mode.el:
03408648
SM
23267 * startup.el:
23268 * uniquify.el:
da91b5f2
CY
23269 * minibuffer.el:
23270 * newcomment.el:
23271 * reveal.el:
23272 * server.el:
23273 * mpc.el:
23274 * emacs-lisp/smie.el:
23275 * doc-view.el:
23276 * dired.el:
03408648
SM
23277 * abbrev.el: Use lexical binding.
23278
0f0c1f27
EZ
232792011-04-01 Eli Zaretskii <eliz@gnu.org>
23280
23281 * info.el (info-display-manual): New function.
23282
c82b2579
SM
232832011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23284
23285 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23286
221ddf68
TH
232872011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23288
23289 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23290 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23291
cba6e77e
GM
232922011-03-31 Glenn Morris <rgm@gnu.org>
23293
e040639f
GM
23294 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23295
cba6e77e
GM
23296 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23297
6d0f1c9e
CS
232982011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23299
23300 * progmodes/python.el (python-default-interpreter)
23301 (python-python-command-args, python-jython-command-args)
23302 (python-which-shell, python-which-args, python-which-bufname)
23303 (python-file-queue, python-comint-output-filter-function)
23304 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23305 variables and functions.
23306
3e2d70fd
SM
233072011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23308
23309 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23310 (completion-in-region-mode): New minor mode.
23311 (completion-in-region): Use it.
23312 (completion-in-region--data, completion-in-region-mode-map): New vars.
23313 (completion-in-region--postch): New function.
23314 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23315 New vars.
23316 (completion--capf-wrapper): New function.
23317 (completion-at-point): Use it to track well-behavedness of
23318 hook functions.
23319 (completion-help-at-point): New command.
23320
f3e4086c
JM
233212011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23322
23323 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23324 syntax class to search for whitespace on a single line
23325 (Message-ID: <4D938140.4030905@redhat.com>).
23326
eb7ffc14
LL
233272011-03-30 Leo Liu <sdl.web@gmail.com>
23328
23329 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23330 New commands.
23331 (edit-abbrevs-map): Bind them here.
23332 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23333
d806ab68
KM
233342011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23335
23336 * allout.el (allout-hide-by-annotation, allout-flag-region):
23337 Reduce possibility of overlay leakage by making them volatile.
23338
23339 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23340 hash is not shared between buffers. Mode initialization is
23341 responsible for giving it a useful starting value.
23342 (allout-item-span): Reduce possibility of overlay leakage by
23343 making them volatile.
23344 (allout-widgets-count-buttons-in-region): Add diagnostic function
23345 for tracking down button overlay leaks.
23346
ea622834
LL
233472011-03-29 Leo Liu <sdl.web@gmail.com>
23348
23349 * ido.el (ido-read-internal): Use the default history var
23350 minibuffer-history if no HISTORY is specified.
23351
b62f8267
G
233522011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23353
03408648
SM
23354 * net/imap.el (imap-shell-open, imap-process-connection-type):
23355 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23356 Kerberos, SSL, other subprocesses.
23357
947b6566
LL
233582011-03-28 Leo Liu <sdl.web@gmail.com>
23359
23360 * abbrev.el (abbrev-table-empty-p): New function.
23361 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23362 nonempty ones. (Bug#5937)
23363
5ffb62aa
JD
233642011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23365
23366 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23367
7a097943
LL
233682011-03-27 Leo Liu <sdl.web@gmail.com>
23369
23370 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23371 for foreground and background colors.
23372 (ansi-color-make-color-map): Adapt.
23373
c5b40130
LL
233742011-03-25 Leo Liu <sdl.web@gmail.com>
23375
1f48f7d2
LL
23376 * midnight.el (midnight-time-float): Remove. Note it calculates
23377 the microsecond component incorrectly and seconds-to-time does the
23378 same job.
625897ec 23379 Remove redundant (require 'timer).
1f48f7d2 23380
c5b40130
LL
23381 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23382 (ido-completions): Remove unused arguments. (Bug#8329)
23383
d86d2721
SM
233842011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23385
23386 * minibuffer.el (completion--flush-all-sorted-completions):
23387 Remove itself from hook.
23388 (completion-at-point): Let the functions perform the completion
23389 immediately and return nil or t.
23390 * comint.el (comint-dynamic-complete-functions): Now identical to
23391 completion-at-point-functions.
23392 (comint-dynamic-list-input-ring): Remove unused var `index'.
23393 (comint--match-partial-filename, comint--unquote&expand-filename):
23394 New funs, split from comint-match-partial-filename.
23395 (comint-dynamic-complete): Use completion-at-point.
23396 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23397
e8974c48
DA
233982011-03-24 Drew Adams <drew.adams@oracle.com>
23399
23400 * thingatpt.el: Support `defun'.
23401
def71b5e
LL
234022011-03-23 Leo Liu <sdl.web@gmail.com>
23403
cb5af48e
LL
23404 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23405
def71b5e
LL
23406 * help-mode.el (help-mode-finish): Tweak regexp.
23407
927c53e7
GM
234082011-03-23 Glenn Morris <rgm@gnu.org>
23409
18d05bed
GM
23410 * eshell/esh-opt.el (eshell-eval-using-options):
23411 Do not bind unused local variable `eshell-option-stub'.
23412
927c53e7
GM
23413 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23414
9d0da923
JB
234152011-03-22 Juanma Barranquero <lekktu@gmail.com>
23416
23417 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23418 keymap variable in `with-no-warnings' to avoid a warning when the
23419 keymap has been already `defconst'ed.
23420
4b978a67
LL
234212011-03-22 Leo Liu <sdl.web@gmail.com>
23422
23423 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23424 encode all chars in abbrevs; otherwise use emacs-mule or
23425 utf-8-emacs. (Bug#8308)
23426
5fd62452
JB
234272011-03-22 Juanma Barranquero <lekktu@gmail.com>
23428
0b1596c6
JB
23429 * simple.el (backward-delete-char-untabify):
23430 Avoid warning about using `delete-backward-char'.
23431
5fd62452
JB
23432 * image.el (image-type-file-name-regexps): Make it variable.
23433 `imagemagick-register-types' modifies it, and the user may want
23434 to add new extensions for known image types.
23435 (imagemagick-register-types): Throw error if not using ImageMagick.
23436
0b4e93f1
LL
234372011-03-22 Leo Liu <sdl.web@gmail.com>
23438
23439 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23440 located before rcirc-prompt-end-marker.
23441 (rcirc-complete): Error if point is not after rcirc prompt.
23442 Handle the case when table is nil.
9882e214 23443 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23444
fccee4ab
CY
234452011-03-22 Chong Yidong <cyd@stupidchicken.com>
23446
23447 * custom.el (custom--inhibit-theme-enable): Make it affect only
23448 custom-theme-set-variables and custom-theme-set-faces.
23449 (provide-theme): Ignore custom--inhibit-theme-enable.
23450 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23451 (custom-enabling-themes): Delete variable.
d86d2721
SM
23452 (enable-theme): Accept only loaded themes as arguments.
23453 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23454 (custom-enabled-themes): Forbid themes from setting this.
23455 Eliminate use of custom-enabling-themes.
23456 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23457
af896da6
LL
234582011-03-21 Leo Liu <sdl.web@gmail.com>
23459
23460 * ido.el (ido-read-internal): Add ido-selected to history instead
23461 of user input.
23462
78f64af0
SM
234632011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23464
23465 * subr.el (deferred-action-list, deferred-action-function):
23466 Mark obsolete.
23467
b16ac1ec
LL
234682011-03-21 Leo Liu <sdl.web@gmail.com>
23469
810f7698
LL
23470 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23471 change on 2011-02-13 (bug#8309).
23472
b16ac1ec
LL
23473 * minibuffer.el (read-file-name-function): Change default value.
23474 (read-file-name--defaults): Rename from read-file-name-defaults.
23475 (read-file-name-default): Rename from read-file-name.
23476 (read-file-name): Call read-file-name-function.
23477
4e05e67e
GM
234782011-03-21 Glenn Morris <rgm@gnu.org>
23479
23480 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23481 Doc fixes.
23482
4359915b
CY
234832011-03-21 Chong Yidong <cyd@stupidchicken.com>
23484
23485 * cus-theme.el: Add missing provide statement.
23486 (customize-create-theme): Extract theme value correctly.
23487 (custom-theme-visit-theme): Autoload.
23488 (customize-create-theme): Prompt before inserting default faces.
23489
1fe275ee
JB
234902011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23491
23492 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23493 units and musical notes.
23494
cd394be1 234952011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23496
23497 * ido.el (ido-read-internal): Use completing-read-default.
23498 (ido-completing-read): Fix compatibility with completing-read.
23499
7d476bde
CO
235002011-03-20 Christian Ohler <ohler@gnu.org>
23501
23502 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23503 (ert-delete-all-tests): Use `called-interactively-p' rather than
23504 `interactive-p'.
23505 (ert--make-xrefs-region): Respect END.
23506
fe0fb33e
CY
235072011-03-19 Chong Yidong <cyd@stupidchicken.com>
23508
ff854b0b
CY
23509 * dired-aux.el (dired-create-directory): Signal an error if the
23510 directory already exists (Bug#8246).
23511
fe0fb33e
CY
23512 * facemenu.el (list-colors-display): Call list-faces-display
23513 inside with-help-window.
23514 (list-colors-print): Use display property to align the final
23515 column, instead of checking window-width.
23516
576bce32
EZ
235172011-03-19 Eli Zaretskii <eliz@gnu.org>
23518
4d61f28d 23519 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23520 windows-nt systems.
23521 (emerge-protect-metachars): Quote correctly for ms-dos and
23522 windows-nt systems.
23523
89c41d68 235242011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23525
23526 * info.el (info-initialize): Replace all uses of `:' with
23527 path-separator for compatibility with non-Unix systems.
23528 Cache quoting of path-separator. (Bug#8258)
23529
b14e3e21 235302011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23531
23532 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23533 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23534 (mouse-avoidance-mode): Fix typos in docstrings.
23535
4525ce3e
CY
235362011-03-19 Chong Yidong <cyd@stupidchicken.com>
23537
23538 * startup.el (package-subdirectory-regexp): Move from package.el.
23539 Omit \\` and \\', and let callers add them.
23540
23541 * emacs-lisp/package.el (package-strip-version)
23542 (package-load-all-descriptors): Add \\` and \\' to
23543 package-subdirectory-regexp before using it.
23544 (package-untar-buffer): New arg DIR; ensure that file untars only
23545 into this expected directory. Remove superfluous delete-region.
23546 (package-unpack): Caller changed.
23547 (package-tar-file-info): Use package-subdirectory-regexp.
23548
a904a09a 235492011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23550
a904a09a
SM
23551 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23552 diff-mode-shared-map (bug#8284).
23553 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23554
235552011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23556
23557 * calendar/time-date.el (format-seconds): Use assoc instead of
23558 assoc-string, since assoc-string doesn't exist in XEmacs.
23559
171fc304
JB
235602011-03-17 Juanma Barranquero <lekktu@gmail.com>
23561
23562 * custom.el (custom-known-themes): Reflow docstring.
23563 (custom-theme-load-path): Fix typo in docstring.
23564 (load-theme): Fix typo in error message.
23565 (custom-available-themes, custom-variable-theme-value):
23566 Use `let', not `let*'.
23567
d71990a1
JB
235682011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23569
23570 * calc/README: Mention inclusion of musical notes.
23571
23572 * calc/calc-units.el (calc-lu-quant): Rename from
23573 `calc-logunits-quantity'.
23574 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23575 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23576 (calc-db): Rename from `calc-dblevel'.
23577 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23578 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23579 (calc-np): Rename from `calc-nplevel'.
23580 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23581 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23582 (calc-lu-plus): Rename from `calc-logunits-add'.
23583 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23584 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23585 (calc-lu-minus): Rename from `calc-logunits-sub'.
23586 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23587 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23588 (calc-lu-times): Rename from `calc-logunits-mul'.
23589 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23590 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23591 (calc-lu-divide): Rename from `calc-logunits-div'.
23592 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23593 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23594
23595 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23596 functions being autoloaded.
23597
23598 * calc/calc.el (calc-lu-power-reference): Rename from
23599 `calc-logunits-power-reference'.
23600 (calc-lu-field-reference): Rename from
23601 `calc-logunits-field-reference'.
23602
7a71b18d
GM
23603 * calc/calc-help.el (calc-l-prefix-help):
23604 Mention musical note functions.
d71990a1 23605
40c2934b
SM
236062011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23607
23608 * minibuffer.el (completion-all-sorted-completions):
23609 Use :completion-cycle-penalty text property if present.
23610
b0911414
KM
236112011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23612
23613 * allout.el (allout-yank-processing): Adjust for new rebulleting
23614 regime so bullet being yanked is used without prompting the user
23615 for a choice.
23616
8a05b668
JB
236172011-03-16 Juanma Barranquero <lekktu@gmail.com>
23618
23619 * startup.el (command-line): Warn the user that _emacs is deprecated.
23620
5ba5fb81
JB
236212011-03-16 Juanma Barranquero <lekktu@gmail.com>
23622
23623 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23624 (delphi-verbose, delphi-comment-face, delphi-string-face)
23625 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23626 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23627 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23628 (delphi-new-comment-line, delphi-font-lock-defaults)
23629 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23630 Fix typos in docstrings.
23631
2dab465b
KM
236322011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23633
5ba5fb81 23634 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23635 Invert the roles of character and string values for INSTEAD, so a
23636 string is used for the more common case of a defaulting prompt.
23637
0adf5618
SM
236382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23639
23640 * progmodes/ruby-mode.el (ruby-backward-sexp):
23641 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23642 * play/gamegrid.el (gamegrid-make-face):
23643 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23644 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23645 * notifications.el (notifications-notify):
23646 * net/xesam.el (xesam-search-engines):
23647 * net/quickurl.el (quickurl-list-insert):
23648 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23649
d72700e5
CY
236502011-03-15 Chong Yidong <cyd@stupidchicken.com>
23651
23652 * startup.el (command-line): Update package subdirectory regexp.
23653
49c5410a
SM
236542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23655
c6eee9aa
SM
23656 * allout.el (allout-abbreviate-flattened-numbering)
23657 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23658
49c5410a
SM
23659 * subr.el (read-char-choice): Only show the cursor after the prompt,
23660 not after the answer.
23661
047b2bb9
KR
236622011-03-15 Kevin Ryde <user42@zip.com.au>
23663
23664 * help-fns.el (variable-at-point): Skip leading quotes, if any
23665 (bug#8253).
23666
0a57d256
SM
236672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23668
23669 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23670 warning message.
23671
77c992bc
MA
236722011-03-14 Michael Albinus <michael.albinus@gmx.de>
23673
23674 * shell.el (shell): When called interactively, offer to change the
23675 shell file name on remote hosts.
23676
eebc475d
TZ
236772011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23678
23679 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23680 integration for LDAP parameters. The host, base, user or binddn,
23681 and secret tokens can be specified in a netrc file, for instance.
23682 This is optional because an `auth-source' parameter must be
23683 specified in the search attributes.
23684
9d05d1ba
JB
236852011-03-13 Juanma Barranquero <lekktu@gmail.com>
23686
23687 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23688
09d9db2c
GM
236892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23690
23691 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23692 into declaration. Remove redundant and harmful binding.
23693
236942011-03-12 Eli Zaretskii <eliz@gnu.org>
23695
23696 * files.el (file-ownership-preserved-p): Pass `integer' as an
23697 explicit 2nd argument to `file-attributes'. If the file's owner
23698 is the Administrators group on Windows, and the current user is
23699 Administrator, consider that a match.
23700
23701 * server.el (server-ensure-safe-dir): Consider server directory
23702 safe on MS-Windows if its owner is the Administrators group while
23703 the current Emacs user is Administrator. Use `=' to compare
23704 numerical UIDs, since they could be integers or floats.
23705
219bd536
JB
237062011-03-12 Juanma Barranquero <lekktu@gmail.com>
23707
23708 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23709
f3afd36b
MA
237102011-03-12 Michael Albinus <michael.albinus@gmx.de>
23711
23712 Sync with Tramp 2.2.1.
23713
23714 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23715
23716 * net/trampver.el: Update release number.
23717
3aaaa6f1
SM
237182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23719
94642599
SM
23720 * progmodes/compile.el (compilation--previous-directory): Fix up
23721 various nil/dead-marker mismatches (bug#8014).
23722 (compilation-directory-properties, compilation-error-properties):
23723 Don't call it at a position past the one we're about to change.
23724
3aaaa6f1
SM
23725 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23726 Disable obsolescence warnings in the file that declares it.
23727
14239447
KM
237282011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23729
099c39a4
JB
23730 * allout-widgets.el (allout-widgets-tally):
23731 Initialize allout-widgets-tally as a hash table rather than nil to
23732 prevent mode-line redisplay warnings. Also, clarify the module
23733 description and fix a comment typo.
14239447 23734
135e287c
JB
237352011-03-11 Juanma Barranquero <lekktu@gmail.com>
23736
23737 * help-fns.el (describe-variable): Don't complete keywords.
23738 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23739
ffbf300e
CY
237402011-03-10 Chong Yidong <cyd@stupidchicken.com>
23741
ba08b241
CY
23742 * emacs-lisp/package.el (package-version-join): Impose a standard
23743 string representation for pre/alpha/beta version lists.
23744 (package-unpack-single): Standardize the directory name by passing
23745 it through package-version-join.
23746 (package-strip-rcs-id): Accept any version string that does not
23747 signal an error in version-to-list.
ffbf300e 23748
f346fd6b
MA
237492011-03-10 Michael Albinus <michael.albinus@gmx.de>
23750
23751 * simple.el (delete-trailing-whitespace): Return nil for the
23752 benefit of `write-file-functions'.
23753
ccb55d27
GM
237542011-03-10 Glenn Morris <rgm@gnu.org>
23755
5ceaac0c
GM
23756 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23757
02da65ff
GM
23758 * vc/vc-git.el (vc-git-program): New option.
23759 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23760 (vc-git--call): Use it.
23761
b2f603cc
GM
23762 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23763
5772caab
GM
23764 * cus-edit.el (Custom-newline): If no button at point, look
23765 for a subgroup button at start-of-line. (Bug#2298)
23766
ccb55d27
GM
23767 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23768
ec6ecaed
JD
237692011-03-10 Julien Danjou <julien@danjou.info>
23770
23771 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23772 `cursor-type' is nil.
23773
9d5aa01d
JB
237742011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23775
23776 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23777
b6a5875b
KM
237782011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23779
7a71b18d 23780 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23781 preserves the existing header prefix, rebulleting it if necessary,
23782 rather than replacing it. This is necessary for proper operation
23783 of cooperative addons like allout-widgets.
1154d12e
JB
23784 (allout-make-topic-prefix, allout-rebullet-heading):
23785 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23786 value as alternate bullet to be used, instead of prompting the user
23787 for a bullet character.
b6a5875b 23788
ee545c35
MA
237892011-03-09 Michael Albinus <michael.albinus@gmx.de>
23790
d86d2721
SM
23791 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23792 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23793 `tramp-default-port'.
23794
c47971d7
DD
237952011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23796
23797 * net/rcirc.el (rcirc-handler-001): Remove useless
23798 with-rcirc-process-buffer.
23799 (rcirc-check-auth-status): Swap arguments to string-match.
23800
13522cb4
GM
238012011-03-09 Glenn Morris <rgm@gnu.org>
23802
0be6f4f1
GM
23803 * shell.el (shell-mode):
23804 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23805
13522cb4
GM
23806 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23807 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23808
515de2e3
CY
238092011-03-08 Chong Yidong <cyd@stupidchicken.com>
23810
23811 * emacs-lisp/package.el (package-refresh-contents)
23812 (package-menu-execute): Use condition-case-no-debug.
23813
b511b994
MA
238142011-03-08 Michael Albinus <michael.albinus@gmx.de>
23815
23816 * simple.el (shell-command-to-string): Use `process-file'.
23817
23818 * emacs-lisp/package.el (package-tar-file-info): Handle also
23819 remote files.
23820
d86d2721
SM
23821 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23822 Use `equal' for upload base check.
b511b994 23823
25bbfb31
AM
238242011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23825
23826 * textmodes/texinfo.el (texinfo-environments):
23827 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23828
be996521
GM
238292011-03-08 Glenn Morris <rgm@gnu.org>
23830
e9c8529f
GM
23831 * cus-start.el (cursor-in-non-selected-windows):
23832 Fix :set quoting oddness. (Bug#8192)
23833
be996521
GM
23834 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23835 in some setf expressions. (Bug#2159)
23836
2bb5649e
CY
238372011-03-08 Chong Yidong <cyd@stupidchicken.com>
23838
23839 * custom.el (custom-available-themes): Return themes in
23840 alphabetical order.
23841
33383987 23842See ChangeLog.15 for earlier changes.
e3d51b27
MR
23843
23844;; Local Variables:
23845;; coding: utf-8
e3d51b27
MR
23846;; End:
23847
ab422c4d 23848 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23849
23850 This file is part of GNU Emacs.
23851
23852 GNU Emacs is free software: you can redistribute it and/or modify
23853 it under the terms of the GNU General Public License as published by
23854 the Free Software Foundation, either version 3 of the License, or
23855 (at your option) any later version.
23856
23857 GNU Emacs is distributed in the hope that it will be useful,
23858 but WITHOUT ANY WARRANTY; without even the implied warranty of
23859 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23860 GNU General Public License for more details.
23861
23862 You should have received a copy of the GNU General Public License
23863 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.