Revert changes, which were committed with 2013-01-29T16:03:40Z!michael.albinus@gmx...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
953e5b8c
AM
12013-01-29 Alan Mackenzie <acm@muc.de>
2
3 Amend to fontify /regexp/s in actions correctly.
4 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
5 (c-awk-harmless-string*-here-re): braces, parens and semicolons
6 are no longer included.
7 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
8 What used to be these variables without "-line" in the name.
9 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now
10 are.
11 (c-awk-non-arith-op-bra-re): Now also matches {.
12 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
13 "return", and "case".
14 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
15 by /.
16 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
17 (c-awk-set-syntax-table-properties): Extend FSM to handle
18 {,},(,),;.
19
1b69262a
MA
202013-01-29 Michael Albinus <michael.albinus@gmx.de>
21
2f52b560
MA
22 * autorevert.el (auto-revert-use-notify): Use
23 `custom-initialize-default' for initialization. (Bug#13583)
24
1b69262a
MA
25 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
26
27 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Catch
28 `suppress'. Otherwise, `tramp-run-real-handler' might be called
29 in `tramp-file-name-handler'.
ea55064c
MA
30 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
31 compatibility.
32 (tramp-compute-multi-hops): Check, whether
33 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 34
b2dc4f52
SM
352013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
38 (bug#13297).
39
499572e4
DG
402013-01-27 Dmitry Gutov <dgutov@yandex.ru>
41
42 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
43 checks made superfluous by the \_< operator.
a324b8c7
DG
44 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
45 temporarily) broken indentation.
b2dc4f52
SM
46 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
47 Highlight nested constants, too. \_< broke that.
499572e4
DG
48
492013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
50
51 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
52 instead of "\\b".
53
629cb6ec
MA
542013-01-27 Michael Albinus <michael.albinus@gmx.de>
55
56 * autorevert.el (auto-revert-handler): Notifications which result
57 from a saved file shall not be taken into account. (Bug#13557)
58
cc17363f
AS
592013-01-26 Andreas Schwab <schwab@linux-m68k.org>
60
61 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
62 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
63 (lisp-mode): Pass t for it. (Bug#13556)
64
b7aea0ff
AM
652013-01-25 Alan Mackenzie <acm@muc.de>
66
67 AWK Mode: Fix indentation bug at top level. Bug #12274.
68
69 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
70 just before CASE 5D.
71
1314a64c
DA
722013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
73
74 * net/socks.el (socks-nslookup-host): Use string-to-number.
75
ef3544f6
MA
762013-01-25 Michael Albinus <michael.albinus@gmx.de>
77
78 * autorevert.el (auto-revert-remote-files)
79 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
80 (auto-revert-notify-enabled, auto-revert-use-notify)
81 (auto-revert-notify-watch-descriptor-hash-list)
82 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
83 (auto-revert-notify-event-descriptor)
84 (auto-revert-notify-event-action)
85 (auto-revert-notify-event-file-name): Doc fix.
86 (global-auto-revert-mode): Reorder checks.
87 (auto-revert-notify-rm-watch): Respect changed values of
88 `auto-revert-notify-watch-descriptor-hash-list'.
89 (auto-revert-notify-add-watch): Check for
90 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
91 `inotify-add-watch'. Watch `default-directory' instead of
92 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
93 has a changed meaning now. (Bug#13540)
94 (auto-revert-notify-handler): Change implementation wrt events
95 returning from a directory.
96 (auto-revert-handler): Reorder implementation for checks of remote
97 files.
98 (auto-revert-buffers): Fix parentheses error.
99
830e46e6 1002013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
101
102 * progmodes/python.el: Enhancements to header documentation about
103 skeletons. (Bug#5716)
104
ddc62155
FEG
105 * imenu.el (imenu-default-create-index-function): Remove useless
106 infinite loop check. (Bug#13438)
107
830e46e6 1082013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
109
110 Fix a bug in the state cache mechanism. Refactor this a bit.
111
112 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
113 `cache-pos' element from the return value.
114 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
115 buffer to enable proper searching from beyond HERE. Amend the
116 test for detecting the sought brace pair. Amend the value written
117 to the "brace desert cache" when the brace isn't found.
118 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
119 and several other variables analogously.
120 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
121 parameter to a locally calculated variable.
122 (c-parse-state-1): Change the calling conventions to the two
123 defuns involving `cache-pos'.
124
830e46e6 1252013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
126
127 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
128
3d4147ba
BG
1292013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
130
131 * paren.el (show-paren-function): Make sure to set 'priority and
132 'face only if the overlay does exist.
133
e1ffa412
MA
1342013-01-24 Michael Albinus <michael.albinus@gmx.de>
135
136 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
137
138 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
139 basic attributes.
140 (tramp-sh-handle-set-file-acl): Improve error checking.
141
5ad86e34
DA
1422013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
143
144 * doc-view.el (doc-view-display): Force mode line update until all
145 document is converted. Suggested by Stefan Monnier (Bug#13164).
146
d6f9c03f
BG
1472013-01-23 Bastien Guerry <bzg@gnu.org>
148
149 * paren.el (show-paren-function): Make sure an overlay exists
150 before trying to delete it. Also use `pos' as a position only
151 when it is an integer.
152
3544e11a
DA
1532013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
154
155 * play/gametree.el (gametree-break-line-here): Use point-marker.
156
19b50424
MA
1572013-01-22 Michael Albinus <michael.albinus@gmx.de>
158
b2dc4f52
SM
159 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
160 Mark descriptive parts with `display' property.
19b50424 161
7fd5a843
AM
1622013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
163
164 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
165 New variable to map standard dict names to hunspell ones.
166 (ispell-set-spellchecker-params): Make sure specific dict names
167 are used for standard dicts with hunspell.
168
e6aff855
TH
1692013-01-21 Tassilo Horn <tsdh@gnu.org>
170
171 * textmodes/reftex-cite.el (reftex-format-citation): Add format
172 chars for note (%N) and url (%U).
173 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
174
c84b0881
JL
1752013-01-21 Juri Linkov <juri@jurta.org>
176
177 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
178 in addition to existing separate binding `meta f10' in `global-map'.
179 (Bug#13484)
180
a36e2d26
MA
1812013-01-21 Michael Albinus <michael.albinus@gmx.de>
182
183 Improve XEmacs compatibility.
184
185 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
186
187 * net/tramp-adb.el (top): Require `time-date'.
188 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
189 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
190 Use `tramp-file-name-handler'.
191 (tramp-adb-maybe-open-connection):
192 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 193
b2dc4f52
SM
194 * net/tramp-sh.el (tramp-sh-handle-file-acl):
195 Use `tramp-compat-funcall'.
a36e2d26
MA
196
197 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
198 `tramp-compat-funcall'.
199
88c7dfa3
JH
2002013-01-21 Jürgen Hötzel <juergen@archlinux.org>
201
202 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
203 reimplementation using "adb shell command ..." instead of running
204 remote shell interactively.
205
15df6fa4
GM
2062013-01-20 Glenn Morris <rgm@gnu.org>
207
a576cc76
GM
208 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
209 Add native profiler menu entries.
210
15df6fa4
GM
211 * profiler.el (profiler-running-p): New function.
212 (profiler-cpu-profile): Use profiler-running-p.
213 (profiler-report-mode-map): Add some more menu entries.
214
c4d1e0c3
GM
2152013-01-19 Glenn Morris <rgm@gnu.org>
216
217 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
218 fixes 2012-12-07 change. (Bug#13499)
219
795e7a5b 2202013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
221
222 * dired.el (dired-get-marked-files): Prune erroneous values due to
223 last change. (Bug#13152)
224
795e7a5b 2252013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
226
227 * progmodes/etags.el (tags-table-check-computed-list):
228 Preserve point in tags buffer. (Bug#13412)
229
f8a42ad6
GM
230 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
231
20de6ab6
CW
2322013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
233 Chong Yidong <cyd@gnu.org>
234
b2dc4f52
SM
235 * image-mode.el (image-next-file, image-previous-file):
236 New commands (Bug#8453).
20de6ab6
CW
237 (image-mode-map): Bind them to n and p.
238 (image-mode--images-in-directory): New helper function.
239
2a43515a
CY
2402013-01-19 Chong Yidong <cyd@gnu.org>
241
242 * image-mode.el (image-mode-fit-frame): Add a frame argument.
243 Suggested by Drew Adams (Bug#7730). Handle window decorations;
244 save and restore the old window configuration.
245
b1170947
LL
2462013-01-18 Leo Liu <sdl.web@gmail.com>
247
248 * progmodes/js.el: Tweak autoload cookie for alias.
249
0eb87688
MA
2502013-01-17 Michael Albinus <michael.albinus@gmx.de>
251
252 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
253 buffer local, again. This was lost with the fix on 2013-01-12.
254
99d36ea8
JH
2552013-01-17 Jürgen Hötzel <juergen@archlinux.org>
256
257 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
258 order to support several eshell buffers in parallel.
259
68a08a32
MA
2602013-01-17 Michael Albinus <michael.albinus@gmx.de>
261
262 * autorevert.el (auto-revert-use-notify): In the :set function, do
263 not modify `kill-buffer-hook'.
b2dc4f52
SM
264 (auto-revert-notify-rm-watch):
265 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
266 (auto-revert-notify-add-watch): Do not call
267 `auto-revert-notify-rm-watch', but add it to a buffer local
268 `kill-buffer-hook'.
269
e59eee43
SM
2702013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
273 call to `eval' rather than a backquoted lambda.
274
6e8cd0ae
SM
2752013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
276
cb9c0a53
SM
277 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
278 to return an explicit nil.
279 (advice--remove-function): Change accordingly.
280
281 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
282 the use of nadvice.el.
283
6e8cd0ae
SM
284 * progmodes/which-func.el (which-function): Silence imenu errors
285 (bug#13433).
286
4586ce8a
MM
2872013-01-15 Michael R. Mauger <mmaug@yahoo.com>
288
6e8cd0ae 289 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
290 (sql-mode-font-lock-object-name): Match schema qualified names.
291 (sql-connect): Use string keys.
292 (sql-product-interactive): Wait for interpreter prompt.
293 (sql-comint-oracle): Set process coding based on NLS_LANG.
294
9d55215c
MM
2952013-01-15 Michael R. Mauger <mmaug@yahoo.com>
296
297 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
298 (sql-interactive-remove-continuation-prompt):
299 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 300
57dd9e68
LL
3012013-01-14 Leo Liu <sdl.web@gmail.com>
302
303 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
304 (Bug#13420)
305
51e73492
GM
3062013-01-14 Glenn Morris <rgm@gnu.org>
307
308 * progmodes/compile.el (compilation-error-regexp-alist-alist):
309 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
310
c0511b57 3112013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 312
6e8cd0ae
SM
313 * progmodes/python.el (python-nav-end-of-statement):
314 Fix cornercase when handling multiline strings.
50620051 315
4c0a6d4a
RS
3162013-01-13 Richard Stallman <rms@gnu.org>
317
9f7e86ef
RS
318 * mail/sendmail.el (mail-position-on-field): Add doc string.
319
6e8cd0ae
SM
320 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
321 Get current message boundaries and pass them to
4c0a6d4a
RS
322 message-forward-make-body-mime. Minor style changes.
323
ad33a799
EZ
3242013-01-13 Eli Zaretskii <eliz@gnu.org>
325
326 * cus-start.el (all): Avoid warnings about
6e8cd0ae 327 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 328
616763d5
JD
3292013-01-11 Jan Djärv <jan.h.d@swipnet.se>
330
331 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
332
e5b5a34d
SM
3332013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * jit-lock.el (jit-lock-debug-mode): New minor mode.
336 (jit-lock--debug-fontifying): New var.
337 (jit-lock--debug-fontify): New function.
338 * subr.el (condition-case-unless-debug): Don't prevent catching the
339 error, just let the debbugger run.
340 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
341 timer code and don't drop errors silently.
342
2daddd9e
MA
3432013-01-12 Michael Albinus <michael.albinus@gmx.de>
344
345 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
346 `permanent-local' property.
71c661e4 347 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 348
86fbb162
EZ
3492013-01-12 Eli Zaretskii <eliz@gnu.org>
350
351 * autorevert.el (auto-revert-notify-handler): Fix filtering of
352 file notification by ACTION. For filtering by file name, compare
353 only the non-directory part of the file name.
354
a0784609
SM
3552013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
356
96c421bb
SM
357 * autorevert.el: Use cl-lib instead of cl.
358
a0784609
SM
359 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
360 (vc-bzr-checkin): Use it.
361 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
362 will preserve match-data.
363
f90ff906 3642013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 365
f90ff906
FD
366 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
367 (js--declaration-keyword-re): New var.
368 (js--multi-line-declaration-indentation): New function.
369 (js--proper-indentation): Use it.
9fc9a531 370
f90ff906 3712013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 372
f90ff906
FD
373 * calc/calc.el (calc-highlight-selections-with-faces)
374 (calc-dispatch):
375 * comint.el (comint-history-isearch-message):
376 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
377 * ffap.el (ffap-string-at-point-region, ffap-next)
378 (ffap-string-at-point, ffap-string-around)
379 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 380 (ffap-literally):
9fc9a531 381 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
382 (font-lock-removed-keywords-alist):
383 * help-mode.el (help-xref-symbol-regexp):
384 * info.el (Info-find-emacs-command-nodes):
385 * international/mule.el (add-to-coding-system-list):
386 * isearch.el (isearch-message-function, isearch-fail-pos):
387 * misearch.el (multi-isearch-next-buffer-function):
388 * newcomment.el (comment-box):
9fc9a531 389 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 390 (pr-setting-database):
9fc9a531
AH
391 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
392 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
393 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
394 (pike-font-lock-keywords-3):
395 * progmodes/compile.el (compile):
9fc9a531 396 * progmodes/etags.el (tags-table-files)
f90ff906 397 (tags-table-files-function, tags-included-tables-function):
9fc9a531 398 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 399 (gdb-restore-windows):
9fc9a531 400 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
401 (ps-n-up-filling-database):
402 * server.el (server-buffer, server-log):
9fc9a531
AH
403 * simple.el (newline, delete-backward-char, delete-forward-char)
404 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 405 (temporary-goal-column):
9fc9a531 406 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
407 (flyspell-default-deplacement-commands):
408 * textmodes/ispell.el (ispell-accept-output):
409 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 410 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
411 (compare-ignore-case, compare-windows-dehighlight):
412 * vc/diff.el (diff):
9fc9a531
AH
413 * whitespace.el (whitespace-point)
414 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 415 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 416
65adfa20
MA
4172013-01-11 Michael Albinus <michael.albinus@gmx.de>
418
419 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
420 (auto-revert-notify-rm-watch): Ignore errors.
421 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
422 inotify, and '(size last-write-time) for w32notify.
423 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
424 watch fails - this is a fallback to the file modification check.
425 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
426 (auto-revert-notify-event-action)
427 (auto-revert-notify-event-file-name): New defuns.
428 (auto-revert-notify-handler): Use them. Implement first
429 plausibility checks.
430 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
431
43b2e2e7
JD
4322013-01-11 Julien Danjou <julien@danjou.info>
433
434 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
435 max are almost equal. Also return the correct value for V which is
436 already between 0 and 1.
437
30818a23
DA
4382013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
439
440 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
441
10e714d5
EZ
4422013-01-11 Eli Zaretskii <eliz@gnu.org>
443
444 * autorevert.el (auto-revert-notify-rm-watch)
445 (auto-revert-notify-add-watch): Fix typos in w32notify function
446 names.
447
a778dd57
MA
4482013-01-10 Michael Albinus <michael.albinus@gmx.de>
449
450 * autorevert.el (auto-revert-notify-enabled): Move up.
451 (auto-revert-use-notify): New defcustom.
452 (auto-revert-mode, global-auto-revert-mode)
453 (auto-revert-notify-add-watch, auto-revert-handler)
454 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
455 `auto-revert-notify-enabled'.
456
72781fef
EP
4572013-01-10 Elias Pipping <pipping@exherbo.org>
458
459 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
460 * doc-view.el (doc-view-document->bitmap):
461 Use doc-view-single-page-converter-function instead of
462 single-page-converter arg; adjust callers.
463
e6ed8f08
FL
4642013-01-10 Feng Li <fengli@gmail.com> (tiny change)
465
466 * progmodes/which-func.el (which-function): Understand Semantic's use
467 of overlays in imenu--index-alist.
468
327a6cca
WJ
4692013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
470
471 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
472 (Man-man-k-use-anchor): New var.
473 (Man-parse-man-k): New function.
474 (Man-completion-table): Use it.
475 (man): Flush the completion cache between uses.
476
ed911257
MA
4772013-01-10 Michael Albinus <michael.albinus@gmx.de>
478
479 * autorevert.el: Add file watch support.
480 (auto-revert-notify-enabled): New defconst.
481 (auto-revert-notify-watch-descriptor-hash-list)
482 (auto-revert-notify-watch-descriptor)
483 (auto-revert-notify-modified-p): New defvars.
484 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
485 (auto-revert-notify-handler): New defuns.
486 (auto-revert-mode, global-auto-revert-mode): Remove file watches
487 when mode is disabled.
488 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
489 (auto-revert-buffers): Add file watches for active buffers.
490
58cc0a01
DA
4912013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
492
493 * cus-start.el (toplevel): Only allow float values for
494 scroll-up-aggressively and scroll-down-aggressively.
495 Allow any number for line-spacing.
496
bbc7ff25
SM
4972013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
500 (doc-view-pdf->png-converter-function): Use mupdf if available.
501 (doc-view-djvu->png-converter-function)
502 (doc-view-ps->png-converter-function): Remove.
503 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
504 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
505 (doc-view-already-converted-p): Adjust accordingly.
506 (doc-view-mode-p): Simplify.
507 (doc-view-enlarge): Use setq-local.
508 (doc-view-pdf->png-converter-ghostscript)
509 (doc-view-djvu->png-converter-ddjvu)
510 (doc-view-pdf->png-converter-mupdf): Rework to call
511 doc-view-start-process directly.
512 (doc-view-pdf/ps->png): Simplify accordingly.
513 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
514 (doc-view-document->bitmap): Rename from doc-view-document->png.
515 (doc-view-convert-current-doc): Merge pdf and djvu cases.
516 (doc-view-set-slice-from-bounding-box): Fix completion table.
517 (doc-view-mode): Use add-hook for after-revert-hook.
518
3c855b96
GM
5192013-01-10 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/authors.el (authors-ignored-files)
522 (authors-valid-file-names, authors-renamed-files-alist):
523 Add some more entries.
524
3f9549e8 5252013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
526
527 * image-mode.el (image-mode-winprops): Don't throw away the fallback
528 `t' pseudo-window entry.
529
3f9549e8 5302013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
531
532 Fix bugs in the c-parse-state mechanism. Reuse some markers
533 instead of continually generating new ones.
534
535 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
536 (c-state-old-cpp-end-marker): New variables.
537 (c-append-lower-brace-pair-to-state-cache): Start a backward
538 search for "}" definitively outside CPP constructs.
539 (c-remove-stale-state-cache): Inform the caller of a need to
540 search back for a brace pair in certain circumstances.
541 (c-state-maybe-marker): New macro.
542 (c-parse-state): Reuse markers when appropriate.
543
3f9549e8 5442013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
545
546 * simple.el (execute-extended-command): Doc fix.
547 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
548
3f9549e8 5492013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
550
551 * faces.el (read-face-name): Doc fix.
552
b14abca9
RW
5532013-01-10 Roland Winkler <winkler@gnu.org>
554
555 * emacs-lisp/crm.el: Allow any regexp for separators.
556 (crm-default-separator): All spaces around the default comma separator.
557 (crm--completion-command): New macro.
558 (crm-completion-help, crm-complete, crm-complete-word): Use it.
559 (crm-complete-and-exit): Handle non-single-char separators.
560
2b541f9a
EP
5612013-01-09 Elias Pipping <pipping@lavabit.com>
562
563 * doc-view.el: Add support for DjVu (bug#13164).
564 (doc-view-djvu->png-converter-function): New config var.
565 (doc-view-single-page-converter-function, doc-view--image-type)
566 (doc-view--image-file-extension): New vars.
567 (doc-view-mode): Initialize them.
568 (doc-view-goto-page): Use them.
569 (doc-view-mode-p): Add support for ddjvu.
570 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
571 (doc-view-set-up-single-converter): New funs.
572 (doc-view-pdf/ps->png): Extend for djvu.
573 (doc-view-document->png): Rename from doc-view-pdf->png.
574 (doc-view-convert-current-doc): Handle djvu.
575 (doc-view-insert-image, doc-view-display)
576 (doc-view-already-converted-p): Don't hardcode png.
577 (doc-view-set-doc-type): Recognize djvu docs.
578
85f17e35
EP
5792013-01-09 Elias Pipping <pipping@lavabit.com>
580
581 * doc-view.el: Add support for mupdf converter (bug#13164).
582 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
583 (doc-view-ps->png-converter-function): New config vars.
584 (doc-view-pdf->png-converter-ghostscript)
585 (doc-view-ps->png-converter-ghostscript)
586 (doc-view-pdf->png-converter-mupdf): New functions.
587 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
588
ccd04887
MA
5892013-01-09 Jürgen Hötzel <juergen@archlinux.org>
590
591 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
592 first in session cache: When `tramp-own-remote-path' is in
593 `tramp-remote-path', the remote path is only set in the session
594 cache.
595
c5ad92de
GM
5962013-01-09 Glenn Morris <rgm@gnu.org>
597
fb9f7146
GM
598 * emacs-lisp/trace.el (trace-function-foreground)
599 (trace-function-background): Doc fix.
c5ad92de 600
39a0786e
JL
6012013-01-09 Juri Linkov <juri@jurta.org>
602
603 * international/mule-cmds.el (read-char-by-name): Move let-binding
604 of completion-ignore-case around completing-read to fix regression
605 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
606 `string-match-p' using the nil value of `case-fold-search' and
607 `completion-ignore-case' in `completion-pcm--all-completions'.
608 (Bug#12615).
609
fb9f7146 6102013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
611
612 * progmodes/compile.el (compilation-parse-errors):
613 Fix typo. (Bug#13369)
614
fb9f7146 6152013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
616
617 * comint.el (comint-send-input): Check size of buffer before
618 waiting for process output, in case already accepted. (Bug#13290)
619
677d5c92
PE
6202013-01-09 Paul Eggert <eggert@cs.ucla.edu>
621
622 Spelling fixes.
623 * net/tramp-adb.el (tramp-adb-get-toolbox):
624 Fix misspelling of 'unknown'.
625
073ca75b
JL
6262013-01-08 Juri Linkov <juri@jurta.org>
627
628 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
629 * progmodes/flymake.el (flymake-errline, flymake-warnline):
630 Use underline style wave on terminals that support it. (Bug#13000)
631
a4648137
SM
6322013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
633
4bdc3526
SM
634 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
635 the predicate returns nil.
636
a4648137
SM
637 * simple.el: Use lexical-binding.
638 (primitive-undo): Use pcase.
639 (minibuffer-history-isearch-push-state): Use a closure.
640
3bace969
AH
6412013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
642
643 * simple.el (primitive-undo): Move from undo.c.
644
a731fc1b
SM
6452013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
646
1c851e98
SM
647 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
648 (cvs-mode-remove-handled): Use it (bug#13380).
649
a731fc1b
SM
650 * emacs-lisp/nadvice.el (advice--tweak): New function.
651 (advice--remove-function, advice--subst-main): Use it.
652
653 * emacs-lisp/advice.el: Update commentary.
654
2a22c83b
MA
6552013-01-08 Michael Albinus <michael.albinus@gmx.de>
656
a731fc1b
SM
657 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
658 Remove spurious entry.
2a22c83b 659
83c1803a
GM
6602013-01-08 Glenn Morris <rgm@gnu.org>
661
662 * net/tramp.el (tramp-default-host-alist): Add :version.
663
8a2e287c
JL
6642013-01-08 Juri Linkov <juri@jurta.org>
665
666 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
667 single completion. (Bug#12456)
668 (info--manual-names): Expand node completions into an explicit list
669 before appending it to another list. Filter out internal buffers
670 with the leading space in the buffer name. (Bug#10771)
671
c6a22ce2
JL
6722013-01-08 Juri Linkov <juri@jurta.org>
673
674 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
675 that defaults to the Top node.
676 (Info-goto-node, Info-read-node-name): Doc fix to mention that
677 the short format (FILENAME) goes to the Top node.
678 (Info-build-node-completions): Rename arg `file' to `filename'.
679 (Bug#13365)
680
acfe10b7
BG
6812013-01-07 Bastien Guerry <bzg@gnu.org>
682
a731fc1b
SM
683 * menu-bar.el (menu-bar-search-documentation-menu):
684 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
685
6862013-01-07 Bastien Guerry <bzg@gnu.org>
687
688 * apropos.el (apropos-do-all): Update docstring.
689 (apropos-user-option-button): New face.
690 (apropos-user-option): Rename from `apropos-variable' and update
691 docstring.
692 (apropos-variable): Rewrite, now show all variables by default.
693 (apropos-print): Mention "User option" instead of "Variable" when
694 printing doc for user options. (Bug#13276)
695
62bcf670
JH
6962013-01-07 Jürgen Hötzel <juergen@archlinux.org>
697
698 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
699 Handle filename correctly, when parsing "source -> target" symlink
700 output.
701 (tramp-adb-handle-set-file-times): New defun.
702
4986fa21
SM
7032013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
706 advice list when the interactive-spec of ad-Advice-* changes.
707
3bee311e
KY
7082013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
709
710 * wid-edit.el (widget-default-get): Work for inlined elements.
711 (Bug#12670)
712
b49eebcc
MA
7132013-01-07 Michael Albinus <michael.albinus@gmx.de>
714
715 * net/tramp.el (tramp-default-host-alist): New defcustom.
716 (tramp-find-host): Use it.
4986fa21 717 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
718 `eshell-directory-change-hook'.
719
720 * net/tramp-adb.el (top): Add adb specific entry in
721 `tramp-default-host-alist'.
722 (tramp-adb-file-name-host): Remove function.
723 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
724 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
725
3bee311e 726 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 727
84f6744a
JH
7282013-01-06 Jürgen Hötzel <juergen@archlinux.org>
729
730 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
731
b6cfbcd0
MA
7322013-01-06 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 735 consist of more than one digit.
4986fa21
SM
736 (tramp-adb-file-name-handler-alist):
737 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
738 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
739 (tramp-adb-handle-file-exists-p): Remove function.
740 (tramp-adb-file-name-host): New defun.
741 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
742 Use it.
743 (tramp-adb-maybe-open-connection): Set "remote-path" property.
744
58ba7b1b
CY
7452013-01-06 Chong Yidong <cyd@gnu.org>
746
747 * vc/vc.el (vc-next-action): Detect buffer modifications
748 conflicting with locking VCS operation (Bug#11490).
749
750 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
751
f4566fe9
MA
7522013-01-05 Michael Albinus <michael.albinus@gmx.de>
753
754 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
755 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
756
838cf298
MA
7572013-01-05 Jürgen Hötzel <juergen@archlinux.org>
758
759 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
760 parsing of ls output using regular expression (handle filenames
761 with spaces). Use virtual device number.
762 (tramp-do-parse-file-attributes-with-ls): New defun (Code
763 cleanup).
764
1bd71e9f
DU
7652013-01-04 Daiki Ueno <ueno@gnu.org>
766
767 * epg.el: Silence byte-compiler warnings.
768 (epg--start): Use delete-char instead of delete-backward-char.
769 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
770
00cd4c1c
DU
7712013-01-04 Daiki Ueno <ueno@gnu.org>
772
773 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
774 Suggested by Eli Zaretskii <eliz@gnu.org>.
775
f99ced35
MA
7762013-01-04 Michael Albinus <michael.albinus@gmx.de>
777
778 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
779 non-negative integers. Otherwise, the default values are used.
780 (tramp-convert-file-attributes): Convert uid and gid to integers.
781
0f668a4d 7822013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 783
d2be4dcc
GM
784 * term.el (term-handle-colors-array): Ensure face attributes
785 are fully specified, not nil. (Bug#13337)
786
5b00b749
GM
787 * term.el (term-default-fg-color, term-default-bg-color):
788 Fix custom type.
789
220740a3
GM
790 * progmodes/etags.el (tags-compression-info-list): Doc fix.
791 (tag-find-file-of-tag-noselect): Check auto-compression-mode
792 rather than 'jka-compr being loaded. (Bug#13338)
793
bdd9367d
WD
7942013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
795
796 * icomplete.el (icomplete-completions):
797 Honor icomplete-prospects-height once more following
798 2012-11-29 changes. (Bug#13224)
799
96dd18b1
SM
8002013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
801
c0bd248c
SM
802 * subr.el (internal--called-interactively-p--get-frame): Find aliases
803 of called-interactively-p as well (bug#13237).
804
4a74c818
SM
805 * view.el (view--enable, view--disable): Rename from view-mode-enable
806 and view-mode-disable and assume it's called from view-mode.
807 (view-mode-enable, view-mode-disable): Redefine as obsolete
808 compatibility layer above view-mode.
809 (view-mode-enter): Call `view-mode'.
810
811 * files.el (after-find-file): Call `view-mode'.
812
96dd18b1
SM
813 * doc-view.el (doc-view-scale-internally): New var.
814 (doc-view-enlarge, doc-view-insert-image): Obey it.
815
c2cf1829
DU
8162013-01-03 Daiki Ueno <ueno@gnu.org>
817
818 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
819 exist. (Bug#13344)
820
ad235a8b
GM
8212013-01-03 Glenn Morris <rgm@gnu.org>
822
a8aa6c2d
GM
823 * mail/rmail.el (rmail-set-header-1): Ignore case.
824 Handle multi-line headers. (Bug#13330)
825
a6d6c20b
GM
826 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
827 Handle paragraph starting at beginning of buffer.
828
ed5bdeb9
GM
829 * subr.el (eval-after-load): Don't purecopy the form, so that it
830 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
831
ad235a8b
GM
832 * emacs-lisp/byte-run.el (defun): Place cl declarations
833 after any interactive spec. (Bug#13265)
834
9539d465 8352013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
836
837 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
838 defun. Don't check for DECL if DOCSTRING isn't a string.
839 (defun): Likewise.
840
9539d465 8412013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 842
5ee1772e
GM
843 * eshell/em-cmpl.el (eshell-pcomplete):
844 More thoroughly imitate pcomplete. (Bug#13293)
845
4cddca30
GM
846 * files.el (parse-colon-path): Doc fix. (Bug#12351)
847 Return nil for empty path elements. (Bug#13296)
848
9539d465 8492013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
850
851 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
852 order to improve efficiency (Based on Daniel Colascione's
853 <dancol@dancol.org> patch). (Bug#13182)
854
9539d465 8552013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
856
857 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
858
9539d465 8592013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
860
861 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
862 neither DOCSTRING nor DECL was given. (Bug#13316)
863
aca3d51d
MA
8642013-01-02 Michael Albinus <michael.albinus@gmx.de>
865
866 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
867 `error' call.
868 (tramp-do-copy-or-rename-file): Ignore errors when calling
869 `set-file-extended-attributes'.
870
4986fa21
SM
871 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
872 Add handler for `file-acl'.
aca3d51d
MA
873 (tramp-smb-handle-file-acl): New defun.
874
87e65f96
JB
8752013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
876
877 * calc/README: Mention ISO 8601 week-numbering dates.
878
0aac98ac
MR
8792013-01-01 Martin Rudalics <rudalics@gmx.at>
880
881 * view.el (view-mode-enable): New argument run-view-mode-hook.
882 Run view-mode-hook only when it's non-nil (Bug#13315).
883 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
884 argument t.
885
1a82330c
JH
8862012-12-31 Jürgen Hötzel <juergen@archlinux.org>
887
888 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
889 (No device connected, invalid device name). (Bug #13299)
890
27fcfe31
MR
8912012-12-31 Martin Rudalics <rudalics@gmx.at>
892
893 * window.el (window-resizable--p): Rename to window-resizable-p.
894 (window-resize-no-error): New function.
895
896 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
897 broken in fix from 2012-12-28.
898
96c052a5
SM
8992012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * subr.el (special-form-p): Don't signal errors on undef aliases.
902
fd1f1603
JB
9032012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
904
905 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
906 `math-parse-iso-date' when it looks like it might be needed.
907 Allow times of 24:00.
fd1f1603
JB
908 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
909 of 24:00.
910
8db39aeb
GM
9112012-12-30 Glenn Morris <rgm@gnu.org>
912
913 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
914 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
915 (rmail-summary-displayed, rmail-summary): Declare.
916 (mairix-rmail-display): Just require rmail.
917
d5e5e7b4 9182012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
919
920 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
921 check for the tarball contents.
922
d5e5e7b4 9232012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
924
925 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
926 tarfile content listings (Bug#13136).
927
d5e5e7b4 9282012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 929
96c052a5
SM
930 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
931 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 932
4f752957
MA
9332012-12-30 Michael Albinus <michael.albinus@gmx.de>
934
3ee24a3b
MA
935 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
936 integers, if they are real numbers. (Bug#13282)
937
4f752957
MA
938 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
939 Return `t' on success.
940
96c052a5
SM
941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
942 Add handler for `set-file-selinux-context'.
4f752957 943
eff2eb58
MA
9442012-12-29 Michael Albinus <michael.albinus@gmx.de>
945
946 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
947 (tramp-sh-handle-set-file-acl): Return `t' on success.
948
ccad023b
EZ
9492012-12-29 Eli Zaretskii <eliz@gnu.org>
950
96c052a5
SM
951 * files.el (backup-buffer-copy, basic-save-buffer-2):
952 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 953 instead of signaling an error. (Bug#13298)
7e56b103 954 (basic-save-buffer): Likewise.
ccad023b 955
ccb1c17e
FEG
9562012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
957
958 * progmodes/python.el: Support other commands triggering
959 python-indent-line so indentation cycling continues to work.
960 (python-indent-trigger-commands): New defcustom.
961 (python-indent-line): Use it.
962
16768034
FEG
9632012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
964
965 * progmodes/python.el (python-shell-send-region): Add blank lines
966 for non sent code so backtraces remain correct.
967
66164d2f
FEG
9682012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
969
970 * progmodes/python.el: Remove cl dependency.
971 (python-syntax-count-quotes): Replace incf call.
972 (python-fill-string): Replace setf call.
973
761231d1
DC
9742012-12-29 Damien Cassou <damien.cassou@gmail.com>
975
43ebd12b 976 * info.el (info-other-window): New arg, for consistency with info.
761231d1 977
7c3e220a
MR
9782012-12-28 Martin Rudalics <rudalics@gmx.at>
979
96c052a5
SM
980 * mail/rmail.el (rmail-maybe-display-summary):
981 Rewrite (Bug#13066).
7c3e220a 982
361828b5
AS
9832012-12-28 Andreas Schwab <schwab@linux-m68k.org>
984
985 * epg.el (epg--start): Modify process-environment locally.
986
23bd348c
DU
9872012-12-28 Daiki Ueno <ueno@gnu.org>
988
989 * epg.el: Support pinentry-curses.
990 Suggested by Werner Koch in
991 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
992 (epg-agent-file, epg-agent-mtime): New variable.
993 (epg--start): Record the modified time of gpg-agent socket file,
994 to restore Emacs frame after pinentry-curses termination.
995 (epg-wait-for-completion): Restore Emacs frame here.
996
313f39aa
JL
9972012-12-27 Juri Linkov <juri@jurta.org>
998
999 * info.el (Info-file-completions): New variable.
1000 (Info-read-node-name-1): Complete node names in the Info file
1001 when a file name is given. Call `Info-build-node-completions'
1002 with a file name.
1003 (Info-build-node-completions): Add new arg `file'. When it is
1004 non-nil, visit it in a temporary buffer and cache its completions in
1005 `Info-current-file-completions'. Move most of the function body to
1006 `Info-build-node-completions-1'.
1007 (Info-build-node-completions-1): New function with the body from
1008 `Info-build-node-completions'. (Bug#12456)
1009
a45b7647
JL
10102012-12-27 Juri Linkov <juri@jurta.org>
1011
1012 * frame.el (frame-maximization-style): Remove user option.
1013 (cycle-frame-maximized): Remove function.
1014 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1015 (toggle-frame-fullscreen): New command bound to <f11> instead of
1016 `toggle-frame-maximized'.
1017 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1018
10ffd0be
MA
10192012-12-27 Michael Albinus <michael.albinus@gmx.de>
1020
1021 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1022
1023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1025 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1026 for `file-accessible-directory-p'. (Bug#13275)
1027
fd146719
SS
10282012-12-27 Sam Steingold <sds@gnu.org>
1029
1030 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1031 continuations, see <http://stackoverflow.com/questions/3582436>.
1032
82e2a1f0 10332012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1034
1035 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1036 "module" and "def" to have indentation before them.
1037 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1038
ea0857a1
DG
1039 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1040
82e2a1f0 10412012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1042
1043 Speed up fontification where there's large brace blocks.
1044 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1045 to a call of c-beginning-of-decl-1.
1046
c34339f3
VS
10472012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1048
1049 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1050 (comint-postoutput-scroll-to-bottom):
1051 Call comint-adjust-window-point (Bug#13248).
c34339f3 1052
78269b95
DG
10532012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1054
1055 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1056 Rakefile regexp.
1057 (auto-mode-alist): Associate .gemspec files with ruby-mode
1058 (https://bugs.ruby-lang.org/issues/5453).
1059
bd8c13f9
JH
10602012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1061
96c052a5
SM
1062 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1063 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1064 CyanogenMod).
bd8c13f9
JH
1065 (tramp-adb-handle-file-attributes)
1066 (tramp-adb-handle-insert-directory)
1067 (tramp-adb-handle-file-name-all-completions): Use it.
1068 (tramp-adb-get-toolbox): New defun. Check for remote shell
1069 implementation (BusyBox or Toolbox).
1070
dc646358
CK
10712012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1072
1073 * startup.el (initial-buffer-choice): Allow function as value
1074 (Bug#13251).
1075 (command-line-1): Handle case where initial-buffer-choice
1076 specifies a function.
1077 * server.el (server-execute): Handle case where
1078 initial-buffer-choice specifies a function.
1079
e7d52a4d
LI
10802012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1081
1082 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1083 its own function.
1084 (smtpmail-try-auth-methods): Forget the user name/password if the
1085 login is unsuccessful (bug#12424).
1086
cdb07539
MA
10872012-12-22 Michael Albinus <michael.albinus@gmx.de>
1088
1ef5f225
MA
1089 * notifications.el (notifications-notify): Protect body with
1090 `with-demoted-errors'.
1091
96c052a5
SM
1092 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1093 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1094 change.
1095
594f37aa
CY
10962012-12-21 Chong Yidong <cyd@gnu.org>
1097
1098 * sort.el (sort-subr): Doc fix (Bug#13056).
1099
a4b0cca1 11002012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1101
acc650b8
BG
1102 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1103
0e9c7693
MA
11042012-12-21 Michael Albinus <michael.albinus@gmx.de>
1105
1106 * simple.el (process-file): Overwrite stderr file, if exists.
1107
c6609164
DU
11082012-12-21 Daiki Ueno <ueno@gnu.org>
1109
1110 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1111 (epg-error): Set `error-message' property.
c6609164 1112
aa26f345
CY
11132012-12-21 Chong Yidong <cyd@gnu.org>
1114
34b4b7eb
CY
1115 * international/mule-cmds.el (read-char-by-name): Signal an error
1116 if the user does not supply a valid character (Bug#13177).
1117
aa26f345
CY
1118 * simple.el (transpose-subr-1): Preserve marker positions by
1119 changing the insertion sequence (Bug#13122).
1120
05c22d87
KD
11212012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1122
1123 * simple.el (kill-region): Deactivate mark even for empty regions
1124 (Bug#13169).
1125
f5733f87
CY
11262012-12-21 Chong Yidong <cyd@gnu.org>
1127
1128 * help-fns.el (describe-variable): Make sure we get the right
1129 buffer name (Bug#13105). Suggested by Kelly Dean.
1130
fab6916d
MM
11312012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1132
1133 * comint.el (comint-redirect-previous-input-string): New variable.
1134 (comint-redirect-setup, comint-redirect-cleanup)
1135 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1136 (comint-redirect-preoutput-filter): Fix verbose message.
1137
91b982a0
MA
11382012-12-20 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1141 is too long for Tramp. See discussion in
1142 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1143
1144 * progmodes/compile.el (compilation-start): Remove line escape
1145 template.
1146
87523aed
DA
11472012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1148
1149 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1150 Adjust comment.
1151
ee3c0aec
JB
11522012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1153
1154 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1155 following non-comment text (bug#13207).
1156 (lm-header-multiline): Continuation lines need to be indented more than
1157 the first line.
1158 (lm-homepage): New function.
1159 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1160
4a74c818
SM
11612012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1162
f4d79bd0
SM
1163 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1164 very beginning of a hunk (e.g. killing the first line).
1165
3c532af6
MA
11662012-12-19 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1169 and text properties from returned ACL string.
1170 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1171 for "setfacl" command.
1172
e0d01ef3
MA
11732012-12-18 Michael Albinus <michael.albinus@gmx.de>
1174
1175 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1176 `tramp-cleanup-this-connection', when the process has died.
1177 (Bug#13151)
1178
2387610d
SM
11792012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1182
19156242
KR
11832012-12-17 Kevin Ryde <user42@zip.com.au>
1184
1185 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1186
53b6a8b1
MA
11872012-12-17 Michael Albinus <michael.albinus@gmx.de>
1188
1189 Add support for preserving ACL entries of files.
1190
1191 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1192 `set-file-acl' handlers.
1193
19156242
KR
1194 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1195 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1196
19156242
KR
1197 * net/tramp-compat.el (tramp-compat-copy-file):
1198 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1199
19156242
KR
1200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1201 Add `file-acl' and `set-file-acl' handlers.
1202 (tramp-gvfs-handle-copy-file):
1203 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1204 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1205 New defuns.
53b6a8b1 1206
19156242
KR
1207 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1208 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1209 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1210 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1211 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1212 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1213
19156242
KR
1214 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1215 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1216 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1217
6ae57a67
KD
12182012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1219
1220 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1221 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1222 *Metahelp* with a leading space (Bug#13190).
1223
7c3d167f
RF
12242012-12-16 Romain Francoise <romain@orebokech.com>
1225
1226 * files.el (file-extended-attributes)
1227 (set-file-extended-attributes): New functions.
1228 (backup-buffer): Use them to handle both SELinux context and ACL
1229 entries.
1230 (backup-buffer-copy): Work with an alist of extended attributes,
1231 rather than an SELinux context.
1232 (basic-save-buffer-2): Ditto.
1233
19b748ad
TM
12342012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1235
1236 * battery.el (battery-bsd-apm): New function.
1237
70042c64
JB
12382012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1239
1240 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1241 standard date formats.
1242
279f9b06
JL
12432012-12-15 Juri Linkov <juri@jurta.org>
1244
1245 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1246 `isearch-insert-char-by-name'.
1247 (with-isearch-suspended): New defmacro with body mostly from
1248 `isearch-edit-string' except the part that sets
1249 `isearch-new-string' and `isearch-new-message'.
1250 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1251 body that sets `isearch-new-string' and `isearch-new-message'.
1252 (isearch-insert-char-by-name): New command.
1253 * international/mule-cmds.el (read-char-by-name): Let-bind
1254 `enable-recursive-minibuffers' to t.
1255 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1256
8370def5
JL
12572012-12-15 Juri Linkov <juri@jurta.org>
1258
1259 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1260 (Bug#13175)
1261
178fb95d
CS
12622012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1263
1264 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1265 the prompt. (Bug#13045)
1266
a5f74442
GM
12672012-12-14 Glenn Morris <rgm@gnu.org>
1268
1269 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1270 Try to include filename in non-bytecomp warning. (Bug#13132)
1271
97976f9f
PE
12722012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1273
1274 Fix permissions bugs with setgid directories etc. (Bug#13125)
1275 * files.el (backup-buffer): Don't rely on 9th output of
1276 file-attributes, as it's now a placeholder. Instead, use the new
1277 optional arg of file-ownership-preserved-p.
1278 (file-ownership-preserved-p): New optional arg GROUP.
1279 Fix mishandling of setuid directories that would cause this
1280 function to return t when it should have returned nil.
1281 Document what happens if the file does not exist, and when
1282 it's not known whether the ownership will be preserved.
1283 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1284 Likewise.
1285 (tramp-get-local-gid): Use group-gid for integer, as that's
1286 faster and more reliable.
1287
016b2a42
JD
12882012-12-14 Julien Danjou <julien@danjou.info>
1289
19156242
KR
1290 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1291 Update keywords list, data type and PL/pgSQL.
016b2a42 1292
665e5e07
DA
12932012-12-14 Dave Abrahams <dave@boostpro.com>
1294
1295 * vc/ediff-util.el (ediff-buffer-type): New function.
1296 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1297 rather than taking it as as argument.
1298 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1299
d72e9e92
RC
13002012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1301
1302 * json.el: Add pretty-print option (bug#12634).
1303 (json-encoding-separator, json-encoding-default-indentation)
1304 (json--encoding-current-indentation, json-encoding-pretty-print)
1305 (json-encoding-lisp-style-closings): New vars.
1306 (json--with-indentation): New macro.
1307 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1308 (json-encode-array): Use it to obey json-encoding-pretty-print.
1309 (json-pretty-print-buffer, json-pretty-print): New commands.
1310
dbb530d9
DG
13112012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1314 Extract `ruby-syntax-propertize-expansions'.
1315 (ruby-syntax-propertize-expansions): Only change syntax on
1316 certain string delimiters, to punctuation. This way the common
1317 functions like forward-word and thing-at-point still work.
1318 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1319 (ruby-block-contains-point): New function.
1320 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1321
ce0440ff
JB
13222012-12-13 Juanma Barranquero <lekktu@gmail.com>
1323
1324 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1325 unload-feature finishes even when aborting an ongoing edebug session.
1326 Also, do not worry about edebug-mode, unload-feature takes care of it.
1327
f10331bf
AS
13282012-12-13 Andreas Schwab <schwab@suse.de>
1329
1330 * net/tls.el (tls-program): Update customize type.
1331
5f3a3bb1
JB
13322012-12-13 Juanma Barranquero <lekktu@gmail.com>
1333
1334 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1335 (edebug-setup-hook, cl-read-load-hooks): Use it.
1336 (edebug-unload-function): New function. (Bug#13163)
1337
6ce21463
MA
13382012-12-13 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1341 Otherwise, there could be errors in autoloading. (Bug#13151)
1342
d754b364
JH
13432012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1344
1345 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1346 sequences.
1347
727f9739 13482012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1349
1350 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1351 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1352 around `forward-comment' not recognizing ^M as whitespace.
1353
727f9739 13542012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1355
1356 * progmodes/python.el (python-skeleton-class)
1357 (python-skeleton-def): Do not add space after defun name.
1358
eb8006c6
SM
13592012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1362 (cl--symbol-function): Remove (now that funbound is like nil).
1363
4c74b1e4
GM
13642012-12-12 Glenn Morris <rgm@gnu.org>
1365
1366 * button.el (button--area-button-p): Fix typo.
1367
37f38bca
SS
13682012-12-12 Sam Steingold <sds@gnu.org>
1369
1370 * frame.el (frame-maximization-style): New user option.
1371 (toggle-frame-maximized): Toggle frame maximization according to
1372 `frame-maximization-style', bound to <f11>.
1373 (cycle-frame-maximized): Cycle between all maximization styles and
1374 non-maximized frame, bound to shift-<f11>.
1375
fd49a218
DC
13762012-12-12 David Cadé <codename68@gmail.com>
1377
1378 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1379
69e1c203
JB
13802012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1381
1382 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1383 (eieio-override-prin1): Don't quote kewords and booleans.
1384 (object-write) <eieio-default-superclass>: Don't put closing parens
1385 on new line, avoid needless empty lines, align values that are objects
1386 with the slot keyword (instead of beginning on the same line).
1387 (eieio-list-prin1): Align value with slot keyword; increase
1388 eieio-print-depth before printing members of the list.
1389
4b0df848
SM
13902012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1391
030f4af5
SM
1392 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1393 a display text-property.
1394 (report-emacs-bug-hook): Don't bother deleting it any more.
1395
6ac1f8ca
SM
1396 * hilit-chg.el (highlight-save-buffer-state): Delete.
1397 Use with-silent-modifications instead.
1398 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1399
4b0df848
SM
1400 * button.el: Handle buttons in display text-properties.
1401 (button--area-button-p, button--area-button-string):
1402 Use (STRING . STRING-POS) representation instead of just STRING.
1403
d46d2d3a
EZ
14042012-12-11 Eli Zaretskii <eliz@gnu.org>
1405
1406 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1407 subdirectory be skipped.
1408
a0099d31
GM
14092012-12-11 Glenn Morris <rgm@gnu.org>
1410
36327e4f
GM
1411 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1412
a0099d31
GM
1413 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1414 Treat preprocessor lines embedded in continuations like comments.
1415 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1416
ff3f6c26
JB
14172012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1418
1419 * calc/calc.el (calc-standard-date-formats): Add more date
1420 formats.
1421 * calc/calc-forms.el (math-parse-iso-date): New function.
1422 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1423 (math-parse-iso-date-validate): Add extra error checking.
1424 (calc-date-notation): Add ability to access new date formats.
1425
ed6f2cd4
SM
14262012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1429 font-lock as well as when there's no text-property.
1430
c868b919
J
14312012-12-10 Jambunathan K <kjambunathan@gmail.com>
1432
1433 * hi-lock.el: Refine the choice of default face.
1434 (hi-lock-keyword->face): New function. Use it wherever we used
1435 cadadadr instead.
1436 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1437 (hi-lock--last-face): Remove var.
1438 (hi-lock--unused-faces): New var to replace it.
1439 (hi-lock-read-face-name): Use/maintain it.
1440 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1441 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1442 if it has another face.
1443
2b8c9064
EZ
14442012-12-10 Eli Zaretskii <eliz@gnu.org>
1445
1446 * subr.el (w32notify-handle-event): New function.
1447 (inotify-handle-event): Doc fix.
1448
81606b10
RS
14492012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1450
1451 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1452
265c2fbf 14532012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1454
1455 * simple.el (just-one-space): Doc fix.
1456
265c2fbf 14572012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1458
c868b919 1459 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1460
265c2fbf 14612012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1462
1463 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1464 narrowed buffer (bug#12361).
1465
265c2fbf 14662012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1467
1468 * vc/vc-hooks.el (vc-state): Doc fix.
1469
265c2fbf 14702012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1471
1472 * mail/rmail.el (rmail-maybe-display-summary):
1473 Preserve buffer, in case select-window changes it. (Bug#13066)
1474
265c2fbf 14752012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1476
1477 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1478 cl-load-hook where they belong.
1479
bad162fd
SM
14802012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1483
ca065258
EZ
14842012-12-09 Eli Zaretskii <eliz@gnu.org>
1485
1486 Parallelize byte compilation on MS-Windows.
1487 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1488 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1489 (WINS_BASIC): Define as concatenation of the above.
1490 (compile): Subdivide into 4 separate and independent jobs that can
1491 be run in parallel.
1492 (compile0-CMD, compile0-SH): New targets for compiling
1493 COMPILE_FIRST files, which are prerequisites for the rest of the
1494 byte-compilation.
bad162fd
SM
1495 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1496 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1497 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1498 compiling under a Unixy shell.
1499
5dea55d2
CY
15002012-12-09 Chong Yidong <cyd@gnu.org>
1501
1502 * simple.el (set-mark-default-inactive): Delete this
1503 accidentally-introduced option.
1504 (set-mark-command, exchange-point-and-mark): Remove calls.
1505
c6c08d3f
GM
15062012-12-09 Glenn Morris <rgm@gnu.org>
1507
1508 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1509 Respect a defcustom's :set function, if appropriate. (Bug#109)
1510 (eval-defun): Doc fix.
1511
858aab4c
JL
15122012-12-08 Juri Linkov <juri@jurta.org>
1513
1514 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1515 (Info-fontify-node, Info-bookmark-make-record): Remove the
1516 file extension from Info-current-file (Bug#13016).
1517
2e4ad7e5
SM
15182012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1521 point, still provide some default.
1522 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1523 names, since we don't use it right now. Actually return the list.
1524 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1525
75498db0
CY
15262012-12-07 Chong Yidong <cyd@gnu.org>
1527
ffe7ba8f
CY
1528 * novice.el (disabled-command-function): Remove a spurious help
1529 xref (Bug#13043). Suggested by Kelly Dean.
1530
454eb095
CY
1531 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1532 syntax is specified (Bug#13025).
1533
75498db0
CY
1534 * info.el (Info-set-mode-line): Remove the file extension from
1535 Info-current-file if there is one (Bug#13016).
1536
13a40633
GM
15372012-12-07 Glenn Morris <rgm@gnu.org>
1538
54c8b5ba
GM
1539 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1540 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1541 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1542 and rmail-mime-decoded. (Bug#9841)
1543
13a40633
GM
1544 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1545 (batch-unrmail, unrmail): Doc fixes.
1546 (unrmail): Respect unrmail-mbox-format.
1547 * mail/rmail.el (rmail-mbox-format): New option.
1548 (rmail-show-message-1): Respect rmail-mbox-format.
1549
4611a3cc
SM
15502012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1553
1812c724
SM
15542012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1555
338bfefa
SM
1556 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1557 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1558 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1559 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1560 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1561 (cl-progv): Don't rely on dynamic scoping to find the body.
1562 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1563 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1564 (cl-declaim): Use backquotes.
1565 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1566 Use "cl--" prefix for the object's tag.
1567
1812c724
SM
1568 * ses.el: Use advice-add/remove.
1569 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1570 (copy-region-as-kill, yank): Use advice-add.
1571 (ses-unload-function): Use advice-remove.
1572
24fc9480
JB
15732012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1574
1575 * button.el: Make them work in header-lines (bug#12817).
1576 (button-map): Add bindings for header-line and mode-line use.
1577 (button-get, button-put, button-label): `button' may now be a string.
1578 (button-activate): Don't make it a defsubst.
1579 (button--area-button-p, button--area-button-string): New functions.
1580 (make-text-button): Fix the return value when `beg' was a string.
1581 (push-button): Handle the mode-line case.
1582
853c1ffc
SM
15832012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1584
93852cb0
SM
1585 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1586 (sql-signum): Remove. Use `cl-signum' instead.
1587 (sql-read-passwd): Remove; use read-passwd instread.
1588 (sql-get-login-ext): Use read-string.
1589 (sql-get-login): Use dolist and pcase.
1590 (sql--completion-table): Rename from sql-try-completion.
1591 Use complete-with-action.
1592 (sql-mode): Don't change abbrev-all-caps globally.
1593 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1594 (sql-postgres-completion-object): Initialize vars in their `let'.
1595 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1596 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1597 (sql-comint-interbase): Use a single append, without setq.
1598 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1599
853c1ffc
SM
1600 * hi-lock.el: Rework the default face and the serialize regexp code.
1601 (hi-lock--auto-select-face-defaults): Remove.
1602 (hi-lock-string-serialize-serial): Remove.
1603 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1604 make weak.
1605 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1606 equal string.
1607 (hi-lock-set-pattern): Adjust accordingly.
1608 (hi-lock--regexps-at-point): Simplify accordingly.
1609 (hi-lock--auto-select-face-defaults): Remove.
1610 (hi-lock--last-face): New var to replace it.
1611 (hi-lock-read-face-name): Rewrite (bug#11095).
1612 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1613
5504e2c7
MA
16142012-12-06 Michael Albinus <michael.albinus@gmx.de>
1615
853c1ffc
SM
1616 * net/tramp.el (tramp-replace-environment-variables):
1617 Hide compiler warning.
5504e2c7
MA
1618 (tramp-file-name-for-operation): Remove `executable-find',
1619 `start-process', `call-process' and `call-process-region'.
1620
853c1ffc 1621 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1622
1623 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1624 compatibility.
1625
1626 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1627
e1d51545
CY
16282012-12-06 Chong Yidong <cyd@gnu.org>
1629
1630 * ffap.el (ffap-replace-file-component): Fix typo.
1631
d8ad4d3f 16322012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1633
1634 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1635 fix open-paren-like token test (bug#12785).
1636
d8ad4d3f 16372012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1638
1639 * mail/rmailsum.el (rmail-new-summary): Tweak for
1640 rmail-maybe-display-summary changing buffer. (Bug#13066)
1641
d8ad4d3f 16422012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1643
1644 * info.el (Info-fontify-node): Don't hide the last newline.
1645 (Bug#12272)
1646
9ad948e2
KY
16472012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1648
1649 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1650 so as to enable message-read-from-minibuffer to expand mail aliases.
1651
4b5c89ee
SM
16522012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1655 the `intangible' property.
1656 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1657
5602a53a
DD
16582012-12-05 Deniz Dogan <deniz@dogan.se>
1659
1660 * net/rcirc.el (rcirc-urls): Update documentation.
1661 (rcirc-condition-filter): New function.
1662 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1663 and exclude consecutive duplicate URLs (Bug#6082).
1664
51b890ac
MA
16652012-12-05 Michael Albinus <michael.albinus@gmx.de>
1666
d5f97f62
MA
1667 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1668 Check return code of copy command.
1669
853c1ffc
SM
1670 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1671 Use group `tramp'. Add version.
51b890ac 1672
04b14f2b
CY
16732012-12-05 Chong Yidong <cyd@gnu.org>
1674
a3680194
CY
1675 * ffap.el (ffap-url-regexp): Don't require matching at front of
1676 string (Bug#4952).
1677 (ffap-url-p): If only a substring matches, return that.
1678 (ffap-url-at-point): Use the return value of ffap-url-p.
1679 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1680 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1681 (ffap-guess-file-name-at-point): Likewise.
1682 (ffap-replace-file-component): Fix typo.
1683
04b14f2b
CY
1684 * info.el (info-display-manual): Add existing Info buffers, whose
1685 files may not be in Info-directory-list, to the completion.
1686 (info--manual-names): New helper function.
1687
49596095
GM
16882012-12-05 Glenn Morris <rgm@gnu.org>
1689
1690 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1691 New functions, for detecting and resolving conflicts. (Bug#10709)
1692
b85aec93
J
16932012-12-04 Jambunathan K <kjambunathan@gmail.com>
1694
1695 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1696 (hi-lock-auto-select-face-defaults): New buffer local variable.
1697 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1698 (hi-lock-unface-buffer): Prompt user with useful defaults.
1699 With prefix arg, unhighlight all hi-lock patterns in buffer.
1700
8515507f
SM
17012012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1704
72cebfb7
MA
17052012-12-04 Michael Albinus <michael.albinus@gmx.de>
1706
1707 * Makefile.in (TRAMP_SRC):
1708 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1709
0ec3f7ea
JH
17102012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1711
1712 * net/tramp-adb.el: New package.
1713
770de7cf
CY
17142012-12-04 Chong Yidong <cyd@gnu.org>
1715
ce3e7725
CY
1716 * terminal.el: Move to obsolete/.
1717
770de7cf
CY
1718 * longlines.el: Move to obsolete/.
1719
1720 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1721 Remove code referring to longlines mode.
1722
c38a186c
JL
17232012-12-03 Juri Linkov <juri@jurta.org>
1724
1725 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1726
329bfd64
AM
17272012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1728
1729 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1730 (ispell-start-process, ispell-internal-change-dictionary):
1731 Make sure personal dictionary name is expanded after initial
1732 `default-directory' value. Use expanded strings for
1733 keep/restart checks and for value (Bug#13019).
329bfd64 1734
77a74935
JB
17352012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1736
1737 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1738
c5bc2d1d 17392012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1740
1741 * files.el (dir-locals-read-from-file): Check file non-empty
1742 before reading. (Bug#13038)
1743
c5bc2d1d 17442012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1745
1746 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1747 Remove any version extension before checking filename. (Bug#13006)
1748 (jka-compr-compression-info-list): Belated :version bump.
1749
c5bc2d1d 17502012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1751
8ecba97d
CY
1752 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1753
a5bf43ba
CY
1754 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1755 (buffer-menu): Doc fix (Bug#12294).
1756
c5bc2d1d 17572012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1758
1759 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1760 of diary-show-all-entries in the diary buffer (Bug#12994).
1761
c5bc2d1d 17622012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1763
1764 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1765 "<STDIN>". This is binary safe.
1766
682ceaf8
JB
17672012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1768
1769 * calc/calc-forms.el (math-absolute-from-iso-dt)
1770 (math-date-to-iso-dt, math-parse-iso-date-validate)
1771 (math-iso-dt-to-date): New functions.
1772 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1773 (math-fd-isoweekday): New variables.
1774 (calc-date-notation, math-parse-standard-date, math-format-date)
1775 (math-format-date-part): Add support for more formatting codes.
1776
db47d5e9
DG
17772012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1780 current buffer's file name when called interactively (Bug#12488).
1781
3faf4944
JL
17822012-12-02 Juri Linkov <juri@jurta.org>
1783
1784 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1785 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1786
cb5d51dc
YN
17872012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1788
1789 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1790 before using it for comparison (Bug#5297).
1791
f38cd76e
JA
17922012-12-01 Jari Aalto <jari.aalto@cante.net>
1793
1794 * textmodes/css-mode.el (css-current-defun-name): New function.
1795 (css-mode): Use it.
1796
1797 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1798 (html-mode): Use it.
1799
ba03d0d9
CY
18002012-12-01 Chong Yidong <cyd@gnu.org>
1801
1802 Modularize add-log-current-defun (Bug#2224).
1803 Suggested by Jari Aalto.
1804
1805 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1806 (add-log-current-defun): Move mode-specific code to other files.
1807 (add-log-lisp-like-modes, add-log-c-like-modes)
1808 (add-log-tex-like-modes): Variables deleted.
1809
1810 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1811 (lisp-mode-variables): Use it.
1812
1813 * progmodes/cc-mode.el (c-common-init):
1814 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1815 add-log-current-defun-function.
1816
1817 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1818 (m4-mode): Use it.
1819
1820 * progmodes/perl-mode.el (perl-current-defun-name): New.
1821 (perl-mode): Use it.
1822
853c1ffc
SM
1823 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1824 Use lisp-current-defun-name.
ba03d0d9
CY
1825
1826 * textmodes/tex-mode.el (tex-current-defun-name): New.
1827 (tex-common-initialization): Use it.
1828
1829 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1830 (texinfo-mode): Use it.
1831
92eadba5
CY
18322012-12-01 Chong Yidong <cyd@gnu.org>
1833
1834 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1835 * progmodes/autoconf.el (autoconf-mode):
1836 * progmodes/js.el (js-mode):
1837 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1838 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1839 * progmodes/perl-mode.el (perl-mode):
1840 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1841 * textmodes/css-mode.el (css-mode):
1842 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1843 (sgml-tags-invisible, sgml-guess-indent):
1844 * textmodes/tex-mode.el (tex-common-initialization)
1845 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1846 (doctex-mode, plain-tex-mode, latex-mode):
1847 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1848
3ddbf803
KK
18492012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1850
1851 * vc/vc-hg.el (vc-hg-next-revision):
1852 Ensure use of default "tip" output format. (Bug#6968)
1853
f0b6ae63
KS
18542012-12-01 Kim F. Storm <storm@cua.dk>
1855
1856 * startup.el (fancy-startup-tail): Add a clickable link
1857 (Bug#2176).
1858
c01bf73e
CY
18592012-12-01 Chong Yidong <cyd@gnu.org>
1860
1861 * startup.el (fancy-startup-tail): Improve the message about
1862 auto-save files (Bug#2176).
1863
f0b6ae63
KS
1864 * files.el (recover-session): Improve the descriptive message, and
1865 use substitute-command-keys.
1866
a9400458
GM
18672012-12-01 Glenn Morris <rgm@gnu.org>
1868
1869 * ido.el (ido-file-internal):
1870 Handle other-window, other-frame for dired. (Bug#13036)
1871
fb3bf6ce
GM
18722012-11-30 Glenn Morris <rgm@gnu.org>
1873
1874 * icomplete.el (icomplete-separator): Fix :version.
1875
a813fe3f
CY
18762012-11-30 Chong Yidong <cyd@gnu.org>
1877
1878 * shell.el (shell): For C-u M-x shell, use an inactive shell
1879 buffer as the default (Bug#1975).
276479fd
CY
1880 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1881 (shell-mode): Use them to reapply ansi colorization if Shell mode
1882 is re-enabled.
a813fe3f 1883
a8b733a5
CY
18842012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1885
1886 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1887
6fccd6e8
SB
18882012-11-30 Samuel Bronson <naesten@gmail.com>
1889
1890 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1891 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1892
53c9a337
TT
18932012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1894
1895 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1896 by move-to-column (Bug#3234).
1897
ccf520bb
CY
18982012-11-30 Chong Yidong <cyd@gnu.org>
1899
1900 * longlines.el (longlines-wrap-line, longlines-encode-region):
1901 Preserve text properties (Bug#1425).
1902
171b0949
OT
19032012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1904
1905 * vc/vc.el (vc-register): Allow registering a file which is
1906 already registered with a different backend (Bug#10589).
1907
cc37e70f
J
19082012-11-29 Jambunathan K <kjambunathan@gmail.com>
1909 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * icomplete.el: Change separator; add ido-style commands.
1912 (icomplete-show-key-bindings): Remove custom var.
1913 (icomplete-get-keys): Remove function.
1914 (icomplete-forward-completions, icomplete-backward-completions):
1915 New commands.
1916 (icomplete-minibuffer-map): New var.
1917 (icomplete-minibuffer-setup): Use it.
1918 (icomplete-exhibit): Don't delay if the list of completions is known.
1919 (icomplete-separator): New custom.
1920 (icomplete-completions): Use it.
1921 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1922 (minibuffer-force-complete-and-exit): New command.
1923 (minibuffer--complete-and-exit): New function extracted from
1924 minibuffer-complete-and-exit.
1925 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
1926
1927 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1928 error message when the file doesn't exist (bug#12974).
1929
31646597
KD
19302012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1931
1932 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1933
e9df8f87
GM
19342012-11-29 Glenn Morris <rgm@gnu.org>
1935
824eefe4
GM
1936 * files.el (hack-dir-local-variables): Warn if try to set
1937 coding via dir-locals, since it doesn't work. (Bug#7169)
1938
4ad900d9
GM
1939 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1940 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1941 Set buffer-local value of desktop-save-buffer.
1942 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1943 New functions.
1944 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1945 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1946
e9df8f87
GM
1947 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1948 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1949 Doc fix.
1950 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1951 Doc fixes.
1952
e7c8fcc4
JB
19532012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1954
1955 * calc/calc-forms.el (calc-date-notation): Fix regexp
1956 used to find time codes. Fix symbol for seconds.
1957
48d6d9c0
GM
19582012-11-27 Glenn Morris <rgm@gnu.org>
1959
1960 * emacs-lisp/derived.el (derived-mode-make-docstring):
1961 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1962
369f945d
SM
19632012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1966 lexically scoped variables (bug#13005).
1967
5c9cf0a3 19682012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 1969
999e745e
GM
1970 * vc/vc-hooks.el (vc-mistrust-permissions):
1971 Default to t, to avoid data-loss. (Bug#11490)
98f99594 1972
5c9cf0a3 19732012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 1974
999e745e
GM
1975 * progmodes/python.el (python-indent-guess-indent-offset):
1976 If indentation is guessed make python-indent-offset buffer-local.
1977
207cb73c 1978 Fix Imenu regression.
999e745e
GM
1979 * progmodes/python.el (python-nav-beginning-of-defun):
1980 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
1981 (python-imenu-prev-index-position): New function.
1982
5c9cf0a3 19832012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
1984
1985 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1986
1987 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 1988 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 1989
5c9cf0a3 19902012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
1991
1992 * hippie-exp.el (hippie-expand-try-functions-list):
1993 Re-autoload it. (Bug#12982)
1994
5c9cf0a3 19952012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 1996
369f945d
SM
1997 * descr-text.el (describe-char-padded-string):
1998 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 1999
5c9cf0a3 20002012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2001
2002 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2003 and obsoletion message.
2004
5c9cf0a3 20052012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2006
2007 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2008 the constructs to keep outside of the `cl-block' (bug#12977).
2009
5c9cf0a3 20102012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2011
2012 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2013 keep reading until we get the up-event anyway, in order to process
2014 the up-event for mouse-1-click-follows-link (Bug#12971).
2015
848a2dd1
SM
20162012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2019 base function is not yet defined (bug#12965).
2020 (ad-activate-advised-definition): Use ad-compile-function.
2021 (ad-activate): Use cond.
2022
9ad79506
LL
20232012-11-25 Leo Liu <sdl.web@gmail.com>
2024
2025 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2026 (Bug#12979)
2027
e2cb57f5
VB
20282012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2029
2030 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2031 reftex-section-info-function in order to be compatible with
2032 Texinfo integration.
2033
2034 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2035 (reftex-section-post-regexp, reftex-section-info-function):
2036 New variable.
2037 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2038 reftex-section-post-regexp, and reftex-section-info-function in order
2039 to be compatible with Texinfo integration.
2040
2041 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2042 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2043 Texinfo integration.
2044
1c4f115d
CY
20452012-11-25 Chong Yidong <cyd@gnu.org>
2046
2047 * faces.el: Make face-spec-set more analogous to setq.
2048 (face-spec-set): Change the third arg to specify whether this
2049 function is being called via defface, customize, or a third party.
2050 Set the appropriate symbol properties. Clear the override spec if
2051 setting via Custom. Initialize face if necessary. (Bug#4988)
2052 (face-spec-recalc): Allow theme faces to completely replace the
2053 defface spec, in the same way as custom faces (Bug#8454).
2054
2055 * cus-face.el (custom-declare-face): Move face initialization to
2056 face-spec-set.
2057 (custom-theme-set-faces): Don't initialize the face name here, as
2058 that is now done in face-spec-set.
2059
2060 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2061 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2062 Simplify by using the new arg to face-spec-set.
2063
2064 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2065 reset face-override-spec too, and use custom-declare-face.
2066
c2350548
JD
20672012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2068
2069 * term/ns-win.el (ns-initialize-window-system): Move creation of
2070 fontsets here (Bug#11964).
2071
ecfc364c
VB
20722012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2073
2074 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2075 cell renaming.
2076
0917cc54
CY
20772012-11-24 Chong Yidong <cyd@gnu.org>
2078
433212bf
CY
2079 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2080 obsolete.
2081
0917cc54
CY
2082 * custom.el (custom-theme-set-variables): Use a topological sort
2083 for ordering by custom dependencies (Bug#12952).
2084 (custom--sort-vars, custom--sort-vars-1): New functions.
2085
d125ca15 20862012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2087
2088 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2089 lexical-binding (bug#12938).
2090
d125ca15 20912012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2092
2093 * image-mode.el (image-transform-check-size): Use assertions only
2094 for images of type imagemagick.
2095
2096 Otherwise no error, image-transform-fit-to-{width,height} is
2097 silently ignored, as before. Doc fix.
2098
d125ca15 20992012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2100
2101 * faces.el (color-defined-p): Doc fix (Bug#12853).
2102
d125ca15 21032012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2104
2105 * dired.el (dired-mark): Add optional arg `interactive'.
2106 Check for `use-region-p' if `interactive' is non-nil.
2107 (dired-unmark, dired-flag-file-deletion): Add optional arg
2108 `interactive'. Call `dired-mark' with the arg `interactive'.
2109 (Bug#10624)
2110
cc4c01bd
JL
2111 * wdired.el: Revert 2012-10-17 change partly and replace it with
2112 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2113 (wdired-finish-edit): Add marks for new file names to
2114 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2115 after `revert-buffer'.
2116 (wdired-do-renames): Remove calls to `dired-remove-file',
2117 `dired-add-file', `dired-add-entry'. (Bug#11795)
2118
d125ca15 21192012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2120
dc310ed0
AM
2121 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2122
b03aabda
AM
2123 Fix bugs in the state cache. Enhance a debugging mechanism.
2124 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2125 "brace at column zero" strategy for C++.
2126 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2127 (c-parse-state-point): New variable.
2128 (c-record-parse-state-state): Record old parse state with
2129 `copy-tree'. Record previous value of point.
2130 (c-debug-parse-state-double-cons): New debugging function.
2131 (c-debug-parse-state): Call the above new function.
2132 (c-toggle-parse-state-debug): Output a confirmatory message.
2133
002c019c
SM
2134 * progmodes/cc-mode.el (c-before-change, c-after-change):
2135 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2136 `c-after-change'.
2137
930a6273
CY
21382012-11-23 Chong Yidong <cyd@gnu.org>
2139
2140 * find-cmd.el (find-constituents): Add executable, ipath,
2141 readable, samefile, writable, daystart, regextype (Bug#12856).
2142
15c9d04e
SM
21432012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2146
2ecb2679
PE
21472012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2148
2149 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2150 definition. This fixes a bootstrap failure.
a14a5a40
PE
2151 (calc-gregorian-switch): In menu, put dates before regions.
2152 This is easier to follow, lines up better in the menu, and lets us
2153 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2154 names, not "Vatican", as that's better for non-expert users.
2155 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2156 Bohemia and Moravia (which existed then and now) and not
2157 Czechoslovakia (which didn't exist then and doesn't exist now).
2158 What is now the U.S. mostly did not switch at the same time as
2159 Britain, so omit the U.S. Correct spelling of "Britain".
2160 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2161
723da6aa
JB
21622012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2163
2164 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2165 after the variable is changed.
2166
21fa2482
DC
21672012-11-21 Daniel Colascione <dancol@dancol.org>
2168
2169 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2170 in SQL declarations for font-lock.
2171 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2172
3ca2f1bf
GM
21732012-11-21 Glenn Morris <rgm@gnu.org>
2174
1bf335cf
GM
2175 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2176 (face-italic-p): Add optional argument "inherit".
2177
3ca2f1bf
GM
2178 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2179 Remove -p suffix from names, for consistency with other set-face-*.
2180 (set-face-inverse-video): Fix interactive spec.
2181 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2182 * textmodes/table.el (table--update-cell-face):
2183 Use set-face-inverse-video rather than now obsolete alias.
2184
6ef2e5ef 21852012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2186
2187 * simple.el (line-move): Don't call line-move-partial if
2188 scroll-conservatively is in effect. (Bug#12927)
2189
6ef2e5ef 21902012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2191
93b05041
SM
2192 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2193 Fallback on completion-at-point rather than
2194 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2195 (eshell-cmpl-initialize): Setup completion-at-point.
2196
2197 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2198
bc715d67
SM
2199 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2200
6ef2e5ef 22012012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2202
2203 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2204 are remote, check out-of-band property for both.
2205
6ef2e5ef 22062012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2207
2208 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2209 code rewrite.
2210
6ef2e5ef 22112012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2212
535efd4a
PE
2213 More minor time fixes.
2214 * calendar/time-date.el: Commentary fix.
2215 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2216 too much other code depends on (0 0) time stamps.
2217 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2218 Add a couple of FIXME comments.
2219
0c93aa38
PE
2220 Minor cleanup for times as lists of four integers.
2221 * files.el (dir-locals-directory-cache):
2222 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2223 Doc fixes.
2224 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2225 * ps-bdf.el (bdf-file-newer-than-time):
2226 Process four-integers time stamps, not two. Doc fixes.
2227
23ba2705
SM
22282012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2e31777b
SM
2230 * uniquify.el (uniquify-managed): Use defvar-local.
2231 (rename-buffer, create-file-buffer): Advise with advice-add.
2232 (uniquify-unload-function): Unadvise accordingly.
2233
8b62d742
SM
2234 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2235 (trace-buffer): Don't purecopy.
2236 (trace-entry-message, trace-exit-message): Add `context' arg.
2237 (trace--timer): New var.
2238 (trace-make-advice): Adjust for use in nadvice.
2239 Add `context' argument. Delay `display-buffer' via a timer.
2240 (trace-function-internal): Use advice-add.
2241 (trace--read-args): New function.
2242 (trace-function-foreground, trace-function-background): Use it.
2243 (trace-function): Rename to trace-function-foreground and redefine as
2244 an alias to that new name.
2245 (untrace-function, untrace-all): Adjust to the use of nadvice.
2246
5d0ccd95
SM
2247 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2248
3837d988
SM
2249 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2250
23ba2705
SM
2251 * subr.el (called-interactively-p-functions): New var.
2252 (internal--called-interactively-p--get-frame): New macro.
2253 (called-interactively-p, interactive-p): Rewrite in Lisp.
2254 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2255 (called-interactively-p-functions): Use it.
2256 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2257 (called-interactively-p-functions): Use it.
2258 * allout.el (allout-called-interactively-p): Don't assume
2259 called-interactively-p is a subr.
2260
b0636be7
GM
22612012-11-20 Glenn Morris <rgm@gnu.org>
2262
2263 * profiler.el (profiler-report-mode-map): Add a menu.
2264 No need to bind `q' because we derive from special-mode.
2265 (profiler-report-find-entry): Handle calls from the menu-bar.
2266
855b17af
SM
22672012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2268
14146222
SM
2269 * emacs-lisp/byte-run.el (defun-declarations-alist):
2270 Allow a compiler-macro to be a lambda expression.
2271
2272 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2273 eval-when-compile.
2274 (python-syntax-context): Add compiler-macro.
2275 (python-font-lock-keywords): Simplify with De Morgan.
2276
1000d895
SM
2277 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2278
ac5392dc
SM
2279 * files.el (load-file): Require match in minibuffer selection, as was
2280 the case in Emacs-20 before we changed the spec to allow .elc files
2281 (bug#12935).
2282
19dc7206
SM
2283 * json.el: Don't require cl since we don't use it.
2284 * color.el: Don't require cl.
2285 (color-complement): `caddr' -> `nth 2'.
2286
855b17af
SM
2287 * calendar/time-date.el (time-to-seconds): De-obsolete.
2288
e8909bdc
JB
22892012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2290
2291 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2292 year numbers.
2293 (math-date-to-julian-dt): Adjust the initial approximation for the
2294 year to deal with the new definition of the DATE.
2295
6e9f7997
DC
22962012-11-19 Daniel Colascione <dancol@dancol.org>
2297
855b17af
SM
2298 * term/w32-win.el (cygwin-convert-path-from-windows):
2299 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2300
6a3dd257
CY
23012012-11-18 Chong Yidong <cyd@gnu.org>
2302
2303 * filecache.el (file-cache--read-list): New function.
2304 (file-cache-add-directory-list, file-cache-add-file-list)
2305 (file-cache-delete-file-list, file-cache-delete-directory-list):
2306 Use it to read a list of files or directories (Bug#12846).
2307 (file-cache-add-file, file-cache-add-directory)
2308 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2309 (file-cache-delete-directory): Print an message.
2310
eef97f35
JB
23112012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2312
2313 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2314 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2315
913c8291
GM
23162012-11-18 Glenn Morris <rgm@gnu.org>
2317
2318 * image.el (insert-image, insert-sliced-image): Doc fix.
2319
2ac9538d 23202012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2321
2322 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2323 (Bug#12810).
2324
2ac9538d 23252012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2326
2327 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2328 response when the target file is in a subdirectory (Bug#12757).
2329
2ac9538d 23302012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2331
2332 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2333
2ac9538d 23342012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2335
9a5e2ee3
GM
2336 * emacs-lisp/cl-lib.el (face-underline-p):
2337 Use set-face-underline rather than the alias set-face-underline-p.
2338
65463c40 2339 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2340 * subr.el (with-output-to-temp-buffer):
2341 Add doc xref to with-temp-buffer-window.
65463c40 2342
c9ed8e3d
JB
23432012-11-18 Juanma Barranquero <lekktu@gmail.com>
2344
2345 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2346 * calc/calc.el (math-format-date-cache): Declare.
2347
310e60d9
PE
23482012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2349
6f6b82d6
PE
2350 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2351 It also uses January 1, 1 AD as its day number 1.
310e60d9 2352 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2353 (math-julian-date-beginning-int): Implement this.
310e60d9 2354
d7fe6352
JB
23552012-11-17 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * descr-text.el (quail-find-key):
2358 * dired.el (desktop-file-name):
2359 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2360 * generic-x.el (comint-mode, comint-exec):
2361 * image-dired.el (widget-forward):
2362 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2363 (speedbar-change-expand-button-char)
2364 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2365 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2366 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2367 (widget-field-action, widget-value-set):
2368 * speedbar.el (imenu--make-index-alist):
2369 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2370 (ring-length, ring-insert):
2371 * vcursor.el (compare-windows-skip-whitespace):
2372 * woman.el (dired-get-filename):
2373 Declare functions.
2374
2375 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2376
c9f618db
JB
23772012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2378
2379 * calc/calc.el (calc-gregorian-switch): New variable.
2380
2381 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2382 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2383 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2384 (math-leap-year-p): Add option to distinguish between Julian
2385 and Gregorian calendars.
2386 (math-day-number): Use `math-day-in-year' to do the computations.
2387 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2388 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2389 to do the computations.
2390 (math-date-to-dt): Use `math-date-to-julian-dt' and
2391 `math-date-to-gregorian-dt' to do the computations.
2392 (calcFunc-weekday, math-format-date-part): Use the new version of
2393 the DATE to determine the weekday.
2394 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2395 when necessary.
2396
3804f7bc
EZ
23972012-11-17 Eli Zaretskii <eliz@gnu.org>
2398
2399 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2400 Cygwin; otherwise use 'file:'. (Bug#12914)
2401 (cygwin-convert-path-from-windows): Declare, to avoid
2402 byte-compiler warnings.
2403
de959d4d
AP
24042012-11-17 Andreas Politz <politza@fh-trier.de>
2405
2406 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2407 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2408 prefix and negative numeric prefix args (Bug#12795).
2409
e45deaef
SB
24102012-11-17 Stephen Berman <stephen.berman@gmx.net>
2411
2412 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2413 Don't signal an error with a score that is too low to add to the
2414 list of top scores. (Bug#12779)
2415
ec15e0ff
CY
24162012-11-17 Chong Yidong <cyd@gnu.org>
2417
8e7696a1
CY
2418 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2419
ec15e0ff
CY
2420 * filecache.el (file-cache-add-file): Handle relative file name in
2421 the argument (Bug#12694).
2422
60c4ee66
JH
24232012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2424
2425 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2426
cdc5d88c
SM
24272012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2428
dd0c5bbb
SM
2429 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2430
cdc5d88c
SM
2431 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2432
0ff7851c
MR
24332012-11-16 Martin Rudalics <rudalics@gmx.at>
2434
2435 * window.el (enlarge-window, shrink-window): Don't mention return
2436 value in doc-string (Bug#12896).
2437 (window--display-buffer): Don't resize frames - it won't work
2438 with all window managers and defeat pop-up-frame-alist.
2439 (display-buffer-alist): In doc-string explain that CONDITION can
2440 be a function and which arguments are passed to it (Bug#12854).
2441 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2442 expressions (Bug#12854).
2443 (display-buffer): Pass ACTION argument to
2444 display-buffer-assq-regexp.
2445
dedd1884
GM
24462012-11-16 Glenn Morris <rgm@gnu.org>
2447
7c82753d
GM
2448 * window.el (fit-frame-to-buffer-bottom-margin)
2449 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2450
dedd1884
GM
2451 * faces.el (face-underline-p): Use face-attribute-specified-or.
2452
96e05507 24532012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2454
2455 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2456
96e05507 24572012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2458
2459 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2460
96e05507 24612012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2462
17c083ac
GM
2463 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2464 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2465
bde3c6c0
GM
2466 * faces.el (face-underline-p): Doc fix. Handle :underline being
2467 things other than `t' (a string, a list).
2468 (face-inverse-video-p): Doc fix.
2469 (set-face-underline): Rename it back from set-face-underline-p.
2470 Doc fix. Allow interactive input of values other than t.
2471 (read-face-attribute): Apply formatting to :underline,
2472 since like :box and :stipple it can take list values.
2473
e2e13f18
GM
2474 * term.el (ansi-term): Don't let C-x escape-char binding
2475 clobber the more standard C-c binding. (Bug#12842)
2476
e0ea8060
GM
2477 * subr.el (set-temporary-overlay-map): Doc fix.
2478
96e05507 24792012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2480
2481 * window.el (record-window-buffer)
2482 (display-buffer-record-window): When copying the markers to
2483 window-point preserve window-point-insertion-type. (Bug#12588)
2484
96e05507 24852012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2486
2487 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2488 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2489 Use new names for hooks rather than obsolete aliases.
2490
faeafc01
DC
24912012-11-15 Daniel Colascione <dancol@dancol.org>
2492
2493 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2494 prefix instead of "file:" so that when FILE-NAME begins with "//",
2495 as it does when the target file is on a network share, url-handler
2496 isn't confused.
2497
1232d6c2
SM
24982012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2501 a preactivated advice from an old advice.el; they're not compatible!
2502
47f01a8a
KY
25032012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2504
2505 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2506 Fix string-spec case.
2507
2508 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2509
a61428c4
SM
25102012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2513 (advice--buffer-local-function-sample): New var.
2514 (advice--set-buffer-local, advice--buffer-local): New functions.
2515 (add-function, remove-function): Use them.
2516
875ce3a7
DA
25172012-11-15 Drew Adams <drew.adams@oracle.com>
2518
2519 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2520
589fc479
SM
25212012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2524 potential binding of print-gensym to t, and prettify (back)quotes in
2525 case they appear in args's default values (bug#12884).
2526
1668ea90
SM
25272012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2530 (advice-eval-interactive-spec): New function.
2531 (advice--make-interactive-form): Support around advice (bug#12844).
2532
8619323f
DG
25332012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2534
2535 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2536 more strict. Add docstring.
c62792e7
DG
2537 (ruby-expression-expansion-re): Extract from
2538 `ruby-match-expression-expansion'.
2539 (ruby-syntax-propertize-function): After everything else, search
2540 for expansions in string literals, mark their insides as
2541 whitespace syntax and save match data for font-lock.
2542 (ruby-font-lock-keywords): Use the 2nd group from expression
2543 expansion matches.
2544 (ruby-match-expression-expansion): Use the match data saved to the
2545 text property in ruby-syntax-propertize-function.
8619323f 2546
9c3912d3
SM
25472012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2550 (bug#12879).
2551
5e9419e8
DG
25522012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2553
2554 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2555 start/end keyword a bit harder. Works with different values of N.
2556 Add more comments.
2557 (ruby-end-of-block): Update accordingly.
2558
3c442f8b
SM
25592012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2560
fa470af0
SM
2561 * woman.el (woman-file-name): Don't mess with unread-command-events
2562 (bug#12861).
2563
3c442f8b
SM
2564 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2565 Remove out of date self-require hack.
2566 (ad-do-advised-functions): Use simple `dolist'.
2567 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2568 (ad-advice-definition): Redefine as functions.
2569 (ad-advice-classes): Move before first use.
2570 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2571 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2572 (ad--defalias-fset): Remove functions.
fa470af0 2573 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2574 (ad-get-orig-definition): Rewrite.
2575 (ad-make-advised-definition-docstring): Change base docstring.
2576 (ad-real-orig-definition): Rewrite.
2577 (ad-map-arglists): Change name of called function.
2578 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2579 (ad-make-advised-definition): Simplify.
2580 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2581 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2582 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2583 function and call ad-activate if needed.
2584 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2585 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2586 (ad-compile-function): Compile ad-Advice-*.
2587 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2588 (ad-start-advice, ad-stop-advice): Remove.
2589
5745cae6
DG
25902012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2591
2592 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2593 period before class method names, not after. Remove handling of
2594 one impossible case. Add comments.
2595
413d4689
SM
25962012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2597
7db1bda8
SM
2598 * emacs-lisp/advice.el: Remove support for freezing.
2599 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2600 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2601 Remove support for `freeze'.
2602
413d4689
SM
2603 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2604 override the default.
2605 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2606 cl--dotimes/dolist.
2607 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2608 `cl' is loaded.
2609
2610 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2611 from add-advice.
2612 (advice--strip-macro): New function.
2613 (advice--defalias-fset): Use them to handle macros.
2614 (advice-add): Use them.
2615 (advice-member-p): Correctly handle macros.
2616
f178c32d
DG
26172012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2618
7db1bda8
SM
2619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2620 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2621
f78ee6af 26222012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2623
2624 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2625
f78ee6af 26262012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2627
2628 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2629 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2630 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2631
f78ee6af 26322012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2633
2634 Fix end-of-defun misbehavior.
2635 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2636 python-beginning-of-defun-function. Handle nested defuns
2637 correctly.
2638 (python-nav-end-of-defun): Rename from
2639 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2640 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2641 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2642 parent defuns as soon as possible.
2643
f78ee6af 26442012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2645
2646 * progmodes/flymake.el (flymake-error-bitmap)
2647 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2648 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2649
f78ee6af 26502012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2651
2652 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2653 backward, always stop at indentation. Reverts the change from
2654 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2655
f78ee6af 26562012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2657
a1d3e07e
GM
2658 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2659 Add ibuffer-filter-by-derived-mode.
2660
84acf328
GM
2661 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2662 the same name shadowing each other.
2663
38785e75
GM
2664 * window.el (with-temp-buffer-window): Doc tweak.
2665
57fc0fee
GM
2666 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2667
6ba6a3e5
GM
2668 * help.el (temp-buffer-max-height):
2669 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2670 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2671
231d8498
SM
26722012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * emacs-lisp/nadvice.el: New package.
2675 * subr.el (special-form-p): New function.
2676 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2677 (elp-all-instrumented-list): Remove var.
2678 (elp-not-profilable): Remove elp-wrapper.
2679 (elp-profilable-p): Use autoloadp and special-form-p.
2680 (elp--advice-name): New const.
2681 (elp-instrument-function): Use advice-add.
2682 (elp--instrumented-p): New predicate.
2683 (elp-restore-function): Use advice-remove.
2684 (elp-restore-all, elp-reset-all): Use mapatoms.
2685 (elp-set-master): Use elp--instrumented-p.
2686 (elp--make-wrapper): Rename from elp-wrapper, return a function
2687 suitable for advice-add. Use cl-inf.
2688 (elp-results): Use mapatoms+elp--instrumented-p.
2689 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2690 (debug-function-list): Remove var.
2691 (debug): Rename arg, and then let-bind it explicitly inside.
2692 (debugger-setup-buffer): Rename arg.
2693 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2694 (debugger-frame-number): Adjust to new debug-on-entry setup.
2695 (debug--implement-debug-on-entry): Rename from
2696 implement-debug-on-entry, add argument.
2697 (debugger-special-form-p): Remove, use special-form-p instead.
2698 (debug-on-entry): Use advice-add.
2699 (debug--function-list): New function.
2700 (cancel-debug-on-entry): Use it, along with advice-remove.
2701 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2702 (debugger-list-functions): Use debug--function-list instead of
2703 debug-function-list.
2704 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2705 (ad-special-form-p): Remove, use special-form-p instead.
2706 (ad-set-advice-info): Use add-function and remove-function.
2707 (ad--defalias-fset): Adjust accordingly.
2708
19e09879
GM
27092012-11-10 Glenn Morris <rgm@gnu.org>
2710
714cebd1
GM
2711 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2712 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2713 (report-emacs-bug-create-existing-bugs-buffer)
2714 (report-emacs-bug-parse-query-results)
2715 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2716
bf67dafa
GM
2717 * term.el (term-default-fg-color, term-default-bg-color):
2718 Make obsolete, rather than just saying "deprecated" in the doc.
2719
19e09879
GM
2720 * term.el (term): Rename from `term-face'.
2721 (term-current-face, ansi-term-color-vector)
2722 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2723 Update all users.
2724
6baf66d5 27252012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2726
2727 * server.el (server-create-window-system-frame): Handle Nextstep
2728 specially (Bug#12780).
2729
6baf66d5 27302012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2731
2732 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2733 Unautoload, and make obsolete. (Bug#7449)
2734
6baf66d5 27352012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2736
2737 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2738 rename from diff-remove-trailing-whitespace (Bug#12831).
2739
6baf66d5 27402012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2741
2742 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2743 miscompilation of trace.el.
2744
6baf66d5 27452012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2746
2747 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2748
6baf66d5 27492012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2750
2751 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2752 (bug#12812).
2753
6baf66d5 27542012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2755
2756 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2757 a defcustom with an appropriate :set function.
2758 (minibuffer-default--in-prompt-regexps): New function.
2759
6baf66d5 27602012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2761
031b2ea7
GM
2762 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2763 (define-modify-macro): Doc fixes.
2764
2ee1d59f
GM
2765 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2766 (gv-define-simple-setter): Update doc of `fix-return'.
2767
6baf66d5 27682012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2769
b715ed44
SM
2770 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2771 twice when `fix-return' is set (bug#12813).
2772
d57c286e
SM
2773 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2774 gv-define-simple-setter (bug#12812).
2775
c9cac599
SM
2776 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2777 (bug#12756).
2778
6baf66d5 27792012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2780
2781 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2782
5593ed90
GM
2783 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2784 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2785 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2786 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2787
2788 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2789
05a859c1
LL
27902012-11-10 Leo Liu <sdl.web@gmail.com>
2791
2792 * ido.el (ido-set-matches-1): Improve flex matching performance by
2793 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2794
32e5c58c
SM
27952012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2798 (ad--defalias-fset): New function.
2799 (ad-safe-fset): Remove.
2800 (ad-make-freeze-definition): Use cl-letf*.
2801
f5925cd9
SM
28022012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2803
da03ef8a
SM
2804 * subr.el (dolist): Don't bind VAR in RESULT.
2805
6858633a
SM
2806 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2807 (fset, documentation): Don't save real def since we don't advise.
2808 (ad-do-advised-functions): Remove problematic `result-form'.
2809 (ad-safe-fset): `ad-real-fset' => `fset'.
2810 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2811 uses CL's dolist internally.
2812 (ad-arglist): Remove unused arg `name'.
2813 (ad-docstring, ad-make-advised-docstring):
2814 `ad-real-documentation' => `documentation'.
2815 (warning-suppress-types): Declare.
2816 (ad-set-arguments): Simple CSE.
2817 (ad-recover-normality): Sanity check.
2818
f5925cd9
SM
2819 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2820 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2821
93a66b3a
VB
28222012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2823
2824 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2825 `ses-cell'. This means that the same mapping is done for all SES
2826 sheets. That is good enough for cells with standard A1 names, but
2827 not for named cell. So a hash map is added for the latter.
2828 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2829 (ses-sym-rowcol): Use hashmap for named cell.
2830 (ses-is-cell-sym-p): New defun.
2831 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2832 (ses-create-cell-variable): Add cell to hashmap when name is not
2833 A1-like.
93a66b3a
VB
2834 (ses-rename-cell): Check that cell new name is not already in
2835 spreadsheet with the use of ses-is-cell-sym-p
2836 (ses-rename-cell): Use hash map for named cells, but accept also
2837 renaming back to A1-like.
2838
67dd8ad1
SM
28392012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2840
57618ecf
SM
2841 * emacs-lisp/advice.el: Use new dynamic docstrings.
2842 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2843 Use dynamic-docstring-function instead of ad-advice-info.
2844 (ad--make-advised-docstring): New function extracted from
2845 ad-make-advised-docstring.
2846 (ad-make-advised-docstring): Use it.
2847 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2848 from sql-help.
2849 (sql-help): Use it with dynamic-docstring-function.
2850
67dd8ad1
SM
2851 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2852
be883b34
SM
28532012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2854
d41706aa
SM
2855 * files.el (hack-one-local-variable--obsolete): New function.
2856 (hack-one-local-variable): Use it for obsolete settings.
2857
85e55412
SM
2858 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2859 the new name.
2860
be883b34
SM
2861 * progmodes/js.el (js--filling-paragraph): New var.
2862 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2863 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2864 less sneaky.
2865
cabc040a
JD
28662012-11-08 Julien Danjou <julien@danjou.info>
2867
2868 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2869 `auto-mode-alist' (Bug#12835).
2870
d14bb752
SM
28712012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2872
79b3e376
SM
2873 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2874 (perl--prettify-symbols-alist): New const.
2875 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2876 New functions.
2877 (perl-font-lock-keywords-2): Use them.
2878 (perl-electric-noindent-p): New function.
2879 (perl-mode): Use it to set up electric-indent-mode.
2880 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2881 (perl-mode-map): Remove bindings for them.
2882 (perl-imenu-generic-expression, perl-outline-level):
2883 Match functions&packages in column>0.
2884
3b11e6ac
SM
2885 * env.el (env--substitute-vars-regexp): New const.
2886 (substitute-env-vars): Use it. Add `only-defined' arg.
2887 * net/tramp.el (tramp-replace-environment-variables): Use it.
2888
784c1a7b
SM
2889 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2890 Byte-compile *before* eval in eval-and-compile.
2891 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2892 (byte-compile-file-form-autoload): Don't hide actual definition.
2893 (byte-compile-maybe-guarded): Accept `functionp' as well.
2894
d14bb752
SM
2895 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2896
499a0f7a
MA
28972012-11-07 Michael Albinus <michael.albinus@gmx.de>
2898
2899 * notifications.el (notifications-get-server-information-method):
2900 New defconst.
2901 (notifications-get-capabilities): Fix docstring.
2902 (notifications-get-server-information): New defun.
2903
f0704a9a
AM
29042012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2905
2906 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2907 readability.
2908
b159a1fd
AM
2909 * textmodes/ispell.el: Experimental support for support debugging.
2910 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2911 buffer for ispell.
2912 (ispell-print-if-debug): New function to print stuff to
2913 `ispell-debug-buffer' if debugging is enabled.
2914 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2915 show some debugging info.
2916 (ispell-buffer-with-debug): New function that creates a debugging
2917 buffer and calls `ispell-buffer' with debugging enabled.
2918
056cb3a1
AM
2919 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2920 comment in autoconf mode. (Bug#12768)
2921
8e6a67b7
DA
29222012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2923
2924 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2925 frame-first-window, frame-root-window, frame-selected-window,
2926 minibuffer-selected-window, minibuffer-window,
2927 window-absolute-pixel-edges, window-at, window-body-height,
2928 window-body-width, window-display-table, window-combination-limit,
2929 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2930 window-inside-edges, window-inside-pixel-edges, window-left-child,
2931 window-left-column, window-margins, window-next-buffers,
2932 window-next-sibling, window-new-normal, window-new-total,
2933 window-normal-size, window-parameter, window-parameters, window-parent,
2934 window-pixel-edges, window-point, window-prev-buffers,
2935 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2936 window-start, window-text-height, window-top-child, window-top-line,
2937 window-total-height, window-total-width and window-use-time to the list
2938 of functions without side-effects.
2939 (toplevel): Add window-valid-p to the list of error-free functions
2940 without side-effects.
2941
53fc914f
AM
29422012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2943
f5925cd9
SM
2944 * textmodes/ispell.el (ispell-program-name):
2945 Update spellchecker parameters when customized.
53fc914f 2946
9749e2b0
GM
29472012-11-04 Glenn Morris <rgm@gnu.org>
2948
2949 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2950
2cbafa56
CY
29512012-11-04 Chong Yidong <cyd@gnu.org>
2952
2953 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2954 same-window-* variables.
2955
85178ca1
JL
29562012-11-04 Juri Linkov <juri@jurta.org>
2957
2958 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2959 (isearch-describe-key, isearch-describe-mode): Use a display
2960 action instead of binding same-window-* variables (Bug#10040).
2961
5c677d44
GM
29622012-11-03 Glenn Morris <rgm@gnu.org>
2963
49138400
GM
2964 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2965 Rename handler properties back from cl-- to cl-. (Bug#12788)
2966
5c677d44
GM
2967 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2968
1d4341f9
EZ
29692012-11-03 Eli Zaretskii <eliz@gnu.org>
2970
2971 * term/pc-win.el: Don't load term/internal from here.
2972
2973 * loadup.el: Load term/internal from here.
2974
12fd5ee1
FEG
29752012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2976
2977 * progmodes/python.el (inferior-python-mode): Fix hang in
2978 jit-lock (Bug#12645).
2979
43bcfda6
MR
29802012-11-03 Martin Rudalics <rudalics@gmx.at>
2981
2982 * window.el (switch-to-visible-buffer)
2983 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2984
376a8e83
GM
29852012-11-03 Glenn Morris <rgm@gnu.org>
2986
2987 * emacs-lisp/cl-lib.el (cl--random-time):
2988 Rename from cl-random-time. (Bug#12773)
2989 (cl--gensym-counter, cl--random-state): Update callers.
2990 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2991
0f7b074f
CY
29922012-11-03 Chong Yidong <cyd@gnu.org>
2993
2994 * cus-start.el: Make cursor-type customizable (Bug#11633).
2995
3a6851d9
GM
29962012-11-02 Glenn Morris <rgm@gnu.org>
2997
00a3b041
GM
2998 * filecache.el: No need to load find-lisp when compiling.
2999 (find-lisp-find-files): Autoload it.
3000 (file-cache-add-directory-recursively): Don't require find-lisp.
3001
11fef14a
GM
3002 * image.el (image-type-from-file-name): Trivial simplification.
3003
3a6851d9
GM
3004 * emacs-lisp/bytecomp.el (byte-compile-eval):
3005 Decouple "noruntime" and "cl-functions" warnings.
3006
b4b096e4
SB
30072012-11-01 Stephen Berman <stephen.berman@gmx.net>
3008
3009 * play/gomoku.el (gomoku-display-statistics): Update mode line
3010 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3011
218e997a
MR
30122012-10-31 Martin Rudalics <rudalics@gmx.at>
3013
3014 * window.el (quit-restore-window): If the window has been
3015 created on an existing frame and ended up as the sole window on
3016 that frame, do not delete it (Bug#12764).
3017
b08b6da7
SM
30182012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3618df45
SM
3020 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3021 Rename from sh--inside-arithmetic-expression, handle more cases
3022 (bug#11263).
3023
b08b6da7
SM
3024 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3025 (sh-font-lock-open-heredoc): Use it (bug#12770).
3026
4ddedf94
GM
30272012-10-30 Glenn Morris <rgm@gnu.org>
3028
f43a5263
GM
3029 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3030
4ddedf94
GM
3031 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3032
748b0d84
CY
30332012-10-29 Chong Yidong <cyd@gnu.org>
3034
b5dd9a77
CY
3035 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3036 function key is stored in a keyboard macro (Bug#4894).
3037
748b0d84
CY
3038 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3039
e07fcbdc
SM
30402012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3041
d7f9cc85
SM
3042 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3043 header comments".
3044 (diff-unified->context, diff-context->unified)
3045 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3046
c606253c
SM
3047 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3048
e07fcbdc
SM
3049 * files.el (find-alternate-file): Only ask one question (bug#12487).
3050
894b9dd9
CY
30512012-10-29 Chong Yidong <cyd@gnu.org>
3052
1dc2755a
CY
3053 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3054 Suggested by Dan Nicolaescu (Bug#6326).
3055
329c48d8
CY
3056 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3057
2230fa5b 3058 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3059
e84cad57
CY
3060 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3061
1913c5f5
CY
3062 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3063
894b9dd9
CY
3064 * face-remap.el (face-remap-add-relative): Handle the case where a
3065 face-remapping-alist entry is a cons cell (Bug#12762).
3066
329c48d8
CY
30672012-10-29 Kevin Ryde <user42@zip.com.au>
3068
3069 * woman.el (woman-parse-numeric-value): Handle picas correctly
3070 (Bug#12639).
3071
a0ccbcbd
GM
30722012-10-29 Glenn Morris <rgm@gnu.org>
3073
3074 * emacs-lisp/cl.el (defsetf): Doc fix.
3075
b3871e59
SM
30762012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3079 syntax to the matching opener, if any (bug#12547).
3080 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3081 matching open as a "case-(".
3082 (sh-smie-rc-grammar): Add a corresponding rule for it.
3083
cd44022c
DH
30842012-10-28 Daniel Hackney <dan@haxney.org>
3085
3086 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3087 "PKGNAME-autoloads.el" in case we created it.
3088
70edffb1
SM
30892012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3090
86957a0c
SM
3091 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3092 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3093 (completion--twq-all): Disable too-strict assertions.
86957a0c 3094
70edffb1
SM
3095 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3096
d069271c
EZ
30972012-10-27 Eli Zaretskii <eliz@gnu.org>
3098
3099 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3100 text to match the real keybindings.
3101
e2f022a3
JL
31022012-10-27 Juri Linkov <juri@jurta.org>
3103
3104 * wdired.el (wdired-keep-marker-rename): New defcustom.
3105 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3106 (Bug#11795)
3107
3108 * dired.el (dired-keep-marker-rename): Add reference to
3109 `wdired-keep-marker-rename' in the docstring.
3110 Add default character value ?R to display initially in
3111 Customization UI instead of ?@.
3112
df171c23
MR
31132012-10-27 Martin Rudalics <rudalics@gmx.at>
3114
3115 * window.el (display-buffer): In doc-string describe
3116 window-height and window-width alist entries.
3117
3118 * time.el (display-time-world): Restore fit-window-to-buffer
3119 behavior.
3120
05b621a6
CY
31212012-10-27 Chong Yidong <cyd@gnu.org>
3122
3123 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3124
55f197b2
J
31252012-10-26 Jambunathan K <kjambunathan@gmail.com>
3126
3127 * minibuffer.el (completion-category-overrides): New completion
3128 category `bookmark' (bug#11131).
3129
372212df
SM
31302012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3131
150f809c
SM
3132 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3133 Silence bogus compiler warnings for ad-do-it.
3134
372212df
SM
3135 * bookmark.el (bookmark-completing-read): Set the completion category
3136 to `bookmark' (bug#11131).
3137
c5772569
B
31382012-10-26 Bastien <bzg@altern.org>
3139 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * face-remap.el: Use lexical-binding.
3142 (text-scale-adjust): Improve docstring. Use itself for the temporary
3143 overlay-map bindings, so as to repeat the "Use..." message each time.
3144
a2be0357
SM
31452012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3146
63314e57
SM
3147 * emacs-lisp/macroexp.el (macroexp--expand-all):
3148 Obey byte-compile-warning-enabled-p (bug#12486).
3149
a2be0357
SM
3150 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3151 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3152
8c7727c3
MR
31532012-10-26 Martin Rudalics <rudalics@gmx.at>
3154
3155 * mouse.el (mouse-drag-line): Move last form into preceding when
3156 clause (Bug#12731).
3157
3158 * help.el (resize-temp-buffer-window): Fix doc-string.
3159
3f2a848d
DE
31602012-10-25 David Engster <deng@randomsample.de>
3161
3162 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3163 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3164
3165 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3166 always loaded. Require `speedbar' unconditionally.
3167
a7723be6
SM
31682012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3169
aaabfc8b
SM
3170 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3171
414a8595
SM
3172 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3173
fb5b9475
SM
3174 * net/ldap.el (ldap-search-internal): The official ldif format starts
3175 with a "version: 1" header (bug#12724).
3176
a7723be6
SM
3177 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3178 (bug#12721).
3179
a05cb6e3
GM
31802012-10-25 Glenn Morris <rgm@gnu.org>
3181
3182 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3183
3c92de70
SM
31842012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * minibuffer.el (minibuffer-force-complete): Use one more marker
3187 for the temporary-overlay-map command (bug#12619).
3188
a4b6d7c6
CY
31892012-10-24 Chong Yidong <cyd@gnu.org>
3190
3191 * time.el (display-time-world-mode): Derive from special-mode.
3192 (display-time-world): Use display-buffer (Bug#12708).
3193 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3194 (display-time-world-display): Wrap the final delete-char inside
3195 inhibit-read-only.
a4b6d7c6 3196
75e8f9d2
CY
31972012-10-24 Chong Yidong <cyd@gnu.org>
3198
cd996018
CY
3199 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3200 Doc fix.
3201
75e8f9d2
CY
3202 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3203
d92df117
SM
32042012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * minibuffer.el (completion--all-sorted-completions-location): New var.
3207 (completion--cache-all-sorted-completions)
3208 (completion--flush-all-sorted-completions): Use it.
3209 (completion-in-region, completion-in-region--postch)
3210 (completion-at-point, completion-help-at-point): Use markers in
3211 completion-in-region--data (bug#12619).
3212
9c3e39f3
SM
32132012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3214
c79825bd
SM
3215 * progmodes/compile.el (compilation-start): Try to handle common
3216 quoting of `cd' argument (bug#12640).
3217
9c3e39f3
SM
3218 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3219 (bug#12671).
3220
a6709bc7
GM
32212012-10-23 Glenn Morris <rgm@gnu.org>
3222
3223 * progmodes/gud.el (gud-menu-map):
3224 Check gdb-active-process is bound. (Bug#12358)
3225
d1069532
SM
32262012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3227
d20d69c0
SM
3228 * repeat.el (repeat): Set real-this-command (bug#12232).
3229
d1069532
SM
3230 * htmlfontify.el (hfy-post-html-hook):
3231 * filesets.el (filesets-cache-fill-content-hook):
3232 * arc-mode.el (archive-extract-hook):
3233 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3234 * net/rcirc.el (rcirc-sentinel-functions)
3235 (rcirc-receive-message-functions, rcirc-activity-functions)
3236 (rcirc-print-functions):
3237 * net/dbus.el (dbus-event-error-functions):
3238 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3239 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3240 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3241 * term/sun.el (sun-raw-prefix-hooks):
3242 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3243
f7eac6d8
MA
32442012-10-23 Michael Albinus <michael.albinus@gmx.de>
3245
d1069532
SM
3246 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3247 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3248 (tramp-smb-wait-for-output): Add timeout to
3249 `tramp-accept-process-output' calls.
3250
608d9d7c
CY
32512012-10-23 Chong Yidong <cyd@gnu.org>
3252
49238e7f
CY
3253 * faces.el (font-list-limit): Define as an obsolete variable.
3254
3255 * startup.el (command-line):
3256 * cus-start.el: Don't refer to font-list-limit.
3257
608d9d7c
CY
3258 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3259
4ff5b1b2
SM
32602012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * subr.el (internal-temp-output-buffer-show): Rename from
3263 temp-output-buffer-show, since previously compiled files expect this name.
3264
ea1d4aac
GM
32652012-10-23 Glenn Morris <rgm@gnu.org>
3266
3267 * image.el (image-type-from-file-name): If multiple types match,
3268 return the first one that is supported. (Bug#9045)
3269
eda82a31
GM
32702012-10-22 Glenn Morris <rgm@gnu.org>
3271
3272 * image.el (imagemagick-enabled-types): Doc fix.
3273
4f020bec
TA
32742012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3275
3276 * progmodes/which-func.el (which-func-current): The hash-table may have
3277 an explicit nil (bug#12338).
3278
c77d37e2
SM
32792012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * electric.el (electric-pair-delete-selection-self-insert-function):
3282 Rename to electric-pair-will-use-region, return a boolean.
3283 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3284
3285 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3286 (delete-selection-pre-hook): Use use-region-p.
3287 (delete-selection-self-insert-function): Remove.
3288 (self-insert-command): Obey self-insert-uses-region-functions.
3289 (self-insert-iso): Revert to previous setting, since we don't actually
3290 know what that command does.
3291 (delete-selection-self-insert-hooks): Remove.
3292
b1d39ccc
SL
32932012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3294
3295 * delsel.el (delete-selection-helper): New function, extracted from
3296 delete-selection-pre-hook.
3297 (delete-selection-pre-hook): Use it.
3298 (delete-selection-self-insert-function): New function.
3299 (delete-selection-self-insert-hooks): New hook.
3300 (self-insert-command, self-insert-iso): Use it.
3301 * electric.el (electric-pair-syntax): New function, extracted from
3302 electric-pair-post-self-insert-function.
3303 (electric-pair-post-self-insert-function): Use it.
3304 (electric-pair-delete-selection-self-insert-function): New function.
3305 (electric-pair-mode): Require delsel and setup
3306 delete-selection-self-insert-hooks (bug#11520).
3307
045ef729
CY
33082012-10-20 Chong Yidong <cyd@gnu.org>
3309
4c5d08a8
CY
3310 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3311 no changes to show (Bug#12586).
3312
045ef729
CY
3313 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3314 list explicitly (Bug#12571).
3315
3503c798 33162012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3317
b1d39ccc
SL
3318 * progmodes/flymake.el (flymake-create-temp-inplace):
3319 Use file-truename.
79e1997a 3320
2068905b
EZ
33212012-10-20 Eli Zaretskii <eliz@gnu.org>
3322
3323 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3324
4c9e9550
JB
33252012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3326
3327 * calc/calc-units.el (math-extract-units): Properly extract powers
3328 of units.
3329
1a6e7e38
DC
33302012-10-20 Daniel Colascione <dancol@dancol.org>
3331
3332 * frame.el (make-frame): Set x-display-name as we used to in order
3333 to unbreak creating an X11 frame from an Emacs daemon started
3334 without a display.
3335
8e808318
SM
33362012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3339 the same completion-field (bug#12221).
8e808318 3340
fb0104da
MR
33412012-10-19 Martin Rudalics <rudalics@gmx.at>
3342
3343 * emacs-lisp/debug.el (debug): Record height of debugger window
3344 also when debugger will be back (Bug#8789).
3345
8c27235e
CY
33462012-10-18 Chong Yidong <cyd@gnu.org>
3347
3348 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3349 Convert to defcustom.
3350 (gdb-get-source-file): Don't bind pop-up-windows.
3351
3352 * progmodes/gud.el (gud-display-line): Don't specially re-use
3353 other frames for the gdb-mi case (Bug#12648).
3354
90eacf99
SM
33552012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3356
aaf0c300
SM
3357 * emacs-lisp/advice.el: Clean up commentary a bit.
3358 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3359 (byte-code-function-p): Never redefine.
3360
90eacf99
SM
3361 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3362
281c9d2b
GM
33632012-10-18 Glenn Morris <rgm@gnu.org>
3364
40714e3d
GM
3365 * dired.el (dired-sort-toggle): Some ls implementations only allow
3366 a single option string. (Bug#12666)
3367
281c9d2b
GM
3368 * minibuffer.el (completion-cycle-threshold): Doc fix.
3369
b278604e
KH
33702012-10-17 Kenichi Handa <handa@gnu.org>
3371
90eacf99
SM
3372 * international/mule.el (set-keyboard-coding-system):
3373 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3374 Supply TERMINAL arg to set-input-meta-mode.
3375
df171c23 33762012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3377
3378 * wdired.el (wdired-old-marks): New variable.
3379 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3380 (wdired-do-renames): Move point with renamed file and don't lose
3381 mark status (Bug#11795).
3382
e5a94ec4
JL
33832012-10-16 Juri Linkov <juri@jurta.org>
3384
3385 * replace.el (query-replace-help): Mention multi-buffer replacement
3386 keys in the Help message. (Bug#12655)
3387
d18a0d24
CY
33882012-10-15 Chong Yidong <cyd@gnu.org>
3389
3390 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3391
8111f5e6
EZ
33922012-10-14 Eli Zaretskii <eliz@gnu.org>
3393
7b9abf24
EZ
3394 * window.el (display-buffer): Doc fix.
3395
8111f5e6
EZ
3396 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3397 Adjust the msft regexp to the output of Studio 2010, and move msft
3398 before edg-1. See the discussion on emacs-devel,
3399 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3400 for the details.
3401
5046ef67
SM
34022012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3403
9760c73c
SM
3404 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3405 (oset): Move uses of object-class-fast macro after its definition.
3406
5046ef67
SM
3407 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3408
0d11ff1c
CY
34092012-10-13 Chong Yidong <cyd@gnu.org>
3410
3411 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3412 enabled, re-enable it (Bug#11963).
3413
88ded8ac
MR
34142012-10-13 Martin Rudalics <rudalics@gmx.at>
3415
3416 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3417 non-nil, restore window configuration (Bug#12623).
3418
bd0ffffd
SM
34192012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3420
06485aa8
SM
3421 * help-fns.el (describe-variable, describe-function-1):
3422 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3423
bd0ffffd
SM
3424 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3425
3a989246
GM
34262012-10-12 Glenn Morris <rgm@gnu.org>
3427
3428 * mail/rmailsum.el (rmail-header-summary):
3429 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3430
55cd00c8
FEG
34312012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3432
bd0ffffd
SM
3433 * progmodes/python.el (python-mode-map):
3434 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3435 (python-nav--up-list): Fix behavior for blocks on the same level.
3436
ac9fc2c7
SM
34372012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3438
d8cc4c00 3439 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3440
5253a5fd
SM
3441 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3442 changes to the format of load-history.
3443
ac9fc2c7
SM
3444 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3445 completion-ignore-case in case that var is buffer-local (bug#12615).
3446
cde44a77
KH
34472012-10-11 Kenichi Handa <handa@gnu.org>
3448
3449 * international/eucjp-ms.el: Re-generated.
3450
4ef4a10d
KH
34512012-10-10 Kenichi Handa <handa@gnu.org>
3452
3453 * select.el (xselect--encode-string): If a coding is specified for
3454 selection, and that is compatible with COMPOUND_TEXT, use it.
3455
9d7f027b
MR
34562012-10-10 Martin Rudalics <rudalics@gmx.at>
3457
3458 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3459 (switch-to-buffer):
3460 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3461
238f3a58
SM
34622012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3465 Don't document nil as a useful value (bug#12583).
3466
1d51f99c
MA
34672012-10-09 Michael Albinus <michael.albinus@gmx.de>
3468
238f3a58
SM
3469 * net/tramp.el (tramp-debug-message):
3470 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3471 (with-tramp-progress-reporter): Rename from
3472 `tramp-with-progress-reporter'.
238f3a58
SM
3473 (with-tramp-file-property, with-tramp-connection-property):
3474 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3475 `with-connection-property', respectively.
3476
3477 * net/tramp-cache.el: Remove `with-file-property' and
3478 `with-connection-property'.
3479
3480 * net/tramp.el:
3481 * net/tramp-gvfs.el:
3482 * net/tramp-sh.el:
3483 * net/tramp-smb.el: Adapt callees.
3484
3485 * net/trampver.el: Update release number.
3486
26b77251
GM
34872012-10-09 Glenn Morris <rgm@gnu.org>
3488
9a5f296f
GM
3489 * w32-fns.el (set-message-beep):
3490 * term/w32-win.el (set-message-beep): Update declarations.
3491
94c66ce5
SM
34922012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3493
10766e9e
SM
3494 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3495 (mode-line-widen, mode-line-input-method-map)
3496 (mode-line-coding-system-map, mode-line-remote)
3497 (mode-line-unbury-buffer, mode-line-bury-buffer)
3498 (mode-line-next-buffer, mode-line-previous-buffer):
3499 Replace save-selected-window+select-window => with-selected-window.
3500
f754db08
SM
3501 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3502 * progmodes/cc-vars.el (bq-process): Remove, unused.
3503
94c66ce5
SM
3504 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3505
a4ff7fe1
FEG
35062012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3507
3508 Implemented `backward-up-list'-like navigation.
3509 * progmodes/python.el (python-nav-up-list)
3510 (python-nav-backward-up-list): New functions.
3511 (python-mode-map): Define substitute key for backward-up-list to
3512 python-nav-backward-up-list.
3513
24517d82
FEG
35142012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3515
3516 * progmodes/python.el (python-fill-paragraph): Rename from
3517 python-fill-paragraph-function. Fixed fill-paragraph for
3518 decorators (Bug#12605).
3519
51867ae2
FEG
35202012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3521
3522 * progmodes/python.el (python-shell-output-filter): Handle extra
3523 carriage return in OSX (Bug#12409).
3524
a5b773c4
FEG
35252012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3526
3527 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3528 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3529 (python-syntax-propertize-function): Use it.
3530 (python-shell-output-syntax-table): New var.
3531 (inferior-python-mode): Prevent unbalanced parens/quotes from
3532 previous output mess with current input context.
3533
13373538
JB
35342012-10-08 Juanma Barranquero <lekktu@gmail.com>
3535
3536 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3537 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3538
775a132d
MA
35392012-10-08 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * ffap.el (ffap-replace-file-component): Support Tramp file name
3542 syntax, not only ange-ftp's one.
3543
3ab44929
GM
35442012-10-08 Glenn Morris <rgm@gnu.org>
3545
57f1dee4
GM
3546 * cus-start.el (message-log-max): Set :version.
3547
3ab44929
GM
3548 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3549
6a088630
MR
35502012-10-08 Martin Rudalics <rudalics@gmx.at>
3551
3552 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3553 the minibuffer window (Bug#10851).
3554
8dbce54c
FEG
35552012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3556
3557 Enhancements on forward-sexp movement.
3558 * progmodes/python.el (python-nav-beginning-of-statement)
3559 (python-nav-end-of-statement): Return point-marker.
3560 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3561 (python-info-current-symbol)
3562 (python-info-statement-starts-block-p): Rename from
3563 python-info-beginning-of-block-p.
3564 (python-info-statement-ends-block-p): Rename from
3565 python-info-end-of-block-p.
3566 (python-info-beginning-of-statement-p)
3567 (python-info-end-of-statement-p)
3568 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3569 New functions.
3570
5acd2b3e
SM
35712012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3574 frame-selected-windows.
3575
e08348a0
DC
35762012-10-08 Daniel Colascione <dancol@dancol.org>
3577
3578 * battery.el (battery-status-function): Check for
3579 w32-battery-status itself, not system-time windows-nt.
3580
3581 * frame.el: Require cl-lib.
3582 (display-format-alist): New variable mapping frame types to
3583 functions that initialize them.
3584 (window-system-for-display): New function: interprets
3585 display-format-alist.
3586 (make-frame-on-display): Remove existing display-selection logic
3587 and just forward to make-frame, which will now DTRT.
3588 (make-frame): Restructure to use window-system-for-display to
3589 figure out how to create a frame on a given display.
3590 (display-mouse-p): Look for frame-type w32, not a particular
3591 system-type.
3592
3593 * loadup.el: Load w32 lisp code when we have the w32 feature.
3594
3595 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3596 system-type windows-nt.
3597
3598 * server.el (server-create-window-system-frame): Look for window
3599 type.
3600 (server-proces-filter): Only force a window system when windows-nt
3601 _and_ w32. Explain why.
3602
3603 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3604 of window systems we configure for the mode.
3605
3606 * startup.el (command-line): Mark window system is initialized
3607 after we've done it.
3608
3609 * common-win.el (x-select-text): Look for w32, not windows-nt.
3610
3611 * ns-win.el: Require cl-lib. Add ourselves to
3612 display-format-alist.
3613 (ns-initialize-window-system): Assert we're not initialized twice.
3614
3615 * w32-win.el: Enable lexical binding; require cl-lib; add
3616 ourselves to display-format-alist.
3617 (w32-handle-dropped-file): Convert incoming dropped files from
3618 Windows paths to Cygwin ones before passing them on to the rest of
3619 Emacs.
3620 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3621 (w32-initialize-window-system): Assert we're not initialized twice.
3622
3623 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3624 (x-initialize-window-system): Assert we're not initialized twice.
3625
3626 * w32-common-fns.el: New File.
3627 (w32-version, w32-using-nt, w32-get-clipboard-data)
3628 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3629 (w32-charset-info-alist, x-last-selected, text)
3630 (x-get-selection-value, x-selection-value): Move here.
3631
3632 * w32-fns.el: Require w32-common-fns.
3633 (w32-version, w32-using-nt, w32-get-clipboard-data)
3634 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3635 (w32-charset-info-alist, x-last-selected, text)
3636 (x-get-selection-value, x-selection-value): Move to
3637 w32-common-fns.
3638
3639 * w32-vars.el:
3640 (w32-allow-system-shell, w32-system-shells): Define only in
3641 non-cygwin case.
3642
795b1482
SM
36432012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3646 (read-passwd): Remove a few more potential sources of leaks.
3647
f27c99dc
FEG
36482012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3649
3650 * progmodes/python.el (inferior-python-mode)
795b1482 3651 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3652 variables copied from parent buffer.
3653
fcacb558
JD
36542012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3655
3656 * term/ns-win.el (ns-read-file-name): Update declaration to match
3657 nsfns.m.
3658 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3659 it is set when font is acted upon.
3660
be0d5bae
FEG
36612012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3662
3663 Enhancements to indentation.
3664 * progmodes/python.el (python-indent-context): Give priority to
3665 inside-string context. Make comments indentation markers.
3666 (python-indent-region): Do not mess with strings, unless it's the
3667 enclosing set of quotes.
3668
13af0d10
SM
36692012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3670
662a9d0e
SM
3671 * window.el (internal--before-save-selected-window)
3672 (internal--after-save-selected-window): New functions extracted from
3673 save-selected-window. Make sure we return the `alist' we construct.
3674 (save-selected-window): Use them.
3675
3676 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3677 Use with-selected-window.
3678
13af0d10
SM
3679 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3680 forms that define macros (bug#12593).
3681
6aa75fb6
KH
36822012-10-07 Kenichi Handa <handa@gnu.org>
3683
13af0d10
SM
3684 * international/mule-conf.el (compound-text-with-extensions):
3685 Add :mime-charset property as x-ctext.
6aa75fb6 3686
78d876b9
SM
36872012-10-07 Stefan Merten <smerten@oekonux.de>
3688
3689 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3690 (rst-indent-literal-normal, rst-indent-literal-minimized)
3691 (rst-indent-comment): Correct :version tag.
557337e9 3692 (rst-official-cvs-rev): Correct version string.
78d876b9 3693
99a1e701
GM
36942012-10-07 Glenn Morris <rgm@gnu.org>
3695
3696 * mail/rmailmm.el (rmail-mime-process-multipart):
3697 Do not confuse a multipart message with an epilogue
3698 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3699
08f18c3d
FEG
37002012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3701
3702 Fix shell output retrieval and comint-prompt-regexp init.
3703 * progmodes/python.el (inferior-python-mode):
3704 (python-shell-make-comint): Fix initialization of
3705 comint-prompt-regexp from copied file local variables.
3706 (python-shell-fetched-lines): Remove var.
3707 (python-shell-output-filter-in-progress): Rename from
3708 python-shell-fetch-lines-in-progress.
3709 (python-shell-output-filter-buffer): Rename from
3710 python-shell-fetch-lines-string.
3711 (python-shell-fetch-lines-filter): Delete function.
3712 (python-shell-output-filter): New function.
3713 (python-shell-send-string-no-output): Use them.
3714
82ed3ab4
GM
37152012-10-07 Glenn Morris <rgm@gnu.org>
3716
1595ecfa
GM
3717 * hi-lock.el (hi-lock-process-phrase):
3718 Try to make it less fragile. (Bug#7161)
3719
82ed3ab4
GM
3720 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3721
f1f4dba0
GM
37222012-10-06 Glenn Morris <rgm@gnu.org>
3723
addc11ed 3724 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3725 non-existent mode `help'.
3726 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3727
460042b8
GM
3728 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3729 (reftex-create-bibtex-footer): Fix custom types.
3730
67667c70
GM
3731 * progmodes/sh-script.el (sh-indent-after-continuation):
3732 Add explicit :group.
3733
18dec750
GM
3734 * textmodes/rst.el (rst-preferred-decorations)
3735 (rst-shift-basic-offset): Clarify obsolescence versions.
3736
d1a1c7e6
GM
3737 * profiler.el (profiler): Add missing group :version tag.
3738 * avoid.el (mouse-avoidance-banish-position):
3739 * proced.el (proced-renice-command):
3740 * calc/calc.el (calc-ensure-consistent-units):
3741 * calendar/icalendar.el (icalendar-import-format-uid):
3742 * net/tramp.el (tramp-save-ad-hoc-proxies):
3743 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3744 * progmodes/flymake.el (flymake-error-bitmap)
3745 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3746 * progmodes/sh-script.el (sh-indent-after-continuation):
3747 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3748 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3749 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3750 (vhdl-array-index-record-field-in-sensitivity-list)
3751 (vhdl-indent-comment-like-next-code-line):
3752 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3753 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3754 (reftex-cite-key-separator, reftex-create-bibtex-header)
3755 (reftex-create-bibtex-footer):
3756 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3757 (rst-indent-literal-normal, rst-indent-literal-minimized)
3758 (rst-indent-comment): Add missing custom :version tags.
3759
ef35abb4
GM
3760 * calendar/timeclock.el (timeclock-modeline-display):
3761 Add missing obsolete alias for renamed user option.
3762
d1aae614
GM
3763 * strokes.el (strokes-modeline-string):
3764 * emulation/crisp.el (crisp-mode-modeline-string):
3765 * eshell/esh-mode.el (eshell-status-in-modeline):
3766 Aliases to defcustoms must come before the defcustom.
3767
f1f4dba0
GM
3768 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3769 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3770 (cal-tex-cursor-week-monday): Doc fixes.
3771 (cal-tex-cursor-week2-summary): Doc fix.
3772 Rename from cal-tex-cursor-week-at-a-glance.
3773
3774 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3775 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3776
3777 * calendar/calendar.el (calendar-mode-map):
3778 Add cal-tex-cursor-week2-summary.
3779
d39109c3
SM
37802012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3781
685f87b0
SM
3782 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3783
d39109c3
SM
3784 * subr.el (read-passwd-map): New var.
3785 (read-passwd): Use `read-string' again.
3786 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3787
5694896d
J
37882012-10-06 Jambunathan K <kjambunathan@gmail.com>
3789
3790 * register.el (append-to-register, prepend-to-register):
3791 Deactivate mark, as does `copy-to-register' (bug#12389).
3792
9414dd8d
CY
37932012-10-06 Chong Yidong <cyd@gnu.org>
3794
3795 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3796
2b89bca4
KH
37972012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3798
3799 * international/characters.el: Fix simple mistake ((car chars) ->
3800 elt), delete duplicated code.
3801
d5acb99a
GM
38022012-10-06 Glenn Morris <rgm@gnu.org>
3803
3804 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3805
123ec157
JS
38062012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3807
3808 * color.el (color-hsl-to-rgb): Fix incorrect results for
3809 small and large hue values. (Bug#12559)
3810
7fa36ccb
FEG
38112012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3812
3813 Enhancements to docstring formatting when filling paragraphs.
3814 * progmodes/python.el (python-fill-docstring-style): Rename from
3815 python-fill-string-style. Added new style.
3816 (python-fill-string): Use new style. Better checks for
3817 docstrings.
3818
d8788e1e
GM
38192012-10-05 Glenn Morris <rgm@gnu.org>
3820
204f3953
GM
3821 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3822
d8788e1e
GM
3823 * color.el (color-name-to-rgb, color-rgb-to-hex)
3824 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3825 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3826 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3827 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3828
8d956cef
GM
3829 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3830
e8757f09 38312012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3832
3833 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3834 to get the correct size across symlinks.
3835
e8757f09
GM
3836 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3837
0e2ae83d
JL
38382012-10-04 Juri Linkov <juri@jurta.org>
3839
3840 * replace.el (query-replace-interactive): Declare obsolete.
3841 (query-replace-read-from): Add the last incremental search string
3842 to the list of default values accessible via M-n.
3843 (map-query-replace-regexp): Use `read-regexp'.
3844 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3845 (map-query-replace-regexp, replace-string, replace-regexp):
3846 Fix docstrings to replace mentions of `query-replace-interactive'
3847 with alternatives. (Bug#12526)
3848
93cacb6d
JL
38492012-10-04 Juri Linkov <juri@jurta.org>
3850
3851 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3852 (dired-pop-to-buffer): Declare obsolete.
3853 (dired-mark-pop-up): Doc fix.
3854
fc345011
FEG
38552012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3856
3857 Allow user to set docstring style for fill-paragraph.
3858 * progmodes/python.el
3859 (python-fill-comment-function, python-fill-string-function)
3860 (python-fill-decorator-function, python-fill-paren-function):
3861 Remove :safe for defcustoms.
3862 (python-fill-string-style): New defcustom
5694896d 3863 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
3864 (python-fill-string): Honor python-fill-string-style settings.
3865
6bab5d8b
MR
38662012-10-04 Martin Rudalics <rudalics@gmx.at>
3867
3868 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3869 after setting its buffer (Bug#10805).
3870
a1a9f411
FEG
38712012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3872
3873 Fix cornercase for string syntax.
3874 * progmodes/python.el (python-syntax-propertize-function):
3875 Simplify and enhance the regexp for unescaped quotes. Now it also
3876 matches quotes in weird situations like the single quote in
3877 "something\"'".
3878 (python-syntax-stringify): Simplify num-quotes detecting code.
3879
05e153a6
GM
38802012-10-03 Glenn Morris <rgm@gnu.org>
3881
3882 * help-macro.el (three-step-help):
3883 Revert 2012-09-29 change. (Bug#12567)
3884
2e566ecb
MR
38852012-10-03 Martin Rudalics <rudalics@gmx.at>
3886
96ef9ccd
MR
3887 * menu-bar.el (kill-this-buffer): Don't do anything when
3888 `menu-frame' is not alive or visible (Bug#8184).
3889
2e566ecb
MR
3890 * emacs-lisp/debug.el (debug): When quitting the debugger window
3891 restore current buffer (Bug#12502).
3892
a96e1cb7
CY
38932012-10-02 Chong Yidong <cyd@gnu.org>
3894
5694896d
J
3895 * progmodes/hideif.el (hif-lookup, hif-defined):
3896 Handle semantic-c-takeover-hideif.
a96e1cb7 3897
b3ecad33
PE
38982012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3899
3900 Change sampling interval units from ms to ns.
3901 * profiler.el (profiler-sampling-interval): Change units
3902 from ms to ns, multiplying the default by 1000000 so that
3903 it remains 1 ms.
3904 (profiler-report-cpu-line-format): Give enough room for
3905 the maximum counters on 64-bit hosts.
3906 (profiler-report-render-calltree-1): Call them "CPU samples",
3907 not "Time (ms)", since they are not milliseconds now (and
3908 never really were).
3909
8cb51b66 39102012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 3911
5694896d
J
3912 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3913 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 3914
fd795bf4
CY
39152012-10-02 Chong Yidong <cyd@gnu.org>
3916
3917 * emacs-lisp/eieio.el: Restore Version header.
3918
fe0a74f9
SM
39192012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3920
6be9197e
SM
3921 * vc/diff-mode.el (diff--auto-refine-data): New var.
3922 (diff-hunk): Use it to delay refinement.
3923 (diff-mode): Remove overlays when we turn off font-lock.
3924
18486139
SM
3925 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3926 (table-initialize-table-fixed-width-mode)
3927 (table-set-table-fixed-width-mode): Remove functions.
3928 (table-command-list): Move initialization into declaration.
3929 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3930 (table-with-cache-buffer): Use `declare'.
3931 (table-span-cell): Simplify via CSE.
3932 (table-fixed-width-mode): Use define-minor-mode.
3933 (table-call-interactively, table-funcall, table-apply): Remove.
3934 (table-function): New function, to replace them.
3935
d83ef976
SM
3936 * bookmark.el (bookmark-search-pattern): Remove var.
3937 (bookmark-read-search-input): Remove function.
3938 (bookmark-bmenu-search): Reimplement using a minibuffer.
3939
cd386662
SM
3940 * faces.el (modeline): Remove obsolete face name.
3941
fe0a74f9
SM
3942 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3943 and give a non-nil default value.
3944 (add-change-log-entry): Simplify accordingly.
3945
9f7b98f8
DG
39462012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3947
3948 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3949 (vc-git-log-edit-toggle-amend): New function.
3950 (vc-git-log-edit-toggle-signoff): New function.
3951 (vc-git-log-edit-mode): New major mode.
3952 (vc-git-log-edit-mode-map): Keymap for it.
3953 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3954
3955 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3956 header names.
3957 (log-edit-toggle-header): New function.
3958 (log-edit-extract-headers): Accept function values in HEADERS alist.
3959
62a81506
CY
39602012-10-01 David Engster <deng@randomsample.de>
3961
3962 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3963 from symbol property and change message to be more consistent with
3964 Emacs proper.
3965 (eieio-describe-generic): Add filename for each implementation.
3966 Fix indices for generic and normal methods.
3967 (eieio-method-def, eieio-class-def): New buttons.
3968 (eieio-help-find-method-definition)
3969 (eieio-help-find-class-definition): New functions.
3970 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3971 class, constructor and method definitions.
3972
3973 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3974 information in symbol property.
3975 (scoped-class): Remove.
3976 (eieio-slot-name-index, call-next-method): Check if it is bound.
3977
39782012-10-01 Leo P. White <lpw25@cam.ac.uk>
3979
3980 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3981 (eieio-custom-mode): New major mode.
3982 (eieio-customize-object): Use it.
3983
39842012-10-01 Eric Ludlam <zappo@gnu.org>
3985
3986 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3987 specifying the expected class, and whether subclassing is allowed.
3988 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
3989 (eieio-persistent-validate/fix-slot-value)
3990 (eieio-persistent-slot-type-is-class-p): New functions.
3991 (eieio-named::slot-missing): Doc fix.
62a81506
CY
3992
3993 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3994 Stop using unused publd variable.
3995
3996 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3997 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3998 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3999 (eieio-speedbar-handle-click): Do not specify a class for the
4000 method. Fixes method invocation order problems with EDE.
4001
375e49d4
SM
40022012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4005 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4006
16ce6ccd
KF
40072012-10-01 Karl Fogel <kfogel@red-bean.com>
4008
4009 * bookmark.el (bookmark-version-control): Give tags in the
4010 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4011 (bookmark-write-file): Bind `print-circle' to `t' to allow
4012 circular custom bookmark types. (Bug#12503)
16ce6ccd 4013
19e54a4d
PE
40142012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4015
86ec63ba
PE
4016 Revert the FOLLOW-SYMLINKS change for file-attributes.
4017 * files.el (remote-file-name-inhibit-cache, after-find-file):
4018 * time.el (display-time-file-nonempty-p): Undo last change.
4019
19e54a4d
PE
4020 * profiler.el (profiler-sampling-interval): Change default back to 1.
4021 See Stefan Monnier in
4022 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4023
0478776b
FEG
40242012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4025
4026 Shell output catching a la gud-gdb.
4027 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4028 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4029 New Vars.
0478776b
FEG
4030 (python-shell-fetch-lines-filter): New function.
4031 (python-shell-send-string-no-output): Use them.
4032
c22bac2c
TM
40332012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4034
4035 * profiler.el (profiler-sampling-interval): Rename from
4036 profiler-sample-interval.
4037 (profiler-sampling-interval): Default to 10.
4038 (profiler-find-profile): New command (was profiler-find-log).
4039 (profiler-find-profile-other-window): New command.
4040 (profiler-find-profile-other-frame): New command.
4041 (profiler-profile): Introduce API-level data structure.
4042
e7a2937b
PE
40432012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4044
4045 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4046 * files.el (remote-file-name-inhibit-cache):
4047 * time.el (display-time-file-nonempty-p): Use it.
4048 * files.el (after-find-file): Don't chase links before calling
4049 file-exists-p, as file-exists-p already does the right thing.
4050
4f595e15
RA
40512012-09-30 Ralf Angeli <angeli@caeruleus.net>
4052
4053 Merge from standalone RefTeX repository.
4054
4055 The following ChangeLog entries are shortened versions of the
4056 original ones with file paths adapted. A not so strongly edited
4057 version of the original ChangeLog can be found in the commit log.
4058
4059 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4060 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4061 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4062
4063 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4064 that entries with whitespace at various places are found.
4065 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4066 Include @String definitions in the resulting bib file. Add header
4067 and footer defined in `reftex-create-bibtex-header' and
4068 `reftex-create-bibtex-footer'.
4069 (reftex-do-citation): Make it possible again to insert
4070 non-existent entries. Save match data when asking for optional
4071 arguments. Return all keys, not just the first one.
4072 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4073 all citations in the same line.
4074 (reftex-parse-bibtex-entry): Accept additional optional argument
4075 `raw' and keep quotes or braces if it is non-nil. Match fields
4076 containing hyphens besides word constituents.
4077 (reftex-get-string-refs): New function.
4078 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4079 and ask if it should be reread in case it did.
4080 (reftex-pop-to-bibtex-entry)
4081 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4082 entries with spaces or tabs in front of arguments.
4083 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4084 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4085 Match entries containing numbers and symbol constituents.
4086 (reftex-do-citation, reftex-figure-out-cite-format):
4087 Use `reftex-cite-key-separator'.
4f595e15
RA
4088
4089 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4090 (reftex-mouse-view-crossref): Explain why point is set.
4091
4092 * textmodes/reftex-global.el: Whitespace changes.
4093
4094 * textmodes/reftex-index.el: Move provide statement to end of
4095 file.
4096 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4097 (reftex-index-visit-phrases-buffer): Set marker when visiting
4098 buffer. This allows for returning from the phrases file to the
4099 file one was just editing instead of the file where the last
4100 phrases was added from.
4101 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4102 punctuation syntax as it usually is not used as string quote in
4103 TeX-related modes and may occur unmatched. The change also
4104 prevents fontification of quoted content.
4105 (reftex-index-phrases-mode): Use it.
4106
375e49d4
SM
4107 * textmodes/reftex-parse.el (reftex-parse-from-file):
4108 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4109 (reftex-parse-from-file): Use beginning of match instead of end as
4110 bound.
4111
4112 * textmodes/reftex-ref.el: Adapt creation of
4113 `reftex-<package>-<macro>' functions to new structure of
4114 `reftex-ref-style-alist'.
375e49d4
SM
4115 (reftex-reference): Use `reftex-ref-style-list' function.
4116 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4117 reference macro if `reftex-ref-macro-prompt' is non-nil.
4118 (reftex-reference): Pass refstyle to `reftex-format-special'.
4119 Determine reference macro by looking at
375e49d4
SM
4120 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4121 Use only one special format function.
4f595e15
RA
4122 (reftex-varioref-vref, reftex-fancyref-fref)
4123 (reftex-fancyref-Fref): Remove definitions. The functions are now
4124 generated from `reftex-ref-style-alist'.
4125 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4126 Remove.
4127 (reftex-format-special): New function.
4128
4129 * textmodes/reftex-sel.el
4130 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4131 of `reftex-ref-style-alist'. Remove code for testing macro type.
4132 (reftex-select-toggle-varioref)
4133 (reftex-select-toggle-fancyref): Remove.
4134 (reftex-select-cycle-ref-style-internal)
4135 (reftex-select-cycle-ref-style-forward)
4136 (reftex-select-cycle-ref-style-backward): New functions.
4137 (reftex-select-label-map): Use `v' and `V' for general cycling
4138 through reference styles. Add `p' for switching between number
4139 and page reference types.
4140
375e49d4
SM
4141 * textmodes/reftex-toc.el (reftex-re-enlarge):
4142 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4143 the horizontal version throws an error even if the parameter is 0.
4144
4145 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4146 (reftex-plug-into-AUCTeX): Doc fix.
4147 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4148 string. Adapt to new name.
4149 (reftex-ref-style-alist): Change structure so that it is not
4150 possible to use multiple different package names within a style.
375e49d4
SM
4151 Remove the symbols for symbols for macro type distinction.
4152 Add characters for macro selection.
4f595e15
RA
4153 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4154 (reftex-create-bibtex-footer): New variables.
4155 (reftex-format-ref-function): Mention third argument of special
4156 format function.
375e49d4
SM
4157 (reftex-ref-style-alist, reftex-ref-style-default-list):
4158 New variables.
4f595e15
RA
4159 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4160 to new implementation. Mark as obsolete. Add compatibility code
4161 for honoring the variable values in case they are set.
375e49d4
SM
4162 (reftex-cite-format-builtin, reftex-bibliography-commands):
4163 Add support for ConTeXt.
4164 (reftex-format-ref-function, reftex-format-cite-function):
4165 Fix custom type.
4f595e15
RA
4166 (reftex-cite-key-separator): New variable.
4167
4168 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4169 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4170 `reftex-syntax-table' because parens have to retain their paren
4171 syntax in order for parsing of BibTeX entries like @book(...) to
4172 work.
4173 (reftex-in-comment): Do not error out if `comment-start-skip' is
4174 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4175 (reftex-tie-multifile-symbols): Add doc string.
4176 Initialize `reftex-ref-style-list'.
4f595e15
RA
4177 (reftex-untie-multifile-symbols): Add doc string.
4178 (reftex-add-index-macros): Doc fix.
4179 (reftex-ref-style-activate, reftex-ref-style-toggle)
4180 (reftex-ref-style-list): New functions.
4181 (reftex-mode-menu): Use them. Adapt to new structure of
4182 `reftex-ref-style-alist'.
4183 (reftex-select-with-char): Kill the RefTeX Select buffer when
4184 done.
4185 (reftex-remove-if): New function.
4186 (reftex-erase-all-selection-and-index-buffers)
4187 (reftex-mode-menu): Reference styles are now computed from
4188 `reftex-ref-style-alist'. Fix typo.
4189 (reftex-report-bug): New function.
4190 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4191 algorithms with O(n log n). Introduce optional argument SORT (not
4192 yet used).
4193
440ba395
FEG
41942012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4195
4196 Enhancements for triple-quote string syntax.
375e49d4
SM
4197 * progmodes/python.el (python-syntax-propertize-function):
4198 Match both quote cases in one regexp.
440ba395
FEG
4199 (python-syntax-stringify): Handle matches properly.
4200
4c478e6b
JL
42012012-09-30 Juri Linkov <juri@jurta.org>
4202
4203 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4204 to nil around the call to `insert' to prevent
4c478e6b
JL
4205 directory time modification by lock_file. (Bug#2295)
4206 * tar-mode.el (tar-summarize-buffer): Idem.
4207
d80d54b2
JL
42082012-09-30 Juri Linkov <juri@jurta.org>
4209
4210 * facemenu.el (list-colors-sort): Add option "Luminance".
4211 (list-colors-sort-key): Implement it.
4212
4213 * vc/diff-mode.el (diff-refine-removed):
4214 * vc/ediff-init.el (ediff-fine-diff-A):
4215 * vc/smerge-mode.el (smerge-refined-removed):
4216 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4217
d7e642cc
JD
42182012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4219
4220 * term/ns-win.el (x-file-dialog): New function.
4221
ee41332b
JB
42222012-09-30 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * ido.el (ido-max-directory-size): Default to nil; the current
4225 default is small for POSIX systems, and impractical on Windows 7
4226 now that lstat returns directory sizes for NTFS.
4227
5938d519
MR
42282012-09-30 Martin Rudalics <rudalics@gmx.at>
4229
4230 In buffer display functions handle window-height/window-width
4231 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4232 * window.el (window--display-buffer): New argument ALIST.
4233 Obey window-height and window-width alist entries.
4234 (window--try-to-split-window): New argument ALIST.
4235 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4236 changed and window-combination-limit equals `window-size'.
4237 (display-buffer-in-atom-window)
4238 (display-buffer-in-major-side-window)
4239 (display-buffer-in-side-window, display-buffer-same-window)
4240 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4241 (display-buffer-pop-up-window, display-buffer-below-selected)
4242 (display-buffer-at-bottom, display-buffer-in-previous-window)
4243 (display-buffer-use-some-window): Adjust all callers of
4244 window--display-buffer and window--try-to-split-window.
4245 (fit-frame-to-buffer): New option.
4246 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4247 is non-nil.
4248 (display-buffer-in-major-side-window): Evaluate window-height /
4249 window-width alist entries.
4250
4251 * help.el (temp-buffer-resize-frames)
4252 (temp-buffer-resize-regexps): Remove options.
4253 (temp-buffer-resize-mode): Adjust doc-string.
4254 (resize-temp-buffer-window): Don't consult
4255 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4256 temp-buffer-resize-frames.
4257
375e49d4
SM
4258 * dired.el (dired-mark-pop-up):
4259 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4260 entry.
4261
c4c0c2df
CY
42622012-09-30 Chong Yidong <cyd@gnu.org>
4263
48de8b12
CY
4264 * server.el (server-host): Document the security implications.
4265 (server-auth-key): Doc fix.
4266
4267 * startup.el (initial-buffer-choice): Doc fix.
4268
4269 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4270
a97dc380
CY
4271 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4272 restriction change.
4273
d39d3c8e
CY
4274 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4275
c4c0c2df
CY
4276 * help-fns.el (help-fns--obsolete): Fix last change.
4277
98a5e33b
SM
42782012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4279
34cf6f39
SM
4280 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4281 (minor-mode-map-alist): Remove redundant code.
4282
e01c13fe
SM
4283 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4284 visited in a buffer.
4285 (cvs-insert-visited-file): New function.
4286 (find-file-hook): Use it.
4287
4288 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4289
02661b3a
SM
4290 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4291 chose face.
4292 (log-edit-empty-buffer-p): Don't require a space after a header.
4293
43711d4b
SM
4294 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4295
38a30d64
SM
4296 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4297
4ffb41a9
SM
4298 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4299 a proper minor-mode.
4300
98a5e33b
SM
4301 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4302
de82e29b
GM
43032012-09-29 Glenn Morris <rgm@gnu.org>
4304
5cc2e639
GM
4305 * winner.el (winner-mode): Remove variable (let define-minor-mode
4306 handle it).
4307 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4308 Doc fixes.
4309 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4310 (winner-mode): Use define-minor-mode.
4311
7bd302eb
GM
4312 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4313 the full definition in loaddefs, rather than duplicating it.
4314
2923922f 4315 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4316
0e3e4156
GM
4317 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4318 (inferior-lisp-program, inferior-lisp-load-command)
4319 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4320 No need to autoload defcustoms.
0e3e4156 4321
de82e29b
GM
4322 * hippie-exp.el (hippie-expand-try-functions-list)
4323 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4324 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4325 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4326 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4327 * progmodes/vhdl-mode.el (vhdl-line-expand):
4328 Explicitly load hippie-exp, so it does not get autoloaded
4329 while hippie-expand-try-functions-list is let-bound.
4330
e60b51ab
GM
43312012-09-28 Glenn Morris <rgm@gnu.org>
4332
277f0cfa
GM
4333 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4334
e60b51ab
GM
4335 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4336 Only "cl.el" counts as cl these days.
4337
53baf48a
JL
43382012-09-28 Juri Linkov <juri@jurta.org>
4339
4340 Display archive errors in the echo area instead of inserting
4341 to the file buffer.
4342
4343 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4344 to STDERR-TEST that can be a regexp matching a successful output.
4345 Create a temporary file and redirect stderr to it. Search for
4346 STDERR-TEST in the stderr output and display it in the echo area
4347 if no match is found.
4348 (archive-extract-by-file): New function like
4349 `archive-extract-by-stdout' but extracting archives to files
4350 and looking for successful matches in stdout. Function body is
4351 mostly copied from `archive-rar-extract'.
4352 (archive-rar-extract): Use `archive-extract-by-file'.
4353 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4354
9c1228c3
LL
43552012-09-28 Leo Liu <sdl.web@gmail.com>
4356
375e49d4
SM
4357 * pcomplete.el (pcomplete-show-completions):
4358 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4359
9c1228c3
LL
4360 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4361
7f457c06
SM
43622012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4363
3df749b0
SM
4364 * type-break.el: Use lexical-binding.
4365 (type-break-mode): Use define-minor-mode.
4366
7f457c06
SM
4367 * emacs-lisp/pcase.el (pcase--mark-used): New.
4368 (pcase--u1): Use it (bug#12512).
4369
4370 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4371 in load-history with the right file name.
4372
c00ebc98
TH
43732012-09-28 Tassilo Horn <tsdh@gnu.org>
4374
4375 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4376 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4377 (doc-view-get-bounding-box): Make bounding box slicing work for
4378 ODF and DVI documents.
4379
96fb7170
GM
43802012-09-28 Glenn Morris <rgm@gnu.org>
4381
4382 * type-break.el (type-break-mode, type-break-interval)
4383 (type-break-good-rest-interval, type-break-keystroke-threshold):
4384 No need to autoload.
4385 (type-break-good-rest-interval, type-break-keystroke-threshold):
4386 Add :set-after.
4387
5bc93c67
CY
43882012-09-28 Chong Yidong <cyd@gnu.org>
4389
4390 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4391 Add :version tag.
4392
9cad61d6
SM
43932012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4394
e28e67b3 4395 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4396
daee954c
GM
43972012-09-27 Glenn Morris <rgm@gnu.org>
4398
a88324d4
GM
4399 * faces.el (x-display-name): Declare (for without-x builds).
4400
8e5064e5
GM
4401 * linum.el (linum-format): Don't autoload it. Improve :type.
4402
cc1783c2
GM
4403 * progmodes/tcl.el: Don't require outline when compiling.
4404 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4405 * textmodes/sgml-mode.el: Don't require outline when compiling.
4406 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4407
48c339f2
GM
4408 * term.el (term-ansi-reset):
4409 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4410
daee954c
GM
4411 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4412 files for RCS and SCCS. (Bug#9781)
4413
b7f42161
CY
44142012-09-27 Chong Yidong <cyd@gnu.org>
4415
4416 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4417 change; value should be t.
4418
a2e770db
SM
44192012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4420
83600dc8
SM
4421 * image-mode.el: Use lexical-binding.
4422 (image-mode-winprops): Use t to stand for the window of
4423 a buffer that's not displayed.
4424 * doc-view.el (doc-view-new-window-function): Handle the new
4425 t in winprops.
4426 (doc-view-enlarge): Make it a real nop if the size is not changed.
4427 (doc-view-display): Handle the case where the buffer is not (yet?)
4428 displayed in any window.
4429 (doc-view-saved-settings): New var.
4430 (doc-view-mode): Use it.
4431 (doc-view-fallback-mode): Set it.
4432
a2e770db
SM
4433 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4434 Set lexical-binding.
4435 (minibuffer-eldef-shorten-default): New var.
4436 (minibuffer-default-in-prompt-regexps): Use it for new default.
4437 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4438
e3b60857
JB
44392012-09-26 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * international/uni-bidi.el:
4442 * international/uni-category.el:
4443 * international/uni-name.el:
4444 * international/uni-numeric.el: Regenerate.
4445
3a880af4
SM
44462012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4447 Stefan Monnier <monnier@iro.umontreal.ca>
4448
4449 * profiler.el: New file.
4450
07b1a5fb
SM
44512012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4454 (testcover-reinstrument): Simplify with CSE.
4455
42019c2e
JB
44562012-09-26 Juanma Barranquero <lekktu@gmail.com>
4457
4458 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4459
179f044b
WS
44602012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4461
4462 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4463 (verilog-auto-input, verilog-auto-insert-lisp)
4464 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4465 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4466 (verilog-auto-unused, verilog-auto-wire)
4467 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4468 newline. Reported by Andrew Jones.
4469 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4470 Reported by Brad Dobbie.
07b1a5fb
SM
4471 (verilog-batch-delete-trailing-whitespace):
4472 Create verilog-batch-delete-trailing-whitespace.
4473 Reported by Brad Dobbie.
179f044b
WS
4474 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4475 parameters from another module. Reported by Dan Katz.
4476 (verilog-auto, verilog-auto-assign-modport)
4477 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4478 AUTOINOUTMODPORT for UVM interface module shell generation.
4479 Reported by Brad Dobbie.
4480 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4481 standard behavior.
4482 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4483 Reported by Matt Martin.
4484
9c52dd5a
MR
44852012-09-25 Martin Rudalics <rudalics@gmx.at>
4486
4487 * window.el (window--resize-child-windows): When resizing child
4488 windows proportionally, process them in reverse order to
4489 preserve the "when splitting a window the new one gets the odd
4490 line" behavior.
4491 (window--resize-root-window-vertically): When resizing the
4492 minibuffer window try to affect only windows at the bottom of the
4493 frame. (Bug#12419)
4494
863666eb
CY
44952012-09-25 Chong Yidong <cyd@gnu.org>
4496
4497 * subr.el (declare): Doc fix.
4498
4499 * help-fns.el (help-fns--obsolete): Handle macros properly.
4500
59f7af81
CY
45012012-09-25 Chong Yidong <cyd@gnu.org>
4502
4503 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4504 this function obsolete.
4505
4506 * calendar/cal-x.el (calendar-two-frame-setup)
4507 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4508 * calendar/calendar.el (american-calendar, european-calendar)
4509 (calendar-for-loop):
4510 * comint.el (comint-dynamic-simple-complete)
4511 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4512 * desktop.el (desktop-load-default):
4513 * dired-x.el (dired-omit-here-always)
4514 (dired-hack-local-variables, dired-default-directory):
4515 * emacs-lisp/derived.el (derived-mode-class):
4516 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4517 * emacs-lock.el (toggle-emacs-lock):
4518 * epa.el (epa-display-verify-result):
4519 * epg.el (epg-sign-keys, epg-start-sign-keys)
4520 (epg-passphrase-callback-function):
4521 * eshell/esh-util.el (eshell-for):
4522 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4523 (eshell-add-to-window-buffer-names):
4524 * files.el (locate-file-completion):
4525 * imenu.el (imenu-example--create-c-index)
4526 (imenu-example--create-lisp-index)
4527 (imenu-example--lisp-extract-index-name)
4528 (imenu-example--name-and-position):
4529 * international/mule-cmds.el (princ-list):
4530 * international/mule-diag.el (decode-codepage-char):
4531 * international/mule-util.el (detect-coding-with-priority):
4532 * iswitchb.el (iswitchb-read-buffer):
4533 * mail/mailalias.el (mail-complete):
4534 * mail/sendmail.el (mail-sent-via):
4535 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4536 (mouse-major-mode-menu):
4537 * password-cache.el (password-read-and-add):
4538 * pcomplete.el (pcomplete-parse-comint-arguments):
4539 * progmodes/sh-script.el (sh-maybe-here-document):
4540 * replace.el (query-replace-regexp-eval):
4541 * savehist.el (savehist-load):
4542 * simple.el (choose-completion-delete-max-match):
4543 * term.el (term-dynamic-simple-complete):
4544 * vc/ediff-init.el (ediff-check-version):
4545 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4546 * vc/vc.el (vc-diff-switches-list):
4547 * view.el (view-return-to-alist-update): Likewise.
4548
4549 * subr.el (eval-next-after-load, makehash, insert-string)
4550 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4551 mark obsolete.
4552 (mode-line-inverse-video): Variable deleted.
4553
4554 * international/mule-util.el (string-to-sequence): Remove.
4555
4556 * calendar/calendar.el (calendar-version):
4557 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4558 (icalendar-convert-diary-to-ical):
4559 * cus-edit.el (custom-mode):
4560 * ansi-color.el (ansi-color-unfontify-region):
4561 * international/latin1-disp.el (latin1-char-displayable-p):
4562 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4563 * progmodes/which-func.el (which-func-update-1):
4564 Use define-obsolete-function-alias.
59f7af81
CY
4565
4566 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4567 * net/newst-treeview.el (newsticker-groups-filename):
4568 Fix incorrect obsolescence declaration.
59f7af81
CY
4569
4570 * allout.el (allout-passphrase-hint-string): Likewise.
4571 (allout-init): Use a declare form to mark obsolete.
4572
4573 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4574 this applies to functions.
4575
4576 * iswitchb.el (iswitchb-read-buffer): Move code of
4577 iswitchb-define-mode-map here, and delete that obsolete function.
4578
4579 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4580 font-lock-reference-face.
4581
cca96c97
GM
45822012-09-25 Glenn Morris <rgm@gnu.org>
4583
b06eeda8
GM
4584 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4585 Doc fixes.
4586
cca96c97
GM
4587 * eshell/em-term.el (eshell-term-name):
4588 Default to term-term-name. (Bug#12485)
4589
dc4f818b
FEG
45902012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4591
cca96c97
GM
4592 * progmodes/python.el (python-shell-send-buffer): Better handling
4593 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4594
289c24bd
GM
45952012-09-24 Glenn Morris <rgm@gnu.org>
4596
4597 * eshell/esh-cmd.el (eshell-find-alias-function):
4598 Tighten up file-name regexp. (Bug#12499)
4599
8fb8b88f
FEG
46002012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4601
4602 Enhancements for triple-quote string syntax.
4603 * progmodes/python.el (python-quote-syntax): Remove.
4604 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4605 (python-syntax-count-quotes, python-syntax-stringify):
4606 New functions.
8fb8b88f 4607
6c27f0f8
CY
46082012-09-24 Chong Yidong <cyd@gnu.org>
4609
a5f2b6ec
CY
4610 * mail/supercite.el (sc-version): Remove obsolete function.
4611 (sc-describe): Don't mark as obsolete, since it is bound.
4612 (sc-submit-bug-report): Remove.
4613
4614 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4615 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4616 (log-edit-require-final-newline)
4617 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4618
4619 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4620 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4621 * vc/vc.el (vc-checkout-carefully): Likewise.
4622
4623 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4624 (emerge-version): Remove.
4625
4626 * progmodes/compile.el (compile-internal): Remove.
4627 (compilation-parse-errors-function): Fix typo.
4628
4629 * international/mule.el (set-char-table-default): Remove.
4630 (set-coding-priority, make-coding-system, generic-char-p)
4631 (charset-list, charset-bytes, charset-id): Use declare to mark
4632 functions as obsolete.
4633
4634 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4635 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4636 * vc/vc-hooks.el (vc-default-registered): Don't use
4637 vc-master-templates.
4638
07b1a5fb
SM
4639 * font-lock.el (font-lock-reference-face):
4640 Use define-obsolete-variable-alias.
6c27f0f8
CY
4641
4642 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4643 * calendar/calendar.el (calendar-font-lock-keywords):
4644 * calendar/diary-lib.el (diary-font-lock-keywords)
4645 (diary-fancy-font-lock-keywords):
4646 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4647 * textmodes/reftex-index.el (reftex-insert-index):
4648 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4649 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4650 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4651 * progmodes/prolog.el (prolog-font-lock-keywords):
4652 * progmodes/idlwave.el (idlwave-idl-keywords):
4653 * progmodes/ada-mode.el (ada-font-lock-keywords):
4654 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4655
bcc0adbf
GM
46562012-09-24 Glenn Morris <rgm@gnu.org>
4657
4658 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4659
095bb823
FEG
46602012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4661
4662 * progmodes/python.el (python-indent-line): More consistent cursor
4663 movement behavior.
4664
70efc5c9
SM
46652012-09-23 Stefan Merten <smerten@oekonux.de>
4666
4667 * textmodes/rst.el: Fix compiler warning.
4668
2f438239
RW
46692012-09-23 Roland Winkler <winkler@gnu.org>
4670
07b1a5fb
SM
4671 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4672 Transcribe also LaTeX hyphenation.
2f438239
RW
4673 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4674 bibtex-reformat-previous-options.
4675
936ad041
RW
46762012-09-23 Roland Winkler <winkler@gnu.org>
4677
4678 * proced.el (proced-renice-command): New variable.
4679 (proced-marked-processes): New function.
4680 (proced-with-processes-buffer): New macro.
4681 (proced-send-signal): Use them.
4682 (proced-renice): New command bound to r.
4683
6fab0274
RW
46842012-09-23 Roland Winkler <winkler@gnu.org>
4685
4686 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4687 ibuffer-saved-filter-groups has one element, shortcut the call of
4688 completing-read. (Bug#12331)
4689
9a930676
CY
46902012-09-23 Chong Yidong <cyd@gnu.org>
4691
4692 * bindings.el (mode-line-toggle-read-only):
4693 * bs.el (bs-toggle-readonly):
4694 * buff-menu.el (Buffer-menu-toggle-read-only):
4695 * dired.el (dired-toggle-read-only):
4696 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4697
d07ff9db
CY
46982012-09-23 Chong Yidong <cyd@gnu.org>
4699
4700 * image.el (image-type-available-p): Adapt to init-image-library
4701 argument changes.
4702
51c4474e
JL
47032012-09-22 Juri Linkov <juri@jurta.org>
4704
4705 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4706 `dired-toggle-read-only'. (Bug#12462)
4707
43bf5e8e
MR
47082012-09-22 Martin Rudalics <rudalics@gmx.at>
4709
4710 * subr.el (temp-output-buffer-show): New function.
4711 (with-output-to-temp-buffer): Call temp-output-buffer-show
4712 instead of internal-temp-output-buffer-show.
4713
c88b867f
CY
47142012-09-22 Chong Yidong <cyd@gnu.org>
4715
3df47cd5
CY
4716 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4717 (Bug#12462).
4718
c88b867f
CY
4719 * repeat.el (repeat): Doc fix (Bug#12348).
4720
4721 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4722 (Bug#10909).
4723
4724 * simple.el (shell-command-on-region): Doc fix.
3171e303 4725 (read-only-mode): Doc fix.
c88b867f 4726
df9685f3
EZ
47272012-09-22 Eli Zaretskii <eliz@gnu.org>
4728
4729 * emacs-lisp/timer.el (run-with-idle-timer)
4730 (timer-activate-when-idle): Warn against reinvoking an idle timer
4731 from within its own timer action. (Bug#12447)
4732
8e17c9ba
MR
47332012-09-22 Martin Rudalics <rudalics@gmx.at>
4734
4735 * cus-start.el (window-combination-limit): Add new optional
4736 values.
4737 * window.el (temp-buffer-window-show)
4738 (window--try-to-split-window): Handle new values of
4739 window-combination-limit (Bug#1806).
4740 (split-window): Test window-combination-limit for t instead of
4741 non-nil.
4742 (display-buffer-at-bottom): New buffer display action function.
4743 * help.el (temp-buffer-resize-regexps): New option.
4744 (temp-buffer-resize-mode): Rewrite doc-string.
4745 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4746 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4747
48a24920
SM
47482012-09-22 Stefan Merten <smerten@oekonux.de>
4749
70efc5c9 4750 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4751 (rst-official-version)
4752 (rst-package-emacs-version-alist): Sync with official version
4753 V1.4.0.
4754 (rst-faces-defaults, rst-set-level-default)
4755 (rst-level-face-max, rst-level-face-base-color)
4756 (rst-level-face-base-light, rst-level-face-format-light)
4757 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4758 (rst-adornment-faces-alist): Match new setup.
4759 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4760 (rst-level-5, rst-level-6): New faces.
4761
82f8cd94
CY
47622012-09-22 Chong Yidong <cyd@gnu.org>
4763
4764 * simple.el (undo): Handle indirect buffers (Bug#8207).
4765
acfa068f 47662012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4767
4768 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4769 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4770 (ido-set-matches-1): Use it. (Bug#2042)
4771
acfa068f 47722012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4773
4774 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4775 Fix 2011-05-17 change. (Bug#12418)
4776
acfa068f 47772012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4778
4779 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4780
acfa068f 47812012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4782
4783 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4784 Be more robust about locating simple.el.
4785
acfa068f 47862012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4787
4788 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4789
acfa068f
CY
47902012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4791
4792 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4793
41a97e6f
JL
47942012-09-20 Juri Linkov <juri@jurta.org>
4795
eb2deaff
JL
4796 * replace.el (query-replace-read-from): Use `read-regexp' instead
4797 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4798 (occur-read-primary-args): Use `read-regexp' instead of
4799 `read-string'.
4800 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4801 `read-from-minibuffer'.
4802 * isearch.el (isearch-occur): Use `read-regexp' instead of
4803 `read-string'.
4804 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4805 `read-from-minibuffer'.
4806 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4807 of `read-string'. (Bug#7567)
4808
5825610b
JL
4809 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4810 and allow accepting a list of strings prepended to a list of
4811 standard default values. Doc fix. (Bug#12321)
4812
eebbf404
JL
4813 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4814
41a97e6f
JL
4815 * replace.el (read-regexp): Don't add ": " when PROMPT already
4816 ends with a colon and space. (Bug#12321)
4817
c9e452d3
TH
48182012-09-20 Tassilo Horn <tsdh@gnu.org>
4819
4820 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4821 error.
4822
ee97deee
SM
48232012-09-20 Stefan Merten <smerten@oekonux.de>
4824
70efc5c9 4825 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4826 Fixes feature request bug#11711.
4827 (rst-mode): Create `imenu-create-index-function'.
4828 (rst-get-stripped-line): Delete after refactoring.
4829 (rst-section-tree, rst-section-tree-rec)
4830 (rst-section-tree-point): Refactor and document properly.
4831 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4832 (rst-imenu-convert-cell, rst-imenu-create-index):
4833 New function.
ee97deee 4834
f490dab9
SM
48352012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4836
95b9712e
SM
4837 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4838 (macroexp--expand-all): Use it.
4839 (macroexp--funcall-and-return): Remove by folding it into its sole
4840 caller (macroexp--warn-and-return).
4841 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4842 Use macroexp--obsolete-warning.
4843
f490dab9
SM
4844 * calc/calc.el: Fix last change by removing the whole chunk, since it
4845 was only needed back when Calc was not bundled.
4846
96e8d411
MR
48472012-09-20 Martin Rudalics <rudalics@gmx.at>
4848
4849 * emacs-lisp/debug.el (debug): Restore assignment to
4850 debugger-old-buffer removed on 2012-09-08.
4851
0876a82d
JL
48522012-09-20 Juri Linkov <juri@jurta.org>
4853
4854 * dired-aux.el (dired-diff): Remove (require 'diff) since
4855 `diff-latest-backup-file' is now autoloaded.
4856
9f7c28f0
CY
48572012-09-20 Chong Yidong <cyd@gnu.org>
4858
4859 * vc/diff.el (diff-latest-backup-file): Autoload.
4860
7a04bee9
SM
48612012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4862
e6f0a80d
SM
4863 * calc/calc.el: Remove redundant autoload shape check.
4864 (sel-mode): Don't defvar.
4865 (calc-get-stack-element): Add `sel-mode' arg instead.
4866 (calc-top, calc-top-list): Pass it this additional argument.
4867 * calc/calc-store.el (calc-store-map):
4868 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4869 (calc-map-equation, calc-outer-product, calc-inner-product):
4870 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4871
7a04bee9
SM
4872 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4873
12734222
JL
48742012-09-19 Juri Linkov <juri@jurta.org>
4875
4876 * dired-aux.el (dired-diff): Add (require 'diff) because
4877 `diff-latest-backup-file' is not autoloaded.
4878 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4879 of `dired-get-filename' to t to not report error when there is
4880 no default file on the current line.
4881
46624b4f
SM
48822012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4883
ce97595b
SM
4884 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4885 macroexp--eval-if-compile.
4886 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4887 (macroexp--expand-all): Use them (bug#12371).
4888
46624b4f
SM
4889 * doc-view.el (doc-view-guess-paper-size)
4890 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4891
db8a5a18
TH
48922012-09-19 Tassilo Horn <tsdh@gnu.org>
4893
4894 New feature: set optimal slice from BoundingBox information.
4895 * doc-view.el (doc-view-mode-map): Add keybinding.
4896 (doc-view-menu): Add menu entry.
4897 (doc-view-set-slice): Adapt docstring.
4898 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4899 (doc-view-scale-bounding-box)
4900 (doc-view-set-slice-from-bounding-box): New functions.
4901 (doc-view-paper-sizes): New defvar.
4902
69f6644c
GM
49032012-09-19 Glenn Morris <rgm@gnu.org>
4904
35f5b19d
GM
4905 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4906 (byte-compile-log-warning): Autoload. (Bug#12371)
4907
69f6644c
GM
4908 * calendar/calendar.el (calendar-american-month-header)
4909 (calendar-european-month-header, calendar-iso-month-header)
4910 (calendar-month-header): New options.
4911 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4912 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4913
e543ae91
JD
49142012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4915
4916 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4917
2fd5e67d
JL
49182012-09-18 Juri Linkov <juri@jurta.org>
4919
4920 * dired-aux.el (dired-diff): Restore original functionality of
4921 getting the default value, but keep new feature of using the
4922 latest existing backup file (`diff-latest-backup-file').
4923
42917e79
JL
49242012-09-18 Juri Linkov <juri@jurta.org>
4925
4926 * dired.el (dired-mark): If the region is active in Transient Mark
4927 mode, mark all files in the active region. Doc fix.
4928 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4929 Doc fix. (Bug#10624)
4930
20f70ede
JL
49312012-09-18 Juri Linkov <juri@jurta.org>
4932
4933 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4934 attributes for M-n are pulled from the file at point.
4935 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4936 Suggested by Drew Adams. (Bug#10624)
4937
32fb8162
DG
49382012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4939
4940 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4941 whitespace after "end".
4942 (ruby-do-end-to-brace): Collapse block to one line if it fits
4943 within fill-column.
4944
37ab5092
MR
49452012-09-18 Martin Rudalics <rudalics@gmx.at>
4946
4947 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4948 value.
4949 (debug): Don't remove debugger window when debugger is expected
4950 to be back.
4951
ed1f0bd3
CY
49522012-09-18 Chong Yidong <cyd@gnu.org>
4953
4954 * custom.el (defface): Doc fix.
4955
4956 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4957
a11035b8
MB
49582012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4959
4960 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4961 to initialize query-on-exit; then test that instead (bug#12288).
4962
64f6a736
SM
49632012-09-17 Stefan Merten <smerten@oekonux.de>
4964
70efc5c9 4965 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
4966 (rst-defcustom-testcover, rst-testcover-add-compose)
4967 (rst-testcover-add-1value): New functions.
4968 (rst-portable-mark-active-p): Replace by `use-region-p'.
4969 (rst-update-section, rst-classify-adornment)
4970 (rst-find-title-line): Mark `1value' forms.
4971 (rst-classify-adornment): Remove superfluous form.
4972 (rst-update-section, rst-get-adornments-around)
4973 (rst-adornment-complete-p, rst-get-next-adornment)
4974 (rst-adjust, rst-promote-region)
4975 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4976 (rst-find-pfx-in-region, rst-section-tree-rec)
4977 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4978 (rst-toc-node, rst-toc, rst-forward-section)
4979 (rst-iterate-leftmost-paragraphs)
4980 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4981 (rst-bullet-list-region)
4982 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4983 (rst-compile-find-conf, rst-compile)
4984 (rst-repeat-last-character): Fix style.
4985
580bd868
CY
49862012-09-17 Chong Yidong <cyd@gnu.org>
4987
4988 * comint.el (comint--complete-file-name-data): Don't add a space
4989 if the status is `sole'; that adds a gratuitous space in the
4990 completion-cycling case (Bug#12092).
4991
4992 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4993
69de3ec6
RS
49942012-09-17 Richard Stallman <rms@gnu.org>
4995
0dee970c
RS
4996 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4997 only in the mime-shown mode, not in raw mode.
4998 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 4999 mime processing. (Bug#12305)
0dee970c 5000
6b250df6
GM
5001 * mail/rmail.el (rmail-retry-failure):
5002 Turn off mime processing first. (Bug#12037)
acb1c47b 5003
69de3ec6
RS
5004 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5005
d079ee5f
CY
50062012-09-17 Chong Yidong <cyd@gnu.org>
5007
5008 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5009 (shell-dynamic-complete-functions): Convert to defcustom.
5010 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5011
865fe16f
CY
5012 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5013 * comint.el (comint-prompt-read-only):
5014 * custom.el (defcustom):
5015 * hi-lock.el (hi-lock-mode):
5016 * ibuffer.el (ibuffer-formats):
5017 * ielm.el (ielm-prompt-read-only):
5018 * novice.el (disable-command):
5019 * saveplace.el (toggle-save-place):
5020 * speedbar.el (speedbar-supported-extension-expressions):
5021 * startup.el (auto-save-list-file-prefix, init-file-user)
5022 (after-init-hook, inhibit-startup-echo-area-message):
5023 * strokes.el (strokes-help):
5024 * time-stamp.el (time-stamp):
5025 * calendar/calendar.el (calendar, diary-file):
5026 * calendar/diary-lib.el (diary-mail-entries, diary)
5027 (diary-list-entries-hook):
5028 * calendar/holidays.el (holidays, calendar-holidays):
5029 * calendar/lunar.el (lunar-phases):
5030 * calendar/solar.el (sunrise-sunset):
5031 * emulation/edt.el (edt-load-keys):
5032 * emulation/viper.el (viper-mode):
5033 * eshell/em-alias.el (eshell-command-aliases-list):
5034 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5035 * international/ogonek.el (ogonek-information):
5036 * net/tramp-cmds.el (tramp-bug):
5037 * net/quickurl.el (quickurl-reread-hook-postfix):
5038 * play/decipher.el (decipher-font-lock-keywords):
5039 * progmodes/cc-styles.el (c-set-style):
5040 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5041 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5042 * progmodes/octave-mod.el (octave-mode):
5043 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5044 * progmodes/verilog-mode.el (verilog-read-defines):
5045 * textmodes/two-column.el (2C-mode): Likewise.
5046
48093eb9
KY
50472012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5048
5049 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5050 that holds many addresses.
5051
c584eaf9
CY
50522012-09-16 Chong Yidong <cyd@gnu.org>
5053
40d70ecb
CY
5054 * align.el (align-areas): Call the indication function with
5055 positions instead of markers for arguments (Bug#12343).
5056
1667e065
CY
5057 * files.el (parse-colon-path): Use split-string (Bug#12351).
5058
fdc2806d 5059 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5060 (display-buffer-function): Mark as obsolete.
fdc2806d 5061
f1be615c 5062 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5063 values similar to font-lock-keywords (Bug#12136).
5064 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5065 (compilation-error-regexp-alist): Doc fix.
5066
f40a9709
GM
50672012-09-15 Glenn Morris <rgm@gnu.org>
5068
72aa16e1
GM
5069 * version.el (emacs-bzr-version-bzr): New function.
5070 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5071
82375160
GM
5072 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5073 checkouts, check the parent dirstate matches the branch.
5074 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5075 empty string.
5076
f40a9709
GM
5077 * version.el (emacs-bzr-version): Doc fix.
5078 (emacs-bzr-version-dirstate): New function.
5079 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5080 is local try and check that it matches the branch. If not, just
5081 use dirstate information. (Bug#12441)
5082
cb26b7f5
JL
50832012-09-14 Juri Linkov <juri@jurta.org>
5084
5085 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5086 (Bug#12399)
5087
2de39f08
SM
50882012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5089
0fb3cb7c
SM
5090 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5091
2de39f08
SM
5092 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5093 Remove obsolete byte-compiler hack that tried to silence some warnings.
5094 (edebug-submit-bug-report): Remove.
5095 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5096 Remove aliases, use the un-prefixed name instead.
5097 (edebug-pop-to-buffer): Consider other frames.
5098 (edebug-original-read):: Make it more obvious that it's always defined.
5099 (edebug--make-form-data-entry, edebug--form-data-name)
5100 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5101 single-dashed name, and implement with cl-defstruct.
5102 (edebug-set-form-data-entry): Use the standard accessors.
5103 (edebug-make-top-form-data-entry): Use push.
5104 (edebug-no-match): Drop useless `funcall'.
5105 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5106 to functions.
5107 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5108 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5109 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5110 (easy-menu-define, with-custom-print): Remove redundant specs.
5111 (edebug-outside-overriding-local-map)
5112 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5113 (edebug--display): Bind unread-command-events directly to nil rather
5114 than binding it to unread-command-events and later setting it to nil.
5115 (edebug--display): Kill edebug-eval-buffer here...
5116 (edebug--recursive-edit): ...rather than here.
5117 Bind standard-output and standard-input.
5118 (edebug-eval): Check cl-macroexpand-all is fboundp.
5119 (edebug-temp-display-freq-count): Fix last change.
5120
5121 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5122 * subr.el (noreturn, 1value): Add `debug' spec.
5123 * emacs-lisp/advice.el: Require cl-lib.
5124 (ad-copy-tree): Remove, use copy-tree instead.
5125 (ad-dolist): Remove use dolist or cl-dolist instead.
5126 (ad-do-return): Remove, use cl-return instead.
5127 (defadvice): Add `debug' spec.
5128
5b68b333
JL
51292012-09-13 Juri Linkov <juri@jurta.org>
5130
5131 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5132 (Bug#12399)
5133
b9800ec4
GM
51342012-09-13 Glenn Morris <rgm@gnu.org>
5135
6a2e6868
GM
5136 * calc/calc.el (math-compose-expr):
5137 * calc/calc-ext.el (math-compose-expr):
5138 * progmodes/cc-defs.el (cl-macroexpand-all):
5139 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5140 (cl-macroexpand-all): Update declarations.
5141
b9800ec4
GM
5142 * vc/vc.el: No need to require ediff.
5143 (ediff-load-version-control): Declare.
5144 (ediff-vc-internal): Fix declaration.
5145 (vc-version-ediff): Require ediff.
5146
c18e885b
PE
51472012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5148
5149 Use a more backwards-compatible timer format (Bug#12430).
5150 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5151 being right after USECS, as that better supports old code that
5152 inadvisedly looked directly at the timer vector.
5153
d607d303
KH
51542012-09-13 Kenichi Handa <handa@gnu.org>
5155
5156 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5157 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5158 `coding-priority' property of these language environment.
5159
72eac303
PE
51602012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5161
5162 Fix glitches caused by addition of psec to timers (Bug#12430).
5163 * image.el (image-animate-timer):
5164 * time.el (display-time-world-timer):
5165 Use timer--function and timer--args rather than raw access to
5166 timer vector.
5167
2168fe4f
GM
51682012-09-13 Glenn Morris <rgm@gnu.org>
5169
5170 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5171 If not compiling a file, try using load-file-name.
5172
bd8d6108
SM
51732012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5174
c0c54fbd
SM
5175 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5176 Fix last change.
5177 (edebug-update-eval-list): Use `push'.
5178
bd8d6108
SM
5179 * emacs-lisp/edebug.el: Use lexical-binding.
5180 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5181 Mark unused args with underscore.
5182 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5183 (edebug-form-data): Use defvar-local.
5184 (edebug-make-before-and-after-form, edebug-make-after-form):
5185 Use backquote.
5186 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5187 Not dynamically scoped any more.
5188 (edebug--enter-trace): Add arguments `function' and `args'.
5189 Rename from edebug-enter-trace.
5190 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5191 (edebug--update-coverage): Add `after-index' and `value' args.
5192 Rename from edebug-update-coverage.
5193 (edebug-slow-after): Call it accordingly.
5194 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5195 edebug-recursive-edit.
5196 (edebug--display): Call it accordingly. Add args `value',
5197 `offset-index', and `arg-mode'. Rename from edebug-display.
5198 (edebug-debugger, edebug): Call it accordingly.
5199 (edebug-eval-display-list): Use dolist.
5200
a9f9d9de
JL
52012012-09-12 Juri Linkov <juri@jurta.org>
5202
5203 * info.el (Info-search): Don't check for isearch-mode and
5204 isearch-regexp before let-binding search-spaces-regexp to
5205 Info-search-whitespace-regexp.
5206 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5207 search-whitespace-regexp if isearch-lax-whitespace or
5208 isearch-regexp-lax-whitespace is non-nil.
5209 (Info-mode): Don't set local variable search-whitespace-regexp.
5210 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5211
bfeae2cf
SM
52122012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5215 (debugger-env-macro): Remove support for unread-command-char.
5216
5217 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5218 the temporary map re-appearing on emulation-mode-map-alists.
5219
5220 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5221 since 22.1.
5222
5223 * ehelp.el (with-electric-help): Accept functions in
5224 electric-help-form-to-execute.
5225 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5226 And replace unread-command-char -> unread-command-events.
5227
fbbcaf1b
MA
52282012-09-12 Michael Albinus <michael.albinus@gmx.de>
5229
5230 Sync with Tramp 2.2.6.
5231
5232 * net/tramp.el (tramp-accept-process-output): Don't use
5233 JUST-THIS-ONE in the XEmacs case.
5234
5235 * net/trampver.el: Update release number.
5236
4dece104
MR
52372012-09-12 Martin Rudalics <rudalics@gmx.at>
5238
bfeae2cf
SM
5239 * emacs-lisp/debug.el (debugger-previous-window-height):
5240 New variable.
4dece104
MR
5241 (debug): When debugger-jumping-flag is non-nil try to restore
5242 height of debugger window. (Bug#8789)
5243
45b82ad0
SM
52442012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5245
60c49c0f
SM
5246 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5247 overriding-local-map and pre/post-command-hook here.
5248 (edebug-recursive-edit): Do it here instead (bug#12345).
5249 (edebug-outside-unread-command-char): Remove all uses of
5250 unread-command-char.
5251
45b82ad0
SM
5252 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5253 inhibit-debugger is bound instead.
5254
baa26ea0
BG
52552012-09-11 Bastien Guerry <bzg@gnu.org>
5256
5257 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5258 (Bug#12346)
baa26ea0 5259
04e8abfa
BG
52602012-09-11 Bastien Guerry <bzg@gnu.org>
5261
96d03571 5262 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5263 (Bug#12347)
96d03571
BG
5264
52652012-09-11 Bastien Guerry <bzg@gnu.org>
5266
fc0c31f8 5267 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5268
04e082b0
MM
52692012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5270
5271 * progmodes/sql.el: Version 3.1
5272 (sql-db2-escape-newlines): New variable.
5273 (sql-escape-newlines-filter): Use it.
5274
399a361b
JB
52752012-09-10 Juanma Barranquero <lekktu@gmail.com>
5276
5277 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5278
0780c517
DN
52792012-09-10 Dan Nicolaescu <dann@gnu.org>
5280
45b82ad0
SM
5281 * vc/diff-mode.el (diff-mode-menu):
5282 Bind diff-remove-trailing-whitespace.
0780c517 5283
9b851e25
SM
52842012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5287 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5288 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5289 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5290 (eval-defun-2): Remove bogus interactive spec.
5291 (lisp-indent-line): Remove redundant whole-exp code, now done in
5292 indent-according-to-mode.
5293 (save-match-data): Remove redundant indent data.
5294
5295 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5296 Use `declare'.
5297
3231d532
JL
52982012-09-09 Juri Linkov <juri@jurta.org>
5299
5300 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5301 (replace-lax-whitespace, query-replace-regexp)
5302 (query-replace-regexp-eval, replace-regexp): Doc fix.
5303 (perform-replace, replace-highlight): Let-bind
5304 isearch-lax-whitespace to replace-lax-whitespace and
5305 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5306
5307 * isearch.el (isearch-query-replace): Let-bind
5308 replace-lax-whitespace to isearch-lax-whitespace and
5309 replace-regexp-lax-whitespace to
5310 isearch-regexp-lax-whitespace. (Bug#10885)
5311
70fe8236
SM
53122012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5313
5314 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5315
8ed43f15
AM
53162012-09-09 Alan Mackenzie <acm@muc.de>
5317
70fe8236
SM
5318 * progmodes/cc-engine.el (c-state-cache-init):
5319 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5320 (c-record-parse-state-state):
5321 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5322
bfabf70a
AS
53232012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5324
5325 * register.el (register-separator): Rename from
5326 separator-register. All uses changed. Doc fix.
5327 (register): Fix version.
5328
011474aa
CY
53292012-09-09 Chong Yidong <cyd@gnu.org>
5330
5331 * replace.el (query-replace-map): Bind four new symbols for
5332 requesting window scrolling.
5333
5334 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5335 query-replace-map (Bug#8948).
5336
5337 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5338
5339 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5340 since they are now in query-replace-map.
5341
5342 * window.el (scroll-other-window-down): Make the arg optional.
5343
a8b7cd8d
CY
53442012-09-09 Chong Yidong <cyd@gnu.org>
5345
5346 * files.el (hack-local-variables-confirm): Use quit-window to kill
5347 the *Local Variables* buffer.
5348
c3268831
DG
53492012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5350
5351 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5352 not just expect to be at its beginning. Adjust callees.
5353 Succeed when do-end block has no space before the pipe character.
5354 (ruby-brace-to-do-end): When the original block is one-liner,
5355 convert to multiline. Reindent the result.
5356
0979429b
J
53572012-09-08 Jambunathan K <kjambunathan@gmail.com>
5358
5359 * register.el (register): New group.
27359e99 5360 (separator-register): New user option.
0979429b
J
5361 (increment-register): Route it to `append-to-register', if
5362 register contains text. Implication is that `C-x r +' can now be
5363 used for appending to a text register (bug#12217).
5364 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5365 `separator-register'.
0979429b 5366
ace2989a
AM
53672012-09-08 Alan Mackenzie <acm@muc.de>
5368
5369 AWK Mode: make auto-newline work when there's "==" in the pattern.
5370 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5371 correctly.
0979429b
J
5372 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5373 Test more rigorously for "=" token.
ace2989a 5374
616c6c36
DG
53752012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5376
0979429b
J
5377 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5378 Only fail when reached LIMIT.
616c6c36 5379
35d98877
CY
53802012-09-08 Chong Yidong <cyd@gnu.org>
5381
5382 * dired.el (dired-mode-map): Don't bind M-=.
5383
5384 * dired-aux.el (dired-diff): Use backup file as default.
5385
1715f2db
DA
53862012-09-08 Drew Adams <drew.adams@oracle.com>
5387
5388 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5389
6dcef6ec
CY
53902012-09-08 Chong Yidong <cyd@gnu.org>
5391
5392 * subr.el (syntax-after, syntax-class): Doc fix.
5393
fa2bcf43
MR
53942012-09-08 Martin Rudalics <rudalics@gmx.at>
5395
5396 * window.el (display-buffer-in-previous-window): New buffer
5397 display action function.
5398
5399 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5400 (debugger-previous-window): New variable.
5401 (debug): Rewrite using display-buffer-in-previous-window,
5402 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5403
daac280a
SM
54042012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5405
5406 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5407
9dd40b00
MM
54082012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5409
daac280a
SM
5410 * progmodes/python.el (python-shell-send-string):
5411 When default-directory is remote, create temp file on remote
9dd40b00
MM
5412 filesystem.
5413 (python-shell-send-file): When file is remote, pass local view of
5414 file paths to remote Python interpreter. (Bug#12340)
5415
145823ec
CY
54162012-09-07 Chong Yidong <cyd@gnu.org>
5417
cee2e90d
CY
5418 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5419
0d7eb2ea
CY
5420 * files.el (after-find-file): Don't fail on a read-only buffer if
5421 require-final-newline is `visit' or `visit-save' (Bug#11156).
5422
145823ec
CY
5423 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5424
daac280a
SM
5425 * userlock.el (ask-user-about-supersession-threat):
5426 Use read-char-choice (Bug#12093).
145823ec 5427
74c582e6
CY
54282012-09-07 Chong Yidong <cyd@gnu.org>
5429
e5c2edf7
CY
5430 * subr.el (buffer-narrowed-p): New function.
5431
5432 * ses.el (ses-widen):
5433 * simple.el (count-words--buffer-message):
1f9f395d 5434 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5435
5436 * simple.el (count-words-region): Don't signal an error if there
5437 is a non-nil prefix arg and the mark is not set.
c640e87d 5438
74c582e6
CY
5439 * help.el (describe-key-briefly): Allow the message to be seen
5440 when invoked from the minibuffer (Bug#7014).
5441
d81ceaaf
DG
54422012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5443
5444 * progmodes/ruby-mode.el (ruby-end-of-defun)
5445 (ruby-beginning-of-defun): Simplify, allow indentation before
5446 block beginning and end keywords.
8f06acce
DG
5447 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5448 (ruby-end-of-defun): Expect that the point is at the beginning of
5449 the defun.
d81ceaaf 5450
d458ef98
SM
54512012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5454 (bug#12367).
5455 (cl--make-usage-args): Strip _ from argument names.
5456
20367d28
RS
54572012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5458
5459 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5460 obsolete alias speedbar-key-map.
5461 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5462 (vhdl-index-menu-init): Don't use obsolete variable
5463 font-lock-maximum-size.
5464
3424a4f6
CY
54652012-09-06 Chong Yidong <cyd@gnu.org>
5466
5467 * frame.el (window-system-version): Mark as obsolete.
5468
fcbfbdea
CY
5469 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5470 of obsolete variable speedbar-key-map.
5471
826b3235
JL
54722012-09-06 Juri Linkov <juri@jurta.org>
5473
5474 * replace.el (replace-lax-whitespace): New defcustom.
5475 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5476 (replace-string, replace-regexp): Mention it in docstrings.
5477 (perform-replace, replace-highlight): Let-bind
5478 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5479 to the values of replace-lax-whitespace and regexp-flag.
5480 Don't let-bind search-whitespace-regexp. (Bug#10885)
5481
5482 * isearch.el (isearch-query-replace): Let-bind
5483 replace-lax-whitespace instead of let-binding
5484 replace-search-function and replace-re-search-function.
5485 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5486 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5487 (isearch-toggle-symbol): Set isearch-regexp to nil
5488 in isearch-word mode (like in isearch-toggle-word).
5489
1ec5e41d
JL
54902012-09-06 Juri Linkov <juri@jurta.org>
5491
5492 * replace.el (replace-search-function)
5493 (replace-re-search-function): Set default values to nil.
5494 (perform-replace): Let-bind isearch-related variables based on
5495 replace-related values, call `isearch-search-fun' and let-bind
5496 the result to `search-function'. Remove code that sets
5497 `search-function' and `search-string' separately for
5498 `delimited-flag'.
5499 (replace-highlight): Add new argument `delimited-flag' and
5500 rename other arguments to the names used in `perform-replace'.
5501 Let-bind `isearch-word' to the argument `delimited-flag'.
5502 (Bug#10885, bug#10887)
5503
0ba2d4b6
DG
55042012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5505
5506 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5507 ruby-beginning-of-indent, simplify, allow all keywords to have
5508 indentation before them.
5509 (ruby-beginning-of-indent): Adjust for above. Search until the
5510 found point is not inside a string or comment.
5511 (ruby-font-lock-keywords): Allow symbols to start with "@"
5512 character, give them higher priority than variables.
5513 (ruby-syntax-propertize-function)
5514 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5515 matchers. Expression expansions are not comments when inside a
5516 string, and there comment syntax status is irrelevant.
5517 (ruby-match-expression-expansion): New function. Check that
5518 expression expansion is inside a string, and it's not escaped.
5519 (ruby-font-lock-keywords): Use it.
5520
ef654460
MR
55212012-09-05 Martin Rudalics <rudalics@gmx.at>
5522
5523 * help.el (temp-buffer-max-height): New default value.
5524 (temp-buffer-resize-frames): New option.
5525 (resize-temp-buffer-window): Optionally resize frame.
5526
5527 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5528 (fit-frame-to-buffer): New function.
5529
7e570fbf 55302012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5531
5532 * emulation/cua-rect.el (cua--init-rectangles):
5533 * textmodes/picture.el (picture-mode-map):
5534 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5535 like forward-char and backward-char. (Bug#12317)
5536
7e570fbf 55372012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5538
5539 * progmodes/flymake.el (flymake-warning-re): New variable.
5540 (flymake-parse-line): Use it.
5541
7e570fbf 55422012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5543
5544 * calendar/holidays.el (holiday-christian-holidays):
5545 Rename an entry. (Bug#12289)
5546
7e570fbf 55472012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5548
5549 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5550 (bug#12222).
5551
972debf2
SM
55522012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * loadup.el: Load macroexp. Remove hack.
5555 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5556 (macroexp--expand-all): Use it to get better warnings.
5557 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5558 (internal-macroexpand-for-load): New functions.
5559 (macroexp--pending-eager-loads): New var.
5560 (emacs-startup-hook): New hack to replace one in loadup.el.
5561 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5562 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5563 (cl-psetf): Simplify.
5564 (cl-defstruct): Add indent rule.
5565
8ce192e3
LI
55662012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5567
5568 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5569 over `user-mail-address' for the SMTP MAIL FROM envelope.
5570 (smtpmail-via-smtp): Ditto.
5571
6578b4d8
DG
55722012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5573
5574 * progmodes/ruby-mode.el: Clean up keybindings.
5575 (ruby-mode-map): Don't bind ruby-electric-brace,
5576 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5577 backward-kill-word, reindent-then-newline-and-indent.
5578 (ruby-mark-defun): Remove.
5579 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5580 (ruby-mode): Set local beginning-of-defun-function and
5581 end-of-defun-function values.
5582
c5e28e39
MR
55832012-09-03 Martin Rudalics <rudalics@gmx.at>
5584
5585 * window.el (temp-buffer-window-setup-hook)
5586 (temp-buffer-window-show-hook): New hooks.
5587 (temp-buffer-window-setup, temp-buffer-window-show)
5588 (with-temp-buffer-window): New functions.
972debf2
SM
5589 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5590 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5591
5592 * help.el (temp-buffer-resize-mode): Fix doc-string.
5593 (resize-temp-buffer-window): New optional argument WINDOW.
5594
5595 * files.el (recover-file, save-buffers-kill-emacs):
5596 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5597
73406194
MA
55982012-09-02 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5601 remote definition of `default-directory', ensure we can connect.
5602
63dd1c6f
JL
56032012-09-02 Juri Linkov <juri@jurta.org>
5604
5605 Toggle whitespace matching mode with M-s SPC.
5606 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5607
5608 * isearch.el (search-whitespace-regexp): Doc fix.
5609 Remove cons cell customization.
5610 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5611 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5612 New variables.
5613 (isearch-forward, isearch-forward-regexp): Doc fix.
5614 (isearch-toggle-lax-whitespace): New command.
5615 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5616 (re-search-forward-lax-whitespace)
5617 (re-search-backward-lax-whitespace): New functions.
5618 (isearch-whitespace-regexp): Remove function.
5619 (isearch-query-replace): Let-bind replace-search-function and
5620 replace-re-search-function.
5621 (isearch-occur): Let-bind search-spaces-regexp according to the
5622 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5623 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5624 condition for C-q SPC.
5625 (isearch-search-fun-default): Use new functions mentioned above.
5626 (isearch-search-forward, isearch-search-backward): Remove functions.
5627 (isearch-search): Don't let-bind search-spaces-regexp.
5628 (isearch-lazy-highlight-space-regexp): Remove variable.
5629 (isearch-lazy-highlight-lax-whitespace)
5630 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5631 (isearch-lazy-highlight-new-loop): Use them.
5632 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5633
af7dda05
CY
56342012-09-02 Chong Yidong <cyd@gnu.org>
5635
5636 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5637
d67d3afd
GM
56382012-09-02 Glenn Morris <rgm@gnu.org>
5639
5640 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5641
69678719
GM
56422012-09-01 Glenn Morris <rgm@gnu.org>
5643
5644 * term.el: Tidy up menu definitions.
5645 (term-mode-map): Use easymenu for In/Out, Complete menus.
5646 (term-pager-break-map): Initialize in the defvar.
5647 (term-terminal-menu, term-signals-menu): Define with easymenu.
5648 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5649 (term-pager-menu): New, extracted from term-process-pager.
5650 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5651 (term-update-mode-line): Propertize line/char and page items.
5652 (term-process-pager): Move keymap initialization elsewhere.
5653
78dd6ab1
MR
56542012-09-01 Martin Rudalics <rudalics@gmx.at>
5655
5656 * window.el (switch-to-prev-buffer): Handle additional values of
5657 BURY-OR-KILL argument. Don't switch in minibuffer window.
5658 (switch-to-next-buffer): Don't switch in minibuffer window.
5659 (quit-restore-window): New function based on quit-window.
5660 Handle additional values of former KILL argument.
5661 (quit-window): Call quit-restore-window with appropriate
5662 interpretation of KILL argument.
5663 (display-buffer-below-selected): New buffer display action
5664 function.
5665
3d10e134
SM
56662012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * minibuffer.el (completion-at-point-functions): Complete docstring
5669 (bug#12254).
5670
0e23ef9d
PE
56712012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5672
5673 Better seed support for (random).
5674 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5675 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5676 * play/mpuz.el, play/tetris.el, play/zone.el:
5677 * calc/calc-comb.el (math-init-random-base):
5678 * play/blackbox.el (bb-init-board):
5679 * play/life.el (life):
5680 * server.el (server-use-tcp):
5681 * type-break.el (type-break):
5682 Remove unnecessary call to (random t).
5683 * net/sasl.el (sasl-unique-id-function):
5684 Change (random t) to (random), now that the latter is more random.
5685 * play/life.el (life-initialized): Remove no-longer-needed var.
5686
862382df
MR
56872012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5688
5689 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5690 Consider frame's buffer predicate when choosing the buffer.
5691 (Bug#12081)
5692
262a66e1
RS
56932012-08-30 Richard Stallman <rms@gnu.org>
5694
5695 * simple.el (special-mode-map): Delete binding for `z'.
5696
f17e1d00
AS
56972012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5698
5699 * progmodes/compile.el (compilation-always-kill): Doc fix.
5700
24777832
CY
57012012-08-30 Chong Yidong <cyd@gnu.org>
5702
5703 * window.el (display-buffer-reuse-frames): Make the obsolescence
5704 message more informative.
5705
69ba1f04
GM
57062012-08-30 Glenn Morris <rgm@gnu.org>
5707
5708 * paren.el (show-paren-delay):
5709 Add a :set function. Doc fix. (Bug#12297)
5710
f0019ede
MB
57112012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5712
5713 * progmodes/compile.el (compilation-always-kill): New var.
5714 (compilation-start): Use it.
5715
35e62fc9
SM
57162012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5717
af070a1c
SM
5718 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5719 * files.el (read-only-mode): Move to simple.el.
5720
35e62fc9
SM
5721 * files.el (read-only-mode): New minor mode.
5722 (toggle-read-only): Use it and mark obsolete.
5723 (find-file--read-only):
5724 * vc/vc.el (vc-next-action, vc-checkout):
5725 * vc/vc-cvs.el (vc-cvs-checkout):
5726 * obsolete/vc-mcvs.el (vc-mcvs-update):
5727 * ffap.el (ffap--toggle-read-only): Update callers.
5728
c2c43c23
MA
57292012-08-29 Michael Albinus <michael.albinus@gmx.de>
5730
5731 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5732 remote shell scripts.
5733 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5734
5735 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5736 "/usr/local/sbin".
5737
9fba804b
SM
57382012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5741
eada0861 57422012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5743
806f0cc7
LL
5744 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5745 completion-at-point. (Bug#12220)
5746
3bb213b9
LL
5747 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5748
22ab32ef
LL
5749 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5750
eada0861 57512012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5752
19c17fc1
CY
5753 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5754 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5755
eada0861 57562012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5757
5758 * progmodes/hideif.el (hif-compress-define-list):
5759 Fix typo. (Bug#11951)
5760
eada0861 57612012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5762
5763 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5764 buffer local setting.
5765
27d6c5a8
LL
5766 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5767 rcirc-encode-coding-system.
5768
eada0861 57692012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5770
5771 * net/rcirc.el (rcirc-split-message): New function.
5772 (rcirc-send-message): Use it. (Bug#12051)
5773
d44688e4
JL
57742012-08-28 Juri Linkov <juri@jurta.org>
5775
5776 * info.el (Info-fontify-node): Hide empty lines at the end of
5777 the node. (Bug#12272)
5778
34f10d41
MR
57792012-08-27 Drew Adams <drew.adams@oracle.com>
5780
5781 * dired.el (dired-pop-to-buffer): Make window start at beginning
5782 of buffer (Bug#12281).
5783
77f1f99c
CY
57842012-08-26 Chong Yidong <cyd@gnu.org>
5785
5786 * window.el (special-display-regexps, special-display-frame-alist)
5787 (special-display-buffer-names, special-display-function)
5788 (display-buffer-reuse-frames): Mark as obsolete.
5789
5790 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5791
5792 * help.el (help-print-return-message): Don't treat
5793 display-buffer-reuse-frames specially.
5794
d97af5a0
CY
57952012-08-26 Chong Yidong <cyd@gnu.org>
5796
9fba804b
SM
5797 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5798 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5799 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5800 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5801 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5802 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5803 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5804 the functions directly with gdb-display-buffer-other-frame-action.
5805 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5806 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5807 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5808 (gdb-display-registers-buffer): Define directly.
5809 (def-gdb-display-buffer): Macro deleted.
5810 (gdb-display-buffer): Remove second and third args, callers don't
5811 use them. Defer to the default display-buffer behavior, apart
5812 from making windows dedicated.
5813 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5814
5815 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5816
5817 * window.el (display-buffer-pop-up-frame): Handle a
5818 pop-up-frame-parameters alist entry.
5819 (display-buffer): Document it.
5820
dd7ffad6
CY
58212012-08-26 Chong Yidong <cyd@gnu.org>
5822
5823 * isearch.el (search-whitespace-regexp): Make string and nil
5824 values apply to both ordinary and regexp search. Allow a cons
5825 cell value to distinguish between the two.
5826 (isearch-whitespace-regexp, isearch-search-forward)
5827 (isearch-search-backward): New functions.
5828 (isearch-occur, isearch-search-fun-default, isearch-search)
5829 (isearch-lazy-highlight-new-loop): Use them.
5830 (isearch-forward, isearch-forward-regexp): Doc fix.
5831
4c47bd1e
CY
58322012-08-26 Chong Yidong <cyd@gnu.org>
5833
5834 * faces.el (help-argument-name): Always inherit from italic
5835 (Bug#12213).
5836
9aba119d
MR
58372012-08-25 Martin Rudalics <rudalics@gmx.at>
5838
5839 * window.el (window--even-window-heights): Even heights when
5840 WINDOW and the selected window form a vertical combination.
5841 (display-buffer-use-some-window): Provide that window used gets
5842 sized back by quit-window. (Bug#11880) and (Bug#12091)
5843
ca5256ad
PE
58442012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5845
5846 Fix file time stamp problem with bzr and CVS (Bug#12001).
5847 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5848 in the file's time stamp, since the version control system loses
5849 that information.
5850
d1c0d176
JL
58512012-08-22 Juri Linkov <juri@jurta.org>
5852
5853 * info.el (Info-fontify-node): Hide the suffix of the
5854 Info file name in the header line. (Bug#12187)
5855
141562ff
GM
58562012-08-22 Glenn Morris <rgm@gnu.org>
5857
5858 * calendar/cal-tex.el (cal-tex-weekly-common):
5859 Restore leading blank page.
5860
3a21537c 58612012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5862
5863 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
5864 the region under `shift-select-mode'. (Bug#12231)
5865
58662012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
5867
5868 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5869 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5870 gives details on why the space is never needed.
5871
ea95074e
MR
58722012-08-22 Martin Rudalics <rudalics@gmx.at>
5873
9fba804b
SM
5874 * window.el (walk-window-tree, window-with-parameter):
5875 New optional argument MINIBUF to control whether these functions
ea95074e
MR
5876 should run on the minibuffer window.
5877 (window-at-side-list): Don't operate on minibuffer window.
5878 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
5879 (window--size-ignore): Rename to window--size-ignore-p.
5880 Update callers.
caceae25
MR
5881 (display-buffer-in-atom-window, window--major-non-side-window)
5882 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
5883 (delete-side-window, display-buffer-in-side-window):
5884 New functions.
caceae25
MR
5885 (window--side-check, window-deletable-p, delete-window)
5886 (delete-other-windows, split-window): Handle side windows and
5887 atomic windows appropriately.
5888 (window--display-buffer): Call display-buffer-record-window also
5889 when the window buffer did not change.
ea95074e 5890
80a51fa0
CS
58912012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5892
5893 * help-fns.el (help-fns--key-bindings):
5894 Abbreviate non-symbol remap targets. (Bug#12174)
5895
fbb6300b
MR
58962012-08-22 Martin Rudalics <rudalics@gmx.at>
5897
5898 * dired.el (dired-mark-remembered): Don't clobber point.
5899 (Bug#11795)
5900
2b2c0794
GM
59012012-08-22 Glenn Morris <rgm@gnu.org>
5902
5903 * progmodes/bug-reference.el (bug-reference): New custom group.
5904 (bug-reference-bug-regexp): Make it a defcustom.
5905
37219830
DU
59062012-08-22 Daiki Ueno <ueno@unixuser.org>
5907
5908 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5909 (js-paren-indent-offset, js-square-indent-offset)
5910 (js-curly-indent-offset): Add :safe (Bug#12257).
5911
94e0e559
EC
59122012-08-22 Edward O'Connor <hober0@gmail.com>
5913
5914 * json.el (json-key-format): Add error properties.
5915 (json-encode-key): New function.
5916 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5917 Use json-encode-key.
5918
da485f5e
GM
59192012-08-22 Glenn Morris <rgm@gnu.org>
5920
5921 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5922 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5923 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5924 Update for above change.
5925
c6cc78b8
AS
59262012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5927
5928 * cus-face.el (custom-face-attributes): Fix customize type for the
5929 :underline attribute. (Bug#11805)
5930
5481664a
MR
59312012-08-21 Martin Rudalics <rudalics@gmx.at>
5932
5933 * window.el (window-point-1, set-window-point-1): Remove.
5934 (window-in-direction, record-window-buffer)
5935 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
5936 (window--state-get-1, display-buffer-record-window):
5937 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
5938 window-point and set-window-point respectively.
5939
6d74698e
GM
59402012-08-21 Glenn Morris <rgm@gnu.org>
5941
b7fa2691
GM
5942 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5943 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5944 Use it.
5945
52f56d5a
GM
5946 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5947 (cal-tex-shortday): New function.
5948 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5949 (cal-tex-cursor-filofax-daily): Use the above.
5950
9f1ee09e
GM
5951 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5952 New functions.
5953 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5954 (cal-tex-cursor-filofax-week): Use them.
5955
79858159
GM
5956 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5957 New constants.
5958 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5959 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5960
d346b2b4
GM
5961 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5962 (cal-tex-end-document): Don't rely on buffer name.
5963
b2403709
GM
5964 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5965 Use cal-tex-vspace.
5966 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5967 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
5968 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5969 Use cal-tex-arg.
b2403709 5970
1cebb5c0
GM
5971 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5972 (cal-tex-cursor-week, cal-tex-cursor-week2)
5973 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5974 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5975 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5976 (cal-tex-insert-preamble, cal-tex-b-document)
5977 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5978 Improve cal-tex-cmd usage.
5979
c68cd5d4
GM
5980 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5981 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5982 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5983 (cal-tex-weekly-paper): New function.
5984 (cal-tex-cursor-week, cal-tex-cursor-week2)
5985 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5986 (cal-tex-cursor-day): Use it.
5987
9dca4801
GM
5988 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5989 (cal-tex-cursor-filofax-week): Remove leading blank page.
5990
1941e134
GM
5991 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5992 Add autoload cookie. For now at least, don't use color, since
5993 no other cal-tex function does.
5994
6d74698e
GM
5995 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5996 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5997 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5998
64cde199
JL
59992012-08-21 Juri Linkov <juri@jurta.org>
6000
6001 * info.el (Info-file-attributes): New variable.
6002 (info-insert-file-contents): Add file attributes to
6003 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6004 `Info-toc-nodes' when previous modtime of the Info file is less
6005 than new modtime.
6006 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6007 of info.el. (Bug#12230)
6008
32757648
GM
60092012-08-20 Glenn Morris <rgm@gnu.org>
6010
6011 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6012 * calendar/holidays.el (calendar-holiday-list):
6013 Report errors with display-warning rather than beep'n'sleep.
6014
a32fbbcf
MA
60152012-08-20 Michael Albinus <michael.albinus@gmx.de>
6016
6017 * net/tramp.el (tramp-accept-process-output): Accept only output
6018 from PROC. Otherwise, process filters and sentinels might be
6019 confused. (Bug#12145)
6020
a05731a0
CY
60212012-08-20 Chong Yidong <cyd@gnu.org>
6022
6023 * descr-text.el (describe-text-properties-1): Use overlays-in to
6024 report on empty overlays (Bug#3322).
6025
36e8d1eb
GM
60262012-08-20 Glenn Morris <rgm@gnu.org>
6027
3d300447
GM
6028 * mail/rmailout.el (rmail-output-read-file-name):
6029 Trap and report errors in rmail-output-file-alist elements.
6030
36e8d1eb
GM
6031 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6032 since most non-font-lock faces are not also variables).
6033
b96e5814
ER
60342012-08-20 Edward Reingold <reingold@iit.edu>
6035
6036 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6037 New function. (Bug12160)
6038
7cef3569
GM
60392012-08-19 Glenn Morris <rgm@gnu.org>
6040
6041 * mail/rmailout.el (rmail-output-read-file-name):
6042 Fix previous change (when the alist is nil or does not match).
6043
17975d7f
CY
60442012-08-19 Chong Yidong <cyd@gnu.org>
6045
6046 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6047 (Bug#12228).
6048
2170b1bd
CY
60492012-08-18 Chong Yidong <cyd@gnu.org>
6050
6051 * simple.el (yank-handled-properties): New defcustom.
6052 (yank-excluded-properties): Add font-lock-face and category.
6053 (yank): Doc fix.
6054
9fba804b
SM
6055 * subr.el (remove-yank-excluded-properties):
6056 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6057 and category is now done this way, instead of being hard-coded.
6058 (insert-for-yank-1): Remove font-lock-face handling.
6059 (yank-handle-font-lock-face-property)
6060 (yank-handle-category-property): New function.
6061
ee218151
GM
60622012-08-17 Glenn Morris <rgm@gnu.org>
6063
6064 * mail/rmailout.el (rmail-output-read-file-name):
6065 Check rmail-output-file-alist against the full message body
6066 in the correct rmail buffer. (Bug#12214)
6067
4a6bc3fd
MA
60682012-08-17 Michael Albinus <michael.albinus@gmx.de>
6069
9fba804b
SM
6070 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6071 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6072
383dcbf9
CY
60732012-08-17 Chong Yidong <cyd@gnu.org>
6074
6075 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6076 font spec, set the font directly (Bug#3228).
6077
998c4a6a
MR
60782012-08-17 Martin Rudalics <rudalics@gmx.at>
6079
6080 * window.el (delete-window): Fix last fix.
6081
52162052
MR
60822012-08-16 Martin Rudalics <rudalics@gmx.at>
6083
6084 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6085 (window-child, window-child-count, window-last-child)
6086 (window-normalize-window, window-combined-p)
6087 (window-combinations, window-atom-root, window-min-size)
6088 (window-sizable, window-sizable-p, window-size-fixed-p)
6089 (window-min-delta, window-max-delta, window--resizable)
6090 (window--resizable-p, window-resizable, window-total-size)
6091 (window-full-height-p, window-full-width-p, window-body-size)
6092 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6093 (minimize-window, window-deletable-p, delete-window)
6094 (delete-other-windows, set-window-buffer-start-and-point)
6095 (next-buffer, previous-buffer, split-window, balance-windows-2)
6096 (set-window-text-height, window-buffer-height)
6097 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6098 (truncated-partial-width-window-p): Minor code adjustments.
6099 In doc-strings state whether the argument window has to denote a
85c2386b 6100 live, valid or any window.
52162052 6101
1c308380
PS
61022012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6103
6104 * progmodes/subword.el (subword-forward-function)
6105 (subword-backward-function, subword-forward-regexp)
6106 (subword-backward-regexp): New variables.
6107 (subword-forward, subword-forward-internal, subword-backward-internal):
6108 Use new variables, eg so that different "word" definitions
6109 can be easily used. (Bug#11411)
6110
94c9ece1
SM
61112012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6114 for composite selectors.
6115 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6116 operation just because we can't find a previous revision.
6117
f2045622
CY
61182012-08-15 Chong Yidong <cyd@gnu.org>
6119
6120 * frame.el (set-frame-font): Accept font objects.
6121
582db660
SM
61222012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6125
2f29c200
WJ
61262012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6127
456e62c2
WJ
6128 * man.el (Man-overstrike-face, Man-underline-face)
6129 (Man-reverse-face): Remove variables.
6130 (Man-overstrike, Man-underline, Man-reverse): New faces.
6131 (Man-fontify-manpage): Use them instead of the variables.
6132 (Man-cleanup-manpage): Comment change.
6133 (Man-ansi-color-map): New variable.
6134 (Man-fontify-manpage): Use it.
6135 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6136
2f29c200
WJ
6137 Implement ANSI SGR parameters 22-27 (bug#12146).
6138 * ansi-color.el (ansi-colors): Doc fix.
6139 (ansi-color-context, ansi-color-context-region): Doc fix.
6140 (ansi-color--find-face): New function.
6141 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6142 Rename the local variable `face' to `codes' since it is now a list of
6143 ansi codes. Doc fix.
6144 (ansi-color-get-face): Remove.
6145 (ansi-color-parse-sequence): New function, derived from
6146 ansi-color-get-face.
6147 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6148 codes 22-27.
6149
b4f5e9df
SM
61502012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * subr.el (read-passwd): Allow use from a minibuffer.
6153
ba025fbd
EZ
61542012-08-14 Eli Zaretskii <eliz@gnu.org>
6155
6156 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6157 inside comments and strings as identifiers.
6158
6159 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6160 expression to evaluate. This allows to evaluate expressions with
6161 embedded whitespace.
6162 (gud-tooltip-tips): Add a blank before the newline in the
6163 message-box text, for the benefit of message-box emulation on
6164 MS-Windows.
6165
6166 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6167 messages from GDB, pop them up in a tooltip to give feedback to
6168 user.
b4f5e9df
SM
6169 (gdb-tooltip-print-1): Quote the expression to evaluate.
6170 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6171 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6172 if the TTY name is nil or empty (which happens when communicating
6173 with the inferior via pipes, e.g. on MS-Windows).
6174 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6175 don't send that to the GUD buffer.
6176
c548f821
GM
61772012-08-14 Glenn Morris <rgm@gnu.org>
6178
6179 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6180 Optimize away setq-default with no args, as for setq. (Bug#12195)
6181
55802e4a
CY
61822012-08-14 Chong Yidong <cyd@gnu.org>
6183
4abcdac8
CY
6184 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6185
55802e4a
CY
6186 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6187 (Bug#12085).
6188
3c3cda1a
GM
61892012-08-14 Glenn Morris <rgm@gnu.org>
6190
6191 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6192
e1873bd0
MA
61932012-08-14 Michael Albinus <michael.albinus@gmx.de>
6194
6195 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6196 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6197 Use cached shell name.
6198
925411b4
FEG
61992012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6200
6201 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6202 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6203
e636fafe
DG
62042012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6205
6206 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6207 (ruby-percent-literal-beg-re): New constant.
6208 (ruby-syntax-general-delimiters-goto-beg): Rename to
6209 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6210 (ruby-syntax-propertize-general-delimiters): Rename to
6211 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6212 popular term. Adjust comments everywhere.
6213 (ruby-syntax-propertize-percent-literal): Only propertize when not
6214 inside a simple string or comment. When the literal is unclosed,
6215 leave the text after it unpropertized.
f063063a
DG
6216 (ruby-syntax-methods-before-regexp): New constant.
6217 (ruby-syntax-propertize-function): Use it to recognize regexps.
6218 Don't look at the text after regexp, just use the whitelist.
e636fafe 6219
e5b19827
AS
62202012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6221
6222 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6223 non-nil always load the compiled file if it exists. (Bug#12197)
6224
a9f6f311
CY
62252012-08-14 Chong Yidong <cyd@gnu.org>
6226
6227 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6228 (hi-lock-set-pattern): When deciding whether to use font lock or
6229 overlays, look at font-lock-mode instead of font-lock-fontified
6230 (Bug#12168).
6231 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6232 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6233
7d806b1e
DU
62342012-08-14 Daiki Ueno <ueno@unixuser.org>
6235
6236 * subr.el (internal--after-with-selected-window): Fix typo
6237 (Bug#12193).
6238
5beed586
FEG
62392012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6240
6241 Use `completion-table-dynamic' for completion functions.
6242 * progmodes/python.el
6243 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6244 (python-shell-completion--get-completions):
6245 Remove functions.
5beed586
FEG
6246 (python-shell-completion-complete-at-point): New function.
6247 (python-completion-complete-at-point): Use it.
6248
92cb3b04
J
62492012-08-13 Jambunathan K <kjambunathan@gmail.com>
6250
6251 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6252 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6253
89660017
SM
62542012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6255
3c98c962
SM
6256 * subr.el (function-get): Refine `autoload' arg so it can also
6257 autoload functions for gv.el (bug#12191).
6258 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6259 autoloads macros.
6260
aa7c6dbe
SM
6261 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6262 Prefer pcase-let over destructuring-bind.
6263 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6264 Also, remove whitespace as we go, rather than after accumulating the
6265 various places.
6266
89660017
SM
6267 * subr.el (internal--before-with-selected-window)
6268 (internal--after-with-selected-window): Fix typo seleted->selected.
6269 (with-selected-window): Adjust callers.
6270 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6271
31cd32c9
BG
62722012-08-13 Bastien Guerry <bzg@gnu.org>
6273
0fcd3d9f 6274 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6275 enhancement. (Bug#12172)
6276
1b15d8ad
AS
62772012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6278
31e54db0
AS
6279 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6280 type 1-6.
6281 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6282 extended headers.
6283
1b15d8ad
AS
6284 * files.el (hack-local-variables-filter): Remove useless eval.
6285
35cb9c06
MR
62862012-08-13 Martin Rudalics <rudalics@gmx.at>
6287
6288 * subr.el (with-selected-window): Fix last change.
6289
1439443b
SM
62902012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * subr.el (internal--before-with-seleted-window)
6293 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6294 (with-selected-window): Use them, to replace dependency on
6295 tty-top-frame.
1439443b 6296
0d9e2599
NN
62972012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6298
6299 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6300 binding for `newline'.
6301 (ruby-move-to-block): When moving backward, stop at block opening,
6302 not indentation.
6303 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6304 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6305 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6306 `ruby-toggle-block'.
6307
ba10c48c
SM
63082012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * ibuffer.el (ibuffer-do-toggle-read-only):
6311 * dired.el (dired-toggle-read-only):
6312 * buff-menu.el (Buffer-menu-toggle-read-only):
6313 * bindings.el (mode-line-toggle-read-only):
6314 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6315
9229c658
AS
63162012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6317
6318 * descr-text.el (describe-char): Put the overlays over the
6319 "displayed as" character.
6320
0fd09128
JB
63212012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6322
6323 * calc/calc-units.el (math-default-units-table): Give an
6324 initial value.
6325 (math-put-default-units): Add options to put composite units and
6326 unit systems in the default units table.
6327 (calc-convert-units): Send composite units to
6328 `math-put-default-units' when appropriate.
6329
9ff9402d 63302012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6331
fbb5e336
GM
6332 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6333
7aacaf15
GM
6334 * tutorial.el (help-with-tutorial):
6335 * emacs-lisp/copyright.el (copyright-update-directory):
6336 * emacs-lisp/autoload.el (autoload-find-generated-file)
6337 (autoload-find-file): Disable local eval: (for insurance).
6338
f40b9f10
GM
6339 * files.el (hack-local-variables-filter): If an eval: form is not
6340 known to be safe, and enable-local-variables is :safe, then ignore
6341 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6342 This is CVE-2012-3479.
f40b9f10 6343
daa9f1a6
SM
63442012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6347 (rx-form): Simplify.
6348
9cd80478
DG
63492012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6350
0d9e2599
NN
6351 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6352 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6353 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6354 (ruby-syntax-propertize-function): Adjust for changes in
6355 `ruby-syntax-propertize-heredoc'.
6356
63572012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6358
9cd80478
DG
6359 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6360 binding (use `M-;' instead).
9cd80478 6361 (ruby-singleton-class-p): New function.
0d9e2599 6362 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6363
d301b413
SM
63642012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6367
1530c98e
CY
63682012-08-10 Chong Yidong <cyd@gnu.org>
6369
6370 * progmodes/python.el (python-shell-get-process-name): Don't mess
6371 with same-window-buffer-names.
6372
6373 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6374 (eshell-remove-from-window-buffer-names): Make obsolete.
6375 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6376 (eshell): Just use pop-to-buffer-same-window instead.
6377
e1293765
CY
63782012-08-10 Chong Yidong <cyd@gnu.org>
6379
6380 * bindings.el: Bind M-= back to count-words-region.
6381
6382 * simple.el (count-words-region): Accept a prefix arg for acting
6383 on the entire buffer.
6384 (count-words--buffer-message): New helper function.
6385
e1894109
SM
63862012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6389 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6390 (event-start, event-end): Use posn-at-point to return a more
6391 informative posn.
6392 (posnp): New function.
6393 * mouse.el (popup-menu-normalize-position): Use it.
6394
c69f56a2
MY
63952012-08-10 Masatake YAMATO <yamato@redhat.com>
6396
6397 * mouse.el (popup-menu-normalize-position): New function.
6398 (popup-menu): Use `popup-menu-normalize-position' to normalize
6399 the form for POSITION argument.
6400
6401 * term/x-win.el (x-menu-bar-open):
6402 Use the value returend from (posn-at-point) as position
6403 passed to `popup-menu'.
6404
31673780
JB
64052012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6406
6407 * calc/calccomp.el (math-compose-expr): Add extra argument
6408 indicating that parentheses should be put around products in
6409 denominators. Give multiplication precedence over division during
6410 composition.
6411
dab7711b
CY
64122012-08-09 Chong Yidong <cyd@gnu.org>
6413
dee4ef93
CY
6414 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6415 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6416 (Man-untabify-command, manual-program): Convert to defcustom
6417 (Bug#10429).
6418
73e2bbc5
CY
6419 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6420
3e861c8a
CY
6421 * descr-text.el (describe-char): Don't insert extra newlines
6422 (Bug#10127).
6423
a9f5a649
CY
6424 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6425 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6426
dab7711b
CY
6427 * align.el (align-region): Delete temporary markers (Bug#10047).
6428 Plus some code cleanups.
6429
e0cc4efa
FEG
64302012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6431
6432 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6433 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6434 (python-shell-internal-last-output): Use make-local-variable
6435 instead of make-variable-buffer-local.
6436
489af14f
FEG
64372012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6438
6439 * progmodes/python.el: Enhancements to forward-sexp.
6440 (python-nav-forward-sexp): Rename from
6441 python-nav-forward-sexp-function.
c69f56a2
MY
6442 (python-nav--forward-sexp, python-nav--backward-sexp):
6443 New functions.
489af14f 6444
0fc50303
JB
64452012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6446
6447 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6448 modes and simplification modes.
6449
5d65606a
SM
64502012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * delsel.el (delete-selection-pre-hook): Don't propagate the
6453 file-supersession signals (bug#12161).
6454
4250fdf5
SM
64552012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6458 (cl-map-extents): Add compatibility aliases (bug#12135).
6459
d9f9b465
MA
64602012-08-08 Michael Albinus <michael.albinus@gmx.de>
6461
6462 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6463 tests by `ignore-error'.
6464 (tramp-find-shell): Open also a new shell, when cache is already
6465 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6466
ce0fcefa
JL
64672012-08-08 Juri Linkov <juri@jurta.org>
6468
6469 * bookmark.el: Add `defaults' property to the bookmark record.
6470 (bookmark-current-buffer): Doc fix.
6471 (bookmark-make-record): Add `defaults' property with default values
6472 to the bookmark record.
6473 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6474 with `bookmark-insert-current-bookmark'.
6475 (bookmark-set): Get `defaults' property from the bookmark record
6476 and use it in `read-from-minibuffer'.
6477 (bookmark-insert-current-bookmark): Remove function.
6478
6479 * info.el (Info-bookmark-make-record): Add `defaults' property
6480 with values of canonical Info node name, the current Info file
6481 name and the current Info node name. (Bug#12107)
6482
53fa8652
JL
64832012-08-08 Juri Linkov <juri@jurta.org>
6484
6485 * files.el (basic-save-buffer): Use `buffer-name' as the default
6486 of `read-file-name' when buffer is not visiting a file (bug#12128).
6487
242c0a95
JL
64882012-08-08 Juri Linkov <juri@jurta.org>
6489
6490 * info.el (Info-isearch-search): Doc fix.
6491 (Info-search): Change search-failed message from "initial node" to
6492 "end of node" (bug#12078).
6493 (Info-isearch-search): Change `isearch-string-state' to
6494 `isearch--state-string'.
6495
32ac3a6b
GM
64962012-08-08 Glenn Morris <rgm@gnu.org>
6497
6498 * language/persian.el: Remove file.
f8c1afd5 6499 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6500 * loadup.el: Remove language/persian.
6501
2c2d9c9c
OF
65022012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6503
6504 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6505
2d79ec42
FEG
65062012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6507
3c855b96 6508 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6509 (python-syntax-context) Rename from python-info-ppss-context.
6510 (python-syntax-context-type): Rename from
6511 python-info-ppss-context-type.
6512 (python-syntax-comment-or-string-p): Rename from
6513 python-info-ppss-comment-or-string-p.
6514
2bd255dd
JB
65152012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6516
6517 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6518
c395097f
AS
65192012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6520
6125983e
AS
6521 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6522 a defcustom that is quoted with backquote.
6523
4250fdf5
SM
6524 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6525 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6526 (math-do-arg-check, math-define-function-body): Use backquote forms.
6527 * calc/calc-ext.el (math-defcache): Likewise.
6528 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6529 * allout.el (allout-new-exposure): Likewise.
6530 * calc/calcalg2.el (math-tracing-integral): Likewise.
6531 * info.el (Info-last-menu-item): Likewise.
6532 * emulation/vip.el (vip-loop): Likewise.
6533 * textmodes/artist.el (artist-funcall): Likewise.
6534 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6535 Construct menu-item directly.
6536
4250fdf5
SM
6537 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6538 Don't declare.
c395097f 6539
5fb50dd3
CY
65402012-08-07 Chong Yidong <cyd@gnu.org>
6541
6542 * simple.el (deactivate-mark): Preserve text properties when
6543 saving the primary selection (Bug#8384).
6544
54eea618
KR
65452012-08-07 Kevin Ryde <user42@zip.com.au>
6546
6547 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6548 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6549 and continue processing (Bug#12110).
6550
638eaeb9
SM
65512012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6554 syntax-propertize-function (bug#10095).
6555
ea376861
SM
65562012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6557
f91b35be
SM
6558 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6559 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6560 describe-function-1.
6561 (describe-function-1): Use them. Move compiler macro after sig.
6562 (help-fns--compiler-macro): Use function-get. Assume we're already in
6563 standard-output. Adjust layout to new call order.
6564
ea376861
SM
6565 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6566 re-binding a symbol that has a symbol-macro (bug#12119).
6567
d5be7bd0
MB
65682012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6569
6570 * language/persian.el: New file. (Bug#11812)
6571 * loadup.el: Add language/persian.el.
6572
90749b53
CY
65732012-08-06 Chong Yidong <cyd@gnu.org>
6574
6575 * window.el (window--maybe-raise-frame): New function.
6576 (window--display-buffer): Split off from here.
6577 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6578 (display-buffer-pop-up-window, display-buffer-use-some-window):
6579 Obey an inhibit-switch-frame action alist entry.
6580 (display-buffer): Update doc.
6581
6582 * replace.el (occur-after-change-function): Avoid losing focus by
6583 using the inhibit-switch-frame display parameter (Bug#12139).
6584
ba7b0154
FEG
65852012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6586
6587 Make internal shell process buffer names start with space.
6588 * progmodes/python.el (python-shell-make-comint): Add optional
6589 argument INTERNAL.
6590 (run-python-internal): Use it.
6591 (python-shell-internal-get-or-create-process): Check for new
6592 internal buffer names.
6593
5eaeacb5
GM
65942012-08-06 Glenn Morris <rgm@gnu.org>
6595
e296d94b 6596 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6597 Do less getting and setting of environment variables.
6598
b7ccbdc2
CY
65992012-08-05 Chong Yidong <cyd@gnu.org>
6600
777fe95e
CY
6601 * proced.el (proced): Add substitution string to docstring to
6602 trigger autoloading of the proced library on C-h f (Bug#1768).
6603
4250fdf5
SM
6604 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6605 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6606
6607 * imenu.el (imenu-generic-expression): Move documentation here
6608 from imenu--generic-function.
6609 (imenu--generic-function): Refer to imenu-generic-expression.
6610
9e3b7800 66112012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6612
6613 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6614 indentation declaration.
6615 (viper-loop): Add indentation declaration (Bug#7025).
6616
e5d9c0d1
CY
66172012-08-05 Chong Yidong <cyd@gnu.org>
6618
f0422feb
CY
6619 * help-fns.el (describe-variable): Add hyperlink for
6620 directory-local variables files. Improve buffer-local and
6621 permanent-local reporting; suggested by MON KEY (Bug#6644).
6622
6623 * help-mode.el (help-dir-local-var-def): New button type.
6624
e5d9c0d1
CY
6625 * files.el (kill-buffer-hook): Provide a defvar.
6626
a4f2deaa
GM
66272012-08-05 Glenn Morris <rgm@gnu.org>
6628
6629 * eshell/esh-ext.el (eshell/addpath):
6630 Also update eshell-path-env. (Bug#12013)
6631
a9dd5754
CY
66322012-08-05 Chong Yidong <cyd@gnu.org>
6633
a4f2deaa 6634 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6635
d014c740
CY
6636 * fringe.el (fringe-styles): Add docstring.
6637 (fringe--check-mode): New function.
6638 (set-fringe-mode, set-fringe-style): Use it.
6639 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6640
a9dd5754
CY
6641 * files.el (set-auto-mode): Fix invalid setq call.
6642
7c2dc8bd
SM
66432012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * isearch.el: Misc simplification; use defstruct.
6646 (isearch-mode-map): Dense maps now work like sparse ones.
6647 (isearch--state): New defstruct.
6648 (isearch-string-state, isearch-message-state, isearch-point-state)
6649 (isearch-success-state, isearch-forward-state)
6650 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6651 (isearch-wrapped-state, isearch-barrier-state)
6652 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6653 replaced by defstruct's accessors.
6654 (isearch--set-state): Rename from isearch-top-state and change
6655 calling convention.
6656 (isearch-push-state): Use new isearch--get-state.
6657 (isearch-toggle-word): Disable regexp when enabling word.
6658 (isearch-message-prefix): Remove unused arg _c-q-hack.
6659 (isearch-message-suffix): Remove unused arg _ellipsis.
6660
7fcc0070
AS
66612012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6662
6663 * simple.el (list-processes--refresh): For a server use :host or
6664 :local as the address.
97ad0769 6665 (list-processes): Doc fix.
7fcc0070 6666
a11035b8 66672012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6668
6669 * lisp/mpc.el: Support password in host argument.
6670 (mpc--proc-connect): Parse and use new password element.
6671 Set mpc-proc variable instead of returning process.
6672 (mpc-proc): Adjust accordingly.
6673
6dad7178
EZ
66742012-08-03 Eli Zaretskii <eliz@gnu.org>
6675
18949c2f
EZ
6676 * whitespace.el (whitespace-display-mappings): Use Unicode
6677 codepoints, instead of emacs-mule codepoints. See
6678 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6679 for the details.
6680
6dad7178
EZ
6681 * files.el (file-truename): Don't skip symlink-chasing part on
6682 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6683 Windows into the loop that recursively chases symlinks.
6684 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6685 MS-DOS.
6686
385b0198
CY
66872012-08-03 Chong Yidong <cyd@gnu.org>
6688
6200f3c4
CY
6689 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6690
385b0198
CY
6691 * sort.el (sort-regexp-fields): Doc fix.
6692
b9e74744
TH
66932012-08-03 Tassilo Horn <tsdh@gnu.org>
6694
6695 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6696 labels regex position point at the expected place.
6697
41013cb4
MK
66982012-08-03 MON KEY <monkey@sandpframing.com>
6699
6700 * net/imap.el (imap-interactive-login, imap-authenticate)
6701 (imap-mailbox-lsub, imap-mailbox-list)
6702 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6703 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6704 (imap-parse-response): Doc fix.
6705
0ffee616
JT
67062012-08-03 João Távora <joaotavora@gmail.com>
6707
6708 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6709 if sexp scanning does not move point (Bug#5734).
6710
cfcc9cc8
TH
67112012-08-02 Tassilo Horn <tsdh@gnu.org>
6712
6713 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6714 Add listings, minted, and ctable packages.
6715 (reftex-label-alist-builtin): Move listings, minted, and ctable
6716 entries before LaTeX.
a01bbb84 6717 (reftex-label-alist): Docfix.
cfcc9cc8 6718
66ec2442
BG
67192012-08-02 Bastien Guerry <bzg@gnu.org>
6720
6721 * replace.el (occur): Fix docstring (bug#12122).
6722
837b365b
GM
67232012-08-02 Glenn Morris <rgm@gnu.org>
6724
6725 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6726
e098de97
PE
67272012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6728
6729 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6730 * international/mule-cmds.el: Create
6731 inactivate-current-input-method-function as an obsolete alias for
6732 deactivate-current-input-method-function. See Katsumi Yamaoka in
6733 <http://bugs.gnu.org/10150#46>.
6734
a0f95636
JB
67352012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6736
6737 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6738 of nested `if's.
6739
0d26d7c4
GM
67402012-08-01 Glenn Morris <rgm@gnu.org>
6741
6742 * progmodes/autoconf.el (autoconf-definition-regexp):
6743 Add AH_TEMPLATE, adjust submatch numbering.
6744 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6745 (autoconf-current-defun-function): Update for above change.
6746 (autoconf-current-defun-function): First skip to end of current word.
6747
b686ba06
RS
67482012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6749
6750 * calendar/cal-html.el (cal-html-insert-agenda-days):
6751 Fix typo. (Bug#12018)
6752
0d49da68
FEG
67532012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6754
6755 Shell processes: enhancements to startup and CEDET compatibility.
6756 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6757 (python-shell-make-comint): accept-process-output at startup.
6758 (run-python-internal): Set inferior-python-mode-hook to nil.
6759 (python-shell-internal-get-or-create-process): call sit-for.
6760 (python-preoutput-result): Add obsolete alias.
6761 (python-shell-internal-send-string): Use it.
6762 (python-shell-send-setup-code): Remove call to
6763 accept-process-output.
6764
f1a71c6e
AS
67652012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6766
6767 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6768 (Bug#12108)
6769
d2605269
JB
67702012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6771
6772 * calc-mode.el (calc-basic-simplification-mode): Rename from
6773 `calc-limited-simplification-mode'.
6774 (calc-alg-simplification-mode): New function.
fc0c31f8 6775 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6776
d2605269
JB
6777 * calc.el (calc-set-mode-line): Adjust mode line display for
6778 basic simplification mode.
6779
6780 * calc-help.el (calc-m-prefix-help): Update help message.
6781
6782 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6783 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6784
a3827a43
BG
67852012-07-31 Bastien Guerry <bzg@gnu.org>
6786
6787 * man.el (man): Fix comment. (bug#12101)
6788
502e3f89
MR
67892012-07-31 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6792 Don't return a non-nil value when no suitable buffer was found.
6793
d7714961
FEG
67942012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6795
6796 * progmodes/python.el (run-python-internal): Disable font lock for
6797 internal shells.
6798
1f45e27e
SM
67992012-07-30 Stefan Merten <smerten@oekonux.de>
6800
70efc5c9 6801 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6802 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6803 (rst-official-version, rst-official-cvs-rev)
6804 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6805 (rst-mode-map): New key binding.
6806
0aee6912
PE
68072012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6808
6809 Update .PHONY listings in makefiles.
6810 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6811 autoloads, update-subdirs, updates, bzr-update, update-authors,
6812 compile-onefile, compile-calc, backup-compiled-files,
6813 compile-after-backup, compile-one-process, mh-autoloads,
6814 bootstrap-clean, distclean, maintainer-clean.
6815
9052f9f0
JB
68162012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6817
1823ac5a
JB
6818 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6819 (calc-set-mode-line): Don't display "AlgSimp ".
6820
6821 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6822 (calc-lim-simplify-mode): New function.
6823 (calc-set-simplify-mode): Default to 'alg.
6824 (calc-default-simplify-mode): Make algebraic simplifications
6825 the default.
6826
6827 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6828 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6829
8d7c7eed 6830 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6831 indicate new simplification modes.
6832
1823ac5a
JB
6833 * calc/README: Mention new default simplification mode.
6834
9052f9f0
JB
6835 * calc/calc.el (math-normalize-error): New variable.
6836 (math-normalize): Set `math-normalize-error' to t
6837 when there's an error.
6838
6839 * calc/calc-alg.el (math-simplify): Don't simplify when
6840 `math-normalize' returns an error.
6841
20ba0cb4
EZ
68422012-07-29 Eli Zaretskii <eliz@gnu.org>
6843
6844 * international/mule-cmds.el (set-locale-environment): Revert last
6845 change, since display-graphic-p returns nil when this function is
6846 called during startup. Instead...
6847
6848 * term/w32console.el (terminal-init-w32console): ...setup the
6849 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6850
a5dcc929
JL
68512012-07-29 Juri Linkov <juri@jurta.org>
6852
6853 * simple.el (goto-line): Don't display default line number in the
6854 prompt because it should be displayed by `read-number' (bug#9952).
6855 Add the current line number to the defaults of `goto-line' to
6856 allow its easier modification by users with `M-n' (bug#9201).
6857
6858 * subr.el (read-number): Support multiple default values like in
6859 other minibuffer reading functions. Replace `read' with
6860 `string-to-number' for consistency with `number-to-string'.
6861
72b255c7
PE
68622012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6863
6864 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6865 * emulation/viper-init.el (viper-deactivate-input-method-action):
6866 Rename from viper-inactivate-input-method-action.
6867 (viper-deactivate-input-method):
6868 Rename from viper-inactivate-input-method.
6869 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6870 * international/mule-cmds.el (deactivate-input-method):
6871 Rename from inactivate-input-method.
6872 Also run input-method-deactivate-hook.
6873 (deactivate-current-input-method-function):
6874 Rename from inactivate-current-input-method-function.
6875 (input-method-deactivate-hook): New hook.
6876 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
6877 (inactivate-input-method): Mark obsolete.
6878
72b255c7
PE
6879 * international/quail.el (quail-activate):
6880 Also run quail-deactivate-hook.
6881 (quail-deactivate): Rename from quail-inactivate.
6882 * international/robin.el (robin-activate):
6883 Also run robin-deactivate-hook.
6884 (robin-deactivate): Rename from robin-inactivate.
6885
2549c068
CY
68862012-07-29 Chong Yidong <cyd@gnu.org>
6887
6888 * simple.el (indicate-copied-region): New function.
6889 (kill-ring-save): Split off from here.
6890
6891 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6892 (kill-rectangle): Set deactivate-mark to t on read-only error.
6893
6894 * register.el (copy-to-register, copy-rectangle-to-register):
6895 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
6896 (append-to-register, prepend-to-register): Call indicate-copied-region.
6897
68982012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
6899
6900 * simple.el (async-shell-command-buffer): New defcustom.
6901 (shell-command): Use it. (Bug#4719)
6902
01bd1b0d
EZ
69032012-07-28 Eli Zaretskii <eliz@gnu.org>
6904
6905 * international/mule-cmds.el (set-locale-environment): In a
6906 console session on MS-Windows, set up keyboard and terminal
6907 encoding from the OEM codepage, not the ANSI codepage.
6908 (Bug#12055)
6909
a55739d3
CY
69102012-07-28 Chong Yidong <cyd@gnu.org>
6911
6912 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6913 gdb-get-location.
6914
0e1a094f 69152012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
6916
6917 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6918 the alist (bug#12029).
6919
20329d73
EZ
69202012-07-28 Eli Zaretskii <eliz@gnu.org>
6921
6922 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6923 (compile-always, compile-first)
6924 ($(lisp)/calendar/cal-loaddefs.el)
6925 ($(lisp)/calendar/diary-loaddefs.el)
6926 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6927 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6928 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6929 instead of on update-subdirs.
6930 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6931
345a2258
CY
69322012-07-28 Chong Yidong <cyd@gnu.org>
6933
1eee6341
CY
6934 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6935 directory if vc-deduce-backend returns nil (Bug#7350).
6936
345a2258
CY
6937 * simple.el (delete-trailing-lines): New option.
6938 (delete-trailing-whitespace): Obey it (Bug#11879).
6939
049a0936
DE
69402012-07-28 David Engster <deng@randomsample.de>
6941
6942 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6943 Explanation of new 'symbol-qnames feature in doc-strings.
6944 (xml-maybe-do-ns): Return expanded names as plain symbols if
6945 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6946 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6947
aa81af71
FEG
69482012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6949
6950 Consistent completion in inferior python with emacs -nw.
6951 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6952 binding in inferior-python-mode-map with "\t".
6953 (python-shell-completion-complete-at-point)
6954 (python-completion-complete-at-point): Remove interactive spec.
6955
e827b1eb
JB
69562012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6957
6958 * calc/calccomp.el (math-compose-expr): Undo previous change.
6959
a90dfb95
FEG
69602012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6961
4250fdf5 6962 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
6963 run-python.
6964 (python-shell-make-comint): Fix pop-to-buffer call.
6965 (run-python): Autoload. New arg SHOW.
6966 (python-shell-get-or-create-process): Do not pop python process
6967 buffer.
6968
32770973 69692012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
6970
6971 * notifications.el (notifications-on-action-signal)
6972 (notifications-on-closed-signal): Use also the bus address for the map.
6973 (notifications-notify, notifications-close-notification)
fc0c31f8 6974 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 6975
86332df2
TH
69762012-07-27 Tassilo Horn <tsdh@gnu.org>
6977
4250fdf5
SM
6978 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6979 Add support for the lstlisting and minted environments, and for the
86332df2
TH
6980 ctable macro.
6981 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6982 labels written in keyvals syntax.
6983
ca1302a4
JB
69842012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6985
6986 * calc/calccomp.el (math-compose-expr): Use parentheses when
6987 there is a product in the denominator of a fraction.
6988
f8b91036
EZ
69892012-07-26 Eli Zaretskii <eliz@gnu.org>
6990
6991 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6992 ($(lisp)/calendar/diary-loaddefs.el)
6993 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
6994 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6995 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
6996 rewritten while the autoload files are built at the same time,
6997 which needs to load subdirs.el.
6998
c8e5a42c
MR
69992012-07-26 Martin Rudalics <rudalics@gmx.at>
7000
7001 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7002 (mouse-drag-line): Don't exit tracking when a switch-frame or
7003 switch-window event occurs (Bug#12006).
7004
670d85ea
SM
70052012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * mouse.el (popup-menu): Fix last change.
7008
7abaf5cc
SM
70092012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 Autoload from Lisp with more care. Follow aliases when looking for
7012 function properties.
7013 * subr.el (autoloadp): New function.
7014 (symbol-file): Use it.
7015 (function-get): New function.
7016 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7017 autoload-do-load.
7018 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7019 (lisp-indent-function):
7020 * emacs-lisp/gv.el (gv-get):
7021 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7022 * emacs-lisp/byte-opt.el (byte-optimize-form):
7023 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7024 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7025 Use function-get.
7026 * emacs-lisp/cl.el: Don't propagate function properties any more.
7027
7028 * speedbar.el (speedbar-add-localized-speedbar-support):
7029 * emacs-lisp/disass.el (disassemble-internal):
7030 * desktop.el (desktop-load-file):
7031 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7032 (describe-function-1):
7033 * emacs-lisp/find-func.el (find-function-noselect):
7034 * emacs-lisp/elp.el (elp-instrument-function):
7035 * emacs-lisp/advice.el (ad-has-proper-definition):
7036 * apropos.el (apropos-safe-documentation, apropos-macrop):
7037 * emacs-lisp/debug.el (debug-on-entry):
7038 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7039 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7040 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7041
b1364986
AA
70422012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7043
7044 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7045 function, not an obsolete variable (Bug#12046).
7046
67ada220
AS
70472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7048
7049 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7050
f08088e3
CS
70512012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7052
7053 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7054 window only if it is still live (Bug#12034).
7055
8137e7b3
MR
70562012-07-25 Martin Rudalics <rudalics@gmx.at>
7057
7058 * subr.el (redirect-frame-focus): Add advertised calling
7059 convention (Bug#12030).
7060
09ae5da1
PE
70612012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7062
7063 Prefer typical American spelling for "acknowledgment".
7064 * vc/add-log.el (change-log-acknowledgment): Rename from
7065 change-log-acknowledgement, with an alias for the old name.
7066
3cc5a3a8
JB
70672012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7068
7069 * calc-alg.el (math-simplify-divide): Don't cross multiply
7070 in an equation when the lhs is a variable.
7071
b7af7f62
JD
70722012-07-24 Julien Danjou <julien@danjou.info>
7073
7074 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7075 Remove, unused.
7076
ec1b09b1
EZ
70772012-07-23 Eli Zaretskii <eliz@gnu.org>
7078
7079 * startup.el (command-line): Don't display an empty user name in
7080 the error message about non-existent home directory, when
7081 init-file-user was set to an empty string. See
7082 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7083 for the details and context.
7084
b525fd8a
VB
70852012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7086
7087 * ses.el (ses-cell-formula-aset): New macro.
7088 (ses-cell-references-aset): New macro.
7089 (ses-cell-p): New function.
7090 (ses-rename-cell): Do no longer rely on complex operations like
7091 ses-cell-set-formula or ses-set-cell to change the cell and handle
7092 the undo at the same time, but rather use lower level new macros
7093 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7094 the undo directly. Refresh the mode line.
b525fd8a 7095
2c73e345
LL
70962012-07-21 Leo Liu <sdl.web@gmail.com>
7097
670d85ea
SM
7098 * progmodes/cc-cmds.el (c-defun-name):
7099 Use match-string-no-properties instead for consistency.
2c73e345 7100
542dfbde
LL
71012012-07-20 Leo Liu <sdl.web@gmail.com>
7102
3646bcd6
LL
7103 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7104 (Bug#7879)
7105
542dfbde
LL
7106 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7107
25721031
CY
71082012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7111 * progmodes/bug-reference.el, misearch.el: Provide themselves
7112 (bug#11915).
7113
7114 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7115 of narrowed buffer (bug#11966).
7116
316e68a7
VB
71172012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7118
7119 * ses.el (ses-rename-cell): Set new name also in reference list of
7120 cells of which the renamed cell depends.
7121
bbf0e7d9
MY
71222012-07-20 Masatake YAMATO <yamato@redhat.com>
7123
7124 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7125 to check whether menu-bar is shown or not. If not shown,
7126 show the menu-bar as a popup menu instead of using tmm.
7127 * mouse.el (popup-menu): Accept `point' as `position' argument.
7128
c28662a8
DG
71292012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7130
7131 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7132 up inside string symbol literal (bug#11923).
7133
87ab808f
EZ
71342012-07-20 Eli Zaretskii <eliz@gnu.org>
7135
7136 * startup.el (fancy-startup-text): Read the whole tutorial, not
7137 just its first 256 bytes. Prevents gibberish in display of the
7138 tutorial title.
7139
89dea803
DA
71402012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7141
7142 Drop idle buffer compaction due to an absence of the
7143 proved efficiency.
7144 * compact.el: Remove.
7145
8a4e6db8
SS
71462012-07-19 Sam Steingold <sds@gnu.org>
7147
7148 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7149 vc-bzr-pull & vc-bzr-merge-branch.
7150 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7151 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7152 for consistency with compilation-error-regexp-alist.
7153 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7154 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7155 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7156 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7157
5db81e33
SM
71582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7159
7160 * emacs-lisp/chart.el: Use lexical-binding.
7161 (chart-emacs-storage): Don't hardcode the list of entries.
7162
5b835e1d
DA
71632012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7164
7165 Next round of tweaks caused by Fgarbage_collect changes.
7166 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7167
9cd47b72
DA
71682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7169
7170 Compact buffers when idle.
7171 * compact.el: New file.
7172
1d6fc0df
SM
71732012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * subr.el (eventp): Presume that if it looks vaguely like an event,
7176 it's an event (bug#10190).
7177
1d29cc7d
FEG
71782012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7179
7180 Enhancements to ppss related code (thanks Stefan).
7181 * progmodes/python.el (python-indent-context)
7182 (python-indent-calculate-indentation, python-indent-dedent-line)
7183 (python-indent-electric-colon, python-nav-forward-block)
7184 (python-mode-abbrev-table)
1d6fc0df 7185 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7186 for ppss context.
7187 (python-info-continuation-line-p): Cleanup.
7188 (python-info-ppss-context): Do not catch 'quote.
7189 (python-info-ppss-context-type)
7190 (python-info-ppss-comment-or-string-p): Simplify.
7191
d583cbe6
FEG
71922012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7193
7194 * progmodes/python.el: Enhancements to eldoc support.
7195 (python-info-current-symbol): New function.
7196 (python-eldoc-at-point): Use python-info-current-symbol.
7197 (python-info-current-defun): Fix cornercase on first defun scan.
7198 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7199 and signal error when no inferior python process is available.
7200
eceb6feb
DG
72012012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7202
7203 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7204 assume it's always t.
7205 (vc-git-registered): Remove caching, the function is only called
7206 once.
7207 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7208
4c8ff0fe
CY
72092012-07-18 Chong Yidong <cyd@gnu.org>
7210
19fb7186
CY
7211 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7212
9587c688
CY
7213 * simple.el (count-words): Report on narrowing (Bug#9959).
7214
0fe776a1
CY
7215 * bindings.el: Bind M-= to count-words.
7216
4c8ff0fe
CY
7217 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7218
7f5331cc
MY
72192012-07-18 Masatake YAMATO <yamato@redhat.com>
7220
7221 * progmodes/sh-script.el (sh-imenu-generic-expression):
7222 Capture a function with `function' keyword and without parentheses
7223 like "function FOO" (bug#11856).
7224
2dc2a609
TH
72252012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7226
7227 * window.el (split-window-sensibly): Make WINDOW argument
7228 optional.
7229
439f7677
CY
72302012-07-18 Chong Yidong <cyd@gnu.org>
7231
9aeb25a6
CY
7232 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7233
439f7677
CY
7234 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7235 and make C-x 8 RET exit isearch (Bug#11439).
7236
7237 * international/iso-transl.el: Move isearch-mode-map key
7238 definitions to isearch.el.
7239
12999ea8
SM
72402012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7243 (eieio-defclass): Use gv-define-setter when possible.
7244
3ab6e069
DA
72452012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7246
7247 Reflect recent changes in Fgarbage_collect.
7248 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7249 reflect new format of data returned by Fgarbage_collect.
7250
0a60bc10
FEG
72512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7252
7253 New utility functions + python-info-ppss-context fix (Bug#11910).
7254 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7255 (python-info-ppss-comment-or-string-p): New functions.
7256 (python-info-ppss-context): Small fix for string check.
7257
6dafa0d5
JL
72582012-07-17 Juri Linkov <juri@jurta.org>
7259
7260 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7261 (dired-do-async-shell-command): Don't add `*' at the end of the
7262 command (Bug#11815).
7263 (dired-do-shell-command): Doc fix.
7264 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7265 Join the individual commands using either "&" or ";" as the
7266 separator depending on the values of these trailing characters.
7267 At the end re-add the trailing "&". (Bug#10598)
7268
7269 * simple.el (async-shell-command): Sync the interactive spec with
7270 `shell-command'. Doc fix.
7271 (shell-command): Doc fix.
7272
b19dd9d1
JL
72732012-07-17 Juri Linkov <juri@jurta.org>
7274
7275 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7276
bcdc27d7 72772012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7278
bcdc27d7 7279 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7280 * progmodes/python.el (python-nav-beginning-of-statement):
7281 Rename from python-nav-statement-start.
bcdc27d7
FEG
7282 (python-nav-end-of-statement): Rename from
7283 python-nav-statement-end.
7284 (python-nav-beginning-of-block): Rename from
7285 python-nav-block-start.
7286 (python-nav-end-of-block): Rename from python-nav-block-end.
7287
191da00e
FEG
72882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7289
7f5331cc
MY
7290 * progmodes/python.el (python-shell-send-string-no-output):
7291 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7292 future interactions (Bug#11868).
7293
4dc7c8d5 72942012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7295
88ecaf8f
SM
7296 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7297
ef501ef0
SM
7298 * emacs-lisp/elint.el (elint-find-args-in-code):
7299 Use help-function-arglist, so as to handle lexical byte-code.
7300
aa7aaf8f
SM
7301 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7302 change (bug#11826).
7303
45fd731c
SM
73042012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7305
2143fa32
SM
7306 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7307 Avoid spuriously marking the buffer as modified because of c-is-sws.
7308
efc26dbe
SM
7309 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7310 as not-a-comment (bug#11946).
7311
f5695c9a
SM
7312 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7313 for uninterned vars.
7314
7315 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7316 Use read-event since we don't really want to read chars but bytes.
7317
45fd731c
SM
7318 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7319 $$..$$ but also $..$ using regexps (bug#11953).
7320 Use tex-verbatim for \url and \path.
7321 (tex-font-lock-keywords): Define as defconst like the others.
7322 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7323
ddfc8813
RK
73242012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7325
7326 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7327 alias for insert-char.
7328
758e556a
FEG
73292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7330
7331 * progmodes/python.el: Simplified imenu implementation.
7332 (python-nav-jump-to-defun): Remove command.
7333 (python-mode-map): Use `imenu' instead.
7334 (python-nav-list-defun-positions-cache)
7335 (python-imenu-include-defun-type, python-imenu-make-tree)
7336 (python-imenu-subtree-root-label, python-imenu-index-alist):
7337 Remove vars.
7338 (python-nav-list-defun-positions, python-nav-read-defun)
7339 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7340 (python-imenu-make-tree, python-imenu-create-index):
7341 Remove functions.
758e556a
FEG
7342 (python-mode): Update to interact with imenu by setting
7343 `imenu-extract-index-name-function' only.
7344
032d23ab
FEG
73452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7346
7347 * progmodes/python.el: Enhancements to navigation commands.
7348 (python-nav-backward-sentence)
7349 (python-nav-forward-sentence): Remove.
7350 (python-nav-backward-statement, python-nav-forward-statement)
7351 (python-nav-statement-start, python-nav-statement-end)
7352 (python-nav-backward-block, python-nav-forward-block)
7353 (python-nav-block-start, python-nav-block-end)
7354 (python-nav-forward-sexp-function)
7355 (python-info-current-line-comment-p)
7356 (python-info-current-line-empty-p): New functions.
7357 (python-indent-context): Use `python-nav-statement-start'.
7358
01795a1b
MA
73592012-07-16 Michael Albinus <michael.albinus@gmx.de>
7360
9328d9aa
MA
7361 * eshell/em-ls.el (eshell/ls): Use `apply'.
7362
7363 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7364 multi-hops, instead of Tramp internals.
7365
01795a1b
MA
7366 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7367
7368 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7369 when F1 and F2 are located on different hosts.
7370
63408057
CY
73712012-07-14 Chong Yidong <cyd@gnu.org>
7372
7373 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7374 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7375 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7376 (xterm-mouse--read-event-sequence-1000)
7377 (xterm-mouse--read-event-sequence-1006): New functions. For old
7378 mouse protocol, handle M-mouse-X events correctly.
7379 (xterm-mouse-event): New arg specifying mouse protocol.
7380 (turn-on-xterm-mouse-tracking-on-terminal)
7381 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7382 sequence to toggle extended coordinates on newer XTerms.
7383 This appears to be harmless on terminals which do not support this.
63408057 7384
cd276f6e
LL
73852012-07-14 Leo Liu <sdl.web@gmail.com>
7386
28ca98ac
LL
7387 Add fringe bitmap indicators for flymake. (Bug#11253)
7388 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7389 (flymake-make-overlay): New arg BITMAP.
7390 (flymake-error-bitmap, flymake-warning-bitmap)
7391 (flymake-fringe-indicator-position): New user variables.
7392
cd276f6e
LL
7393 * fringe.el: New bitmap exclamation-mark.
7394
04408072
JD
73952012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7396
7397 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7398 also (Bug#7879).
7399
b5cf7fc4
CY
74002012-07-14 Chong Yidong <cyd@gnu.org>
7401
7402 * electric.el (electric-pair-post-self-insert-function): Fix pair
7403 insertion in empty-region case (Bug#11520).
7404
be755c79
RT
74052012-07-14 Chong Yidong <cyd@gnu.org>
7406
45fd731c
SM
7407 * bindings.el: Consolidate ctl-x-r-map bindings.
7408 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7409
7410 * rect.el, register.el: Move bindings to bindings.el.
7411
74122012-07-14 Reuben Thomas <rrt@sc3d.org>
7413
7414 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7415
7f5b3198
AS
74162012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7417
7418 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7419
97662200
JB
74202012-07-13 Juanma Barranquero <lekktu@gmail.com>
7421
80185fed
JB
7422 * bindings.el (top): Use `mapc' instead of `mapcar'.
7423
97662200
JB
7424 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7425
2bb1ae55
MA
74262012-07-13 Michael Albinus <michael.albinus@gmx.de>
7427
7428 * progmodes/sql.el (sql-comint): Suppress the check for program on
7429 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7430 (Bug#11908)
7431
dea31bd3
CY
74322012-07-13 Chong Yidong <cyd@gnu.org>
7433
7434 * bindings.el: Assign a non-nil permanent-local property to
7435 per-buffer variables which lack a default value (Bug#11930).
7436
7437 * help-fns.el (describe-variable): In the "automatically becomes
7438 local" notice, take note of permanent-local variables.
7439
b68b3337
CY
74402012-07-13 Chong Yidong <cyd@gnu.org>
7441
7442 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7443 to allow printing the message when called from Lisp.
7444
7445 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7446 Remove toggle-read-only.
7447
7448 * bs.el (bs-toggle-readonly):
45fd731c
SM
7449 * buff-menu.el (Buffer-menu-toggle-read-only):
7450 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7451
7452 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7453 Remove with-no-warnings around toggle-read-only.
7454 (ffap-read-only, ffap-read-only-other-window)
7455 (ffap-read-only-other-frame): Callers changed.
7456
7457 * help-mode.el: Don't require view package.
7458 (help-mode-finish): Set buffer-read-only instead of calling
7459 toggle-read-only.
7460
7461 * bindings.el (mode-line-toggle-read-only):
7462 * dired.el (dired-toggle-read-only):
7463 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7464 with non-nil second arg.
7465
7466 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7467 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7468 directly.
7469
56bc1586
EZ
74702012-07-12 Eli Zaretskii <eliz@gnu.org>
7471
7472 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7473 not incf.
7474
a464a6c7
SM
74752012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 More CL cleanups and reduction of use of cl.el.
7478 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7479 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7480 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7481 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7482 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7483 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7484 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7485 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7486 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7487 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7488 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7489 * eshell/em-cmpl.el, eshell/em-banner.el:
7490 * calendar/parse-time.el: Use cl-lib.
7491 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7492 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7493 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7494 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7495 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7496 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7497 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7498 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7499 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7500 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7501 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7502 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7503 `lambda' rather than with `quote'.
7504 (eshell-do-opt): Adjust accordingly.
7505 (eshell-process-option): Simplify.
7506 * eshell/esh-var.el:
7507 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7508 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7509 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7510 to `pcase--dontcare'.
7511 * emacs-lisp/cl.el (labels): Mark obsolete.
7512 (cl--letf, letf): Move to cl-lib.
7513 (cl--letf*, letf*): Remove.
7514 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7515 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7516 (cl-progv): Rewrite.
7517 (cl--letf, cl-letf): Move from cl.el.
7518 (cl-letf*): New macro.
7519 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7520
7ad4afe1
MA
75212012-07-11 Michael Albinus <michael.albinus@gmx.de>
7522
7523 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7524
9af57756
CY
75252012-07-11 Chong Yidong <cyd@gnu.org>
7526
7527 * vc/log-edit.el (log-edit-vc-backend): New variable.
7528 (log-edit): Doc fix.
7529
7530 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7531 argument of log-edit to set up all local variables.
7532 (vc-start-logentry): New optional arg specifying VC backend.
7533
7534 * vc/vc.el (vc-checkin): Use it.
7535 (vc-deduce-fileset): Handle Log Edit buffers.
7536 (vc-diff): Make first argument optional too.
7537
7538 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7539
8477cc7a
MA
75402012-07-10 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7543 command, just in case. The function is not needed anymore.
7544 (eshell-external-command): Do not call `eshell-remote-command'.
7545
19faa8e8
SM
75462012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7547
f58e0fd5
SM
7548 Reduce use of (require 'cl).
7549 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7550 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7551 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7552 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7553 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7554 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7555 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7556 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7557 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7558 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7559 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7560 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7561 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7562 (byte-compile-unfold-bcf, byte-compile-check-variable):
7563 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7564 (byte-compile-nilconstp):
7565 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7566 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7567
2519d43a
SM
7568 * emacs-lisp/gv.el (cond): Make it a valid place.
7569 (if): Simplify slightly.
7570
19faa8e8
SM
7571 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7572 (pcase--self-quoting-p): New function.
7573 (pcase--u1): Use it.
7574
c4907a5e
GM
75752012-07-10 Glenn Morris <rgm@gnu.org>
7576
7577 * emacs-lisp/authors.el (authors-fixed-entries):
7578 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7579
c4444d16
PE
75802012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7581
7582 Rename configure.in to configure.ac (Bug#11603).
7583 * emacs-lisp/authors.el (authors-canonical-file-name):
7584 * progmodes/autoconf.el (autoconf-mode):
7585 Prefer configure.ac to configure.in.
7586
d75be97d
CY
75872012-07-08 Chong Yidong <cyd@gnu.org>
7588
01ac65bd
CY
7589 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7590 Implement the mouse-1-click-follows-link handling properly.
7591
7592 * info.el (Info-link-keymap): Use follow-link mechanism for
7593 header-line links (Bug#374).
7594
d75be97d
CY
7595 * simple.el (deactivate-mark): Do not set the primary selection
7596 if another program has acquired it (Bug#11772).
7597
87a92845 75982012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7599
7600 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7601 (woman-decode-region): Replace escaped-escapes without destroying
7602 bold or underline (Bug#11552).
87a92845 7603 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7604
621b9d6c
CY
76052012-07-07 Chong Yidong <cyd@gnu.org>
7606
7607 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7608 (interprogram-cut-function, interprogram-paste-function):
7609 Mention that we typically mean the clipboard.
621b9d6c 7610
133a11fc
GM
76112012-07-06 Glenn Morris <rgm@gnu.org>
7612
0d27a45e
GM
7613 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7614
133a11fc
GM
7615 * files.el (toggle-read-only): Restrict message to interactive use.
7616
07b151f1
MA
76172012-07-06 Michael Albinus <michael.albinus@gmx.de>
7618
7619 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7620
7621 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7622
211b896b
GM
76232012-07-06 Glenn Morris <rgm@gnu.org>
7624
50394322
GM
7625 * Makefile.in (compile-one-process): Rename from "recompile".
7626
211b896b
GM
7627 * Makefile.in (bzr-update): "compile" is the same as "recompile
7628 autoloads", but parallelizable, so use that instead.
7629
4737eec9
DG
76302012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7631
7632 * window.el (quit-window): Always restore window height when
8137e7b3 7633 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7634
226c3633 76352012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7636
7637 * simple.el (kill-whole-line): Doc tweak.
7638
226c3633 76392012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7640
7641 * files.el (file-relative-name): Compare file names
7642 case-insensitively if on MS-Windows or MS-DOS, or if
7643 read-file-name-completion-ignore-case is non-nil. Don't use
7644 case-fold-search for this purpose. (Bug#11827)
7645
4dc7c8d5
SM
76462012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7647
7648 * calendar/cal-dst.el (calendar-current-time-zone):
7649 Return calendar-current-time-zone-cache if non-nil.
7650
76512012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 76522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7653
19faa8e8
SM
7654 * calendar/cal-dst.el (calendar-current-time-zone):
7655 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7656
60198fc9
GM
76572012-07-06 Glenn Morris <rgm@gnu.org>
7658
7659 * Makefile.in (cvs-update): Remove old alias.
7660
957b3189
MA
76612012-07-05 Michael Albinus <michael.albinus@gmx.de>
7662
7663 Sync with Tramp 2.2.6-pre.
7664
7665 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7666 compatible declaration.
7667
19faa8e8
SM
7668 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7669 Protect `list-load-path-shadows' call.
957b3189
MA
7670
7671 * net/tramp-compat.el (top): Require packages, which aren't
7672 autoloaded anymore for XEmacs. Protect call of
7673 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7674 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7675 it hurts at least for SXEmacs.
7676 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7677 standard-value for `temporary-file-directory'.
7678
7679 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7680 Redirect stderr to /dev/null.
7681 (tramp-sh-handle-write-region): uid and gid can be floats.
7682 Reported by Russell Sim <russell.sim@gmail.com>.
7683 (tramp-sh-handle-vc-registered): Hide errors.
7684 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7685 and `start-file-process'.
7686 (tramp-maybe-open-connection): Check also whether `non-essential'
7687 is bound.
7688
566df3fc
CY
76892012-07-04 Chong Yidong <cyd@gnu.org>
7690
7691 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7692 (xml-parse-tag): Likewise, and avoid changing entity tables.
7693 (xml-syntax-table): Define from scratch, making sure not to give
7694 x2000 and other Unicode spaces whitespace syntax, since those are
7695 not spaces in XML.
7696 (xml-parse-fragment): Delete unused function.
7697 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7698 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7699 (xml-entity-ref, xml-pe-reference-re)
7700 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7701 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7702 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7703 (xml-entity-value-re): Use syntax references in regexps where
7704 possible; no need to define inside a let-binding.
7705 (xml-parse-dtd): Use xml-pe-reference-re.
7706 (xml-entity-or-char-ref-re): New defconst.
7707 (xml-parse-string, xml-substitute-special): Use it.
7708
30eabd7a
SM
77092012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7710
0781098a
SM
7711 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7712 (find-file--read-only): New function.
7713 (find-file-read-only, find-file-read-only-other-window)
7714 (find-file-read-only-other-frame): Use it.
7715 (insert-file-contents-literally): Don't `fset'.
7716 (get-free-disk-space): Use locate-dominating-file.
7717
b5771c0d
SM
7718 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7719 function is already compiled.
7720
30eabd7a
SM
7721 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7722
b4886f6e
MA
77232012-07-03 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7726 files on the same host.
7727
b9d82339
AS
77282012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7729
7730 * help-fns.el (describe-function-1): Only call
7731 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7732
a76e6535
CY
77332012-07-03 Chong Yidong <cyd@gnu.org>
7734
7735 * xml.el: Protect parser against XML bombs.
7736 (xml-entity-expansion-limit): New variable.
7737 (xml-parse-string, xml-substitute-special): Use it.
7738 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7739
b544fef2
GM
77402012-07-03 Glenn Morris <rgm@gnu.org>
7741
7742 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7743 Allow linking to specific messages in debbugs reports (eg 123#5).
7744
a7aef6f5
CY
77452012-07-02 Chong Yidong <cyd@gnu.org>
7746
7747 * xml.el: Fix entity and character reference expansion, allowing
7748 them to expand into markup as per XML spec.
7749 (xml-default-ns): New variable.
7750 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7751 (xml-parse-region): Make first two arguments optional.
7752 Discard text properties.
7753 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7754 All callers changed.
a7aef6f5
CY
7755 (xml-parse-tag): Call xml-parse-tag-1. For backward
7756 compatibility, this function should not modify buffer contents.
7757 (xml-parse-tag-1): Fix opening-tag regexp.
7758 (xml-parse-string): Rewrite, handling entity and character
7759 references properly.
7760 (xml--entity-replacement-text): Signal an error if a parameter
7761 entity is undefined.
7762
3df31c9f
SM
77632012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7764
2b5208f1
SM
7765 * comint.el (comint-output-filter): Filter out repeated prompts.
7766
3df31c9f
SM
7767 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7768 and file-name-absolute-p.
7769 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7770 internal calls.
7771
e3ac1281
PE
77722012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 Spelling fixes.
7775 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7776 Rename from byte-compile--refiy-function. All uses changed.
7777
fbf2e7ad
CY
77782012-07-01 Chong Yidong <cyd@gnu.org>
7779
7780 * xml.el (xml--parse-buffer): New function. Move most of
7781 xml-parse-region here.
7782 (xml-parse-region): Copy region into a temporary buffer, since
7783 parameter entity substitution requires changing buffer contents.
7784 Use xml--parse-buffer.
7785 (xml-parse-file): Use xml--parse-buffer.
7786 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7787 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7788
9bf0aa15
GM
77892012-06-30 Glenn Morris <rgm@gnu.org>
7790
bbce2853
GM
7791 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7792
9bf0aa15
GM
7793 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7794 Remove outdated and unnecessary dbus declarations.
7795
0d23c240
EZ
77962012-06-30 Eli Zaretskii <eliz@gnu.org>
7797
7798 * emacs-lisp/timer.el (timer-until): Subtract results of
7799 float-time, instead of taking float-time of the result of
7800 time-subtract, since float-time signals an error for negative time
7801 arguments.
7802
b3218de1
CY
78032012-06-30 Chong Yidong <cyd@gnu.org>
7804
7805 * xml.el (xml-*-re): Convert defvars into defconsts, and
7806 eval-and-compile them so eval-and-compile works on derivatives.
7807 (xml--entity-replacement-text): Use eval-and-comple.
7808
a40c87a0
MA
78092012-06-30 Michael Albinus <michael.albinus@gmx.de>
7810
7811 * vc/vc-git.el (vc-git-registered): Use cache property
7812 `git-registered'.
7813 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7814 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7815 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7816
ac87de97
DG
78172012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7818
7819 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7820 removed (likely outside Emacs). (Bug#11757)
ac87de97 7821
ac10fe06
SM
78222012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7823
3df31c9f 7824 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7825
7f3fbd5d
CY
78262012-06-30 Chong Yidong <cyd@gnu.org>
7827
7828 * xml.el: Implement XML parameter entities.
7829 (xml-parameter-entity-alist): New variable.
7830 (xml-parse-region, xml-parse-fragment): Preserve previous values
7831 of xml-entity-alist and xml-parameter-entity-alist, so that
7832 repeated calls on different documents do not change them.
7833 (xml-parse-tag): Fix doctype regexp.
7834 (xml--entity-replacement-text): New function.
7835 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7836 properly requires url retrieval which is unimplemented.
7837 (xml-escape-string): Doc fix.
7838
3cfbebba
SM
78392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7842
2af3565e
DA
78432012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7844
7845 * fringe.el (fringe-mode): Doc fix.
7846
929df0e7
MA
78472012-06-29 Michael Albinus <michael.albinus@gmx.de>
7848
7849 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7850 is non-nil.
7851 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7852 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7853
c8d3a25c 78542012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7855
c8d3a25c
GM
7856 * calendar/cal-dst.el (calendar-current-time-zone):
7857 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7858
c8d3a25c 78592012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7860
7861 * progmodes/which-func.el (which-func-format):
7862 Add mouse-face. (Bug#11698)
7863
c8d3a25c
GM
78642012-06-29 Leo Liu <sdl.web@gmail.com>
7865
7866 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7867
78682012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * minibuffer.el (minibuffer-confirm-exit-commands):
7871 Add completion-at-point (bug#11725).
7872
78732012-06-29 Glenn Morris <rgm@gnu.org>
7874
7875 * progmodes/f90.el (f90-font-lock-keywords-2):
7876 Add some preprocessor elements. (Bug#10499)
7877
78782012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7881 Use syntax-propertize (bug#11739).
7882
2badeec4
JB
78832012-06-28 Juanma Barranquero <lekktu@gmail.com>
7884
7885 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7886
ae4969c2
JD
78872012-06-28 Julien Danjou <julien@danjou.info>
7888
7889 * term.el (term-handle-colors-array): Use a set of new faces to
7890 color the terminal. Also uses :inverse-video property.
7891 (term-default-fg-color): Set to nil by default, deprecate in favor
7892 of `term-face'.
7893 (term-default-bg-color): Set to nil by default, deprecate in favor
7894 of `term-face'.
7895 (term-current-face): Use `term-face' by default.
7896 (term-bold-attribute): Variable deleted.
7897
1c9bd870
GM
78982012-06-28 Glenn Morris <rgm@gnu.org>
7899
7900 * simple.el (completion-list-mode-finish):
7901 Don't use toggle-read-only. (Since completion-list-mode has
7902 a special mode-class, it wasn't doing anything extra anyway.)
7903
c207708c
SM
79042012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 Make inlining of other-mode interpreted functions work (bug#11799).
7907 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7908 (byte-compile): Use it to fix compilation of lexical-binding closures.
7909 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7910 function, if needed.
7911
3fd56834
SM
79122012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7913
04901786
SM
7914 * help-mode.el (help-make-xrefs): Don't just withstand
7915 cyclic-variable-indirection but any error in documentation-property.
7916
1ec4b7b2
SM
7917 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7918 memory use.
7919 * bindings.el (bindings--define-key): New function.
7920 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7921 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7922 * bindings.el: Use it to purecopy define-key bindings.
7923
e309e2a5
SM
7924 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7925
d5c6faf9
SM
7926 * emacs-lisp/cl.el (flet): Mark obsolete.
7927 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7928 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7929 * progmodes/js.el (js-c-fill-paragraph):
7930 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7931 (ebrowse-switch-member-buffer-to-derived-class):
7932 * play/5x5.el (5x5-solver): Use cl-flet.
7933
6e9590e2
SM
7934 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7935 (cl--symbol-function): New macro.
7936 (cl--letf, cl--letf*): Use it.
7937
3fd56834
SM
7938 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7939 Strip "toggle-" if any.
7940
35ff222c
GM
79412012-06-27 Glenn Morris <rgm@gnu.org>
7942
1ba6038a
GM
7943 * info.el (Info-default-directory-list): Move here from paths.el.
7944 * paths.el: Remove file, which is now empty.
7945 * loadup.el: No longer load "paths".
7946
0ea0e51b
GM
7947 * custom.el (custom-initialize-delay): Doc fix.
7948
35ff222c
GM
7949 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7950 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7951 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7952 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7953 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7954 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7955 * eshell/eshell.el (eshell-defgroup): Remove alias.
7956
c89926a5
CY
79572012-06-27 Chong Yidong <cyd@gnu.org>
7958
7959 * help.el (help-enable-auto-load): New variable.
7960
7961 * help-fns.el (help-fns--autoloaded-p): New function.
7962 (describe-function-1): Refer to a function as "autoloaded" if it
7963 was autoloaded at any time in the past. Perform autoloading if
7964 help-enable-auto-load is non-nil.
7965
cc06e7e7
EZ
79662012-06-26 Eli Zaretskii <eliz@gnu.org>
7967
7968 * makefile.w32-in (compile, compile-always): Depend on
7969 update-subdirs, not on subdirs.el. Otherwise, several different
7970 sub-targets of 'bootstrap' running in parallel could
7971 simultaneously write to subdirs.el, producing a garbled file.
7972
d2c32364
SS
79732012-06-26 Sam Steingold <sds@gnu.org>
7974
7975 * files.el (file-name-base): New convenience function.
0d14cc21
GM
7976 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7977 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7978 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7979 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7980 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
7981 * textmodes/tex-mode.el: Use it.
7982 Did not touch cedet and org because they are maintained elsewhere.
7983
5cf983b2
MR
79842012-06-26 Martin Rudalics <rudalics@gmx.at>
7985
7986 * calendar/calendar.el (calendar-exit): Don't try to delete or
7987 iconify last frame. See:
7988 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7989
8c4f2952
JD
79902012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7991
7992 * server.el (server-process-filter): Remember dir in the
7993 process's `server-client-directory' properties.
7994
772b2e2c
CY
79952012-06-24 Chong Yidong <cyd@gnu.org>
7996
7997 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7998 non-tag text.
7999
711b11e1
JB
80002012-06-23 Juanma Barranquero <lekktu@gmail.com>
8001
8002 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8003
dc5d230c
SM
80042012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * help-fns.el (describe-variable): Don't croak when doc is not found.
8007 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8008 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8009 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8010 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8011 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8012 ((lambda ..) ..).
8013 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8014
136e1c1d
CY
80152012-06-23 Chong Yidong <cyd@gnu.org>
8016
e8c1cabf
CY
8017 * info.el (Info-mouse-follow-link): Accept symbol values of
8018 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8019 (Info-fontify-node): Use Info-link-keymap for all navigation
8020 buttons, with link-args property to perform the desired action.
8021 (Info-link-keymap): Doc fix.
8022 (Info-next-link-keymap, Info-prev-link-keymap)
8023 (Info-up-link-keymap): Delete now-unused keymaps.
8024
0e9e6c6a
CY
80252012-06-23 Chong Yidong <cyd@gnu.org>
8026
05e89fea
CY
8027 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8028
0e9e6c6a
CY
8029 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8030 system abbrevs.
8031
8032 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8033
e33c6771
SM
80342012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8035
b68581e2
SM
8036 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8037 (bug#11719).
8038
e33c6771
SM
8039 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8040 the requote function doesn't work properly (bug#11714).
8041
7117e105
GM
80422012-06-23 Glenn Morris <rgm@gnu.org>
8043
8044 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8045
36cec983
SM
80462012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 Further GV/CL cleanups.
8049 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8050 gv-expander.
8051 (gv--defun-declaration): New function.
8052 (defun-declarations-alist): Use it.
8053 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8054 (gv-place): Autoload.
8055 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8056 original definition of dotimes and dolist.
8057 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8058 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8059 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8060 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8061 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8062 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8063 to the function's definition.
8064 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8065 * window.el:
8066 * files.el:
8067 * faces.el:
8068 * env.el: Don't use CL.
8069
d35af63c
PE
80702012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8071
8072 Support higher-resolution time stamps (Bug#9000).
8073
8074 * calendar/time-date.el (with-decoded-time-value): New arg
8075 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8076 (encode-time-value): New optional arg PICO. New type 3.
8077 (time-to-seconds) [!float-time]: Support the new picoseconds
8078 component if it's used.
8079 (seconds-to-time, time-subtract, time-add):
8080 Support ps-resolution time stamps as well.
8081
8082 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8083 (timerp): Timer vectors now have length 9, not 8.
8084 (timer--time): Support new-style (4-part) time stamps.
8085 (timer-next-integral-multiple-of-time): Time stamps now have
8086 picosecond resolution, so take a bit more care about rounding.
8087 (timer-relative-time, timer-inc-time): New optional arg psecs.
8088 (timer-set-time-with-usecs): Set psecs to 0.
8089 (timer--activate): Check psecs component, too.
8090
8091 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8092
ac77b21a
SM
80932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8094
f143bfe3
SM
8095 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8096 Move the non-essential binding to the post/pre-command-hook where it is
8097 more obviously correct.
8098
ac77b21a
SM
8099 * subr.el (read-passwd): Don't use a history at all.
8100 * savehist.el (savehist-save): Remove password saved accidentally
8101 because of the above bug.
8102
76386c5a
BG
81032012-06-22 Bastien Guerry <bzg@gnu.org>
8104
8105 * files.el (toggle-read-only): Display a message telling whether
8106 the buffer is read-only or not (bug#11726).
8107
2ee3d7f0
SM
81082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8109
8110 * emacs-lisp/gv.el: New file.
8111 * subr.el (push, pop): Extend to generalized variables.
8112 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8113 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8114 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8115 gv-define-simple-setter, and gv-define-expander.
8116 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8117 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8118 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8119 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8120 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8121 gv-letplace.
8122 (cl-defstruct): Don't define setf-method any more.
8123 * emacs-lisp/cl.el (flet): Don't autoload.
8124 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8125 (define-setf-expander, defsetf, define-modify-macro)
8126 (cl-struct-setf-expander): Move from cl-lib.el.
8127 * emacs-lisp/syntax.el:
8128 * emacs-lisp/ewoc.el:
8129 * emacs-lisp/smie.el:
8130 * emacs-lisp/cconv.el:
8131 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8132 (timer--time): Use gv-define-simple-setter.
8133 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8134 to avoid coding-system problems in subr.el. Adjust all users.
8135 (macroexp--maxsize, macroexp-small-p): New functions.
8136 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8137 * scroll-bar.el (scroll-bar-mode):
8138 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8139 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8140 * winner.el (winner-configuration, winner-make-point-alist)
8141 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8142 * files.el (locate-file-completion-table): Avoid list*.
8143
c5695d1d
CY
81442012-06-22 Chong Yidong <cyd@gnu.org>
8145
8146 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8147 (dired-create-files): Doc fix (Bug#11329).
8148 (dired-do-copy): Doc fix (Bug#11334).
8149 (dired-mark-read-string): Doc fix (Bug#11553).
8150
2ee3d7f0
SM
8151 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8152 Doc fix (Bug#11326).
c5695d1d
CY
8153 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8154 (dired-dwim-target): Doc fix.
8155
8156 * wdired.el (wdired-mode): Doc fix.
8157
89b5595a
GM
81582012-06-22 Glenn Morris <rgm@gnu.org>
8159
575db3f1
GM
8160 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8161 (pcmpl-rpm-cache-stamp-file): New constant.
8162 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8163 (pcmpl-rpm-packages): Optionally cache list of packages.
8164
a4c8dd51
GM
8165 * pcmpl-rpm.el (pcmpl-rpm): New group.
8166 (pcmpl-rpm-query-options): New option.
8167 (pcmpl-rpm-packages): No need to inline it.
8168 Use pcmpl-rpm-query-options.
8169
89b5595a
GM
8170 * calendar/calendar.el (calendar-in-read-only-buffer):
8171 Avoid some needless mode changes.
8172
e76f0800
CY
81732012-06-21 Chong Yidong <cyd@gnu.org>
8174
8175 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8176 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8177 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8178
297a8f1d
CY
81792012-06-20 Chong Yidong <cyd@gnu.org>
8180
8181 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8182
d34c18b1
DR
81832012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8184
8185 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8186 (bug#11201).
8187
32f7f28e
CY
81882012-06-20 Chong Yidong <cyd@gnu.org>
8189
8190 * term.el (term-window-width): Handle the case of a missing right
8191 fringe (Bug#8837).
8192 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8193 (term-mode): Use define-derived-mode. Minor cleanups.
8194 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8195 (term-move-columns, term-insert-char, term-emulate-terminal)
8196 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8197
493c6688
MA
81982012-06-20 Michael Albinus <michael.albinus@gmx.de>
8199
d34c18b1
DR
8200 * net/ange-ftp.el (ange-ftp-get-passwd):
8201 Bind `enable-recursive-minibuffers'.
493c6688
MA
8202 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8203
3f06ecf4
DR
82042012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8205
8206 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8207
68f12411
GM
82082012-06-19 Glenn Morris <rgm@gnu.org>
8209
8210 * progmodes/python.el (python-mode): Derive from prog-mode.
8211
b3820318
KG
82122012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8213
8214 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8215 (edt-user-menu-bar-update-buffers): New functions.
8216 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8217
c6bf3022
CY
82182012-06-19 Chong Yidong <cyd@gnu.org>
8219
8220 * subr.el (with-selected-window): Preserve the selected window's
8221 terminal's top-frame (Bug#4702).
8222
8223 * window.el (save-selected-window): Likewise.
8224
25f09295
SM
82252012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * progmodes/python.el (python-rx-constituents): Move backquote.
8228 (python-skeleton-define, python-define-auxiliary-skeleton):
8229 Use `declare'.
8230
6b11952a
MA
82312012-06-18 Michael Albinus <michael.albinus@gmx.de>
8232
8233 * minibuffer.el (read-file-name-default): Revert the patch from
8234 2012-06-17.
8235
ee4b1330
SM
82362012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8239 (pcase--u1, pcase--q1): Don't use apply-partially.
8240
35647f79
GM
82412012-06-18 Glenn Morris <rgm@gnu.org>
8242
8243 * progmodes/python.el (python-proc, python-buffer)
8244 (python-send-receive, python-send-string): Fix obsolete versions.
8245
24b0cff0
MR
82462012-06-18 Martin Rudalics <rudalics@gmx.at>
8247
8248 * window.el (special-display-p): Completely remove stringp
8249 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8250
29855149
MA
82512012-06-17 Michael Albinus <michael.albinus@gmx.de>
8252
8253 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8254
8255 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8256
8257 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8258 * net/tramp-sh.el (tramp-maybe-open-connection):
8259 Throw if `non-essential' is non-nil.
8260
07463363
MR
82612012-06-17 Martin Rudalics <rudalics@gmx.at>
8262
8263 * window.el (special-display-p): Signal an error if BUFFER-NAME
8264 is not a string (Bug#11713).
8265
48d1354e
PE
82662012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8267
8268 * progmodes/python.el (python-info-beginning-of-backslash):
8269 Rename from python-info-beginning-of-backlash, as a spelling fix.
8270
eb4a8a9a
CY
82712012-06-17 Chong Yidong <cyd@gnu.org>
8272
8273 * term.el (term-emulate-terminal): If term-check-size is called,
8274 move point to the process mark without resetting point (Bug#4635).
8275
ddfbf826 82762012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8277
8278 * international/mule-cmds.el (mule-menu-keymap)
8279 (set-language-environment, set-locale-environment): Doc tweaks.
8280
9b0e3eba
AA
82812012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8282
8283 * cus-face.el (custom-face-attributes): Add wave-style underline
8284 attribute.
8285 * faces.el (set-face-attribute): Update docstring to describe
8286 wave-style underline attribute.
8287
771e3eae
CY
82882012-06-16 Chong Yidong <cyd@gnu.org>
8289
8290 * term/xterm.el (terminal-init-xterm): Discard input before
8291 querying background mode (Bug#10959).
8292
7ae2ea10
SM
82932012-06-16 Stefan Merten <smerten@oekonux.de>
8294
8295 * textmodes/rst.el: Added and corrected some comments.
8296 (rst-re-alist-def): Improve symbol syntax.
8297 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8298 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8299 (rst-official-version, rst-official-cvs-rev): Update version
8300 information.
7ae2ea10 8301
b6974efa
JB
83022012-06-15 Juanma Barranquero <lekktu@gmail.com>
8303
8304 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8305 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8306
8826d473
GM
83072012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8308
8309 * progmodes/python.el: New python.el merge.
8310 (python-guess-indent): Obsolete var.
8311 (python-indent-guess-indent-offset): New defcustom.
8312 (python-indent): Obsolete var.
8313 (python-indent-offset): New defcustom.
8314 (python-python-command, python-jython-command): Delete var.
8315 (python-shell-interpreter): New defcustom.
8316 (python-pdbtrack-do-tracking-p): Delete var.
8317 (python-pdbtrack-activate): New defcustom.
8318 (python-use-skeletons): Obsolete var.
8319 (python-skeleton-autoinsert): New defcustom.
8320 (inferior-python-filter-regexp, python-continuation-offset)
8321 (python-honour-comment-indentation, python-indent-string-contents)
8322 (python-jython-packages, python-mode-hook)
8323 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8324 (python-shell-prompt-alist)
8325 (python-source-modes): Delete defcustoms.
8326 (python-check-buffer-name, python-eldoc-setup-code)
8327 (python-eldoc-string-code, python-ffap-setup-code)
8328 (python-ffap-string-code, python-fill-comment-function)
8329 (python-fill-decorator-function, python-fill-paren-function)
8330 (python-fill-string-function, python-imenu-include-defun-type)
8331 (python-imenu-make-tree, python-imenu-subtree-root-label)
8332 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8333 (python-shell-compilation-regexp-alist)
8334 (python-shell-completion-module-string-code)
8335 (python-shell-completion-pdb-string-code)
8336 (python-shell-completion-setup-code)
8337 (python-shell-completion-string-code)
8338 (python-shell-enable-font-lock, python-shell-exec-path)
8339 (python-shell-extra-pythonpaths)
8340 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8341 (python-shell-process-environment)
8342 (python-shell-prompt-block-regexp)
8343 (python-shell-prompt-output-regexp)
8344 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8345 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8346 (python-shell-virtualenv-path): New defcustoms.
8347 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8348 (inferior-python-mode-syntax-table, python--prompt-regexp)
8349 (python-buffer, python-command python-python-command)
8350 (python-default-template, python-imports, python-indent-index)
8351 (python-indent-list, python-indent-list-length)
8352 (python-mode-running, python-pdbtrack-is-tracking-p)
8353 (python-preoutput-continuation, python-preoutput-leftover)
8354 (python-preoutput-result, python-preoutput-skip-next-prompt)
8355 (python-prev-dir/file, python-recursing)
8356 (python-saved-check-command, python-version-checked)
8357 (python-which-func-length-limit)
8358 (view-return-to-alist): Delete vars.
8359 (python-check-custom-command, python-dotty-syntax-table)
8360 (python-imenu-index-alist, python-indent-current-level)
8361 (python-indent-dedenters, python-indent-levels)
8362 (python-nav-beginning-of-defun-regexp)
8363 (python-nav-list-defun-positions-cache)
8364 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8365 (python-shell-internal-buffer)
8366 (python-skeleton-available): New vars.
8367 (def-python-skeleton): Delete macro.
8368 (python-skeleton-define): New macro.
8369 (python-define-auxiliary-skeleton, python-rx): New macros.
8370 (python-insert-class): Delete command.
8371 (python-skeleton-class): New command.
8372 (python-insert-def): Delete command.
8373 (python-skeleton-def): New command.
8374 (python-insert-for): Delete command.
8375 (python-skeleton-for): New command.
8376 (python-insert-if): Delete command.
8377 (python-skeleton-if): New command.
8378 (python-insert-try/except, python-insert-try/finally): Delete commands.
8379 (python-skeleton-try): New command.
8380 (python-insert-while): Delete command.
8381 (python-skeleton-while): New command.
8382 (python-backspace): Delete command.
8383 (python-indent-dedent-line-backspace): New command.
8384 (python-electric-colon): Delete command.
8385 (python-indent-electric-colon): New command.
8386 (python-guess-indent): Delete command.
8387 (python-indent-guess-indent-offset): New command.
8388 (python-shift-left): Delete command.
8389 (python-indent-shift-left): New command.
8390 (python-shift-right): Delete command.
8391 (python-indent-shift-right): New command.
8392 (python-find-function): Delete command.
8393 (python-nav-jump-to-defun): New command.
8394 (python-next-statement): Delete command.
8395 (python-nav-forward-sentence): New command.
8396 (python-previous-statement): Delete command.
8397 (python-nav-backward-sentence): New command.
8398 (python-fill-paragraph): Delete command.
8399 (python-fill-paragraph-function): New command.
8400 (python-send-buffer): Delete command.
8401 (python-shell-send-buffer): New command.
8402 (python-send-defun): Delete command.
8403 (python-shell-send-defun): New command.
8404 (python-send-region, python-send-region-and-go): Delete commands.
8405 (python-shell-send-region)
8406 (python-shell-switch-to-shell): New commands.
8407 (python-send-string): Delete command.
8408 (python-shell-send-string): New command.
8409 (python-switch-to-python): Delete command.
8410 (python-shell-switch-to-shell): New command.
8411 (python-describe-symbol): Delete command.
8412 (python-eldoc-at-point): New command.
8413 (python--set-prompt-regexp, python-args-to-list)
8414 (python-after-info-look, python-check-version)
8415 (python-check-comint-prompt, python-find-imports)
8416 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8417 (python-unload-function, python-expand-template)
8418 (python-maybe-jython, python-preoutput-filter)
8419 (python-pdbtrack-get-source-buffer)
8420 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8421 (python-pdbtrack-toggle-stack-tracking)
8422 (python-pdbtrack-track-stack-file, python-initial-text)
8423 (python-first-word, python-comment-line-p, python-send-command)
8424 (python-setup-brm, python-sentinel, python-set-proc)
8425 (python-skip-out, python-input-filter, python-outdent-p)
8426 (python-outline-level, python-backslash-continuation-line-p)
8427 (python-end-of-block, python-end-of-statement, python-mark-block)
8428 (python-beginning-of-block, python-beginning-of-statement)
8429 (python-blank-line-p, python-beginning-of-string)
8430 (python-open-block-statement-p): Delete functions.
8431 (python-indent-line, python-indent-line-1): Delete functions.
8432 (python-indent-line): New function.
8433 (python-indentation-levels): Delete function.
8434 (python-indent-calculate-levels): New function.
8435 (python-proc): Delete function.
8436 (python-shell-get-process): New function.
8437 (python-send-receive): Delete function.
8438 (python-shell-send-string-no-output): New function.
8439 (python-module-path): Delete function.
8440 (python-ffap-module-path): New function.
8441 (python-completion-at-point)
8442 (python-symbol-completions): Delete functions.
8443 (python-completion-complete-at-point): New function.
8444 (python-load-file): Delete function.
8445 (python-shell-send-file): New function.
8446 (python-calculate-indentation): Delete function.
8447 (python-indent-calculate-indentation): New function.
8448 (python-skip-comments/blanks): Delete function.
8449 (python-util-forward-comment): New function.
8450 (python-continuation-line-p): Delete function.
8451 (python-info-continuation-line-p): New function.
8452 (python-which-func, python-current-defun): Delete function.
8453 (python-info-current-defun): New function.
8454 (python-beginning-of-defun): Delete function.
8455 (python-nav-beginning-of-defun): New function.
8456 (python-close-block-statement-p)
8457 (python-block-end-p): Delete function.
8458 (python-info-closing-block): New function.
8459 (python-comint-output-filter-function)
8460 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8461 (python-fill-comment, python-fill-decorator, python-fill-paren)
8462 (python-fill-string, python-imenu-make-element-tree)
8463 (python-imenu-make-tree, python-imenu-tree-assoc)
8464 (python-indent-context, python-indent-dedent-line)
8465 (python-indent-line-function)
8466 (python-indent-post-self-insert-function)
8467 (python-indent-toggle-levels)
8468 (python-info-assignment-continuation-line-p)
8469 (python-info-beginning-of-backlash)
8470 (python-info-block-continuation-line-p)
8471 (python-info-closing-block-message)
8472 (python-info-line-ends-backslash-p)
8473 (python-info-looking-at-beginning-of-defun)
8474 (python-info-ppss-context, python-info-ppss-context-type)
8475 (python-nav-list-defun-positions, python-nav-read-defun)
8476 (python-nav-sentence-end, python-nav-sentence-start)
8477 (python-pdbtrack-comint-output-filter-function)
8478 (python-pdbtrack-set-tracked-buffer)
8479 (python-shell-calculate-exec-path)
8480 (python-shell-calculate-process-environment)
8481 (python-shell-completion--do-completion-at-point)
8482 (python-shell-completion--get-completions)
8483 (python-shell-completion-complete-at-point)
8484 (python-shell-completion-complete-or-indent)
8485 (python-shell-get-or-create-process)
8486 (python-shell-get-process-name)
8487 (python-shell-internal-get-or-create-process)
8488 (python-shell-internal-get-process-name)
8489 (python-shell-internal-send-string, python-shell-make-comint)
8490 (python-shell-parse-command, python-shell-send-setup-code)
8491 (python-skeleton-add-menu-items)
8492 (python-util-clone-local-variables, python-util-position)
8493 (run-python-internal, python-indentation-levels)
8494 (python-nav-beginning-of-defun)
8495 (python-completion-complete-at-point): New functions.
8496 (run-python): Change arguments. New API requirements.
8497
4302f5ba
SM
84982012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8499
f38ea36d
SM
8500 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8501 (bug#11649).
8502
8503 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8504 (macroexp--expand-all): Use it.
8505
4302f5ba
SM
8506 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8507 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8508 Use `cl-function' instead.
8509
33377562
JB
85102012-06-14 Juanma Barranquero <lekktu@gmail.com>
8511
8512 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8513 Suggested by Stefan Monnier while discussing bug#11657.
8514
54c5ba1a
SS
85152012-06-14 Sam Steingold <sds@gnu.org>
8516
8517 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8518
f9f1b1fe
AS
85192012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8520
8521 * play/doctor.el (doctor-doc): Remove parameter and use
8522 doctor-sent instead of sent.
8523 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8524
a81068ba
SM
85252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8526
5a315f9c
SM
8527 * files.el: Require cl-lib.
8528 (file-name-non-special): Replace case -> cl-case.
8529
8530 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8531
a81068ba
SM
8532 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8533 mapping from #' to function*.
8534
8cca9703
CY
85352012-06-13 Chong Yidong <cyd@gnu.org>
8536
8537 * mouse.el (mouse-drag-track): Do not set the mark if the user
8538 releases the mouse without selecting anything (Bug#11588).
8539
a12ac9d7
SM
85402012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8541
ccf1dc18
SM
8542 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8543 as well (bug#11646).
8544
ef62b23d
SM
8545 * loadup.el: Count byte-code functions as well.
8546
c4c8444a
SM
8547 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8548 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8549
a12ac9d7
SM
8550 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8551 (bug#11649). Add cl-defun and cl-defmacro.
8552
87e6e64f
DA
85532012-06-13 Drew Adams <drew.adams@oracle.com>
8554
8555 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8556 Fix last change.
8557
682cefaf
MA
85582012-06-13 Michael Albinus <michael.albinus@gmx.de>
8559
8560 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8561 Otherwise, it blocks in batch mode.
8562
773e1f08
JB
85632012-06-13 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * help-mode.el (bookmark-make-record-default): Declare.
8566
60057926
CY
85672012-06-13 Chong Yidong <cyd@gnu.org>
8568
8569 * emacs-lisp/package.el (list-packages): Compute a list of
8570 packages that are newly-available since the last list-packages
8571 invocation.
8572 (package-menu--new-package-list): New var.
8573 (package-menu--generate, package-menu--print-info)
8574 (package-menu--status-predicate, package-menu-mark-install):
8575 Handle new status label "new".
8576
ad4d226c
SM
85772012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8580 conversion to backquotes.
8581
f1a4e679
CY
85822012-06-12 Chong Yidong <cyd@gnu.org>
8583
8584 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8585 Rename from gud-inhibit-global-bindings.
8586
8587 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8588
8589 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8590 hook from nxml-glyph-set-hook.
8591
8592 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8593 declaration.
8594
8595 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8596
8597 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8598 Convert to defcustom.
8599
0c9e42b5
DA
86002012-06-12 Drew Adams <drew.adams@oracle.com>
8601
8602 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8603 New functions.
8604 (help-mode): Use them.
8605
09e06855
GM
86062012-06-11 Glenn Morris <rgm@gnu.org>
8607
8608 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8609 Use preprocessor face for directives.
8610 (fortran-directive-re): Doc fix.
8611
71adb94b
SM
86122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8613
2eb87922
SM
8614 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8615 conversion to backquotes (bug#11652).
8616
71adb94b
SM
8617 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8618 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8619 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8620 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8621 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8622 (cl-ninth, cl-tenth): Mark them as inlinable.
8623 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8624 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8625 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8626 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8627 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8628 (cl-list*, cl-adjoin): Don't put an autoload manually.
8629 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8630 (cl--compiler-macro-list*): Add autoload cookie.
8631 (cl--compiler-macro-cXXr): New function.
2eb87922 8632
71adb94b
SM
8633 * help-fns.el (help-fns--compiler-macro): New function extracted from
8634 describe-function-1; follow aliases and use `compiler-macro' property.
8635 (describe-function-1): Use it.
8636
a6674402
CY
86372012-06-11 Chong Yidong <cyd@gnu.org>
8638
8639 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8640 is uninstalled, if imagemagick is installed.
8641
bb3faf5b
SM
86422012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * emacs-lisp/cl-lib.el: Use lexical-binding.
8645 (cl-map-extents, cl-maclisp-member): Remove.
8646 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8647 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8648 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8649 * emacs-lisp/cl-extra.el: Use lexical-binding.
8650 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8651 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8652 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8653 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8654 * emacs-lisp/cl-seq.el: Use lexical-binding.
8655 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8656 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8657 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8658 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8659 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8660 CL's internals.
8661
2fe4b125
MA
86622012-06-11 Michael Albinus <michael.albinus@gmx.de>
8663
8664 Sync with Tramp 2.2.6-pre.
8665
8666 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8667 `print-length' and `print-level' to nil, in order to avoid
8668 truncation. Reported by Christopher Schmidt
8669 <christopher@ristopher.com>.
8670
8671 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8672
8673 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8674 New defmacro.
8675 (tramp-compat-copy-directory): Add optional argument
8676 COPY-CONTENTS. It is not handled yet.
8677
8678 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8679 (tramp-ftp-file-name-p): Simplify.
8680
8681 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8682 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8683 connection vector.
8684
8685 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8686 (tramp-methods): Do not use `tramp-password-end-of-line'.
8687 (tramp-completion-function-alist-putty): Handle UNIX case.
8688 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8689 (tramp-do-file-attributes-with-stat)
8690 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8691 gid as real numbers. They could run out of integer range on cygwin.
8692 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8693 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8694 (tramp-open-connection-setup-interactive-shell):
8695 Use `tramp-cleanup'. Move check for busyboxes ...
8696 (tramp-find-shell): ... here. Simplify implementation.
8697 Set "remote-shell" property also for alternative shells.
8698 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8699 If failing, a regular file would be written otherwise.
8700 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8701 (tramp-find-inline-encoding): Cache the coding commands in the
8702 process cache. Apply test command on the remote side, if defined.
8703 (tramp-find-inline-compress): Cache the compress commands in the
8704 process cache.
8705 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8706 when requested. Handle hops.
8707 (tramp-current-connection): New defvar.
87e6e64f
DA
8708 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8709 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8710 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8711 (tramp-get-inline-compress, tramp-get-inline-coding):
8712 Read connection properties from the process cache.
2fe4b125
MA
8713
8714 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8715 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8716 New defconsts.
2fe4b125
MA
8717 (tramp-smb-prompt): Extend for powershell prompt.
8718 (tramp-smb-file-name-handler-alist): Add handlers for
8719 `process-file', `shell-command' and `start-file-process'.
8720 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8721 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8722 (tramp-smb-file-name-p): Simplify.
8723 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8724 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8725 (tramp-smb-shell-quote-argument): New defuns.
8726 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8727 Implement using "tar". By this, time-stamps are preserved.
8728 (tramp-smb-handle-copy-file): Handle also the case of directories.
8729 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8730 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8731 Use `tramp-get-connection-buffer').
2fe4b125
MA
8732 (tramp-smb-handle-rename-file): Use "rename", when source and
8733 target are on the same share.
87e6e64f
DA
8734 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8735 Use `tramp-smb-server-version'.
2fe4b125
MA
8736 (tramp-smb-wait-for-output): Remove prompt.
8737
8738 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8739 (tramp-methods, tramp-rsh-end-of-line):
8740 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8741 (tramp-save-ad-hoc-proxies): New defcustom.
8742 (tramp-completion-function-alist): Adapt docstring.
8743 (tramp-default-password-end-of-line): Remove defcustom.
8744 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8745 (tramp-user-regexp, tramp-file-name-regexp-unified)
8746 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8747 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8748 (tramp-remote-file-name-spec-regexp): New defconst.
8749 (tramp-file-name-structure): Extend structure for hops.
8750 (tramp-get-method-parameter): Move up.
8751 (tramp-file-name-p, tramp-dissect-file-name)
8752 (with-parsed-tramp-file-name): Handle hops.
8753 (tramp-file-name-hop): New defun.
8754 (tramp-make-tramp-file-name): New optional arg HOP.
8755 (tramp-message-show-progress-reporter-message): New defvar.
8756 (tramp-with-progress-reporter): Use it. We cannot use
8757 `tramp-message-show-message' here, because this suppresses also
8758 error buffers.
8759 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8760 `tramp-message-show-message' is nil.
8761 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8762 (tramp-cleanup): New defun.
8763 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8764 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8765 an error unchanged.
8766 (tramp-completion-handle-file-name-all-completions): Handle hops.
8767 Fix an error when called from ido.
8768 (tramp-completion-dissect-file-name): Use better local variable
8769 name. Add hop to the vector.
8770 (tramp-handle-insert-file-contents): Use progress-reporter for the
8771 whole scenario.
8772 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8773 to `t'.
8774 (tramp-check-for-regexp): Simplify search.
8775 (tramp-enter-password): Remove it. Move implementation ...
8776 (tramp-action-password): ... here.
8777 (tramp-mode-string-to-int, tramp-local-host-p)
8778 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8779 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8780 Set tramp-autoload cookie.
2fe4b125
MA
8781
8782 * net/trampver.el: Update release number.
8783
87842012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8785 Michael Albinus <michael.albinus@gmx.de>
8786
8787 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8788 (tramp-parse-group, tramp-parse-file)
8789 (tramp-parse-shostkeys-sknownhosts): New defuns.
8790 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8791 (tramp-parse-shosts-group, tramp-parse-sconfig)
8792 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8793 (tramp-parse-sknownhosts, tramp-parse-hosts)
8794 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8795 Use them.
8796 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8797 (tramp-parse-putty-group): Don't narrow.
8798 (tramp-parse-putty): Make a loop.
8799 (tramp-file-name-handler): Catch the `suppress' signal.
8800
72834e10
CY
88012012-06-11 Chong Yidong <cyd@gnu.org>
8802
8803 * image.el (imagemagick-register-types): Put the ImageMagick entry
8804 at the end of image-type-file-name-regexps.
8805
a4712e11
JB
88062012-06-11 Johan Bockgård <bojohan@gnu.org>
8807
8808 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8809 (pcase, pcase-let*, pcase-dolist): Use them.
8810
82ad98e3
SM
88112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/pcase.el (pcase--let*): New function.
8814 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8815 (pcase--expand): Use macroexp-let².
8816
f80efb86
SM
88172012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8820 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8821 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8822 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8823 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8824 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8825
31ca4639 88262012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8827
31ca4639
CY
8828 * mail/rmail.el (rmail-yank-current-message): Leave point at
8829 correct position. (Bug#11660)
94f0aa34 8830
31ca4639 88312012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8832
31ca4639 8833 * allout-widgets.el: Fix code header.
9e1b8ec4 8834
31ca4639 88352012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8836
f80efb86
SM
8837 * cus-edit.el (customize-changed-options-previous-release):
8838 Bump to 24.1.
31ca4639 8839
642b6d30
AS
88402012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8841
8842 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8843
4f5d2ba1
CY
88442012-06-09 Chong Yidong <cyd@gnu.org>
8845
8846 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8847
e75852fd
MR
88482012-06-09 Martin Rudalics <rudalics@gmx.at>
8849
8850 * window.el (special-display-popup-frame): Don't use
8851 window--display-buffer (Bug#11651).
8852
1e48e282
EZ
88532012-06-09 Eli Zaretskii <eliz@gnu.org>
8854
8a26b487
EZ
8855 Fix parallel builds: make sure loaddefs.el is not being written
8856 while Lisp files are compiled.
8857 (compile): Don't depend on 'mh-autoloads'.
8858 (compile-CMD, compile-SH): Depend on 'autoloads'.
8859 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8860
1e48e282
EZ
8861 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8862
6175e34b
CY
88632012-06-09 Chong Yidong <cyd@gnu.org>
8864
8865 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8866 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8867 Doc fixes (Bug#11225).
8868
d9857e53
SM
88692012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8872 a function if there's a clear indication that it has a compiler-macro.
8873 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8874 (macro-declarations-alist): Add arglist to declaration functions.
8875 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8876 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8877 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8878 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8879 Also add autoload to find the compiler macro.
8880 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8881 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8882 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8883 (cl--compiler-macro-get): New functions, replacing calls to
8884 cl-define-compiler-macro.
8885 (cl-typep) [compiler-macro]: Use macroexp-let².
8886
f81298f8 88872012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
8888
8889 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8890 string properly, fixes Bug#11473.
8891
4b56d0fe
CY
88922012-06-08 Chong Yidong <cyd@gnu.org>
8893
8894 * faces.el (set-face-attribute): Doc fix.
8895 (modify-face): Don't use :bold and :italic.
8896 (error, warning, success): Tweak definitions.
8897
8898 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8899 (custom-modified, custom-set, custom-changed, custom-themed)
8900 (custom-saved, custom-button, custom-button-mouse)
8901 (custom-button-pressed, custom-state, custom-comment-tag)
8902 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8903 (custom-group-subtitle): Use new-style face specs.
8904 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8905 (custom-set-face, custom-changed-face, custom-saved-face)
8906 (custom-button-face, custom-button-pressed-face)
8907 (custom-documentation-face, custom-state-face)
8908 (custom-comment-face, custom-comment-tag-face)
8909 (custom-variable-tag-face, custom-variable-button-face)
8910 (custom-face-tag-face, custom-group-tag-face-1)
8911 (custom-group-tag-face): Remove obsolete face alias.
8912
8913 * epa.el (epa-validity-high, epa-validity-medium)
8914 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8915 (epa-field-name, epa-field-body):
8916 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8917 (font-lock-keyword-face, font-lock-builtin-face)
8918 (font-lock-function-name-face, font-lock-variable-name-face)
8919 (font-lock-type-face, font-lock-constant-face):
8920 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8921 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8922 * speedbar.el (speedbar-button-face, speedbar-file-face)
8923 (speedbar-directory-face, speedbar-tag-face)
8924 (speedbar-selected-face, speedbar-highlight-face)
8925 (speedbar-separator-face):
8926 * whitespace.el (whitespace-newline, whitespace-space)
8927 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8928 (whitespace-line, whitespace-space-before-tab)
8929 (whitespace-space-after-tab, whitespace-indentation)
8930 (whitespace-empty):
8931 * emulation/cua-base.el (cua-global-mark):
8932 * eshell/em-prompt.el (eshell-prompt):
8933 * net/newst-plainview.el (newsticker-new-item-face)
8934 (newsticker-old-item-face, newsticker-immortal-item-face)
8935 (newsticker-obsolete-item-face, newsticker-date-face)
8936 (newsticker-statistics-face, newsticker-default-face):
8937 * net/newst-reader.el (newsticker-feed-face)
8938 (newsticker-extra-face, newsticker-enclosure-face):
8939 * net/newst-treeview.el (newsticker-treeview-face)
8940 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8941 (newsticker-treeview-immortal-face)
8942 (newsticker-treeview-obsolete-face)
8943 (newsticker-treeview-selection-face):
8944 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8945 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8946 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8947 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8948 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8949 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8950 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8951 (mpuz-text):
8952 * progmodes/vera-mode.el (vera-font-lock-number)
8953 (vera-font-lock-function, vera-font-lock-interface):
8954 * textmodes/table.el (table-cell): Use new-style face specs, and
8955 don't use the old :bold and :italic attributes.
8956
8957 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8958 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8959 (ebrowse-member-class, ebrowse-progress): Likewise.
8960 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8961 (ebrowse-file-name-face, ebrowse-default-face)
8962 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8963 (ebrowse-progress-face): Remove obsolete faces.
8964
8965 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8966 Inherit from error and warning faces respectively.
8967
8968 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8969 Likewise.
f80efb86
SM
8970 (flyspell-incorrect-face, flyspell-duplicate-face):
8971 Remove obsolete aliases.
4b56d0fe 8972
03310646
MA
89732012-06-08 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8976 Avoid infloop.
8977
513749ee
SM
89782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * startup.el (argv, argi): Make lexically scoped.
8981 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8982 * emacs-lisp/cl-macs.el: Use lexical-binding.
8983 Rename cl-bind-* to cl--bind-*.
8984 * files.el: Don't require `cl' since it doesn't use it.
8985 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8986
595ef4ad
JB
89872012-06-08 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8990 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8991 instead of calling external sort utility.
8992 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8993
e9f66fcb
EZ
89942012-06-08 Eli Zaretskii <eliz@gnu.org>
8995
8996 * descr-text.el (describe-char): Mention how to insert the
8997 character, if the current input method doesn't support it.
8998 See the discussion in this thread for the details:
8999 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9000
3d10db47
SS
90012012-06-08 Sam Steingold <sds@gnu.org>
9002
9003 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9004 XF86Back to previous-buffer.
9005 (minibuffer-local-map): Bind them to next-history-element and
9006 previous-history-element respectively.
9007 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9008 help-go-back respectively.
9009 * info.el (Info-mode-map): Bind them to Info-history-forward and
9010 Info-history-back respectively.
9011 These are the keys next to Up on the ThinkPad keyboard.
9012
de7e2b36
SM
90132012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9016 * emacs-lisp/cl-macs.el: Provide itself.
9017 (cl--labels-convert-cache): New var.
9018 (cl--labels-convert): New function.
9019 (cl-flet, cl-labels): New implementation with new semantics, relying on
9020 lexical-binding.
9021 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9022 (cl-closure-vars, cl--function-convert-cache)
9023 (cl--function-convert): Move from cl-macs.el.
9024 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9025 rename by removing the "cl-" prefix.
9026 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9027
6fa6c4ae
SM
90282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9031 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9032 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9033 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9034 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9035 (cl-hash-table-count): Add old compatibility aliases.
9036
9037 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9038 Use macroexpand-all-environment instead.
9039 (cl--old-macroexpand): New var.
9040 (cl--sm-macroexpand): New function.
9041 (cl-symbol-macrolet): Use it during macro expansion.
9042 (cl--function-convert-cache): New var.
9043 (cl--function-convert): New function, extracted from
9044 cl-macroexpand-all.
9045 (cl-lexical-let): Use it.
9046
9047 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9048 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9049 (cl-member): Remove old alias.
9050
9051 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9052 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9053 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9054 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9055 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9056 (cl-macroexpand-cmacs): Remove var.
9057 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9058 Use macroexpand-all instead.
9059
4dd1c416
SM
90602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9063 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9064 (macroexp-copyable-p): New functions and macros.
9065 * emacs-lisp/edebug.el (edebug-unwrap):
9066 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9067 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9068 (pcase--let*): Remove.
9069 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9070 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9071 macroexp-const-p instead.
9072 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9073
9074 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9075 instead of "cl-" for internal definitions. Use macroexp-const-p.
9076 (cl-old-bc-file-form): Remove var.
9077 (cl-const-exprs-p): Remove fun.
9078 (cl-labels, cl-macrolet): Use backquote.
9079 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9080 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9081 (cl-define-setf-expander): Rename from cl-define-setf-method.
9082 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9083
9084 * international/mule-cmds.el: Don't require CL.
9085 (view-hello-file): Don't use `letf'.
9086
ed8bd4d7
SM
90872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9088
7287f2f3
SM
9089 * tmm.el (tmm-prompt): Use string-prefix-p.
9090 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9091 (tmm-add-prompt): Use minibuffer-completion-help.
9092 (tmm-delete-map): Remove.
9093
ed8bd4d7
SM
9094 * subr.el (kbd): Make it its own function.
9095
7b4cdbf4
SM
90962012-06-07 Stefan Merten <smerten@oekonux.de>
9097
9098 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9099 Silence compiler warnings. Fix versions.
ed8bd4d7 9100 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9101 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9102 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9103 (rst-package-emacs-version-alist): Correct Emacs version to
9104 represent major merge with upstream.
ed8bd4d7 9105 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9106
2b48d721
GM
91072012-06-06 Glenn Morris <rgm@gnu.org>
9108
9109 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9110 Only print environment variables if set.
9111
fa779ab0
SM
91122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9115 (macroexp--cons): Rename from maybe-cons.
9116 (macroexp--accumulate): Rename from macroexp-accumulate.
9117 (macroexp--all-forms): Rename from macroexpand-all-forms.
9118 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9119 (macroexp--expand-all): Rename from macroexpand-all-1.
9120
628299e0
SS
91212012-06-06 Sam Steingold <sds@gnu.org>
9122
9123 * calendar/calendar.el (calendar-in-read-only-buffer):
9124 Call `special-mode' to enable the standard read-only keybindings.
9125
b7bb5838
SM
91262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9129 with "loading" messages (bug#11635).
9130
dfb308ba
MA
91312012-06-06 Michael Albinus <michael.albinus@gmx.de>
9132
9133 * files.el (enable-remote-dir-locals): New option.
9134 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9135
0372ee92
MA
9136 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9137 Ensure, that the temp directory is local.
9138
9139 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9140 `temporary-file-directory'.
9141
eed0bb91
MA
9142 * progmodes/python.el (python-send-region): Ensure, that the
9143 temporary file is created also in the remote case.
9144
7a58f64d
GM
91452012-06-06 Glenn Morris <rgm@gnu.org>
9146
f7dd4e98
GM
9147 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9148 (vc-rcs-update-changelog): Use it.
9149
090bd7cb 9150 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9151
7a58f64d
GM
9152 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9153 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9154 (vc-sccs-diff): Replace use of the external vcdiff script.
9155
daed4003
GM
91562012-06-05 Glenn Morris <rgm@gnu.org>
9157
9158 * ledit.el: Move to obsolete/.
9159
48c455c7
SS
91602012-06-05 Sam Steingold <sds@gnu.org>
9161
ed9265fc 9162 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9163 patch (Bug#11140).
9164
57a7d507
SM
91652012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9166
090bd7cb 9167 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9168
53aacf21
SM
9169 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9170 compiler-macro expansion.
9171
57a7d507
SM
9172 Add native compiler-macro support.
9173 * emacs-lisp/macroexp.el (macroexpand-all-1):
9174 Support compiler-macros directly. Properly follow aliases and apply
9175 the compiler macros more thoroughly.
9176 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9177 macroexpand now properly follows aliases.
9178 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9179 (cl-compiler-macroexpand): Use new prop.
9180 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9181
9182 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9183
51a5f9d8
MR
91842012-06-05 Martin Rudalics <rudalics@gmx.at>
9185
9186 * window.el (get-lru-window, get-mru-window, get-largest-window):
9187 New argument NOT-SELECTED to avoid picking the selected window.
9188 (window--display-buffer-1, window--display-buffer-2): Replace by
9189 new function window--display-buffer
9190 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9191 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9192 Use window--display-buffer.
51a5f9d8
MR
9193 (display-buffer-use-some-window): Remove temporary dedication
9194 hack by calling get-lru-window and get-largest-window with
9195 NOT-SELECTED argument non-nil. Call window--display-buffer.
9196
08f9f738
GM
91972012-06-05 Glenn Morris <rgm@gnu.org>
9198
9199 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9200 Replace external vcdiff script.
9201
e364a2b7
SM
92022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9205
041df390
CY
92062012-06-04 Chong Yidong <cyd@gnu.org>
9207
e364a2b7
SM
9208 * image.el (imagemagick-types-inhibit): Revert last change.
9209 Add INFO and M.
47b36b94 9210 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9211
7c1898a7
SM
92122012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * emacs-lisp/cl-lib.el: Rename from cl.el.
9215 * emacs-lisp/cl.el: New compatibility file.
9216 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9217 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9218 to obey the "cl-" prefix.
9219 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9220
0c3461de
GM
92212012-06-03 Glenn Morris <rgm@gnu.org>
9222
1e266c88
GM
9223 * emacs-lisp/authors.el (authors-aliases): Addition.
9224
0c3461de
GM
9225 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9226 Fix :version.
9227
d8a52e15
SM
92282012-06-03 Stefan Merten <smerten@oekonux.de>
9229
9230 * textmodes/rst.el: Add comments.
9231 (rst-transition, rst-adornment): New faces.
9232 (rst-adornment-faces-alist): Make default safe to reevaluate.
9233 Fixes
9234 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9235 Improve customization tags.
9236 (rst-define-level-faces): Clarify meaning.
9237
5205d6f6
CY
92382012-06-03 Chong Yidong <cyd@gnu.org>
9239
9240 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9241 (compilation-mode-line-run, compilation-mode-line-exit):
9242 New faces.
5205d6f6
CY
9243 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9244
757ee657
JD
92452012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9246
7c1898a7
SM
9247 * progmodes/which-func.el (which-func-update-ediff-windows):
9248 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9249
5f2c76c6
CY
92502012-06-03 Chong Yidong <cyd@gnu.org>
9251
9252 * bindings.el: Remove explicit help text from format-mode-line.
9253 It is now supplied by mode-line-default-help-echo.
9254 (mode-line-front-space, mode-line-end-spaces)
9255 (mode-line-misc-info): New variables.
9256 (mode-line-modes, mode-line-position): Move the default value to
9257 the variable definition.
9258 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9259 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9260 (mode-line-modified-help-echo): New functions.
9261 (mode-line-mule-info, mode-line-modified): Use them.
9262 (mode-line-eol-desc, propertized-buffer-identification):
9263 Consistency fixes for help text.
cbe46e5f
CY
9264 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9265 set-buffer-file-coding-system (Bug#289).
9266 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9267
f2d6a3df
SM
92682012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * simple.el (execute-extended-command): Set real-this-command
9271 (bug#11506).
9272
37269466
CY
92732012-06-02 Chong Yidong <cyd@gnu.org>
9274
9275 Remove incorrect uses of "modeline" in comments, docstrings, and
9276 function/variable names (Bug#10329).
9277
9278 * cus-edit.el (mode-line):
9279 * dframe.el (dframe-mouse-hscroll):
9280 * emacs-lisp/re-builder.el:
9281 * emacs-lisp/easy-mmode.el (define-minor-mode):
9282 * frame.el (set-frame-name):
9283 * help.el (lookup-minor-mode-from-indicator):
9284 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9285 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9286 (c-toggle-hungry-state):
9287 * progmodes/antlr-mode.el (antlr-language-alist):
9288 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9289 * progmodes/vhdl-mode.el (vhdl-mode):
9290 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9291 * term/ns-win.el (ns-face-at-pos):
9292 * term/sup-mouse.el (sup-mouse-report):
9293 * textmodes/flyspell.el (flyspell-mode-line-string):
9294 * textmodes/ispell.el (ispell-highlight-face):
9295 * textmodes/reftex-global.el:
9296 * vc/vc-arch.el (vc-arch-mode-line-string):
9297 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9298 * vc/vc-git.el (vc-git-mode-line-string):
9299 * vc/vc-hooks.el (vc-display-status)
9300 (vc-default-mode-line-string):
9301 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9302
9303 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9304
9305 * dired.el (dired-sort-set-mode-line): Rename from
9306 dired-sort-set-modeline. All callers changed.
9307
9308 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9309 eshell-status-in-modeline.
9310
9311 * foldout.el (foldout-mode-line-string): Rename from
9312 foldout-modeline-string. All callers changed.
9313 (foldout-update-mode-line): Rename from foldout-update-modeline.
9314
9315 * subr.el (redraw-modeline): Make into obsolete alias.
9316
9317 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9318 timeclock-modeline-display. Make old name an alias.
9319 (timeclock-update-mode-line): Likewise. All callers changed.
9320 (timeclock-mode-line-display): No need to check before using
9321 add-hook.
9322 (timeclock-relative, timeclock-day-over-hook)
9323 (timeclock-use-elapsed, timeclock-mode-string)
9324 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9325
9326 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9327 crisp-mode-modeline-string.
9328
9329 * play/solitaire.el (solitaire-build-mode-line): Rename from
9330 solitaire-build-modeline. All callers changed.
9331
9332 * play/zone.el (zone-hiding-mode-line): Rename from
9333 zone-hiding-modeline. All callers changed.
9334 (zone): Remove unusued `modeline-hidden-level' property.
9335
9336 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9337 xscheme-modeline-initialize. All callers changed.
9338
9339 * strokes.el (strokes-lighter): Rename from
9340 strokes-modeline-string.
9341
9342 * textmodes/sgml-mode.el (html-face-tag-alist)
9343 (html-tag-face-alist): Use mode-line face instead of obsolete
9344 alias modeline.
9345
42152ee4
SM
93462012-06-02 Stefan Merten <smerten@oekonux.de>
9347
9348 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9349 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9350
95f520b5
CY
93512012-06-02 Chong Yidong <cyd@gnu.org>
9352
9353 * image.el (imagemagick-enabled-types): Rename from
9354 imagemagick-types-enable. Add many more types.
9355 (imagemagick-types-inhibit): Change default to nil.
9356 (imagemagick-filter-types): Caller changed.
9357
4a5f187a
SM
93582012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9359
03fef3e6
SM
9360 * emacs-lisp/cl-macs.el: Use backquotes.
9361 (cl-transform-function-property): Use eval-and-compile rather than
9362 abusing `require'.
9363 (defstruct): Use declare-function instead of with-no-warnings.
9364
4a5f187a
SM
9365 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9366 (byte-compile-output-docform): Re-add the print-circle bindings.
9367 (byte-compile-fix-header): Use #$ just because it's shorter.
9368 (byte-compile-output-file-form): Remove defun/defmacro.
9369
bd56924f
MR
93702012-06-01 Martin Rudalics <rudalics@gmx.at>
9371
9372 * simple.el (choose-completion): Remove now obsolete binding for
9373 owindow.
9374
046e38ce
MA
93752012-06-01 Michael Albinus <michael.albinus@gmx.de>
9376
9377 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9378 in order to avoid "Stack overflow in regexp matcher".
9379
32d72c2f
GM
93802012-05-31 Glenn Morris <rgm@gnu.org>
9381
9382 * image.el: For clarity, call imagemagick-register-types at
9383 top-level, rather than relying on a custom :initialize.
9384 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9385 (imagemagick-filter-types): New function. (Bug#7406)
9386 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9387 If disabling support, remove elements altogether rather
9388 than using an impossible regexp.
9389 (imagemagick-types-inhibit): Give it the default init function.
9390
dd41169b
SM
93912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9392
4a5f187a
SM
9393 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9394 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9395
efc00ab1 93962012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9397
9398 * desktop.el (desktop-read): Clear previous and next buffers for
9399 all windows and bury *Messages* buffer (bug#11556).
9400
500fcedc
SM
94012012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 Add `declare' for `defun'. Align `defmacro's with it.
9404 * emacs-lisp/easy-mmode.el (define-minor-mode)
9405 (define-globalized-minor-mode): Don't autoload the var definitions.
9406 * emacs-lisp/byte-run.el: Use lexical-binding.
9407 (defun-declarations-alist, macro-declarations-alist): New vars.
9408 (defmacro, defun): Use them.
9409 (make-obsolete, define-obsolete-function-alias)
9410 (make-obsolete-variable, define-obsolete-variable-alias):
9411 Use `declare'.
9412 (macro-declaration-function): Mark obsolete.
9413 * emacs-lisp/autoload.el: Use lexical-binding.
9414 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9415
6e8a1786
AM
94162012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9417
9418 * textmodes/ispell.el (ispell-with-no-warnings):
9419 Define as a macro.
500fcedc
SM
9420 (ispell-kill-ispell, ispell-change-dictionary):
9421 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9422 `interactive-p'.
9423
61b108cc
SM
94242012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9425
9426 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9427 (macro-declaration-function): Move var from C code.
9428 (macro-declaration-function): Define function with defalias.
9429 * emacs-lisp/macroexp.el (macroexpand-all-1):
9430 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9431 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9432 defun/defmacro any more.
9433 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9434 Provide fallback for unknown arglist.
9435 (byte-compile-arglist-warn): Change calling convention.
9436 (byte-compile-output-file-form): Move print-vars binding.
9437 (byte-compile-output-docform): Simplify accordingly.
9438 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9439 (byte-compile-defmacro-declaration): Remove.
9440 (byte-compile-file-form-defmumble): Generalize to defalias.
9441 (byte-compile-output-as-comment): Return byte-positions.
9442 Simplify callers accordingly.
9443 (byte-compile-lambda): Use `assert'.
9444 (byte-compile-defun, byte-compile-defmacro): Remove.
9445 (byte-compile-file-form-defalias):
9446 Use byte-compile-file-form-defmumble.
9447 (byte-compile-defalias-warn): Remove.
9448
6d3f7c2f
SM
94492012-05-29 Stefan Merten <smerten@oekonux.de>
9450
9451 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9452 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9453
9454 (rst-mode-abbrev-table): Merge definition.
9455 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9456 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9457
6dbaa1c7
UJ
94582012-05-29 Ulf Jasper <ulf.jasper@web.de>
9459
9460 * calendar/icalendar.el
9461 (icalendar-export-region): Export UID properly.
9462
d209e2fb 94632012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9464 * calendar/icalendar.el (icalendar-import-format):
9465 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9466 (icalendar-import-format-uid): New.
9467 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9468 Export UID.
9469
6876a58d
SM
94702012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9473 different alternative patterns.
9474 (pcase-codegen): Be more careful to preserve identity.
9475 (pcase--u1): Don't forget to mark vars as used.
9476
9477 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9478 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9479 (byte-compile-from-buffer): ...rather than here.
9480
9481 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9482 functions from byte-compile-function-environment.
9483
46b7967e
TN
94842012-05-29 Troels Nielsen <bn.troels@gmail.com>
9485
9486 * window.el (window-deletable-p): Avoid deleting the root window
9487 of a frame with an active minibuffer.
9488
69d565e2
MR
94892012-05-29 Martin Rudalics <rudalics@gmx.at>
9490
9491 * simple.el (choose-completion): Use quit-window (Bug#11567).
9492
a149fa51
CY
94932012-05-29 Chong Yidong <cyd@gnu.org>
9494
9495 * whitespace.el (whitespace-cleanup): Fix usage of
9496 whitespace-empty-at-bob-regexp (Bug#11492).
9497
2b311310
AH
94982012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9499
9500 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9501 revert (Bug#11488).
9502
b9cb2387
JL
95032012-05-29 Juri Linkov <juri@jurta.org>
9504
9505 * isearch.el (isearch-mode-map): Bind `M-s _' to
9506 `isearch-toggle-symbol'. Bind `M-s c' to
9507 `isearch-toggle-case-fold'.
9508 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9509 (isearch-forward): Add `M-s _' to the docstring.
9510 (isearch-forward-symbol, isearch-toggle-case-fold)
9511 (isearch-symbol-regexp): New functions. (Bug#11381)
9512
d5e61c1c
JL
95132012-05-29 Juri Linkov <juri@jurta.org>
9514
9515 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9516 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9517 a function, call it to get the regexp.
9518 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9519 property `isearch-message-prefix' instead of the string "word ".
9520 (isearch-search-fun-default): For the case of `isearch-word',
9521 return a lambda that calls re-search-forward/re-search-backward
9522 with a regexp returned by `word-search-regexp' or by the function
9523 in `isearch-word'.
9524
8cbd80f7
JL
95252012-05-29 Juri Linkov <juri@jurta.org>
9526
9527 * isearch.el (isearch-search-fun-default): New function.
9528 (isearch-search-fun): Move default part to the new function
9529 `isearch-search-fun-default'.
9530 (isearch-search-fun-function): Set the default value to
9531 `isearch-search-fun-default'. (Bug#11381)
9532
9533 * comint.el (comint-history-isearch-end):
9534 Use `isearch-search-fun-default'.
9535 (comint-history-isearch-search): Use `isearch-search-fun-default'
9536 and remove spacial case for `isearch-word'.
9537 (comint-history-isearch-wrap): Remove spacial case for
9538 `isearch-word'.
9539
9540 * hexl.el (hexl-isearch-search-function):
9541 Use `isearch-search-fun-default'.
9542
9543 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9544 Use `word-search-regexp' for `isearch-word'.
9545
9546 * misearch.el (multi-isearch-search-fun):
9547 Use `isearch-search-fun-default'.
9548
9549 * simple.el (minibuffer-history-isearch-search):
9550 Use `isearch-search-fun-default' and remove spacial case for
9551 `isearch-word'.
9552 (minibuffer-history-isearch-wrap): Remove spacial case for
9553 `isearch-word'.
9554
9555 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9556 Remove spacial case for `isearch-word'.
9557 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9558
85c8c5b6
AM
95592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9560
9561 Decrease XEmacs incompatibilities.
9562 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9563 Use `string-match'.
9564 (flyspell-delete-region-overlays): Use alternative definition for
9565 XEmacs.
9566 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9567 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9568 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9569 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9570 `define-obsolete-face-alias' under XEmacs, but old method.
9571
9572 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9573 `with-no-warnings' definition or Emacs alias.
9574 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9575 (ispell-word): Do not use `region-p' if XEmacs.
9576
8cab9efc
AM
95772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9578
9579 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9580 Check for `ispell-dictionary-base-alist' instead of full
9581 `ispell-dictionary-alist'.
9582 (ispell-init-process): Show spellchecker when starting new Ispell
9583 process.
9584
fda91268
RZ
95852012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9588 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9589
694ea8e3
JB
95902012-05-27 Juanma Barranquero <lekktu@gmail.com>
9591
9592 * version.el (motif-version-string, gtk-version-string)
9593 (ns-version-string): Declare.
9594
e4d4f539
JL
95952012-05-27 Juri Linkov <juri@jurta.org>
9596
9597 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9598 after the `eval-defun-1' specialcaseing
9599 like in `edebug-eval-defun' (bug#10181).
9600
9601 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9602 like in `eval-defun-1'.
9603
33017faf 96042012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9605
fda91268
RZ
9606 * mail/sendmail.el (mail-yank-region):
9607 Recognize rmail-yank-current-message in addition to insert-buffer.
9608 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9609 a *mail* buffer created through rmail-start-mail with sendmail as
9610 mail-user-agent.
9611
33017faf
GM
96122012-05-27 Chong Yidong <cyd@gnu.org>
9613
9614 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9615 Default to 256 (Bug#11267).
9616
9617 * help.el (describe-mode): Doc fix.
9618
04188bb9
GM
96192012-05-26 Glenn Morris <rgm@gnu.org>
9620
38264cc9
GM
9621 * w32-fns.el (w32-init-info): Remove.
9622 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9623
eb7afdad
GM
9624 * info.el (info-initialize): For self-contained NS builds, put the
9625 included info/ directory at the front. (Bug#2791)
9626
04188bb9
GM
9627 * paths.el (Info-default-directory-list): Make it a defcustom,
9628 mainly so that we can use custom-initialize-delay.
9629
a179e3f7
SM
96302012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9631
43416392
SM
9632 * subr.el (buffer-has-markers-at): Mark obsolete.
9633
a179e3f7 9634 * subr.el (lambda): Use declare.
43416392 9635
a179e3f7
SM
9636 * emacs-lisp/lisp-mode.el (lambda):
9637 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9638
34a008d9
AH
96392012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9640
9641 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9642
0a3b289f
GM
96432012-05-26 Glenn Morris <rgm@gnu.org>
9644
9645 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9646
758c81e8
GM
96472012-05-25 Glenn Morris <rgm@gnu.org>
9648
f9f334f0
GM
9649 * paths.el: Remove no-byte-compile.
9650 * loadup.el: No need to load paths.el uncompiled.
9651
87eb79c2
GM
9652 * image.el (imagemagick-types-inhibit): Doc fix.
9653
758c81e8
GM
9654 * version.el: Remove no-byte-compile and associated formatting.
9655 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9656 is ancient code from when there was an "inc-vers.el".
9657
e7e85dc0
SM
96582012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * progmodes/gdb-mi.el: Minor style changes.
9661 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9662 Turn into minor modes.
9663 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9664 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9665 (gdb-shell): Remove unneeded let-binding.
9666 (gdb-get-many-fields): Eliminate O(n²) behavior.
9667
f31237a4
EZ
96682012-05-25 Eli Zaretskii <eliz@gnu.org>
9669
9670 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9671 platforms that don't link in fontset.c.
9672
bc1b21bb
JL
96732012-05-25 Juri Linkov <juri@jurta.org>
9674
9675 Use the same diff color scheme as in modern VCSes (bug#10181).
9676
9677 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9678 to avoid confusion with `diff-added' that now uses green colors.
9679 (diff-removed): Use shades of red.
9680 (diff-added): Use shades of green.
9681 (diff-changed): Leave just the yellow color.
9682 (diff-use-changed-face): New variable.
9683 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9684 how to highlight context diff changes.
9685 (diff-refine-change): Use shades of yellow.
9686 (diff-refine-removed): New face that uses shades of red.
9687 (diff-refine-added): New face that uses shades of green.
9688 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9689 `diff-refine-removed' in the call to `smerge-refine-subst'
9690 depending on the value of `diff-use-changed-face'.
9691
9692 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9693 (smerge-other): Use shades of green.
9694 (smerge-base): Use shades of yellow.
9695 (smerge-refined-change): Empty face.
9696 (smerge-refined-removed): New face that uses shades of red.
9697 (smerge-refined-added): New face that uses shades of green.
9698 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9699 args `props-r' and `props-a', and use them. Doc fix.
9700 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9701 on its value use different faces `smerge-refined-change',
9702 `smerge-refined-removed', `smerge-refined-added' in the call to
9703 `smerge-refine-subst'.
9704
9705 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9706 Add face condition `min-colors 88' with shades of red.
9707 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9708 `min-colors 88' with shades of green.
9709 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9710 `min-colors 88' with shades of yellow.
9711
6df9112c
GM
97122012-05-24 Glenn Morris <rgm@gnu.org>
9713
ead5edc0
GM
9714 * paths.el (prune-directory-list, remote-shell-program): Move to...
9715 * files.el (prune-directory-list, remote-shell-program): ...here.
9716 For the latter, delay initialization, prefer ssh, just search PATH.
9717
f18b81e6
GM
9718 * paths.el (term-file-prefix): Move to faces.el (the only user).
9719 * faces.el (term-file-prefix): Move here, make it a defcustom.
9720
ee2f89a6
GM
9721 * paths.el (news-directory, news-path, news-inews-program):
9722 Move to gnus/nnspool.el.
61a583ca 9723
f8815e4c
GM
9724 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9725
c8f3b42c
GM
9726 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9727 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9728 Make the latter a defcustom, with a delayed initialization.
9729
6df9112c
GM
9730 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9731 These were deleted from Gnus itself late 2010.
9732
5dadff36
JB
97332012-05-22 Juanma Barranquero <lekktu@gmail.com>
9734
9e1701c6
JB
9735 * progmodes/which-func.el (which-func-ff-hook):
9736 Check against user-error, not error.
9737
bd7239f5 9738 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9739 cl-specs.el, which no longer exists.
9740
3290526d
GM
97412012-05-22 Glenn Morris <rgm@gnu.org>
9742
9743 * info.el (info-emacs-bug): New command.
9744 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9745 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9746
ff0c3cfb
GM
97472012-05-21 Glenn Morris <rgm@gnu.org>
9748
9749 * makefile.w32-in (update-subdirs-SH):
9750 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9751
5814f126
SM
97522012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9753
a52c0aa0
SM
9754 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9755
5814f126
SM
9756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9757 Simplify Maven regexp, and make sure the file can't start with a space
9758 (bug#11517).
9759
b847032c
GM
97602012-05-21 Glenn Morris <rgm@gnu.org>
9761
9762 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9763 Scrap superfluous subshells.
9764
3858bfe7
SM
97652012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9766
9767 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9768 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9769
d14b0029
JB
97702012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9771
9772 * calc/calc.el (calc-ensure-consistent-units): New variable.
9773
a52c0aa0
SM
9774 * calc/calc-units.el (math-consistent-units-p)
9775 (math-check-unit-consistency): New functions.
9776 (calc-quick-units, calc-convert-units):
9777 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9778 is non-nil.
d14b0029
JB
9779 (calc-extract-units): Fix typo.
9780
60c4db3a
SM
97812012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9782
77f3b62e
SM
9783 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9784
60c4db3a
SM
9785 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9786 (flyspell-default-deplacement-commands): Don't spell check after
9787 repeated window/frame switches (e.g. triggered by mouse-movement).
9788 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9789 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9790 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9791 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9792 Remove unused vars.
9793 (flyspell-get-casechars, flyspell-get-not-casechars):
9794 Simplify; Don't bother removing a ] just to add it back.
9795 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9796
d209e2fb 97972012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9798
9799 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9800 New functions.
bd7239f5 9801 (math-function-table): Add support for more C functions.
b1a10716 9802
3f1b25b5
AM
98032012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9804
090bd7cb
JB
9805 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9806 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9807 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9808
b581bb5c
SM
98092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9812 their respective macro declarations.
9813 * skeleton.el (define-skeleton):
9814 * progmodes/compile.el (define-compilation-mode):
9815 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9816 (define-ibuffer-filter):
9817 * emacs-lisp/generic.el (define-generic-mode):
9818 * emacs-lisp/easy-mmode.el (define-minor-mode)
9819 (define-globalized-minor-mode):
9820 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9821 * emacs-lisp/byte-run.el (defsubst):
9822 * custom.el (deftheme): Add doc-string metadata.
9823
70b8ef8f
SM
98242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9827
b1198e17
SM
98282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9829
9abdc45d
SM
9830 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9831
b1198e17
SM
9832 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9833 * emacs-lisp/cl-macs.el: Idem.
9834 * emacs-lisp/cl-specs.el: Remove.
9835
4735906a
SM
98362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 Minor renaming of internal CL functions and variables.
9839 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9840 (cl--position): Rename from cl-position.
9841 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9842 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9843 (cl--random-state): Rename from *random-state*.
9844
ac348012
SM
98452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9848 parens around the arg list (bug#11499).
9849
a0a79cde
JL
98502012-05-17 Juri Linkov <juri@jurta.org>
9851
9852 * isearch.el (word-search-regexp, word-search-backward)
9853 (word-search-forward, word-search-backward-lax)
9854 (word-search-forward-lax): Move functions from search.c
9855 (bug#10145, bug#11381).
9856
65034a51
AM
98572012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9858
090bd7cb
JB
9859 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9860 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9861 Delay for otherchars as for normal word components.
65034a51 9862
1a72a195
SM
98632012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * minibuffer.el (completion--sifn-requote): Fix last change.
9866 (minibuffer-local-must-match-filename-map):
9867 Move define-obsolete-variable-alias before its var.
9868
fdb058c2
SM
98692012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9870
c41045e6
SM
9871 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9872
036dfb8b
SM
9873 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9874 behavior.
9875 (completion--string-equal-p): New function.
9876 (completion--twq-all): Use it to get better assertion failure data.
9877
2473256d
SM
9878 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9879 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9880 (shell--requote-argument): New functions.
9881 (shell-completion-vars): Use them.
9882 (shell--parse-pcomplete-arguments): Rename from
9883 shell-parse-pcomplete-arguments.
9884 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9885 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9886 Obey comint-file-name-quote-list.
9887
fdb058c2
SM
9888 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9889 (smie-indent-keyword): Use it.
9890
51fa99f1
SM
98912012-05-14 Stefan Merten <smerten@oekonux.de>
9892
9893 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9894
e18afed7 98952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
9896
9897 * net/rlogin.el (rlogin-mode-map): Fix last change.
9898
e18afed7 98992012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
9900
9901 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9902 the following \r\n using a single `process-send-string', since the
9903 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 9904 with two `process-send-string's (Bug#11444).
8633b1f4 9905
e18afed7 99062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 9907
fdb058c2
SM
9908 * shell.el (shell-parse-pcomplete-arguments):
9909 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 9910
2d21d7f6
WJ
99112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9912
e18afed7 9913 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
9914 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9915 (image-transform-width, image-transform-fit-width): New functions.
9916 (image-transform-properties): Use them.
9917 (image-transform-check-size): New function.
9918 (image-toggle-display-image): Use it (for testing).
9919 (image-transform-set-rotation): Reduce angle mod 360.
9920 Delete obsolete comment.
9921
7102e6d0
WJ
99222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9923
9924 * image-mode.el: Fix scaling (bug#11399).
9925 (image-transform-resize): Doc fix.
9926 (image-transform-properties): Default scale is 1 and height should
9927 be an integer.
9928
06bc5e6e
SM
99292012-05-13 Johan Bockgård <bojohan@gnu.org>
9930
9931 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9932 than hard-coding `car', to fix misbehavior when moving forward.
9933
0ae03b6a
CY
99342012-05-13 Chong Yidong <cyd@gnu.org>
9935
9936 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9937 (tabulated-list-entries, tabulated-list-padding)
9938 (tabulated-list-sort-key): Make permanent-local.
9939
9940 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9941 (electric-buffer-list): Put electric buffer menu
9942 command descriptions in this docstring, instead of the docstring
9943 of electric-buffer-menu-mode. Code cleanups.
9944 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9945 Electric-buffer-menu-mode.
9946 (electric-buffer-update-highlight): Minor code cleanup.
9947
205a7391
MA
99482012-05-13 Michael Albinus <michael.albinus@gmx.de>
9949
9950 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9951 (Bug#11447)
9952
e5bd0a28
SM
99532012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 Move define-obsolete-variable-alias before the var's definition.
9956 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9957 * tooltip.el (tooltip-hook):
9958 * textmodes/reftex-toc.el (reftex-toc-map):
9959 * textmodes/reftex-sel.el (reftex-select-label-map)
9960 (reftex-select-bib-map):
9961 * textmodes/reftex-index.el (reftex-index-map)
9962 (reftex-index-phrases-map):
9963 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9964 * progmodes/meta-mode.el (meta-mode-map):
9965 * novice.el (disabled-command-hook):
9966 * loadhist.el (unload-hook-features-list):
9967 * frame.el (blink-cursor):
9968 * files.el (find-file-not-found-hooks, write-file-hooks)
9969 (write-contents-hooks):
9970 * emulation/tpu-edt.el (GOLD-map):
9971 * emacs-lock.el (emacs-lock-from-exiting):
9972 * emacs-lisp/generic.el (generic-font-lock-defaults):
9973 * emacs-lisp/chart.el (chart-map):
9974 * dos-fns.el (register-name-alist):
9975 * dired-x.el (dired-omit-files-p):
9976 * desktop.el (desktop-enable):
9977 * cus-edit.el (custom-mode-hook):
9978 * buff-menu.el (buffer-menu-mode-hook):
9979 * bookmark.el (bookmark-read-annotation-text-func)
9980 (bookmark-exit-hooks):
9981 * allout.el (allout-mode-deactivate-hook)
9982 (allout-exposure-change-hook, allout-structure-added-hook)
9983 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9984 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9985 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9986 comes before the corresponding variable's definition.
9987
ac59c2f6
CY
99882012-05-12 Chong Yidong <cyd@gnu.org>
9989
9990 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
9991 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9992 (Buffer-menu-mode-map): Bind it.
9993 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 9994
dee6c9a3
SM
99952012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9996
2171cea5
SM
9997 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9998 (prolog-upper-case-string, prolog-lower-case-string)
9999 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10000 (prolog-use-smie, prolog-smie-grammar): New vars.
10001 (prolog-smie-forward-token, prolog-smie-backward-token)
10002 (prolog-smie-rules): New funs.
10003 (prolog-comment-indent): Remove.
10004 (prolog-mode-variables): Use default comment indentation instead.
10005 Setup SMIE.
10006 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10007 (prolog-mode): Don't call them any more.
10008 (prolog-electric-colon, prolog-electric-dash)
10009 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10010
aa0382bd
SM
10011 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10012
dbacb4bd
SM
10013 * minibuffer.el (completion--twq-all): Again, allow case differences.
10014
13bdd94c
SM
10015 * term.el: Move keymap initialization code to be more idiomatic.
10016 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10017 (term-terminal-menu): Move initialization into declaration.
10018 (term-escape-char): Let the user set it in her .emacs.
10019
ff46c759
SM
10020 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10021 Provide SMIE-based indentation (not enabled by default yet).
10022 (sh-mode-map): Don't bind electric keys.
10023 Use electric-pair-mode instead of skeleton-pair.
10024 (sh-assignment-regexp): Fit within 80 columns.
10025 (sh-indent-supported): Specify actual shell name instead of boolean.
10026 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10027 (sh-maybe-here-document): Use it. Make obsolete.
10028 (sh-electric-here-document-mode) New minor mode.
10029 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10030 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10031 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10032 (sh-smie-rc-grammar, sh-use-smie): New vars.
10033 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10034 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10035 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10036 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10037 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10038 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10039 (sh-set-shell): Use smie-setup if requested.
10040
dee6c9a3
SM
10041 * term.el (term-set-escape-char): Properly set term-escape-char.
10042 See http://stackoverflow.com/questions/10524656.
10043
9f9aa044
CY
100442012-05-10 Chong Yidong <cyd@gnu.org>
10045
10046 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10047 Use url-generic-parse-url, and handle host names and Windows
10048 filenames properly.
10049 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10050 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10051 URL schemes to work on.
10052 (ffap--toggle-read-only): New function.
10053 (ffap-read-only, ffap-read-only-other-window)
10054 (ffap-read-only-other-frame): Use it.
10055 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10056 necessary for ffap-url-unwrap-remote.
10057
836d29b3
DA
100582012-05-10 Dave Abrahams <dave@boostpro.com>
10059
10060 * cus-start.el (create-lockfiles): Add it.
10061
00fd78ed
CY
100622012-05-09 Chong Yidong <cyd@gnu.org>
10063
10064 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10065 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10066
666b903b 100672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10068
10069 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10070
666b903b 100712012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10072
10073 * ansi-color.el (ansi-color-process-output): Check for validity of
10074 comint-last-output-start before using it. This avoids a bad
10075 interaction with gdb-mi's input/output buffer.
10076
666b903b 100772012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10078
10079 * files.el (dir-locals-read-from-file):
10080 Mention dir-locals in any error message.
10081
666b903b 100822012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10083
10084 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10085 package (Bug#11410).
10086
f677562b
CY
10087 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10088 variables into description.
10089
666b903b 100902012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10091
10092 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10093 shell-delimiter-argument-list (bug#11348).
10094 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10095
b499d8d0
JB
100962012-05-09 Juanma Barranquero <lekktu@gmail.com>
10097
8f6b6da8
JB
10098 * textmodes/rst.el: Silence byte-compiler warnings.
10099 (rst-re-alist, rst-reset-section-caches): Move around.
10100 (rst-re): Use `characterp', not `char-valid-p'.
10101 (font-lock-beg, font-lock-end): Declare.
10102
4824146a
JB
10103 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10104 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10105
b499d8d0
JB
10106 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10107
ad89bb83
GM
101082012-05-08 Glenn Morris <rgm@gnu.org>
10109
10110 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10111
8bba5a75
SM
101122012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10113
49ed9c8e
SM
10114 * vc/log-edit.el: Add GNU coding standards highlighting.
10115 (log-edit-font-lock-gnu-style)
10116 (log-edit-font-lock-gnu-keywords): New vars.
10117 (log-edit-font-lock-keywords): New fun.
10118 (log-edit-mode): Don't fold case in font-lock.
10119 (log-edit-font-lock-keywords): Do not assume case-folding.
10120
07d00b56
SM
10121 * imenu.el: Misc cleanup. Make docstrings out of comments.
10122 Use lexical-binding.
10123 (imenu--index-alist, imenu--last-menubar-index-alist)
10124 (imenu-menubar-modified-tick): Use defvar-local.
10125 (imenu--split-menu): Remove unused var.
10126 (imenu--cleanup-seen): Declare as global.
10127 (imenu--cleanup): Use dolist.
10128
8bba5a75
SM
10129 * subr.el (defvar-local): Add debug spec and doc-string position.
10130
5075bdb5
GM
101312012-05-08 Glenn Morris <rgm@gnu.org>
10132
090bd7cb 10133 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10134 * language/english.el, language/georgian.el, language/greek.el:
10135 * language/japanese.el, language/khmer.el, language/korean.el:
10136 * language/lao.el, language/misc-lang.el, language/romanian.el:
10137 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10138 * language/thai.el, language/utf-8-lang.el:
10139 Remove no-byte-compile setting.
10140
5075bdb5
GM
10141 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10142
06f679a7
AH
101432012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10144
10145 * progmodes/make-mode.el (makefile-browse):
10146 Remove unnecessary interactive. (Bug#11324)
10147
03794570
GM
101482012-05-07 Glenn Morris <rgm@gnu.org>
10149
af8630f4
GM
10150 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10151
03794570
GM
10152 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10153
f0809a9d
SM
101542012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10155
28be5ce7
SM
10156 * loadup.el: Preload newcomment.el.
10157 * newcomment.el: Move autoload-only code to toplevel.
10158
f0809a9d
SM
10159 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10160 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10161 Handle new :right-align column property.
10162 (tabulated-list-print-col): Idem, plus use `display' text-property to
10163 try and preserve alignment for variable pitch fonts.
10164
1241b724
CY
101652012-05-07 Chong Yidong <cyd@gnu.org>
10166
10167 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10168 (tabulated-list-use-header-line): New var.
10169 (tabulated-list-init-header): Use it.
10170 (tabulated-list-print-fake-header): New function.
10171 (tabulated-list-print): Use it.
10172 (tabulated-list-sort-button-map): Add non-header-line commands.
10173 (tabulated-list-init-header): Add column name property to basic
10174 labels as well.
10175 (tabulated-list-col-sort): Handle non-header-line button case.
10176 (tabulated-list--sort-by-column-name): Fix a corner case.
10177
f0809a9d
SM
10178 * buff-menu.el (list-buffers--refresh):
10179 Handle Buffer-menu-use-header-line.
1241b724 10180
e5f9458f
CY
101812012-05-06 Chong Yidong <cyd@gnu.org>
10182
10183 * buff-menu.el: Convert to Tabulated List mode.
10184 (Buffer-menu-buffer+size-width): Make obsolete.
10185 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10186 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10187 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10188 documentation into docstring of buffer-menu.
10189 (Buffer-menu-toggle-files-only): Add an informative message.
10190 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10191 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10192 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10193 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10194 (Buffer-menu-execute, Buffer-menu-select)
10195 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10196 (Buffer-menu-bury): Use Tabulated List machinery.
10197 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10198 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10199 Delete.
e5f9458f
CY
10200 (list-buffers--refresh): New function.
10201 (list-buffers-noselect): Use it.
10202 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10203 (Buffer-menu--pretty-file-name): New helper functions.
10204
10205 * loadup.el: Preload tabulated-list.
10206
10207 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10208 tabulated-list-sort-column.
10209 (tabulated-list-init-header): Add the initial aligning space even
10210 if tabulated-list-padding is zero.
10211
e129292c
CS
102122012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10213
10214 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10215 whose cdr is not a cons cell correctly (bug#11038).
10216
6632d361
CY
102172012-05-06 Chong Yidong <cyd@gnu.org>
10218
e129292c
CS
10219 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10220 Accept additional plist in column descriptors.
6632d361
CY
10221 (tabulated-list-init-header): Obey it.
10222 (tabulated-list-get-entry): New function.
10223 (tabulated-list-put-tag): Use it. Use string-width instead of
10224 length.
10225 (tabulated-list--column-number): New function.
10226 (tabulated-list-print): Use it.
e129292c
CS
10227 (tabulated-list-print-col): New function.
10228 Set `tabulated-list-column-name' property on each column's text.
6632d361 10229 (tabulated-list-print-entry): Use it.
e129292c
CS
10230 (tabulated-list-delete-entry, tabulated-list-set-col):
10231 New functions.
6632d361
CY
10232 (tabulated-list-sort-column): New command (Bug#11337).
10233
3cc99f68
CY
10234 * buff-menu.el (list-buffers): Move C-x C-b binding from
10235 buff-menu.el to bindings.el.
10236
10237 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10238 :advertised-binding feature.
10239
52b61776
TN
102402012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10241
10242 * progmodes/compile.el (compilation-internal-error-properties):
10243 Calculate start position correctly when end-col is set but
10244 end-line is not (Bug#11382).
10245
ebfe2597
WJ
102462012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10247
10248 * man.el (Man-unindent): Use text-property-default-nonsticky to
10249 prevent untabify from inheriting face properties (Bug#11408).
10250
6d3f7c2f
SM
102512012-05-05 Stefan Merten <smerten@oekonux.de>
10252
10253 * textmodes/rst.el: Major merge with upstream development up to
10254 Docutils SVN r7399 / rst.el V1.2.1.
10255
10256 Clarify maintainership and authors.
10257
10258 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10259 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10260 (rst-official-version, rst-official-cvs-rev, rst-version)
10261 (rst-package-emacs-version-alist): New functions and variables
10262 for version information.
10263
10264 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10265 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10266 (rst-mode-syntax-table, rst-mode): New and corrected functions
10267 and variables representing reStructuredText features.
10268
10269 (rst-re): New function for reStructuredText regexes. Use in
10270 many places.
10271
10272 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10273 (rst-mode-map): Rebind keys.
10274
10275 (rst-mode-lazy, rst-font-lock-keywords)
10276 (rst-font-lock-extend-region)
10277 (rst-font-lock-extend-region-internal)
10278 (rst-font-lock-extend-region-extend)
10279 (rst-font-lock-find-unindented-line-limit)
10280 (rst-font-lock-find-unindented-line-match)
10281 (rst-adornment-level, rst-font-lock-adornment-level)
10282 (rst-font-lock-adornment-match)
10283 (rst-font-lock-handle-adornment-pre-match-form)
10284 (rst-font-lock-handle-adornment-matcher): Major revision of
10285 font-locking. Integrate with other code. Use `jit-lock-mode'.
10286
10287 (rst-preferred-adornments, rst-adjust-hook)
10288 (rst-new-adornment-down, rst-preferred-bullets)
10289 (rst-preferred-bullets, rst-indent, rst-indent-width)
10290 (rst-indent-field, rst-indent-literal-normal)
10291 (rst-indent-literal-minimized, rst-indent-comment): Change,
10292 extend and improve customization.
10293
10294 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10295 (rst-normalize-cursor-position, rst-get-decoration)
10296 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10297 (rst-rstrip, rst-toc-insert-find-delete-contents)
10298 (rst-shift-fill-region, rst-compute-bullet-tabs)
10299 (rst-debug-print-tabs, rst-debug-mark-found)
10300 (rst-shift-region-guts, rst-shift-region-right)
10301 (rst-shift-region-left, rst-use-char-classes)
10302 (rst-font-lock-keywords-function)
10303 (rst-font-lock-indentation-point)
10304 (rst-font-lock-find-unindented-line-begin)
10305 (rst-font-lock-find-unindented-line-end)
10306 (rst-font-lock-find-unindented-line)
10307 (rst-font-lock-adornment-point, rst-font-lock-level)
10308 (rst-adornment-level-alist): Remove functions and variables.
10309
10310 (rst-compare-adornments, rst-get-adornment-match)
10311 (rst-suggest-new-adornment, rst-get-adornments-around)
10312 (rst-adornment-complete-p, rst-get-next-adornment)
10313 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10314 (rst-straighten-adornments): Standardize function names to
10315 use "adornment" instead of "decoration". Correct callers.
10316 Similar standardizing in many places.
10317
10318 (rst-update-section, rst-adjust, rst-promote-region)
10319 (rst-enumerate-region, rst-bullet-list-region)
10320 (rst-repeat-last-character): Correct use of `interactive'.
10321
10322 (rst-classify-adornment, rst-find-all-adornments)
10323 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10324 (rst-find-leftmost-column, rst-repeat-last-character):
10325 Refactor functions.
10326
10327 (rst-find-title-line, rst-reset-section-caches)
10328 (rst-get-adornments-around, rst-adjust-adornment-work)
10329 (rst-arabic-to-roman, rst-roman-to-arabic)
10330 (rst-insert-list-pos, rst-insert-list-new-item)
10331 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10332 New functions.
10333
10334 (rst-all-sections, rst-section-hierarchy)
10335 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10336 New variables.
10337
10338 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10339 configuration instead of only buffer. Change where necessary.
10340
10341 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10342 (rst-shift-region, rst-adaptive-fill): New functions for
10343 indentation and filling.
10344
10345 (rst-comment-line-break, rst-comment-indent)
10346 (rst-comment-insert-comment, rst-comment-region)
10347 (rst-uncomment-region): New functions for handling comments.
10348
10349 (rst-compile): Quote shell arguments.
10350
10351 (rst-compile-pdf-preview, rst-compile-slides-preview):
10352 Delete temporary files after use.
10353
a43f98b3
GM
103542012-05-05 Glenn Morris <rgm@gnu.org>
10355
48176e8b
GM
10356 * calendar/cal-html.el: Optionally include holidays in the output.
10357 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10358 (cal-html-holidays): New option.
10359 (cal-html-css-default): Add holiday entry.
10360 (holiday-in-range): Autoload it.
10361 (cal-html-htmlify-entry): Add optional class argument.
10362 (cal-html-htmlify-list): Add optional holidays argument.
10363 (cal-html-insert-agenda-days): Include holidays in the output.
10364 (cal-html-one-month): Maybe include holidays.
10365
a43f98b3
GM
10366 * calendar/holidays.el (holiday-in-range):
10367 Move here from cal-tex-list-holidays.
10368 * calendar/cal-tex.el (cal-tex-list-holidays):
10369 Make it an obsolete alias for holiday-in-range. Update all callers.
10370
fef9d149 103712012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10372
10373 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10374 Nextstep.
10375
248da2f4
RW
103762012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10377
10378 * files.el (file-auto-mode-skip): New var.
10379 (set-auto-mode-1): Use it.
10380
f95e9344
SM
103812012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10382
df96ab1e
SM
10383 * repeat.el: Use lexical-binding.
10384 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10385 (repeat-undo-count): Remove.
10386 (repeat):
10387 * progmodes/octave-mod.el (octave-abbrev-start):
10388 * progmodes/f90.el (f90-abbrev-start):
10389 * face-remap.el (text-scale-adjust):
10390 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10391
5342bb06
SM
10392 * emacs-lisp/pcase.el (pcase--let*): New function.
10393 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10394 a bit more.
10395 (pcase--split-pred): Be more clever about ruling out overlap between
10396 a predicate and some constant pattern.
10397 (pcase--q1): Use `null' instead of (eq foo nil).
10398
f95e9344
SM
10399 * subr.el (setq-local, defvar-local): New macros.
10400 (kbd): Redefine as an alias.
10401 (with-selected-window): Leave unrelated frames alone.
10402 (set-temporary-overlay-map): New function.
10403
71873e2b
SM
104042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * subr.el (user-error): New function.
10407 * window.el (switch-to-buffer):
10408 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10409 (smerge-match-conflict):
10410 * simple.el (previous-matching-history-element)
10411 (next-matching-history-element, goto-history-element, undo-more)
10412 (undo-start):
10413 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10414 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10415 (next-file, tags-loop-scan, list-tags, complete-tag):
10416 * progmodes/compile.el (compilation-loop):
10417 * mouse.el (mouse-minibuffer-check):
10418 * man.el (Man-bgproc-sentinel, Man-goto-page):
10419 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10420 (Info-history-forward, Info-follow-reference, Info-menu)
10421 (Info-extract-menu-item, Info-extract-menu-counting)
10422 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10423 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10424 (Info-next-reference, Info-prev-reference, Info-index)
10425 (Info-index-next, Info-follow-nearest-node)
10426 (Info-copy-current-node-name):
10427 * imenu.el (imenu--make-index-alist)
10428 (imenu-default-create-index-function, imenu-add-to-menubar):
10429 * files.el (basic-save-buffer, recover-file):
10430 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10431 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10432 (checkdoc-message-text, checkdoc-defun):
10433 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10434 * cus-edit.el (customize-changed-options, customize-rogue)
10435 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10436 (custom-variable-mark-to-reset-standard)
10437 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10438 (custom-file):
10439 * completion.el (check-completion-length):
10440 * comint.el (comint-search-arg)
10441 (comint-previous-matching-input-string-position)
10442 (comint-previous-matching-input)
10443 (comint-replace-by-expanded-history-before-point, comint-send-input)
10444 (comint-copy-old-input, comint-backward-matching-input)
10445 (comint-goto-process-mark, comint-set-process-mark):
10446 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10447 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10448
8a61ee22
SM
104492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10450
66408d1e
SM
10451 * dabbrev.el (dabbrev--ignore-case-p): New function.
10452 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10453 Use it.
10454
8a61ee22
SM
10455 * files.el (automount-dir-prefix): Mark as obsolete.
10456
3c74813a
GM
104572012-05-04 Glenn Morris <rgm@gnu.org>
10458
10459 * patcomp.el, play/bruce.el: Move to obsolete/.
10460
0bfcf5c5
PE
104612012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10462
10463 Fix minor Y10k bugs.
10464 * arc-mode.el (archive-unixdate):
10465 * autoinsert.el (auto-insert-alist):
10466 * calc/calc-forms.el (math-this-year):
10467 * emacs-lisp/copyright.el (copyright-current-year)
10468 (copyright-update-year, copyright):
10469 * tar-mode.el (tar-clip-time-string):
10470 * time.el (display-time-update):
10471 Don't assume years have 4 digits.
10472
78f3273a
CY
104732012-05-04 Chong Yidong <cyd@gnu.org>
10474
10475 * dos-w32.el (file-name-buffer-file-type-alist)
10476 (direct-print-region-use-command-dot-com):
10477 * ffap.el (ffap-menu-regexp):
10478 * find-file.el (ff-special-constructs):
10479 * follow.el (follow-debug):
10480 * forms.el (forms--debug):
10481 * iswitchb.el (iswitchb-all-frames):
10482 * ido.el (ido-all-frames):
10483 * emacs-lisp/timer.el (timer-max-repeats):
10484 * mail/feedmail.el (feedmail-mail-send-hook)
10485 (feedmail-mail-send-hook-queued):
10486 * mail/footnote.el (footnote-signature-separator):
10487 * mail/mailabbrev.el (mail-alias-separator-string)
10488 (mail-abbrev-mode-regexp):
10489 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10490 * progmodes/idlwave.el (idlwave-libinfo-file)
10491 (idlwave-default-completion-case-is-down)
10492 (idlwave-library-routines): Convert defvars to defcustoms.
10493
10494 * mail/rmail.el (rmail-decode-mime-charset):
10495 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10496 (idlwave-shell-fix-inserted-breaks)
10497 (idlwave-shell-activate-alt-keybindings)
10498 (idlwave-shell-use-breakpoint-glyph):
10499 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10500
f7ae6719
SM
105012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10504
47086495
WS
105052012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10506
10507 * progmodes/verilog-mode.el (font-lock-keywords):
10508 Fix mis-highligting auto. Reported by Craig Barner.
10509 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10510 defines from global name space. Reported by Dan Dever.
47086495
WS
10511 (verilog-auto-reset, verilog-auto-reset-widths)
10512 (verilog-auto-tieoff): Support using unbased numbers for
10513 AUTORESET and AUTOTIEOFF.
10514 (verilog-submit-bug-report): Update variable list.
10515 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10516 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10517 (verilog-auto-template-lint): Fix hash error when linting modules
10518 with no used templates.
10519 (verilog-warn, verilog-warn-error)
10520 (verilog-warn-fatal): When non-interactive report multiple
10521 warnings before exiting. Suggested by Brad Dobbie.
10522 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10523 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10524 to report unused template errors. Reported by Brad Dobbie.
10525 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10526 nets, bug438. Reported by Vns Blore.
47086495
WS
10527 (verilog-auto-inout-module, verilog-auto-reg)
10528 (verilog-read-decls, verilog-read-sub-decls-sig)
10529 (verilog-signals-edit-wire-reg, verilog-signals-with):
10530 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10531 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10532 "reg" for backwards compatibility presuming Verilog 2001.
10533 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10534 (verilog-preprocess): Fix replication of preprocess output.
10535 Reported by Brad Dobbie.
10536 (verilog-auto-inst-interfaced-ports):
10537 Create verilog-auto-inst-interfaced-ports, bug429.
10538 Reported by Julian Gorfajn.
10539 (verilog-after-save-font-hook)
10540 (verilog-before-save-font-hook): New variable.
10541 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10542 (verilog-save-font-mods): Wrap disabling fontification, reported
10543 by David Rogoff.
10544 (verilog-do-indent, verilog-pretty-declarations-auto)
10545 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10546 Reported by Pierre-David Pfister.
10547 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10548 of class declarations, bug292. Reported by Kevin Heilman.
10549 (verilog-read-decls): Fix 'parameter type' not appearing in
10550 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10551 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10552 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10553 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10554 Reported by David Kravitz.
10555
105562012-05-03 Michael McNamara <mac@mail.brushroad.com>
10557
10558 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10559 assignment with tests in ifs and for loops.
10560 (verilog-extended-complete-re, verilog-complete-reg): Change so
10561 that DPI inport functions don't look like fuction declarations.
10562 (verilog-pretty-expr): Don't line up assignment
10563 operations to the test and increment in if and for loops
10564 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10565 that DPI inport functions don't look like fuction declarations.
47086495 10566
2e51d4b5
KH
105672012-05-03 Kenichi Handa <handa@m17n.org>
10568
10569 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10570 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10571 (Bug#11282).
10572
2bd785a2
SM
105732012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * emacs-lisp/bytecomp.el
10576 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10577 since cconv.el might have introduced :fun-body, internal-make-closure,
10578 and friends for bytecomp to handle (bug#11391).
10579 * custom.el (defcustom): Avoid ((λ ..) ..).
10580
99d27583
SM
105812012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10584
55a71479
JB
105852012-05-02 Juanma Barranquero <lekktu@gmail.com>
10586
10587 * notifications.el (dbus-debug):
10588 * term/linux.el (gpm-mouse-enable):
10589 * term/screen.el (xterm-register-default-colors): Declare.
10590
7b97c764
CY
105912012-05-02 Chong Yidong <cyd@gnu.org>
10592
2bc356d7
CY
10593 * cus-start.el (gc-cons-percentage, exec-suffixes)
10594 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10595 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10596 (make-cursor-line-fully-visible, void-text-area-pointer)
10597 (font-list-limit): Add customization data.
10598
7b97c764
CY
10599 * allout.el (allout-exposure-change-functions)
10600 (allout-structure-added-functions)
10601 (allout-structure-deleted-functions)
10602 (allout-structure-shifted-functions): Rename abnormal hooks from
10603 *-hook, and convert to defcustoms.
5d3385a0
JB
10604 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10605 Convert to defcustoms.
7b97c764
CY
10606 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10607
10608 * allout-widgets.el: Hook callers changed.
10609
90207a15 106102012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10611
10612 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10613 the yanked message in preference to the default value of
10614 buffer-file-coding-system.
10615
90207a15 106162012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10617
5d3385a0
JB
10618 * window.el (display-buffer--action-function-custom-type):
10619 Fix entry.
d9558cad 10620
90207a15 106212012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10622
10623 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10624
d80ac57b
GM
106252012-05-01 Glenn Morris <rgm@gnu.org>
10626
976f7668
GM
10627 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10628
beb83b5a
GM
10629 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10630
d80ac57b
GM
10631 * cus-edit.el (custom-variable-documentation): Simplify with format.
10632
b593d6a9 106332012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10634 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10635
10636 * simple.el (suggest-key-bindings, execute-extended-command):
10637 Move from keyboard.c.
10638
782fbf2a
CY
106392012-05-01 Chong Yidong <cyd@gnu.org>
10640
10641 * follow.el: Eliminate advice.
10642 (set-process-filter, process-filter, sit-for): Advice deleted.
10643 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10644 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10645 Vars deleted.
782fbf2a
CY
10646 (follow-auto): Use a :set function.
10647 (follow-mode): Rewritten. Don't advise process filters.
10648 (follow-switch-to-current-buffer-all, follow-scroll-up)
10649 (follow-scroll-down): Assume follow-mode is bound.
10650 (follow-comint-scroll-to-bottom)
10651 (follow-align-compilation-windows): New functions.
10652 (follow--window-sorter): New function.
10653 (follow-all-followers): Use it to explicitly sort windows by their
10654 positions; don't make assumptions about next-window order.
10655 (follow-windows-start-end, follow-delete-other-windows-and-split)
10656 (follow-calc-win-start): Doc fix.
10657 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10658 vertical-motion unnecessarily.
10659 (follow-adjust-window): New function.
10660 (follow-post-command-hook): Use it.
10661 (follow-call-set-process-filter, follow-call-process-filter)
10662 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10663 (follow-stop-intercept-process-output, follow-generic-filter):
10664 Functions deleted.
10665 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10666 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10667 New functions, replacing advice on scroll-bar-* commands.
87233a14 10668 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10669
10670 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10671 (comint-postoutput-scroll-to-bottom): Use it.
10672 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10673
290af740
GM
106742012-05-01 Glenn Morris <rgm@gnu.org>
10675
10676 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10677 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10678 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10679 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10680 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10681 Remove no-byte-compile setting.
10682
6eac8dc9
SM
106832012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10686 all-completions code to not return a number in the last cdr.
10687
9cc7819c
LL
106882012-04-30 Leo Liu <sdl.web@gmail.com>
10689
10690 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10691 read-only error.
10692
c93b886f
CY
106932012-04-29 Chong Yidong <cyd@gnu.org>
10694
10695 * follow.el (follow-calc-win-end): Rewrite to handle partial
10696 screen lines correctly (Bug#8390).
10697 (follow-avoid-tail-recenter): Minor cleanup.
10698
8b6c19f4
SM
106992012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 Avoid the obsolete `assoc' package.
10702 * speedbar.el (speedbar-refresh): Avoid adelete.
10703 (speedbar-file-lists): Simplify and avoid aput.
10704 * man.el (Man--sections, Man--refpages): New vars, replacing
10705 Man-sections-alist and Man-refpages-alist.
10706 (Man-build-section-alist, Man-build-references-alist):
10707 Use them; avoid aput.
10708 (Man--last-section, Man--last-refpage): New vars.
10709 (Man-follow-manual-reference): Use them.
10710 Use the `default' arg of completing-read.
10711 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10712
c5bb7569
CY
107132012-04-27 Chong Yidong <cyd@gnu.org>
10714
d1d2e2e8
CY
10715 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10716
15cd8efd
CY
10717 * startup.el (x-apply-session-resources): New function.
10718
10719 * term/ns-win.el (ns-initialize-window-system):
10720 * term/w32-win.el (w32-initialize-window-system):
10721 * term/x-win.el (x-initialize-window-system): Use it to properly
10722 set menu-bar-mode and other vars from X resources, even if the
10723 initial frame is not a window-system frame (Bug#2299).
10724
c5bb7569
CY
10725 * subr.el (read-key): Avoid running filter function when setting
10726 up temporary tool bar entries (Bug#9922).
10727
a8e7d6d7 107282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10729
10730 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10731 (Bug#11344)
10732
a8e7d6d7 107332012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10734
10735 * select.el (xselect--encode-string): New function, split from
10736 xselect-convert-to-string.
10737 (xselect-convert-to-string): Use it.
10738 (xselect-convert-to-filename, xselect-convert-to-os)
10739 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10740 returned strings are properly encoded (Bug#11315).
10741
a8e7d6d7 107422012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10743
10744 * simple.el (delete-active-region): Move to killing custom group.
10745
a8e7d6d7 107462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10747
10748 * progmodes/which-func.el (which-func-current): Quote %
10749 characters for mode-line processing.
10750
578c1d4b 107512012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10752
10753 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10754 reaching eob (Bug#11286).
10755
a8e7d6d7 107562012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10757
10758 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10759 (gdb): Make it buffer-local and init to zero.
10760 (gdb-control-commands-regexp): New variable.
10761 (gdb-send): Don't wrap in "-interpreter-exec console" if
10762 gdb-control-level is positive. Increment gdb-control-level
10763 whenever the command matches gdb-control-commands-regexp, and
10764 decrement it each time the command is "end". (Bug#11279)
10765
a8e7d6d7 107662012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10767
10768 * window.el (adjust-window-trailing-edge, enlarge-window)
10769 (shrink-window, window-resize):
10770 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10771 windows (Bug#11276).
10772
b3608390
CY
107732012-04-27 Chong Yidong <cyd@gnu.org>
10774
10775 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10776 fix "missing prefix" warning. All callers changed.
b3608390 10777
797e6e88
SM
107782012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/assoc.el: Move to obsolete/.
10781
e95a67dc
SM
107822012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10783
657c21e4 10784 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10785
10786 * term/ns-win.el (ns-define-service):
10787 * progmodes/pascal.el (pascal-goto-defun):
10788 * progmodes/js.el (js--read-tab):
10789 * progmodes/etags.el (tags-lazy-completion-table):
10790 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10791 * emacs-lisp/ewoc.el (ewoc--wrap):
10792 * emacs-lisp/assoc.el (aput, adelete, amake):
10793 * doc-view.el (doc-view-convert-current-doc):
10794 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10795
cb3e7ae0
CY
107962012-04-26 Chong Yidong <cyd@gnu.org>
10797
dce04f7f
CY
10798 * image.el (image-type-from-buffer): Only return supported image
10799 type (Bug#9045).
10800
cb3e7ae0
CY
10801 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10802 value, for symmetry with diff-end-of-hunk.
10803 (diff-split-hunk, diff-find-source-location)
10804 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10805 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10806 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10807 compute the relevant hunk or file properly (Bug#6005).
10808 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10809
0d42eb3e
SM
108102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * vc/vc-mtn.el:
10813 * vc/vc-hg.el:
10814 * vc/vc-git.el:
10815 * vc/vc-dir.el:
10816 * vc/vc-cvs.el:
10817 * vc/vc-bzr.el:
10818 * vc/vc-arch.el:
10819 * vc/vc.el: Replace lexical-let by lexical-binding.
10820 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10821 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10822 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10823
f08ae1c9
CY
108242012-04-26 Chong Yidong <cyd@gnu.org>
10825
8b71081d
CY
10826 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10827 (diff-mode-shared-map): Bind it to / and [remap undo].
10828
f08ae1c9
CY
10829 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10830 (ediff-window-setup-function): Use it as the default, to set up
10831 windows based on whether the current frame is graphical (Bug#2138).
10832 (ediff-choose-window-setup-function-automatically): Make obsolete.
10833
10834 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10835
ef24141c
SM
108362012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10837
cc356a5d
SM
10838 * ffap.el: Remove old code for obsolete package.
10839 (ffap-complete-as-file-p): Remove.
10840
b4ff4f1f
SM
10841 Use completion-table-with-quoting for comint and pcomplete.
10842 * comint.el (comint--unquote&requote-argument)
10843 (comint--unquote-argument, comint--requote-argument): New functions.
10844 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10845 (comint-quote-filename): Use regexp-opt-charset.
10846 (comint--common-suffix, comint--common-quoted-suffix)
10847 (comint--table-subvert): Remove.
10848 (comint-unquote-function, comint-requote-function): New vars.
10849 (comint--complete-file-name-data): Use them with
10850 completion-table-with-quoting.
10851 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10852 * pcomplete.el (pcomplete-arg-quote-list)
10853 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10854 (pcomplete-unquote-argument-function): Default to non-nil.
10855 (pcomplete-unquote-argument): Simplify.
10856 (pcomplete--common-quoted-suffix): Remove.
10857 (pcomplete-requote-argument-function): New var.
10858 (pcomplete--common-suffix): New function.
10859 (pcomplete-completions-at-point): Use completion-table-with-quoting
10860 and completion-table-subvert.
10861
79c4eeb4
SM
10862 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10863 (minibuffer--double-dollars): Preserve properties.
10864 (completion--sifn-requote): New function.
10865 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10866
ef24141c
SM
10867 * minibuffer.el: Add support for completion of quoted/escaped data.
10868 (completion-table-with-quoting, completion-table-subvert): New funs.
10869 (completion--twq-try, completion--twq-all): New functions.
10870 (completion--nth-completion): New function.
10871 (completion-try-completion, completion-all-completions): Use it.
10872
784e7d6e
LL
108732012-04-25 Leo Liu <sdl.web@gmail.com>
10874
dd2ac746
SM
10875 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10876 Use compilation-message if available to find real filename.
784e7d6e 10877
07875ee7
CY
108782012-04-25 Chong Yidong <cyd@gnu.org>
10879
10880 * vc/diff-mode.el (diff-setup-whitespace): New function.
10881 (diff-mode): Use it.
10882
10883 * vc/diff.el (diff-sentinel):
10884 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10885 Whitespace mode variables based on diff style (Bug#8612).
10886
5055880d
LL
108872012-04-25 Leo Liu <sdl.web@gmail.com>
10888
daf75653
LL
10889 * progmodes/python.el (python-send-region): Add suffix .py to the
10890 temp file.
10891
5055880d
LL
10892 * files.el (auto-mode-alist): Use javascript-mode instead.
10893
db9b177b
AH
108942012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10895
ef24141c 10896 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 10897
090bd7cb 10898 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 10899 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 10900 references, see Bug#9.
ef24141c 10901 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 10902 when receiving a fault reply.
ef24141c 10903 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 10904
090bd7cb 10905 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 10906 (soap-inspect-simple-type): New function.
db9b177b 10907
090bd7cb 10908 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 10909 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
10910 (soap-decode-basic-type, soap-encode-basic-type):
10911 support unsignedInt and double basic types.
db9b177b 10912 (soap-resolve-references-for-simple-type)
ef24141c
SM
10913 (soap-parse-simple-type, soap-encode-simple-type): New function.
10914 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 10915
090bd7cb 10916 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
10917 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10918 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10919 the local name of "soapenc:Array".
10920 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
10921 decoding integer, byte and anyURI xsd types.
10922
1fc6097b
CY
109232012-04-25 Chong Yidong <cyd@gnu.org>
10924
10925 * cus-edit.el (custom-buffer-create-internal): Update header text.
10926
afc6df87
EZ
109272012-04-25 Eli Zaretskii <eliz@gnu.org>
10928
10929 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10930 settings on 'system-type', not on 'window-system'. On MS-Windows,
10931 set interactive-mode on in GDB.
10932
dfbd787f
SM
109332012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10934
10935 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10936 (ruby-syntax-propertize-regexp): Remove.
10937 (ruby-syntax-propertize-function): Split regexp into chunks.
10938 Match following code directly.
10939
85222d44
DG
109402012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10941
51a8ea2a
DG
10942 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10943 (ruby-syntax-propertize-regexp): New function.
10944 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10945 by a special keyword.
10946
85222d44
DG
10947 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10948 (ruby-syntax-general-delimiters-goto-beg)
10949 (ruby-syntax-propertize-general-delimiters): New functions.
10950 (ruby-syntax-propertize-function): Use them to handle GDL.
10951 (ruby-font-lock-keywords): Move old handling of GDL...
10952 (ruby-font-lock-syntactic-keywords): .. to here.
10953 (ruby-calculate-indent): Adjust indentation for GDL.
10954
b613912b
MA
109552012-04-24 Michael Albinus <michael.albinus@gmx.de>
10956
b5380639
MA
10957 * notifications.el (top): Remove unneeded declarations.
10958 (notifications-specification-version): Change to "1.2".
e43042fe 10959 (notifications-interface, notifications-notify-method)
b613912b
MA
10960 (notifications-close-notification-method): Fix docstring.
10961 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
10962 (notifications-notify): Add :action-items, :resident and
10963 :transient hints. Change "image_data" to "image-data" and
10964 "image_path" to "image-path".
b613912b
MA
10965 (notifications-get-capabilities): New defun.
10966
257440aa
LL
109672012-04-24 Leo Liu <sdl.web@gmail.com>
10968
10969 * progmodes/python.el: Move hideshow setup to the end.
10970
b1bac16e
MR
109712012-04-24 Martin Rudalics <rudalics@gmx.at>
10972
10973 * window.el (handle-select-window): Clear echo area since this is
10974 no more done by read_char (Bug#11304).
10975
d81bd059
SM
109762012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10979 and `/ M' to filter-derived-mode.
10980 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10981 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10982 (ibuffer-mark-by-mode): Use default rather than initial-input.
10983 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10984
c4cf6d91
IA
109852012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10986
10987 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10988 (ibuffer-filter-by-derived-mode): New filter.
10989 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10990
7511ded8
CY
109912012-04-23 Andreas Politz <politza@fh-trier.de>
10992
10993 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10994
775c916b
CY
109952012-04-23 Chong Yidong <cyd@gnu.org>
10996
10997 * cus-edit.el (customize-apropos, customize-apropos-options):
10998 Disable matching of non-option variables (Bug#11176).
10999 (customize-option, customize-option-other-window)
11000 (customize-changed-options): Doc fix.
11001 (customize-apropos-options, customize-apropos-faces)
11002 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11003
11004 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11005 Fix word list splitting (Bug#11132).
46c71e23
CY
11006 (apropos-symbol, apropos-keybinding, apropos-label)
11007 (apropos-property, apropos-function-button)
11008 (apropos-variable-button, apropos-misc-button): New faces.
11009 (apropos-symbol-face, apropos-keybinding-face)
11010 (apropos-label-face, apropos-property-face, apropos-match-face):
11011 Variables removed (Bug#8396).
11012 (apropos-library-button, apropos-format-plist, apropos-print)
11013 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11014
2df41f9c
MA
110152012-04-23 Michael Albinus <michael.albinus@gmx.de>
11016
11017 * net/xesam.el (xesam-mode-map): Use let-bound map in
11018 initialization. (Bug#11292)
11019
da00640a
AM
110202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11021
11022 Preserve ispell session localwords when switching back to
11023 original buffer.
11024
090bd7cb
JB
11025 * textmodes/ispell.el (ispell-buffer-session-localwords):
11026 New buffer-local variable to hold buffer session localwords.
ed9265fc 11027 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11028 localwords.
11029 (ispell-command-loop, ispell-change-dictionary)
11030 (ispell-buffer-local-words): Preserve session localwords when
11031 needed.
11032
090bd7cb
JB
11033 * textmodes/flyspell.el (flyspell-process-localwords)
11034 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11035
f621ccf5
AM
110362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11037
090bd7cb
JB
11038 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11039 using obsolete `translation-table-for-input'.
ef24141c
SM
11040 (ispell-word, ispell-process-line, ispell-complete-word):
11041 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11042
c2d1019e
CY
110432012-04-22 Chong Yidong <cyd@gnu.org>
11044
11045 * cus-edit.el (custom-variable-menu)
11046 (custom-variable-reset-saved, custom-face-menu)
11047 (custom-face-reset-saved): If there is no saved value, make the
11048 "reset-saved" operation bring back the default (Bug#9509).
11049 (custom-face-state): Properly detect themed faces.
11050
eeddc531
CY
11051 * faces.el (face-spec-set): Stop supporting deprecated form of
11052 third arg.
11053
dcbf5805
MA
110542012-04-22 Michael Albinus <michael.albinus@gmx.de>
11055
11056 Move functions from C to Lisp. Make non-blocking method calls
11057 the default. Implement further D-Bus standard interfaces.
11058
ef24141c
SM
11059 * net/dbus.el (dbus-message-internal): Declare function.
11060 Remove unneeded function declarations.
dcbf5805
MA
11061 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11062 (dbus-message-type-method-return, dbus-message-type-error)
11063 (dbus-message-type-signal): Declare variables. Remove local
11064 definitions.
11065 (dbus-interface-dbus, dbus-interface-peer)
11066 (dbus-interface-introspectable, dbus-interface-properties)
11067 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11068 Adapt docstring.
11069 (dbus-interface-objectmanager): New defconst.
11070 (dbus-call-method, dbus-call-method-asynchronously)
11071 (dbus-send-signal, dbus-method-return-internal)
11072 (dbus-method-error-internal, dbus-register-service)
11073 (dbus-register-signal, dbus-register-method): New defuns, moved
11074 from dbusbind.c
11075 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11076 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11077 New defuns.
dcbf5805
MA
11078 (dbus-call-method-non-blocking): Make it an obsolete function.
11079 (dbus-unregister-object, dbus-unregister-service)
11080 (dbus-handle-event, dbus-register-property)
11081 (dbus-property-handler): Obey the new structure of
11082 `bus-registered-objects'.
11083 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11084 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11085 Use `dbus-call-method'.
11086
cf20dee0
CY
110872012-04-22 Chong Yidong <cyd@gnu.org>
11088
11089 * cus-edit.el (custom-commands, custom-reset-menu)
11090 (Custom-reset-standard): Tweak labels.
11091 (custom-reset-button-menu): Change default to t.
11092 (custom-buffer-create-internal): For the custom-reset-button-menu
11093 case, put the revert button first.
11094 (custom-group-subtitle): New face.
11095 (custom-group-value-create): Align docstring to a specific column.
11096
11097 * wid-edit.el (widget-documentation-link-add): Don't handle
11098 indentation in this function.
11099 (widget-documentation-string-indent-to): New function.
11100 (widget-documentation-string-value-create): Use it.
11101
11102 * autorevert.el (auto-revert):
11103 * epg-config.el (epg):
11104 * ibuffer.el (ibuffer):
11105 * mpc.el (mpc):
11106 * ses.el (ses):
11107 * eshell/eshell.el (eshell):
11108 * net/ange-ftp.el (ange-ftp):
11109 * progmodes/ebnf2ps.el (postscript):
11110 * progmodes/flymake.el (flymake):
11111 * progmodes/prolog.el (prolog):
11112 * progmodes/verilog-mode.el (verilog-mode):
11113 * progmodes/which-func.el (which-func):
11114 * term/xterm.el (xterm):
11115 * textmodes/picture.el (picture):
11116 * textmodes/tildify.el (tildify):
11117 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11118 customization buffers.
11119
583e23bd
AM
111202012-04-22 Alan Mackenzie <acm@muc.de>
11121
11122 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11123 Adding a ) can hide the resulting (..) from searches. Fix it.
11124 Bound the backward search to the position of the existing (.
11125
7dd51bf1
JB
111262012-04-21 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * progmodes/verilog-mode.el (verilog-mode): Check whether
11129 which-func-modes is t before adding verilog-mode.
11130 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11131
d64a438f
LL
111322012-04-21 Leo Liu <sdl.web@gmail.com>
11133
7dd51bf1 11134 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11135
081e8d65
MV
111362012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11137
11138 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11139 filling of the last column of a table (Bug#5635).
11140 (woman-find-next-control-line): New arg, specifying an additional
11141 regexp component for the control line.
11142 (woman2-roff-buffer): Use it.
11143 (woman-break-table): New function.
11144 (woman2-TS): Use it.
11145
111462012-04-21 Chong Yidong <cyd@gnu.org>
11147
11148 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11149 (woman-horizontal-escapes, woman-negative-vertical-space)
11150 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11151 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11152
ed571ccb
SM
111532012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * minibuffer.el (completion-file-name-table): Complete user names.
11156
39773899
LL
111572012-04-20 Leo Liu <sdl.web@gmail.com>
11158
11159 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11160 and pcase-let*.
11161
de6ff46d
CY
111622012-04-20 Chong Yidong <cyd@gnu.org>
11163
11164 * server.el (server-execute): Respect initial-buffer-choice if it
11165 is a string and there are no files to open (Bug#2825).
11166 (server-create-window-system-frame, server-create-tty-frame):
11167 Don't switch buffers here.
2d0e8e61
CY
11168 (server-process-filter): Only try to open a window system frame if
11169 compiled with graphical support (Bug#8314).
de6ff46d 11170
54071013
DN
111712012-04-20 Dan Nicolaescu <dann@gnu.org>
11172
11173 * battery.el (battery-echo-area-format): Display remaining time
11174 for sysfs backend too (Bug#11269).
11175 (battery-linux-sysfs): Fix conditional for the charge.
11176
f30d612a
CY
111772012-04-20 Chong Yidong <cyd@gnu.org>
11178
c07a4c0b 11179 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11180 (gdb-inferior-io--init-proc): New function.
11181 (gdb-init-1): Use it.
11182 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11183 responsible for allocating a new pty and hooking it to gdb when
11184 the old pty gets an EIO due to process exit.
11185 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11186 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11187 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11188
2116e93c
EZ
111892012-04-20 Eli Zaretskii <eliz@gnu.org>
11190
11191 * window.el (window-min-size, window-sizable, window-min-delta)
11192 (window-max-delta, window--resizable, window-resizable)
11193 (window-total-size, window-full-height-p, window-full-width-p)
11194 (window-in-direction, window--resize-mini-window, window-resize)
11195 (window--resize-child-windows-normal)
11196 (window--resize-child-windows, window--resize-siblings)
11197 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11198 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11199
c07a4c0b 112002012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11201
ef24141c
SM
11202 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11203 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11204 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11205 pty process (Bug#11273).
11206 (gdb-update): New arg to suppress talking to the gdb process.
11207 (gdb-done-or-error): Use it.
11208 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11209 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11210 sentinel not being called.
11211
11212 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11213
d02766ab
CY
11214 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11215
c07a4c0b 112162012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11217
11218 * net/network-stream.el (open-network-stream): Doc fix.
11219
c07a4c0b 112202012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11221
11222 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11223
c07a4c0b 112242012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11225
11226 Ensure searching for keywords is case sensitive.
11227
11228 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11229 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11230 (c-defun-name, c-mark-function, c-cpp-define-name)
11231 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11232 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11233
ef24141c
SM
11234 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11235 Bind case-fold-search to nil.
f0f6bc35 11236
c07a4c0b 112372012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11238
11239 * mail/sendmail.el (mail-bury): Call return action with the right
11240 Rmail buffer (Bug#11242).
11241
9a864fa2
CY
11242 * server.el (server-process-filter): Handle corner case where both
11243 tty and nowait options are present (Bug#11102).
11244
539aa513
EZ
112452012-04-20 Eli Zaretskii <eliz@gnu.org>
11246
11247 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11248 (top level): Put into the executable the ident-style '$Id:' tag on
11249 windows-nt as well.
539aa513 11250
cfc7d5da
SM
112512012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * electric.el (electric-indent-post-self-insert-function): Check that
11254 electric-indent-mode is enabled in current buffer.
11255
5b01685c
JB
112562012-04-19 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * imenu.el (imenu-progress-message): Restore; it is "used" in
11259 erc/erc-imenu.el and net/snmp-mode.el.
11260
4d6769e1
JB
112612012-04-19 Juanma Barranquero <lekktu@gmail.com>
11262
11263 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11264 (mouse-avoidance-nudge-mouse): Remove unused binding.
11265
11266 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11267
11268 * descr-text.el (describe-char):
11269 * progmodes/python.el (python-describe-symbol):
11270 Don't call `toggle-read-only', set `buffer-read-only'.
11271
11272 * imenu.el (imenu-default-goto-function): Mark unused args.
11273 (imenu-progress-message): Remove obsolete macro; all callers changed.
11274
11275 * subr.el (keymap-canonicalize): Remove unused binding.
11276 (read-passwd): Mark unused arg.
11277
11278 * tutorial.el (tutorial--display-changes): Remove unused binding.
11279 (tutorial--save-tutorial-to): Remove unused variable.
11280
11281 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11282 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11283 (package-generate-autoloads, package-menu--generate)
11284 (package-menu--find-upgrades): Remove unused bindings.
11285
11286 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11287 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11288 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11289 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11290 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11291 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11292 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11293 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11294 (cua-delete-char-rectangle): Mark unused args.
11295 (cua-align-rectangle): Remove unused binding.
11296
11297 * mail/rmail.el (compilation--message->loc)
11298 (epa--find-coding-system-for-mime-charset): Declare.
11299
11300 * net/dbus.el (dbus-register-service): Declare.
11301 (dbus-name-owner-changed-handler): Remove unused binding.
11302
11303 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11304 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11305 (nxml-scan-backward-within): Mark unused arg.
11306 (nxml-dynamic-markup-word): Remove unused binding.
11307
11308 * mouse.el (mouse-menu-major-mode-map):
11309 * emacs-lisp/authors.el (authors-scan-change-log)
11310 (authors-add-to-author-list):
11311 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11312 * emacs-lisp/smie.el (smie-auto-fill):
11313 * mail/sendmail.el (mail-bury):
11314 * mail/unrmail.el (unrmail):
11315 * net/tls.el (open-tls-stream):
11316 * textmodes/picture.el (picture-mouse-set-point):
11317 Remove unused bindings.
11318
8c8fc5df
MA
113192012-04-19 Michael Albinus <michael.albinus@gmx.de>
11320
11321 * net/tramp.el (tramp-action-password): Let-bind
11322 `enable-recursive-minibuffers' to t.
11323
a77b0ac9
SS
113242012-04-18 Sam Steingold <sds@gnu.org>
11325
11326 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11327 instead of 'string to accommodate values like [f11].
11328 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11329 * progmodes/gdb-mi.el: Likewise.
11330
12a106a9
LL
113312012-04-18 Leo Liu <sdl.web@gmail.com>
11332
11333 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11334 current buffer.
11335 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11336 LOCAL is nil.
11337
bc6494ef
CY
113382012-04-18 Chong Yidong <cyd@gnu.org>
11339
11340 * simple.el (line-move): Use forward-line if in batch mode
11341 (Bug#11053).
11342
c09c46b2
CS
113432012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11344
11345 * files.el (after-find-file): Do not try to add a final newline if
11346 the buffer is read-only (Bug#11156).
11347
5f6530ea
RS
113482012-04-17 Richard Stallman <rms@gnu.org>
11349
11350 * mail/rmail.el (rmail-start-mail):
11351 Pass (rmail-mail-return...) for the return-action.
11352 Pass (rmail-yank-current-message...) for the yank-action.
11353 (rmail-yank-current-message): New function.
11354 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11355 (rmail-reply): Likewise.
11356 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11357
11358 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11359 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11360 buffer, not newbuf.
11361
197b6f3c
JB
113622012-04-17 Juanma Barranquero <lekktu@gmail.com>
11363
11364 * server.el (server-ensure-safe-dir): Simplify.
11365
2311d8e5 113662012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11367
2311d8e5
GM
11368 * emacs-lisp/smie.el: Provide smarter auto-filling.
11369 (smie-auto-fill): New function.
11370 (smie-setup): Use it.
98fb480e 11371
2311d8e5
GM
11372 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11373
113742012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11375
11376 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11377 (comment-indent): Use it.
11378
2311d8e5 113792012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11380
11381 * ses.el: The overall change is to add cell renaming, that is
11382 setting fancy names for cell symbols other than name matching
11383 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11384 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11385 (ses-create-cell-variable): New defun.
2311d8e5 11386 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11387 (ses-relocate-formula): Relocate formulas only for cells the
11388 symbols of which are not renamed, i.e. symbols whose names do not
11389 match regexp "\\`[A-Z]+[0-9]+\\'".
11390 (ses-relocate-all): Relocate values only for cells the symbols of
11391 which are not renamed.
11392 (ses-load): Create cells variables as the (ses-cell ...) are read,
11393 in order to check row col consistency with cell symbol name only
11394 for cells that are not renamed.
11395 (ses-replace-name-in-formula): New defun.
11396 (ses-rename-cell): New defun.
4bdf2ad2 11397
fc72b15c
PO
113982012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11399
11400 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11401 New option (bug#11118).
11402 (perl-calculate-indent): Respect it.
11403
12e10e61
GM
114042012-04-17 Glenn Morris <rgm@gnu.org>
11405
11406 * dired-aux.el (dired-mark-read-string): Doc fix.
11407
30009afd
DA
114082012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11409
11410 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11411 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11412
41f03f4d
GM
114132012-04-17 Glenn Morris <rgm@gnu.org>
11414
11415 * mouse.el (mouse-drag-track):
11416 * speedbar.el (speedbar-frame-mode):
11417 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11418
f45f90f3
LL
114192012-04-16 Leo Liu <sdl.web@gmail.com>
11420
11421 * progmodes/python.el: Trivial cleanup.
11422
94ee8db5
GM
114232012-04-16 Glenn Morris <rgm@gnu.org>
11424
121b8917
GM
11425 * vc/vc.el (vc-string-prefix-p):
11426 * vc/pcvs-util.el (cvs-string-prefix-p):
11427 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11428 * mpc.el (mpc-string-prefix-p):
11429 Make all of these into obsolete aliases for string-prefix-p.
11430 Update callers.
11431 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11432
1197ecfa
GM
11433 * textmodes/two-column.el: Move custom options to the start.
11434 (frame-width): Remove compat definition.
11435 (2C-associate-buffer, 2C-dissociate):
11436 Use with-current-buffer rather than save-excursion.
11437 (2C-dissociate): Force a mode-line update.
11438 (2C-autoscroll): Use ignore-errors.
11439
099e7202
GM
11440 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11441 Autoload trivia.
11442
bf350d6a
GM
11443 * emacs-lisp/cl-extra.el (*random-state*):
11444 Remove unnecessary declaration.
11445
0e829eab
GM
11446 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11447
e3ad7552
GM
11448 * play/cookie1.el (cookie-snarf):
11449 Give an explicit error if input file cannot be read.
11450
68892d27
GM
11451 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11452
20f0c46d
GM
11453 * progmodes/perl-mode.el (c-macro-expand):
11454 Remove unnecessary autoload (it is in loaddefs.el).
11455
5a0978ce
GM
11456 * textmodes/picture.el (picture-desired-column)
11457 (picture-update-desired-column): Convert comments to doc-strings.
11458 (picture-substitute): Remove function.
11459 (picture-mode-map): Initialize in the defvar.
11460
6b955486
GM
11461 * woman.el: Remove eval-after-load for tar-mode.
11462 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11463 (woman-tar-extract-file): Autoload it.
11464
94ee8db5
GM
11465 * frame.el (automatic-hscrolling): Make this alias obsolete.
11466
177eca34
AM
114672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11468
090bd7cb 11469 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11470 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11471 (ispell-dictionary-base-alist): Revert to original XEmacs
11472 friendly version for default. [:alpha:] will be added in
090bd7cb 11473 `ispell-set-spellchecker-params' if needed.
177eca34 11474
c505aaeb
CY
114752012-04-16 Chong Yidong <cyd@gnu.org>
11476
b19dd9d1 11477 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11478 (imagemagick-register-types): Use it.
11479 (imagemagick-types-inhibit): Add :set function. Allow new value
11480 of t to inhibit all types.
11481
11482 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11483 so we can preload it.
11484
11485 * loadup.el (fboundp): Preload regexp-opt, needed by
11486 imagemagick-register-types.
11487
60efac0f
CY
114882012-04-15 Chong Yidong <cyd@gnu.org>
11489
11490 * frame.el (scrolling): Remove nearly unused customization group.
11491
11492 * scroll-all.el (scroll-all-mode): Move to windows group.
11493
5dd1713e
CY
114942012-04-15 Chong Yidong <cyd@gnu.org>
11495
11496 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11497
e6fd457e
CY
114982012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11501 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11502
e153c136
GM
115032012-04-15 Glenn Morris <rgm@gnu.org>
11504
11505 * simple.el (process-file-side-effects): Doc fix.
11506
e6fd457e 115072012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11508
11509 * international/mule-cmds.el (set-language-environment): Doc fix.
11510
3603c3b1
JB
115112012-04-14 Juanma Barranquero <lekktu@gmail.com>
11512
11513 * server.el (server-auth-key, server-generate-key): Doc fixes.
11514 (server-get-auth-key): Doc fix. Use `string-match-p'.
11515 (server-start): Reflow docstring.
11516
e6de100c
LI
115172012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11518
11519 * server.el (server-generate-key): `called-interactively-p'
11520 requires a parameter.
11521
29734c21
MN
115222012-04-14 Michal Nazarewicz <mina86@mina86.com>
11523
11524 * server.el (server-auth-key): New variable.
75f1671a 11525 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11526 (server-start): Use the new variable and functions to allow
11527 setting a permanent server key (bug#9423).
11528
d65c9521
LL
115292012-04-14 Leo Liu <sdl.web@gmail.com>
11530
11531 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11532
5ae255c7
PE
115332012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11534
11535 Spelling fixes.
11536 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11537 Emacs uses American spelling.
11538
d5e6342e
JB
115392012-04-14 Juanma Barranquero <lekktu@gmail.com>
11540
11541 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11542 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11543 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11544 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11545
ab036cd7
SM
115462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * progmodes/which-func.el (which-func-modes): Change default.
11549
35dc09a1 115502012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11551
11552 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11553 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11554
35dc09a1 115552012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11556
11557 * custom.el (custom-theme-set-variables): Doc fix.
11558
35dc09a1 115592012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11560
11561 * international/mule.el (set-auto-coding-for-load): Doc fix.
11562
35dc09a1 115632012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11564
35dc09a1
GM
11565 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11566 imenu work again for Objective C Mode. Correct the *-index values,
11567 these having been disturbed by a previous change in 2011-08.
57f845ee 11568
0de3da9f
AM
11569 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11570 Correct two search limits.
11571
35dc09a1 115722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11573
11574 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11575
35dc09a1 115762012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11577
11578 * international/characters.el: Fix sorting.
11579
35dc09a1 115802012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11581
11582 * international/characters.el: Add more missing Latin case pairs.
11583
35dc09a1 115842012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11585
11586 * files.el (dir-locals-set-class-variables): Doc fix.
11587
35dc09a1 115882012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11589
3f1b5bf8
EZ
11590 * international/characters.el: Add set-case-syntax-pair call for
11591 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11592 counterpart. (Bug#11209)
11593
9f847f41
EZ
11594 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11595
35dc09a1 115962012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11597
11598 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11599
35dc09a1 116002012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11601
35dc09a1
GM
11602 * textmodes/ispell.el (ispell-dictionary-base-alist):
11603 Add data for Hebrew.
e2627d21 11604
35dc09a1 116052012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11606
35dc09a1
GM
11607 * net/rcirc.el (rcirc-cmd-quit):
11608 Revert 2012-03-18 change (Bug#11192).
5c14e333 11609
35dc09a1 116102012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11611
11612 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11613
35dc09a1 116142012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11615
4517fe3a
SM
11616 * minibuffer.el (completion-in-region-mode-map):
11617 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11618
b472a594
VD
116192012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11620
11621 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11622
09b95ce3
MY
116232012-04-13 Masatake YAMATO <yamato@redhat.com>
11624
11625 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11626 to allow `C-M-f' and `C-M-b' to move to the nearest path
11627 separator (bug#9511).
11628
4b63a9ca
LI
116292012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11630
11631 * avoid.el: Require cl when compiling. And also move the
11632 `provide' to the end.
11633
7b55b8bf
TV
116342012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11635
11636 * avoid.el (mouse-avoidance-banish-position): New variable.
11637 (mouse-avoidance-banish-destination): Use it (bug#10165).
11638
adedaa1f
LL
116392012-04-13 Leo Liu <sdl.web@gmail.com>
11640
11641 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11642
70e74021
KB
116432012-04-13 Ken Brown <kbrown@cornell.edu>
11644
11645 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11646 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11647 (browse-url-filename-alist): For the same reason, don't modify
11648 file:// URLs on Cygwin.
11649
e75e89ba
SM
116502012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11653 the region on shift if the binding is already shifted (bug#11221).
11654
82f289a4
GM
116552012-04-12 Glenn Morris <rgm@gnu.org>
11656
11657 * mail/mailpost.el: Move to obsolete/.
11658
d333dc4c
DA
116592012-04-12 Drew Adams <drew.adams@oracle.com>
11660
11661 * imenu.el (imenu--generic-function): Ignore invisible definitions
11662 (bug#10123).
11663
0d15b5ba
VD
116642012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11665
11666 * hexl.el (hexl-bits): New variable.
11667 (hexl-options): Mention the variable in the doc string.
75f1671a 11668 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11669 (hexl-mode): Mention the new variable.
75f1671a
JB
11670 (hexl-mode, hexl-current-address, hexl-current-address):
11671 Use the displen.
0d15b5ba
VD
11672 (hexl-ascii-start-column): New function.
11673 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11674 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11675
64a440db
AM
116762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11677
11678 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11679 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11680 the encoding, as expected by hunspell.
11681
6decb6c2
SM
116822012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * battery.el (battery--linux-sysfs-regexp): New const.
11685 (battery-status-function): Use it. Remove yeeloong special case.
11686 (battery-yeeloong-sysfs): Remove.
11687 (battery-echo-area-format): Remove yeeloong special case.
11688
088be6fb
SM
116892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11690
6622e416
SM
11691 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11692 Reported by Noah Friedman.
11693
088be6fb
SM
11694 * subr.el (read-passwd): Use read-string.
11695
b49f886e
LMI
116962012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11697
11698 * vcursor.el (vcursor-move): Increase the priority of the overlay
11699 (bug#9663).
11700
a63067fc
DD
117012012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11702
11703 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11704 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11705
ac3cf14a
WS
117062012-04-11 William Stevenson <yhvh2000@gmail.com>
11707
11708 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11709 define-minor-mode (bug#10760).
11710
c4fc691b 117112012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11712
4d6769e1 11713 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11714 that directories matching `grep-find-ignored-files' won't be
11715 pruned (bug#10351).
11716
af23e2e5
CY
117172012-04-11 Chong Yidong <cyd@gnu.org>
11718
11719 * startup.el (command-line): Remove support for long-obsolete
11720 variable font-lock-face-attributes.
11721
ab7ce8c1
GM
117222012-04-11 Glenn Morris <rgm@gnu.org>
11723
11724 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11725
de8c03dc
SM
117262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * window.el (window--state-get-1): Obey window-point-insertion-type.
11729
050cc68b
LB
117302012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11731
11732 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11733 to previous function when point is on the first character of a
75f1671a 11734 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11735
a38c310c
GM
117362012-04-11 Glenn Morris <rgm@gnu.org>
11737
effed0c2
GM
11738 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11739 not just file-errors.
11740
a38c310c
GM
11741 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11742 (vc-bzr-sha1): Use internal sha1.
11743
0221e323
SM
117442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11747
43956923
SG
117482012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11749
11750 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11751 that start in the middle of the line (bug#10496).
11752
6a8c9eaf
DN
117532012-04-10 Dan Nicolaescu <dann@gnu.org>
11754
11755 * battery.el (battery-linux-proc-acpi): Only one battery is
11756 discharged at a time, but that seems to confuse battery.el when
11757 computing `rate-type' for the battery not being discharged
11758 (bug#10332).
11759
1930bf5d
SM
117602012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11761
2a718f6f
SM
11762 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11763
599430d0
SM
11764 * international/quail.el: Use dolist and simplify.
11765 (quail-define-package, quail-update-keyboard-layout)
11766 (quail-define-rules): Use dolist.
11767 (quail-insert-kbd-layout, quail-get-translation): CSE.
11768
a2754b6c
SM
11769 * tmm.el: Use dolist, remove left over hook.
11770 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11771 Use dolist.
11772 (calendar-load-hook): Don't mess with it.
11773
1930bf5d
SM
11774 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11775 Use derived-mode-p. Run the diff asynchronously.
11776
9f67961c
LMI
117772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11778
11779 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11780
2a8ce227
JB
117812012-04-10 Juanma Barranquero <lekktu@gmail.com>
11782
11783 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11784 (list-dynamic-libraries--loaded): New function.
11785 (list-dynamic-libraries--refresh): Use it.
11786
8f33b5f8
NW
117872012-04-10 Nathan Weizenbaum <nweiz@google.com>
11788
1930bf5d
SM
11789 * progmodes/python.el (python-fill-paragraph):
11790 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11791 disabled (bug#7018).
11792
b12f0439
L
117932012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11794
1930bf5d 11795 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11796 DOS/MS Windows for the Baltic languages. There are still plenty
11797 of texts written in this encoding/codepage (bug#6519).
b12f0439 11798
57c3bd01
GM
117992012-04-10 Glenn Morris <rgm@gnu.org>
11800
11801 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11802 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11803
6c3eab30
FA
118042012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11805
1930bf5d 11806 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11807 next-line "n" and previous-line "p" in order to make recentf more
11808 consistent with ibuffer, dired or org-mode (bug#9387).
11809
24d78a88
LMI
118102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811
bc72b5d9
LMI
11812 * image.el (put-image): Return the overlay created instead of the
11813 optional input string (bug#7834). Note that this may break code
11814 that is (for some reason or other) depending on `put-image'
11815 returning the string.
11816
bd2dba5a
LMI
11817 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11818
74beb59f
LMI
11819 * simple.el (zap-to-char): Allow zapping using input methods
11820 (bug#1580).
11821
24d78a88
LMI
11822 * textmodes/fill.el (fill-region): Leave point and mark where they
11823 were before filling (bug#5399).
11824
263f20cd
GM
118252012-04-09 Glenn Morris <rgm@gnu.org>
11826
11827 * version.el (emacs-bzr-get-version):
11828 Handle lightweight checkouts of local branches.
11829
58d1f797
AS
118302012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11831
263f20cd 11832 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11833
b4d3bc10
CY
118342012-04-09 Chong Yidong <cyd@gnu.org>
11835
11836 * custom.el (custom-variable-p): Return nil for non-symbol
11837 arguments instead of signaling an error.
11838 (user-variable-p): Obsolete alias for custom-variable-p.
11839
11840 * apropos.el (apropos-variable):
11841 * files-x.el (read-file-local-variable):
11842 * simple.el (set-variable):
11843 * woman.el (woman-mini-help):
11844 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11845
fd06db5d
GM
118462012-04-09 Glenn Morris <rgm@gnu.org>
11847
e5fcdb5e
GM
11848 * startup.el (normal-top-level): Don't look for leim-list.el
11849 in places where it will not be found. (Bug#910)
11850
fd06db5d
GM
11851 * international/mule-cmds.el (set-default-coding-systems):
11852 * files.el (normal-mode):
11853 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11854 This function was removed with ucs-tables.el in 2008.
11855
b39bb7e1
EZ
118562012-04-08 Eli Zaretskii <eliz@gnu.org>
11857
11858 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11859 ispell-encoding8-command to "-i", without a trailing space.
11860 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11861 separate command-line arguments, to specify the encoding, since
11862 that's how hunspell expects it.
11863
5c5b8e23
GM
118642012-04-08 Glenn Morris <rgm@gnu.org>
11865
11866 * loadup.el: Load bindings before cus-start.
11867 This reduces somewhat the number of "rogue" settings in emacs -Q.
11868
a1ed8b05
GM
118692012-04-07 Glenn Morris <rgm@gnu.org>
11870
11871 * version.el (emacs-bzr-get-version): New function.
dfae128a 11872 (emacs-bzr-version): New variable.
a1ed8b05
GM
11873 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11874 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11875
b142f158
EZ
118762012-04-07 Eli Zaretskii <eliz@gnu.org>
11877
dfae128a
GM
11878 * international/uni-bidi.el, international/uni-category.el:
11879 * international/uni-combining.el, international/uni-decimal.el:
11880 * international/uni-decomposition.el, international/uni-digit.el:
11881 * international/uni-lowercase.el, international/uni-mirrored.el:
11882 * international/uni-name.el, international/uni-numeric.el:
11883 * international/uni-titlecase.el, international/uni-uppercase.el:
11884 Update for Unicode 6.1.
b142f158 11885
9078ead6
EZ
118862012-04-07 Eli Zaretskii <eliz@gnu.org>
11887
11888 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11889
f23d2c7d
LMI
118902012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11891
11892 * window.el (shrink-window): Mention the `window-min-height'
11893 variable in the doc string.
11894
0a0a3573
BG
118952012-04-05 Bastien Guerry <bzg@altern.org>
11896
11897 * color.el (color-lighten-name): Fix typo.
11898
e5248ac9
SM
118992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * server.el (server--on-display-p): New function.
11902 (server--on-display-p): Use it.
11903
b4243e22
GV
119042012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11905
11906 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11907 (bug#11145).
11908
305d9f44
SM
119092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * comint.el (comint--common-quoted-suffix): Check string boundary
11912 before comparing (bug#11158).
11913 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11914
3d439cd1
CY
119152012-04-04 Chong Yidong <cyd@gnu.org>
11916
321cc491
CY
11917 * minibuffer.el (completion-extra-properties): Doc fix.
11918
3d439cd1
CY
11919 * subr.el (delayed-warnings-hook): Doc fix.
11920
2d562c0f
DU
119212012-04-04 Daiki Ueno <ueno@unixuser.org>
11922
11923 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11924 selection (Bug#11159).
11925 (epa-insert-keys): Inform that the default public key will be
11926 exported if no key is selected.
11927
4443f204
RS
119282012-04-04 Richard Stallman <rms@gnu.org>
11929
11930 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11931
529c06b6
CY
119322012-04-03 Chong Yidong <cyd@gnu.org>
11933
11934 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11935 mail-insert-file, not its obsolete alias mail-attach-file.
11936
66b907dc
MA
119372012-04-03 Michael Albinus <michael.albinus@gmx.de>
11938
11939 * notifications.el (notifications-notify): Fix docstring.
11940
c0ea195d
GM
119412012-04-02 Glenn Morris <rgm@gnu.org>
11942
11943 * emacs-lisp/authors.el (authors-aliases): Another addition.
11944
5ca64e00
MA
119452012-04-02 Michael Albinus <michael.albinus@gmx.de>
11946
11947 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11948 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11949 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11950
42ee526b
CY
119512012-04-01 Chong Yidong <cyd@gnu.org>
11952
11953 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11954 Handle root directory properly.
11955 (copy-directory): Caller changed.
11956
11957 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11958 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11959
0b021094
GM
119602012-03-31 Glenn Morris <rgm@gnu.org>
11961
40f86458
GM
11962 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11963
7019c177
GM
11964 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11965
a1daddd6
GM
11966 * calendar/calendar.el (calendar-window-list)
11967 (calendar-hide-window): Restore. (Bug#11140)
11968 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11969
0b021094
GM
11970 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11971
40311efc
TV
119722012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11973
11974 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11975 Check if file is a symlink (Bug#10489).
11976
11977 * files.el (copy-directory): Likewise.
11978
5319014e
CY
119792012-03-30 Chong Yidong <cyd@gnu.org>
11980
11981 * image.el (imagemagick-types-inhibit)
11982 (imagemagick-register-types): Doc fix.
11983
935d1290
AM
119842012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11985
090bd7cb 11986 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 11987 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 11988 and treats ~word as ordinary words in pipe mode.
935d1290 11989
61c6e8fd
GM
119902012-03-30 Glenn Morris <rgm@gnu.org>
11991
11992 * tutorial.el (help-with-tutorial): Ensure local variables don't
11993 happen to make the buffer read-only. (Bug#11127)
11994
81fdff00
SM
119952012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11998 (perl-calculate-indent): Return `noindent' in strings.
11999
6e7a6ec0
SS
120002012-03-28 Sam Steingold <sds@gnu.org>
12001
12002 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12003 instead of the broken adhockery which does not prevent calendar
12004 buffers from being displayed at random after exit.
12005 (calendar-window-list, calendar-hide-window): Remove the broken
12006 adhockery.
12007
fee88ca0
GM
120082012-03-28 Glenn Morris <rgm@gnu.org>
12009
12010 * replace.el (query-replace-map): Doc fix.
12011
38de3354
AS
120122012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12013
12014 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12015 contents. (Bug#11109)
12016
b973155e
SM
120172012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12020 (bug#11077).
12021 (avl-tree--check, avl-tree--check-node): New funs.
12022
dcb6e7b3
MR
120232012-03-27 Martin Rudalics <rudalics@gmx.at>
12024
12025 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12026 (switch-to-prev-buffer, switch-to-next-buffer):
12027 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12028 showing a buffer already is done on the same frame.
12029
b4fa35fa
GM
120302012-03-27 Glenn Morris <rgm@gnu.org>
12031
12032 * startup.el (mail-host-address): Doc fix.
12033
f9210e18
SM
120342012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12037 than 197 variables.
12038
c0bf7753
AF
120392012-03-26 Ami Fischman <ami@fischman.org>
12040
12041 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12042
33da7b16
GM
120432012-03-26 Glenn Morris <rgm@gnu.org>
12044
02243d9d
GM
12045 * files.el (save-buffers-kill-emacs): Doc fix.
12046
33da7b16
GM
12047 * startup.el (normal-top-level, command-line, command-line-1):
12048 Give them doc strings.
12049
e5a69fd0
EZ
120502012-03-25 Eli Zaretskii <eliz@gnu.org>
12051
12052 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12053 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12054
9a69676a
CY
120552012-03-25 Chong Yidong <cyd@gnu.org>
12056
4125cb8b
CY
12057 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12058 theme if it was previously enabled before (Bug#11031).
12059
dd470960
CY
12060 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12061 spec with custom-face-get-current-spec if its :shown-value is not
12062 determined yet (Bug#9337).
4125cb8b 12063 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12064
9a69676a
CY
12065 * button.el (button-at): Minor addition to docstring.
12066
6e7e90fa
SL
120672012-03-24 Simon Leinen <simon.leinen@gmail.com>
12068
12069 * vc/vc.el (vc-merge): Fix a prompt.
12070
f06e2758
CY
120712012-03-24 Chong Yidong <cyd@gnu.org>
12072
12073 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12074 point (Bug#9623).
12075
6e7e90fa
SL
12076 * button.el (button-at): Minor addition to docstring.
12077
b9d0879b
SM
120782012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * newcomment.el (comment-choose-indent): No space after BOL.
12081
e71cebb3
SS
120822012-03-22 Sam Steingold <sds@gnu.org>
12083
12084 * window.el (switch-to-prev-buffer): Revert last patch because the
12085 bug turned out to be an advertised feature (Elisp manual 28.14).
12086
335aff35
GM
120872012-03-22 Glenn Morris <rgm@gnu.org>
12088
12089 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12090 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12091
c676576a
LMI
120922012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12093
12094 * net/network-stream.el (network-stream-open-starttls): Make error
12095 message under Windows be less misleading.
12096
126f3d39
LW
120972012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12098
12099 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12100 understands (bug#9942).
12101
64fee311
CY
121022012-03-22 Chong Yidong <cyd@gnu.org>
12103
12104 * simple.el (end-of-visible-line): Handle return value of
12105 next-single-property-change properly (Bug#9371).
12106
a640d29a
KH
121072012-03-22 Kenichi Handa <handa@m17n.org>
12108
12109 * international/quail.el (quail-insert-kbd-layout): Fix previous
12110 change. To avoid unwanted bidi reordering, use
12111 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12112
39675016
DG
121132012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12114
12115 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12116 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12117 (ruby-beginning-of-indent): Be more careful with the difference
12118 between word-boundary and symbol boundary.
12119 (ruby-mode-syntax-table): Make : a symbol constituent.
12120
0a6934fc 121212012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12122
3d008e4f
SM
12123 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12124
0a6934fc
SM
121252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12126
af67c9d7
SM
12127 * progmodes/etags.el (tags-completion-at-point-function):
12128 Improve last fix.
12129
1acad97c
SM
12130 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12131
e298b5da
SS
121322012-03-21 Sam Steingold <sds@gnu.org>
12133
12134 * progmodes/etags.el (tags-completion-at-point-function):
12135 Avoid the error when point is inside the pattern.
12136
91d82a70
JY
121372012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12138
12139 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12140 line (Bug#10855).
12141
69188b79
CY
121422012-03-21 Drew Adams <drew.adams@oracle.com>
12143
12144 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12145
99fc91fe
AK
121462012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12147
12148 * ido.el (ido-set-current-directory, ido-read-internal)
12149 (ido-choose-completion-string, ido-completion-help): Handle nil
12150 value of ido-completion-buffer (Bug#11008).
12151
087bbb4c
SS
121522012-03-21 Sam Steingold <sds@gnu.org>
12153
12154 * window.el (switch-to-prev-buffer): Do not switch to a visible
12155 window previous buffer, just like with the frame previous buffers.
12156
fb5b8aca
CY
121572012-03-21 Chong Yidong <cyd@gnu.org>
12158
12159 * faces.el (make-face, make-empty-face, copy-face):
12160 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12161 Doc fixes.
12162
dc9924b8
SM
121632012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12166 (widget-complete): Remove broken use of it.
12167
f0bcceb9
CY
121682012-03-20 Chong Yidong <cyd@gnu.org>
12169
dc9924b8
SM
12170 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12171 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12172 characters.
12173
ee52ebf3
TH
121742012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12175
12176 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12177 to draw rectangles, not squares. (Regression introduced by revno
12178 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12179
4c5779ab
CY
121802012-03-18 Chong Yidong <cyd@gnu.org>
12181
12182 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12183 it is not yet defined (for temacs).
12184
15360934
LL
121852012-03-18 Leo Liu <sdl.web@gmail.com>
12186
735135f9
PE
12187 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12188 prefix.
15360934 12189
d9a8eb66
EZ
121902012-03-17 Eli Zaretskii <eliz@gnu.org>
12191
12192 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12193 (ispell-choices-win-default-height, ispell-silently-savep)
12194 (ispell-dictionary-alist, ispell-encoding8-command)
12195 (ispell-check-version, ispell-aspell-find-dictionary)
12196 (ispell-valid-dictionary-list, ispell-words-keyword)
12197 (ispell-get-word, ispell-internal-change-dictionary)
12198 (ispell-region, ispell-skip-region-list)
12199 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12200 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12201 (ispell-message-text-end, ispell-message)
12202 (ispell-buffer-local-parsing): Doc fix.
12203
f02ff80d
J
122042012-03-13 Jambunathan K <kjambunathan@gmail.com>
12205
12206 * htmlfontify.el: Add support for code block fontification for ODT
12207 export (Bug #9914).
12208 (hfy-optimisations): Define new option
12209 `body-text-only'
12210 (hfy-fontify-buffer): Honor above setting.
12211 (hfy-begin-span, hfy-end-span): New routines factored out form
12212 `hfy-fontify-buffer'.
12213 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12214 that permit insertion of custom tags.
12215 (hfy-fontify-buffer): Use above handlers.
12216 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12217 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12218 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12219 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12220 bind a special variable `hfy-user-sheet-assoc'.
12221 (htmlfontify-string): New defun.
12222 (hfy-compile-face-map): Make sure that the last char in the
12223 buffer is correctly fontified.
12224 (hfy-face-resolve-face): Whitespace only change.
12225
9ac7a13f
EZ
122262012-03-17 Eli Zaretskii <eliz@gnu.org>
12227
12228 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12229 message more clear.
12230
e2b5bdd7
LL
122312012-03-16 Leo Liu <sdl.web@gmail.com>
12232
12233 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12234
2e492df3
AM
122352012-03-16 Alan Mackenzie <acm@muc.de>
12236
677d5c92 12237 Further optimize the handling of large macros.
2e492df3
AM
12238
12239 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12240 limit to a call of `c-literal-limits'.
12241 (c-determine-+ve-limit): New function.
dc9924b8
SM
12242 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12243 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12244 In CASE 5B, restrict a search limit to 500.
12245 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12246
12247 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12248 Restrict macro bounds to +-500 from after-change's BEG END.
12249
50e94f0c
LL
122502012-03-16 Leo Liu <sdl.web@gmail.com>
12251
12252 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12253
6f09f6ed
AH
122542012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12255
12256 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12257 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12258
c7e73d51
GM
122592012-03-16 Glenn Morris <rgm@gnu.org>
12260
da986230
GM
12261 * view.el (view-buffer, view-buffer-other-window)
12262 (view-buffer-other-frame): Doc fixes re special mode-class.
12263
0835f01e
GM
12264 * subr.el (eval-after-load): If named feature is provided not from
12265 a file, run after-load forms. (Bug#10946)
12266
c7e73d51
GM
12267 * calendar/calendar.el (calendar-insert-at-column):
12268 Handle non-unit-width characters a bit better. (Bug#10978)
12269
3f2eafd1
CY
122702012-03-15 Chong Yidong <cyd@gnu.org>
12271
12272 * emacs-lisp/ring.el (ring-extend): New function.
12273 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12274
12275 * comint.el (comint-read-input-ring)
12276 (comint-add-to-input-history): Grow comint-input-ring lazily.
12277
103af3fe
SM
122782012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12279
663b1677
SM
12280 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12281 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12282
103af3fe
SM
12283 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12284 (imenu-add-to-menubar): Don't add a redundant index.
12285 (imenu-update-menubar): Handle a dynamically composed keymap.
12286
899cb7cb
KY
122872012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12288
12289 * mail/sendmail.el (mail-encode-header):
12290 Bind rfc2047-encode-encoded-words to nil.
12291
3809f91d
GM
122922012-03-13 Glenn Morris <rgm@gnu.org>
12293
12294 * calendar/calendar.el (calendar-string-spread):
12295 Handle non-unit-width characters a bit better. (Bug#10978)
12296
9e345a01
LL
122972012-03-13 Leo Liu <sdl.web@gmail.com>
12298
12299 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12300 directory and file as argument (Bug#10822).
12301
4a07df36
KS
123022012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12303
12304 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12305 For dynamically generated code, follow $PC.
12306 (gdb-disassembly-handler-custom): Handle no function name case.
12307
4aaa9356
TL
123082012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12309
12310 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12311 * emulation/ws-mode.el (ws-query-replace):
12312 * sort.el (sort-regexp-fields):
12313 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12314
225979da
SM
123152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12316
12317 * dabbrev.el: Fix cycle completion order (bug#10963).
12318 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12319 (dabbrev-completion): Don't use an obarray; provide
12320 a cycle-sort-function.
12321
e2f1fdab
LL
123222012-03-12 Leo Liu <sdl.web@gmail.com>
12323
dc9924b8 12324 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12325 (kill-do-not-save-duplicates): Doc fix.
12326
b19490ed
SM
123272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * dabbrev.el: Fix cycle completion (bug#10963).
12330 Use lexical binding and wrap to 80 columns.
12331 (dabbrev-completion): Delay computing the list of completions.
12332
4b05d722
KH
123332012-03-12 Kenichi Handa <handa@m17n.org>
12334
12335 * international/quail.el (quail-insert-kbd-layout): Surround each
12336 row by LRO and PDF instead of inserting many LRMs. Pad the left
12337 and right of each non-spacing marks. Insert invisible space
12338 between lower and upper characters to prevent composition.
12339
dbbc2e69
SM
123402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * minibuffer.el (minibuffer-complete): Don't get confused when the
12343 function is run twice via different commands (bug#10958).
12344 (complete-with-action): Fix docstring.
12345
292112ed
CY
123462012-03-12 Chong Yidong <cyd@gnu.org>
12347
5d1ac394
CY
12348 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12349 (nxml-completion-at-point-function): New function.
12350 (nxml-mode): Use it.
12351 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12352
292112ed
CY
12353 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12354 Load generated autoloads file before byte compiling (Bug#10970).
12355 (package--make-autoloads-and-compile): New helper fun.
12356
4098f8f7
CS
123572012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12358
12359 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12360
8f754691
MA
123612012-03-11 Michael Albinus <michael.albinus@gmx.de>
12362
12363 * autorevert.el (auto-revert-handler): Ensure, that
12364 file-readable-p is applied only for local files or in
12365 auto-revert-tail-mode.
12366
e29ab36b
AS
123672012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12368
dbbc2e69
SM
12369 * server.el (server-eval-at): Handle non-tcp connections.
12370 Decode result string.
ad0bf5b6 12371
e29ab36b
AS
12372 * server.el (server-msg-size): New constant.
12373 (server-reply-print): New function.
12374 (server-eval-and-print): Use it.
12375 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12376 Handle -print-nonl.
12377
de5939ba
CS
123782012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12379
12380 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12381 (Bug#10987).
12382
0c93eabf
CY
123832012-03-11 Chong Yidong <cyd@gnu.org>
12384
397a688f
CY
12385 * simple.el (goto-line): Doc fix (Bug#9938).
12386
2cc775f9
CY
12387 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12388
0c93eabf
CY
12389 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12390 when finished (Bug#10963).
12391
c491fa41
MR
123922012-03-11 Martin Rudalics <rudalics@gmx.at>
12393
12394 * window.el (split-window-below): Fix bug in case where
12395 split-window-keep-point is nil (Bug#10971).
12396
300e8fa5
JL
123972012-03-11 Juri Linkov <juri@jurta.org>
12398
12399 * replace.el (replace-highlight): Set isearch-word to nil
12400 unconditionally. (Bug#10887)
12401
dbf6c5a1
EZ
124022012-03-10 Eli Zaretskii <eliz@gnu.org>
12403
12404 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12405 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12406 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12407 (mairix-widget-create-query): Add usage information about mairix
12408 search forms: negating words, searching for substrings, etc.
12409
b9e501de
JP
124102012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12411
12412 * international/fontset.el (font-encoding-alist): Add an entry for
12413 ksx1001 (Bug#5667).
12414
92795c91
RS
124152012-03-10 Richard Stallman <rms@gnu.org>
12416
1694e6c1
RS
12417 * mail/sendmail.el (mail-encode-header):
12418 Set rfc2047-encode-encoded-words.
12419
607e8555
RS
12420 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12421
de3bc99a
RS
12422 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12423 view buffer means not swapped.
12424 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12425 (rmail-write-region-annotate): Error if real text has disappeared.
12426
92795c91
RS
12427 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12428
699bd04e
CY
124292012-03-10 Chong Yidong <cyd@gnu.org>
12430
12431 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12432 * emulation/cua-base.el (cua--init-keymaps):
12433 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12434
570a1714
MR
124352012-03-10 Martin Rudalics <rudalics@gmx.at>
12436
dbbc2e69
SM
12437 * speedbar.el (speedbar-unhighlight-one-tag-line):
12438 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12439
82dcf4e4
CY
124402012-03-10 Chong Yidong <cyd@gnu.org>
12441
7a2c7ca7
CY
12442 * minibuffer.el (completion-in-region, completion-help-at-point):
12443 Give the completion field overlay a high priority (Bug#6830).
12444
82dcf4e4
CY
12445 * dired.el (dired-goto-file): Recognize absolute file name
12446 listings (Bug#7126).
12447 (dired-goto-file-1): New helper function.
12448 (dired-toggle-read-only): Inhibit warnings.
12449
052e28ac
MA
124502012-03-09 Michael Albinus <michael.albinus@gmx.de>
12451
75f1671a 12452 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12453 there are no properties.
12454
95d5e396
LL
124552012-03-09 Leo Liu <sdl.web@gmail.com>
12456
12457 * savehist.el (savehist-printable): Stricter check for string
12458 value (Bug#10937).
12459
3f018d6d
EZ
124602012-03-09 Eli Zaretskii <eliz@gnu.org>
12461
dbbc2e69
SM
12462 * mail/smtpmail.el (smtpmail-send-it):
12463 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12464 valid mbox format.
12465
f7fd3d79
GM
124662012-03-09 Glenn Morris <rgm@gnu.org>
12467
12468 * files.el (dir-locals-find-file):
12469 Don't check result is regular, readable.
12470 (dir-locals-read-from-file): Demote errors.
12471
6ff6e72f
EZ
124722012-03-08 Eli Zaretskii <eliz@gnu.org>
12473
dbbc2e69
SM
12474 * international/quail.el (quail-insert-kbd-layout):
12475 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12476 layout cell, to prevent their reordering by bidi display engine.
12477 For details, see the discussion in
12478 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12479
9cec7834
AM
124802012-03-08 Alan Mackenzie <acm@muc.de>
12481
12482 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12483 the starting position; make it extend the marked region when
12484 invoked repeatedly - all under appropriate circumstances.
12485 Fixes bugs #5525, #10906.
12486
9a40b8d4
GM
124872012-03-08 Glenn Morris <rgm@gnu.org>
12488
12489 * files.el (locate-dominating-file, dir-locals-find-file):
12490 Undo 2012-03-06 change.
12491
7a08ed35
EZ
124922012-03-07 Eli Zaretskii <eliz@gnu.org>
12493
dbbc2e69
SM
12494 * international/quail.el (quail-help):
12495 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12496 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12497 for the reason.
12498
5aca4f71 124992012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12500
12501 Avoid superfluous registering of signals. (Bug#10807)
12502
12503 * notifications.el (notifications-on-action-object)
12504 (notifications-on-close-object): New defvars.
12505 (notifications-on-action-signal, notifications-on-closed-signal):
12506 Unregister the signal if not needed any longer.
12507 (notifications-notify): Register `notifications-action-signal' or
12508 `notifications-closed-signal', if :on-action or :on-close has been
12509 passed as argument.
12510
78e8b10a
CY
125112012-03-07 Chong Yidong <cyd@gnu.org>
12512
12513 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12514 non-X platforms.
12515
69481eb8
GM
125162012-03-06 Glenn Morris <rgm@gnu.org>
12517
12518 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12519 (x-disown-selection-internal, x-get-selection-internal):
12520 Doc fix (add arglist signatures). (Bug#10783)
12521
133b8e11
KS
125222012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12523
12524 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12525 Handle breakpoints with no "type".
12526
99a83064
GM
125272012-03-06 Glenn Morris <rgm@gnu.org>
12528
12529 * files.el (locate-dominating-file): Add optional predicate argument.
12530 (dir-locals-find-file): Make use of above change.
12531
17798e78
TTN
125322012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12533
12534 * info.el (Info-insert-dir): Also try "dir.gz".
12535
eb182446
GM
125362012-03-06 Glenn Morris <rgm@gnu.org>
12537
8f2114ee
GM
12538 * files.el (dir-locals-find-file):
12539 Ignore non-readable or non-regular files. (Bug#10928)
12540
eb182446
GM
12541 * files.el (locate-dominating-file): Doc fix.
12542
24679323
AS
125432012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12544
12545 * calendar/calendar.el (calendar-set-mode-line):
12546 `getenv' returns a string. (Bug#10951)
12547
01d972a9
LL
125482012-03-05 Leo Liu <sdl.web@gmail.com>
12549
109aa8a9
LL
12550 * simple.el (backward-delete-char-untabify): Constrain point to
12551 field (Bug#10939).
12552
01d972a9
LL
12553 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12554
10607bea
CY
125552012-03-05 Chong Yidong <cyd@gnu.org>
12556
12557 * simple.el (count-words): If called from Lisp, return the word
12558 count, for symmetry with `count-lines'. Arglist changed.
12559 (count-words--message): Args changed. Consolidate counting code
12560 from count-words and count-words-region.
12561 (count-words-region): Caller changed.
12562 (count-lines-region): Make it an obsolete alias.
12563
5dd11cfe
TH
125642012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12565
12566 * saveplace.el (save-place-to-alist)
12567 (save-place-ignore-files-regexp): Allow value nil to disable this
12568 feature.
12569
c349f4e6
CY
125702012-03-04 Chong Yidong <cyd@gnu.org>
12571
12572 * faces.el (face-spec-reset-face): For the default face, reset the
12573 attributes to default values (Bug#10748).
12574
e627be4c
LMI
125752012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
12577 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12578 previous patch: Check `message-send-mail-function', and not the
12579 default function (bug#10897).
12580
ebeabff4
MA
125812012-03-04 Michael Albinus <michael.albinus@gmx.de>
12582
a41a6cf4
MA
12583 * notifications.el (notifications-on-action-signal)
12584 (notifications-on-closed-signal): Check for unique service name of
12585 incoming event. Fix error in removing entry.
ebeabff4 12586 (top): Register for signals with wildcard service name.
a41a6cf4 12587 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12588
c1ca42b4
CY
125892012-03-04 Chong Yidong <cyd@gnu.org>
12590
dc9924b8 12591 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12592
ea16568d
GM
125932012-03-04 Glenn Morris <rgm@gnu.org>
12594
12595 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12596 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12597 (expand-abbrev, define-abbrev-table): Doc fixes.
12598
fbae4637
LMI
125992012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12600
12601 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12602 `message-default-send-mail-function' and not `send-mail-function'
12603 when doing the prompting for `sendmail-query-once' before sending
12604 in Message buffers (bug#10897).
12605
a1e7225c
LMI
12606 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12607 This is inconsistent with all the other stream functions, which leave
12608 the setting up to the higher levels (if so wanted) (bug#10931).
12609
56d093a9
AM
126102012-03-02 Alan Mackenzie <acm@muc.de>
12611
12612 Depessimize the handling of very large macros.
12613
12614 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12615 (c-macro-cache-syntactic): New variables to implement a one
12616 element macro cache.
12617 (c-invalidate-macro-cache): New function.
12618 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12619 Adapt to use the new cache.
12620 (c-state-safe-place): Use better the cache of safe positions.
12621 (c-state-semi-nonlit-pos-cache)
12622 (c-state-semi-nonlit-pos-cache-limit):
12623 New variables for...
12624 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12625 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12626 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12627 Use c-state-semi-safe-place.
56d093a9 12628
dbbc2e69
SM
12629 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12630 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12631
817e5c3d
MA
126322012-03-02 Michael Albinus <michael.albinus@gmx.de>
12633
dbbc2e69
SM
12634 * jka-compr.el (jka-compr-call-process):
12635 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12636 not remote.
12637
a032a702
MA
126382012-03-01 Michael Albinus <michael.albinus@gmx.de>
12639
12640 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12641 access of FILE2, if FILE1 does not exist.
12642
99a54f21
MA
12643 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12644 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12645
12646 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12647 Add "PAGER=" to `process-environment'.
12648
f6561e1f
MM
126492012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12650
12651 * progmodes/sql.el: Bug fix
12652 (sql-get-login-ext): Save login values in globals.
12653 (sql-get-login): Use new version of `sql-get-login-ext'.
12654 (sql-interactive-mode): Set global `sql-connection' to nil.
12655 (sql-connect): Set global values for connection.
12656 (sql-product-interactive): Save global values as buffer local.
12657
2d44d9cc
LL
126582012-02-29 Leo Liu <sdl.web@gmail.com>
12659
12660 * abbrev.el (define-abbrevs): Reset sys to nil.
12661
96b49301 126622012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12663
bf7f9bc5
JB
12664 * files.el (file-equal-p): Rename from `files-equal-p'.
12665 Return nil when one or both files don't exist.
96b49301 12666 (file-subdir-of-p): Now only top directory must exists,
12667 return nil if it doesn't.
bf7f9bc5
JB
12668 (copy-directory): No need to test with `file-subdir-of-p' after
12669 creating dir.
12670 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12671 to `file-equal-p'.
96b49301 12672
44e97401
GM
126732012-02-28 Glenn Morris <rgm@gnu.org>
12674
12675 * shell.el (shell-mode):
12676 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12677 * play/landmark.el (landmark-font-lock-face-O):
12678 * play/handwrite.el (handwrite):
12679 * play/gomoku.el (gomoku-O):
12680 * net/browse-url.el (browse-url-browser-display):
12681 * international/mule.el (define-charset):
12682 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12683 * filesets.el (filesets-find-file-delay):
12684 * eshell/em-xtra.el (eshell-xtra):
12685 * eshell/em-unix.el (eshell-grep):
12686 * emulation/viper.el (viper-mode):
12687 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12688 * emacs-lisp/easymenu.el (easy-menu-define):
12689 * calendar/timeclock.el (timeclock-use-display-time):
12690 * bs.el (bs-mode):
12691 * bookmark.el (bookmark-save-flag):
12692 Doc fix (standardize possessive apostrophe usage).
12693
c98c6276
CY
126942012-02-27 Chong Yidong <cyd@gnu.org>
12695
bf7f9bc5
JB
12696 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12697 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12698
c98c6276
CY
12699 * font-lock.el (font-lock-specified-p): Rename from
12700 font-lock-spec-present. Callers changed.
12701
9c62cd04 127022012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12703
bf7f9bc5
JB
12704 * emacs-lisp/package.el (package-compute-transaction):
12705 Handle holding a package version to t in package-load-list.
8ac9e529 12706
530739c9
MA
127072012-02-26 Michael Albinus <michael.albinus@gmx.de>
12708
12709 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12710 (tramp-get-inode, tramp-get-device): Use cached values.
12711
487915d7
AM
127122012-02-26 Alan Mackenzie <acm@muc.de>
12713
12714 Check there is a font-lock specification before doing initial
12715 fontification.
12716
12717 * font-core.el (font-lock-mode): Move the conditional from
12718 :after-hook to font-lock-initial-fontify.
12719 (font-lock-default-function): Move the check for a specification
12720 to font-lock-spec-present.
12721
dc9924b8 12722 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12723 (font-lock-spec-present): New function.
12724
4fd96557
JB
127252012-02-26 Jim Blandy <jimb@red-bean.com>
12726
12727 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12728 (gdb-send): Apply it to the operand of the '-interpreter-exec
12729 console' command, so that we can pass arguments with (say) quotes
12730 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12731
9a4888c0
CY
127322012-02-26 Chong Yidong <cyd@gnu.org>
12733
07498861
CY
12734 * help-fns.el (describe-function-1): Clarify description of
12735 remapping (Bug#10844).
12736
9a4888c0
CY
12737 * files.el (files-equal-p): Doc fix.
12738 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12739 and quit the loop once a mismatch is found.
12740
ea8fb88d
JB
127412012-02-25 Juanma Barranquero <lekktu@gmail.com>
12742
12743 * bs.el (bs--show-with-configuration): Don't throw an error
12744 if the window cannot be split; otherwise, subsequent calls to
12745 bs-show fail, restoring a stale window config. (Bug#10882)
12746
525795c1
JD
127472012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12748
12749 * term/ns-win.el (global-map): Bind ns-drag-file to
12750 ns-find-file (Bug#5855, Bug#10050).
12751
f008086f
AS
127522012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12753
12754 * calendar/parse-time.el (parse-time-string): Allow extractor to
12755 return nil.
12756
a3fcfa99
MA
127572012-02-25 Michael Albinus <michael.albinus@gmx.de>
12758
91027d08
JB
12759 * net/tramp.el (tramp-file-name-for-operation):
12760 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12761
12762 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12763 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12764 Add COPY-CONTENTS argument.
a3fcfa99 12765
67b0de11
CY
127662012-02-25 Chong Yidong <cyd@gnu.org>
12767
12768 Add custom groups for VC backends, for consistency with vc-bzr.
12769
12770 * vc/vc-arch.el (vc-arch):
12771 * vc/vc-cvs.el (vc-cvs):
12772 * vc/vc-git.el (vc-git):
12773 * vc/vc-hg.el (vc-hg):
12774 * vc/vc-mtn.el (vc-mtn):
12775 * vc/vc-rcs.el (vc-rcs):
12776 * vc/vc-sccs.el (vc-sccs):
12777 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12778 All relevant defcustoms reassigned.
12779
3c9dfce6
CY
127802012-02-25 Chong Yidong <cyd@gnu.org>
12781
1339bf43
CY
12782 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12783
3c9dfce6
CY
12784 * term/x-win.el (x-initialize-window-system): Reduce default for
12785 x-selection-timeout to 5 seconds (Bug#8869).
12786
25b2e303 127872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12788
ec70a47d
GM
12789 * files.el (files-equal-p, file-subdir-of-p): New functions.
12790 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12791 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12792 * dired-aux.el (dired-copy-file-recursive): Same.
12793 (dired-create-files): Modify destination when source is equal to
12794 dest when copying files.
53a46cd0 12795 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12796
914260cd
MA
127972012-02-24 Michael Albinus <michael.albinus@gmx.de>
12798
12799 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12800 (Bug#10874)
12801
2cb228f7
AM
128022012-02-23 Alan Mackenzie <acm@muc.de>
12803
12804 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12805 parameter "after-hook:" to allow the expansion to run code after
12806 the execution of the mode hooks.
12807
12808 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12809 from font-lock-mode-internal.
2cb228f7 12810
91027d08 12811 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12812 :after-hook.
12813
8f0fde21
SM
128142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12815
3e88618b
SM
12816 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12817 (completion--cache-all-sorted-completions): New function.
12818 (completion-all-sorted-completions): Use it.
12819 (completion--do-completion, minibuffer-force-complete):
12820 Use it to re-instate the flush hook.
12821
8f0fde21
SM
12822 * icomplete.el (icomplete-completions): Replace last fix with a better
12823 one (bug#10850).
12824
8e911f6f
DG
128252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12826
12827 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12828 when it might call us back infinitely (bug#10797).
12829
49fe4321
GM
128302012-02-23 Glenn Morris <rgm@gnu.org>
12831
12832 * minibuffer.el (completion-category-overrides): Doc fix.
12833
b291b572
SM
128342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12837 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12838
31a9ef2e
GM
128392012-02-23 Glenn Morris <rgm@gnu.org>
12840
5e6e6794 12841 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12842 (authors-obsolete-files-regexps, authors-ignored-files)
12843 (authors-ambiguous-files, authors-renamed-files-alist):
12844 Add more entries.
12845
0bd1e074
JL
128462012-02-23 Juri Linkov <juri@jurta.org>
12847
12848 * isearch.el (isearch-occur): Sync interactive spec with occur's
12849 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12850
b617673c
JL
12851 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12852
19e9789e
JL
128532012-02-22 Juri Linkov <juri@jurta.org>
12854
12855 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12856 (ucs-insert): Doc fix. Check for hex digits in the string.
12857 Don't display `nil' in the error message. (Bug#10857)
12858
f41ce09d
AM
128592012-02-22 Alan Mackenzie <acm@muc.de>
12860
7a71b18d 12861 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12862
ac2eceee
GM
128632012-02-22 Glenn Morris <rgm@gnu.org>
12864
12865 * ffap.el (ffap-c-path):
12866 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12867
abd1f678
CY
128682012-02-22 Chong Yidong <cyd@gnu.org>
12869
12870 * custom.el (load-theme): Doc fix.
12871
f25aef2e
GM
128722012-02-22 Glenn Morris <rgm@gnu.org>
12873
12874 * dired-x.el (dired-guess-shell-alist-default):
12875 Remove escape sequences from nroff output. (Bug#172)
12876
5f8dc2ca
GM
128772012-02-21 Glenn Morris <rgm@gnu.org>
12878
6ff86ec4
GM
12879 * vc/emerge.el (emerge-defvar-local):
12880 Set `permanent-local' property rather than unused `preserved'.
12881
be3223a3 12882 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
12883 (picture-mode-map): Use it. (Bug#10860)
12884 (picture-mode): Doc fix.
12885
3fe58f4f
JB
128862012-02-21 Juanma Barranquero <lekktu@gmail.com>
12887
12888 * newcomment.el (uncomment-region-default): Remove unused binding.
12889
f9a998c3
GM
128902012-02-21 Glenn Morris <rgm@gnu.org>
12891
12892 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12893 (picture-self-insert, picture-tab-chars): Doc fix.
12894 (picture-mode-map): Fix C-a, C-e.
12895
c6029348
GM
128962012-02-20 Glenn Morris <rgm@gnu.org>
12897
12898 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12899
ab1ce9d7
LL
129002012-02-20 Leo Liu <sdl.web@gmail.com>
12901
12902 * icomplete.el (icomplete-completions): Check FROM arg before
12903 passing to substring (Bug#10850).
12904
0fd40f89
CY
129052012-02-19 Chong Yidong <cyd@gnu.org>
12906
12907 * comint.el: Require ansi-color.
12908 (comint-output-filter-functions): Add ansi-color-process-output.
12909
12910 * ansi-color.el: Don't set comint-output-filter-functions; it is
12911 now in the initial value defined in comint.el.
12912 (ansi-color-apply-face-function): New variable.
12913 (ansi-color-apply-on-region): Use it.
12914 (ansi-color-apply-overlay-face): New function.
12915
12916 * shell.el (shell): No need to require ansi-color.
12917 (shell-mode): Use ansi-color-apply-face-function to highlight
12918 color escapes using font-lock-face property (Bug#10835).
12919
20af2394
CY
129202012-02-19 Chong Yidong <cyd@gnu.org>
12921
12922 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12923 mode-line formats (Bug#10839).
12924
e23a3fbe
GM
129252012-02-18 Glenn Morris <rgm@gnu.org>
12926
b474519e
GM
12927 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12928
12929 * mail/undigest.el (unforward-rmail-message): Doc fix.
12930
e23a3fbe
GM
12931 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12932
57939ff4
EZ
129332012-02-18 Eli Zaretskii <eliz@gnu.org>
12934
12935 * international/characters.el (script-list): Sync with the latest
12936 Unicode Character Database.
12937
0c23686e
AS
129382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 * international/titdic-cnv.el: Remove duplicate coding tag.
12941 * language/cham.el: Likewise.
12942 * language/tai-viet.el: Likewise.
12943
6818b449
GM
129442012-02-18 Glenn Morris <rgm@gnu.org>
12945
12946 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12947 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12948 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12949 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12950 * calendar/holidays.el (holiday-bahai-holidays)
12951 (calendar-holidays, list-holidays):
12952 Use utf-8 Bahá'í in doc-strings, menus, etc.
12953
0311a3fc
TH
129542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12955
12956 * saveplace.el (save-place-ignore-files-regexp): New variable
12957 allowing for excluding files from saving their location of point.
12958 The default value matches the temporary commit message editing
12959 files from Git, SVN, Bazaar, and Mercurial.
12960 (save-place-to-alist): Use it.
12961
d209e2fb 129622012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 12963 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
12964
12965 * newcomment.el (uncomment-region-default): Don't leave extra space
12966 when an arg is provided (bug#8150).
12967
ee0ce425
TZ
129682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12969
eb864a71 12970 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 12971
95ddf442
GM
129722012-02-17 Glenn Morris <rgm@gnu.org>
12973
12974 * net/socks.el: Require network-stream. (Bug#10599)
12975
48dd1e39 129762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
12977
12978 * international/charprop.el:
12979 * international/uni-name.el:
12980 * international/uni-old-name.el:
12981 * international/uni-comment.el: Regenerate.
12982
d68cd087
GM
129832012-02-16 Glenn Morris <rgm@gnu.org>
12984
12985 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12986 Interactively in calendar buffer, give an error if not on a date.
12987
13932042
GM
129882012-02-15 Glenn Morris <rgm@gnu.org>
12989
12990 * shell.el (shell-delimiter-argument-list):
12991 Revert 2011-02-17 change. (Bug#8027)
12992
c3a70e2b
CY
129932012-02-15 Chong Yidong <cyd@gnu.org>
12994
60236b0d
CY
12995 * minibuffer.el (completion-at-point-functions): Doc fix.
12996
c3a70e2b
CY
12997 * custom.el (defcustom): Doc fix; note use of defvar.
12998
9f26dc24
GM
129992012-02-15 Glenn Morris <rgm@gnu.org>
13000
13001 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13002 Doc fixes.
13003
6546b134
GM
130042012-02-14 Glenn Morris <rgm@gnu.org>
13005
13006 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13007
d29b2b4c
LI
130082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13009
13010 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13011 way the ports list is computed.
835bdcba
LI
13012 (smtpmail-query-smtp-server): Prompt the user for a port number if
13013 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13014
08dcdbc9
TZ
130152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13016
13017 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13018
2605051a
GM
130192012-02-13 Glenn Morris <rgm@gnu.org>
13020
13021 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13022
7ee99f32
TZ
130232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13024
13025 * net/gnutls.el (gnutls-trustfiles): New variable.
13026 (gnutls-negotiate): Use it.
13027
5f0af64f
LI
130282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13029
13030 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13031 does its stuff if Gnus is running.
13032
c14fcc95
AM
130332012-02-13 Alan Mackenzie <acm@muc.de>
13034
13035 Fix a loop in c-set-fl-decl-start.
13036
7a71b18d 13037 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13038 c-backward-syntactic-ws actually moves backwards.
13039
142b4d90
LL
130402012-02-13 Leo Liu <sdl.web@gmail.com>
13041
13042 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13043 beginning so that all \C-o chars are removed.
13044
fa9958a6
TZ
130452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13046
dc9924b8 13047 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13048
0bc5886a
AM
130492012-02-12 Alan Mackenzie <acm@muc.de>
13050
13051 Fix infinite loop with long macros.
4d6769e1 13052 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13053
d4bd55e7
CY
130542012-02-12 Chong Yidong <cyd@gnu.org>
13055
13056 * window.el (display-buffer): Doc fix (Bug#10785).
13057
66f3fe22
GM
130582012-02-12 Glenn Morris <rgm@gnu.org>
13059
bd7da63e
GM
13060 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13061 (x-disown-selection-internal, x-get-selection-internal):
13062 Sync docs with the xselect.c versions.
13063
66f3fe22
GM
13064 * allout-widgets.el: Add missing license notice.
13065
3e0d2fa7
GM
130662012-02-11 Glenn Morris <rgm@gnu.org>
13067
cfecdf09
GM
13068 * select.el (x-get-selection-internal, x-own-selection-internal)
13069 (x-disown-selection-internal):
13070 * x-dnd.el (x-get-selection-internal): Update declarations.
13071
6d216d7f
GM
13072 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13073
2bed3f04
GM
13074 * window.el (window-sides-slots):
13075 * tool-bar.el (tool-bar-position):
13076 * term/xterm.el (xterm-extra-capabilities):
13077 * ses.el (ses-self-reference-early-detection):
13078 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13079 (verilog-auto-wire-type)
13080 (verilog-auto-delete-trailing-whitespace)
13081 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13082 (verilog-auto-tieoff-declaration):
13083 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13084 (sql-oracle-statement-starters, sql-oracle-scan-on):
13085 * progmodes/prolog.el (prolog-align-comments-flag)
13086 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13087 (prolog-left-indent-regexp, prolog-paren-indent-p)
13088 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13089 (prolog-types, prolog-mode-specificators)
13090 (prolog-determinism-specificators, prolog-directives)
13091 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13092 (prolog-electric-dot-flag)
13093 (prolog-electric-dot-full-predicate-template)
13094 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13095 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13096 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13097 (prolog-program-switches, prolog-prompt-regexp)
13098 (prolog-debug-on-string, prolog-debug-off-string)
13099 (prolog-trace-on-string, prolog-trace-off-string)
13100 (prolog-zip-on-string, prolog-zip-off-string)
13101 (prolog-use-standard-consult-compile-method-flag)
13102 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13103 (prolog-imenu-max-lines, prolog-info-predicate-index)
13104 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13105 (prolog-char-quote-workaround):
13106 * progmodes/cc-vars.el (c-defun-tactic):
13107 * net/tramp.el (tramp-encoding-command-interactive)
13108 (tramp-local-end-of-line):
13109 * net/soap-client.el (soap-client):
13110 * net/netrc.el (netrc-file):
13111 * net/gnutls.el (gnutls):
13112 * minibuffer.el (completion-category-overrides)
13113 (completion-cycle-threshold)
13114 (completion-pcm-complete-word-inserts-delimiters):
13115 * man.el (Man-name-local-regexp):
13116 * mail/feedmail.el (feedmail-display-full-frame):
13117 * international/characters.el (glyphless-char-display-control):
13118 * eshell/em-ls.el (eshell-ls-date-format):
13119 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13120 (lisp-lambda-list-keyword-parameter-indentation)
13121 (lisp-lambda-list-keyword-parameter-alignment):
13122 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13123 * dired-x.el (dired-omit-verbose):
13124 * cus-theme.el (custom-theme-allow-multiple-selections):
13125 * calc/calc.el (calc-highlight-selections-with-faces)
13126 (calc-lu-field-reference, calc-lu-power-reference)
13127 (calc-note-threshold):
13128 * battery.el (battery-mode-line-limit):
13129 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13130 (archive-7z-update):
13131 * allout.el (allout-prefixed-keybindings)
13132 (allout-unprefixed-keybindings)
13133 (allout-inhibit-auto-fill-on-headline)
13134 (allout-flattened-numbering-abbreviation):
13135 * allout-widgets.el (allout-widgets-auto-activation)
13136 (allout-widgets-icons-dark-subdir)
13137 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13138 (allout-widgets-theme-dark-background)
13139 (allout-widgets-theme-light-background)
13140 (allout-widgets-item-image-properties-emacs)
13141 (allout-widgets-item-image-properties-xemacs)
13142 (allout-widgets-run-unit-tests-on-load)
13143 (allout-widgets-time-decoration-activity)
13144 (allout-widgets-hook-error-post-time)
13145 (allout-widgets-track-decoration):
13146 Add missing :version tags to new defcustoms and defgroups.
13147
5fec1b8e
GM
13148 * progmodes/sql.el (sql-ansi-statement-starters)
13149 (sql-oracle-statement-starters): Add custom type.
13150
3e0d2fa7
GM
13151 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13152 (prolog-system-version): Give it a type.
13153
90b671e2
EZ
131542012-02-11 Eli Zaretskii <eliz@gnu.org>
13155
13156 * term/pc-win.el (x-select-text, x-selection-owner-p)
13157 (x-own-selection-internal, x-disown-selection-internal)
13158 (x-get-selection-internal): Sync doc strings and argument lists
13159 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13160
5eac0c02
LL
131612012-02-11 Leo Liu <sdl.web@gmail.com>
13162
13163 * progmodes/python.el (python-end-of-statement): Fix infinite
13164 loop. (Bug#10788)
13165
f82cb659
GM
131662012-02-10 Glenn Morris <rgm@gnu.org>
13167
13168 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13169 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13170
cc26d239
LI
131712012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13172
13173 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13174 about SMTP before checking the From header.
13175
91027d08 13176 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13177 into own function for reuse by emacsbug.el.
13178
1be3ca5a
LL
131792012-02-10 Leo Liu <sdl.web@gmail.com>
13180
13181 * subr.el (condition-case-unless-debug): Rename from
13182 condition-case-no-debug. All callers changed.
13183 (with-demoted-errors): Fix caller.
13184
13185 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13186 * nxml/rng-valid.el (rng-do-some-validation):
13187 * emacs-lisp/package.el (package-refresh-contents)
13188 (package-menu-execute):
13189 * desktop.el (desktop-create-buffer):
91027d08 13190 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13191
b011fbfe
GM
131922012-02-10 Glenn Morris <rgm@gnu.org>
13193
b2096d72
GM
13194 * textmodes/bibtex.el:
13195 Add missing :version tags for new/changed defcustoms.
13196
b011fbfe
GM
13197 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13198
4c7e65bf
LI
131992012-02-09 Lars Ingebrigtsen <larsi@rusty>
13200
13201 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13202 (smtpmail-via-smtp): Use it, or fall back on the From address.
13203 (smtpmail-send-it): Ditto.
13204
f3934f6f
SM
132052012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13208 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13209 (byte-compile-tmp-var): New const.
13210 (byte-compile-defvar): Use it to minimize .elc size.
13211 Just use `defvar' rather than simulate it (bug#10761).
13212
a075a2c5
GM
132132012-02-09 Glenn Morris <rgm@gnu.org>
13214
cf3aa21b
GM
13215 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13216
354998cd
GM
13217 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13218 Add :version tags.
13219
dc9924b8
SM
13220 * progmodes/compile.el (compilation-error-screen-columns)
13221 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13222
dab3703d
GM
13223 * vc/log-view.el (log-view-toggle-entry-display):
13224 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13225
3f88cd72
GM
13226 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13227 (report-emacs-bug-can-use-xdg-email):
13228 (report-emacs-bug-insert-to-mailer): Doc fixes.
13229 (report-emacs-bug): Message fix.
13230
d95b247d
GM
13231 * net/browse-url.el (browse-url-can-use-xdg-open)
13232 (browse-url-xdg-open): Doc fixes.
13233
a075a2c5
GM
13234 * electric.el (electric-indent-mode, electric-pair-mode)
13235 (electric-layout-rules, electric-layout-mode): Doc fixes.
13236 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13237
ffb6157e
MR
132382012-02-08 Martin Rudalics <rudalics@gmx.at>
13239
13240 * server.el (server-unselect-display): Don't inadvertently kill
13241 the current buffer. (Bug#10729)
13242
e1ac4066
GM
132432012-02-08 Glenn Morris <rgm@gnu.org>
13244
34e8a2da
GM
13245 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13246 (sql-list-table): Doc fixes.
13247
b4ac6e8c
GM
13248 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13249 Comment out (does nothing).
13250
e1ac4066
GM
13251 * completion.el (dynamic-completion-mode):
13252 * dirtrack.el (dirtrack-debug-mode):
13253 * electric.el (electric-layout-mode):
13254 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13255 * face-remap.el (text-scale-mode, buffer-face-mode):
13256 * iimage.el (iimage-mode):
13257 * image-mode.el (image-transform-mode):
13258 * minibuffer.el (completion-in-region-mode):
13259 * scroll-lock.el (scroll-lock-mode):
13260 * simple.el (next-error-follow-minor-mode):
13261 * tar-mode.el (tar-subfile-mode):
13262 * tooltip.el (tooltip-mode):
13263 * vcursor.el (vcursor-use-vcursor-map):
13264 * wid-browse.el (widget-minor-mode):
13265 * emulation/tpu-edt.el (tpu-edt-mode):
13266 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13267 * international/iso-ascii.el (iso-ascii-mode):
13268 * language/thai-util.el (thai-word-mode):
13269 * mail/supercite.el (sc-minor-mode):
13270 * net/goto-addr.el (goto-address-mode):
13271 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13272 * progmodes/cwarn.el (cwarn-mode):
13273 * progmodes/flymake.el (flymake-mode):
13274 * progmodes/glasses.el (glasses-mode):
13275 * progmodes/hideshow.el (hs-minor-mode):
13276 * progmodes/pascal.el (pascal-outline-mode):
13277 * textmodes/enriched.el (enriched-mode):
13278 * vc/smerge-mode.el (smerge-mode):
13279 Doc fixes (minor mode argument).
13280
5e0d957f
EZ
132812012-02-07 Eli Zaretskii <eliz@gnu.org>
13282
13283 * ls-lisp.el (ls-lisp-sanitize): New function.
13284 (ls-lisp-insert-directory): Use it to fix or remove any elements
13285 in file-alist with missing attributes. (Bug#4673)
13286
98d7371e
AM
132872012-02-07 Alan Mackenzie <acm@muc.de>
13288
13289 Fix spurious recognition of c-in-knr-argdecl.
13290
13291 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13292 putative K&R region.
13293
667ced3a
AM
132942012-02-07 Alan Mackenzie <acm@muc.de>
13295
eb864a71
LM
13296 * progmodes/cc-engine.el (c-forward-objc-directive):
13297 Prevent looping in "#pragma mark @implementation".
667ced3a 13298
5b77774d
MA
132992012-02-07 Michael Albinus <michael.albinus@gmx.de>
13300
13301 * notifications.el (notifications-on-closed-signal): Make `reason'
13302 optional. (Bug#10744)
13303
af008560
GM
133042012-02-07 Glenn Morris <rgm@gnu.org>
13305
60d47423
GM
13306 * emacs-lisp/easy-mmode.el (define-minor-mode):
13307 Doc fixes for the macro and the mode it defines.
13308
dd605cc4
GM
13309 * image.el (imagemagick-types-inhibit): Doc fix.
13310
af008560
GM
13311 * cus-start.el (imagemagick-render-type): Add it.
13312
5cc59a37
LI
133132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13314
4d6769e1
JB
13315 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13316 Set the default at load time, too, so that `font-lock-fontify-buffer'
13317 can be called without setting up the entire mode first. This fixes
13318 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13319
9a6dd747
CY
133202012-02-06 Chong Yidong <cyd@gnu.org>
13321
2d16b285
CY
13322 * simple.el (list-processes--refresh): Delete exited processes
13323 (Bug#8094).
13324
171e9b6e
CY
13325 * comint.el (comint-next-prompt): next-single-char-property-change
13326 and prev-single-char-property-change never return nil (Bug#8657).
13327
9a6dd747
CY
13328 * custom.el (defcustom): Doc fix (Bug#9711).
13329
aa4589a7
CY
133302012-02-05 Chong Yidong <cyd@gnu.org>
13331
5c2a252f
CY
13332 * cus-edit.el (custom-variable-reset-backup): Quote the value
13333 before storing it in the customized-value property (Bug#6712).
4aab9006 13334 (custom-display): Add a customization type tag.
983b9602 13335 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13336
aa4589a7
CY
13337 * wid-edit.el (widget-field-value-get): New optional arg to
13338 suppress trailing whitespace truncation.
13339 (character): Use it (Bug#2689).
13340
1ff980ae
AS
133412012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13342
13343 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13344 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13345
03988c98
CY
133462012-02-05 Chong Yidong <cyd@gnu.org>
13347
eeb6cc88
CY
13348 * cus-edit.el (custom-variable-value-create): For mismatched
13349 types, show the current value (Bug#7600).
13350
03988c98
CY
13351 * custom.el (defcustom): Doc fix.
13352
f8cdeef0
GM
133532012-02-05 Glenn Morris <rgm@gnu.org>
13354
13355 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13356
0696d255
JB
133572012-02-05 Juanma Barranquero <lekktu@gmail.com>
13358
13359 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13360 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13361 (pp-last-sexp): Use `looking-at-p'.
13362
34c99998
GM
133632012-02-04 Glenn Morris <rgm@gnu.org>
13364
8f05da42
GM
13365 * files.el (revert-buffer):
13366 Doc fix (mention revert-buffer-in-progress-p).
13367
f160676e
GM
13368 * emacs-lisp/ert-x.el (ert-simulate-command):
13369 Check deferred-action-list (which is obsolete) is bound.
13370
c7291ad9
GM
13371 * subr.el (with-wrapper-hook): Doc fixes.
13372
34c99998
GM
13373 * simple.el (filter-buffer-substring-functions)
13374 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13375
6283a7d3
LL
133762012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13377
13378 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13379 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13380
e96e3013
LL
133812012-02-04 Leo Liu <sdl.web@gmail.com>
13382
13383 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13384
8ded50f2
GM
133852012-02-04 Glenn Morris <rgm@gnu.org>
13386
82ff1d13
GM
13387 * image.el (image-extension-data): Add obsolete alias.
13388
987a0a16
GM
13389 * isearch.el (isearch-update): Doc fix.
13390
ea32ef46
GM
13391 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13392
8ded50f2
GM
13393 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13394
eea14f31
GM
133952012-02-03 Glenn Morris <rgm@gnu.org>
13396
13397 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13398 (image-animate-timeout): Doc fix.
13399
13400 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13401
12f381b7
GM
134022012-02-02 Glenn Morris <rgm@gnu.org>
13403
953cebf5
GM
13404 * server.el (server-auth-dir): Doc fix.
13405 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13406
12f381b7
GM
13407 * subr.el (run-mode-hooks): Doc fix.
13408
953a8c3b
JL
134092012-02-02 Juri Linkov <juri@jurta.org>
13410
13411 * image-mode.el (image-toggle-display-image): Remove tautological
13412 `major-mode' from the `derived-mode-p' test.
13413
c5d3843c
KH
134142012-02-02 Kenichi Handa <handa@m17n.org>
13415
9f6e692e 13416 * composite.el (compose-region): Cancel previous change.
c5d3843c 13417
159462d4 134182012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13419
13420 * composite.el (compose-region, compose-string): Signal error for
13421 a null string component (Bug#6988).
13422
9f562668
CY
134232012-02-01 Chong Yidong <cyd@gnu.org>
13424
e2cef717
CY
13425 * view.el (view-buffer-other-window, view-buffer-other-frame):
13426 Handle special modes like view-buffer (Bug#10650).
13427 (view-buffer): Simplify.
13428
9f562668
CY
13429 * frame.el (set-frame-font): Tweak meaning of third argument.
13430
9f6e692e
JB
13431 * dynamic-setting.el (font-setting-change-default-font):
13432 Use set-frame-font (Bug#9982).
9f562668 13433
781acb9f
GM
134342012-02-01 Glenn Morris <rgm@gnu.org>
13435
6035be52
GM
13436 * progmodes/compile.el (compilation-internal-error-properties):
13437 Respect compilation-first-column in the "*compilation*" buffer.
13438
781acb9f
GM
13439 * emacs-lisp/easy-mmode.el (define-minor-mode):
13440 Relax :variable's test for a named function.
13441
abbceb00
AM
134422012-01-31 Alan Mackenzie <acm@muc.de>
13443
13444 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13445 off by one error.
13446
fce3fdeb
CY
134472012-01-31 Chong Yidong <cyd@gnu.org>
13448
13449 * frame.el (set-frame-font): New arg ALL-FRAMES.
13450
13451 * menu-bar.el (menu-set-font): Use set-frame-font.
13452
13453 * faces.el (face-spec-reset-face): Don't apply unspecified
13454 attribute values to the default face.
13455
47893581
JB
134562012-01-31 Juanma Barranquero <lekktu@gmail.com>
13457
13458 * progmodes/cwarn.el (cwarn): Remove dead link.
13459 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13460 Remove * from defcustom docstrings.
13461 (turn-on-cwarn-mode): Make obsolete.
13462 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13463 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13464
e58e988a
GM
134652012-01-31 Glenn Morris <rgm@gnu.org>
13466
60dc2671 13467 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13468 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13469 Allow named functions to be used as the cdr of :variable.
e58e988a 13470
7a3f511d
GM
134712012-01-30 Glenn Morris <rgm@gnu.org>
13472
13473 * emacs-lisp/authors.el (authors-fixed-entries):
13474 Remove reference to deleted file rnewspost.el.
13475
cb882333
JB
134762012-01-29 Juanma Barranquero <lekktu@gmail.com>
13477
13478 * window.el (window-with-parameter): Remove unused variable `windows'.
13479 (window--side-check): Remove unused variable `code'.
13480 (window--resize-siblings): Remove unused variable `first'.
13481 (adjust-window-trailing-edge): Remove unused variable `failed'.
13482 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13483 Use `let', not `let*'.
13484 (balance-windows-2): Remove unused variable `found'.
13485 (window--state-put-2): Remove unused variable `splits'.
13486 (window-state-put): Remove unused variable `selected'.
13487 (same-window-p): Use `string-match-p'.
13488 (display-buffer-assq-regexp): Remove unused variable `value'.
13489 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13490 Mark argument ALIST as ignored.
13491 (pop-to-buffer): Remove unused variable `old-window'.
13492
907201af
EZ
134932012-01-29 Eli Zaretskii <eliz@gnu.org>
13494
13495 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13496 and .lzma compressed files.
13497
ea162670
CY
134982012-01-29 Chong Yidong <cyd@gnu.org>
13499
5b95ee8a
CY
13500 * frame.el (window-system-default-frame-alist): Doc fix.
13501
ea162670
CY
13502 * dynamic-setting.el (font-setting-change-default-font): Don't
13503 change the default face if SET-FONT argument is non-nil (Bug#9982).
13504
6fccd6e8 135052012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13506
13507 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13508
0f29fa41 135092012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13510
13511 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13512 breakpoints in files outside current directory (Bug#6098).
13513
db174434
CY
135142012-01-29 Chong Yidong <cyd@gnu.org>
13515
6b25e4e2
SE
13516 * progmodes/python.el: Require ansi-color at top-level.
13517
6df6ae42
JB
13518 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13519 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13520 (lisp-mode-abbrev-table): Add doc.
13521 (lisp-mode-variables): Don't set local-abbrev-table.
13522 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13523
e70ee681
RW
135242012-01-28 Roland Winkler <winkler@gnu.org>
13525
13526 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13527
ace88aa2
RW
135282012-01-28 Roland Winkler <winkler@gnu.org>
13529
13530 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13531 (bibtex-set-dialect): Use it. Either set global values of
13532 dialect-dependent variables or bind these variables buffer-locally
13533 (Bug#10254).
13534 (bibtex-mode): Call bibtex-set-dialect via
13535 hack-local-variables-hook.
eb864a71
LM
13536 (bibtex-dialect): Update docstring.
13537 Add safe-local-variable predicate.
ace88aa2
RW
13538 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13539 bibtex-set-dialect.
13540 (bibtex-mode-map): Define menu for each dialect.
13541 (bibtex-entry): Fix docstring.
13542
93376c5b
CY
135432012-01-28 Chong Yidong <cyd@gnu.org>
13544
13545 * eshell/esh-arg.el (eshell-quote-argument): New function.
13546
13547 * eshell/esh-ext.el (eshell-invoke-batch-file):
13548 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13549 first arg to eshell-parse-command (Bug#10523).
13550
4372494f
DA
135512012-01-28 Drew Adams <drew.adams@oracle.com>
13552
13553 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13554 `default-directory' is non-nil.
13555
4d4ec1f8
EZ
135562012-01-28 Eli Zaretskii <eliz@gnu.org>
13557
13558 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13559 line that displays system-configuration-options. (Bug#9924)
13560
7c188927
DA
135612012-01-28 Drew Adams <drew.adams@oracle.com>
13562
13563 * descr-text.el (describe-char): Show information about POS, in
13564 addition to information about the character at POS. Improve and
13565 update the doc string. Change "code point" to "code point in
13566 charset", to avoid confusion with the character's Unicode code
13567 point shown above that. (Bug#10129)
13568
e0da685a
EZ
135692012-01-28 Eli Zaretskii <eliz@gnu.org>
13570
13571 * descr-text.el (describe-char): Show the raw character, not only
13572 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13573 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13574 for the reasons.
13575
70550acf
PH
135762012-01-28 Phil Hagelberg <phil@hagelb.org>
13577
eb864a71
LM
13578 * emacs-lisp/package.el (package-install):
13579 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13580
0ce8e868
CY
135812012-01-28 Chong Yidong <cyd@gnu.org>
13582
cb882333
JB
13583 * emacs-lisp/package.el (package-maybe-load-descriptor):
13584 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13585 (package-maybe-load-descriptor): Use it.
13586 (package-download-transaction): Fully load required packages
13587 inside the loop, so that `require' calls work (Bug#10593).
13588 (package-install): No need to call package-initialize now.
13589
2e7f3bea
CY
135902012-01-28 Chong Yidong <cyd@gnu.org>
13591
6e9bad14
CY
13592 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13593
f823b8ca
CY
13594 * tooltip.el (tooltip-mode): Doc fix.
13595 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13596
2680c309
CY
13597 * frame.el (set-cursor-color): Doc fix (Bug#352).
13598
d7a9e63b
CY
13599 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13600 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13601
2e7f3bea
CY
13602 * cus-edit.el (custom-buffer-create-internal): Fix search button
13603 action (Bug#10542).
2ae01800 13604 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13605
fc4f7a23
EW
136062012-01-27 Eduard Wiebe <usenet@pusto.de>
13607
13608 * dired.el (dired-mark-files-regexp):
13609 Include any subdirectory components. (Bug#10445)
13610
7dd37071
ML
136112012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13612
13613 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13614 Handle [host]:port syntax. (Bug#10533)
13615
a268160b
AH
136162012-01-27 Alex Harsanyi <harsanyi@mac.com>
13617
13618 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13619
e43273ef
GM
136202012-01-26 Glenn Morris <rgm@gnu.org>
13621
13622 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13623 * term.el (term-raw-escape-map): Use Control-X-prefix.
13624 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13625
1edf595d
MR
136262012-01-25 Martin Rudalics <rudalics@gmx.at>
13627
13628 * window.el (window-state-get, window--state-get-1): Don't deal
13629 with fixed-sizeness of windows. Simplify code.
13630
fa8eafef
JC
136312012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13632
6df6ae42
JB
13633 * window.el (window--state-get-1, window--state-put-2):
13634 Don't save and restore the mark.
fa8eafef 13635
0b21c100
CY
136362012-01-25 Chong Yidong <cyd@gnu.org>
13637
13638 * custom.el (custom-variable-p): Doc fix.
13639
5ae1a6c8
GM
136402012-01-25 Glenn Morris <rgm@gnu.org>
13641
40047858
GM
13642 * dired.el (dired-goto-file): Handle some of the more common
13643 characters that `ls -b' escapes. (Bug#10596)
13644
5ddce96c
GM
13645 * progmodes/compile.el (compilation-next-error-function):
13646 Respect compilation-first-column in the "*compilation*" buffer.
13647 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13648
5ae1a6c8
GM
13649 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13650
b559f1a9
GM
136512012-01-24 Glenn Morris <rgm@gnu.org>
13652
13653 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13654
6725d21a
JD
136552012-01-24 Julien Danjou <julien@danjou.info>
13656
13657 * color.el (color-rgb-to-hsl): Fix value computing.
13658 (color-hue-to-rgb): New function.
13659 (color-hsl-to-rgb): New function.
13660 (color-clamp, color-saturate-hsl, color-saturate-name)
13661 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13662 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13663
70df4bbe
GM
136642012-01-24 Glenn Morris <rgm@gnu.org>
13665
13666 * vc/vc-rcs.el (vc-rcs-create-tag):
13667 * vc/vc-sccs.el (vc-sccs-create-tag):
13668 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13669
802a2ae2
ML
136702012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13671
13672 * eshell/esh-util.el (eshell-read-hosts-file):
13673 Skip comment lines. (Bug#10549)
13674
d7128bb1
ML
13675 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13676
d1a5c3b4
JB
136772012-01-23 Juanma Barranquero <lekktu@gmail.com>
13678
2724d9c7
JB
13679 * subr.el (display-delayed-warnings): Doc fix.
13680 (collapse-delayed-warnings): New function to collapse identical
13681 adjacent warnings.
13682 (delayed-warnings-hook): Add it.
d1a5c3b4 13683
a5509865
MA
136842012-01-22 Michael Albinus <michael.albinus@gmx.de>
13685
13686 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13687
a5509865
MA
13688 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13689 (tramp-default-user-alist): Don't add "pscp".
13690 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13691 property "login-as", if set. (Bug#10530)
13692
cc6d5805
MA
136932012-01-21 Michael Albinus <michael.albinus@gmx.de>
13694
13695 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13696 "plink1" and "psftp". (Bug#10530)
13697
136982012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13699
13700 * international/mule-cmds.el (prefer-coding-system): Show a
13701 warning message if the default value of file-name-coding-system
13702 was not changed.
13703
f0960428
JC
137042012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13705
cb882333
JB
13706 * windmove.el (windmove-reference-loc):
13707 Fix windmove-reference-loc miscalculation.
f0960428 13708
dd6f2a63
JB
137092012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13710
13711 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13712 default unit.
13713
7b447e9b
GM
137142012-01-21 Glenn Morris <rgm@gnu.org>
13715
117a9ea1
GM
13716 * international/mule.el (auto-coding-alist): Add .tbz.
13717
7b447e9b
GM
13718 * files.el (local-enable-local-variables): Doc fix.
13719 (inhibit-local-variables-regexps): Rename from
13720 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13721 Doc fix. Add some extensions from auto-coding-alist.
13722 (inhibit-local-variables-suffixes):
13723 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13724 (inhibit-local-variables-p):
13725 New function, extracted from set-auto-mode-1.
13726 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13727 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13728 (hack-local-variables): Doc fix. Make the mode-only case
13729 respect enable-local-variables and friends.
13730 Respect inhibit-local-variables-regexps for file-locals, but
13731 not for directory-locals.
13732 (set-visited-file-name):
13733 Take account of inhibit-local-variables-regexps.
13734 Whether it applies may change as the file name is changed.
13735 * jka-cmpr-hook.el (jka-compr-install):
13736 * jka-compr.el (jka-compr-uninstall):
13737 Update for inhibit-first-line-modes-suffixes name change.
13738
dd6e3cdd
MR
137392012-01-20 Martin Rudalics <rudalics@gmx.at>
13740
13741 * help-macro.el (make-help-screen): Temporarily restore original
13742 binding for minor-mode-map-alist (Bug#10454).
13743
0d0deb38
JD
137442012-01-19 Julien Danjou <julien@danjou.info>
13745
13746 * color.el (color-name-to-rgb): Use the white color to find the max
13747 color component value and return correctly computed values.
13748 (color-name-to-rgb): Add missing float conversion for max value.
13749
34a02f46
MR
137502012-01-19 Martin Rudalics <rudalics@gmx.at>
13751
13752 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13753 special state value for window-persistent-parameters.
13754 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13755 (window--state-put-2): Reset all window parameters to nil before
13756 assigning values of persistent parameters.
13757
606c44c4
AM
137582012-01-18 Alan Mackenzie <acm@muc.de>
13759
13760 Eliminate sluggishness and hangs in fontification of "semicolon
13761 deserts".
13762
cb882333
JB
13763 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13764 Change value 10000 -> 3000.
606c44c4
AM
13765 (c-state-safe-place): Reformulate so it doesn't stack up an
13766 infinite number of wrong entries in c-state-nonlit-pos-cache.
13767 (c-determine-limit-get-base, c-determine-limit): New functions to
13768 determine backward search limits disregarding literals.
13769 (c-find-decl-spots): Amend commenting.
13770 (c-cheap-inside-bracelist-p): New function which detects "={".
13771
13772 * progmodes/cc-fonts.el
13773 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13774 backward search.
13775 (c-font-lock-declarations): Fix an occurrence of point being
13776 undefined. Check additionally for point being in a bracelist or
13777 near a macro invocation without a semicolon so as to avoid a
13778 fruitless time consuming search for a declarator. Give a more
13779 precise search limit for declarators using the new
13780 c-determine-limit.
13781
f3860cea
GM
137822012-01-18 Glenn Morris <rgm@gnu.org>
13783
13784 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13785 (set-auto-mode): Doc fixes.
13786
1db03b16
GM
137872012-01-17 Glenn Morris <rgm@gnu.org>
13788
0e6038be
GM
13789 * isearch.el (search-nonincremental-instead): Fix doc typo.
13790
1db03b16
GM
13791 * dired.el (dired-insert-directory): Handle newlines in directory name.
13792 (dired-build-subdir-alist): Unescape newlines in directory name.
13793
4cb0aa75
MA
137942012-01-17 Michael Albinus <michael.albinus@gmx.de>
13795
13796 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13797 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13798 (tramp-action-terminal): Use it. (Bug#10530)
13799
1d00653d
SM
138002012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13801
13802 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13803
6a6ee00d
MR
138042012-01-16 Martin Rudalics <rudalics@gmx.at>
13805
13806 * window.el (window-state-ignored-parameters): Remove variable.
13807 (window--state-get-1): Rename argument MARKERS to IGNORE.
13808 Handle persistent window parameters. Make copy of clone-of
13809 parameter only if requested. (Bug#10348)
13810 (window--state-put-2): Install a window parameter only if it has
13811 a non-nil value or an existing parameter shall be overwritten.
13812
97912def
MA
138132012-01-15 Michael Albinus <michael.albinus@gmx.de>
13814
13815 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13816
688070a5
EZ
138172012-01-14 Eli Zaretskii <eliz@gnu.org>
13818
13819 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13820 don't pass the (nil) value of `upnode' to string-match.
13821
301afadc
CY
138222012-01-14 Chong Yidong <cyd@gnu.org>
13823
13824 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13825 Fix values recognized by the cursorBlink resource.
301afadc 13826
9e5788aa
PE
138272012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13828
13829 * epg.el (epg--make-temp-file): Avoid permission race condition
13830 when running on old Emacs versions (bug#10403).
13831
3cdb7f5a
GM
138322012-01-14 Glenn Morris <rgm@gnu.org>
13833
13834 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13835
8c82b1b4
AM
138362012-01-13 Alan Mackenzie <acm@muc.de>
13837
13838 Fix filling for when filladapt mode is enabled.
13839
13840 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13841 c-mask-paragraph, pass in `fill-paragraph' rather than
13842 `fill-region-as-paragraph'. (This is a reversion of a previous
13843 change.)
eb864a71
LM
13844 * progmodes/cc-mode.el (c-basic-common-init):
13845 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13846
e517eda4
GM
138472012-01-13 Glenn Morris <rgm@gnu.org>
13848
1498536e
GM
13849 * dired.el (dired-switches-escape-p): New function.
13850 (dired-insert-directory): Use dired-switches-escape-p.
13851 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13852
e517eda4
GM
13853 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13854
328f984d
GM
138552012-01-12 Glenn Morris <rgm@gnu.org>
13856
13857 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13858 changes in adaptive-fill-regexp. (Bug#10276)
13859
2cc769a8
AM
138602012-01-11 Alan Mackenzie <acm@muc.de>
13861
13862 Fix Emacs bug #10463 - put `widen's around the critical spots.
13863
1d00653d 13864 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
13865 widen around each invocation of c-state-pp-to-literal. Remove an
13866 unused let variable.
13867
e52c37fa
GM
138682012-01-11 Glenn Morris <rgm@gnu.org>
13869
13870 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 13871 Doc fix.
e52c37fa 13872
96f8741e
CY
138732012-01-10 Chong Yidong <cyd@gnu.org>
13874
1d00653d
SM
13875 * net/network-stream.el (network-stream-open-starttls):
13876 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
13877 response to the capability command.
13878
b09a806e
GM
138792012-01-10 Glenn Morris <rgm@gnu.org>
13880
13881 * mail/unrmail.el (unrmail): Tweak previous change.
13882
7655cb66
CY
138832012-01-09 Chong Yidong <cyd@gnu.org>
13884
13885 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13886
9d5a8f0b
AM
138872012-01-08 Alan Mackenzie <acm@muc.de>
13888
677d5c92 13889 Optimize font locking in long enum definitions.
9d5a8f0b
AM
13890
13891 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13892 arm to a cond form to handle enums.
13893 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13894 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13895
9a0115ab 138962012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
13897
13898 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 13899 (Bug#10401)
6bb72cbd 13900
f186bb95
LMI
139012012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13902
29232a68
LMI
13903 * faces.el (set-face-attribute): Clarify the meaning of the nil
13904 frame (bug#10294).
13905
4e5d086d
LMI
13906 * subr.el (with-selected-frame): Mention that the selected frame
13907 is restored (bug#9980).
13908
8e66aebe
LMI
13909 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13910 (bug#9759).
13911
cd394be1 13912 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
13913 (password-read): Don't autoload unused function.
13914
adf4e762
JB
139152012-01-07 Juanma Barranquero <lekktu@gmail.com>
13916
13917 * progmodes/which-func.el (which-func-mode): Turn into a
13918 non-interactive function and mark as obsolete (bug#10428).
13919
89bd9ccd
CY
139202012-01-06 Chong Yidong <cyd@gnu.org>
13921
13922 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13923 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13924 functions, along with 1 and -1.
13925
4afee9d5
EZ
139262012-01-06 Eli Zaretskii <eliz@gnu.org>
13927
13928 * time.el (display-time-load-average)
13929 (display-time-default-load-average): Doc fixes. See the thread
13930 starting at
13931 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13932 for the details.
13933
536aea70
GM
139342012-01-06 Glenn Morris <rgm@gnu.org>
13935
665ae865
GM
13936 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13937 has no messages. (Bug#10377)
13938
c869783d
GM
13939 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13940 than Info-edit. (Bug#10385)
13941
2bb4227e
GM
13942 * time.el (display-time-load-average, display-time-next-load-average):
13943 Doc fixes.
13944
7d5944b9
GM
13945 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13946 local setting of buffer-read-only to the input buffer. (Bug#10419)
13947
536aea70
GM
13948 * calendar/calendar.el (calendar-mode):
13949 Locally set scroll-margin to 0. (Bug#10379)
13950
7dccca16
UM
139512012-01-06 Ulrich Mueller <ulm@gentoo.org>
13952
13953 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13954
afbb7930
GM
139552012-01-05 Glenn Morris <rgm@gnu.org>
13956
13957 * eshell/em-unix.el (diff-no-select): Autoload it.
13958 (eshell/diff): Use diff-no-select. (Bug#10420)
13959
04482335
CY
139602012-01-05 Chong Yidong <cyd@gnu.org>
13961
7baca3bc
CY
13962 * shell.el (shell-dynamic-complete-functions): Revert last change.
13963 (shell-command-completion-function): New function.
13964 (shell-completion-vars): Use it to implement
13965 shell-completion-execonly (Bug#10417).
13966
04482335
CY
13967 * custom.el (enable-theme): Don't set custom-safe-themes.
13968
1d00653d
SM
13969 * cus-theme.el (custom-theme-merge-theme):
13970 Ignore custom-enabled-themes and custom-safe-themes.
04482335 13971
bb5aa5d6
MM
139722012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13973
13974 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13975 first prompt in `sql-interacive-mode'.
13976 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 13977 keywords.
6df6ae42 13978 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
13979 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13980 context of original buffer. Invoke `sql-login-hook'.
13981
a7183d7c
EZ
139822012-01-04 Eli Zaretskii <eliz@gnu.org>
13983
13984 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13985 letters in cite-prefix.
13986
a1eacd1e
LMI
139872012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13988
13989 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13990
787cdb34
CY
139912012-01-03 Chong Yidong <cyd@gnu.org>
13992
1d00653d
SM
13993 * shell.el (shell-dynamic-complete-functions):
13994 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
13995 comint-filename-completion first (Bug#10417).
13996
30710442
RS
139972012-01-02 Richard Stallman <rms@gnu.org>
13998
13999 * battery.el (battery-status-function):
14000 Detect when to use battery-yeeloong-sysfs.
14001 (battery-echo-area-format): Add string for Yeeloong.
14002 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14003 (battery-yeeloong-sysfs): New function.
14004
f75bfc33
CY
140052012-01-02 Chong Yidong <cyd@gnu.org>
14006
14007 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14008 (dirtrack): Merge code for handling relative filenames in prompt
14009 from shell-dir-cookie-watcher.
14010 (dirtrack-debug-message): New arg to avoid excess format calls.
14011
14012 * shell.el (shell-dir-cookie-re): Variable deleted.
14013 (shell-dir-cookie-watcher): Function deleted.
14014 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14015 with dirtrack-mode.
14016
651e947e
EZ
140172012-01-01 Eli Zaretskii <eliz@gnu.org>
14018
1d00653d
SM
14019 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14020 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14021 libgnutls-26.dll.
14022
94d4c7dc
AS
140232011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14024
14025 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14026
8d43f3cd
EZ
140272011-12-31 Eli Zaretskii <eliz@gnu.org>
14028
14029 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14030 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14031
98c8795a
MA
140322011-12-29 Michael Albinus <michael.albinus@gmx.de>
14033
14034 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14035 also for alternative shells.
14036 (tramp-open-connection-setup-interactive-shell): Check, whether
14037 the shell is a busybox.
14038 (tramp-send-command): Don't suppress multiple prompts for
14039 busyboxes, it hurts.
14040
51281b32
CY
140412011-12-28 Chong Yidong <cyd@gnu.org>
14042
14043 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14044 (gdb-get-source-file): Move mode line update to
14045 gdb-get-source-file (Bug#10087).
14046
2170cb53
CY
140472011-12-25 Chong Yidong <cyd@gnu.org>
14048
14049 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14050 gud-gdb-marker-filter without taking it as an argument.
14051 (gud-gdb-run-command-fetch-lines): Caller changed.
14052 (gud-gdb-completion-function): New variable.
14053 (gud-gdb-completion-at-point): Use it.
14054 (gud-gdb-completions-1): Split from gud-gdb-completions.
14055
14056 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14057 function as separate arguments.
14058 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14059 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14060 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14061 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14062 (gdb-stopped, def-gdb-auto-update-trigger)
14063 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14064 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14065 Callers changed.
2170cb53
CY
14066 (gud-gdbmi-completions): New function.
14067 (gdb): Use it for generating the completion table.
14068
be8b11bb
AM
140692011-12-24 Alan Mackenzie <acm@muc.de>
14070
14071 Introduce a mechanism to widen the region used in context font
1d00653d 14072 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14073
1d00653d
SM
14074 * progmodes/cc-langs.el (c-before-font-lock-functions):
14075 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14076 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14077 functions to be run just before context (etc.) font locking.
14078
14079 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14080 New, functionality extracted from
be8b11bb 14081 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14082 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14083 (c-after-change): Set c-in-after-change-fontification.
14084 (c-set-fl-decl-start): Rejig its interface, so it can be called
14085 from both after-change and context fontifying.
b81d40f0
JB
14086 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14087 New functions.
14088 (c-standard-font-lock-fontify-region-function): New variable.
14089 (c-font-lock-fontify-region): New function.
be8b11bb 14090
341cf6ac
JL
140912011-12-24 Juri Linkov <juri@jurta.org>
14092
14093 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14094 (Bug#10348)
14095
bffcee0a
MA
140962011-12-23 Michael Albinus <michael.albinus@gmx.de>
14097
14098 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14099 existence of source file. (Bug#10325)
14100
cb5e207c
AM
141012011-12-23 Alan Mackenzie <acm@muc.de>
14102
14103 Fix unstable fontification inside templates.
14104
b81d40f0
JB
14105 * progmodes/cc-langs.el (c-before-font-lock-functions):
14106 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14107 additionally has c-set-fl-decl-start. The other languages (apart
14108 from AWK) have that as a single entry.
14109
b81d40f0
JB
14110 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14111 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14112 c-set-fl-decl-start.
14113
b81d40f0
JB
14114 * progmodes/cc-mode.el (c-common-init, c-after-change):
14115 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14116 (c-set-fl-decl-start): New function, extracted from
14117 c-font-lock-enclosing-decls and enhanced.
14118
60ff536c
JB
141192011-12-23 Juanma Barranquero <lekktu@gmail.com>
14120
14121 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14122
1c4757d6
JL
141232011-12-22 Juri Linkov <juri@jurta.org>
14124
14125 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14126
d031f2c7
CY
141272011-12-22 Chong Yidong <cyd@gnu.org>
14128
14129 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14130
bace743a
DA
141312011-12-21 Drew Adams <drew.adams@oracle.com>
14132
14133 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14134
728a1f2b
JC
141352011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14136
14137 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14138
0d373f73
TZ
141392011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14140
fec0aaa4
TZ
14141 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14142 highlighting and support. Fix up comments for capitalization.
14143 (cfengine-mode-debug): New var.
14144 (cfengine3-mode): Change the modeline indicator to "CFE3".
14145 (cfengine3-font-lock-keywords): Improve defun highlighting.
14146 (cfengine2-actions): Rename from `cfengine-actions'.
14147 (cfengine2-font-lock-keywords): Rename from
14148 `cfengine-font-lock-keywords'.
14149 (cfengine2-imenu-expression): Rename from
14150 `cfengine-imenu-expression'.
14151 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14152 (cfengine2-beginning-of-defun): Rename from
14153 `cfengine-beginning-of-defun'.
14154 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14155 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14156 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14157 modeline indicator to "CFE2".
14158 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14159 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14160
bc86f573
CY
141612011-12-21 Chong Yidong <cyd@gnu.org>
14162
14163 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14164 filename argument.
14165
d45ba96b
MR
141662011-12-20 Martin Rudalics <rudalics@gmx.at>
14167
14168 * window.el (window-normalize-buffer-to-display): Remove.
14169 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14170
a6198c90
CY
141712011-12-19 Chong Yidong <cyd@gnu.org>
14172
14173 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14174 Don't signal an error in a predicate function; return non-nil.
14175 (vc-dir-mark-file): Move the error here.
14176 (vc-dir-mark-unmark): If acting on the region, keep going if one
14177 of the entries cannot be marked/unmarked.
14178 (vc-dir-mark-all-files): If current entry is a directory, mark
14179 only child files, as documented.
14180
34c5fb55
VB
141812011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14182
14183 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14184 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14185 addition.
14186
c803b2b7
JD
141872011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14188
14189 * term/ns-win.el (ns-get-selection-internal)
14190 (ns-store-selection-internal): Declare.
1154d12e
JB
14191 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14192 Declare as obsolete.
14193 (ns-get-pasteboard, ns-paste-secondary):
14194 Use ns-get-selection-internal.
41e9b956 14195 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14196 Use ns-store-selection-internal.
c803b2b7 14197
9cff91f8 141982011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14199
14200 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14201 (vc-deduce-fileset): Doc fix.
99a289d9 14202
f16c898a
AS
142032011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14204
14205 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14206
763237c4
SS
142072011-12-13 Sam Steingold <sds@gnu.org>
14208
14209 * man.el (Man-getpage-in-background): When running under a
14210 window-system, ignore $MANWIDTH and $COLUMNS.
14211
5fc1c122
KH
142122011-12-15 Kenichi Handa <handa@m17n.org>
14213
14214 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14215 (setup-ethiopic-environment-internal): Comment out key-binding for
14216 ethio-toggle-punctuation.
14217
13d49cbb
AM
142182011-12-13 Alan Mackenzie <acm@muc.de>
14219
898169a2
AM
14220 Add the switch statement to AWK Mode.
14221
7a71b18d 14222 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14223 "default" to the keywords regexp.
14224
7a71b18d 14225 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14226 expression as the rest.
1d00653d
SM
14227 (c-nonlabel-token-key): Allow string literals for AWK.
14228 Refactor for the other modes.
898169a2 14229
13d49cbb 14230 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14231 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14232 routines. Limit backward searching in c-font-lock-enclosing.decl.
14233
14234 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14235 pp-state and literal type in addition to the limits.
1d00653d 14236 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14237 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14238 (c-slow-in-literal, c-fast-in-literal): Remove.
14239 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14240
14241 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14242 being in a literal. Add a limit for backward searching.
14243
14244 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14245 c-slow-in-literal.
14246
15e0efc7
SM
142472011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14250
454592a6
MR
142512011-12-13 Martin Rudalics <rudalics@gmx.at>
14252
14253 * window.el (delete-other-windows): Use correct frame in call to
14254 window-with-parameter.
14255
87393f26
DP
142562011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14257
14258 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14259 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14260 (makefile-gmake-statements, makefile-makepp-statements):
14261 Use it and add new makepp keywords.
14262 (makefile-makepp-font-lock-keywords): Add new patterns.
14263 (makefile-match-function-end): Match new [...] and [[...]].
14264
11636b22
JB
142652011-12-11 Juanma Barranquero <lekktu@gmail.com>
14266
14267 * ses.el (ses-call-printer-return, ses-cell-property-get)
14268 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14269 (ses-create-cell-variable, ses-reset-header-string)
14270 (ses-cell-set-formula, ses-repair-cell-reference-all)
14271 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14272 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14273 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14274 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14275 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14276 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14277 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14278 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14279 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14280 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14281 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14282 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14283
cf018193
VB
142842011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14285
14286 * ses.el: The overall change is to add cell renaming, that is
14287 setting fancy names for cell symbols other than name matching
14288 "\\`[A-Z]+[0-9]+\\'" regexp .
14289 (ses-create-cell-variable): New defun.
14290 (ses-relocate-formula): Relocate formulas only for cells the
14291 symbols of which are not renamed, i.e. symbols whose names do not
14292 match regexp "\\`[A-Z]+[0-9]+\\'".
14293 (ses-relocate-all): Relocate values only for cells the symbols of
14294 which are not renamed.
14295 (ses-load): Create cells variables as the (ses-cell ...) are read,
14296 in order to check row col consistency with cell symbol name only
14297 for cells that are not renamed.
14298 (ses-replace-name-in-formula): New defun.
14299 (ses-rename-cell): New defun.
14300
ee957461
CY
143012011-12-11 Chong Yidong <cyd@gnu.org>
14302
14303 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14304 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14305
9a9e9ef0
MR
143062011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14307
14308 * window.el (other-window): Fix docstring.
14309
92a8eba5
EZ
143102011-12-10 Eli Zaretskii <eliz@gnu.org>
14311
14312 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14313 `from' or `to' address before taking its substring.
14314 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14315 encoded name is chopped in the middle of the encoded string, and
14316 thus displayed encoded.
14317
e152e577
JB
143182011-12-10 Juanma Barranquero <lekktu@gmail.com>
14319
14320 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14321
e5d84bfe
EZ
143222011-12-10 Eli Zaretskii <eliz@gnu.org>
14323
14324 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14325 to use texinfo-update-node and commands that call it if the
14326 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14327 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14328 (texinfo-all-menus-update, texinfo-master-menu)
14329 (texinfo-update-node, texinfo-every-node-update)
14330 (texinfo-multiple-files-update): Doc fix. Warn against updating
14331 all the @node lines.
14332 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14333 argument is numeric. Explain better in the doc string what the
14334 function really does.
14335 (texinfo-insert-master-menu-list): Improve the error message
14336 displayed if there's no menu in the Top node.
14337 (Bug#2975) See also this thread:
e5d84bfe
EZ
14338 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14339
1d84e9bb
MG
143402011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14341
14342 * speedbar.el (speedbar-supported-extension-expressions):
14343 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14344
382c953b
JB
143452011-12-09 Juanma Barranquero <lekktu@gmail.com>
14346
14347 * printing.el (pr-mode-alist):
14348 * simple.el (filter-buffer-substring-functions)
14349 (completion-list-insert-choice-function):
14350 * window.el (window-with-parameter, window-atom-root)
14351 (window-sides-slots, window-size-fixed, window-min-delta)
14352 (window-max-delta, window--resize-mini-window)
14353 (window--resize-child-windows-normal, window-tree)
14354 (delete-other-windows, quit-window, split-window)
14355 (display-buffer-record-window, special-display-buffer-names)
14356 (special-display-regexps, special-display-popup-frame)
14357 (same-window-p, split-window-sensibly)
14358 (display-buffer-overriding-action, display-buffer-alist)
14359 (display-buffer-base-action, display-buffer, switch-to-buffer)
14360 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14361 (fit-window-to-buffer, recenter-positions)
14362 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14363 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14364 and remove unneeded backslashes in docstrings.
14365
39c9faef
SM
143662011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14367
98449af8
SM
14368 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14369
39c9faef
SM
14370 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14371 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14372 end in ".mk".
14373 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14374 when reading the makefile (bug#10116).
14375
86ed9fdc
SM
143762011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14379 (bug#10116).
14380
5580f89d
GM
143812011-12-06 Glenn Morris <rgm@gnu.org>
14382
14383 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14384
28d3917c
CY
143852011-12-06 Chong Yidong <cyd@gnu.org>
14386
14387 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14388
a98edce9
JB
143892011-12-06 Juanma Barranquero <lekktu@gmail.com>
14390
14391 * textmodes/table.el (table-shorten-cell): Fix typo.
14392
e65adfac
CG
143932011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14394
14395 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14396
71cc0b74
EZ
143972011-12-05 Eli Zaretskii <eliz@gnu.org>
14398
14399 * descr-text.el (describe-char): Fix display of strong
14400 right-to-left characters and directional embeddings and overrides.
14401
14402 * simple.el (what-cursor-position): Fix display of codepoints of
14403 strong right-to-left characters.
14404
315bc30d
CY
144052011-12-05 Chong Yidong <cyd@gnu.org>
14406
14407 * faces.el (read-color): Doc fix.
14408
58a70b94
GM
144092011-12-05 Glenn Morris <rgm@gnu.org>
14410
14411 * align.el (align--set-marker): Add doc-string.
14412 Don't try to move something that is not a marker. (Bug#10216)
14413
5158face
GM
144142011-12-04 Glenn Morris <rgm@gnu.org>
14415
14416 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14417 overly zealous deletion of trailing whitespace.
14418
520fca41
JB
144192011-12-04 Juanma Barranquero <lekktu@gmail.com>
14420
14421 * server.el (server-delete-client): On Windows, do not try to delete
14422 the only terminal.
14423 (server-process-filter): On Windows, treat requests for a tty frame as
14424 if they were for a GUI frame if the running server is in GUI mode.
14425
5e605a2e
GM
144262011-12-03 Glenn Morris <rgm@gnu.org>
14427
14428 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14429
5c3fe83f
SM
144302011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14431
6f5e57e7
SM
14432 * electric.el: Streamline electric-indent's hook.
14433 (electric-indent-chars): Revert to simple list.
14434 (electric-indent-functions): New var.
14435 (electric-indent-post-self-insert-function): Use it.
14436
5c3fe83f
SM
14437 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14438 there's no inferior buffer (bug#10196).
14439 (prolog-consult-compile): Don't use toggle-read-only.
14440
6bdac736
MA
144412011-12-02 Michael Albinus <michael.albinus@gmx.de>
14442
14443 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14444 interrupt. (Bug#10187)
14445
6131ba7f
SM
144462011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14447
99c79fee
SM
14448 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14449 (bug#9160).
14450
6131ba7f
SM
14451 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14452 (bug#10191).
14453
cb0a02ea
JL
144542011-12-02 Juri Linkov <juri@jurta.org>
14455
14456 * info.el (Info-search): Display "end of manual" when Isearch
14457 reaches the end of single-file Info manual. (Bug#9918)
14458
66e0570c
EZ
144592011-12-02 Eli Zaretskii <eliz@gnu.org>
14460
14461 * isearch.el (isearch-message-prefix): Run the input method part
14462 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14463
02b16839
JL
144642011-12-02 Juri Linkov <juri@jurta.org>
14465
14466 * isearch.el (isearch-occur): Use `word-search-regexp' for
14467 `isearch-word'.
14468 (isearch-search-and-update): Add condition for `isearch-word' and
14469 call `word-search-regexp'. (Bug#10145)
14470
0b950688
GM
144712011-12-01 Glenn Morris <rgm@gnu.org>
14472
14473 * eshell/em-hist.el (eshell-hist-initialize):
14474 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14475 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14476
9505c3c7
SM
144772011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14480
1bbe96b2 144812011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14482
a1beca85
SM
14483 * progmodes/verilog-mode.el (verilog-pretty-expr):
14484 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14485 verilog, such as += *= and the like.
14486 (verilog-assignment-operator-re): Regular expression to find the
14487 assigment operator in a verilog assignment.
14488 (verilog-assignment-operation-re): Regular expression to find an
14489 assignment statement for pretty-expr.
14490 (verilog-in-attribute-p): Query returns true if point is in an
14491 attribute context; used to skip these for expression line up from
14492 pretty-expr.
14493 (verilog-in-parameter-p): Query returns true if point is in an
14494 parameter definition context; used to skip these for expression
14495 line up from pretty-expr.
14496 (verilog-in-parenthesis-p): Query returns true if point is in a
14497 parenthetical expression, specifically ( ) but not [ ] or { };
14498 used by pretty-expr.
14499 (verilog-just-one-space): If there is no space, don't add one.
14500 (verilog-get-lineup-indent-2): Specifically skip just attribute
14501 contexts for expression lineup, rather than skipping all
14502 parenthetical expressions.
14503 (verilog-calculate-indent): Fix comment, and fix indent.
14504 (verilog-do-indent): Indent declarations in lists (suggested by
14505 Joachim Lechner).
14506 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14507 skeleton items.
14508 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14509 by Alain Mellan).
14510
1bbe96b2 145112011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14512
14513 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14514 parameters with embedded comments. Reported by Ray Stevens.
14515 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14516 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14517 Reported by Tim Holt.
14518 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14519 instantiated by upper module causing wrong expansion until AUTOed a
14520 second time. Reported by K C Buckenmaier.
14521 (verilog-diff-auto): Fix showing .* as a difference when
14522 `verilog-auto-star-save' off. Reported by Dan Dever.
14523 (verilog-auto-reset, verilog-read-always-signals)
14524 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14525 temporary signals in reset list if
14526 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14527 style to each signal's assignment type, bug381.
14528 Reported by Thomas Esposito.
6288f0ca
WS
14529 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14530 (verilog-uvm-statement-re): Support UVM indentation and
14531 highlighting, with old OVM keywords only.
a1beca85 14532 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14533 Support AUTOTIEOFF creating non-wire data types.
14534 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14535 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14536 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14537 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14538 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14539 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14540 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14541 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14542 non-numeric vector width. Reported by Alex Reed.
14543 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14544 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14545 (verilog-auto-delete-trailing-whitespace):
14546 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14547 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14548 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14549 Fix verilog-scan-cache corruption when running user AUTO expansion
14550 hooks that call indentation routines.
14551 (verilog-simplify-range-expression): Fix typo ignoring lower case
14552 identifiers.
14553 (verilog-delete-auto): Fix delete-autos to also remove user created
14554 automatics, as long as they start with AUTO.
14555 (verilog-batch-diff-auto, verilog-diff-auto)
14556 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14557 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14558 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14559 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14560 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14561 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14562 is disabled and its cache will get corrupt, causing AUTOS not to
14563 expand. Instead use only -quick functions.
14564 (verilog-scan-region): Fix scanning over escaped quotes.
14565 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14566 (verilog-re-search-backward-quick)
14567 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14568 related functions now ignore strings, to fix misparsing of strings
14569 with magic comments embedded in them.
a1beca85
SM
14570 (verilog-read-auto-template):
14571 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14572 Reported by Brad Dobbie.
14573 (verilog-read-auto-template):
14574 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14575 Reported by Brad Dobbie.
6288f0ca
WS
14576 (verilog-auto-inst, verilog-auto-inst-param)
14577 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14578 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14579 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14580 debugging templates without merge conflicts, bug357.
14581 Reported by Brad Dobbie.
14582 (verilog-read-auto-template):
14583 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14584 Reported by Brad Dobbie.
14585 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14586 abbrevs so user won't be asked to save.
14587 (verilog-read-auto-lisp-present): Fix to start at beginning of
14588 buffer in case called outside of verilog-auto.
14589 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14590 to "X-2". Reported by Matthew Myers.
14591 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14592 all inputs from module templates. Reported by Leith Johnson.
14593 (verilog-module-inside-filename-p): Fix locating programs as with
14594 modules.
14595 (verilog-auto-inst-port): Fix vl-width expressions when using
14596 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14597 (verilog-decls-get-regs, verilog-decls-get-signals,
14598 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14599 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14600 verilog-read-decls): Combine reg and wire structures into one var
14601 structure to represent SystemVerilog concepts.
14602 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14603 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14604 (verilog-auto-wire-type, verilog-insert-definition):
14605 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14606 SystemVerilog "logic" keyword instead of "wire"/"reg".
14607 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14608 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14609 ifdef or generate if so there's not a driver conflict).
14610 Reported by Matthew Myers.
14611 (verilog-auto-declare-nettype, verilog-insert-definition):
14612 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14613 `default_nettype none. Reported by Julian Gorfajn.
14614 (verilog-read-always-signals-recurse, verilog-read-decls)
14615 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14616 malformed end statement, bug325. Reported by Joshua Wise and
14617 Andrew Drake.
14618 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14619 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14620 when expanding .* in interfaces, bug320.
14621 Reported by Pierre-David Pfister.
6288f0ca 14622 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14623 name and open parenthesis, bug317.
14624 Reported by Pierre-David Pfister.
6288f0ca
WS
14625 (verilog-simplify-range-expression): Fix simplification of
14626 multiplications inside AUTOWIRE connections, bug303.
14627 (verilog-auto-inst-port): Support parameter expansion in
14628 multidimensional arrays.
14629 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14630 after "assert property". Reported by Julian Gorfajn.
14631 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14632 with multiplication, bug303.
14633 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14634 Reported by Jan Frode Lonnum.
14635
1bbe96b2
GM
146362011-11-30 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14639 (hfy-shell-file-name, hfy-shell):
14640 * international/fontset.el (x-decompose-font-name): Fix typos.
14641
146422011-11-29 Ken Brown <kbrown@cornell.edu>
14643
14644 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14645 (gdb-version): Remove defvar.
14646 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14647 (gdb-gud-context-command, gdb-non-stop-handler)
14648 (gdb-current-context-command, gdb-stopped): Use it.
14649 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14650 (gdb-non-stop-handler): Don't enable pretty-printing here.
14651 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14652 non-stop mode. Use the following.
14653 (gdb-check-target-async): New defun.
14654 (gud-watch, gdb-stopped): Fix whitespace.
14655 (gdb-get-source-file): Don't try to display the source file if
14656 `gdb-main-file' is nil.
14657
146582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * align.el: Try to generate fewer markers (bug#10047).
14661 (align--set-marker): New macro.
14662 (align-region): Use it.
14663
c935221f
SM
146642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14665
14666 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14667
e70b5064
CY
146682011-11-29 Chong Yidong <cyd@gnu.org>
14669
14670 * indent.el (indent-for-tab-command, indent-according-to-mode):
14671 Doc fix.
14672 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14673
f3af92b7
MA
146742011-11-29 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14677 aware of remote file names. (Bug#10124)
14678
ed472be9
CY
146792011-11-29 Chong Yidong <cyd@gnu.org>
14680
14681 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14682
24510c22
SM
146832011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14684
14685 * files.el (find-file): Don't use force-same-window (bug#10144).
14686 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14687 use pop-to-buffer if the selected window can't be used.
14688 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14689
c60c3703
EZ
146902011-11-28 Eli Zaretskii <eliz@gnu.org>
14691
14692 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14693 special-mode-map.
14694
e95def75
CY
146952011-11-28 Chong Yidong <cyd@gnu.org>
14696
14697 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14698
c3f1c606
NR
146992011-11-27 Nick Roberts <nickrob@snap.net.nz>
14700
14701 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14702 gdb-get-source-file-list on gdb-create-source-file-list.
14703
00db469c
EZ
147042011-11-26 Eli Zaretskii <eliz@gnu.org>
14705
14706 * whitespace.el (whitespace-newline): Use a different foreground
14707 color for 16-color light-background displays.
14708
4ad3bc2a
CY
147092011-11-24 Chong Yidong <cyd@gnu.org>
14710
14711 * window.el (display-buffer--special-action): Doc fix.
14712
e9fce1ac
JB
147132011-11-25 Juanma Barranquero <lekktu@gmail.com>
14714
14715 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14716 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14717 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14718 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14719 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14720 (avl-tree-stack-first):
14721 * emacs-lisp/cconv.el (cconv--analyse-use):
14722 * net/gnutls.el (gnutls-negotiate): Fix typos.
14723
cb825e5d
GM
147242011-11-24 Glenn Morris <rgm@gnu.org>
14725
3adbe224
GM
14726 * lpr.el (lpr-windows-system, lpr-lp-system):
14727 * mail/binhex.el (binhex-begin-line):
14728 * progmodes/grep.el (grep-history, grep-find-history):
14729 * textmodes/flyspell.el:
14730 * vc/pcvs-defs.el (cvs-global-menu):
14731 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14732 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14733 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14734
321decc8
GM
14735 * net/tls.el: Fix case of "GnuTLS".
14736
420b63ad
GM
14737 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14738
cb825e5d
GM
14739 * version.el (emacs-build-system): Give it a doc-string.
14740
a0649f08
JL
147412011-11-24 Juri Linkov <juri@jurta.org>
14742
14743 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14744
c0bc0fd4
GM
147452011-11-24 Glenn Morris <rgm@gnu.org>
14746
14747 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14748 if called on a non-mime message just toggle the headers. (Bug#8006)
14749
20db1522
JB
147502011-11-24 Juanma Barranquero <lekktu@gmail.com>
14751
14752 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14753 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14754 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14755 (allout-rebullet-heading, allout-open-sibtopic)
14756 (allout-toggle-current-subtree-encryption)
14757 (allout-toggle-subtree-encryption, allout-encrypt-string)
14758 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14759 (allout-distinctive-bullets-string, allout-auto-activation):
14760 * window.el (window-normalize-buffer-to-display):
14761 * progmodes/verilog-mode.el (verilog-batch-indent):
14762 * textmodes/bibtex.el (bibtex-field-braces-opt)
14763 (bibtex-field-strings-opt):
14764 * vc/cvs-status.el (cvs-tree-merge):
14765 Fix typos.
14766
7262a87c
MA
147672011-11-23 Michael Albinus <michael.albinus@gmx.de>
14768
14769 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14770 `non-essential' to t, in order to avoid remote connections.
14771
283430a1
EZ
147722011-11-23 Eli Zaretskii <eliz@gnu.org>
14773
a1beca85
SM
14774 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14775 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14776 case-insensitively.
14777
d2992a38
ML
147782011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14779
14780 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14781
50419064
GM
147822011-11-23 Glenn Morris <rgm@gnu.org>
14783
da94eca1
GM
14784 * paths.el (rmail-file-name): Reformat the doc-string so that it
14785 is picked up.
14786
9aac4de2
GM
14787 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14788 (rmail-auto-file): Ignore case in the "special" field names,
14789 as mail-fetch-field does for all others.
14790
8038d2d2
GM
14791 * mail/rmail.el (rmail-forward):
14792 * mail/rmailkwd.el (rmail-set-label):
14793 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14794 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14795
f3fe222a
GM
14796 * mail/rmail.el (rmail-current-message): Doc fix.
14797
50419064
GM
14798 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14799
28109f49
SM
148002011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14803
394c65f1
GM
148042011-11-22 Glenn Morris <rgm@gnu.org>
14805
14806 * mail/rmailmm.el (test-rmail-mime-handler)
14807 (test-rmail-mime-bulk-handler)
14808 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14809
f2a0aa3a
JL
148102011-11-21 Juri Linkov <juri@jurta.org>
14811
1154d12e
JB
14812 * calc/calc.el (calc-read-key-sequence):
14813 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14814
9c34a344
LMI
148152011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14816
14817 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14818 Tell the caller that the next line needs recomputation, even
14819 though it doesn't start a sexp (bug#10094).
14820
f04a3be9
SM
148212011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14822
14823 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14824
7978747f
SM
148252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14826
f04a3be9
SM
14827 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14828 Use force-same-window.
7978747f 14829
fe7a3057
JB
148302011-11-20 Juanma Barranquero <lekktu@gmail.com>
14831
14832 * descr-text.el (describe-char-unicode-data):
14833 * json.el (json-string-escape):
14834 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14835 (Footnote-unicode, Footnote-style-p):
14836 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14837
24901d61
CY
148382011-11-20 Chong Yidong <cyd@gnu.org>
14839
14840 * window.el (replace-buffer-in-windows): Restore interactive spec.
14841
bac7ff22
SM
148422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14843
24f3d7b9
SM
14844 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14845
bac7ff22
SM
14846 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14847 (byte-compile-global-not-obsolete-vars): New var.
14848 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14849 Use it.
14850 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14851
cd1181db
JB
148522011-11-20 Juanma Barranquero <lekktu@gmail.com>
14853
14854 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14855 * progmodes/pascal.el (electric-pascal-equal):
14856 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14857 * xml.el (xml-substitute-special): Fix typos.
14858
7fb18e9e
GM
148592011-11-20 Glenn Morris <rgm@gnu.org>
14860
14861 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14862 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14863 Doc fixes.
14864 (rmail-decode-mime-charset): Mark as obsolete.
14865
14866 * mail/rmailsum.el (rmail-message-regexp-p-1):
14867 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14868 Before using mime functions, check they are set. (Bug#10077)
14869
d5a6b3ba
JL
148702011-11-19 Juri Linkov <juri@jurta.org>
14871
14872 * info.el (Info-finder-find-node): Use `package--builtins' instead
14873 of `package-alist'. Use node names formed by the pattern "Keyword "
14874 and the keyword name.
14875
e981b61f
AS
148762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14877
1d00653d 14878 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 14879
3ffbc301
JL
148802011-11-19 Juri Linkov <juri@jurta.org>
14881
14882 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14883 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14884 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14885 `old-history', `old-history-forward'. Add let-binding
14886 `window-selected'. Remove calls to `kill-buffer',
14887 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14888 before calling `Info-find-node', so `Info-find-node-2' will reread
14889 the Info file. Restore window positions only when `window-selected'
14890 is non-nil.
14891
30c62133
JL
148922011-11-19 Juri Linkov <juri@jurta.org>
14893
14894 * isearch.el (isearch-lazy-highlight-new-loop):
14895 Remove condition `(not isearch-error)'. (Bug#9918)
14896
14897 * misearch.el (multi-isearch-search-fun): Add condition
14898 `(not bound)' to ignore lazy-highlighting search.
14899 Add the search-failed message "end of multi" when the end of
14900 multi-sequence is reached. Uncapitalize the search-failed
14901 message "Repeat for next buffer".
14902
14903 * info.el (Info-search): Add the search-failed message
14904 "end of the manual" when the end of the manual is reached
14905 in Isearch mode.
14906
645ca9cf
JL
149072011-11-19 Juri Linkov <juri@jurta.org>
14908
14909 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14910 Use non-destructive `remove' instead of `delete' because
14911 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14912 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14913
df754f66
JL
149142011-11-19 Juri Linkov <juri@jurta.org>
14915
14916 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14917 to nil instead of binding `search-ring' and `regexp-search-ring'.
14918 (Bug#9185)
14919
0e23d96a
EZ
149202011-11-19 Eli Zaretskii <eliz@gnu.org>
14921
14922 * simple.el (line-move): Force movement by logical lines for any
14923 hscrolled window, not only when auto-hscroll-mode is on.
14924 (line-move-visual): Update doc string to that effect. (Bug#10076)
14925
8a6ccb66
AS
149262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14927
14928 * language/european.el (macintosh): Define as alias for mac-roman.
14929
49ae5b39
EZ
149302011-11-19 Eli Zaretskii <eliz@gnu.org>
14931
14932 * mail/rmailmm.el (rmail-mime-display-header)
14933 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14934 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14935 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14936 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14937 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14938 of a raw aref.
14939 (rmail-mime-entity-segment): To get past the tagline, move forward
14940 2 more lines, to account for the 2 empty lines that precede and
14941 follow the line with the buttons.
14942 (rmail-mime-update-tagline): Move one more line, to get past the
14943 empty line that follows the buttons in the tagline. (Bug#9520)
14944
c56cad4a
MR
149452011-11-19 Martin Rudalics <rudalics@gmx.at>
14946
14947 * window.el (window-max-delta-1, window-min-delta-1)
14948 (window-min-size-1, window-state-get-1, window-state-put-1)
14949 (window-state-put-2): Use "window--" prefix.
14950
cbe71af3
SM
149512011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14952
2ad52c60
SM
14953 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14954 (smie-warning-count): New var.
14955 (smie-set-prec2tab): Use it.
14956 (smie-bnf->prec2): Improve warnings. Add docstring.
14957 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14958 (smie-bnf--set-class): New function.
14959 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14960 corner case.
14961
6944dbc1
SM
14962 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14963 (compilation-error-properties, compilation-move-to-column):
14964 Handle compilation-first-column while in the target buffer.
14965
c400c4d7
SM
14966 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14967 Don't hardcode point-min==1.
14968
6dbe3e96
SM
14969 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14970 (eshell-rewrite-for-command): Remove workaround.
14971 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14972 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14973 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14974
cbe71af3
SM
14975 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14976
a8e1496d
GM
149772011-11-17 Glenn Morris <rgm@gnu.org>
14978
14979 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14980 Ignore buffer-local generated-autoload-file if it is the same
14981 as the global value. (Bug#10049)
14982
df85d315
JB
149832011-11-17 Juanma Barranquero <lekktu@gmail.com>
14984
14985 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14986 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14987 (reftex-toc-previous-heading, reftex-toc-max-level)
14988 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14989 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14990 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14991 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14992 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14993 (reftex-toc-rename-label, reftex-toc-visit-location)
14994 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14995 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14996 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14997 leaving "*toc*" only for references to the buffer.
14998
a0c2d0ae
MR
149992011-11-17 Martin Rudalics <rudalics@gmx.at>
15000
15001 * window.el (window-resize, delete-window, split-window):
15002 Replace window-splits by window-combination-resize.
1d00653d 15003 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15004
35c0bac8
GM
150052011-11-17 Glenn Morris <rgm@gnu.org>
15006
15007 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15008 Make bash entry derive from sh entry, not shell entry.
15009
d0c8fc8a
MA
150102011-11-16 Michael Albinus <michael.albinus@gmx.de>
15011
7262a87c
MA
15012 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15013 local file name.
15014
7877f373
JB
150152011-11-16 Juanma Barranquero <lekktu@gmail.com>
15016
15017 * menu-bar.el (menu-bar-file-menu):
15018 * printing.el (pr-ps-utility):
15019 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15020 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15021 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15022 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15023 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15024 (icalendar--convert-cyclic-to-ical)
15025 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15026 (icalendar--convert-ical-to-diary)
15027 (icalendar--convert-recurring-to-diary)
15028 (icalendar--convert-non-recurring-all-day-to-diary)
15029 (icalendar-import-format-sample):
15030 * progmodes/idlw-shell.el (idlwave-shell-mode):
15031 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15032 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15033 (vhdl-ps-print-init): Fix typos.
15034
10649b82
KM
150352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15036
9d0cfcd6
GM
15037 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15038 FSF and collapse date sequence, obscure author/maintainer email address
15039 better, remove extra version line, track relocation of author's webpage.
10649b82 15040
9d0cfcd6
GM
15041 * progmodes/python.el (python-pdbtrack-input-prompt)
15042 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15043 regular python pdb prompts. Adjustments shamelessly taken exactly as
15044 suggested in EmacsWiki page (tiny change):
15045 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15046
58179cce
JB
150472011-11-16 Juanma Barranquero <lekktu@gmail.com>
15048
15049 * expand.el (expand-pos, expand-index, expand-point):
15050 Remove redundant info from docstring.
15051 (expand-add-abbrevs): Doc fix.
15052 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15053 (expand-sample-perl-mode-expand-list): Fix typos.
15054
15055 * net/dbus.el (dbus-event-member-name):
15056 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15057 * term/pc-win.el (msdos-create-frame-with-faces):
15058 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15059
b6f67890
MR
150602011-11-16 Martin Rudalics <rudalics@gmx.at>
15061
15062 * window.el (split-window, window-state-get-1)
15063 (window-state-put-1, window-state-put-2): Rename occurrences of
15064 window-nest to window-combination-limit.
1d00653d 15065 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15066
ce7ddba0
CY
150672011-11-16 Chong Yidong <cyd@gnu.org>
15068
15069 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15070 regexp (Bug#10033).
15071
3ae704f4
SM
150722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15075 `completing-read' will remove *Completions* and will preserve
15076 current-buffer for us.
15077 (tmm-add-prompt): Users of *Completions* will always (re)set its
15078 major mode.
15079 (tmm-old-comp-map): Remove.
15080
6ad1cdde
GM
150812011-11-16 Glenn Morris <rgm@gnu.org>
15082
15083 * mail/rmailedit.el: Require rmailmm when compiling.
15084 (rmail-old-mime-state): New declaration.
15085 (rmail-edit-current-message): If editing a mime message,
15086 edit the "raw" message from the mbox buffer.
15087 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15088
d20faa20
GM
150892011-11-15 Glenn Morris <rgm@gnu.org>
15090
15091 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15092 which wasn't being used. Add optional arg to force given state.
15093 (rmail-mime): Add optional arg to force given state.
15094
c7015153
JB
150952011-11-15 Juanma Barranquero <lekktu@gmail.com>
15096
15097 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15098 * frame.el (display-mm-dimensions-alist):
15099 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15100 (outline-move-subtree-down):
15101 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15102 (newsticker--treeview-do-get-node):
15103 * net/quickurl.el (quickurl-list-buffer-name):
15104 * progmodes/dcl-mode.el (dcl-mode):
15105 * progmodes/gdb-mi.el (gdb-mapcar*):
15106 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15107
45261b50
GM
151082011-11-15 Glenn Morris <rgm@gnu.org>
15109
15110 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15111 in a boolean sense, so just make it a boolean, and fix the doc.
15112 (rmail-show-mime-function, rmail-mime-feature)
15113 (rmail-require-mime-maybe): Doc fixes.
15114 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15115
15116 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15117
0d26e0b6
JB
151182011-11-15 Juanma Barranquero <lekktu@gmail.com>
15119
15120 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15121 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15122 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15123 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15124
447f30f6
GM
151252011-11-15 Glenn Morris <rgm@gnu.org>
15126
672b871d
GM
15127 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15128 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15129 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15130 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15131 (rmail-mime, rmail-show-mime): Doc fixes.
15132
f6aa5bb1
GM
15133 * term/ns-win.el (mode-line-frame-identification):
15134 Leave it alone. (Bug#10051)
15135
947cd66b
GM
15136 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15137
447f30f6
GM
15138 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15139 Handle empty buffers. (Bug#9978)
15140
0b381c7e
JB
151412011-11-14 Juanma Barranquero <lekktu@gmail.com>
15142
15143 * international/mule.el (define-charset):
15144 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15145 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15146 * progmodes/verilog-mode.el (verilog-backward-token):
15147 * textmodes/ispell.el (lookup-words):
15148 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15149
71e027ac
GM
151502011-11-14 Glenn Morris <rgm@gnu.org>
15151
56632ce4
GM
15152 * progmodes/executable.el
15153 (executable-make-buffer-file-executable-if-script-p):
15154 Handle file-modes returning nil.
15155
40500957
GM
15156 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15157 message - not necessary, and causes problems. (Bug#9831)
15158
071c2340
GM
15159 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15160
d3cfca60
GM
15161 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15162
71e027ac
GM
15163 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15164 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15165 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15166
89d61221
MR
151672011-11-12 Martin Rudalics <rudalics@gmx.at>
15168
15169 * window.el (window-resize, delete-window): Use window-splits
15170 variable instead of function.
15171 (window-state-get-1, window-state-put-2, window-state-put):
15172 Don't deal with windows' splits status.
15173
98282f6f
GM
151742011-11-12 Glenn Morris <rgm@gnu.org>
15175
15176 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15177 (apropos-documentation): Doc fixes.
15178
40a8bdf6
JB
151792011-11-11 Juanma Barranquero <lekktu@gmail.com>
15180
15181 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15182 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15183
65bd19ff
SM
151842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * electric.el (electric-indent-post-self-insert-function): Make it
15187 possible for a char to only indent in some circumstances.
15188 (electric-indent-mode): Simplify.
15189
54f9154c
MR
151902011-11-11 Martin Rudalics <rudalics@gmx.at>
15191
15192 * window.el (windows-with-parameter): Remove unused function.
15193 (windows-at-side): Rename to window-at-side-list.
15194 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15195 (window-side-check, window-size-ignore, window-size-fixed-1)
15196 (window-in-direction-2): Prefix with "window--".
15197 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15198
68cbc58b
GM
151992011-11-11 Glenn Morris <rgm@gnu.org>
15200
15201 * subr.el (eval-after-load): If FILE is already loaded,
15202 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15203
b2621720
GM
152042011-11-10 Glenn Morris <rgm@gnu.org>
15205
9a4de110
GM
15206 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15207 Call svn via vc-svn-command rather than vc-do-command.
15208 (vc-svn-command): Add --non-interactive. (Bug#9993)
15209 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15210
b2621720
GM
15211 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15212 Add toggle-read-only. (Bug#7292)
15213 * files.el (toggle-read-only): Mention that it should only
15214 be used interactively. (Bug#10006)
15215
1dce7193
SM
152162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15217
d9ac1a1e
SM
15218 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15219 Adjust regexp for OCaml warnings.
15220
0c325082
SM
15221 * electric.el (electric-pair-post-self-insert-function): Let user
15222 turn it off buffer-locally (bug#9932).
15223
90132c14
SM
15224 * progmodes/python.el (python-beginning-of-statement):
15225 Rewrite (bug#2703).
15226
1dce7193
SM
15227 * progmodes/compile.el: Better handle TABs (bug#9749).
15228 (compilation-internal-error-properties)
15229 (compilation-next-error-function): Obey the target buffer's
15230 compilation-error-screen-columns.
15231
c4e7c63a
JB
152322011-11-09 Juanma Barranquero <lekktu@gmail.com>
15233
15234 * progmodes/meta-mode.el: Remove obsolete comments.
15235 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15236 Fix typos in docstrings.
15237
2cffd681
MR
152382011-11-09 Martin Rudalics <rudalics@gmx.at>
15239
15240 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15241 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15242 (window--resizable): New function. Make all callers of
15243 window-resizable call window--resizable instead.
15244 (window-resizable): Rewrite in terms of window--resizable.
15245
0edcba87
GM
152462011-11-08 Glenn Morris <rgm@gnu.org>
15247
15248 * progmodes/delphi.el (delphi-mode-syntax-table):
15249 Let define-derived-mode define a proper syntax table. (Bug#9994)
15250
4b0d61e3
SM
152512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15252
15253 * window.el: Stay away from defsubst.
15254 (window-list-no-nils): Remove.
15255 (window-state-get-1, window-state-get): Use backquote instead.
15256
cd394be1 152572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15258
4b0d61e3 15259 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15260 Fix incorrect use of default argument in `completing-read'.
15261
e1c2c6f2
MR
152622011-11-08 Martin Rudalics <rudalics@gmx.at>
15263
15264 * window.el (display-buffer-function, special-display-function):
15265 Mention display-buffer-record-window but do not mention
15266 help-setup parameter in doc-strings.
b3f4a882 15267 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15268
105216ed
CY
152692011-11-08 Chong Yidong <cyd@gnu.org>
15270
15271 * window.el (window-total-height, window-total-width): Doc fix.
15272 (window-body-size): Move from C.
15273 (window-body-height, window-body-width): Move to C.
15274
0a9f9ab5
SM
152752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15276
15277 * window.el: Make special-display like display-buffer-alist (bug#9532).
15278 (display-buffer--special-action): New function, morphed
15279 from display-buffer--special.
15280 (display-buffer): Use it to handle special-display-buffers at higher
15281 priority (just after display-buffer-alist).
15282 (display-buffer-fallback-action, display-buffer--other-frame-action)
15283 (pop-to-buffer-same-window): Remove display-buffer--special.
15284
a769dd15
GM
152852011-11-07 Glenn Morris <rgm@gnu.org>
15286
15287 * calendar/cal-menu.el (cal-menu-set-date-title):
15288 Do nothing if not in a calendar. (Bug#9976)
15289
05a61ee3
SM
152902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15291
15292 * files.el (find-file): Always use selected-window.
15293
be7f5545
MR
152942011-11-07 Martin Rudalics <rudalics@gmx.at>
15295
15296 * window.el (window-combinations): Make WINDOW argument
15297 mandatory. Rewrite doc-string.
15298 (walk-window-subtree, window-atom-check, window-min-delta)
15299 (window-max-delta, window--resize-this-window)
15300 (window--resize-root-window-vertically, window-tree)
15301 (balance-windows, window-state-put): Rewrite doc-strings as to
15302 not mention the term "subwindow".
15303 (window--resize-subwindows-skip-p): Rename to
15304 window--resize-child-windows-skip-p.
15305 (window--resize-subwindows-normal): Rename to
15306 window--resize-child-windows-normal.
15307 (window--resize-subwindows): Rename to
15308 window--resize-child-windows.
15309 (window-or-subwindow-p): Rename to window--in-subtree-p.
15310
3c6702ef
ML
153112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15312
15313 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15314 Ensure that mbox format messages end in two newlines (Bug#9974).
15315
49745b39
CY
153162011-11-06 Chong Yidong <cyd@gnu.org>
15317
15318 * window.el (window-combination-p): Function deleted; its
15319 side-effect is not used in any existing code.
15320 (window-combinations, window-combined-p): Call window-*-child
15321 directly.
15322
24300f5f
CY
153232011-11-05 Chong Yidong <cyd@gnu.org>
15324
15325 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15326 (window-size-ignore, window-state-get): Callers changed.
15327 (window-normalize-window): Rename from window-normalize-any-window.
15328 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15329 (window-normalize-live-window): Delete.
447f16b8
CY
15330 (window-combination-p, window-combined-p, window-combinations)
15331 (walk-window-subtree, window-atom-root, window-min-size)
15332 (window-sizable, window-sizable-p, window-size-fixed-p)
15333 (window-min-delta, window-max-delta, window-resizable)
15334 (window-resizable-p, window-full-height-p, window-full-width-p)
15335 (window-current-scroll-bars, window-point-1, set-window-point-1)
15336 (window-at-side-p, window-in-direction, window-resize)
15337 (adjust-window-trailing-edge, maximize-window, minimize-window)
15338 (window-deletable-p, delete-window, delete-other-windows)
15339 (record-window-buffer, unrecord-window-buffer)
15340 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15341 (quit-window, split-window, window-state-put)
15342 (set-window-text-height, fit-window-to-buffer)
15343 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15344
89bd5ee1
EZ
153452011-11-04 Eli Zaretskii <eliz@gnu.org>
15346
53479029
EZ
15347 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15348 rfc2047-decode-string.
15349 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15350 warnings.
15351
89bd5ee1
EZ
15352 * window.el (window-body-height, window-body-width): Mention in
15353 the doc string that the return values are in frame's canonical
15354 units. (Bug#9949)
15355
bd17fdee
AM
153562011-11-03 Alan Mackenzie <acm@muc.de>
15357
15358 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15359 change in cc-engine.el.
15360
acc825c5
SM
153612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15364
1885e5b8
MR
153652011-11-02 Martin Rudalics <rudalics@gmx.at>
15366
15367 * window.el (quit-window): Call unrecord-window-buffer after
15368 showing another buffer in the window. (Bug#9937)
acc825c5 15369 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15370
ebe06da9
JB
153712011-11-02 Juanma Barranquero <lekktu@gmail.com>
15372
15373 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15374 Accept status with more than 9 shelves. (Bug#9935)
15375 Reported by Colin D Bennett <colin@gibibit.com>.
15376
4ee88440
MR
153772011-11-01 Martin Rudalics <rudalics@gmx.at>
15378
15379 * help.el (with-help-window): Don't reference
15380 temp-buffer-show-specifiers in doc-string.
15381
08e1d82c
AS
153822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15383
15384 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15385 menu-item.
15386
84bd6e9e
VJL
153872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15388
15389 * whitespace.el: New version 13.2.2.
15390 (whitespace-newline-mode): Disable properly. Reported by Sarah
15391 <EmacsWiki>.
15392
dba0634a
UJ
153932011-10-30 Ulf Jasper <ulf.jasper@web.de>
15394
15395 * net/newst-treeview.el: Remove "Time-stamp".
15396 (newsticker--group-manage-orphan-feeds): Do not call
15397 newsticker--treeview-tree-update.
db22a3c2
JB
15398 (newsticker-treeview-update, newsticker-treeview):
15399 Call newsticker--treeview-tree-update if necessary.
dba0634a 15400
3d8daefe
MR
154012011-10-30 Martin Rudalics <rudalics@gmx.at>
15402
15403 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15404 (window-iso-combinations): Remove "iso-" infix.
15405 Suggested by Chong Yidong.
3d8daefe
MR
15406 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15407 (window-max-delta-1, window-resize, window--resize-siblings)
15408 (window--resize-this-window, adjust-window-trailing-edge)
15409 (split-window, balance-windows-1)
15410 (shrink-window-if-larger-than-buffer):
15411 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15412 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15413
1bc4c3ae
SM
154142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15415
15416 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15417 in place (bug#9907).
15418 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15419 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15420 (eshell-structure-basic-command, eshell-rewrite-while-command)
15421 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15422 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15423 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15424 (eshell-do-pipelines-synchronously, eshell-eval-command):
15425 Use backquotes and prefer setq to set.
15426 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15427 (eshell-macrop): Use functionp.
c1e2f5fa 15428 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15429
30b65d9c
CY
154302011-10-30 Chong Yidong <cyd@gnu.org>
15431
15432 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15433 instead of set-mark (Bug#9810).
15434
2d197ffb
CY
154352011-10-30 Chong Yidong <cyd@gnu.org>
15436
15437 * window.el (split-window-below, split-window-right): Rename from
15438 split-window-above-each-other and split-window-side-by-side
15439 respectively. All callers changed.
15440 (split-window-sensibly, split-window-sensibly): Use them.
15441 (split-window-keep-point): Doc fix.
15442
15443 * isearch.el: Add isearch-scroll property to split-window-below
15444 and split-window-right.
15445
15446 * follow.el (follow-mode):
15447 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15448 * progmodes/ada-xref.el (ada-gdb-application):
15449 * emulation/vip.el (vip-buffer-in-two-windows):
15450 * image-dired.el (image-dired-dired-with-window-configuration):
15451 * dired-x.el (dired-do-find-marked-files):
15452 * dired.el (dired-pop-to-buffer):
15453 * bs.el (bs--show-with-configuration):
15454 * vc/emerge.el (emerge-setup-windows):
15455 * textmodes/two-column.el (2C-two-columns):
15456 * textmodes/reftex-toc.el (reftex-toc):
15457 * progmodes/gdb-mi.el (gdb-setup-windows):
15458 * progmodes/fortran.el (fortran-window-create):
15459 * net/newst-treeview.el (newsticker--treeview-window-init):
15460 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15461 * emulation/tpu-edt.el (tpu-gold-map):
15462 * emulation/crisp.el (crisp-mode-map):
15463 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15464
38bb2ca8
CY
154652011-10-29 Chong Yidong <cyd@gnu.org>
15466
aa4de341
CY
15467 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15468
e1eb5385
CY
15469 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15470
5d2ece3c
CY
15471 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15472 forged Ispell output (Bug#7904).
15473
38bb2ca8
CY
15474 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15475
d0af9f77
SM
154762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * doc-view.el: Avoid ugly errors about not finding nil.
15479 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15480 (doc-view-dvipdf-program, doc-view-unoconv-program)
15481 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15482 Avoid nil or absolute file name as default value.
15483 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15484
52bedd34
AM
154852011-10-28 Alan Mackenzie <acm@muc.de>
15486
db22a3c2 15487 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15488
7e43cfa5
AM
154892011-10-28 Alan Mackenzie <acm@muc.de>
15490
15491 Amend the handling of c-beginning/end-of-defun in nested declaration
15492 scopes.
15493
52bedd34
AM
15494 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15495 cc-langs.el. Change it to a defcustom.
7e43cfa5 15496
52bedd34
AM
15497 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15498 cc-vars.el.
7e43cfa5 15499
d0af9f77
SM
15500 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15501 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15502
52bedd34 15503 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15504 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15505 (c-widen-to-enclosing-decl-scope): New function.
15506 (c-while-widening-to-decl-block): New macro.
15507 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15508 outward for defun boundaries, and correspondingly change symbol
15509 `respect-enclosure' to `go-outward'.
15510 (c-declaration-limits): Change algorithm to report only the "innermost"
15511 defun's boundaries.
15512
1a2ce9ee
DD
155132011-10-28 Deniz Dogan <deniz@dogan.se>
15514
15515 * net/rcirc.el (rcirc-mode): Use hard newlines.
15516
bc97a826
AM
155172011-10-28 Alan Mackenzie <acm@muc.de>
15518
15519 Amend to indent and fontify macros "which include their own semicolon"
15520 correctly, using the "virtual semicolon" mechanism.
15521
52bedd34 15522 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15523
d0af9f77 15524 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15525 Recode to scan one line at a time rather than having \n and \r
58179cce 15526 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15527 (c-forward-label): Amend for virtual semicolons.
58179cce 15528 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15529
52bedd34
AM
15530 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15531 of the new C macros.
bc97a826 15532
52bedd34 15533 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15534 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15535 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15536 (c-opt-cpp-macro-define): Make into a full language variable.
15537 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15538 AWK Mode (including \n, \r) removed, no longer needed.
15539
d0af9f77
SM
15540 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15541 Invoke c-make-macro-with-semi-re.
bc97a826 15542
52bedd34
AM
15543 * progmodes/cc-vars.el (c-macro-with-semi-re):
15544 (c-macro-names-with-semicolon): New variables.
58179cce 15545 (c-make-macro-with-semi-re): New function.
bc97a826 15546
7a6c0941
SM
155472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15548
15549 * vc/log-edit.el: Fill empty field rather than adding new one.
15550 (log-edit-add-field): New function.
15551 (log-edit-insert-changelog): Use it.
15552
b0c4cdcf
ML
155532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15554
15555 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15556
ee1f1da9
SM
155572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15558
15559 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15560 (gdb--check-interpreter): New function.
15561 (gdb): Use it.
15562
51bc5f8b
GM
155632011-10-27 Glenn Morris <rgm@gnu.org>
15564
416a2c45
GM
15565 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15566 (least-positive-float, least-negative-float)
15567 (least-positive-normalized-float, least-negative-normalized-float)
15568 (float-epsilon, float-negative-epsilon):
15569 Remove unnecessary declarations.
15570
15571 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15572 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15573 (least-positive-float, least-negative-float)
15574 (least-positive-normalized-float, least-negative-normalized-float)
15575 (float-epsilon, float-negative-epsilon): Add doc-strings,
15576 based on those in cl.texi.
15577
51bc5f8b
GM
15578 * files.el (set-visited-file-name): If the major-mode changed,
15579 reload the local variables. (Bug#9796)
15580
15de15c6
CY
155812011-10-27 Chong Yidong <cyd@gnu.org>
15582
15583 * subr.el (change-major-mode-after-body-hook): New hook.
15584 (run-mode-hooks): Run it.
15585
ee1f1da9
SM
15586 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15587 Use change-major-mode-before-body-hook.
15de15c6
CY
15588
15589 * simple.el (fundamental-mode):
15590 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15591 change introducing fundamental-mode-hook.
15592
5430d399
JB
155932011-10-26 Juanma Barranquero <lekktu@gmail.com>
15594
acc825c5 15595 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15596
ad74a69e
MA
155972011-10-26 Michael Albinus <michael.albinus@gmx.de>
15598
15599 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15600 tramp.el explicitly. (Bug#7583)
ad74a69e 15601
71d4c2a5
SM
156022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15603
15604 * progmodes/octave-mod.el:
15605 * progmodes/octave-inf.el: Update maintainer.
15606
b1f6fa26
CY
156072011-10-26 Chong Yidong <cyd@gnu.org>
15608
15609 * subr.el (with-wrapper-hook): Rewrite doc.
15610
3f04efd6
MA
156112011-10-25 Michael Albinus <michael.albinus@gmx.de>
15612
15613 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15614 filenames "/method:foo:". (Bug#9793)
3f04efd6 15615
410488d3
SM
156162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15619 (bug#9865).
15620
c1ebb47e
GM
156212011-10-24 Glenn Morris <rgm@gnu.org>
15622
15623 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15624
7f5c46c7
MA
156252011-10-24 Michael Albinus <michael.albinus@gmx.de>
15626
15627 * notifications.el: Add the requirement of a running D-Bus session
15628 bus to the Commentary.
15629
db2440b6
JL
156302011-10-24 Juri Linkov <juri@jurta.org>
15631
15632 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15633 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15634 (Bug#9364)
15635
feecf435
JL
156362011-10-24 Juri Linkov <juri@jurta.org>
15637
15638 * info.el (Info-following-node-name-re): Add newline to the list
15639 of allowed characters for leading space. (Bug#9824)
15640
a3839de2
SM
156412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15642
acc825c5
SM
15643 * progmodes/octave-inf.el (inferior-octave-mode-map):
15644 Fix C-c C-h binding.
a3839de2
SM
15645 * progmodes/octave-mod.el (octave-help): Remove.
15646
09388e76
MA
156472011-10-23 Michael Albinus <michael.albinus@gmx.de>
15648
15649 Sync with Tramp 2.2.3.
15650
15651 * net/tramp-cache.el (top): Pacify byte-compiler using
15652 `init-file-user' and `site-run-file'.
15653
15654 * net/trampver.el: Update release number.
15655
86c60681
CY
156562011-10-23 Chong Yidong <cyd@gnu.org>
15657
15658 * files.el (toggle-read-only): Remove obsolete comment about
15659 version control.
15660
15661 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15662 for toggle-read-only. Note that this hasn't called vc-next-action
15663 since 2008-05-02, though it wasn't documented at the time.
15664
a3839de2
SM
15665 * vc/ediff-init.el (ediff-toggle-read-only-function):
15666 Use toggle-read-only.
86c60681 15667
cd5495ff
AM
156682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15669
15670 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15671 of c-parse-state.
15672
00b77525 15673 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15674 correct faulty logical expression.
cd5495ff
AM
15675 (c-parse-state-state, c-record-parse-state-state):
15676 (c-replay-parse-state-state): New defvar/defuns.
15677 (c-debug-parse-state): Use new functions.
15678
42ee24ed
MR
156792011-10-22 Martin Rudalics <rudalics@gmx.at>
15680
15681 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15682 last fix. Use window-in-direction correctly.
42ee24ed 15683
a7dee7e7
CY
156842011-10-21 Chong Yidong <cyd@gnu.org>
15685
15686 * progmodes/idlwave.el (idlwave-mode):
15687 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15688 require-final-newline; that's done in prog-mode.
15689 Suggested by Stefan Monnier.
a7dee7e7 15690
e07b9a6d
MR
156912011-10-21 Martin Rudalics <rudalics@gmx.at>
15692
15693 * mouse.el (mouse-drag-window-above)
15694 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15695 (mouse-drag-mode-line-1, mouse-drag-header-line)
15696 (mouse-drag-vertical-line-rightward-window): Remove.
15697 (mouse-drag-line): New function.
15698 (mouse-drag-mode-line, mouse-drag-header-line)
15699 (mouse-drag-vertical-line): Call mouse-drag-line.
15700 * window.el (window-at-side-p, windows-at-side): New functions.
15701
7e1361d9
UM
157022011-10-21 Ulrich Mueller <ulm@gentoo.org>
15703
15704 * tar-mode.el (tar-grind-file-mode):
15705 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15706
30fcaf3a
CY
157072011-10-21 Chong Yidong <cyd@gnu.org>
15708
15709 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15710 * progmodes/vera-mode.el (vera-mode):
15711 Use mode-require-final-newline.
30fcaf3a 15712
516eddb0
GM
157132011-10-20 Glenn Morris <rgm@gnu.org>
15714
db22a3c2 15715 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15716
10d5f513
CS
157172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15718
15719 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15720
ac6c8639
CY
157212011-10-20 Chong Yidong <cyd@gnu.org>
15722
15723 * emulation/cua-base.el (cua-mode):
15724 * mail/footnote.el (footnote-mode):
15725 * mail/mailabbrev.el (mail-abbrevs-mode):
15726 * net/xesam.el (xesam-minor-mode):
15727 * progmodes/bug-reference.el (bug-reference-mode):
15728 * progmodes/cap-words.el (capitalized-words-mode):
15729 * progmodes/compile.el (compilation-minor-mode)
15730 (compilation-shell-minor-mode):
15731 * progmodes/gud.el (gud-tooltip-mode):
15732 * progmodes/hideif.el (hide-ifdef-mode):
15733 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15734 * progmodes/subword.el (subword-mode):
15735 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15736 * progmodes/which-func.el (which-function-mode):
15737 * term/tvi970.el (tvi970-set-keypad-mode):
15738 * term/vt100.el (vt100-wide-mode):
15739 * textmodes/flyspell.el (flyspell-mode):
15740 * textmodes/ispell.el (ispell-minor-mode):
15741 * textmodes/nroff-mode.el (nroff-electric-mode):
15742 * textmodes/paragraphs.el (use-hard-newlines):
15743 * textmodes/refill.el (refill-mode):
15744 * textmodes/reftex.el (reftex-mode):
15745 * textmodes/rst.el (rst-minor-mode):
15746 * textmodes/sgml-mode.el (html-autoview-mode)
15747 (sgml-electric-tag-pair-mode):
15748 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15749 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15750 * emulation/crisp.el (crisp-mode):
15751 * emacs-lisp/eldoc.el (eldoc-mode):
15752 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15753 minor mode behavior.
15754
aa42ab43
JL
157552011-10-19 Juri Linkov <juri@jurta.org>
15756
15757 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15758 the list of hard-coded chars with escape-glyph face.
15759
89400f1d
SM
157602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15761
15762 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15763
305c07f6
MA
157642011-10-19 Michael Albinus <michael.albinus@gmx.de>
15765
15766 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15767 running process.
15768
13754b54
GM
157692011-10-19 Glenn Morris <rgm@gnu.org>
15770
15771 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15772 Ignore ignored files. (Bug#9726)
15773
06e21633
CY
157742011-10-19 Chong Yidong <cyd@gnu.org>
15775
15776 Doc fix for minor modes, stating that an omitted argument enables
15777 the mode unconditionally when called from Lisp.
15778
15779 * abbrev.el (abbrev-mode):
15780 * allout.el (allout-mode):
15781 * autoinsert.el (auto-insert-mode):
15782 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15783 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15784 (global-auto-revert-mode):
15785 * battery.el (display-battery-mode):
15786 * composite.el (global-auto-composition-mode)
15787 (auto-composition-mode):
15788 * delsel.el (delete-selection-mode):
15789 * desktop.el (desktop-save-mode):
15790 * dired-x.el (dired-omit-mode):
15791 * dirtrack.el (dirtrack-mode):
15792 * doc-view.el (doc-view-minor-mode):
15793 * double.el (double-mode):
15794 * electric.el (electric-indent-mode, electric-pair-mode):
15795 * emacs-lock.el (emacs-lock-mode):
15796 * epa-hook.el (auto-encryption-mode):
15797 * follow.el (follow-mode):
15798 * font-core.el (font-lock-mode):
15799 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15800 * help.el (temp-buffer-resize-mode):
15801 * hilit-chg.el (highlight-changes-mode)
15802 (highlight-changes-visible-mode):
15803 * hi-lock.el (hi-lock-mode):
15804 * hl-line.el (hl-line-mode, global-hl-line-mode):
15805 * icomplete.el (icomplete-mode):
15806 * ido.el (ido-everywhere):
15807 * image-file.el (auto-image-file-mode):
15808 * image-mode.el (image-minor-mode):
15809 * iswitchb.el (iswitchb-mode):
15810 * jka-cmpr-hook.el (auto-compression-mode):
15811 * linum.el (linum-mode):
15812 * longlines.el (longlines-mode):
15813 * master.el (master-mode):
15814 * mb-depth.el (minibuffer-depth-indicate-mode):
15815 * menu-bar.el (menu-bar-mode):
15816 * minibuf-eldef.el (minibuffer-electric-default-mode):
15817 * mouse-sel.el (mouse-sel-mode):
15818 * msb.el (msb-mode):
15819 * mwheel.el (mouse-wheel-mode):
15820 * outline.el (outline-minor-mode):
15821 * paren.el (show-paren-mode):
15822 * recentf.el (recentf-mode):
15823 * reveal.el (reveal-mode, global-reveal-mode):
15824 * rfn-eshadow.el (file-name-shadow-mode):
15825 * ruler-mode.el (ruler-mode):
15826 * savehist.el (savehist-mode):
15827 * scroll-all.el (scroll-all-mode):
15828 * scroll-bar.el (scroll-bar-mode):
15829 * server.el (server-mode):
15830 * shell.el (shell-dirtrack-mode):
15831 * simple.el (auto-fill-mode, transient-mark-mode)
15832 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15833 (line-number-mode, column-number-mode, size-indication-mode)
15834 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15835 * strokes.el (strokes-mode):
15836 * time.el (display-time-mode):
15837 * t-mouse.el (gpm-mouse-mode):
15838 * tool-bar.el (tool-bar-mode):
15839 * tooltip.el (tooltip-mode):
15840 * type-break.el (type-break-mode-line-message-mode)
15841 (type-break-query-mode):
15842 * view.el (view-mode):
15843 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15844 (global-whitespace-mode, global-whitespace-newline-mode):
15845 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15846
a3839de2
SM
15847 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15848 Fix autogenerated docstring.
06e21633 15849
5214e501
JL
158502011-10-19 Juri Linkov <juri@jurta.org>
15851
15852 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15853 by checking environment variables "DESKTOP_SESSION" and
15854 "XDG_CURRENT_DESKTOP". (Bug#9779)
15855
195f8db9
JL
158562011-10-19 Juri Linkov <juri@jurta.org>
15857
15858 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15859 (browse-url-chromium-program, browse-url-chromium-arguments):
15860 New defcustoms.
15861 (browse-url-default-browser): Check for `browse-url-chromium' and
15862 call `browse-url-chromium-program'.
15863 (browse-url-chromium): New command. (Bug#9779)
15864
343a34ff
JB
158652011-10-18 Juanma Barranquero <lekktu@gmail.com>
15866
15867 * facemenu.el (list-colors-duplicates): On Windows, detect more
15868 duplicates by assuming that only colors matching "^System" are
15869 special "system colors". (Bug#9722)
15870
6978a151
SM
158712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15874 to distinguish the author from the committer.
15875
6a80b297
MA
158762011-10-18 Michael Albinus <michael.albinus@gmx.de>
15877
15878 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15879
b31a5677
JK
158802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15881
15882 * international/mule.el (sgml-html-meta-auto-coding-function):
15883 Add support for detecting encoding in HTML5 specified only as
15884 <meta charset="UTF-8">. Implementation just makes http-equiv and
15885 content-type parts from HTML4 encoding string optional. (Bug#9716)
15886
80c6d77f
GM
158872011-10-18 Glenn Morris <rgm@gnu.org>
15888
15889 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15890
08b0fee8
CY
158912011-10-18 Chong Yidong <cyd@gnu.org>
15892
15893 * faces.el (cursor): Doc fix.
15894
67e729a5
CY
158952011-10-17 Chong Yidong <cyd@gnu.org>
15896
15897 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15898
343a34ff 158992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
15900
15901 * dirtrack.el (dirtrack): Support shell buffers with path
15902 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15903
0bc06380
TZ
159042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15905
15906 * json.el: Bump version to 1.3 and note change in History.
15907 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15908
8b79f3e0
SM
159092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15910
5a7c536b
SM
15911 * comint.el (comint-insert-input, comint-send-input)
15912 (comint-get-old-input-default, comint-backward-matching-input)
15913 (comint-next-prompt): Use nil instead of `input' for field property of
15914 past user input (bug#114).
15915
96a8a0df
SM
15916 * minibuffer.el (completion--replace): Inherit surrounding properties
15917 (bug#114).
15918 (minibuffer-complete-and-exit): Use it.
15919
8b79f3e0
SM
15920 * comint.el (comint--table-subvert): Quote the all-completions output
15921 (bug#9160).
15922
b8f7ff0d
MR
159232011-10-17 Martin Rudalics <rudalics@gmx.at>
15924
8b79f3e0 15925 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 15926
b8f7ff0d 15927 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 15928 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
15929 entries and separate them from frame entries.
15930
c235b555
GM
159312011-10-15 Glenn Morris <rgm@gnu.org>
15932
15933 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15934 Doc fixes.
15935
6bbfa6e1
CY
159362011-10-15 Chong Yidong <cyd@stupidchicken.com>
15937
8b79f3e0
SM
15938 * net/network-stream.el (network-stream-open-starttls):
15939 Improve detection of failure due to lack of TLS support.
ec5c990d 15940
6bbfa6e1
CY
15941 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15942 putting the input text in front and in bold.
15943
98488977
SM
159442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15945
3d1337be
SM
15946 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15947
ee0b45e4
SM
15948 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15949 empty buffer.
15950
98488977
SM
15951 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15952 unread-command-events rather than pushing yet-another event.
15953
186f4720
EZ
159542011-10-14 Eli Zaretskii <eliz@gnu.org>
15955
15956 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15957 the explanation of the possible choices. Make the options passed
15958 to completing-read shorter.
15959
8b7a997c
AM
159602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15961
15962 * textmodes/flyspell.el (flyspell-large-region): Make sure
15963 extended character mode is used if defined (Bug#1339).
15964
12587bbb
EZ
159652011-10-13 Eli Zaretskii <eliz@gnu.org>
15966
15967 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
15968 character info for LRE, LRO, RLE, and RLO characters by appending
15969 an invisible PDF.
12587bbb 15970
bad41229
SM
159712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15972
15973 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15974 even in case of error; add debug spec; simplify data flow.
15975 (with-timeout-handler): Remove.
15976
28dbc92f
MA
159772011-10-12 Michael Albinus <michael.albinus@gmx.de>
15978
15979 Fix Bug#6019, Bug#9315.
15980
15981 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15982 complete `buffer-file-name', the local file name part could look
15983 remotely (for example on VMS).
15984
15985 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15986 `tramp-run-real-handler'.
15987 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15988 already quoted by '"'.
15989
15990 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15991 Let `file-name-handler-alist' be nil, the local file name part
15992 could look remotely (for example on VMS).
15993
e1b0b23a
SM
159942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15997 from here...
15998 (flyspell-post-command-hook): ...to here.
15999
a120bde9
SM
160002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16001
16002 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16003 if not needed.
16004 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16005 using completion. Protect against "slow" callers.
16006 Remove the "message hack".
16007
7ce7717b
JL
160082011-10-11 Juri Linkov <juri@jurta.org>
16009
16010 * isearch.el (isearch-lazy-highlight-word): New variable.
16011 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16012 Use it. (Bug#9727)
16013
c02ee9d6
GM
160142011-10-11 Glenn Morris <rgm@gnu.org>
16015
16016 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16017 like f90-previous-statement does.
16018
93e616fd 160192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16020
1f190e73 16021 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16022 only in interactive use, to avoid error.
16023
af7b6078
SM
160242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16025
16026 * minibuffer.el (completion-file-name-table): Fix last change,
16027 i.e. ignore normal errors but not the other ones.
16028
0563dae9
MR
160292011-10-10 Martin Rudalics <rudalics@gmx.at>
16030
16031 * window.el (special-display-buffer-names)
16032 (special-display-regexps): Remove some remnants of earlier
16033 changes from doc-strings.
366ca7f3
MR
16034 (quit-windows-on): New function.
16035
16036 * vc/vc.el (vc-revert, vc-rollback):
16037 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16038 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16039 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16040
49677495
MR
160412011-10-09 Martin Rudalics <rudalics@gmx.at>
16042
16043 * window.el (frame-auto-hide-function): Add version tag.
16044 (Bug#9699)
16045
56f2d1e1
MA
160462011-10-09 Michael Albinus <michael.albinus@gmx.de>
16047
16048 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16049 condition.
16050
112a6592
LL
160512011-10-09 Leo Liu <sdl.web@gmail.com>
16052
16053 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16054 (Bug#9701)
16055
0812589b
GM
160562011-10-08 Glenn Morris <rgm@gnu.org>
16057
16058 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16059 before the first code statement zero indent. (Bug#9690)
16060
b2b0776e
CY
160612011-10-08 Chong Yidong <cyd@stupidchicken.com>
16062
16063 * simple.el (count-words-region): Always count in the region.
16064 Report the number of lines and characters too.
16065 (count-words): New command, which counts in the buffer if the
16066 region is inactive, as count-words-region used to.
16067 (count-words--message): New function. Handle plurals.
16068 (count-lines-region): Make it an alias for count-words-region.
16069
16070 * bindings.el (esc-map): Replace count-lines-region with
16071 count-words-region.
16072
c557cd6b
MR
160732011-10-08 Martin Rudalics <rudalics@gmx.at>
16074
16075 * window.el (window--delete): Delete dedicated frame
16076 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16077 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16078
61a57ef4 160792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16080
3a7d293b 16081 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16082
c3833279
CY
160832011-10-07 Chong Yidong <cyd@stupidchicken.com>
16084
16085 * bindings.el ([M-left],[M-right]): Bind to left-word and
16086 right-word respectively.
16087
21ce8245
GM
160882011-10-07 Glenn Morris <rgm@gnu.org>
16089
16090 * cus-start.el (debug-on-quit): Fix custom type.
16091
6d823bb2
LMI
160922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16093
0181e193
LMI
16094 * subr.el (define-key-after): Clarify that the function is not
16095 useful for non-menu keymaps.
16096
6d823bb2
LMI
16097 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16098
8e3459ce 160992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16100
21ce8245 16101 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16102 in current minibuffer (Fix bug with recursive minibuffers).
16103
a1c2d21e
CY
161042011-10-06 Chong Yidong <cyd@stupidchicken.com>
16105
16106 * progmodes/gdb-mi.el (gdb): Doc fix.
16107
5a4cf282
MR
161082011-10-05 Martin Rudalics <rudalics@gmx.at>
16109
16110 * window.el (frame-auto-hide-function): New option replacing
16111 frame-auto-delete. Suggested by Stefan Monnier.
16112 (window--delete): Call frame-auto-hide-function instead of
16113 investigating frame-auto-delete.
c96111ea
MR
16114 (window-point-1, set-window-point-1): New functions.
16115 (window-in-direction, record-window-buffer, window-state-get-1)
16116 (display-buffer-record-window): Use window-point-1 instead of
16117 window-point.
16118 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16119
9854542e
SM
161202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16123
8943cfb0
GM
161242011-10-05 Glenn Morris <rgm@gnu.org>
16125
16126 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16127 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16128
647ab967
LL
161292011-10-05 Leo Liu <sdl.web@gmail.com>
16130
16131 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16132 works with buffer object.
16133
3ddfbced
SM
161342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * mpc.el (mpc-tool-bar-map): Add labels.
16137
bdfa5dd2
GM
161382011-10-04 Glenn Morris <rgm@gnu.org>
16139
16140 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16141
0e2070b5
MR
161422011-10-04 Martin Rudalics <rudalics@gmx.at>
16143
16144 * window.el (window--delete): New function.
16145 (frame-auto-delete): Resuscitate option.
16146 (bury-buffer, replace-buffer-in-windows)
16147 (quit-window): Rewrite using window--delete.
16148 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16149 Pass display-buffer-mark-dedicated to window--display-buffer-2
16150 (Bug#9639).
16151
3dc61a09
SM
161522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16153
915a9b64
SM
16154 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16155 returns a list (bug#9554). Add remote file name completion.
16156 * comint.el (comint--table-subvert): Curry and get quote&unquote
16157 functions as arguments.
16158 (comint--complete-file-name-data): Adjust call accordingly.
16159 * pcomplete.el (pcomplete--table-subvert): Remove.
16160 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16161
3dc61a09
SM
16162 * minibuffer.el (completion-table-case-fold): Use currying.
16163 (completion--styles-type, completion--cycling-threshold-type):
16164 New constants.
16165 (completion-styles, completion-category-overrides)
16166 (completion-cycle-threshold): Use them.
16167 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16168 completion-table-case-fold.
16169
8ea0a993
SB
161702011-10-03 Stephen Berman <stephen.berman@gmx.net>
16171
16172 * minibuffer.el (completion-category-overrides): Fix type of styles
16173 and add more user friendly tags (bug#9660).
16174
8c24b7f6
SM
161752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16176
16177 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16178 (mule-input-method-string): New widget.
16179 (default-input-method, language-info-custom-alist): Use it.
16180
428fe61a
SM
161812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16182
32c1fffd
SM
16183 * pcomplete.el: Require comint.
16184 (pcomplete--common-suffix): Remove.
16185 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16186 (pcomplete--table-subvert): Sync with comint--table-subvert.
16187 (pcomplete--entries): Use comint-completion-file-name-table.
16188 * comint.el (comint-unquote-filename): Simplify.
16189 (comint-completion-file-name-table): New function (bug#9616).
16190 (comint--complete-file-name-data): Use it.
16191
428fe61a
SM
16192 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16193 (pcmpl-gnu-tar-buffer): Remove.
16194 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16195 around. Make sure pcomplete-suffix-list is only changed temporarily.
16196 Don't look inside the tar's file if it's too large.
428fe61a 16197
04c52e2f
CY
161982011-10-01 Chong Yidong <cyd@stupidchicken.com>
16199
ce3cefcc
CY
16200 * cus-edit.el (custom-mode-map):
16201 * epa.el (epa-key-list-mode-map):
16202 * man.el (Man-mode-map):
16203 * startup.el (splash-screen-keymap):
16204 * simple.el (special-mode-map): Use scroll-up-command and
16205 scroll-down-command.
16206
16207 * progmodes/idlw-help.el (idlwave-help-mode-map):
16208 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16209 * net/newst-plainview.el (newsticker-mode-map):
16210 * emulation/ws-mode.el (wordstar-mode-map):
16211 * emulation/vi.el (vi-com-map):
16212 * calc/calc-graph.el (calc-graph-show-dumb):
16213 * term/sun.el (terminal-init-sun):
16214 * term/ns-win.el (global-map):
16215 * progmodes/grep.el (grep-mode-map):
16216 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16217 * mail/rmail.el (rmail-mode-map):
16218 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16219
04c52e2f
CY
16220 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16221 custom-safe-themes as special.
16222
79adf8c8
JD
162232011-10-01 Julien Danjou <julien@danjou.info>
16224
16225 * notifications.el (notifications-notify): Fix docstring.
16226
63bd50d3
PS
162272011-10-01 Per Starbäck <per@starback.se>
16228
16229 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16230
199e4c7e
MR
162312011-09-30 Martin Rudalics <rudalics@gmx.at>
16232
16233 * startup.el (command-line-1): Fix last fix by inserting
16234 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16235 (Bug#9605) and (Bug#9636)
199e4c7e 16236
fe5f08dd
EZ
162372011-09-29 Eli Zaretskii <eliz@gnu.org>
16238
16239 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16240 window is hscrolled, move by logical lines. (Bug#9607)
16241 (line-move-visual): Update the doc string to the above effect.
16242
b5516bbd
MR
162432011-09-29 Martin Rudalics <rudalics@gmx.at>
16244
ccee00c0
MR
16245 * window.el (display-buffer-record-window): When WINDOW is the
16246 selected window use `point' instead of `window-point'. (Bug#9626)
16247
b5516bbd
MR
16248 * startup.el (command-line-1): Use insert-before-markers when
16249 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16250
b5516bbd
MR
16251 * help.el (help-window): Remove variable.
16252
52aa0014
GM
162532011-09-29 Glenn Morris <rgm@gnu.org>
16254
16255 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16256
df9a7357
JB
162572011-09-29 Juanma Barranquero <lekktu@gmail.com>
16258
16259 * descr-text.el (describe-char-categories): Accept category
16260 descriptions more than one line long.
16261
a8406c20
SM
162622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16263
88d9610c
SM
16264 * simple.el (delete-trailing-whitespace): Fix last change.
16265
a5daf810
SM
16266 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16267 Don't confuse "y => 3" as the beginning of a `y' operation.
16268
a8406c20
SM
16269 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16270 object has more than 4 slots (bug#9613).
16271
a239d4e9
JB
162722011-09-28 Juanma Barranquero <lekktu@gmail.com>
16273
16274 * subr.el (with-output-to-temp-buffer):
16275 * net/quickurl.el (quickurl, quickurl-browse-url):
16276 Fix typos in docstrings.
16277
693fbdb6
EZ
162782011-09-27 Eli Zaretskii <eliz@gnu.org>
16279
16280 * minibuffer.el (completion-styles)
16281 (completion-category-overrides): Cross reference each other in doc
16282 strings.
16283
8b457e28
GM
162842011-09-27 Glenn Morris <rgm@gnu.org>
16285
16286 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16287 to split-string. (Bug#9606)
16288
85a16208
LMI
162892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16290
16291 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16292 (bug#9615).
16293
502f9ebd
CY
162942011-09-27 Chong Yidong <cyd@stupidchicken.com>
16295
16296 * emacs-lisp/package.el (list-packages): Fix echo area message.
16297
7690bdea
LL
162982011-09-27 Leo Liu <sdl.web@gmail.com>
16299
16300 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16301
e2ee6f30
MA
163022011-09-25 Michael Albinus <michael.albinus@gmx.de>
16303
16304 * net/dbus.el (dbus-unregister-object): Don't release services for
16305 registered signals. (Bug#9581)
16306
f3f98342
TZ
163072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16308
16309 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16310 function that picks between cfengine 2 and 3 support
16311 automatically. Update docs accordingly.
16312
dd7aa8dd
KH
163132011-09-22 Kenichi Handa <handa@m17n.org>
16314
16315 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16316 ZERO.
16317 (indian-itrans-v5-table-for-tamil): New variable.
16318 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16319
3f2b07f8
KM
163202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16321
16322 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16323 that's true if the current command involved collapsing of text.
16324 It's reset to false at the beginning of the next command.
16325 (allout-post-command-business): Move the cursor to the beginning
16326 of entry if the cursor is hidden and collapsing activity just
16327 happened.
16328
371d6a61
CY
163292011-09-24 Chong Yidong <cyd@stupidchicken.com>
16330
16331 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16332 tracking (Bug#9541).
16333
2ac2721a
UJ
163342011-09-24 Ulf Jasper <ulf.jasper@web.de>
16335
16336 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16337 (newsticker-show-news): Automatically load html rendering package
16338 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16339 because w3m-fill-column is let-bound" and the error "Symbol's value
16340 as variable is void: w3m-fill-column".
2ac2721a 16341
fac7ae53
MA
163422011-09-24 Michael Albinus <michael.albinus@gmx.de>
16343
16344 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16345 Release services only if they are defined. (Bug#9581)
16346
e08b633b
RS
163472011-09-23 Richard Stallman <rms@gnu.org>
16348
e488d29c
RS
16349 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16350 distinguish start of paragraph from start of its text.
16351
19c38752
RS
16352 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16353
e08b633b
RS
16354 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16355 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16356 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16357
0a39f27e
AS
163582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16359
16360 * international/mule-diag.el (mule-diag): Insert a newline after
16361 each fontset description.
16362
db4e950d
SM
163632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * simple.el (delete-trailing-whitespace):
16366 Document last change; simplify.
16367
eca3f3ea
PW
163682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16369
d68e189a
PW
16370 * simple.el (delete-trailing-whitespace): Also delete
16371 extra newlines at the end of the buffer.
16372
eca3f3ea
PW
16373 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16374 (picture-newline): Use forward-line so as to ignore fields.
16375
01c157cc
SM
163762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * subr.el (with-wrapper-hook): Fix edebug spec.
16379
022de23e
LMI
163802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16381
16382 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16383 (bug#4538).
16384
91683089
MA
163852011-09-23 Michael Albinus <michael.albinus@gmx.de>
16386
eca3f3ea
PW
16387 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16388 Fix nasty bug using wrong cached values.
91683089 16389
5bdd6fa4
AM
163902011-09-23 Alan Mackenzie <acm@muc.de>
16391
16392 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16393
97adfb97
CY
163942011-09-23 Chong Yidong <cyd@stupidchicken.com>
16395
16396 * window.el (pop-to-buffer): Ensure right window is selected if we
16397 chose another frame.
16398
d4ef2b50
EZ
163992011-09-22 Eli Zaretskii <eliz@gnu.org>
16400
16401 * simple.el (what-cursor-position): Use get-char-property-change
16402 and next-single-char-property-change, to be able to show display
16403 properties that come from overlays as well as text properties.
16404
72258fe5
CY
164052011-09-22 Chong Yidong <cyd@stupidchicken.com>
16406
16407 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16408
16409 * cmuscheme.el (run-scheme, switch-to-scheme):
16410 * cus-edit.el (customize-group, custom-buffer-create)
16411 (customize-browse):
16412 * info.el (info):
16413 * shell.el (shell):
16414 * mail/sendmail.el (mail):
16415 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16416
8f098516
RS
164172011-09-22 Richard Stallman <rms@gnu.org>
16418
16419 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16420 move back only to line beg, don't move back over blank lines.
16421
e74f1bb6
MA
164222011-09-22 Michael Albinus <michael.albinus@gmx.de>
16423
16424 * files.el (copy-directory): Set directory attributes only in case
16425 they could be retrieved from the source directory. (Bug#9565)
16426
bfeef8b6
DK
164272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16428
16429 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16430 (hs-find-block-beginning, hs-hide-level-recursive):
16431 Ignore strings as well as comments. (Bug#9502)
16432
7e423bb8
AS
164332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16434
16435 * progmodes/sql.el (sql-comint-postgres):
16436 Convert port number to a string. (Bug#9566)
16437
b4d72fcf
MR
164382011-09-22 Martin Rudalics <rudalics@gmx.at>
16439
16440 * window.el (quit-window): Undedicate window when switching to
16441 previous buffer. Reported by Thierry Volpiatto
16442 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16443 (special-display-popup-frame): When popping up a new frame reset
16444 its previous buffers to nil. Simplify code.
b4d72fcf 16445
a7b88dc6
MA
164462011-09-21 Michael Albinus <michael.albinus@gmx.de>
16447
16448 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16449 and process filter, as done also in `shell-command'.
16450
cf4eacfd
MR
164512011-09-21 Martin Rudalics <rudalics@gmx.at>
16452
eca3f3ea 16453 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16454 Call set-window-start with NOFORCE argument t.
16455 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16456 (quit-window): Reword doc-string. Handle new format of
16457 quit-restore parameter. Don't delete window if it has a
16458 previous buffer we can show instead of the present one.
16459 (display-buffer-record-window): Rewrite using a new format for
16460 the quit-restore window parameter
16461 (special-display-popup-frame, display-buffer-same-window)
16462 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16463 (display-buffer-pop-up-window, display-buffer-use-some-window):
16464 Adapt symbol passed to display-buffer-record-window.
16465 * help.el (help-window-setup): Handle new format of quit-restore
16466 parameter.
16467
8d28cb95
SM
164682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16469
94ab793f
SM
16470 * faces.el (face-list): Fix docstring (bug#9564).
16471
8d28cb95
SM
16472 * window.el (display-buffer--action-function-custom-type):
16473 Don't include internal functions in the Custom interface.
16474
3820edeb
JL
164752011-09-20 Juri Linkov <juri@jurta.org>
16476
16477 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16478 (Info-forward-node, Info-backward-node, Info-next-preorder)
16479 (Info-last-preorder): Use it. (Bug#9528)
16480
5147931d
JL
164812011-09-20 Juri Linkov <juri@jurta.org>
16482
16483 * info.el (Info-last-preorder): Visit last menu item only when
16484 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16485
cf499a1a
JD
164862011-09-20 Julien Danjou <julien@danjou.info>
16487
16488 * password-cache.el (password-cache-remove): Remove entries even if the
16489 value is nil, so that password with a nil value (negative caching) is
16490 possible to invalidate.
16491
f84e2fe2
LM
164922011-09-20 Lawrence Mitchell <wence@gmx.li>
16493
16494 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16495 all whitespace around breakpoint. (Bug#9553)
16496 (f90-find-breakpoint): Only break at whitespace inside a comment.
16497
78054a46
SM
164982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16499
16500 * minibuffer.el (completion-file-name-table): Keep track of errors.
16501 (completion-table-with-predicate): Handle the case where pred1 is nil.
16502 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16503
345083b2
SM
165042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16505
e24e27be
SM
16506 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16507 (debugger-return-value): Signal an error if the debugging context does
16508 not await any return value.
16509
345083b2
SM
16510 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16511 * image-mode.el (image-toggle-display-text)
16512 (image-toggle-display-image): Stay away from evil `intangible'.
16513
08d355e3
LL
165142011-09-19 Leo Liu <sdl.web@gmail.com>
16515
16516 * replace.el (occur-revert-arguments): Make it permanent-local.
16517 (occur-mode): Don't call font-lock-defontify.
16518
f01da43f
CY
165192011-09-19 Chong Yidong <cyd@stupidchicken.com>
16520
16521 * net/ldap.el (ldap-search-internal): Don't push empty search
16522 result (Bug#9508).
16523
b6072fa6
SM
165242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16527
443d6696
MA
165282011-09-19 Michael Albinus <michael.albinus@gmx.de>
16529
16530 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16531 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16532
7cc6e154
JL
165332011-09-18 Juri Linkov <juri@jurta.org>
16534
16535 * buff-menu.el (Buffer-menu-mode-map):
16536 * dired.el (dired-mode-map):
16537 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16538 (lisp-interaction-mode-map):
16539 * emacs-lisp/package.el (package-menu-mode-map):
16540 * epa.el (epa-key-list-mode-map):
16541 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16542 (menu-bar-options-menu):
16543 * outline.el (outline-mode-menu-bar-map):
16544 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16545 * vc/vc-dir.el (vc-dir-menu-map):
16546 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16547 Capitalize non-function content words in menu item strings.
16548
16549 * dired.el (dired-mode-map): Add menu item for
16550 `image-dired-dired-toggle-marked-thumbs'.
16551
80302a81
JL
165522011-09-18 Juri Linkov <juri@jurta.org>
16553
16554 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16555 to `isearch-case-fold-search' and restore its original value
16556 after the `isearch-mode' call.
16557
46c5cf66
JL
165582011-09-18 Juri Linkov <juri@jurta.org>
16559
16560 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16561 because `zgrep' returns 1 for successful matches (bug#9226).
16562
d18b513b
JL
165632011-09-18 Juri Linkov <juri@jurta.org>
16564
16565 * info.el (Info-extract-menu-node-name): Check the second match
16566 for empty string (second test-case of bug#9528).
16567 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16568 intermediate nodes to the history (first test-case of bug#9528).
16569
72753f87
JL
165702011-09-18 Juri Linkov <juri@jurta.org>
16571
16572 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16573 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16574
c9384295
JL
165752011-09-18 Juri Linkov <juri@jurta.org>
16576
1154d12e
JB
16577 * info.el (Info-file-supports-index-cookies):
16578 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16579 outputs one more line for long file names (bug#4142).
c9384295 16580
d473dce8
CY
165812011-09-18 Chong Yidong <cyd@stupidchicken.com>
16582
16583 * newcomment.el (comment-normalize-vars): If prompting for
16584 comment-start, set comment-start-skip too (Bug#8424).
16585
2176854d
JB
165862011-09-18 Johan Bockgård <bojohan@gnu.org>
16587
16588 * icomplete.el: Fix previous fix of Bug#5849.
16589 (icomplete-mode): Don't set completion-show-inline-help.
16590 (icomplete-minibuffer-setup): Set completion-show-inline-help
16591 locally during icompletion.
16592
3aace4e4
CY
165932011-09-18 Chong Yidong <cyd@stupidchicken.com>
16594
c940224f
CY
16595 * woman.el (woman2-process-escapes): Don't delete unrecognized
16596 escapes (Bug#7843).
16597
3aace4e4
CY
16598 * files.el (inhibit-first-line-modes-regexps): Add image files.
16599 (hack-local-variables-prop-line): Return nil for malformed
16600 prop-lines (Bug#9044).
16601
710dec63
MA
166022011-09-18 Michael Albinus <michael.albinus@gmx.de>
16603
16604 * net/tramp.el (top): Don't require 'shell.
16605 (tramp-methods): Fix docstring.
16606 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16607 Return complete remote file name. Handle "smb" case.
16608 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16609 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16610
16611 * net/tramp-compat.el (top): Require 'shell.
16612
16613 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16614 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16615 `tramp-current-host'.
16616 (tramp-get-remote-tmpdir): Remove.
16617
16618 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16619 `tramp-tmpdir' entries.
16620 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16621 (tramp-smb-handle-file-attributes): Ignore errors.
16622 (tramp-smb-wait-for-output): Check also for process end.
16623
5d5ac8ec
LMI
166242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625
16626 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16627 when sending QUIT (bug#9312).
16628
8c0f49f0
CY
166292011-09-17 Chong Yidong <cyd@stupidchicken.com>
16630
16631 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16632 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16633 occur-mode-display-occurrence.
16634 (occur-edit-mode): Add usage message.
16635 (occur-cease-edit): New command.
16636 (occur-after-change-function): Use text properties to find the
16637 position of the prefix text.
16638 (occur-engine): Set stickiness of prefix text properties.
16639
8f1383f7
GM
166402011-09-17 Glenn Morris <rgm@gnu.org>
16641
16642 * progmodes/etags.el (complete-tag):
16643 Fix call to completion-in-region. (Bug#9526)
16644
744ba0e3
JL
166452011-09-17 Juri Linkov <juri@jurta.org>
16646
16647 * textmodes/ispell.el (ispell-word): Add to the error message
16648 the word, ispell program name and current dictionary (bug#9121).
16649 (ispell-tex-arg-end): Capitalize "error" in the error message.
16650
d9bbf400
AS
166512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16652
16653 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16654 check. (Bug#4251)
16655
8da11505
JL
166562011-09-17 Juri Linkov <juri@jurta.org>
16657
16658 * window.el (window-safe-min-height, window-safe-min-width):
16659 Fix typos (followup to bug#9522).
16660
a91adc7e
SJ
166612011-09-17 Sven Joachim <svenjoac@gmx.de>
16662
16663 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16664
064f328a
EZ
166652011-09-16 Eli Zaretskii <eliz@gnu.org>
16666
16667 * simple.el (line-move): If goal-column is set, move by logical
16668 lines, not by display lines. (Bug#971)
16669 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16670 to reflect the above change.
16671
e69df516
SM
166722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16673
16674 * image.el (imagemagick-register-types): Use regexp-opt.
16675
cbb0f9ab
CY
166762011-09-15 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * window.el (display-buffer-base-action): Rename from
16679 display-buffer-default-action. Make default value empty.
16680 (display-buffer-overriding-action): Convert to defvar.
16681 (display-buffer-fallback-action): New var.
16682
25322144
CY
166832011-09-15 Chong Yidong <cyd@stupidchicken.com>
16684
16685 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16686 declaration.
16687 (package--add-to-archive-contents): If there is a duplicate entry
16688 with an older version, remove it.
16689 (package-menu-mark-delete, package-menu-mark-install)
16690 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16691 (package-menu-mark-obsolete-for-deletion):
16692 Use package-menu-get-status instead of a regexp search.
25322144
CY
16693 (package-menu-get-status): Use tabulated-list-entry.
16694 (package-menu-mark-upgrades): New command.
d770725a 16695 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16696 (package-menu-execute): Do installation before deletion.
16697 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16698 instead of checking major-mode.
16699 (package-menu--find-upgrades): New function.
16700
7520339c
LMI
167012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16702
16703 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16704 passwords in the log buffer.
65a046c4
LMI
16705 (smtpmail-process-filter): Update the process marker so that the
16706 "broken by peer" status message is inserted in the right place.
7520339c 16707
d3c30954
SM
167082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16709
3fe48822
SM
16710 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16711 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16712 bibtex-completion-at-point-function.
16713 (bibtex-completion-at-point-function): Use them.
16714
1b8b3954
SM
16715 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16716
d3c30954
SM
16717 * mpc.el (mpc-constraints-tag-lookup): New function.
16718 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16719 also to browser "album|playlist".
16720
72779976
JL
167212011-09-14 Juri Linkov <juri@jurta.org>
16722
16723 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16724 (isearch-edit-string): Use length of `isearch-string' when
16725 `isearch-fail-pos' returns nil.
16726 (isearch-message): Remove duplicate code and call
16727 `isearch-fail-pos' with arg `t'.
16728
a0bf2bcd
CY
167292011-09-14 Chong Yidong <cyd@stupidchicken.com>
16730
17bb0a2d
CY
16731 * replace.el (occur-mode-goto-occurrence): Don't force using other
16732 window (Bug#9499).
16733
a0bf2bcd
CY
16734 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16735
f678e0b6
MR
167362011-09-14 Martin Rudalics <rudalics@gmx.at>
16737
16738 * window.el (display-buffer-window): Remove.
16739 (display-buffer-record-window): Use help-setup window parameter
16740 instead of variable display-buffer-window.
16741 (display-buffer-function, special-display-buffer-names)
16742 (special-display-function): Mention help-setup parameter instead
16743 of display-buffer-window in doc-string.
d3c30954
SM
16744 * help.el (help-window-setup): New argument help-window.
16745 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16746 Reword some messages.
16747 (with-help-window): Pass window used for displaying the buffer
16748 to help-window-setup. Don't set display-buffer-window.
16749
8e39b2e8
GM
167502011-09-13 Glenn Morris <rgm@gnu.org>
16751
16752 * emacs-lisp/debug.el (debugger-make-xrefs):
16753 Preserve point. (Bug#9462)
16754
85e9c04b
CY
167552011-09-13 Chong Yidong <cyd@stupidchicken.com>
16756
16757 * window.el (window-deletable-p): Use next-frame.
16758
1b36ed6a
MR
167592011-09-13 Martin Rudalics <rudalics@gmx.at>
16760
16761 * window.el (window-auto-delete): Remove.
16762 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16763 dedication and previous buffers.
1b36ed6a
MR
16764 (switch-to-prev-buffer): Don't delete window.
16765 (delete-windows-on): Delete a window's frame if and only if the
16766 window is dedicated.
16767 (replace-buffer-in-windows): Delete buffer's window or frame if
16768 and only if window is dedicated.
16769 (quit-window): Handle quit-restore as before last change.
4d61f28d 16770 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16771
ef8ef9fb
CY
167722011-09-13 Chong Yidong <cyd@stupidchicken.com>
16773
16774 * window.el (window-deletable-p): Never delete the last frame on a
16775 given terminal.
16776
b2cba41e
GM
167772011-09-13 Glenn Morris <rgm@gnu.org>
16778
16779 * help.el (describe-key-briefly): Copy previous standard-output change.
16780
51553db6 167812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16782
16783 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16784
b7556719
GM
167852011-09-13 Glenn Morris <rgm@gnu.org>
16786
16787 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16788 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16789
64b51947
CY
167902011-09-12 Chong Yidong <cyd@stupidchicken.com>
16791
16792 * dired-aux.el (dired-mark-read-string): Don't return default
16793 value on empty input (Bug#9361).
16794 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16795 Omit initial minibuffer contents.
16796 (dired-do-chmod): Signal an error on empty input.
16797 (dired-mark-read-string): Don't return default on empty input.
16798
16799 * files.el (file-modes-symbolic-to-number): Doc fix.
16800
393a301e
SM
168012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * international/mule-cmds.el (ucs-completions): Remove.
16804 (read-char-by-name): Use complete-with-action instead; add metadata.
16805
fa5660f9
CY
168062011-09-11 Chong Yidong <cyd@stupidchicken.com>
16807
16808 * window.el (display-buffer--action-function-custom-type)
16809 (display-buffer--action-custom-type): New vars.
16810 (display-buffer-alist, display-buffer-default-action)
16811 (display-buffer-overriding-action): Add defcustom types.
16812
4a592f66
CY
16813 * frame.el (delete-other-frames): Doc fix (Bug#276).
16814
73d56dbd
LMI
168152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16816
16817 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16818
37ac18a3
CY
168192011-09-11 Chong Yidong <cyd@stupidchicken.com>
16820
16821 Change modes that used same-window-* vars to use switch-to-buffer.
16822
16823 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16824 Use switch-to-buffer.
16825
16826 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16827 (customize-browse, custom-buffer-create-other-window):
16828 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16829
16830 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16831 (Info-prev, Info-up, Info-speedbar-goto-node)
16832 (info-display-manual): Use switch-to-buffer.
16833 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16834
16835 * mail/sendmail.el (mail): Use switch-to-buffer.
16836 (mail-recover): Use switch-to-buffer-other-window.
16837
16838 * cmuscheme.el (run-scheme, switch-to-scheme):
16839 * ielm.el (ielm):
16840 * shell.el (shell):
16841 * net/rlogin.el (rlogin):
16842 * net/telnet.el (telnet, rsh):
16843 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16844
10195bd6
AS
168452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16846
16847 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16848
b322f63a
LMI
168492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16850
39d7fed6
LMI
16851 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16852 so don't mention it (bug#9301).
ba5a81f1 16853 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16854
ee0e9f11
LMI
16855 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16856 match `x', `w32' and `ns', like the manual says (bug#9029).
16857
0b1c89c1 16858 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16859 (process-kill-buffer-query-function): Mention the buffer name in
16860 the query.
0b1c89c1 16861
77549ea8
LMI
16862 * image-mode.el (image-next-line): The line parameter is mandatory
16863 (bug#9258).
16864
803ef892
LMI
16865 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16866 which can be useful (bug#9301).
16867
12980837
LMI
16868 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16869
91054f8f
LMI
16870 * subr.el (match-string): Mention that the current buffer should
16871 be the same as the search was done in (bug#9282).
16872
b322f63a
LMI
16873 * facemenu.el: Disable the remove-* commands if the mark isn't
16874 active (bug#9162).
16875
3199b96f
CY
168762011-09-10 Chong Yidong <cyd@stupidchicken.com>
16877
16878 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16879 of display-buffer.
16880 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16881
16882 * replace.el (occur-mode-goto-occurrence)
16883 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16884 and display-buffer.
16885
16886 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16887 display-buffer.
16888
16889 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16890 special-display and same-window variables.
16891 (mail-other-window): Use switch-to-buffer-other-window.
16892 (mail-other-frame): USe switch-to-buffer-other-frame.
16893
393a301e
SM
16894 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16895 Use display-buffer-other-frame.
3199b96f
CY
16896 (gdb-display-gdb-buffer): Use pop-to-buffer.
16897
16898 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16899
16900 * progmodes/python.el: Don't set same-window-buffer-names.
16901
16902 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16903
16904 * window.el (display-buffer-alist): Add *Python*.
16905
8319e0bf
CY
169062011-09-10 Chong Yidong <cyd@stupidchicken.com>
16907
16908 * window.el (display-buffer-alist): Add entry for buffers
16909 previously handled same-window-*.
16910 (display-buffer-alist, display-buffer-default-action)
16911 (display-buffer-overriding-action): Mark as risky.
16912 (display-buffer-alist): Document action function changes.
16913 (display-buffer--same-window-action)
16914 (display-buffer--other-frame-action): New variables.
16915 (switch-to-buffer, display-buffer-other-frame): Use them.
16916 (display-buffer): Rename reuse-frame entry to reusable-frames.
16917 (display-buffer-reuse-selected-window): Function deleted.
16918 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16919 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16920 (display-buffer-special): New function.
16921 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16922 display-buffer-reuse-or-pop-window. Split off special-display
16923 part into display-buffer-special.
16924 (display-buffer-use-some-window): Don't perform any special
16925 pop-up-frames handling.
16926 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 16927 (display-buffer--maybe-same-window): Rename from
0d3ff375 16928 display-buffer-maybe-same-window.
8319e0bf 16929
919a69aa
CY
16930 * info.el: Don't set same-window-regexps.
16931 (info-setup): New function.
16932 (info-other-window, info): Call it.
16933
16934 * cus-edit.el: Don't set same-window-regexps.
16935 (customize-group): New argument.
16936 (customize-group-other-window): Use it.
16937 (customize-face, customize-face-other-window): Likewise.
16938 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16939
8319e0bf
CY
16940 * net/rlogin.el:
16941 * net/telnet.el:
16942 * progmodes/gud.el: Don't set same-window-regexps.
16943
16944 * cmuscheme.el:
16945 * ielm.el:
16946 * shell.el:
16947 * mail/sendmail.el:
16948 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16949
25173000
JL
169502011-09-10 Juri Linkov <juri@jurta.org>
16951
16952 * isearch.el (isearch-edit-string): Remove obsolete mention of
16953 `C-w' (`isearch-yank-word-or-char') from docstring.
16954 (isearch-query-replace): Fix typo in docstring (bug#9466).
16955
056e44ef
JL
169562011-09-10 Juri Linkov <juri@jurta.org>
16957
16958 * paren.el (show-paren-function): Don't show escaped parens.
16959 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16960
c3760c17
EZ
169612011-09-10 Eli Zaretskii <eliz@gnu.org>
16962
16963 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16964 (mm-default-file-encoding): Remove autoload forms, they are
16965 replaced with autoload cookies in mml.el and mm-encode.el.
16966 (mail-add-attachment): New command.
16967 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16968 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16969 the doc string.
16970 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16971
fece895e
RT
169722011-09-10 Reuben Thomas <rrt@sc3d.org>
16973
e69df516
SM
16974 * simple.el (count-words-region): Use buffer if there's no region
16975 (bug#9429).
fece895e 16976
5e68ce4a
JL
169772011-09-09 Juri Linkov <juri@jurta.org>
16978
16979 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16980 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16981 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16982
0a6b9622
AM
169832011-09-09 Alan Mackenzie <acm@muc.de>
16984
16985 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16986 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16987
14a29deb
EZ
169882011-09-09 Eli Zaretskii <eliz@gnu.org>
16989
16990 Fix for Savannah bug#9392.
16991 * simple.el (mail-encode-mml): New defvar.
16992
16993 * mail/rmail.el (mail-encode-mml): Add a defvar.
16994 (rmail-enable-mime-composing): Default to t.
16995 (rmail-forward): Use MIME method of forwarding only if both
16996 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16997 Set mail-encode-mml non-nil if the MIME method was used.
16998
16999 * mail/sendmail.el (mml-to-mime): Add autoload form.
17000 (mail-encode-mml): Add a defvar.
17001 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17002 to nil.
17003 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17004 message through mml-to-mime, and reset mail-encode-mml to nil.
17005
28c45130
GM
170062011-09-09 Glenn Morris <rgm@gnu.org>
17007
17008 * woman.el (woman-if-body): When processing an .el block,
17009 do not delete the next .el block as well. (Bug#9447)
69f4b618 17010 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17011
9b1c252e
MR
170122011-09-08 Martin Rudalics <rudalics@gmx.at>
17013
17014 * window.el (window-deletable-p): Make sure window is live before
17015 invoking window-prev-buffers.
17016
567457e3
LL
170172011-09-08 Leo Liu <sdl.web@gmail.com>
17018
17019 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17020
97f05794
JL
170212011-09-08 Juri Linkov <juri@jurta.org>
17022
17023 * progmodes/compile.el (compilation-environment): Make it
17024 a defcustom (bug#8340).
17025
8b0874b5
MR
170262011-09-08 Martin Rudalics <rudalics@gmx.at>
17027
17028 * window.el (frame-auto-delete): Rename to window-auto-delete.
17029 Make it control auto-deletion of windows and/or frames.
17030 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17031 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17032 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17033 Rewrite handling of case when window/frame can be deleted.
17034 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17035 argument t. (Bug#9456)
8b0874b5 17036
4feb6e73
CY
170372011-09-07 Chong Yidong <cyd@stupidchicken.com>
17038
17039 * help-mode.el (help-mode): Restore autoload.
17040
91ab9c13
JL
170412011-09-07 Juri Linkov <juri@jurta.org>
17042
17043 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17044 `compilation-environment'. Set buffer-local
17045 `compilation-environment' to `thisenv' later after (funcall mode).
17046 (Bug#8340)
17047
17048 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17049 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17050 instead of replacing its value. (Bug#8340)
17051
0527e251
JL
170522011-09-07 Juri Linkov <juri@jurta.org>
17053
17054 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17055 based on text properties put by `grep-filter' instead of matching
17056 escape sequences.
17057 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17058 to the value of `grep-error-screen-columns' (bug#9438).
17059
249f792c
JL
170602011-09-07 Juri Linkov <juri@jurta.org>
17061
17062 * simple.el (next-error-highlight, next-error-highlight-no-select):
17063 Doc fix (bug#9432).
17064
ff7271b9
OT
170652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17066
17067 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17068 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17069
183fc730
LL
170702011-09-07 Leo Liu <sdl.web@gmail.com>
17071
17072 * net/rcirc.el (rcirc-mode): Conditionally initialize
17073 rcirc-input-ring.
17074
77694924
SM
170752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17076
17077 * emacs-lisp/find-func.el (find-function-C-source): Only set
17078 find-function-C-source-directory after checking that we found a source
17079 file there (bug#9440).
17080
d809b8eb
AM
170812011-09-06 Alan Mackenzie <acm@muc.de>
17082
17083 * isearch.el (isearch-other-meta-char): Wherever a key list is
17084 unread, "unread" the prefix arg, too. This fixes bug #8901.
17085
453de99f
OG
170862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17087
17088 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17089
90439906
JL
170902011-09-05 Juri Linkov <juri@jurta.org>
17091
17092 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17093
f62bd846
JL
170942011-09-05 Juri Linkov <juri@jurta.org>
17095
17096 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17097 keeping point where processing of grep matches begins, and
17098 continue to delete remaining escape sequences from the same point.
17099 (grep-filter): Make leading zero optional in "0?1;31m" because
17100 git-grep emits "\033[1;31m" escape sequences unlike expected
17101 "\033[01;31m" as GNU Grep does (bug#9408).
17102 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17103
045820ec
JL
171042011-09-05 Juri Linkov <juri@jurta.org>
17105
17106 * subr.el (y-or-n-p): Capitalize "yes".
17107
f5e29b9b
MA
171082011-09-04 Michael Albinus <michael.albinus@gmx.de>
17109
17110 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17111 `tramp-cache-unload-hook' where appropriate.
17112 (tramp-methods): Rename `tramp-remote-sh' to
17113 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17114 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17115
17116 * net/tramp-sh.el (top): Don't require 'shell.
17117 (tramp-methods): Add `tramp-remote-shell' and
17118 `tramp-remote-shell-args' entries.
17119 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17120 (tramp-sh-handle-shell-command): Remove.
17121 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17122 Use `tramp-remote-shell'.
17123
2784c434
CY
171242011-09-03 Chong Yidong <cyd@stupidchicken.com>
17125
393a301e 17126 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17127 (sendmail-query-once): Save directly to send-mail-function.
17128 Update message-send-mail-function too.
17129
17130 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17131
464cdf56
CS
171322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17133
17134 * progmodes/python.el (python-mode-map): Use correct function to
17135 start python interpreter from menu-bar (as reported by Geert
17136 Kloosterman).
17137 (inferior-python-mode-map): Fix typo.
393a301e 17138 (python-shell-map): Remove.
464cdf56 17139
d37e5c87
DD
171402011-09-03 Deniz Dogan <deniz@dogan.se>
17141
17142 * net/rcirc.el (rcirc-print): Simplify code for
17143 rcirc-scroll-show-maximum-output. There is no need to walk
17144 through all windows to find the right one.
17145
f3ada0ee
CS
171462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17147
17148 * help.el (help-return-method): Doc fix.
17149
1f3c99ca
MR
171502011-09-03 Martin Rudalics <rudalics@gmx.at>
17151
17152 * window.el (window-deletable-p): Don't return a non-nil value
17153 when there's a buffer that was shown in the window before.
17154 (Bug#9419)
393a301e
SM
17155 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17156 Set window's previous buffers to nil.
1f3c99ca 17157
a3cf097f
EZ
171582011-09-03 Eli Zaretskii <eliz@gnu.org>
17159
17160 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17161 newline before and after the tag line, so it doesn't interfere
17162 with determining the paragraph direction of bidirectional text.
17163
3d03de90
LL
171642011-09-03 Leo Liu <sdl.web@gmail.com>
17165
17166 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17167
c3313451
CY
171682011-09-02 Chong Yidong <cyd@stupidchicken.com>
17169
393a301e 17170 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17171 (pop-to-buffer): Change interactive spec. Pass second argument
17172 directly to display-buffer.
17173 (display-buffer): Fix interactive spec. Use functionp to
17174 distinguish between a function and a list of functions.
17175
17176 * abbrev.el (edit-abbrevs):
17177 * arc-mode.el (archive-extract):
17178 * autoinsert.el (auto-insert):
17179 * bookmark.el (bookmark-bmenu-list):
17180 * files.el (find-file):
17181 * view.el (view-buffer):
17182 * progmodes/compile.el (compilation-goto-locus):
17183 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17184
89894cd8
CY
171852011-09-02 Chong Yidong <cyd@stupidchicken.com>
17186
17187 * window.el (display-buffer-alist): Doc fix.
17188 (display-buffer): Add docstring. Don't treat
17189 display-buffer-default specially.
17190 (display-buffer-reuse-selected-window)
17191 (display-buffer-same-window, display-buffer-maybe-same-window)
17192 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17193 (display-buffer-pop-up-window)
17194 (display-buffer-reuse-or-pop-window)
17195 (display-buffer-use-some-window): New functions.
17196 (display-buffer-default-action): Use them.
393a301e 17197 (display-buffer-default): Delete.
89894cd8
CY
17198 (pop-to-buffer-1): Fix choice of actions.
17199
ae0bc9fb
SM
172002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17201
17202 * minibuffer.el (completion--insert-strings): Don't get confused by
17203 completion entries that end with an LF char.
17204
e9d90883
EZ
172052011-09-01 Eli Zaretskii <eliz@gnu.org>
17206
17207 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17208
437014c8
CY
172092011-09-01 Chong Yidong <cyd@stupidchicken.com>
17210
17211 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17212 (display-buffer-same-window, display-buffer-other-window):
17213 New functions.
437014c8
CY
17214 (pop-to-buffer-1): New function. Use the above.
17215 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17216 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17217
17218 * view.el (view-buffer-other-window, view-buffer-other-frame):
17219 Just use pop-to-buffer.
17220
a5e063d5
TV
172212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17222
17223 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17224
793d32bb
WH
172252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17226
17227 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17228
d65e4c15
RS
172292011-08-31 Richard Stallman <rms@gnu.org>
17230
17231 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17232 of the separation of rmail-view-buffer from rmail-buffer.
17233 If you say no to "replace original", the decrypt is in the
17234 view buffer. If you say yes, the decrypt goes into the
17235 rmail buffer also.
17236
f818cd2a
MR
172372011-08-31 Martin Rudalics <rudalics@gmx.at>
17238
17239 * window.el (display-buffer-window): Rewrite doc-string.
17240 (display-buffer-record-window): New function.
17241 (display-buffer-macro-specifiers)
17242 (display-buffer-even-window-sizes, display-buffer-set-height)
17243 (display-buffer-set-width, display-buffer-in-window)
17244 (display-buffer-reuse-window, display-buffer-split-specifiers)
17245 (display-buffer-side-specifiers, display-buffer-split-window-1)
17246 (display-buffer-split-window, display-buffer-split-atom-window)
17247 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17248 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17249 (display-buffer-other-window-means-other-frame)
17250 (display-buffer-normalize-special)
17251 (display-buffer-normalize-default)
17252 (display-buffer-normalize-argument)
17253 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17254 (display-buffer-normalize-specifiers, display-buffer-frame)
17255 (display-buffer-same-window, display-buffer-same-frame)
17256 (display-buffer-other-window)
17257 (display-buffer-same-frame-other-window)
17258 (display-buffer-other-frame, pop-to-buffer-same-window)
17259 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17260 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17261 (switch-to-buffer-same-frame)
17262 (switch-to-buffer-other-window-same-frame)
17263 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17264 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17265 (display-buffer-alist-set): Remove.
17266 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17267 (special-display-regexps, special-display-function):
17268 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17269 parameter.
17270 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17271 (special-display-frame-alist, special-display-popup-frame)
17272 (same-window-buffer-names, same-window-regexps, same-window-p)
17273 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17274 (split-window-preferred-function, split-height-threshold)
17275 (split-width-threshold, window-splittable-p)
17276 (split-window-sensibly, window--try-to-split-window)
17277 (window--frame-usable-p, even-window-heights)
17278 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17279 (window--display-buffer-2, display-buffer-other-frame):
17280 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17281 (display-buffer-default, display-buffer-assq-regexp): New functions.
17282 (display-buffer-alist): Rewrite doc-string.
17283 (display-buffer-default-action)
17284 (display-buffer-overriding-action): New variables.
17285 (display-buffer, switch-to-buffer): Rewrite.
17286 (pop-to-buffer): Restore Emacs 23 behavior but use
17287 window-normalize-buffer-to-display.
17288 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17289 Restore Emacs 23 behavior but use
17290 window-normalize-buffer-to-switch-to.
17291 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17292 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17293 Rewrite using Emacs 23 options.
f818cd2a 17294
5bc3b51d
MA
172952011-08-31 Michael Albinus <michael.albinus@gmx.de>
17296
17297 * net/tramp.el (tramp-root-regexp): Remove.
17298 (tramp-completion-file-name-regexp-unified)
17299 (tramp-completion-file-name-regexp-separate)
17300 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17301 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17302 (tramp-drop-volume-letter): Simplify definition.
17303 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17304
b1a4f8e1
SM
173052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17306
17307 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17308 (bug#9356).
17309
5664fa7b
RT
173102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17311
b1a4f8e1 17312 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17313
9a45d6c3
JL
173142011-08-29 Juri Linkov <juri@jurta.org>
17315
17316 * isearch.el (isearch-done): Don't display message "Mark saved"
17317 when arg `edit' is non-nil to prevent its flicker in the echo area.
17318
fb87e0fb
CY
173192011-08-28 Chong Yidong <cyd@stupidchicken.com>
17320
17321 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17322 obsolete packages for deletion.
17323
09ac1c2a
CS
173242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17325
17326 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17327 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17328 view-mode from help-mode.
17329 (help-xref-override-view-map): Remove.
17330 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17331 view-mode is not used anymore.
17332
7a1ff57f
CY
173332011-08-28 Chong Yidong <cyd@stupidchicken.com>
17334
17335 * server.el (server-port): Doc fix.
17336
b9696605
CY
17337 * cus-theme.el (custom-theme-choose-mode): Inherit from
17338 special-mode (Bug#9124).
17339 (custom-theme-choose-mode-map): Add special-mode to parent.
17340
ef8cdf8c
AM
173412011-08-28 Alan Mackenzie <acm@muc.de>
17342
17343 * progmodes/cc-fonts.el
17344 (c-make-font-lock-BO-decl-search-function): New function.
17345 (c-basic-matchers-after - "Fontify the clauses after various
17346 keywords"): Extract the three keyword lists for the 3 erroneous
17347 constructs from the list of four, and use the new function above
17348 in place of an old one.
17349
27de4e20
DD
173502011-08-28 Deniz Dogan <deniz@dogan.se>
17351
17352 * net/rcirc.el (rcirc-insert-prev-input)
17353 (rcirc-insert-next-input): Remove unused argument.
17354
356a3681
SM
173552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17358
3fc9b218
AM
173592011-08-27 Alan Mackenzie <acm@muc.de>
17360
17361 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17362 handle function pointer parameters properly.
17363
538a061c
MR
173642011-08-27 Martin Rudalics <rudalics@gmx.at>
17365
17366 * window.el (display-buffer-reuse-window): Fix case where
17367 selected window was reused with non-nil OTHER-WINDOW argument.
17368 (Bug#9381)
17369
35b1c40c
DD
173702011-08-27 Deniz Dogan <deniz@dogan.se>
17371
17372 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17373 oftc's NickServ messages.
17374
2f6a3e79
GM
173752011-08-27 Glenn Morris <rgm@gnu.org>
17376
17377 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17378
7254299e
CY
173792011-08-26 Chong Yidong <cyd@stupidchicken.com>
17380
17381 * emacs-lisp/package.el (package-install): Call package-initialize
17382 if called interactively.
17383
f8ccf167
LL
173842011-08-26 Leo Liu <sdl.web@gmail.com>
17385
17386 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17387
3e8cd5ce
JL
173882011-08-25 Juri Linkov <juri@jurta.org>
17389
17390 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17391 `search-whitespace-regexp' (bug#9364).
17392
93eb7113
JL
173932011-08-25 Juri Linkov <juri@jurta.org>
17394
17395 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17396 `regexp-search-ring' to their global values to protect from
17397 updating by `read-from-minibuffer' (bug#9185).
17398
f65d1611
JL
173992011-08-25 Juri Linkov <juri@jurta.org>
17400
17401 * textmodes/ispell.el (ispell-command-loop): Add newline
17402 at the end of the "Use option `i'..." line.
17403
f1cf7a31
JL
174042011-08-25 Juri Linkov <juri@jurta.org>
17405
17406 * battery.el (display-battery-mode): If `battery-status-function'
17407 or `battery-mode-line-format' is nil, display the message and set
17408 `display-battery-mode' to nil (bug#9363).
17409
0c95fcf7
EZ
174102011-08-25 Eli Zaretskii <eliz@gnu.org>
17411
17412 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17413 bidi-string-mark-left-to-right; they are unnecessary now.
17414
a2ebe600
DD
174152011-08-25 Deniz Dogan <deniz@dogan.se>
17416
17417 * net/quickurl.el: Documentation typo fixes.
17418
e4ed06f1
CY
174192011-08-25 Chong Yidong <cyd@stupidchicken.com>
17420
17421 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17422
e5f1c99e
GM
174232011-08-25 Glenn Morris <rgm@gnu.org>
17424
b2948976
GM
17425 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17426
e5f1c99e
GM
17427 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17428 (smtpmail-via-smtp): Handle nil response from smtp.
17429
f22f4808
JL
174302011-08-24 Juri Linkov <juri@jurta.org>
17431
17432 * proced.el (proced-marked): Inherit from `error' instead of
17433 `font-lock-warning-face'.
17434
17435 * ibuffer.el (ibuffer-marked-face): Change default face from
17436 `font-lock-warning-face' to `warning'.
17437 (ibuffer-deletion-face): Change default face from
17438 `font-lock-type-face' to `error'.
17439
17440 * battery.el (battery-update): Use the face `error' instead of
17441 `font-lock-warning-face' (bug#6117).
17442
6a93965e
JL
174432011-08-24 Juri Linkov <juri@jurta.org>
17444
17445 * faces.el (success): Change face color from "Green3" to
17446 "ForestGreen" on light background (bug#9353).
17447
1ed43b09
CY
174482011-08-24 Chong Yidong <cyd@stupidchicken.com>
17449
5664fa7b
RT
17450 * window.el (quit-window): Rename from quit-restore-window.
17451 Use same arglist as old quit-window.
1ed43b09
CY
17452 (frame-auto-delete): Doc fix.
17453
17454 * view.el (view-mode-exit): Use quit-window.
17455
11dcdbb2
JL
174562011-08-24 Juri Linkov <juri@jurta.org>
17457
17458 * isearch.el (isearch-ring-adjust1): Start visiting previous
17459 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17460 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17461 for empty search string (when the last search string is reused
17462 automatically) to adjust the isearch ring to the last element and
17463 prepare the correct index for further M-p commands (bug#9185).
17464
de62b4df
KH
174652011-08-24 Kenichi Handa <handa@m17n.org>
17466
17467 * international/ucs-normalize.el: If decomposition property of
17468 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17469 nil.
17470 (nfd, nfkd): Likewise.
17471
963b492b
SM
174722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17473
17474 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17475 from process filters aren't reliably transmitted to the surrounding
17476 accept-process-output.
17477 (mpc-proc-check): New function.
17478 (mpc-proc-sync): Use it (bug#8293)
17479
93b6b5e1
SM
174802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17481
17482 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17483 Add compatibility functions (bug#9313).
17484
bca633fb
EZ
174852011-08-23 Eli Zaretskii <eliz@gnu.org>
17486
b177498a
EZ
17487 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17488
6df6ae42 17489 * international/uni-bidi.el: Regenerate.
bca633fb 17490
0902a04e
KH
174912011-08-23 Kenichi Handa <handa@m17n.org>
17492
17493 * international/charprop.el:
17494 * international/uni-bidi.el:
17495 * international/uni-category.el:
17496 * international/uni-combining.el:
17497 * international/uni-comment.el:
17498 * international/uni-decimal.el:
17499 * international/uni-decomposition.el:
17500 * international/uni-digit.el:
17501 * international/uni-lowercase.el:
17502 * international/uni-mirrored.el:
17503 * international/uni-name.el:
17504 * international/uni-numeric.el:
17505 * international/uni-old-name.el:
17506 * international/uni-titlecase.el:
17507 * international/uni-uppercase.el: Regenerate.
17508
3bbf23bc
MR
175092011-08-23 Martin Rudalics <rudalics@gmx.at>
17510
17511 * help.el (help-window-setup): Fix message displayed when other
17512 window is reused. (Bug#9341)
17513
b3fd59bd
SM
175142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17515
1802e444
SM
17516 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17517 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17518
b3fd59bd
SM
17519 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17520 Mark obsolete.
17521 * shell.el (shell-parse-pcomplete-arguments): New function.
17522 (shell-completion-vars): Use it instead (bug#9160).
17523
4eb61348
SM
175242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17525
867cab74
SM
17526 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17527 strings and comments (bug#9333).
17528
4eb61348
SM
17529 * emacs-lisp/debug.el (debug-arglist): New function.
17530 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17531 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17532
262a1439
JL
175332011-08-22 Juri Linkov <juri@jurta.org>
17534
56ee679c
JL
17535 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17536 Revert regexp that highlights output switches to its old
17537 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17538
262a1439
JL
17539 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17540 to check for empty output (bug#9226).
17541
f13f86fb
CY
175422011-08-22 Chong Yidong <cyd@stupidchicken.com>
17543
17544 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17545 symbol-constituent as the default, as that stops font-lock from
17546 working properly (Bug#8843).
17547
c65c9622
LMI
175482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17549
17550 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17551 `coding-system-for-*' around the process open call to avoid
17552 auth-source side effects.
e7f2c178 17553 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17554 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17555 probe hangs.
c65c9622 17556
23a8a5ab
CY
175572011-08-21 Chong Yidong <cyd@stupidchicken.com>
17558
ff98b2dd
CY
17559 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17560
23a8a5ab
CY
17561 * emacs-lisp/find-func.el (find-function-noselect): New arg
17562 lisp-only.
17563
17564 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17565 signal an error for built-in functions (Bug#6664).
17566
f5e3c598
LMI
175672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17568
17569 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17570 (smtpmail-try-auth-methods): Use it.
17571
a3f2468a
CY
175722011-08-21 Chong Yidong <cyd@stupidchicken.com>
17573
2c34e8da
CY
17574 * font-lock.el (font-lock-fontify-region)
17575 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17576 (font-lock-default-unfontify-buffer)
17577 (font-lock-default-fontify-region)
17578 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17579
b3fd59bd
SM
17580 * progmodes/compile.el (compilation-error-properties):
17581 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17582 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17583 `ant' regexp.
ee31aabc 17584
a3f2468a
CY
17585 * net/browse-url.el (browse-url-firefox): Don't call
17586 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17587
8e999f70
GM
175882011-08-20 Glenn Morris <rgm@gnu.org>
17589
c21a496a
GM
17590 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17591
59ee0542
GM
17592 * tutorial.el (tutorial--default-keys): Update some default bindings.
17593
8e999f70
GM
17594 * files.el (hack-local-variables): Fully ignore case for "mode:".
17595
e3715033
AM
175962011-08-20 Alan Mackenzie <acm@muc.de>
17597
17598 Resolve invalid use of a regexp in regexp-opt.
17599
4d61f28d
JB
17600 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17601 detection for a java annotation.
e3715033 17602
4d61f28d 17603 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17604 detection for a java annotation.
17605
4d61f28d
JB
17606 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17607 handling for java.
e3715033
AM
17608 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17609
04ed2e9c
CY
176102011-08-20 Chong Yidong <cyd@stupidchicken.com>
17611
17612 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17613 (Bug#9274).
17614
826cee64
AM
176152011-08-20 Alan Mackenzie <acm@muc.de>
17616
58179cce 17617 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17618 such a construct. Mainly for when jit-lock etc. starts a chunk
17619 here.
17620
58179cce 17621 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17622 variable.
58179cce 17623 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17624 c-make-font-lock-search-function.
17625 (c-make-font-lock-search-function): Use the above function.
17626 (c-make-font-lock-context-search-function): New function.
17627 (c-cpp-matchers): Enhance the preprocessor expression case with
17628 the above function
17629 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17630 which takes an expression.
17631
17632 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17633
13009bd8
MR
176342011-08-20 Martin Rudalics <rudalics@gmx.at>
17635
17636 * window.el (display-buffer-reuse-window)
17637 (display-buffer-pop-up-window): Don't reuse or split a side
17638 window.
17639
9234ff7f
GM
176402011-08-19 Glenn Morris <rgm@gnu.org>
17641
17642 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17643 Downcase "Mode:". (Bug#9331)
9234ff7f 17644
f635daa1
CY
176452011-08-18 Chong Yidong <cyd@stupidchicken.com>
17646
17647 * international/characters.el: Add L and R categories.
17648
17649 * subr.el (bidi-string-mark-left-to-right): Rename from
17650 string-mark-left-to-right. Use category search.
17651
17652 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17653
bc987f8b
JL
176542011-08-18 Juri Linkov <juri@jurta.org>
17655
17656 * faces.el (error, warning, success): New faces with definitions
17657 copied from old default values of `font-lock-warning-face',
17658 `compilation-warning', `compilation-info' (bug#6117).
17659
17660 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17661
17662 * progmodes/compile.el (compilation-error): Inherit from `error'.
17663 (compilation-warning): Inherit from `warning'.
17664 (compilation-info): Inherit from `success'.
17665
17666 * dired.el (dired-marked): Inherit from `warning'.
17667 (dired-flagged): Inherit from `error'.
17668
57173b96
LMI
176692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17670
3e79eb87
LMI
17671 * mail/smtpmail.el (auth-source): Require to avoid problems with
17672 binding variables (bug#9298). Also clean up some unused
17673 autoloads.
17674
b3fd59bd
SM
17675 * net/network-stream.el (network-stream-open-starttls):
17676 Support using starttls.el without using gnutls-cli.
57173b96 17677
02b404de
JL
176782011-08-17 Juri Linkov <juri@jurta.org>
17679
17680 * progmodes/grep.el (rgrep): Handle the case when
17681 `grep-find-command' is a cons cell (bug#9278).
17682
8c9177f2
MR
176832011-08-17 Martin Rudalics <rudalics@gmx.at>
17684
17685 * window.el (display-buffer-pop-up-frame): Run frame creation
17686 function with BUFFER current (as special-display-popup-frame
17687 does). Reported by Drew Adams.
17688
3644a0ab
DU
176892011-08-17 Daiki Ueno <ueno@unixuser.org>
17690
17691 * epa-mail.el: Simplify GnuPG group expansion using
17692 epg-expand-group.
17693 (epa-mail-group-alist, epa-mail-group-modtime)
17694 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17695 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17696 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17697 Remove.
17698
5e617bc2 176992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17700
17701 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17702
9c4aeabf
AM
177032011-08-16 Alan Mackenzie <acm@muc.de>
17704
17705 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17706 Correct, to avoid the inside of macros.
17707
3a99bf64
RS
177082011-08-16 Richard Stallman <rms@gnu.org>
17709
04963aa8
RS
17710 * epa-mail.el: Handle GnuPG group definitions.
17711 (epa-mail-group-alist, epa-mail-group-modtime)
17712 (epa-mail-gnupg-conf-file): New variables.
17713 (epa-mail-parse-groups, epa-mail-sync-groups)
17714 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17715 (epa-mail-expand-recipients): New functions.
17716 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17717
177549d0
RS
17718 * mail/rmail.el (rmail-epa-decrypt): New command.
17719
fe38beef
RS
17720 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17721 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17722 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17723 (epa-decrypt-armor-in-region): Make error message clearer.
17724
934eacb9
SM
177252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17726
17727 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17728 and "a2b" to "ab" for `prefix'.
17729
d024fb4e
CY
177302011-08-14 Chong Yidong <cyd@stupidchicken.com>
17731
17732 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17733 filter groups.
de148fee
CY
17734 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17735 Fourquet (Bug#8804).
d024fb4e 17736
62f1ca49
JB
177372011-08-12 Juanma Barranquero <lekktu@gmail.com>
17738
17739 * startup.el (argi): Declare as global variable (bug#9275).
17740
9ccaaa4b
CY
177412011-08-12 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * subr.el (string-mark-left-to-right): Search the entire string
17744 for RTL script, not just the terminating character. Doc fix.
17745
a3dae87a
SM
177462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17747
6cd18349
SM
17748 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17749 New function.
17750 (js--regexp-literal, js-syntax-propertize-function): Remove.
17751 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17752 (js-mode-map): Don't rebind electric keys.
17753 (js-insert-and-indent): Remove.
17754 (js-mode): Setup electric-layout and electric-indent instead.
17755
a3dae87a
SM
17756 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17757
9d5cb631
DU
177582011-08-12 Daiki Ueno <ueno@unixuser.org>
17759
17760 * epa.el (epa-progress-callback-function): Fix the logic of
17761 displaying progress.
17762 * epa-file.el (epa-file-insert-file-contents): Make progress
17763 display more user-friendly.
17764 (epa-file-write-region): Ditto.
17765
3e26a4a2
CY
177662011-08-10 Chong Yidong <cyd@stupidchicken.com>
17767
17768 * subr.el (string-mark-left-to-right): New function.
17769
17770 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17771 Use string-mark-left-to-right.
17772 (list-buffers-noselect): Caller changed.
17773
a3dae87a
SM
17774 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17775 Use string-mark-left-to-right.
3e26a4a2
CY
17776 (tabulated-list-print): Recenter after moving point.
17777
ac8cf6e6
JL
177782011-08-10 Juri Linkov <juri@jurta.org>
17779
17780 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17781 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17782 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17783
8d96c9a4
CY
177842011-08-09 Chong Yidong <cyd@stupidchicken.com>
17785
17786 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17787 (Bug#7554).
17788
7be1c708 177892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17790
17791 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17792 character. (Bug#6594)
17793
37e11a63
CY
177942011-08-08 Chong Yidong <cyd@stupidchicken.com>
17795
839dde57
CY
17796 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17797 (image-dired--with-db-file): New macro.
17798 (image-dired-write-tags, image-dired-remove-tag)
17799 (image-dired-create-gallery-lists, image-dired-write-comments)
17800 (image-dired-get-comment, image-dired-mark-tagged-files)
17801 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17802 (image-dired-gallery-generate): Use insert-file-contents.
17803
37e11a63
CY
17804 * time.el (display-time-world-list, display-time-world-display):
17805 * time-stamp.el (time-stamp-string):
17806 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17807 set-time-zone-rule (Bug#7337).
17808
0b4946c4
DU
178092011-08-08 Daiki Ueno <ueno@unixuser.org>
17810
17811 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17812 (epg-error-to-string, epg-errors-to-string): New function.
17813 (epg-wait-for-completion): Reverse errors list.
17814 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17815 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17816 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17817 (epg-sign-keys, epg-generate-key-from-file)
17818 (epg-generate-key-from-string): Format errors by using
17819 epg-errors-to-string (bug#9255).
17820 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17821
75bfc667
JL
178222011-08-07 Juri Linkov <juri@jurta.org>
17823
17824 * faces.el (list-faces-display): Remove extra angle bracket
17825 from `help-mode-map'.
17826
17827 * info.el (Info-history-toc-nodes): Doc fix.
17828
17829 * longlines.el (longlines-mode): Doc fix.
17830
673e08bb
SM
178312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17832
4640dd88
SM
17833 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17834 of statements and in a few more cases (bug#9183).
17835
673e08bb
SM
17836 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17837 New functions.
17838 (cl-transform-lambda): Use them (bug#9239).
17839
89b3f019
MR
178402011-08-05 Martin Rudalics <rudalics@gmx.at>
17841
17842 * window.el (display-buffer-same-window)
17843 (display-buffer-same-frame, display-buffer-other-window)
17844 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17845 (pop-to-buffer-other-window)
17846 (pop-to-buffer-same-frame-other-window)
17847 (pop-to-buffer-other-frame): Make them defuns.
17848 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17849
640c8776
SM
178502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17851
17852 * subr.el (make-composed-keymap): Move from C. Change calling
17853 convention, and improve docstring to bring attention to a subtle point.
17854 * minibuffer.el (completing-read-default): Adjust accordingly.
17855
63648a95
MA
178562011-08-03 Michael Albinus <michael.albinus@gmx.de>
17857
17858 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17859 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17860
17861 * net/trampver.el: Update release number.
17862
b796c9b7
SM
178632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17864
17865 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17866 "in" (bug#9190).
17867
2239d7d5
LMI
178682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17869
e07dd7c3
LMI
17870 * mail/sendmail.el (sendmail-query-once): Restore the current
17871 buffer after querying (bug#9074).
17872
0e6a2bd7
LMI
17873 * dired.el (dired-flagged): Use different faces for marked and
17874 flagged files (bug#6117).
17875
ce887515
LMI
17876 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17877 (bug#4433).
17878
92f2affc
LMI
17879 * ido.el (ido-mode): Switch off the message if called
17880 non-interactively.
17881
57d5aff0
LMI
17882 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17883 before 587, since it appears that that's more likely to work for
17884 more people.
17885
98cd6c18 17886 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 17887 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
17888 exist.
17889
b96dec83
LMI
17890 * info.el: Remove the `Info-beginning-of-buffer' function
17891 (bug#8325).
17892
b796c9b7
SM
17893 * net/network-stream.el (network-stream-open-starttls):
17894 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 17895
d90e2ea0
MR
178962011-08-01 Martin Rudalics <rudalics@gmx.at>
17897
17898 * window.el (display-buffer-in-window): Don't set dedicated status
17899 of window here (Bug#9215).
17900 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17901 (display-buffer-pop-up-side-window)
b796c9b7 17902 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 17903
cca09170
SM
179042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17905
17906 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17907 before binding generated-autoload-file.
17908
027b979c
DD
179092011-08-01 Deniz Dogan <deniz@dogan.se>
17910
17911 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17912
3c7ee4f3
MA
179132011-07-30 Michael Albinus <michael.albinus@gmx.de>
17914
17915 Sync with Tramp 2.2.2.
17916
17917 * net/trampver.el: Update release number.
17918
2cc8e51a
JL
179192011-07-30 Juri Linkov <juri@jurta.org>
17920
17921 * dired-aux.el (dired-touch-initial): Remove function.
17922 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17923 current time, and `default' to the last modification time of the
17924 current marked file (bug#6887).
17925
a514d856
JM
179262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17927
17928 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 17929 numeric argument to read-number (bug#9163).
a514d856 17930
8a7eddd7
MA
179312011-07-27 Michael Albinus <michael.albinus@gmx.de>
17932
17933 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17934 connection process, it could be nil.
17935
1ddd96f5
LL
179362011-07-27 Leo Liu <sdl.web@gmail.com>
17937
17938 Simplify url handling in rcirc-mode.
17939
17940 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17941 (rcirc-browse-url-at-mouse): Remove.
17942 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17943
b248a85d
AM
179442011-07-26 Alan Mackenzie <acm@muc.de>
17945
17946 Fontify bitfield declarations properly.
17947
17948 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17949 (c-symbol-chars): Now exported as a lang variable.
17950 (c-not-primitive-type-keywords): New lang variable.
17951
17952 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17953 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 17954 parsed as a bitfield declaration.
b248a85d 17955
b796c9b7
SM
17956 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17957 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
17958 (c-punctuation-in): New function.
17959 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17960 declarations properly.
17961
68575ab0
UJ
179622011-07-26 Ulf Jasper <ulf.jasper@web.de>
17963
17964 * calendar/icalendar.el (icalendar--all-events): Take care of
17965 multiple vcalendars in a single file.
b796c9b7 17966 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 17967
0f0a88b9
DD
179682011-07-25 Deniz Dogan <deniz@dogan.se>
17969
17970 * image.el (insert-image): Clarifying docstring.
17971
0b3f36df
MA
179722011-07-24 Michael Albinus <michael.albinus@gmx.de>
17973
17974 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17975 `tramp-send-command-and-check' if there is no error.
17976 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17977
a9901f61
AM
179782011-07-22 Alan Mackenzie <acm@muc.de>
17979
17980 Prevent cc-langs.elc being loaded at run time.
17981
17982 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17983 cc-langs.
17984
4d61f28d 17985 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
17986 "(require 'cc-langs)". Quote a form so it will evaluate at
17987 (cc-mode's) compilation time.
17988
11d074b2
MA
179892011-07-22 Michael Albinus <michael.albinus@gmx.de>
17990
17991 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17992 loading. (Bug#9114)
17993
938b94c8
MR
179942011-07-21 Martin Rudalics <rudalics@gmx.at>
17995
17996 * window.el (display-buffer-pop-up-window)
17997 (display-buffer-pop-up-side-window)
17998 (display-buffer-in-side-window): Call display-buffer-set-height
17999 and display-buffer-set-width after setting the new window's
b796c9b7 18000 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18001
bfa4f190
SS
180022011-07-20 Sam Steingold <sds@gnu.org>
18003
18004 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18005 (etags-tags-included-tables): Call `convert-standard-filename' on
18006 the file names contained in TAGS so that windows Emacs can handle
18007 TAGS files created by cygwin ctags.
18008
8ca42262
LMI
180092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18010
18011 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18012 which apparently didn't work.
18013
5db2afd2 180142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18015
5db2afd2
RW
18016 * proced.el (proced-send-signal): For *Marked Processes* buffer
18017 put point at beginning of buffer.
18018
92e15d10
SB
180192011-07-19 Stephen Berman <stephen.berman@gmx.net>
18020
18021 * proced.el (proced-format): Make header lines align with the text
18022 (bug#1779).
18023
1bfd59e5
LMI
180242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18025
18026 * view.el (view-buffer): Allow running in `special' modes if we're
18027 visiting a file (bug#8615).
18028
f5aae37c
MR
180292011-07-19 Martin Rudalics <rudalics@gmx.at>
18030
18031 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18032 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18033 New functions.
f5aae37c
MR
18034 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18035 more accurately.
18036
bf2c1571
AM
180372011-07-18 Alan Mackenzie <acm@muc.de>
18038
18039 Fontify declarators properly when, e.g., a jit-lock chunk begins
18040 inside a declaration.
18041
18042 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18043
b796c9b7
SM
18044 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18045 New function.
bf2c1571
AM
18046 (c-complex-decl-matchers): Insert reference to
18047 c-font-lock-enclosing-decls.
18048
18049 * progmodes/cc-engine.el (c-backward-single-comment):
18050 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18051 to nil around calls to (forward-comment -1).
18052
4e190b80
LMI
180532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18054
12dc863d
LMI
18055 * image.el (put-image): Doc typo fix.
18056
a762e966
LMI
18057 * progmodes/etags.el (tags-search): Doc typo fix.
18058
4e190b80
LMI
18059 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18060 password if we get errors 550 to 554.
18061
f019fb21
LMI
180622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18063
b796c9b7 18064 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18065
81746738
LMI
18066 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18067 indentation character (bug#6380).
18068
3ee3a1b5
LMI
18069 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18070
c82f64de
LMI
18071 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18072 to clarify what the problem is (bug#4291).
18073
f019fb21
LMI
18074 * simple.el (current-kill): Clarify what
18075 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18076 (auto-fill-mode): Document `auto-fill-function' in relation to
18077 `auto-fill-mode' (bug#2470).
f019fb21 18078
0794775d
LM
180792011-07-16 Lawrence Mitchell <wence@gmx.li>
18080
18081 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18082 method if slot is read-only (bug#9035).
18083
be39b8cc
MR
180842011-07-16 Martin Rudalics <rudalics@gmx.at>
18085
b796c9b7 18086 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18087 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18088 selected before, see discussion of (Bug#8615), (Bug#6954).
18089 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18090
6ccf7859
GM
180912011-07-15 Glenn Morris <rgm@gnu.org>
18092
18093 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18094 Respect help-form.
6ccf7859 18095
87e86684
LM
180962011-07-09 Lawrence Mitchell <wence@gmx.li>
18097
18098 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18099 (gnutls-negotiate): Use it.
18100
d6066239
LMI
181012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18102
b796c9b7
SM
18103 * net/gnutls.el (gnutls-negotiate):
18104 Upcase `gnutls-algorithm-priority'.
d6066239 18105
bd23ebc0
GM
181062011-07-15 Glenn Morris <rgm@gnu.org>
18107
c65bca65
GM
18108 * jka-compr.el (jka-compr-verbose): Move from here...
18109 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18110 Add missing :version tag.
18111 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18112
478615cc
LMI
181132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18114
7b41decb
LMI
18115 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18116 (gnutls-negotiate): Use it.
18117
dbc44fcd
LMI
18118 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18119
06789f97
LMI
18120 * info.el (Info-beginning-of-buffer): New command.
18121 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18122 announcing `b' as the key (bug#8325).
ab896c37 18123 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18124
c39da690
LMI
18125 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18126
3aa5f34b
LMI
18127 * international/mule-cmds.el
18128 (describe-specified-language-support): Make the error message
18129 clearer (bug#8905).
18130
4bf0979f
LMI
18131 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18132
478615cc
LMI
18133 * isearch.el (isearch-barrier): Add a doc string, since it's
18134 mentioned in a function doc string (bug#8678).
18135
75c68aa1
MR
181362011-07-15 Martin Rudalics <rudalics@gmx.at>
18137
18138 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18139 buffer argument (Bug#9083) and self-identifying label argument.
18140
a7c33da2
GM
181412011-07-15 Glenn Morris <rgm@gnu.org>
18142
18143 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18144
2f5c6024
LMI
181452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18146
18147 * man.el (Man-fontify-manpage): Fix message when formatting the
18148 man page (bug#7929).
18149
0bb23927 181502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18151
18152 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18153 argument LRM; if non-nil, append an invisible LRM character to the
18154 buffer name.
18155 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18156 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18157 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18158 paragraph direction.
cce4b0a7 18159
621ef9ab
LMI
181602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18161
d1583c48
LMI
18162 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18163 the man page name (bug#7929).
18164
6a57fb5f
LMI
18165 * image.el (put-image): Mention the `put-image' overlay property
18166 (bug#7834).
18167
d7956b14
LMI
18168 * scroll-bar.el (set-scroll-bar-mode): Mention that
18169 `scroll-bar-mode' lists the values (bug#7772).
18170
5b2d4a66
LMI
18171 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18172 command (bug#7729).
18173
7509a874
LMI
18174 * rect.el (apply-on-rectangle): Return the point after the last
18175 operation.
18176 (string-rectangle): Go to the point after the last operation
18177 (bug#7522).
18178
4fe74b19
LMI
18179 * printing.el (pr-toggle-region): Clarify the documentation
18180 slightly (bug#7493).
18181
b796c9b7
SM
18182 * time.el (display-time-update):
18183 Allow `display-time-mail-function' to return nil (bug#7158).
18184 Fix suggested by Detlev Zundel.
ab283561 18185
fc233c9d
LMI
18186 * vc/diff.el (diff): Clarify the order the file names are read
18187 (bug#7111).
18188
43f5740b
LMI
18189 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18190 the doc string (bug#7015).
18191
f2182a76
LMI
18192 * font-lock.el (font-lock-maximum-decoration): Mention what
18193 numeric levels mean (bug#6935).
18194
621ef9ab
LMI
18195 * startup.el (initial-buffer-choice): Don't mention the `none'
18196 selection, which is against policy.
18197
adc47434
MR
181982011-07-14 Martin Rudalics <rudalics@gmx.at>
18199
b796c9b7
SM
18200 * window.el (display-buffer-normalize-special):
18201 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18202
7e5bfb8f
EZ
182032011-07-14 Eli Zaretskii <eliz@gnu.org>
18204
18205 * subr.el (version<, version<=, version=): Mention "-CVS" and
18206 "-12345" alpha version numbers.
18207
27fa387a
CY
182082011-07-14 Chong Yidong <cyd@stupidchicken.com>
18209
18210 * bindings.el: Add advertised binding for set-mark-command
18211 (Bug#5772).
18212
8bdfa064
CY
182132011-07-14 Chong Yidong <cyd@stupidchicken.com>
18214
18215 * bindings.el (mode-line-other-buffer):
18216 * bookmark.el (bookmark-bmenu-2-window):
18217 * bs.el (bs-cycle-next, bs-cycle-previous):
18218 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18219 switch-to-buffer.
18220
18221 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18222 Delete.
8bdfa064 18223
5eba16a3
JB
182242011-07-14 Juanma Barranquero <lekktu@gmail.com>
18225
18226 * follow.el (follow-debug-message, follow-redisplay):
18227 * jka-cmpr-hook.el (with-auto-compression-mode):
18228 Fix typos in docstrings.
18229
15853710
LMI
182302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18231
a28e4607
LMI
18232 * subr.el (with-silent-modifications): Clarify somewhat what the
18233 macro inhibits (bug#6525).
18234
15853710
LMI
18235 * simple.el (eval-expression): Note what it does if called
18236 interactively (bug#6495).
18237
bee0fcef
CY
182382011-07-13 Chong Yidong <cyd@stupidchicken.com>
18239
b796c9b7
SM
18240 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18241 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18242
18243 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18244 Remove switch-to-buffer.
18245
58274504
LMI
182462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18247
bd2fcc8d
LMI
18248 * files.el (make-directory): Clarify that an error will be raised
18249 if there's an error (bug#6397).
18250
0f04b32c
LMI
18251 * startup.el (initial-buffer-choice): Add `none' as a choice
18252 (bug#6234).
18253
465c5fc8
LMI
18254 * subr.el (add-hook): Clarify section about buffer-local hooks
18255 (bug#6218).
18256
58274504
LMI
18257 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18258
bead9a43
JB
182592011-07-13 Juanma Barranquero <lekktu@gmail.com>
18260
18261 * tabify.el (untabify): Preserve the current column so that point
18262 doesn't move (bug#6032).
18263
3af98a7b
LMI
182642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18265
b796c9b7
SM
18266 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18267 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18268
6240145a
GM
182692011-07-13 Glenn Morris <rgm@gnu.org>
18270
18271 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18272 (dired-insert-directory): Give a message the first time
18273 if ls is found not to support --dired.
18274
1d8c2ccc
LMI
182752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18276
18277 * simple.el (toggle-truncate-lines): Clarify what is toggled
18278 (bug#5580). Text by Drew Adams.
18279
5fc4038e
CY
182802011-07-13 Chong Yidong <cyd@stupidchicken.com>
18281
18282 * simple.el (blink-matching-open): Make the error message from the
18283 last change less verbose.
18284
bf6012e5
DN
182852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18286
18287 * font-lock.el (font-lock-comment-face): Use the high contrast
18288 "yellow" color for font-lock-comment-face on low color terminals
18289 using a dark background color (bug#4221).
18290
343c3b5a
LMI
182912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18292
7e9505c5
LMI
18293 * dired.el (dired-insert-set-properties): Make the doc string
18294 reflect what it does now (bug#5325).
18295
c26fdcf5
LMI
18296 * simple.el (blink-matching-open): Say that we were unable to find
18297 the match within the limit, if we're limited (bug#5122).
18298
bb388cc5
LMI
18299 * international/mule-cmds.el (prefer-coding-system): Add an
18300 example (bug#4869).
18301
343c3b5a
LMI
18302 * progmodes/etags.el (tags-search): Document `file-list-form'
18303 (bug#4731).
18304
2a517d45
LM
183052011-07-13 Lawrence Mitchell <wence@gmx.li>
18306
18307 * net/browse-url.el (browse-url-default-browser)
18308 (browse-url-browser-function): Make the default browser choice a
18309 bit more logical (bug#4300). Also clean up the doc string.
18310
b6c78ef2
JB
183112011-07-13 Juanma Barranquero <lekktu@gmail.com>
18312
18313 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18314 binary endings (bug#4440).
18315
1c4dd947
LMI
183162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18317
a2014063
LMI
18318 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18319 which can be pretty annoying (bug#8971).
18320
9c9c2d88
LMI
18321 * jka-compr.el (jka-compr-verbose): New variable, and use
18322 throughout (bug#8971).
18323
1c4dd947
LMI
18324 * info.el (Info-find-file): Fall back on the installation
18325 directory if we can't find the info node anywhere else.
18326
a1c9f41b
SO
183272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18328
18329 * vc/vc.el (vc-revert-file):
18330 Don't set file time-stamp in the past. (Bug#5181)
18331
536f3d36
LMI
183322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18333
7152b011
LMI
18334 * files.el (after-find-file): Give a better error message when
18335 trying to find a symlink that points to a file that doesn't exist
18336 (bug#4398).
18337
536f3d36
LMI
18338 * progmodes/cc-vars.el: Remove (probably) misleading comment
18339 (bug#4396).
18340
460c0fba
JB
183412011-07-12 Johan Bockgård <bojohan@gnu.org>
18342
18343 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18344
7a6bda45
CY
183452011-07-12 Chong Yidong <cyd@stupidchicken.com>
18346
18347 * mouse-sel.el: Hack restoring functionality, while keeping
18348 compatibility with 2010-07-03 changes to mouse selection.
18349 (mouse-sel-primary-overlay): New var.
18350 (mouse-sel-selection-alist): Use it.
18351 (mouse-sel-mode): Doc fix; remove points that are default features
18352 of mouse.el.
18353
c79598ef
JB
183542011-07-12 Johan Bockgård <bojohan@gnu.org>
18355
18356 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18357 Fix previous fix (bug#2490).
18358
ff8be6ef
RW
183592011-07-12 Roland Winkler <winkler@gnu.org>
18360
b796c9b7
SM
18361 * textmodes/bibtex.el (bibtex-initialize):
18362 Use pop-to-buffer-same-window.
ff8be6ef
RW
18363 (bibtex-search-entries): Fix interactive call.
18364
296ba3ee
LMI
183652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18366
f5242a02 18367 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18368 Fontise bytecomp Error lines more correctly (bug#2490).
18369 Fix suggested by Johan Bockgård.
f5242a02 18370
296ba3ee
LMI
18371 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18372
18373 * dired-x.el (dired-guess-default): Use `delete-dups'.
18374
f69fd0d2
CY
183752011-07-12 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * dired.el (dired-mark-prompt):
18378 * dired-aux.el (dired-read-shell-command): Doc fix.
18379
eab5dc07
LMI
183802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18381
b796c9b7
SM
18382 * mail/sendmail.el (sendmail-query-once):
18383 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18384 emacs -Q.
18385
18386 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18387
eab5dc07
LMI
18388 * cus-edit.el (custom-file): Take an optional no-error variable.
18389 (customize-save-variable): Set the variable, and give a warning if
18390 running under "emacs -q".
18391
a1e65d42
JB
183922011-07-11 Juanma Barranquero <lekktu@gmail.com>
18393
18394 * loadhist.el (unload-feature-special-hooks):
18395 Add `auto-coding-functions', `fill-nobreak-predicate' and
18396 `find-directory-functions' (bug#5327).
18397
1d52da10
LMI
183982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18399
be958f1d
LMI
18400 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18401
5bedb26c
LMI
18402 * cus-edit.el (custom-guess-name-alist): -alist variables should
18403 use the `alist' type (bug#3120). Suggested by Drew Adams.
18404
1d52da10
LMI
18405 * printing.el: Add documentation to all the `pr-toggle-' commands.
18406
cd394be1 184072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18408
18409 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18410 backends where it makes sense (bug#2623).
18411
dcc88d8a
LMI
184122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18413
c3de9feb
LMI
18414 * dired-x.el (dired-guess-default): Remove duplicate shell command
18415 entries (bug#2028).
8a93078b 18416 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18417 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18418
dcc88d8a
LMI
18419 * subr.el (remove-duplicates): New conveniency function.
18420
505e3645
LMI
184212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18422
18423 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18424 (bug#1526).
18425
184262011-07-10 Martin Rudalics <rudalics@gmx.at>
18427
18428 * window.el (display-buffer-normalize-default): Don't invert
18429 meaning of even-window-heights. Reported by Eli Zaretskii
18430 <eliz@gnu.org>.
18431
455e4fa1
BR
184322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18433
18434 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18435
8e0bc3e9
CY
184362011-07-10 Chong Yidong <cyd@stupidchicken.com>
18437
18438 * window.el (display-buffer): Fix arguments to
18439 display-buffer-reuse-window in last change.
18440
fa7c3228
CY
18441 * faces.el (link): Use a less saturated blue on light backgrounds.
18442
18443 * startup.el (fancy-startup-text, fancy-about-text)
18444 (fancy-startup-tail): Use font-lock faces, for background safety.
18445
c0a7f300
BN
184462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18447
b796c9b7
SM
18448 * emulation/viper-cmd.el (viper-change-state-to-vi):
18449 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18450
4dc2a129
MR
184512011-07-09 Martin Rudalics <rudalics@gmx.at>
18452
18453 * window.el (display-buffer-default-specifiers): Remove.
18454 (display-buffer-macro-specifiers): Remove default specifiers.
18455 (display-buffer-alist): Default to nil.
b796c9b7 18456 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18457 (display-buffer-pop-up-window): Allow splitting internal
18458 windows. Check whether a live window was created.
18459 (display-buffer-other-window-means-other-frame)
18460 (display-buffer-normalize-arguments): Rename to
18461 display-buffer-normalize-argument and rewrite. Set the
18462 other-window specifier.
18463 (display-buffer-normalize-special): New function.
18464 (display-buffer-normalize-options): Rename to
18465 display-buffer-normalize-default and rewrite.
18466 (display-buffer-normalize-options-inhibit): Remove.
18467 (display-buffer-normalize-specifiers): Rewrite.
18468 (display-buffer): Process other-window specifier and call
18469 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18470 more faithfully.
b796c9b7 18471 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18472 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18473 (display-buffer-in-window, display-buffer-alist-set):
18474 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18475 <tassilo@member.fsf.org>.
18476
2d43b8c9
LL
184772011-07-09 Leo Liu <sdl.web@gmail.com>
18478
18479 * register.el (insert-register): Restore accidental change on
18480 2011-06-26. (Bug#9028)
18481
7f9b7c53
GM
184822011-07-09 Glenn Morris <rgm@gnu.org>
18483
18484 * subr.el (remq): Handle the empty list. (Bug#9024)
18485
f042cfd8
AS
184862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18487
18488 * mail/sendmail.el (send-mail-function): No longer delay custom
18489 initialization.
18490 * custom.el (custom-initialize-delay): Doc fix.
18491
856b2f11
SM
184922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18493
18494 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18495
afae1d68
MA
184962011-07-08 Michael Albinus <michael.albinus@gmx.de>
18497
18498 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18499 human-friendly prompt.
18500
0757af94
SM
185012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18504 provided by a particular plugin.
18505
d760b731
LMI
185062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18507
18508 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18509 save customizations (with "emacs -Q"), just set the variable
18510 instead of erroring out.
18511
18512 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18513
cd79ce90
JL
185142011-07-08 Juri Linkov <juri@jurta.org>
18515
18516 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18517 (archive-zip-update-case): Use 7z if found by `executable-find'.
18518 The order of searching the available programs is the same as in
18519 `archive-zip-extract' (bug#8968).
18520
14cc04aa
CY
185212011-07-07 Chong Yidong <cyd@stupidchicken.com>
18522
18523 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18524 (menu-bar-options-menu): Tweak descriptions.
18525
0a1848ec
LMI
185262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18527
18528 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18529 menu items into verb phrases (bug#1421). Also refill to fit under
18530 80 columns.
18531
f5bd0689
CY
185322011-07-07 Chong Yidong <cyd@stupidchicken.com>
18533
538e85c6
CY
18534 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18535 (Info-read-node-name): Doc fix (Bug#1084).
18536
f5bd0689
CY
18537 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18538 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18539 (end-of-sexp, beginning-of-sexp)
18540 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18541 (forward-symbol, forward-same-syntax, word-at-point)
18542 (sentence-at-point): Doc fix (Bug#1144).
18543
56ec5115
LMI
185442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18545
f3f8e37f
LMI
18546 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18547 should cover it (bug#1281).
18548
0757af94 18549 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18550
e9fce1ac 18551 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18552 negotiation fails, then possibly try again with a non-encrypted
18553 connection (bug#9017).
18554
56ec5115
LMI
18555 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18556 be used.
18557
c2f9aec8
RS
185582011-07-07 Richard Stallman <rms@gnu.org>
18559
18560 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18561 property, and handle its changed format.
18562 Look for the correct line number.
18563 Use file's line contents (but not past first =) to find
18564 correct line in message.
18565
ef7b981d 185662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18567
18568 * international/characters.el (build-unicode-category-table):
18569 Delete it.
0757af94 18570 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18571
0757af94 18572 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18573 to src/chartab.c.
18574 (get-char-code-property): Call unicode-property-table-internal to
18575 load a file. Call get-unicode-property-internal where necessary.
18576 (put-char-code-property): Call unicode-property-table-internal to
18577 load a file. Call put-unicode-property-internal where necessary.
18578 put-unicode-property-internal where necessary.
0757af94
SM
18579 (char-code-property-description):
18580 Call unicode-property-table-internal to load a file.
c805dec0
KH
18581
18582 * international/charprop.el:
18583 * international/uni-bidi.el:
18584 * international/uni-category.el:
18585 * international/uni-combining.el:
18586 * international/uni-comment.el:
18587 * international/uni-decimal.el:
18588 * international/uni-decomposition.el:
18589 * international/uni-digit.el:
18590 * international/uni-lowercase.el:
18591 * international/uni-mirrored.el:
18592 * international/uni-name.el:
18593 * international/uni-numeric.el:
18594 * international/uni-old-name.el:
18595 * international/uni-titlecase.el:
18596 * international/uni-uppercase.el: Regenerate.
18597
18598 * loadup.el: Load international/charprop.el before
18599 international/characters.
18600
e14b388a
CY
186012011-07-07 Chong Yidong <cyd@stupidchicken.com>
18602
18603 * window.el (next-buffer, previous-buffer): Signal an error if
18604 called from a minibuffer window.
18605
18606 * bindings.el: Revert 2011-07-04 change.
18607
354cf0ba
RS
186082011-07-06 Richard Stallman <rms@gnu.org>
18609
18610 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18611 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18612 Treat markers like ints.
18613 (rmail-mime-entity): Doc fix.
18614
a48868a7
LMI
186152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18616
4906cd3d
LMI
18617 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18618 defcustom again for backwards compatibility.
18619
e0457abe
LMI
18620 * simple.el (shell-command-on-region): Fill.
18621
d67f7e1f
LMI
18622 * dired-aux.el (dired-kill-line): Add a doc string.
18623
fe204702
LMI
18624 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18625 to "\\sw\\|\\s_" (bug#358).
18626
a48868a7
LMI
18627 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18628 (dired-unmark-backward): Ditto.
18629 (dired-flag-backup-files): Ditto.
18630
18631 * dired-x.el (dired-mark-sexp): Ditto.
18632
aa8a705c
RS
186332011-07-06 Richard Stallman <rms@gnu.org>
18634
18635 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18636 (rmail-mime-entity): New arg TRUNCATED.
18637 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18638 New functions.
18639 (rmail-mime-save): Warn if entity is truncated.
18640 (rmail-mime-toggle-hidden): Likewise, for showing.
18641 (rmail-mime-process-multipart): Record when an entity is truncated.
18642
a9a936b9
RS
18643 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18644 if ENTITY is a string.
18645
1f2b92cb
LMI
186462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18647
f4f73198 18648 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18649 of faces when `M-C-x'-ing their definitions (bug#8378).
18650 Also clean up the code slightly.
f4f73198 18651
12b16734 18652 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18653 because that makes the colors go away.
12b16734 18654
f0691d22
LMI
18655 * mail/sendmail.el (send-mail-function): Change the default to
18656 `sendmail-query-once'.
9e87df06 18657 (sendmail-query-once): Add an autoload cookie.
f0691d22 18658
1f2b92cb
LMI
18659 * net/network-stream.el (network-stream-open-starttls): Try using
18660 a plain connection even if the server offered STARTTLS, and we
18661 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18662 capability. This should make smtpmail.el work in slightly more
18663 configurations.
18664
1cdd2a1b
MA
186652011-07-06 Michael Albinus <michael.albinus@gmx.de>
18666
18667 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18668 New defun.
18669 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18670
fbcc67e2
MM
186712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18672
18673 * progmodes/sql.el: Version 3.0
0757af94 18674 (sql-product-alist): Add product :completion-object,
fbcc67e2 18675 :completion-column, and :statement attributes.
0757af94 18676 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18677 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18678 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18679 ansi keywords.
18680 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18681 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18682 (sql-oracle-show-reserved-words): New function for development.
18683 (sql-product-font-lock): Simplify for source code buffers.
18684 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18685 New functions.
18686 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18687 (sql-mode-map): Add statement movement functions.
18688 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18689 New variable.
fbcc67e2
MM
18690 (sql-statement-regexp, sql-beginning-of-statement)
18691 (sql-end-of-statement, sql-signum): New functions.
0757af94 18692 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18693 (sql-show-sqli-buffer): Bug fix.
18694 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18695 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18696 with sql-interactive-mode.
18697 (sql-save-connection): Save buffer local settings.
0757af94 18698 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18699 (sql-product-interactive): Bug fix.
18700 (sql-preoutput-hold): New variable.
18701 (sql-interactive-remove-continuation-prompt): Bug fixes.
18702 (sql-debug-redirect): New variable.
18703 (sql-str-literal): New function.
18704 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18705 Redesign.
fbcc67e2
MM
18706 (sql-oracle-save-settings, sql-oracle-restore-settings)
18707 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18708 (sql-completion-object, sql-completion-column)
18709 (sql-completion-sqlbuf): New variables.
18710 (sql-build-completions-1, sql-build-completions)
18711 (sql-try-completion): New functions.
18712 (sql-read-table-name): Use them.
18713 (sql-contains-names): New buffer local variable.
18714 (sql-list-all, sql-list-table): Use it.
18715 (sql-oracle-completion-types): New variable.
18716 (sql-oracle-completion-object, sql-sqlite-completion-object)
18717 (sql-postgres-completion-object): New functions.
18718
d4eaeab1
GM
187192011-07-06 Glenn Morris <rgm@gnu.org>
18720
18721 * window.el (pop-to-buffer): Doc fix.
18722
322b7dab 187232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18724
18725 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18726
322b7dab 187272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18728
322b7dab 18729 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18730
322b7dab 18731 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18732
605dd5bf
CY
187332011-07-05 Chong Yidong <cyd@stupidchicken.com>
18734
18735 * button.el (button): Inherit from link face. Suggested by Dan
18736 Nicolaescu.
18737
7dbfa719
SM
187382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18739
3db614b0
SM
18740 * progmodes/gdb-mi.el: Fit in 80 columns.
18741 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18742 switch-to-buffer.
18743
7dbfa719
SM
18744 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18745 if imenu is simply not configured (bug#8941).
18746
919d884a
KM
187472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18748
18749 * allout.el (allout-post-undo-hook): New allout outline-change
18750 event hook to signal undo activity.
18751 (allout-post-command-business): Run allout-post-undo-hook if an
18752 undo just occurred.
7dbfa719
SM
18753 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18754 * allout-widgets.el (allout-widgets-after-undo-function):
18755 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18756 in the vicinity of an undo.
18757 (allout-widgets-mode): Include allout-widgets-after-undo-function
18758 on the new allout-post-undo-hook.
18759
450a0f09
SM
187602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18761
18762 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18763 Let define-derived-mode define it.
18764 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18765 cycles of abbrev-table inheritance (bug#8998).
18766
2de69e00
RW
187672011-07-05 Roland Winkler <winkler@gnu.org>
18768
18769 * textmodes/bibtex.el: Add support for biblatex.
18770 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18771 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18772 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18773 (bibtex-entry-alist, bibtex-field-alist): New variables.
18774 (bibtex-entry-field-alist): Obsolete alias for
18775 bibtex-BibTeX-entry-alist.
18776 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18777 (bibtex-set-dialect): New command.
18778 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18779 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18780 Bind via bibtex-set-dialect.
2de69e00
RW
18781 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18782 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18783 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18784 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18785 Define via bibtex-set-dialect.
450a0f09
SM
18786 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18787 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18788 (bibtex-vec-push, bibtex-vec-incr): New functions.
18789 (bibtex-format-entry, bibtex-field-list)
18790 (bibtex-print-help-message, bibtex-validate)
18791 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18792
2dcdbdd9
SM
187932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18794
18795 * progmodes/compile.el (compilation-goto-locus):
18796 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18797 * bs.el (bs-cycle-next, bs-cycle-previous):
18798 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18799 * bindings.el (mode-line-other-buffer):
18800 * autoinsert.el (auto-insert):
18801 * arc-mode.el (archive-extract):
18802 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18803
b27640fe
JB
188042011-07-05 Juanma Barranquero <lekktu@gmail.com>
18805
18806 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18807 Fix check of `emacs-lock-unlockable-modes'.
18808 Coerce true values of `emacs-lock--try-unlocking' to t.
18809
53bbe3ad
JB
188102011-07-05 Juanma Barranquero <lekktu@gmail.com>
18811
18812 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18813 * emacs-lock.el: New file.
18814
1d3cdbc7
JD
188152011-07-05 Julien Danjou <julien@danjou.info>
18816
18817 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18818 than `boundp' to check if face is set.
18819
9173deec
JB
188202011-07-05 Juanma Barranquero <lekktu@gmail.com>
18821
18822 * register.el (registerv-make):
18823 * window.el (window-min-height): Fix typos in docstrings.
18824
869795d6
JD
188252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18826
9173deec 18827 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18828 Update doc string.
18829
b768cdcd
JB
188302011-07-04 Juanma Barranquero <lekktu@gmail.com>
18831
18832 * server.el (server-execute): Catch quit and call
18833 `server-return-error' to pass the error back to emacsclient and
18834 close the connection (bug#8942).
18835
13aa217b
KM
188362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18837
18838 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18839 insecure exception for current topic. Also note that auto-saves
18840 are handled differently.
18841
5d3385a0 18842 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18843 State variables for tracking auto-save inhibition situation.
18844
18845 (allout-write-contents-hook-handler): Rename from
18846 'allout-write-file-hook-handler', and describe how it depends on
18847 write-contents-functions sensitivity to non-nil value to prevent
18848 file write.
18849
18850 (allout-auto-save-hook-handler): Remove. auto-save does not check
18851 this in individual buffers, only in the starting buffer, so this
18852 is not the right way for us to inhibit auto-save in a buffer
18853 according to its condition.
18854
18855 (allout-mode): Use new allout-write-contents-hook-handler, and
18856 only with write-contents-functions. Remove auto-save provisions -
18857 they're implemented elsewhere.
18858
18859 (allout-before-change-handler): If undo is in progress, note that
18860 for attention of allout-post-command-business.
18861
18862 (allout-post-command-business): If the command we're following was
18863 an undo, check for change in the status of encrypted items and
18864 adjust auto-save inhibitions accordingly.
18865
18866 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18867 according to whether there are or aren't any plain-text topics
18868 pending encryption.
18869
2dcdbdd9 18870 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
18871 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18872 if there are plain-text topics pending encryption.
13aa217b
KM
18873
18874 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18875 buffer-saved-size and some allout state to not inhibit auto-saves
18876 if there are no longer any plain-text topics pending encryption.
18877
0757af94
SM
18878 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18879 No longer provide for exemption of the current topic.
13aa217b 18880
ac89b32c
JL
188812011-07-04 Juri Linkov <juri@jurta.org>
18882
18883 Add 7z operations to delete and save changed members (bug#8968).
18884 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18885 New defcustoms.
18886 (archive-7z-write-file-member): New function.
18887 (archive-7z-summarize): Fix the number of dashes in the
18888 listing output.
18889
8fa39615
SM
188902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18891
18892 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18893 (bug#8958).
18894
2f11b3f1
CY
188952011-07-04 Chong Yidong <cyd@stupidchicken.com>
18896
d66fef2b
CY
18897 * bindings.el: Ignore next-buffer and previous-buffer in
18898 minibuffer-local-map.
18899
2f11b3f1
CY
18900 * font-lock.el (font-lock-builtin-face): Change light background
18901 color to dark slate blue (Bug#6693).
18902
f932a347
WD
189032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18904
18905 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18906
c8af70e1
SM
189072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18908
18909 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18910 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18911 Add switch-to-buffer.
18912
f158badc
LMI
189132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18914
18915 * isearch.el (isearch-search-fun-function): Clarify further the
18916 meaning of the function returned.
18917
6d95bd46
MA
189182011-07-04 Michael Albinus <michael.albinus@gmx.de>
18919
18920 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18921
18922 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18923 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18924 Use it.
18925 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18926 `tramp-default-remote-path' does not exist.
18927 (tramp-send-command-and-read): New optional argument NOERROR.
18928 (tramp-open-connection-setup-interactive-shell)
18929 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18930 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18931 (tramp-process-sentinel): Flush also process' connection property.
18932 (tramp-sh-handle-start-file-process): Do not set process
18933 sentinel. It is done now ...
18934 (tramp-maybe-open-connection): ... here. (Bug#8929)
18935
909e6b67
MK
189362011-07-04 MON KEY <monkey@sandpframing.com>
18937
18938 * play/animate.el (animate-string): Doc fixes and allow changing
18939 the buffer name (bug#5417).
18940
189412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18942
c8af70e1 18943 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 18944
f34755dc
PE
189452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18946
396cec72
PE
18947 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18948 This is simpler and helps future-proof the code.
18949 (timer-until): Use time-subtract and float-time.
08235028 18950 (timer--time-less-p): Use time-less-p.
f34755dc 18951
56e6cc31
JB
189522011-07-04 Juanma Barranquero <lekktu@gmail.com>
18953
3abb79e5
JB
18954 * type-break.el (timep): Use the value of `float-time' to avoid a
18955 byte-compiler warning.
18956
56e6cc31
JB
18957 * server.el (server-eval-and-print): Return any result, even nil.
18958
7b9430b4
PE
189592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18960
18961 * type-break.el: Accept time formats that the builtins accept.
18962 (timep, type-break-time-difference): Accept any format that
18963 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18964 This is simpler and helps future-proof the code.
18965 (type-break-time-difference): Round rather than ignoring
18966 subseconds components.
18967
3034e9e7
LMI
189682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18969
18970 * info.el (Info-apropos-matches): Make non-interactive, since it
18971 doesn't seem to do anything useful as a command (bug#8829).
18972
1485f4c0
CY
189732011-07-03 Chong Yidong <cyd@stupidchicken.com>
18974
18975 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 18976 Move from faces.el.
1485f4c0
CY
18977 (frame-default-terminal-background): New function.
18978
18979 * custom.el (custom-push-theme): Don't record faces in `changed'
18980 theme; this doesn't work correctly for per-frame face settings.
18981 (disable-theme): Use face-set-after-frame-default to reset faces.
18982 (custom--frame-color-default): New function.
18983
9fa3dd45
LMI
189842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18985
c8af70e1 18986 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
18987 (bug#8769).
18988
6cbbc20c
KR
189892011-03-29 Kevin Ryde <user42@zip.com.au>
18990
18991 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18992 `perl-Test2' extend to match possible "fail #N" rep count
18993 (bug#8377).
18994
c7f98048
LMI
189952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18996
65676592
LMI
18997 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18998 `smtpmail-via-smtp' now returns the error instead of nil.
18999
c7f98048
LMI
19000 * isearch.el (isearch-search-fun-function): Clarify the doc string
19001 (bug#8101).
19002
56e6cc31 190032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19004
19005 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19006 unnecessary spaces (bug#8987).
19007
2b216704
LMI
190082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19009
19010 * net/network-stream.el (open-network-stream): Use the
19011 :end-of-capability command thoughout.
19012
190132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19014
19015 * net/network-stream.el (open-network-stream): Add the
19016 :end-of-capability command parameter, used by pop3.el.
19017
36adf6ce
LMI
190182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19019
1ca0da0e
LMI
19020 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19021
fc00f69c
LMI
19022 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19023 for list)" (bug#6475).
19024
28fd8759 19025 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19026 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19027 an error (bug#6297).
19028
0dd8b6da
LMI
19029 * man.el (Man-reference-regexp): Allow matching possible
19030 word-wrapped references (bug#6289).
19031
ce1438d6
LMI
19032 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19033 for consistency with the other vc buffers (bug#6197).
19034 (vc-checkin): Ditto.
19035
19036 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19037
36adf6ce
LMI
19038 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19039
e83cc1f7
LMI
190402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19041
8a20ca4c
LMI
19042 * custom.el (defcustom): Clarify that :set is only used in the
19043 Customize user interface (bug#6089).
19044
83319045
LMI
19045 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19046 associated with a file, refuse to run instead of erroring out
19047 (bug#6084).
19048
a8392169
LMI
19049 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19050 the doc string, since it appears that using `fill-column' always
19051 controls the width (bug#7845).
19052
e83cc1f7
LMI
19053 * simple.el (shell-command-on-region): Say where the error output
19054 went if `shell-command-default-error-buffer' is set (bug#6857).
19055
e47ca23b
KM
190562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19057
19058 * allout.el (allout-yank-processing): Adjust cursor position for
19059 backwards-deleted space.
19060
19061 (allout-rebullet-heading): Register changes with
19062 allout-exposure-changed-hook, so the modified topic is properly
19063 decorated.
19064
5cf56143
LMI
190652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19066
08549772
LMI
19067 * minibuffer.el (completion-in-region): Document PREDICATE
19068 (bug#7136).
19069
48e96771
LMI
19070 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19071 of keyword/argument pairs (bug#6904).
19072
c8af70e1
SM
19073 * replace.el (multi-occur):
19074 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19075
e17d05e2
LMI
190762011-07-02 Drew Adams <drew.adams@oracle.com>
19077
19078 * dired.el (dired-mark-if): Make the message about whether it's
19079 marking or unmarking clearer (bug#8523).
19080
063b0e45
LMI
190812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19082
19083 * disp-table.el (display-table-print-array): New function.
19084 (describe-display-table): Use it to print the vectors more pretty
19085 (Bug#8859).
19086
28545e04
MR
190872011-07-02 Martin Rudalics <rudalics@gmx.at>
19088
19089 * window.el (window-state-get-1): Don't assign clone numbers.
19090 Add clone-of item to list of window parameters.
19091 (window-state-put-2): Don't process clone numbers.
19092 (display-buffer-alist): Fix doc-string.
19093
3349e122
SM
190942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19095
19096 * subr.el (remq): Don't allocate if it's not needed.
19097 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19098 (keymap--merge-bindings): New functions.
19099 (keymap-canonicalize): Use them to refine the canonicalization.
19100 * minibuffer.el (minibuffer-local-completion-map)
19101 (minibuffer-local-must-match-map): Move initialization from C.
19102 (minibuffer-local-filename-completion-map): Move initialization from C;
19103 don't inherit from anything here.
19104 (minibuffer-local-filename-must-match-map): Make obsolete.
19105 (completing-read-default): Use make-composed-keymap to combine
19106 minibuffer-local-filename-completion-map with either
19107 minibuffer-local-must-match-map or
19108 minibuffer-local-filename-completion-map.
19109
d224ac83
GM
191102011-07-01 Glenn Morris <rgm@gnu.org>
19111
3de63bf8
GM
19112 * type-break.el (type-break-time-sum): Use dolist.
19113
d224ac83
GM
19114 * textmodes/flyspell.el (flyspell-word-search-backward):
19115 Replace CL function.
19116
1a1e3f32
SM
191172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19118
fe3f64d5
SM
19119 * mouse.el (mouse--strip-first-event): New function.
19120 (function-key-map): Use it to map fringe clicks to normal clicks
19121 by default.
19122
eb604e34
SM
19123 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19124 (vc-bzr-revision-completion-table): Add support for annotate and date.
19125
1a1e3f32
SM
19126 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19127 inherit from parent.
19128
5bd35902
LMI
191292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19130
ace6c69c 19131 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19132 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19133
191e2bed
LMI
19134 * dired.el (dired-mode): Fix up the doc string as suggested by
19135 Drew Adams (bug#8817).
19136
5bd35902
LMI
19137 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19138 cookie, since the manual says that it should be possible to add
19139 this function to `find-file-hook' (bug#8709).
19140
eee8207a
TZ
191412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19142
19143 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19144 here. Noted Ted Zlatanov as the maintainer.
19145 (cfengine-common-settings, cfengine-common-syntax): New functions
19146 to set up common things between `cfengine-mode' and
19147 `cfengine3-mode'.
19148 (cfengine3-mode): New mode.
19149 (cfengine3-defuns cfengine3-defuns-regex
19150 (cfengine3-class-selector-regex cfengine3-category-regex)
19151 (cfengine3-vartypes cfengine3-font-lock-keywords)
19152 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19153 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19154
36b148cf
MA
191552011-07-01 Michael Albinus <michael.albinus@gmx.de>
19156
19157 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19158
19159 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19160
0bf4ba9a
MR
191612011-07-01 Martin Rudalics <rudalics@gmx.at>
19162
19163 * window.el (same-window-buffer-names, same-window-regexps)
19164 (same-window-p, special-display-frame-alist)
19165 (special-display-popup-frame, special-display-function)
19166 (special-display-buffer-names, special-display-regexps)
19167 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19168 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19169 (split-window-preferred-function, split-height-threshold)
19170 (split-width-threshold, even-window-heights)
19171 (display-buffer-mark-dedicated, window-splittable-p)
19172 (split-window-sensibly, window-safely-shrinkable-p):
19173 Un-obsolete.
19174 (display-buffer): Don't spread args with function specifier
19175 because special-display-popup-frame won't like it.
19176
35837f51
PE
191772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19178
d0672f86
PE
19179 Time-stamp simplifications and fixes.
19180 These improve accuracy slightly, and future-proof the code
19181 against some potential changes to current-time format.
19182
b9444d97
PE
19183 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19184 by using time-since and float-time.
19185
0ef923dc
PE
19186 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19187 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19188 + NNN microseconds".
19189
2f81380d
PE
19190 * type-break.el (type-break-time-sum): Rewrite using time-add.
19191
845b5c3e
PE
19192 * play/hanoi.el (hanoi-current-time-float): Remove.
19193 All uses replaced by float-time.
19194
ee6f1be0
PE
19195 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19196 This yields a more-accurate answer.
19197 (rng-time-to-float): Remove; no longer needed.
19198
fe955043
PE
19199 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19200
5777162a
PE
19201 * calendar/timeclock.el (timeclock-seconds-to-time):
19202 Defalias to seconds-to-time, since they're the same thing.
19203
3103f8b6 19204 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19205 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19206 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19207
0e61a35f
SM
192082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19209
19210 * window.el (bury-buffer): Don't iconify the only frame.
19211 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19212 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19213
ddd63a1e
CY
192142011-07-01 Chong Yidong <cyd@stupidchicken.com>
19215
0e61a35f
SM
19216 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19217 Add mouse-yank-primary.
ddd63a1e 19218
055f4923
TZ
192192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19220
19221 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19222
6a2fb145
SM
192232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19224
19225 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19226 (find-library-name): Use it to find relative load names when provided
19227 absolute file name (bug#8803).
19228
fd4983f2
LMI
192292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19230
887d14ad
LMI
19231 * textmodes/flyspell.el (flyspell-word): Consider words that
19232 differ only in case as potential doublons (bug#5687).
19233
c53dc7fc
LMI
19234 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19235 Remove two rather uninteresting debugging-like messages to make
19236 debbugs.el more silent.
19237
fd4983f2
LMI
19238 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19239 a password-like phrase.
19240
7a71b18d 192412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19242
19243 * progmodes/cc-guess.el: New file.
19244
6a2fb145 19245 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19246
19247 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19248 derived from `c-basic-common-init'.
19249
19250 * progmodes/cc-mode.el (top-level): Require cc-guess.
19251 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19252
1fa280a3
LM
192532011-06-30 Lawrence Mitchell <wence@gmx.li>
19254
19255 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19256
e6597158
AM
192572011-06-30 Alan Mackenzie <acm@muc.de>
19258
1fa280a3
LM
19259 * progmodes/cc-engine.el (c-guess-continued-construct):
19260 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19261 lock is disabled. Name this case as "CASE G".
19262
68ba37fb
KM
192632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19264
19265 * allout.el (allout-yank-processing): Fix injection of extra space
19266 between bullet and non-whitespace character in first topic when
19267 pasting, ensuring that the actual spacing in the pasted topic
19268 following the bullet char is preserved. This extra space was
19269 causing pasted encrypted topics to get a decrypted status even
19270 when the content was actually still encrypted. Now the decryption
19271 status from before the paste is preserved.
19272
19273 (allout-flag-region): Set all allout overlays so they evaporate
19274 when reduced to zero length (evanescent), to prevent overlay
19275 leakage.
19276
887a0b34
GM
192772011-06-30 Glenn Morris <rgm@gnu.org>
19278
94b9acce
GM
19279 * w32-fns.el (w32-charset-info-alist): Declare.
19280
1d9b46d4
GM
19281 * find-dired.el (find-grep-options): Simplify.
19282
cc232200
GM
19283 * term/ns-win.el (ns-set-resource): Declare.
19284
28e77c46
GM
19285 * ses.el (row, col): Declare dynamic variables honestly.
19286
887a0b34
GM
19287 * textmodes/reftex-parse.el (index-tags): Declare.
19288
658d8eb8
CY
192892011-06-30 Chong Yidong <cyd@stupidchicken.com>
19290
19291 * cus-edit.el (customize-push-and-save): New function.
19292
19293 * files.el (hack-local-variables-confirm): Use it.
19294
1fa280a3
LM
19295 * custom.el (load-theme): New arg NO-CONFIRM.
19296 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19297 (custom-enabled-themes): Doc fix.
19298
19299 * cus-theme.el (customize-create-theme)
19300 (custom-theme-merge-theme): Callers to load-theme changed.
19301
bb617717
LMI
193022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19303
d61bdd5d
LMI
19304 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19305 short URLs have at least one dot in them (bug #7614).
19306
bb617717
LMI
19307 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19308 nil, because using a pty is apparently too slow (bug #895).
19309
2f31f37a
LMI
193102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19311
19312 * mail/sendmail.el (sendmail-query-once): New function.
19313 (sendmail-query-once-function): New variable.
19314
3076b24e
GM
193152011-06-29 Glenn Morris <rgm@gnu.org>
19316
faf2a174
GM
19317 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19318
3076b24e
GM
19319 * ses.el (top-level): Require cl when compiling.
19320 (ses-set-localvars): Fix error statement.
19321 Call it at compile time to silence a storm of warnings.
19322
5386012d
MR
193232011-06-29 Martin Rudalics <rudalics@gmx.at>
19324
19325 * window.el (normalize-live-buffer): Rename to
19326 window-normalize-buffer.
19327 (normalize-live-frame): Rename to window-normalize-frame.
19328 (normalize-any-window): Rename to window-normalize-any-window.
19329 (normalize-live-window): Rename to window-normalize-live-window.
19330 (make-window-atom): Rename to window-make-atom.
19331 (window-resize-reset): Rename to window--resize-reset.
19332 (window-resize-reset-1): Rename to window--resize-reset-1.
19333 (resize-mini-window): Rename to window--resize-mini-window.
19334 (resize-subwindows-skip-p): Rename to
19335 window--resize-subwindows-skip-p.
19336 (resize-subwindows-normal): Rename to
19337 window--resize-subwindows-normal.
19338 (resize-subwindows): Rename to window--resize-subwindows.
19339 (resize-other-windows): Rename to window--resize-siblings.
19340 (resize-this-window): Rename to window--resize-this-window.
19341 (resize-root-window): Rename to window--resize-root-window.
19342 (resize-root-window-vertically): Rename to
19343 window--resize-root-window-vertically.
19344 (normalize-buffer-to-display): Rename to
19345 window-normalize-buffer-to-display.
19346 (normalize-buffer-to-switch-to): Rename to
19347 window-normalize-buffer-to-switch-to.
19348 Correspondingly update all callers of the functions listed
19349 above.
19350 (display-buffer-alist, display-buffer-normalize-arguments)
19351 (display-buffer-normalize-options, display-buffer)
19352 (display-buffer-alist-set): Use "function" instead of
19353 "fun-with-args".
19354
1176868d
CY
193552011-06-28 Chong Yidong <cyd@stupidchicken.com>
19356
19357 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19358 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19359 debbugs.gnu.org. Mention acknowledgment email.
19360
20a7a65f
LMI
193612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19362
19363 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19364 buffer multibyteness, since it shouldn't matter.
19365
5f45cca5
MR
193662011-06-28 Martin Rudalics <rudalics@gmx.at>
19367
19368 * window.el (display-buffer-in-side-window): Handle dedicated
19369 windows as in display-buffer-reuse-window.
19370 (display-buffer-normalize-alist): Use value of override
19371 specifier.
19372 (display-buffer-normalize-specifiers): Use value of
19373 other-window-means-other-frame specifier.
19374 (display-buffer-alist): Rewrite some texts in widgets.
19375 (display-buffer): Spread arguments when calling function
19376 specified by fun-with-args.
19377
ad85fe1f
DD
193782011-06-28 Deniz Dogan <deniz@dogan.se>
19379
1fa280a3
LM
19380 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19381 Unnest `let'.
da68c4c8 19382
ad85fe1f
DD
19383 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19384 selectors (Bug#5732).
ec49bd31 19385 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19386
a08cc025
JA
193872011-06-27 Jari Aalto <jari.aalto@cante.net>
19388
19389 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19390 (eshell-ls-date-format): New defcustom.
19391 (eshell-ls-file): Use it.
19392
e2b551c5
SM
193932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19394
19395 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19396
8982b231
KY
193972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19398
19399 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19400 (ange-ftp-make-tmp-name): New arg.
19401 (ange-ftp-file-local-copy): Use it.
19402
36c9fa27
J
194032011-06-27 Jambunathan K <kjambunathan@gmail.com>
19404
19405 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19406 no-conversion (Bug#8870).
19407
d68443dc
MR
194082011-06-27 Martin Rudalics <rudalics@gmx.at>
19409
19410 * window.el (window-right, window-left, window-child)
19411 (window-child-count, window-last-child)
19412 (window-iso-combination-p, walk-window-tree-1)
19413 (window-atom-check-1, window-tree-1, delete-window)
19414 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19415 new naming conventions - window-vchild, window-hchild,
19416 window-next and window-prev are now called window-top-child,
19417 window-left-child, window-next-sibling and window-prev-sibling
19418 respectively.
d615d6d2
MR
19419 (resize-window-reset): Rename to window-resize-reset.
19420 (resize-window-reset-1): Rename to window-resize-reset-1.
19421 (resize-window): Rename to window-resize.
19422 (window-min-height, window-min-width)
19423 (resize-mini-window, resize-this-window, resize-root-window)
19424 (resize-root-window-vertically, adjust-window-trailing-edge)
19425 (enlarge-window, shrink-window, maximize-window)
19426 (minimize-window, delete-window, quit-restore-window)
19427 (split-window, balance-windows, balance-windows-area-adjust)
19428 (balance-windows-area, window-state-put-2)
19429 (display-buffer-even-window-sizes, display-buffer-set-height)
19430 (display-buffer-set-width, set-window-text-height)
19431 (fit-window-to-buffer): Rename all "resize-window" prefixed
19432 calls to use the "window-resize" prefix convention.
19433 (display-buffer-alist): Fix symbol for label specifier.
19434 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19435 corresponding specifier.
19436 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19437
b6458526
VB
194382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19439
19440 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19441 convention.
19442 (ses-call-printer): Does not pass an empty string to formatter when the
19443 cell is empty to keep from barking printer Calc math-format-value.
19444
d31fd9ac
RS
194452011-06-27 Richard Stallman <rms@gnu.org>
19446
43d5bf84
RS
19447 * battery.el (battery-mode-line-limit): New variable.
19448 (battery-update): Handle it.
19449
d31fd9ac
RS
19450 * mail/rmailmm.el (rmail-mime-process-multipart):
19451 Handle truncated messages.
19452
819a6054
GM
194532011-06-27 Glenn Morris <rgm@gnu.org>
19454
19455 * progmodes/flymake.el (flymake-err-line-patterns):
19456 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19457
cedc73f2
VB
194582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19459
819a6054 19460 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19461 (ses--clean-!, ses--clean-_): New functions.
19462 (ses-range): Add configurability of readout order, and conversion
19463 to Calc vector.
19464
5e5d49b6
VB
19465 * ses.el (ses-repair-cell-reference-all): New function.
19466 (ses-cell-symbol): Set macro as safe, so that it can be used in
19467 formulas.
19468
56e6cc31 19469 * ses.el: Update cycle detection algorithm.
90ca8b49 19470 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19471 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19472 (ses-set-localvars): New function.
19473 (ses-make-cell): Add property-list as a cell element.
19474 (ses-cell-property-get-fun, ses-cell-property-get)
19475 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19476 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19477 New functions.
90ca8b49
VB
19478 (ses-cell-property-set, ses-cell-property-pop)
19479 (ses-cell-property-get-handle): New macro.
19480 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19481 New aliases, used for code readability.
19482 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19483 cycle detection.
19484 (ses-self-reference-early-detection): New defcustom.
fac916bf 19485 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19486 (ses-mode): Use ses-set-localvars.
19487 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19488 before lauching the update processing.
19489 (ses-initialize-Dijkstra-attempt): New function.
19490 (ses-recalculate-cell): Update for cycle detection based on
19491 Dijkstra algorithm.
19492
2bb63e81
VB
19493 * ses.el: Fix commenting and indenting convention.
19494
c9d29fb8
SM
194952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19496
19497 * bs.el (bs-cycle-next): Complete last change.
19498
d8e4b68b
JB
194992011-06-27 Drew Adams <drew.adams@oracle.com>
19500
19501 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19502
40098786
LMI
195032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19504
c9d29fb8
SM
19505 * net/network-stream.el (network-stream-open-starttls):
19506 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19507 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19508
40098786
LMI
19509 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19510 to binary to possibly avoid line encoding issues on Windows (among
19511 other things).
19512
468d09d4
LMI
195132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19514
19515 * net/network-stream.el (open-network-stream): Return an :error
19516 saying what the problem was, if possible.
19517
19518 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19519 server.
19520
19521 * net/network-stream.el (network-stream-open-starttls): If we
19522 wanted to use STARTTLS, and the server offered it, but we weren't
19523 able to because we had no STARTTLS support, then close the connection.
19524 (open-network-stream): Return an :error element, if present.
19525
16f07dd7
CY
195262011-06-26 Chong Yidong <cyd@stupidchicken.com>
19527
88821ca0
CY
19528 * hl-line.el (hl-line-sticky-flag): Doc fix.
19529 (global-hl-line-sticky-flag): New option (Bug#8323).
19530 (global-hl-line-highlight): Obey it.
19531
16f07dd7
CY
19532 * vc/vc.el (vc-revert-show-diff): Default to t.
19533
6b5ccddf
KM
195342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19535
c9d29fb8
SM
19536 * allout-widgets.el (allout-widgets-post-command-business):
19537 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19538 undecorated when an isearch is continued past, and isearch
19539 automatically collapses them. This leads to "widget leaks", where
19540 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19541 hidden widgets can slow down cursor travel, substantially.
19542 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19543 so we're doing without this nicety.
19544
19545 (allout-widgets-tally-string): Don't try to do a hash-table-count
19546 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19547 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19548 *Messages* when allout-widgets-maintain-tally is t.
19549
355f2e07
MR
195502011-06-26 Martin Rudalics <rudalics@gmx.at>
19551
19552 * window.el (display-buffer-normalize-argument): Rename to
19553 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19554 LABEL argument. Respect special-display-function when popping up
19555 a new frame. Fix code searching for a window showing the buffer
19556 on another frame.
c9d29fb8
SM
19557 (display-buffer-normalize-specifiers):
19558 Call display-buffer-normalize-arguments.
355f2e07
MR
19559 (display-buffer-in-window): Don't undedicate the window if its
19560 buffer remains the same.
19561 Reported by Drew Adams <drew.adams@oracle.com>.
19562 (display-buffer-alist): Add choice for same-window macro
19563 specfier.
19564 (display-buffer): Mention special meaning of LABEL argument in
19565 doc-string. Fix quoting. Don't pop up a new frame even as
19566 fallback.
19567
7ca8fc42
JB
195682011-06-26 Juanma Barranquero <lekktu@gmail.com>
19569
19570 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19571 avoid deleting the current window in some cases (bug#8911).
19572
bc312254
AS
195732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19574
19575 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19576 (Bug#8934)
19577
2db18f3f
LMI
195782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19579
c9d29fb8
SM
19580 * net/network-stream.el (network-stream-open-starttls):
19581 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19582 (network-stream-open-tls): Ditto.
19583
6302e0d3
LL
195842011-06-26 Leo Liu <sdl.web@gmail.com>
19585
19586 * register.el (registerv): New struct.
19587 (registerv-make): New function.
c9d29fb8
SM
19588 (jump-to-register, describe-register-1, insert-register):
19589 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19590 struct. (Bug#8415)
19591
5fdd4046
CY
195922011-06-26 Chong Yidong <cyd@stupidchicken.com>
19593
2afef60a
CY
19594 * vc/vc.el (vc-revert-show-diff): New defcustom.
19595 (vc-diff-internal): New arg specifying diff buffer.
19596 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19597 reuse an existing *vc-diff* buffer (Bug#8927).
19598
5fdd4046
CY
19599 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19600
e93db24a
GM
196012011-06-26 Glenn Morris <rgm@gnu.org>
19602
19603 * progmodes/f90.el (f90-critical-indent): New option.
19604 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19605 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19606 (f90-mode): Doc fix.
19607 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19608 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19609 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19610 (f90-match-end): Handle block, critical.
19611
eefff499
GM
196122011-06-25 Glenn Morris <rgm@gnu.org>
19613
f6ba4cc9
GM
19614 * calendar/diary-lib.el (diary-included-files): Doc fix.
19615 (diary-include-files): New function, extracted from
19616 diary-include-other-diary-files and diary-mark-included-diary-files.
19617 (diary-include-other-diary-files, diary-mark-included-diary-files):
19618 Just call diary-include-files.
19619 (diary-mark-entries): Reset diary-included-files on first call.
19620
16712304
GM
19621 * calendar/diary-lib.el (diary-mark-entries)
19622 (diary-mark-included-diary-files):
19623 Visit included diary-files in temp buffers.
19624
5d8e0d43
GM
19625 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19626 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19627 (f90-start-block-re, f90-imenu-generic-expression)
19628 (f90-looking-at-program-block-start, f90-no-block-limit):
19629 Add support for submodules.
19630
ccf7a5d5
GM
19631 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19632 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19633
11fdef7d 196342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19635
19636 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19637 buffer-file-type before setting its value, to avoid disastrous
eefff499 19638 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19639
74f53697
JB
196402011-06-25 Juanma Barranquero <lekktu@gmail.com>
19641
19642 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19643
19644 * ses.el (ses-unload-function):
19645 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19646
19647 * proced.el (proced-unload-function):
19648 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19649
18a4ce5e
AR
196502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19651
19652 * server.el (server-create-window-system-frame): Add parameters arg.
19653 (server-process-filter): Doc fix. Handle frame-parameters.
19654
519d22cc
JB
196552011-06-25 Juanma Barranquero <lekktu@gmail.com>
19656
19657 Fix bug#8730, bug#8781.
19658
19659 * loadhist.el (unload--set-major-mode): New function.
19660 (unload-feature): Use it.
19661
19662 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19663 (python-unload-function): New function.
19664
c206f5b0
SM
196652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19666
19667 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19668
f9ad64f3
GS
196692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19670
19671 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19672 the candidates list.
19673
7d0da90e
JB
196742011-06-24 Juanma Barranquero <lekktu@gmail.com>
19675
19676 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19677
14b4e83d
RS
196782011-06-23 Richard Stallman <rms@gnu.org>
19679
19680 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19681 (rmail-variables): Set next-error-move-function.
19682 (rmail-what-message): Take argument POS.
19683 (rmail-next-error-move): New function.
19684
273d2baf
SM
196852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19686
19687 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19688 messages for adjacent non-terminals.
19689
56c2cc9a
RS
196902011-06-23 Richard Stallman <rms@gnu.org>
19691
19692 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19693 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19694 (rmail-start-mail): Don't specify use of rmail-mail-return;
19695 that's done by mail-bury now.
19696 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19697
d59eb518
MA
196982011-06-23 Michael Albinus <michael.albinus@gmx.de>
19699
19700 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19701 SIZE is a number.
19702
02cfc6d6
MR
197032011-06-23 Martin Rudalics <rudalics@gmx.at>
19704
19705 * window.el (get-lru-window, get-mru-window)
19706 (get-largest-window): Never return a minibuffer window.
19707 (display-buffer-pop-up-window): Fix a bug that could lead to
19708 reusing the minibuffer window.
19709 (display-buffer): Pass original specifier argument to
19710 display-buffer-function instead of the normalized one.
19711 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19712
4e323265
LL
197132011-06-22 Leo Liu <sdl.web@gmail.com>
19714
19715 * minibuffer.el (completing-read-function)
1f9f395d 19716 (completing-read-default): Move from minibuf.c.
4e323265 19717
7a70468f
RS
197182011-06-22 Richard Stallman <rms@gnu.org>
19719
50718fc2
RS
19720 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19721 to Rmail even if not started by a special Rmail command.
19722
7a70468f
RS
19723 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19724 Copy the buffer currently showing just one message.
19725
297dde5a
RW
197262011-06-22 Roland Winkler <winkler@gnu.org>
19727
19728 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19729 (bibtex-clean-entry): First delete the old key so that a
19730 customized algorithm for generating the new key does not get
19731 confused by the old key.
19732 (bibtex-url): Obey regexp of first step.
19733 (bibtex-search-entries): Do not use add-to-list with local
19734 list-var.
19735
97bb1093
LMI
197362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19737
19738 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19739 stored a user name, then query for the password first, instead of
19740 waiting for SMTP to give an error message and the trying again.
19741
1c0f1a19
JD
197422011-06-22 Lawrence Mitchell <wence@gmx.li>
19743
19744 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19745 BUFFER in call-process.
19746
396f7c9d
LMI
197472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19748
19749 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19750 QUIT twice.
ddb7ffee
LMI
19751 (smtpmail-try-auth-methods): Require user name and password from
19752 auth-source.
396f7c9d 19753
8998d1b3
MR
197542011-06-22 Martin Rudalics <rudalics@gmx.at>
19755
19756 * window.el (display-buffer-default-specifiers)
19757 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19758 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19759 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19760
19761 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19762 (special-display-frame-alist, special-display-popup-frame):
19763 Remove duplicate declarations. These are now in window.el.
19764
4ea31e07
LMI
197652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19766
c9d29fb8
SM
19767 * mail/smtpmail.el (smtpmail-via-smtp):
19768 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19769 server supports it. SMTP servers that support STARTTLS commonly
19770 require it.
19771
19772 * net/network-stream.el (network-stream-open-starttls): Support
19773 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19774 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19775
95f41d9a
LMI
19776 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19777 upgrades with `open-network-stream', and rely solely on
19778 auth-source for all credentials. Big changes throughout the file,
19779 but in particular:
c9d29fb8
SM
19780 (smtpmail-auth-credentials): Remove.
19781 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19782 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19783 MAIL FROM, too.
95f41d9a 19784
c9d29fb8
SM
19785 * net/network-stream.el (network-stream-open-starttls):
19786 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19787 STARTTLS.
19788 (auth-source): Require.
19789 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19790 (network-stream-certificate): Change cert-cert to cert and
19791 cert-key to key.
4ea31e07 19792
065ec2c7
MA
197932011-06-21 Michael Albinus <michael.albinus@gmx.de>
19794
19795 * net/tramp-cache.el (top): Don't load the persistency file when
19796 "emacs -Q" has been called.
19797
cd93b359
DR
197982011-06-21 Tim Harper <timcharper@gmail.com>
19799
d8e4b68b
JB
19800 * term/ns-win.el (ns-initialize-window-system):
19801 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19802 resource to NO as it is not yet supported by the NS port.
19803
ae9c0411
JB
198042011-06-21 Juanma Barranquero <lekktu@gmail.com>
19805
19806 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19807 (list-dynamic-libraries): ...not here.
19808
7f3f739f
LL
198092011-06-21 Leo Liu <sdl.web@gmail.com>
19810
19811 * subr.el (sha1): Implement sha1 using secure-hash.
19812
327c8fb1
MR
198132011-06-21 Martin Rudalics <rudalics@gmx.at>
19814
19815 * window.el (display-buffer-alist): In default value do not
19816 enforce searching a window on any but the selected frame.
19817 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19818 (display-buffer-select-window): Remove function.
19819 (display-buffer-in-window): When a window on another frame gets
19820 reused, do not select it any more but just raise its frame if
19821 necessary (Bug#8851) and (Bug#8856).
19822 (display-buffer-normalize-options): Handle pop-up-frames related
19823 options more faithfully.
19824 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19825 window if it is on another frame.
c9d29fb8
SM
19826 (display-buffer-alist, display-buffer-default-specifiers):
19827 Don't make new frame unsplittable by default.
9e9de014
MR
19828 (display-buffer-normalize-argument): Fix doc-string typo and use
19829 'same-frame-other-window instead of 'other-window when associating
19830 with display-buffer-macro-specifiers.
327c8fb1 19831
7cf3f556
VB
198322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19833
19834 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19835 New functions.
19836 (5x5-mode-map, 5x5-mode-menu): Bind them.
19837 (5x5-draw-grid): Tweak the solver's rendering.
19838
60a406cf
SM
198392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19840
19841 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19842 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19843
d8e4b68b 198442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19845
19846 * menu-bar.el: Use function variable instead of switch-to-buffer.
19847 (menu-bar-select-buffer-function): New variable.
60a406cf 19848 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19849
478d6f95
SM
198502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19851
19852 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19853 variable's status.
19854
ca530739
JD
198552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19856
19857 * x-dnd.el (x-dnd-version-from-flags)
19858 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19859 and long as number (Bug#8899).
19860 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19861
bcd70d97
SM
198622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19863
60a406cf 19864 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
19865 (completion-try-completion, completion-all-completions): Compute the
19866 metadata argument if it's missing; make it optional (bug#8795).
19867
60a406cf 19868 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
19869 (widget-complete): Use new :completion-function property.
19870 (widget-completions-at-point): New function.
19871 (default): Use :completion-function instead of :complete.
60a406cf
SM
19872 (widget-default-completions): Rename from widget-default-complete;
19873 Rewrite.
bcd70d97
SM
19874 (widget-string-complete, widget-file-complete, widget-color-complete):
19875 Remove functions.
19876 (file, symbol, function, variable, coding-system, color):
19877 * international/mule-cmds.el (default-input-method, charset)
19878 (language-info-custom-alist):
19879 * cus-edit.el (face): Use new property :completions.
19880
19881 * progmodes/pascal.el (pascal-completions-at-point): New function.
19882 (pascal-mode): Use it.
19883 (pascal-mode-map): Use completion-at-point.
19884 (pascal-toggle-completions): Make obsolete.
19885 (pascal-complete-word, pascal-show-completions):
19886 * progmodes/octave-mod.el (octave-complete-symbol):
19887 Redefine as obsolete alias.
19888 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19889 Signal absence of completion info for old Octave,
19890 (inferior-octave-complete): Redefine as obsolete alias.
19891 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19892 (meta-completions-at-point): Rename from meta-complete-symbol and
19893 adapt it for use on completion-at-point-functions.
19894 (meta-common-mode): Use it.
19895 (meta-looking-at-backward, meta-match-buffer): Remove.
19896 (meta-complete-symbol): Redefine as obsolete alias.
19897 (meta-common-mode-map): Use completion-at-point.
19898 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19899 (makefile-mode-map): Use completion-at-point.
19900 (makefile-completions-at-point): Rename from makefile-complete and
19901 adapt it for use on completion-at-point-functions.
19902 (makefile-mode): Use it.
19903 (makefile-complete): Redefine as obsolete alias.
19904
aebf69c8
DD
199052011-06-20 Deniz Dogan <deniz@dogan.se>
19906
19907 * net/rcirc.el: Delete trailing whitespaces once and for all.
19908
bfbbb27d
DC
199092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19910
19911 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19912
d264a46b
CY
199132011-06-19 Chong Yidong <cyd@stupidchicken.com>
19914
4ca009e5
CY
19915 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19916
d264a46b
CY
19917 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19918
fbf5b3ce
MR
199192011-06-19 Martin Rudalics <rudalics@gmx.at>
19920
19921 * window.el (display-buffer-other-window-means-other-frame):
19922 Call display-buffer-normalize-alist.
19923 (display-buffer-normalize-specifiers-1): Rename to
19924 display-buffer-normalize-argument. New argument other-frame.
19925 Rewrite.
19926 (display-buffer-normalize-specifiers-2): Rename to
19927 display-buffer-normalize-options.
19928 (display-buffer-normalize-alist-1): New function.
19929 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
19930 display-buffer-normalize-alist.
19931 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
19932 (display-buffer-normalize-options-inhibit): New variable.
19933 (display-buffer-normalize-specifiers): Rewrite calling
19934 display-buffer-normalize-alist,
19935 display-buffer-normalize-argument, and
19936 display-buffer-normalize-options. Don't call the latter if
19937 display-buffer-normalize-options-inhibit is non-nil.
19938 (frame-auto-delete): New option.
19939 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
19940 (window-list-no-nils, window-state-ignored-parameters)
19941 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
19942 (window-state-put-1, window-state-put-2, window-state-put):
19943 New functions.
9a028c23
MR
19944 (display-buffer-normalize-options): Move special-display-p group
19945 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 19946
6d10d800
CY
199472011-06-18 Chong Yidong <cyd@stupidchicken.com>
19948
6420d28b
CY
19949 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19950 groups (Bug#8776).
19951 (rx-submatch-n): New function.
19952 (rx): Document it.
19953
ddb8b596
CY
19954 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19955 (Bug#8768).
19956
19957 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19958
77080289
CY
19959 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19960
61dfb316
CY
19961 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19962 anytime existing face settings are present (Bug#8889).
19963
6d10d800
CY
19964 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19965 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19966 Remove unused argument.
19967
be3fb2b8
MR
199682011-06-18 Martin Rudalics <rudalics@gmx.at>
19969
bcd70d97
SM
19970 * window.el (display-buffer-default-specifiers):
19971 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
19972 pop-up-window-min-width, and another reuse-window specifier
19973 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
19974 (display-buffer-normalize-specifiers-2):
19975 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
19976 pop-up-windows is unset. Add a reuse-window specifier for the
19977 case popping up a new window fails.
19978 (special-display-popup-frame): Remove double quoting.
28dec25a 19979 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 19980
1c6d8c76
SM
199812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19982
19983 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19984 according to comint-completion-addsuffix.
19985
19986 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19987 (pcomplete-suffix-list): Mark as obsolete.
19988 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19989 pcomplete-seen in the closure.
19990 (pcomplete-comint-setup): Setup completion-at-point as well.
19991 (pcomplete--entries): New function.
19992 (pcomplete--env-regexp): New var.
19993 (pcomplete-entries): Rewrite to work with partial-completion and
19994 without relying on pcomplete-suffix-list.
19995 (pcomplete-pare-list): Remove, unused.
19996
25aef8b8
MR
199972011-06-17 Martin Rudalics <rudalics@gmx.at>
19998
19999 * window.el (display-buffer-alist): Set pop-up-window-min-height
20000 and pop-up-window-min-width in default value. Reported by
20001 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20002 other-window-means-other-frame.
20003 (display-buffer-macro-specifiers): Comment out entry for
20004 other-window specifier.
20005 (display-buffer-other-window-means-other-frame): New function.
20006 (display-buffer-normalize-specifiers-1): New arguments
20007 buffer-name and label. Treat other-window case specially.
20008 (display-buffer-normalize-specifiers-2): Treat other-window case
20009 specially.
20010 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20011 (display-buffer-normalize-specifiers):
20012 Call display-buffer-normalize-specifiers-3.
25aef8b8 20013
dbad4f69
MR
200142011-06-17 Martin Rudalics <rudalics@gmx.at>
20015
20016 * window.el (same-window-p): Fix two typos introduced when
20017 adding with-no-warnings.
d1067961
MR
20018 (display-buffer-normalize-specifiers-1): Don't check
20019 pop-up-frames for 'unset initialization.
20020 (display-buffer-normalize-specifiers-2): Major rewrite using
20021 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20022 (pop-up-frames, display-buffer-reuse-frames)
20023 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20024 Suggested by David Engster <deng@randomsample.de>.
20025 (even-window-heights): Initialize to 'unset.
20026 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20027 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20028 other window case.
dbad4f69 20029
9b9c9e3a
MR
200302011-06-16 Martin Rudalics <rudalics@gmx.at>
20031
bcd70d97
SM
20032 * window.el (display-buffer-normalize-specifiers-1):
20033 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20034 second argument of display-buffer (Bug#8865).
981d5c09
MR
20035 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20036 (switch-to-buffer-other-window-same-frame)
20037 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20038 Adams (Bug#8875).
9c2755e9
MR
20039 (display-buffer): Don't check noninteractive when calling
20040 display-buffer-pop-up-frame.
20041 (display-buffer-pop-up-frame): Never pop up a frame in
20042 noninteractive mode (Bug#8857).
67222e1d
MR
20043 (enlarge-window, shrink-window): Don't report an error when the
20044 window can't be resized as requested (Bug#8862).
9b9c9e3a 20045
2b75be67
SM
200462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20047
9ffdd3ba
SM
20048 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20049
cb581a67
SM
20050 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20051
2b75be67
SM
20052 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20053
8c0e3589
AM
200542011-06-15 Alan Mackenzie <acm@muc.de>
20055
cb581a67
SM
20056 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20057 for declarators, disable knr checking to speed up for normal files.
20058 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20059
b96e6cde
LMI
200602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20061
4bba86e6
LMI
20062 * net/network-stream.el (open-network-stream): Add the keyword
20063 :always-query-capabilities for the case where you want to force a
20064 `plain' network connection, but the protocol still requires the
20065 capabilitiy command (i.e., SMTP and EHLO).
20066
2b75be67 20067 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20068 consistency with other `-live-p' functions.
20069
efdcdbf8
SM
200702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20071
20072 * window.el (same-window-buffer-names, same-window-regexps)
20073 (special-display-frame-alist, special-display-popup-frame)
20074 (special-display-function, special-display-buffer-names)
20075 (special-display-regexps, pop-up-frame-alist)
20076 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20077 (pop-up-windows, split-window-preferred-function)
20078 (split-height-threshold, split-width-threshold, even-window-heights)
20079 (display-buffer-mark-dedicated): Don't encourage the use of
20080 display-buffer-alist from Elisp code.
20081
c5cde042
DN
200822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20083
20084 * progmodes/python.el (python-mode): Derive from prog-mode.
20085 * progmodes/ps-mode.el (ps-mode):
20086 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20087 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20088 * progmodes/ld-script.el (ld-script-mode): Likewise.
20089
baa1c9ab
MR
200902011-06-15 Martin Rudalics <rudalics@gmx.at>
20091
20092 * window.el (display-buffer-alist): Trim default value to avoid
20093 popping up a new frame (Bug#8857) or reusing an arbitrary window
20094 on another frame.
20095 (display-buffer): Do not fall back on popping up a new frame in
20096 batch mode (Bug#8857).
20097
c5dd5a51
CY
200982011-06-14 Chong Yidong <cyd@stupidchicken.com>
20099
20100 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20101 (custom-theme-summary): New function.
20102 (customize-themes): Use it.
20103
d647b7c4
GM
201042011-06-13 Glenn Morris <rgm@gnu.org>
20105
20106 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20107
9481c002
MR
201082011-06-13 Martin Rudalics <rudalics@gmx.at>
20109
357f93d2
MR
20110 * help.el (help-window): Remove variable.
20111 (help-window-point-marker, temp-buffer-max-height)
20112 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20113 (help-print-return-message): Don't set help-window.
20114 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20115 (help-window-setup-finish): Remove.
20116 (help-window-display-message, help-window-setup)
20117 (with-help-window): Major rewrite based on new
20118 display-buffer-window variable.
20119
20120 * help-mode.el (help-mode-finish): Remove help-window related
20121 code.
20122
20123 * view.el (view-exits-all-viewing-windows): Remove reference to
20124 view-return-to-alist in doc-string.
20125 (view-return-to-alist): Make obsolete.
20126 (view-buffer): Call pop-to-buffer-same-window and remove
20127 undo-window code.
20128 (view-buffer-other-window): Call pop-to-buffer-other-window and
20129 simplify code. Ignore second argument.
20130 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20131 simplify code. Ignore second argument.
20132 (view-return-to-alist-update): Make obsolete.
20133 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20134 Rewrite using quit-restore window parameters.
2b75be67
SM
20135 (view-mode-exit): Rename second argument to EXIT-ONLY.
20136 Rewrite using quit-restore-window.
357f93d2
MR
20137 (View-exit, View-exit-and-edit, View-leave, View-quit)
20138 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20139 appropriate arguments.
20140 (view-end-message): Use quit-restore window parameter.
20141
9481c002
MR
20142 * window.el (display-buffer-function): Rewrite doc-string.
20143 (display-buffer-window, display-buffer-alist): New variables.
20144 (display-buffer-split-specifiers)
20145 (display-buffer-side-specifiers)
20146 (display-buffer-macro-specifiers): New constants.
20147 (display-buffer-even-window-sizes, display-buffer-set-height)
20148 (display-buffer-set-width, display-buffer-select-window)
20149 (display-buffer-in-window, display-buffer-reuse-window)
20150 (display-buffer-split-window-1, display-buffer-split-window)
20151 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20152 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20153 (display-buffer-in-side-window, normalize-buffer-to-display)
20154 (display-buffer-normalize-specifiers-1)
20155 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20156 (display-buffer-normalize-specifiers, display-buffer-frame):
20157 New functions.
9481c002
MR
20158 (display-buffer): Major rewrite.
20159 (display-buffer-other-window, display-buffer-other-frame)
20160 (pop-to-buffer, switch-to-buffer-other-window)
20161 (switch-to-buffer-other-frame): Rewrite.
20162 (display-buffer-same-window, display-buffer-same-frame)
20163 (display-buffer-same-frame-other-window)
20164 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20165 (pop-to-buffer-other-window)
20166 (pop-to-buffer-same-frame-other-window)
20167 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20168 (switch-to-buffer-other-window-same-frame): New functions.
20169 (same-window-p, special-display-p): Rewrite disabling warnings.
20170 Make obsolete.
20171 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20172 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20173 Make obsolete
20174 (same-window-buffer-names, same-window-regexps)
20175 (special-display-frame-alist, special-display-popup-frame)
20176 (special-display-function, special-display-buffer-names)
20177 (special-display-regexps, pop-up-frame-alist)
20178 (pop-up-frame-function, split-window-preferred-function)
20179 (split-height-threshold, split-width-threshold)
20180 (even-window-heights): Make obsolete.
20181
9db51aca
GM
201822011-06-12 Glenn Morris <rgm@gnu.org>
20183
20184 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20185 Misc simplifications.
9db51aca 20186
39cffb44
MR
201872011-06-12 Martin Rudalics <rudalics@gmx.at>
20188
20189 * window.el (window-safely-shrinkable-p): Restore function which
20190 was inadvertently removed in change from 2011-06-11. Declare as
20191 obsolete.
20192
2b75be67
SM
20193 * calendar/calendar.el (calendar-generate-window):
20194 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20195 window-safely-shrinkable-p.
20196
a8955be7
GM
201972011-06-12 Glenn Morris <rgm@gnu.org>
20198
20199 * progmodes/fortran.el (fortran-mode-syntax-table):
20200 * progmodes/f90.el (f90-mode-syntax-table):
20201 Set % to punctuation. (Bug#8820)
20202 (f90-find-tag-default): Remove, no longer needed.
20203
f0d4059d
DC
202042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20205
20206 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20207
1100a63c
CY
202082011-06-11 Chong Yidong <cyd@stupidchicken.com>
20209
20210 * image.el (image-animated-p): Return animation delay in seconds.
20211 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20212 (image-animate-timeout): Remove DELAY argument. Don't assume
20213 every subimage has the same delay; get it from image-animated-p.
20214 (image-animate): Caller changed.
20215
def722bf
MA
202162011-06-11 Michael Albinus <michael.albinus@gmx.de>
20217
20218 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20219 to ignored backtrace functions.
20220
0a2bb1a9
GM
202212011-06-11 Glenn Morris <rgm@gnu.org>
20222
20223 * calendar/appt.el (appt-disp-window-function): Doc fix.
20224 (appt-check): Handle overlapping appointments. (Bug#8337)
20225
6198ccd0
MR
202262011-06-11 Martin Rudalics <rudalics@gmx.at>
20227
20228 * window.el (window-tree-1, window-tree): New functions, moving
20229 the latter to window.el.
20230 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20231 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20232 (bw-refresh-edges): Remove.
20233 (balance-windows-1, balance-windows-2): New functions.
20234 (balance-windows): Rewrite in terms of window tree functions,
20235 balance-windows-1 and balance-windows-2.
20236 (bw-adjust-window): Remove.
20237 (balance-windows-area-adjust): New function with functionality of
20238 bw-adjust-window but using resize-window.
2b75be67
SM
20239 (set-window-text-height): Rewrite doc-string.
20240 Use normalize-live-window and resize-window.
20241 (enlarge-window-horizontally, shrink-window-horizontally):
20242 Rename argument to DELTA.
6198ccd0
MR
20243 (window-buffer-height): New function.
20244 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20245 Rewrite using new window resize routines.
2b75be67
SM
20246 (kill-buffer-and-window, mouse-autoselect-window-select):
20247 Use ignore-errors instead of condition-case.
6198ccd0
MR
20248 (quit-window): Call delete-frame instead of delete-windows-on
20249 for the only buffer on frame.
20250
9397e56f
MR
202512011-06-10 Martin Rudalics <rudalics@gmx.at>
20252
20253 * loadup.el (top-level): Load window before files for the sake
20254 of replace-buffer-in-windows.
20255
20256 * files.el (read-buffer-to-switch)
20257 (switch-to-buffer-other-window)
2b75be67
SM
20258 (switch-to-buffer-other-frame, display-buffer-other-frame):
20259 Move to window.el.
9397e56f
MR
20260
20261 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20262 (previous-buffer): Move to window.el.
20263
20264 * bindings.el (unbury-buffer): Move to window.el.
20265
20266 * window.el (delete-other-windows-vertically): Move after
20267 definition of delete-other-windows.
20268 (other-window, delete-windows-on, replace-buffer-in-windows):
20269 Move here from window.c.
20270 (record-window-buffer, unrecord-window-buffer)
20271 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20272 (switch-to-next-buffer): New functions.
20273 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20274 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20275 (previous-buffer): Move here from simple.el.
20276 Call switch-to-prev-buffer.
9397e56f
MR
20277 (bury-buffer): Move here from buffer.c. Switch to previous
20278 buffer when window cannot be deleted.
20279 (unbury-buffer): Move here from bindings.el.
20280 (ctl-x-map): Move binding for other-window from window.c to
20281 here.
20282 (read-buffer-to-switch, switch-to-buffer-other-window)
20283 (switch-to-buffer-other-frame): Move here from files.el.
20284 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20285 (switch-to-buffer): Move here from buffer.c.
20286 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20287
562dd5e9
MR
202882011-06-10 Martin Rudalics <rudalics@gmx.at>
20289
20290 * window.el (window-min-height, window-min-width): Move here
20291 from window.c. Add defcustoms and rewrite doc-strings.
20292 (resize-mini-window, resize-window): New functions.
20293 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20294 Move here from window.c.
20295 (maximize-window, minimize-window): New functions.
20296 (delete-window, delete-other-windows, split-window): Move here
20297 from window.c.
20298 (window-split-min-size): New function.
20299 (split-window-keep-point): Mention split-window-above-each-other
20300 instead of split-window-vertically.
2b75be67 20301 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20302 Rename split-window-vertically to split-window-above-each-other
20303 and provide defalias for old definition.
20304 (split-window-side-by-side, split-window-horizontally):
20305 Rename split-window-horizontally to split-window-side-by-side
20306 and provide defalias for the old definition.
562dd5e9
MR
20307 (ctl-x-map): Move bindings for delete-window,
20308 delete-other-windows and enlarge-window here from window.c.
20309 Replace bindings for split-window-vertically and
20310 split-window-horizontally by bindings for
20311 split-window-above-each-other and split-window-side-by-side.
20312
20313 * cus-start.el (all): Remove entries for window-min-height and
20314 window-min-width. Add entries for window-splits and
20315 window-nest.
20316
f0da764a
GM
203172011-06-09 Glenn Morris <rgm@gnu.org>
20318
80675c21
GM
20319 * calendar/appt.el (appt-mode-line): New function.
20320 (appt-check, appt-disp-window): Use it.
20321
f0da764a
GM
20322 * files.el (hack-one-local-variable-eval-safep):
20323 Allow minor-modes with explicit +/-1 arguments.
20324
59f623b7
TZ
203252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20326
20327 * term/xterm.el (xterm): Add defgroup.
20328 (xterm-extra-capabilities): Add defcustom to supply known xterm
20329 capabilities, skip querying them, or query them (default).
20330 (terminal-init-xterm): Use it.
20331 (terminal-init-xterm-modify-other-keys): New function to set up
20332 modifyOtherKeys support to simplify `terminal-init-xterm'.
20333
9aab8e0d
MR
203342011-06-09 Martin Rudalics <rudalics@gmx.at>
20335
20336 * window.el (resize-window-reset, resize-window-reset-1)
20337 (resize-subwindows-skip-p, resize-subwindows-normal)
20338 (resize-subwindows, resize-other-windows, resize-this-window)
20339 (resize-root-window, resize-root-window-vertically)
20340 (window-deletable-p, window-or-subwindow-p)
20341 (frame-root-window-p): New functions.
20342
e8b08aee
GM
203432011-06-09 Glenn Morris <rgm@gnu.org>
20344
20345 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20346 (ange-ftp-get-files): Use it.
20347
254c37a5
AK
203482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20349
20350 * mail/sendmail.el (mail-recover-1, mail-recover):
20351 * files.el (recover-file, recover-session):
20352 Handle dired-listing-switches not being just a single short option.
20353
35d7dbd3
GM
203542011-06-09 Glenn Morris <rgm@gnu.org>
20355
20356 * calendar/appt.el (appt-display-message, appt-disp-window):
20357 Handle lists of appointments.
20358
387522b2
MR
203592011-06-08 Martin Rudalics <rudalics@gmx.at>
20360
2b75be67
SM
20361 * window.el (one-window-p): Move down in code.
20362 Rewrite doc-string.
20363 (window-current-scroll-bars): Rewrite doc-string.
20364 Normalize live window argument.
387522b2
MR
20365 (walk-windows, get-window-with-predicate, count-windows):
20366 Rewrite doc-string. Use window-list-1.
20367 (window-in-direction-2, window-in-direction, get-mru-window):
20368 New functions.
20369
d8e4b68b 203702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20371
20372 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20373 Doc fix (Bug#8713).
20374
203752011-06-08 Chong Yidong <cyd@stupidchicken.com>
20376
20377 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20378
203792011-06-08 Juanma Barranquero <lekktu@gmail.com>
20380
20381 * loadhist.el (unload-feature-special-hooks):
20382 Add `comint-output-filter-functions'.
20383
0de12c52
IK
203842011-06-08 Ivan Kanis <gnu@kanis.fr>
20385
20386 * calendar/appt.el (appt-check): Move some initializations into the let.
20387
f3d1777e
MR
203882011-06-08 Martin Rudalics <rudalics@gmx.at>
20389
20390 * window.el (window-height): Defalias to window-total-height.
20391 (window-width): Defalias to window-body-width.
20392
18af70d0
CY
203932011-06-07 Chong Yidong <cyd@stupidchicken.com>
20394
20395 * image-mode.el (image-toggle-animation): New command.
20396 (image-mode-map): Bind it to RET.
20397 (image-mode): Update message.
20398 (image-toggle-display-image): Avoid a spurious cache flush.
20399 (image-transform-rotation): Doc fix.
20400 (image-transform-properties): Return quickly in the normal case.
20401 (image-animate-loop): Rename from image-animate-max-time.
20402
2b75be67 20403 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20404 (create-animated-image): Remove unnecessary function.
20405 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20406 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20407 (image-animate-timer): Use car-safe.
20408 (image-animate-timeout): Rename argument.
20409
190b47e6
MR
204102011-06-07 Martin Rudalics <rudalics@gmx.at>
20411
20412 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20413 window.c. Rename first argument to ALL-FRAMES.
20414 Rephrase doc-strings.
20415 (get-buffer-window-list): Rewrite using window-list-1.
20416 Rephrase doc-string.
a1511caf
MR
20417 (window-safe-min-height, window-safe-min-width): New constants.
20418 (window-size-ignore, window-min-size, window-min-size-1)
20419 (window-sizable, window-sizable-p, window-size-fixed-1)
20420 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20421 (window-max-delta-1, window-max-delta, window-resizable)
20422 (window-resizable-p, window-total-height, window-total-width)
20423 (window-body-width): New functions.
20424 (window-full-height-p, window-full-width-p): Rewrite using
20425 window-total-size.
20426 (window-body-height): Rewrite using window-body-size.
190b47e6 20427
85cc1f11
MR
204282011-06-06 Martin Rudalics <rudalics@gmx.at>
20429
20430 * window.el (window-right, window-left, window-child)
20431 (window-child-count, window-last-child, window-any-p)
20432 (normalize-live-buffer, normalize-live-frame)
20433 (normalize-any-window, normalize-live-window)
20434 (window-iso-combination-p, window-iso-combined-p)
20435 (window-iso-combinations)
20436 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20437 (windows-with-parameter, window-with-parameter)
20438 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20439 (window-atom-check, window-side-check, window-check):
20440 New functions.
85cc1f11
MR
20441 (ignore-window-parameters, window-sides, window-sides-vertical)
20442 (window-sides-slots): New variables.
20443 (window-size-fixed): Move down in code. Minor doc-string fix.
20444
e7156492
AS
204452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20446
20447 * comint.el (comint-dynamic-complete-as-filename)
20448 (comint-dynamic-complete-filename): Correctly call
20449 completion-in-region.
20450
7e821d0d
DD
204512011-06-05 Deniz Dogan <deniz@dogan.se>
20452
20453 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20454 in last change.
20455
ac09b8a1
DD
204562011-06-05 Deniz Dogan <deniz@dogan.se>
20457
20458 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20459 (rcirc): Use it to prompt for encryption.
20460
34699b85
RW
204612011-06-05 Roland Winkler <winkler@gnu.org>
20462
20463 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20464 (bibtex-search-entries): New command bound to C-c C-a.
20465 (bibtex-display-entries): New function.
20466
004dedd3
RW
204672011-06-05 Roland Winkler <winkler@gnu.org>
20468
20469 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20470 (bibtex-insert-kill): After yanking insert newline if necessary.
20471 (bibtex-initialize): Call bibtex-string-files-init only once.
20472 (bibtex-mode): Do not call easy-menu-add.
20473 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20474 (bibtex-yank): Set arg properly if nil.
20475
022fe7ce
RW
204762011-06-05 Roland Winkler <winkler@gnu.org>
20477
2b75be67
SM
20478 * textmodes/bibtex.el (bibtex-search-entry-globally):
20479 New variable.
022fe7ce
RW
20480 (bibtex-search-entry): Use it.
20481
b7c3692a
RW
204822011-06-05 Roland Winkler <winkler@gnu.org>
20483
20484 * textmodes/bibtex.el (bibtex-entry-format): New option
20485 sort-fields.
20486 (bibtex-format-entry, bibtex-reformat): Honor this option.
20487 (bibtex-parse-entry): Return fields in proper order.
20488
8eda563d
JB
204892011-06-05 Juanma Barranquero <lekktu@gmail.com>
20490
20491 * doc-view.el (doc-view-remove-if): Move computation of result out
20492 of `dolist' to silence misleading lexical-binding warning.
20493
7dbe3dbc
CY
204942011-06-04 Chong Yidong <cyd@stupidchicken.com>
20495
20496 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20497 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20498
0c33dd17
MA
204992011-06-04 Michael Albinus <michael.albinus@gmx.de>
20500
20501 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20502 "SunOS 5.10".
20503
f8f91c2b
MA
205042011-06-04 Michael Albinus <michael.albinus@gmx.de>
20505
20506 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20507 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20508 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20509 (tramp-parse-putty):
20510 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20511 (tramp-completion-function-alist-ssh)
20512 (tramp-completion-function-alist-telnet)
20513 (tramp-completion-function-alist-su)
20514 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20515 cookie.
20516
20517 * net/tramp-ftp.el:
20518 * net/tramp-sh.el:
20519 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20520 load "tramp.el" `tramp-set-completion-function'.
20521
e17d9003
SM
205222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20523
20524 * shell.el: Require and use pcomplete.
20525 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20526 (shell-completion-vars): Set pcomplete-default-completion-function.
20527
6c4cab03
DD
205282011-06-04 Deniz Dogan <deniz@dogan.se>
20529
20530 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20531 `memq' (Bug#8799).
20532
ea9fafe0
SM
205332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20534
20535 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20536
b3e945d3
JB
205372011-06-02 Juanma Barranquero <lekktu@gmail.com>
20538
20539 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20540 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20541 * vc/log-view.el (log-view-beginning-of-defun):
20542 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20543 (smerge-refine-forward, smerge-refine-chopup-region):
20544 Silence warning for unused `dotimes' counter variables.
20545
7d520089
SM
205462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20547
20548 * net/tramp.el (tramp-with-progress-reporter): Rename from
20549 with-progress-reporter. Use `declare'.
20550 * net/tramp-smb.el:
20551 * net/tramp-sh.el:
20552 * net/tramp-gvfs.el: Update all uses.
20553
a1c2400f
JB
205542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20555
20556 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20557 buffer isn't killed before making it current.
20558
2403c841
SM
205592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20560
20561 Silence various byte-compiler warnings.
20562 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20563 `access-type' and new obsolescence format.
20564 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20565 new format.
20566 (byte-compile-check-variable): New `access-type' argument.
20567 Only warn if the access-type is obsolete.
20568 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20569 (byte-compile-variable-set): Adjust callers.
20570 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20571 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20572 setting it as obsolete.
20573 * simple.el (minibuffer-completing-symbol):
20574 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20575 access as obsolete.
20576 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20577 obsolete yet.
20578 * international/quail.el (quail-mouse-choose-completion): Remove unused
20579 code referring to obsolete var.
20580 (quail-choose-completion-string): Remove.
20581 * server.el (server-clients-with, server-kill-buffer-query-function)
20582 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20583 * proced.el (proced-send-signal):
20584 * emacs-lisp/lisp.el (lisp-complete-symbol):
20585 Replace completion-annotate-function with completion-extra-properties.
20586
2462470b
SM
205872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20588
fb5b2591
SM
20589 * simple.el (goto-line): Use read-number.
20590 (overriding-map-is-bound): Remove.
20591 (saved-overriding-map): Change default.
20592 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20593 Take the map as argument.
20594 (universal-argument, negative-argument, digit-argument): Use it.
20595 (restore-overriding-map): Adjust.
20596 (do-auto-fill): Use fill-forward-paragraph.
20597 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20598
fd6fa53f
SM
20599 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20600 (minibuffer-inactive-mode): New major mode.
20601 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20602 the *Messages* buffer" hack.
20603 (mouse-popup-menubar): Don't burp if the event is a normal key.
20604
2462470b
SM
20605 Miscellaneous tweaks.
20606 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20607 lexical scoping as in subr.el's dolist and dotimes.
20608 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20609 Silence compiler warning.
20610 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20611 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20612 * international/ccl.el (ccl-compile): Trivial simplification.
20613 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20614 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20615 `printflag' argument.
20616 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20617 Purecopy the whole obsolescence data.
20618
108bf785
LL
206192011-06-01 Leo Liu <sdl.web@gmail.com>
20620
20621 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20622 improve doc-string as suggested by Marco Pessotto
20623 <melmothx@gmail.com>.
20624 (rcirc-print): Fix last change.
20625
30a23501
SM
206262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20627
20628 * minibuffer.el (complete-with-action): Return nil for the metadata and
20629 boundaries of non-functional tables.
20630 (completion-table-dynamic): Return nil for the metadata.
20631 (completion-table-with-terminator): Add default case, using
20632 complete-with-action.
20633 (completion--metadata): New function.
20634 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20635 to try and avoid pathological performance problems.
20636 (completion--embedded-envvar-table): Return `category' metadata.
20637
bcd54f83
LMI
206382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20639
20640 * subr.el (process-alive-p): New tiny convenience function.
20641
e227544d
SM
206422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20643
20644 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20645 content but also its previous major mode.
20646
e8296fdc
HE
206472011-05-31 Helmut Eller <eller.helmut@gmail.com>
20648
4d61f28d 20649 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20650 *Backtrace* buffer when we exit with C-M-c.
20651
620c53a6
SM
206522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20653
20654 * minibuffer.el: Add metadata method to completion tables.
20655 (completion-category-overrides): New defcustom.
20656 (completion-metadata, completion--field-metadata)
20657 (completion-metadata-get, completion--styles)
20658 (completion--cycle-threshold): New functions.
20659 (completion-try-completion, completion-all-completions):
20660 Add `metadata' argument to choose completion-styles.
20661 (completion--do-completion): Use metadata to choose cycling.
20662 (completion-all-sorted-completions): Use metadata for sorting.
20663 Remove :completion-cycle-penalty which is not needed any more.
20664 (completion--try-word-completion): Add `metadata' argument.
20665 (minibuffer-completion-help): Check metadata for annotation function
20666 and sorting.
20667 (completion-file-name-table): Return `category' metadata.
20668 (minibuffer-completing-file-name): Make obsolete.
20669 * simple.el (minibuffer-completing-symbol): Make obsolete.
20670 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20671 completion-try-completion.
20672
1257e755
SM
206732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20674
20675 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20676
3767e706
LL
206772011-05-30 Leo Liu <sdl.web@gmail.com>
20678
20679 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20680 (rcirc-print): Decode all incoming messages (bug#8744).
20681 (rcirc-decode-coding-system): Allow value nil for automatic coding
20682 system detection.
3767e706 20683
d1a5d56a
GM
206842011-06-01 Glenn Morris <rgm@gnu.org>
20685
20686 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20687
e8cbec34
CY
206882011-05-29 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * image.el (image-animate-max-time): Allow nil and t values.
20691 Default to nil.
20692 (create-animated-image): Doc fix.
20693 (image-animate-start): Remove second arg; just use
20694 image-animate-max-time.
20695 (image-animate-timeout): Doc fix. Args changed.
20696
20697 * image-mode.el (image-toggle-display-image): Ensure that the
20698 image spec passed to the animate timer is the same object as in
58179cce 20699 the buffer's display property (Bug#6981).
e8cbec34
CY
20700 (image-transform-properties): Doc fix.
20701
20702 * image.el (image-animate-max-time): Default to nil.
20703
159daf87
MR
207042011-05-29 Martin Rudalics <rudalics@gmx.at>
20705
20706 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20707 entire buffer list (Bug#8184).
20708
d66c4c7c
CY
207092011-05-29 Chong Yidong <cyd@stupidchicken.com>
20710
20711 * image.el (imagemagick-types-inhibit)
20712 (imagemagick-register-types): Doc fix.
20713
80aec780
DD
207142011-05-29 Deniz Dogan <deniz@dogan.se>
20715
20716 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20717 default.
20718
1dd3c2d9
CY
207192011-05-29 Chong Yidong <cyd@stupidchicken.com>
20720
20721 * select.el: Don't perform clipboard-manager saving in hooks;
20722 leave the hooks empty.
20723
60e56523
LL
207242011-05-28 Leo Liu <sdl.web@gmail.com>
20725
20726 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20727 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20728 (occur-edit-mode): New major mode (Bug#8463).
20729 (occur-after-change-function): New function.
20730 (occur-engine): Give Occur tags a read-only property.
20731
2b1e1a22
KR
207322011-05-28 Kevin Ryde <user42@zip.com.au>
20733
20734 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20735
5d344e88
CY
207362011-05-28 Chong Yidong <cyd@stupidchicken.com>
20737
8e6ca83d
CY
20738 * bindings.el (help-echo): Make the initial non-indicator dash
20739 empty on graphical terminals (Bug#7295).
20740
5d344e88
CY
20741 * files.el (auto-mode-alist): Move config rule after the
20742 in-stripping one (Bug#8547).
20743
bfbbace7
CY
20744 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20745
fbeba6e2
CY
20746 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20747 setting (Bug#8740).
20748
60ed8c72
AA
207492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20750
4ac619f0
AA
20751 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20752 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20753 (Bug#8539).
60ed8c72 20754
23db196e
CY
207552011-05-28 Chong Yidong <cyd@stupidchicken.com>
20756
20757 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20758
5012f24c
DK
207592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20760
20761 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20762 (hs-hide-block-at-point, hs-find-block-beginning)
20763 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20764 (Bug#8279).
20765
6a639b16
GM
207662011-05-28 Glenn Morris <rgm@gnu.org>
20767
20768 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20769
d43eaf2c
CY
207702011-05-28 Chong Yidong <cyd@stupidchicken.com>
20771
5199bde1
CY
20772 * help-fns.el (describe-function-1): If the function is a derived
20773 major mode, print the parent mode.
20774
d43eaf2c
CY
20775 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20776 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20777
423428a8
SM
207782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20779
0ff8e1ba 20780 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20781 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20782 * progmodes/etags.el (tags-completion-at-point-function):
20783 * info-look.el (info-lookup-completions-at-point): Mark as
20784 non-exclusive.
20785 (info-complete): Adjust accordingly.
20786
423428a8
SM
20787 * info-look.el: Convert to lexical-binding and completion-at-point.
20788 (info-lookup-completions-at-point): New function.
20789 (info-complete): Use it and completion-in-region.
20790
b74aa22b
DA
207912011-05-28 Drew Adams <drew.adams@oracle.com>
20792
20793 * isearch.el: Let M-e start with point at the first mismatched char.
20794 (isearch-fail-pos): New function.
20795 (isearch-edit-string): Use it.
20796
66e2e71d
DK
207972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20798
20799 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20800
b1890b0f 208012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20802
20803 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20804 traversal functions for avl-trees.
20805 (avl-tree--stack): New struct.
20806 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20807 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20808 (avl-tree--do-enter): Add optional `updatefun' arg.
20809 Change return value.
eb95d01d 20810 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20811 (avl-tree--do-delete): Add `test' and `nilflag' args.
20812 Change return value.
eb95d01d
TC
20813 (avl-tree-member): Add optional `nilflag'
20814 (avl-tree-member-p): New function.
20815 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20816 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20817 (avl-tree-stack-empty-p): New functions.
20818
3769ddcf
TC
20819 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20820 avl-tree--del-balance1 and make it work both ways.
20821 (avl-tree--del-balance2): Remove.
20822 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20823 make it work both ways.
20824 (avl-tree--enter-balance2): Remove.
20825 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20826 New macros.
20827 (avl-tree--mapc, avl-tree-map): Add direction argument.
20828
eb95d01d 208292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20830
20831 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20832
a9f737ee
CY
208332011-05-27 Chong Yidong <cyd@stupidchicken.com>
20834
20835 * select.el: Support clipboard managers with built-in function
20836 x-clipboard-manager-save, via delete-frame-functions and
20837 kill-emacs-hook.
20838 (xselect-convert-to-targets): Add MULTIPLE target to list.
20839 (xselect-convert-to-save-targets): New function.
20840
c92a1e54
KH
208412011-05-27 Kenichi Handa <handa@m17n.org>
20842
20843 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20844 let-binding rfc2047-encode-encoded-words to nil.
20845
e145f188
GM
208462011-05-27 Glenn Morris <rgm@gnu.org>
20847
5ec8a862
GM
20848 * mail/emacsbug.el: Don't require url-util.
20849
4b29d9fb
GM
20850 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20851
e145f188
GM
20852 * files.el (set-auto-mode):
20853 Also respect mode: entries at the end of the file. (Bug#8586)
20854
7d15102b
GM
208552011-05-26 Glenn Morris <rgm@gnu.org>
20856
98f593b8
GM
20857 * files.el (hack-local-variables-prop-line, hack-local-variables):
20858 Downcase mode names, as seems to be traditional.
27b48e63 20859 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20860
7d15102b
GM
20861 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20862 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20863
51d5b4ec
JD
208642011-05-25 Julien Danjou <julien@danjou.info>
20865
20866 * textmodes/rst.el (rst-define-level-faces): Do not define face
20867 symbol if it is already defined.
20868
91513f63
VB
208692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20870
20871 * play/5x5.el (5x5-new-game, 5x5-randomize):
20872 Reset 5x5-solver-output to nil when a new grid is cast.
20873 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20874 these debugging traces, as defmacro breaks the compiled code.
20875
4d90d6d0
DK
208762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20877
20878 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20879
e1b90ef6
LL
208802011-05-24 Leo Liu <sdl.web@gmail.com>
20881
20882 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20883 (vc-bzr-sha1): Adapt.
20884
d8e4b68b 20885 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
20886
20887 * bindings.el: Provide sha1 feature.
20888
db0406bb 208892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
20890
20891 * mail/sendmail.el: Require `rfc2047'.
20892 (mail-insert-from-field): Do not perform RFC2047 encoding.
20893 (mail-encode-header): New function.
20894 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
20895 buffer to the return value of select-message-coding-system.
20896 Call mail-encode-header.
b8d747b9
KH
20897
20898 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20899
db0406bb 209002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 20901
4d90d6d0
DK
20902 * mail/supercite.el (sc-default-cite-frame):
20903 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 20904
eb8a5e9b
GM
209052011-05-24 Glenn Morris <rgm@gnu.org>
20906
f8630703
GM
20907 * progmodes/python.el (brm-menu): Declare.
20908
8831bbed
GM
20909 * emulation/viper.el (viper-set-hooks): Declare.
20910
eb8a5e9b
GM
20911 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20912 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20913 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20914 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20915 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20916 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20917
a2a25d24
SM
209182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20919
20920 Add an :exit-function for completion-at-point.
20921
20922 * minibuffer.el (completion--done): New fun.
20923 (completion--do-completion): Use it. New arg `expect-exact'.
20924 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20925 since completion--do-completion does it for us now.
20926 (minibuffer-force-complete): Use completion--done and
20927 completion--replace. Handle sole-completion case with more care.
20928 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20929 (completion-extra-properties): New var.
20930 (completion-annotate-function): Make obsolete.
20931 (minibuffer-completion-help): Adjust accordingly.
20932 Use completion-list-insert-choice-function.
20933 (completion-at-point, completion-help-at-point):
20934 Bind completion-extra-properties.
20935 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20936 * simple.el (completion-list-insert-choice-function): New var.
20937 (completion-setup-function): Preserve it.
20938 (choose-completion): Pay attention to it, shuffle the code a bit.
20939 (choose-completion-string): New arg `insert-function'.
20940
20941 * textmodes/bibtex.el: Convert to lexical binding.
20942 (bibtex-mode-map): Use completion-at-point.
20943 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20944 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20945 (bibtex-complete): Define as obsolete alias.
20946 (bibtex-complete-internal): Remove.
20947 (bibtex-format-entry): Remove unused sub-group in regexp.
20948 * shell.el (shell--command-completion-data)
20949 (shell-environment-variable-completion):
20950 * pcomplete.el (pcomplete-completions-at-point):
20951 * comint.el (comint--complete-file-name-data): Use :exit-function
20952 instead of completion-table-with-terminator so it also works for
20953 choose-completion.
20954
e44e373d
SM
209552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20956
4f91a816
SM
20957 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20958
782fc819
SM
20959 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20960 (bug#8710).
20961
e44e373d
SM
20962 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20963
381987c3
KM
209642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20965
20966 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20967 customization variable and implement: If non-nil, auto-fill will
20968 be inhibited while on topic's header line.
20969
b776bc70
VB
209702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20971
20972 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 20973 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
20974 always have a solution in grid size = 5 cases.
20975 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20976 (5x5-solver-output, 5x5-log-buffer): New vars.
20977 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20978 Make these variables buffer local to achieve 5x5 multi-session-ness.
20979 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20980 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20981 (5x5-solve-suggest): New funs.
20982 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20983 randomize a grid so that we ensure that there is always a solution.
20984 (5x5-make-random-grid): Allow other movement than flipping.
20985
7de88b6e
KR
209862011-05-23 Kevin Ryde <user42@zip.com.au>
20987
20988 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 20989 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
20990 advice and passes PREDICATE.
20991
b1ef1257
SM
209922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20993
bbca48fe
SM
20994 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20995 byte-compile-lambda if it's actually a lambda.
20996
b1ef1257
SM
20997 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20998 Fix function quoting. Use backquote better.
20999
92a9cc65
YS
210002011-05-22 Yuanle Song <sylecn@gmail.com>
21001
21002 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21003 matching (Bug#8516).
21004
f0fb8059
JA
210052011-01-22 Jari Aalto <jari.aalto@cante.net>
21006
21007 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21008 different face (Bug#8178).
21009
d5b44c93
CY
210102011-05-22 Chong Yidong <cyd@stupidchicken.com>
21011
21012 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21013 defface (Bug#8144).
21014
79106a44
SM
210152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21016
9c848d8a
SM
21017 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21018 funcall as well (bug#8712). Warn when performing those conversions.
21019 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21020
79106a44
SM
21021 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21022
88dfa756
GM
210232011-05-22 Glenn Morris <rgm@gnu.org>
21024
21025 * files.el (hack-local-variables-prop-line): Small simplifications.
21026 (hack-local-variables, hack-local-variables-prop-line):
21027 If MODE-ONLY, return the mode, rather than just `t'.
21028
b7cf2c79
SM
210292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21030
21031 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21032
3f1a8558
GM
210332011-05-21 Glenn Morris <rgm@gnu.org>
21034
7e4ccca3
GM
21035 * files.el (hack-local-variables-prop-line, hack-local-variables):
21036 If only interested in the mode, don't bother doing the other stuff.
21037
637d46ca
GM
21038 * image-mode.el (image-after-revert-hook):
21039 Redraw all frames on which the image is visible. (Bug#8567)
21040
973d955b
GM
21041 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21042
3f1a8558
GM
21043 * wid-edit.el (widget-checklist-match-inline):
21044 Fix 2011-04-19 change. (Bug#8649)
21045
96479927
SM
210462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21047
1dcf791f
SM
21048 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21049 Also allow singlespace after single-letter capitals followed by a dot.
21050
96479927
SM
21051 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21052 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21053
35fd0881
N
210542011-05-20 Nix <nix@esperi.org.uk>
21055
21056 * files.el (basic-save-buffer-2):
21057 Fix handling of break-hardlink-on-save with non-existent files.
21058
82745640
DD
210592011-05-19 Deniz Dogan <deniz@dogan.se>
21060
21061 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21062 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21063
4a720484
GM
210642011-05-19 Glenn Morris <rgm@gnu.org>
21065
d1f21341
GM
21066 * progmodes/f90.el (f90-type-def-re):
21067 Handle "type, bind(c)". (Bug#8691)
21068
4a720484
GM
21069 * emacs-lisp/autoload.el (batch-update-autoloads):
21070 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21071
2fb0a219
MA
210722011-05-18 Michael Albinus <michael.albinus@gmx.de>
21073
21074 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21075 property for the correct connection in case of multihops.
21076
e565dd37
GM
210772011-05-18 Glenn Morris <rgm@gnu.org>
21078
c2571358 21079 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21080 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21081
e565dd37
GM
21082 Rationalize calendar handling of day and month abbrev-arrays.
21083 * calendar/calendar.el (calendar-customized-p): New function.
21084 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21085 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21086 Add :set function.
21087 (calendar-abbrev-length, calendar-day-abbrev-array)
21088 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21089 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21090 Elements may no longer be nil.
21091 (calendar-day-name, calendar-month-name):
21092 Update for changed nature of abbrev arrays.
21093 * calendar/diary-lib.el (diary-name-pattern):
21094 Update for changed nature of abbrev arrays.
21095 (diary-mark-entries-1): Update calendar-make-alist calls.
21096 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21097 * calendar/cal-html.el (cal-html-day-abbrev-array):
21098 Simply inherit from calendar-day-abbrev-array.
21099
1d99a745
SM
211002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21101
21102 * progmodes/grep.el (grep-mode): Disable default
21103 compilation-directory-matcher setting (bug#8684).
21104
7c1d9aa0
MA
211052011-05-17 Michael Albinus <michael.albinus@gmx.de>
21106
21107 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21108 instead of "head" and "tail". There were problems with SunOS 5.9,
21109 and it performs better.
21110
3952e9d8
GM
211112011-05-17 Glenn Morris <rgm@gnu.org>
21112
2dd12e7f
GM
21113 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21114
e4157b9c
GM
21115 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21116 Replace obsolete function.
21117
8e249bbd
GM
21118 * shell.el (pcomplete-parse-arguments-function): Declare.
21119
3952e9d8
GM
21120 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21121 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21122 (appt-check): Doc fixes.
21123 (appt-disp-window-function, appt-delete-window-function):
21124 Remove needless special case in custom :type.
21125 (appt-display-count): Default to 0, not nil.
21126 (appt-check): Reset appt-display-count to 0, not nil.
21127
c71a0d48 211282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21129
c71a0d48
GM
21130 * progmodes/python.el (python-font-lock-keywords):
21131 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21132
31d55be9
SM
211332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21134
21135 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21136
3bfacb2f
KR
211372011-05-16 Kevin Ryde <user42@zip.com.au>
21138
21139 * info-look.el (makefile-automake-mode): New setups, looking in
21140 automake manual, then makefile-mode.
21141 (makefile-mode): Remove automake manual, have it just in
21142 makefile-automake-mode since there's various things different or
21143 not relevant to plain make.
21144 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21145 believe a hypothetical automake-mode would go to makefile-mode,
21146 not the other way around.
21147
c8e83751
CY
211482011-05-15 Chong Yidong <cyd@stupidchicken.com>
21149
5e9e35cd
CY
21150 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21151 hunk-end tags (Bug#8672).
21152
c8e83751
CY
21153 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21154 vc-annotate-show-diff-revision-at-line (Bug#8671).
21155
50b23e5a
GM
211562011-05-14 Glenn Morris <rgm@gnu.org>
21157
7210a739
GM
21158 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21159 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21160 (change-log-font-lock-keywords): Also handle multiple author lines
21161 with leading tabs. (Bug#8644)
7210a739 21162
4691905a
GM
21163 * calendar/appt.el (appt-check): Rename some local variables.
21164 Some simplification/reordering.
21165
50b23e5a
GM
21166 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21167 (feedmail-sendmail-f-doesnt-sell-me-out)
21168 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21169 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21170 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21171 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21172 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21173 (feedmail-binmail-gnulinuxish-template):
21174 Rename from feedmail-binmail-linuxish-template.
21175 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21176 Use insert-buffer-substring.
21177
215cda7c
BC
211782011-05-14 Bill Carpenter <bill@carpenter.org>
21179
21180 * mail/feedmail.el (feedmail-patch-level): Increase.
21181 (feedmail-debug): New custom group.
21182 (feedmail-confirm-outgoing-timeout)
21183 (feedmail-sendmail-f-doesnt-sell-me-out)
21184 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21185 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21186 (feedmail-sender-line, feedmail-from-line)
21187 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21188 (feedmail-spray-this-address)
215cda7c
BC
21189 (feedmail-spray-address-fiddle-plex-list)
21190 (feedmail-queue-use-send-time-for-date)
21191 (feedmail-queue-use-send-time-for-message-id)
21192 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21193 (feedmail-buffer-eating-function):
21194 Doc fixes.
21195 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21196 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21197 (feedmail-message-action-scroll-down): New functions.
21198 (feedmail-queue-directory, feedmail-queue-draft-directory):
21199 Use expand-file-name.
21200 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21201 Remove C-v help entry.
21202 (feedmail-queue-buffer-file-name): New variable.
21203 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21204 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21205 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21206 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21207 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21208 (feedmail-message-action-toggle-spray)
21209 (feedmail-run-the-queue-no-prompts)
21210 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21211 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21212 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21213 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21214 (feedmail-envelope-deducer, feedmail-fiddle-from)
21215 (feedmail-fiddle-sender, feedmail-default-date-generator)
21216 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21217 (feedmail-fiddle-spray-address)
21218 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21219 (feedmail-fiddle-list-of-fiddle-plexes)
21220 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21221 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21222 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21223 Change default. Doc fix.
21224 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21225 (feedmail-binmail-linuxish-template): New constant.
21226 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21227 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21228 (feedmail-send-it): Add debug call.
21229 Use feedmail-queue-buffer-file-name, and
21230 feedmail-send-it-immediately-wrapper.
21231 (feedmail-message-action-send): Add debug call.
21232 Use feedmail-send-it-immediately-wrapper.
21233 (feedmail-queue-express-to-queue): Add debug call.
21234 Run feedmail-queue-express-hook.
21235 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21236 (feedmail-message-action-help-blat):
21237 Rename from feedmail-queue-send-edit-prompt-help-first.
21238 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21239 Check line-endings. Handle errors better.
21240 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21241 Doc fix. Add debug call.
21242 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21243 Use feedmail-queue-send-edit-prompt-inner.
21244 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21245 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21246 from feedmail-queue-send-edit-prompt.
21247 (feedmail-queue-send-edit-prompt-help)
21248 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21249 (feedmail-tidy-up-slug): Add debug call.
21250 Respect feedmail-queue-slug-suspect-regexp.
21251 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21252 (feedmail-dump-message-to-queue): Add debug call.
21253 Expand queue-directory.
21254 (feedmail-dump-message-to-queue): Change message slightly.
21255 Use feedmail-say-chatter.
21256 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21257 (feedmail-send-it-immediately-wrapper): New function.
21258 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21259 Insert empty string rather than newline. Handle full-frame case.
21260 Use catch/throw. Use feedmail-say-chatter.
21261 (feedmail-fiddle-from): Try mail-host-address.
21262 (feedmail-default-message-id-generator): Doc fix.
21263 Bind system-time-locale. Handle missing end.
21264 (feedmail-fiddle-x-mailer): Add debug call.
21265 Handle feedmail-x-mailer-line being nil.
21266 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21267 Add debug call. Use buffer-substring-no-properties.
21268 (feedmail-say-debug, feedmail-say-chatter): New functions.
21269 (feedmail-find-eoh): Give an explicit error.
21270
42c7e61e
UJ
212712011-05-13 Ulf Jasper <ulf.jasper@web.de>
21272
c2571358 21273 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21274 family from helvetica to sans.
c2571358 21275 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21276 etc/images/newsticker.
21277
c2571358 21278 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21279 family from helvetica to sans.
21280
21281 * net/newst-plainview.el (newsticker-new-item-face)
21282 (newsticker-old-item-face, newsticker-immortal-item-face)
21283 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21284 (newsticker-statistics-face): Change default family from
42c7e61e 21285 helvetica to sans.
c2571358 21286 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21287 etc/images/newsticker.
21288
5d3385a0
JB
21289 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21290 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21291 auto-marking.
21292
8497a297
DV
212932011-05-13 Didier Verna <didier@xemacs.org>
21294
21295 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21296 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21297 TODO entries.
8497a297
DV
21298 (lisp-lambda-list-keyword-parameter-indentation)
21299 (lisp-lambda-list-keyword-parameter-alignment)
21300 (lisp-lambda-list-keyword-alignment): New customizable user options.
21301 (lisp-indent-defun-method): Improve docstring.
21302 (extended-loop-p): Fix comment.
21303 (lisp-indent-lambda-list-keywords-regexp): New variable.
21304 (lisp-indent-lambda-list): New function.
21305 (lisp-indent-259): Use it.
21306 (lisp-indent-defmethod): Support for more than one
21307 method qualifier and properly indent methods lambda-lists.
21308 (defgeneric): Provide a missing common-lisp-indent-function property.
21309
f278f87f
SM
213102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21311
21312 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21313 bounds for the empty string (bug#8667).
21314
5233edd7
GM
213152011-05-13 Glenn Morris <rgm@gnu.org>
21316
5237a44f
GM
21317 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21318
8340026c 21319 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21320 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21321
5233edd7 21322 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21323 (appt-time-msg-list): Doc fix.
a5464014 21324 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21325
92d10796
AS
213262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21327
21328 * progmodes/ld-script.el (ld-script-keywords)
21329 (ld-script-builtins): Update keywords list.
21330
914a0ae1
SM
213312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21332
c89be45f
SM
21333 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21334
914a0ae1
SM
21335 * shell.el (shell-completion-vars): New function.
21336 (shell-mode):
21337 * simple.el (read-shell-command): Use it.
21338 (blink-matching-open): No need for " [...]" in minibuffer-message.
21339
98dc3df3
GM
213402011-05-12 Glenn Morris <rgm@gnu.org>
21341
21342 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21343 (appt-check): Simplify.
21344
d2fc7e3d 213452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21346
4d61f28d 21347 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21348 literal "/dev/null".
21349
d2fc7e3d 213502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21351
21352 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21353 Fix typo.
21354
d2fc7e3d 213552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21356
3f254caa
SM
21357 * progmodes/which-func.el (which-function):
21358 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21359 which might not be defined (Bug#8260).
21360
d45885f7
GM
213612011-05-12 Glenn Morris <rgm@gnu.org>
21362
21363 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21364 Let byte-compile-initial-macro-environment always take precedence.
21365
488086f4
SM
213662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21367
21368 * net/rcirc.el: Add support for SSL/TLS connections.
21369 (rcirc-server-alist): New field `encryption'.
21370 (rcirc): Check `encryption' settings.
21371 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21372 Merge make-local-variable into `set'.
21373 (rcirc--connection-open-p): New function.
21374 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21375 the process is not a network process (e.g. running gnutls-cli).
21376 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21377 Make rcirc-(en|de)code-coding-system local here.
21378 (rcirc-mode): Merge make-local-variable into `set'.
21379 (rcirc-parent-buffer): Make permanent buffer-local.
21380 (rcirc-multiline-minor-mode): Don't do it here.
21381 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21382 there's no server buffer.
21383
7d3b9d44
GM
213842011-05-11 Glenn Morris <rgm@gnu.org>
21385
f64049c6
GM
21386 * newcomment.el (comment-kill): Prefix "unused" local.
21387
93c9df73
GM
21388 * term/w32console.el (get-screen-color): Declare.
21389
7d3b9d44
GM
21390 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21391 Handle symbol elements of byte-compile-initial-macro-environment.
21392
9e2dd53f
LL
213932011-05-10 Leo Liu <sdl.web@gmail.com>
21394
488086f4
SM
21395 * bookmark.el (bookmark-bmenu-mode-map):
21396 Bind bookmark-bmenu-search to `/'.
8b340240 21397
9e2dd53f 21398 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21399 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21400 (Footnote-unicode): New function.
21401 (footnote-style-alist): Add unicode style to the list.
21402 (footnote-style): Doc fix.
9e2dd53f 21403
79b70037
GM
214042011-05-10 Jim Meyering <meyering@redhat.com>
21405
21406 Fix doubled-word typos.
21407 * international/quail.el (quail-insert-kbd-layout): and and -> and
21408 * kermit.el: and and -> and
21409 * net/ldap.el (ldap-search-internal): to to -> to
21410 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21411 * progmodes/js.el (js-mode): and and -> and
21412 * textmodes/artist.el (artist-move-to-xy): at at -> at
21413 (artist-draw-region-trim-line-endings): if if -> if
21414 And Safetyc -> Safety.
21415 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21416
b8f82dc1 214172011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21418 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21419
21420 * files.el (hack-one-local-variable-eval-safep):
21421 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21422
4f99f44b
GM
214232011-05-10 Glenn Morris <rgm@gnu.org>
21424
21425 * calendar/diary-lib.el (diary-list-entries-hook)
21426 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21427 (diary-nongregorian-marking-hook, diary-list-entries)
21428 (diary-include-other-diary-files, diary-mark-entries)
21429 (diary-mark-included-diary-files): Doc fixes.
21430
84f29e6b
JB
214312011-05-09 Juanma Barranquero <lekktu@gmail.com>
21432
21433 * misc.el: Require tabulated-list.el during compilation.
21434
9bedd73a
CY
214352011-05-09 Chong Yidong <cyd@stupidchicken.com>
21436
488086f4
SM
21437 * progmodes/compile.el (compilation-start):
21438 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21439 (compilation-filter-hook): Doc fix.
21440
797c735c
DD
214412011-05-09 Deniz Dogan <deniz@dogan.se>
21442
21443 * wdired.el: Remove outdated installation comment. Fix usage
21444 comment.
21445
5f4b1dfe
JB
214462011-05-09 Juanma Barranquero <lekktu@gmail.com>
21447
21448 * misc.el: Implement new command `list-dynamic-libraries'.
21449 (list-dynamic-libraries--loaded-only-p): New variable.
21450 (list-dynamic-libraries--refresh): New function.
21451 (list-dynamic-libraries): New command.
21452
4c44026c
CY
214532011-05-09 Chong Yidong <cyd@stupidchicken.com>
21454
488086f4
SM
21455 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21456 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21457 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21458 higher priority to avoid clobbering by gnu.
21459
027f966d
CY
214602011-05-08 Chong Yidong <cyd@stupidchicken.com>
21461
21462 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21463 if the face has existing theme settings (Bug#8454).
21464
085f5d7d
CY
214652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21466
488086f4
SM
21467 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21468 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21469
2a86a00c
RS
21470 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21471 special file names `.' and `..' (Bug#8259).
21472
d9c54a06
CY
214732011-05-08 Chong Yidong <cyd@stupidchicken.com>
21474
488086f4
SM
21475 * progmodes/grep.el (grep-mode-font-lock-keywords):
21476 Remove buffer-changing entries.
d9c54a06
CY
21477 (grep-filter): New function.
21478 (grep-mode): Add it to compilation-filter-hook.
21479
21480 * progmodes/compile.el (compilation-filter-hook)
21481 (compilation-filter-start): New defvars.
21482 (compilation-filter): Call compilation-filter-hook prior to
21483 updating the process mark.
21484
c4662635
SM
214852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21486
21487 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21488
b0512a1d
EZ
214892011-05-07 Eli Zaretskii <eliz@gnu.org>
21490
605c9376
EZ
21491 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21492 mailclient-send-it even if window-system is nil. (Bug#8595)
21493
c4662635
SM
21494 * term/w32console.el (terminal-init-w32console):
21495 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21496 background-mode. (Bug#8597)
21497
d1dc2cc2
SM
214982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21499
21500 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21501 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21502 New functions.
21503 (defgeneric, eieio--defmethod): Use them.
21504 (eieio-defgeneric): Remove.
21505 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21506
915d1300
GM
215072011-05-07 Glenn Morris <rgm@gnu.org>
21508
a3961c3e
GM
21509 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21510 Use let rather than let*.
21511 (timeclock-find-discrep): Remove unused local.
21512
314347b9
GM
21513 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21514
915d1300
GM
21515 * calendar/appt.el (appt-time-msg-list): Doc fix.
21516
275b59b0
NF
215172011-05-06 Noah Friedman <friedman@splode.com>
21518
21519 * apropos.el (apropos-print-doc): Only use
21520 emacs-lisp-docstring-fill-column when it is bound to an integer,
21521 per that variable's documentation.
21522
6c19f744
SM
215232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21524
21525 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21526 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21527
60f884b2
GM
215282011-05-06 Glenn Morris <rgm@gnu.org>
21529
5006e634
GM
21530 * calendar/appt.el (appt-message-warning-time): Doc fix.
21531 (appt-warning-time-regexp): New option.
21532 (appt-make-list): Respect appt-message-warning-time.
21533
548d0a63
GM
21534 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21535 New options.
21536 (diary-add-to-list): Strip comments from the displayed string.
21537 (diary-mode): Set comment-start and comment-end.
21538
60f884b2
GM
21539 * vc/diff-mode.el (smerge-refine-subst): Declare.
21540 (diff-refine-hunk): Don't require smerge-mode when compiling.
21541
989681bb
JB
215422011-05-06 Juanma Barranquero <lekktu@gmail.com>
21543
21544 * simple.el (list-processes): Return nil as the docstring says.
21545
a6bc05e1
MA
215462011-05-05 Michael Albinus <michael.albinus@gmx.de>
21547
21548 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21549 to "".
21550 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21551 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21552 determining of binary transfer. (Bug#7383)
21553
23c22e9a
MA
215542011-05-05 Michael Albinus <michael.albinus@gmx.de>
21555
c4662635
SM
21556 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21557 Fix port computation bug. (Bug#8618)
23c22e9a 21558
0bff894f
GM
215592011-05-05 Glenn Morris <rgm@gnu.org>
21560
b8296902
GM
21561 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21562
1f522ce8
GM
21563 * simple.el (shell-dynamic-complete-functions)
21564 (comint-dynamic-complete-functions): Declare.
21565
cf5bee67
GM
21566 * net/network-stream.el (gnutls-negotiate):
21567 * simple.el (tabulated-list-print): Fix declarations.
21568
21569 * progmodes/gud.el (syntax-symbol, syntax-point):
21570 Remove unnecessary and incorrect declarations.
21571
0bff894f 21572 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21573 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21574
9869b3ae
SM
215752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21576
21577 Fix earlier half-done eieio-defmethod change (bug#8338).
21578 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21579 Streamline and change calling convention.
21580 (defmethod): Adjust accordingly and simplify.
21581 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21582 new eieio--defmethod.
21583 (slot-boundp): Minor CSE simplification.
21584
9c1d5ac5
MZ
215852011-05-05 Milan Zamazal <pdm@zamazal.org>
21586
21587 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21588 (glasses-make-readable): Use glasses-separate-capital-groups.
21589
455c834e
JB
215902011-05-05 Juanma Barranquero <lekktu@gmail.com>
21591
21592 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21593 (warning-series): Doc fix.
21594 (display-warning): Don't try to create the buffer if we just found it.
21595
9ed7c8cb
CY
215962011-05-04 Chong Yidong <cyd@stupidchicken.com>
21597
21598 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21599 (autoload-find-generated-file): New function.
21600 (generate-file-autoloads): Bind generated-autoload-file to
21601 buffer-file-name.
9869b3ae
SM
21602 (update-file-autoloads, update-directory-autoloads):
21603 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21604 output file (Bug#7989).
21605 (batch-update-autoloads): Doc fix.
21606
0898ca10
JB
216072011-05-04 Juanma Barranquero <lekktu@gmail.com>
21608
21609 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21610
31dfb76c
GM
216112011-05-04 Glenn Morris <rgm@gnu.org>
21612
f330b642
GM
21613 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21614 function, so it follows changes in calendar-date-style.
21615 (diary-fancy-date-matcher): New function.
21616 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21617 (diary-fancy-font-lock-fontify-region-function):
21618 Use diary-fancy-date-pattern as a function.
21619
31dfb76c
GM
21620 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21621 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21622
48e79d6a
TZ
216232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21624
21625 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21626 instead of positional arguments. Allow :keylist and :crlfiles
21627 arguments.
21628 (open-gnutls-stream): Call it.
21629
21630 * net/network-stream.el (network-stream-open-starttls): Adjust to
21631 call `gnutls-negotiate' with :process and :hostname arguments.
21632
dd5a5ee0
SM
216332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21634
ef80fc09
SM
21635 * minibuffer.el (completion--message): New function.
21636 (completion--do-completion, minibuffer-complete)
21637 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21638 (completion--do-completion): Don't ignore completion-auto-help when in
21639 icomplete-mode.
21640
dd5a5ee0
SM
21641 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21642 internal encoding (e.g. tibetan zero is not whitespace).
21643 (global-whitespace-mode): Prefer save-current-buffer.
21644 (whitespace-trailing-regexp): Remove useless save-match-data.
21645 (whitespace-empty-at-bob-regexp): Minor simplification.
21646
b7d22a83
CY
216472011-05-03 Chong Yidong <cyd@stupidchicken.com>
21648
21649 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21650
5192af46
AM
216512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21652
21653 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21654 Use `concat' to create string for insertion.
5192af46 21655
5767d190
SM
216562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21657
21658 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21659 Avoid open-line which runs post-self-insert-hook.
21660 (bibtex-fill-entry): Remove unused `end' var.
21661
bf242939
AM
216622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21663
5767d190
SM
21664 * textmodes/ispell.el (ispell-add-per-file-word-list):
21665 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21666
25666126
LL
216672011-05-03 Leo Liu <sdl.web@gmail.com>
21668
21669 * isearch.el (isearch-yank-pop): New command.
5767d190 21670 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21671 (isearch-forward): Mention it.
21672
52d3c2d0
SM
216732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21674
1bcace58
SM
21675 * simple.el (minibuffer-complete-shell-command): Remove.
21676 (minibuffer-local-shell-command-map): Use completion-at-point.
21677 (read-shell-command): Setup completion vars here instead.
21678 (read-expression-map): Bind TAB to symbol completion.
21679
52d3c2d0
SM
21680 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21681 error directly rather via storing it into `results'.
21682
35813471
LL
216832011-05-02 Leo Liu <sdl.web@gmail.com>
21684
21685 * vc/diff.el: Fix description.
21686
e793a940
LMI
216872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * server.el (server-eval-at): New function.
21690
8de66e05
LMI
216912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21692
21693 * net/network-stream.el (open-network-stream): Take a :nowait
21694 parameter and pass it on to `make-network-process'.
21695 (network-stream-open-plain): Ditto.
21696
dcb79f20
AS
216972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 * faces.el (face-spec-set-match-display): Don't match toolkit
21700 options on terminal frames.
21701
14a7fbd8
SM
217022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21703
7eabc1be
SM
21704 * progmodes/pascal.el: Use lexical binding.
21705 (pascal-mode-map): Remove author preferences.
21706
14a7fbd8
SM
21707 * pcomplete.el (pcomplete-std-complete): Don't abuse
21708 completion-at-point.
21709
50f84510
JB
217102011-04-28 Juanma Barranquero <lekktu@gmail.com>
21711
6e087a44
JB
21712 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21713 removing code that has been dead since 1991 or so.
21714
50f84510
JB
21715 * startup.el (command-line): When warning about "_emacs", use a
21716 delayed warning to allow the user to filter it out.
21717
0ba690bd
DD
217182011-04-28 Deniz Dogan <deniz@dogan.se>
21719
21720 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21721 user has not joined.
21722
08abfaad
SM
217232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21724
21725 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21726 aren't any completions at point.
21727
638f053a
JB
217282011-04-28 Juanma Barranquero <lekktu@gmail.com>
21729
21730 * subr.el (display-delayed-warnings): New function.
21731 (delayed-warnings-hook): New variable.
21732
8fff8daa
SM
217332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21734
08abfaad
SM
21735 * minibuffer.el (completion-at-point, completion-help-at-point):
21736 Don't presume that a given completion-at-point-function will always
21737 use the same calling convention.
21738
8fff8daa
SM
21739 * pcomplete.el (pcomplete-completions-at-point):
21740 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21741 pcomplete-seen is non-nil.
21742 (pcomplete-comint-setup): Also recognize the new comint/shell
21743 completion functions.
21744 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21745 pcomplete-seen is non-nil.
21746
841a1577 217472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21748
841a1577 21749 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21750 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21751 the first character in the entry. This allows for code to add its
211ec907
UJ
21752 own uid to the entry.
21753 (icalendar--convert-float-to-ical): Add export of
21754 `diary-float'-entries save for those with the optional DAY
21755 argument.
21756
2a782793
DC
217572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21758
21759 * subr.el (shell-quote-argument): Use alternate escaping strategy
21760 when we spot a variable reference in a string.
21761
0438ce91
DC
217622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21763
21764 * cus-start.el (all): Define customization for debug-on-event.
21765
841a1577 217662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21767
21768 * subr.el (shell-quote-argument): Escape correctly under Windows.
21769
d090ed6c
SM
217702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21771
21772 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21773
bfd31217
MA
217742011-04-25 Michael Albinus <michael.albinus@gmx.de>
21775
d090ed6c
SM
21776 * net/tramp.el (tramp-process-actions): Add POS argument.
21777 Delete region between POS and (pos).
bfd31217 21778
d090ed6c
SM
21779 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21780 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21781 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21782
21783 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21784 position in `tramp-process-actions' call.
21785
21786 * net/trampver.el: Update release number.
21787
e92f3bd3
SM
217882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21789
850256b5
SM
21790 * custom.el (defcustom): Obey lexical-binding.
21791
e92f3bd3
SM
21792 Fix octave-inf completion problems reported by Alexander Klimov.
21793 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21794 Inherit from octave-mode-syntax-table.
21795 (inferior-octave-mode): Set info-lookup-mode.
21796 (inferior-octave-completion-at-point): New function.
21797 (inferior-octave-complete): Use it and completion-in-region.
21798 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21799 comint-filename-completion.
21800 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21801 symbol elements which shouldn't be word elements.
21802 (octave-font-lock-keywords, octave-beginning-of-defun)
21803 (octave-function-header-regexp): Adjust regexps accordingly.
21804 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21805
cd22b309
JB
218062011-04-25 Juanma Barranquero <lekktu@gmail.com>
21807
21808 * net/gnutls.el (gnutls-errorp): Declare before first use.
21809
8b492194
TZ
218102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21811
21812 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21813 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21814 default trustfile exists before going to use it. Add missing
5a5fa834 21815 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21816 Reported by Claudio Bley <claudio.bley@gmail.com>.
21817 (open-gnutls-stream): Add usage example.
21818
21819 * net/network-stream.el (network-stream-open-starttls): Give host
21820 parameter to `gnutls-negotiate'.
21821 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21822 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21823
841a1577 218242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21825
cd22b309
JB
21826 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21827 Use correct match group (bug#8438).
05842630 21828
3ba7869c
CY
218292011-04-24 Chong Yidong <cyd@stupidchicken.com>
21830
512e3ae1
CY
21831 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21832 (package-menu--generate): New arg specifying packages to show.
21833 (package-menu-refresh, package-menu-execute, list-packages):
21834 Callers changed.
21835 (package-show-package-list): New function, replacing deleted
21836 package--list-packages (renamed because it is non-internal).
21837
21838 * finder.el (finder-list-matches): Use package-show-package-list
21839 instead of deleted package--list-packages.
21840
e92f3bd3
SM
21841 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21842 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21843 (vc-annotate-mode-map): Bind it to RET.
21844
7031be6d
UR
218452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21846
21847 * progmodes/etags.el (next-file): Don't use set-buffer to change
21848 buffers (Bug#8478).
21849
4ef177aa
CY
218502011-04-24 Chong Yidong <cyd@stupidchicken.com>
21851
c8d173eb
CY
21852 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21853
4ef177aa
CY
21854 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21855 (apropos-accumulator): Doc fix.
21856 (apropos-function, apropos-macro, apropos-command)
21857 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21858 (apropos-plist): Add face property.
21859 (apropos-symbols-internal): Fix indentation.
21860 (apropos-print): Simplify help, and recognize apropos-multi-type.
21861 (apropos-print-doc): Use button-type-get to extract the button's
21862 face property. Fill docstring (Bug#8352).
21863
4ffd0d6b 218642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
21865
21866 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21867
c6c32125 21868 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 21869 (mpuz-mode-map): Use mapc.
c6c32125
JB
21870 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21871 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21872 Fix typos in docstrings.
21873
58d468b4
JB
21874 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21875 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21876
6470c3c6
JB
21877 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21878
4ffd0d6b 218792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
21880
21881 * minibuffer.el (completion--do-completion): Avoid the "Next char
21882 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21883
3ad8bad0
CY
21884 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21885 mouse-2 into unread-command-events, it is interpreted correctly.
21886
71d73c9c 21887 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 21888 (image-toggle-display): Doc fix.
71d73c9c 21889
841a1577 218902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 21891
4ffd0d6b
GM
21892 * textmodes/page.el (what-page): Use line-number-at-pos to
21893 calculate line number (Bug#6825).
6e1dbaa9 21894
c2fb1b60
JB
218952011-04-22 Juanma Barranquero <lekktu@gmail.com>
21896
21897 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21898 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21899 Pass argument NO-DEFAULT to `find-tag-interactive'.
21900
e02f48d7
JB
219012011-04-22 Juanma Barranquero <lekktu@gmail.com>
21902
21903 Lexical-binding cleanup.
21904
21905 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21906 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21907 * progmodes/ada-prj.el (ada-prj-initialize-values)
21908 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21909 (ada-prj-show-value):
21910 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21911 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21912 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21913 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21914 * progmodes/bug-reference.el (bug-reference-push-button):
21915 * progmodes/fortran.el (fortran-line-length):
21916 * progmodes/glasses.el (glasses-change):
21917 * progmodes/octave-mod.el (octave-fill-paragraph):
21918 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21919 (python-pdbtrack-grub-for-buffer, python-sentinel):
21920 * progmodes/sql.el (sql-save-connection):
21921 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21922 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21923 Mark unused parameters.
21924
21925 * progmodes/compile.el (compilation--flush-directory-cache)
21926 (compilation--flush-parse, compile-internal): Mark unused parameters.
21927 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21928 (compilation-next-error-function): Remove unused variable `timestamp'.
21929
21930 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21931 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21932
21933 * progmodes/dcl-mode.el (dcl-end-of-command):
21934 Remove unused variable `start'.
21935 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21936 (dcl-option-value-basic, dcl-option-value-offset)
21937 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21938 Mark unused parameters.
21939 (dcl-save-local-variable): Remove unused variable `val'.
21940 (mode): Declare.
21941
21942 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21943 Mark unused parameters.
21944 (delphi-ignore-changes): Move before first use.
21945 (delphi-charset-token-at): Remove unused variable `start'.
21946 (delphi-else-start): Remove unused variable `if-count'.
21947 (delphi-comment-block-start, delphi-comment-block-end):
21948 Remove unused variable `kind'.
21949 (delphi-indent-line): Remove unused variable `new-point'.
21950
21951 * progmodes/ebrowse.el (ebrowse-files-list)
21952 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21953 Mark unused parameters. Don't quote `lambda'.
21954 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21955 Don't quote `lambda'.
21956 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21957 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21958 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21959 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21960 Use `ignore-errors'.
21961 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21962 (ebrowse-view/find-file-and-search-pattern)
21963 (ebrowse-view/find-member-declaration/definition):
21964 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21965 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21966 Rename parameter PREFIX-ARG to PREFIX.
21967 (ebrowse-tags-read-name): Remove unused variables `start' and
21968 `member-info'.
21969 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21970 to `tags-file'.
21971
21972 * progmodes/etags.el (local-find-tag-hook): Declare.
21973 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21974 Mark unused parameters.
21975
21976 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21977 (executable-interpret): Mark unused parameter.
21978
21979 * progmodes/flymake.el (flymake-process-sentinel)
21980 (flymake-after-change-function)
21981 (flymake-create-temp-with-folder-structure)
21982 (flymake-get-include-dirs-dot): Mark unused parameters.
21983 (flymake-safe-delete-directory): Remove unused variable `err'.
21984
21985 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21986 (speedbar-timer-fn, speedbar-line-text)
21987 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21988 (speedbar-center-buffer-smartly): Declare functions.
21989 (gdb-find-watch-expression): Remove unused variable `array'.
21990 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21991 (gdb-starting): Mark unused parameters.
21992 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21993 (gdb-table-string): Remove unused variable `res'.
21994 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21995 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21996 (gdb-display-buffer): Remove unused variable `cur-size'.
21997
21998 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21999 allow lexical-binding compilation.
22000 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22001 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22002 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22003 Mark unused parameters.
22004 (gud-gdb-marker-filter): Remove unused variable `match'.
22005 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22006 lambda expressions and funcall them, instead of using `fset'.
22007
22008 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22009 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22010
22011 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22012 variable `header-beg'; use `let'.
22013
22014 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22015 `restart', `last-sexp' and `at-do'.
22016
22017 * progmodes/js.el (js--debug): Mark unused parameter.
22018 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22019 (js--splice-into-items): Remove unused variable `item'.
22020 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22021
22022 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22023 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22024 (makefile-complete): Remove unused variable `try'.
22025 (makefile-fill-paragraph, makefile-match-function-end):
22026 Mark unused parameters.
22027
22028 * progmodes/octave-inf.el (inferior-octave-complete):
22029 Remove unused variable `proc'.
22030 (inferior-octave-output-digest): Mark unused parameter.
22031
22032 * progmodes/perl-mode.el (perl-calculate-indent):
22033 Remove unused variable `err'.
22034
22035 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22036 (prolog-indent-line): Mark unused parameters.
22037 (prolog-indent-line): Remove unused variable `beg'.
22038
22039 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22040 (reporter-dont-compact-list): Declare.
22041
22042 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22043 Remove unused variable `char'.
22044 (sh-debug): Mark unused parameter.
22045 (sh-get-indent-info): Remove unused variable `start'.
22046 (sh-calculate-indent): Remove unused variable `var'.
22047
22048 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22049 (simula-electric-keyword): Remove unused variable `null'.
22050 (simula-search-backward, simula-search-forward): Remove unused
22051 variables `begin' and `end'.
22052
22053 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22054 Remove unused variable `pos'.
22055 (vera-electric-tab, vera-comment-uncomment-region):
22056 Mark unused parameters.
22057 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22058
7ede3b65
CY
220592011-04-22 Chong Yidong <cyd@stupidchicken.com>
22060
22061 * emacs-lisp/package.el (package--builtins, package-alist)
22062 (package-load-descriptor, package-built-in-p, package-activate)
22063 (define-package, package-installed-p)
22064 (package-compute-transaction, package-buffer-info)
22065 (package--push): Doc fix. Distinguish more clearly between
22066 version strings and version lists.
22067
121656e9
JB
220682011-04-21 Juanma Barranquero <lekktu@gmail.com>
22069
22070 Lexical-binding cleanup.
22071
22072 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22073 (5x5-make-mutate-best):
22074 * play/fortune.el (fortune-in-buffer):
22075 * play/gomoku.el (gomoku-init-display):
22076 * play/solitaire.el (solitaire, solitaire-do-check):
22077 * play/tetris.el (tetris-default-update-speed-function):
22078 Mark unused parameters.
22079
22080 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22081 (bubbles--shift): Remove unused variable `char-org'.
22082 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22083 (bubbles--show-images): Remove unused variable `char'.
22084
22085 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22086 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22087 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22088 (decipher-analyze-buffer): Use ?\s.
22089 (decipher-make-checkpoint): Remove unused variable `mapping'.
22090
22091 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22092
22093 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22094 Remove unused variable `result'; use `let'.
22095
22096 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22097 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22098 (gametree-children-shown-p, gametree-compute-reduced-score):
22099 Use `ignore-errors'.
22100
22101 * play/handwrite.el (ps-lpr-switches): Declare.
22102 (handwrite): Remove unused variables `pmin' and `lastp'.
22103
22104 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22105
22106 * play/landmark.el (landmark-init-display)
22107 (landmark-update-naught-weights): Mark unused parameters.
22108 (landmark-y): Remove unused variable `noise'. Simplify.
22109 (landmark-human-plays): Remove unused variable `score'.
22110
22111 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22112 (mpuz-try-proposal): Remove unused variable `game'.
22113
22114 * play/zone.el (life-patterns): Declare.
22115
80f499c7
JB
221162011-04-20 Juanma Barranquero <lekktu@gmail.com>
22117
22118 * vc/vc.el (ediff-vc-internal): Declare function.
22119
024ff170
SM
221202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22121
c0a193ea
SM
22122 * shell.el: Use lexical-binding and std completion UI.
22123 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22124 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22125 comint-preoutput-filter-functions rather than on
22126 comint-output-filter-functions.
22127 (shell-command-completion, shell--command-completion-data)
22128 (shell-filename-completion, shell-environment-variable-completion)
22129 (shell-c-a-p-replace-by-expanded-directory): New functions.
22130 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22131 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22132 (shell-dynamic-complete-environment-variable): Use them.
22133 (shell-dynamic-complete-as-environment-variable)
22134 (shell-dynamic-complete-as-command): Remove.
22135 (shell-match-partial-variable): Match past point.
22136 * comint.el: Clean up use of completion-at-point-functions.
22137 (comint-completion-at-point): New function.
22138 (comint-mode): Use it completion-at-point-functions.
22139 (comint-dynamic-complete): Make it obsolete.
22140 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22141 (comint-c-a-p-replace-by-expanded-history): New function.
22142 (comint-dynamic-complete-functions)
22143 (comint-replace-by-expanded-history): Use it.
22144 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22145 termination strings. Try harder to avoid second try-completion.
22146 (completion-in-region-mode-map): Disable bindings that don't work yet.
22147
2dbaa080
SM
22148 * comint.el: Use lexical-binding. Require CL.
22149 (comint-dynamic-complete-functions): Use comint-filename-completion.
22150 (comint-completion-addsuffix): Tweak custom type.
22151 (comint-filename-completion, comint--common-suffix)
22152 (comint--common-quoted-suffix, comint--table-subvert)
22153 (comint--complete-file-name-data): New functions.
22154 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22155 (comint-dynamic-list-filename-completions): Use them.
22156 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22157
2dbaa080
SM
22158 * minibuffer.el (completion-in-region-mode):
22159 Keep completion-in-region-mode--predicate global.
22160 (completion-in-region--postch):
22161 Assume completion-in-region-mode--predicate is not null.
22162
c79a6f38
SM
22163 * progmodes/flymake.el (flymake-start-syntax-check-process):
22164 Obey `dir'. Simplify.
22165
024ff170
SM
22166 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22167 we're in VC after all.
22168
1c6c854e
CS
221692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22170
22171 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22172 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22173 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22174
bed7f140
SM
221752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22176
332e62ab
SM
22177 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22178 add sanity check.
22179
bed7f140
SM
22180 * obsolete/erc-hecomplete.el: Make obsolete.
22181 * obsolete/: Standardize obsolescence info in the header.
22182
f195c582
GM
221832011-04-20 Glenn Morris <rgm@gnu.org>
22184
22185 * calendar/solar.el (solar-horizontal-coordinates):
22186 Use the longitude argument rather than `calendar-longitude'.
22187 (solar-date-next-longitude): Remove unused locals.
22188
cb79b8c0
VJL
221892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22190
22191 * whitespace.el: New version 13.2.1.
22192
221932011-04-20 felix <EmacsWiki> (tiny change)
22194
d8e4b68b 22195 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22196 switching between major modes on a file.
22197
602ea69d
SM
221982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22199
22200 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22201 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22202 multi-line comments as well.
22203
06b60517
JB
222042011-04-19 Juanma Barranquero <lekktu@gmail.com>
22205
22206 Lexical-binding cleanup.
22207
22208 * arc-mode.el (archive-mode-revert):
22209 * cmuscheme.el (scheme-interactively-start-process):
22210 * custom.el (custom-initialize-delay):
22211 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22212 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22213 * emacs-lock.el (emacs-lock-clear-sentinel):
22214 * ezimage.el (defezimage):
22215 * follow.el (follow-avoid-tail-recenter):
22216 * fringe.el (set-fringe-mode-1):
22217 * generic-x.el (bat-generic-mode-compile):
22218 * help-mode.el (help-info-variable, help-do-xref)
22219 (help-mode-revert-buffer):
22220 * help.el (view-emacs-todo):
22221 * iswitchb.el (iswitchb-completion-help):
22222 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22223 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22224 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22225 * locate.el (locate-update):
22226 * longlines.el (longlines-encode-region)
22227 (longlines-after-change-function):
22228 * outline.el (outline-isearch-open-invisible):
22229 * ps-def.el (declare-function, charset-dimension, char-width)
22230 (encode-char):
22231 * ps-mule.el (ps-mule-plot-string):
22232 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22233 (recentf-edit-list-select, recentf-edit-list-validate)
22234 (recentf-open-files-action):
22235 * rect.el (delete-whitespace-rectangle-line)
22236 (rectangle-number-line-callback):
22237 * register.el (window-configuration-to-register)
22238 (frame-configuration-to-register):
22239 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22240 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22241 (xselect-convert-to-targets, xselect-convert-to-delete)
22242 (xselect-convert-to-filename, xselect-convert-to-charpos)
22243 (xselect-convert-to-lineno, xselect-convert-to-colno)
22244 (xselect-convert-to-os, xselect-convert-to-host)
22245 (xselect-convert-to-user, xselect-convert-to-class)
22246 (xselect-convert-to-name, xselect-convert-to-integer)
22247 (xselect-convert-to-atom, xselect-convert-to-identity):
22248 * subr.el (declare, ignore, process-kill-without-query)
22249 (text-clone-maintain):
22250 * terminal.el (te-get-char, te-tic-sentinel):
22251 * tool-bar.el (tool-bar-make-keymap):
22252 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22253 * type-break.el (type-break-mode, type-break-noninteractive-query):
22254 * view.el (View-back-to-mark):
22255 * wid-browse.el (widget-browse-action, widget-browse-widget)
22256 (widget-browse-widgets, widget-browse-sexp):
22257 * widget.el (define-widget-keywords):
22258 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22259 Mark unused parameters.
22260
22261 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22262 (align-areas): Remove unused variable `look'.
22263 (align-region): Remove unused variables `real-end' and `pos-list'.
22264
22265 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22266
22267 * bindings.el (mode-line-modified, mode-line-remote):
22268 Mark unused parameters.
22269 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22270
22271 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22272 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22273
22274 * comint.el (comint-history-isearch-pop-state)
22275 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22276 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22277 (comint-substitute-in-file-name): Doc fix.
22278
22279 * completion.el (cmpl-statistics-block): Mark unused parameter.
22280 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22281 (save-completions-to-file, load-completions-from-file):
22282 Remove unused local variable `e'.
22283
22284 * composite.el (compose-chars): Remove unused variable `len'.
22285 (lgstring-insert-glyph): Remove unused variable `g'.
22286 (compose-glyph-string): Remove unused variables `ascent',
22287 `descent', `lbearing' and `rbearing'.
22288 (compose-glyph-string-relative): Remove unused variables
22289 `lbearing', `rbearing' and `wadjust'.
22290 (compose-gstring-for-graphic): Remove unused variables `header',
22291 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22292 (compose-gstring-for-terminal): Remove unused variables `header'
22293 and `nchars'. Use `let', not `let*'.
22294
22295 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22296 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22297 (Custom-buffer-done, custom-buffer-create-internal)
22298 (custom-browse-visibility-action, custom-browse-group-tag-action)
22299 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22300 (widget-magic-mouse-down-action, custom-toggle-parent)
22301 (custom-add-parent-links, custom-toggle-hide-variable)
22302 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22303 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22304 (custom-face-menu-create, custom-variable-menu-create, get)
22305 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22306 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22307 (customize-apropos): Remove unused variable `tests'.
22308 (custom-group-value-create): Remove unused variable `hidden-p'.
22309 (sort-fold-case): Declare.
22310
22311 * cus-theme.el (custom-reset-standard-faces-list)
22312 (custom-reset-standard-variables-list): Declare.
22313 (customize-create-theme, custom-theme-revert, custom-theme-write)
22314 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22315 Mark unused parameters.
22316
22317 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22318
22319 * delim-col.el (delimit-columns-max): Move defvar before first use.
22320
22321 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22322 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22323
22324 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22325 (auto-insert): Declare.
22326 (desktop-restore-file-buffer): Rename desktop-* parameters;
22327 mark unused ones.
22328 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22329 (desktop-buffer): Rename desktop-* parameters.
22330
22331 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22332 (dframe-reposition-frame-xemacs, dframe-help-echo)
22333 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22334 Mark unused parameters.
22335
22336 * dired-aux.el (backup-extract-version-start, overwrite-query)
22337 (overwrite-backup-query, rename-regexp-query)
22338 (rename-non-directory-query): Declare.
22339 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22340 (dired-add-entry): Remove unused variable `orig-file-name'.
22341 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22342 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22343 `dired-copy-preserve-time' directly.
22344 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22345 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22346
22347 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22348 (dired-virtual-revert, dired-make-relative-symlink):
22349 Mark unused parameters.
22350 (manual-program): Declare.
22351 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22352 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22353 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22354
22355 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22356
22357 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22358
22359 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22360 Declare.
22361
22362 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22363
22364 * electric.el (Electric-command-loop): Rename parameter
22365 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22366
22367 * expand.el (expand-in-literal): Remove unused variable `here'.
22368
22369 * facemenu.el (facemenu-add-new-color):
22370 Remove unused variable `docstring'.
22371
22372 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22373 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22374 (face-attr-construct): Mark unused parameter. Doc fix.
22375 (read-color): Remove unused variable `hex-string'.
22376
22377 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22378 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22379 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22380 (display-buffer-other-frame): Remove unused variable `old-window'.
22381 (kill-buffer-hook): Declare.
22382 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22383 Mark unused parameters.
22384 (after-find-file): Pass 1 to `auto-save-mode', not t.
22385
22386 * files-x.el (auto-insert): Declare.
22387 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22388
22389 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22390 variable `buf'. Mark unused parameter.
06b60517
JB
22391 (find-lisp-insert-directory): Mark unused parameter.
22392
22393 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22394 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22395 (format-common-tail): Remove, unused.
22396 (format-deannotate-region): Remove unused variable `loc'.
22397 (format-annotate-region): Remove unused variable `p'.
22398 (format-annotate-single-property-change): Remove unused variables
22399 `default' and `tail'.
22400
22401 * forms.el (read-file-filter): Declare.
22402 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22403
22404 * frame.el (frame-creation-function-alist): Mark unused parameter.
22405 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22406
22407 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22408 Remove unused parameters.
22409 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22410 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22411
22412 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22413 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22414 (hfy-prepare-tag-map): Mark unused parameters.
22415 (htmlfontify-buffer): Use `called-interactively-p'.
22416
22417 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22418 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22419 (ibuffer-do-occur): Mark unused parameters.
22420 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22421 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22422
22423 * ibuffer.el: Don't quote `lambda'.
22424 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22425 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22426 Mark unused parameters.
22427
22428 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22429 (ido-completing-read): Mark unused parameters.
22430 (ido-copy-current-word): Mark unused parameters;
22431 remove unused variable `name'.
22432 (ido-sort-merged-list): Remove unused parameter `dirs'.
22433
22434 * ielm.el (ielm-input-sender): Mark unused parameter.
22435 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22436 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22437 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22438 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22439 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22440
22441 * image-dired.el (image-dired-display-thumbs): Remove unused
22442 variables `curr-file' and `count'.
22443 (image-dired-remove-tag): Remove unused variable `start'.
22444 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22445 variable `curr-file'
22446 (image-dired-rotate-original): Remove unused variable `temp-file'.
22447 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22448 Remove unused variable `file'.
22449 (image-dired-gallery-generate): Remove unused variable `curr'.
22450 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22451
22452 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22453
22454 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22455
22456 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22457
22458 * isearch.el (minibuffer-history-symbol): Declare.
22459 (isearch-edit-string): Remove unused variable `err'.
22460 (isearch-message-prefix, isearch-message-suffix):
22461 Mark unused parameters.
22462
22463 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22464
22465 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22466
22467 * makesum.el (double-column): Remove unused variable `cnt'.
22468
22469 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22470 (ido-ignore-item-temp-list): Declare.
22471
22472 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22473 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22474 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22475 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22476 `mouse-col-delta'.
22477
22478 * mouse-sel.el (mouse-extend-internal):
22479 Remove unused variable `orig-window-frame'.
22480
22481 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22482 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22483 Move declarations before first use.
22484 (pcomplete-opt): Mark unused parameters; doc fix.
22485
22486 * proced.el (proced-revert): Mark unused parameter.
22487 (proced-send-signal): Remove unused variable `err'.
22488
22489 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22490 Rename parameter PREFIX-ARG to ARG.
22491 (ps-basic-plot-string, ps-basic-plot-whitespace):
22492 Mark unused parameters.
22493
22494 * replace.el (replace-count): Define.
22495 (occur-revert-function): Mark unused parameters.
22496 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22497 (isearch-case-fold-search, isearch-string): Declare.
22498 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22499 bind `case-fold-search'. Remove unused variables `beg' and `end',
22500 and simplify.
22501 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22502 COUNT and bind `replace-count'.
22503 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22504 to COUNT.
22505
22506 * savehist.el (print-readably, print-string-length): Declare.
22507
22508 * shadowfile.el (shadow-expand-cluster-in-file-name):
22509 Remove unused variable `cluster'.
22510 (shadow-copy-file): Remove unused variable `i'.
22511 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22512 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22513 (shadow-define-literal-group, shadow-define-regexp-group)
22514 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22515
22516 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22517 (shell): Use `called-interactively-p'.
22518 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22519
22520 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22521 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22522 (delete-backward-char): Remove unused variable `ocol'.
22523 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22524 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22525 (event-apply-hyper-modifier, event-apply-shift-modifier)
22526 (event-apply-control-modifier, event-apply-meta-modifier):
22527 Mark unused parameters.
22528 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22529 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22530
22531 * speedbar.el (speedbar-ignored-directory-expressions)
22532 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22533 (speedbar-find-file, speedbar-dir-follow)
22534 (speedbar-directory-buttons-follow, speedbar-tag-find)
22535 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22536 (speedbar-buffers-line-directory, speedbar-buffer-click):
22537 Mark unused parameters.
22538 (speedbar-tag-file): Remove unused variable `mode'.
22539 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22540
22541 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22542
22543 * talk.el (talk): Remove unused variable `display'.
22544
22545 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22546 (tar-write-region-annotate): Mark unused parameter.
22547
22548 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22549 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22550 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22551 warning by another.
22552
22553 * time-stamp.el (time-stamp-string-preprocess):
22554 Remove unused variable `require-padding'.
22555
22556 * tree-widget.el (widget-glyph-enable): Declare.
22557 (tree-widget-action): Mark unused parameter.
22558
22559 * w32-fns.el (x-get-selection): Mark unused parameter.
22560 (autoload-make-program, generated-autoload-file): Declare.
22561
22562 * wdired.el (wdired-revert): Mark unused parameters.
22563 (wdired-xcase-word): Remove unused variable `err'.
22564
22565 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22566 (whitespace-help-scroll): Remove unused variable `data-help'.
22567
22568 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22569 (widget-image-insert, widget-after-change, default)
22570 (widget-default-format-handler, widget-default-notify)
22571 (widget-default-prompt-value, widget-info-link-action)
22572 (widget-url-link-action, widget-function-link-action)
22573 (widget-variable-link-action, widget-file-link-action)
22574 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22575 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22576 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22577 (widget-insert-button-action, widget-delete-button-action, visibility)
22578 (widget-documentation-link-action, widget-documentation-string-action)
22579 (widget-const-prompt-value, widget-regexp-match, symbol)
22580 (widget-coding-system-prompt-value)
22581 (widget-key-sequence-value-to-external, sexp)
22582 (widget-sexp-value-to-internal, character, vector, cons)
22583 (widget-choice-prompt-value, widget-boolean-prompt-value)
22584 (widget-color--choose-action): Mark unused parameters.
22585 (widget-item-match-inline, widget-choice-match-inline)
22586 (widget-checklist-match, widget-checklist-match-inline)
22587 (widget-group-match): Rename parameter VALUES to VALS.
22588 (widget-field-value-set): Remove unused variable `size'.
22589 (widget-color-action): Remove unused variables `value' and `start'.
22590
22591 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22592 variable `dir'. Doc fix.
06b60517
JB
22593 (windmove-find-other-window): Don't pass it.
22594
22595 * window.el (count-windows): Mark unused parameter.
22596 (bw-adjust-window): Remove unused variable `err'.
22597
22598 * woman.el (woman-file-name): Remove unused variable `default'.
22599 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22600 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22601 (global-font-lock-mode): Declare.
22602 (woman-decode-region): Mark unused parameter.
22603 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22604
22605 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22606 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22607 (x-dnd-handle-moz-url): Remove unused variable `title'.
22608 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22609
22610 * xml.el (xml-parse-tag, xml-parse-attlist):
22611 Remove unused variable `pos'.
22612
bc4f7f3d
GM
226132011-04-19 Glenn Morris <rgm@gnu.org>
22614
22615 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22616 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22617 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22618 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22619 * calendar/cal-html.el (cal-html-insert-minical):
22620 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22621 (calendar-mark-date-pattern):
22622 Prefix "unused" locals.
22623
22624 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22625 optional argument `style'.
22626
22627 * calendar/appt.el (appt-make-list):
22628 * calendar/cal-china.el (calendar-chinese-date-string):
22629 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22630 (diary-hebrew-yahrzeit):
22631 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22632 * calendar/calendar.el (calendar-generate-window):
22633 * calendar/time-date.el (time-to-days):
22634 Remove unused local variables.
22635
16a43933
CY
226362011-04-18 Chong Yidong <cyd@stupidchicken.com>
22637
22638 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22639 glyphless-char-display table.
22640 (tabulated-list-glyphless-char-display): New var.
22641
7eed1860
SS
226422011-04-18 Sam Steingold <sds@gnu.org>
22643
22644 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22645 to acknowledgments.
22646
4d2d1ccd
GM
226472011-04-17 Glenn Morris <rgm@gnu.org>
22648
22649 * calendar/diary-lib.el (diary-sexp-entry):
22650 * calendar/holidays.el (holiday-sexp):
22651 Set debug-on-error rather than the removed stack-trace-on-error.
22652
239da61d
GM
226532011-04-16 Glenn Morris <rgm@gnu.org>
22654
22655 * progmodes/f90.el: Use lexical-binding.
22656 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22657
8b05752a
SM
226582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22659
daca8ba5
SM
22660 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22661 (mail-mode): Setup mailalias completion here instead.
22662 * mail/mailalias.el: Use lexical-binding.
22663 (pattern, mailalias-done): Declare dynamic.
22664 (mail-completion-at-point-function): New function, from mail-complete.
22665 (mail-complete): Use it.
22666 (mail-completion-expand): New function.
22667 (mail-get-names): Use it.
22668 (mail-directory, mail-directory-process, mail-directory-stream):
22669 Don't use `pattern' for lexically bound arg.
22670
6f542485
SM
22671 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22672
037e7c3f
SM
22673 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22674 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22675 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22676
8b05752a
SM
22677 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22678 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22679 (byte-interactive-p): Define them again, for use when inlining
22680 old code.
22681
49093f60
JB
226822011-04-15 Juanma Barranquero <lekktu@gmail.com>
22683
22684 * loadup.el: Use `string-to-number', not `string-to-int'.
22685
b5b8e7de
SM
226862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22687
22688 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22689 gud-gdb-complete-command.
22690 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22691 (gud-gdb-completion-at-point): New function.
22692 (gud-gdb-completions): Remove.
22693
f42efeb5
MA
226942011-04-14 Michael Albinus <michael.albinus@gmx.de>
22695
49093f60
JB
22696 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22697 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22698 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22699 whether `executable-find' is bound.
f42efeb5
MA
22700
22701 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22702
e240cc21
SM
227032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22704
22705 * minibuffer.el (completion-in-region-mode-predicate)
22706 (completion-in-region-mode--predicate): New vars.
22707 (completion-in-region, completion-in-region--postch)
22708 (completion-in-region-mode): Use them.
22709 (completion--capf-wrapper): Also return the hook function.
22710 (completion-at-point, completion-help-at-point):
22711 Adjust and provide a predicate.
c2bd2ab0
SM
22712
22713 Preserve arg names for advice of subr and lexical functions (bug#8457).
22714 * help-fns.el (help-function-arglist): Consolidate the subr and
22715 new-byte-code cases. Add argument `preserve-names' to extract names
22716 from the docstring when needed.
22717 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22718 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22719 (ad-arglist): Use help-function-arglist's new arg.
22720 (ad-definition-type): Use cond.
22721
c183f693
JB
227222011-04-13 Juanma Barranquero <lekktu@gmail.com>
22723
06641a47
JB
22724 * autorevert.el (auto-revert-handler):
22725 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22726 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22727 Don't quote lambda.
22728
c183f693
JB
22729 * image-mode.el (image-transform-set-scale):
22730 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22731
1e3b6001
G
227322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22733
22734 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22735 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22736 Upgrades via gnutls-cli are too slow to be done opportunistically.
22737
2d6af8dd
JB
227382011-04-12 Juanma Barranquero <lekktu@gmail.com>
22739
22740 * dframe.el (dframe-current-frame): Remove spurious quote.
22741
c0749a51
GM
227422011-04-12 Glenn Morris <rgm@gnu.org>
22743
088d0d61
GM
22744 * calendar/cal-tex.el (cal-tex-end-document):
22745 Try to automatically use latin1 input if needed.
22746
c0749a51
GM
22747 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22748 Don't try to cons a mark onto an empty element.
22749
5c90fde0
LL
227502011-04-11 Leo Liu <sdl.web@gmail.com>
22751
22752 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22753 buffers.
22754 (ido-kill-buffer-at-head): Support killing virtual buffers.
22755
369e974d
CY
227562011-04-10 Chong Yidong <cyd@stupidchicken.com>
22757
22758 * minibuffer.el (completion-show-inline-help): New var.
22759 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22760 (minibuffer-force-complete, minibuffer-complete-word):
22761 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22762
22763 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22764 to avoid interference from inline help (Bug#5849).
22765
37f1c930
LL
227662011-04-10 Leo Liu <sdl.web@gmail.com>
22767
099c39a4
JB
22768 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22769 Fix typo.
37f1c930 22770
a32d4040
CY
227712011-04-09 Chong Yidong <cyd@stupidchicken.com>
22772
22773 * image-mode.el (image-toggle-display-image): Signal an error if
22774 not in Image mode.
22775 (image-transform-mode, image-transform-resize)
22776 (image-transform-set-rotation): Doc fix.
daca8ba5 22777 (image-transform-set-resize): Delete.
a32d4040
CY
22778 (image-transform-set-scale, image-transform-fit-to-height)
22779 (image-transform-fit-to-width): Handle image-toggle-display-image
22780 and image-transform-resize directly.
22781
099c39a4 227822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22783
22784 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22785 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22786 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22787 (doc-view-mode-map): Add bindings for the new functions.
22788
099c39a4 227892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22790
4d61f28d 22791 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22792 Fix typo in docstring.
22793
3726838a
EZ
227942011-04-08 Eli Zaretskii <eliz@gnu.org>
22795
04f33f1e
EZ
22796 * files.el (file-size-human-readable): Produce one digit after
22797 decimal, like "ls -lh" does.
22798
22799 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22800 the file size representation.
22801
3726838a
EZ
22802 * simple.el (list-processes): If async subprocesses are not
22803 available, error out with a clear error message.
22804
cbb59342
CY
228052011-04-08 Chong Yidong <cyd@stupidchicken.com>
22806
22807 * help.el (help-form-show): New function, to be called from C.
22808 Put help-form output in a buffer named differently than *Help*.
22809
e3971c44
EZ
228102011-04-08 Eli Zaretskii <eliz@gnu.org>
22811
22812 * files.el (file-size-human-readable): New function.
22813
22814 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22815 computing the representation inline. Don't require `cl'.
22816
12544bbe
GM
228172011-04-08 Glenn Morris <rgm@gnu.org>
22818
a1de6c6a
GM
22819 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22820
3c4671f4
GM
22821 * net/browse-url.el (browse-url-firefox):
22822 Test system-type, not system-configuration.
22823
b605679c
GM
22824 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22825 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22826 Use log-edit-empty-buffer-p. (Bug#7598)
22827
56442f0c
GM
22828 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22829 (rlogin-mode-map): Initialize in the defvar.
22830 (rlogin): Use ignore-errors.
22831
12544bbe
GM
22832 * replace.el (occur-mode-map): Some fixes for menu items.
22833
eb237b0f
AH
228342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22835
22836 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22837
7d668f2c
CY
228382011-04-06 Chong Yidong <cyd@stupidchicken.com>
22839
e67a13ab
CY
22840 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22841 issuing unused warnings.
22842
22843 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22844 macro directly.
22845
7d668f2c
CY
22846 * simple.el: Lisp reimplement of list-processes. Based on an
22847 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22848 (process-menu-mode): New major mode.
22849 (list-processes--refresh, list-processes):
22850 (process-menu-visit-buffer): New functions.
22851
22852 * files.el (save-buffers-kill-emacs): Don't assume any return
22853 value of list-processes, which is undocumented anyway.
22854
a83ec3c9
CY
228552011-04-06 Chong Yidong <cyd@stupidchicken.com>
22856
22857 * emacs-lisp/tabulated-list.el: New file.
22858
e91a96fe
CY
22859 * emacs-lisp/package.el: Use Tabulated List mode.
22860 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22861 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22862 table format using Tabulated List mode variables.
22863 (package--push): New macro, replacing package-list-maybe-add.
22864 (package-menu--generate): Use package--push. Renamed from
22865 package--generate-package-list.
22866 (package-menu-refresh, list-packages): Use it.
daca8ba5 22867 (package-menu--print-info): Rename from package-print-package.
e91a96fe 22868 Return insertion data instead of inserting it directly.
099c39a4
JB
22869 (package-menu-describe-package, package-menu-execute):
22870 Use tabulated-list-get-id.
e91a96fe
CY
22871 (package-menu-mark-delete, package-menu-mark-install)
22872 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
22873 (package-menu-mark-obsolete-for-deletion):
22874 Use tabulated-list-put-tag.
e91a96fe
CY
22875 (package--list-packages, package-menu-revert)
22876 (package-menu-get-package, package-menu-get-version)
22877 (package-menu-sort-by-column): Functions deleted.
22878 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22879 (package-menu--status-predicate, package-menu--version-predicate)
22880 (package-menu--name-predicate)
22881 (package-menu--description-predicate): Handle arguments in the
22882 Tabulated List format.
22883 (package-list-packages-no-fetch): Call list-packages.
22884
3e214b50
JB
228852011-04-06 Juanma Barranquero <lekktu@gmail.com>
22886
22887 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 22888 (after-find-file): Don't bind it.
3e214b50
JB
22889 (revert-buffer-in-progress-p): New variable.
22890 (revert-buffer): Bind it.
22891 Pass nil for `after-find-file-from-revert-buffer'.
22892
22893 * saveplace.el (save-place-find-file-hook): Use new variable
22894 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22895
3f0f1700
GM
228962011-04-06 Glenn Morris <rgm@gnu.org>
22897
c0274801
GM
22898 * Makefile.in (AUTOGEN_VCS): New variable.
22899 (autoloads): Use $AUTOGEN_VCS.
22900
3f0f1700
GM
22901 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22902 * calendar/calendar.el (calendar-mode-map):
22903 Check for toolkit scroll bars. (Bug#8305)
22904
41ea9e48
CY
229052011-04-05 Chong Yidong <cyd@stupidchicken.com>
22906
22907 * minibuffer.el (completion-in-region--postch)
22908 (completion-in-region-mode): Remove unnecessary messages.
22909
6194c800
JB
229102011-04-05 Juanma Barranquero <lekktu@gmail.com>
22911
33256f14
JB
22912 * font-lock.el (font-lock-refresh-defaults):
22913 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22914 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22915
6194c800
JB
22916 * info.el (Info-directory-list, Info-read-node-name-2)
22917 (Info-split-parameter-string): Doc fixes.
22918 (Info-virtual-nodes): Reflow docstring.
22919 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22920 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22921 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22922 Fix typos in docstrings.
22923 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22924 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22925 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22926 (Info-restore-desktop-buffer): Mark unused parameters.
22927 (Info-directory-find-file, Info-directory-find-node)
22928 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22929 (Info-virtual-index-find-node, Info-apropos-find-file)
22930 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 22931 Mark unused parameters; fix typos in docstrings.
6194c800
JB
22932 (Info-virtual-index): Remove unused local variable `nodename'.
22933
b87a8200 229342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 22935
b87a8200
DD
22936 * net/rcirc.el: Update my e-mail address.
22937 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 22938
3b2ff876
CY
229392011-04-05 Chong Yidong <cyd@stupidchicken.com>
22940
22941 * startup.el (command-line): Save the cursor's theme-face
22942 directly, instead of using face-override-spec.
22943
22944 * custom.el (load-theme): Minor optimization in assigning faces.
22945
8d17e7ca
JB
229462011-04-04 Juanma Barranquero <lekktu@gmail.com>
22947
22948 * help-fns.el (describe-variable): Complete all variables having
22949 documentation, including keywords.
22950 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22951
2fbc1934
JB
229522011-04-04 Juanma Barranquero <lekktu@gmail.com>
22953
22954 Convert to lexical-binding.
22955
22956 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22957 (bs--get-marked-string, bs--get-modified-string)
22958 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22959 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22960 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22961
22962 * ehelp.el (electric-help-execute-extended)
22963 (electric-help-ctrl-x-prefix):
22964 * hexl.el (hexl-revert-buffer-function):
22965 * linum.el (linum-after-change, linum-after-scroll):
22966 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22967
22968 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22969
74f50695
DU
229702011-04-04 Daiki Ueno <ueno@unixuser.org>
22971
22972 * epa-dired.el:
22973 * epa-mail.el:
22974 * epa-hook.el:
22975 * epa-file.el:
22976 * epa.el:
22977 * epg.el: Use lexical binding.
22978
c11325f7
CY
229792011-04-03 Chong Yidong <cyd@stupidchicken.com>
22980
0d9e9a12
CY
22981 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22982
c11325f7 22983 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
22984 dictionary case for flyspell-mark-duplications-exceptions.
22985 Use regexp matching for languages.
c11325f7
CY
22986 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22987 default dictionary (Bug#7926).
22988
da91b5f2
CY
229892011-04-02 Chong Yidong <cyd@stupidchicken.com>
22990
099c39a4
JB
22991 * emacs-lisp/package.el (package--with-work-buffer):
22992 Recognize https URLs.
da91b5f2 22993
099c39a4
JB
22994 * net/network-stream.el: Move from gnus/proto-stream.el.
22995 Change prefix to network-stream throughout.
da91b5f2
CY
22996 (open-protocol-stream): Merge into open-network-stream, leaving
22997 open-protocol-stream as an alias. Handle nil BUFFER args.
22998
22999 * subr.el (open-network-stream): Move to net/network-stream.el.
23000
afa8e9f6
GM
230012011-04-02 Glenn Morris <rgm@gnu.org>
23002
1d2e369d
GM
23003 * find-dired.el (find-exec-terminator): New option.
23004 (find-ls-option): Test for -ls support.
23005 (find-ls-subdir-switches): Test for -b in find-ls-option.
23006 (find-dired, find-grep-dired): Doc fixes.
23007 (find-dired): Use find-exec-terminator.
23008
8abb7da8 23009 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23010 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23011 (find-name-arg): Remove purecopy.
8abb7da8 23012
f3ca7378
GM
23013 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23014 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23015 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23016 accordingly. Don't add the null-device if not needed.
23017
afa8e9f6
GM
23018 * files.el (save-some-buffers): Doc fix.
23019
35eae264
EZ
230202011-04-02 Eli Zaretskii <eliz@gnu.org>
23021
23022 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23023
26b51db5
JB
230242011-04-01 Juanma Barranquero <lekktu@gmail.com>
23025
23026 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23027 Use `dolist' rather than `mapcar'.
23028
7200d79c
SM
230292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23030
03408648 23031 Add lexical binding.
7200d79c 23032
03408648
SM
23033 * subr.el (apply-partially): Use new closures rather than CL.
23034 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23035 (dolist, dotimes): Use slightly different expansion for lexical code.
23036 (functionp): Move to C.
23037 (letrec): New macro.
23038 (with-wrapper-hook): Use it and apply-partially instead of CL.
23039 (eval-after-load): Preserve lexical-binding.
23040 (save-window-excursion, with-output-to-temp-buffer): Turn them
23041 into macros.
7200d79c 23042
03408648
SM
23043 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23044
23045 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23046 than the arglist.
23047 (help-add-fundoc-usage): Don't add `Not documented'.
23048 (help-function-arglist): Handle closures, subroutines, and new
23049 byte-code-functions.
23050 (help-make-usage): Remove leading underscores.
23051 (describe-function-1): Handle closures.
23052 (describe-variable): Use special-variable-p for completion.
23053
23054 * files.el (lexical-binding): Declare safe.
f488fb65 23055
03408648
SM
23056 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23057 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23058 (pcase): Add `let' pattern.
23059 Change memoization so it actually works.
23060 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23061 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23062 <let>: New case.
f488fb65 23063
03408648
SM
23064 * emacs-lisp/macroexp.el: Use lexical binding.
23065 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23066 Don't convert ' to #' without checking that it's indeed quoting
23067 a lambda.
23068
23069 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23070 Use eval-sexp-add-defvars.
03408648
SM
23071 (eval-sexp-add-defvars): New fun.
23072
23073 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23074
23075 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23076 Don't autoload.
23077 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23078 than the internal `byte-compile-lambda'.
23079 (defmethod): Don't hide code under quotes.
23080 (eieio-defmethod): New `code' argument.
23081
23082 * emacs-lisp/eieio-comp.el: Remove.
23083
23084 * emacs-lisp/edebug.el (edebug-eval-defun)
23085 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23086 (edebug-toggle): Avoid `eval'.
23087
23088 * emacs-lisp/disass.el (disassemble-internal): Handle new
23089 `closure' objects.
23090 (disassemble-1): Handle new byte codes.
23091
23092 * emacs-lisp/cl.el (pushnew): Silence warning.
23093
23094 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23095 (cl-byte-compile-throw): Remove.
23096 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23097
23098 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23099 closures.
23100
23101 * emacs-lisp/cconv.el: New file.
23102
23103 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23104 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23105 (byte-compile-initial-macro-environment):
23106 Handle declare-function here.
23107 (byte-compile--lexical-environment): New var.
23108 (byte-stack-ref, byte-stack-set, byte-discardN)
23109 (byte-discardN-preserve-tos): New lap codes.
23110 (byte-interactive-p): Don't use any more.
23111 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23112 New macros.
23113 (byte-compile-lapcode): Use them and handle new lap codes.
23114 (byte-compile-obsolete): Remove.
23115 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23116 (byte-compile-arglist-warn): Check late def of inlinable funs.
23117 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23118 since they should have been expanded by now.
23119 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23120 (byte-compile-from-buffer): Remove unused second arg.
23121 (byte-compile-preprocess): New function.
23122 (byte-compile-toplevel-file-form): New function to distinguish
23123 file-form calls from outside from file-form calls from hunk-handlers.
23124 (byte-compile-file-form): Simplify.
23125 (byte-compile-file-form-defsubst): Remove.
23126 (byte-compile-file-form-defmumble): Simplify now that
23127 byte-compile-lambda always returns a byte-code-function.
23128 (byte-compile): Preprocess.
23129 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23130 Remove, not used any more.
23131 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23132 (byte-compile-make-args-desc): New funs.
23133 (byte-compile-lambda): Handle lexical functions. Always return
23134 a byte-code-function.
23135 (byte-compile-reserved-constants): New var, to make up room for
23136 closed-over variables.
23137 (byte-compile-constants-vector): Obey it.
23138 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23139 (byte-compile-macroexpand-declare-function): New function.
23140 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23141 byte-code-functions.
23142 (byte-compile-form): Check obsolescence here.
23143 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23144 (byte-compile-variable-ref): Remove.
23145 (byte-compile-dynamic-variable-op): New fun.
23146 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23147 (byte-compile-variable-set): New funs.
23148 (byte-compile-discard): Add 2 args.
23149 (byte-compile-stack-ref, byte-compile-stack-set)
23150 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23151 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23152 macroexpand-all instead.
23153 (byte-compile-quote-form): Remove.
23154 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23155 (byte-compile-bind, byte-compile-unbind): New funs.
23156 (byte-compile-let): Handle let* and lexical binding.
23157 (byte-compile-let*): Remove.
23158 (byte-compile-catch, byte-compile-unwind-protect)
23159 (byte-compile-track-mouse, byte-compile-condition-case):
23160 Handle a new :fun-body form, used for lexical scoping.
23161 (byte-compile-save-window-excursion)
23162 (byte-compile-with-output-to-temp-buffer): Remove.
23163 (byte-compile-defun): Simplify.
23164 (byte-compile-stack-adjustment): New fun.
23165 (byte-compile-out): Use it.
23166 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23167
23168 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23169 handler any more.
23170
23171 * emacs-lisp/byte-opt.el: Use lexical binding.
23172 (byte-inline-lapcode): Remove (to bytecomp).
23173 (byte-compile-inline-expand): Pay attention to inlining to/from
23174 lexically bound code.
23175 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23176 any more.
23177 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23178 any more and don't call compiler-macros.
23179 (byte-compile-splice-in-already-compiled-code): Remove.
23180 (byte-code): Don't inline any more.
23181 (disassemble-offset): Receive `bytes' as argument rather than via
23182 dynamic scoping.
23183 (byte-compile-tag-number): Declare before first use.
23184 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23185 `return' even if make-spliceable.
23186 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23187 obsolete interactive-p.
23188 (byte-optimize-lapcode): Optimize new lap-codes.
23189 Don't trip up on new form of `byte-constant' lap code.
23190
23191 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23192
23193 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23194
23195 * custom.el (custom-initialize-default, custom-declare-variable):
23196 Use `defvar'.
23197
23198 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23199 New variables.
23200 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23201 (COMPILE_FIRST): Add macroexp and cconv.
23202 * makefile.w32-in: Mirror changes in Makefile.in.
23203
23204 * vc/cvs-status.el:
23205 * vc/diff-mode.el:
23206 * vc/log-edit.el:
23207 * vc/log-view.el:
23208 * vc/smerge-mode.el:
23209 * textmodes/bibtex-style.el:
090bd7cb 23210 * textmodes/css-mode.el:
03408648
SM
23211 * startup.el:
23212 * uniquify.el:
da91b5f2
CY
23213 * minibuffer.el:
23214 * newcomment.el:
23215 * reveal.el:
23216 * server.el:
23217 * mpc.el:
23218 * emacs-lisp/smie.el:
23219 * doc-view.el:
23220 * dired.el:
03408648
SM
23221 * abbrev.el: Use lexical binding.
23222
0f0c1f27
EZ
232232011-04-01 Eli Zaretskii <eliz@gnu.org>
23224
23225 * info.el (info-display-manual): New function.
23226
c82b2579
SM
232272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23228
23229 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23230
221ddf68
TH
232312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23232
23233 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23234 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23235
cba6e77e
GM
232362011-03-31 Glenn Morris <rgm@gnu.org>
23237
e040639f
GM
23238 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23239
cba6e77e
GM
23240 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23241
6d0f1c9e
CS
232422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23243
23244 * progmodes/python.el (python-default-interpreter)
23245 (python-python-command-args, python-jython-command-args)
23246 (python-which-shell, python-which-args, python-which-bufname)
23247 (python-file-queue, python-comint-output-filter-function)
23248 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23249 variables and functions.
23250
3e2d70fd
SM
232512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23252
23253 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23254 (completion-in-region-mode): New minor mode.
23255 (completion-in-region): Use it.
23256 (completion-in-region--data, completion-in-region-mode-map): New vars.
23257 (completion-in-region--postch): New function.
23258 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23259 New vars.
23260 (completion--capf-wrapper): New function.
23261 (completion-at-point): Use it to track well-behavedness of
23262 hook functions.
23263 (completion-help-at-point): New command.
23264
f3e4086c
JM
232652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23266
23267 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23268 syntax class to search for whitespace on a single line
23269 (Message-ID: <4D938140.4030905@redhat.com>).
23270
eb7ffc14
LL
232712011-03-30 Leo Liu <sdl.web@gmail.com>
23272
23273 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23274 New commands.
23275 (edit-abbrevs-map): Bind them here.
23276 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23277
d806ab68
KM
232782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23279
23280 * allout.el (allout-hide-by-annotation, allout-flag-region):
23281 Reduce possibility of overlay leakage by making them volatile.
23282
23283 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23284 hash is not shared between buffers. Mode initialization is
23285 responsible for giving it a useful starting value.
23286 (allout-item-span): Reduce possibility of overlay leakage by
23287 making them volatile.
23288 (allout-widgets-count-buttons-in-region): Add diagnostic function
23289 for tracking down button overlay leaks.
23290
ea622834
LL
232912011-03-29 Leo Liu <sdl.web@gmail.com>
23292
23293 * ido.el (ido-read-internal): Use the default history var
23294 minibuffer-history if no HISTORY is specified.
23295
b62f8267
G
232962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23297
03408648
SM
23298 * net/imap.el (imap-shell-open, imap-process-connection-type):
23299 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23300 Kerberos, SSL, other subprocesses.
23301
947b6566
LL
233022011-03-28 Leo Liu <sdl.web@gmail.com>
23303
23304 * abbrev.el (abbrev-table-empty-p): New function.
23305 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23306 nonempty ones. (Bug#5937)
23307
5ffb62aa
JD
233082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23309
23310 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23311
7a097943
LL
233122011-03-27 Leo Liu <sdl.web@gmail.com>
23313
23314 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23315 for foreground and background colors.
23316 (ansi-color-make-color-map): Adapt.
23317
c5b40130
LL
233182011-03-25 Leo Liu <sdl.web@gmail.com>
23319
1f48f7d2
LL
23320 * midnight.el (midnight-time-float): Remove. Note it calculates
23321 the microsecond component incorrectly and seconds-to-time does the
23322 same job.
625897ec 23323 Remove redundant (require 'timer).
1f48f7d2 23324
c5b40130
LL
23325 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23326 (ido-completions): Remove unused arguments. (Bug#8329)
23327
d86d2721
SM
233282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23329
23330 * minibuffer.el (completion--flush-all-sorted-completions):
23331 Remove itself from hook.
23332 (completion-at-point): Let the functions perform the completion
23333 immediately and return nil or t.
23334 * comint.el (comint-dynamic-complete-functions): Now identical to
23335 completion-at-point-functions.
23336 (comint-dynamic-list-input-ring): Remove unused var `index'.
23337 (comint--match-partial-filename, comint--unquote&expand-filename):
23338 New funs, split from comint-match-partial-filename.
23339 (comint-dynamic-complete): Use completion-at-point.
23340 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23341
e8974c48
DA
233422011-03-24 Drew Adams <drew.adams@oracle.com>
23343
23344 * thingatpt.el: Support `defun'.
23345
def71b5e
LL
233462011-03-23 Leo Liu <sdl.web@gmail.com>
23347
cb5af48e
LL
23348 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23349
def71b5e
LL
23350 * help-mode.el (help-mode-finish): Tweak regexp.
23351
927c53e7
GM
233522011-03-23 Glenn Morris <rgm@gnu.org>
23353
18d05bed
GM
23354 * eshell/esh-opt.el (eshell-eval-using-options):
23355 Do not bind unused local variable `eshell-option-stub'.
23356
927c53e7
GM
23357 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23358
9d0da923
JB
233592011-03-22 Juanma Barranquero <lekktu@gmail.com>
23360
23361 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23362 keymap variable in `with-no-warnings' to avoid a warning when the
23363 keymap has been already `defconst'ed.
23364
4b978a67
LL
233652011-03-22 Leo Liu <sdl.web@gmail.com>
23366
23367 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23368 encode all chars in abbrevs; otherwise use emacs-mule or
23369 utf-8-emacs. (Bug#8308)
23370
5fd62452
JB
233712011-03-22 Juanma Barranquero <lekktu@gmail.com>
23372
0b1596c6
JB
23373 * simple.el (backward-delete-char-untabify):
23374 Avoid warning about using `delete-backward-char'.
23375
5fd62452
JB
23376 * image.el (image-type-file-name-regexps): Make it variable.
23377 `imagemagick-register-types' modifies it, and the user may want
23378 to add new extensions for known image types.
23379 (imagemagick-register-types): Throw error if not using ImageMagick.
23380
0b4e93f1
LL
233812011-03-22 Leo Liu <sdl.web@gmail.com>
23382
23383 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23384 located before rcirc-prompt-end-marker.
23385 (rcirc-complete): Error if point is not after rcirc prompt.
23386 Handle the case when table is nil.
9882e214 23387 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23388
fccee4ab
CY
233892011-03-22 Chong Yidong <cyd@stupidchicken.com>
23390
23391 * custom.el (custom--inhibit-theme-enable): Make it affect only
23392 custom-theme-set-variables and custom-theme-set-faces.
23393 (provide-theme): Ignore custom--inhibit-theme-enable.
23394 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23395 (custom-enabling-themes): Delete variable.
d86d2721
SM
23396 (enable-theme): Accept only loaded themes as arguments.
23397 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23398 (custom-enabled-themes): Forbid themes from setting this.
23399 Eliminate use of custom-enabling-themes.
23400 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23401
af896da6
LL
234022011-03-21 Leo Liu <sdl.web@gmail.com>
23403
23404 * ido.el (ido-read-internal): Add ido-selected to history instead
23405 of user input.
23406
78f64af0
SM
234072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23408
23409 * subr.el (deferred-action-list, deferred-action-function):
23410 Mark obsolete.
23411
b16ac1ec
LL
234122011-03-21 Leo Liu <sdl.web@gmail.com>
23413
810f7698
LL
23414 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23415 change on 2011-02-13 (bug#8309).
23416
b16ac1ec
LL
23417 * minibuffer.el (read-file-name-function): Change default value.
23418 (read-file-name--defaults): Rename from read-file-name-defaults.
23419 (read-file-name-default): Rename from read-file-name.
23420 (read-file-name): Call read-file-name-function.
23421
4e05e67e
GM
234222011-03-21 Glenn Morris <rgm@gnu.org>
23423
23424 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23425 Doc fixes.
23426
4359915b
CY
234272011-03-21 Chong Yidong <cyd@stupidchicken.com>
23428
23429 * cus-theme.el: Add missing provide statement.
23430 (customize-create-theme): Extract theme value correctly.
23431 (custom-theme-visit-theme): Autoload.
23432 (customize-create-theme): Prompt before inserting default faces.
23433
1fe275ee
JB
234342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23435
23436 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23437 units and musical notes.
23438
cd394be1 234392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23440
23441 * ido.el (ido-read-internal): Use completing-read-default.
23442 (ido-completing-read): Fix compatibility with completing-read.
23443
7d476bde
CO
234442011-03-20 Christian Ohler <ohler@gnu.org>
23445
23446 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23447 (ert-delete-all-tests): Use `called-interactively-p' rather than
23448 `interactive-p'.
23449 (ert--make-xrefs-region): Respect END.
23450
fe0fb33e
CY
234512011-03-19 Chong Yidong <cyd@stupidchicken.com>
23452
ff854b0b
CY
23453 * dired-aux.el (dired-create-directory): Signal an error if the
23454 directory already exists (Bug#8246).
23455
fe0fb33e
CY
23456 * facemenu.el (list-colors-display): Call list-faces-display
23457 inside with-help-window.
23458 (list-colors-print): Use display property to align the final
23459 column, instead of checking window-width.
23460
576bce32
EZ
234612011-03-19 Eli Zaretskii <eliz@gnu.org>
23462
4d61f28d 23463 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23464 windows-nt systems.
23465 (emerge-protect-metachars): Quote correctly for ms-dos and
23466 windows-nt systems.
23467
89c41d68 234682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23469
23470 * info.el (info-initialize): Replace all uses of `:' with
23471 path-separator for compatibility with non-Unix systems.
23472 Cache quoting of path-separator. (Bug#8258)
23473
b14e3e21 234742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23475
23476 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23477 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23478 (mouse-avoidance-mode): Fix typos in docstrings.
23479
4525ce3e
CY
234802011-03-19 Chong Yidong <cyd@stupidchicken.com>
23481
23482 * startup.el (package-subdirectory-regexp): Move from package.el.
23483 Omit \\` and \\', and let callers add them.
23484
23485 * emacs-lisp/package.el (package-strip-version)
23486 (package-load-all-descriptors): Add \\` and \\' to
23487 package-subdirectory-regexp before using it.
23488 (package-untar-buffer): New arg DIR; ensure that file untars only
23489 into this expected directory. Remove superfluous delete-region.
23490 (package-unpack): Caller changed.
23491 (package-tar-file-info): Use package-subdirectory-regexp.
23492
a904a09a 234932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23494
a904a09a
SM
23495 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23496 diff-mode-shared-map (bug#8284).
23497 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23498
234992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23500
23501 * calendar/time-date.el (format-seconds): Use assoc instead of
23502 assoc-string, since assoc-string doesn't exist in XEmacs.
23503
171fc304
JB
235042011-03-17 Juanma Barranquero <lekktu@gmail.com>
23505
23506 * custom.el (custom-known-themes): Reflow docstring.
23507 (custom-theme-load-path): Fix typo in docstring.
23508 (load-theme): Fix typo in error message.
23509 (custom-available-themes, custom-variable-theme-value):
23510 Use `let', not `let*'.
23511
d71990a1
JB
235122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23513
23514 * calc/README: Mention inclusion of musical notes.
23515
23516 * calc/calc-units.el (calc-lu-quant): Rename from
23517 `calc-logunits-quantity'.
23518 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23519 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23520 (calc-db): Rename from `calc-dblevel'.
23521 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23522 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23523 (calc-np): Rename from `calc-nplevel'.
23524 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23525 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23526 (calc-lu-plus): Rename from `calc-logunits-add'.
23527 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23528 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23529 (calc-lu-minus): Rename from `calc-logunits-sub'.
23530 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23531 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23532 (calc-lu-times): Rename from `calc-logunits-mul'.
23533 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23534 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23535 (calc-lu-divide): Rename from `calc-logunits-div'.
23536 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23537 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23538
23539 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23540 functions being autoloaded.
23541
23542 * calc/calc.el (calc-lu-power-reference): Rename from
23543 `calc-logunits-power-reference'.
23544 (calc-lu-field-reference): Rename from
23545 `calc-logunits-field-reference'.
23546
7a71b18d
GM
23547 * calc/calc-help.el (calc-l-prefix-help):
23548 Mention musical note functions.
d71990a1 23549
40c2934b
SM
235502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23551
23552 * minibuffer.el (completion-all-sorted-completions):
23553 Use :completion-cycle-penalty text property if present.
23554
b0911414
KM
235552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23556
23557 * allout.el (allout-yank-processing): Adjust for new rebulleting
23558 regime so bullet being yanked is used without prompting the user
23559 for a choice.
23560
8a05b668
JB
235612011-03-16 Juanma Barranquero <lekktu@gmail.com>
23562
23563 * startup.el (command-line): Warn the user that _emacs is deprecated.
23564
5ba5fb81
JB
235652011-03-16 Juanma Barranquero <lekktu@gmail.com>
23566
23567 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23568 (delphi-verbose, delphi-comment-face, delphi-string-face)
23569 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23570 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23571 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23572 (delphi-new-comment-line, delphi-font-lock-defaults)
23573 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23574 Fix typos in docstrings.
23575
2dab465b
KM
235762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23577
5ba5fb81 23578 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23579 Invert the roles of character and string values for INSTEAD, so a
23580 string is used for the more common case of a defaulting prompt.
23581
0adf5618
SM
235822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23583
23584 * progmodes/ruby-mode.el (ruby-backward-sexp):
23585 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23586 * play/gamegrid.el (gamegrid-make-face):
23587 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23588 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23589 * notifications.el (notifications-notify):
23590 * net/xesam.el (xesam-search-engines):
23591 * net/quickurl.el (quickurl-list-insert):
23592 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23593
d72700e5
CY
235942011-03-15 Chong Yidong <cyd@stupidchicken.com>
23595
23596 * startup.el (command-line): Update package subdirectory regexp.
23597
49c5410a
SM
235982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23599
c6eee9aa
SM
23600 * allout.el (allout-abbreviate-flattened-numbering)
23601 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23602
49c5410a
SM
23603 * subr.el (read-char-choice): Only show the cursor after the prompt,
23604 not after the answer.
23605
047b2bb9
KR
236062011-03-15 Kevin Ryde <user42@zip.com.au>
23607
23608 * help-fns.el (variable-at-point): Skip leading quotes, if any
23609 (bug#8253).
23610
0a57d256
SM
236112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23612
23613 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23614 warning message.
23615
77c992bc
MA
236162011-03-14 Michael Albinus <michael.albinus@gmx.de>
23617
23618 * shell.el (shell): When called interactively, offer to change the
23619 shell file name on remote hosts.
23620
eebc475d
TZ
236212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23622
23623 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23624 integration for LDAP parameters. The host, base, user or binddn,
23625 and secret tokens can be specified in a netrc file, for instance.
23626 This is optional because an `auth-source' parameter must be
23627 specified in the search attributes.
23628
9d05d1ba
JB
236292011-03-13 Juanma Barranquero <lekktu@gmail.com>
23630
23631 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23632
09d9db2c
GM
236332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23634
23635 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23636 into declaration. Remove redundant and harmful binding.
23637
236382011-03-12 Eli Zaretskii <eliz@gnu.org>
23639
23640 * files.el (file-ownership-preserved-p): Pass `integer' as an
23641 explicit 2nd argument to `file-attributes'. If the file's owner
23642 is the Administrators group on Windows, and the current user is
23643 Administrator, consider that a match.
23644
23645 * server.el (server-ensure-safe-dir): Consider server directory
23646 safe on MS-Windows if its owner is the Administrators group while
23647 the current Emacs user is Administrator. Use `=' to compare
23648 numerical UIDs, since they could be integers or floats.
23649
219bd536
JB
236502011-03-12 Juanma Barranquero <lekktu@gmail.com>
23651
23652 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23653
f3afd36b
MA
236542011-03-12 Michael Albinus <michael.albinus@gmx.de>
23655
23656 Sync with Tramp 2.2.1.
23657
23658 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23659
23660 * net/trampver.el: Update release number.
23661
3aaaa6f1
SM
236622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23663
94642599
SM
23664 * progmodes/compile.el (compilation--previous-directory): Fix up
23665 various nil/dead-marker mismatches (bug#8014).
23666 (compilation-directory-properties, compilation-error-properties):
23667 Don't call it at a position past the one we're about to change.
23668
3aaaa6f1
SM
23669 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23670 Disable obsolescence warnings in the file that declares it.
23671
14239447
KM
236722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23673
099c39a4
JB
23674 * allout-widgets.el (allout-widgets-tally):
23675 Initialize allout-widgets-tally as a hash table rather than nil to
23676 prevent mode-line redisplay warnings. Also, clarify the module
23677 description and fix a comment typo.
14239447 23678
135e287c
JB
236792011-03-11 Juanma Barranquero <lekktu@gmail.com>
23680
23681 * help-fns.el (describe-variable): Don't complete keywords.
23682 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23683
ffbf300e
CY
236842011-03-10 Chong Yidong <cyd@stupidchicken.com>
23685
ba08b241
CY
23686 * emacs-lisp/package.el (package-version-join): Impose a standard
23687 string representation for pre/alpha/beta version lists.
23688 (package-unpack-single): Standardize the directory name by passing
23689 it through package-version-join.
23690 (package-strip-rcs-id): Accept any version string that does not
23691 signal an error in version-to-list.
ffbf300e 23692
f346fd6b
MA
236932011-03-10 Michael Albinus <michael.albinus@gmx.de>
23694
23695 * simple.el (delete-trailing-whitespace): Return nil for the
23696 benefit of `write-file-functions'.
23697
ccb55d27
GM
236982011-03-10 Glenn Morris <rgm@gnu.org>
23699
5ceaac0c
GM
23700 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23701
02da65ff
GM
23702 * vc/vc-git.el (vc-git-program): New option.
23703 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23704 (vc-git--call): Use it.
23705
b2f603cc
GM
23706 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23707
5772caab
GM
23708 * cus-edit.el (Custom-newline): If no button at point, look
23709 for a subgroup button at start-of-line. (Bug#2298)
23710
ccb55d27
GM
23711 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23712
ec6ecaed
JD
237132011-03-10 Julien Danjou <julien@danjou.info>
23714
23715 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23716 `cursor-type' is nil.
23717
9d5aa01d
JB
237182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23719
23720 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23721
b6a5875b
KM
237222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23723
7a71b18d 23724 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23725 preserves the existing header prefix, rebulleting it if necessary,
23726 rather than replacing it. This is necessary for proper operation
23727 of cooperative addons like allout-widgets.
1154d12e
JB
23728 (allout-make-topic-prefix, allout-rebullet-heading):
23729 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23730 value as alternate bullet to be used, instead of prompting the user
23731 for a bullet character.
b6a5875b 23732
ee545c35
MA
237332011-03-09 Michael Albinus <michael.albinus@gmx.de>
23734
d86d2721
SM
23735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23736 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23737 `tramp-default-port'.
23738
c47971d7
DD
237392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23740
23741 * net/rcirc.el (rcirc-handler-001): Remove useless
23742 with-rcirc-process-buffer.
23743 (rcirc-check-auth-status): Swap arguments to string-match.
23744
13522cb4
GM
237452011-03-09 Glenn Morris <rgm@gnu.org>
23746
0be6f4f1
GM
23747 * shell.el (shell-mode):
23748 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23749
13522cb4
GM
23750 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23751 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23752
515de2e3
CY
237532011-03-08 Chong Yidong <cyd@stupidchicken.com>
23754
23755 * emacs-lisp/package.el (package-refresh-contents)
23756 (package-menu-execute): Use condition-case-no-debug.
23757
b511b994
MA
237582011-03-08 Michael Albinus <michael.albinus@gmx.de>
23759
23760 * simple.el (shell-command-to-string): Use `process-file'.
23761
23762 * emacs-lisp/package.el (package-tar-file-info): Handle also
23763 remote files.
23764
d86d2721
SM
23765 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23766 Use `equal' for upload base check.
b511b994 23767
25bbfb31
AM
237682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23769
23770 * textmodes/texinfo.el (texinfo-environments):
23771 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23772
be996521
GM
237732011-03-08 Glenn Morris <rgm@gnu.org>
23774
e9c8529f
GM
23775 * cus-start.el (cursor-in-non-selected-windows):
23776 Fix :set quoting oddness. (Bug#8192)
23777
be996521
GM
23778 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23779 in some setf expressions. (Bug#2159)
23780
2bb5649e
CY
237812011-03-08 Chong Yidong <cyd@stupidchicken.com>
23782
23783 * custom.el (custom-available-themes): Return themes in
23784 alphabetical order.
23785
33383987 23786See ChangeLog.15 for earlier changes.
e3d51b27
MR
23787
23788;; Local Variables:
23789;; coding: utf-8
e3d51b27
MR
23790;; End:
23791
ab422c4d 23792 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23793
23794 This file is part of GNU Emacs.
23795
23796 GNU Emacs is free software: you can redistribute it and/or modify
23797 it under the terms of the GNU General Public License as published by
23798 the Free Software Foundation, either version 3 of the License, or
23799 (at your option) any later version.
23800
23801 GNU Emacs is distributed in the hope that it will be useful,
23802 but WITHOUT ANY WARRANTY; without even the implied warranty of
23803 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23804 GNU General Public License for more details.
23805
23806 You should have received a copy of the GNU General Public License
23807 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.