Fix timestamp bug when write-region appends nothing.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7b6d5ecf
CS
12012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2
af314ba0
CS
3 * vc/vc-arch.el (vc-arch-registered):
4 * vc/vc-bzr.el (vc-bzr-registered):
5 * vc/vc-cvs.el (vc-cvs-registered):
6 * vc/vc-git.el (vc-git-registered):
7 * vc/vc-hg.el (vc-hg-registered):
8 * vc/vc-mtn.el (vc-mtn-registered):
9 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
10 (Bug#13139)
11
7b6d5ecf
CS
12 * info.el (Info-next-reference, Info-prev-reference): Add numeric
13 prefix argument. (Bug#11656)
14
686d9fb6
SM
152013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
18
48c828b9
GM
192013-02-01 Glenn Morris <rgm@gnu.org>
20
1f4f0f46
GM
21 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
22 if the backend is known not to support it.
23
48c828b9
GM
24 * imenu.el (imenu-default-create-index-function):
25 Tweak infinite loop test to check for forward motion as well as none.
26
cd87ae10
AH
272013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
28
29 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
30 `url-request-data' as UTF-8.
31 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 32
86e100a6
GM
332013-02-01 Glenn Morris <rgm@gnu.org>
34
35 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
36
0eb61895
GM
37 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
38
61642d9a
MA
392013-01-31 Michael Albinus <michael.albinus@gmx.de>
40
41 * net/tramp.el (tramp-tramp-file-p): Comment check for
42 `string-as-unibyte'. The function does not exist on XEmacs, and
43 likely we need another approach.
44
45 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
46 `tramp-gw-*' variables are bound.
47
9dbda100
GM
482013-01-31 Glenn Morris <rgm@gnu.org>
49
50 * files.el (basic-save-buffer-2): Choose coding system for
51 writing the file before backing it up, to reduce delay between
52 backing up and writing the new version. (Bug#13522)
53
ad4de702
MN
542013-01-31 Michal Nazarewicz <mina86@mina86.com>
55
56 * simple.el (cycle-spacing): New command.
57 (just-one-space): Use it.
58
9ca243c6
SM
592013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
60
c4f268a1
SM
61 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
62 (opascal-newline-always-indents): Remove custom.
63 (opascal-tab, opascal-newline): Remove commands.
64 (opascal-new-comment-line): Insert "\n" instead of calling newline.
65 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
66 (opascal-save-match-data): Remove, use save-match-data instead.
67 (opascal-save-state): Use with-silent-modifications.
68
9ca243c6
SM
69 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
70 (bug#13585).
71
64ced394
JL
722013-01-30 Juri Linkov <juri@jurta.org>
73
74 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
75 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
76 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
77
c56d2269
SM
782013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
81 column if we're just deleting the backslashes.
82 (makefile-fill-paragraph): Use eolp.
83
382936d1
MA
842013-01-30 Michael Albinus <michael.albinus@gmx.de>
85
86 * autorevert.el (auto-revert-use-notify): Fix docstring.
87
dd331297
LL
882013-01-30 Leo Liu <sdl.web@gmail.com>
89
686d9fb6 90 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 91
c491dd70
GM
922013-01-30 Glenn Morris <rgm@gnu.org>
93
94 * mouse.el (mouse-drag-line): Avoid pushing same event onto
95 unread-command-events twice in some cases. This tries to implement
96 the 2012-07-26 changes in a different way. (Bug#13560)
97
6ff930c3
FEG
982013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
99
100 * progmodes/python.el
101 (python-pdbtrack-comint-output-filter-function): Enhancements on
102 stacktrace detection. (thanks @gnovak)
103
1d4e7225
SM
1042013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
107 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
108 Use defvar-local.
109 (jit-lock-register): Use setq-local.
110
7c3fb76f
JB
1112013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
112
113 * calc-units.el (math-default-units-table): Remove initial value.
114 (calc-convert-units): Treat expressions where all the units cancel as
115 if they didn't have units.
116
8bc8712e
MA
1172013-01-30 Michael Albinus <michael.albinus@gmx.de>
118
119 * net/tramp.el (tramp-process-connection-type): Fix docstring.
120 (tramp-completion-reread-directory-timeout): Fix type.
121 (tramp-connection-min-time-diff): New defcustom.
122
123 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
124
1886a16d
GM
1252013-01-30 Glenn Morris <rgm@gnu.org>
126
127 * imenu.el (imenu-default-create-index-function):
128 Put back a version of the infinite loop test removed 2013-01-23.
129
3f82a88a 1302013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 131
1d4e7225
SM
132 * progmodes/python.el (python-shell-parse-command):
133 Find python-shell-interpreter with modified environment.
e4497086 134
3f82a88a 1352013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
136
137 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
138
953e5b8c
AM
1392013-01-29 Alan Mackenzie <acm@muc.de>
140
141 Amend to fontify /regexp/s in actions correctly.
142 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 143 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
144 are no longer included.
145 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
146 What used to be these variables without "-line" in the name.
686d9fb6 147 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
148 (c-awk-non-arith-op-bra-re): Now also matches {.
149 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
150 "return", and "case".
151 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
152 by /.
153 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 154 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 155
1b69262a
MA
1562013-01-29 Michael Albinus <michael.albinus@gmx.de>
157
1d4e7225
SM
158 * autorevert.el (auto-revert-use-notify):
159 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 160
1b69262a
MA
161 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
162
1d4e7225
SM
163 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
164 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 165 in `tramp-file-name-handler'.
ea55064c
MA
166 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
167 compatibility.
168 (tramp-compute-multi-hops): Check, whether
169 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 170
b2dc4f52
SM
1712013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
174 (bug#13297).
175
499572e4
DG
1762013-01-27 Dmitry Gutov <dgutov@yandex.ru>
177
178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
179 checks made superfluous by the \_< operator.
a324b8c7
DG
180 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
181 temporarily) broken indentation.
b2dc4f52
SM
182 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
183 Highlight nested constants, too. \_< broke that.
499572e4
DG
184
1852013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
186
187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
188 instead of "\\b".
189
629cb6ec
MA
1902013-01-27 Michael Albinus <michael.albinus@gmx.de>
191
192 * autorevert.el (auto-revert-handler): Notifications which result
193 from a saved file shall not be taken into account. (Bug#13557)
194
cc17363f
AS
1952013-01-26 Andreas Schwab <schwab@linux-m68k.org>
196
197 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
198 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
199 (lisp-mode): Pass t for it. (Bug#13556)
200
b7aea0ff
AM
2012013-01-25 Alan Mackenzie <acm@muc.de>
202
203 AWK Mode: Fix indentation bug at top level. Bug #12274.
204
205 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
206 just before CASE 5D.
207
1314a64c
DA
2082013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
209
210 * net/socks.el (socks-nslookup-host): Use string-to-number.
211
ef3544f6
MA
2122013-01-25 Michael Albinus <michael.albinus@gmx.de>
213
214 * autorevert.el (auto-revert-remote-files)
215 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
216 (auto-revert-notify-enabled, auto-revert-use-notify)
217 (auto-revert-notify-watch-descriptor-hash-list)
218 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
219 (auto-revert-notify-event-descriptor)
220 (auto-revert-notify-event-action)
221 (auto-revert-notify-event-file-name): Doc fix.
222 (global-auto-revert-mode): Reorder checks.
223 (auto-revert-notify-rm-watch): Respect changed values of
224 `auto-revert-notify-watch-descriptor-hash-list'.
225 (auto-revert-notify-add-watch): Check for
226 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
227 `inotify-add-watch'. Watch `default-directory' instead of
228 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
229 has a changed meaning now. (Bug#13540)
230 (auto-revert-notify-handler): Change implementation wrt events
231 returning from a directory.
232 (auto-revert-handler): Reorder implementation for checks of remote
233 files.
234 (auto-revert-buffers): Fix parentheses error.
235
830e46e6 2362013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
237
238 * progmodes/python.el: Enhancements to header documentation about
239 skeletons. (Bug#5716)
240
ddc62155
FEG
241 * imenu.el (imenu-default-create-index-function): Remove useless
242 infinite loop check. (Bug#13438)
243
830e46e6 2442013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
245
246 Fix a bug in the state cache mechanism. Refactor this a bit.
247
248 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
249 `cache-pos' element from the return value.
250 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
251 buffer to enable proper searching from beyond HERE. Amend the
252 test for detecting the sought brace pair. Amend the value written
253 to the "brace desert cache" when the brace isn't found.
254 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
255 and several other variables analogously.
256 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
257 parameter to a locally calculated variable.
258 (c-parse-state-1): Change the calling conventions to the two
259 defuns involving `cache-pos'.
260
830e46e6 2612013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
262
263 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
264
3d4147ba
BG
2652013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
266
267 * paren.el (show-paren-function): Make sure to set 'priority and
268 'face only if the overlay does exist.
269
e1ffa412
MA
2702013-01-24 Michael Albinus <michael.albinus@gmx.de>
271
272 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
273
274 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
275 basic attributes.
276 (tramp-sh-handle-set-file-acl): Improve error checking.
277
5ad86e34
DA
2782013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
279
280 * doc-view.el (doc-view-display): Force mode line update until all
281 document is converted. Suggested by Stefan Monnier (Bug#13164).
282
d6f9c03f
BG
2832013-01-23 Bastien Guerry <bzg@gnu.org>
284
285 * paren.el (show-paren-function): Make sure an overlay exists
286 before trying to delete it. Also use `pos' as a position only
287 when it is an integer.
288
3544e11a
DA
2892013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
290
291 * play/gametree.el (gametree-break-line-here): Use point-marker.
292
19b50424
MA
2932013-01-22 Michael Albinus <michael.albinus@gmx.de>
294
b2dc4f52
SM
295 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
296 Mark descriptive parts with `display' property.
19b50424 297
7fd5a843
AM
2982013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
299
300 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
301 New variable to map standard dict names to hunspell ones.
302 (ispell-set-spellchecker-params): Make sure specific dict names
303 are used for standard dicts with hunspell.
304
e6aff855
TH
3052013-01-21 Tassilo Horn <tsdh@gnu.org>
306
307 * textmodes/reftex-cite.el (reftex-format-citation): Add format
308 chars for note (%N) and url (%U).
309 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
310
c84b0881
JL
3112013-01-21 Juri Linkov <juri@jurta.org>
312
313 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
314 in addition to existing separate binding `meta f10' in `global-map'.
315 (Bug#13484)
316
a36e2d26
MA
3172013-01-21 Michael Albinus <michael.albinus@gmx.de>
318
319 Improve XEmacs compatibility.
320
321 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
322
323 * net/tramp-adb.el (top): Require `time-date'.
324 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
325 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
326 Use `tramp-file-name-handler'.
327 (tramp-adb-maybe-open-connection):
328 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 329
b2dc4f52
SM
330 * net/tramp-sh.el (tramp-sh-handle-file-acl):
331 Use `tramp-compat-funcall'.
a36e2d26
MA
332
333 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
334 `tramp-compat-funcall'.
335
88c7dfa3
JH
3362013-01-21 Jürgen Hötzel <juergen@archlinux.org>
337
338 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
339 reimplementation using "adb shell command ..." instead of running
340 remote shell interactively.
341
15df6fa4
GM
3422013-01-20 Glenn Morris <rgm@gnu.org>
343
a576cc76
GM
344 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
345 Add native profiler menu entries.
346
15df6fa4
GM
347 * profiler.el (profiler-running-p): New function.
348 (profiler-cpu-profile): Use profiler-running-p.
349 (profiler-report-mode-map): Add some more menu entries.
350
c4d1e0c3
GM
3512013-01-19 Glenn Morris <rgm@gnu.org>
352
353 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
354 fixes 2012-12-07 change. (Bug#13499)
355
795e7a5b 3562013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
357
358 * dired.el (dired-get-marked-files): Prune erroneous values due to
359 last change. (Bug#13152)
360
795e7a5b 3612013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
362
363 * progmodes/etags.el (tags-table-check-computed-list):
364 Preserve point in tags buffer. (Bug#13412)
365
f8a42ad6
GM
366 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
367
20de6ab6
CW
3682013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
369 Chong Yidong <cyd@gnu.org>
370
b2dc4f52
SM
371 * image-mode.el (image-next-file, image-previous-file):
372 New commands (Bug#8453).
20de6ab6
CW
373 (image-mode-map): Bind them to n and p.
374 (image-mode--images-in-directory): New helper function.
375
2a43515a
CY
3762013-01-19 Chong Yidong <cyd@gnu.org>
377
378 * image-mode.el (image-mode-fit-frame): Add a frame argument.
379 Suggested by Drew Adams (Bug#7730). Handle window decorations;
380 save and restore the old window configuration.
381
b1170947
LL
3822013-01-18 Leo Liu <sdl.web@gmail.com>
383
384 * progmodes/js.el: Tweak autoload cookie for alias.
385
0eb87688
MA
3862013-01-17 Michael Albinus <michael.albinus@gmx.de>
387
388 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
389 buffer local, again. This was lost with the fix on 2013-01-12.
390
99d36ea8
JH
3912013-01-17 Jürgen Hötzel <juergen@archlinux.org>
392
393 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
394 order to support several eshell buffers in parallel.
395
68a08a32
MA
3962013-01-17 Michael Albinus <michael.albinus@gmx.de>
397
398 * autorevert.el (auto-revert-use-notify): In the :set function, do
399 not modify `kill-buffer-hook'.
b2dc4f52
SM
400 (auto-revert-notify-rm-watch):
401 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
402 (auto-revert-notify-add-watch): Do not call
403 `auto-revert-notify-rm-watch', but add it to a buffer local
404 `kill-buffer-hook'.
405
e59eee43
SM
4062013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
409 call to `eval' rather than a backquoted lambda.
410
6e8cd0ae
SM
4112013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
412
cb9c0a53
SM
413 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
414 to return an explicit nil.
415 (advice--remove-function): Change accordingly.
416
417 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
418 the use of nadvice.el.
419
6e8cd0ae
SM
420 * progmodes/which-func.el (which-function): Silence imenu errors
421 (bug#13433).
422
4586ce8a
MM
4232013-01-15 Michael R. Mauger <mmaug@yahoo.com>
424
6e8cd0ae 425 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
426 (sql-mode-font-lock-object-name): Match schema qualified names.
427 (sql-connect): Use string keys.
428 (sql-product-interactive): Wait for interpreter prompt.
429 (sql-comint-oracle): Set process coding based on NLS_LANG.
430
9d55215c
MM
4312013-01-15 Michael R. Mauger <mmaug@yahoo.com>
432
433 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
434 (sql-interactive-remove-continuation-prompt):
435 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 436
57dd9e68
LL
4372013-01-14 Leo Liu <sdl.web@gmail.com>
438
439 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
440 (Bug#13420)
441
51e73492
GM
4422013-01-14 Glenn Morris <rgm@gnu.org>
443
444 * progmodes/compile.el (compilation-error-regexp-alist-alist):
445 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
446
c0511b57 4472013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 448
6e8cd0ae
SM
449 * progmodes/python.el (python-nav-end-of-statement):
450 Fix cornercase when handling multiline strings.
50620051 451
4c0a6d4a
RS
4522013-01-13 Richard Stallman <rms@gnu.org>
453
9f7e86ef
RS
454 * mail/sendmail.el (mail-position-on-field): Add doc string.
455
6e8cd0ae
SM
456 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
457 Get current message boundaries and pass them to
4c0a6d4a
RS
458 message-forward-make-body-mime. Minor style changes.
459
ad33a799
EZ
4602013-01-13 Eli Zaretskii <eliz@gnu.org>
461
462 * cus-start.el (all): Avoid warnings about
6e8cd0ae 463 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 464
616763d5
JD
4652013-01-11 Jan Djärv <jan.h.d@swipnet.se>
466
467 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
468
e5b5a34d
SM
4692013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * jit-lock.el (jit-lock-debug-mode): New minor mode.
472 (jit-lock--debug-fontifying): New var.
473 (jit-lock--debug-fontify): New function.
474 * subr.el (condition-case-unless-debug): Don't prevent catching the
475 error, just let the debbugger run.
476 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
477 timer code and don't drop errors silently.
478
2daddd9e
MA
4792013-01-12 Michael Albinus <michael.albinus@gmx.de>
480
481 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
482 `permanent-local' property.
71c661e4 483 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 484
86fbb162
EZ
4852013-01-12 Eli Zaretskii <eliz@gnu.org>
486
487 * autorevert.el (auto-revert-notify-handler): Fix filtering of
488 file notification by ACTION. For filtering by file name, compare
489 only the non-directory part of the file name.
490
a0784609
SM
4912013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
492
96c421bb
SM
493 * autorevert.el: Use cl-lib instead of cl.
494
a0784609
SM
495 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
496 (vc-bzr-checkin): Use it.
497 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
498 will preserve match-data.
499
f90ff906 5002013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 501
f90ff906
FD
502 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
503 (js--declaration-keyword-re): New var.
504 (js--multi-line-declaration-indentation): New function.
505 (js--proper-indentation): Use it.
9fc9a531 506
f90ff906 5072013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 508
f90ff906
FD
509 * calc/calc.el (calc-highlight-selections-with-faces)
510 (calc-dispatch):
511 * comint.el (comint-history-isearch-message):
512 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
513 * ffap.el (ffap-string-at-point-region, ffap-next)
514 (ffap-string-at-point, ffap-string-around)
515 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 516 (ffap-literally):
9fc9a531 517 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
518 (font-lock-removed-keywords-alist):
519 * help-mode.el (help-xref-symbol-regexp):
520 * info.el (Info-find-emacs-command-nodes):
521 * international/mule.el (add-to-coding-system-list):
522 * isearch.el (isearch-message-function, isearch-fail-pos):
523 * misearch.el (multi-isearch-next-buffer-function):
524 * newcomment.el (comment-box):
9fc9a531 525 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 526 (pr-setting-database):
9fc9a531
AH
527 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
528 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
529 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
530 (pike-font-lock-keywords-3):
531 * progmodes/compile.el (compile):
9fc9a531 532 * progmodes/etags.el (tags-table-files)
f90ff906 533 (tags-table-files-function, tags-included-tables-function):
9fc9a531 534 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 535 (gdb-restore-windows):
9fc9a531 536 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
537 (ps-n-up-filling-database):
538 * server.el (server-buffer, server-log):
9fc9a531
AH
539 * simple.el (newline, delete-backward-char, delete-forward-char)
540 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 541 (temporary-goal-column):
9fc9a531 542 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
543 (flyspell-default-deplacement-commands):
544 * textmodes/ispell.el (ispell-accept-output):
545 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 546 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
547 (compare-ignore-case, compare-windows-dehighlight):
548 * vc/diff.el (diff):
9fc9a531
AH
549 * whitespace.el (whitespace-point)
550 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 551 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 552
65adfa20
MA
5532013-01-11 Michael Albinus <michael.albinus@gmx.de>
554
555 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
556 (auto-revert-notify-rm-watch): Ignore errors.
557 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
558 inotify, and '(size last-write-time) for w32notify.
559 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
560 watch fails - this is a fallback to the file modification check.
561 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
562 (auto-revert-notify-event-action)
563 (auto-revert-notify-event-file-name): New defuns.
564 (auto-revert-notify-handler): Use them. Implement first
565 plausibility checks.
566 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
567
43b2e2e7
JD
5682013-01-11 Julien Danjou <julien@danjou.info>
569
570 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
571 max are almost equal. Also return the correct value for V which is
572 already between 0 and 1.
573
30818a23
DA
5742013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
575
576 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
577
10e714d5
EZ
5782013-01-11 Eli Zaretskii <eliz@gnu.org>
579
580 * autorevert.el (auto-revert-notify-rm-watch)
581 (auto-revert-notify-add-watch): Fix typos in w32notify function
582 names.
583
a778dd57
MA
5842013-01-10 Michael Albinus <michael.albinus@gmx.de>
585
586 * autorevert.el (auto-revert-notify-enabled): Move up.
587 (auto-revert-use-notify): New defcustom.
588 (auto-revert-mode, global-auto-revert-mode)
589 (auto-revert-notify-add-watch, auto-revert-handler)
590 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
591 `auto-revert-notify-enabled'.
592
72781fef
EP
5932013-01-10 Elias Pipping <pipping@exherbo.org>
594
595 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
596 * doc-view.el (doc-view-document->bitmap):
597 Use doc-view-single-page-converter-function instead of
598 single-page-converter arg; adjust callers.
599
e6ed8f08
FL
6002013-01-10 Feng Li <fengli@gmail.com> (tiny change)
601
602 * progmodes/which-func.el (which-function): Understand Semantic's use
603 of overlays in imenu--index-alist.
604
327a6cca
WJ
6052013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
606
607 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
608 (Man-man-k-use-anchor): New var.
609 (Man-parse-man-k): New function.
610 (Man-completion-table): Use it.
611 (man): Flush the completion cache between uses.
612
ed911257
MA
6132013-01-10 Michael Albinus <michael.albinus@gmx.de>
614
615 * autorevert.el: Add file watch support.
616 (auto-revert-notify-enabled): New defconst.
617 (auto-revert-notify-watch-descriptor-hash-list)
618 (auto-revert-notify-watch-descriptor)
619 (auto-revert-notify-modified-p): New defvars.
620 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
621 (auto-revert-notify-handler): New defuns.
622 (auto-revert-mode, global-auto-revert-mode): Remove file watches
623 when mode is disabled.
624 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
625 (auto-revert-buffers): Add file watches for active buffers.
626
58cc0a01
DA
6272013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
628
629 * cus-start.el (toplevel): Only allow float values for
630 scroll-up-aggressively and scroll-down-aggressively.
631 Allow any number for line-spacing.
632
bbc7ff25
SM
6332013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
636 (doc-view-pdf->png-converter-function): Use mupdf if available.
637 (doc-view-djvu->png-converter-function)
638 (doc-view-ps->png-converter-function): Remove.
639 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
640 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
641 (doc-view-already-converted-p): Adjust accordingly.
642 (doc-view-mode-p): Simplify.
643 (doc-view-enlarge): Use setq-local.
644 (doc-view-pdf->png-converter-ghostscript)
645 (doc-view-djvu->png-converter-ddjvu)
646 (doc-view-pdf->png-converter-mupdf): Rework to call
647 doc-view-start-process directly.
648 (doc-view-pdf/ps->png): Simplify accordingly.
649 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
650 (doc-view-document->bitmap): Rename from doc-view-document->png.
651 (doc-view-convert-current-doc): Merge pdf and djvu cases.
652 (doc-view-set-slice-from-bounding-box): Fix completion table.
653 (doc-view-mode): Use add-hook for after-revert-hook.
654
3c855b96
GM
6552013-01-10 Glenn Morris <rgm@gnu.org>
656
657 * emacs-lisp/authors.el (authors-ignored-files)
658 (authors-valid-file-names, authors-renamed-files-alist):
659 Add some more entries.
660
3f9549e8 6612013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
662
663 * image-mode.el (image-mode-winprops): Don't throw away the fallback
664 `t' pseudo-window entry.
665
3f9549e8 6662013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
667
668 Fix bugs in the c-parse-state mechanism. Reuse some markers
669 instead of continually generating new ones.
670
671 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
672 (c-state-old-cpp-end-marker): New variables.
673 (c-append-lower-brace-pair-to-state-cache): Start a backward
674 search for "}" definitively outside CPP constructs.
675 (c-remove-stale-state-cache): Inform the caller of a need to
676 search back for a brace pair in certain circumstances.
677 (c-state-maybe-marker): New macro.
678 (c-parse-state): Reuse markers when appropriate.
679
3f9549e8 6802013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
681
682 * simple.el (execute-extended-command): Doc fix.
683 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
684
3f9549e8 6852013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
686
687 * faces.el (read-face-name): Doc fix.
688
b14abca9
RW
6892013-01-10 Roland Winkler <winkler@gnu.org>
690
691 * emacs-lisp/crm.el: Allow any regexp for separators.
692 (crm-default-separator): All spaces around the default comma separator.
693 (crm--completion-command): New macro.
694 (crm-completion-help, crm-complete, crm-complete-word): Use it.
695 (crm-complete-and-exit): Handle non-single-char separators.
696
2b541f9a
EP
6972013-01-09 Elias Pipping <pipping@lavabit.com>
698
699 * doc-view.el: Add support for DjVu (bug#13164).
700 (doc-view-djvu->png-converter-function): New config var.
701 (doc-view-single-page-converter-function, doc-view--image-type)
702 (doc-view--image-file-extension): New vars.
703 (doc-view-mode): Initialize them.
704 (doc-view-goto-page): Use them.
705 (doc-view-mode-p): Add support for ddjvu.
706 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
707 (doc-view-set-up-single-converter): New funs.
708 (doc-view-pdf/ps->png): Extend for djvu.
709 (doc-view-document->png): Rename from doc-view-pdf->png.
710 (doc-view-convert-current-doc): Handle djvu.
711 (doc-view-insert-image, doc-view-display)
712 (doc-view-already-converted-p): Don't hardcode png.
713 (doc-view-set-doc-type): Recognize djvu docs.
714
85f17e35
EP
7152013-01-09 Elias Pipping <pipping@lavabit.com>
716
717 * doc-view.el: Add support for mupdf converter (bug#13164).
718 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
719 (doc-view-ps->png-converter-function): New config vars.
720 (doc-view-pdf->png-converter-ghostscript)
721 (doc-view-ps->png-converter-ghostscript)
722 (doc-view-pdf->png-converter-mupdf): New functions.
723 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
724
ccd04887
MA
7252013-01-09 Jürgen Hötzel <juergen@archlinux.org>
726
727 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
728 first in session cache: When `tramp-own-remote-path' is in
729 `tramp-remote-path', the remote path is only set in the session
730 cache.
731
c5ad92de
GM
7322013-01-09 Glenn Morris <rgm@gnu.org>
733
fb9f7146
GM
734 * emacs-lisp/trace.el (trace-function-foreground)
735 (trace-function-background): Doc fix.
c5ad92de 736
39a0786e
JL
7372013-01-09 Juri Linkov <juri@jurta.org>
738
739 * international/mule-cmds.el (read-char-by-name): Move let-binding
740 of completion-ignore-case around completing-read to fix regression
741 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
742 `string-match-p' using the nil value of `case-fold-search' and
743 `completion-ignore-case' in `completion-pcm--all-completions'.
744 (Bug#12615).
745
fb9f7146 7462013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
747
748 * progmodes/compile.el (compilation-parse-errors):
749 Fix typo. (Bug#13369)
750
fb9f7146 7512013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
752
753 * comint.el (comint-send-input): Check size of buffer before
754 waiting for process output, in case already accepted. (Bug#13290)
755
677d5c92
PE
7562013-01-09 Paul Eggert <eggert@cs.ucla.edu>
757
758 Spelling fixes.
759 * net/tramp-adb.el (tramp-adb-get-toolbox):
760 Fix misspelling of 'unknown'.
761
073ca75b
JL
7622013-01-08 Juri Linkov <juri@jurta.org>
763
764 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
765 * progmodes/flymake.el (flymake-errline, flymake-warnline):
766 Use underline style wave on terminals that support it. (Bug#13000)
767
a4648137
SM
7682013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
769
4bdc3526
SM
770 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
771 the predicate returns nil.
772
a4648137
SM
773 * simple.el: Use lexical-binding.
774 (primitive-undo): Use pcase.
775 (minibuffer-history-isearch-push-state): Use a closure.
776
3bace969
AH
7772013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
778
779 * simple.el (primitive-undo): Move from undo.c.
780
a731fc1b
SM
7812013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
782
1c851e98
SM
783 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
784 (cvs-mode-remove-handled): Use it (bug#13380).
785
a731fc1b
SM
786 * emacs-lisp/nadvice.el (advice--tweak): New function.
787 (advice--remove-function, advice--subst-main): Use it.
788
789 * emacs-lisp/advice.el: Update commentary.
790
2a22c83b
MA
7912013-01-08 Michael Albinus <michael.albinus@gmx.de>
792
a731fc1b
SM
793 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
794 Remove spurious entry.
2a22c83b 795
83c1803a
GM
7962013-01-08 Glenn Morris <rgm@gnu.org>
797
798 * net/tramp.el (tramp-default-host-alist): Add :version.
799
8a2e287c
JL
8002013-01-08 Juri Linkov <juri@jurta.org>
801
802 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
803 single completion. (Bug#12456)
804 (info--manual-names): Expand node completions into an explicit list
805 before appending it to another list. Filter out internal buffers
806 with the leading space in the buffer name. (Bug#10771)
807
c6a22ce2
JL
8082013-01-08 Juri Linkov <juri@jurta.org>
809
810 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
811 that defaults to the Top node.
812 (Info-goto-node, Info-read-node-name): Doc fix to mention that
813 the short format (FILENAME) goes to the Top node.
814 (Info-build-node-completions): Rename arg `file' to `filename'.
815 (Bug#13365)
816
acfe10b7
BG
8172013-01-07 Bastien Guerry <bzg@gnu.org>
818
a731fc1b
SM
819 * menu-bar.el (menu-bar-search-documentation-menu):
820 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
821
8222013-01-07 Bastien Guerry <bzg@gnu.org>
823
824 * apropos.el (apropos-do-all): Update docstring.
825 (apropos-user-option-button): New face.
826 (apropos-user-option): Rename from `apropos-variable' and update
827 docstring.
828 (apropos-variable): Rewrite, now show all variables by default.
829 (apropos-print): Mention "User option" instead of "Variable" when
830 printing doc for user options. (Bug#13276)
831
62bcf670
JH
8322013-01-07 Jürgen Hötzel <juergen@archlinux.org>
833
834 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
835 Handle filename correctly, when parsing "source -> target" symlink
836 output.
837 (tramp-adb-handle-set-file-times): New defun.
838
4986fa21
SM
8392013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
842 advice list when the interactive-spec of ad-Advice-* changes.
843
3bee311e
KY
8442013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
845
846 * wid-edit.el (widget-default-get): Work for inlined elements.
847 (Bug#12670)
848
b49eebcc
MA
8492013-01-07 Michael Albinus <michael.albinus@gmx.de>
850
851 * net/tramp.el (tramp-default-host-alist): New defcustom.
852 (tramp-find-host): Use it.
4986fa21 853 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
854 `eshell-directory-change-hook'.
855
856 * net/tramp-adb.el (top): Add adb specific entry in
857 `tramp-default-host-alist'.
858 (tramp-adb-file-name-host): Remove function.
859 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
860 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
861
3bee311e 862 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 863
84f6744a
JH
8642013-01-06 Jürgen Hötzel <juergen@archlinux.org>
865
866 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
867
b6cfbcd0
MA
8682013-01-06 Michael Albinus <michael.albinus@gmx.de>
869
870 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 871 consist of more than one digit.
4986fa21
SM
872 (tramp-adb-file-name-handler-alist):
873 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
874 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
875 (tramp-adb-handle-file-exists-p): Remove function.
876 (tramp-adb-file-name-host): New defun.
877 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
878 Use it.
879 (tramp-adb-maybe-open-connection): Set "remote-path" property.
880
58ba7b1b
CY
8812013-01-06 Chong Yidong <cyd@gnu.org>
882
883 * vc/vc.el (vc-next-action): Detect buffer modifications
884 conflicting with locking VCS operation (Bug#11490).
885
886 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
887
f4566fe9
MA
8882013-01-05 Michael Albinus <michael.albinus@gmx.de>
889
890 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
891 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
892
838cf298
MA
8932013-01-05 Jürgen Hötzel <juergen@archlinux.org>
894
895 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
896 parsing of ls output using regular expression (handle filenames
897 with spaces). Use virtual device number.
898 (tramp-do-parse-file-attributes-with-ls): New defun (Code
899 cleanup).
900
1bd71e9f
DU
9012013-01-04 Daiki Ueno <ueno@gnu.org>
902
903 * epg.el: Silence byte-compiler warnings.
904 (epg--start): Use delete-char instead of delete-backward-char.
905 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
906
00cd4c1c
DU
9072013-01-04 Daiki Ueno <ueno@gnu.org>
908
909 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
910 Suggested by Eli Zaretskii <eliz@gnu.org>.
911
f99ced35
MA
9122013-01-04 Michael Albinus <michael.albinus@gmx.de>
913
914 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
915 non-negative integers. Otherwise, the default values are used.
916 (tramp-convert-file-attributes): Convert uid and gid to integers.
917
0f668a4d 9182013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 919
d2be4dcc
GM
920 * term.el (term-handle-colors-array): Ensure face attributes
921 are fully specified, not nil. (Bug#13337)
922
5b00b749
GM
923 * term.el (term-default-fg-color, term-default-bg-color):
924 Fix custom type.
925
220740a3
GM
926 * progmodes/etags.el (tags-compression-info-list): Doc fix.
927 (tag-find-file-of-tag-noselect): Check auto-compression-mode
928 rather than 'jka-compr being loaded. (Bug#13338)
929
bdd9367d
WD
9302013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
931
932 * icomplete.el (icomplete-completions):
933 Honor icomplete-prospects-height once more following
934 2012-11-29 changes. (Bug#13224)
935
96dd18b1
SM
9362013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
937
c0bd248c
SM
938 * subr.el (internal--called-interactively-p--get-frame): Find aliases
939 of called-interactively-p as well (bug#13237).
940
4a74c818
SM
941 * view.el (view--enable, view--disable): Rename from view-mode-enable
942 and view-mode-disable and assume it's called from view-mode.
943 (view-mode-enable, view-mode-disable): Redefine as obsolete
944 compatibility layer above view-mode.
945 (view-mode-enter): Call `view-mode'.
946
947 * files.el (after-find-file): Call `view-mode'.
948
96dd18b1
SM
949 * doc-view.el (doc-view-scale-internally): New var.
950 (doc-view-enlarge, doc-view-insert-image): Obey it.
951
c2cf1829
DU
9522013-01-03 Daiki Ueno <ueno@gnu.org>
953
954 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
955 exist. (Bug#13344)
956
ad235a8b
GM
9572013-01-03 Glenn Morris <rgm@gnu.org>
958
a8aa6c2d
GM
959 * mail/rmail.el (rmail-set-header-1): Ignore case.
960 Handle multi-line headers. (Bug#13330)
961
a6d6c20b
GM
962 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
963 Handle paragraph starting at beginning of buffer.
964
ed5bdeb9
GM
965 * subr.el (eval-after-load): Don't purecopy the form, so that it
966 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
967
ad235a8b
GM
968 * emacs-lisp/byte-run.el (defun): Place cl declarations
969 after any interactive spec. (Bug#13265)
970
9539d465 9712013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
972
973 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
974 defun. Don't check for DECL if DOCSTRING isn't a string.
975 (defun): Likewise.
976
9539d465 9772013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 978
5ee1772e
GM
979 * eshell/em-cmpl.el (eshell-pcomplete):
980 More thoroughly imitate pcomplete. (Bug#13293)
981
4cddca30
GM
982 * files.el (parse-colon-path): Doc fix. (Bug#12351)
983 Return nil for empty path elements. (Bug#13296)
984
9539d465 9852013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
986
987 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
988 order to improve efficiency (Based on Daniel Colascione's
989 <dancol@dancol.org> patch). (Bug#13182)
990
9539d465 9912013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
992
993 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
994
9539d465 9952013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
996
997 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
998 neither DOCSTRING nor DECL was given. (Bug#13316)
999
aca3d51d
MA
10002013-01-02 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1003 `error' call.
1004 (tramp-do-copy-or-rename-file): Ignore errors when calling
1005 `set-file-extended-attributes'.
1006
4986fa21
SM
1007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1008 Add handler for `file-acl'.
aca3d51d
MA
1009 (tramp-smb-handle-file-acl): New defun.
1010
87e65f96
JB
10112013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1012
1013 * calc/README: Mention ISO 8601 week-numbering dates.
1014
0aac98ac
MR
10152013-01-01 Martin Rudalics <rudalics@gmx.at>
1016
1017 * view.el (view-mode-enable): New argument run-view-mode-hook.
1018 Run view-mode-hook only when it's non-nil (Bug#13315).
1019 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1020 argument t.
1021
1a82330c
JH
10222012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1023
1024 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1025 (No device connected, invalid device name). (Bug #13299)
1026
27fcfe31
MR
10272012-12-31 Martin Rudalics <rudalics@gmx.at>
1028
1029 * window.el (window-resizable--p): Rename to window-resizable-p.
1030 (window-resize-no-error): New function.
1031
1032 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1033 broken in fix from 2012-12-28.
1034
96c052a5
SM
10352012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * subr.el (special-form-p): Don't signal errors on undef aliases.
1038
fd1f1603
JB
10392012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1040
1041 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1042 `math-parse-iso-date' when it looks like it might be needed.
1043 Allow times of 24:00.
fd1f1603
JB
1044 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1045 of 24:00.
1046
8db39aeb
GM
10472012-12-30 Glenn Morris <rgm@gnu.org>
1048
1049 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1050 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1051 (rmail-summary-displayed, rmail-summary): Declare.
1052 (mairix-rmail-display): Just require rmail.
1053
d5e5e7b4 10542012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
1055
1056 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1057 check for the tarball contents.
1058
d5e5e7b4 10592012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
1060
1061 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1062 tarfile content listings (Bug#13136).
1063
d5e5e7b4 10642012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 1065
96c052a5
SM
1066 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1067 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 1068
4f752957
MA
10692012-12-30 Michael Albinus <michael.albinus@gmx.de>
1070
3ee24a3b
MA
1071 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1072 integers, if they are real numbers. (Bug#13282)
1073
4f752957
MA
1074 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1075 Return `t' on success.
1076
96c052a5
SM
1077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1078 Add handler for `set-file-selinux-context'.
4f752957 1079
eff2eb58
MA
10802012-12-29 Michael Albinus <michael.albinus@gmx.de>
1081
1082 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1083 (tramp-sh-handle-set-file-acl): Return `t' on success.
1084
ccad023b
EZ
10852012-12-29 Eli Zaretskii <eliz@gnu.org>
1086
96c052a5
SM
1087 * files.el (backup-buffer-copy, basic-save-buffer-2):
1088 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 1089 instead of signaling an error. (Bug#13298)
7e56b103 1090 (basic-save-buffer): Likewise.
ccad023b 1091
ccb1c17e
FEG
10922012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1093
1094 * progmodes/python.el: Support other commands triggering
1095 python-indent-line so indentation cycling continues to work.
1096 (python-indent-trigger-commands): New defcustom.
1097 (python-indent-line): Use it.
1098
16768034
FEG
10992012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1100
1101 * progmodes/python.el (python-shell-send-region): Add blank lines
1102 for non sent code so backtraces remain correct.
1103
66164d2f
FEG
11042012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1105
1106 * progmodes/python.el: Remove cl dependency.
1107 (python-syntax-count-quotes): Replace incf call.
1108 (python-fill-string): Replace setf call.
1109
761231d1
DC
11102012-12-29 Damien Cassou <damien.cassou@gmail.com>
1111
43ebd12b 1112 * info.el (info-other-window): New arg, for consistency with info.
761231d1 1113
7c3e220a
MR
11142012-12-28 Martin Rudalics <rudalics@gmx.at>
1115
96c052a5
SM
1116 * mail/rmail.el (rmail-maybe-display-summary):
1117 Rewrite (Bug#13066).
7c3e220a 1118
361828b5
AS
11192012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1120
1121 * epg.el (epg--start): Modify process-environment locally.
1122
23bd348c
DU
11232012-12-28 Daiki Ueno <ueno@gnu.org>
1124
1125 * epg.el: Support pinentry-curses.
1126 Suggested by Werner Koch in
1127 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1128 (epg-agent-file, epg-agent-mtime): New variable.
1129 (epg--start): Record the modified time of gpg-agent socket file,
1130 to restore Emacs frame after pinentry-curses termination.
1131 (epg-wait-for-completion): Restore Emacs frame here.
1132
313f39aa
JL
11332012-12-27 Juri Linkov <juri@jurta.org>
1134
1135 * info.el (Info-file-completions): New variable.
1136 (Info-read-node-name-1): Complete node names in the Info file
1137 when a file name is given. Call `Info-build-node-completions'
1138 with a file name.
1139 (Info-build-node-completions): Add new arg `file'. When it is
1140 non-nil, visit it in a temporary buffer and cache its completions in
1141 `Info-current-file-completions'. Move most of the function body to
1142 `Info-build-node-completions-1'.
1143 (Info-build-node-completions-1): New function with the body from
1144 `Info-build-node-completions'. (Bug#12456)
1145
a45b7647
JL
11462012-12-27 Juri Linkov <juri@jurta.org>
1147
1148 * frame.el (frame-maximization-style): Remove user option.
1149 (cycle-frame-maximized): Remove function.
1150 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1151 (toggle-frame-fullscreen): New command bound to <f11> instead of
1152 `toggle-frame-maximized'.
1153 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1154
10ffd0be
MA
11552012-12-27 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1158
1159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1161 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1162 for `file-accessible-directory-p'. (Bug#13275)
1163
fd146719
SS
11642012-12-27 Sam Steingold <sds@gnu.org>
1165
1166 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1167 continuations, see <http://stackoverflow.com/questions/3582436>.
1168
82e2a1f0 11692012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
1170
1171 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
1172 "module" and "def" to have indentation before them.
1173 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 1174
ea0857a1
DG
1175 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1176
82e2a1f0 11772012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
1178
1179 Speed up fontification where there's large brace blocks.
1180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1181 to a call of c-beginning-of-decl-1.
1182
c34339f3
VS
11832012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1184
1185 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
1186 (comint-postoutput-scroll-to-bottom):
1187 Call comint-adjust-window-point (Bug#13248).
c34339f3 1188
78269b95
DG
11892012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1190
1191 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1192 Rakefile regexp.
1193 (auto-mode-alist): Associate .gemspec files with ruby-mode
1194 (https://bugs.ruby-lang.org/issues/5453).
1195
bd8c13f9
JH
11962012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1197
96c052a5
SM
1198 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1199 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 1200 CyanogenMod).
bd8c13f9
JH
1201 (tramp-adb-handle-file-attributes)
1202 (tramp-adb-handle-insert-directory)
1203 (tramp-adb-handle-file-name-all-completions): Use it.
1204 (tramp-adb-get-toolbox): New defun. Check for remote shell
1205 implementation (BusyBox or Toolbox).
1206
dc646358
CK
12072012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1208
1209 * startup.el (initial-buffer-choice): Allow function as value
1210 (Bug#13251).
1211 (command-line-1): Handle case where initial-buffer-choice
1212 specifies a function.
1213 * server.el (server-execute): Handle case where
1214 initial-buffer-choice specifies a function.
1215
e7d52a4d
LI
12162012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1217
1218 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1219 its own function.
1220 (smtpmail-try-auth-methods): Forget the user name/password if the
1221 login is unsuccessful (bug#12424).
1222
cdb07539
MA
12232012-12-22 Michael Albinus <michael.albinus@gmx.de>
1224
1ef5f225
MA
1225 * notifications.el (notifications-notify): Protect body with
1226 `with-demoted-errors'.
1227
96c052a5
SM
1228 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1229 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
1230 change.
1231
594f37aa
CY
12322012-12-21 Chong Yidong <cyd@gnu.org>
1233
1234 * sort.el (sort-subr): Doc fix (Bug#13056).
1235
a4b0cca1 12362012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 1237
acc650b8
BG
1238 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1239
0e9c7693
MA
12402012-12-21 Michael Albinus <michael.albinus@gmx.de>
1241
1242 * simple.el (process-file): Overwrite stderr file, if exists.
1243
c6609164
DU
12442012-12-21 Daiki Ueno <ueno@gnu.org>
1245
1246 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 1247 (epg-error): Set `error-message' property.
c6609164 1248
aa26f345
CY
12492012-12-21 Chong Yidong <cyd@gnu.org>
1250
34b4b7eb
CY
1251 * international/mule-cmds.el (read-char-by-name): Signal an error
1252 if the user does not supply a valid character (Bug#13177).
1253
aa26f345
CY
1254 * simple.el (transpose-subr-1): Preserve marker positions by
1255 changing the insertion sequence (Bug#13122).
1256
05c22d87
KD
12572012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1258
1259 * simple.el (kill-region): Deactivate mark even for empty regions
1260 (Bug#13169).
1261
f5733f87
CY
12622012-12-21 Chong Yidong <cyd@gnu.org>
1263
1264 * help-fns.el (describe-variable): Make sure we get the right
1265 buffer name (Bug#13105). Suggested by Kelly Dean.
1266
fab6916d
MM
12672012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1268
1269 * comint.el (comint-redirect-previous-input-string): New variable.
1270 (comint-redirect-setup, comint-redirect-cleanup)
1271 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1272 (comint-redirect-preoutput-filter): Fix verbose message.
1273
91b982a0
MA
12742012-12-20 Michael Albinus <michael.albinus@gmx.de>
1275
1276 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1277 is too long for Tramp. See discussion in
1278 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1279
1280 * progmodes/compile.el (compilation-start): Remove line escape
1281 template.
1282
87523aed
DA
12832012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1284
1285 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1286 Adjust comment.
1287
ee3c0aec
JB
12882012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1289
1290 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1291 following non-comment text (bug#13207).
1292 (lm-header-multiline): Continuation lines need to be indented more than
1293 the first line.
1294 (lm-homepage): New function.
1295 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 1296
4a74c818
SM
12972012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1298
f4d79bd0
SM
1299 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1300 very beginning of a hunk (e.g. killing the first line).
1301
3c532af6
MA
13022012-12-19 Michael Albinus <michael.albinus@gmx.de>
1303
1304 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1305 and text properties from returned ACL string.
1306 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1307 for "setfacl" command.
1308
e0d01ef3
MA
13092012-12-18 Michael Albinus <michael.albinus@gmx.de>
1310
1311 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1312 `tramp-cleanup-this-connection', when the process has died.
1313 (Bug#13151)
1314
2387610d
SM
13152012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
1318
19156242
KR
13192012-12-17 Kevin Ryde <user42@zip.com.au>
1320
1321 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
1322
53b6a8b1
MA
13232012-12-17 Michael Albinus <michael.albinus@gmx.de>
1324
1325 Add support for preserving ACL entries of files.
1326
1327 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
1328 `set-file-acl' handlers.
1329
19156242
KR
1330 * net/tramp-adb.el (tramp-adb-handle-copy-file):
1331 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1332
19156242
KR
1333 * net/tramp-compat.el (tramp-compat-copy-file):
1334 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1335
19156242
KR
1336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1337 Add `file-acl' and `set-file-acl' handlers.
1338 (tramp-gvfs-handle-copy-file):
1339 Handle PRESERVE-EXTENDED-ATTRIBUTES.
1340 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
1341 New defuns.
53b6a8b1 1342
19156242
KR
1343 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1344 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1345 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
1346 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
1347 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
1348 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 1349
19156242
KR
1350 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1351 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
1352 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
1353
6ae57a67
KD
13542012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1355
1356 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 1357 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
1358 *Metahelp* with a leading space (Bug#13190).
1359
7c3d167f
RF
13602012-12-16 Romain Francoise <romain@orebokech.com>
1361
1362 * files.el (file-extended-attributes)
1363 (set-file-extended-attributes): New functions.
1364 (backup-buffer): Use them to handle both SELinux context and ACL
1365 entries.
1366 (backup-buffer-copy): Work with an alist of extended attributes,
1367 rather than an SELinux context.
1368 (basic-save-buffer-2): Ditto.
1369
19b748ad
TM
13702012-12-16 Timo Myyrä <timo.myyra@gmail.com>
1371
1372 * battery.el (battery-bsd-apm): New function.
1373
70042c64
JB
13742012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
1375
1376 * calc/calc.el (calc-standard-date-formats): Adjust one of the
1377 standard date formats.
1378
279f9b06
JL
13792012-12-15 Juri Linkov <juri@jurta.org>
1380
1381 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
1382 `isearch-insert-char-by-name'.
1383 (with-isearch-suspended): New defmacro with body mostly from
1384 `isearch-edit-string' except the part that sets
1385 `isearch-new-string' and `isearch-new-message'.
1386 (isearch-edit-string): Use new macro `with-isearch-suspended' with
1387 body that sets `isearch-new-string' and `isearch-new-message'.
1388 (isearch-insert-char-by-name): New command.
1389 * international/mule-cmds.el (read-char-by-name): Let-bind
1390 `enable-recursive-minibuffers' to t.
1391 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
1392
8370def5
JL
13932012-12-15 Juri Linkov <juri@jurta.org>
1394
1395 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
1396 (Bug#13175)
1397
178fb95d
CS
13982012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
1399
1400 * dired-x.el (dired-guess-shell-command): Put colon at the end of
1401 the prompt. (Bug#13045)
1402
a5f74442
GM
14032012-12-14 Glenn Morris <rgm@gnu.org>
1404
1405 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
1406 Try to include filename in non-bytecomp warning. (Bug#13132)
1407
97976f9f
PE
14082012-12-14 Paul Eggert <eggert@cs.ucla.edu>
1409
1410 Fix permissions bugs with setgid directories etc. (Bug#13125)
1411 * files.el (backup-buffer): Don't rely on 9th output of
1412 file-attributes, as it's now a placeholder. Instead, use the new
1413 optional arg of file-ownership-preserved-p.
1414 (file-ownership-preserved-p): New optional arg GROUP.
1415 Fix mishandling of setuid directories that would cause this
1416 function to return t when it should have returned nil.
1417 Document what happens if the file does not exist, and when
1418 it's not known whether the ownership will be preserved.
1419 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
1420 Likewise.
1421 (tramp-get-local-gid): Use group-gid for integer, as that's
1422 faster and more reliable.
1423
016b2a42
JD
14242012-12-14 Julien Danjou <julien@danjou.info>
1425
19156242
KR
1426 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
1427 Update keywords list, data type and PL/pgSQL.
016b2a42 1428
665e5e07
DA
14292012-12-14 Dave Abrahams <dave@boostpro.com>
1430
1431 * vc/ediff-util.el (ediff-buffer-type): New function.
1432 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
1433 rather than taking it as as argument.
1434 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
1435
d72e9e92
RC
14362012-12-14 Ryan Crum <ryan.crum@eleostech.com>
1437
1438 * json.el: Add pretty-print option (bug#12634).
1439 (json-encoding-separator, json-encoding-default-indentation)
1440 (json--encoding-current-indentation, json-encoding-pretty-print)
1441 (json-encoding-lisp-style-closings): New vars.
1442 (json--with-indentation): New macro.
1443 (json-encode-hash-table, json-encode-alist, json-encode-plist)
1444 (json-encode-array): Use it to obey json-encoding-pretty-print.
1445 (json-pretty-print-buffer, json-pretty-print): New commands.
1446
dbb530d9
DG
14472012-12-14 Dmitry Gutov <dgutov@yandex.ru>
1448
1449 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1450 Extract `ruby-syntax-propertize-expansions'.
1451 (ruby-syntax-propertize-expansions): Only change syntax on
1452 certain string delimiters, to punctuation. This way the common
1453 functions like forward-word and thing-at-point still work.
1454 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
1455 (ruby-block-contains-point): New function.
1456 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 1457
ce0440ff
JB
14582012-12-13 Juanma Barranquero <lekktu@gmail.com>
1459
1460 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
1461 unload-feature finishes even when aborting an ongoing edebug session.
1462 Also, do not worry about edebug-mode, unload-feature takes care of it.
1463
f10331bf
AS
14642012-12-13 Andreas Schwab <schwab@suse.de>
1465
1466 * net/tls.el (tls-program): Update customize type.
1467
5f3a3bb1
JB
14682012-12-13 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
1471 (edebug-setup-hook, cl-read-load-hooks): Use it.
1472 (edebug-unload-function): New function. (Bug#13163)
1473
6ce21463
MA
14742012-12-13 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
1477 Otherwise, there could be errors in autoloading. (Bug#13151)
1478
d754b364
JH
14792012-12-13 Jürgen Hötzel <juergen@archlinux.org>
1480
1481 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
1482 sequences.
1483
727f9739 14842012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
1485
1486 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
1487 * progmodes/cc-engine.el (c-backward-comments): Add code to work
1488 around `forward-comment' not recognizing ^M as whitespace.
1489
727f9739 14902012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
1491
1492 * progmodes/python.el (python-skeleton-class)
1493 (python-skeleton-def): Do not add space after defun name.
1494
eb8006c6
SM
14952012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
1498 (cl--symbol-function): Remove (now that funbound is like nil).
1499
4c74b1e4
GM
15002012-12-12 Glenn Morris <rgm@gnu.org>
1501
1502 * button.el (button--area-button-p): Fix typo.
1503
37f38bca
SS
15042012-12-12 Sam Steingold <sds@gnu.org>
1505
1506 * frame.el (frame-maximization-style): New user option.
1507 (toggle-frame-maximized): Toggle frame maximization according to
1508 `frame-maximization-style', bound to <f11>.
1509 (cycle-frame-maximized): Cycle between all maximization styles and
1510 non-maximized frame, bound to shift-<f11>.
1511
fd49a218
DC
15122012-12-12 David Cadé <codename68@gmail.com>
1513
1514 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
1515
69e1c203
JB
15162012-12-12 Jonas Bernoulli <jonas@bernoul.li>
1517
1518 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
1519 (eieio-override-prin1): Don't quote kewords and booleans.
1520 (object-write) <eieio-default-superclass>: Don't put closing parens
1521 on new line, avoid needless empty lines, align values that are objects
1522 with the slot keyword (instead of beginning on the same line).
1523 (eieio-list-prin1): Align value with slot keyword; increase
1524 eieio-print-depth before printing members of the list.
1525
4b0df848
SM
15262012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1527
030f4af5
SM
1528 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
1529 a display text-property.
1530 (report-emacs-bug-hook): Don't bother deleting it any more.
1531
6ac1f8ca
SM
1532 * hilit-chg.el (highlight-save-buffer-state): Delete.
1533 Use with-silent-modifications instead.
1534 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
1535
4b0df848
SM
1536 * button.el: Handle buttons in display text-properties.
1537 (button--area-button-p, button--area-button-string):
1538 Use (STRING . STRING-POS) representation instead of just STRING.
1539
d46d2d3a
EZ
15402012-12-11 Eli Zaretskii <eliz@gnu.org>
1541
1542 * makefile.w32-in (compile4-SH): Fix a typo that caused term
1543 subdirectory be skipped.
1544
a0099d31
GM
15452012-12-11 Glenn Morris <rgm@gnu.org>
1546
36327e4f
GM
1547 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
1548
a0099d31
GM
1549 * progmodes/f90.el (f90-line-continued, f90-indent-region):
1550 Treat preprocessor lines embedded in continuations like comments.
1551 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
1552
ff3f6c26
JB
15532012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
1554
1555 * calc/calc.el (calc-standard-date-formats): Add more date
1556 formats.
1557 * calc/calc-forms.el (math-parse-iso-date): New function.
1558 (math-parse-date): Use `math-parse-iso-date' when appropriate.
1559 (math-parse-iso-date-validate): Add extra error checking.
1560 (calc-date-notation): Add ability to access new date formats.
1561
ed6f2cd4
SM
15622012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
1565 font-lock as well as when there's no text-property.
1566
c868b919
J
15672012-12-10 Jambunathan K <kjambunathan@gmail.com>
1568
1569 * hi-lock.el: Refine the choice of default face.
1570 (hi-lock-keyword->face): New function. Use it wherever we used
1571 cadadadr instead.
1572 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
1573 (hi-lock--last-face): Remove var.
1574 (hi-lock--unused-faces): New var to replace it.
1575 (hi-lock-read-face-name): Use/maintain it.
1576 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
1577 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
1578 if it has another face.
1579
2b8c9064
EZ
15802012-12-10 Eli Zaretskii <eliz@gnu.org>
1581
1582 * subr.el (w32notify-handle-event): New function.
1583 (inotify-handle-event): Doc fix.
1584
81606b10
RS
15852012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1586
1587 * subr.el (inotify-event-p, inotify-handle-event): New functions.
1588
265c2fbf 15892012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
1590
1591 * simple.el (just-one-space): Doc fix.
1592
265c2fbf 15932012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 1594
c868b919 1595 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 1596
265c2fbf 15972012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
1598
1599 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
1600 narrowed buffer (bug#12361).
1601
265c2fbf 16022012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
1603
1604 * vc/vc-hooks.el (vc-state): Doc fix.
1605
265c2fbf 16062012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
1607
1608 * mail/rmail.el (rmail-maybe-display-summary):
1609 Preserve buffer, in case select-window changes it. (Bug#13066)
1610
265c2fbf 16112012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
1612
1613 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
1614 cl-load-hook where they belong.
1615
bad162fd
SM
16162012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
1619
ca065258
EZ
16202012-12-09 Eli Zaretskii <eliz@gnu.org>
1621
1622 Parallelize byte compilation on MS-Windows.
1623 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 1624 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
1625 (WINS_BASIC): Define as concatenation of the above.
1626 (compile): Subdivide into 4 separate and independent jobs that can
1627 be run in parallel.
1628 (compile0-CMD, compile0-SH): New targets for compiling
1629 COMPILE_FIRST files, which are prerequisites for the rest of the
1630 byte-compilation.
bad162fd
SM
1631 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1632 New targets for parallel compilation with cmd.exe.
ca065258
EZ
1633 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1634 compiling under a Unixy shell.
1635
5dea55d2
CY
16362012-12-09 Chong Yidong <cyd@gnu.org>
1637
1638 * simple.el (set-mark-default-inactive): Delete this
1639 accidentally-introduced option.
1640 (set-mark-command, exchange-point-and-mark): Remove calls.
1641
c6c08d3f
GM
16422012-12-09 Glenn Morris <rgm@gnu.org>
1643
1644 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1645 Respect a defcustom's :set function, if appropriate. (Bug#109)
1646 (eval-defun): Doc fix.
1647
858aab4c
JL
16482012-12-08 Juri Linkov <juri@jurta.org>
1649
1650 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1651 (Info-fontify-node, Info-bookmark-make-record): Remove the
1652 file extension from Info-current-file (Bug#13016).
1653
2e4ad7e5
SM
16542012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1657 point, still provide some default.
1658 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1659 names, since we don't use it right now. Actually return the list.
1660 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1661
75498db0
CY
16622012-12-07 Chong Yidong <cyd@gnu.org>
1663
ffe7ba8f
CY
1664 * novice.el (disabled-command-function): Remove a spurious help
1665 xref (Bug#13043). Suggested by Kelly Dean.
1666
454eb095
CY
1667 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1668 syntax is specified (Bug#13025).
1669
75498db0
CY
1670 * info.el (Info-set-mode-line): Remove the file extension from
1671 Info-current-file if there is one (Bug#13016).
1672
13a40633
GM
16732012-12-07 Glenn Morris <rgm@gnu.org>
1674
54c8b5ba
GM
1675 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1676 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1677 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1678 and rmail-mime-decoded. (Bug#9841)
1679
13a40633
GM
1680 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1681 (batch-unrmail, unrmail): Doc fixes.
1682 (unrmail): Respect unrmail-mbox-format.
1683 * mail/rmail.el (rmail-mbox-format): New option.
1684 (rmail-show-message-1): Respect rmail-mbox-format.
1685
4611a3cc
SM
16862012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1689
1812c724
SM
16902012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1691
338bfefa
SM
1692 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1693 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1694 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1695 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1696 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1697 (cl-progv): Don't rely on dynamic scoping to find the body.
1698 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1699 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1700 (cl-declaim): Use backquotes.
1701 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1702 Use "cl--" prefix for the object's tag.
1703
1812c724
SM
1704 * ses.el: Use advice-add/remove.
1705 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1706 (copy-region-as-kill, yank): Use advice-add.
1707 (ses-unload-function): Use advice-remove.
1708
24fc9480
JB
17092012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1710
1711 * button.el: Make them work in header-lines (bug#12817).
1712 (button-map): Add bindings for header-line and mode-line use.
1713 (button-get, button-put, button-label): `button' may now be a string.
1714 (button-activate): Don't make it a defsubst.
1715 (button--area-button-p, button--area-button-string): New functions.
1716 (make-text-button): Fix the return value when `beg' was a string.
1717 (push-button): Handle the mode-line case.
1718
853c1ffc
SM
17192012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1720
93852cb0
SM
1721 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1722 (sql-signum): Remove. Use `cl-signum' instead.
1723 (sql-read-passwd): Remove; use read-passwd instread.
1724 (sql-get-login-ext): Use read-string.
1725 (sql-get-login): Use dolist and pcase.
1726 (sql--completion-table): Rename from sql-try-completion.
1727 Use complete-with-action.
1728 (sql-mode): Don't change abbrev-all-caps globally.
1729 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1730 (sql-postgres-completion-object): Initialize vars in their `let'.
1731 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1732 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1733 (sql-comint-interbase): Use a single append, without setq.
1734 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1735
853c1ffc
SM
1736 * hi-lock.el: Rework the default face and the serialize regexp code.
1737 (hi-lock--auto-select-face-defaults): Remove.
1738 (hi-lock-string-serialize-serial): Remove.
1739 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1740 make weak.
1741 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1742 equal string.
1743 (hi-lock-set-pattern): Adjust accordingly.
1744 (hi-lock--regexps-at-point): Simplify accordingly.
1745 (hi-lock--auto-select-face-defaults): Remove.
1746 (hi-lock--last-face): New var to replace it.
1747 (hi-lock-read-face-name): Rewrite (bug#11095).
1748 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1749
5504e2c7
MA
17502012-12-06 Michael Albinus <michael.albinus@gmx.de>
1751
853c1ffc
SM
1752 * net/tramp.el (tramp-replace-environment-variables):
1753 Hide compiler warning.
5504e2c7
MA
1754 (tramp-file-name-for-operation): Remove `executable-find',
1755 `start-process', `call-process' and `call-process-region'.
1756
853c1ffc 1757 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
1758
1759 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1760 compatibility.
1761
1762 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1763
e1d51545
CY
17642012-12-06 Chong Yidong <cyd@gnu.org>
1765
1766 * ffap.el (ffap-replace-file-component): Fix typo.
1767
d8ad4d3f 17682012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
1769
1770 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1771 fix open-paren-like token test (bug#12785).
1772
d8ad4d3f 17732012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
1774
1775 * mail/rmailsum.el (rmail-new-summary): Tweak for
1776 rmail-maybe-display-summary changing buffer. (Bug#13066)
1777
d8ad4d3f 17782012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
1779
1780 * info.el (Info-fontify-node): Don't hide the last newline.
1781 (Bug#12272)
1782
9ad948e2
KY
17832012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1784
1785 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1786 so as to enable message-read-from-minibuffer to expand mail aliases.
1787
4b5c89ee
SM
17882012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1791 the `intangible' property.
1792 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1793
5602a53a
DD
17942012-12-05 Deniz Dogan <deniz@dogan.se>
1795
1796 * net/rcirc.el (rcirc-urls): Update documentation.
1797 (rcirc-condition-filter): New function.
1798 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1799 and exclude consecutive duplicate URLs (Bug#6082).
1800
51b890ac
MA
18012012-12-05 Michael Albinus <michael.albinus@gmx.de>
1802
d5f97f62
MA
1803 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1804 Check return code of copy command.
1805
853c1ffc
SM
1806 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1807 Use group `tramp'. Add version.
51b890ac 1808
04b14f2b
CY
18092012-12-05 Chong Yidong <cyd@gnu.org>
1810
a3680194
CY
1811 * ffap.el (ffap-url-regexp): Don't require matching at front of
1812 string (Bug#4952).
1813 (ffap-url-p): If only a substring matches, return that.
1814 (ffap-url-at-point): Use the return value of ffap-url-p.
1815 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1816 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1817 (ffap-guess-file-name-at-point): Likewise.
1818 (ffap-replace-file-component): Fix typo.
1819
04b14f2b
CY
1820 * info.el (info-display-manual): Add existing Info buffers, whose
1821 files may not be in Info-directory-list, to the completion.
1822 (info--manual-names): New helper function.
1823
49596095
GM
18242012-12-05 Glenn Morris <rgm@gnu.org>
1825
1826 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1827 New functions, for detecting and resolving conflicts. (Bug#10709)
1828
b85aec93
J
18292012-12-04 Jambunathan K <kjambunathan@gmail.com>
1830
1831 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1832 (hi-lock-auto-select-face-defaults): New buffer local variable.
1833 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1834 (hi-lock-unface-buffer): Prompt user with useful defaults.
1835 With prefix arg, unhighlight all hi-lock patterns in buffer.
1836
8515507f
SM
18372012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1840
72cebfb7
MA
18412012-12-04 Michael Albinus <michael.albinus@gmx.de>
1842
1843 * Makefile.in (TRAMP_SRC):
1844 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1845
0ec3f7ea
JH
18462012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1847
1848 * net/tramp-adb.el: New package.
1849
770de7cf
CY
18502012-12-04 Chong Yidong <cyd@gnu.org>
1851
ce3e7725
CY
1852 * terminal.el: Move to obsolete/.
1853
770de7cf
CY
1854 * longlines.el: Move to obsolete/.
1855
1856 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1857 Remove code referring to longlines mode.
1858
c38a186c
JL
18592012-12-03 Juri Linkov <juri@jurta.org>
1860
1861 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1862
329bfd64
AM
18632012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1864
1865 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
1866 (ispell-start-process, ispell-internal-change-dictionary):
1867 Make sure personal dictionary name is expanded after initial
1868 `default-directory' value. Use expanded strings for
1869 keep/restart checks and for value (Bug#13019).
329bfd64 1870
77a74935
JB
18712012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1872
1873 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1874
c5bc2d1d 18752012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
1876
1877 * files.el (dir-locals-read-from-file): Check file non-empty
1878 before reading. (Bug#13038)
1879
c5bc2d1d 18802012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
1881
1882 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1883 Remove any version extension before checking filename. (Bug#13006)
1884 (jka-compr-compression-info-list): Belated :version bump.
1885
c5bc2d1d 18862012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 1887
8ecba97d
CY
1888 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1889
a5bf43ba
CY
1890 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1891 (buffer-menu): Doc fix (Bug#12294).
1892
c5bc2d1d 18932012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
1894
1895 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1896 of diary-show-all-entries in the diary buffer (Bug#12994).
1897
c5bc2d1d 18982012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
1899
1900 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1901 "<STDIN>". This is binary safe.
1902
682ceaf8
JB
19032012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1904
1905 * calc/calc-forms.el (math-absolute-from-iso-dt)
1906 (math-date-to-iso-dt, math-parse-iso-date-validate)
1907 (math-iso-dt-to-date): New functions.
1908 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1909 (math-fd-isoweekday): New variables.
1910 (calc-date-notation, math-parse-standard-date, math-format-date)
1911 (math-format-date-part): Add support for more formatting codes.
1912
db47d5e9
DG
19132012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1916 current buffer's file name when called interactively (Bug#12488).
1917
3faf4944
JL
19182012-12-02 Juri Linkov <juri@jurta.org>
1919
1920 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 1921 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 1922
cb5d51dc
YN
19232012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1924
1925 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1926 before using it for comparison (Bug#5297).
1927
f38cd76e
JA
19282012-12-01 Jari Aalto <jari.aalto@cante.net>
1929
1930 * textmodes/css-mode.el (css-current-defun-name): New function.
1931 (css-mode): Use it.
1932
1933 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1934 (html-mode): Use it.
1935
ba03d0d9
CY
19362012-12-01 Chong Yidong <cyd@gnu.org>
1937
1938 Modularize add-log-current-defun (Bug#2224).
1939 Suggested by Jari Aalto.
1940
1941 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1942 (add-log-current-defun): Move mode-specific code to other files.
1943 (add-log-lisp-like-modes, add-log-c-like-modes)
1944 (add-log-tex-like-modes): Variables deleted.
1945
1946 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1947 (lisp-mode-variables): Use it.
1948
1949 * progmodes/cc-mode.el (c-common-init):
1950 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1951 add-log-current-defun-function.
1952
1953 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1954 (m4-mode): Use it.
1955
1956 * progmodes/perl-mode.el (perl-current-defun-name): New.
1957 (perl-mode): Use it.
1958
853c1ffc
SM
1959 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1960 Use lisp-current-defun-name.
ba03d0d9
CY
1961
1962 * textmodes/tex-mode.el (tex-current-defun-name): New.
1963 (tex-common-initialization): Use it.
1964
1965 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1966 (texinfo-mode): Use it.
1967
92eadba5
CY
19682012-12-01 Chong Yidong <cyd@gnu.org>
1969
1970 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1971 * progmodes/autoconf.el (autoconf-mode):
1972 * progmodes/js.el (js-mode):
1973 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1974 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1975 * progmodes/perl-mode.el (perl-mode):
1976 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1977 * textmodes/css-mode.el (css-mode):
1978 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1979 (sgml-tags-invisible, sgml-guess-indent):
1980 * textmodes/tex-mode.el (tex-common-initialization)
1981 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1982 (doctex-mode, plain-tex-mode, latex-mode):
1983 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1984
3ddbf803
KK
19852012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1986
1987 * vc/vc-hg.el (vc-hg-next-revision):
1988 Ensure use of default "tip" output format. (Bug#6968)
1989
f0b6ae63
KS
19902012-12-01 Kim F. Storm <storm@cua.dk>
1991
1992 * startup.el (fancy-startup-tail): Add a clickable link
1993 (Bug#2176).
1994
c01bf73e
CY
19952012-12-01 Chong Yidong <cyd@gnu.org>
1996
1997 * startup.el (fancy-startup-tail): Improve the message about
1998 auto-save files (Bug#2176).
1999
f0b6ae63
KS
2000 * files.el (recover-session): Improve the descriptive message, and
2001 use substitute-command-keys.
2002
a9400458
GM
20032012-12-01 Glenn Morris <rgm@gnu.org>
2004
2005 * ido.el (ido-file-internal):
2006 Handle other-window, other-frame for dired. (Bug#13036)
2007
fb3bf6ce
GM
20082012-11-30 Glenn Morris <rgm@gnu.org>
2009
2010 * icomplete.el (icomplete-separator): Fix :version.
2011
a813fe3f
CY
20122012-11-30 Chong Yidong <cyd@gnu.org>
2013
2014 * shell.el (shell): For C-u M-x shell, use an inactive shell
2015 buffer as the default (Bug#1975).
276479fd
CY
2016 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2017 (shell-mode): Use them to reapply ansi colorization if Shell mode
2018 is re-enabled.
a813fe3f 2019
a8b733a5
CY
20202012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2021
2022 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2023
6fccd6e8
SB
20242012-11-30 Samuel Bronson <naesten@gmail.com>
2025
2026 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2027 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2028
53c9a337
TT
20292012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2030
2031 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2032 by move-to-column (Bug#3234).
2033
ccf520bb
CY
20342012-11-30 Chong Yidong <cyd@gnu.org>
2035
2036 * longlines.el (longlines-wrap-line, longlines-encode-region):
2037 Preserve text properties (Bug#1425).
2038
171b0949
OT
20392012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2040
2041 * vc/vc.el (vc-register): Allow registering a file which is
2042 already registered with a different backend (Bug#10589).
2043
cc37e70f
J
20442012-11-29 Jambunathan K <kjambunathan@gmail.com>
2045 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * icomplete.el: Change separator; add ido-style commands.
2048 (icomplete-show-key-bindings): Remove custom var.
2049 (icomplete-get-keys): Remove function.
2050 (icomplete-forward-completions, icomplete-backward-completions):
2051 New commands.
2052 (icomplete-minibuffer-map): New var.
2053 (icomplete-minibuffer-setup): Use it.
2054 (icomplete-exhibit): Don't delay if the list of completions is known.
2055 (icomplete-separator): New custom.
2056 (icomplete-completions): Use it.
2057 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2058 (minibuffer-force-complete-and-exit): New command.
2059 (minibuffer--complete-and-exit): New function extracted from
2060 minibuffer-complete-and-exit.
2061 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
2062
2063 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2064 error message when the file doesn't exist (bug#12974).
2065
31646597
KD
20662012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2067
2068 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2069
e9df8f87
GM
20702012-11-29 Glenn Morris <rgm@gnu.org>
2071
824eefe4
GM
2072 * files.el (hack-dir-local-variables): Warn if try to set
2073 coding via dir-locals, since it doesn't work. (Bug#7169)
2074
4ad900d9
GM
2075 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2076 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2077 Set buffer-local value of desktop-save-buffer.
2078 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2079 New functions.
2080 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2081 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2082
e9df8f87
GM
2083 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2084 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2085 Doc fix.
2086 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2087 Doc fixes.
2088
e7c8fcc4
JB
20892012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2090
2091 * calc/calc-forms.el (calc-date-notation): Fix regexp
2092 used to find time codes. Fix symbol for seconds.
2093
48d6d9c0
GM
20942012-11-27 Glenn Morris <rgm@gnu.org>
2095
2096 * emacs-lisp/derived.el (derived-mode-make-docstring):
2097 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2098
369f945d
SM
20992012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2102 lexically scoped variables (bug#13005).
2103
5c9cf0a3 21042012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 2105
999e745e
GM
2106 * vc/vc-hooks.el (vc-mistrust-permissions):
2107 Default to t, to avoid data-loss. (Bug#11490)
98f99594 2108
5c9cf0a3 21092012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 2110
999e745e
GM
2111 * progmodes/python.el (python-indent-guess-indent-offset):
2112 If indentation is guessed make python-indent-offset buffer-local.
2113
207cb73c 2114 Fix Imenu regression.
999e745e
GM
2115 * progmodes/python.el (python-nav-beginning-of-defun):
2116 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
2117 (python-imenu-prev-index-position): New function.
2118
5c9cf0a3 21192012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
2120
2121 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2122
2123 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 2124 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 2125
5c9cf0a3 21262012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
2127
2128 * hippie-exp.el (hippie-expand-try-functions-list):
2129 Re-autoload it. (Bug#12982)
2130
5c9cf0a3 21312012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 2132
369f945d
SM
2133 * descr-text.el (describe-char-padded-string):
2134 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 2135
5c9cf0a3 21362012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
2137
2138 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2139 and obsoletion message.
2140
5c9cf0a3 21412012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
2142
2143 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2144 the constructs to keep outside of the `cl-block' (bug#12977).
2145
5c9cf0a3 21462012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
2147
2148 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2149 keep reading until we get the up-event anyway, in order to process
2150 the up-event for mouse-1-click-follows-link (Bug#12971).
2151
848a2dd1
SM
21522012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2155 base function is not yet defined (bug#12965).
2156 (ad-activate-advised-definition): Use ad-compile-function.
2157 (ad-activate): Use cond.
2158
9ad79506
LL
21592012-11-25 Leo Liu <sdl.web@gmail.com>
2160
2161 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2162 (Bug#12979)
2163
e2cb57f5
VB
21642012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2165
2166 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2167 reftex-section-info-function in order to be compatible with
2168 Texinfo integration.
2169
2170 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
2171 (reftex-section-post-regexp, reftex-section-info-function):
2172 New variable.
2173 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2174 reftex-section-post-regexp, and reftex-section-info-function in order
2175 to be compatible with Texinfo integration.
2176
2177 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2178 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
2179 Texinfo integration.
2180
1c4f115d
CY
21812012-11-25 Chong Yidong <cyd@gnu.org>
2182
2183 * faces.el: Make face-spec-set more analogous to setq.
2184 (face-spec-set): Change the third arg to specify whether this
2185 function is being called via defface, customize, or a third party.
2186 Set the appropriate symbol properties. Clear the override spec if
2187 setting via Custom. Initialize face if necessary. (Bug#4988)
2188 (face-spec-recalc): Allow theme faces to completely replace the
2189 defface spec, in the same way as custom faces (Bug#8454).
2190
2191 * cus-face.el (custom-declare-face): Move face initialization to
2192 face-spec-set.
2193 (custom-theme-set-faces): Don't initialize the face name here, as
2194 that is now done in face-spec-set.
2195
2196 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2197 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2198 Simplify by using the new arg to face-spec-set.
2199
2200 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2201 reset face-override-spec too, and use custom-declare-face.
2202
c2350548
JD
22032012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2204
2205 * term/ns-win.el (ns-initialize-window-system): Move creation of
2206 fontsets here (Bug#11964).
2207
ecfc364c
VB
22082012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2209
2210 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2211 cell renaming.
2212
0917cc54
CY
22132012-11-24 Chong Yidong <cyd@gnu.org>
2214
433212bf
CY
2215 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2216 obsolete.
2217
0917cc54
CY
2218 * custom.el (custom-theme-set-variables): Use a topological sort
2219 for ordering by custom dependencies (Bug#12952).
2220 (custom--sort-vars, custom--sort-vars-1): New functions.
2221
d125ca15 22222012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
2223
2224 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2225 lexical-binding (bug#12938).
2226
d125ca15 22272012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
2228
2229 * image-mode.el (image-transform-check-size): Use assertions only
2230 for images of type imagemagick.
2231
2232 Otherwise no error, image-transform-fit-to-{width,height} is
2233 silently ignored, as before. Doc fix.
2234
d125ca15 22352012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
2236
2237 * faces.el (color-defined-p): Doc fix (Bug#12853).
2238
d125ca15 22392012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
2240
2241 * dired.el (dired-mark): Add optional arg `interactive'.
2242 Check for `use-region-p' if `interactive' is non-nil.
2243 (dired-unmark, dired-flag-file-deletion): Add optional arg
2244 `interactive'. Call `dired-mark' with the arg `interactive'.
2245 (Bug#10624)
2246
cc4c01bd
JL
2247 * wdired.el: Revert 2012-10-17 change partly and replace it with
2248 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2249 (wdired-finish-edit): Add marks for new file names to
2250 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2251 after `revert-buffer'.
2252 (wdired-do-renames): Remove calls to `dired-remove-file',
2253 `dired-add-file', `dired-add-entry'. (Bug#11795)
2254
d125ca15 22552012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 2256
dc310ed0
AM
2257 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2258
b03aabda
AM
2259 Fix bugs in the state cache. Enhance a debugging mechanism.
2260 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2261 "brace at column zero" strategy for C++.
2262 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2263 (c-parse-state-point): New variable.
2264 (c-record-parse-state-state): Record old parse state with
2265 `copy-tree'. Record previous value of point.
2266 (c-debug-parse-state-double-cons): New debugging function.
2267 (c-debug-parse-state): Call the above new function.
2268 (c-toggle-parse-state-debug): Output a confirmatory message.
2269
002c019c
SM
2270 * progmodes/cc-mode.el (c-before-change, c-after-change):
2271 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
2272 `c-after-change'.
2273
930a6273
CY
22742012-11-23 Chong Yidong <cyd@gnu.org>
2275
2276 * find-cmd.el (find-constituents): Add executable, ipath,
2277 readable, samefile, writable, daystart, regextype (Bug#12856).
2278
15c9d04e
SM
22792012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2282
2ecb2679
PE
22832012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2284
2285 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2286 definition. This fixes a bootstrap failure.
a14a5a40
PE
2287 (calc-gregorian-switch): In menu, put dates before regions.
2288 This is easier to follow, lines up better in the menu, and lets us
2289 coalesce regions that switch at the same time. Give country
15c9d04e
SM
2290 names, not "Vatican", as that's better for non-expert users.
2291 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
2292 Bohemia and Moravia (which existed then and now) and not
2293 Czechoslovakia (which didn't exist then and doesn't exist now).
2294 What is now the U.S. mostly did not switch at the same time as
2295 Britain, so omit the U.S. Correct spelling of "Britain".
2296 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 2297
723da6aa
JB
22982012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2299
2300 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2301 after the variable is changed.
2302
21fa2482
DC
23032012-11-21 Daniel Colascione <dancol@dancol.org>
2304
2305 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
2306 in SQL declarations for font-lock.
2307 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 2308
3ca2f1bf
GM
23092012-11-21 Glenn Morris <rgm@gnu.org>
2310
1bf335cf
GM
2311 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2312 (face-italic-p): Add optional argument "inherit".
2313
3ca2f1bf
GM
2314 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2315 Remove -p suffix from names, for consistency with other set-face-*.
2316 (set-face-inverse-video): Fix interactive spec.
2317 * play/gamegrid.el (gamegrid-make-mono-tty-face):
2318 * textmodes/table.el (table--update-cell-face):
2319 Use set-face-inverse-video rather than now obsolete alias.
2320
6ef2e5ef 23212012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
2322
2323 * simple.el (line-move): Don't call line-move-partial if
2324 scroll-conservatively is in effect. (Bug#12927)
2325
6ef2e5ef 23262012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 2327
93b05041
SM
2328 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
2329 Fallback on completion-at-point rather than
2330 pcomplete-expand-and-complete, and only if pcomplete actually failed.
2331 (eshell-cmpl-initialize): Setup completion-at-point.
2332
2333 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
2334
bc715d67
SM
2335 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
2336
6ef2e5ef 23372012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
2338
2339 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
2340 are remote, check out-of-band property for both.
2341
6ef2e5ef 23422012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
2343
2344 * window.el (switch-to-buffer): Re-add the warning that was lost in the
2345 code rewrite.
2346
6ef2e5ef 23472012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 2348
535efd4a
PE
2349 More minor time fixes.
2350 * calendar/time-date.el: Commentary fix.
2351 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
2352 too much other code depends on (0 0) time stamps.
2353 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
2354 Add a couple of FIXME comments.
2355
0c93aa38
PE
2356 Minor cleanup for times as lists of four integers.
2357 * files.el (dir-locals-directory-cache):
2358 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
2359 Doc fixes.
2360 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
2361 * ps-bdf.el (bdf-file-newer-than-time):
2362 Process four-integers time stamps, not two. Doc fixes.
2363
23ba2705
SM
23642012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2e31777b
SM
2366 * uniquify.el (uniquify-managed): Use defvar-local.
2367 (rename-buffer, create-file-buffer): Advise with advice-add.
2368 (uniquify-unload-function): Unadvise accordingly.
2369
8b62d742
SM
2370 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
2371 (trace-buffer): Don't purecopy.
2372 (trace-entry-message, trace-exit-message): Add `context' arg.
2373 (trace--timer): New var.
2374 (trace-make-advice): Adjust for use in nadvice.
2375 Add `context' argument. Delay `display-buffer' via a timer.
2376 (trace-function-internal): Use advice-add.
2377 (trace--read-args): New function.
2378 (trace-function-foreground, trace-function-background): Use it.
2379 (trace-function): Rename to trace-function-foreground and redefine as
2380 an alias to that new name.
2381 (untrace-function, untrace-all): Adjust to the use of nadvice.
2382
5d0ccd95
SM
2383 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
2384
3837d988
SM
2385 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
2386
23ba2705
SM
2387 * subr.el (called-interactively-p-functions): New var.
2388 (internal--called-interactively-p--get-frame): New macro.
2389 (called-interactively-p, interactive-p): Rewrite in Lisp.
2390 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
2391 (called-interactively-p-functions): Use it.
2392 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
2393 (called-interactively-p-functions): Use it.
2394 * allout.el (allout-called-interactively-p): Don't assume
2395 called-interactively-p is a subr.
2396
b0636be7
GM
23972012-11-20 Glenn Morris <rgm@gnu.org>
2398
2399 * profiler.el (profiler-report-mode-map): Add a menu.
2400 No need to bind `q' because we derive from special-mode.
2401 (profiler-report-find-entry): Handle calls from the menu-bar.
2402
855b17af
SM
24032012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2404
14146222
SM
2405 * emacs-lisp/byte-run.el (defun-declarations-alist):
2406 Allow a compiler-macro to be a lambda expression.
2407
2408 * progmodes/python.el: Use cl-lib. Move var declarations outside of
2409 eval-when-compile.
2410 (python-syntax-context): Add compiler-macro.
2411 (python-font-lock-keywords): Simplify with De Morgan.
2412
1000d895
SM
2413 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
2414
ac5392dc
SM
2415 * files.el (load-file): Require match in minibuffer selection, as was
2416 the case in Emacs-20 before we changed the spec to allow .elc files
2417 (bug#12935).
2418
19dc7206
SM
2419 * json.el: Don't require cl since we don't use it.
2420 * color.el: Don't require cl.
2421 (color-complement): `caddr' -> `nth 2'.
2422
855b17af
SM
2423 * calendar/time-date.el (time-to-seconds): De-obsolete.
2424
e8909bdc
JB
24252012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2426
2427 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
2428 year numbers.
2429 (math-date-to-julian-dt): Adjust the initial approximation for the
2430 year to deal with the new definition of the DATE.
2431
6e9f7997
DC
24322012-11-19 Daniel Colascione <dancol@dancol.org>
2433
855b17af
SM
2434 * term/w32-win.el (cygwin-convert-path-from-windows):
2435 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 2436
6a3dd257
CY
24372012-11-18 Chong Yidong <cyd@gnu.org>
2438
2439 * filecache.el (file-cache--read-list): New function.
2440 (file-cache-add-directory-list, file-cache-add-file-list)
2441 (file-cache-delete-file-list, file-cache-delete-directory-list):
2442 Use it to read a list of files or directories (Bug#12846).
2443 (file-cache-add-file, file-cache-add-directory)
2444 (file-cache-delete-file-list, file-cache-delete-file-regexp)
2445 (file-cache-delete-directory): Print an message.
2446
eef97f35
JB
24472012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
2448
2449 * calc/calc-forms.el (math-date-to-dt): Use integer date when
2450 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
2451
913c8291
GM
24522012-11-18 Glenn Morris <rgm@gnu.org>
2453
2454 * image.el (insert-image, insert-sliced-image): Doc fix.
2455
2ac9538d 24562012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
2457
2458 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
2459 (Bug#12810).
2460
2ac9538d 24612012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
2462
2463 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
2464 response when the target file is in a subdirectory (Bug#12757).
2465
2ac9538d 24662012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
2467
2468 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
2469
2ac9538d 24702012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 2471
9a5e2ee3
GM
2472 * emacs-lisp/cl-lib.el (face-underline-p):
2473 Use set-face-underline rather than the alias set-face-underline-p.
2474
65463c40 2475 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
2476 * subr.el (with-output-to-temp-buffer):
2477 Add doc xref to with-temp-buffer-window.
65463c40 2478
c9ed8e3d
JB
24792012-11-18 Juanma Barranquero <lekktu@gmail.com>
2480
2481 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
2482 * calc/calc.el (math-format-date-cache): Declare.
2483
310e60d9
PE
24842012-11-17 Paul Eggert <eggert@cs.ucla.edu>
2485
6f6b82d6
PE
2486 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
2487 It also uses January 1, 1 AD as its day number 1.
310e60d9 2488 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 2489 (math-julian-date-beginning-int): Implement this.
310e60d9 2490
d7fe6352
JB
24912012-11-17 Juanma Barranquero <lekktu@gmail.com>
2492
2493 * descr-text.el (quail-find-key):
2494 * dired.el (desktop-file-name):
2495 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
2496 * generic-x.el (comint-mode, comint-exec):
2497 * image-dired.el (widget-forward):
2498 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
2499 (speedbar-change-expand-button-char)
2500 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
2501 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
2502 * printing.el (easy-menu-add-item, easy-menu-remove-item)
2503 (widget-field-action, widget-value-set):
2504 * speedbar.el (imenu--make-index-alist):
2505 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
2506 (ring-length, ring-insert):
2507 * vcursor.el (compare-windows-skip-whitespace):
2508 * woman.el (dired-get-filename):
2509 Declare functions.
2510
2511 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
2512
c9f618db
JB
25132012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2514
2515 * calc/calc.el (calc-gregorian-switch): New variable.
2516
2517 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
2518 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
2519 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
2520 (math-leap-year-p): Add option to distinguish between Julian
2521 and Gregorian calendars.
2522 (math-day-number): Use `math-day-in-year' to do the computations.
2523 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
2524 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
2525 to do the computations.
2526 (math-date-to-dt): Use `math-date-to-julian-dt' and
2527 `math-date-to-gregorian-dt' to do the computations.
2528 (calcFunc-weekday, math-format-date-part): Use the new version of
2529 the DATE to determine the weekday.
2530 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
2531 when necessary.
2532
3804f7bc
EZ
25332012-11-17 Eli Zaretskii <eliz@gnu.org>
2534
2535 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
2536 Cygwin; otherwise use 'file:'. (Bug#12914)
2537 (cygwin-convert-path-from-windows): Declare, to avoid
2538 byte-compiler warnings.
2539
de959d4d
AP
25402012-11-17 Andreas Politz <politza@fh-trier.de>
2541
2542 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
2543 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
2544 prefix and negative numeric prefix args (Bug#12795).
2545
e45deaef
SB
25462012-11-17 Stephen Berman <stephen.berman@gmx.net>
2547
2548 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
2549 Don't signal an error with a score that is too low to add to the
2550 list of top scores. (Bug#12779)
2551
ec15e0ff
CY
25522012-11-17 Chong Yidong <cyd@gnu.org>
2553
8e7696a1
CY
2554 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
2555
ec15e0ff
CY
2556 * filecache.el (file-cache-add-file): Handle relative file name in
2557 the argument (Bug#12694).
2558
60c4ee66
JH
25592012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2560
2561 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
2562
cdc5d88c
SM
25632012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2564
dd0c5bbb
SM
2565 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
2566
cdc5d88c
SM
2567 * emacs-lisp/cl-lib.el: Set more meaningful version number.
2568
0ff7851c
MR
25692012-11-16 Martin Rudalics <rudalics@gmx.at>
2570
2571 * window.el (enlarge-window, shrink-window): Don't mention return
2572 value in doc-string (Bug#12896).
2573 (window--display-buffer): Don't resize frames - it won't work
2574 with all window managers and defeat pop-up-frame-alist.
2575 (display-buffer-alist): In doc-string explain that CONDITION can
2576 be a function and which arguments are passed to it (Bug#12854).
2577 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
2578 expressions (Bug#12854).
2579 (display-buffer): Pass ACTION argument to
2580 display-buffer-assq-regexp.
2581
dedd1884
GM
25822012-11-16 Glenn Morris <rgm@gnu.org>
2583
7c82753d
GM
2584 * window.el (fit-frame-to-buffer-bottom-margin)
2585 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
2586
dedd1884
GM
2587 * faces.el (face-underline-p): Use face-attribute-specified-or.
2588
96e05507 25892012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
2590
2591 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
2592
96e05507 25932012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
2594
2595 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
2596
96e05507 25972012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 2598
17c083ac
GM
2599 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
2600 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
2601
bde3c6c0
GM
2602 * faces.el (face-underline-p): Doc fix. Handle :underline being
2603 things other than `t' (a string, a list).
2604 (face-inverse-video-p): Doc fix.
2605 (set-face-underline): Rename it back from set-face-underline-p.
2606 Doc fix. Allow interactive input of values other than t.
2607 (read-face-attribute): Apply formatting to :underline,
2608 since like :box and :stipple it can take list values.
2609
e2e13f18
GM
2610 * term.el (ansi-term): Don't let C-x escape-char binding
2611 clobber the more standard C-c binding. (Bug#12842)
2612
e0ea8060
GM
2613 * subr.el (set-temporary-overlay-map): Doc fix.
2614
96e05507 26152012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
2616
2617 * window.el (record-window-buffer)
2618 (display-buffer-record-window): When copying the markers to
2619 window-point preserve window-point-insertion-type. (Bug#12588)
2620
96e05507 26212012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
2622
2623 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2624 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
2625 Use new names for hooks rather than obsolete aliases.
2626
faeafc01
DC
26272012-11-15 Daniel Colascione <dancol@dancol.org>
2628
2629 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
2630 prefix instead of "file:" so that when FILE-NAME begins with "//",
2631 as it does when the target file is on a network share, url-handler
2632 isn't confused.
2633
1232d6c2
SM
26342012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2637 a preactivated advice from an old advice.el; they're not compatible!
2638
47f01a8a
KY
26392012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2640
2641 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2642 Fix string-spec case.
2643
2644 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2645
a61428c4
SM
26462012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2649 (advice--buffer-local-function-sample): New var.
2650 (advice--set-buffer-local, advice--buffer-local): New functions.
2651 (add-function, remove-function): Use them.
2652
875ce3a7
DA
26532012-11-15 Drew Adams <drew.adams@oracle.com>
2654
2655 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2656
589fc479
SM
26572012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2660 potential binding of print-gensym to t, and prettify (back)quotes in
2661 case they appear in args's default values (bug#12884).
2662
1668ea90
SM
26632012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2666 (advice-eval-interactive-spec): New function.
2667 (advice--make-interactive-form): Support around advice (bug#12844).
2668
8619323f
DG
26692012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2670
2671 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2672 more strict. Add docstring.
c62792e7
DG
2673 (ruby-expression-expansion-re): Extract from
2674 `ruby-match-expression-expansion'.
2675 (ruby-syntax-propertize-function): After everything else, search
2676 for expansions in string literals, mark their insides as
2677 whitespace syntax and save match data for font-lock.
2678 (ruby-font-lock-keywords): Use the 2nd group from expression
2679 expansion matches.
2680 (ruby-match-expression-expansion): Use the match data saved to the
2681 text property in ruby-syntax-propertize-function.
8619323f 2682
9c3912d3
SM
26832012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2686 (bug#12879).
2687
5e9419e8
DG
26882012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2689
2690 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2691 start/end keyword a bit harder. Works with different values of N.
2692 Add more comments.
2693 (ruby-end-of-block): Update accordingly.
2694
3c442f8b
SM
26952012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2696
fa470af0
SM
2697 * woman.el (woman-file-name): Don't mess with unread-command-events
2698 (bug#12861).
2699
3c442f8b
SM
2700 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2701 Remove out of date self-require hack.
2702 (ad-do-advised-functions): Use simple `dolist'.
2703 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2704 (ad-advice-definition): Redefine as functions.
2705 (ad-advice-classes): Move before first use.
2706 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 2707 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 2708 (ad--defalias-fset): Remove functions.
fa470af0 2709 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
2710 (ad-get-orig-definition): Rewrite.
2711 (ad-make-advised-definition-docstring): Change base docstring.
2712 (ad-real-orig-definition): Rewrite.
2713 (ad-map-arglists): Change name of called function.
2714 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2715 (ad-make-advised-definition): Simplify.
2716 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 2717 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
2718 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2719 function and call ad-activate if needed.
2720 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2721 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2722 (ad-compile-function): Compile ad-Advice-*.
2723 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2724 (ad-start-advice, ad-stop-advice): Remove.
2725
5745cae6
DG
27262012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2727
2728 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2729 period before class method names, not after. Remove handling of
2730 one impossible case. Add comments.
2731
413d4689
SM
27322012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2733
7db1bda8
SM
2734 * emacs-lisp/advice.el: Remove support for freezing.
2735 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2736 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2737 Remove support for `freeze'.
2738
413d4689
SM
2739 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2740 override the default.
2741 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2742 cl--dotimes/dolist.
2743 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2744 `cl' is loaded.
2745
2746 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2747 from add-advice.
2748 (advice--strip-macro): New function.
2749 (advice--defalias-fset): Use them to handle macros.
2750 (advice-add): Use them.
2751 (advice-member-p): Correctly handle macros.
2752
f178c32d
DG
27532012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2754
7db1bda8
SM
2755 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2756 Never font-lock the beginning of singleton class as heredoc.
f178c32d 2757
f78ee6af 27582012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
2759
2760 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2761
f78ee6af 27622012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
2763
2764 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
2765 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2766 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 2767
f78ee6af 27682012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
2769
2770 Fix end-of-defun misbehavior.
2771 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2772 python-beginning-of-defun-function. Handle nested defuns
2773 correctly.
2774 (python-nav-end-of-defun): Rename from
2775 python-end-of-defun-function. Ensure forward movement.
f8705f6e 2776 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
2777 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2778 parent defuns as soon as possible.
2779
f78ee6af 27802012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
2781
2782 * progmodes/flymake.el (flymake-error-bitmap)
2783 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2784 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2785
f78ee6af 27862012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
2787
2788 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2789 backward, always stop at indentation. Reverts the change from
2790 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2791
f78ee6af 27922012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 2793
a1d3e07e
GM
2794 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2795 Add ibuffer-filter-by-derived-mode.
2796
84acf328
GM
2797 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2798 the same name shadowing each other.
2799
38785e75
GM
2800 * window.el (with-temp-buffer-window): Doc tweak.
2801
57fc0fee
GM
2802 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2803
6ba6a3e5
GM
2804 * help.el (temp-buffer-max-height):
2805 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
2806 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2807
231d8498
SM
28082012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * emacs-lisp/nadvice.el: New package.
2811 * subr.el (special-form-p): New function.
2812 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2813 (elp-all-instrumented-list): Remove var.
2814 (elp-not-profilable): Remove elp-wrapper.
2815 (elp-profilable-p): Use autoloadp and special-form-p.
2816 (elp--advice-name): New const.
2817 (elp-instrument-function): Use advice-add.
2818 (elp--instrumented-p): New predicate.
2819 (elp-restore-function): Use advice-remove.
2820 (elp-restore-all, elp-reset-all): Use mapatoms.
2821 (elp-set-master): Use elp--instrumented-p.
2822 (elp--make-wrapper): Rename from elp-wrapper, return a function
2823 suitable for advice-add. Use cl-inf.
2824 (elp-results): Use mapatoms+elp--instrumented-p.
2825 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2826 (debug-function-list): Remove var.
2827 (debug): Rename arg, and then let-bind it explicitly inside.
2828 (debugger-setup-buffer): Rename arg.
2829 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2830 (debugger-frame-number): Adjust to new debug-on-entry setup.
2831 (debug--implement-debug-on-entry): Rename from
2832 implement-debug-on-entry, add argument.
2833 (debugger-special-form-p): Remove, use special-form-p instead.
2834 (debug-on-entry): Use advice-add.
2835 (debug--function-list): New function.
2836 (cancel-debug-on-entry): Use it, along with advice-remove.
2837 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2838 (debugger-list-functions): Use debug--function-list instead of
2839 debug-function-list.
2840 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2841 (ad-special-form-p): Remove, use special-form-p instead.
2842 (ad-set-advice-info): Use add-function and remove-function.
2843 (ad--defalias-fset): Adjust accordingly.
2844
19e09879
GM
28452012-11-10 Glenn Morris <rgm@gnu.org>
2846
714cebd1
GM
2847 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2848 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2849 (report-emacs-bug-create-existing-bugs-buffer)
2850 (report-emacs-bug-parse-query-results)
2851 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2852
bf67dafa
GM
2853 * term.el (term-default-fg-color, term-default-bg-color):
2854 Make obsolete, rather than just saying "deprecated" in the doc.
2855
19e09879
GM
2856 * term.el (term): Rename from `term-face'.
2857 (term-current-face, ansi-term-color-vector)
2858 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2859 Update all users.
2860
6baf66d5 28612012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
2862
2863 * server.el (server-create-window-system-frame): Handle Nextstep
2864 specially (Bug#12780).
2865
6baf66d5 28662012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
2867
2868 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2869 Unautoload, and make obsolete. (Bug#7449)
2870
6baf66d5 28712012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
2872
2873 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2874 rename from diff-remove-trailing-whitespace (Bug#12831).
2875
6baf66d5 28762012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
2877
2878 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2879 miscompilation of trace.el.
2880
6baf66d5 28812012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
2882
2883 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2884
6baf66d5 28852012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
2886
2887 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2888 (bug#12812).
2889
6baf66d5 28902012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
2891
2892 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2893 a defcustom with an appropriate :set function.
2894 (minibuffer-default--in-prompt-regexps): New function.
2895
6baf66d5 28962012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 2897
031b2ea7
GM
2898 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2899 (define-modify-macro): Doc fixes.
2900
2ee1d59f
GM
2901 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2902 (gv-define-simple-setter): Update doc of `fix-return'.
2903
6baf66d5 29042012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 2905
b715ed44
SM
2906 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2907 twice when `fix-return' is set (bug#12813).
2908
d57c286e
SM
2909 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2910 gv-define-simple-setter (bug#12812).
2911
c9cac599
SM
2912 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2913 (bug#12756).
2914
6baf66d5 29152012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
2916
2917 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2918
5593ed90
GM
2919 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2920 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2921 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2922 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2923
2924 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2925
05a859c1
LL
29262012-11-10 Leo Liu <sdl.web@gmail.com>
2927
2928 * ido.el (ido-set-matches-1): Improve flex matching performance by
2929 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2930
32e5c58c
SM
29312012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2934 (ad--defalias-fset): New function.
2935 (ad-safe-fset): Remove.
2936 (ad-make-freeze-definition): Use cl-letf*.
2937
f5925cd9
SM
29382012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2939
da03ef8a
SM
2940 * subr.el (dolist): Don't bind VAR in RESULT.
2941
6858633a
SM
2942 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2943 (fset, documentation): Don't save real def since we don't advise.
2944 (ad-do-advised-functions): Remove problematic `result-form'.
2945 (ad-safe-fset): `ad-real-fset' => `fset'.
2946 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2947 uses CL's dolist internally.
2948 (ad-arglist): Remove unused arg `name'.
2949 (ad-docstring, ad-make-advised-docstring):
2950 `ad-real-documentation' => `documentation'.
2951 (warning-suppress-types): Declare.
2952 (ad-set-arguments): Simple CSE.
2953 (ad-recover-normality): Sanity check.
2954
f5925cd9
SM
2955 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2956 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2957
93a66b3a
VB
29582012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2959
2960 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
2961 `ses-cell'. This means that the same mapping is done for all SES
2962 sheets. That is good enough for cells with standard A1 names, but
2963 not for named cell. So a hash map is added for the latter.
2964 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
2965 (ses-sym-rowcol): Use hashmap for named cell.
2966 (ses-is-cell-sym-p): New defun.
2967 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
2968 (ses-create-cell-variable): Add cell to hashmap when name is not
2969 A1-like.
93a66b3a
VB
2970 (ses-rename-cell): Check that cell new name is not already in
2971 spreadsheet with the use of ses-is-cell-sym-p
2972 (ses-rename-cell): Use hash map for named cells, but accept also
2973 renaming back to A1-like.
2974
67dd8ad1
SM
29752012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2976
57618ecf
SM
2977 * emacs-lisp/advice.el: Use new dynamic docstrings.
2978 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2979 Use dynamic-docstring-function instead of ad-advice-info.
2980 (ad--make-advised-docstring): New function extracted from
2981 ad-make-advised-docstring.
2982 (ad-make-advised-docstring): Use it.
2983 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2984 from sql-help.
2985 (sql-help): Use it with dynamic-docstring-function.
2986
67dd8ad1
SM
2987 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2988
be883b34
SM
29892012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2990
d41706aa
SM
2991 * files.el (hack-one-local-variable--obsolete): New function.
2992 (hack-one-local-variable): Use it for obsolete settings.
2993
85e55412
SM
2994 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2995 the new name.
2996
be883b34
SM
2997 * progmodes/js.el (js--filling-paragraph): New var.
2998 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2999 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3000 less sneaky.
3001
cabc040a
JD
30022012-11-08 Julien Danjou <julien@danjou.info>
3003
3004 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3005 `auto-mode-alist' (Bug#12835).
3006
d14bb752
SM
30072012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3008
79b3e376
SM
3009 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3010 (perl--prettify-symbols-alist): New const.
3011 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3012 New functions.
3013 (perl-font-lock-keywords-2): Use them.
3014 (perl-electric-noindent-p): New function.
3015 (perl-mode): Use it to set up electric-indent-mode.
3016 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3017 (perl-mode-map): Remove bindings for them.
3018 (perl-imenu-generic-expression, perl-outline-level):
3019 Match functions&packages in column>0.
3020
3b11e6ac
SM
3021 * env.el (env--substitute-vars-regexp): New const.
3022 (substitute-env-vars): Use it. Add `only-defined' arg.
3023 * net/tramp.el (tramp-replace-environment-variables): Use it.
3024
784c1a7b
SM
3025 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3026 Byte-compile *before* eval in eval-and-compile.
3027 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3028 (byte-compile-file-form-autoload): Don't hide actual definition.
3029 (byte-compile-maybe-guarded): Accept `functionp' as well.
3030
d14bb752
SM
3031 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3032
499a0f7a
MA
30332012-11-07 Michael Albinus <michael.albinus@gmx.de>
3034
3035 * notifications.el (notifications-get-server-information-method):
3036 New defconst.
3037 (notifications-get-capabilities): Fix docstring.
3038 (notifications-get-server-information): New defun.
3039
f0704a9a
AM
30402012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3041
3042 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3043 readability.
3044
b159a1fd
AM
3045 * textmodes/ispell.el: Experimental support for support debugging.
3046 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3047 buffer for ispell.
3048 (ispell-print-if-debug): New function to print stuff to
3049 `ispell-debug-buffer' if debugging is enabled.
3050 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3051 show some debugging info.
3052 (ispell-buffer-with-debug): New function that creates a debugging
3053 buffer and calls `ispell-buffer' with debugging enabled.
3054
056cb3a1
AM
3055 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3056 comment in autoconf mode. (Bug#12768)
3057
8e6a67b7
DA
30582012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3059
3060 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3061 frame-first-window, frame-root-window, frame-selected-window,
3062 minibuffer-selected-window, minibuffer-window,
3063 window-absolute-pixel-edges, window-at, window-body-height,
3064 window-body-width, window-display-table, window-combination-limit,
3065 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3066 window-inside-edges, window-inside-pixel-edges, window-left-child,
3067 window-left-column, window-margins, window-next-buffers,
3068 window-next-sibling, window-new-normal, window-new-total,
3069 window-normal-size, window-parameter, window-parameters, window-parent,
3070 window-pixel-edges, window-point, window-prev-buffers,
3071 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3072 window-start, window-text-height, window-top-child, window-top-line,
3073 window-total-height, window-total-width and window-use-time to the list
3074 of functions without side-effects.
3075 (toplevel): Add window-valid-p to the list of error-free functions
3076 without side-effects.
3077
53fc914f
AM
30782012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3079
f5925cd9
SM
3080 * textmodes/ispell.el (ispell-program-name):
3081 Update spellchecker parameters when customized.
53fc914f 3082
9749e2b0
GM
30832012-11-04 Glenn Morris <rgm@gnu.org>
3084
3085 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3086
2cbafa56
CY
30872012-11-04 Chong Yidong <cyd@gnu.org>
3088
3089 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3090 same-window-* variables.
3091
85178ca1
JL
30922012-11-04 Juri Linkov <juri@jurta.org>
3093
3094 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3095 (isearch-describe-key, isearch-describe-mode): Use a display
3096 action instead of binding same-window-* variables (Bug#10040).
3097
5c677d44
GM
30982012-11-03 Glenn Morris <rgm@gnu.org>
3099
49138400
GM
3100 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3101 Rename handler properties back from cl-- to cl-. (Bug#12788)
3102
5c677d44
GM
3103 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3104
1d4341f9
EZ
31052012-11-03 Eli Zaretskii <eliz@gnu.org>
3106
3107 * term/pc-win.el: Don't load term/internal from here.
3108
3109 * loadup.el: Load term/internal from here.
3110
12fd5ee1
FEG
31112012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3112
3113 * progmodes/python.el (inferior-python-mode): Fix hang in
3114 jit-lock (Bug#12645).
3115
43bcfda6
MR
31162012-11-03 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (switch-to-visible-buffer)
3119 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3120
376a8e83
GM
31212012-11-03 Glenn Morris <rgm@gnu.org>
3122
3123 * emacs-lisp/cl-lib.el (cl--random-time):
3124 Rename from cl-random-time. (Bug#12773)
3125 (cl--gensym-counter, cl--random-state): Update callers.
3126 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3127
0f7b074f
CY
31282012-11-03 Chong Yidong <cyd@gnu.org>
3129
3130 * cus-start.el: Make cursor-type customizable (Bug#11633).
3131
3a6851d9
GM
31322012-11-02 Glenn Morris <rgm@gnu.org>
3133
00a3b041
GM
3134 * filecache.el: No need to load find-lisp when compiling.
3135 (find-lisp-find-files): Autoload it.
3136 (file-cache-add-directory-recursively): Don't require find-lisp.
3137
11fef14a
GM
3138 * image.el (image-type-from-file-name): Trivial simplification.
3139
3a6851d9
GM
3140 * emacs-lisp/bytecomp.el (byte-compile-eval):
3141 Decouple "noruntime" and "cl-functions" warnings.
3142
b4b096e4
SB
31432012-11-01 Stephen Berman <stephen.berman@gmx.net>
3144
3145 * play/gomoku.el (gomoku-display-statistics): Update mode line
3146 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3147
218e997a
MR
31482012-10-31 Martin Rudalics <rudalics@gmx.at>
3149
3150 * window.el (quit-restore-window): If the window has been
3151 created on an existing frame and ended up as the sole window on
3152 that frame, do not delete it (Bug#12764).
3153
b08b6da7
SM
31542012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3618df45
SM
3156 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3157 Rename from sh--inside-arithmetic-expression, handle more cases
3158 (bug#11263).
3159
b08b6da7
SM
3160 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3161 (sh-font-lock-open-heredoc): Use it (bug#12770).
3162
4ddedf94
GM
31632012-10-30 Glenn Morris <rgm@gnu.org>
3164
f43a5263
GM
3165 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3166
4ddedf94
GM
3167 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3168
748b0d84
CY
31692012-10-29 Chong Yidong <cyd@gnu.org>
3170
b5dd9a77
CY
3171 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3172 function key is stored in a keyboard macro (Bug#4894).
3173
748b0d84
CY
3174 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3175
e07fcbdc
SM
31762012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3177
d7f9cc85
SM
3178 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3179 header comments".
3180 (diff-unified->context, diff-context->unified)
3181 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3182
c606253c
SM
3183 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3184
e07fcbdc
SM
3185 * files.el (find-alternate-file): Only ask one question (bug#12487).
3186
894b9dd9
CY
31872012-10-29 Chong Yidong <cyd@gnu.org>
3188
1dc2755a
CY
3189 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3190 Suggested by Dan Nicolaescu (Bug#6326).
3191
329c48d8
CY
3192 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3193
2230fa5b 3194 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 3195
e84cad57
CY
3196 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3197
1913c5f5
CY
3198 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3199
894b9dd9
CY
3200 * face-remap.el (face-remap-add-relative): Handle the case where a
3201 face-remapping-alist entry is a cons cell (Bug#12762).
3202
329c48d8
CY
32032012-10-29 Kevin Ryde <user42@zip.com.au>
3204
3205 * woman.el (woman-parse-numeric-value): Handle picas correctly
3206 (Bug#12639).
3207
a0ccbcbd
GM
32082012-10-29 Glenn Morris <rgm@gnu.org>
3209
3210 * emacs-lisp/cl.el (defsetf): Doc fix.
3211
b3871e59
SM
32122012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3215 syntax to the matching opener, if any (bug#12547).
3216 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3217 matching open as a "case-(".
3218 (sh-smie-rc-grammar): Add a corresponding rule for it.
3219
cd44022c
DH
32202012-10-28 Daniel Hackney <dan@haxney.org>
3221
3222 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3223 "PKGNAME-autoloads.el" in case we created it.
3224
70edffb1
SM
32252012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3226
86957a0c
SM
3227 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3228 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 3229 (completion--twq-all): Disable too-strict assertions.
86957a0c 3230
70edffb1
SM
3231 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3232
d069271c
EZ
32332012-10-27 Eli Zaretskii <eliz@gnu.org>
3234
3235 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3236 text to match the real keybindings.
3237
e2f022a3
JL
32382012-10-27 Juri Linkov <juri@jurta.org>
3239
3240 * wdired.el (wdired-keep-marker-rename): New defcustom.
3241 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3242 (Bug#11795)
3243
3244 * dired.el (dired-keep-marker-rename): Add reference to
3245 `wdired-keep-marker-rename' in the docstring.
3246 Add default character value ?R to display initially in
3247 Customization UI instead of ?@.
3248
df171c23
MR
32492012-10-27 Martin Rudalics <rudalics@gmx.at>
3250
3251 * window.el (display-buffer): In doc-string describe
3252 window-height and window-width alist entries.
3253
3254 * time.el (display-time-world): Restore fit-window-to-buffer
3255 behavior.
3256
05b621a6
CY
32572012-10-27 Chong Yidong <cyd@gnu.org>
3258
3259 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3260
55f197b2
J
32612012-10-26 Jambunathan K <kjambunathan@gmail.com>
3262
3263 * minibuffer.el (completion-category-overrides): New completion
3264 category `bookmark' (bug#11131).
3265
372212df
SM
32662012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3267
150f809c
SM
3268 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3269 Silence bogus compiler warnings for ad-do-it.
3270
372212df
SM
3271 * bookmark.el (bookmark-completing-read): Set the completion category
3272 to `bookmark' (bug#11131).
3273
c5772569
B
32742012-10-26 Bastien <bzg@altern.org>
3275 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * face-remap.el: Use lexical-binding.
3278 (text-scale-adjust): Improve docstring. Use itself for the temporary
3279 overlay-map bindings, so as to repeat the "Use..." message each time.
3280
a2be0357
SM
32812012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3282
63314e57
SM
3283 * emacs-lisp/macroexp.el (macroexp--expand-all):
3284 Obey byte-compile-warning-enabled-p (bug#12486).
3285
a2be0357
SM
3286 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3287 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3288
8c7727c3
MR
32892012-10-26 Martin Rudalics <rudalics@gmx.at>
3290
3291 * mouse.el (mouse-drag-line): Move last form into preceding when
3292 clause (Bug#12731).
3293
3294 * help.el (resize-temp-buffer-window): Fix doc-string.
3295
3f2a848d
DE
32962012-10-25 David Engster <deng@randomsample.de>
3297
3298 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 3299 Remove. This feature is already integrated in imenu.
3f2a848d
DE
3300
3301 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3302 always loaded. Require `speedbar' unconditionally.
3303
a7723be6
SM
33042012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3305
aaabfc8b
SM
3306 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3307
414a8595
SM
3308 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3309
fb5b9475
SM
3310 * net/ldap.el (ldap-search-internal): The official ldif format starts
3311 with a "version: 1" header (bug#12724).
3312
a7723be6
SM
3313 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3314 (bug#12721).
3315
a05cb6e3
GM
33162012-10-25 Glenn Morris <rgm@gnu.org>
3317
3318 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
3319
3c92de70
SM
33202012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * minibuffer.el (minibuffer-force-complete): Use one more marker
3323 for the temporary-overlay-map command (bug#12619).
3324
a4b6d7c6
CY
33252012-10-24 Chong Yidong <cyd@gnu.org>
3326
3327 * time.el (display-time-world-mode): Derive from special-mode.
3328 (display-time-world): Use display-buffer (Bug#12708).
3329 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
3330 (display-time-world-display): Wrap the final delete-char inside
3331 inhibit-read-only.
a4b6d7c6 3332
75e8f9d2
CY
33332012-10-24 Chong Yidong <cyd@gnu.org>
3334
cd996018
CY
3335 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
3336 Doc fix.
3337
75e8f9d2
CY
3338 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
3339
d92df117
SM
33402012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * minibuffer.el (completion--all-sorted-completions-location): New var.
3343 (completion--cache-all-sorted-completions)
3344 (completion--flush-all-sorted-completions): Use it.
3345 (completion-in-region, completion-in-region--postch)
3346 (completion-at-point, completion-help-at-point): Use markers in
3347 completion-in-region--data (bug#12619).
3348
9c3e39f3
SM
33492012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3350
c79825bd
SM
3351 * progmodes/compile.el (compilation-start): Try to handle common
3352 quoting of `cd' argument (bug#12640).
3353
9c3e39f3
SM
3354 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
3355 (bug#12671).
3356
a6709bc7
GM
33572012-10-23 Glenn Morris <rgm@gnu.org>
3358
3359 * progmodes/gud.el (gud-menu-map):
3360 Check gdb-active-process is bound. (Bug#12358)
3361
d1069532
SM
33622012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3363
d20d69c0
SM
3364 * repeat.el (repeat): Set real-this-command (bug#12232).
3365
d1069532
SM
3366 * htmlfontify.el (hfy-post-html-hook):
3367 * filesets.el (filesets-cache-fill-content-hook):
3368 * arc-mode.el (archive-extract-hook):
3369 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
3370 * net/rcirc.el (rcirc-sentinel-functions)
3371 (rcirc-receive-message-functions, rcirc-activity-functions)
3372 (rcirc-print-functions):
3373 * net/dbus.el (dbus-event-error-functions):
3374 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
3375 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
3376 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
3377 * term/sun.el (sun-raw-prefix-hooks):
3378 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
3379
f7eac6d8
MA
33802012-10-23 Michael Albinus <michael.albinus@gmx.de>
3381
d1069532
SM
3382 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3383 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
3384 (tramp-smb-wait-for-output): Add timeout to
3385 `tramp-accept-process-output' calls.
3386
608d9d7c
CY
33872012-10-23 Chong Yidong <cyd@gnu.org>
3388
49238e7f
CY
3389 * faces.el (font-list-limit): Define as an obsolete variable.
3390
3391 * startup.el (command-line):
3392 * cus-start.el: Don't refer to font-list-limit.
3393
608d9d7c
CY
3394 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
3395
4ff5b1b2
SM
33962012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * subr.el (internal-temp-output-buffer-show): Rename from
3399 temp-output-buffer-show, since previously compiled files expect this name.
3400
ea1d4aac
GM
34012012-10-23 Glenn Morris <rgm@gnu.org>
3402
3403 * image.el (image-type-from-file-name): If multiple types match,
3404 return the first one that is supported. (Bug#9045)
3405
eda82a31
GM
34062012-10-22 Glenn Morris <rgm@gnu.org>
3407
3408 * image.el (imagemagick-enabled-types): Doc fix.
3409
4f020bec
TA
34102012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
3411
3412 * progmodes/which-func.el (which-func-current): The hash-table may have
3413 an explicit nil (bug#12338).
3414
c77d37e2
SM
34152012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * electric.el (electric-pair-delete-selection-self-insert-function):
3418 Rename to electric-pair-will-use-region, return a boolean.
3419 (electric-pair-mode): Adjust accordingly. Don't require delsel.
3420
3421 * delsel.el (delete-selection-helper): Use a function instead of a hook.
3422 (delete-selection-pre-hook): Use use-region-p.
3423 (delete-selection-self-insert-function): Remove.
3424 (self-insert-command): Obey self-insert-uses-region-functions.
3425 (self-insert-iso): Revert to previous setting, since we don't actually
3426 know what that command does.
3427 (delete-selection-self-insert-hooks): Remove.
3428
b1d39ccc
SL
34292012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
3430
3431 * delsel.el (delete-selection-helper): New function, extracted from
3432 delete-selection-pre-hook.
3433 (delete-selection-pre-hook): Use it.
3434 (delete-selection-self-insert-function): New function.
3435 (delete-selection-self-insert-hooks): New hook.
3436 (self-insert-command, self-insert-iso): Use it.
3437 * electric.el (electric-pair-syntax): New function, extracted from
3438 electric-pair-post-self-insert-function.
3439 (electric-pair-post-self-insert-function): Use it.
3440 (electric-pair-delete-selection-self-insert-function): New function.
3441 (electric-pair-mode): Require delsel and setup
3442 delete-selection-self-insert-hooks (bug#11520).
3443
045ef729
CY
34442012-10-20 Chong Yidong <cyd@gnu.org>
3445
4c5d08a8
CY
3446 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
3447 no changes to show (Bug#12586).
3448
045ef729
CY
3449 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
3450 list explicitly (Bug#12571).
3451
3503c798 34522012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 3453
b1d39ccc
SL
3454 * progmodes/flymake.el (flymake-create-temp-inplace):
3455 Use file-truename.
79e1997a 3456
2068905b
EZ
34572012-10-20 Eli Zaretskii <eliz@gnu.org>
3458
3459 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
3460
4c9e9550
JB
34612012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
3462
3463 * calc/calc-units.el (math-extract-units): Properly extract powers
3464 of units.
3465
1a6e7e38
DC
34662012-10-20 Daniel Colascione <dancol@dancol.org>
3467
3468 * frame.el (make-frame): Set x-display-name as we used to in order
3469 to unbreak creating an X11 frame from an Emacs daemon started
3470 without a display.
3471
8e808318
SM
34722012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 3475 the same completion-field (bug#12221).
8e808318 3476
fb0104da
MR
34772012-10-19 Martin Rudalics <rudalics@gmx.at>
3478
3479 * emacs-lisp/debug.el (debug): Record height of debugger window
3480 also when debugger will be back (Bug#8789).
3481
8c27235e
CY
34822012-10-18 Chong Yidong <cyd@gnu.org>
3483
3484 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3485 Convert to defcustom.
3486 (gdb-get-source-file): Don't bind pop-up-windows.
3487
3488 * progmodes/gud.el (gud-display-line): Don't specially re-use
3489 other frames for the gdb-mi case (Bug#12648).
3490
90eacf99
SM
34912012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3492
aaf0c300
SM
3493 * emacs-lisp/advice.el: Clean up commentary a bit.
3494 (ad-do-advised-functions, ad-with-originals): Use `declare'.
3495 (byte-code-function-p): Never redefine.
3496
90eacf99
SM
3497 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
3498
281c9d2b
GM
34992012-10-18 Glenn Morris <rgm@gnu.org>
3500
40714e3d
GM
3501 * dired.el (dired-sort-toggle): Some ls implementations only allow
3502 a single option string. (Bug#12666)
3503
281c9d2b
GM
3504 * minibuffer.el (completion-cycle-threshold): Doc fix.
3505
b278604e
KH
35062012-10-17 Kenichi Handa <handa@gnu.org>
3507
90eacf99
SM
3508 * international/mule.el (set-keyboard-coding-system):
3509 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
3510 Supply TERMINAL arg to set-input-meta-mode.
3511
df171c23 35122012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
3513
3514 * wdired.el (wdired-old-marks): New variable.
3515 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
3516 (wdired-do-renames): Move point with renamed file and don't lose
3517 mark status (Bug#11795).
3518
e5a94ec4
JL
35192012-10-16 Juri Linkov <juri@jurta.org>
3520
3521 * replace.el (query-replace-help): Mention multi-buffer replacement
3522 keys in the Help message. (Bug#12655)
3523
d18a0d24
CY
35242012-10-15 Chong Yidong <cyd@gnu.org>
3525
3526 * emacs-lisp/byte-run.el (defsubst): Doc fix.
3527
8111f5e6
EZ
35282012-10-14 Eli Zaretskii <eliz@gnu.org>
3529
7b9abf24
EZ
3530 * window.el (display-buffer): Doc fix.
3531
8111f5e6
EZ
3532 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3533 Adjust the msft regexp to the output of Studio 2010, and move msft
3534 before edg-1. See the discussion on emacs-devel,
3535 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
3536 for the details.
3537
5046ef67
SM
35382012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3539
9760c73c
SM
3540 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
3541 (oset): Move uses of object-class-fast macro after its definition.
3542
5046ef67
SM
3543 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
3544
0d11ff1c
CY
35452012-10-13 Chong Yidong <cyd@gnu.org>
3546
3547 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
3548 enabled, re-enable it (Bug#11963).
3549
88ded8ac
MR
35502012-10-13 Martin Rudalics <rudalics@gmx.at>
3551
3552 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
3553 non-nil, restore window configuration (Bug#12623).
3554
bd0ffffd
SM
35552012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3556
06485aa8
SM
3557 * help-fns.el (describe-variable, describe-function-1):
3558 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
3559
bd0ffffd
SM
3560 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
3561
3a989246
GM
35622012-10-12 Glenn Morris <rgm@gnu.org>
3563
3564 * mail/rmailsum.el (rmail-header-summary):
3565 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
3566
55cd00c8
FEG
35672012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
3568
bd0ffffd
SM
3569 * progmodes/python.el (python-mode-map):
3570 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
3571 (python-nav--up-list): Fix behavior for blocks on the same level.
3572
ac9fc2c7
SM
35732012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3574
d8cc4c00 3575 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 3576
5253a5fd
SM
3577 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
3578 changes to the format of load-history.
3579
ac9fc2c7
SM
3580 * international/mule-cmds.el (read-char-by-name): Move let-binding of
3581 completion-ignore-case in case that var is buffer-local (bug#12615).
3582
cde44a77
KH
35832012-10-11 Kenichi Handa <handa@gnu.org>
3584
3585 * international/eucjp-ms.el: Re-generated.
3586
4ef4a10d
KH
35872012-10-10 Kenichi Handa <handa@gnu.org>
3588
3589 * select.el (xselect--encode-string): If a coding is specified for
3590 selection, and that is compatible with COMPOUND_TEXT, use it.
3591
9d7f027b
MR
35922012-10-10 Martin Rudalics <rudalics@gmx.at>
3593
3594 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
3595 (switch-to-buffer):
3596 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 3597
238f3a58
SM
35982012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
3601 Don't document nil as a useful value (bug#12583).
3602
1d51f99c
MA
36032012-10-09 Michael Albinus <michael.albinus@gmx.de>
3604
238f3a58
SM
3605 * net/tramp.el (tramp-debug-message):
3606 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
3607 (with-tramp-progress-reporter): Rename from
3608 `tramp-with-progress-reporter'.
238f3a58
SM
3609 (with-tramp-file-property, with-tramp-connection-property):
3610 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
3611 `with-connection-property', respectively.
3612
3613 * net/tramp-cache.el: Remove `with-file-property' and
3614 `with-connection-property'.
3615
3616 * net/tramp.el:
3617 * net/tramp-gvfs.el:
3618 * net/tramp-sh.el:
3619 * net/tramp-smb.el: Adapt callees.
3620
3621 * net/trampver.el: Update release number.
3622
26b77251
GM
36232012-10-09 Glenn Morris <rgm@gnu.org>
3624
9a5f296f
GM
3625 * w32-fns.el (set-message-beep):
3626 * term/w32-win.el (set-message-beep): Update declarations.
3627
94c66ce5
SM
36282012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3629
10766e9e
SM
3630 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
3631 (mode-line-widen, mode-line-input-method-map)
3632 (mode-line-coding-system-map, mode-line-remote)
3633 (mode-line-unbury-buffer, mode-line-bury-buffer)
3634 (mode-line-next-buffer, mode-line-previous-buffer):
3635 Replace save-selected-window+select-window => with-selected-window.
3636
f754db08
SM
3637 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3638 * progmodes/cc-vars.el (bq-process): Remove, unused.
3639
94c66ce5
SM
3640 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3641
a4ff7fe1
FEG
36422012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3643
3644 Implemented `backward-up-list'-like navigation.
3645 * progmodes/python.el (python-nav-up-list)
3646 (python-nav-backward-up-list): New functions.
3647 (python-mode-map): Define substitute key for backward-up-list to
3648 python-nav-backward-up-list.
3649
24517d82
FEG
36502012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3651
3652 * progmodes/python.el (python-fill-paragraph): Rename from
3653 python-fill-paragraph-function. Fixed fill-paragraph for
3654 decorators (Bug#12605).
3655
51867ae2
FEG
36562012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3657
3658 * progmodes/python.el (python-shell-output-filter): Handle extra
3659 carriage return in OSX (Bug#12409).
3660
a5b773c4
FEG
36612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3662
3663 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 3664 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
3665 (python-syntax-propertize-function): Use it.
3666 (python-shell-output-syntax-table): New var.
3667 (inferior-python-mode): Prevent unbalanced parens/quotes from
3668 previous output mess with current input context.
3669
13373538
JB
36702012-10-08 Juanma Barranquero <lekktu@gmail.com>
3671
3672 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3673 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3674
775a132d
MA
36752012-10-08 Michael Albinus <michael.albinus@gmx.de>
3676
3677 * ffap.el (ffap-replace-file-component): Support Tramp file name
3678 syntax, not only ange-ftp's one.
3679
3ab44929
GM
36802012-10-08 Glenn Morris <rgm@gnu.org>
3681
57f1dee4
GM
3682 * cus-start.el (message-log-max): Set :version.
3683
3ab44929
GM
3684 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3685
6a088630
MR
36862012-10-08 Martin Rudalics <rudalics@gmx.at>
3687
3688 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3689 the minibuffer window (Bug#10851).
3690
8dbce54c
FEG
36912012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3692
3693 Enhancements on forward-sexp movement.
3694 * progmodes/python.el (python-nav-beginning-of-statement)
3695 (python-nav-end-of-statement): Return point-marker.
3696 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3697 (python-info-current-symbol)
3698 (python-info-statement-starts-block-p): Rename from
3699 python-info-beginning-of-block-p.
3700 (python-info-statement-ends-block-p): Rename from
3701 python-info-end-of-block-p.
3702 (python-info-beginning-of-statement-p)
3703 (python-info-end-of-statement-p)
3704 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3705 New functions.
3706
5acd2b3e
SM
37072012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3710 frame-selected-windows.
3711
e08348a0
DC
37122012-10-08 Daniel Colascione <dancol@dancol.org>
3713
3714 * battery.el (battery-status-function): Check for
3715 w32-battery-status itself, not system-time windows-nt.
3716
3717 * frame.el: Require cl-lib.
3718 (display-format-alist): New variable mapping frame types to
3719 functions that initialize them.
3720 (window-system-for-display): New function: interprets
3721 display-format-alist.
3722 (make-frame-on-display): Remove existing display-selection logic
3723 and just forward to make-frame, which will now DTRT.
3724 (make-frame): Restructure to use window-system-for-display to
3725 figure out how to create a frame on a given display.
3726 (display-mouse-p): Look for frame-type w32, not a particular
3727 system-type.
3728
3729 * loadup.el: Load w32 lisp code when we have the w32 feature.
3730
3731 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3732 system-type windows-nt.
3733
3734 * server.el (server-create-window-system-frame): Look for window
3735 type.
3736 (server-proces-filter): Only force a window system when windows-nt
3737 _and_ w32. Explain why.
3738
3739 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3740 of window systems we configure for the mode.
3741
3742 * startup.el (command-line): Mark window system is initialized
3743 after we've done it.
3744
3745 * common-win.el (x-select-text): Look for w32, not windows-nt.
3746
3747 * ns-win.el: Require cl-lib. Add ourselves to
3748 display-format-alist.
3749 (ns-initialize-window-system): Assert we're not initialized twice.
3750
3751 * w32-win.el: Enable lexical binding; require cl-lib; add
3752 ourselves to display-format-alist.
3753 (w32-handle-dropped-file): Convert incoming dropped files from
3754 Windows paths to Cygwin ones before passing them on to the rest of
3755 Emacs.
3756 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3757 (w32-initialize-window-system): Assert we're not initialized twice.
3758
3759 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3760 (x-initialize-window-system): Assert we're not initialized twice.
3761
3762 * w32-common-fns.el: New File.
3763 (w32-version, w32-using-nt, w32-get-clipboard-data)
3764 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3765 (w32-charset-info-alist, x-last-selected, text)
3766 (x-get-selection-value, x-selection-value): Move here.
3767
3768 * w32-fns.el: Require w32-common-fns.
3769 (w32-version, w32-using-nt, w32-get-clipboard-data)
3770 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3771 (w32-charset-info-alist, x-last-selected, text)
3772 (x-get-selection-value, x-selection-value): Move to
3773 w32-common-fns.
3774
3775 * w32-vars.el:
3776 (w32-allow-system-shell, w32-system-shells): Define only in
3777 non-cygwin case.
3778
795b1482
SM
37792012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3782 (read-passwd): Remove a few more potential sources of leaks.
3783
f27c99dc
FEG
37842012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3785
3786 * progmodes/python.el (inferior-python-mode)
795b1482 3787 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
3788 variables copied from parent buffer.
3789
fcacb558
JD
37902012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3791
3792 * term/ns-win.el (ns-read-file-name): Update declaration to match
3793 nsfns.m.
3794 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3795 it is set when font is acted upon.
3796
be0d5bae
FEG
37972012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3798
3799 Enhancements to indentation.
3800 * progmodes/python.el (python-indent-context): Give priority to
3801 inside-string context. Make comments indentation markers.
3802 (python-indent-region): Do not mess with strings, unless it's the
3803 enclosing set of quotes.
3804
13af0d10
SM
38052012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3806
662a9d0e
SM
3807 * window.el (internal--before-save-selected-window)
3808 (internal--after-save-selected-window): New functions extracted from
3809 save-selected-window. Make sure we return the `alist' we construct.
3810 (save-selected-window): Use them.
3811
3812 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3813 Use with-selected-window.
3814
13af0d10
SM
3815 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3816 forms that define macros (bug#12593).
3817
6aa75fb6
KH
38182012-10-07 Kenichi Handa <handa@gnu.org>
3819
13af0d10
SM
3820 * international/mule-conf.el (compound-text-with-extensions):
3821 Add :mime-charset property as x-ctext.
6aa75fb6 3822
78d876b9
SM
38232012-10-07 Stefan Merten <smerten@oekonux.de>
3824
3825 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3826 (rst-indent-literal-normal, rst-indent-literal-minimized)
3827 (rst-indent-comment): Correct :version tag.
557337e9 3828 (rst-official-cvs-rev): Correct version string.
78d876b9 3829
99a1e701
GM
38302012-10-07 Glenn Morris <rgm@gnu.org>
3831
3832 * mail/rmailmm.el (rmail-mime-process-multipart):
3833 Do not confuse a multipart message with an epilogue
3834 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3835
08f18c3d
FEG
38362012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3837
3838 Fix shell output retrieval and comint-prompt-regexp init.
3839 * progmodes/python.el (inferior-python-mode):
3840 (python-shell-make-comint): Fix initialization of
3841 comint-prompt-regexp from copied file local variables.
3842 (python-shell-fetched-lines): Remove var.
3843 (python-shell-output-filter-in-progress): Rename from
3844 python-shell-fetch-lines-in-progress.
3845 (python-shell-output-filter-buffer): Rename from
3846 python-shell-fetch-lines-string.
3847 (python-shell-fetch-lines-filter): Delete function.
3848 (python-shell-output-filter): New function.
3849 (python-shell-send-string-no-output): Use them.
3850
82ed3ab4
GM
38512012-10-07 Glenn Morris <rgm@gnu.org>
3852
1595ecfa
GM
3853 * hi-lock.el (hi-lock-process-phrase):
3854 Try to make it less fragile. (Bug#7161)
3855
82ed3ab4
GM
3856 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3857
f1f4dba0
GM
38582012-10-06 Glenn Morris <rgm@gnu.org>
3859
addc11ed 3860 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
3861 non-existent mode `help'.
3862 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 3863
460042b8
GM
3864 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3865 (reftex-create-bibtex-footer): Fix custom types.
3866
67667c70
GM
3867 * progmodes/sh-script.el (sh-indent-after-continuation):
3868 Add explicit :group.
3869
18dec750
GM
3870 * textmodes/rst.el (rst-preferred-decorations)
3871 (rst-shift-basic-offset): Clarify obsolescence versions.
3872
d1a1c7e6
GM
3873 * profiler.el (profiler): Add missing group :version tag.
3874 * avoid.el (mouse-avoidance-banish-position):
3875 * proced.el (proced-renice-command):
3876 * calc/calc.el (calc-ensure-consistent-units):
3877 * calendar/icalendar.el (icalendar-import-format-uid):
3878 * net/tramp.el (tramp-save-ad-hoc-proxies):
3879 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3880 * progmodes/flymake.el (flymake-error-bitmap)
3881 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3882 * progmodes/sh-script.el (sh-indent-after-continuation):
3883 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3884 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3885 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3886 (vhdl-array-index-record-field-in-sensitivity-list)
3887 (vhdl-indent-comment-like-next-code-line):
3888 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3889 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3890 (reftex-cite-key-separator, reftex-create-bibtex-header)
3891 (reftex-create-bibtex-footer):
3892 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3893 (rst-indent-literal-normal, rst-indent-literal-minimized)
3894 (rst-indent-comment): Add missing custom :version tags.
3895
ef35abb4
GM
3896 * calendar/timeclock.el (timeclock-modeline-display):
3897 Add missing obsolete alias for renamed user option.
3898
d1aae614
GM
3899 * strokes.el (strokes-modeline-string):
3900 * emulation/crisp.el (crisp-mode-modeline-string):
3901 * eshell/esh-mode.el (eshell-status-in-modeline):
3902 Aliases to defcustoms must come before the defcustom.
3903
f1f4dba0
GM
3904 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3905 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3906 (cal-tex-cursor-week-monday): Doc fixes.
3907 (cal-tex-cursor-week2-summary): Doc fix.
3908 Rename from cal-tex-cursor-week-at-a-glance.
3909
3910 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3911 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3912
3913 * calendar/calendar.el (calendar-mode-map):
3914 Add cal-tex-cursor-week2-summary.
3915
d39109c3
SM
39162012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3917
685f87b0
SM
3918 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3919
d39109c3
SM
3920 * subr.el (read-passwd-map): New var.
3921 (read-passwd): Use `read-string' again.
3922 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3923
5694896d
J
39242012-10-06 Jambunathan K <kjambunathan@gmail.com>
3925
3926 * register.el (append-to-register, prepend-to-register):
3927 Deactivate mark, as does `copy-to-register' (bug#12389).
3928
9414dd8d
CY
39292012-10-06 Chong Yidong <cyd@gnu.org>
3930
3931 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3932
2b89bca4
KH
39332012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3934
3935 * international/characters.el: Fix simple mistake ((car chars) ->
3936 elt), delete duplicated code.
3937
d5acb99a
GM
39382012-10-06 Glenn Morris <rgm@gnu.org>
3939
3940 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3941
123ec157
JS
39422012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3943
3944 * color.el (color-hsl-to-rgb): Fix incorrect results for
3945 small and large hue values. (Bug#12559)
3946
7fa36ccb
FEG
39472012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3948
3949 Enhancements to docstring formatting when filling paragraphs.
3950 * progmodes/python.el (python-fill-docstring-style): Rename from
3951 python-fill-string-style. Added new style.
3952 (python-fill-string): Use new style. Better checks for
3953 docstrings.
3954
d8788e1e
GM
39552012-10-05 Glenn Morris <rgm@gnu.org>
3956
204f3953
GM
3957 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3958
d8788e1e
GM
3959 * color.el (color-name-to-rgb, color-rgb-to-hex)
3960 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3961 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3962 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3963 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3964
8d956cef
GM
3965 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3966
e8757f09 39672012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
3968
3969 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3970 to get the correct size across symlinks.
3971
e8757f09
GM
3972 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3973
0e2ae83d
JL
39742012-10-04 Juri Linkov <juri@jurta.org>
3975
3976 * replace.el (query-replace-interactive): Declare obsolete.
3977 (query-replace-read-from): Add the last incremental search string
3978 to the list of default values accessible via M-n.
3979 (map-query-replace-regexp): Use `read-regexp'.
3980 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3981 (map-query-replace-regexp, replace-string, replace-regexp):
3982 Fix docstrings to replace mentions of `query-replace-interactive'
3983 with alternatives. (Bug#12526)
3984
93cacb6d
JL
39852012-10-04 Juri Linkov <juri@jurta.org>
3986
3987 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3988 (dired-pop-to-buffer): Declare obsolete.
3989 (dired-mark-pop-up): Doc fix.
3990
fc345011
FEG
39912012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3992
3993 Allow user to set docstring style for fill-paragraph.
3994 * progmodes/python.el
3995 (python-fill-comment-function, python-fill-string-function)
3996 (python-fill-decorator-function, python-fill-paren-function):
3997 Remove :safe for defcustoms.
3998 (python-fill-string-style): New defcustom
5694896d 3999 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4000 (python-fill-string): Honor python-fill-string-style settings.
4001
6bab5d8b
MR
40022012-10-04 Martin Rudalics <rudalics@gmx.at>
4003
4004 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4005 after setting its buffer (Bug#10805).
4006
a1a9f411
FEG
40072012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4008
4009 Fix cornercase for string syntax.
4010 * progmodes/python.el (python-syntax-propertize-function):
4011 Simplify and enhance the regexp for unescaped quotes. Now it also
4012 matches quotes in weird situations like the single quote in
4013 "something\"'".
4014 (python-syntax-stringify): Simplify num-quotes detecting code.
4015
05e153a6
GM
40162012-10-03 Glenn Morris <rgm@gnu.org>
4017
4018 * help-macro.el (three-step-help):
4019 Revert 2012-09-29 change. (Bug#12567)
4020
2e566ecb
MR
40212012-10-03 Martin Rudalics <rudalics@gmx.at>
4022
96ef9ccd
MR
4023 * menu-bar.el (kill-this-buffer): Don't do anything when
4024 `menu-frame' is not alive or visible (Bug#8184).
4025
2e566ecb
MR
4026 * emacs-lisp/debug.el (debug): When quitting the debugger window
4027 restore current buffer (Bug#12502).
4028
a96e1cb7
CY
40292012-10-02 Chong Yidong <cyd@gnu.org>
4030
5694896d
J
4031 * progmodes/hideif.el (hif-lookup, hif-defined):
4032 Handle semantic-c-takeover-hideif.
a96e1cb7 4033
b3ecad33
PE
40342012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4035
4036 Change sampling interval units from ms to ns.
4037 * profiler.el (profiler-sampling-interval): Change units
4038 from ms to ns, multiplying the default by 1000000 so that
4039 it remains 1 ms.
4040 (profiler-report-cpu-line-format): Give enough room for
4041 the maximum counters on 64-bit hosts.
4042 (profiler-report-render-calltree-1): Call them "CPU samples",
4043 not "Time (ms)", since they are not milliseconds now (and
4044 never really were).
4045
8cb51b66 40462012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4047
5694896d
J
4048 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4049 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4050
fd795bf4
CY
40512012-10-02 Chong Yidong <cyd@gnu.org>
4052
4053 * emacs-lisp/eieio.el: Restore Version header.
4054
fe0a74f9
SM
40552012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4056
6be9197e
SM
4057 * vc/diff-mode.el (diff--auto-refine-data): New var.
4058 (diff-hunk): Use it to delay refinement.
4059 (diff-mode): Remove overlays when we turn off font-lock.
4060
18486139
SM
4061 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4062 (table-initialize-table-fixed-width-mode)
4063 (table-set-table-fixed-width-mode): Remove functions.
4064 (table-command-list): Move initialization into declaration.
4065 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4066 (table-with-cache-buffer): Use `declare'.
4067 (table-span-cell): Simplify via CSE.
4068 (table-fixed-width-mode): Use define-minor-mode.
4069 (table-call-interactively, table-funcall, table-apply): Remove.
4070 (table-function): New function, to replace them.
4071
d83ef976
SM
4072 * bookmark.el (bookmark-search-pattern): Remove var.
4073 (bookmark-read-search-input): Remove function.
4074 (bookmark-bmenu-search): Reimplement using a minibuffer.
4075
cd386662
SM
4076 * faces.el (modeline): Remove obsolete face name.
4077
fe0a74f9
SM
4078 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4079 and give a non-nil default value.
4080 (add-change-log-entry): Simplify accordingly.
4081
9f7b98f8
DG
40822012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4083
4084 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4085 (vc-git-log-edit-toggle-amend): New function.
4086 (vc-git-log-edit-toggle-signoff): New function.
4087 (vc-git-log-edit-mode): New major mode.
4088 (vc-git-log-edit-mode-map): Keymap for it.
4089 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4090
4091 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4092 header names.
4093 (log-edit-toggle-header): New function.
4094 (log-edit-extract-headers): Accept function values in HEADERS alist.
4095
62a81506
CY
40962012-10-01 David Engster <deng@randomsample.de>
4097
4098 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4099 from symbol property and change message to be more consistent with
4100 Emacs proper.
4101 (eieio-describe-generic): Add filename for each implementation.
4102 Fix indices for generic and normal methods.
4103 (eieio-method-def, eieio-class-def): New buttons.
4104 (eieio-help-find-method-definition)
4105 (eieio-help-find-class-definition): New functions.
4106 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4107 class, constructor and method definitions.
4108
4109 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4110 information in symbol property.
4111 (scoped-class): Remove.
4112 (eieio-slot-name-index, call-next-method): Check if it is bound.
4113
41142012-10-01 Leo P. White <lpw25@cam.ac.uk>
4115
4116 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4117 (eieio-custom-mode): New major mode.
4118 (eieio-customize-object): Use it.
4119
41202012-10-01 Eric Ludlam <zappo@gnu.org>
4121
4122 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4123 specifying the expected class, and whether subclassing is allowed.
4124 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
4125 (eieio-persistent-validate/fix-slot-value)
4126 (eieio-persistent-slot-type-is-class-p): New functions.
4127 (eieio-named::slot-missing): Doc fix.
62a81506
CY
4128
4129 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4130 Stop using unused publd variable.
4131
4132 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4133 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4134 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4135 (eieio-speedbar-handle-click): Do not specify a class for the
4136 method. Fixes method invocation order problems with EDE.
4137
375e49d4
SM
41382012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4141 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4142
16ce6ccd
KF
41432012-10-01 Karl Fogel <kfogel@red-bean.com>
4144
4145 * bookmark.el (bookmark-version-control): Give tags in the
4146 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
4147 (bookmark-write-file): Bind `print-circle' to `t' to allow
4148 circular custom bookmark types. (Bug#12503)
16ce6ccd 4149
19e54a4d
PE
41502012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4151
86ec63ba
PE
4152 Revert the FOLLOW-SYMLINKS change for file-attributes.
4153 * files.el (remote-file-name-inhibit-cache, after-find-file):
4154 * time.el (display-time-file-nonempty-p): Undo last change.
4155
19e54a4d
PE
4156 * profiler.el (profiler-sampling-interval): Change default back to 1.
4157 See Stefan Monnier in
4158 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4159
0478776b
FEG
41602012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4161
4162 Shell output catching a la gud-gdb.
4163 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
4164 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4165 New Vars.
0478776b
FEG
4166 (python-shell-fetch-lines-filter): New function.
4167 (python-shell-send-string-no-output): Use them.
4168
c22bac2c
TM
41692012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4170
4171 * profiler.el (profiler-sampling-interval): Rename from
4172 profiler-sample-interval.
4173 (profiler-sampling-interval): Default to 10.
4174 (profiler-find-profile): New command (was profiler-find-log).
4175 (profiler-find-profile-other-window): New command.
4176 (profiler-find-profile-other-frame): New command.
4177 (profiler-profile): Introduce API-level data structure.
4178
e7a2937b
PE
41792012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4180
4181 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4182 * files.el (remote-file-name-inhibit-cache):
4183 * time.el (display-time-file-nonempty-p): Use it.
4184 * files.el (after-find-file): Don't chase links before calling
4185 file-exists-p, as file-exists-p already does the right thing.
4186
4f595e15
RA
41872012-09-30 Ralf Angeli <angeli@caeruleus.net>
4188
4189 Merge from standalone RefTeX repository.
4190
4191 The following ChangeLog entries are shortened versions of the
4192 original ones with file paths adapted. A not so strongly edited
4193 version of the original ChangeLog can be found in the commit log.
4194
4195 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
4196 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4197 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
4198
4199 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
4200 that entries with whitespace at various places are found.
4201 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
4202 Include @String definitions in the resulting bib file. Add header
4203 and footer defined in `reftex-create-bibtex-header' and
4204 `reftex-create-bibtex-footer'.
4205 (reftex-do-citation): Make it possible again to insert
4206 non-existent entries. Save match data when asking for optional
4207 arguments. Return all keys, not just the first one.
4208 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4209 all citations in the same line.
4210 (reftex-parse-bibtex-entry): Accept additional optional argument
4211 `raw' and keep quotes or braces if it is non-nil. Match fields
4212 containing hyphens besides word constituents.
4213 (reftex-get-string-refs): New function.
4214 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4215 and ask if it should be reread in case it did.
4216 (reftex-pop-to-bibtex-entry)
4217 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4218 entries with spaces or tabs in front of arguments.
4219 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
4220 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4221 Match entries containing numbers and symbol constituents.
4222 (reftex-do-citation, reftex-figure-out-cite-format):
4223 Use `reftex-cite-key-separator'.
4f595e15
RA
4224
4225 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4226 (reftex-mouse-view-crossref): Explain why point is set.
4227
4228 * textmodes/reftex-global.el: Whitespace changes.
4229
4230 * textmodes/reftex-index.el: Move provide statement to end of
4231 file.
4232 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4233 (reftex-index-visit-phrases-buffer): Set marker when visiting
4234 buffer. This allows for returning from the phrases file to the
4235 file one was just editing instead of the file where the last
4236 phrases was added from.
4237 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4238 punctuation syntax as it usually is not used as string quote in
4239 TeX-related modes and may occur unmatched. The change also
4240 prevents fontification of quoted content.
4241 (reftex-index-phrases-mode): Use it.
4242
375e49d4
SM
4243 * textmodes/reftex-parse.el (reftex-parse-from-file):
4244 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
4245 (reftex-parse-from-file): Use beginning of match instead of end as
4246 bound.
4247
4248 * textmodes/reftex-ref.el: Adapt creation of
4249 `reftex-<package>-<macro>' functions to new structure of
4250 `reftex-ref-style-alist'.
375e49d4
SM
4251 (reftex-reference): Use `reftex-ref-style-list' function.
4252 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
4253 reference macro if `reftex-ref-macro-prompt' is non-nil.
4254 (reftex-reference): Pass refstyle to `reftex-format-special'.
4255 Determine reference macro by looking at
375e49d4
SM
4256 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4257 Use only one special format function.
4f595e15
RA
4258 (reftex-varioref-vref, reftex-fancyref-fref)
4259 (reftex-fancyref-Fref): Remove definitions. The functions are now
4260 generated from `reftex-ref-style-alist'.
4261 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4262 Remove.
4263 (reftex-format-special): New function.
4264
4265 * textmodes/reftex-sel.el
4266 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4267 of `reftex-ref-style-alist'. Remove code for testing macro type.
4268 (reftex-select-toggle-varioref)
4269 (reftex-select-toggle-fancyref): Remove.
4270 (reftex-select-cycle-ref-style-internal)
4271 (reftex-select-cycle-ref-style-forward)
4272 (reftex-select-cycle-ref-style-backward): New functions.
4273 (reftex-select-label-map): Use `v' and `V' for general cycling
4274 through reference styles. Add `p' for switching between number
4275 and page reference types.
4276
375e49d4
SM
4277 * textmodes/reftex-toc.el (reftex-re-enlarge):
4278 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
4279 the horizontal version throws an error even if the parameter is 0.
4280
4281 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4282 (reftex-plug-into-AUCTeX): Doc fix.
4283 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4284 string. Adapt to new name.
4285 (reftex-ref-style-alist): Change structure so that it is not
4286 possible to use multiple different package names within a style.
375e49d4
SM
4287 Remove the symbols for symbols for macro type distinction.
4288 Add characters for macro selection.
4f595e15
RA
4289 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4290 (reftex-create-bibtex-footer): New variables.
4291 (reftex-format-ref-function): Mention third argument of special
4292 format function.
375e49d4
SM
4293 (reftex-ref-style-alist, reftex-ref-style-default-list):
4294 New variables.
4f595e15
RA
4295 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4296 to new implementation. Mark as obsolete. Add compatibility code
4297 for honoring the variable values in case they are set.
375e49d4
SM
4298 (reftex-cite-format-builtin, reftex-bibliography-commands):
4299 Add support for ConTeXt.
4300 (reftex-format-ref-function, reftex-format-cite-function):
4301 Fix custom type.
4f595e15
RA
4302 (reftex-cite-key-separator): New variable.
4303
4304 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4305 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4306 `reftex-syntax-table' because parens have to retain their paren
4307 syntax in order for parsing of BibTeX entries like @book(...) to
4308 work.
4309 (reftex-in-comment): Do not error out if `comment-start-skip' is
4310 not set. Deal correctly with escaped comment characters.
375e49d4
SM
4311 (reftex-tie-multifile-symbols): Add doc string.
4312 Initialize `reftex-ref-style-list'.
4f595e15
RA
4313 (reftex-untie-multifile-symbols): Add doc string.
4314 (reftex-add-index-macros): Doc fix.
4315 (reftex-ref-style-activate, reftex-ref-style-toggle)
4316 (reftex-ref-style-list): New functions.
4317 (reftex-mode-menu): Use them. Adapt to new structure of
4318 `reftex-ref-style-alist'.
4319 (reftex-select-with-char): Kill the RefTeX Select buffer when
4320 done.
4321 (reftex-remove-if): New function.
4322 (reftex-erase-all-selection-and-index-buffers)
4323 (reftex-mode-menu): Reference styles are now computed from
4324 `reftex-ref-style-alist'. Fix typo.
4325 (reftex-report-bug): New function.
4326 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
4327 algorithms with O(n log n). Introduce optional argument SORT (not
4328 yet used).
4329
440ba395
FEG
43302012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
4331
4332 Enhancements for triple-quote string syntax.
375e49d4
SM
4333 * progmodes/python.el (python-syntax-propertize-function):
4334 Match both quote cases in one regexp.
440ba395
FEG
4335 (python-syntax-stringify): Handle matches properly.
4336
4c478e6b
JL
43372012-09-30 Juri Linkov <juri@jurta.org>
4338
4339 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 4340 to nil around the call to `insert' to prevent
4c478e6b
JL
4341 directory time modification by lock_file. (Bug#2295)
4342 * tar-mode.el (tar-summarize-buffer): Idem.
4343
d80d54b2
JL
43442012-09-30 Juri Linkov <juri@jurta.org>
4345
4346 * facemenu.el (list-colors-sort): Add option "Luminance".
4347 (list-colors-sort-key): Implement it.
4348
4349 * vc/diff-mode.el (diff-refine-removed):
4350 * vc/ediff-init.el (ediff-fine-diff-A):
4351 * vc/smerge-mode.el (smerge-refined-removed):
4352 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
4353
d7e642cc
JD
43542012-09-30 Jan Djärv <jan.h.d@swipnet.se>
4355
4356 * term/ns-win.el (x-file-dialog): New function.
4357
ee41332b
JB
43582012-09-30 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * ido.el (ido-max-directory-size): Default to nil; the current
4361 default is small for POSIX systems, and impractical on Windows 7
4362 now that lstat returns directory sizes for NTFS.
4363
5938d519
MR
43642012-09-30 Martin Rudalics <rudalics@gmx.at>
4365
4366 In buffer display functions handle window-height/window-width
4367 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
4368 * window.el (window--display-buffer): New argument ALIST.
4369 Obey window-height and window-width alist entries.
4370 (window--try-to-split-window): New argument ALIST.
4371 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
4372 changed and window-combination-limit equals `window-size'.
4373 (display-buffer-in-atom-window)
4374 (display-buffer-in-major-side-window)
4375 (display-buffer-in-side-window, display-buffer-same-window)
4376 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4377 (display-buffer-pop-up-window, display-buffer-below-selected)
4378 (display-buffer-at-bottom, display-buffer-in-previous-window)
4379 (display-buffer-use-some-window): Adjust all callers of
4380 window--display-buffer and window--try-to-split-window.
4381 (fit-frame-to-buffer): New option.
4382 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
4383 is non-nil.
4384 (display-buffer-in-major-side-window): Evaluate window-height /
4385 window-width alist entries.
4386
4387 * help.el (temp-buffer-resize-frames)
4388 (temp-buffer-resize-regexps): Remove options.
4389 (temp-buffer-resize-mode): Adjust doc-string.
4390 (resize-temp-buffer-window): Don't consult
4391 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
4392 temp-buffer-resize-frames.
4393
375e49d4
SM
4394 * dired.el (dired-mark-pop-up):
4395 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
4396 entry.
4397
c4c0c2df
CY
43982012-09-30 Chong Yidong <cyd@gnu.org>
4399
48de8b12
CY
4400 * server.el (server-host): Document the security implications.
4401 (server-auth-key): Doc fix.
4402
4403 * startup.el (initial-buffer-choice): Doc fix.
4404
4405 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
4406
a97dc380
CY
4407 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
4408 restriction change.
4409
d39d3c8e
CY
4410 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4411
c4c0c2df
CY
4412 * help-fns.el (help-fns--obsolete): Fix last change.
4413
98a5e33b
SM
44142012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
4415
34cf6f39
SM
4416 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
4417 (minor-mode-map-alist): Remove redundant code.
4418
e01c13fe
SM
4419 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
4420 visited in a buffer.
4421 (cvs-insert-visited-file): New function.
4422 (find-file-hook): Use it.
4423
4424 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
4425
02661b3a
SM
4426 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4427 chose face.
4428 (log-edit-empty-buffer-p): Don't require a space after a header.
4429
43711d4b
SM
4430 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
4431
38a30d64
SM
4432 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
4433
4ffb41a9
SM
4434 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
4435 a proper minor-mode.
4436
98a5e33b
SM
4437 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
4438
de82e29b
GM
44392012-09-29 Glenn Morris <rgm@gnu.org>
4440
5cc2e639
GM
4441 * winner.el (winner-mode): Remove variable (let define-minor-mode
4442 handle it).
4443 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
4444 Doc fixes.
4445 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
4446 (winner-mode): Use define-minor-mode.
4447
7bd302eb
GM
4448 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
4449 the full definition in loaddefs, rather than duplicating it.
4450
2923922f 4451 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 4452
0e3e4156
GM
4453 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
4454 (inferior-lisp-program, inferior-lisp-load-command)
4455 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 4456 No need to autoload defcustoms.
0e3e4156 4457
de82e29b
GM
4458 * hippie-exp.el (hippie-expand-try-functions-list)
4459 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
4460 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
4461 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 4462 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
4463 * progmodes/vhdl-mode.el (vhdl-line-expand):
4464 Explicitly load hippie-exp, so it does not get autoloaded
4465 while hippie-expand-try-functions-list is let-bound.
4466
e60b51ab
GM
44672012-09-28 Glenn Morris <rgm@gnu.org>
4468
277f0cfa
GM
4469 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
4470
e60b51ab
GM
4471 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
4472 Only "cl.el" counts as cl these days.
4473
53baf48a
JL
44742012-09-28 Juri Linkov <juri@jurta.org>
4475
4476 Display archive errors in the echo area instead of inserting
4477 to the file buffer.
4478
4479 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
4480 to STDERR-TEST that can be a regexp matching a successful output.
4481 Create a temporary file and redirect stderr to it. Search for
4482 STDERR-TEST in the stderr output and display it in the echo area
4483 if no match is found.
4484 (archive-extract-by-file): New function like
4485 `archive-extract-by-stdout' but extracting archives to files
4486 and looking for successful matches in stdout. Function body is
4487 mostly copied from `archive-rar-extract'.
4488 (archive-rar-extract): Use `archive-extract-by-file'.
4489 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
4490
9c1228c3
LL
44912012-09-28 Leo Liu <sdl.web@gmail.com>
4492
375e49d4
SM
4493 * pcomplete.el (pcomplete-show-completions):
4494 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 4495
9c1228c3
LL
4496 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
4497
7f457c06
SM
44982012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4499
3df749b0
SM
4500 * type-break.el: Use lexical-binding.
4501 (type-break-mode): Use define-minor-mode.
4502
7f457c06
SM
4503 * emacs-lisp/pcase.el (pcase--mark-used): New.
4504 (pcase--u1): Use it (bug#12512).
4505
4506 * custom.el (load-theme): Set buffer-file-name so the load is recorded
4507 in load-history with the right file name.
4508
c00ebc98
TH
45092012-09-28 Tassilo Horn <tsdh@gnu.org>
4510
4511 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
4512 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
4513 (doc-view-get-bounding-box): Make bounding box slicing work for
4514 ODF and DVI documents.
4515
96fb7170
GM
45162012-09-28 Glenn Morris <rgm@gnu.org>
4517
4518 * type-break.el (type-break-mode, type-break-interval)
4519 (type-break-good-rest-interval, type-break-keystroke-threshold):
4520 No need to autoload.
4521 (type-break-good-rest-interval, type-break-keystroke-threshold):
4522 Add :set-after.
4523
5bc93c67
CY
45242012-09-28 Chong Yidong <cyd@gnu.org>
4525
4526 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
4527 Add :version tag.
4528
9cad61d6
SM
45292012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4530
e28e67b3 4531 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 4532
daee954c
GM
45332012-09-27 Glenn Morris <rgm@gnu.org>
4534
a88324d4
GM
4535 * faces.el (x-display-name): Declare (for without-x builds).
4536
8e5064e5
GM
4537 * linum.el (linum-format): Don't autoload it. Improve :type.
4538
cc1783c2
GM
4539 * progmodes/tcl.el: Don't require outline when compiling.
4540 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
4541 * textmodes/sgml-mode.el: Don't require outline when compiling.
4542 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
4543
48c339f2
GM
4544 * term.el (term-ansi-reset):
4545 Try setting term-ansi-face-already-done to nil. (Bug#11785)
4546
daee954c
GM
4547 * vc/vc.el (vc-next-action): Only gripe about committing read-only
4548 files for RCS and SCCS. (Bug#9781)
4549
b7f42161
CY
45502012-09-27 Chong Yidong <cyd@gnu.org>
4551
4552 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
4553 change; value should be t.
4554
a2e770db
SM
45552012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4556
83600dc8
SM
4557 * image-mode.el: Use lexical-binding.
4558 (image-mode-winprops): Use t to stand for the window of
4559 a buffer that's not displayed.
4560 * doc-view.el (doc-view-new-window-function): Handle the new
4561 t in winprops.
4562 (doc-view-enlarge): Make it a real nop if the size is not changed.
4563 (doc-view-display): Handle the case where the buffer is not (yet?)
4564 displayed in any window.
4565 (doc-view-saved-settings): New var.
4566 (doc-view-mode): Use it.
4567 (doc-view-fallback-mode): Set it.
4568
a2e770db
SM
4569 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
4570 Set lexical-binding.
4571 (minibuffer-eldef-shorten-default): New var.
4572 (minibuffer-default-in-prompt-regexps): Use it for new default.
4573 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
4574
e3b60857
JB
45752012-09-26 Juanma Barranquero <lekktu@gmail.com>
4576
4577 * international/uni-bidi.el:
4578 * international/uni-category.el:
4579 * international/uni-name.el:
4580 * international/uni-numeric.el: Regenerate.
4581
3a880af4
SM
45822012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
4583 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * profiler.el: New file.
4586
07b1a5fb
SM
45872012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
4590 (testcover-reinstrument): Simplify with CSE.
4591
42019c2e
JB
45922012-09-26 Juanma Barranquero <lekktu@gmail.com>
4593
4594 * window.el (temp-buffer-window-setup): Fix typo in docstring.
4595
179f044b
WS
45962012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
4597
4598 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
4599 (verilog-auto-input, verilog-auto-insert-lisp)
4600 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
4601 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
4602 (verilog-auto-unused, verilog-auto-wire)
4603 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
4604 newline. Reported by Andrew Jones.
4605 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
4606 Reported by Brad Dobbie.
07b1a5fb
SM
4607 (verilog-batch-delete-trailing-whitespace):
4608 Create verilog-batch-delete-trailing-whitespace.
4609 Reported by Brad Dobbie.
179f044b
WS
4610 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
4611 parameters from another module. Reported by Dan Katz.
4612 (verilog-auto, verilog-auto-assign-modport)
4613 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
4614 AUTOINOUTMODPORT for UVM interface module shell generation.
4615 Reported by Brad Dobbie.
4616 (verilog-auto-inst-interfaced-ports): Make default nil, as more
4617 standard behavior.
4618 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
4619 Reported by Matt Martin.
4620
9c52dd5a
MR
46212012-09-25 Martin Rudalics <rudalics@gmx.at>
4622
4623 * window.el (window--resize-child-windows): When resizing child
4624 windows proportionally, process them in reverse order to
4625 preserve the "when splitting a window the new one gets the odd
4626 line" behavior.
4627 (window--resize-root-window-vertically): When resizing the
4628 minibuffer window try to affect only windows at the bottom of the
4629 frame. (Bug#12419)
4630
863666eb
CY
46312012-09-25 Chong Yidong <cyd@gnu.org>
4632
4633 * subr.el (declare): Doc fix.
4634
4635 * help-fns.el (help-fns--obsolete): Handle macros properly.
4636
59f7af81
CY
46372012-09-25 Chong Yidong <cyd@gnu.org>
4638
4639 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4640 this function obsolete.
4641
4642 * calendar/cal-x.el (calendar-two-frame-setup)
4643 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4644 * calendar/calendar.el (american-calendar, european-calendar)
4645 (calendar-for-loop):
4646 * comint.el (comint-dynamic-simple-complete)
4647 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4648 * desktop.el (desktop-load-default):
4649 * dired-x.el (dired-omit-here-always)
4650 (dired-hack-local-variables, dired-default-directory):
4651 * emacs-lisp/derived.el (derived-mode-class):
4652 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4653 * emacs-lock.el (toggle-emacs-lock):
4654 * epa.el (epa-display-verify-result):
4655 * epg.el (epg-sign-keys, epg-start-sign-keys)
4656 (epg-passphrase-callback-function):
4657 * eshell/esh-util.el (eshell-for):
4658 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4659 (eshell-add-to-window-buffer-names):
4660 * files.el (locate-file-completion):
4661 * imenu.el (imenu-example--create-c-index)
4662 (imenu-example--create-lisp-index)
4663 (imenu-example--lisp-extract-index-name)
4664 (imenu-example--name-and-position):
4665 * international/mule-cmds.el (princ-list):
4666 * international/mule-diag.el (decode-codepage-char):
4667 * international/mule-util.el (detect-coding-with-priority):
4668 * iswitchb.el (iswitchb-read-buffer):
4669 * mail/mailalias.el (mail-complete):
4670 * mail/sendmail.el (mail-sent-via):
4671 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4672 (mouse-major-mode-menu):
4673 * password-cache.el (password-read-and-add):
4674 * pcomplete.el (pcomplete-parse-comint-arguments):
4675 * progmodes/sh-script.el (sh-maybe-here-document):
4676 * replace.el (query-replace-regexp-eval):
4677 * savehist.el (savehist-load):
4678 * simple.el (choose-completion-delete-max-match):
4679 * term.el (term-dynamic-simple-complete):
4680 * vc/ediff-init.el (ediff-check-version):
4681 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4682 * vc/vc.el (vc-diff-switches-list):
4683 * view.el (view-return-to-alist-update): Likewise.
4684
4685 * subr.el (eval-next-after-load, makehash, insert-string)
4686 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4687 mark obsolete.
4688 (mode-line-inverse-video): Variable deleted.
4689
4690 * international/mule-util.el (string-to-sequence): Remove.
4691
4692 * calendar/calendar.el (calendar-version):
4693 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4694 (icalendar-convert-diary-to-ical):
4695 * cus-edit.el (custom-mode):
4696 * ansi-color.el (ansi-color-unfontify-region):
4697 * international/latin1-disp.el (latin1-char-displayable-p):
4698 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
4699 * progmodes/which-func.el (which-func-update-1):
4700 Use define-obsolete-function-alias.
59f7af81
CY
4701
4702 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
4703 * net/newst-treeview.el (newsticker-groups-filename):
4704 Fix incorrect obsolescence declaration.
59f7af81
CY
4705
4706 * allout.el (allout-passphrase-hint-string): Likewise.
4707 (allout-init): Use a declare form to mark obsolete.
4708
4709 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4710 this applies to functions.
4711
4712 * iswitchb.el (iswitchb-read-buffer): Move code of
4713 iswitchb-define-mode-map here, and delete that obsolete function.
4714
4715 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4716 font-lock-reference-face.
4717
cca96c97
GM
47182012-09-25 Glenn Morris <rgm@gnu.org>
4719
b06eeda8
GM
4720 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4721 Doc fixes.
4722
cca96c97
GM
4723 * eshell/em-term.el (eshell-term-name):
4724 Default to term-term-name. (Bug#12485)
4725
dc4f818b
FEG
47262012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4727
cca96c97
GM
4728 * progmodes/python.el (python-shell-send-buffer): Better handling
4729 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 4730
289c24bd
GM
47312012-09-24 Glenn Morris <rgm@gnu.org>
4732
4733 * eshell/esh-cmd.el (eshell-find-alias-function):
4734 Tighten up file-name regexp. (Bug#12499)
4735
8fb8b88f
FEG
47362012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4737
4738 Enhancements for triple-quote string syntax.
4739 * progmodes/python.el (python-quote-syntax): Remove.
4740 (python-syntax-propertize-function): New value.
07b1a5fb
SM
4741 (python-syntax-count-quotes, python-syntax-stringify):
4742 New functions.
8fb8b88f 4743
6c27f0f8
CY
47442012-09-24 Chong Yidong <cyd@gnu.org>
4745
a5f2b6ec
CY
4746 * mail/supercite.el (sc-version): Remove obsolete function.
4747 (sc-describe): Don't mark as obsolete, since it is bound.
4748 (sc-submit-bug-report): Remove.
4749
4750 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4751 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
4752 (log-edit-require-final-newline)
4753 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
4754
4755 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4756 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4757 * vc/vc.el (vc-checkout-carefully): Likewise.
4758
4759 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4760 (emerge-version): Remove.
4761
4762 * progmodes/compile.el (compile-internal): Remove.
4763 (compilation-parse-errors-function): Fix typo.
4764
4765 * international/mule.el (set-char-table-default): Remove.
4766 (set-coding-priority, make-coding-system, generic-char-p)
4767 (charset-list, charset-bytes, charset-id): Use declare to mark
4768 functions as obsolete.
4769
4770 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4771 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4772 * vc/vc-hooks.el (vc-default-registered): Don't use
4773 vc-master-templates.
4774
07b1a5fb
SM
4775 * font-lock.el (font-lock-reference-face):
4776 Use define-obsolete-variable-alias.
6c27f0f8
CY
4777
4778 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4779 * calendar/calendar.el (calendar-font-lock-keywords):
4780 * calendar/diary-lib.el (diary-font-lock-keywords)
4781 (diary-fancy-font-lock-keywords):
4782 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4783 * textmodes/reftex-index.el (reftex-insert-index):
4784 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4785 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4786 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4787 * progmodes/prolog.el (prolog-font-lock-keywords):
4788 * progmodes/idlwave.el (idlwave-idl-keywords):
4789 * progmodes/ada-mode.el (ada-font-lock-keywords):
4790 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4791
bcc0adbf
GM
47922012-09-24 Glenn Morris <rgm@gnu.org>
4793
4794 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4795
095bb823
FEG
47962012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4797
4798 * progmodes/python.el (python-indent-line): More consistent cursor
4799 movement behavior.
4800
70efc5c9
SM
48012012-09-23 Stefan Merten <smerten@oekonux.de>
4802
4803 * textmodes/rst.el: Fix compiler warning.
4804
2f438239
RW
48052012-09-23 Roland Winkler <winkler@gnu.org>
4806
07b1a5fb
SM
4807 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4808 Transcribe also LaTeX hyphenation.
2f438239
RW
4809 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4810 bibtex-reformat-previous-options.
4811
936ad041
RW
48122012-09-23 Roland Winkler <winkler@gnu.org>
4813
4814 * proced.el (proced-renice-command): New variable.
4815 (proced-marked-processes): New function.
4816 (proced-with-processes-buffer): New macro.
4817 (proced-send-signal): Use them.
4818 (proced-renice): New command bound to r.
4819
6fab0274
RW
48202012-09-23 Roland Winkler <winkler@gnu.org>
4821
4822 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4823 ibuffer-saved-filter-groups has one element, shortcut the call of
4824 completing-read. (Bug#12331)
4825
9a930676
CY
48262012-09-23 Chong Yidong <cyd@gnu.org>
4827
4828 * bindings.el (mode-line-toggle-read-only):
4829 * bs.el (bs-toggle-readonly):
4830 * buff-menu.el (Buffer-menu-toggle-read-only):
4831 * dired.el (dired-toggle-read-only):
4832 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4833
d07ff9db
CY
48342012-09-23 Chong Yidong <cyd@gnu.org>
4835
4836 * image.el (image-type-available-p): Adapt to init-image-library
4837 argument changes.
4838
51c4474e
JL
48392012-09-22 Juri Linkov <juri@jurta.org>
4840
4841 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4842 `dired-toggle-read-only'. (Bug#12462)
4843
43bf5e8e
MR
48442012-09-22 Martin Rudalics <rudalics@gmx.at>
4845
4846 * subr.el (temp-output-buffer-show): New function.
4847 (with-output-to-temp-buffer): Call temp-output-buffer-show
4848 instead of internal-temp-output-buffer-show.
4849
c88b867f
CY
48502012-09-22 Chong Yidong <cyd@gnu.org>
4851
3df47cd5
CY
4852 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4853 (Bug#12462).
4854
c88b867f
CY
4855 * repeat.el (repeat): Doc fix (Bug#12348).
4856
4857 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4858 (Bug#10909).
4859
4860 * simple.el (shell-command-on-region): Doc fix.
3171e303 4861 (read-only-mode): Doc fix.
c88b867f 4862
df9685f3
EZ
48632012-09-22 Eli Zaretskii <eliz@gnu.org>
4864
4865 * emacs-lisp/timer.el (run-with-idle-timer)
4866 (timer-activate-when-idle): Warn against reinvoking an idle timer
4867 from within its own timer action. (Bug#12447)
4868
8e17c9ba
MR
48692012-09-22 Martin Rudalics <rudalics@gmx.at>
4870
4871 * cus-start.el (window-combination-limit): Add new optional
4872 values.
4873 * window.el (temp-buffer-window-show)
4874 (window--try-to-split-window): Handle new values of
4875 window-combination-limit (Bug#1806).
4876 (split-window): Test window-combination-limit for t instead of
4877 non-nil.
4878 (display-buffer-at-bottom): New buffer display action function.
4879 * help.el (temp-buffer-resize-regexps): New option.
4880 (temp-buffer-resize-mode): Rewrite doc-string.
4881 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 4882 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 4883
48a24920
SM
48842012-09-22 Stefan Merten <smerten@oekonux.de>
4885
70efc5c9 4886 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
4887 (rst-official-version)
4888 (rst-package-emacs-version-alist): Sync with official version
4889 V1.4.0.
4890 (rst-faces-defaults, rst-set-level-default)
4891 (rst-level-face-max, rst-level-face-base-color)
4892 (rst-level-face-base-light, rst-level-face-format-light)
4893 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4894 (rst-adornment-faces-alist): Match new setup.
4895 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4896 (rst-level-5, rst-level-6): New faces.
4897
82f8cd94
CY
48982012-09-22 Chong Yidong <cyd@gnu.org>
4899
4900 * simple.el (undo): Handle indirect buffers (Bug#8207).
4901
acfa068f 49022012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
4903
4904 IDO: Disable match re-ordering for buffer switching.
2bc9406c 4905 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
4906 (ido-set-matches-1): Use it. (Bug#2042)
4907
acfa068f 49082012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
4909
4910 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4911 Fix 2011-05-17 change. (Bug#12418)
4912
acfa068f 49132012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
4914
4915 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4916
acfa068f 49172012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
4918
4919 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4920 Be more robust about locating simple.el.
4921
acfa068f 49222012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
4923
4924 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4925
acfa068f
CY
49262012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4927
4928 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4929
41a97e6f
JL
49302012-09-20 Juri Linkov <juri@jurta.org>
4931
eb2deaff
JL
4932 * replace.el (query-replace-read-from): Use `read-regexp' instead
4933 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4934 (occur-read-primary-args): Use `read-regexp' instead of
4935 `read-string'.
4936 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4937 `read-from-minibuffer'.
4938 * isearch.el (isearch-occur): Use `read-regexp' instead of
4939 `read-string'.
4940 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4941 `read-from-minibuffer'.
4942 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4943 of `read-string'. (Bug#7567)
4944
5825610b
JL
4945 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4946 and allow accepting a list of strings prepended to a list of
4947 standard default values. Doc fix. (Bug#12321)
4948
eebbf404
JL
4949 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4950
41a97e6f
JL
4951 * replace.el (read-regexp): Don't add ": " when PROMPT already
4952 ends with a colon and space. (Bug#12321)
4953
c9e452d3
TH
49542012-09-20 Tassilo Horn <tsdh@gnu.org>
4955
4956 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4957 error.
4958
ee97deee
SM
49592012-09-20 Stefan Merten <smerten@oekonux.de>
4960
70efc5c9 4961 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
4962 Fixes feature request bug#11711.
4963 (rst-mode): Create `imenu-create-index-function'.
4964 (rst-get-stripped-line): Delete after refactoring.
4965 (rst-section-tree, rst-section-tree-rec)
4966 (rst-section-tree-point): Refactor and document properly.
4967 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
4968 (rst-imenu-convert-cell, rst-imenu-create-index):
4969 New function.
ee97deee 4970
f490dab9
SM
49712012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4972
95b9712e
SM
4973 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4974 (macroexp--expand-all): Use it.
4975 (macroexp--funcall-and-return): Remove by folding it into its sole
4976 caller (macroexp--warn-and-return).
4977 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4978 Use macroexp--obsolete-warning.
4979
f490dab9
SM
4980 * calc/calc.el: Fix last change by removing the whole chunk, since it
4981 was only needed back when Calc was not bundled.
4982
96e8d411
MR
49832012-09-20 Martin Rudalics <rudalics@gmx.at>
4984
4985 * emacs-lisp/debug.el (debug): Restore assignment to
4986 debugger-old-buffer removed on 2012-09-08.
4987
0876a82d
JL
49882012-09-20 Juri Linkov <juri@jurta.org>
4989
4990 * dired-aux.el (dired-diff): Remove (require 'diff) since
4991 `diff-latest-backup-file' is now autoloaded.
4992
9f7c28f0
CY
49932012-09-20 Chong Yidong <cyd@gnu.org>
4994
4995 * vc/diff.el (diff-latest-backup-file): Autoload.
4996
7a04bee9
SM
49972012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4998
e6f0a80d
SM
4999 * calc/calc.el: Remove redundant autoload shape check.
5000 (sel-mode): Don't defvar.
5001 (calc-get-stack-element): Add `sel-mode' arg instead.
5002 (calc-top, calc-top-list): Pass it this additional argument.
5003 * calc/calc-store.el (calc-store-map):
5004 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5005 (calc-map-equation, calc-outer-product, calc-inner-product):
5006 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5007
7a04bee9
SM
5008 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5009
12734222
JL
50102012-09-19 Juri Linkov <juri@jurta.org>
5011
5012 * dired-aux.el (dired-diff): Add (require 'diff) because
5013 `diff-latest-backup-file' is not autoloaded.
5014 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5015 of `dired-get-filename' to t to not report error when there is
5016 no default file on the current line.
5017
46624b4f
SM
50182012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5019
ce97595b
SM
5020 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5021 macroexp--eval-if-compile.
5022 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5023 (macroexp--expand-all): Use them (bug#12371).
5024
46624b4f
SM
5025 * doc-view.el (doc-view-guess-paper-size)
5026 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5027
db8a5a18
TH
50282012-09-19 Tassilo Horn <tsdh@gnu.org>
5029
5030 New feature: set optimal slice from BoundingBox information.
5031 * doc-view.el (doc-view-mode-map): Add keybinding.
5032 (doc-view-menu): Add menu entry.
5033 (doc-view-set-slice): Adapt docstring.
5034 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5035 (doc-view-scale-bounding-box)
5036 (doc-view-set-slice-from-bounding-box): New functions.
5037 (doc-view-paper-sizes): New defvar.
5038
69f6644c
GM
50392012-09-19 Glenn Morris <rgm@gnu.org>
5040
35f5b19d
GM
5041 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5042 (byte-compile-log-warning): Autoload. (Bug#12371)
5043
69f6644c
GM
5044 * calendar/calendar.el (calendar-american-month-header)
5045 (calendar-european-month-header, calendar-iso-month-header)
5046 (calendar-month-header): New options.
5047 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5048 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5049
e543ae91
JD
50502012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5051
5052 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5053
2fd5e67d
JL
50542012-09-18 Juri Linkov <juri@jurta.org>
5055
5056 * dired-aux.el (dired-diff): Restore original functionality of
5057 getting the default value, but keep new feature of using the
5058 latest existing backup file (`diff-latest-backup-file').
5059
42917e79
JL
50602012-09-18 Juri Linkov <juri@jurta.org>
5061
5062 * dired.el (dired-mark): If the region is active in Transient Mark
5063 mode, mark all files in the active region. Doc fix.
5064 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5065 Doc fix. (Bug#10624)
5066
20f70ede
JL
50672012-09-18 Juri Linkov <juri@jurta.org>
5068
5069 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5070 attributes for M-n are pulled from the file at point.
5071 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5072 Suggested by Drew Adams. (Bug#10624)
5073
32fb8162
DG
50742012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5077 whitespace after "end".
5078 (ruby-do-end-to-brace): Collapse block to one line if it fits
5079 within fill-column.
5080
37ab5092
MR
50812012-09-18 Martin Rudalics <rudalics@gmx.at>
5082
5083 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5084 value.
5085 (debug): Don't remove debugger window when debugger is expected
5086 to be back.
5087
ed1f0bd3
CY
50882012-09-18 Chong Yidong <cyd@gnu.org>
5089
5090 * custom.el (defface): Doc fix.
5091
5092 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5093
a11035b8
MB
50942012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5095
5096 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5097 to initialize query-on-exit; then test that instead (bug#12288).
5098
64f6a736
SM
50992012-09-17 Stefan Merten <smerten@oekonux.de>
5100
70efc5c9 5101 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
5102 (rst-defcustom-testcover, rst-testcover-add-compose)
5103 (rst-testcover-add-1value): New functions.
5104 (rst-portable-mark-active-p): Replace by `use-region-p'.
5105 (rst-update-section, rst-classify-adornment)
5106 (rst-find-title-line): Mark `1value' forms.
5107 (rst-classify-adornment): Remove superfluous form.
5108 (rst-update-section, rst-get-adornments-around)
5109 (rst-adornment-complete-p, rst-get-next-adornment)
5110 (rst-adjust, rst-promote-region)
5111 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5112 (rst-find-pfx-in-region, rst-section-tree-rec)
5113 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5114 (rst-toc-node, rst-toc, rst-forward-section)
5115 (rst-iterate-leftmost-paragraphs)
5116 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5117 (rst-bullet-list-region)
5118 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5119 (rst-compile-find-conf, rst-compile)
5120 (rst-repeat-last-character): Fix style.
5121
580bd868
CY
51222012-09-17 Chong Yidong <cyd@gnu.org>
5123
5124 * comint.el (comint--complete-file-name-data): Don't add a space
5125 if the status is `sole'; that adds a gratuitous space in the
5126 completion-cycling case (Bug#12092).
5127
5128 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5129
69de3ec6
RS
51302012-09-17 Richard Stallman <rms@gnu.org>
5131
0dee970c
RS
5132 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5133 only in the mime-shown mode, not in raw mode.
5134 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 5135 mime processing. (Bug#12305)
0dee970c 5136
6b250df6
GM
5137 * mail/rmail.el (rmail-retry-failure):
5138 Turn off mime processing first. (Bug#12037)
acb1c47b 5139
69de3ec6
RS
5140 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5141
d079ee5f
CY
51422012-09-17 Chong Yidong <cyd@gnu.org>
5143
5144 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5145 (shell-dynamic-complete-functions): Convert to defcustom.
5146 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5147
865fe16f
CY
5148 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5149 * comint.el (comint-prompt-read-only):
5150 * custom.el (defcustom):
5151 * hi-lock.el (hi-lock-mode):
5152 * ibuffer.el (ibuffer-formats):
5153 * ielm.el (ielm-prompt-read-only):
5154 * novice.el (disable-command):
5155 * saveplace.el (toggle-save-place):
5156 * speedbar.el (speedbar-supported-extension-expressions):
5157 * startup.el (auto-save-list-file-prefix, init-file-user)
5158 (after-init-hook, inhibit-startup-echo-area-message):
5159 * strokes.el (strokes-help):
5160 * time-stamp.el (time-stamp):
5161 * calendar/calendar.el (calendar, diary-file):
5162 * calendar/diary-lib.el (diary-mail-entries, diary)
5163 (diary-list-entries-hook):
5164 * calendar/holidays.el (holidays, calendar-holidays):
5165 * calendar/lunar.el (lunar-phases):
5166 * calendar/solar.el (sunrise-sunset):
5167 * emulation/edt.el (edt-load-keys):
5168 * emulation/viper.el (viper-mode):
5169 * eshell/em-alias.el (eshell-command-aliases-list):
5170 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5171 * international/ogonek.el (ogonek-information):
5172 * net/tramp-cmds.el (tramp-bug):
5173 * net/quickurl.el (quickurl-reread-hook-postfix):
5174 * play/decipher.el (decipher-font-lock-keywords):
5175 * progmodes/cc-styles.el (c-set-style):
5176 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5177 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5178 * progmodes/octave-mod.el (octave-mode):
5179 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5180 * progmodes/verilog-mode.el (verilog-read-defines):
5181 * textmodes/two-column.el (2C-mode): Likewise.
5182
48093eb9
KY
51832012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5184
5185 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5186 that holds many addresses.
5187
c584eaf9
CY
51882012-09-16 Chong Yidong <cyd@gnu.org>
5189
40d70ecb
CY
5190 * align.el (align-areas): Call the indication function with
5191 positions instead of markers for arguments (Bug#12343).
5192
1667e065
CY
5193 * files.el (parse-colon-path): Use split-string (Bug#12351).
5194
fdc2806d 5195 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 5196 (display-buffer-function): Mark as obsolete.
fdc2806d 5197
f1be615c 5198 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
5199 values similar to font-lock-keywords (Bug#12136).
5200 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
5201 (compilation-error-regexp-alist): Doc fix.
5202
f40a9709
GM
52032012-09-15 Glenn Morris <rgm@gnu.org>
5204
72aa16e1
GM
5205 * version.el (emacs-bzr-version-bzr): New function.
5206 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5207
82375160
GM
5208 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5209 checkouts, check the parent dirstate matches the branch.
5210 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5211 empty string.
5212
f40a9709
GM
5213 * version.el (emacs-bzr-version): Doc fix.
5214 (emacs-bzr-version-dirstate): New function.
5215 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5216 is local try and check that it matches the branch. If not, just
5217 use dirstate information. (Bug#12441)
5218
cb26b7f5
JL
52192012-09-14 Juri Linkov <juri@jurta.org>
5220
5221 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5222 (Bug#12399)
5223
2de39f08
SM
52242012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5225
0fb3cb7c
SM
5226 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5227
2de39f08
SM
5228 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5229 Remove obsolete byte-compiler hack that tried to silence some warnings.
5230 (edebug-submit-bug-report): Remove.
5231 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5232 Remove aliases, use the un-prefixed name instead.
5233 (edebug-pop-to-buffer): Consider other frames.
5234 (edebug-original-read):: Make it more obvious that it's always defined.
5235 (edebug--make-form-data-entry, edebug--form-data-name)
5236 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5237 single-dashed name, and implement with cl-defstruct.
5238 (edebug-set-form-data-entry): Use the standard accessors.
5239 (edebug-make-top-form-data-entry): Use push.
5240 (edebug-no-match): Drop useless `funcall'.
5241 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5242 to functions.
5243 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5244 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5245 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5246 (easy-menu-define, with-custom-print): Remove redundant specs.
5247 (edebug-outside-overriding-local-map)
5248 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5249 (edebug--display): Bind unread-command-events directly to nil rather
5250 than binding it to unread-command-events and later setting it to nil.
5251 (edebug--display): Kill edebug-eval-buffer here...
5252 (edebug--recursive-edit): ...rather than here.
5253 Bind standard-output and standard-input.
5254 (edebug-eval): Check cl-macroexpand-all is fboundp.
5255 (edebug-temp-display-freq-count): Fix last change.
5256
5257 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5258 * subr.el (noreturn, 1value): Add `debug' spec.
5259 * emacs-lisp/advice.el: Require cl-lib.
5260 (ad-copy-tree): Remove, use copy-tree instead.
5261 (ad-dolist): Remove use dolist or cl-dolist instead.
5262 (ad-do-return): Remove, use cl-return instead.
5263 (defadvice): Add `debug' spec.
5264
5b68b333
JL
52652012-09-13 Juri Linkov <juri@jurta.org>
5266
5267 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5268 (Bug#12399)
5269
b9800ec4
GM
52702012-09-13 Glenn Morris <rgm@gnu.org>
5271
6a2e6868
GM
5272 * calc/calc.el (math-compose-expr):
5273 * calc/calc-ext.el (math-compose-expr):
5274 * progmodes/cc-defs.el (cl-macroexpand-all):
5275 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5276 (cl-macroexpand-all): Update declarations.
5277
b9800ec4
GM
5278 * vc/vc.el: No need to require ediff.
5279 (ediff-load-version-control): Declare.
5280 (ediff-vc-internal): Fix declaration.
5281 (vc-version-ediff): Require ediff.
5282
c18e885b
PE
52832012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5284
5285 Use a more backwards-compatible timer format (Bug#12430).
5286 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5287 being right after USECS, as that better supports old code that
5288 inadvisedly looked directly at the timer vector.
5289
d607d303
KH
52902012-09-13 Kenichi Handa <handa@gnu.org>
5291
5292 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5293 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5294 `coding-priority' property of these language environment.
5295
72eac303
PE
52962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5297
5298 Fix glitches caused by addition of psec to timers (Bug#12430).
5299 * image.el (image-animate-timer):
5300 * time.el (display-time-world-timer):
5301 Use timer--function and timer--args rather than raw access to
5302 timer vector.
5303
2168fe4f
GM
53042012-09-13 Glenn Morris <rgm@gnu.org>
5305
5306 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5307 If not compiling a file, try using load-file-name.
5308
bd8d6108
SM
53092012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5310
c0c54fbd
SM
5311 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5312 Fix last change.
5313 (edebug-update-eval-list): Use `push'.
5314
bd8d6108
SM
5315 * emacs-lisp/edebug.el: Use lexical-binding.
5316 Remove the "edebug-" prefix from non-dynamically-scoped variables.
5317 Mark unused args with underscore.
5318 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
5319 (edebug-form-data): Use defvar-local.
5320 (edebug-make-before-and-after-form, edebug-make-after-form):
5321 Use backquote.
5322 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
5323 Not dynamically scoped any more.
5324 (edebug--enter-trace): Add arguments `function' and `args'.
5325 Rename from edebug-enter-trace.
5326 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
5327 (edebug--update-coverage): Add `after-index' and `value' args.
5328 Rename from edebug-update-coverage.
5329 (edebug-slow-after): Call it accordingly.
5330 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
5331 edebug-recursive-edit.
5332 (edebug--display): Call it accordingly. Add args `value',
5333 `offset-index', and `arg-mode'. Rename from edebug-display.
5334 (edebug-debugger, edebug): Call it accordingly.
5335 (edebug-eval-display-list): Use dolist.
5336
a9f9d9de
JL
53372012-09-12 Juri Linkov <juri@jurta.org>
5338
5339 * info.el (Info-search): Don't check for isearch-mode and
5340 isearch-regexp before let-binding search-spaces-regexp to
5341 Info-search-whitespace-regexp.
5342 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
5343 search-whitespace-regexp if isearch-lax-whitespace or
5344 isearch-regexp-lax-whitespace is non-nil.
5345 (Info-mode): Don't set local variable search-whitespace-regexp.
5346 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
5347
bfeae2cf
SM
53482012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
5351 (debugger-env-macro): Remove support for unread-command-char.
5352
5353 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
5354 the temporary map re-appearing on emulation-mode-map-alists.
5355
5356 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
5357 since 22.1.
5358
5359 * ehelp.el (with-electric-help): Accept functions in
5360 electric-help-form-to-execute.
5361 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
5362 And replace unread-command-char -> unread-command-events.
5363
fbbcaf1b
MA
53642012-09-12 Michael Albinus <michael.albinus@gmx.de>
5365
5366 Sync with Tramp 2.2.6.
5367
5368 * net/tramp.el (tramp-accept-process-output): Don't use
5369 JUST-THIS-ONE in the XEmacs case.
5370
5371 * net/trampver.el: Update release number.
5372
4dece104
MR
53732012-09-12 Martin Rudalics <rudalics@gmx.at>
5374
bfeae2cf
SM
5375 * emacs-lisp/debug.el (debugger-previous-window-height):
5376 New variable.
4dece104
MR
5377 (debug): When debugger-jumping-flag is non-nil try to restore
5378 height of debugger window. (Bug#8789)
5379
45b82ad0
SM
53802012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5381
60c49c0f
SM
5382 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
5383 overriding-local-map and pre/post-command-hook here.
5384 (edebug-recursive-edit): Do it here instead (bug#12345).
5385 (edebug-outside-unread-command-char): Remove all uses of
5386 unread-command-char.
5387
45b82ad0
SM
5388 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
5389 inhibit-debugger is bound instead.
5390
baa26ea0
BG
53912012-09-11 Bastien Guerry <bzg@gnu.org>
5392
5393 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 5394 (Bug#12346)
baa26ea0 5395
04e8abfa
BG
53962012-09-11 Bastien Guerry <bzg@gnu.org>
5397
96d03571 5398 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 5399 (Bug#12347)
96d03571
BG
5400
54012012-09-11 Bastien Guerry <bzg@gnu.org>
5402
fc0c31f8 5403 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 5404
04e082b0
MM
54052012-09-10 Michael R. Mauger <mmaug@yahoo.com>
5406
5407 * progmodes/sql.el: Version 3.1
5408 (sql-db2-escape-newlines): New variable.
5409 (sql-escape-newlines-filter): Use it.
5410
399a361b
JB
54112012-09-10 Juanma Barranquero <lekktu@gmail.com>
5412
5413 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
5414
0780c517
DN
54152012-09-10 Dan Nicolaescu <dann@gnu.org>
5416
45b82ad0
SM
5417 * vc/diff-mode.el (diff-mode-menu):
5418 Bind diff-remove-trailing-whitespace.
0780c517 5419
9b851e25
SM
54202012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
5423 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
5424 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
5425 (eval-sexp-add-defvars): Don't skip defvars in column >0.
5426 (eval-defun-2): Remove bogus interactive spec.
5427 (lisp-indent-line): Remove redundant whole-exp code, now done in
5428 indent-according-to-mode.
5429 (save-match-data): Remove redundant indent data.
5430
5431 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
5432 Use `declare'.
5433
3231d532
JL
54342012-09-09 Juri Linkov <juri@jurta.org>
5435
5436 * replace.el (replace-regexp-lax-whitespace): New defcustom.
5437 (replace-lax-whitespace, query-replace-regexp)
5438 (query-replace-regexp-eval, replace-regexp): Doc fix.
5439 (perform-replace, replace-highlight): Let-bind
5440 isearch-lax-whitespace to replace-lax-whitespace and
5441 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
5442
5443 * isearch.el (isearch-query-replace): Let-bind
5444 replace-lax-whitespace to isearch-lax-whitespace and
5445 replace-regexp-lax-whitespace to
5446 isearch-regexp-lax-whitespace. (Bug#10885)
5447
70fe8236
SM
54482012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
5451
8ed43f15
AM
54522012-09-09 Alan Mackenzie <acm@muc.de>
5453
70fe8236
SM
5454 * progmodes/cc-engine.el (c-state-cache-init):
5455 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
5456 (c-record-parse-state-state):
5457 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 5458
bfabf70a
AS
54592012-09-09 Andreas Schwab <schwab@linux-m68k.org>
5460
5461 * register.el (register-separator): Rename from
5462 separator-register. All uses changed. Doc fix.
5463 (register): Fix version.
5464
011474aa
CY
54652012-09-09 Chong Yidong <cyd@gnu.org>
5466
5467 * replace.el (query-replace-map): Bind four new symbols for
5468 requesting window scrolling.
5469
5470 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
5471 query-replace-map (Bug#8948).
5472
5473 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
5474
5475 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
5476 since they are now in query-replace-map.
5477
5478 * window.el (scroll-other-window-down): Make the arg optional.
5479
a8b7cd8d
CY
54802012-09-09 Chong Yidong <cyd@gnu.org>
5481
5482 * files.el (hack-local-variables-confirm): Use quit-window to kill
5483 the *Local Variables* buffer.
5484
c3268831
DG
54852012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5486
5487 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
5488 not just expect to be at its beginning. Adjust callees.
5489 Succeed when do-end block has no space before the pipe character.
5490 (ruby-brace-to-do-end): When the original block is one-liner,
5491 convert to multiline. Reindent the result.
5492
0979429b
J
54932012-09-08 Jambunathan K <kjambunathan@gmail.com>
5494
5495 * register.el (register): New group.
27359e99 5496 (separator-register): New user option.
0979429b
J
5497 (increment-register): Route it to `append-to-register', if
5498 register contains text. Implication is that `C-x r +' can now be
5499 used for appending to a text register (bug#12217).
5500 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 5501 `separator-register'.
0979429b 5502
ace2989a
AM
55032012-09-08 Alan Mackenzie <acm@muc.de>
5504
5505 AWK Mode: make auto-newline work when there's "==" in the pattern.
5506 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5507 correctly.
0979429b
J
5508 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
5509 Test more rigorously for "=" token.
ace2989a 5510
616c6c36
DG
55112012-09-08 Dmitry Gutov <dgutov@yandex.ru>
5512
0979429b
J
5513 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
5514 Only fail when reached LIMIT.
616c6c36 5515
35d98877
CY
55162012-09-08 Chong Yidong <cyd@gnu.org>
5517
5518 * dired.el (dired-mode-map): Don't bind M-=.
5519
5520 * dired-aux.el (dired-diff): Use backup file as default.
5521
1715f2db
DA
55222012-09-08 Drew Adams <drew.adams@oracle.com>
5523
5524 * subr.el (add-to-history): Fix delete usage (Bug#12314).
5525
6dcef6ec
CY
55262012-09-08 Chong Yidong <cyd@gnu.org>
5527
5528 * subr.el (syntax-after, syntax-class): Doc fix.
5529
fa2bcf43
MR
55302012-09-08 Martin Rudalics <rudalics@gmx.at>
5531
5532 * window.el (display-buffer-in-previous-window): New buffer
5533 display action function.
5534
5535 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
5536 (debugger-previous-window): New variable.
5537 (debug): Rewrite using display-buffer-in-previous-window,
5538 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
5539
daac280a
SM
55402012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
5543
9dd40b00
MM
55442012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
5545
daac280a
SM
5546 * progmodes/python.el (python-shell-send-string):
5547 When default-directory is remote, create temp file on remote
9dd40b00
MM
5548 filesystem.
5549 (python-shell-send-file): When file is remote, pass local view of
5550 file paths to remote Python interpreter. (Bug#12340)
5551
145823ec
CY
55522012-09-07 Chong Yidong <cyd@gnu.org>
5553
cee2e90d
CY
5554 * window.el (switch-to-buffer): Doc fix (Bug#12181).
5555
0d7eb2ea
CY
5556 * files.el (after-find-file): Don't fail on a read-only buffer if
5557 require-final-newline is `visit' or `visit-save' (Bug#11156).
5558
145823ec
CY
5559 * subr.el (read-char-choice): Allow quitting via ESC ESC.
5560
daac280a
SM
5561 * userlock.el (ask-user-about-supersession-threat):
5562 Use read-char-choice (Bug#12093).
145823ec 5563
74c582e6
CY
55642012-09-07 Chong Yidong <cyd@gnu.org>
5565
e5c2edf7
CY
5566 * subr.el (buffer-narrowed-p): New function.
5567
5568 * ses.el (ses-widen):
5569 * simple.el (count-words--buffer-message):
1f9f395d 5570 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
5571
5572 * simple.el (count-words-region): Don't signal an error if there
5573 is a non-nil prefix arg and the mark is not set.
c640e87d 5574
74c582e6
CY
5575 * help.el (describe-key-briefly): Allow the message to be seen
5576 when invoked from the minibuffer (Bug#7014).
5577
d81ceaaf
DG
55782012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5579
5580 * progmodes/ruby-mode.el (ruby-end-of-defun)
5581 (ruby-beginning-of-defun): Simplify, allow indentation before
5582 block beginning and end keywords.
8f06acce
DG
5583 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
5584 (ruby-end-of-defun): Expect that the point is at the beginning of
5585 the defun.
d81ceaaf 5586
d458ef98
SM
55872012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
5590 (bug#12367).
5591 (cl--make-usage-args): Strip _ from argument names.
5592
20367d28
RS
55932012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5594
5595 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
5596 obsolete alias speedbar-key-map.
5597 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
5598 (vhdl-index-menu-init): Don't use obsolete variable
5599 font-lock-maximum-size.
5600
3424a4f6
CY
56012012-09-06 Chong Yidong <cyd@gnu.org>
5602
5603 * frame.el (window-system-version): Mark as obsolete.
5604
fcbfbdea
CY
5605 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
5606 of obsolete variable speedbar-key-map.
5607
826b3235
JL
56082012-09-06 Juri Linkov <juri@jurta.org>
5609
5610 * replace.el (replace-lax-whitespace): New defcustom.
5611 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5612 (replace-string, replace-regexp): Mention it in docstrings.
5613 (perform-replace, replace-highlight): Let-bind
5614 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
5615 to the values of replace-lax-whitespace and regexp-flag.
5616 Don't let-bind search-whitespace-regexp. (Bug#10885)
5617
5618 * isearch.el (isearch-query-replace): Let-bind
5619 replace-lax-whitespace instead of let-binding
5620 replace-search-function and replace-re-search-function.
5621 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
5622 and isearch-regexp-lax-whitespace to lazy-highlight variables.
5623 (isearch-toggle-symbol): Set isearch-regexp to nil
5624 in isearch-word mode (like in isearch-toggle-word).
5625
1ec5e41d
JL
56262012-09-06 Juri Linkov <juri@jurta.org>
5627
5628 * replace.el (replace-search-function)
5629 (replace-re-search-function): Set default values to nil.
5630 (perform-replace): Let-bind isearch-related variables based on
5631 replace-related values, call `isearch-search-fun' and let-bind
5632 the result to `search-function'. Remove code that sets
5633 `search-function' and `search-string' separately for
5634 `delimited-flag'.
5635 (replace-highlight): Add new argument `delimited-flag' and
5636 rename other arguments to the names used in `perform-replace'.
5637 Let-bind `isearch-word' to the argument `delimited-flag'.
5638 (Bug#10885, bug#10887)
5639
0ba2d4b6
DG
56402012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5641
5642 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5643 ruby-beginning-of-indent, simplify, allow all keywords to have
5644 indentation before them.
5645 (ruby-beginning-of-indent): Adjust for above. Search until the
5646 found point is not inside a string or comment.
5647 (ruby-font-lock-keywords): Allow symbols to start with "@"
5648 character, give them higher priority than variables.
5649 (ruby-syntax-propertize-function)
5650 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5651 matchers. Expression expansions are not comments when inside a
5652 string, and there comment syntax status is irrelevant.
5653 (ruby-match-expression-expansion): New function. Check that
5654 expression expansion is inside a string, and it's not escaped.
5655 (ruby-font-lock-keywords): Use it.
5656
ef654460
MR
56572012-09-05 Martin Rudalics <rudalics@gmx.at>
5658
5659 * help.el (temp-buffer-max-height): New default value.
5660 (temp-buffer-resize-frames): New option.
5661 (resize-temp-buffer-window): Optionally resize frame.
5662
5663 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5664 (fit-frame-to-buffer): New function.
5665
7e570fbf 56662012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
5667
5668 * emulation/cua-rect.el (cua--init-rectangles):
5669 * textmodes/picture.el (picture-mode-map):
5670 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5671 like forward-char and backward-char. (Bug#12317)
5672
7e570fbf 56732012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
5674
5675 * progmodes/flymake.el (flymake-warning-re): New variable.
5676 (flymake-parse-line): Use it.
5677
7e570fbf 56782012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
5679
5680 * calendar/holidays.el (holiday-christian-holidays):
5681 Rename an entry. (Bug#12289)
5682
7e570fbf 56832012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
5684
5685 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5686 (bug#12222).
5687
972debf2
SM
56882012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * loadup.el: Load macroexp. Remove hack.
5691 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5692 (macroexp--expand-all): Use it to get better warnings.
5693 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5694 (internal-macroexpand-for-load): New functions.
5695 (macroexp--pending-eager-loads): New var.
5696 (emacs-startup-hook): New hack to replace one in loadup.el.
5697 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5698 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5699 (cl-psetf): Simplify.
5700 (cl-defstruct): Add indent rule.
5701
8ce192e3
LI
57022012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5703
5704 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5705 over `user-mail-address' for the SMTP MAIL FROM envelope.
5706 (smtpmail-via-smtp): Ditto.
5707
6578b4d8
DG
57082012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5709
5710 * progmodes/ruby-mode.el: Clean up keybindings.
5711 (ruby-mode-map): Don't bind ruby-electric-brace,
5712 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5713 backward-kill-word, reindent-then-newline-and-indent.
5714 (ruby-mark-defun): Remove.
5715 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5716 (ruby-mode): Set local beginning-of-defun-function and
5717 end-of-defun-function values.
5718
c5e28e39
MR
57192012-09-03 Martin Rudalics <rudalics@gmx.at>
5720
5721 * window.el (temp-buffer-window-setup-hook)
5722 (temp-buffer-window-show-hook): New hooks.
5723 (temp-buffer-window-setup, temp-buffer-window-show)
5724 (with-temp-buffer-window): New functions.
972debf2
SM
5725 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5726 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
5727
5728 * help.el (temp-buffer-resize-mode): Fix doc-string.
5729 (resize-temp-buffer-window): New optional argument WINDOW.
5730
5731 * files.el (recover-file, save-buffers-kill-emacs):
5732 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5733
73406194
MA
57342012-09-02 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5737 remote definition of `default-directory', ensure we can connect.
5738
63dd1c6f
JL
57392012-09-02 Juri Linkov <juri@jurta.org>
5740
5741 Toggle whitespace matching mode with M-s SPC.
5742 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5743
5744 * isearch.el (search-whitespace-regexp): Doc fix.
5745 Remove cons cell customization.
5746 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5747 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5748 New variables.
5749 (isearch-forward, isearch-forward-regexp): Doc fix.
5750 (isearch-toggle-lax-whitespace): New command.
5751 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5752 (re-search-forward-lax-whitespace)
5753 (re-search-backward-lax-whitespace): New functions.
5754 (isearch-whitespace-regexp): Remove function.
5755 (isearch-query-replace): Let-bind replace-search-function and
5756 replace-re-search-function.
5757 (isearch-occur): Let-bind search-spaces-regexp according to the
5758 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5759 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5760 condition for C-q SPC.
5761 (isearch-search-fun-default): Use new functions mentioned above.
5762 (isearch-search-forward, isearch-search-backward): Remove functions.
5763 (isearch-search): Don't let-bind search-spaces-regexp.
5764 (isearch-lazy-highlight-space-regexp): Remove variable.
5765 (isearch-lazy-highlight-lax-whitespace)
5766 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5767 (isearch-lazy-highlight-new-loop): Use them.
5768 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5769
af7dda05
CY
57702012-09-02 Chong Yidong <cyd@gnu.org>
5771
5772 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5773
d67d3afd
GM
57742012-09-02 Glenn Morris <rgm@gnu.org>
5775
5776 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5777
69678719
GM
57782012-09-01 Glenn Morris <rgm@gnu.org>
5779
5780 * term.el: Tidy up menu definitions.
5781 (term-mode-map): Use easymenu for In/Out, Complete menus.
5782 (term-pager-break-map): Initialize in the defvar.
5783 (term-terminal-menu, term-signals-menu): Define with easymenu.
5784 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5785 (term-pager-menu): New, extracted from term-process-pager.
5786 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5787 (term-update-mode-line): Propertize line/char and page items.
5788 (term-process-pager): Move keymap initialization elsewhere.
5789
78dd6ab1
MR
57902012-09-01 Martin Rudalics <rudalics@gmx.at>
5791
5792 * window.el (switch-to-prev-buffer): Handle additional values of
5793 BURY-OR-KILL argument. Don't switch in minibuffer window.
5794 (switch-to-next-buffer): Don't switch in minibuffer window.
5795 (quit-restore-window): New function based on quit-window.
5796 Handle additional values of former KILL argument.
5797 (quit-window): Call quit-restore-window with appropriate
5798 interpretation of KILL argument.
5799 (display-buffer-below-selected): New buffer display action
5800 function.
5801
3d10e134
SM
58022012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * minibuffer.el (completion-at-point-functions): Complete docstring
5805 (bug#12254).
5806
0e23ef9d
PE
58072012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5808
5809 Better seed support for (random).
5810 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5811 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5812 * play/mpuz.el, play/tetris.el, play/zone.el:
5813 * calc/calc-comb.el (math-init-random-base):
5814 * play/blackbox.el (bb-init-board):
5815 * play/life.el (life):
5816 * server.el (server-use-tcp):
5817 * type-break.el (type-break):
5818 Remove unnecessary call to (random t).
5819 * net/sasl.el (sasl-unique-id-function):
5820 Change (random t) to (random), now that the latter is more random.
5821 * play/life.el (life-initialized): Remove no-longer-needed var.
5822
862382df
MR
58232012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5824
5825 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5826 Consider frame's buffer predicate when choosing the buffer.
5827 (Bug#12081)
5828
262a66e1
RS
58292012-08-30 Richard Stallman <rms@gnu.org>
5830
5831 * simple.el (special-mode-map): Delete binding for `z'.
5832
f17e1d00
AS
58332012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5834
5835 * progmodes/compile.el (compilation-always-kill): Doc fix.
5836
24777832
CY
58372012-08-30 Chong Yidong <cyd@gnu.org>
5838
5839 * window.el (display-buffer-reuse-frames): Make the obsolescence
5840 message more informative.
5841
69ba1f04
GM
58422012-08-30 Glenn Morris <rgm@gnu.org>
5843
5844 * paren.el (show-paren-delay):
5845 Add a :set function. Doc fix. (Bug#12297)
5846
f0019ede
MB
58472012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5848
5849 * progmodes/compile.el (compilation-always-kill): New var.
5850 (compilation-start): Use it.
5851
35e62fc9
SM
58522012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5853
af070a1c
SM
5854 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5855 * files.el (read-only-mode): Move to simple.el.
5856
35e62fc9
SM
5857 * files.el (read-only-mode): New minor mode.
5858 (toggle-read-only): Use it and mark obsolete.
5859 (find-file--read-only):
5860 * vc/vc.el (vc-next-action, vc-checkout):
5861 * vc/vc-cvs.el (vc-cvs-checkout):
5862 * obsolete/vc-mcvs.el (vc-mcvs-update):
5863 * ffap.el (ffap--toggle-read-only): Update callers.
5864
c2c43c23
MA
58652012-08-29 Michael Albinus <michael.albinus@gmx.de>
5866
5867 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
5868 remote shell scripts.
5869 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
5870
5871 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5872 "/usr/local/sbin".
5873
9fba804b
SM
58742012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5877
eada0861 58782012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 5879
806f0cc7
LL
5880 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5881 completion-at-point. (Bug#12220)
5882
3bb213b9
LL
5883 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5884
22ab32ef
LL
5885 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5886
eada0861 58872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 5888
19c17fc1
CY
5889 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5890 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 5891
eada0861 58922012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
5893
5894 * progmodes/hideif.el (hif-compress-define-list):
5895 Fix typo. (Bug#11951)
5896
eada0861 58972012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
5898
5899 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5900 buffer local setting.
5901
27d6c5a8
LL
5902 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5903 rcirc-encode-coding-system.
5904
eada0861 59052012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
5906
5907 * net/rcirc.el (rcirc-split-message): New function.
5908 (rcirc-send-message): Use it. (Bug#12051)
5909
d44688e4
JL
59102012-08-28 Juri Linkov <juri@jurta.org>
5911
5912 * info.el (Info-fontify-node): Hide empty lines at the end of
5913 the node. (Bug#12272)
5914
34f10d41
MR
59152012-08-27 Drew Adams <drew.adams@oracle.com>
5916
5917 * dired.el (dired-pop-to-buffer): Make window start at beginning
5918 of buffer (Bug#12281).
5919
77f1f99c
CY
59202012-08-26 Chong Yidong <cyd@gnu.org>
5921
5922 * window.el (special-display-regexps, special-display-frame-alist)
5923 (special-display-buffer-names, special-display-function)
5924 (display-buffer-reuse-frames): Mark as obsolete.
5925
5926 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5927
5928 * help.el (help-print-return-message): Don't treat
5929 display-buffer-reuse-frames specially.
5930
d97af5a0
CY
59312012-08-26 Chong Yidong <cyd@gnu.org>
5932
9fba804b
SM
5933 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5934 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
5935 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5936 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5937 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5938 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5939 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5940 the functions directly with gdb-display-buffer-other-frame-action.
5941 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5942 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5943 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5944 (gdb-display-registers-buffer): Define directly.
5945 (def-gdb-display-buffer): Macro deleted.
5946 (gdb-display-buffer): Remove second and third args, callers don't
5947 use them. Defer to the default display-buffer behavior, apart
5948 from making windows dedicated.
5949 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5950
5951 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5952
5953 * window.el (display-buffer-pop-up-frame): Handle a
5954 pop-up-frame-parameters alist entry.
5955 (display-buffer): Document it.
5956
dd7ffad6
CY
59572012-08-26 Chong Yidong <cyd@gnu.org>
5958
5959 * isearch.el (search-whitespace-regexp): Make string and nil
5960 values apply to both ordinary and regexp search. Allow a cons
5961 cell value to distinguish between the two.
5962 (isearch-whitespace-regexp, isearch-search-forward)
5963 (isearch-search-backward): New functions.
5964 (isearch-occur, isearch-search-fun-default, isearch-search)
5965 (isearch-lazy-highlight-new-loop): Use them.
5966 (isearch-forward, isearch-forward-regexp): Doc fix.
5967
4c47bd1e
CY
59682012-08-26 Chong Yidong <cyd@gnu.org>
5969
5970 * faces.el (help-argument-name): Always inherit from italic
5971 (Bug#12213).
5972
9aba119d
MR
59732012-08-25 Martin Rudalics <rudalics@gmx.at>
5974
5975 * window.el (window--even-window-heights): Even heights when
5976 WINDOW and the selected window form a vertical combination.
5977 (display-buffer-use-some-window): Provide that window used gets
5978 sized back by quit-window. (Bug#11880) and (Bug#12091)
5979
ca5256ad
PE
59802012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 Fix file time stamp problem with bzr and CVS (Bug#12001).
5983 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5984 in the file's time stamp, since the version control system loses
5985 that information.
5986
d1c0d176
JL
59872012-08-22 Juri Linkov <juri@jurta.org>
5988
5989 * info.el (Info-fontify-node): Hide the suffix of the
5990 Info file name in the header line. (Bug#12187)
5991
141562ff
GM
59922012-08-22 Glenn Morris <rgm@gnu.org>
5993
5994 * calendar/cal-tex.el (cal-tex-weekly-common):
5995 Restore leading blank page.
5996
3a21537c 59972012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
5998
5999 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6000 the region under `shift-select-mode'. (Bug#12231)
6001
60022012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6003
6004 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6005 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6006 gives details on why the space is never needed.
6007
ea95074e
MR
60082012-08-22 Martin Rudalics <rudalics@gmx.at>
6009
9fba804b
SM
6010 * window.el (walk-window-tree, window-with-parameter):
6011 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6012 should run on the minibuffer window.
6013 (window-at-side-list): Don't operate on minibuffer window.
6014 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6015 (window--size-ignore): Rename to window--size-ignore-p.
6016 Update callers.
caceae25
MR
6017 (display-buffer-in-atom-window, window--major-non-side-window)
6018 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6019 (delete-side-window, display-buffer-in-side-window):
6020 New functions.
caceae25
MR
6021 (window--side-check, window-deletable-p, delete-window)
6022 (delete-other-windows, split-window): Handle side windows and
6023 atomic windows appropriately.
6024 (window--display-buffer): Call display-buffer-record-window also
6025 when the window buffer did not change.
ea95074e 6026
80a51fa0
CS
60272012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6028
6029 * help-fns.el (help-fns--key-bindings):
6030 Abbreviate non-symbol remap targets. (Bug#12174)
6031
fbb6300b
MR
60322012-08-22 Martin Rudalics <rudalics@gmx.at>
6033
6034 * dired.el (dired-mark-remembered): Don't clobber point.
6035 (Bug#11795)
6036
2b2c0794
GM
60372012-08-22 Glenn Morris <rgm@gnu.org>
6038
6039 * progmodes/bug-reference.el (bug-reference): New custom group.
6040 (bug-reference-bug-regexp): Make it a defcustom.
6041
37219830
DU
60422012-08-22 Daiki Ueno <ueno@unixuser.org>
6043
6044 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6045 (js-paren-indent-offset, js-square-indent-offset)
6046 (js-curly-indent-offset): Add :safe (Bug#12257).
6047
94e0e559
EC
60482012-08-22 Edward O'Connor <hober0@gmail.com>
6049
6050 * json.el (json-key-format): Add error properties.
6051 (json-encode-key): New function.
6052 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6053 Use json-encode-key.
6054
da485f5e
GM
60552012-08-22 Glenn Morris <rgm@gnu.org>
6056
6057 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6058 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6059 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6060 Update for above change.
6061
c6cc78b8
AS
60622012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6063
6064 * cus-face.el (custom-face-attributes): Fix customize type for the
6065 :underline attribute. (Bug#11805)
6066
5481664a
MR
60672012-08-21 Martin Rudalics <rudalics@gmx.at>
6068
6069 * window.el (window-point-1, set-window-point-1): Remove.
6070 (window-in-direction, record-window-buffer)
6071 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
6072 (window--state-get-1, display-buffer-record-window):
6073 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
6074 window-point and set-window-point respectively.
6075
6d74698e
GM
60762012-08-21 Glenn Morris <rgm@gnu.org>
6077
b7fa2691
GM
6078 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6079 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6080 Use it.
6081
52f56d5a
GM
6082 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6083 (cal-tex-shortday): New function.
6084 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6085 (cal-tex-cursor-filofax-daily): Use the above.
6086
9f1ee09e
GM
6087 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6088 New functions.
6089 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6090 (cal-tex-cursor-filofax-week): Use them.
6091
79858159
GM
6092 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6093 New constants.
6094 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6095 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6096
d346b2b4
GM
6097 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6098 (cal-tex-end-document): Don't rely on buffer name.
6099
b2403709
GM
6100 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6101 Use cal-tex-vspace.
6102 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6103 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
6104 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6105 Use cal-tex-arg.
b2403709 6106
1cebb5c0
GM
6107 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6108 (cal-tex-cursor-week, cal-tex-cursor-week2)
6109 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6110 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6111 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6112 (cal-tex-insert-preamble, cal-tex-b-document)
6113 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6114 Improve cal-tex-cmd usage.
6115
c68cd5d4
GM
6116 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6117 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6118 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6119 (cal-tex-weekly-paper): New function.
6120 (cal-tex-cursor-week, cal-tex-cursor-week2)
6121 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6122 (cal-tex-cursor-day): Use it.
6123
9dca4801
GM
6124 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6125 (cal-tex-cursor-filofax-week): Remove leading blank page.
6126
1941e134
GM
6127 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6128 Add autoload cookie. For now at least, don't use color, since
6129 no other cal-tex function does.
6130
6d74698e
GM
6131 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6132 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6133 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6134
64cde199
JL
61352012-08-21 Juri Linkov <juri@jurta.org>
6136
6137 * info.el (Info-file-attributes): New variable.
6138 (info-insert-file-contents): Add file attributes to
6139 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6140 `Info-toc-nodes' when previous modtime of the Info file is less
6141 than new modtime.
6142 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6143 of info.el. (Bug#12230)
6144
32757648
GM
61452012-08-20 Glenn Morris <rgm@gnu.org>
6146
6147 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6148 * calendar/holidays.el (calendar-holiday-list):
6149 Report errors with display-warning rather than beep'n'sleep.
6150
a32fbbcf
MA
61512012-08-20 Michael Albinus <michael.albinus@gmx.de>
6152
6153 * net/tramp.el (tramp-accept-process-output): Accept only output
6154 from PROC. Otherwise, process filters and sentinels might be
6155 confused. (Bug#12145)
6156
a05731a0
CY
61572012-08-20 Chong Yidong <cyd@gnu.org>
6158
6159 * descr-text.el (describe-text-properties-1): Use overlays-in to
6160 report on empty overlays (Bug#3322).
6161
36e8d1eb
GM
61622012-08-20 Glenn Morris <rgm@gnu.org>
6163
3d300447
GM
6164 * mail/rmailout.el (rmail-output-read-file-name):
6165 Trap and report errors in rmail-output-file-alist elements.
6166
36e8d1eb
GM
6167 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6168 since most non-font-lock faces are not also variables).
6169
b96e5814
ER
61702012-08-20 Edward Reingold <reingold@iit.edu>
6171
6172 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6173 New function. (Bug12160)
6174
7cef3569
GM
61752012-08-19 Glenn Morris <rgm@gnu.org>
6176
6177 * mail/rmailout.el (rmail-output-read-file-name):
6178 Fix previous change (when the alist is nil or does not match).
6179
17975d7f
CY
61802012-08-19 Chong Yidong <cyd@gnu.org>
6181
6182 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6183 (Bug#12228).
6184
2170b1bd
CY
61852012-08-18 Chong Yidong <cyd@gnu.org>
6186
6187 * simple.el (yank-handled-properties): New defcustom.
6188 (yank-excluded-properties): Add font-lock-face and category.
6189 (yank): Doc fix.
6190
9fba804b
SM
6191 * subr.el (remove-yank-excluded-properties):
6192 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
6193 and category is now done this way, instead of being hard-coded.
6194 (insert-for-yank-1): Remove font-lock-face handling.
6195 (yank-handle-font-lock-face-property)
6196 (yank-handle-category-property): New function.
6197
ee218151
GM
61982012-08-17 Glenn Morris <rgm@gnu.org>
6199
6200 * mail/rmailout.el (rmail-output-read-file-name):
6201 Check rmail-output-file-alist against the full message body
6202 in the correct rmail buffer. (Bug#12214)
6203
4a6bc3fd
MA
62042012-08-17 Michael Albinus <michael.albinus@gmx.de>
6205
9fba804b
SM
6206 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6207 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 6208
383dcbf9
CY
62092012-08-17 Chong Yidong <cyd@gnu.org>
6210
6211 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6212 font spec, set the font directly (Bug#3228).
6213
998c4a6a
MR
62142012-08-17 Martin Rudalics <rudalics@gmx.at>
6215
6216 * window.el (delete-window): Fix last fix.
6217
52162052
MR
62182012-08-16 Martin Rudalics <rudalics@gmx.at>
6219
6220 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
6221 (window-child, window-child-count, window-last-child)
6222 (window-normalize-window, window-combined-p)
6223 (window-combinations, window-atom-root, window-min-size)
6224 (window-sizable, window-sizable-p, window-size-fixed-p)
6225 (window-min-delta, window-max-delta, window--resizable)
6226 (window--resizable-p, window-resizable, window-total-size)
6227 (window-full-height-p, window-full-width-p, window-body-size)
6228 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6229 (minimize-window, window-deletable-p, delete-window)
6230 (delete-other-windows, set-window-buffer-start-and-point)
6231 (next-buffer, previous-buffer, split-window, balance-windows-2)
6232 (set-window-text-height, window-buffer-height)
6233 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
6234 (truncated-partial-width-window-p): Minor code adjustments.
6235 In doc-strings state whether the argument window has to denote a
85c2386b 6236 live, valid or any window.
52162052 6237
1c308380
PS
62382012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6239
6240 * progmodes/subword.el (subword-forward-function)
6241 (subword-backward-function, subword-forward-regexp)
6242 (subword-backward-regexp): New variables.
6243 (subword-forward, subword-forward-internal, subword-backward-internal):
6244 Use new variables, eg so that different "word" definitions
6245 can be easily used. (Bug#11411)
6246
94c9ece1
SM
62472012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6250 for composite selectors.
6251 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6252 operation just because we can't find a previous revision.
6253
f2045622
CY
62542012-08-15 Chong Yidong <cyd@gnu.org>
6255
6256 * frame.el (set-frame-font): Accept font objects.
6257
582db660
SM
62582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6261
2f29c200
WJ
62622012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6263
456e62c2
WJ
6264 * man.el (Man-overstrike-face, Man-underline-face)
6265 (Man-reverse-face): Remove variables.
6266 (Man-overstrike, Man-underline, Man-reverse): New faces.
6267 (Man-fontify-manpage): Use them instead of the variables.
6268 (Man-cleanup-manpage): Comment change.
6269 (Man-ansi-color-map): New variable.
6270 (Man-fontify-manpage): Use it.
6271 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6272
2f29c200
WJ
6273 Implement ANSI SGR parameters 22-27 (bug#12146).
6274 * ansi-color.el (ansi-colors): Doc fix.
6275 (ansi-color-context, ansi-color-context-region): Doc fix.
6276 (ansi-color--find-face): New function.
6277 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6278 Rename the local variable `face' to `codes' since it is now a list of
6279 ansi codes. Doc fix.
6280 (ansi-color-get-face): Remove.
6281 (ansi-color-parse-sequence): New function, derived from
6282 ansi-color-get-face.
6283 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6284 codes 22-27.
6285
b4f5e9df
SM
62862012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * subr.el (read-passwd): Allow use from a minibuffer.
6289
ba025fbd
EZ
62902012-08-14 Eli Zaretskii <eliz@gnu.org>
6291
6292 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6293 inside comments and strings as identifiers.
6294
6295 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6296 expression to evaluate. This allows to evaluate expressions with
6297 embedded whitespace.
6298 (gud-tooltip-tips): Add a blank before the newline in the
6299 message-box text, for the benefit of message-box emulation on
6300 MS-Windows.
6301
6302 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6303 messages from GDB, pop them up in a tooltip to give feedback to
6304 user.
b4f5e9df
SM
6305 (gdb-tooltip-print-1): Quote the expression to evaluate.
6306 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
6307 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6308 if the TTY name is nil or empty (which happens when communicating
6309 with the inferior via pipes, e.g. on MS-Windows).
6310 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6311 don't send that to the GUD buffer.
6312
c548f821
GM
63132012-08-14 Glenn Morris <rgm@gnu.org>
6314
6315 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
6316 Optimize away setq-default with no args, as for setq. (Bug#12195)
6317
55802e4a
CY
63182012-08-14 Chong Yidong <cyd@gnu.org>
6319
4abcdac8
CY
6320 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
6321
55802e4a
CY
6322 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
6323 (Bug#12085).
6324
3c3cda1a
GM
63252012-08-14 Glenn Morris <rgm@gnu.org>
6326
6327 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
6328
e1873bd0
MA
63292012-08-14 Michael Albinus <michael.albinus@gmx.de>
6330
6331 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
6332 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6333 Use cached shell name.
6334
925411b4
FEG
63352012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6336
6337 * progmodes/python.el (python-shell-send-string):
3c3cda1a 6338 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 6339
e636fafe
DG
63402012-08-14 Dmitry Gutov <dgutov@yandex.ru>
6341
6342 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
6343 (ruby-percent-literal-beg-re): New constant.
6344 (ruby-syntax-general-delimiters-goto-beg): Rename to
6345 `ruby-syntax-enclosing-percent-literal', improve literal type check.
6346 (ruby-syntax-propertize-general-delimiters): Rename to
6347 `ruby-syntax-propertize-percent-literal', it's a shorter and more
6348 popular term. Adjust comments everywhere.
6349 (ruby-syntax-propertize-percent-literal): Only propertize when not
6350 inside a simple string or comment. When the literal is unclosed,
6351 leave the text after it unpropertized.
f063063a
DG
6352 (ruby-syntax-methods-before-regexp): New constant.
6353 (ruby-syntax-propertize-function): Use it to recognize regexps.
6354 Don't look at the text after regexp, just use the whitelist.
e636fafe 6355
e5b19827
AS
63562012-08-14 Andreas Schwab <schwab@linux-m68k.org>
6357
6358 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
6359 non-nil always load the compiled file if it exists. (Bug#12197)
6360
a9f6f311
CY
63612012-08-14 Chong Yidong <cyd@gnu.org>
6362
6363 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
6364 (hi-lock-set-pattern): When deciding whether to use font lock or
6365 overlays, look at font-lock-mode instead of font-lock-fontified
6366 (Bug#12168).
6367 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
6368 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
6369
7d806b1e
DU
63702012-08-14 Daiki Ueno <ueno@unixuser.org>
6371
6372 * subr.el (internal--after-with-selected-window): Fix typo
6373 (Bug#12193).
6374
5beed586
FEG
63752012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
6376
6377 Use `completion-table-dynamic' for completion functions.
6378 * progmodes/python.el
6379 (python-shell-completion--do-completion-at-point)
e636fafe
DG
6380 (python-shell-completion--get-completions):
6381 Remove functions.
5beed586
FEG
6382 (python-shell-completion-complete-at-point): New function.
6383 (python-completion-complete-at-point): Use it.
6384
92cb3b04
J
63852012-08-13 Jambunathan K <kjambunathan@gmail.com>
6386
6387 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
6388 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
6389
89660017
SM
63902012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6391
3c98c962
SM
6392 * subr.el (function-get): Refine `autoload' arg so it can also
6393 autoload functions for gv.el (bug#12191).
6394 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
6395 autoloads macros.
6396
aa7c6dbe
SM
6397 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
6398 Prefer pcase-let over destructuring-bind.
6399 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
6400 Also, remove whitespace as we go, rather than after accumulating the
6401 various places.
6402
89660017
SM
6403 * subr.el (internal--before-with-selected-window)
6404 (internal--after-with-selected-window): Fix typo seleted->selected.
6405 (with-selected-window): Adjust callers.
6406 Reported by Dmitry Gutov <dgutov@yandex.ru>.
6407
31cd32c9
BG
64082012-08-13 Bastien Guerry <bzg@gnu.org>
6409
0fcd3d9f 6410 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
6411 enhancement. (Bug#12172)
6412
1b15d8ad
AS
64132012-08-13 Andreas Schwab <schwab@linux-m68k.org>
6414
31e54db0
AS
6415 * tar-mode.el (tar-header-data-end): Only ignore size for files of
6416 type 1-6.
6417 (tar-header-block-summarize, tar-get-descriptor): Handle pax
6418 extended headers.
6419
1b15d8ad
AS
6420 * files.el (hack-local-variables-filter): Remove useless eval.
6421
35cb9c06
MR
64222012-08-13 Martin Rudalics <rudalics@gmx.at>
6423
6424 * subr.el (with-selected-window): Fix last change.
6425
1439443b
SM
64262012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * subr.el (internal--before-with-seleted-window)
6429 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
6430 (with-selected-window): Use them, to replace dependency on
6431 tty-top-frame.
1439443b 6432
0d9e2599
NN
64332012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
6434
6435 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
6436 binding for `newline'.
6437 (ruby-move-to-block): When moving backward, stop at block opening,
6438 not indentation.
6439 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
6440 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
6441 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6442 `ruby-toggle-block'.
6443
ba10c48c
SM
64442012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * ibuffer.el (ibuffer-do-toggle-read-only):
6447 * dired.el (dired-toggle-read-only):
6448 * buff-menu.el (Buffer-menu-toggle-read-only):
6449 * bindings.el (mode-line-toggle-read-only):
6450 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
6451
9229c658
AS
64522012-08-12 Andreas Schwab <schwab@linux-m68k.org>
6453
6454 * descr-text.el (describe-char): Put the overlays over the
6455 "displayed as" character.
6456
0fd09128
JB
64572012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
6458
6459 * calc/calc-units.el (math-default-units-table): Give an
6460 initial value.
6461 (math-put-default-units): Add options to put composite units and
6462 unit systems in the default units table.
6463 (calc-convert-units): Send composite units to
6464 `math-put-default-units' when appropriate.
6465
9ff9402d 64662012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 6467
fbb5e336
GM
6468 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
6469
7aacaf15
GM
6470 * tutorial.el (help-with-tutorial):
6471 * emacs-lisp/copyright.el (copyright-update-directory):
6472 * emacs-lisp/autoload.el (autoload-find-generated-file)
6473 (autoload-find-file): Disable local eval: (for insurance).
6474
f40b9f10
GM
6475 * files.el (hack-local-variables-filter): If an eval: form is not
6476 known to be safe, and enable-local-variables is :safe, then ignore
6477 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 6478 This is CVE-2012-3479.
f40b9f10 6479
daa9f1a6
SM
64802012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
6483 (rx-form): Simplify.
6484
9cd80478
DG
64852012-08-09 Dmitry Gutov <dgutov@yandex.ru>
6486
0d9e2599
NN
6487 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
6488 ?, _, and : are symbol constituents, ! is not (but kinda should be).
6489 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
6490 (ruby-syntax-propertize-function): Adjust for changes in
6491 `ruby-syntax-propertize-heredoc'.
6492
64932012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
6494
9cd80478
DG
6495 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
6496 binding (use `M-;' instead).
9cd80478 6497 (ruby-singleton-class-p): New function.
0d9e2599 6498 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 6499
d301b413
SM
65002012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
6503
1530c98e
CY
65042012-08-10 Chong Yidong <cyd@gnu.org>
6505
6506 * progmodes/python.el (python-shell-get-process-name): Don't mess
6507 with same-window-buffer-names.
6508
6509 * eshell/eshell.el (eshell-add-to-window-buffer-names)
6510 (eshell-remove-from-window-buffer-names): Make obsolete.
6511 (eshell-buffer-name, eshell-unload-hook): Don't use them.
6512 (eshell): Just use pop-to-buffer-same-window instead.
6513
e1293765
CY
65142012-08-10 Chong Yidong <cyd@gnu.org>
6515
6516 * bindings.el: Bind M-= back to count-words-region.
6517
6518 * simple.el (count-words-region): Accept a prefix arg for acting
6519 on the entire buffer.
6520 (count-words--buffer-message): New helper function.
6521
e1894109
SM
65222012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
6525 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
6526 (event-start, event-end): Use posn-at-point to return a more
6527 informative posn.
6528 (posnp): New function.
6529 * mouse.el (popup-menu-normalize-position): Use it.
6530
c69f56a2
MY
65312012-08-10 Masatake YAMATO <yamato@redhat.com>
6532
6533 * mouse.el (popup-menu-normalize-position): New function.
6534 (popup-menu): Use `popup-menu-normalize-position' to normalize
6535 the form for POSITION argument.
6536
6537 * term/x-win.el (x-menu-bar-open):
6538 Use the value returend from (posn-at-point) as position
6539 passed to `popup-menu'.
6540
31673780
JB
65412012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6542
6543 * calc/calccomp.el (math-compose-expr): Add extra argument
6544 indicating that parentheses should be put around products in
6545 denominators. Give multiplication precedence over division during
6546 composition.
6547
dab7711b
CY
65482012-08-09 Chong Yidong <cyd@gnu.org>
6549
dee4ef93
CY
6550 * man.el (Man-switches, Man-sed-command, Man-awk-command)
6551 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
6552 (Man-untabify-command, manual-program): Convert to defcustom
6553 (Bug#10429).
6554
73e2bbc5
CY
6555 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
6556
3e861c8a
CY
6557 * descr-text.el (describe-char): Don't insert extra newlines
6558 (Bug#10127).
6559
a9f5a649
CY
6560 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
6561 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
6562
dab7711b
CY
6563 * align.el (align-region): Delete temporary markers (Bug#10047).
6564 Plus some code cleanups.
6565
e0cc4efa
FEG
65662012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6567
6568 * progmodes/python.el (python-pdbtrack-tracked-buffer)
6569 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
6570 (python-shell-internal-last-output): Use make-local-variable
6571 instead of make-variable-buffer-local.
6572
489af14f
FEG
65732012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
6574
6575 * progmodes/python.el: Enhancements to forward-sexp.
6576 (python-nav-forward-sexp): Rename from
6577 python-nav-forward-sexp-function.
c69f56a2
MY
6578 (python-nav--forward-sexp, python-nav--backward-sexp):
6579 New functions.
489af14f 6580
0fc50303
JB
65812012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
6582
6583 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
6584 modes and simplification modes.
6585
5d65606a
SM
65862012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * delsel.el (delete-selection-pre-hook): Don't propagate the
6589 file-supersession signals (bug#12161).
6590
4250fdf5
SM
65912012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
6594 (cl-map-extents): Add compatibility aliases (bug#12135).
6595
d9f9b465
MA
65962012-08-08 Michael Albinus <michael.albinus@gmx.de>
6597
6598 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
6599 tests by `ignore-error'.
6600 (tramp-find-shell): Open also a new shell, when cache is already
6601 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
6602
ce0fcefa
JL
66032012-08-08 Juri Linkov <juri@jurta.org>
6604
6605 * bookmark.el: Add `defaults' property to the bookmark record.
6606 (bookmark-current-buffer): Doc fix.
6607 (bookmark-make-record): Add `defaults' property with default values
6608 to the bookmark record.
6609 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
6610 with `bookmark-insert-current-bookmark'.
6611 (bookmark-set): Get `defaults' property from the bookmark record
6612 and use it in `read-from-minibuffer'.
6613 (bookmark-insert-current-bookmark): Remove function.
6614
6615 * info.el (Info-bookmark-make-record): Add `defaults' property
6616 with values of canonical Info node name, the current Info file
6617 name and the current Info node name. (Bug#12107)
6618
53fa8652
JL
66192012-08-08 Juri Linkov <juri@jurta.org>
6620
6621 * files.el (basic-save-buffer): Use `buffer-name' as the default
6622 of `read-file-name' when buffer is not visiting a file (bug#12128).
6623
242c0a95
JL
66242012-08-08 Juri Linkov <juri@jurta.org>
6625
6626 * info.el (Info-isearch-search): Doc fix.
6627 (Info-search): Change search-failed message from "initial node" to
6628 "end of node" (bug#12078).
6629 (Info-isearch-search): Change `isearch-string-state' to
6630 `isearch--state-string'.
6631
32ac3a6b
GM
66322012-08-08 Glenn Morris <rgm@gnu.org>
6633
6634 * language/persian.el: Remove file.
f8c1afd5 6635 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
6636 * loadup.el: Remove language/persian.
6637
2c2d9c9c
OF
66382012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6639
6640 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6641
2d79ec42
FEG
66422012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6643
3c855b96 6644 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
6645 (python-syntax-context) Rename from python-info-ppss-context.
6646 (python-syntax-context-type): Rename from
6647 python-info-ppss-context-type.
6648 (python-syntax-comment-or-string-p): Rename from
6649 python-info-ppss-comment-or-string-p.
6650
2bd255dd
JB
66512012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6652
6653 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6654
c395097f
AS
66552012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6656
6125983e
AS
6657 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6658 a defcustom that is quoted with backquote.
6659
4250fdf5
SM
6660 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6661 Fix handling of interactive spec when the body uses return.
651eaf36
AS
6662 (math-do-arg-check, math-define-function-body): Use backquote forms.
6663 * calc/calc-ext.el (math-defcache): Likewise.
6664 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6665 * allout.el (allout-new-exposure): Likewise.
6666 * calc/calcalg2.el (math-tracing-integral): Likewise.
6667 * info.el (Info-last-menu-item): Likewise.
6668 * emulation/vip.el (vip-loop): Likewise.
6669 * textmodes/artist.el (artist-funcall): Likewise.
6670 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6671 Construct menu-item directly.
6672
4250fdf5
SM
6673 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6674 Don't declare.
c395097f 6675
5fb50dd3
CY
66762012-08-07 Chong Yidong <cyd@gnu.org>
6677
6678 * simple.el (deactivate-mark): Preserve text properties when
6679 saving the primary selection (Bug#8384).
6680
54eea618
KR
66812012-08-07 Kevin Ryde <user42@zip.com.au>
6682
6683 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6684 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6685 and continue processing (Bug#12110).
6686
638eaeb9
SM
66872012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6690 syntax-propertize-function (bug#10095).
6691
ea376861
SM
66922012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6693
f91b35be
SM
6694 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6695 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6696 describe-function-1.
6697 (describe-function-1): Use them. Move compiler macro after sig.
6698 (help-fns--compiler-macro): Use function-get. Assume we're already in
6699 standard-output. Adjust layout to new call order.
6700
ea376861
SM
6701 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6702 re-binding a symbol that has a symbol-macro (bug#12119).
6703
d5be7bd0
MB
67042012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6705
6706 * language/persian.el: New file. (Bug#11812)
6707 * loadup.el: Add language/persian.el.
6708
90749b53
CY
67092012-08-06 Chong Yidong <cyd@gnu.org>
6710
6711 * window.el (window--maybe-raise-frame): New function.
6712 (window--display-buffer): Split off from here.
6713 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6714 (display-buffer-pop-up-window, display-buffer-use-some-window):
6715 Obey an inhibit-switch-frame action alist entry.
6716 (display-buffer): Update doc.
6717
6718 * replace.el (occur-after-change-function): Avoid losing focus by
6719 using the inhibit-switch-frame display parameter (Bug#12139).
6720
ba7b0154
FEG
67212012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6722
6723 Make internal shell process buffer names start with space.
6724 * progmodes/python.el (python-shell-make-comint): Add optional
6725 argument INTERNAL.
6726 (run-python-internal): Use it.
6727 (python-shell-internal-get-or-create-process): Check for new
6728 internal buffer names.
6729
5eaeacb5
GM
67302012-08-06 Glenn Morris <rgm@gnu.org>
6731
e296d94b 6732 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
6733 Do less getting and setting of environment variables.
6734
b7ccbdc2
CY
67352012-08-05 Chong Yidong <cyd@gnu.org>
6736
777fe95e
CY
6737 * proced.el (proced): Add substitution string to docstring to
6738 trigger autoloading of the proced library on C-h f (Bug#1768).
6739
4250fdf5
SM
6740 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6741 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
6742
6743 * imenu.el (imenu-generic-expression): Move documentation here
6744 from imenu--generic-function.
6745 (imenu--generic-function): Refer to imenu-generic-expression.
6746
9e3b7800 67472012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
6748
6749 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6750 indentation declaration.
6751 (viper-loop): Add indentation declaration (Bug#7025).
6752
e5d9c0d1
CY
67532012-08-05 Chong Yidong <cyd@gnu.org>
6754
f0422feb
CY
6755 * help-fns.el (describe-variable): Add hyperlink for
6756 directory-local variables files. Improve buffer-local and
6757 permanent-local reporting; suggested by MON KEY (Bug#6644).
6758
6759 * help-mode.el (help-dir-local-var-def): New button type.
6760
e5d9c0d1
CY
6761 * files.el (kill-buffer-hook): Provide a defvar.
6762
a4f2deaa
GM
67632012-08-05 Glenn Morris <rgm@gnu.org>
6764
6765 * eshell/esh-ext.el (eshell/addpath):
6766 Also update eshell-path-env. (Bug#12013)
6767
a9dd5754
CY
67682012-08-05 Chong Yidong <cyd@gnu.org>
6769
a4f2deaa 6770 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 6771
d014c740
CY
6772 * fringe.el (fringe-styles): Add docstring.
6773 (fringe--check-mode): New function.
6774 (set-fringe-mode, set-fringe-style): Use it.
6775 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6776
a9dd5754
CY
6777 * files.el (set-auto-mode): Fix invalid setq call.
6778
7c2dc8bd
SM
67792012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * isearch.el: Misc simplification; use defstruct.
6782 (isearch-mode-map): Dense maps now work like sparse ones.
6783 (isearch--state): New defstruct.
6784 (isearch-string-state, isearch-message-state, isearch-point-state)
6785 (isearch-success-state, isearch-forward-state)
6786 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6787 (isearch-wrapped-state, isearch-barrier-state)
6788 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6789 replaced by defstruct's accessors.
6790 (isearch--set-state): Rename from isearch-top-state and change
6791 calling convention.
6792 (isearch-push-state): Use new isearch--get-state.
6793 (isearch-toggle-word): Disable regexp when enabling word.
6794 (isearch-message-prefix): Remove unused arg _c-q-hack.
6795 (isearch-message-suffix): Remove unused arg _ellipsis.
6796
7fcc0070
AS
67972012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6798
6799 * simple.el (list-processes--refresh): For a server use :host or
6800 :local as the address.
97ad0769 6801 (list-processes): Doc fix.
7fcc0070 6802
a11035b8 68032012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
6804
6805 * lisp/mpc.el: Support password in host argument.
6806 (mpc--proc-connect): Parse and use new password element.
6807 Set mpc-proc variable instead of returning process.
6808 (mpc-proc): Adjust accordingly.
6809
6dad7178
EZ
68102012-08-03 Eli Zaretskii <eliz@gnu.org>
6811
18949c2f
EZ
6812 * whitespace.el (whitespace-display-mappings): Use Unicode
6813 codepoints, instead of emacs-mule codepoints. See
6814 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6815 for the details.
6816
6dad7178
EZ
6817 * files.el (file-truename): Don't skip symlink-chasing part on
6818 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
6819 Windows into the loop that recursively chases symlinks.
6820 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
6821 MS-DOS.
6822
385b0198
CY
68232012-08-03 Chong Yidong <cyd@gnu.org>
6824
6200f3c4
CY
6825 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6826
385b0198
CY
6827 * sort.el (sort-regexp-fields): Doc fix.
6828
b9e74744
TH
68292012-08-03 Tassilo Horn <tsdh@gnu.org>
6830
6831 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6832 labels regex position point at the expected place.
6833
41013cb4
MK
68342012-08-03 MON KEY <monkey@sandpframing.com>
6835
6836 * net/imap.el (imap-interactive-login, imap-authenticate)
6837 (imap-mailbox-lsub, imap-mailbox-list)
6838 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6839 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6840 (imap-parse-response): Doc fix.
6841
0ffee616
JT
68422012-08-03 João Távora <joaotavora@gmail.com>
6843
6844 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6845 if sexp scanning does not move point (Bug#5734).
6846
cfcc9cc8
TH
68472012-08-02 Tassilo Horn <tsdh@gnu.org>
6848
6849 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6850 Add listings, minted, and ctable packages.
6851 (reftex-label-alist-builtin): Move listings, minted, and ctable
6852 entries before LaTeX.
a01bbb84 6853 (reftex-label-alist): Docfix.
cfcc9cc8 6854
66ec2442
BG
68552012-08-02 Bastien Guerry <bzg@gnu.org>
6856
6857 * replace.el (occur): Fix docstring (bug#12122).
6858
837b365b
GM
68592012-08-02 Glenn Morris <rgm@gnu.org>
6860
6861 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6862
e098de97
PE
68632012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6864
6865 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6866 * international/mule-cmds.el: Create
6867 inactivate-current-input-method-function as an obsolete alias for
6868 deactivate-current-input-method-function. See Katsumi Yamaoka in
6869 <http://bugs.gnu.org/10150#46>.
6870
a0f95636
JB
68712012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6872
6873 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6874 of nested `if's.
6875
0d26d7c4
GM
68762012-08-01 Glenn Morris <rgm@gnu.org>
6877
6878 * progmodes/autoconf.el (autoconf-definition-regexp):
6879 Add AH_TEMPLATE, adjust submatch numbering.
6880 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6881 (autoconf-current-defun-function): Update for above change.
6882 (autoconf-current-defun-function): First skip to end of current word.
6883
b686ba06
RS
68842012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6885
6886 * calendar/cal-html.el (cal-html-insert-agenda-days):
6887 Fix typo. (Bug#12018)
6888
0d49da68
FEG
68892012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6890
6891 Shell processes: enhancements to startup and CEDET compatibility.
6892 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6893 (python-shell-make-comint): accept-process-output at startup.
6894 (run-python-internal): Set inferior-python-mode-hook to nil.
6895 (python-shell-internal-get-or-create-process): call sit-for.
6896 (python-preoutput-result): Add obsolete alias.
6897 (python-shell-internal-send-string): Use it.
6898 (python-shell-send-setup-code): Remove call to
6899 accept-process-output.
6900
f1a71c6e
AS
69012012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6902
6903 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6904 (Bug#12108)
6905
d2605269
JB
69062012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6907
6908 * calc-mode.el (calc-basic-simplification-mode): Rename from
6909 `calc-limited-simplification-mode'.
6910 (calc-alg-simplification-mode): New function.
fc0c31f8 6911 (calc-set-simplify-mode): Adjust message.
f1a71c6e 6912
d2605269
JB
6913 * calc.el (calc-set-mode-line): Adjust mode line display for
6914 basic simplification mode.
6915
6916 * calc-help.el (calc-m-prefix-help): Update help message.
6917
6918 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6919 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6920
a3827a43
BG
69212012-07-31 Bastien Guerry <bzg@gnu.org>
6922
6923 * man.el (man): Fix comment. (bug#12101)
6924
502e3f89
MR
69252012-07-31 Martin Rudalics <rudalics@gmx.at>
6926
6927 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6928 Don't return a non-nil value when no suitable buffer was found.
6929
d7714961
FEG
69302012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6931
6932 * progmodes/python.el (run-python-internal): Disable font lock for
6933 internal shells.
6934
1f45e27e
SM
69352012-07-30 Stefan Merten <smerten@oekonux.de>
6936
70efc5c9 6937 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
6938 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6939 (rst-official-version, rst-official-cvs-rev)
6940 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6941 (rst-mode-map): New key binding.
6942
0aee6912
PE
69432012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6944
6945 Update .PHONY listings in makefiles.
6946 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6947 autoloads, update-subdirs, updates, bzr-update, update-authors,
6948 compile-onefile, compile-calc, backup-compiled-files,
6949 compile-after-backup, compile-one-process, mh-autoloads,
6950 bootstrap-clean, distclean, maintainer-clean.
6951
9052f9f0
JB
69522012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6953
1823ac5a
JB
6954 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6955 (calc-set-mode-line): Don't display "AlgSimp ".
6956
6957 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6958 (calc-lim-simplify-mode): New function.
6959 (calc-set-simplify-mode): Default to 'alg.
6960 (calc-default-simplify-mode): Make algebraic simplifications
6961 the default.
6962
6963 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6964 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6965
8d7c7eed 6966 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
6967 indicate new simplification modes.
6968
1823ac5a
JB
6969 * calc/README: Mention new default simplification mode.
6970
9052f9f0
JB
6971 * calc/calc.el (math-normalize-error): New variable.
6972 (math-normalize): Set `math-normalize-error' to t
6973 when there's an error.
6974
6975 * calc/calc-alg.el (math-simplify): Don't simplify when
6976 `math-normalize' returns an error.
6977
20ba0cb4
EZ
69782012-07-29 Eli Zaretskii <eliz@gnu.org>
6979
6980 * international/mule-cmds.el (set-locale-environment): Revert last
6981 change, since display-graphic-p returns nil when this function is
6982 called during startup. Instead...
6983
6984 * term/w32console.el (terminal-init-w32console): ...setup the
6985 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6986
a5dcc929
JL
69872012-07-29 Juri Linkov <juri@jurta.org>
6988
6989 * simple.el (goto-line): Don't display default line number in the
6990 prompt because it should be displayed by `read-number' (bug#9952).
6991 Add the current line number to the defaults of `goto-line' to
6992 allow its easier modification by users with `M-n' (bug#9201).
6993
6994 * subr.el (read-number): Support multiple default values like in
6995 other minibuffer reading functions. Replace `read' with
6996 `string-to-number' for consistency with `number-to-string'.
6997
72b255c7
PE
69982012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6999
7000 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7001 * emulation/viper-init.el (viper-deactivate-input-method-action):
7002 Rename from viper-inactivate-input-method-action.
7003 (viper-deactivate-input-method):
7004 Rename from viper-inactivate-input-method.
7005 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7006 * international/mule-cmds.el (deactivate-input-method):
7007 Rename from inactivate-input-method.
7008 Also run input-method-deactivate-hook.
7009 (deactivate-current-input-method-function):
7010 Rename from inactivate-current-input-method-function.
7011 (input-method-deactivate-hook): New hook.
7012 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7013 (inactivate-input-method): Mark obsolete.
7014
72b255c7
PE
7015 * international/quail.el (quail-activate):
7016 Also run quail-deactivate-hook.
7017 (quail-deactivate): Rename from quail-inactivate.
7018 * international/robin.el (robin-activate):
7019 Also run robin-deactivate-hook.
7020 (robin-deactivate): Rename from robin-inactivate.
7021
2549c068
CY
70222012-07-29 Chong Yidong <cyd@gnu.org>
7023
7024 * simple.el (indicate-copied-region): New function.
7025 (kill-ring-save): Split off from here.
7026
7027 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7028 (kill-rectangle): Set deactivate-mark to t on read-only error.
7029
7030 * register.el (copy-to-register, copy-rectangle-to-register):
7031 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7032 (append-to-register, prepend-to-register): Call indicate-copied-region.
7033
70342012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7035
7036 * simple.el (async-shell-command-buffer): New defcustom.
7037 (shell-command): Use it. (Bug#4719)
7038
01bd1b0d
EZ
70392012-07-28 Eli Zaretskii <eliz@gnu.org>
7040
7041 * international/mule-cmds.el (set-locale-environment): In a
7042 console session on MS-Windows, set up keyboard and terminal
7043 encoding from the OEM codepage, not the ANSI codepage.
7044 (Bug#12055)
7045
a55739d3
CY
70462012-07-28 Chong Yidong <cyd@gnu.org>
7047
7048 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7049 gdb-get-location.
7050
0e1a094f 70512012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
7052
7053 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7054 the alist (bug#12029).
7055
20329d73
EZ
70562012-07-28 Eli Zaretskii <eliz@gnu.org>
7057
7058 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7059 (compile-always, compile-first)
7060 ($(lisp)/calendar/cal-loaddefs.el)
7061 ($(lisp)/calendar/diary-loaddefs.el)
7062 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7063 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7064 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7065 instead of on update-subdirs.
7066 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7067
345a2258
CY
70682012-07-28 Chong Yidong <cyd@gnu.org>
7069
1eee6341
CY
7070 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7071 directory if vc-deduce-backend returns nil (Bug#7350).
7072
345a2258
CY
7073 * simple.el (delete-trailing-lines): New option.
7074 (delete-trailing-whitespace): Obey it (Bug#11879).
7075
049a0936
DE
70762012-07-28 David Engster <deng@randomsample.de>
7077
7078 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7079 Explanation of new 'symbol-qnames feature in doc-strings.
7080 (xml-maybe-do-ns): Return expanded names as plain symbols if
7081 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7082 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7083
aa81af71
FEG
70842012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7085
7086 Consistent completion in inferior python with emacs -nw.
7087 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7088 binding in inferior-python-mode-map with "\t".
7089 (python-shell-completion-complete-at-point)
7090 (python-completion-complete-at-point): Remove interactive spec.
7091
e827b1eb
JB
70922012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7093
7094 * calc/calccomp.el (math-compose-expr): Undo previous change.
7095
a90dfb95
FEG
70962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7097
4250fdf5 7098 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
7099 run-python.
7100 (python-shell-make-comint): Fix pop-to-buffer call.
7101 (run-python): Autoload. New arg SHOW.
7102 (python-shell-get-or-create-process): Do not pop python process
7103 buffer.
7104
32770973 71052012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
7106
7107 * notifications.el (notifications-on-action-signal)
7108 (notifications-on-closed-signal): Use also the bus address for the map.
7109 (notifications-notify, notifications-close-notification)
fc0c31f8 7110 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 7111
86332df2
TH
71122012-07-27 Tassilo Horn <tsdh@gnu.org>
7113
4250fdf5
SM
7114 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7115 Add support for the lstlisting and minted environments, and for the
86332df2
TH
7116 ctable macro.
7117 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7118 labels written in keyvals syntax.
7119
ca1302a4
JB
71202012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7121
7122 * calc/calccomp.el (math-compose-expr): Use parentheses when
7123 there is a product in the denominator of a fraction.
7124
f8b91036
EZ
71252012-07-26 Eli Zaretskii <eliz@gnu.org>
7126
7127 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7128 ($(lisp)/calendar/diary-loaddefs.el)
7129 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
7130 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7131 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
7132 rewritten while the autoload files are built at the same time,
7133 which needs to load subdirs.el.
7134
c8e5a42c
MR
71352012-07-26 Martin Rudalics <rudalics@gmx.at>
7136
7137 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7138 (mouse-drag-line): Don't exit tracking when a switch-frame or
7139 switch-window event occurs (Bug#12006).
7140
670d85ea
SM
71412012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7142
7143 * mouse.el (popup-menu): Fix last change.
7144
7abaf5cc
SM
71452012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 Autoload from Lisp with more care. Follow aliases when looking for
7148 function properties.
7149 * subr.el (autoloadp): New function.
7150 (symbol-file): Use it.
7151 (function-get): New function.
7152 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7153 autoload-do-load.
7154 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7155 (lisp-indent-function):
7156 * emacs-lisp/gv.el (gv-get):
7157 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7158 * emacs-lisp/byte-opt.el (byte-optimize-form):
7159 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7160 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7161 Use function-get.
7162 * emacs-lisp/cl.el: Don't propagate function properties any more.
7163
7164 * speedbar.el (speedbar-add-localized-speedbar-support):
7165 * emacs-lisp/disass.el (disassemble-internal):
7166 * desktop.el (desktop-load-file):
7167 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7168 (describe-function-1):
7169 * emacs-lisp/find-func.el (find-function-noselect):
7170 * emacs-lisp/elp.el (elp-instrument-function):
7171 * emacs-lisp/advice.el (ad-has-proper-definition):
7172 * apropos.el (apropos-safe-documentation, apropos-macrop):
7173 * emacs-lisp/debug.el (debug-on-entry):
7174 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7175 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7176 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7177
b1364986
AA
71782012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7179
7180 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7181 function, not an obsolete variable (Bug#12046).
7182
67ada220
AS
71832012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7184
7185 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7186
f08088e3
CS
71872012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7188
7189 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7190 window only if it is still live (Bug#12034).
7191
8137e7b3
MR
71922012-07-25 Martin Rudalics <rudalics@gmx.at>
7193
7194 * subr.el (redirect-frame-focus): Add advertised calling
7195 convention (Bug#12030).
7196
09ae5da1
PE
71972012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7198
7199 Prefer typical American spelling for "acknowledgment".
7200 * vc/add-log.el (change-log-acknowledgment): Rename from
7201 change-log-acknowledgement, with an alias for the old name.
7202
3cc5a3a8
JB
72032012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7204
7205 * calc-alg.el (math-simplify-divide): Don't cross multiply
7206 in an equation when the lhs is a variable.
7207
b7af7f62
JD
72082012-07-24 Julien Danjou <julien@danjou.info>
7209
7210 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7211 Remove, unused.
7212
ec1b09b1
EZ
72132012-07-23 Eli Zaretskii <eliz@gnu.org>
7214
7215 * startup.el (command-line): Don't display an empty user name in
7216 the error message about non-existent home directory, when
7217 init-file-user was set to an empty string. See
7218 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7219 for the details and context.
7220
b525fd8a
VB
72212012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7222
7223 * ses.el (ses-cell-formula-aset): New macro.
7224 (ses-cell-references-aset): New macro.
7225 (ses-cell-p): New function.
7226 (ses-rename-cell): Do no longer rely on complex operations like
7227 ses-cell-set-formula or ses-set-cell to change the cell and handle
7228 the undo at the same time, but rather use lower level new macros
7229 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 7230 the undo directly. Refresh the mode line.
b525fd8a 7231
2c73e345
LL
72322012-07-21 Leo Liu <sdl.web@gmail.com>
7233
670d85ea
SM
7234 * progmodes/cc-cmds.el (c-defun-name):
7235 Use match-string-no-properties instead for consistency.
2c73e345 7236
542dfbde
LL
72372012-07-20 Leo Liu <sdl.web@gmail.com>
7238
3646bcd6
LL
7239 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7240 (Bug#7879)
7241
542dfbde
LL
7242 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7243
25721031
CY
72442012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7247 * progmodes/bug-reference.el, misearch.el: Provide themselves
7248 (bug#11915).
7249
7250 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7251 of narrowed buffer (bug#11966).
7252
316e68a7
VB
72532012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7254
7255 * ses.el (ses-rename-cell): Set new name also in reference list of
7256 cells of which the renamed cell depends.
7257
bbf0e7d9
MY
72582012-07-20 Masatake YAMATO <yamato@redhat.com>
7259
7260 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7261 to check whether menu-bar is shown or not. If not shown,
7262 show the menu-bar as a popup menu instead of using tmm.
7263 * mouse.el (popup-menu): Accept `point' as `position' argument.
7264
c28662a8
DG
72652012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7266
7267 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7268 up inside string symbol literal (bug#11923).
7269
87ab808f
EZ
72702012-07-20 Eli Zaretskii <eliz@gnu.org>
7271
7272 * startup.el (fancy-startup-text): Read the whole tutorial, not
7273 just its first 256 bytes. Prevents gibberish in display of the
7274 tutorial title.
7275
89dea803
DA
72762012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7277
7278 Drop idle buffer compaction due to an absence of the
7279 proved efficiency.
7280 * compact.el: Remove.
7281
8a4e6db8
SS
72822012-07-19 Sam Steingold <sds@gnu.org>
7283
7284 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7285 vc-bzr-pull & vc-bzr-merge-branch.
7286 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7287 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7288 for consistency with compilation-error-regexp-alist.
7289 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7290 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7291 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7292 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7293
5db81e33
SM
72942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * emacs-lisp/chart.el: Use lexical-binding.
7297 (chart-emacs-storage): Don't hardcode the list of entries.
7298
5b835e1d
DA
72992012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7300
7301 Next round of tweaks caused by Fgarbage_collect changes.
7302 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7303
9cd47b72
DA
73042012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7305
7306 Compact buffers when idle.
7307 * compact.el: New file.
7308
1d6fc0df
SM
73092012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * subr.el (eventp): Presume that if it looks vaguely like an event,
7312 it's an event (bug#10190).
7313
1d29cc7d
FEG
73142012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7315
7316 Enhancements to ppss related code (thanks Stefan).
7317 * progmodes/python.el (python-indent-context)
7318 (python-indent-calculate-indentation, python-indent-dedent-line)
7319 (python-indent-electric-colon, python-nav-forward-block)
7320 (python-mode-abbrev-table)
1d6fc0df 7321 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
7322 for ppss context.
7323 (python-info-continuation-line-p): Cleanup.
7324 (python-info-ppss-context): Do not catch 'quote.
7325 (python-info-ppss-context-type)
7326 (python-info-ppss-comment-or-string-p): Simplify.
7327
d583cbe6
FEG
73282012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
7329
7330 * progmodes/python.el: Enhancements to eldoc support.
7331 (python-info-current-symbol): New function.
7332 (python-eldoc-at-point): Use python-info-current-symbol.
7333 (python-info-current-defun): Fix cornercase on first defun scan.
7334 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
7335 and signal error when no inferior python process is available.
7336
eceb6feb
DG
73372012-07-18 Dmitry Gutov <dgutov@yandex.ru>
7338
7339 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
7340 assume it's always t.
7341 (vc-git-registered): Remove caching, the function is only called
7342 once.
7343 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
7344
4c8ff0fe
CY
73452012-07-18 Chong Yidong <cyd@gnu.org>
7346
19fb7186
CY
7347 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
7348
9587c688
CY
7349 * simple.el (count-words): Report on narrowing (Bug#9959).
7350
0fe776a1
CY
7351 * bindings.el: Bind M-= to count-words.
7352
4c8ff0fe
CY
7353 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
7354
7f5331cc
MY
73552012-07-18 Masatake YAMATO <yamato@redhat.com>
7356
7357 * progmodes/sh-script.el (sh-imenu-generic-expression):
7358 Capture a function with `function' keyword and without parentheses
7359 like "function FOO" (bug#11856).
7360
2dc2a609
TH
73612012-07-18 Tassilo Horn <tassilo@member.fsf.org>
7362
7363 * window.el (split-window-sensibly): Make WINDOW argument
7364 optional.
7365
439f7677
CY
73662012-07-18 Chong Yidong <cyd@gnu.org>
7367
9aeb25a6
CY
7368 * subr.el (keyboard-translate): Doc fix (Bug#7261).
7369
439f7677
CY
7370 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
7371 and make C-x 8 RET exit isearch (Bug#11439).
7372
7373 * international/iso-transl.el: Move isearch-mode-map key
7374 definitions to isearch.el.
7375
12999ea8
SM
73762012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
7379 (eieio-defclass): Use gv-define-setter when possible.
7380
3ab6e069
DA
73812012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
7382
7383 Reflect recent changes in Fgarbage_collect.
7384 * emacs-lisp/chart.el (chart-emacs-storage): Change to
7385 reflect new format of data returned by Fgarbage_collect.
7386
0a60bc10
FEG
73872012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7388
7389 New utility functions + python-info-ppss-context fix (Bug#11910).
7390 * progmodes/python.el (python-info-beginning-of-block-statement-p)
7391 (python-info-ppss-comment-or-string-p): New functions.
7392 (python-info-ppss-context): Small fix for string check.
7393
6dafa0d5
JL
73942012-07-17 Juri Linkov <juri@jurta.org>
7395
7396 * dired-aux.el (dired-do-async-shell-command): Doc fix.
7397 (dired-do-async-shell-command): Don't add `*' at the end of the
7398 command (Bug#11815).
7399 (dired-do-shell-command): Doc fix.
7400 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
7401 Join the individual commands using either "&" or ";" as the
7402 separator depending on the values of these trailing characters.
7403 At the end re-add the trailing "&". (Bug#10598)
7404
7405 * simple.el (async-shell-command): Sync the interactive spec with
7406 `shell-command'. Doc fix.
7407 (shell-command): Doc fix.
7408
b19dd9d1
JL
74092012-07-17 Juri Linkov <juri@jurta.org>
7410
7411 * descr-text.el (describe-char): Fix format args. (Bug#10129)
7412
bcdc27d7 74132012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 7414
bcdc27d7 7415 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
7416 * progmodes/python.el (python-nav-beginning-of-statement):
7417 Rename from python-nav-statement-start.
bcdc27d7
FEG
7418 (python-nav-end-of-statement): Rename from
7419 python-nav-statement-end.
7420 (python-nav-beginning-of-block): Rename from
7421 python-nav-block-start.
7422 (python-nav-end-of-block): Rename from python-nav-block-end.
7423
191da00e
FEG
74242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7425
7f5331cc
MY
7426 * progmodes/python.el (python-shell-send-string-no-output):
7427 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
7428 future interactions (Bug#11868).
7429
4dc7c8d5 74302012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 7431
88ecaf8f
SM
7432 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
7433
ef501ef0
SM
7434 * emacs-lisp/elint.el (elint-find-args-in-code):
7435 Use help-function-arglist, so as to handle lexical byte-code.
7436
aa7aaf8f
SM
7437 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
7438 change (bug#11826).
7439
45fd731c
SM
74402012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
7441
2143fa32
SM
7442 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
7443 Avoid spuriously marking the buffer as modified because of c-is-sws.
7444
efc26dbe
SM
7445 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
7446 as not-a-comment (bug#11946).
7447
f5695c9a
SM
7448 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
7449 for uninterned vars.
7450
7451 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
7452 Use read-event since we don't really want to read chars but bytes.
7453
45fd731c
SM
7454 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
7455 $$..$$ but also $..$ using regexps (bug#11953).
7456 Use tex-verbatim for \url and \path.
7457 (tex-font-lock-keywords): Define as defconst like the others.
7458 (tex-common-initialization): Don't use font-lock-syntax-table any more.
7459
ddfc8813
RK
74602012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
7461
7462 * international/mule-cmds.el (ucs-insert): Make it an obsolete
7463 alias for insert-char.
7464
758e556a
FEG
74652012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7466
7467 * progmodes/python.el: Simplified imenu implementation.
7468 (python-nav-jump-to-defun): Remove command.
7469 (python-mode-map): Use `imenu' instead.
7470 (python-nav-list-defun-positions-cache)
7471 (python-imenu-include-defun-type, python-imenu-make-tree)
7472 (python-imenu-subtree-root-label, python-imenu-index-alist):
7473 Remove vars.
7474 (python-nav-list-defun-positions, python-nav-read-defun)
7475 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
7476 (python-imenu-make-tree, python-imenu-create-index):
7477 Remove functions.
758e556a
FEG
7478 (python-mode): Update to interact with imenu by setting
7479 `imenu-extract-index-name-function' only.
7480
032d23ab
FEG
74812012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
7482
7483 * progmodes/python.el: Enhancements to navigation commands.
7484 (python-nav-backward-sentence)
7485 (python-nav-forward-sentence): Remove.
7486 (python-nav-backward-statement, python-nav-forward-statement)
7487 (python-nav-statement-start, python-nav-statement-end)
7488 (python-nav-backward-block, python-nav-forward-block)
7489 (python-nav-block-start, python-nav-block-end)
7490 (python-nav-forward-sexp-function)
7491 (python-info-current-line-comment-p)
7492 (python-info-current-line-empty-p): New functions.
7493 (python-indent-context): Use `python-nav-statement-start'.
7494
01795a1b
MA
74952012-07-16 Michael Albinus <michael.albinus@gmx.de>
7496
9328d9aa
MA
7497 * eshell/em-ls.el (eshell/ls): Use `apply'.
7498
7499 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
7500 multi-hops, instead of Tramp internals.
7501
01795a1b
MA
7502 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
7503
7504 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
7505 when F1 and F2 are located on different hosts.
7506
63408057
CY
75072012-07-14 Chong Yidong <cyd@gnu.org>
7508
7509 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
7510 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
7511 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
7512 (xterm-mouse--read-event-sequence-1000)
7513 (xterm-mouse--read-event-sequence-1006): New functions. For old
7514 mouse protocol, handle M-mouse-X events correctly.
7515 (xterm-mouse-event): New arg specifying mouse protocol.
7516 (turn-on-xterm-mouse-tracking-on-terminal)
7517 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
7518 sequence to toggle extended coordinates on newer XTerms.
7519 This appears to be harmless on terminals which do not support this.
63408057 7520
cd276f6e
LL
75212012-07-14 Leo Liu <sdl.web@gmail.com>
7522
28ca98ac
LL
7523 Add fringe bitmap indicators for flymake. (Bug#11253)
7524 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
7525 (flymake-make-overlay): New arg BITMAP.
7526 (flymake-error-bitmap, flymake-warning-bitmap)
7527 (flymake-fringe-indicator-position): New user variables.
7528
cd276f6e
LL
7529 * fringe.el: New bitmap exclamation-mark.
7530
04408072
JD
75312012-07-14 Jan Djärv <jan.h.d@swipnet.se>
7532
7533 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
7534 also (Bug#7879).
7535
b5cf7fc4
CY
75362012-07-14 Chong Yidong <cyd@gnu.org>
7537
7538 * electric.el (electric-pair-post-self-insert-function): Fix pair
7539 insertion in empty-region case (Bug#11520).
7540
be755c79
RT
75412012-07-14 Chong Yidong <cyd@gnu.org>
7542
45fd731c
SM
7543 * bindings.el: Consolidate ctl-x-r-map bindings.
7544 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
7545
7546 * rect.el, register.el: Move bindings to bindings.el.
7547
75482012-07-14 Reuben Thomas <rrt@sc3d.org>
7549
7550 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
7551
7f5b3198
AS
75522012-07-13 Andreas Schwab <schwab@linux-m68k.org>
7553
7554 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
7555
97662200
JB
75562012-07-13 Juanma Barranquero <lekktu@gmail.com>
7557
80185fed
JB
7558 * bindings.el (top): Use `mapc' instead of `mapcar'.
7559
97662200
JB
7560 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
7561
2bb1ae55
MA
75622012-07-13 Michael Albinus <michael.albinus@gmx.de>
7563
7564 * progmodes/sql.el (sql-comint): Suppress the check for program on
7565 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
7566 (Bug#11908)
7567
dea31bd3
CY
75682012-07-13 Chong Yidong <cyd@gnu.org>
7569
7570 * bindings.el: Assign a non-nil permanent-local property to
7571 per-buffer variables which lack a default value (Bug#11930).
7572
7573 * help-fns.el (describe-variable): In the "automatically becomes
7574 local" notice, take note of permanent-local variables.
7575
b68b3337
CY
75762012-07-13 Chong Yidong <cyd@gnu.org>
7577
7578 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
7579 to allow printing the message when called from Lisp.
7580
7581 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7582 Remove toggle-read-only.
7583
7584 * bs.el (bs-toggle-readonly):
45fd731c
SM
7585 * buff-menu.el (Buffer-menu-toggle-read-only):
7586 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
7587
7588 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
7589 Remove with-no-warnings around toggle-read-only.
7590 (ffap-read-only, ffap-read-only-other-window)
7591 (ffap-read-only-other-frame): Callers changed.
7592
7593 * help-mode.el: Don't require view package.
7594 (help-mode-finish): Set buffer-read-only instead of calling
7595 toggle-read-only.
7596
7597 * bindings.el (mode-line-toggle-read-only):
7598 * dired.el (dired-toggle-read-only):
7599 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
7600 with non-nil second arg.
7601
7602 * emacs-lisp/eieio-custom.el (eieio-customize-object):
7603 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
7604 directly.
7605
56bc1586
EZ
76062012-07-12 Eli Zaretskii <eliz@gnu.org>
7607
7608 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
7609 not incf.
7610
a464a6c7
SM
76112012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 More CL cleanups and reduction of use of cl.el.
7614 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
7615 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
7616 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
7617 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
7618 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
7619 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
7620 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
7621 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
7622 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
7623 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
7624 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
7625 * eshell/em-cmpl.el, eshell/em-banner.el:
7626 * calendar/parse-time.el: Use cl-lib.
7627 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
7628 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
7629 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
7630 * term/ns-win.el, term.el, shell.el, ps-samp.el:
7631 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7632 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7633 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7634 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7635 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7636 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7637 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7638 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7639 `lambda' rather than with `quote'.
7640 (eshell-do-opt): Adjust accordingly.
7641 (eshell-process-option): Simplify.
7642 * eshell/esh-var.el:
7643 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7644 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7645 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7646 to `pcase--dontcare'.
7647 * emacs-lisp/cl.el (labels): Mark obsolete.
7648 (cl--letf, letf): Move to cl-lib.
7649 (cl--letf*, letf*): Remove.
7650 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7651 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7652 (cl-progv): Rewrite.
7653 (cl--letf, cl-letf): Move from cl.el.
7654 (cl-letf*): New macro.
7655 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7656
7ad4afe1
MA
76572012-07-11 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7660
9af57756
CY
76612012-07-11 Chong Yidong <cyd@gnu.org>
7662
7663 * vc/log-edit.el (log-edit-vc-backend): New variable.
7664 (log-edit): Doc fix.
7665
7666 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7667 argument of log-edit to set up all local variables.
7668 (vc-start-logentry): New optional arg specifying VC backend.
7669
7670 * vc/vc.el (vc-checkin): Use it.
7671 (vc-deduce-fileset): Handle Log Edit buffers.
7672 (vc-diff): Make first argument optional too.
7673
7674 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7675
8477cc7a
MA
76762012-07-10 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7679 command, just in case. The function is not needed anymore.
7680 (eshell-external-command): Do not call `eshell-remote-command'.
7681
19faa8e8
SM
76822012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7683
f58e0fd5
SM
7684 Reduce use of (require 'cl).
7685 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7686 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7687 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7688 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7689 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7690 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7691 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7692 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7693 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7694 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7695 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7696 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7697 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7698 (byte-compile-unfold-bcf, byte-compile-check-variable):
7699 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7700 (byte-compile-nilconstp):
7701 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7702 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7703
2519d43a
SM
7704 * emacs-lisp/gv.el (cond): Make it a valid place.
7705 (if): Simplify slightly.
7706
19faa8e8
SM
7707 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7708 (pcase--self-quoting-p): New function.
7709 (pcase--u1): Use it.
7710
c4907a5e
GM
77112012-07-10 Glenn Morris <rgm@gnu.org>
7712
7713 * emacs-lisp/authors.el (authors-fixed-entries):
7714 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7715
c4444d16
PE
77162012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7717
7718 Rename configure.in to configure.ac (Bug#11603).
7719 * emacs-lisp/authors.el (authors-canonical-file-name):
7720 * progmodes/autoconf.el (autoconf-mode):
7721 Prefer configure.ac to configure.in.
7722
d75be97d
CY
77232012-07-08 Chong Yidong <cyd@gnu.org>
7724
01ac65bd
CY
7725 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7726 Implement the mouse-1-click-follows-link handling properly.
7727
7728 * info.el (Info-link-keymap): Use follow-link mechanism for
7729 header-line links (Bug#374).
7730
d75be97d
CY
7731 * simple.el (deactivate-mark): Do not set the primary selection
7732 if another program has acquired it (Bug#11772).
7733
87a92845 77342012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
7735
7736 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7737 (woman-decode-region): Replace escaped-escapes without destroying
7738 bold or underline (Bug#11552).
87a92845 7739 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 7740
621b9d6c
CY
77412012-07-07 Chong Yidong <cyd@gnu.org>
7742
7743 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
7744 (interprogram-cut-function, interprogram-paste-function):
7745 Mention that we typically mean the clipboard.
621b9d6c 7746
133a11fc
GM
77472012-07-06 Glenn Morris <rgm@gnu.org>
7748
0d27a45e
GM
7749 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7750
133a11fc
GM
7751 * files.el (toggle-read-only): Restrict message to interactive use.
7752
07b151f1
MA
77532012-07-06 Michael Albinus <michael.albinus@gmx.de>
7754
7755 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7756
7757 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7758
211b896b
GM
77592012-07-06 Glenn Morris <rgm@gnu.org>
7760
50394322
GM
7761 * Makefile.in (compile-one-process): Rename from "recompile".
7762
211b896b
GM
7763 * Makefile.in (bzr-update): "compile" is the same as "recompile
7764 autoloads", but parallelizable, so use that instead.
7765
4737eec9
DG
77662012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7767
7768 * window.el (quit-window): Always restore window height when
8137e7b3 7769 it's saved in quit-restore parameter (Bug#11810).
4737eec9 7770
226c3633 77712012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
7772
7773 * simple.el (kill-whole-line): Doc tweak.
7774
226c3633 77752012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
7776
7777 * files.el (file-relative-name): Compare file names
7778 case-insensitively if on MS-Windows or MS-DOS, or if
7779 read-file-name-completion-ignore-case is non-nil. Don't use
7780 case-fold-search for this purpose. (Bug#11827)
7781
4dc7c8d5
SM
77822012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7783
7784 * calendar/cal-dst.el (calendar-current-time-zone):
7785 Return calendar-current-time-zone-cache if non-nil.
7786
77872012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 77882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7789
19faa8e8
SM
7790 * calendar/cal-dst.el (calendar-current-time-zone):
7791 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7792
60198fc9
GM
77932012-07-06 Glenn Morris <rgm@gnu.org>
7794
7795 * Makefile.in (cvs-update): Remove old alias.
7796
957b3189
MA
77972012-07-05 Michael Albinus <michael.albinus@gmx.de>
7798
7799 Sync with Tramp 2.2.6-pre.
7800
7801 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7802 compatible declaration.
7803
19faa8e8
SM
7804 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7805 Protect `list-load-path-shadows' call.
957b3189
MA
7806
7807 * net/tramp-compat.el (top): Require packages, which aren't
7808 autoloaded anymore for XEmacs. Protect call of
7809 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7810 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7811 it hurts at least for SXEmacs.
7812 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7813 standard-value for `temporary-file-directory'.
7814
7815 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7816 Redirect stderr to /dev/null.
7817 (tramp-sh-handle-write-region): uid and gid can be floats.
7818 Reported by Russell Sim <russell.sim@gmail.com>.
7819 (tramp-sh-handle-vc-registered): Hide errors.
7820 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7821 and `start-file-process'.
7822 (tramp-maybe-open-connection): Check also whether `non-essential'
7823 is bound.
7824
566df3fc
CY
78252012-07-04 Chong Yidong <cyd@gnu.org>
7826
7827 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7828 (xml-parse-tag): Likewise, and avoid changing entity tables.
7829 (xml-syntax-table): Define from scratch, making sure not to give
7830 x2000 and other Unicode spaces whitespace syntax, since those are
7831 not spaces in XML.
7832 (xml-parse-fragment): Delete unused function.
7833 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7834 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7835 (xml-entity-ref, xml-pe-reference-re)
7836 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7837 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7838 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7839 (xml-entity-value-re): Use syntax references in regexps where
7840 possible; no need to define inside a let-binding.
7841 (xml-parse-dtd): Use xml-pe-reference-re.
7842 (xml-entity-or-char-ref-re): New defconst.
7843 (xml-parse-string, xml-substitute-special): Use it.
7844
30eabd7a
SM
78452012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7846
0781098a
SM
7847 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7848 (find-file--read-only): New function.
7849 (find-file-read-only, find-file-read-only-other-window)
7850 (find-file-read-only-other-frame): Use it.
7851 (insert-file-contents-literally): Don't `fset'.
7852 (get-free-disk-space): Use locate-dominating-file.
7853
b5771c0d
SM
7854 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7855 function is already compiled.
7856
30eabd7a
SM
7857 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7858
b4886f6e
MA
78592012-07-03 Michael Albinus <michael.albinus@gmx.de>
7860
7861 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7862 files on the same host.
7863
b9d82339
AS
78642012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7865
7866 * help-fns.el (describe-function-1): Only call
7867 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7868
a76e6535
CY
78692012-07-03 Chong Yidong <cyd@gnu.org>
7870
7871 * xml.el: Protect parser against XML bombs.
7872 (xml-entity-expansion-limit): New variable.
7873 (xml-parse-string, xml-substitute-special): Use it.
7874 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7875
b544fef2
GM
78762012-07-03 Glenn Morris <rgm@gnu.org>
7877
7878 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7879 Allow linking to specific messages in debbugs reports (eg 123#5).
7880
a7aef6f5
CY
78812012-07-02 Chong Yidong <cyd@gnu.org>
7882
7883 * xml.el: Fix entity and character reference expansion, allowing
7884 them to expand into markup as per XML spec.
7885 (xml-default-ns): New variable.
7886 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
7887 (xml-parse-region): Make first two arguments optional.
7888 Discard text properties.
7889 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7890 All callers changed.
a7aef6f5
CY
7891 (xml-parse-tag): Call xml-parse-tag-1. For backward
7892 compatibility, this function should not modify buffer contents.
7893 (xml-parse-tag-1): Fix opening-tag regexp.
7894 (xml-parse-string): Rewrite, handling entity and character
7895 references properly.
7896 (xml--entity-replacement-text): Signal an error if a parameter
7897 entity is undefined.
7898
3df31c9f
SM
78992012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7900
2b5208f1
SM
7901 * comint.el (comint-output-filter): Filter out repeated prompts.
7902
3df31c9f
SM
7903 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7904 and file-name-absolute-p.
7905 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7906 internal calls.
7907
e3ac1281
PE
79082012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7909
7910 Spelling fixes.
7911 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7912 Rename from byte-compile--refiy-function. All uses changed.
7913
fbf2e7ad
CY
79142012-07-01 Chong Yidong <cyd@gnu.org>
7915
7916 * xml.el (xml--parse-buffer): New function. Move most of
7917 xml-parse-region here.
7918 (xml-parse-region): Copy region into a temporary buffer, since
7919 parameter entity substitution requires changing buffer contents.
7920 Use xml--parse-buffer.
7921 (xml-parse-file): Use xml--parse-buffer.
7922 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 7923 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 7924
9bf0aa15
GM
79252012-06-30 Glenn Morris <rgm@gnu.org>
7926
bbce2853
GM
7927 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7928
9bf0aa15
GM
7929 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7930 Remove outdated and unnecessary dbus declarations.
7931
0d23c240
EZ
79322012-06-30 Eli Zaretskii <eliz@gnu.org>
7933
7934 * emacs-lisp/timer.el (timer-until): Subtract results of
7935 float-time, instead of taking float-time of the result of
7936 time-subtract, since float-time signals an error for negative time
7937 arguments.
7938
b3218de1
CY
79392012-06-30 Chong Yidong <cyd@gnu.org>
7940
7941 * xml.el (xml-*-re): Convert defvars into defconsts, and
7942 eval-and-compile them so eval-and-compile works on derivatives.
7943 (xml--entity-replacement-text): Use eval-and-comple.
7944
a40c87a0
MA
79452012-06-30 Michael Albinus <michael.albinus@gmx.de>
7946
7947 * vc/vc-git.el (vc-git-registered): Use cache property
7948 `git-registered'.
7949 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7950 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 7951 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 7952
ac87de97
DG
79532012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7954
7955 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 7956 removed (likely outside Emacs). (Bug#11757)
ac87de97 7957
ac10fe06
SM
79582012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7959
3df31c9f 7960 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 7961
7f3fbd5d
CY
79622012-06-30 Chong Yidong <cyd@gnu.org>
7963
7964 * xml.el: Implement XML parameter entities.
7965 (xml-parameter-entity-alist): New variable.
7966 (xml-parse-region, xml-parse-fragment): Preserve previous values
7967 of xml-entity-alist and xml-parameter-entity-alist, so that
7968 repeated calls on different documents do not change them.
7969 (xml-parse-tag): Fix doctype regexp.
7970 (xml--entity-replacement-text): New function.
7971 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7972 properly requires url retrieval which is unimplemented.
7973 (xml-escape-string): Doc fix.
7974
3cfbebba
SM
79752012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7978
2af3565e
DA
79792012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7980
7981 * fringe.el (fringe-mode): Doc fix.
7982
929df0e7
MA
79832012-06-29 Michael Albinus <michael.albinus@gmx.de>
7984
7985 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7986 is non-nil.
7987 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7988 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7989
c8d3a25c 79902012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 7991
c8d3a25c
GM
7992 * calendar/cal-dst.el (calendar-current-time-zone):
7993 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 7994
c8d3a25c 79952012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
7996
7997 * progmodes/which-func.el (which-func-format):
7998 Add mouse-face. (Bug#11698)
7999
c8d3a25c
GM
80002012-06-29 Leo Liu <sdl.web@gmail.com>
8001
8002 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8003
80042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * minibuffer.el (minibuffer-confirm-exit-commands):
8007 Add completion-at-point (bug#11725).
8008
80092012-06-29 Glenn Morris <rgm@gnu.org>
8010
8011 * progmodes/f90.el (f90-font-lock-keywords-2):
8012 Add some preprocessor elements. (Bug#10499)
8013
80142012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8017 Use syntax-propertize (bug#11739).
8018
2badeec4
JB
80192012-06-28 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8022
ae4969c2
JD
80232012-06-28 Julien Danjou <julien@danjou.info>
8024
8025 * term.el (term-handle-colors-array): Use a set of new faces to
8026 color the terminal. Also uses :inverse-video property.
8027 (term-default-fg-color): Set to nil by default, deprecate in favor
8028 of `term-face'.
8029 (term-default-bg-color): Set to nil by default, deprecate in favor
8030 of `term-face'.
8031 (term-current-face): Use `term-face' by default.
8032 (term-bold-attribute): Variable deleted.
8033
1c9bd870
GM
80342012-06-28 Glenn Morris <rgm@gnu.org>
8035
8036 * simple.el (completion-list-mode-finish):
8037 Don't use toggle-read-only. (Since completion-list-mode has
8038 a special mode-class, it wasn't doing anything extra anyway.)
8039
c207708c
SM
80402012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 Make inlining of other-mode interpreted functions work (bug#11799).
8043 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8044 (byte-compile): Use it to fix compilation of lexical-binding closures.
8045 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8046 function, if needed.
8047
3fd56834
SM
80482012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8049
04901786
SM
8050 * help-mode.el (help-make-xrefs): Don't just withstand
8051 cyclic-variable-indirection but any error in documentation-property.
8052
1ec4b7b2
SM
8053 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8054 memory use.
8055 * bindings.el (bindings--define-key): New function.
8056 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8057 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8058 * bindings.el: Use it to purecopy define-key bindings.
8059
e309e2a5
SM
8060 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8061
d5c6faf9
SM
8062 * emacs-lisp/cl.el (flet): Mark obsolete.
8063 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8064 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8065 * progmodes/js.el (js-c-fill-paragraph):
8066 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8067 (ebrowse-switch-member-buffer-to-derived-class):
8068 * play/5x5.el (5x5-solver): Use cl-flet.
8069
6e9590e2
SM
8070 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8071 (cl--symbol-function): New macro.
8072 (cl--letf, cl--letf*): Use it.
8073
3fd56834
SM
8074 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8075 Strip "toggle-" if any.
8076
35ff222c
GM
80772012-06-27 Glenn Morris <rgm@gnu.org>
8078
1ba6038a
GM
8079 * info.el (Info-default-directory-list): Move here from paths.el.
8080 * paths.el: Remove file, which is now empty.
8081 * loadup.el: No longer load "paths".
8082
0ea0e51b
GM
8083 * custom.el (custom-initialize-delay): Doc fix.
8084
35ff222c
GM
8085 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8086 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8087 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8088 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8089 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8090 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8091 * eshell/eshell.el (eshell-defgroup): Remove alias.
8092
c89926a5
CY
80932012-06-27 Chong Yidong <cyd@gnu.org>
8094
8095 * help.el (help-enable-auto-load): New variable.
8096
8097 * help-fns.el (help-fns--autoloaded-p): New function.
8098 (describe-function-1): Refer to a function as "autoloaded" if it
8099 was autoloaded at any time in the past. Perform autoloading if
8100 help-enable-auto-load is non-nil.
8101
cc06e7e7
EZ
81022012-06-26 Eli Zaretskii <eliz@gnu.org>
8103
8104 * makefile.w32-in (compile, compile-always): Depend on
8105 update-subdirs, not on subdirs.el. Otherwise, several different
8106 sub-targets of 'bootstrap' running in parallel could
8107 simultaneously write to subdirs.el, producing a garbled file.
8108
d2c32364
SS
81092012-06-26 Sam Steingold <sds@gnu.org>
8110
8111 * files.el (file-name-base): New convenience function.
0d14cc21
GM
8112 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8113 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8114 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8115 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8116 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
8117 * textmodes/tex-mode.el: Use it.
8118 Did not touch cedet and org because they are maintained elsewhere.
8119
5cf983b2
MR
81202012-06-26 Martin Rudalics <rudalics@gmx.at>
8121
8122 * calendar/calendar.el (calendar-exit): Don't try to delete or
8123 iconify last frame. See:
8124 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8125
8c4f2952
JD
81262012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8127
8128 * server.el (server-process-filter): Remember dir in the
8129 process's `server-client-directory' properties.
8130
772b2e2c
CY
81312012-06-24 Chong Yidong <cyd@gnu.org>
8132
8133 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8134 non-tag text.
8135
711b11e1
JB
81362012-06-23 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8139
dc5d230c
SM
81402012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * help-fns.el (describe-variable): Don't croak when doc is not found.
8143 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8144 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8145 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8146 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8147 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8148 ((lambda ..) ..).
8149 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8150
136e1c1d
CY
81512012-06-23 Chong Yidong <cyd@gnu.org>
8152
e8c1cabf
CY
8153 * info.el (Info-mouse-follow-link): Accept symbol values of
8154 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
8155 (Info-fontify-node): Use Info-link-keymap for all navigation
8156 buttons, with link-args property to perform the desired action.
8157 (Info-link-keymap): Doc fix.
8158 (Info-next-link-keymap, Info-prev-link-keymap)
8159 (Info-up-link-keymap): Delete now-unused keymaps.
8160
0e9e6c6a
CY
81612012-06-23 Chong Yidong <cyd@gnu.org>
8162
05e89fea
CY
8163 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8164
0e9e6c6a
CY
8165 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8166 system abbrevs.
8167
8168 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8169
e33c6771
SM
81702012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8171
b68581e2
SM
8172 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8173 (bug#11719).
8174
e33c6771
SM
8175 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8176 the requote function doesn't work properly (bug#11714).
8177
7117e105
GM
81782012-06-23 Glenn Morris <rgm@gnu.org>
8179
8180 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8181
36cec983
SM
81822012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 Further GV/CL cleanups.
8185 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8186 gv-expander.
8187 (gv--defun-declaration): New function.
8188 (defun-declarations-alist): Use it.
8189 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8190 (gv-place): Autoload.
8191 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8192 original definition of dotimes and dolist.
8193 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8194 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8195 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8196 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8197 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8198 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8199 to the function's definition.
8200 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8201 * window.el:
8202 * files.el:
8203 * faces.el:
8204 * env.el: Don't use CL.
8205
d35af63c
PE
82062012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8207
8208 Support higher-resolution time stamps (Bug#9000).
8209
8210 * calendar/time-date.el (with-decoded-time-value): New arg
8211 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8212 (encode-time-value): New optional arg PICO. New type 3.
8213 (time-to-seconds) [!float-time]: Support the new picoseconds
8214 component if it's used.
8215 (seconds-to-time, time-subtract, time-add):
8216 Support ps-resolution time stamps as well.
8217
8218 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8219 (timerp): Timer vectors now have length 9, not 8.
8220 (timer--time): Support new-style (4-part) time stamps.
8221 (timer-next-integral-multiple-of-time): Time stamps now have
8222 picosecond resolution, so take a bit more care about rounding.
8223 (timer-relative-time, timer-inc-time): New optional arg psecs.
8224 (timer-set-time-with-usecs): Set psecs to 0.
8225 (timer--activate): Check psecs component, too.
8226
8227 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8228
ac77b21a
SM
82292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8230
f143bfe3
SM
8231 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8232 Move the non-essential binding to the post/pre-command-hook where it is
8233 more obviously correct.
8234
ac77b21a
SM
8235 * subr.el (read-passwd): Don't use a history at all.
8236 * savehist.el (savehist-save): Remove password saved accidentally
8237 because of the above bug.
8238
76386c5a
BG
82392012-06-22 Bastien Guerry <bzg@gnu.org>
8240
8241 * files.el (toggle-read-only): Display a message telling whether
8242 the buffer is read-only or not (bug#11726).
8243
2ee3d7f0
SM
82442012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * emacs-lisp/gv.el: New file.
8247 * subr.el (push, pop): Extend to generalized variables.
8248 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8249 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8250 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8251 gv-define-simple-setter, and gv-define-expander.
8252 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8253 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8254 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8255 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8256 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8257 gv-letplace.
8258 (cl-defstruct): Don't define setf-method any more.
8259 * emacs-lisp/cl.el (flet): Don't autoload.
8260 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8261 (define-setf-expander, defsetf, define-modify-macro)
8262 (cl-struct-setf-expander): Move from cl-lib.el.
8263 * emacs-lisp/syntax.el:
8264 * emacs-lisp/ewoc.el:
8265 * emacs-lisp/smie.el:
8266 * emacs-lisp/cconv.el:
8267 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8268 (timer--time): Use gv-define-simple-setter.
8269 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8270 to avoid coding-system problems in subr.el. Adjust all users.
8271 (macroexp--maxsize, macroexp-small-p): New functions.
8272 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8273 * scroll-bar.el (scroll-bar-mode):
8274 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8275 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8276 * winner.el (winner-configuration, winner-make-point-alist)
8277 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8278 * files.el (locate-file-completion-table): Avoid list*.
8279
c5695d1d
CY
82802012-06-22 Chong Yidong <cyd@gnu.org>
8281
8282 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8283 (dired-create-files): Doc fix (Bug#11329).
8284 (dired-do-copy): Doc fix (Bug#11334).
8285 (dired-mark-read-string): Doc fix (Bug#11553).
8286
2ee3d7f0
SM
8287 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8288 Doc fix (Bug#11326).
c5695d1d
CY
8289 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8290 (dired-dwim-target): Doc fix.
8291
8292 * wdired.el (wdired-mode): Doc fix.
8293
89b5595a
GM
82942012-06-22 Glenn Morris <rgm@gnu.org>
8295
575db3f1
GM
8296 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8297 (pcmpl-rpm-cache-stamp-file): New constant.
8298 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8299 (pcmpl-rpm-packages): Optionally cache list of packages.
8300
a4c8dd51
GM
8301 * pcmpl-rpm.el (pcmpl-rpm): New group.
8302 (pcmpl-rpm-query-options): New option.
8303 (pcmpl-rpm-packages): No need to inline it.
8304 Use pcmpl-rpm-query-options.
8305
89b5595a
GM
8306 * calendar/calendar.el (calendar-in-read-only-buffer):
8307 Avoid some needless mode changes.
8308
e76f0800
CY
83092012-06-21 Chong Yidong <cyd@gnu.org>
8310
8311 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8312 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 8313 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 8314
297a8f1d
CY
83152012-06-20 Chong Yidong <cyd@gnu.org>
8316
8317 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
8318
d34c18b1
DR
83192012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
8320
8321 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
8322 (bug#11201).
8323
32f7f28e
CY
83242012-06-20 Chong Yidong <cyd@gnu.org>
8325
8326 * term.el (term-window-width): Handle the case of a missing right
8327 fringe (Bug#8837).
8328 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
8329 (term-mode): Use define-derived-mode. Minor cleanups.
8330 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
8331 (term-move-columns, term-insert-char, term-emulate-terminal)
8332 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 8333
493c6688
MA
83342012-06-20 Michael Albinus <michael.albinus@gmx.de>
8335
d34c18b1
DR
8336 * net/ange-ftp.el (ange-ftp-get-passwd):
8337 Bind `enable-recursive-minibuffers'.
493c6688
MA
8338 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
8339
3f06ecf4
DR
83402012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
8341
8342 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
8343
68f12411
GM
83442012-06-19 Glenn Morris <rgm@gnu.org>
8345
8346 * progmodes/python.el (python-mode): Derive from prog-mode.
8347
b3820318
KG
83482012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
8349
8350 * emulation/edt.el (edt-default-menu-bar-update-buffers)
8351 (edt-user-menu-bar-update-buffers): New functions.
8352 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
8353
c6bf3022
CY
83542012-06-19 Chong Yidong <cyd@gnu.org>
8355
8356 * subr.el (with-selected-window): Preserve the selected window's
8357 terminal's top-frame (Bug#4702).
8358
8359 * window.el (save-selected-window): Likewise.
8360
25f09295
SM
83612012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * progmodes/python.el (python-rx-constituents): Move backquote.
8364 (python-skeleton-define, python-define-auxiliary-skeleton):
8365 Use `declare'.
8366
6b11952a
MA
83672012-06-18 Michael Albinus <michael.albinus@gmx.de>
8368
8369 * minibuffer.el (read-file-name-default): Revert the patch from
8370 2012-06-17.
8371
ee4b1330
SM
83722012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
8375 (pcase--u1, pcase--q1): Don't use apply-partially.
8376
35647f79
GM
83772012-06-18 Glenn Morris <rgm@gnu.org>
8378
8379 * progmodes/python.el (python-proc, python-buffer)
8380 (python-send-receive, python-send-string): Fix obsolete versions.
8381
24b0cff0
MR
83822012-06-18 Martin Rudalics <rudalics@gmx.at>
8383
8384 * window.el (special-display-p): Completely remove stringp
8385 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
8386
29855149
MA
83872012-06-17 Michael Albinus <michael.albinus@gmx.de>
8388
8389 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
8390
8391 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
8392
8393 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
8394 * net/tramp-sh.el (tramp-maybe-open-connection):
8395 Throw if `non-essential' is non-nil.
8396
07463363
MR
83972012-06-17 Martin Rudalics <rudalics@gmx.at>
8398
8399 * window.el (special-display-p): Signal an error if BUFFER-NAME
8400 is not a string (Bug#11713).
8401
48d1354e
PE
84022012-06-17 Paul Eggert <eggert@cs.ucla.edu>
8403
8404 * progmodes/python.el (python-info-beginning-of-backslash):
8405 Rename from python-info-beginning-of-backlash, as a spelling fix.
8406
eb4a8a9a
CY
84072012-06-17 Chong Yidong <cyd@gnu.org>
8408
8409 * term.el (term-emulate-terminal): If term-check-size is called,
8410 move point to the process mark without resetting point (Bug#4635).
8411
ddfbf826 84122012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
8413
8414 * international/mule-cmds.el (mule-menu-keymap)
8415 (set-language-environment, set-locale-environment): Doc tweaks.
8416
9b0e3eba
AA
84172012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
8418
8419 * cus-face.el (custom-face-attributes): Add wave-style underline
8420 attribute.
8421 * faces.el (set-face-attribute): Update docstring to describe
8422 wave-style underline attribute.
8423
771e3eae
CY
84242012-06-16 Chong Yidong <cyd@gnu.org>
8425
8426 * term/xterm.el (terminal-init-xterm): Discard input before
8427 querying background mode (Bug#10959).
8428
7ae2ea10
SM
84292012-06-16 Stefan Merten <smerten@oekonux.de>
8430
8431 * textmodes/rst.el: Added and corrected some comments.
8432 (rst-re-alist-def): Improve symbol syntax.
8433 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
8434 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8435 (rst-official-version, rst-official-cvs-rev): Update version
8436 information.
7ae2ea10 8437
b6974efa
JB
84382012-06-15 Juanma Barranquero <lekktu@gmail.com>
8439
8440 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
8441 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
8442
8826d473
GM
84432012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
8444
8445 * progmodes/python.el: New python.el merge.
8446 (python-guess-indent): Obsolete var.
8447 (python-indent-guess-indent-offset): New defcustom.
8448 (python-indent): Obsolete var.
8449 (python-indent-offset): New defcustom.
8450 (python-python-command, python-jython-command): Delete var.
8451 (python-shell-interpreter): New defcustom.
8452 (python-pdbtrack-do-tracking-p): Delete var.
8453 (python-pdbtrack-activate): New defcustom.
8454 (python-use-skeletons): Obsolete var.
8455 (python-skeleton-autoinsert): New defcustom.
8456 (inferior-python-filter-regexp, python-continuation-offset)
8457 (python-honour-comment-indentation, python-indent-string-contents)
8458 (python-jython-packages, python-mode-hook)
8459 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
8460 (python-shell-prompt-alist)
8461 (python-source-modes): Delete defcustoms.
8462 (python-check-buffer-name, python-eldoc-setup-code)
8463 (python-eldoc-string-code, python-ffap-setup-code)
8464 (python-ffap-string-code, python-fill-comment-function)
8465 (python-fill-decorator-function, python-fill-paren-function)
8466 (python-fill-string-function, python-imenu-include-defun-type)
8467 (python-imenu-make-tree, python-imenu-subtree-root-label)
8468 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
8469 (python-shell-compilation-regexp-alist)
8470 (python-shell-completion-module-string-code)
8471 (python-shell-completion-pdb-string-code)
8472 (python-shell-completion-setup-code)
8473 (python-shell-completion-string-code)
8474 (python-shell-enable-font-lock, python-shell-exec-path)
8475 (python-shell-extra-pythonpaths)
8476 (python-shell-internal-buffer-name, python-shell-interpreter-args)
8477 (python-shell-process-environment)
8478 (python-shell-prompt-block-regexp)
8479 (python-shell-prompt-output-regexp)
8480 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
8481 (python-shell-send-setup-max-wait, python-shell-setup-codes)
8482 (python-shell-virtualenv-path): New defcustoms.
8483 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
8484 (inferior-python-mode-syntax-table, python--prompt-regexp)
8485 (python-buffer, python-command python-python-command)
8486 (python-default-template, python-imports, python-indent-index)
8487 (python-indent-list, python-indent-list-length)
8488 (python-mode-running, python-pdbtrack-is-tracking-p)
8489 (python-preoutput-continuation, python-preoutput-leftover)
8490 (python-preoutput-result, python-preoutput-skip-next-prompt)
8491 (python-prev-dir/file, python-recursing)
8492 (python-saved-check-command, python-version-checked)
8493 (python-which-func-length-limit)
8494 (view-return-to-alist): Delete vars.
8495 (python-check-custom-command, python-dotty-syntax-table)
8496 (python-imenu-index-alist, python-indent-current-level)
8497 (python-indent-dedenters, python-indent-levels)
8498 (python-nav-beginning-of-defun-regexp)
8499 (python-nav-list-defun-positions-cache)
8500 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
8501 (python-shell-internal-buffer)
8502 (python-skeleton-available): New vars.
8503 (def-python-skeleton): Delete macro.
8504 (python-skeleton-define): New macro.
8505 (python-define-auxiliary-skeleton, python-rx): New macros.
8506 (python-insert-class): Delete command.
8507 (python-skeleton-class): New command.
8508 (python-insert-def): Delete command.
8509 (python-skeleton-def): New command.
8510 (python-insert-for): Delete command.
8511 (python-skeleton-for): New command.
8512 (python-insert-if): Delete command.
8513 (python-skeleton-if): New command.
8514 (python-insert-try/except, python-insert-try/finally): Delete commands.
8515 (python-skeleton-try): New command.
8516 (python-insert-while): Delete command.
8517 (python-skeleton-while): New command.
8518 (python-backspace): Delete command.
8519 (python-indent-dedent-line-backspace): New command.
8520 (python-electric-colon): Delete command.
8521 (python-indent-electric-colon): New command.
8522 (python-guess-indent): Delete command.
8523 (python-indent-guess-indent-offset): New command.
8524 (python-shift-left): Delete command.
8525 (python-indent-shift-left): New command.
8526 (python-shift-right): Delete command.
8527 (python-indent-shift-right): New command.
8528 (python-find-function): Delete command.
8529 (python-nav-jump-to-defun): New command.
8530 (python-next-statement): Delete command.
8531 (python-nav-forward-sentence): New command.
8532 (python-previous-statement): Delete command.
8533 (python-nav-backward-sentence): New command.
8534 (python-fill-paragraph): Delete command.
8535 (python-fill-paragraph-function): New command.
8536 (python-send-buffer): Delete command.
8537 (python-shell-send-buffer): New command.
8538 (python-send-defun): Delete command.
8539 (python-shell-send-defun): New command.
8540 (python-send-region, python-send-region-and-go): Delete commands.
8541 (python-shell-send-region)
8542 (python-shell-switch-to-shell): New commands.
8543 (python-send-string): Delete command.
8544 (python-shell-send-string): New command.
8545 (python-switch-to-python): Delete command.
8546 (python-shell-switch-to-shell): New command.
8547 (python-describe-symbol): Delete command.
8548 (python-eldoc-at-point): New command.
8549 (python--set-prompt-regexp, python-args-to-list)
8550 (python-after-info-look, python-check-version)
8551 (python-check-comint-prompt, python-find-imports)
8552 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
8553 (python-unload-function, python-expand-template)
8554 (python-maybe-jython, python-preoutput-filter)
8555 (python-pdbtrack-get-source-buffer)
8556 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
8557 (python-pdbtrack-toggle-stack-tracking)
8558 (python-pdbtrack-track-stack-file, python-initial-text)
8559 (python-first-word, python-comment-line-p, python-send-command)
8560 (python-setup-brm, python-sentinel, python-set-proc)
8561 (python-skip-out, python-input-filter, python-outdent-p)
8562 (python-outline-level, python-backslash-continuation-line-p)
8563 (python-end-of-block, python-end-of-statement, python-mark-block)
8564 (python-beginning-of-block, python-beginning-of-statement)
8565 (python-blank-line-p, python-beginning-of-string)
8566 (python-open-block-statement-p): Delete functions.
8567 (python-indent-line, python-indent-line-1): Delete functions.
8568 (python-indent-line): New function.
8569 (python-indentation-levels): Delete function.
8570 (python-indent-calculate-levels): New function.
8571 (python-proc): Delete function.
8572 (python-shell-get-process): New function.
8573 (python-send-receive): Delete function.
8574 (python-shell-send-string-no-output): New function.
8575 (python-module-path): Delete function.
8576 (python-ffap-module-path): New function.
8577 (python-completion-at-point)
8578 (python-symbol-completions): Delete functions.
8579 (python-completion-complete-at-point): New function.
8580 (python-load-file): Delete function.
8581 (python-shell-send-file): New function.
8582 (python-calculate-indentation): Delete function.
8583 (python-indent-calculate-indentation): New function.
8584 (python-skip-comments/blanks): Delete function.
8585 (python-util-forward-comment): New function.
8586 (python-continuation-line-p): Delete function.
8587 (python-info-continuation-line-p): New function.
8588 (python-which-func, python-current-defun): Delete function.
8589 (python-info-current-defun): New function.
8590 (python-beginning-of-defun): Delete function.
8591 (python-nav-beginning-of-defun): New function.
8592 (python-close-block-statement-p)
8593 (python-block-end-p): Delete function.
8594 (python-info-closing-block): New function.
8595 (python-comint-output-filter-function)
8596 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
8597 (python-fill-comment, python-fill-decorator, python-fill-paren)
8598 (python-fill-string, python-imenu-make-element-tree)
8599 (python-imenu-make-tree, python-imenu-tree-assoc)
8600 (python-indent-context, python-indent-dedent-line)
8601 (python-indent-line-function)
8602 (python-indent-post-self-insert-function)
8603 (python-indent-toggle-levels)
8604 (python-info-assignment-continuation-line-p)
8605 (python-info-beginning-of-backlash)
8606 (python-info-block-continuation-line-p)
8607 (python-info-closing-block-message)
8608 (python-info-line-ends-backslash-p)
8609 (python-info-looking-at-beginning-of-defun)
8610 (python-info-ppss-context, python-info-ppss-context-type)
8611 (python-nav-list-defun-positions, python-nav-read-defun)
8612 (python-nav-sentence-end, python-nav-sentence-start)
8613 (python-pdbtrack-comint-output-filter-function)
8614 (python-pdbtrack-set-tracked-buffer)
8615 (python-shell-calculate-exec-path)
8616 (python-shell-calculate-process-environment)
8617 (python-shell-completion--do-completion-at-point)
8618 (python-shell-completion--get-completions)
8619 (python-shell-completion-complete-at-point)
8620 (python-shell-completion-complete-or-indent)
8621 (python-shell-get-or-create-process)
8622 (python-shell-get-process-name)
8623 (python-shell-internal-get-or-create-process)
8624 (python-shell-internal-get-process-name)
8625 (python-shell-internal-send-string, python-shell-make-comint)
8626 (python-shell-parse-command, python-shell-send-setup-code)
8627 (python-skeleton-add-menu-items)
8628 (python-util-clone-local-variables, python-util-position)
8629 (run-python-internal, python-indentation-levels)
8630 (python-nav-beginning-of-defun)
8631 (python-completion-complete-at-point): New functions.
8632 (run-python): Change arguments. New API requirements.
8633
4302f5ba
SM
86342012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8635
f38ea36d
SM
8636 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8637 (bug#11649).
8638
8639 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8640 (macroexp--expand-all): Use it.
8641
4302f5ba
SM
8642 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8643 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8644 Use `cl-function' instead.
8645
33377562
JB
86462012-06-14 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8649 Suggested by Stefan Monnier while discussing bug#11657.
8650
54c5ba1a
SS
86512012-06-14 Sam Steingold <sds@gnu.org>
8652
8653 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8654
f9f1b1fe
AS
86552012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8656
8657 * play/doctor.el (doctor-doc): Remove parameter and use
8658 doctor-sent instead of sent.
8659 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8660
a81068ba
SM
86612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8662
5a315f9c
SM
8663 * files.el: Require cl-lib.
8664 (file-name-non-special): Replace case -> cl-case.
8665
8666 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8667
a81068ba
SM
8668 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8669 mapping from #' to function*.
8670
8cca9703
CY
86712012-06-13 Chong Yidong <cyd@gnu.org>
8672
8673 * mouse.el (mouse-drag-track): Do not set the mark if the user
8674 releases the mouse without selecting anything (Bug#11588).
8675
a12ac9d7
SM
86762012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8677
ccf1dc18
SM
8678 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8679 as well (bug#11646).
8680
ef62b23d
SM
8681 * loadup.el: Count byte-code functions as well.
8682
c4c8444a
SM
8683 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8684 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8685
a12ac9d7
SM
8686 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8687 (bug#11649). Add cl-defun and cl-defmacro.
8688
87e6e64f
DA
86892012-06-13 Drew Adams <drew.adams@oracle.com>
8690
8691 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8692 Fix last change.
8693
682cefaf
MA
86942012-06-13 Michael Albinus <michael.albinus@gmx.de>
8695
8696 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8697 Otherwise, it blocks in batch mode.
8698
773e1f08
JB
86992012-06-13 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * help-mode.el (bookmark-make-record-default): Declare.
8702
60057926
CY
87032012-06-13 Chong Yidong <cyd@gnu.org>
8704
8705 * emacs-lisp/package.el (list-packages): Compute a list of
8706 packages that are newly-available since the last list-packages
8707 invocation.
8708 (package-menu--new-package-list): New var.
8709 (package-menu--generate, package-menu--print-info)
8710 (package-menu--status-predicate, package-menu-mark-install):
8711 Handle new status label "new".
8712
ad4d226c
SM
87132012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8716 conversion to backquotes.
8717
f1a4e679
CY
87182012-06-12 Chong Yidong <cyd@gnu.org>
8719
8720 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8721 Rename from gud-inhibit-global-bindings.
8722
8723 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8724
8725 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8726 hook from nxml-glyph-set-hook.
8727
8728 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8729 declaration.
8730
8731 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8732
8733 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8734 Convert to defcustom.
8735
0c9e42b5
DA
87362012-06-12 Drew Adams <drew.adams@oracle.com>
8737
8738 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8739 New functions.
8740 (help-mode): Use them.
8741
09e06855
GM
87422012-06-11 Glenn Morris <rgm@gnu.org>
8743
8744 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8745 Use preprocessor face for directives.
8746 (fortran-directive-re): Doc fix.
8747
71adb94b
SM
87482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8749
2eb87922
SM
8750 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8751 conversion to backquotes (bug#11652).
8752
71adb94b
SM
8753 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8754 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8755 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8756 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8757 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8758 (cl-ninth, cl-tenth): Mark them as inlinable.
8759 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8760 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8761 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8762 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8763 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8764 (cl-list*, cl-adjoin): Don't put an autoload manually.
8765 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8766 (cl--compiler-macro-list*): Add autoload cookie.
8767 (cl--compiler-macro-cXXr): New function.
2eb87922 8768
71adb94b
SM
8769 * help-fns.el (help-fns--compiler-macro): New function extracted from
8770 describe-function-1; follow aliases and use `compiler-macro' property.
8771 (describe-function-1): Use it.
8772
a6674402
CY
87732012-06-11 Chong Yidong <cyd@gnu.org>
8774
8775 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8776 is uninstalled, if imagemagick is installed.
8777
bb3faf5b
SM
87782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * emacs-lisp/cl-lib.el: Use lexical-binding.
8781 (cl-map-extents, cl-maclisp-member): Remove.
8782 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8783 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8784 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8785 * emacs-lisp/cl-extra.el: Use lexical-binding.
8786 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8787 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8788 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8789 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8790 * emacs-lisp/cl-seq.el: Use lexical-binding.
8791 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8792 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8793 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8794 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8795 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8796 CL's internals.
8797
2fe4b125
MA
87982012-06-11 Michael Albinus <michael.albinus@gmx.de>
8799
8800 Sync with Tramp 2.2.6-pre.
8801
8802 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8803 `print-length' and `print-level' to nil, in order to avoid
8804 truncation. Reported by Christopher Schmidt
8805 <christopher@ristopher.com>.
8806
8807 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8808
8809 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8810 New defmacro.
8811 (tramp-compat-copy-directory): Add optional argument
8812 COPY-CONTENTS. It is not handled yet.
8813
8814 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8815 (tramp-ftp-file-name-p): Simplify.
8816
8817 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8818 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8819 connection vector.
8820
8821 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8822 (tramp-methods): Do not use `tramp-password-end-of-line'.
8823 (tramp-completion-function-alist-putty): Handle UNIX case.
8824 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8825 (tramp-do-file-attributes-with-stat)
8826 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8827 gid as real numbers. They could run out of integer range on cygwin.
8828 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8829 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
8830 (tramp-open-connection-setup-interactive-shell):
8831 Use `tramp-cleanup'. Move check for busyboxes ...
8832 (tramp-find-shell): ... here. Simplify implementation.
8833 Set "remote-shell" property also for alternative shells.
8834 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8835 If failing, a regular file would be written otherwise.
8836 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
8837 (tramp-find-inline-encoding): Cache the coding commands in the
8838 process cache. Apply test command on the remote side, if defined.
8839 (tramp-find-inline-compress): Cache the compress commands in the
8840 process cache.
8841 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8842 when requested. Handle hops.
8843 (tramp-current-connection): New defvar.
87e6e64f
DA
8844 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8845 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 8846 Handle user interrupt. (Bug#10187)
87e6e64f
DA
8847 (tramp-get-inline-compress, tramp-get-inline-coding):
8848 Read connection properties from the process cache.
2fe4b125
MA
8849
8850 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
8851 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8852 New defconsts.
2fe4b125
MA
8853 (tramp-smb-prompt): Extend for powershell prompt.
8854 (tramp-smb-file-name-handler-alist): Add handlers for
8855 `process-file', `shell-command' and `start-file-process'.
8856 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8857 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8858 (tramp-smb-file-name-p): Simplify.
8859 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8860 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8861 (tramp-smb-shell-quote-argument): New defuns.
8862 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8863 Implement using "tar". By this, time-stamps are preserved.
8864 (tramp-smb-handle-copy-file): Handle also the case of directories.
8865 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
8866 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8867 Use `tramp-get-connection-buffer').
2fe4b125
MA
8868 (tramp-smb-handle-rename-file): Use "rename", when source and
8869 target are on the same share.
87e6e64f
DA
8870 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8871 Use `tramp-smb-server-version'.
2fe4b125
MA
8872 (tramp-smb-wait-for-output): Remove prompt.
8873
8874 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
8875 (tramp-methods, tramp-rsh-end-of-line):
8876 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
8877 (tramp-save-ad-hoc-proxies): New defcustom.
8878 (tramp-completion-function-alist): Adapt docstring.
8879 (tramp-default-password-end-of-line): Remove defcustom.
8880 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8881 (tramp-user-regexp, tramp-file-name-regexp-unified)
8882 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8883 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8884 (tramp-remote-file-name-spec-regexp): New defconst.
8885 (tramp-file-name-structure): Extend structure for hops.
8886 (tramp-get-method-parameter): Move up.
8887 (tramp-file-name-p, tramp-dissect-file-name)
8888 (with-parsed-tramp-file-name): Handle hops.
8889 (tramp-file-name-hop): New defun.
8890 (tramp-make-tramp-file-name): New optional arg HOP.
8891 (tramp-message-show-progress-reporter-message): New defvar.
8892 (tramp-with-progress-reporter): Use it. We cannot use
8893 `tramp-message-show-message' here, because this suppresses also
8894 error buffers.
8895 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
8896 `tramp-message-show-message' is nil.
8897 Use `tramp-get-connection-buffer'.
2fe4b125
MA
8898 (tramp-cleanup): New defun.
8899 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8900 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8901 an error unchanged.
8902 (tramp-completion-handle-file-name-all-completions): Handle hops.
8903 Fix an error when called from ido.
8904 (tramp-completion-dissect-file-name): Use better local variable
8905 name. Add hop to the vector.
8906 (tramp-handle-insert-file-contents): Use progress-reporter for the
8907 whole scenario.
8908 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8909 to `t'.
8910 (tramp-check-for-regexp): Simplify search.
8911 (tramp-enter-password): Remove it. Move implementation ...
8912 (tramp-action-password): ... here.
8913 (tramp-mode-string-to-int, tramp-local-host-p)
8914 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
8915 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8916 Set tramp-autoload cookie.
2fe4b125
MA
8917
8918 * net/trampver.el: Update release number.
8919
89202012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8921 Michael Albinus <michael.albinus@gmx.de>
8922
8923 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8924 (tramp-parse-group, tramp-parse-file)
8925 (tramp-parse-shostkeys-sknownhosts): New defuns.
8926 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8927 (tramp-parse-shosts-group, tramp-parse-sconfig)
8928 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8929 (tramp-parse-sknownhosts, tramp-parse-hosts)
8930 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8931 Use them.
8932 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8933 (tramp-parse-putty-group): Don't narrow.
8934 (tramp-parse-putty): Make a loop.
8935 (tramp-file-name-handler): Catch the `suppress' signal.
8936
72834e10
CY
89372012-06-11 Chong Yidong <cyd@gnu.org>
8938
8939 * image.el (imagemagick-register-types): Put the ImageMagick entry
8940 at the end of image-type-file-name-regexps.
8941
a4712e11
JB
89422012-06-11 Johan Bockgård <bojohan@gnu.org>
8943
8944 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8945 (pcase, pcase-let*, pcase-dolist): Use them.
8946
82ad98e3
SM
89472012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * emacs-lisp/pcase.el (pcase--let*): New function.
8950 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8951 (pcase--expand): Use macroexp-let².
8952
f80efb86
SM
89532012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8956 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8957 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8958 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8959 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8960 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8961
31ca4639 89622012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 8963
31ca4639
CY
8964 * mail/rmail.el (rmail-yank-current-message): Leave point at
8965 correct position. (Bug#11660)
94f0aa34 8966
31ca4639 89672012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 8968
31ca4639 8969 * allout-widgets.el: Fix code header.
9e1b8ec4 8970
31ca4639 89712012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 8972
f80efb86
SM
8973 * cus-edit.el (customize-changed-options-previous-release):
8974 Bump to 24.1.
31ca4639 8975
642b6d30
AS
89762012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8977
8978 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8979
4f5d2ba1
CY
89802012-06-09 Chong Yidong <cyd@gnu.org>
8981
8982 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8983
e75852fd
MR
89842012-06-09 Martin Rudalics <rudalics@gmx.at>
8985
8986 * window.el (special-display-popup-frame): Don't use
8987 window--display-buffer (Bug#11651).
8988
1e48e282
EZ
89892012-06-09 Eli Zaretskii <eliz@gnu.org>
8990
8a26b487
EZ
8991 Fix parallel builds: make sure loaddefs.el is not being written
8992 while Lisp files are compiled.
8993 (compile): Don't depend on 'mh-autoloads'.
8994 (compile-CMD, compile-SH): Depend on 'autoloads'.
8995 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8996
1e48e282
EZ
8997 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8998
6175e34b
CY
89992012-06-09 Chong Yidong <cyd@gnu.org>
9000
9001 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9002 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9003 Doc fixes (Bug#11225).
9004
d9857e53
SM
90052012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9008 a function if there's a clear indication that it has a compiler-macro.
9009 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9010 (macro-declarations-alist): Add arglist to declaration functions.
9011 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9012 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9013 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9014 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9015 Also add autoload to find the compiler macro.
9016 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9017 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9018 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9019 (cl--compiler-macro-get): New functions, replacing calls to
9020 cl-define-compiler-macro.
9021 (cl-typep) [compiler-macro]: Use macroexp-let².
9022
f81298f8 90232012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9024
9025 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9026 string properly, fixes Bug#11473.
9027
4b56d0fe
CY
90282012-06-08 Chong Yidong <cyd@gnu.org>
9029
9030 * faces.el (set-face-attribute): Doc fix.
9031 (modify-face): Don't use :bold and :italic.
9032 (error, warning, success): Tweak definitions.
9033
9034 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9035 (custom-modified, custom-set, custom-changed, custom-themed)
9036 (custom-saved, custom-button, custom-button-mouse)
9037 (custom-button-pressed, custom-state, custom-comment-tag)
9038 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9039 (custom-group-subtitle): Use new-style face specs.
9040 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9041 (custom-set-face, custom-changed-face, custom-saved-face)
9042 (custom-button-face, custom-button-pressed-face)
9043 (custom-documentation-face, custom-state-face)
9044 (custom-comment-face, custom-comment-tag-face)
9045 (custom-variable-tag-face, custom-variable-button-face)
9046 (custom-face-tag-face, custom-group-tag-face-1)
9047 (custom-group-tag-face): Remove obsolete face alias.
9048
9049 * epa.el (epa-validity-high, epa-validity-medium)
9050 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9051 (epa-field-name, epa-field-body):
9052 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9053 (font-lock-keyword-face, font-lock-builtin-face)
9054 (font-lock-function-name-face, font-lock-variable-name-face)
9055 (font-lock-type-face, font-lock-constant-face):
9056 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9057 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9058 * speedbar.el (speedbar-button-face, speedbar-file-face)
9059 (speedbar-directory-face, speedbar-tag-face)
9060 (speedbar-selected-face, speedbar-highlight-face)
9061 (speedbar-separator-face):
9062 * whitespace.el (whitespace-newline, whitespace-space)
9063 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9064 (whitespace-line, whitespace-space-before-tab)
9065 (whitespace-space-after-tab, whitespace-indentation)
9066 (whitespace-empty):
9067 * emulation/cua-base.el (cua-global-mark):
9068 * eshell/em-prompt.el (eshell-prompt):
9069 * net/newst-plainview.el (newsticker-new-item-face)
9070 (newsticker-old-item-face, newsticker-immortal-item-face)
9071 (newsticker-obsolete-item-face, newsticker-date-face)
9072 (newsticker-statistics-face, newsticker-default-face):
9073 * net/newst-reader.el (newsticker-feed-face)
9074 (newsticker-extra-face, newsticker-enclosure-face):
9075 * net/newst-treeview.el (newsticker-treeview-face)
9076 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9077 (newsticker-treeview-immortal-face)
9078 (newsticker-treeview-obsolete-face)
9079 (newsticker-treeview-selection-face):
9080 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9081 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9082 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9083 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9084 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9085 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9086 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9087 (mpuz-text):
9088 * progmodes/vera-mode.el (vera-font-lock-number)
9089 (vera-font-lock-function, vera-font-lock-interface):
9090 * textmodes/table.el (table-cell): Use new-style face specs, and
9091 don't use the old :bold and :italic attributes.
9092
9093 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9094 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9095 (ebrowse-member-class, ebrowse-progress): Likewise.
9096 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9097 (ebrowse-file-name-face, ebrowse-default-face)
9098 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9099 (ebrowse-progress-face): Remove obsolete faces.
9100
9101 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9102 Inherit from error and warning faces respectively.
9103
9104 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9105 Likewise.
f80efb86
SM
9106 (flyspell-incorrect-face, flyspell-duplicate-face):
9107 Remove obsolete aliases.
4b56d0fe 9108
03310646
MA
91092012-06-08 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9112 Avoid infloop.
9113
513749ee
SM
91142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * startup.el (argv, argi): Make lexically scoped.
9117 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9118 * emacs-lisp/cl-macs.el: Use lexical-binding.
9119 Rename cl-bind-* to cl--bind-*.
9120 * files.el: Don't require `cl' since it doesn't use it.
9121 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9122
595ef4ad
JB
91232012-06-08 Juanma Barranquero <lekktu@gmail.com>
9124
9125 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9126 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9127 instead of calling external sort utility.
9128 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9129
e9f66fcb
EZ
91302012-06-08 Eli Zaretskii <eliz@gnu.org>
9131
9132 * descr-text.el (describe-char): Mention how to insert the
9133 character, if the current input method doesn't support it.
9134 See the discussion in this thread for the details:
9135 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9136
3d10db47
SS
91372012-06-08 Sam Steingold <sds@gnu.org>
9138
9139 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9140 XF86Back to previous-buffer.
9141 (minibuffer-local-map): Bind them to next-history-element and
9142 previous-history-element respectively.
9143 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9144 help-go-back respectively.
9145 * info.el (Info-mode-map): Bind them to Info-history-forward and
9146 Info-history-back respectively.
9147 These are the keys next to Up on the ThinkPad keyboard.
9148
de7e2b36
SM
91492012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9152 * emacs-lisp/cl-macs.el: Provide itself.
9153 (cl--labels-convert-cache): New var.
9154 (cl--labels-convert): New function.
9155 (cl-flet, cl-labels): New implementation with new semantics, relying on
9156 lexical-binding.
9157 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9158 (cl-closure-vars, cl--function-convert-cache)
9159 (cl--function-convert): Move from cl-macs.el.
9160 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9161 rename by removing the "cl-" prefix.
9162 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9163
6fa6c4ae
SM
91642012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9167 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9168 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9169 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9170 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9171 (cl-hash-table-count): Add old compatibility aliases.
9172
9173 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9174 Use macroexpand-all-environment instead.
9175 (cl--old-macroexpand): New var.
9176 (cl--sm-macroexpand): New function.
9177 (cl-symbol-macrolet): Use it during macro expansion.
9178 (cl--function-convert-cache): New var.
9179 (cl--function-convert): New function, extracted from
9180 cl-macroexpand-all.
9181 (cl-lexical-let): Use it.
9182
9183 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9184 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9185 (cl-member): Remove old alias.
9186
9187 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9188 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9189 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9190 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9191 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9192 (cl-macroexpand-cmacs): Remove var.
9193 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9194 Use macroexpand-all instead.
9195
4dd1c416
SM
91962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9199 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9200 (macroexp-copyable-p): New functions and macros.
9201 * emacs-lisp/edebug.el (edebug-unwrap):
9202 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9203 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9204 (pcase--let*): Remove.
9205 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9206 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9207 macroexp-const-p instead.
9208 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9209
9210 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9211 instead of "cl-" for internal definitions. Use macroexp-const-p.
9212 (cl-old-bc-file-form): Remove var.
9213 (cl-const-exprs-p): Remove fun.
9214 (cl-labels, cl-macrolet): Use backquote.
9215 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9216 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9217 (cl-define-setf-expander): Rename from cl-define-setf-method.
9218 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9219
9220 * international/mule-cmds.el: Don't require CL.
9221 (view-hello-file): Don't use `letf'.
9222
ed8bd4d7
SM
92232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9224
7287f2f3
SM
9225 * tmm.el (tmm-prompt): Use string-prefix-p.
9226 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9227 (tmm-add-prompt): Use minibuffer-completion-help.
9228 (tmm-delete-map): Remove.
9229
ed8bd4d7
SM
9230 * subr.el (kbd): Make it its own function.
9231
7b4cdbf4
SM
92322012-06-07 Stefan Merten <smerten@oekonux.de>
9233
9234 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9235 Silence compiler warnings. Fix versions.
ed8bd4d7 9236 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 9237 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 9238 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
9239 (rst-package-emacs-version-alist): Correct Emacs version to
9240 represent major merge with upstream.
ed8bd4d7 9241 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 9242
2b48d721
GM
92432012-06-06 Glenn Morris <rgm@gnu.org>
9244
9245 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9246 Only print environment variables if set.
9247
fa779ab0
SM
92482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9251 (macroexp--cons): Rename from maybe-cons.
9252 (macroexp--accumulate): Rename from macroexp-accumulate.
9253 (macroexp--all-forms): Rename from macroexpand-all-forms.
9254 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9255 (macroexp--expand-all): Rename from macroexpand-all-1.
9256
628299e0
SS
92572012-06-06 Sam Steingold <sds@gnu.org>
9258
9259 * calendar/calendar.el (calendar-in-read-only-buffer):
9260 Call `special-mode' to enable the standard read-only keybindings.
9261
b7bb5838
SM
92622012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9263
9264 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9265 with "loading" messages (bug#11635).
9266
dfb308ba
MA
92672012-06-06 Michael Albinus <michael.albinus@gmx.de>
9268
9269 * files.el (enable-remote-dir-locals): New option.
9270 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9271
0372ee92
MA
9272 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9273 Ensure, that the temp directory is local.
9274
9275 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9276 `temporary-file-directory'.
9277
eed0bb91
MA
9278 * progmodes/python.el (python-send-region): Ensure, that the
9279 temporary file is created also in the remote case.
9280
7a58f64d
GM
92812012-06-06 Glenn Morris <rgm@gnu.org>
9282
f7dd4e98
GM
9283 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9284 (vc-rcs-update-changelog): Use it.
9285
090bd7cb 9286 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 9287
7a58f64d
GM
9288 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9289 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9290 (vc-sccs-diff): Replace use of the external vcdiff script.
9291
daed4003
GM
92922012-06-05 Glenn Morris <rgm@gnu.org>
9293
9294 * ledit.el: Move to obsolete/.
9295
48c455c7
SS
92962012-06-05 Sam Steingold <sds@gnu.org>
9297
ed9265fc 9298 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
9299 patch (Bug#11140).
9300
57a7d507
SM
93012012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9302
090bd7cb 9303 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 9304
53aacf21
SM
9305 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9306 compiler-macro expansion.
9307
57a7d507
SM
9308 Add native compiler-macro support.
9309 * emacs-lisp/macroexp.el (macroexpand-all-1):
9310 Support compiler-macros directly. Properly follow aliases and apply
9311 the compiler macros more thoroughly.
9312 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9313 macroexpand now properly follows aliases.
9314 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9315 (cl-compiler-macroexpand): Use new prop.
9316 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
9317
9318 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
9319
51a5f9d8
MR
93202012-06-05 Martin Rudalics <rudalics@gmx.at>
9321
9322 * window.el (get-lru-window, get-mru-window, get-largest-window):
9323 New argument NOT-SELECTED to avoid picking the selected window.
9324 (window--display-buffer-1, window--display-buffer-2): Replace by
9325 new function window--display-buffer
9326 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
9327 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9328 Use window--display-buffer.
51a5f9d8
MR
9329 (display-buffer-use-some-window): Remove temporary dedication
9330 hack by calling get-lru-window and get-largest-window with
9331 NOT-SELECTED argument non-nil. Call window--display-buffer.
9332
08f9f738
GM
93332012-06-05 Glenn Morris <rgm@gnu.org>
9334
9335 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
9336 Replace external vcdiff script.
9337
e364a2b7
SM
93382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
9341
041df390
CY
93422012-06-04 Chong Yidong <cyd@gnu.org>
9343
e364a2b7
SM
9344 * image.el (imagemagick-types-inhibit): Revert last change.
9345 Add INFO and M.
47b36b94 9346 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 9347
7c1898a7
SM
93482012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9349
9350 * emacs-lisp/cl-lib.el: Rename from cl.el.
9351 * emacs-lisp/cl.el: New compatibility file.
9352 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
9353 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
9354 to obey the "cl-" prefix.
9355 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
9356
0c3461de
GM
93572012-06-03 Glenn Morris <rgm@gnu.org>
9358
1e266c88
GM
9359 * emacs-lisp/authors.el (authors-aliases): Addition.
9360
0c3461de
GM
9361 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
9362 Fix :version.
9363
d8a52e15
SM
93642012-06-03 Stefan Merten <smerten@oekonux.de>
9365
9366 * textmodes/rst.el: Add comments.
9367 (rst-transition, rst-adornment): New faces.
9368 (rst-adornment-faces-alist): Make default safe to reevaluate.
9369 Fixes
9370 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
9371 Improve customization tags.
9372 (rst-define-level-faces): Clarify meaning.
9373
5205d6f6
CY
93742012-06-03 Chong Yidong <cyd@gnu.org>
9375
9376 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
9377 (compilation-mode-line-run, compilation-mode-line-exit):
9378 New faces.
5205d6f6
CY
9379 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
9380
757ee657
JD
93812012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
9382
7c1898a7
SM
9383 * progmodes/which-func.el (which-func-update-ediff-windows):
9384 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 9385
5f2c76c6
CY
93862012-06-03 Chong Yidong <cyd@gnu.org>
9387
9388 * bindings.el: Remove explicit help text from format-mode-line.
9389 It is now supplied by mode-line-default-help-echo.
9390 (mode-line-front-space, mode-line-end-spaces)
9391 (mode-line-misc-info): New variables.
9392 (mode-line-modes, mode-line-position): Move the default value to
9393 the variable definition.
9394 (mode-line-default-help-echo): New defcustom.
383f7350
CY
9395 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
9396 (mode-line-modified-help-echo): New functions.
9397 (mode-line-mule-info, mode-line-modified): Use them.
9398 (mode-line-eol-desc, propertized-buffer-identification):
9399 Consistency fixes for help text.
cbe46e5f
CY
9400 (mode-line-coding-system-map): Allow using mouse-3 to invoke
9401 set-buffer-file-coding-system (Bug#289).
9402 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 9403
f2d6a3df
SM
94042012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * simple.el (execute-extended-command): Set real-this-command
9407 (bug#11506).
9408
37269466
CY
94092012-06-02 Chong Yidong <cyd@gnu.org>
9410
9411 Remove incorrect uses of "modeline" in comments, docstrings, and
9412 function/variable names (Bug#10329).
9413
9414 * cus-edit.el (mode-line):
9415 * dframe.el (dframe-mouse-hscroll):
9416 * emacs-lisp/re-builder.el:
9417 * emacs-lisp/easy-mmode.el (define-minor-mode):
9418 * frame.el (set-frame-name):
9419 * help.el (lookup-minor-mode-from-indicator):
9420 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
9421 * progmodes/cc-cmds.el (c-toggle-auto-newline)
9422 (c-toggle-hungry-state):
9423 * progmodes/antlr-mode.el (antlr-language-alist):
9424 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
9425 * progmodes/vhdl-mode.el (vhdl-mode):
9426 * progmodes/which-func.el (which-func, which-func-cleanup-function):
9427 * term/ns-win.el (ns-face-at-pos):
9428 * term/sup-mouse.el (sup-mouse-report):
9429 * textmodes/flyspell.el (flyspell-mode-line-string):
9430 * textmodes/ispell.el (ispell-highlight-face):
9431 * textmodes/reftex-global.el:
9432 * vc/vc-arch.el (vc-arch-mode-line-string):
9433 * vc/vc-cvs.el (vc-cvs-mode-line-string):
9434 * vc/vc-git.el (vc-git-mode-line-string):
9435 * vc/vc-hooks.el (vc-display-status)
9436 (vc-default-mode-line-string):
9437 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
9438
9439 * ansi-color.el (ansi-color-faces-vector): Change default faces.
9440
9441 * dired.el (dired-sort-set-mode-line): Rename from
9442 dired-sort-set-modeline. All callers changed.
9443
9444 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
9445 eshell-status-in-modeline.
9446
9447 * foldout.el (foldout-mode-line-string): Rename from
9448 foldout-modeline-string. All callers changed.
9449 (foldout-update-mode-line): Rename from foldout-update-modeline.
9450
9451 * subr.el (redraw-modeline): Make into obsolete alias.
9452
9453 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
9454 timeclock-modeline-display. Make old name an alias.
9455 (timeclock-update-mode-line): Likewise. All callers changed.
9456 (timeclock-mode-line-display): No need to check before using
9457 add-hook.
9458 (timeclock-relative, timeclock-day-over-hook)
9459 (timeclock-use-elapsed, timeclock-mode-string)
9460 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
9461
9462 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
9463 crisp-mode-modeline-string.
9464
9465 * play/solitaire.el (solitaire-build-mode-line): Rename from
9466 solitaire-build-modeline. All callers changed.
9467
9468 * play/zone.el (zone-hiding-mode-line): Rename from
9469 zone-hiding-modeline. All callers changed.
9470 (zone): Remove unusued `modeline-hidden-level' property.
9471
9472 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
9473 xscheme-modeline-initialize. All callers changed.
9474
9475 * strokes.el (strokes-lighter): Rename from
9476 strokes-modeline-string.
9477
9478 * textmodes/sgml-mode.el (html-face-tag-alist)
9479 (html-tag-face-alist): Use mode-line face instead of obsolete
9480 alias modeline.
9481
42152ee4
SM
94822012-06-02 Stefan Merten <smerten@oekonux.de>
9483
9484 * textmodes/rst.el: Always require `cl'.
4cf9b38d 9485 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 9486
95f520b5
CY
94872012-06-02 Chong Yidong <cyd@gnu.org>
9488
9489 * image.el (imagemagick-enabled-types): Rename from
9490 imagemagick-types-enable. Add many more types.
9491 (imagemagick-types-inhibit): Change default to nil.
9492 (imagemagick-filter-types): Caller changed.
9493
4a5f187a
SM
94942012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9495
03fef3e6
SM
9496 * emacs-lisp/cl-macs.el: Use backquotes.
9497 (cl-transform-function-property): Use eval-and-compile rather than
9498 abusing `require'.
9499 (defstruct): Use declare-function instead of with-no-warnings.
9500
4a5f187a
SM
9501 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
9502 (byte-compile-output-docform): Re-add the print-circle bindings.
9503 (byte-compile-fix-header): Use #$ just because it's shorter.
9504 (byte-compile-output-file-form): Remove defun/defmacro.
9505
bd56924f
MR
95062012-06-01 Martin Rudalics <rudalics@gmx.at>
9507
9508 * simple.el (choose-completion): Remove now obsolete binding for
9509 owindow.
9510
046e38ce
MA
95112012-06-01 Michael Albinus <michael.albinus@gmx.de>
9512
9513 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
9514 in order to avoid "Stack overflow in regexp matcher".
9515
32d72c2f
GM
95162012-05-31 Glenn Morris <rgm@gnu.org>
9517
9518 * image.el: For clarity, call imagemagick-register-types at
9519 top-level, rather than relying on a custom :initialize.
9520 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
9521 (imagemagick-filter-types): New function. (Bug#7406)
9522 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
9523 If disabling support, remove elements altogether rather
9524 than using an impossible regexp.
9525 (imagemagick-types-inhibit): Give it the default init function.
9526
dd41169b
SM
95272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9528
4a5f187a
SM
9529 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
9530 Handle arbitrary file name lengths (Bug#11585).
dd41169b 9531
efc00ab1 95322012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
9533
9534 * desktop.el (desktop-read): Clear previous and next buffers for
9535 all windows and bury *Messages* buffer (bug#11556).
9536
500fcedc
SM
95372012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9538
9539 Add `declare' for `defun'. Align `defmacro's with it.
9540 * emacs-lisp/easy-mmode.el (define-minor-mode)
9541 (define-globalized-minor-mode): Don't autoload the var definitions.
9542 * emacs-lisp/byte-run.el: Use lexical-binding.
9543 (defun-declarations-alist, macro-declarations-alist): New vars.
9544 (defmacro, defun): Use them.
9545 (make-obsolete, define-obsolete-function-alias)
9546 (make-obsolete-variable, define-obsolete-variable-alias):
9547 Use `declare'.
9548 (macro-declaration-function): Mark obsolete.
9549 * emacs-lisp/autoload.el: Use lexical-binding.
9550 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
9551
6e8a1786
AM
95522012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9553
9554 * textmodes/ispell.el (ispell-with-no-warnings):
9555 Define as a macro.
500fcedc
SM
9556 (ispell-kill-ispell, ispell-change-dictionary):
9557 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
9558 `interactive-p'.
9559
61b108cc
SM
95602012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9561
9562 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
9563 (macro-declaration-function): Move var from C code.
9564 (macro-declaration-function): Define function with defalias.
9565 * emacs-lisp/macroexp.el (macroexpand-all-1):
9566 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
9567 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
9568 defun/defmacro any more.
9569 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
9570 Provide fallback for unknown arglist.
9571 (byte-compile-arglist-warn): Change calling convention.
9572 (byte-compile-output-file-form): Move print-vars binding.
9573 (byte-compile-output-docform): Simplify accordingly.
9574 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
9575 (byte-compile-defmacro-declaration): Remove.
9576 (byte-compile-file-form-defmumble): Generalize to defalias.
9577 (byte-compile-output-as-comment): Return byte-positions.
9578 Simplify callers accordingly.
9579 (byte-compile-lambda): Use `assert'.
9580 (byte-compile-defun, byte-compile-defmacro): Remove.
9581 (byte-compile-file-form-defalias):
9582 Use byte-compile-file-form-defmumble.
9583 (byte-compile-defalias-warn): Remove.
9584
6d3f7c2f
SM
95852012-05-29 Stefan Merten <smerten@oekonux.de>
9586
9587 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 9588 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
9589
9590 (rst-mode-abbrev-table): Merge definition.
9591 (rst-mode): Make sure `font-lock-defaults' is buffer local.
9592 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
9593
6dbaa1c7
UJ
95942012-05-29 Ulf Jasper <ulf.jasper@web.de>
9595
9596 * calendar/icalendar.el
9597 (icalendar-export-region): Export UID properly.
9598
d209e2fb 95992012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
9600 * calendar/icalendar.el (icalendar-import-format):
9601 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
9602 (icalendar-import-format-uid): New.
9603 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
9604 Export UID.
9605
6876a58d
SM
96062012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
9609 different alternative patterns.
9610 (pcase-codegen): Be more careful to preserve identity.
9611 (pcase--u1): Don't forget to mark vars as used.
9612
9613 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
9614 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
9615 (byte-compile-from-buffer): ...rather than here.
9616
9617 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
9618 functions from byte-compile-function-environment.
9619
46b7967e
TN
96202012-05-29 Troels Nielsen <bn.troels@gmail.com>
9621
9622 * window.el (window-deletable-p): Avoid deleting the root window
9623 of a frame with an active minibuffer.
9624
69d565e2
MR
96252012-05-29 Martin Rudalics <rudalics@gmx.at>
9626
9627 * simple.el (choose-completion): Use quit-window (Bug#11567).
9628
a149fa51
CY
96292012-05-29 Chong Yidong <cyd@gnu.org>
9630
9631 * whitespace.el (whitespace-cleanup): Fix usage of
9632 whitespace-empty-at-bob-regexp (Bug#11492).
9633
2b311310
AH
96342012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9635
9636 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9637 revert (Bug#11488).
9638
b9cb2387
JL
96392012-05-29 Juri Linkov <juri@jurta.org>
9640
9641 * isearch.el (isearch-mode-map): Bind `M-s _' to
9642 `isearch-toggle-symbol'. Bind `M-s c' to
9643 `isearch-toggle-case-fold'.
9644 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9645 (isearch-forward): Add `M-s _' to the docstring.
9646 (isearch-forward-symbol, isearch-toggle-case-fold)
9647 (isearch-symbol-regexp): New functions. (Bug#11381)
9648
d5e61c1c
JL
96492012-05-29 Juri Linkov <juri@jurta.org>
9650
9651 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9652 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9653 a function, call it to get the regexp.
9654 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9655 property `isearch-message-prefix' instead of the string "word ".
9656 (isearch-search-fun-default): For the case of `isearch-word',
9657 return a lambda that calls re-search-forward/re-search-backward
9658 with a regexp returned by `word-search-regexp' or by the function
9659 in `isearch-word'.
9660
8cbd80f7
JL
96612012-05-29 Juri Linkov <juri@jurta.org>
9662
9663 * isearch.el (isearch-search-fun-default): New function.
9664 (isearch-search-fun): Move default part to the new function
9665 `isearch-search-fun-default'.
9666 (isearch-search-fun-function): Set the default value to
9667 `isearch-search-fun-default'. (Bug#11381)
9668
9669 * comint.el (comint-history-isearch-end):
9670 Use `isearch-search-fun-default'.
9671 (comint-history-isearch-search): Use `isearch-search-fun-default'
9672 and remove spacial case for `isearch-word'.
9673 (comint-history-isearch-wrap): Remove spacial case for
9674 `isearch-word'.
9675
9676 * hexl.el (hexl-isearch-search-function):
9677 Use `isearch-search-fun-default'.
9678
9679 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9680 Use `word-search-regexp' for `isearch-word'.
9681
9682 * misearch.el (multi-isearch-search-fun):
9683 Use `isearch-search-fun-default'.
9684
9685 * simple.el (minibuffer-history-isearch-search):
9686 Use `isearch-search-fun-default' and remove spacial case for
9687 `isearch-word'.
9688 (minibuffer-history-isearch-wrap): Remove spacial case for
9689 `isearch-word'.
9690
9691 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9692 Remove spacial case for `isearch-word'.
9693 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9694
85c8c5b6
AM
96952012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9696
9697 Decrease XEmacs incompatibilities.
9698 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9699 Use `string-match'.
9700 (flyspell-delete-region-overlays): Use alternative definition for
9701 XEmacs.
9702 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9703 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9704 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9705 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9706 `define-obsolete-face-alias' under XEmacs, but old method.
9707
9708 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9709 `with-no-warnings' definition or Emacs alias.
9710 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9711 (ispell-word): Do not use `region-p' if XEmacs.
9712
8cab9efc
AM
97132012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9714
9715 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9716 Check for `ispell-dictionary-base-alist' instead of full
9717 `ispell-dictionary-alist'.
9718 (ispell-init-process): Show spellchecker when starting new Ispell
9719 process.
9720
fda91268
RZ
97212012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9722
9723 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9724 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9725
694ea8e3
JB
97262012-05-27 Juanma Barranquero <lekktu@gmail.com>
9727
9728 * version.el (motif-version-string, gtk-version-string)
9729 (ns-version-string): Declare.
9730
e4d4f539
JL
97312012-05-27 Juri Linkov <juri@jurta.org>
9732
9733 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9734 after the `eval-defun-1' specialcaseing
9735 like in `edebug-eval-defun' (bug#10181).
9736
9737 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9738 like in `eval-defun-1'.
9739
33017faf 97402012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 9741
fda91268
RZ
9742 * mail/sendmail.el (mail-yank-region):
9743 Recognize rmail-yank-current-message in addition to insert-buffer.
9744 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
9745 a *mail* buffer created through rmail-start-mail with sendmail as
9746 mail-user-agent.
9747
33017faf
GM
97482012-05-27 Chong Yidong <cyd@gnu.org>
9749
9750 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9751 Default to 256 (Bug#11267).
9752
9753 * help.el (describe-mode): Doc fix.
9754
04188bb9
GM
97552012-05-26 Glenn Morris <rgm@gnu.org>
9756
38264cc9
GM
9757 * w32-fns.el (w32-init-info): Remove.
9758 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9759
eb7afdad
GM
9760 * info.el (info-initialize): For self-contained NS builds, put the
9761 included info/ directory at the front. (Bug#2791)
9762
04188bb9
GM
9763 * paths.el (Info-default-directory-list): Make it a defcustom,
9764 mainly so that we can use custom-initialize-delay.
9765
a179e3f7
SM
97662012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9767
43416392
SM
9768 * subr.el (buffer-has-markers-at): Mark obsolete.
9769
a179e3f7 9770 * subr.el (lambda): Use declare.
43416392 9771
a179e3f7
SM
9772 * emacs-lisp/lisp-mode.el (lambda):
9773 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9774
34a008d9
AH
97752012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9776
9777 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9778
0a3b289f
GM
97792012-05-26 Glenn Morris <rgm@gnu.org>
9780
9781 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9782
758c81e8
GM
97832012-05-25 Glenn Morris <rgm@gnu.org>
9784
f9f334f0
GM
9785 * paths.el: Remove no-byte-compile.
9786 * loadup.el: No need to load paths.el uncompiled.
9787
87eb79c2
GM
9788 * image.el (imagemagick-types-inhibit): Doc fix.
9789
758c81e8
GM
9790 * version.el: Remove no-byte-compile and associated formatting.
9791 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9792 is ancient code from when there was an "inc-vers.el".
9793
e7e85dc0
SM
97942012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * progmodes/gdb-mi.el: Minor style changes.
9797 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9798 Turn into minor modes.
9799 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9800 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9801 (gdb-shell): Remove unneeded let-binding.
9802 (gdb-get-many-fields): Eliminate O(n²) behavior.
9803
f31237a4
EZ
98042012-05-25 Eli Zaretskii <eliz@gnu.org>
9805
9806 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9807 platforms that don't link in fontset.c.
9808
bc1b21bb
JL
98092012-05-25 Juri Linkov <juri@jurta.org>
9810
9811 Use the same diff color scheme as in modern VCSes (bug#10181).
9812
9813 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9814 to avoid confusion with `diff-added' that now uses green colors.
9815 (diff-removed): Use shades of red.
9816 (diff-added): Use shades of green.
9817 (diff-changed): Leave just the yellow color.
9818 (diff-use-changed-face): New variable.
9819 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9820 how to highlight context diff changes.
9821 (diff-refine-change): Use shades of yellow.
9822 (diff-refine-removed): New face that uses shades of red.
9823 (diff-refine-added): New face that uses shades of green.
9824 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9825 `diff-refine-removed' in the call to `smerge-refine-subst'
9826 depending on the value of `diff-use-changed-face'.
9827
9828 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9829 (smerge-other): Use shades of green.
9830 (smerge-base): Use shades of yellow.
9831 (smerge-refined-change): Empty face.
9832 (smerge-refined-removed): New face that uses shades of red.
9833 (smerge-refined-added): New face that uses shades of green.
9834 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9835 args `props-r' and `props-a', and use them. Doc fix.
9836 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9837 on its value use different faces `smerge-refined-change',
9838 `smerge-refined-removed', `smerge-refined-added' in the call to
9839 `smerge-refine-subst'.
9840
9841 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9842 Add face condition `min-colors 88' with shades of red.
9843 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9844 `min-colors 88' with shades of green.
9845 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9846 `min-colors 88' with shades of yellow.
9847
6df9112c
GM
98482012-05-24 Glenn Morris <rgm@gnu.org>
9849
ead5edc0
GM
9850 * paths.el (prune-directory-list, remote-shell-program): Move to...
9851 * files.el (prune-directory-list, remote-shell-program): ...here.
9852 For the latter, delay initialization, prefer ssh, just search PATH.
9853
f18b81e6
GM
9854 * paths.el (term-file-prefix): Move to faces.el (the only user).
9855 * faces.el (term-file-prefix): Move here, make it a defcustom.
9856
ee2f89a6
GM
9857 * paths.el (news-directory, news-path, news-inews-program):
9858 Move to gnus/nnspool.el.
61a583ca 9859
f8815e4c
GM
9860 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9861
c8f3b42c
GM
9862 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9863 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9864 Make the latter a defcustom, with a delayed initialization.
9865
6df9112c
GM
9866 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9867 These were deleted from Gnus itself late 2010.
9868
5dadff36
JB
98692012-05-22 Juanma Barranquero <lekktu@gmail.com>
9870
9e1701c6
JB
9871 * progmodes/which-func.el (which-func-ff-hook):
9872 Check against user-error, not error.
9873
bd7239f5 9874 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
9875 cl-specs.el, which no longer exists.
9876
3290526d
GM
98772012-05-22 Glenn Morris <rgm@gnu.org>
9878
9879 * info.el (info-emacs-bug): New command.
9880 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9881 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9882
ff0c3cfb
GM
98832012-05-21 Glenn Morris <rgm@gnu.org>
9884
9885 * makefile.w32-in (update-subdirs-SH):
9886 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9887
5814f126
SM
98882012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9889
a52c0aa0
SM
9890 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9891
5814f126
SM
9892 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9893 Simplify Maven regexp, and make sure the file can't start with a space
9894 (bug#11517).
9895
b847032c
GM
98962012-05-21 Glenn Morris <rgm@gnu.org>
9897
9898 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9899 Scrap superfluous subshells.
9900
3858bfe7
SM
99012012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9904 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9905
d14b0029
JB
99062012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9907
9908 * calc/calc.el (calc-ensure-consistent-units): New variable.
9909
a52c0aa0
SM
9910 * calc/calc-units.el (math-consistent-units-p)
9911 (math-check-unit-consistency): New functions.
9912 (calc-quick-units, calc-convert-units):
9913 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9914 is non-nil.
d14b0029
JB
9915 (calc-extract-units): Fix typo.
9916
60c4db3a
SM
99172012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9918
77f3b62e
SM
9919 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9920
60c4db3a
SM
9921 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9922 (flyspell-default-deplacement-commands): Don't spell check after
9923 repeated window/frame switches (e.g. triggered by mouse-movement).
9924 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9925 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9926 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9927 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9928 Remove unused vars.
9929 (flyspell-get-casechars, flyspell-get-not-casechars):
9930 Simplify; Don't bother removing a ] just to add it back.
9931 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9932
d209e2fb 99332012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
9934
9935 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9936 New functions.
bd7239f5 9937 (math-function-table): Add support for more C functions.
b1a10716 9938
3f1b25b5
AM
99392012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9940
090bd7cb
JB
9941 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9942 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9943 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 9944
b581bb5c
SM
99452012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9948 their respective macro declarations.
9949 * skeleton.el (define-skeleton):
9950 * progmodes/compile.el (define-compilation-mode):
9951 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9952 (define-ibuffer-filter):
9953 * emacs-lisp/generic.el (define-generic-mode):
9954 * emacs-lisp/easy-mmode.el (define-minor-mode)
9955 (define-globalized-minor-mode):
9956 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9957 * emacs-lisp/byte-run.el (defsubst):
9958 * custom.el (deftheme): Add doc-string metadata.
9959
70b8ef8f
SM
99602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9963
b1198e17
SM
99642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9abdc45d
SM
9966 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9967
b1198e17
SM
9968 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9969 * emacs-lisp/cl-macs.el: Idem.
9970 * emacs-lisp/cl-specs.el: Remove.
9971
4735906a
SM
99722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 Minor renaming of internal CL functions and variables.
9975 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9976 (cl--position): Rename from cl-position.
9977 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9978 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9979 (cl--random-state): Rename from *random-state*.
9980
ac348012
SM
99812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9984 parens around the arg list (bug#11499).
9985
a0a79cde
JL
99862012-05-17 Juri Linkov <juri@jurta.org>
9987
9988 * isearch.el (word-search-regexp, word-search-backward)
9989 (word-search-forward, word-search-backward-lax)
9990 (word-search-forward-lax): Move functions from search.c
9991 (bug#10145, bug#11381).
9992
65034a51
AM
99932012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9994
090bd7cb
JB
9995 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9996 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9997 Delay for otherchars as for normal word components.
65034a51 9998
1a72a195
SM
99992012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10000
10001 * minibuffer.el (completion--sifn-requote): Fix last change.
10002 (minibuffer-local-must-match-filename-map):
10003 Move define-obsolete-variable-alias before its var.
10004
fdb058c2
SM
100052012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10006
c41045e6
SM
10007 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10008
036dfb8b
SM
10009 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10010 behavior.
10011 (completion--string-equal-p): New function.
10012 (completion--twq-all): Use it to get better assertion failure data.
10013
2473256d
SM
10014 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10015 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10016 (shell--requote-argument): New functions.
10017 (shell-completion-vars): Use them.
10018 (shell--parse-pcomplete-arguments): Rename from
10019 shell-parse-pcomplete-arguments.
10020 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10021 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10022 Obey comint-file-name-quote-list.
10023
fdb058c2
SM
10024 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10025 (smie-indent-keyword): Use it.
10026
51fa99f1
SM
100272012-05-14 Stefan Merten <smerten@oekonux.de>
10028
10029 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10030
e18afed7 100312012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10032
10033 * net/rlogin.el (rlogin-mode-map): Fix last change.
10034
e18afed7 100352012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10036
10037 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10038 the following \r\n using a single `process-send-string', since the
10039 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10040 with two `process-send-string's (Bug#11444).
8633b1f4 10041
e18afed7 100422012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10043
fdb058c2
SM
10044 * shell.el (shell-parse-pcomplete-arguments):
10045 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10046
2d21d7f6
WJ
100472012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10048
e18afed7 10049 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10050 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10051 (image-transform-width, image-transform-fit-width): New functions.
10052 (image-transform-properties): Use them.
10053 (image-transform-check-size): New function.
10054 (image-toggle-display-image): Use it (for testing).
10055 (image-transform-set-rotation): Reduce angle mod 360.
10056 Delete obsolete comment.
10057
7102e6d0
WJ
100582012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10059
10060 * image-mode.el: Fix scaling (bug#11399).
10061 (image-transform-resize): Doc fix.
10062 (image-transform-properties): Default scale is 1 and height should
10063 be an integer.
10064
06bc5e6e
SM
100652012-05-13 Johan Bockgård <bojohan@gnu.org>
10066
10067 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10068 than hard-coding `car', to fix misbehavior when moving forward.
10069
0ae03b6a
CY
100702012-05-13 Chong Yidong <cyd@gnu.org>
10071
10072 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10073 (tabulated-list-entries, tabulated-list-padding)
10074 (tabulated-list-sort-key): Make permanent-local.
10075
10076 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10077 (electric-buffer-list): Put electric buffer menu
10078 command descriptions in this docstring, instead of the docstring
10079 of electric-buffer-menu-mode. Code cleanups.
10080 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10081 Electric-buffer-menu-mode.
10082 (electric-buffer-update-highlight): Minor code cleanup.
10083
205a7391
MA
100842012-05-13 Michael Albinus <michael.albinus@gmx.de>
10085
10086 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10087 (Bug#11447)
10088
e5bd0a28
SM
100892012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 Move define-obsolete-variable-alias before the var's definition.
10092 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10093 * tooltip.el (tooltip-hook):
10094 * textmodes/reftex-toc.el (reftex-toc-map):
10095 * textmodes/reftex-sel.el (reftex-select-label-map)
10096 (reftex-select-bib-map):
10097 * textmodes/reftex-index.el (reftex-index-map)
10098 (reftex-index-phrases-map):
10099 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10100 * progmodes/meta-mode.el (meta-mode-map):
10101 * novice.el (disabled-command-hook):
10102 * loadhist.el (unload-hook-features-list):
10103 * frame.el (blink-cursor):
10104 * files.el (find-file-not-found-hooks, write-file-hooks)
10105 (write-contents-hooks):
10106 * emulation/tpu-edt.el (GOLD-map):
10107 * emacs-lock.el (emacs-lock-from-exiting):
10108 * emacs-lisp/generic.el (generic-font-lock-defaults):
10109 * emacs-lisp/chart.el (chart-map):
10110 * dos-fns.el (register-name-alist):
10111 * dired-x.el (dired-omit-files-p):
10112 * desktop.el (desktop-enable):
10113 * cus-edit.el (custom-mode-hook):
10114 * buff-menu.el (buffer-menu-mode-hook):
10115 * bookmark.el (bookmark-read-annotation-text-func)
10116 (bookmark-exit-hooks):
10117 * allout.el (allout-mode-deactivate-hook)
10118 (allout-exposure-change-hook, allout-structure-added-hook)
10119 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10120 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10121 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10122 comes before the corresponding variable's definition.
10123
ac59c2f6
CY
101242012-05-12 Chong Yidong <cyd@gnu.org>
10125
10126 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
10127 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10128 (Buffer-menu-mode-map): Bind it.
10129 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 10130
dee6c9a3
SM
101312012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10132
2171cea5
SM
10133 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10134 (prolog-upper-case-string, prolog-lower-case-string)
10135 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10136 (prolog-use-smie, prolog-smie-grammar): New vars.
10137 (prolog-smie-forward-token, prolog-smie-backward-token)
10138 (prolog-smie-rules): New funs.
10139 (prolog-comment-indent): Remove.
10140 (prolog-mode-variables): Use default comment indentation instead.
10141 Setup SMIE.
10142 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10143 (prolog-mode): Don't call them any more.
10144 (prolog-electric-colon, prolog-electric-dash)
10145 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10146
aa0382bd
SM
10147 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10148
dbacb4bd
SM
10149 * minibuffer.el (completion--twq-all): Again, allow case differences.
10150
13bdd94c
SM
10151 * term.el: Move keymap initialization code to be more idiomatic.
10152 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10153 (term-terminal-menu): Move initialization into declaration.
10154 (term-escape-char): Let the user set it in her .emacs.
10155
ff46c759
SM
10156 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10157 Provide SMIE-based indentation (not enabled by default yet).
10158 (sh-mode-map): Don't bind electric keys.
10159 Use electric-pair-mode instead of skeleton-pair.
10160 (sh-assignment-regexp): Fit within 80 columns.
10161 (sh-indent-supported): Specify actual shell name instead of boolean.
10162 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10163 (sh-maybe-here-document): Use it. Make obsolete.
10164 (sh-electric-here-document-mode) New minor mode.
10165 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10166 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10167 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10168 (sh-smie-rc-grammar, sh-use-smie): New vars.
10169 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10170 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10171 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10172 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10173 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10174 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10175 (sh-set-shell): Use smie-setup if requested.
10176
dee6c9a3
SM
10177 * term.el (term-set-escape-char): Properly set term-escape-char.
10178 See http://stackoverflow.com/questions/10524656.
10179
9f9aa044
CY
101802012-05-10 Chong Yidong <cyd@gnu.org>
10181
10182 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10183 Use url-generic-parse-url, and handle host names and Windows
10184 filenames properly.
10185 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10186 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10187 URL schemes to work on.
10188 (ffap--toggle-read-only): New function.
10189 (ffap-read-only, ffap-read-only-other-window)
10190 (ffap-read-only-other-frame): Use it.
10191 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10192 necessary for ffap-url-unwrap-remote.
10193
836d29b3
DA
101942012-05-10 Dave Abrahams <dave@boostpro.com>
10195
10196 * cus-start.el (create-lockfiles): Add it.
10197
00fd78ed
CY
101982012-05-09 Chong Yidong <cyd@gnu.org>
10199
10200 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10201 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10202
666b903b 102032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
10204
10205 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10206
666b903b 102072012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
10208
10209 * ansi-color.el (ansi-color-process-output): Check for validity of
10210 comint-last-output-start before using it. This avoids a bad
10211 interaction with gdb-mi's input/output buffer.
10212
666b903b 102132012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
10214
10215 * files.el (dir-locals-read-from-file):
10216 Mention dir-locals in any error message.
10217
666b903b 102182012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
10219
10220 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10221 package (Bug#11410).
10222
f677562b
CY
10223 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10224 variables into description.
10225
666b903b 102262012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
10227
10228 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10229 shell-delimiter-argument-list (bug#11348).
10230 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10231
b499d8d0
JB
102322012-05-09 Juanma Barranquero <lekktu@gmail.com>
10233
8f6b6da8
JB
10234 * textmodes/rst.el: Silence byte-compiler warnings.
10235 (rst-re-alist, rst-reset-section-caches): Move around.
10236 (rst-re): Use `characterp', not `char-valid-p'.
10237 (font-lock-beg, font-lock-end): Declare.
10238
4824146a
JB
10239 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10240 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10241
b499d8d0
JB
10242 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10243
ad89bb83
GM
102442012-05-08 Glenn Morris <rgm@gnu.org>
10245
10246 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10247
8bba5a75
SM
102482012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10249
49ed9c8e
SM
10250 * vc/log-edit.el: Add GNU coding standards highlighting.
10251 (log-edit-font-lock-gnu-style)
10252 (log-edit-font-lock-gnu-keywords): New vars.
10253 (log-edit-font-lock-keywords): New fun.
10254 (log-edit-mode): Don't fold case in font-lock.
10255 (log-edit-font-lock-keywords): Do not assume case-folding.
10256
07d00b56
SM
10257 * imenu.el: Misc cleanup. Make docstrings out of comments.
10258 Use lexical-binding.
10259 (imenu--index-alist, imenu--last-menubar-index-alist)
10260 (imenu-menubar-modified-tick): Use defvar-local.
10261 (imenu--split-menu): Remove unused var.
10262 (imenu--cleanup-seen): Declare as global.
10263 (imenu--cleanup): Use dolist.
10264
8bba5a75
SM
10265 * subr.el (defvar-local): Add debug spec and doc-string position.
10266
5075bdb5
GM
102672012-05-08 Glenn Morris <rgm@gnu.org>
10268
090bd7cb 10269 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
10270 * language/english.el, language/georgian.el, language/greek.el:
10271 * language/japanese.el, language/khmer.el, language/korean.el:
10272 * language/lao.el, language/misc-lang.el, language/romanian.el:
10273 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10274 * language/thai.el, language/utf-8-lang.el:
10275 Remove no-byte-compile setting.
10276
5075bdb5
GM
10277 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10278
06f679a7
AH
102792012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10280
10281 * progmodes/make-mode.el (makefile-browse):
10282 Remove unnecessary interactive. (Bug#11324)
10283
03794570
GM
102842012-05-07 Glenn Morris <rgm@gnu.org>
10285
af8630f4
GM
10286 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10287
03794570
GM
10288 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10289
f0809a9d
SM
102902012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10291
28be5ce7
SM
10292 * loadup.el: Preload newcomment.el.
10293 * newcomment.el: Move autoload-only code to toplevel.
10294
f0809a9d
SM
10295 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10296 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10297 Handle new :right-align column property.
10298 (tabulated-list-print-col): Idem, plus use `display' text-property to
10299 try and preserve alignment for variable pitch fonts.
10300
1241b724
CY
103012012-05-07 Chong Yidong <cyd@gnu.org>
10302
10303 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10304 (tabulated-list-use-header-line): New var.
10305 (tabulated-list-init-header): Use it.
10306 (tabulated-list-print-fake-header): New function.
10307 (tabulated-list-print): Use it.
10308 (tabulated-list-sort-button-map): Add non-header-line commands.
10309 (tabulated-list-init-header): Add column name property to basic
10310 labels as well.
10311 (tabulated-list-col-sort): Handle non-header-line button case.
10312 (tabulated-list--sort-by-column-name): Fix a corner case.
10313
f0809a9d
SM
10314 * buff-menu.el (list-buffers--refresh):
10315 Handle Buffer-menu-use-header-line.
1241b724 10316
e5f9458f
CY
103172012-05-06 Chong Yidong <cyd@gnu.org>
10318
10319 * buff-menu.el: Convert to Tabulated List mode.
10320 (Buffer-menu-buffer+size-width): Make obsolete.
10321 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
10322 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
10323 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
10324 documentation into docstring of buffer-menu.
10325 (Buffer-menu-toggle-files-only): Add an informative message.
10326 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
10327 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
10328 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
10329 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
10330 (Buffer-menu-execute, Buffer-menu-select)
10331 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
10332 (Buffer-menu-bury): Use Tabulated List machinery.
10333 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
10334 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 10335 Delete.
e5f9458f
CY
10336 (list-buffers--refresh): New function.
10337 (list-buffers-noselect): Use it.
10338 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
10339 (Buffer-menu--pretty-file-name): New helper functions.
10340
10341 * loadup.el: Preload tabulated-list.
10342
10343 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
10344 tabulated-list-sort-column.
10345 (tabulated-list-init-header): Add the initial aligning space even
10346 if tabulated-list-padding is zero.
10347
e129292c
CS
103482012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
10349
10350 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
10351 whose cdr is not a cons cell correctly (bug#11038).
10352
6632d361
CY
103532012-05-06 Chong Yidong <cyd@gnu.org>
10354
e129292c
CS
10355 * emacs-lisp/tabulated-list.el (tabulated-list-format):
10356 Accept additional plist in column descriptors.
6632d361
CY
10357 (tabulated-list-init-header): Obey it.
10358 (tabulated-list-get-entry): New function.
10359 (tabulated-list-put-tag): Use it. Use string-width instead of
10360 length.
10361 (tabulated-list--column-number): New function.
10362 (tabulated-list-print): Use it.
e129292c
CS
10363 (tabulated-list-print-col): New function.
10364 Set `tabulated-list-column-name' property on each column's text.
6632d361 10365 (tabulated-list-print-entry): Use it.
e129292c
CS
10366 (tabulated-list-delete-entry, tabulated-list-set-col):
10367 New functions.
6632d361
CY
10368 (tabulated-list-sort-column): New command (Bug#11337).
10369
3cc99f68
CY
10370 * buff-menu.el (list-buffers): Move C-x C-b binding from
10371 buff-menu.el to bindings.el.
10372
10373 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
10374 :advertised-binding feature.
10375
52b61776
TN
103762012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
10377
10378 * progmodes/compile.el (compilation-internal-error-properties):
10379 Calculate start position correctly when end-col is set but
10380 end-line is not (Bug#11382).
10381
ebfe2597
WJ
103822012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
10383
10384 * man.el (Man-unindent): Use text-property-default-nonsticky to
10385 prevent untabify from inheriting face properties (Bug#11408).
10386
6d3f7c2f
SM
103872012-05-05 Stefan Merten <smerten@oekonux.de>
10388
10389 * textmodes/rst.el: Major merge with upstream development up to
10390 Docutils SVN r7399 / rst.el V1.2.1.
10391
10392 Clarify maintainership and authors.
10393
10394 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
10395 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
10396 (rst-official-version, rst-official-cvs-rev, rst-version)
10397 (rst-package-emacs-version-alist): New functions and variables
10398 for version information.
10399
10400 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
10401 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
10402 (rst-mode-syntax-table, rst-mode): New and corrected functions
10403 and variables representing reStructuredText features.
10404
10405 (rst-re): New function for reStructuredText regexes. Use in
10406 many places.
10407
10408 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
10409 (rst-mode-map): Rebind keys.
10410
10411 (rst-mode-lazy, rst-font-lock-keywords)
10412 (rst-font-lock-extend-region)
10413 (rst-font-lock-extend-region-internal)
10414 (rst-font-lock-extend-region-extend)
10415 (rst-font-lock-find-unindented-line-limit)
10416 (rst-font-lock-find-unindented-line-match)
10417 (rst-adornment-level, rst-font-lock-adornment-level)
10418 (rst-font-lock-adornment-match)
10419 (rst-font-lock-handle-adornment-pre-match-form)
10420 (rst-font-lock-handle-adornment-matcher): Major revision of
10421 font-locking. Integrate with other code. Use `jit-lock-mode'.
10422
10423 (rst-preferred-adornments, rst-adjust-hook)
10424 (rst-new-adornment-down, rst-preferred-bullets)
10425 (rst-preferred-bullets, rst-indent, rst-indent-width)
10426 (rst-indent-field, rst-indent-literal-normal)
10427 (rst-indent-literal-minimized, rst-indent-comment): Change,
10428 extend and improve customization.
10429
10430 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
10431 (rst-normalize-cursor-position, rst-get-decoration)
10432 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
10433 (rst-rstrip, rst-toc-insert-find-delete-contents)
10434 (rst-shift-fill-region, rst-compute-bullet-tabs)
10435 (rst-debug-print-tabs, rst-debug-mark-found)
10436 (rst-shift-region-guts, rst-shift-region-right)
10437 (rst-shift-region-left, rst-use-char-classes)
10438 (rst-font-lock-keywords-function)
10439 (rst-font-lock-indentation-point)
10440 (rst-font-lock-find-unindented-line-begin)
10441 (rst-font-lock-find-unindented-line-end)
10442 (rst-font-lock-find-unindented-line)
10443 (rst-font-lock-adornment-point, rst-font-lock-level)
10444 (rst-adornment-level-alist): Remove functions and variables.
10445
10446 (rst-compare-adornments, rst-get-adornment-match)
10447 (rst-suggest-new-adornment, rst-get-adornments-around)
10448 (rst-adornment-complete-p, rst-get-next-adornment)
10449 (rst-adjust-adornment, rst-display-adornments-hierarchy)
10450 (rst-straighten-adornments): Standardize function names to
10451 use "adornment" instead of "decoration". Correct callers.
10452 Similar standardizing in many places.
10453
10454 (rst-update-section, rst-adjust, rst-promote-region)
10455 (rst-enumerate-region, rst-bullet-list-region)
10456 (rst-repeat-last-character): Correct use of `interactive'.
10457
10458 (rst-classify-adornment, rst-find-all-adornments)
10459 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
10460 (rst-find-leftmost-column, rst-repeat-last-character):
10461 Refactor functions.
10462
10463 (rst-find-title-line, rst-reset-section-caches)
10464 (rst-get-adornments-around, rst-adjust-adornment-work)
10465 (rst-arabic-to-roman, rst-roman-to-arabic)
10466 (rst-insert-list-pos, rst-insert-list-new-item)
10467 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
10468 New functions.
10469
10470 (rst-all-sections, rst-section-hierarchy)
10471 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
10472 New variables.
10473
10474 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
10475 configuration instead of only buffer. Change where necessary.
10476
10477 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
10478 (rst-shift-region, rst-adaptive-fill): New functions for
10479 indentation and filling.
10480
10481 (rst-comment-line-break, rst-comment-indent)
10482 (rst-comment-insert-comment, rst-comment-region)
10483 (rst-uncomment-region): New functions for handling comments.
10484
10485 (rst-compile): Quote shell arguments.
10486
10487 (rst-compile-pdf-preview, rst-compile-slides-preview):
10488 Delete temporary files after use.
10489
a43f98b3
GM
104902012-05-05 Glenn Morris <rgm@gnu.org>
10491
48176e8b
GM
10492 * calendar/cal-html.el: Optionally include holidays in the output.
10493 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10494 (cal-html-holidays): New option.
10495 (cal-html-css-default): Add holiday entry.
10496 (holiday-in-range): Autoload it.
10497 (cal-html-htmlify-entry): Add optional class argument.
10498 (cal-html-htmlify-list): Add optional holidays argument.
10499 (cal-html-insert-agenda-days): Include holidays in the output.
10500 (cal-html-one-month): Maybe include holidays.
10501
a43f98b3
GM
10502 * calendar/holidays.el (holiday-in-range):
10503 Move here from cal-tex-list-holidays.
10504 * calendar/cal-tex.el (cal-tex-list-holidays):
10505 Make it an obsolete alias for holiday-in-range. Update all callers.
10506
fef9d149 105072012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
10508
10509 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10510 Nextstep.
10511
248da2f4
RW
105122012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
10513
10514 * files.el (file-auto-mode-skip): New var.
10515 (set-auto-mode-1): Use it.
10516
f95e9344
SM
105172012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10518
df96ab1e
SM
10519 * repeat.el: Use lexical-binding.
10520 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
10521 (repeat-undo-count): Remove.
10522 (repeat):
10523 * progmodes/octave-mod.el (octave-abbrev-start):
10524 * progmodes/f90.el (f90-abbrev-start):
10525 * face-remap.el (text-scale-adjust):
10526 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
10527
5342bb06
SM
10528 * emacs-lisp/pcase.el (pcase--let*): New function.
10529 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
10530 a bit more.
10531 (pcase--split-pred): Be more clever about ruling out overlap between
10532 a predicate and some constant pattern.
10533 (pcase--q1): Use `null' instead of (eq foo nil).
10534
f95e9344
SM
10535 * subr.el (setq-local, defvar-local): New macros.
10536 (kbd): Redefine as an alias.
10537 (with-selected-window): Leave unrelated frames alone.
10538 (set-temporary-overlay-map): New function.
10539
71873e2b
SM
105402012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * subr.el (user-error): New function.
10543 * window.el (switch-to-buffer):
10544 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
10545 (smerge-match-conflict):
10546 * simple.el (previous-matching-history-element)
10547 (next-matching-history-element, goto-history-element, undo-more)
10548 (undo-start):
10549 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
10550 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
10551 (next-file, tags-loop-scan, list-tags, complete-tag):
10552 * progmodes/compile.el (compilation-loop):
10553 * mouse.el (mouse-minibuffer-check):
10554 * man.el (Man-bgproc-sentinel, Man-goto-page):
10555 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
10556 (Info-history-forward, Info-follow-reference, Info-menu)
10557 (Info-extract-menu-item, Info-extract-menu-counting)
10558 (Info-forward-node, Info-backward-node, Info-next-menu-item)
10559 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
10560 (Info-next-reference, Info-prev-reference, Info-index)
10561 (Info-index-next, Info-follow-nearest-node)
10562 (Info-copy-current-node-name):
10563 * imenu.el (imenu--make-index-alist)
10564 (imenu-default-create-index-function, imenu-add-to-menubar):
10565 * files.el (basic-save-buffer, recover-file):
10566 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10567 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
10568 (checkdoc-message-text, checkdoc-defun):
10569 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
10570 * cus-edit.el (customize-changed-options, customize-rogue)
10571 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
10572 (custom-variable-mark-to-reset-standard)
10573 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
10574 (custom-file):
10575 * completion.el (check-completion-length):
10576 * comint.el (comint-search-arg)
10577 (comint-previous-matching-input-string-position)
10578 (comint-previous-matching-input)
10579 (comint-replace-by-expanded-history-before-point, comint-send-input)
10580 (comint-copy-old-input, comint-backward-matching-input)
10581 (comint-goto-process-mark, comint-set-process-mark):
10582 * calendar/calendar.el (calendar-cursor-to-date): Use it.
10583 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
10584
8a61ee22
SM
105852012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10586
66408d1e
SM
10587 * dabbrev.el (dabbrev--ignore-case-p): New function.
10588 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
10589 Use it.
10590
8a61ee22
SM
10591 * files.el (automount-dir-prefix): Mark as obsolete.
10592
3c74813a
GM
105932012-05-04 Glenn Morris <rgm@gnu.org>
10594
10595 * patcomp.el, play/bruce.el: Move to obsolete/.
10596
0bfcf5c5
PE
105972012-05-04 Paul Eggert <eggert@cs.ucla.edu>
10598
10599 Fix minor Y10k bugs.
10600 * arc-mode.el (archive-unixdate):
10601 * autoinsert.el (auto-insert-alist):
10602 * calc/calc-forms.el (math-this-year):
10603 * emacs-lisp/copyright.el (copyright-current-year)
10604 (copyright-update-year, copyright):
10605 * tar-mode.el (tar-clip-time-string):
10606 * time.el (display-time-update):
10607 Don't assume years have 4 digits.
10608
78f3273a
CY
106092012-05-04 Chong Yidong <cyd@gnu.org>
10610
10611 * dos-w32.el (file-name-buffer-file-type-alist)
10612 (direct-print-region-use-command-dot-com):
10613 * ffap.el (ffap-menu-regexp):
10614 * find-file.el (ff-special-constructs):
10615 * follow.el (follow-debug):
10616 * forms.el (forms--debug):
10617 * iswitchb.el (iswitchb-all-frames):
10618 * ido.el (ido-all-frames):
10619 * emacs-lisp/timer.el (timer-max-repeats):
10620 * mail/feedmail.el (feedmail-mail-send-hook)
10621 (feedmail-mail-send-hook-queued):
10622 * mail/footnote.el (footnote-signature-separator):
10623 * mail/mailabbrev.el (mail-alias-separator-string)
10624 (mail-abbrev-mode-regexp):
10625 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
10626 * progmodes/idlwave.el (idlwave-libinfo-file)
10627 (idlwave-default-completion-case-is-down)
10628 (idlwave-library-routines): Convert defvars to defcustoms.
10629
10630 * mail/rmail.el (rmail-decode-mime-charset):
10631 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10632 (idlwave-shell-fix-inserted-breaks)
10633 (idlwave-shell-activate-alt-keybindings)
10634 (idlwave-shell-use-breakpoint-glyph):
10635 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10636
f7ae6719
SM
106372012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10640
47086495
WS
106412012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10642
10643 * progmodes/verilog-mode.el (font-lock-keywords):
10644 Fix mis-highligting auto. Reported by Craig Barner.
10645 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 10646 defines from global name space. Reported by Dan Dever.
47086495
WS
10647 (verilog-auto-reset, verilog-auto-reset-widths)
10648 (verilog-auto-tieoff): Support using unbased numbers for
10649 AUTORESET and AUTOTIEOFF.
10650 (verilog-submit-bug-report): Update variable list.
10651 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 10652 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
10653 (verilog-auto-template-lint): Fix hash error when linting modules
10654 with no used templates.
10655 (verilog-warn, verilog-warn-error)
10656 (verilog-warn-fatal): When non-interactive report multiple
10657 warnings before exiting. Suggested by Brad Dobbie.
10658 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10659 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10660 to report unused template errors. Reported by Brad Dobbie.
10661 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 10662 nets, bug438. Reported by Vns Blore.
47086495
WS
10663 (verilog-auto-inout-module, verilog-auto-reg)
10664 (verilog-read-decls, verilog-read-sub-decls-sig)
10665 (verilog-signals-edit-wire-reg, verilog-signals-with):
10666 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 10667 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
10668 "reg" for backwards compatibility presuming Verilog 2001.
10669 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10670 (verilog-preprocess): Fix replication of preprocess output.
10671 Reported by Brad Dobbie.
10672 (verilog-auto-inst-interfaced-ports):
10673 Create verilog-auto-inst-interfaced-ports, bug429.
10674 Reported by Julian Gorfajn.
10675 (verilog-after-save-font-hook)
10676 (verilog-before-save-font-hook): New variable.
10677 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10678 (verilog-save-font-mods): Wrap disabling fontification, reported
10679 by David Rogoff.
10680 (verilog-do-indent, verilog-pretty-declarations-auto)
10681 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10682 Reported by Pierre-David Pfister.
10683 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10684 of class declarations, bug292. Reported by Kevin Heilman.
10685 (verilog-read-decls): Fix 'parameter type' not appearing in
10686 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10687 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 10688 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
10689 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10690 Reported by David Kravitz.
10691
106922012-05-03 Michael McNamara <mac@mail.brushroad.com>
10693
10694 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10695 assignment with tests in ifs and for loops.
10696 (verilog-extended-complete-re, verilog-complete-reg): Change so
10697 that DPI inport functions don't look like fuction declarations.
10698 (verilog-pretty-expr): Don't line up assignment
10699 operations to the test and increment in if and for loops
10700 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 10701 that DPI inport functions don't look like fuction declarations.
47086495 10702
2e51d4b5
KH
107032012-05-03 Kenichi Handa <handa@m17n.org>
10704
10705 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 10706 decoding, and show a warning message without signaling an error
2e51d4b5
KH
10707 (Bug#11282).
10708
2bd785a2
SM
107092012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * emacs-lisp/bytecomp.el
10712 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10713 since cconv.el might have introduced :fun-body, internal-make-closure,
10714 and friends for bytecomp to handle (bug#11391).
10715 * custom.el (defcustom): Avoid ((λ ..) ..).
10716
99d27583
SM
107172012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10720
55a71479
JB
107212012-05-02 Juanma Barranquero <lekktu@gmail.com>
10722
10723 * notifications.el (dbus-debug):
10724 * term/linux.el (gpm-mouse-enable):
10725 * term/screen.el (xterm-register-default-colors): Declare.
10726
7b97c764
CY
107272012-05-02 Chong Yidong <cyd@gnu.org>
10728
2bc356d7
CY
10729 * cus-start.el (gc-cons-percentage, exec-suffixes)
10730 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10731 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10732 (make-cursor-line-fully-visible, void-text-area-pointer)
10733 (font-list-limit): Add customization data.
10734
7b97c764
CY
10735 * allout.el (allout-exposure-change-functions)
10736 (allout-structure-added-functions)
10737 (allout-structure-deleted-functions)
10738 (allout-structure-shifted-functions): Rename abnormal hooks from
10739 *-hook, and convert to defcustoms.
5d3385a0
JB
10740 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10741 Convert to defcustoms.
7b97c764
CY
10742 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10743
10744 * allout-widgets.el: Hook callers changed.
10745
90207a15 107462012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
10747
10748 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10749 the yanked message in preference to the default value of
10750 buffer-file-coding-system.
10751
90207a15 107522012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 10753
5d3385a0
JB
10754 * window.el (display-buffer--action-function-custom-type):
10755 Fix entry.
d9558cad 10756
90207a15 107572012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
10758
10759 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10760
d80ac57b
GM
107612012-05-01 Glenn Morris <rgm@gnu.org>
10762
976f7668
GM
10763 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10764
beb83b5a
GM
10765 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10766
d80ac57b
GM
10767 * cus-edit.el (custom-variable-documentation): Simplify with format.
10768
b593d6a9 107692012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 10770 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
10771
10772 * simple.el (suggest-key-bindings, execute-extended-command):
10773 Move from keyboard.c.
10774
782fbf2a
CY
107752012-05-01 Chong Yidong <cyd@gnu.org>
10776
10777 * follow.el: Eliminate advice.
10778 (set-process-filter, process-filter, sit-for): Advice deleted.
10779 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
10780 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10781 Vars deleted.
782fbf2a
CY
10782 (follow-auto): Use a :set function.
10783 (follow-mode): Rewritten. Don't advise process filters.
10784 (follow-switch-to-current-buffer-all, follow-scroll-up)
10785 (follow-scroll-down): Assume follow-mode is bound.
10786 (follow-comint-scroll-to-bottom)
10787 (follow-align-compilation-windows): New functions.
10788 (follow--window-sorter): New function.
10789 (follow-all-followers): Use it to explicitly sort windows by their
10790 positions; don't make assumptions about next-window order.
10791 (follow-windows-start-end, follow-delete-other-windows-and-split)
10792 (follow-calc-win-start): Doc fix.
10793 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10794 vertical-motion unnecessarily.
10795 (follow-adjust-window): New function.
10796 (follow-post-command-hook): Use it.
10797 (follow-call-set-process-filter, follow-call-process-filter)
10798 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10799 (follow-stop-intercept-process-output, follow-generic-filter):
10800 Functions deleted.
10801 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
10802 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10803 New functions, replacing advice on scroll-bar-* commands.
87233a14 10804 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
10805
10806 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
10807 (comint-postoutput-scroll-to-bottom): Use it.
10808 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 10809
290af740
GM
108102012-05-01 Glenn Morris <rgm@gnu.org>
10811
10812 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10813 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10814 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10815 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10816 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10817 Remove no-byte-compile setting.
10818
6eac8dc9
SM
108192012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10822 all-completions code to not return a number in the last cdr.
10823
9cc7819c
LL
108242012-04-30 Leo Liu <sdl.web@gmail.com>
10825
10826 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10827 read-only error.
10828
c93b886f
CY
108292012-04-29 Chong Yidong <cyd@gnu.org>
10830
10831 * follow.el (follow-calc-win-end): Rewrite to handle partial
10832 screen lines correctly (Bug#8390).
10833 (follow-avoid-tail-recenter): Minor cleanup.
10834
8b6c19f4
SM
108352012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10836
10837 Avoid the obsolete `assoc' package.
10838 * speedbar.el (speedbar-refresh): Avoid adelete.
10839 (speedbar-file-lists): Simplify and avoid aput.
10840 * man.el (Man--sections, Man--refpages): New vars, replacing
10841 Man-sections-alist and Man-refpages-alist.
10842 (Man-build-section-alist, Man-build-references-alist):
10843 Use them; avoid aput.
10844 (Man--last-section, Man--last-refpage): New vars.
10845 (Man-follow-manual-reference): Use them.
10846 Use the `default' arg of completing-read.
10847 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10848
c5bb7569
CY
108492012-04-27 Chong Yidong <cyd@gnu.org>
10850
d1d2e2e8
CY
10851 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10852
15cd8efd
CY
10853 * startup.el (x-apply-session-resources): New function.
10854
10855 * term/ns-win.el (ns-initialize-window-system):
10856 * term/w32-win.el (w32-initialize-window-system):
10857 * term/x-win.el (x-initialize-window-system): Use it to properly
10858 set menu-bar-mode and other vars from X resources, even if the
10859 initial frame is not a window-system frame (Bug#2299).
10860
c5bb7569
CY
10861 * subr.el (read-key): Avoid running filter function when setting
10862 up temporary tool bar entries (Bug#9922).
10863
a8e7d6d7 108642012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
10865
10866 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10867 (Bug#11344)
10868
a8e7d6d7 108692012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
10870
10871 * select.el (xselect--encode-string): New function, split from
10872 xselect-convert-to-string.
10873 (xselect-convert-to-string): Use it.
10874 (xselect-convert-to-filename, xselect-convert-to-os)
10875 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10876 returned strings are properly encoded (Bug#11315).
10877
a8e7d6d7 108782012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
10879
10880 * simple.el (delete-active-region): Move to killing custom group.
10881
a8e7d6d7 108822012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
10883
10884 * progmodes/which-func.el (which-func-current): Quote %
10885 characters for mode-line processing.
10886
578c1d4b 108872012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
10888
10889 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10890 reaching eob (Bug#11286).
10891
a8e7d6d7 108922012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
10893
10894 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10895 (gdb): Make it buffer-local and init to zero.
10896 (gdb-control-commands-regexp): New variable.
10897 (gdb-send): Don't wrap in "-interpreter-exec console" if
10898 gdb-control-level is positive. Increment gdb-control-level
10899 whenever the command matches gdb-control-commands-regexp, and
10900 decrement it each time the command is "end". (Bug#11279)
10901
a8e7d6d7 109022012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
10903
10904 * window.el (adjust-window-trailing-edge, enlarge-window)
10905 (shrink-window, window-resize):
10906 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10907 windows (Bug#11276).
10908
b3608390
CY
109092012-04-27 Chong Yidong <cyd@gnu.org>
10910
10911 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 10912 fix "missing prefix" warning. All callers changed.
b3608390 10913
797e6e88
SM
109142012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * emacs-lisp/assoc.el: Move to obsolete/.
10917
e95a67dc
SM
109182012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10919
657c21e4 10920 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
10921
10922 * term/ns-win.el (ns-define-service):
10923 * progmodes/pascal.el (pascal-goto-defun):
10924 * progmodes/js.el (js--read-tab):
10925 * progmodes/etags.el (tags-lazy-completion-table):
10926 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10927 * emacs-lisp/ewoc.el (ewoc--wrap):
10928 * emacs-lisp/assoc.el (aput, adelete, amake):
10929 * doc-view.el (doc-view-convert-current-doc):
10930 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10931
cb3e7ae0
CY
109322012-04-26 Chong Yidong <cyd@gnu.org>
10933
dce04f7f
CY
10934 * image.el (image-type-from-buffer): Only return supported image
10935 type (Bug#9045).
10936
cb3e7ae0
CY
10937 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10938 value, for symmetry with diff-end-of-hunk.
10939 (diff-split-hunk, diff-find-source-location)
10940 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10941 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10942 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10943 compute the relevant hunk or file properly (Bug#6005).
10944 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10945
0d42eb3e
SM
109462012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * vc/vc-mtn.el:
10949 * vc/vc-hg.el:
10950 * vc/vc-git.el:
10951 * vc/vc-dir.el:
10952 * vc/vc-cvs.el:
10953 * vc/vc-bzr.el:
10954 * vc/vc-arch.el:
10955 * vc/vc.el: Replace lexical-let by lexical-binding.
10956 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10957 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10958 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10959
f08ae1c9
CY
109602012-04-26 Chong Yidong <cyd@gnu.org>
10961
8b71081d
CY
10962 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10963 (diff-mode-shared-map): Bind it to / and [remap undo].
10964
f08ae1c9
CY
10965 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10966 (ediff-window-setup-function): Use it as the default, to set up
10967 windows based on whether the current frame is graphical (Bug#2138).
10968 (ediff-choose-window-setup-function-automatically): Make obsolete.
10969
10970 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10971
ef24141c
SM
109722012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10973
cc356a5d
SM
10974 * ffap.el: Remove old code for obsolete package.
10975 (ffap-complete-as-file-p): Remove.
10976
b4ff4f1f
SM
10977 Use completion-table-with-quoting for comint and pcomplete.
10978 * comint.el (comint--unquote&requote-argument)
10979 (comint--unquote-argument, comint--requote-argument): New functions.
10980 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10981 (comint-quote-filename): Use regexp-opt-charset.
10982 (comint--common-suffix, comint--common-quoted-suffix)
10983 (comint--table-subvert): Remove.
10984 (comint-unquote-function, comint-requote-function): New vars.
10985 (comint--complete-file-name-data): Use them with
10986 completion-table-with-quoting.
10987 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10988 * pcomplete.el (pcomplete-arg-quote-list)
10989 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10990 (pcomplete-unquote-argument-function): Default to non-nil.
10991 (pcomplete-unquote-argument): Simplify.
10992 (pcomplete--common-quoted-suffix): Remove.
10993 (pcomplete-requote-argument-function): New var.
10994 (pcomplete--common-suffix): New function.
10995 (pcomplete-completions-at-point): Use completion-table-with-quoting
10996 and completion-table-subvert.
10997
79c4eeb4
SM
10998 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10999 (minibuffer--double-dollars): Preserve properties.
11000 (completion--sifn-requote): New function.
11001 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11002
ef24141c
SM
11003 * minibuffer.el: Add support for completion of quoted/escaped data.
11004 (completion-table-with-quoting, completion-table-subvert): New funs.
11005 (completion--twq-try, completion--twq-all): New functions.
11006 (completion--nth-completion): New function.
11007 (completion-try-completion, completion-all-completions): Use it.
11008
784e7d6e
LL
110092012-04-25 Leo Liu <sdl.web@gmail.com>
11010
dd2ac746
SM
11011 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11012 Use compilation-message if available to find real filename.
784e7d6e 11013
07875ee7
CY
110142012-04-25 Chong Yidong <cyd@gnu.org>
11015
11016 * vc/diff-mode.el (diff-setup-whitespace): New function.
11017 (diff-mode): Use it.
11018
11019 * vc/diff.el (diff-sentinel):
11020 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11021 Whitespace mode variables based on diff style (Bug#8612).
11022
5055880d
LL
110232012-04-25 Leo Liu <sdl.web@gmail.com>
11024
daf75653
LL
11025 * progmodes/python.el (python-send-region): Add suffix .py to the
11026 temp file.
11027
5055880d
LL
11028 * files.el (auto-mode-alist): Use javascript-mode instead.
11029
db9b177b
AH
110302012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11031
ef24141c 11032 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11033
090bd7cb 11034 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11035 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11036 references, see Bug#9.
ef24141c 11037 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11038 when receiving a fault reply.
ef24141c 11039 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11040
090bd7cb 11041 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11042 (soap-inspect-simple-type): New function.
db9b177b 11043
090bd7cb 11044 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11045 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11046 (soap-decode-basic-type, soap-encode-basic-type):
11047 support unsignedInt and double basic types.
db9b177b 11048 (soap-resolve-references-for-simple-type)
ef24141c
SM
11049 (soap-parse-simple-type, soap-encode-simple-type): New function.
11050 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11051
090bd7cb 11052 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
11053 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11054 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11055 the local name of "soapenc:Array".
11056 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
11057 decoding integer, byte and anyURI xsd types.
11058
1fc6097b
CY
110592012-04-25 Chong Yidong <cyd@gnu.org>
11060
11061 * cus-edit.el (custom-buffer-create-internal): Update header text.
11062
afc6df87
EZ
110632012-04-25 Eli Zaretskii <eliz@gnu.org>
11064
11065 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11066 settings on 'system-type', not on 'window-system'. On MS-Windows,
11067 set interactive-mode on in GDB.
11068
dfbd787f
SM
110692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11072 (ruby-syntax-propertize-regexp): Remove.
11073 (ruby-syntax-propertize-function): Split regexp into chunks.
11074 Match following code directly.
11075
85222d44
DG
110762012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11077
51a8ea2a
DG
11078 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11079 (ruby-syntax-propertize-regexp): New function.
11080 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11081 by a special keyword.
11082
85222d44
DG
11083 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11084 (ruby-syntax-general-delimiters-goto-beg)
11085 (ruby-syntax-propertize-general-delimiters): New functions.
11086 (ruby-syntax-propertize-function): Use them to handle GDL.
11087 (ruby-font-lock-keywords): Move old handling of GDL...
11088 (ruby-font-lock-syntactic-keywords): .. to here.
11089 (ruby-calculate-indent): Adjust indentation for GDL.
11090
b613912b
MA
110912012-04-24 Michael Albinus <michael.albinus@gmx.de>
11092
b5380639
MA
11093 * notifications.el (top): Remove unneeded declarations.
11094 (notifications-specification-version): Change to "1.2".
e43042fe 11095 (notifications-interface, notifications-notify-method)
b613912b
MA
11096 (notifications-close-notification-method): Fix docstring.
11097 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
11098 (notifications-notify): Add :action-items, :resident and
11099 :transient hints. Change "image_data" to "image-data" and
11100 "image_path" to "image-path".
b613912b
MA
11101 (notifications-get-capabilities): New defun.
11102
257440aa
LL
111032012-04-24 Leo Liu <sdl.web@gmail.com>
11104
11105 * progmodes/python.el: Move hideshow setup to the end.
11106
b1bac16e
MR
111072012-04-24 Martin Rudalics <rudalics@gmx.at>
11108
11109 * window.el (handle-select-window): Clear echo area since this is
11110 no more done by read_char (Bug#11304).
11111
d81bd059
SM
111122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11115 and `/ M' to filter-derived-mode.
11116 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11117 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11118 (ibuffer-mark-by-mode): Use default rather than initial-input.
11119 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11120
c4cf6d91
IA
111212012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11122
11123 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11124 (ibuffer-filter-by-derived-mode): New filter.
11125 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11126
7511ded8
CY
111272012-04-23 Andreas Politz <politza@fh-trier.de>
11128
11129 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11130
775c916b
CY
111312012-04-23 Chong Yidong <cyd@gnu.org>
11132
11133 * cus-edit.el (customize-apropos, customize-apropos-options):
11134 Disable matching of non-option variables (Bug#11176).
11135 (customize-option, customize-option-other-window)
11136 (customize-changed-options): Doc fix.
11137 (customize-apropos-options, customize-apropos-faces)
11138 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11139
11140 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 11141 Fix word list splitting (Bug#11132).
46c71e23
CY
11142 (apropos-symbol, apropos-keybinding, apropos-label)
11143 (apropos-property, apropos-function-button)
11144 (apropos-variable-button, apropos-misc-button): New faces.
11145 (apropos-symbol-face, apropos-keybinding-face)
11146 (apropos-label-face, apropos-property-face, apropos-match-face):
11147 Variables removed (Bug#8396).
11148 (apropos-library-button, apropos-format-plist, apropos-print)
11149 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 11150
2df41f9c
MA
111512012-04-23 Michael Albinus <michael.albinus@gmx.de>
11152
11153 * net/xesam.el (xesam-mode-map): Use let-bound map in
11154 initialization. (Bug#11292)
11155
da00640a
AM
111562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11157
11158 Preserve ispell session localwords when switching back to
11159 original buffer.
11160
090bd7cb
JB
11161 * textmodes/ispell.el (ispell-buffer-session-localwords):
11162 New buffer-local variable to hold buffer session localwords.
ed9265fc 11163 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
11164 localwords.
11165 (ispell-command-loop, ispell-change-dictionary)
11166 (ispell-buffer-local-words): Preserve session localwords when
11167 needed.
11168
090bd7cb
JB
11169 * textmodes/flyspell.el (flyspell-process-localwords)
11170 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 11171
f621ccf5
AM
111722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11173
090bd7cb
JB
11174 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11175 using obsolete `translation-table-for-input'.
ef24141c
SM
11176 (ispell-word, ispell-process-line, ispell-complete-word):
11177 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 11178
c2d1019e
CY
111792012-04-22 Chong Yidong <cyd@gnu.org>
11180
11181 * cus-edit.el (custom-variable-menu)
11182 (custom-variable-reset-saved, custom-face-menu)
11183 (custom-face-reset-saved): If there is no saved value, make the
11184 "reset-saved" operation bring back the default (Bug#9509).
11185 (custom-face-state): Properly detect themed faces.
11186
eeddc531
CY
11187 * faces.el (face-spec-set): Stop supporting deprecated form of
11188 third arg.
11189
dcbf5805
MA
111902012-04-22 Michael Albinus <michael.albinus@gmx.de>
11191
11192 Move functions from C to Lisp. Make non-blocking method calls
11193 the default. Implement further D-Bus standard interfaces.
11194
ef24141c
SM
11195 * net/dbus.el (dbus-message-internal): Declare function.
11196 Remove unneeded function declarations.
dcbf5805
MA
11197 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11198 (dbus-message-type-method-return, dbus-message-type-error)
11199 (dbus-message-type-signal): Declare variables. Remove local
11200 definitions.
11201 (dbus-interface-dbus, dbus-interface-peer)
11202 (dbus-interface-introspectable, dbus-interface-properties)
11203 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11204 Adapt docstring.
11205 (dbus-interface-objectmanager): New defconst.
11206 (dbus-call-method, dbus-call-method-asynchronously)
11207 (dbus-send-signal, dbus-method-return-internal)
11208 (dbus-method-error-internal, dbus-register-service)
11209 (dbus-register-signal, dbus-register-method): New defuns, moved
11210 from dbusbind.c
11211 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
11212 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11213 New defuns.
dcbf5805
MA
11214 (dbus-call-method-non-blocking): Make it an obsolete function.
11215 (dbus-unregister-object, dbus-unregister-service)
11216 (dbus-handle-event, dbus-register-property)
11217 (dbus-property-handler): Obey the new structure of
11218 `bus-registered-objects'.
11219 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11220 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11221 Use `dbus-call-method'.
11222
cf20dee0
CY
112232012-04-22 Chong Yidong <cyd@gnu.org>
11224
11225 * cus-edit.el (custom-commands, custom-reset-menu)
11226 (Custom-reset-standard): Tweak labels.
11227 (custom-reset-button-menu): Change default to t.
11228 (custom-buffer-create-internal): For the custom-reset-button-menu
11229 case, put the revert button first.
11230 (custom-group-subtitle): New face.
11231 (custom-group-value-create): Align docstring to a specific column.
11232
11233 * wid-edit.el (widget-documentation-link-add): Don't handle
11234 indentation in this function.
11235 (widget-documentation-string-indent-to): New function.
11236 (widget-documentation-string-value-create): Use it.
11237
11238 * autorevert.el (auto-revert):
11239 * epg-config.el (epg):
11240 * ibuffer.el (ibuffer):
11241 * mpc.el (mpc):
11242 * ses.el (ses):
11243 * eshell/eshell.el (eshell):
11244 * net/ange-ftp.el (ange-ftp):
11245 * progmodes/ebnf2ps.el (postscript):
11246 * progmodes/flymake.el (flymake):
11247 * progmodes/prolog.el (prolog):
11248 * progmodes/verilog-mode.el (verilog-mode):
11249 * progmodes/which-func.el (which-func):
11250 * term/xterm.el (xterm):
11251 * textmodes/picture.el (picture):
11252 * textmodes/tildify.el (tildify):
11253 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11254 customization buffers.
11255
583e23bd
AM
112562012-04-22 Alan Mackenzie <acm@muc.de>
11257
11258 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11259 Adding a ) can hide the resulting (..) from searches. Fix it.
11260 Bound the backward search to the position of the existing (.
11261
7dd51bf1
JB
112622012-04-21 Juanma Barranquero <lekktu@gmail.com>
11263
11264 * progmodes/verilog-mode.el (verilog-mode): Check whether
11265 which-func-modes is t before adding verilog-mode.
11266 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11267
d64a438f
LL
112682012-04-21 Leo Liu <sdl.web@gmail.com>
11269
7dd51bf1 11270 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 11271
081e8d65
MV
112722012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11273
11274 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11275 filling of the last column of a table (Bug#5635).
11276 (woman-find-next-control-line): New arg, specifying an additional
11277 regexp component for the control line.
11278 (woman2-roff-buffer): Use it.
11279 (woman-break-table): New function.
11280 (woman2-TS): Use it.
11281
112822012-04-21 Chong Yidong <cyd@gnu.org>
11283
11284 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11285 (woman-horizontal-escapes, woman-negative-vertical-space)
11286 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11287 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11288
ed571ccb
SM
112892012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * minibuffer.el (completion-file-name-table): Complete user names.
11292
39773899
LL
112932012-04-20 Leo Liu <sdl.web@gmail.com>
11294
11295 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11296 and pcase-let*.
11297
de6ff46d
CY
112982012-04-20 Chong Yidong <cyd@gnu.org>
11299
11300 * server.el (server-execute): Respect initial-buffer-choice if it
11301 is a string and there are no files to open (Bug#2825).
11302 (server-create-window-system-frame, server-create-tty-frame):
11303 Don't switch buffers here.
2d0e8e61
CY
11304 (server-process-filter): Only try to open a window system frame if
11305 compiled with graphical support (Bug#8314).
de6ff46d 11306
54071013
DN
113072012-04-20 Dan Nicolaescu <dann@gnu.org>
11308
11309 * battery.el (battery-echo-area-format): Display remaining time
11310 for sysfs backend too (Bug#11269).
11311 (battery-linux-sysfs): Fix conditional for the charge.
11312
f30d612a
CY
113132012-04-20 Chong Yidong <cyd@gnu.org>
11314
c07a4c0b 11315 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
11316 (gdb-inferior-io--init-proc): New function.
11317 (gdb-init-1): Use it.
11318 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
11319 responsible for allocating a new pty and hooking it to gdb when
11320 the old pty gets an EIO due to process exit.
11321 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
11322 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
11323 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
11324
2116e93c
EZ
113252012-04-20 Eli Zaretskii <eliz@gnu.org>
11326
11327 * window.el (window-min-size, window-sizable, window-min-delta)
11328 (window-max-delta, window--resizable, window-resizable)
11329 (window-total-size, window-full-height-p, window-full-width-p)
11330 (window-in-direction, window--resize-mini-window, window-resize)
11331 (window--resize-child-windows-normal)
11332 (window--resize-child-windows, window--resize-siblings)
11333 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 11334 (enlarge-window, shrink-window): Doc fixes.
2116e93c 11335
c07a4c0b 113362012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 11337
ef24141c
SM
11338 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
11339 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
11340 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
11341 pty process (Bug#11273).
11342 (gdb-update): New arg to suppress talking to the gdb process.
11343 (gdb-done-or-error): Use it.
11344 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
11345 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
11346 sentinel not being called.
11347
11348 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
11349
d02766ab
CY
11350 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
11351
c07a4c0b 113522012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
11353
11354 * net/network-stream.el (open-network-stream): Doc fix.
11355
c07a4c0b 113562012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
11357
11358 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
11359
c07a4c0b 113602012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
11361
11362 Ensure searching for keywords is case sensitive.
11363
11364 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
11365 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
11366 (c-defun-name, c-mark-function, c-cpp-define-name)
11367 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 11368 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 11369
ef24141c
SM
11370 * progmodes/cc-mode.el (c-font-lock-fontify-region):
11371 Bind case-fold-search to nil.
f0f6bc35 11372
c07a4c0b 113732012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
11374
11375 * mail/sendmail.el (mail-bury): Call return action with the right
11376 Rmail buffer (Bug#11242).
11377
9a864fa2
CY
11378 * server.el (server-process-filter): Handle corner case where both
11379 tty and nowait options are present (Bug#11102).
11380
539aa513
EZ
113812012-04-20 Eli Zaretskii <eliz@gnu.org>
11382
11383 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
11384 (top level): Put into the executable the ident-style '$Id:' tag on
11385 windows-nt as well.
539aa513 11386
cfc7d5da
SM
113872012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * electric.el (electric-indent-post-self-insert-function): Check that
11390 electric-indent-mode is enabled in current buffer.
11391
5b01685c
JB
113922012-04-19 Juanma Barranquero <lekktu@gmail.com>
11393
11394 * imenu.el (imenu-progress-message): Restore; it is "used" in
11395 erc/erc-imenu.el and net/snmp-mode.el.
11396
4d6769e1
JB
113972012-04-19 Juanma Barranquero <lekktu@gmail.com>
11398
11399 * avoid.el (mouse-avoidance-mode): Mark unused arg.
11400 (mouse-avoidance-nudge-mouse): Remove unused binding.
11401
11402 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
11403
11404 * descr-text.el (describe-char):
11405 * progmodes/python.el (python-describe-symbol):
11406 Don't call `toggle-read-only', set `buffer-read-only'.
11407
11408 * imenu.el (imenu-default-goto-function): Mark unused args.
11409 (imenu-progress-message): Remove obsolete macro; all callers changed.
11410
11411 * subr.el (keymap-canonicalize): Remove unused binding.
11412 (read-passwd): Mark unused arg.
11413
11414 * tutorial.el (tutorial--display-changes): Remove unused binding.
11415 (tutorial--save-tutorial-to): Remove unused variable.
11416
11417 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
11418 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
11419 (package-generate-autoloads, package-menu--generate)
11420 (package-menu--find-upgrades): Remove unused bindings.
11421
11422 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
11423 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
11424 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
11425 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
11426 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
11427 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
11428 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
11429 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
11430 (cua-delete-char-rectangle): Mark unused args.
11431 (cua-align-rectangle): Remove unused binding.
11432
11433 * mail/rmail.el (compilation--message->loc)
11434 (epa--find-coding-system-for-mime-charset): Declare.
11435
11436 * net/dbus.el (dbus-register-service): Declare.
11437 (dbus-name-owner-changed-handler): Remove unused binding.
11438
11439 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
11440 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
11441 (nxml-scan-backward-within): Mark unused arg.
11442 (nxml-dynamic-markup-word): Remove unused binding.
11443
11444 * mouse.el (mouse-menu-major-mode-map):
11445 * emacs-lisp/authors.el (authors-scan-change-log)
11446 (authors-add-to-author-list):
11447 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
11448 * emacs-lisp/smie.el (smie-auto-fill):
11449 * mail/sendmail.el (mail-bury):
11450 * mail/unrmail.el (unrmail):
11451 * net/tls.el (open-tls-stream):
11452 * textmodes/picture.el (picture-mouse-set-point):
11453 Remove unused bindings.
11454
8c8fc5df
MA
114552012-04-19 Michael Albinus <michael.albinus@gmx.de>
11456
11457 * net/tramp.el (tramp-action-password): Let-bind
11458 `enable-recursive-minibuffers' to t.
11459
a77b0ac9
SS
114602012-04-18 Sam Steingold <sds@gnu.org>
11461
11462 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
11463 instead of 'string to accommodate values like [f11].
11464 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11465 * progmodes/gdb-mi.el: Likewise.
11466
12a106a9
LL
114672012-04-18 Leo Liu <sdl.web@gmail.com>
11468
11469 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
11470 current buffer.
11471 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
11472 LOCAL is nil.
11473
bc6494ef
CY
114742012-04-18 Chong Yidong <cyd@gnu.org>
11475
11476 * simple.el (line-move): Use forward-line if in batch mode
11477 (Bug#11053).
11478
c09c46b2
CS
114792012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
11480
11481 * files.el (after-find-file): Do not try to add a final newline if
11482 the buffer is read-only (Bug#11156).
11483
5f6530ea
RS
114842012-04-17 Richard Stallman <rms@gnu.org>
11485
11486 * mail/rmail.el (rmail-start-mail):
11487 Pass (rmail-mail-return...) for the return-action.
11488 Pass (rmail-yank-current-message...) for the yank-action.
11489 (rmail-yank-current-message): New function.
11490 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
11491 (rmail-reply): Likewise.
11492 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
11493
11494 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 11495 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
11496 buffer, not newbuf.
11497
197b6f3c
JB
114982012-04-17 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * server.el (server-ensure-safe-dir): Simplify.
11501
2311d8e5 115022012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 11503
2311d8e5
GM
11504 * emacs-lisp/smie.el: Provide smarter auto-filling.
11505 (smie-auto-fill): New function.
11506 (smie-setup): Use it.
98fb480e 11507
2311d8e5
GM
11508 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
11509
115102012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
11511
11512 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
11513 (comment-indent): Use it.
11514
2311d8e5 115152012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
11516
11517 * ses.el: The overall change is to add cell renaming, that is
11518 setting fancy names for cell symbols other than name matching
11519 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 11520 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 11521 (ses-create-cell-variable): New defun.
2311d8e5 11522 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
11523 (ses-relocate-formula): Relocate formulas only for cells the
11524 symbols of which are not renamed, i.e. symbols whose names do not
11525 match regexp "\\`[A-Z]+[0-9]+\\'".
11526 (ses-relocate-all): Relocate values only for cells the symbols of
11527 which are not renamed.
11528 (ses-load): Create cells variables as the (ses-cell ...) are read,
11529 in order to check row col consistency with cell symbol name only
11530 for cells that are not renamed.
11531 (ses-replace-name-in-formula): New defun.
11532 (ses-rename-cell): New defun.
4bdf2ad2 11533
fc72b15c
PO
115342012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
11535
11536 * progmodes/perl-mode.el (perl-indent-parens-as-block):
11537 New option (bug#11118).
11538 (perl-calculate-indent): Respect it.
11539
12e10e61
GM
115402012-04-17 Glenn Morris <rgm@gnu.org>
11541
11542 * dired-aux.el (dired-mark-read-string): Doc fix.
11543
30009afd
DA
115442012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
11545
11546 * dired-aux.el (dired-mark-read-string): Offer optional completion.
11547 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
11548
41f03f4d
GM
115492012-04-17 Glenn Morris <rgm@gnu.org>
11550
11551 * mouse.el (mouse-drag-track):
11552 * speedbar.el (speedbar-frame-mode):
11553 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11554
f45f90f3
LL
115552012-04-16 Leo Liu <sdl.web@gmail.com>
11556
11557 * progmodes/python.el: Trivial cleanup.
11558
94ee8db5
GM
115592012-04-16 Glenn Morris <rgm@gnu.org>
11560
121b8917
GM
11561 * vc/vc.el (vc-string-prefix-p):
11562 * vc/pcvs-util.el (cvs-string-prefix-p):
11563 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
11564 * mpc.el (mpc-string-prefix-p):
11565 Make all of these into obsolete aliases for string-prefix-p.
11566 Update callers.
11567 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
11568
1197ecfa
GM
11569 * textmodes/two-column.el: Move custom options to the start.
11570 (frame-width): Remove compat definition.
11571 (2C-associate-buffer, 2C-dissociate):
11572 Use with-current-buffer rather than save-excursion.
11573 (2C-dissociate): Force a mode-line update.
11574 (2C-autoscroll): Use ignore-errors.
11575
099e7202
GM
11576 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
11577 Autoload trivia.
11578
bf350d6a
GM
11579 * emacs-lisp/cl-extra.el (*random-state*):
11580 Remove unnecessary declaration.
11581
0e829eab
GM
11582 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
11583
e3ad7552
GM
11584 * play/cookie1.el (cookie-snarf):
11585 Give an explicit error if input file cannot be read.
11586
68892d27
GM
11587 * play/yow.el (yow-file): Use expand-file-name rather than concat.
11588
20f0c46d
GM
11589 * progmodes/perl-mode.el (c-macro-expand):
11590 Remove unnecessary autoload (it is in loaddefs.el).
11591
5a0978ce
GM
11592 * textmodes/picture.el (picture-desired-column)
11593 (picture-update-desired-column): Convert comments to doc-strings.
11594 (picture-substitute): Remove function.
11595 (picture-mode-map): Initialize in the defvar.
11596
6b955486
GM
11597 * woman.el: Remove eval-after-load for tar-mode.
11598 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
11599 (woman-tar-extract-file): Autoload it.
11600
94ee8db5
GM
11601 * frame.el (automatic-hscrolling): Make this alias obsolete.
11602
177eca34
AM
116032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11604
090bd7cb 11605 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 11606 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
11607 (ispell-dictionary-base-alist): Revert to original XEmacs
11608 friendly version for default. [:alpha:] will be added in
090bd7cb 11609 `ispell-set-spellchecker-params' if needed.
177eca34 11610
c505aaeb
CY
116112012-04-16 Chong Yidong <cyd@gnu.org>
11612
b19dd9d1 11613 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
11614 (imagemagick-register-types): Use it.
11615 (imagemagick-types-inhibit): Add :set function. Allow new value
11616 of t to inhibit all types.
11617
11618 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
11619 so we can preload it.
11620
11621 * loadup.el (fboundp): Preload regexp-opt, needed by
11622 imagemagick-register-types.
11623
60efac0f
CY
116242012-04-15 Chong Yidong <cyd@gnu.org>
11625
11626 * frame.el (scrolling): Remove nearly unused customization group.
11627
11628 * scroll-all.el (scroll-all-mode): Move to windows group.
11629
5dd1713e
CY
116302012-04-15 Chong Yidong <cyd@gnu.org>
11631
11632 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11633
e6fd457e
CY
116342012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11635
11636 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 11637 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 11638
e153c136
GM
116392012-04-15 Glenn Morris <rgm@gnu.org>
11640
11641 * simple.el (process-file-side-effects): Doc fix.
11642
e6fd457e 116432012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
11644
11645 * international/mule-cmds.el (set-language-environment): Doc fix.
11646
3603c3b1
JB
116472012-04-14 Juanma Barranquero <lekktu@gmail.com>
11648
11649 * server.el (server-auth-key, server-generate-key): Doc fixes.
11650 (server-get-auth-key): Doc fix. Use `string-match-p'.
11651 (server-start): Reflow docstring.
11652
e6de100c
LI
116532012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11654
11655 * server.el (server-generate-key): `called-interactively-p'
11656 requires a parameter.
11657
29734c21
MN
116582012-04-14 Michal Nazarewicz <mina86@mina86.com>
11659
11660 * server.el (server-auth-key): New variable.
75f1671a 11661 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
11662 (server-start): Use the new variable and functions to allow
11663 setting a permanent server key (bug#9423).
11664
d65c9521
LL
116652012-04-14 Leo Liu <sdl.web@gmail.com>
11666
11667 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11668
5ae255c7
PE
116692012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11670
11671 Spelling fixes.
11672 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11673 Emacs uses American spelling.
11674
d5e6342e
JB
116752012-04-14 Juanma Barranquero <lekktu@gmail.com>
11676
11677 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11678 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11679 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11680 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11681
ab036cd7
SM
116822012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * progmodes/which-func.el (which-func-modes): Change default.
11685
35dc09a1 116862012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
11687
11688 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11689 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11690
35dc09a1 116912012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
11692
11693 * custom.el (custom-theme-set-variables): Doc fix.
11694
35dc09a1 116952012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
11696
11697 * international/mule.el (set-auto-coding-for-load): Doc fix.
11698
35dc09a1 116992012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 11700
35dc09a1
GM
11701 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11702 imenu work again for Objective C Mode. Correct the *-index values,
11703 these having been disturbed by a previous change in 2011-08.
57f845ee 11704
0de3da9f
AM
11705 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11706 Correct two search limits.
11707
35dc09a1 117082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
11709
11710 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11711
35dc09a1 117122012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
11713
11714 * international/characters.el: Fix sorting.
11715
35dc09a1 117162012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
11717
11718 * international/characters.el: Add more missing Latin case pairs.
11719
35dc09a1 117202012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
11721
11722 * files.el (dir-locals-set-class-variables): Doc fix.
11723
35dc09a1 117242012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 11725
3f1b5bf8
EZ
11726 * international/characters.el: Add set-case-syntax-pair call for
11727 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11728 counterpart. (Bug#11209)
11729
9f847f41
EZ
11730 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11731
35dc09a1 117322012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
11733
11734 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11735
35dc09a1 117362012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 11737
35dc09a1
GM
11738 * textmodes/ispell.el (ispell-dictionary-base-alist):
11739 Add data for Hebrew.
e2627d21 11740
35dc09a1 117412012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 11742
35dc09a1
GM
11743 * net/rcirc.el (rcirc-cmd-quit):
11744 Revert 2012-03-18 change (Bug#11192).
5c14e333 11745
35dc09a1 117462012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
11747
11748 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11749
35dc09a1 117502012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 11751
4517fe3a
SM
11752 * minibuffer.el (completion-in-region-mode-map):
11753 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 11754
b472a594
VD
117552012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11756
11757 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11758
09b95ce3
MY
117592012-04-13 Masatake YAMATO <yamato@redhat.com>
11760
11761 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11762 to allow `C-M-f' and `C-M-b' to move to the nearest path
11763 separator (bug#9511).
11764
4b63a9ca
LI
117652012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11766
11767 * avoid.el: Require cl when compiling. And also move the
11768 `provide' to the end.
11769
7b55b8bf
TV
117702012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11771
11772 * avoid.el (mouse-avoidance-banish-position): New variable.
11773 (mouse-avoidance-banish-destination): Use it (bug#10165).
11774
adedaa1f
LL
117752012-04-13 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11778
70e74021
KB
117792012-04-13 Ken Brown <kbrown@cornell.edu>
11780
11781 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 11782 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
11783 (browse-url-filename-alist): For the same reason, don't modify
11784 file:// URLs on Cygwin.
11785
e75e89ba
SM
117862012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11789 the region on shift if the binding is already shifted (bug#11221).
11790
82f289a4
GM
117912012-04-12 Glenn Morris <rgm@gnu.org>
11792
11793 * mail/mailpost.el: Move to obsolete/.
11794
d333dc4c
DA
117952012-04-12 Drew Adams <drew.adams@oracle.com>
11796
11797 * imenu.el (imenu--generic-function): Ignore invisible definitions
11798 (bug#10123).
11799
0d15b5ba
VD
118002012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11801
11802 * hexl.el (hexl-bits): New variable.
11803 (hexl-options): Mention the variable in the doc string.
75f1671a 11804 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 11805 (hexl-mode): Mention the new variable.
75f1671a
JB
11806 (hexl-mode, hexl-current-address, hexl-current-address):
11807 Use the displen.
0d15b5ba
VD
11808 (hexl-ascii-start-column): New function.
11809 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11810 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11811
64a440db
AM
118122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11813
11814 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11815 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11816 the encoding, as expected by hunspell.
11817
6decb6c2
SM
118182012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * battery.el (battery--linux-sysfs-regexp): New const.
11821 (battery-status-function): Use it. Remove yeeloong special case.
11822 (battery-yeeloong-sysfs): Remove.
11823 (battery-echo-area-format): Remove yeeloong special case.
11824
088be6fb
SM
118252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11826
6622e416
SM
11827 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11828 Reported by Noah Friedman.
11829
088be6fb
SM
11830 * subr.el (read-passwd): Use read-string.
11831
b49f886e
LMI
118322012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833
11834 * vcursor.el (vcursor-move): Increase the priority of the overlay
11835 (bug#9663).
11836
a63067fc
DD
118372012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11838
11839 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11840 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11841
ac3cf14a
WS
118422012-04-11 William Stevenson <yhvh2000@gmail.com>
11843
11844 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11845 define-minor-mode (bug#10760).
11846
c4fc691b 118472012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 11848
4d6769e1 11849 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
11850 that directories matching `grep-find-ignored-files' won't be
11851 pruned (bug#10351).
11852
af23e2e5
CY
118532012-04-11 Chong Yidong <cyd@gnu.org>
11854
11855 * startup.el (command-line): Remove support for long-obsolete
11856 variable font-lock-face-attributes.
11857
ab7ce8c1
GM
118582012-04-11 Glenn Morris <rgm@gnu.org>
11859
11860 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11861
de8c03dc
SM
118622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * window.el (window--state-get-1): Obey window-point-insertion-type.
11865
050cc68b
LB
118662012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11867
11868 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11869 to previous function when point is on the first character of a
75f1671a 11870 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 11871
a38c310c
GM
118722012-04-11 Glenn Morris <rgm@gnu.org>
11873
effed0c2
GM
11874 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11875 not just file-errors.
11876
a38c310c
GM
11877 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11878 (vc-bzr-sha1): Use internal sha1.
11879
0221e323
SM
118802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11883
43956923
SG
118842012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11885
11886 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11887 that start in the middle of the line (bug#10496).
11888
6a8c9eaf
DN
118892012-04-10 Dan Nicolaescu <dann@gnu.org>
11890
11891 * battery.el (battery-linux-proc-acpi): Only one battery is
11892 discharged at a time, but that seems to confuse battery.el when
11893 computing `rate-type' for the battery not being discharged
11894 (bug#10332).
11895
1930bf5d
SM
118962012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11897
2a718f6f
SM
11898 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11899
599430d0
SM
11900 * international/quail.el: Use dolist and simplify.
11901 (quail-define-package, quail-update-keyboard-layout)
11902 (quail-define-rules): Use dolist.
11903 (quail-insert-kbd-layout, quail-get-translation): CSE.
11904
a2754b6c
SM
11905 * tmm.el: Use dolist, remove left over hook.
11906 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11907 Use dolist.
11908 (calendar-load-hook): Don't mess with it.
11909
1930bf5d
SM
11910 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11911 Use derived-mode-p. Run the diff asynchronously.
11912
9f67961c
LMI
119132012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11914
11915 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11916
2a8ce227
JB
119172012-04-10 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11920 (list-dynamic-libraries--loaded): New function.
11921 (list-dynamic-libraries--refresh): Use it.
11922
8f33b5f8
NW
119232012-04-10 Nathan Weizenbaum <nweiz@google.com>
11924
1930bf5d
SM
11925 * progmodes/python.el (python-fill-paragraph):
11926 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
11927 disabled (bug#7018).
11928
b12f0439
L
119292012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11930
1930bf5d 11931 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
11932 DOS/MS Windows for the Baltic languages. There are still plenty
11933 of texts written in this encoding/codepage (bug#6519).
b12f0439 11934
57c3bd01
GM
119352012-04-10 Glenn Morris <rgm@gnu.org>
11936
11937 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11938 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11939
6c3eab30
FA
119402012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11941
1930bf5d 11942 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
11943 next-line "n" and previous-line "p" in order to make recentf more
11944 consistent with ibuffer, dired or org-mode (bug#9387).
11945
24d78a88
LMI
119462012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11947
bc72b5d9
LMI
11948 * image.el (put-image): Return the overlay created instead of the
11949 optional input string (bug#7834). Note that this may break code
11950 that is (for some reason or other) depending on `put-image'
11951 returning the string.
11952
bd2dba5a
LMI
11953 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11954
74beb59f
LMI
11955 * simple.el (zap-to-char): Allow zapping using input methods
11956 (bug#1580).
11957
24d78a88
LMI
11958 * textmodes/fill.el (fill-region): Leave point and mark where they
11959 were before filling (bug#5399).
11960
263f20cd
GM
119612012-04-09 Glenn Morris <rgm@gnu.org>
11962
11963 * version.el (emacs-bzr-get-version):
11964 Handle lightweight checkouts of local branches.
11965
58d1f797
AS
119662012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11967
263f20cd 11968 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 11969
b4d3bc10
CY
119702012-04-09 Chong Yidong <cyd@gnu.org>
11971
11972 * custom.el (custom-variable-p): Return nil for non-symbol
11973 arguments instead of signaling an error.
11974 (user-variable-p): Obsolete alias for custom-variable-p.
11975
11976 * apropos.el (apropos-variable):
11977 * files-x.el (read-file-local-variable):
11978 * simple.el (set-variable):
11979 * woman.el (woman-mini-help):
11980 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11981
fd06db5d
GM
119822012-04-09 Glenn Morris <rgm@gnu.org>
11983
e5fcdb5e
GM
11984 * startup.el (normal-top-level): Don't look for leim-list.el
11985 in places where it will not be found. (Bug#910)
11986
fd06db5d
GM
11987 * international/mule-cmds.el (set-default-coding-systems):
11988 * files.el (normal-mode):
11989 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11990 This function was removed with ucs-tables.el in 2008.
11991
b39bb7e1
EZ
119922012-04-08 Eli Zaretskii <eliz@gnu.org>
11993
11994 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11995 ispell-encoding8-command to "-i", without a trailing space.
11996 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11997 separate command-line arguments, to specify the encoding, since
11998 that's how hunspell expects it.
11999
5c5b8e23
GM
120002012-04-08 Glenn Morris <rgm@gnu.org>
12001
12002 * loadup.el: Load bindings before cus-start.
12003 This reduces somewhat the number of "rogue" settings in emacs -Q.
12004
a1ed8b05
GM
120052012-04-07 Glenn Morris <rgm@gnu.org>
12006
12007 * version.el (emacs-bzr-get-version): New function.
dfae128a 12008 (emacs-bzr-version): New variable.
a1ed8b05
GM
12009 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12010 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12011
b142f158
EZ
120122012-04-07 Eli Zaretskii <eliz@gnu.org>
12013
dfae128a
GM
12014 * international/uni-bidi.el, international/uni-category.el:
12015 * international/uni-combining.el, international/uni-decimal.el:
12016 * international/uni-decomposition.el, international/uni-digit.el:
12017 * international/uni-lowercase.el, international/uni-mirrored.el:
12018 * international/uni-name.el, international/uni-numeric.el:
12019 * international/uni-titlecase.el, international/uni-uppercase.el:
12020 Update for Unicode 6.1.
b142f158 12021
9078ead6
EZ
120222012-04-07 Eli Zaretskii <eliz@gnu.org>
12023
12024 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12025
f23d2c7d
LMI
120262012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
12028 * window.el (shrink-window): Mention the `window-min-height'
12029 variable in the doc string.
12030
0a0a3573
BG
120312012-04-05 Bastien Guerry <bzg@altern.org>
12032
12033 * color.el (color-lighten-name): Fix typo.
12034
e5248ac9
SM
120352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * server.el (server--on-display-p): New function.
12038 (server--on-display-p): Use it.
12039
b4243e22
GV
120402012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
12041
12042 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12043 (bug#11145).
12044
305d9f44
SM
120452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * comint.el (comint--common-quoted-suffix): Check string boundary
12048 before comparing (bug#11158).
12049 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12050
3d439cd1
CY
120512012-04-04 Chong Yidong <cyd@gnu.org>
12052
321cc491
CY
12053 * minibuffer.el (completion-extra-properties): Doc fix.
12054
3d439cd1
CY
12055 * subr.el (delayed-warnings-hook): Doc fix.
12056
2d562c0f
DU
120572012-04-04 Daiki Ueno <ueno@unixuser.org>
12058
12059 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12060 selection (Bug#11159).
12061 (epa-insert-keys): Inform that the default public key will be
12062 exported if no key is selected.
12063
4443f204
RS
120642012-04-04 Richard Stallman <rms@gnu.org>
12065
12066 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12067
529c06b6
CY
120682012-04-03 Chong Yidong <cyd@gnu.org>
12069
12070 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12071 mail-insert-file, not its obsolete alias mail-attach-file.
12072
66b907dc
MA
120732012-04-03 Michael Albinus <michael.albinus@gmx.de>
12074
12075 * notifications.el (notifications-notify): Fix docstring.
12076
c0ea195d
GM
120772012-04-02 Glenn Morris <rgm@gnu.org>
12078
12079 * emacs-lisp/authors.el (authors-aliases): Another addition.
12080
5ca64e00
MA
120812012-04-02 Michael Albinus <michael.albinus@gmx.de>
12082
12083 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12084 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12085 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12086
42ee526b
CY
120872012-04-01 Chong Yidong <cyd@gnu.org>
12088
12089 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12090 Handle root directory properly.
12091 (copy-directory): Caller changed.
12092
12093 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12094 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12095
0b021094
GM
120962012-03-31 Glenn Morris <rgm@gnu.org>
12097
40f86458
GM
12098 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12099
7019c177
GM
12100 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12101
a1daddd6
GM
12102 * calendar/calendar.el (calendar-window-list)
12103 (calendar-hide-window): Restore. (Bug#11140)
12104 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12105
0b021094
GM
12106 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12107
40311efc
TV
121082012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12109
12110 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12111 Check if file is a symlink (Bug#10489).
12112
12113 * files.el (copy-directory): Likewise.
12114
5319014e
CY
121152012-03-30 Chong Yidong <cyd@gnu.org>
12116
12117 * image.el (imagemagick-types-inhibit)
12118 (imagemagick-register-types): Doc fix.
12119
935d1290
AM
121202012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12121
090bd7cb 12122 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 12123 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 12124 and treats ~word as ordinary words in pipe mode.
935d1290 12125
61c6e8fd
GM
121262012-03-30 Glenn Morris <rgm@gnu.org>
12127
12128 * tutorial.el (help-with-tutorial): Ensure local variables don't
12129 happen to make the buffer read-only. (Bug#11127)
12130
81fdff00
SM
121312012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12134 (perl-calculate-indent): Return `noindent' in strings.
12135
6e7a6ec0
SS
121362012-03-28 Sam Steingold <sds@gnu.org>
12137
12138 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12139 instead of the broken adhockery which does not prevent calendar
12140 buffers from being displayed at random after exit.
12141 (calendar-window-list, calendar-hide-window): Remove the broken
12142 adhockery.
12143
fee88ca0
GM
121442012-03-28 Glenn Morris <rgm@gnu.org>
12145
12146 * replace.el (query-replace-map): Doc fix.
12147
38de3354
AS
121482012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12149
12150 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12151 contents. (Bug#11109)
12152
b973155e
SM
121532012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12156 (bug#11077).
12157 (avl-tree--check, avl-tree--check-node): New funs.
12158
dcb6e7b3
MR
121592012-03-27 Martin Rudalics <rudalics@gmx.at>
12160
12161 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
12162 (switch-to-prev-buffer, switch-to-next-buffer):
12163 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
12164 showing a buffer already is done on the same frame.
12165
b4fa35fa
GM
121662012-03-27 Glenn Morris <rgm@gnu.org>
12167
12168 * startup.el (mail-host-address): Doc fix.
12169
f9210e18
SM
121702012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12173 than 197 variables.
12174
c0bf7753
AF
121752012-03-26 Ami Fischman <ami@fischman.org>
12176
12177 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12178
33da7b16
GM
121792012-03-26 Glenn Morris <rgm@gnu.org>
12180
02243d9d
GM
12181 * files.el (save-buffers-kill-emacs): Doc fix.
12182
33da7b16
GM
12183 * startup.el (normal-top-level, command-line, command-line-1):
12184 Give them doc strings.
12185
e5a69fd0
EZ
121862012-03-25 Eli Zaretskii <eliz@gnu.org>
12187
12188 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 12189 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 12190
9a69676a
CY
121912012-03-25 Chong Yidong <cyd@gnu.org>
12192
4125cb8b
CY
12193 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12194 theme if it was previously enabled before (Bug#11031).
12195
dd470960
CY
12196 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12197 spec with custom-face-get-current-spec if its :shown-value is not
12198 determined yet (Bug#9337).
4125cb8b 12199 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 12200
9a69676a
CY
12201 * button.el (button-at): Minor addition to docstring.
12202
6e7e90fa
SL
122032012-03-24 Simon Leinen <simon.leinen@gmail.com>
12204
12205 * vc/vc.el (vc-merge): Fix a prompt.
12206
f06e2758
CY
122072012-03-24 Chong Yidong <cyd@gnu.org>
12208
12209 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12210 point (Bug#9623).
12211
6e7e90fa
SL
12212 * button.el (button-at): Minor addition to docstring.
12213
b9d0879b
SM
122142012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 * newcomment.el (comment-choose-indent): No space after BOL.
12217
e71cebb3
SS
122182012-03-22 Sam Steingold <sds@gnu.org>
12219
12220 * window.el (switch-to-prev-buffer): Revert last patch because the
12221 bug turned out to be an advertised feature (Elisp manual 28.14).
12222
335aff35
GM
122232012-03-22 Glenn Morris <rgm@gnu.org>
12224
12225 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12226 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12227
c676576a
LMI
122282012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12229
12230 * net/network-stream.el (network-stream-open-starttls): Make error
12231 message under Windows be less misleading.
12232
126f3d39
LW
122332012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12234
12235 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12236 understands (bug#9942).
12237
64fee311
CY
122382012-03-22 Chong Yidong <cyd@gnu.org>
12239
12240 * simple.el (end-of-visible-line): Handle return value of
12241 next-single-property-change properly (Bug#9371).
12242
a640d29a
KH
122432012-03-22 Kenichi Handa <handa@m17n.org>
12244
12245 * international/quail.el (quail-insert-kbd-layout): Fix previous
12246 change. To avoid unwanted bidi reordering, use
12247 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12248
39675016
DG
122492012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12250
12251 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12252 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12253 (ruby-beginning-of-indent): Be more careful with the difference
12254 between word-boundary and symbol boundary.
12255 (ruby-mode-syntax-table): Make : a symbol constituent.
12256
0a6934fc 122572012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 12258
3d008e4f
SM
12259 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12260
0a6934fc
SM
122612012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12262
af67c9d7
SM
12263 * progmodes/etags.el (tags-completion-at-point-function):
12264 Improve last fix.
12265
1acad97c
SM
12266 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12267
e298b5da
SS
122682012-03-21 Sam Steingold <sds@gnu.org>
12269
12270 * progmodes/etags.el (tags-completion-at-point-function):
12271 Avoid the error when point is inside the pattern.
12272
91d82a70
JY
122732012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12274
12275 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12276 line (Bug#10855).
12277
69188b79
CY
122782012-03-21 Drew Adams <drew.adams@oracle.com>
12279
12280 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12281
99fc91fe
AK
122822012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12283
12284 * ido.el (ido-set-current-directory, ido-read-internal)
12285 (ido-choose-completion-string, ido-completion-help): Handle nil
12286 value of ido-completion-buffer (Bug#11008).
12287
087bbb4c
SS
122882012-03-21 Sam Steingold <sds@gnu.org>
12289
12290 * window.el (switch-to-prev-buffer): Do not switch to a visible
12291 window previous buffer, just like with the frame previous buffers.
12292
fb5b8aca
CY
122932012-03-21 Chong Yidong <cyd@gnu.org>
12294
12295 * faces.el (make-face, make-empty-face, copy-face):
12296 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12297 Doc fixes.
12298
dc9924b8
SM
122992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12302 (widget-complete): Remove broken use of it.
12303
f0bcceb9
CY
123042012-03-20 Chong Yidong <cyd@gnu.org>
12305
dc9924b8
SM
12306 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12307 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
12308 characters.
12309
ee52ebf3
TH
123102012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12311
12312 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12313 to draw rectangles, not squares. (Regression introduced by revno
12314 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12315
4c5779ab
CY
123162012-03-18 Chong Yidong <cyd@gnu.org>
12317
12318 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
12319 it is not yet defined (for temacs).
12320
15360934
LL
123212012-03-18 Leo Liu <sdl.web@gmail.com>
12322
735135f9
PE
12323 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
12324 prefix.
15360934 12325
d9a8eb66
EZ
123262012-03-17 Eli Zaretskii <eliz@gnu.org>
12327
12328 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
12329 (ispell-choices-win-default-height, ispell-silently-savep)
12330 (ispell-dictionary-alist, ispell-encoding8-command)
12331 (ispell-check-version, ispell-aspell-find-dictionary)
12332 (ispell-valid-dictionary-list, ispell-words-keyword)
12333 (ispell-get-word, ispell-internal-change-dictionary)
12334 (ispell-region, ispell-skip-region-list)
12335 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
12336 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
12337 (ispell-message-text-end, ispell-message)
12338 (ispell-buffer-local-parsing): Doc fix.
12339
f02ff80d
J
123402012-03-13 Jambunathan K <kjambunathan@gmail.com>
12341
12342 * htmlfontify.el: Add support for code block fontification for ODT
12343 export (Bug #9914).
12344 (hfy-optimisations): Define new option
12345 `body-text-only'
12346 (hfy-fontify-buffer): Honor above setting.
12347 (hfy-begin-span, hfy-end-span): New routines factored out form
12348 `hfy-fontify-buffer'.
12349 (hfy-begin-span-handler, hfy-end-span-handler): New variables
12350 that permit insertion of custom tags.
12351 (hfy-fontify-buffer): Use above handlers.
12352 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
12353 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 12354 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 12355 over multiple runs. This is made possible by having the caller let
f02ff80d
J
12356 bind a special variable `hfy-user-sheet-assoc'.
12357 (htmlfontify-string): New defun.
12358 (hfy-compile-face-map): Make sure that the last char in the
12359 buffer is correctly fontified.
12360 (hfy-face-resolve-face): Whitespace only change.
12361
9ac7a13f
EZ
123622012-03-17 Eli Zaretskii <eliz@gnu.org>
12363
12364 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
12365 message more clear.
12366
e2b5bdd7
LL
123672012-03-16 Leo Liu <sdl.web@gmail.com>
12368
12369 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
12370
2e492df3
AM
123712012-03-16 Alan Mackenzie <acm@muc.de>
12372
677d5c92 12373 Further optimize the handling of large macros.
2e492df3
AM
12374
12375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
12376 limit to a call of `c-literal-limits'.
12377 (c-determine-+ve-limit): New function.
dc9924b8
SM
12378 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
12379 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
12380 In CASE 5B, restrict a search limit to 500.
12381 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
12382
12383 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
12384 Restrict macro bounds to +-500 from after-change's BEG END.
12385
50e94f0c
LL
123862012-03-16 Leo Liu <sdl.web@gmail.com>
12387
12388 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
12389
6f09f6ed
AH
123902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
12391
12392 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 12393 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 12394
c7e73d51
GM
123952012-03-16 Glenn Morris <rgm@gnu.org>
12396
da986230
GM
12397 * view.el (view-buffer, view-buffer-other-window)
12398 (view-buffer-other-frame): Doc fixes re special mode-class.
12399
0835f01e
GM
12400 * subr.el (eval-after-load): If named feature is provided not from
12401 a file, run after-load forms. (Bug#10946)
12402
c7e73d51
GM
12403 * calendar/calendar.el (calendar-insert-at-column):
12404 Handle non-unit-width characters a bit better. (Bug#10978)
12405
3f2eafd1
CY
124062012-03-15 Chong Yidong <cyd@gnu.org>
12407
12408 * emacs-lisp/ring.el (ring-extend): New function.
12409 (ring-insert+extend): Extend the ring correctly (Bug#11019).
12410
12411 * comint.el (comint-read-input-ring)
12412 (comint-add-to-input-history): Grow comint-input-ring lazily.
12413
103af3fe
SM
124142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12415
663b1677
SM
12416 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
12417 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
12418
103af3fe
SM
12419 * imenu.el: Fix multiple inheritance breakage (bug#9199).
12420 (imenu-add-to-menubar): Don't add a redundant index.
12421 (imenu-update-menubar): Handle a dynamically composed keymap.
12422
899cb7cb
KY
124232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
12424
12425 * mail/sendmail.el (mail-encode-header):
12426 Bind rfc2047-encode-encoded-words to nil.
12427
3809f91d
GM
124282012-03-13 Glenn Morris <rgm@gnu.org>
12429
12430 * calendar/calendar.el (calendar-string-spread):
12431 Handle non-unit-width characters a bit better. (Bug#10978)
12432
9e345a01
LL
124332012-03-13 Leo Liu <sdl.web@gmail.com>
12434
12435 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
12436 directory and file as argument (Bug#10822).
12437
4a07df36
KS
124382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12439
12440 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
12441 For dynamically generated code, follow $PC.
12442 (gdb-disassembly-handler-custom): Handle no function name case.
12443
4aaa9356
TL
124442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
12445
12446 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
12447 * emulation/ws-mode.el (ws-query-replace):
12448 * sort.el (sort-regexp-fields):
12449 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
12450
225979da
SM
124512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * dabbrev.el: Fix cycle completion order (bug#10963).
12454 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
12455 (dabbrev-completion): Don't use an obarray; provide
12456 a cycle-sort-function.
12457
e2f1fdab
LL
124582012-03-12 Leo Liu <sdl.web@gmail.com>
12459
dc9924b8 12460 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
12461 (kill-do-not-save-duplicates): Doc fix.
12462
b19490ed
SM
124632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * dabbrev.el: Fix cycle completion (bug#10963).
12466 Use lexical binding and wrap to 80 columns.
12467 (dabbrev-completion): Delay computing the list of completions.
12468
4b05d722
KH
124692012-03-12 Kenichi Handa <handa@m17n.org>
12470
12471 * international/quail.el (quail-insert-kbd-layout): Surround each
12472 row by LRO and PDF instead of inserting many LRMs. Pad the left
12473 and right of each non-spacing marks. Insert invisible space
12474 between lower and upper characters to prevent composition.
12475
dbbc2e69
SM
124762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * minibuffer.el (minibuffer-complete): Don't get confused when the
12479 function is run twice via different commands (bug#10958).
12480 (complete-with-action): Fix docstring.
12481
292112ed
CY
124822012-03-12 Chong Yidong <cyd@gnu.org>
12483
5d1ac394
CY
12484 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
12485 (nxml-completion-at-point-function): New function.
12486 (nxml-mode): Use it.
12487 (nxml-bind-meta-tab-to-complete-flag): Default to t.
12488
292112ed
CY
12489 * emacs-lisp/package.el (package-unpack, package-unpack-single):
12490 Load generated autoloads file before byte compiling (Bug#10970).
12491 (package--make-autoloads-and-compile): New helper fun.
12492
4098f8f7
CS
124932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
12494
12495 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
12496
8f754691
MA
124972012-03-11 Michael Albinus <michael.albinus@gmx.de>
12498
12499 * autorevert.el (auto-revert-handler): Ensure, that
12500 file-readable-p is applied only for local files or in
12501 auto-revert-tail-mode.
12502
e29ab36b
AS
125032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
12504
dbbc2e69
SM
12505 * server.el (server-eval-at): Handle non-tcp connections.
12506 Decode result string.
ad0bf5b6 12507
e29ab36b
AS
12508 * server.el (server-msg-size): New constant.
12509 (server-reply-print): New function.
12510 (server-eval-and-print): Use it.
12511 (server-eval-at): Use server-quote-arg and server-unquote-arg.
12512 Handle -print-nonl.
12513
de5939ba
CS
125142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
12515
12516 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
12517 (Bug#10987).
12518
0c93eabf
CY
125192012-03-11 Chong Yidong <cyd@gnu.org>
12520
397a688f
CY
12521 * simple.el (goto-line): Doc fix (Bug#9938).
12522
2cc775f9
CY
12523 * subr.el (save-window-excursion): Doc fix (Bug#9979).
12524
0c93eabf
CY
12525 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
12526 when finished (Bug#10963).
12527
c491fa41
MR
125282012-03-11 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (split-window-below): Fix bug in case where
12531 split-window-keep-point is nil (Bug#10971).
12532
300e8fa5
JL
125332012-03-11 Juri Linkov <juri@jurta.org>
12534
12535 * replace.el (replace-highlight): Set isearch-word to nil
12536 unconditionally. (Bug#10887)
12537
dbf6c5a1
EZ
125382012-03-10 Eli Zaretskii <eliz@gnu.org>
12539
12540 * net/mairix.el (mairix-replace-invalid-chars): Rename from
12541 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 12542 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
12543 (mairix-widget-create-query): Add usage information about mairix
12544 search forms: negating words, searching for substrings, etc.
12545
b9e501de
JP
125462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
12547
12548 * international/fontset.el (font-encoding-alist): Add an entry for
12549 ksx1001 (Bug#5667).
12550
92795c91
RS
125512012-03-10 Richard Stallman <rms@gnu.org>
12552
1694e6c1
RS
12553 * mail/sendmail.el (mail-encode-header):
12554 Set rfc2047-encode-encoded-words.
12555
607e8555
RS
12556 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
12557
de3bc99a
RS
12558 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
12559 view buffer means not swapped.
12560 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
12561 (rmail-write-region-annotate): Error if real text has disappeared.
12562
92795c91
RS
12563 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
12564
699bd04e
CY
125652012-03-10 Chong Yidong <cyd@gnu.org>
12566
12567 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
12568 * emulation/cua-base.el (cua--init-keymaps):
12569 Add delete-forward-char to remappings (Bug#9666).
699bd04e 12570
570a1714
MR
125712012-03-10 Martin Rudalics <rudalics@gmx.at>
12572
dbbc2e69
SM
12573 * speedbar.el (speedbar-unhighlight-one-tag-line):
12574 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 12575
82dcf4e4
CY
125762012-03-10 Chong Yidong <cyd@gnu.org>
12577
7a2c7ca7
CY
12578 * minibuffer.el (completion-in-region, completion-help-at-point):
12579 Give the completion field overlay a high priority (Bug#6830).
12580
82dcf4e4
CY
12581 * dired.el (dired-goto-file): Recognize absolute file name
12582 listings (Bug#7126).
12583 (dired-goto-file-1): New helper function.
12584 (dired-toggle-read-only): Inhibit warnings.
12585
052e28ac
MA
125862012-03-09 Michael Albinus <michael.albinus@gmx.de>
12587
75f1671a 12588 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
12589 there are no properties.
12590
95d5e396
LL
125912012-03-09 Leo Liu <sdl.web@gmail.com>
12592
12593 * savehist.el (savehist-printable): Stricter check for string
12594 value (Bug#10937).
12595
3f018d6d
EZ
125962012-03-09 Eli Zaretskii <eliz@gnu.org>
12597
dbbc2e69
SM
12598 * mail/smtpmail.el (smtpmail-send-it):
12599 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
12600 valid mbox format.
12601
f7fd3d79
GM
126022012-03-09 Glenn Morris <rgm@gnu.org>
12603
12604 * files.el (dir-locals-find-file):
12605 Don't check result is regular, readable.
12606 (dir-locals-read-from-file): Demote errors.
12607
6ff6e72f
EZ
126082012-03-08 Eli Zaretskii <eliz@gnu.org>
12609
dbbc2e69
SM
12610 * international/quail.el (quail-insert-kbd-layout):
12611 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
12612 layout cell, to prevent their reordering by bidi display engine.
12613 For details, see the discussion in
12614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
12615
9cec7834
AM
126162012-03-08 Alan Mackenzie <acm@muc.de>
12617
12618 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
12619 the starting position; make it extend the marked region when
12620 invoked repeatedly - all under appropriate circumstances.
12621 Fixes bugs #5525, #10906.
12622
9a40b8d4
GM
126232012-03-08 Glenn Morris <rgm@gnu.org>
12624
12625 * files.el (locate-dominating-file, dir-locals-find-file):
12626 Undo 2012-03-06 change.
12627
7a08ed35
EZ
126282012-03-07 Eli Zaretskii <eliz@gnu.org>
12629
dbbc2e69
SM
12630 * international/quail.el (quail-help):
12631 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
12632 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12633 for the reason.
12634
5aca4f71 126352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
12636
12637 Avoid superfluous registering of signals. (Bug#10807)
12638
12639 * notifications.el (notifications-on-action-object)
12640 (notifications-on-close-object): New defvars.
12641 (notifications-on-action-signal, notifications-on-closed-signal):
12642 Unregister the signal if not needed any longer.
12643 (notifications-notify): Register `notifications-action-signal' or
12644 `notifications-closed-signal', if :on-action or :on-close has been
12645 passed as argument.
12646
78e8b10a
CY
126472012-03-07 Chong Yidong <cyd@gnu.org>
12648
12649 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12650 non-X platforms.
12651
69481eb8
GM
126522012-03-06 Glenn Morris <rgm@gnu.org>
12653
12654 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12655 (x-disown-selection-internal, x-get-selection-internal):
12656 Doc fix (add arglist signatures). (Bug#10783)
12657
133b8e11
KS
126582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12659
12660 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12661 Handle breakpoints with no "type".
12662
99a83064
GM
126632012-03-06 Glenn Morris <rgm@gnu.org>
12664
12665 * files.el (locate-dominating-file): Add optional predicate argument.
12666 (dir-locals-find-file): Make use of above change.
12667
17798e78
TTN
126682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12669
12670 * info.el (Info-insert-dir): Also try "dir.gz".
12671
eb182446
GM
126722012-03-06 Glenn Morris <rgm@gnu.org>
12673
8f2114ee
GM
12674 * files.el (dir-locals-find-file):
12675 Ignore non-readable or non-regular files. (Bug#10928)
12676
eb182446
GM
12677 * files.el (locate-dominating-file): Doc fix.
12678
24679323
AS
126792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12680
12681 * calendar/calendar.el (calendar-set-mode-line):
12682 `getenv' returns a string. (Bug#10951)
12683
01d972a9
LL
126842012-03-05 Leo Liu <sdl.web@gmail.com>
12685
109aa8a9
LL
12686 * simple.el (backward-delete-char-untabify): Constrain point to
12687 field (Bug#10939).
12688
01d972a9
LL
12689 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12690
10607bea
CY
126912012-03-05 Chong Yidong <cyd@gnu.org>
12692
12693 * simple.el (count-words): If called from Lisp, return the word
12694 count, for symmetry with `count-lines'. Arglist changed.
12695 (count-words--message): Args changed. Consolidate counting code
12696 from count-words and count-words-region.
12697 (count-words-region): Caller changed.
12698 (count-lines-region): Make it an obsolete alias.
12699
5dd11cfe
TH
127002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12701
12702 * saveplace.el (save-place-to-alist)
12703 (save-place-ignore-files-regexp): Allow value nil to disable this
12704 feature.
12705
c349f4e6
CY
127062012-03-04 Chong Yidong <cyd@gnu.org>
12707
12708 * faces.el (face-spec-reset-face): For the default face, reset the
12709 attributes to default values (Bug#10748).
12710
e627be4c
LMI
127112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12712
12713 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12714 previous patch: Check `message-send-mail-function', and not the
12715 default function (bug#10897).
12716
ebeabff4
MA
127172012-03-04 Michael Albinus <michael.albinus@gmx.de>
12718
a41a6cf4
MA
12719 * notifications.el (notifications-on-action-signal)
12720 (notifications-on-closed-signal): Check for unique service name of
12721 incoming event. Fix error in removing entry.
ebeabff4 12722 (top): Register for signals with wildcard service name.
a41a6cf4 12723 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 12724
c1ca42b4
CY
127252012-03-04 Chong Yidong <cyd@gnu.org>
12726
dc9924b8 12727 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 12728
ea16568d
GM
127292012-03-04 Glenn Morris <rgm@gnu.org>
12730
12731 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12732 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12733 (expand-abbrev, define-abbrev-table): Doc fixes.
12734
fbae4637
LMI
127352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12736
12737 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12738 `message-default-send-mail-function' and not `send-mail-function'
12739 when doing the prompting for `sendmail-query-once' before sending
12740 in Message buffers (bug#10897).
12741
a1e7225c
LMI
12742 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12743 This is inconsistent with all the other stream functions, which leave
12744 the setting up to the higher levels (if so wanted) (bug#10931).
12745
56d093a9
AM
127462012-03-02 Alan Mackenzie <acm@muc.de>
12747
12748 Depessimize the handling of very large macros.
12749
12750 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12751 (c-macro-cache-syntactic): New variables to implement a one
12752 element macro cache.
12753 (c-invalidate-macro-cache): New function.
12754 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12755 Adapt to use the new cache.
12756 (c-state-safe-place): Use better the cache of safe positions.
12757 (c-state-semi-nonlit-pos-cache)
12758 (c-state-semi-nonlit-pos-cache-limit):
12759 New variables for...
12760 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12761 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
12762 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12763 Use c-state-semi-safe-place.
56d093a9 12764
dbbc2e69
SM
12765 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12766 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 12767
817e5c3d
MA
127682012-03-02 Michael Albinus <michael.albinus@gmx.de>
12769
dbbc2e69
SM
12770 * jka-compr.el (jka-compr-call-process):
12771 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
12772 not remote.
12773
a032a702
MA
127742012-03-01 Michael Albinus <michael.albinus@gmx.de>
12775
12776 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12777 access of FILE2, if FILE1 does not exist.
12778
99a54f21
MA
12779 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12780 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12781
12782 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12783 Add "PAGER=" to `process-environment'.
12784
f6561e1f
MM
127852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12786
12787 * progmodes/sql.el: Bug fix
12788 (sql-get-login-ext): Save login values in globals.
12789 (sql-get-login): Use new version of `sql-get-login-ext'.
12790 (sql-interactive-mode): Set global `sql-connection' to nil.
12791 (sql-connect): Set global values for connection.
12792 (sql-product-interactive): Save global values as buffer local.
12793
2d44d9cc
LL
127942012-02-29 Leo Liu <sdl.web@gmail.com>
12795
12796 * abbrev.el (define-abbrevs): Reset sys to nil.
12797
96b49301 127982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12799
bf7f9bc5
JB
12800 * files.el (file-equal-p): Rename from `files-equal-p'.
12801 Return nil when one or both files don't exist.
96b49301 12802 (file-subdir-of-p): Now only top directory must exists,
12803 return nil if it doesn't.
bf7f9bc5
JB
12804 (copy-directory): No need to test with `file-subdir-of-p' after
12805 creating dir.
12806 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12807 to `file-equal-p'.
96b49301 12808
44e97401
GM
128092012-02-28 Glenn Morris <rgm@gnu.org>
12810
12811 * shell.el (shell-mode):
12812 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12813 * play/landmark.el (landmark-font-lock-face-O):
12814 * play/handwrite.el (handwrite):
12815 * play/gomoku.el (gomoku-O):
12816 * net/browse-url.el (browse-url-browser-display):
12817 * international/mule.el (define-charset):
12818 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12819 * filesets.el (filesets-find-file-delay):
12820 * eshell/em-xtra.el (eshell-xtra):
12821 * eshell/em-unix.el (eshell-grep):
12822 * emulation/viper.el (viper-mode):
12823 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12824 * emacs-lisp/easymenu.el (easy-menu-define):
12825 * calendar/timeclock.el (timeclock-use-display-time):
12826 * bs.el (bs-mode):
12827 * bookmark.el (bookmark-save-flag):
12828 Doc fix (standardize possessive apostrophe usage).
12829
c98c6276
CY
128302012-02-27 Chong Yidong <cyd@gnu.org>
12831
bf7f9bc5
JB
12832 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12833 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 12834
c98c6276
CY
12835 * font-lock.el (font-lock-specified-p): Rename from
12836 font-lock-spec-present. Callers changed.
12837
9c62cd04 128382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 12839
bf7f9bc5
JB
12840 * emacs-lisp/package.el (package-compute-transaction):
12841 Handle holding a package version to t in package-load-list.
8ac9e529 12842
530739c9
MA
128432012-02-26 Michael Albinus <michael.albinus@gmx.de>
12844
12845 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12846 (tramp-get-inode, tramp-get-device): Use cached values.
12847
487915d7
AM
128482012-02-26 Alan Mackenzie <acm@muc.de>
12849
12850 Check there is a font-lock specification before doing initial
12851 fontification.
12852
12853 * font-core.el (font-lock-mode): Move the conditional from
12854 :after-hook to font-lock-initial-fontify.
12855 (font-lock-default-function): Move the check for a specification
12856 to font-lock-spec-present.
12857
dc9924b8 12858 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
12859 (font-lock-spec-present): New function.
12860
4fd96557
JB
128612012-02-26 Jim Blandy <jimb@red-bean.com>
12862
12863 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12864 (gdb-send): Apply it to the operand of the '-interpreter-exec
12865 console' command, so that we can pass arguments with (say) quotes
12866 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12867
9a4888c0
CY
128682012-02-26 Chong Yidong <cyd@gnu.org>
12869
07498861
CY
12870 * help-fns.el (describe-function-1): Clarify description of
12871 remapping (Bug#10844).
12872
9a4888c0
CY
12873 * files.el (files-equal-p): Doc fix.
12874 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12875 and quit the loop once a mismatch is found.
12876
ea8fb88d
JB
128772012-02-25 Juanma Barranquero <lekktu@gmail.com>
12878
12879 * bs.el (bs--show-with-configuration): Don't throw an error
12880 if the window cannot be split; otherwise, subsequent calls to
12881 bs-show fail, restoring a stale window config. (Bug#10882)
12882
525795c1
JD
128832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12884
12885 * term/ns-win.el (global-map): Bind ns-drag-file to
12886 ns-find-file (Bug#5855, Bug#10050).
12887
f008086f
AS
128882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12889
12890 * calendar/parse-time.el (parse-time-string): Allow extractor to
12891 return nil.
12892
a3fcfa99
MA
128932012-02-25 Michael Albinus <michael.albinus@gmx.de>
12894
91027d08
JB
12895 * net/tramp.el (tramp-file-name-for-operation):
12896 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
12897
12898 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
12899 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12900 Add COPY-CONTENTS argument.
a3fcfa99 12901
67b0de11
CY
129022012-02-25 Chong Yidong <cyd@gnu.org>
12903
12904 Add custom groups for VC backends, for consistency with vc-bzr.
12905
12906 * vc/vc-arch.el (vc-arch):
12907 * vc/vc-cvs.el (vc-cvs):
12908 * vc/vc-git.el (vc-git):
12909 * vc/vc-hg.el (vc-hg):
12910 * vc/vc-mtn.el (vc-mtn):
12911 * vc/vc-rcs.el (vc-rcs):
12912 * vc/vc-sccs.el (vc-sccs):
12913 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12914 All relevant defcustoms reassigned.
12915
3c9dfce6
CY
129162012-02-25 Chong Yidong <cyd@gnu.org>
12917
1339bf43
CY
12918 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12919
3c9dfce6
CY
12920 * term/x-win.el (x-initialize-window-system): Reduce default for
12921 x-selection-timeout to 5 seconds (Bug#8869).
12922
25b2e303 129232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12924
ec70a47d
GM
12925 * files.el (files-equal-p, file-subdir-of-p): New functions.
12926 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 12927 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
12928 * dired-aux.el (dired-copy-file-recursive): Same.
12929 (dired-create-files): Modify destination when source is equal to
12930 dest when copying files.
53a46cd0 12931 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 12932
914260cd
MA
129332012-02-24 Michael Albinus <michael.albinus@gmx.de>
12934
12935 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12936 (Bug#10874)
12937
2cb228f7
AM
129382012-02-23 Alan Mackenzie <acm@muc.de>
12939
12940 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12941 parameter "after-hook:" to allow the expansion to run code after
12942 the execution of the mode hooks.
12943
12944 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 12945 from font-lock-mode-internal.
2cb228f7 12946
91027d08 12947 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
12948 :after-hook.
12949
8f0fde21
SM
129502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12951
3e88618b
SM
12952 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12953 (completion--cache-all-sorted-completions): New function.
12954 (completion-all-sorted-completions): Use it.
12955 (completion--do-completion, minibuffer-force-complete):
12956 Use it to re-instate the flush hook.
12957
8f0fde21
SM
12958 * icomplete.el (icomplete-completions): Replace last fix with a better
12959 one (bug#10850).
12960
8e911f6f
DG
129612012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12962
12963 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12964 when it might call us back infinitely (bug#10797).
12965
49fe4321
GM
129662012-02-23 Glenn Morris <rgm@gnu.org>
12967
12968 * minibuffer.el (completion-category-overrides): Doc fix.
12969
b291b572
SM
129702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12973 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12974
31a9ef2e
GM
129752012-02-23 Glenn Morris <rgm@gnu.org>
12976
5e6e6794 12977 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
12978 (authors-obsolete-files-regexps, authors-ignored-files)
12979 (authors-ambiguous-files, authors-renamed-files-alist):
12980 Add more entries.
12981
0bd1e074
JL
129822012-02-23 Juri Linkov <juri@jurta.org>
12983
12984 * isearch.el (isearch-occur): Sync interactive spec with occur's
12985 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12986
b617673c
JL
12987 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12988
19e9789e
JL
129892012-02-22 Juri Linkov <juri@jurta.org>
12990
12991 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12992 (ucs-insert): Doc fix. Check for hex digits in the string.
12993 Don't display `nil' in the error message. (Bug#10857)
12994
f41ce09d
AM
129952012-02-22 Alan Mackenzie <acm@muc.de>
12996
7a71b18d 12997 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 12998
ac2eceee
GM
129992012-02-22 Glenn Morris <rgm@gnu.org>
13000
13001 * ffap.el (ffap-c-path):
13002 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13003
abd1f678
CY
130042012-02-22 Chong Yidong <cyd@gnu.org>
13005
13006 * custom.el (load-theme): Doc fix.
13007
f25aef2e
GM
130082012-02-22 Glenn Morris <rgm@gnu.org>
13009
13010 * dired-x.el (dired-guess-shell-alist-default):
13011 Remove escape sequences from nroff output. (Bug#172)
13012
5f8dc2ca
GM
130132012-02-21 Glenn Morris <rgm@gnu.org>
13014
6ff86ec4
GM
13015 * vc/emerge.el (emerge-defvar-local):
13016 Set `permanent-local' property rather than unused `preserved'.
13017
be3223a3 13018 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13019 (picture-mode-map): Use it. (Bug#10860)
13020 (picture-mode): Doc fix.
13021
3fe58f4f
JB
130222012-02-21 Juanma Barranquero <lekktu@gmail.com>
13023
13024 * newcomment.el (uncomment-region-default): Remove unused binding.
13025
f9a998c3
GM
130262012-02-21 Glenn Morris <rgm@gnu.org>
13027
13028 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13029 (picture-self-insert, picture-tab-chars): Doc fix.
13030 (picture-mode-map): Fix C-a, C-e.
13031
c6029348
GM
130322012-02-20 Glenn Morris <rgm@gnu.org>
13033
13034 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13035
ab1ce9d7
LL
130362012-02-20 Leo Liu <sdl.web@gmail.com>
13037
13038 * icomplete.el (icomplete-completions): Check FROM arg before
13039 passing to substring (Bug#10850).
13040
0fd40f89
CY
130412012-02-19 Chong Yidong <cyd@gnu.org>
13042
13043 * comint.el: Require ansi-color.
13044 (comint-output-filter-functions): Add ansi-color-process-output.
13045
13046 * ansi-color.el: Don't set comint-output-filter-functions; it is
13047 now in the initial value defined in comint.el.
13048 (ansi-color-apply-face-function): New variable.
13049 (ansi-color-apply-on-region): Use it.
13050 (ansi-color-apply-overlay-face): New function.
13051
13052 * shell.el (shell): No need to require ansi-color.
13053 (shell-mode): Use ansi-color-apply-face-function to highlight
13054 color escapes using font-lock-face property (Bug#10835).
13055
20af2394
CY
130562012-02-19 Chong Yidong <cyd@gnu.org>
13057
13058 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13059 mode-line formats (Bug#10839).
13060
e23a3fbe
GM
130612012-02-18 Glenn Morris <rgm@gnu.org>
13062
b474519e
GM
13063 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13064
13065 * mail/undigest.el (unforward-rmail-message): Doc fix.
13066
e23a3fbe
GM
13067 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13068
57939ff4
EZ
130692012-02-18 Eli Zaretskii <eliz@gnu.org>
13070
13071 * international/characters.el (script-list): Sync with the latest
13072 Unicode Character Database.
13073
0c23686e
AS
130742012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13075
13076 * international/titdic-cnv.el: Remove duplicate coding tag.
13077 * language/cham.el: Likewise.
13078 * language/tai-viet.el: Likewise.
13079
6818b449
GM
130802012-02-18 Glenn Morris <rgm@gnu.org>
13081
13082 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13083 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13084 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13085 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13086 * calendar/holidays.el (holiday-bahai-holidays)
13087 (calendar-holidays, list-holidays):
13088 Use utf-8 Bahá'í in doc-strings, menus, etc.
13089
0311a3fc
TH
130902012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13091
13092 * saveplace.el (save-place-ignore-files-regexp): New variable
13093 allowing for excluding files from saving their location of point.
13094 The default value matches the temporary commit message editing
13095 files from Git, SVN, Bazaar, and Mercurial.
13096 (save-place-to-alist): Use it.
13097
d209e2fb 130982012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 13099 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
13100
13101 * newcomment.el (uncomment-region-default): Don't leave extra space
13102 when an arg is provided (bug#8150).
13103
ee0ce425
TZ
131042012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13105
eb864a71 13106 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 13107
95ddf442
GM
131082012-02-17 Glenn Morris <rgm@gnu.org>
13109
13110 * net/socks.el: Require network-stream. (Bug#10599)
13111
48dd1e39 131122012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
13113
13114 * international/charprop.el:
13115 * international/uni-name.el:
13116 * international/uni-old-name.el:
13117 * international/uni-comment.el: Regenerate.
13118
d68cd087
GM
131192012-02-16 Glenn Morris <rgm@gnu.org>
13120
13121 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13122 Interactively in calendar buffer, give an error if not on a date.
13123
13932042
GM
131242012-02-15 Glenn Morris <rgm@gnu.org>
13125
13126 * shell.el (shell-delimiter-argument-list):
13127 Revert 2011-02-17 change. (Bug#8027)
13128
c3a70e2b
CY
131292012-02-15 Chong Yidong <cyd@gnu.org>
13130
60236b0d
CY
13131 * minibuffer.el (completion-at-point-functions): Doc fix.
13132
c3a70e2b
CY
13133 * custom.el (defcustom): Doc fix; note use of defvar.
13134
9f26dc24
GM
131352012-02-15 Glenn Morris <rgm@gnu.org>
13136
13137 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13138 Doc fixes.
13139
6546b134
GM
131402012-02-14 Glenn Morris <rgm@gnu.org>
13141
13142 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13143
d29b2b4c
LI
131442012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13145
13146 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13147 way the ports list is computed.
835bdcba
LI
13148 (smtpmail-query-smtp-server): Prompt the user for a port number if
13149 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 13150
08dcdbc9
TZ
131512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13152
13153 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13154
2605051a
GM
131552012-02-13 Glenn Morris <rgm@gnu.org>
13156
13157 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13158
7ee99f32
TZ
131592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13160
13161 * net/gnutls.el (gnutls-trustfiles): New variable.
13162 (gnutls-negotiate): Use it.
13163
5f0af64f
LI
131642012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13165
13166 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13167 does its stuff if Gnus is running.
13168
c14fcc95
AM
131692012-02-13 Alan Mackenzie <acm@muc.de>
13170
13171 Fix a loop in c-set-fl-decl-start.
13172
7a71b18d 13173 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
13174 c-backward-syntactic-ws actually moves backwards.
13175
142b4d90
LL
131762012-02-13 Leo Liu <sdl.web@gmail.com>
13177
13178 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13179 beginning so that all \C-o chars are removed.
13180
fa9958a6
TZ
131812012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13182
dc9924b8 13183 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 13184
0bc5886a
AM
131852012-02-12 Alan Mackenzie <acm@muc.de>
13186
13187 Fix infinite loop with long macros.
4d6769e1 13188 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 13189
d4bd55e7
CY
131902012-02-12 Chong Yidong <cyd@gnu.org>
13191
13192 * window.el (display-buffer): Doc fix (Bug#10785).
13193
66f3fe22
GM
131942012-02-12 Glenn Morris <rgm@gnu.org>
13195
bd7da63e
GM
13196 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13197 (x-disown-selection-internal, x-get-selection-internal):
13198 Sync docs with the xselect.c versions.
13199
66f3fe22
GM
13200 * allout-widgets.el: Add missing license notice.
13201
3e0d2fa7
GM
132022012-02-11 Glenn Morris <rgm@gnu.org>
13203
cfecdf09
GM
13204 * select.el (x-get-selection-internal, x-own-selection-internal)
13205 (x-disown-selection-internal):
13206 * x-dnd.el (x-get-selection-internal): Update declarations.
13207
6d216d7f
GM
13208 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13209
2bed3f04
GM
13210 * window.el (window-sides-slots):
13211 * tool-bar.el (tool-bar-position):
13212 * term/xterm.el (xterm-extra-capabilities):
13213 * ses.el (ses-self-reference-early-detection):
13214 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13215 (verilog-auto-wire-type)
13216 (verilog-auto-delete-trailing-whitespace)
13217 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13218 (verilog-auto-tieoff-declaration):
13219 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13220 (sql-oracle-statement-starters, sql-oracle-scan-on):
13221 * progmodes/prolog.el (prolog-align-comments-flag)
13222 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13223 (prolog-left-indent-regexp, prolog-paren-indent-p)
13224 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13225 (prolog-types, prolog-mode-specificators)
13226 (prolog-determinism-specificators, prolog-directives)
13227 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13228 (prolog-electric-dot-flag)
13229 (prolog-electric-dot-full-predicate-template)
13230 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13231 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13232 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13233 (prolog-program-switches, prolog-prompt-regexp)
13234 (prolog-debug-on-string, prolog-debug-off-string)
13235 (prolog-trace-on-string, prolog-trace-off-string)
13236 (prolog-zip-on-string, prolog-zip-off-string)
13237 (prolog-use-standard-consult-compile-method-flag)
13238 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13239 (prolog-imenu-max-lines, prolog-info-predicate-index)
13240 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13241 (prolog-char-quote-workaround):
13242 * progmodes/cc-vars.el (c-defun-tactic):
13243 * net/tramp.el (tramp-encoding-command-interactive)
13244 (tramp-local-end-of-line):
13245 * net/soap-client.el (soap-client):
13246 * net/netrc.el (netrc-file):
13247 * net/gnutls.el (gnutls):
13248 * minibuffer.el (completion-category-overrides)
13249 (completion-cycle-threshold)
13250 (completion-pcm-complete-word-inserts-delimiters):
13251 * man.el (Man-name-local-regexp):
13252 * mail/feedmail.el (feedmail-display-full-frame):
13253 * international/characters.el (glyphless-char-display-control):
13254 * eshell/em-ls.el (eshell-ls-date-format):
13255 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13256 (lisp-lambda-list-keyword-parameter-indentation)
13257 (lisp-lambda-list-keyword-parameter-alignment):
13258 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13259 * dired-x.el (dired-omit-verbose):
13260 * cus-theme.el (custom-theme-allow-multiple-selections):
13261 * calc/calc.el (calc-highlight-selections-with-faces)
13262 (calc-lu-field-reference, calc-lu-power-reference)
13263 (calc-note-threshold):
13264 * battery.el (battery-mode-line-limit):
13265 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13266 (archive-7z-update):
13267 * allout.el (allout-prefixed-keybindings)
13268 (allout-unprefixed-keybindings)
13269 (allout-inhibit-auto-fill-on-headline)
13270 (allout-flattened-numbering-abbreviation):
13271 * allout-widgets.el (allout-widgets-auto-activation)
13272 (allout-widgets-icons-dark-subdir)
13273 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13274 (allout-widgets-theme-dark-background)
13275 (allout-widgets-theme-light-background)
13276 (allout-widgets-item-image-properties-emacs)
13277 (allout-widgets-item-image-properties-xemacs)
13278 (allout-widgets-run-unit-tests-on-load)
13279 (allout-widgets-time-decoration-activity)
13280 (allout-widgets-hook-error-post-time)
13281 (allout-widgets-track-decoration):
13282 Add missing :version tags to new defcustoms and defgroups.
13283
5fec1b8e
GM
13284 * progmodes/sql.el (sql-ansi-statement-starters)
13285 (sql-oracle-statement-starters): Add custom type.
13286
3e0d2fa7
GM
13287 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13288 (prolog-system-version): Give it a type.
13289
90b671e2
EZ
132902012-02-11 Eli Zaretskii <eliz@gnu.org>
13291
13292 * term/pc-win.el (x-select-text, x-selection-owner-p)
13293 (x-own-selection-internal, x-disown-selection-internal)
13294 (x-get-selection-internal): Sync doc strings and argument lists
13295 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13296
5eac0c02
LL
132972012-02-11 Leo Liu <sdl.web@gmail.com>
13298
13299 * progmodes/python.el (python-end-of-statement): Fix infinite
13300 loop. (Bug#10788)
13301
f82cb659
GM
133022012-02-10 Glenn Morris <rgm@gnu.org>
13303
13304 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13305 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13306
cc26d239
LI
133072012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13308
13309 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13310 about SMTP before checking the From header.
13311
91027d08 13312 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
13313 into own function for reuse by emacsbug.el.
13314
1be3ca5a
LL
133152012-02-10 Leo Liu <sdl.web@gmail.com>
13316
13317 * subr.el (condition-case-unless-debug): Rename from
13318 condition-case-no-debug. All callers changed.
13319 (with-demoted-errors): Fix caller.
13320
13321 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
13322 * nxml/rng-valid.el (rng-do-some-validation):
13323 * emacs-lisp/package.el (package-refresh-contents)
13324 (package-menu-execute):
13325 * desktop.el (desktop-create-buffer):
91027d08 13326 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 13327
b011fbfe
GM
133282012-02-10 Glenn Morris <rgm@gnu.org>
13329
b2096d72
GM
13330 * textmodes/bibtex.el:
13331 Add missing :version tags for new/changed defcustoms.
13332
b011fbfe
GM
13333 * files.el (remote-file-name-inhibit-cache): Doc fixes.
13334
4c7e65bf
LI
133352012-02-09 Lars Ingebrigtsen <larsi@rusty>
13336
13337 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
13338 (smtpmail-via-smtp): Use it, or fall back on the From address.
13339 (smtpmail-send-it): Ditto.
13340
f3934f6f
SM
133412012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
13344 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
13345 (byte-compile-tmp-var): New const.
13346 (byte-compile-defvar): Use it to minimize .elc size.
13347 Just use `defvar' rather than simulate it (bug#10761).
13348
a075a2c5
GM
133492012-02-09 Glenn Morris <rgm@gnu.org>
13350
cf3aa21b
GM
13351 * files.el (rename-uniquely): Doc fix. (Bug#3806)
13352
354998cd
GM
13353 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
13354 Add :version tags.
13355
dc9924b8
SM
13356 * progmodes/compile.el (compilation-error-screen-columns)
13357 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 13358
dab3703d
GM
13359 * vc/log-view.el (log-view-toggle-entry-display):
13360 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
13361
3f88cd72
GM
13362 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
13363 (report-emacs-bug-can-use-xdg-email):
13364 (report-emacs-bug-insert-to-mailer): Doc fixes.
13365 (report-emacs-bug): Message fix.
13366
d95b247d
GM
13367 * net/browse-url.el (browse-url-can-use-xdg-open)
13368 (browse-url-xdg-open): Doc fixes.
13369
a075a2c5
GM
13370 * electric.el (electric-indent-mode, electric-pair-mode)
13371 (electric-layout-rules, electric-layout-mode): Doc fixes.
13372 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
13373
ffb6157e
MR
133742012-02-08 Martin Rudalics <rudalics@gmx.at>
13375
13376 * server.el (server-unselect-display): Don't inadvertently kill
13377 the current buffer. (Bug#10729)
13378
e1ac4066
GM
133792012-02-08 Glenn Morris <rgm@gnu.org>
13380
34e8a2da
GM
13381 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
13382 (sql-list-table): Doc fixes.
13383
b4ac6e8c
GM
13384 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
13385 Comment out (does nothing).
13386
e1ac4066
GM
13387 * completion.el (dynamic-completion-mode):
13388 * dirtrack.el (dirtrack-debug-mode):
13389 * electric.el (electric-layout-mode):
13390 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
13391 * face-remap.el (text-scale-mode, buffer-face-mode):
13392 * iimage.el (iimage-mode):
13393 * image-mode.el (image-transform-mode):
13394 * minibuffer.el (completion-in-region-mode):
13395 * scroll-lock.el (scroll-lock-mode):
13396 * simple.el (next-error-follow-minor-mode):
13397 * tar-mode.el (tar-subfile-mode):
13398 * tooltip.el (tooltip-mode):
13399 * vcursor.el (vcursor-use-vcursor-map):
13400 * wid-browse.el (widget-minor-mode):
13401 * emulation/tpu-edt.el (tpu-edt-mode):
13402 * emulation/tpu-extras.el (tpu-cursor-free-mode):
13403 * international/iso-ascii.el (iso-ascii-mode):
13404 * language/thai-util.el (thai-word-mode):
13405 * mail/supercite.el (sc-minor-mode):
13406 * net/goto-addr.el (goto-address-mode):
13407 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
13408 * progmodes/cwarn.el (cwarn-mode):
13409 * progmodes/flymake.el (flymake-mode):
13410 * progmodes/glasses.el (glasses-mode):
13411 * progmodes/hideshow.el (hs-minor-mode):
13412 * progmodes/pascal.el (pascal-outline-mode):
13413 * textmodes/enriched.el (enriched-mode):
13414 * vc/smerge-mode.el (smerge-mode):
13415 Doc fixes (minor mode argument).
13416
5e0d957f
EZ
134172012-02-07 Eli Zaretskii <eliz@gnu.org>
13418
13419 * ls-lisp.el (ls-lisp-sanitize): New function.
13420 (ls-lisp-insert-directory): Use it to fix or remove any elements
13421 in file-alist with missing attributes. (Bug#4673)
13422
98d7371e
AM
134232012-02-07 Alan Mackenzie <acm@muc.de>
13424
13425 Fix spurious recognition of c-in-knr-argdecl.
13426
13427 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
13428 putative K&R region.
13429
667ced3a
AM
134302012-02-07 Alan Mackenzie <acm@muc.de>
13431
eb864a71
LM
13432 * progmodes/cc-engine.el (c-forward-objc-directive):
13433 Prevent looping in "#pragma mark @implementation".
667ced3a 13434
5b77774d
MA
134352012-02-07 Michael Albinus <michael.albinus@gmx.de>
13436
13437 * notifications.el (notifications-on-closed-signal): Make `reason'
13438 optional. (Bug#10744)
13439
af008560
GM
134402012-02-07 Glenn Morris <rgm@gnu.org>
13441
60d47423
GM
13442 * emacs-lisp/easy-mmode.el (define-minor-mode):
13443 Doc fixes for the macro and the mode it defines.
13444
dd605cc4
GM
13445 * image.el (imagemagick-types-inhibit): Doc fix.
13446
af008560
GM
13447 * cus-start.el (imagemagick-render-type): Add it.
13448
5cc59a37
LI
134492012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
13450
4d6769e1
JB
13451 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
13452 Set the default at load time, too, so that `font-lock-fontify-buffer'
13453 can be called without setting up the entire mode first. This fixes
13454 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 13455
9a6dd747
CY
134562012-02-06 Chong Yidong <cyd@gnu.org>
13457
2d16b285
CY
13458 * simple.el (list-processes--refresh): Delete exited processes
13459 (Bug#8094).
13460
171e9b6e
CY
13461 * comint.el (comint-next-prompt): next-single-char-property-change
13462 and prev-single-char-property-change never return nil (Bug#8657).
13463
9a6dd747
CY
13464 * custom.el (defcustom): Doc fix (Bug#9711).
13465
aa4589a7
CY
134662012-02-05 Chong Yidong <cyd@gnu.org>
13467
5c2a252f
CY
13468 * cus-edit.el (custom-variable-reset-backup): Quote the value
13469 before storing it in the customized-value property (Bug#6712).
4aab9006 13470 (custom-display): Add a customization type tag.
983b9602 13471 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 13472
aa4589a7
CY
13473 * wid-edit.el (widget-field-value-get): New optional arg to
13474 suppress trailing whitespace truncation.
13475 (character): Use it (Bug#2689).
13476
1ff980ae
AS
134772012-02-05 Andreas Schwab <schwab@linux-m68k.org>
13478
13479 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
13480 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
13481
03988c98
CY
134822012-02-05 Chong Yidong <cyd@gnu.org>
13483
eeb6cc88
CY
13484 * cus-edit.el (custom-variable-value-create): For mismatched
13485 types, show the current value (Bug#7600).
13486
03988c98
CY
13487 * custom.el (defcustom): Doc fix.
13488
f8cdeef0
GM
134892012-02-05 Glenn Morris <rgm@gnu.org>
13490
13491 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
13492
0696d255
JB
134932012-02-05 Juanma Barranquero <lekktu@gmail.com>
13494
13495 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
13496 (pp-buffer): Use `ignore-errors', `looking-at-p'.
13497 (pp-last-sexp): Use `looking-at-p'.
13498
34c99998
GM
134992012-02-04 Glenn Morris <rgm@gnu.org>
13500
8f05da42
GM
13501 * files.el (revert-buffer):
13502 Doc fix (mention revert-buffer-in-progress-p).
13503
f160676e
GM
13504 * emacs-lisp/ert-x.el (ert-simulate-command):
13505 Check deferred-action-list (which is obsolete) is bound.
13506
c7291ad9
GM
13507 * subr.el (with-wrapper-hook): Doc fixes.
13508
34c99998
GM
13509 * simple.el (filter-buffer-substring-functions)
13510 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
13511
6283a7d3
LL
135122012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
13513
13514 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
13515 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
13516
e96e3013
LL
135172012-02-04 Leo Liu <sdl.web@gmail.com>
13518
13519 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
13520
8ded50f2
GM
135212012-02-04 Glenn Morris <rgm@gnu.org>
13522
82ff1d13
GM
13523 * image.el (image-extension-data): Add obsolete alias.
13524
987a0a16
GM
13525 * isearch.el (isearch-update): Doc fix.
13526
ea32ef46
GM
13527 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
13528
8ded50f2
GM
13529 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
13530
eea14f31
GM
135312012-02-03 Glenn Morris <rgm@gnu.org>
13532
13533 * image.el (image-animated-p): Doc fix. Use image-animated-types.
13534 (image-animate-timeout): Doc fix.
13535
13536 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
13537
12f381b7
GM
135382012-02-02 Glenn Morris <rgm@gnu.org>
13539
953cebf5
GM
13540 * server.el (server-auth-dir): Doc fix.
13541 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
13542
12f381b7
GM
13543 * subr.el (run-mode-hooks): Doc fix.
13544
953a8c3b
JL
135452012-02-02 Juri Linkov <juri@jurta.org>
13546
13547 * image-mode.el (image-toggle-display-image): Remove tautological
13548 `major-mode' from the `derived-mode-p' test.
13549
c5d3843c
KH
135502012-02-02 Kenichi Handa <handa@m17n.org>
13551
9f6e692e 13552 * composite.el (compose-region): Cancel previous change.
c5d3843c 13553
159462d4 135542012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
13555
13556 * composite.el (compose-region, compose-string): Signal error for
13557 a null string component (Bug#6988).
13558
9f562668
CY
135592012-02-01 Chong Yidong <cyd@gnu.org>
13560
e2cef717
CY
13561 * view.el (view-buffer-other-window, view-buffer-other-frame):
13562 Handle special modes like view-buffer (Bug#10650).
13563 (view-buffer): Simplify.
13564
9f562668
CY
13565 * frame.el (set-frame-font): Tweak meaning of third argument.
13566
9f6e692e
JB
13567 * dynamic-setting.el (font-setting-change-default-font):
13568 Use set-frame-font (Bug#9982).
9f562668 13569
781acb9f
GM
135702012-02-01 Glenn Morris <rgm@gnu.org>
13571
6035be52
GM
13572 * progmodes/compile.el (compilation-internal-error-properties):
13573 Respect compilation-first-column in the "*compilation*" buffer.
13574
781acb9f
GM
13575 * emacs-lisp/easy-mmode.el (define-minor-mode):
13576 Relax :variable's test for a named function.
13577
abbceb00
AM
135782012-01-31 Alan Mackenzie <acm@muc.de>
13579
13580 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
13581 off by one error.
13582
fce3fdeb
CY
135832012-01-31 Chong Yidong <cyd@gnu.org>
13584
13585 * frame.el (set-frame-font): New arg ALL-FRAMES.
13586
13587 * menu-bar.el (menu-set-font): Use set-frame-font.
13588
13589 * faces.el (face-spec-reset-face): Don't apply unspecified
13590 attribute values to the default face.
13591
47893581
JB
135922012-01-31 Juanma Barranquero <lekktu@gmail.com>
13593
13594 * progmodes/cwarn.el (cwarn): Remove dead link.
13595 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
13596 Remove * from defcustom docstrings.
13597 (turn-on-cwarn-mode): Make obsolete.
13598 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
13599 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
13600
e58e988a
GM
136012012-01-31 Glenn Morris <rgm@gnu.org>
13602
60dc2671 13603 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 13604 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 13605 Allow named functions to be used as the cdr of :variable.
e58e988a 13606
7a3f511d
GM
136072012-01-30 Glenn Morris <rgm@gnu.org>
13608
13609 * emacs-lisp/authors.el (authors-fixed-entries):
13610 Remove reference to deleted file rnewspost.el.
13611
cb882333
JB
136122012-01-29 Juanma Barranquero <lekktu@gmail.com>
13613
13614 * window.el (window-with-parameter): Remove unused variable `windows'.
13615 (window--side-check): Remove unused variable `code'.
13616 (window--resize-siblings): Remove unused variable `first'.
13617 (adjust-window-trailing-edge): Remove unused variable `failed'.
13618 (window-deletable-p, window--delete): Remove unused variable `buffer'.
13619 Use `let', not `let*'.
13620 (balance-windows-2): Remove unused variable `found'.
13621 (window--state-put-2): Remove unused variable `splits'.
13622 (window-state-put): Remove unused variable `selected'.
13623 (same-window-p): Use `string-match-p'.
13624 (display-buffer-assq-regexp): Remove unused variable `value'.
13625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13626 Mark argument ALIST as ignored.
13627 (pop-to-buffer): Remove unused variable `old-window'.
13628
907201af
EZ
136292012-01-29 Eli Zaretskii <eliz@gnu.org>
13630
13631 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13632 and .lzma compressed files.
13633
ea162670
CY
136342012-01-29 Chong Yidong <cyd@gnu.org>
13635
5b95ee8a
CY
13636 * frame.el (window-system-default-frame-alist): Doc fix.
13637
ea162670
CY
13638 * dynamic-setting.el (font-setting-change-default-font): Don't
13639 change the default face if SET-FONT argument is non-nil (Bug#9982).
13640
6fccd6e8 136412012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
13642
13643 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13644
0f29fa41 136452012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
13646
13647 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13648 breakpoints in files outside current directory (Bug#6098).
13649
db174434
CY
136502012-01-29 Chong Yidong <cyd@gnu.org>
13651
6b25e4e2
SE
13652 * progmodes/python.el: Require ansi-color at top-level.
13653
6df6ae42
JB
13654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13655 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
13656 (lisp-mode-abbrev-table): Add doc.
13657 (lisp-mode-variables): Don't set local-abbrev-table.
13658 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13659
e70ee681
RW
136602012-01-28 Roland Winkler <winkler@gnu.org>
13661
13662 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13663
ace88aa2
RW
136642012-01-28 Roland Winkler <winkler@gnu.org>
13665
13666 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13667 (bibtex-set-dialect): Use it. Either set global values of
13668 dialect-dependent variables or bind these variables buffer-locally
13669 (Bug#10254).
13670 (bibtex-mode): Call bibtex-set-dialect via
13671 hack-local-variables-hook.
eb864a71
LM
13672 (bibtex-dialect): Update docstring.
13673 Add safe-local-variable predicate.
ace88aa2
RW
13674 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13675 bibtex-set-dialect.
13676 (bibtex-mode-map): Define menu for each dialect.
13677 (bibtex-entry): Fix docstring.
13678
93376c5b
CY
136792012-01-28 Chong Yidong <cyd@gnu.org>
13680
13681 * eshell/esh-arg.el (eshell-quote-argument): New function.
13682
13683 * eshell/esh-ext.el (eshell-invoke-batch-file):
13684 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13685 first arg to eshell-parse-command (Bug#10523).
13686
4372494f
DA
136872012-01-28 Drew Adams <drew.adams@oracle.com>
13688
13689 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13690 `default-directory' is non-nil.
13691
4d4ec1f8
EZ
136922012-01-28 Eli Zaretskii <eliz@gnu.org>
13693
13694 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13695 line that displays system-configuration-options. (Bug#9924)
13696
7c188927
DA
136972012-01-28 Drew Adams <drew.adams@oracle.com>
13698
13699 * descr-text.el (describe-char): Show information about POS, in
13700 addition to information about the character at POS. Improve and
13701 update the doc string. Change "code point" to "code point in
13702 charset", to avoid confusion with the character's Unicode code
13703 point shown above that. (Bug#10129)
13704
e0da685a
EZ
137052012-01-28 Eli Zaretskii <eliz@gnu.org>
13706
13707 * descr-text.el (describe-char): Show the raw character, not only
13708 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13709 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13710 for the reasons.
13711
70550acf
PH
137122012-01-28 Phil Hagelberg <phil@hagelb.org>
13713
eb864a71
LM
13714 * emacs-lisp/package.el (package-install):
13715 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 13716
0ce8e868
CY
137172012-01-28 Chong Yidong <cyd@gnu.org>
13718
cb882333
JB
13719 * emacs-lisp/package.el (package-maybe-load-descriptor):
13720 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
13721 (package-maybe-load-descriptor): Use it.
13722 (package-download-transaction): Fully load required packages
13723 inside the loop, so that `require' calls work (Bug#10593).
13724 (package-install): No need to call package-initialize now.
13725
2e7f3bea
CY
137262012-01-28 Chong Yidong <cyd@gnu.org>
13727
6e9bad14
CY
13728 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13729
f823b8ca
CY
13730 * tooltip.el (tooltip-mode): Doc fix.
13731 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13732
2680c309
CY
13733 * frame.el (set-cursor-color): Doc fix (Bug#352).
13734
d7a9e63b
CY
13735 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13736 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13737
2e7f3bea
CY
13738 * cus-edit.el (custom-buffer-create-internal): Fix search button
13739 action (Bug#10542).
2ae01800 13740 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 13741
fc4f7a23
EW
137422012-01-27 Eduard Wiebe <usenet@pusto.de>
13743
13744 * dired.el (dired-mark-files-regexp):
13745 Include any subdirectory components. (Bug#10445)
13746
7dd37071
ML
137472012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13748
13749 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13750 Handle [host]:port syntax. (Bug#10533)
13751
a268160b
AH
137522012-01-27 Alex Harsanyi <harsanyi@mac.com>
13753
13754 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13755
e43273ef
GM
137562012-01-26 Glenn Morris <rgm@gnu.org>
13757
13758 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13759 * term.el (term-raw-escape-map): Use Control-X-prefix.
13760 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13761
1edf595d
MR
137622012-01-25 Martin Rudalics <rudalics@gmx.at>
13763
13764 * window.el (window-state-get, window--state-get-1): Don't deal
13765 with fixed-sizeness of windows. Simplify code.
13766
fa8eafef
JC
137672012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13768
6df6ae42
JB
13769 * window.el (window--state-get-1, window--state-put-2):
13770 Don't save and restore the mark.
fa8eafef 13771
0b21c100
CY
137722012-01-25 Chong Yidong <cyd@gnu.org>
13773
13774 * custom.el (custom-variable-p): Doc fix.
13775
5ae1a6c8
GM
137762012-01-25 Glenn Morris <rgm@gnu.org>
13777
40047858
GM
13778 * dired.el (dired-goto-file): Handle some of the more common
13779 characters that `ls -b' escapes. (Bug#10596)
13780
5ddce96c
GM
13781 * progmodes/compile.el (compilation-next-error-function):
13782 Respect compilation-first-column in the "*compilation*" buffer.
13783 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13784
5ae1a6c8
GM
13785 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13786
b559f1a9
GM
137872012-01-24 Glenn Morris <rgm@gnu.org>
13788
13789 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13790
6725d21a
JD
137912012-01-24 Julien Danjou <julien@danjou.info>
13792
13793 * color.el (color-rgb-to-hsl): Fix value computing.
13794 (color-hue-to-rgb): New function.
13795 (color-hsl-to-rgb): New function.
13796 (color-clamp, color-saturate-hsl, color-saturate-name)
13797 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13798 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13799
70df4bbe
GM
138002012-01-24 Glenn Morris <rgm@gnu.org>
13801
13802 * vc/vc-rcs.el (vc-rcs-create-tag):
13803 * vc/vc-sccs.el (vc-sccs-create-tag):
13804 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13805
802a2ae2
ML
138062012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13807
13808 * eshell/esh-util.el (eshell-read-hosts-file):
13809 Skip comment lines. (Bug#10549)
13810
d7128bb1
ML
13811 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13812
d1a5c3b4
JB
138132012-01-23 Juanma Barranquero <lekktu@gmail.com>
13814
2724d9c7
JB
13815 * subr.el (display-delayed-warnings): Doc fix.
13816 (collapse-delayed-warnings): New function to collapse identical
13817 adjacent warnings.
13818 (delayed-warnings-hook): Add it.
d1a5c3b4 13819
a5509865
MA
138202012-01-22 Michael Albinus <michael.albinus@gmx.de>
13821
13822 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13823
a5509865
MA
13824 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13825 (tramp-default-user-alist): Don't add "pscp".
13826 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13827 property "login-as", if set. (Bug#10530)
13828
cc6d5805
MA
138292012-01-21 Michael Albinus <michael.albinus@gmx.de>
13830
13831 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13832 "plink1" and "psftp". (Bug#10530)
13833
138342012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
13835
13836 * international/mule-cmds.el (prefer-coding-system): Show a
13837 warning message if the default value of file-name-coding-system
13838 was not changed.
13839
f0960428
JC
138402012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13841
cb882333
JB
13842 * windmove.el (windmove-reference-loc):
13843 Fix windmove-reference-loc miscalculation.
f0960428 13844
dd6f2a63
JB
138452012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13846
13847 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13848 default unit.
13849
7b447e9b
GM
138502012-01-21 Glenn Morris <rgm@gnu.org>
13851
117a9ea1
GM
13852 * international/mule.el (auto-coding-alist): Add .tbz.
13853
7b447e9b
GM
13854 * files.el (local-enable-local-variables): Doc fix.
13855 (inhibit-local-variables-regexps): Rename from
13856 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13857 Doc fix. Add some extensions from auto-coding-alist.
13858 (inhibit-local-variables-suffixes):
13859 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13860 (inhibit-local-variables-p):
13861 New function, extracted from set-auto-mode-1.
13862 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13863 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13864 (hack-local-variables): Doc fix. Make the mode-only case
13865 respect enable-local-variables and friends.
13866 Respect inhibit-local-variables-regexps for file-locals, but
13867 not for directory-locals.
13868 (set-visited-file-name):
13869 Take account of inhibit-local-variables-regexps.
13870 Whether it applies may change as the file name is changed.
13871 * jka-cmpr-hook.el (jka-compr-install):
13872 * jka-compr.el (jka-compr-uninstall):
13873 Update for inhibit-first-line-modes-suffixes name change.
13874
dd6e3cdd
MR
138752012-01-20 Martin Rudalics <rudalics@gmx.at>
13876
13877 * help-macro.el (make-help-screen): Temporarily restore original
13878 binding for minor-mode-map-alist (Bug#10454).
13879
0d0deb38
JD
138802012-01-19 Julien Danjou <julien@danjou.info>
13881
13882 * color.el (color-name-to-rgb): Use the white color to find the max
13883 color component value and return correctly computed values.
13884 (color-name-to-rgb): Add missing float conversion for max value.
13885
34a02f46
MR
138862012-01-19 Martin Rudalics <rudalics@gmx.at>
13887
13888 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
13889 special state value for window-persistent-parameters.
13890 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
13891 (window--state-put-2): Reset all window parameters to nil before
13892 assigning values of persistent parameters.
13893
606c44c4
AM
138942012-01-18 Alan Mackenzie <acm@muc.de>
13895
13896 Eliminate sluggishness and hangs in fontification of "semicolon
13897 deserts".
13898
cb882333
JB
13899 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13900 Change value 10000 -> 3000.
606c44c4
AM
13901 (c-state-safe-place): Reformulate so it doesn't stack up an
13902 infinite number of wrong entries in c-state-nonlit-pos-cache.
13903 (c-determine-limit-get-base, c-determine-limit): New functions to
13904 determine backward search limits disregarding literals.
13905 (c-find-decl-spots): Amend commenting.
13906 (c-cheap-inside-bracelist-p): New function which detects "={".
13907
13908 * progmodes/cc-fonts.el
13909 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13910 backward search.
13911 (c-font-lock-declarations): Fix an occurrence of point being
13912 undefined. Check additionally for point being in a bracelist or
13913 near a macro invocation without a semicolon so as to avoid a
13914 fruitless time consuming search for a declarator. Give a more
13915 precise search limit for declarators using the new
13916 c-determine-limit.
13917
f3860cea
GM
139182012-01-18 Glenn Morris <rgm@gnu.org>
13919
13920 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13921 (set-auto-mode): Doc fixes.
13922
1db03b16
GM
139232012-01-17 Glenn Morris <rgm@gnu.org>
13924
0e6038be
GM
13925 * isearch.el (search-nonincremental-instead): Fix doc typo.
13926
1db03b16
GM
13927 * dired.el (dired-insert-directory): Handle newlines in directory name.
13928 (dired-build-subdir-alist): Unescape newlines in directory name.
13929
4cb0aa75
MA
139302012-01-17 Michael Albinus <michael.albinus@gmx.de>
13931
13932 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13933 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13934 (tramp-action-terminal): Use it. (Bug#10530)
13935
1d00653d
SM
139362012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13939
6a6ee00d
MR
139402012-01-16 Martin Rudalics <rudalics@gmx.at>
13941
13942 * window.el (window-state-ignored-parameters): Remove variable.
13943 (window--state-get-1): Rename argument MARKERS to IGNORE.
13944 Handle persistent window parameters. Make copy of clone-of
13945 parameter only if requested. (Bug#10348)
13946 (window--state-put-2): Install a window parameter only if it has
13947 a non-nil value or an existing parameter shall be overwritten.
13948
97912def
MA
139492012-01-15 Michael Albinus <michael.albinus@gmx.de>
13950
13951 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13952
688070a5
EZ
139532012-01-14 Eli Zaretskii <eliz@gnu.org>
13954
13955 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13956 don't pass the (nil) value of `upnode' to string-match.
13957
301afadc
CY
139582012-01-14 Chong Yidong <cyd@gnu.org>
13959
13960 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 13961 Fix values recognized by the cursorBlink resource.
301afadc 13962
9e5788aa
PE
139632012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13964
13965 * epg.el (epg--make-temp-file): Avoid permission race condition
13966 when running on old Emacs versions (bug#10403).
13967
3cdb7f5a
GM
139682012-01-14 Glenn Morris <rgm@gnu.org>
13969
13970 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13971
8c82b1b4
AM
139722012-01-13 Alan Mackenzie <acm@muc.de>
13973
13974 Fix filling for when filladapt mode is enabled.
13975
13976 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13977 c-mask-paragraph, pass in `fill-paragraph' rather than
13978 `fill-region-as-paragraph'. (This is a reversion of a previous
13979 change.)
eb864a71
LM
13980 * progmodes/cc-mode.el (c-basic-common-init):
13981 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 13982
e517eda4
GM
139832012-01-13 Glenn Morris <rgm@gnu.org>
13984
1498536e
GM
13985 * dired.el (dired-switches-escape-p): New function.
13986 (dired-insert-directory): Use dired-switches-escape-p.
13987 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13988
e517eda4
GM
13989 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13990
328f984d
GM
139912012-01-12 Glenn Morris <rgm@gnu.org>
13992
13993 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13994 changes in adaptive-fill-regexp. (Bug#10276)
13995
2cc769a8
AM
139962012-01-11 Alan Mackenzie <acm@muc.de>
13997
13998 Fix Emacs bug #10463 - put `widen's around the critical spots.
13999
1d00653d 14000 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14001 widen around each invocation of c-state-pp-to-literal. Remove an
14002 unused let variable.
14003
e52c37fa
GM
140042012-01-11 Glenn Morris <rgm@gnu.org>
14005
14006 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14007 Doc fix.
e52c37fa 14008
96f8741e
CY
140092012-01-10 Chong Yidong <cyd@gnu.org>
14010
1d00653d
SM
14011 * net/network-stream.el (network-stream-open-starttls):
14012 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14013 response to the capability command.
14014
b09a806e
GM
140152012-01-10 Glenn Morris <rgm@gnu.org>
14016
14017 * mail/unrmail.el (unrmail): Tweak previous change.
14018
7655cb66
CY
140192012-01-09 Chong Yidong <cyd@gnu.org>
14020
14021 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14022
9d5a8f0b
AM
140232012-01-08 Alan Mackenzie <acm@muc.de>
14024
677d5c92 14025 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14026
14027 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14028 arm to a cond form to handle enums.
14029 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14030 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14031
9a0115ab 140322012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14033
14034 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14035 (Bug#10401)
6bb72cbd 14036
f186bb95
LMI
140372012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14038
29232a68
LMI
14039 * faces.el (set-face-attribute): Clarify the meaning of the nil
14040 frame (bug#10294).
14041
4e5d086d
LMI
14042 * subr.el (with-selected-frame): Mention that the selected frame
14043 is restored (bug#9980).
14044
8e66aebe
LMI
14045 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14046 (bug#9759).
14047
cd394be1 14048 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14049 (password-read): Don't autoload unused function.
14050
adf4e762
JB
140512012-01-07 Juanma Barranquero <lekktu@gmail.com>
14052
14053 * progmodes/which-func.el (which-func-mode): Turn into a
14054 non-interactive function and mark as obsolete (bug#10428).
14055
89bd9ccd
CY
140562012-01-06 Chong Yidong <cyd@gnu.org>
14057
14058 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14059 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14060 functions, along with 1 and -1.
14061
4afee9d5
EZ
140622012-01-06 Eli Zaretskii <eliz@gnu.org>
14063
14064 * time.el (display-time-load-average)
14065 (display-time-default-load-average): Doc fixes. See the thread
14066 starting at
14067 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14068 for the details.
14069
536aea70
GM
140702012-01-06 Glenn Morris <rgm@gnu.org>
14071
665ae865
GM
14072 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14073 has no messages. (Bug#10377)
14074
c869783d
GM
14075 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14076 than Info-edit. (Bug#10385)
14077
2bb4227e
GM
14078 * time.el (display-time-load-average, display-time-next-load-average):
14079 Doc fixes.
14080
7d5944b9
GM
14081 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14082 local setting of buffer-read-only to the input buffer. (Bug#10419)
14083
536aea70
GM
14084 * calendar/calendar.el (calendar-mode):
14085 Locally set scroll-margin to 0. (Bug#10379)
14086
7dccca16
UM
140872012-01-06 Ulrich Mueller <ulm@gentoo.org>
14088
14089 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14090
afbb7930
GM
140912012-01-05 Glenn Morris <rgm@gnu.org>
14092
14093 * eshell/em-unix.el (diff-no-select): Autoload it.
14094 (eshell/diff): Use diff-no-select. (Bug#10420)
14095
04482335
CY
140962012-01-05 Chong Yidong <cyd@gnu.org>
14097
7baca3bc
CY
14098 * shell.el (shell-dynamic-complete-functions): Revert last change.
14099 (shell-command-completion-function): New function.
14100 (shell-completion-vars): Use it to implement
14101 shell-completion-execonly (Bug#10417).
14102
04482335
CY
14103 * custom.el (enable-theme): Don't set custom-safe-themes.
14104
1d00653d
SM
14105 * cus-theme.el (custom-theme-merge-theme):
14106 Ignore custom-enabled-themes and custom-safe-themes.
04482335 14107
bb5aa5d6
MM
141082012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14109
14110 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14111 first prompt in `sql-interacive-mode'.
14112 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 14113 keywords.
6df6ae42 14114 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
14115 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14116 context of original buffer. Invoke `sql-login-hook'.
14117
a7183d7c
EZ
141182012-01-04 Eli Zaretskii <eliz@gnu.org>
14119
14120 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14121 letters in cite-prefix.
14122
a1eacd1e
LMI
141232012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14124
14125 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14126
787cdb34
CY
141272012-01-03 Chong Yidong <cyd@gnu.org>
14128
1d00653d
SM
14129 * shell.el (shell-dynamic-complete-functions):
14130 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
14131 comint-filename-completion first (Bug#10417).
14132
30710442
RS
141332012-01-02 Richard Stallman <rms@gnu.org>
14134
14135 * battery.el (battery-status-function):
14136 Detect when to use battery-yeeloong-sysfs.
14137 (battery-echo-area-format): Add string for Yeeloong.
14138 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14139 (battery-yeeloong-sysfs): New function.
14140
f75bfc33
CY
141412012-01-02 Chong Yidong <cyd@gnu.org>
14142
14143 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14144 (dirtrack): Merge code for handling relative filenames in prompt
14145 from shell-dir-cookie-watcher.
14146 (dirtrack-debug-message): New arg to avoid excess format calls.
14147
14148 * shell.el (shell-dir-cookie-re): Variable deleted.
14149 (shell-dir-cookie-watcher): Function deleted.
14150 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14151 with dirtrack-mode.
14152
651e947e
EZ
141532012-01-01 Eli Zaretskii <eliz@gnu.org>
14154
1d00653d
SM
14155 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14156 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
14157 libgnutls-26.dll.
14158
94d4c7dc
AS
141592011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14160
14161 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14162
8d43f3cd
EZ
141632011-12-31 Eli Zaretskii <eliz@gnu.org>
14164
14165 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14166 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14167
98c8795a
MA
141682011-12-29 Michael Albinus <michael.albinus@gmx.de>
14169
14170 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14171 also for alternative shells.
14172 (tramp-open-connection-setup-interactive-shell): Check, whether
14173 the shell is a busybox.
14174 (tramp-send-command): Don't suppress multiple prompts for
14175 busyboxes, it hurts.
14176
51281b32
CY
141772011-12-28 Chong Yidong <cyd@gnu.org>
14178
14179 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14180 (gdb-get-source-file): Move mode line update to
14181 gdb-get-source-file (Bug#10087).
14182
2170cb53
CY
141832011-12-25 Chong Yidong <cyd@gnu.org>
14184
14185 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14186 gud-gdb-marker-filter without taking it as an argument.
14187 (gud-gdb-run-command-fetch-lines): Caller changed.
14188 (gud-gdb-completion-function): New variable.
14189 (gud-gdb-completion-at-point): Use it.
14190 (gud-gdb-completions-1): Split from gud-gdb-completions.
14191
14192 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14193 function as separate arguments.
14194 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14195 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14196 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14197 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14198 (gdb-stopped, def-gdb-auto-update-trigger)
14199 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
14200 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14201 Callers changed.
2170cb53
CY
14202 (gud-gdbmi-completions): New function.
14203 (gdb): Use it for generating the completion table.
14204
be8b11bb
AM
142052011-12-24 Alan Mackenzie <acm@muc.de>
14206
14207 Introduce a mechanism to widen the region used in context font
1d00653d 14208 locking. Use this to protect declarations from losing their contexts.
be8b11bb 14209
1d00653d
SM
14210 * progmodes/cc-langs.el (c-before-font-lock-functions):
14211 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 14212 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
14213 functions to be run just before context (etc.) font locking.
14214
14215 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 14216 New, functionality extracted from
be8b11bb 14217 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 14218 (c-in-after-change-fontification): New variable.
be8b11bb
AM
14219 (c-after-change): Set c-in-after-change-fontification.
14220 (c-set-fl-decl-start): Rejig its interface, so it can be called
14221 from both after-change and context fontifying.
b81d40f0
JB
14222 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14223 New functions.
14224 (c-standard-font-lock-fontify-region-function): New variable.
14225 (c-font-lock-fontify-region): New function.
be8b11bb 14226
341cf6ac
JL
142272011-12-24 Juri Linkov <juri@jurta.org>
14228
14229 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14230 (Bug#10348)
14231
bffcee0a
MA
142322011-12-23 Michael Albinus <michael.albinus@gmx.de>
14233
14234 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14235 existence of source file. (Bug#10325)
14236
cb5e207c
AM
142372011-12-23 Alan Mackenzie <acm@muc.de>
14238
14239 Fix unstable fontification inside templates.
14240
b81d40f0
JB
14241 * progmodes/cc-langs.el (c-before-font-lock-functions):
14242 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
14243 additionally has c-set-fl-decl-start. The other languages (apart
14244 from AWK) have that as a single entry.
14245
b81d40f0
JB
14246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14247 The functionality for "local" declarations has been extracted to
cb5e207c
AM
14248 c-set-fl-decl-start.
14249
b81d40f0
JB
14250 * progmodes/cc-mode.el (c-common-init, c-after-change):
14251 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
14252 (c-set-fl-decl-start): New function, extracted from
14253 c-font-lock-enclosing-decls and enhanced.
14254
60ff536c
JB
142552011-12-23 Juanma Barranquero <lekktu@gmail.com>
14256
14257 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14258
1c4757d6
JL
142592011-12-22 Juri Linkov <juri@jurta.org>
14260
14261 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14262
d031f2c7
CY
142632011-12-22 Chong Yidong <cyd@gnu.org>
14264
14265 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14266
bace743a
DA
142672011-12-21 Drew Adams <drew.adams@oracle.com>
14268
14269 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14270
728a1f2b
JC
142712011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14272
14273 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14274
0d373f73
TZ
142752011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14276
fec0aaa4
TZ
14277 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14278 highlighting and support. Fix up comments for capitalization.
14279 (cfengine-mode-debug): New var.
14280 (cfengine3-mode): Change the modeline indicator to "CFE3".
14281 (cfengine3-font-lock-keywords): Improve defun highlighting.
14282 (cfengine2-actions): Rename from `cfengine-actions'.
14283 (cfengine2-font-lock-keywords): Rename from
14284 `cfengine-font-lock-keywords'.
14285 (cfengine2-imenu-expression): Rename from
14286 `cfengine-imenu-expression'.
14287 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14288 (cfengine2-beginning-of-defun): Rename from
14289 `cfengine-beginning-of-defun'.
14290 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14291 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14292 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14293 modeline indicator to "CFE2".
14294 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14295 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 14296
bc86f573
CY
142972011-12-21 Chong Yidong <cyd@gnu.org>
14298
14299 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14300 filename argument.
14301
d45ba96b
MR
143022011-12-20 Martin Rudalics <rudalics@gmx.at>
14303
14304 * window.el (window-normalize-buffer-to-display): Remove.
14305 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14306
a6198c90
CY
143072011-12-19 Chong Yidong <cyd@gnu.org>
14308
14309 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14310 Don't signal an error in a predicate function; return non-nil.
14311 (vc-dir-mark-file): Move the error here.
14312 (vc-dir-mark-unmark): If acting on the region, keep going if one
14313 of the entries cannot be marked/unmarked.
14314 (vc-dir-mark-all-files): If current entry is a directory, mark
14315 only child files, as documented.
14316
34c5fb55
VB
143172011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
14318
14319 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
14320 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
14321 addition.
14322
c803b2b7
JD
143232011-12-18 Jan Djärv <jan.h.d@swipnet.se>
14324
14325 * term/ns-win.el (ns-get-selection-internal)
14326 (ns-store-selection-internal): Declare.
1154d12e
JB
14327 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
14328 Declare as obsolete.
14329 (ns-get-pasteboard, ns-paste-secondary):
14330 Use ns-get-selection-internal.
41e9b956 14331 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 14332 Use ns-store-selection-internal.
c803b2b7 14333
9cff91f8 143342011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
14335
14336 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 14337 (vc-deduce-fileset): Doc fix.
99a289d9 14338
f16c898a
AS
143392011-12-16 Andreas Schwab <schwab@linux-m68k.org>
14340
14341 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
14342
763237c4
SS
143432011-12-13 Sam Steingold <sds@gnu.org>
14344
14345 * man.el (Man-getpage-in-background): When running under a
14346 window-system, ignore $MANWIDTH and $COLUMNS.
14347
5fc1c122
KH
143482011-12-15 Kenichi Handa <handa@m17n.org>
14349
14350 * language/ethio-util.el: Change coding tag to utf-8-emacs.
14351 (setup-ethiopic-environment-internal): Comment out key-binding for
14352 ethio-toggle-punctuation.
14353
13d49cbb
AM
143542011-12-13 Alan Mackenzie <acm@muc.de>
14355
898169a2
AM
14356 Add the switch statement to AWK Mode.
14357
7a71b18d 14358 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
14359 "default" to the keywords regexp.
14360
7a71b18d 14361 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 14362 expression as the rest.
1d00653d
SM
14363 (c-nonlabel-token-key): Allow string literals for AWK.
14364 Refactor for the other modes.
898169a2 14365
13d49cbb 14366 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 14367 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
14368 routines. Limit backward searching in c-font-lock-enclosing.decl.
14369
14370 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
14371 pp-state and literal type in addition to the limits.
1d00653d 14372 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 14373 (c-state-literal-at): Use the above new defun.
1d00653d
SM
14374 (c-slow-in-literal, c-fast-in-literal): Remove.
14375 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
14376
14377 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
14378 being in a literal. Add a limit for backward searching.
14379
14380 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
14381 c-slow-in-literal.
14382
15e0efc7
SM
143832011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
14384
14385 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
14386
454592a6
MR
143872011-12-13 Martin Rudalics <rudalics@gmx.at>
14388
14389 * window.el (delete-other-windows): Use correct frame in call to
14390 window-with-parameter.
14391
87393f26
DP
143922011-12-12 Daniel Pfeiffer <occitan@t-online.de>
14393
14394 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
14395 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
14396 (makefile-gmake-statements, makefile-makepp-statements):
14397 Use it and add new makepp keywords.
14398 (makefile-makepp-font-lock-keywords): Add new patterns.
14399 (makefile-match-function-end): Match new [...] and [[...]].
14400
11636b22
JB
144012011-12-11 Juanma Barranquero <lekktu@gmail.com>
14402
14403 * ses.el (ses-call-printer-return, ses-cell-property-get)
14404 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
14405 (ses-create-cell-variable, ses-reset-header-string)
14406 (ses-cell-set-formula, ses-repair-cell-reference-all)
14407 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
14408 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
14409 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
14410 (ses-aset-with-undo, ses-load, ses-truncate-cell)
14411 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
14412 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
14413 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
14414 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
14415 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
14416 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
14417 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
14418 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
14419
cf018193
VB
144202011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
14421
14422 * ses.el: The overall change is to add cell renaming, that is
14423 setting fancy names for cell symbols other than name matching
14424 "\\`[A-Z]+[0-9]+\\'" regexp .
14425 (ses-create-cell-variable): New defun.
14426 (ses-relocate-formula): Relocate formulas only for cells the
14427 symbols of which are not renamed, i.e. symbols whose names do not
14428 match regexp "\\`[A-Z]+[0-9]+\\'".
14429 (ses-relocate-all): Relocate values only for cells the symbols of
14430 which are not renamed.
14431 (ses-load): Create cells variables as the (ses-cell ...) are read,
14432 in order to check row col consistency with cell symbol name only
14433 for cells that are not renamed.
14434 (ses-replace-name-in-formula): New defun.
14435 (ses-rename-cell): New defun.
14436
ee957461
CY
144372011-12-11 Chong Yidong <cyd@gnu.org>
14438
14439 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
14440 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
14441
9a9e9ef0
MR
144422011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
14443
14444 * window.el (other-window): Fix docstring.
14445
92a8eba5
EZ
144462011-12-10 Eli Zaretskii <eliz@gnu.org>
14447
14448 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
14449 `from' or `to' address before taking its substring.
14450 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
14451 encoded name is chopped in the middle of the encoded string, and
14452 thus displayed encoded.
14453
e152e577
JB
144542011-12-10 Juanma Barranquero <lekktu@gmail.com>
14455
14456 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
14457
e5d84bfe
EZ
144582011-12-10 Eli Zaretskii <eliz@gnu.org>
14459
14460 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
14461 to use texinfo-update-node and commands that call it if the
14462 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 14463 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
14464 (texinfo-all-menus-update, texinfo-master-menu)
14465 (texinfo-update-node, texinfo-every-node-update)
14466 (texinfo-multiple-files-update): Doc fix. Warn against updating
14467 all the @node lines.
14468 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
14469 argument is numeric. Explain better in the doc string what the
14470 function really does.
14471 (texinfo-insert-master-menu-list): Improve the error message
14472 displayed if there's no menu in the Top node.
14473 (Bug#2975) See also this thread:
e5d84bfe
EZ
14474 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
14475
1d84e9bb
MG
144762011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
14477
14478 * speedbar.el (speedbar-supported-extension-expressions):
14479 Add .adb and .ads, commonly used for Ada source code (bug#10256).
14480
382c953b
JB
144812011-12-09 Juanma Barranquero <lekktu@gmail.com>
14482
14483 * printing.el (pr-mode-alist):
14484 * simple.el (filter-buffer-substring-functions)
14485 (completion-list-insert-choice-function):
14486 * window.el (window-with-parameter, window-atom-root)
14487 (window-sides-slots, window-size-fixed, window-min-delta)
14488 (window-max-delta, window--resize-mini-window)
14489 (window--resize-child-windows-normal, window-tree)
14490 (delete-other-windows, quit-window, split-window)
14491 (display-buffer-record-window, special-display-buffer-names)
14492 (special-display-regexps, special-display-popup-frame)
14493 (same-window-p, split-window-sensibly)
14494 (display-buffer-overriding-action, display-buffer-alist)
14495 (display-buffer-base-action, display-buffer, switch-to-buffer)
14496 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
14497 (fit-window-to-buffer, recenter-positions)
14498 (mouse-autoselect-window-state, mouse-autoselect-window-select):
14499 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
14500 and remove unneeded backslashes in docstrings.
14501
39c9faef
SM
145022011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14503
98449af8
SM
14504 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
14505
39c9faef
SM
14506 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
14507 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
14508 end in ".mk".
14509 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
14510 when reading the makefile (bug#10116).
14511
86ed9fdc
SM
145122011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14513
14514 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
14515 (bug#10116).
14516
5580f89d
GM
145172011-12-06 Glenn Morris <rgm@gnu.org>
14518
14519 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
14520
28d3917c
CY
145212011-12-06 Chong Yidong <cyd@gnu.org>
14522
14523 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
14524
a98edce9
JB
145252011-12-06 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * textmodes/table.el (table-shorten-cell): Fix typo.
14528
e65adfac
CG
145292011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
14530
14531 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
14532
71cc0b74
EZ
145332011-12-05 Eli Zaretskii <eliz@gnu.org>
14534
14535 * descr-text.el (describe-char): Fix display of strong
14536 right-to-left characters and directional embeddings and overrides.
14537
14538 * simple.el (what-cursor-position): Fix display of codepoints of
14539 strong right-to-left characters.
14540
315bc30d
CY
145412011-12-05 Chong Yidong <cyd@gnu.org>
14542
14543 * faces.el (read-color): Doc fix.
14544
58a70b94
GM
145452011-12-05 Glenn Morris <rgm@gnu.org>
14546
14547 * align.el (align--set-marker): Add doc-string.
14548 Don't try to move something that is not a marker. (Bug#10216)
14549
5158face
GM
145502011-12-04 Glenn Morris <rgm@gnu.org>
14551
14552 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
14553 overly zealous deletion of trailing whitespace.
14554
520fca41
JB
145552011-12-04 Juanma Barranquero <lekktu@gmail.com>
14556
14557 * server.el (server-delete-client): On Windows, do not try to delete
14558 the only terminal.
14559 (server-process-filter): On Windows, treat requests for a tty frame as
14560 if they were for a GUI frame if the running server is in GUI mode.
14561
5e605a2e
GM
145622011-12-03 Glenn Morris <rgm@gnu.org>
14563
14564 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
14565
5c3fe83f
SM
145662011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14567
6f5e57e7
SM
14568 * electric.el: Streamline electric-indent's hook.
14569 (electric-indent-chars): Revert to simple list.
14570 (electric-indent-functions): New var.
14571 (electric-indent-post-self-insert-function): Use it.
14572
5c3fe83f
SM
14573 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
14574 there's no inferior buffer (bug#10196).
14575 (prolog-consult-compile): Don't use toggle-read-only.
14576
6bdac736
MA
145772011-12-02 Michael Albinus <michael.albinus@gmx.de>
14578
14579 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
14580 interrupt. (Bug#10187)
14581
6131ba7f
SM
145822011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14583
99c79fee
SM
14584 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
14585 (bug#9160).
14586
6131ba7f
SM
14587 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
14588 (bug#10191).
14589
cb0a02ea
JL
145902011-12-02 Juri Linkov <juri@jurta.org>
14591
14592 * info.el (Info-search): Display "end of manual" when Isearch
14593 reaches the end of single-file Info manual. (Bug#9918)
14594
66e0570c
EZ
145952011-12-02 Eli Zaretskii <eliz@gnu.org>
14596
14597 * isearch.el (isearch-message-prefix): Run the input method part
14598 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
14599
02b16839
JL
146002011-12-02 Juri Linkov <juri@jurta.org>
14601
14602 * isearch.el (isearch-occur): Use `word-search-regexp' for
14603 `isearch-word'.
14604 (isearch-search-and-update): Add condition for `isearch-word' and
14605 call `word-search-regexp'. (Bug#10145)
14606
0b950688
GM
146072011-12-01 Glenn Morris <rgm@gnu.org>
14608
14609 * eshell/em-hist.el (eshell-hist-initialize):
14610 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 14611 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 14612
9505c3c7
SM
146132011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
14616
1bbe96b2 146172011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 14618
a1beca85
SM
14619 * progmodes/verilog-mode.el (verilog-pretty-expr):
14620 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
14621 verilog, such as += *= and the like.
14622 (verilog-assignment-operator-re): Regular expression to find the
14623 assigment operator in a verilog assignment.
14624 (verilog-assignment-operation-re): Regular expression to find an
14625 assignment statement for pretty-expr.
14626 (verilog-in-attribute-p): Query returns true if point is in an
14627 attribute context; used to skip these for expression line up from
14628 pretty-expr.
14629 (verilog-in-parameter-p): Query returns true if point is in an
14630 parameter definition context; used to skip these for expression
14631 line up from pretty-expr.
14632 (verilog-in-parenthesis-p): Query returns true if point is in a
14633 parenthetical expression, specifically ( ) but not [ ] or { };
14634 used by pretty-expr.
14635 (verilog-just-one-space): If there is no space, don't add one.
14636 (verilog-get-lineup-indent-2): Specifically skip just attribute
14637 contexts for expression lineup, rather than skipping all
14638 parenthetical expressions.
14639 (verilog-calculate-indent): Fix comment, and fix indent.
14640 (verilog-do-indent): Indent declarations in lists (suggested by
14641 Joachim Lechner).
14642 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14643 skeleton items.
14644 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14645 by Alain Mellan).
14646
1bbe96b2 146472011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
14648
14649 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14650 parameters with embedded comments. Reported by Ray Stevens.
14651 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14652 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14653 Reported by Tim Holt.
14654 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14655 instantiated by upper module causing wrong expansion until AUTOed a
14656 second time. Reported by K C Buckenmaier.
14657 (verilog-diff-auto): Fix showing .* as a difference when
14658 `verilog-auto-star-save' off. Reported by Dan Dever.
14659 (verilog-auto-reset, verilog-read-always-signals)
14660 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14661 temporary signals in reset list if
14662 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
14663 style to each signal's assignment type, bug381.
14664 Reported by Thomas Esposito.
6288f0ca
WS
14665 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14666 (verilog-uvm-statement-re): Support UVM indentation and
14667 highlighting, with old OVM keywords only.
a1beca85 14668 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
14669 Support AUTOTIEOFF creating non-wire data types.
14670 Suggested by Jonathan Greenlaw.
6288f0ca
WS
14671 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14672 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14673 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
14674 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14675 Fix mismatching parenthesis inside commented out code when deleting
382c953b 14676 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
14677 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14678 non-numeric vector width. Reported by Alex Reed.
14679 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 14680 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
14681 (verilog-auto-delete-trailing-whitespace):
14682 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
14683 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14684 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14685 Fix verilog-scan-cache corruption when running user AUTO expansion
14686 hooks that call indentation routines.
14687 (verilog-simplify-range-expression): Fix typo ignoring lower case
14688 identifiers.
14689 (verilog-delete-auto): Fix delete-autos to also remove user created
14690 automatics, as long as they start with AUTO.
14691 (verilog-batch-diff-auto, verilog-diff-auto)
14692 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14693 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14694 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14695 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
14696 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14697 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
14698 is disabled and its cache will get corrupt, causing AUTOS not to
14699 expand. Instead use only -quick functions.
14700 (verilog-scan-region): Fix scanning over escaped quotes.
14701 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14702 (verilog-re-search-backward-quick)
14703 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14704 related functions now ignore strings, to fix misparsing of strings
14705 with magic comments embedded in them.
a1beca85
SM
14706 (verilog-read-auto-template):
14707 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14708 Reported by Brad Dobbie.
14709 (verilog-read-auto-template):
14710 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 14711 Reported by Brad Dobbie.
6288f0ca
WS
14712 (verilog-auto-inst, verilog-auto-inst-param)
14713 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14714 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14715 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
14716 debugging templates without merge conflicts, bug357.
14717 Reported by Brad Dobbie.
14718 (verilog-read-auto-template):
14719 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
14720 Reported by Brad Dobbie.
14721 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14722 abbrevs so user won't be asked to save.
14723 (verilog-read-auto-lisp-present): Fix to start at beginning of
14724 buffer in case called outside of verilog-auto.
14725 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14726 to "X-2". Reported by Matthew Myers.
14727 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14728 all inputs from module templates. Reported by Leith Johnson.
14729 (verilog-module-inside-filename-p): Fix locating programs as with
14730 modules.
14731 (verilog-auto-inst-port): Fix vl-width expressions when using
14732 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14733 (verilog-decls-get-regs, verilog-decls-get-signals,
14734 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14735 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14736 verilog-read-decls): Combine reg and wire structures into one var
14737 structure to represent SystemVerilog concepts.
14738 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14739 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
14740 (verilog-auto-wire-type, verilog-insert-definition):
14741 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
14742 SystemVerilog "logic" keyword instead of "wire"/"reg".
14743 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14744 to declares outputs that also have assignments (presumably in an
a1beca85
SM
14745 ifdef or generate if so there's not a driver conflict).
14746 Reported by Matthew Myers.
14747 (verilog-auto-declare-nettype, verilog-insert-definition):
14748 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
14749 `default_nettype none. Reported by Julian Gorfajn.
14750 (verilog-read-always-signals-recurse, verilog-read-decls)
14751 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14752 malformed end statement, bug325. Reported by Joshua Wise and
14753 Andrew Drake.
14754 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14755 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
14756 when expanding .* in interfaces, bug320.
14757 Reported by Pierre-David Pfister.
6288f0ca 14758 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
14759 name and open parenthesis, bug317.
14760 Reported by Pierre-David Pfister.
6288f0ca
WS
14761 (verilog-simplify-range-expression): Fix simplification of
14762 multiplications inside AUTOWIRE connections, bug303.
14763 (verilog-auto-inst-port): Support parameter expansion in
14764 multidimensional arrays.
14765 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14766 after "assert property". Reported by Julian Gorfajn.
14767 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14768 with multiplication, bug303.
14769 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14770 Reported by Jan Frode Lonnum.
14771
1bbe96b2
GM
147722011-11-30 Juanma Barranquero <lekktu@gmail.com>
14773
14774 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14775 (hfy-shell-file-name, hfy-shell):
14776 * international/fontset.el (x-decompose-font-name): Fix typos.
14777
147782011-11-29 Ken Brown <kbrown@cornell.edu>
14779
14780 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14781 (gdb-version): Remove defvar.
14782 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14783 (gdb-gud-context-command, gdb-non-stop-handler)
14784 (gdb-current-context-command, gdb-stopped): Use it.
14785 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
14786 (gdb-non-stop-handler): Don't enable pretty-printing here.
14787 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
14788 non-stop mode. Use the following.
14789 (gdb-check-target-async): New defun.
14790 (gud-watch, gdb-stopped): Fix whitespace.
14791 (gdb-get-source-file): Don't try to display the source file if
14792 `gdb-main-file' is nil.
14793
147942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * align.el: Try to generate fewer markers (bug#10047).
14797 (align--set-marker): New macro.
14798 (align-region): Use it.
14799
c935221f
SM
148002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14803
e70b5064
CY
148042011-11-29 Chong Yidong <cyd@gnu.org>
14805
14806 * indent.el (indent-for-tab-command, indent-according-to-mode):
14807 Doc fix.
14808 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14809
f3af92b7
MA
148102011-11-29 Michael Albinus <michael.albinus@gmx.de>
14811
14812 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14813 aware of remote file names. (Bug#10124)
14814
ed472be9
CY
148152011-11-29 Chong Yidong <cyd@gnu.org>
14816
14817 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14818
24510c22
SM
148192011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * files.el (find-file): Don't use force-same-window (bug#10144).
14822 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14823 use pop-to-buffer if the selected window can't be used.
14824 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14825
c60c3703
EZ
148262011-11-28 Eli Zaretskii <eliz@gnu.org>
14827
14828 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14829 special-mode-map.
14830
e95def75
CY
148312011-11-28 Chong Yidong <cyd@gnu.org>
14832
14833 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14834
c3f1c606
NR
148352011-11-27 Nick Roberts <nickrob@snap.net.nz>
14836
14837 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14838 gdb-get-source-file-list on gdb-create-source-file-list.
14839
00db469c
EZ
148402011-11-26 Eli Zaretskii <eliz@gnu.org>
14841
14842 * whitespace.el (whitespace-newline): Use a different foreground
14843 color for 16-color light-background displays.
14844
4ad3bc2a
CY
148452011-11-24 Chong Yidong <cyd@gnu.org>
14846
14847 * window.el (display-buffer--special-action): Doc fix.
14848
e9fce1ac
JB
148492011-11-25 Juanma Barranquero <lekktu@gmail.com>
14850
14851 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14852 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14853 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14854 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14855 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14856 (avl-tree-stack-first):
14857 * emacs-lisp/cconv.el (cconv--analyse-use):
14858 * net/gnutls.el (gnutls-negotiate): Fix typos.
14859
cb825e5d
GM
148602011-11-24 Glenn Morris <rgm@gnu.org>
14861
3adbe224
GM
14862 * lpr.el (lpr-windows-system, lpr-lp-system):
14863 * mail/binhex.el (binhex-begin-line):
14864 * progmodes/grep.el (grep-history, grep-find-history):
14865 * textmodes/flyspell.el:
14866 * vc/pcvs-defs.el (cvs-global-menu):
14867 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14868 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14869 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14870
321decc8
GM
14871 * net/tls.el: Fix case of "GnuTLS".
14872
420b63ad
GM
14873 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14874
cb825e5d
GM
14875 * version.el (emacs-build-system): Give it a doc-string.
14876
a0649f08
JL
148772011-11-24 Juri Linkov <juri@jurta.org>
14878
14879 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14880
c0bc0fd4
GM
148812011-11-24 Glenn Morris <rgm@gnu.org>
14882
14883 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14884 if called on a non-mime message just toggle the headers. (Bug#8006)
14885
20db1522
JB
148862011-11-24 Juanma Barranquero <lekktu@gmail.com>
14887
14888 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14889 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14890 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14891 (allout-rebullet-heading, allout-open-sibtopic)
14892 (allout-toggle-current-subtree-encryption)
14893 (allout-toggle-subtree-encryption, allout-encrypt-string)
14894 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14895 (allout-distinctive-bullets-string, allout-auto-activation):
14896 * window.el (window-normalize-buffer-to-display):
14897 * progmodes/verilog-mode.el (verilog-batch-indent):
14898 * textmodes/bibtex.el (bibtex-field-braces-opt)
14899 (bibtex-field-strings-opt):
14900 * vc/cvs-status.el (cvs-tree-merge):
14901 Fix typos.
14902
7262a87c
MA
149032011-11-23 Michael Albinus <michael.albinus@gmx.de>
14904
14905 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14906 `non-essential' to t, in order to avoid remote connections.
14907
283430a1
EZ
149082011-11-23 Eli Zaretskii <eliz@gnu.org>
14909
a1beca85
SM
14910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14911 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
14912 case-insensitively.
14913
d2992a38
ML
149142011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14915
14916 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14917
50419064
GM
149182011-11-23 Glenn Morris <rgm@gnu.org>
14919
da94eca1
GM
14920 * paths.el (rmail-file-name): Reformat the doc-string so that it
14921 is picked up.
14922
9aac4de2
GM
14923 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14924 (rmail-auto-file): Ignore case in the "special" field names,
14925 as mail-fetch-field does for all others.
14926
8038d2d2
GM
14927 * mail/rmail.el (rmail-forward):
14928 * mail/rmailkwd.el (rmail-set-label):
14929 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14930 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14931
f3fe222a
GM
14932 * mail/rmail.el (rmail-current-message): Doc fix.
14933
50419064
GM
14934 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14935
28109f49
SM
149362011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14939
394c65f1
GM
149402011-11-22 Glenn Morris <rgm@gnu.org>
14941
14942 * mail/rmailmm.el (test-rmail-mime-handler)
14943 (test-rmail-mime-bulk-handler)
14944 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14945
f2a0aa3a
JL
149462011-11-21 Juri Linkov <juri@jurta.org>
14947
1154d12e
JB
14948 * calc/calc.el (calc-read-key-sequence):
14949 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 14950
9c34a344
LMI
149512011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14952
14953 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14954 Tell the caller that the next line needs recomputation, even
14955 though it doesn't start a sexp (bug#10094).
14956
f04a3be9
SM
149572011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14960
7978747f
SM
149612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14962
f04a3be9
SM
14963 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14964 Use force-same-window.
7978747f 14965
fe7a3057
JB
149662011-11-20 Juanma Barranquero <lekktu@gmail.com>
14967
14968 * descr-text.el (describe-char-unicode-data):
14969 * json.el (json-string-escape):
14970 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14971 (Footnote-unicode, Footnote-style-p):
14972 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14973
24901d61
CY
149742011-11-20 Chong Yidong <cyd@gnu.org>
14975
14976 * window.el (replace-buffer-in-windows): Restore interactive spec.
14977
bac7ff22
SM
149782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14979
24f3d7b9
SM
14980 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14981
bac7ff22
SM
14982 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14983 (byte-compile-global-not-obsolete-vars): New var.
14984 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14985 Use it.
14986 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14987
cd1181db
JB
149882011-11-20 Juanma Barranquero <lekktu@gmail.com>
14989
14990 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14991 * progmodes/pascal.el (electric-pascal-equal):
14992 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14993 * xml.el (xml-substitute-special): Fix typos.
14994
7fb18e9e
GM
149952011-11-20 Glenn Morris <rgm@gnu.org>
14996
14997 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14998 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14999 Doc fixes.
15000 (rmail-decode-mime-charset): Mark as obsolete.
15001
15002 * mail/rmailsum.el (rmail-message-regexp-p-1):
15003 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15004 Before using mime functions, check they are set. (Bug#10077)
15005
d5a6b3ba
JL
150062011-11-19 Juri Linkov <juri@jurta.org>
15007
15008 * info.el (Info-finder-find-node): Use `package--builtins' instead
15009 of `package-alist'. Use node names formed by the pattern "Keyword "
15010 and the keyword name.
15011
e981b61f
AS
150122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15013
1d00653d 15014 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15015
3ffbc301
JL
150162011-11-19 Juri Linkov <juri@jurta.org>
15017
15018 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15019 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15020 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15021 `old-history', `old-history-forward'. Add let-binding
15022 `window-selected'. Remove calls to `kill-buffer',
15023 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15024 before calling `Info-find-node', so `Info-find-node-2' will reread
15025 the Info file. Restore window positions only when `window-selected'
15026 is non-nil.
15027
30c62133
JL
150282011-11-19 Juri Linkov <juri@jurta.org>
15029
15030 * isearch.el (isearch-lazy-highlight-new-loop):
15031 Remove condition `(not isearch-error)'. (Bug#9918)
15032
15033 * misearch.el (multi-isearch-search-fun): Add condition
15034 `(not bound)' to ignore lazy-highlighting search.
15035 Add the search-failed message "end of multi" when the end of
15036 multi-sequence is reached. Uncapitalize the search-failed
15037 message "Repeat for next buffer".
15038
15039 * info.el (Info-search): Add the search-failed message
15040 "end of the manual" when the end of the manual is reached
15041 in Isearch mode.
15042
645ca9cf
JL
150432011-11-19 Juri Linkov <juri@jurta.org>
15044
15045 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15046 Use non-destructive `remove' instead of `delete' because
15047 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15048 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15049
df754f66
JL
150502011-11-19 Juri Linkov <juri@jurta.org>
15051
15052 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15053 to nil instead of binding `search-ring' and `regexp-search-ring'.
15054 (Bug#9185)
15055
0e23d96a
EZ
150562011-11-19 Eli Zaretskii <eliz@gnu.org>
15057
15058 * simple.el (line-move): Force movement by logical lines for any
15059 hscrolled window, not only when auto-hscroll-mode is on.
15060 (line-move-visual): Update doc string to that effect. (Bug#10076)
15061
8a6ccb66
AS
150622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15063
15064 * language/european.el (macintosh): Define as alias for mac-roman.
15065
49ae5b39
EZ
150662011-11-19 Eli Zaretskii <eliz@gnu.org>
15067
15068 * mail/rmailmm.el (rmail-mime-display-header)
15069 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15070 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15071 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15072 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15073 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15074 of a raw aref.
15075 (rmail-mime-entity-segment): To get past the tagline, move forward
15076 2 more lines, to account for the 2 empty lines that precede and
15077 follow the line with the buttons.
15078 (rmail-mime-update-tagline): Move one more line, to get past the
15079 empty line that follows the buttons in the tagline. (Bug#9520)
15080
c56cad4a
MR
150812011-11-19 Martin Rudalics <rudalics@gmx.at>
15082
15083 * window.el (window-max-delta-1, window-min-delta-1)
15084 (window-min-size-1, window-state-get-1, window-state-put-1)
15085 (window-state-put-2): Use "window--" prefix.
15086
cbe71af3
SM
150872011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15088
2ad52c60
SM
15089 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15090 (smie-warning-count): New var.
15091 (smie-set-prec2tab): Use it.
15092 (smie-bnf->prec2): Improve warnings. Add docstring.
15093 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15094 (smie-bnf--set-class): New function.
15095 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15096 corner case.
15097
6944dbc1
SM
15098 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15099 (compilation-error-properties, compilation-move-to-column):
15100 Handle compilation-first-column while in the target buffer.
15101
c400c4d7
SM
15102 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15103 Don't hardcode point-min==1.
15104
6dbe3e96
SM
15105 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15106 (eshell-rewrite-for-command): Remove workaround.
15107 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15108 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15109 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15110
cbe71af3
SM
15111 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15112
a8e1496d
GM
151132011-11-17 Glenn Morris <rgm@gnu.org>
15114
15115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15116 Ignore buffer-local generated-autoload-file if it is the same
15117 as the global value. (Bug#10049)
15118
df85d315
JB
151192011-11-17 Juanma Barranquero <lekktu@gmail.com>
15120
15121 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15122 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15123 (reftex-toc-previous-heading, reftex-toc-max-level)
15124 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15125 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15126 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15127 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15128 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15129 (reftex-toc-rename-label, reftex-toc-visit-location)
15130 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15131 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15132 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15133 leaving "*toc*" only for references to the buffer.
15134
a0c2d0ae
MR
151352011-11-17 Martin Rudalics <rudalics@gmx.at>
15136
15137 * window.el (window-resize, delete-window, split-window):
15138 Replace window-splits by window-combination-resize.
1d00653d 15139 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 15140
35c0bac8
GM
151412011-11-17 Glenn Morris <rgm@gnu.org>
15142
15143 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15144 Make bash entry derive from sh entry, not shell entry.
15145
d0c8fc8a
MA
151462011-11-16 Michael Albinus <michael.albinus@gmx.de>
15147
7262a87c
MA
15148 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15149 local file name.
15150
7877f373
JB
151512011-11-16 Juanma Barranquero <lekktu@gmail.com>
15152
15153 * menu-bar.el (menu-bar-file-menu):
15154 * printing.el (pr-ps-utility):
15155 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15156 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15157 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15158 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15159 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15160 (icalendar--convert-cyclic-to-ical)
15161 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15162 (icalendar--convert-ical-to-diary)
15163 (icalendar--convert-recurring-to-diary)
15164 (icalendar--convert-non-recurring-all-day-to-diary)
15165 (icalendar-import-format-sample):
15166 * progmodes/idlw-shell.el (idlwave-shell-mode):
15167 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15168 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15169 (vhdl-ps-print-init): Fix typos.
15170
10649b82
KM
151712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15172
9d0cfcd6
GM
15173 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15174 FSF and collapse date sequence, obscure author/maintainer email address
15175 better, remove extra version line, track relocation of author's webpage.
10649b82 15176
9d0cfcd6
GM
15177 * progmodes/python.el (python-pdbtrack-input-prompt)
15178 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15179 regular python pdb prompts. Adjustments shamelessly taken exactly as
15180 suggested in EmacsWiki page (tiny change):
15181 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 15182
58179cce
JB
151832011-11-16 Juanma Barranquero <lekktu@gmail.com>
15184
15185 * expand.el (expand-pos, expand-index, expand-point):
15186 Remove redundant info from docstring.
15187 (expand-add-abbrevs): Doc fix.
15188 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15189 (expand-sample-perl-mode-expand-list): Fix typos.
15190
15191 * net/dbus.el (dbus-event-member-name):
15192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15193 * term/pc-win.el (msdos-create-frame-with-faces):
15194 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15195
b6f67890
MR
151962011-11-16 Martin Rudalics <rudalics@gmx.at>
15197
15198 * window.el (split-window, window-state-get-1)
15199 (window-state-put-1, window-state-put-2): Rename occurrences of
15200 window-nest to window-combination-limit.
1d00653d 15201 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 15202
ce7ddba0
CY
152032011-11-16 Chong Yidong <cyd@gnu.org>
15204
15205 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15206 regexp (Bug#10033).
15207
3ae704f4
SM
152082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15211 `completing-read' will remove *Completions* and will preserve
15212 current-buffer for us.
15213 (tmm-add-prompt): Users of *Completions* will always (re)set its
15214 major mode.
15215 (tmm-old-comp-map): Remove.
15216
6ad1cdde
GM
152172011-11-16 Glenn Morris <rgm@gnu.org>
15218
15219 * mail/rmailedit.el: Require rmailmm when compiling.
15220 (rmail-old-mime-state): New declaration.
15221 (rmail-edit-current-message): If editing a mime message,
15222 edit the "raw" message from the mbox buffer.
15223 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15224
d20faa20
GM
152252011-11-15 Glenn Morris <rgm@gnu.org>
15226
15227 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15228 which wasn't being used. Add optional arg to force given state.
15229 (rmail-mime): Add optional arg to force given state.
15230
c7015153
JB
152312011-11-15 Juanma Barranquero <lekktu@gmail.com>
15232
15233 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15234 * frame.el (display-mm-dimensions-alist):
15235 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15236 (outline-move-subtree-down):
15237 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15238 (newsticker--treeview-do-get-node):
15239 * net/quickurl.el (quickurl-list-buffer-name):
15240 * progmodes/dcl-mode.el (dcl-mode):
15241 * progmodes/gdb-mi.el (gdb-mapcar*):
15242 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15243
45261b50
GM
152442011-11-15 Glenn Morris <rgm@gnu.org>
15245
15246 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15247 in a boolean sense, so just make it a boolean, and fix the doc.
15248 (rmail-show-mime-function, rmail-mime-feature)
15249 (rmail-require-mime-maybe): Doc fixes.
15250 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15251
15252 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15253
0d26e0b6
JB
152542011-11-15 Juanma Barranquero <lekktu@gmail.com>
15255
15256 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15257 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15258 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15259 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15260
447f30f6
GM
152612011-11-15 Glenn Morris <rgm@gnu.org>
15262
672b871d
GM
15263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15264 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15265 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15266 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15267 (rmail-mime, rmail-show-mime): Doc fixes.
15268
f6aa5bb1
GM
15269 * term/ns-win.el (mode-line-frame-identification):
15270 Leave it alone. (Bug#10051)
15271
947cd66b
GM
15272 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15273
447f30f6
GM
15274 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15275 Handle empty buffers. (Bug#9978)
15276
0b381c7e
JB
152772011-11-14 Juanma Barranquero <lekktu@gmail.com>
15278
15279 * international/mule.el (define-charset):
15280 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15281 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15282 * progmodes/verilog-mode.el (verilog-backward-token):
15283 * textmodes/ispell.el (lookup-words):
15284 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15285
71e027ac
GM
152862011-11-14 Glenn Morris <rgm@gnu.org>
15287
56632ce4
GM
15288 * progmodes/executable.el
15289 (executable-make-buffer-file-executable-if-script-p):
15290 Handle file-modes returning nil.
15291
40500957
GM
15292 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15293 message - not necessary, and causes problems. (Bug#9831)
15294
071c2340
GM
15295 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15296
d3cfca60
GM
15297 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15298
71e027ac
GM
15299 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15300 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15301 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15302
89d61221
MR
153032011-11-12 Martin Rudalics <rudalics@gmx.at>
15304
15305 * window.el (window-resize, delete-window): Use window-splits
15306 variable instead of function.
15307 (window-state-get-1, window-state-put-2, window-state-put):
15308 Don't deal with windows' splits status.
15309
98282f6f
GM
153102011-11-12 Glenn Morris <rgm@gnu.org>
15311
15312 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15313 (apropos-documentation): Doc fixes.
15314
40a8bdf6
JB
153152011-11-11 Juanma Barranquero <lekktu@gmail.com>
15316
15317 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
15318 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
15319
65bd19ff
SM
153202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * electric.el (electric-indent-post-self-insert-function): Make it
15323 possible for a char to only indent in some circumstances.
15324 (electric-indent-mode): Simplify.
15325
54f9154c
MR
153262011-11-11 Martin Rudalics <rudalics@gmx.at>
15327
15328 * window.el (windows-with-parameter): Remove unused function.
15329 (windows-at-side): Rename to window-at-side-list.
15330 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
15331 (window-side-check, window-size-ignore, window-size-fixed-1)
15332 (window-in-direction-2): Prefix with "window--".
15333 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 15334
68cbc58b
GM
153352011-11-11 Glenn Morris <rgm@gnu.org>
15336
15337 * subr.el (eval-after-load): If FILE is already loaded,
15338 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
15339
b2621720
GM
153402011-11-10 Glenn Morris <rgm@gnu.org>
15341
9a4de110
GM
15342 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
15343 Call svn via vc-svn-command rather than vc-do-command.
15344 (vc-svn-command): Add --non-interactive. (Bug#9993)
15345 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
15346
b2621720
GM
15347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15348 Add toggle-read-only. (Bug#7292)
15349 * files.el (toggle-read-only): Mention that it should only
15350 be used interactively. (Bug#10006)
15351
1dce7193
SM
153522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
15353
d9ac1a1e
SM
15354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15355 Adjust regexp for OCaml warnings.
15356
0c325082
SM
15357 * electric.el (electric-pair-post-self-insert-function): Let user
15358 turn it off buffer-locally (bug#9932).
15359
90132c14
SM
15360 * progmodes/python.el (python-beginning-of-statement):
15361 Rewrite (bug#2703).
15362
1dce7193
SM
15363 * progmodes/compile.el: Better handle TABs (bug#9749).
15364 (compilation-internal-error-properties)
15365 (compilation-next-error-function): Obey the target buffer's
15366 compilation-error-screen-columns.
15367
c4e7c63a
JB
153682011-11-09 Juanma Barranquero <lekktu@gmail.com>
15369
15370 * progmodes/meta-mode.el: Remove obsolete comments.
15371 (meta-right-comment-regexp, meta-ignore-comment-regexp):
15372 Fix typos in docstrings.
15373
2cffd681
MR
153742011-11-09 Martin Rudalics <rudalics@gmx.at>
15375
15376 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 15377 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
15378 (window--resizable): New function. Make all callers of
15379 window-resizable call window--resizable instead.
15380 (window-resizable): Rewrite in terms of window--resizable.
15381
0edcba87
GM
153822011-11-08 Glenn Morris <rgm@gnu.org>
15383
15384 * progmodes/delphi.el (delphi-mode-syntax-table):
15385 Let define-derived-mode define a proper syntax table. (Bug#9994)
15386
4b0d61e3
SM
153872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15388
15389 * window.el: Stay away from defsubst.
15390 (window-list-no-nils): Remove.
15391 (window-state-get-1, window-state-get): Use backquote instead.
15392
cd394be1 153932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 15394
4b0d61e3 15395 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 15396 Fix incorrect use of default argument in `completing-read'.
15397
e1c2c6f2
MR
153982011-11-08 Martin Rudalics <rudalics@gmx.at>
15399
15400 * window.el (display-buffer-function, special-display-function):
15401 Mention display-buffer-record-window but do not mention
15402 help-setup parameter in doc-strings.
b3f4a882 15403 (window-min-delta): Fix doc-string typo.
e1c2c6f2 15404
105216ed
CY
154052011-11-08 Chong Yidong <cyd@gnu.org>
15406
15407 * window.el (window-total-height, window-total-width): Doc fix.
15408 (window-body-size): Move from C.
15409 (window-body-height, window-body-width): Move to C.
15410
0a9f9ab5
SM
154112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15412
15413 * window.el: Make special-display like display-buffer-alist (bug#9532).
15414 (display-buffer--special-action): New function, morphed
15415 from display-buffer--special.
15416 (display-buffer): Use it to handle special-display-buffers at higher
15417 priority (just after display-buffer-alist).
15418 (display-buffer-fallback-action, display-buffer--other-frame-action)
15419 (pop-to-buffer-same-window): Remove display-buffer--special.
15420
a769dd15
GM
154212011-11-07 Glenn Morris <rgm@gnu.org>
15422
15423 * calendar/cal-menu.el (cal-menu-set-date-title):
15424 Do nothing if not in a calendar. (Bug#9976)
15425
05a61ee3
SM
154262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * files.el (find-file): Always use selected-window.
15429
be7f5545
MR
154302011-11-07 Martin Rudalics <rudalics@gmx.at>
15431
15432 * window.el (window-combinations): Make WINDOW argument
15433 mandatory. Rewrite doc-string.
15434 (walk-window-subtree, window-atom-check, window-min-delta)
15435 (window-max-delta, window--resize-this-window)
15436 (window--resize-root-window-vertically, window-tree)
15437 (balance-windows, window-state-put): Rewrite doc-strings as to
15438 not mention the term "subwindow".
15439 (window--resize-subwindows-skip-p): Rename to
15440 window--resize-child-windows-skip-p.
15441 (window--resize-subwindows-normal): Rename to
15442 window--resize-child-windows-normal.
15443 (window--resize-subwindows): Rename to
15444 window--resize-child-windows.
15445 (window-or-subwindow-p): Rename to window--in-subtree-p.
15446
3c6702ef
ML
154472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15448
15449 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
15450 Ensure that mbox format messages end in two newlines (Bug#9974).
15451
49745b39
CY
154522011-11-06 Chong Yidong <cyd@gnu.org>
15453
15454 * window.el (window-combination-p): Function deleted; its
15455 side-effect is not used in any existing code.
15456 (window-combinations, window-combined-p): Call window-*-child
15457 directly.
15458
24300f5f
CY
154592011-11-05 Chong Yidong <cyd@gnu.org>
15460
15461 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
15462 (window-size-ignore, window-state-get): Callers changed.
15463 (window-normalize-window): Rename from window-normalize-any-window.
15464 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 15465 (window-normalize-live-window): Delete.
447f16b8
CY
15466 (window-combination-p, window-combined-p, window-combinations)
15467 (walk-window-subtree, window-atom-root, window-min-size)
15468 (window-sizable, window-sizable-p, window-size-fixed-p)
15469 (window-min-delta, window-max-delta, window-resizable)
15470 (window-resizable-p, window-full-height-p, window-full-width-p)
15471 (window-current-scroll-bars, window-point-1, set-window-point-1)
15472 (window-at-side-p, window-in-direction, window-resize)
15473 (adjust-window-trailing-edge, maximize-window, minimize-window)
15474 (window-deletable-p, delete-window, delete-other-windows)
15475 (record-window-buffer, unrecord-window-buffer)
15476 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
15477 (quit-window, split-window, window-state-put)
15478 (set-window-text-height, fit-window-to-buffer)
15479 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 15480
89bd5ee1
EZ
154812011-11-04 Eli Zaretskii <eliz@gnu.org>
15482
53479029
EZ
15483 * mail/rmail.el (rmail-simplified-subject): Decode subject with
15484 rfc2047-decode-string.
15485 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
15486 warnings.
15487
89bd5ee1
EZ
15488 * window.el (window-body-height, window-body-width): Mention in
15489 the doc string that the return values are in frame's canonical
15490 units. (Bug#9949)
15491
bd17fdee
AM
154922011-11-03 Alan Mackenzie <acm@muc.de>
15493
15494 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
15495 change in cc-engine.el.
15496
acc825c5
SM
154972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * window.el (switch-to-buffer): Use `force-same-window' interactively.
15500
1885e5b8
MR
155012011-11-02 Martin Rudalics <rudalics@gmx.at>
15502
15503 * window.el (quit-window): Call unrecord-window-buffer after
15504 showing another buffer in the window. (Bug#9937)
acc825c5 15505 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 15506
ebe06da9
JB
155072011-11-02 Juanma Barranquero <lekktu@gmail.com>
15508
15509 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
15510 Accept status with more than 9 shelves. (Bug#9935)
15511 Reported by Colin D Bennett <colin@gibibit.com>.
15512
4ee88440
MR
155132011-11-01 Martin Rudalics <rudalics@gmx.at>
15514
15515 * help.el (with-help-window): Don't reference
15516 temp-buffer-show-specifiers in doc-string.
15517
08e1d82c
AS
155182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
15519
15520 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
15521 menu-item.
15522
84bd6e9e
VJL
155232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15524
15525 * whitespace.el: New version 13.2.2.
15526 (whitespace-newline-mode): Disable properly. Reported by Sarah
15527 <EmacsWiki>.
15528
dba0634a
UJ
155292011-10-30 Ulf Jasper <ulf.jasper@web.de>
15530
15531 * net/newst-treeview.el: Remove "Time-stamp".
15532 (newsticker--group-manage-orphan-feeds): Do not call
15533 newsticker--treeview-tree-update.
db22a3c2
JB
15534 (newsticker-treeview-update, newsticker-treeview):
15535 Call newsticker--treeview-tree-update if necessary.
dba0634a 15536
3d8daefe
MR
155372011-10-30 Martin Rudalics <rudalics@gmx.at>
15538
15539 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
15540 (window-iso-combinations): Remove "iso-" infix.
15541 Suggested by Chong Yidong.
3d8daefe
MR
15542 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
15543 (window-max-delta-1, window-resize, window--resize-siblings)
15544 (window--resize-this-window, adjust-window-trailing-edge)
15545 (split-window, balance-windows-1)
15546 (shrink-window-if-larger-than-buffer):
15547 * calendar/calendar.el (calendar-generate-window):
db22a3c2 15548 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 15549
1bc4c3ae
SM
155502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
15553 in place (bug#9907).
15554 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
15555 (eshell-rewrite-if-command, eshell-rewrite-for-command)
15556 (eshell-structure-basic-command, eshell-rewrite-while-command)
15557 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
15558 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
15559 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
15560 (eshell-do-pipelines-synchronously, eshell-eval-command):
15561 Use backquotes and prefer setq to set.
15562 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
15563 (eshell-macrop): Use functionp.
c1e2f5fa 15564 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 15565
30b65d9c
CY
155662011-10-30 Chong Yidong <cyd@gnu.org>
15567
15568 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
15569 instead of set-mark (Bug#9810).
15570
2d197ffb
CY
155712011-10-30 Chong Yidong <cyd@gnu.org>
15572
15573 * window.el (split-window-below, split-window-right): Rename from
15574 split-window-above-each-other and split-window-side-by-side
15575 respectively. All callers changed.
15576 (split-window-sensibly, split-window-sensibly): Use them.
15577 (split-window-keep-point): Doc fix.
15578
15579 * isearch.el: Add isearch-scroll property to split-window-below
15580 and split-window-right.
15581
15582 * follow.el (follow-mode):
15583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15584 * progmodes/ada-xref.el (ada-gdb-application):
15585 * emulation/vip.el (vip-buffer-in-two-windows):
15586 * image-dired.el (image-dired-dired-with-window-configuration):
15587 * dired-x.el (dired-do-find-marked-files):
15588 * dired.el (dired-pop-to-buffer):
15589 * bs.el (bs--show-with-configuration):
15590 * vc/emerge.el (emerge-setup-windows):
15591 * textmodes/two-column.el (2C-two-columns):
15592 * textmodes/reftex-toc.el (reftex-toc):
15593 * progmodes/gdb-mi.el (gdb-setup-windows):
15594 * progmodes/fortran.el (fortran-window-create):
15595 * net/newst-treeview.el (newsticker--treeview-window-init):
15596 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
15597 * emulation/tpu-edt.el (tpu-gold-map):
15598 * emulation/crisp.el (crisp-mode-map):
15599 * calendar/calendar.el (calendar-basic-setup): Callers changed.
15600
38bb2ca8
CY
156012011-10-29 Chong Yidong <cyd@gnu.org>
15602
aa4de341
CY
15603 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
15604
e1eb5385
CY
15605 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
15606
5d2ece3c
CY
15607 * textmodes/flyspell.el (flyspell-word): Fix char offset for
15608 forged Ispell output (Bug#7904).
15609
38bb2ca8
CY
15610 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
15611
d0af9f77
SM
156122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15613
15614 * doc-view.el: Avoid ugly errors about not finding nil.
15615 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
15616 (doc-view-dvipdf-program, doc-view-unoconv-program)
15617 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
15618 Avoid nil or absolute file name as default value.
15619 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
15620
52bedd34
AM
156212011-10-28 Alan Mackenzie <acm@muc.de>
15622
db22a3c2 15623 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 15624
7e43cfa5
AM
156252011-10-28 Alan Mackenzie <acm@muc.de>
15626
15627 Amend the handling of c-beginning/end-of-defun in nested declaration
15628 scopes.
15629
52bedd34
AM
15630 * progmodes/cc-vars.el (c-defun-tactic): Move here from
15631 cc-langs.el. Change it to a defcustom.
7e43cfa5 15632
52bedd34
AM
15633 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15634 cc-vars.el.
7e43cfa5 15635
d0af9f77
SM
15636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15637 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 15638
52bedd34 15639 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 15640 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
15641 (c-widen-to-enclosing-decl-scope): New function.
15642 (c-while-widening-to-decl-block): New macro.
15643 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15644 outward for defun boundaries, and correspondingly change symbol
15645 `respect-enclosure' to `go-outward'.
15646 (c-declaration-limits): Change algorithm to report only the "innermost"
15647 defun's boundaries.
15648
1a2ce9ee
DD
156492011-10-28 Deniz Dogan <deniz@dogan.se>
15650
15651 * net/rcirc.el (rcirc-mode): Use hard newlines.
15652
bc97a826
AM
156532011-10-28 Alan Mackenzie <acm@muc.de>
15654
15655 Amend to indent and fontify macros "which include their own semicolon"
15656 correctly, using the "virtual semicolon" mechanism.
15657
52bedd34 15658 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 15659
d0af9f77 15660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 15661 Recode to scan one line at a time rather than having \n and \r
58179cce 15662 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 15663 (c-forward-label): Amend for virtual semicolons.
58179cce 15664 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 15665
52bedd34
AM
15666 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15667 of the new C macros.
bc97a826 15668
52bedd34 15669 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
15670 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15671 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
15672 (c-opt-cpp-macro-define): Make into a full language variable.
15673 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15674 AWK Mode (including \n, \r) removed, no longer needed.
15675
d0af9f77
SM
15676 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15677 Invoke c-make-macro-with-semi-re.
bc97a826 15678
52bedd34
AM
15679 * progmodes/cc-vars.el (c-macro-with-semi-re):
15680 (c-macro-names-with-semicolon): New variables.
58179cce 15681 (c-make-macro-with-semi-re): New function.
bc97a826 15682
7a6c0941
SM
156832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15684
15685 * vc/log-edit.el: Fill empty field rather than adding new one.
15686 (log-edit-add-field): New function.
15687 (log-edit-insert-changelog): Use it.
15688
b0c4cdcf
ML
156892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15690
15691 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15692
ee1f1da9
SM
156932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15694
15695 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15696 (gdb--check-interpreter): New function.
15697 (gdb): Use it.
15698
51bc5f8b
GM
156992011-10-27 Glenn Morris <rgm@gnu.org>
15700
416a2c45
GM
15701 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15702 (least-positive-float, least-negative-float)
15703 (least-positive-normalized-float, least-negative-normalized-float)
15704 (float-epsilon, float-negative-epsilon):
15705 Remove unnecessary declarations.
15706
15707 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15708 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15709 (least-positive-float, least-negative-float)
15710 (least-positive-normalized-float, least-negative-normalized-float)
15711 (float-epsilon, float-negative-epsilon): Add doc-strings,
15712 based on those in cl.texi.
15713
51bc5f8b
GM
15714 * files.el (set-visited-file-name): If the major-mode changed,
15715 reload the local variables. (Bug#9796)
15716
15de15c6
CY
157172011-10-27 Chong Yidong <cyd@gnu.org>
15718
15719 * subr.el (change-major-mode-after-body-hook): New hook.
15720 (run-mode-hooks): Run it.
15721
ee1f1da9
SM
15722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15723 Use change-major-mode-before-body-hook.
15de15c6
CY
15724
15725 * simple.el (fundamental-mode):
15726 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15727 change introducing fundamental-mode-hook.
15728
5430d399
JB
157292011-10-26 Juanma Barranquero <lekktu@gmail.com>
15730
acc825c5 15731 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 15732
ad74a69e
MA
157332011-10-26 Michael Albinus <michael.albinus@gmx.de>
15734
15735 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 15736 tramp.el explicitly. (Bug#7583)
ad74a69e 15737
71d4c2a5
SM
157382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * progmodes/octave-mod.el:
15741 * progmodes/octave-inf.el: Update maintainer.
15742
b1f6fa26
CY
157432011-10-26 Chong Yidong <cyd@gnu.org>
15744
15745 * subr.el (with-wrapper-hook): Rewrite doc.
15746
3f04efd6
MA
157472011-10-25 Michael Albinus <michael.albinus@gmx.de>
15748
15749 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 15750 filenames "/method:foo:". (Bug#9793)
3f04efd6 15751
410488d3
SM
157522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15753
15754 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15755 (bug#9865).
15756
c1ebb47e
GM
157572011-10-24 Glenn Morris <rgm@gnu.org>
15758
15759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15760
7f5c46c7
MA
157612011-10-24 Michael Albinus <michael.albinus@gmx.de>
15762
15763 * notifications.el: Add the requirement of a running D-Bus session
15764 bus to the Commentary.
15765
db2440b6
JL
157662011-10-24 Juri Linkov <juri@jurta.org>
15767
15768 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15769 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15770 (Bug#9364)
15771
feecf435
JL
157722011-10-24 Juri Linkov <juri@jurta.org>
15773
15774 * info.el (Info-following-node-name-re): Add newline to the list
15775 of allowed characters for leading space. (Bug#9824)
15776
a3839de2
SM
157772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15778
acc825c5
SM
15779 * progmodes/octave-inf.el (inferior-octave-mode-map):
15780 Fix C-c C-h binding.
a3839de2
SM
15781 * progmodes/octave-mod.el (octave-help): Remove.
15782
09388e76
MA
157832011-10-23 Michael Albinus <michael.albinus@gmx.de>
15784
15785 Sync with Tramp 2.2.3.
15786
15787 * net/tramp-cache.el (top): Pacify byte-compiler using
15788 `init-file-user' and `site-run-file'.
15789
15790 * net/trampver.el: Update release number.
15791
86c60681
CY
157922011-10-23 Chong Yidong <cyd@gnu.org>
15793
15794 * files.el (toggle-read-only): Remove obsolete comment about
15795 version control.
15796
15797 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15798 for toggle-read-only. Note that this hasn't called vc-next-action
15799 since 2008-05-02, though it wasn't documented at the time.
15800
a3839de2
SM
15801 * vc/ediff-init.el (ediff-toggle-read-only-function):
15802 Use toggle-read-only.
86c60681 15803
cd5495ff
AM
158042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15805
15806 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15807 of c-parse-state.
15808
00b77525 15809 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 15810 correct faulty logical expression.
cd5495ff
AM
15811 (c-parse-state-state, c-record-parse-state-state):
15812 (c-replay-parse-state-state): New defvar/defuns.
15813 (c-debug-parse-state): Use new functions.
15814
42ee24ed
MR
158152011-10-22 Martin Rudalics <rudalics@gmx.at>
15816
15817 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 15818 last fix. Use window-in-direction correctly.
42ee24ed 15819
a7dee7e7
CY
158202011-10-21 Chong Yidong <cyd@gnu.org>
15821
15822 * progmodes/idlwave.el (idlwave-mode):
15823 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
15824 require-final-newline; that's done in prog-mode.
15825 Suggested by Stefan Monnier.
a7dee7e7 15826
e07b9a6d
MR
158272011-10-21 Martin Rudalics <rudalics@gmx.at>
15828
15829 * mouse.el (mouse-drag-window-above)
15830 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15831 (mouse-drag-mode-line-1, mouse-drag-header-line)
15832 (mouse-drag-vertical-line-rightward-window): Remove.
15833 (mouse-drag-line): New function.
15834 (mouse-drag-mode-line, mouse-drag-header-line)
15835 (mouse-drag-vertical-line): Call mouse-drag-line.
15836 * window.el (window-at-side-p, windows-at-side): New functions.
15837
7e1361d9
UM
158382011-10-21 Ulrich Mueller <ulm@gentoo.org>
15839
15840 * tar-mode.el (tar-grind-file-mode):
15841 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15842
30fcaf3a
CY
158432011-10-21 Chong Yidong <cyd@gnu.org>
15844
15845 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
15846 * progmodes/vera-mode.el (vera-mode):
15847 Use mode-require-final-newline.
30fcaf3a 15848
516eddb0
GM
158492011-10-20 Glenn Morris <rgm@gnu.org>
15850
db22a3c2 15851 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 15852
10d5f513
CS
158532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15854
15855 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15856
ac6c8639
CY
158572011-10-20 Chong Yidong <cyd@gnu.org>
15858
15859 * emulation/cua-base.el (cua-mode):
15860 * mail/footnote.el (footnote-mode):
15861 * mail/mailabbrev.el (mail-abbrevs-mode):
15862 * net/xesam.el (xesam-minor-mode):
15863 * progmodes/bug-reference.el (bug-reference-mode):
15864 * progmodes/cap-words.el (capitalized-words-mode):
15865 * progmodes/compile.el (compilation-minor-mode)
15866 (compilation-shell-minor-mode):
15867 * progmodes/gud.el (gud-tooltip-mode):
15868 * progmodes/hideif.el (hide-ifdef-mode):
15869 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15870 * progmodes/subword.el (subword-mode):
15871 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15872 * progmodes/which-func.el (which-function-mode):
15873 * term/tvi970.el (tvi970-set-keypad-mode):
15874 * term/vt100.el (vt100-wide-mode):
15875 * textmodes/flyspell.el (flyspell-mode):
15876 * textmodes/ispell.el (ispell-minor-mode):
15877 * textmodes/nroff-mode.el (nroff-electric-mode):
15878 * textmodes/paragraphs.el (use-hard-newlines):
15879 * textmodes/refill.el (refill-mode):
15880 * textmodes/reftex.el (reftex-mode):
15881 * textmodes/rst.el (rst-minor-mode):
15882 * textmodes/sgml-mode.el (html-autoview-mode)
15883 (sgml-electric-tag-pair-mode):
15884 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15885 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15886 * emulation/crisp.el (crisp-mode):
15887 * emacs-lisp/eldoc.el (eldoc-mode):
15888 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15889 minor mode behavior.
15890
aa42ab43
JL
158912011-10-19 Juri Linkov <juri@jurta.org>
15892
15893 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15894 the list of hard-coded chars with escape-glyph face.
15895
89400f1d
SM
158962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15897
15898 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15899
305c07f6
MA
159002011-10-19 Michael Albinus <michael.albinus@gmx.de>
15901
15902 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15903 running process.
15904
13754b54
GM
159052011-10-19 Glenn Morris <rgm@gnu.org>
15906
15907 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15908 Ignore ignored files. (Bug#9726)
15909
06e21633
CY
159102011-10-19 Chong Yidong <cyd@gnu.org>
15911
15912 Doc fix for minor modes, stating that an omitted argument enables
15913 the mode unconditionally when called from Lisp.
15914
15915 * abbrev.el (abbrev-mode):
15916 * allout.el (allout-mode):
15917 * autoinsert.el (auto-insert-mode):
15918 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15919 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15920 (global-auto-revert-mode):
15921 * battery.el (display-battery-mode):
15922 * composite.el (global-auto-composition-mode)
15923 (auto-composition-mode):
15924 * delsel.el (delete-selection-mode):
15925 * desktop.el (desktop-save-mode):
15926 * dired-x.el (dired-omit-mode):
15927 * dirtrack.el (dirtrack-mode):
15928 * doc-view.el (doc-view-minor-mode):
15929 * double.el (double-mode):
15930 * electric.el (electric-indent-mode, electric-pair-mode):
15931 * emacs-lock.el (emacs-lock-mode):
15932 * epa-hook.el (auto-encryption-mode):
15933 * follow.el (follow-mode):
15934 * font-core.el (font-lock-mode):
15935 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15936 * help.el (temp-buffer-resize-mode):
15937 * hilit-chg.el (highlight-changes-mode)
15938 (highlight-changes-visible-mode):
15939 * hi-lock.el (hi-lock-mode):
15940 * hl-line.el (hl-line-mode, global-hl-line-mode):
15941 * icomplete.el (icomplete-mode):
15942 * ido.el (ido-everywhere):
15943 * image-file.el (auto-image-file-mode):
15944 * image-mode.el (image-minor-mode):
15945 * iswitchb.el (iswitchb-mode):
15946 * jka-cmpr-hook.el (auto-compression-mode):
15947 * linum.el (linum-mode):
15948 * longlines.el (longlines-mode):
15949 * master.el (master-mode):
15950 * mb-depth.el (minibuffer-depth-indicate-mode):
15951 * menu-bar.el (menu-bar-mode):
15952 * minibuf-eldef.el (minibuffer-electric-default-mode):
15953 * mouse-sel.el (mouse-sel-mode):
15954 * msb.el (msb-mode):
15955 * mwheel.el (mouse-wheel-mode):
15956 * outline.el (outline-minor-mode):
15957 * paren.el (show-paren-mode):
15958 * recentf.el (recentf-mode):
15959 * reveal.el (reveal-mode, global-reveal-mode):
15960 * rfn-eshadow.el (file-name-shadow-mode):
15961 * ruler-mode.el (ruler-mode):
15962 * savehist.el (savehist-mode):
15963 * scroll-all.el (scroll-all-mode):
15964 * scroll-bar.el (scroll-bar-mode):
15965 * server.el (server-mode):
15966 * shell.el (shell-dirtrack-mode):
15967 * simple.el (auto-fill-mode, transient-mark-mode)
15968 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15969 (line-number-mode, column-number-mode, size-indication-mode)
15970 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15971 * strokes.el (strokes-mode):
15972 * time.el (display-time-mode):
15973 * t-mouse.el (gpm-mouse-mode):
15974 * tool-bar.el (tool-bar-mode):
15975 * tooltip.el (tooltip-mode):
15976 * type-break.el (type-break-mode-line-message-mode)
15977 (type-break-query-mode):
15978 * view.el (view-mode):
15979 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15980 (global-whitespace-mode, global-whitespace-newline-mode):
15981 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15982
a3839de2
SM
15983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15984 Fix autogenerated docstring.
06e21633 15985
5214e501
JL
159862011-10-19 Juri Linkov <juri@jurta.org>
15987
15988 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15989 by checking environment variables "DESKTOP_SESSION" and
15990 "XDG_CURRENT_DESKTOP". (Bug#9779)
15991
195f8db9
JL
159922011-10-19 Juri Linkov <juri@jurta.org>
15993
15994 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15995 (browse-url-chromium-program, browse-url-chromium-arguments):
15996 New defcustoms.
15997 (browse-url-default-browser): Check for `browse-url-chromium' and
15998 call `browse-url-chromium-program'.
15999 (browse-url-chromium): New command. (Bug#9779)
16000
343a34ff
JB
160012011-10-18 Juanma Barranquero <lekktu@gmail.com>
16002
16003 * facemenu.el (list-colors-duplicates): On Windows, detect more
16004 duplicates by assuming that only colors matching "^System" are
16005 special "system colors". (Bug#9722)
16006
6978a151
SM
160072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16008
16009 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16010 to distinguish the author from the committer.
16011
6a80b297
MA
160122011-10-18 Michael Albinus <michael.albinus@gmx.de>
16013
16014 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16015
b31a5677
JK
160162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16017
16018 * international/mule.el (sgml-html-meta-auto-coding-function):
16019 Add support for detecting encoding in HTML5 specified only as
16020 <meta charset="UTF-8">. Implementation just makes http-equiv and
16021 content-type parts from HTML4 encoding string optional. (Bug#9716)
16022
80c6d77f
GM
160232011-10-18 Glenn Morris <rgm@gnu.org>
16024
16025 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16026
08b0fee8
CY
160272011-10-18 Chong Yidong <cyd@gnu.org>
16028
16029 * faces.el (cursor): Doc fix.
16030
67e729a5
CY
160312011-10-17 Chong Yidong <cyd@gnu.org>
16032
16033 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16034
343a34ff 160352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16036
16037 * dirtrack.el (dirtrack): Support shell buffers with path
16038 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16039
0bc06380
TZ
160402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16041
16042 * json.el: Bump version to 1.3 and note change in History.
16043 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16044
8b79f3e0
SM
160452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16046
5a7c536b
SM
16047 * comint.el (comint-insert-input, comint-send-input)
16048 (comint-get-old-input-default, comint-backward-matching-input)
16049 (comint-next-prompt): Use nil instead of `input' for field property of
16050 past user input (bug#114).
16051
96a8a0df
SM
16052 * minibuffer.el (completion--replace): Inherit surrounding properties
16053 (bug#114).
16054 (minibuffer-complete-and-exit): Use it.
16055
8b79f3e0
SM
16056 * comint.el (comint--table-subvert): Quote the all-completions output
16057 (bug#9160).
16058
b8f7ff0d
MR
160592011-10-17 Martin Rudalics <rudalics@gmx.at>
16060
8b79f3e0 16061 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 16062
b8f7ff0d 16063 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 16064 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
16065 entries and separate them from frame entries.
16066
c235b555
GM
160672011-10-15 Glenn Morris <rgm@gnu.org>
16068
16069 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16070 Doc fixes.
16071
6bbfa6e1
CY
160722011-10-15 Chong Yidong <cyd@stupidchicken.com>
16073
8b79f3e0
SM
16074 * net/network-stream.el (network-stream-open-starttls):
16075 Improve detection of failure due to lack of TLS support.
ec5c990d 16076
6bbfa6e1
CY
16077 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16078 putting the input text in front and in bold.
16079
98488977
SM
160802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16081
3d1337be
SM
16082 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16083
ee0b45e4
SM
16084 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16085 empty buffer.
16086
98488977
SM
16087 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16088 unread-command-events rather than pushing yet-another event.
16089
186f4720
EZ
160902011-10-14 Eli Zaretskii <eliz@gnu.org>
16091
16092 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16093 the explanation of the possible choices. Make the options passed
16094 to completing-read shorter.
16095
8b7a997c
AM
160962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16097
16098 * textmodes/flyspell.el (flyspell-large-region): Make sure
16099 extended character mode is used if defined (Bug#1339).
16100
12587bbb
EZ
161012011-10-13 Eli Zaretskii <eliz@gnu.org>
16102
16103 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
16104 character info for LRE, LRO, RLE, and RLO characters by appending
16105 an invisible PDF.
12587bbb 16106
bad41229
SM
161072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16110 even in case of error; add debug spec; simplify data flow.
16111 (with-timeout-handler): Remove.
16112
28dbc92f
MA
161132011-10-12 Michael Albinus <michael.albinus@gmx.de>
16114
16115 Fix Bug#6019, Bug#9315.
16116
16117 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16118 complete `buffer-file-name', the local file name part could look
16119 remotely (for example on VMS).
16120
16121 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16122 `tramp-run-real-handler'.
16123 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16124 already quoted by '"'.
16125
16126 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16127 Let `file-name-handler-alist' be nil, the local file name part
16128 could look remotely (for example on VMS).
16129
e1b0b23a
SM
161302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16131
16132 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16133 from here...
16134 (flyspell-post-command-hook): ...to here.
16135
a120bde9
SM
161362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16139 if not needed.
16140 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16141 using completion. Protect against "slow" callers.
16142 Remove the "message hack".
16143
7ce7717b
JL
161442011-10-11 Juri Linkov <juri@jurta.org>
16145
16146 * isearch.el (isearch-lazy-highlight-word): New variable.
16147 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16148 Use it. (Bug#9727)
16149
c02ee9d6
GM
161502011-10-11 Glenn Morris <rgm@gnu.org>
16151
16152 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16153 like f90-previous-statement does.
16154
93e616fd 161552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16156
1f190e73 16157 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
16158 only in interactive use, to avoid error.
16159
af7b6078
SM
161602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16161
16162 * minibuffer.el (completion-file-name-table): Fix last change,
16163 i.e. ignore normal errors but not the other ones.
16164
0563dae9
MR
161652011-10-10 Martin Rudalics <rudalics@gmx.at>
16166
16167 * window.el (special-display-buffer-names)
16168 (special-display-regexps): Remove some remnants of earlier
16169 changes from doc-strings.
366ca7f3
MR
16170 (quit-windows-on): New function.
16171
16172 * vc/vc.el (vc-revert, vc-rollback):
16173 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16174 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 16175 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 16176
49677495
MR
161772011-10-09 Martin Rudalics <rudalics@gmx.at>
16178
16179 * window.el (frame-auto-hide-function): Add version tag.
16180 (Bug#9699)
16181
56f2d1e1
MA
161822011-10-09 Michael Albinus <michael.albinus@gmx.de>
16183
16184 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16185 condition.
16186
112a6592
LL
161872011-10-09 Leo Liu <sdl.web@gmail.com>
16188
16189 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16190 (Bug#9701)
16191
0812589b
GM
161922011-10-08 Glenn Morris <rgm@gnu.org>
16193
16194 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16195 before the first code statement zero indent. (Bug#9690)
16196
b2b0776e
CY
161972011-10-08 Chong Yidong <cyd@stupidchicken.com>
16198
16199 * simple.el (count-words-region): Always count in the region.
16200 Report the number of lines and characters too.
16201 (count-words): New command, which counts in the buffer if the
16202 region is inactive, as count-words-region used to.
16203 (count-words--message): New function. Handle plurals.
16204 (count-lines-region): Make it an alias for count-words-region.
16205
16206 * bindings.el (esc-map): Replace count-lines-region with
16207 count-words-region.
16208
c557cd6b
MR
162092011-10-08 Martin Rudalics <rudalics@gmx.at>
16210
16211 * window.el (window--delete): Delete dedicated frame
16212 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 16213 (switch-to-buffer): Fix doc-string typo.
c557cd6b 16214
61a57ef4 162152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16216
3a7d293b 16217 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 16218
c3833279
CY
162192011-10-07 Chong Yidong <cyd@stupidchicken.com>
16220
16221 * bindings.el ([M-left],[M-right]): Bind to left-word and
16222 right-word respectively.
16223
21ce8245
GM
162242011-10-07 Glenn Morris <rgm@gnu.org>
16225
16226 * cus-start.el (debug-on-quit): Fix custom type.
16227
6d823bb2
LMI
162282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16229
0181e193
LMI
16230 * subr.el (define-key-after): Clarify that the function is not
16231 useful for non-menu keymaps.
16232
6d823bb2
LMI
16233 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16234
8e3459ce 162352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16236
21ce8245 16237 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 16238 in current minibuffer (Fix bug with recursive minibuffers).
16239
a1c2d21e
CY
162402011-10-06 Chong Yidong <cyd@stupidchicken.com>
16241
16242 * progmodes/gdb-mi.el (gdb): Doc fix.
16243
5a4cf282
MR
162442011-10-05 Martin Rudalics <rudalics@gmx.at>
16245
16246 * window.el (frame-auto-hide-function): New option replacing
16247 frame-auto-delete. Suggested by Stefan Monnier.
16248 (window--delete): Call frame-auto-hide-function instead of
16249 investigating frame-auto-delete.
c96111ea
MR
16250 (window-point-1, set-window-point-1): New functions.
16251 (window-in-direction, record-window-buffer, window-state-get-1)
16252 (display-buffer-record-window): Use window-point-1 instead of
16253 window-point.
16254 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 16255
9854542e
SM
162562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16257
16258 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16259
8943cfb0
GM
162602011-10-05 Glenn Morris <rgm@gnu.org>
16261
16262 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16263 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16264
647ab967
LL
162652011-10-05 Leo Liu <sdl.web@gmail.com>
16266
16267 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16268 works with buffer object.
16269
3ddfbced
SM
162702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 * mpc.el (mpc-tool-bar-map): Add labels.
16273
bdfa5dd2
GM
162742011-10-04 Glenn Morris <rgm@gnu.org>
16275
16276 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16277
0e2070b5
MR
162782011-10-04 Martin Rudalics <rudalics@gmx.at>
16279
16280 * window.el (window--delete): New function.
16281 (frame-auto-delete): Resuscitate option.
16282 (bury-buffer, replace-buffer-in-windows)
16283 (quit-window): Rewrite using window--delete.
16284 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16285 Pass display-buffer-mark-dedicated to window--display-buffer-2
16286 (Bug#9639).
16287
3dc61a09
SM
162882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16289
915a9b64
SM
16290 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16291 returns a list (bug#9554). Add remote file name completion.
16292 * comint.el (comint--table-subvert): Curry and get quote&unquote
16293 functions as arguments.
16294 (comint--complete-file-name-data): Adjust call accordingly.
16295 * pcomplete.el (pcomplete--table-subvert): Remove.
16296 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16297
3dc61a09
SM
16298 * minibuffer.el (completion-table-case-fold): Use currying.
16299 (completion--styles-type, completion--cycling-threshold-type):
16300 New constants.
16301 (completion-styles, completion-category-overrides)
16302 (completion-cycle-threshold): Use them.
16303 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16304 completion-table-case-fold.
16305
8ea0a993
SB
163062011-10-03 Stephen Berman <stephen.berman@gmx.net>
16307
16308 * minibuffer.el (completion-category-overrides): Fix type of styles
16309 and add more user friendly tags (bug#9660).
16310
8c24b7f6
SM
163112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16312
16313 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16314 (mule-input-method-string): New widget.
16315 (default-input-method, language-info-custom-alist): Use it.
16316
428fe61a
SM
163172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16318
32c1fffd
SM
16319 * pcomplete.el: Require comint.
16320 (pcomplete--common-suffix): Remove.
16321 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
16322 (pcomplete--table-subvert): Sync with comint--table-subvert.
16323 (pcomplete--entries): Use comint-completion-file-name-table.
16324 * comint.el (comint-unquote-filename): Simplify.
16325 (comint-completion-file-name-table): New function (bug#9616).
16326 (comint--complete-file-name-data): Use it.
16327
428fe61a
SM
16328 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
16329 (pcmpl-gnu-tar-buffer): Remove.
16330 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
16331 around. Make sure pcomplete-suffix-list is only changed temporarily.
16332 Don't look inside the tar's file if it's too large.
428fe61a 16333
04c52e2f
CY
163342011-10-01 Chong Yidong <cyd@stupidchicken.com>
16335
ce3cefcc
CY
16336 * cus-edit.el (custom-mode-map):
16337 * epa.el (epa-key-list-mode-map):
16338 * man.el (Man-mode-map):
16339 * startup.el (splash-screen-keymap):
16340 * simple.el (special-mode-map): Use scroll-up-command and
16341 scroll-down-command.
16342
16343 * progmodes/idlw-help.el (idlwave-help-mode-map):
16344 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
16345 * net/newst-plainview.el (newsticker-mode-map):
16346 * emulation/ws-mode.el (wordstar-mode-map):
16347 * emulation/vi.el (vi-com-map):
16348 * calc/calc-graph.el (calc-graph-show-dumb):
16349 * term/sun.el (terminal-init-sun):
16350 * term/ns-win.el (global-map):
16351 * progmodes/grep.el (grep-mode-map):
16352 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
16353 * mail/rmail.el (rmail-mode-map):
16354 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
16355
04c52e2f
CY
16356 * custom.el (custom-safe-themes, load-theme): Treat value of t for
16357 custom-safe-themes as special.
16358
79adf8c8
JD
163592011-10-01 Julien Danjou <julien@danjou.info>
16360
16361 * notifications.el (notifications-notify): Fix docstring.
16362
63bd50d3
PS
163632011-10-01 Per Starbäck <per@starback.se>
16364
16365 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
16366
199e4c7e
MR
163672011-09-30 Martin Rudalics <rudalics@gmx.at>
16368
16369 * startup.el (command-line-1): Fix last fix by inserting
16370 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 16371 (Bug#9605) and (Bug#9636)
199e4c7e 16372
fe5f08dd
EZ
163732011-09-29 Eli Zaretskii <eliz@gnu.org>
16374
16375 * simple.el (line-move): If auto-hscroll-mode is disabled and the
16376 window is hscrolled, move by logical lines. (Bug#9607)
16377 (line-move-visual): Update the doc string to the above effect.
16378
b5516bbd
MR
163792011-09-29 Martin Rudalics <rudalics@gmx.at>
16380
ccee00c0
MR
16381 * window.el (display-buffer-record-window): When WINDOW is the
16382 selected window use `point' instead of `window-point'. (Bug#9626)
16383
b5516bbd
MR
16384 * startup.el (command-line-1): Use insert-before-markers when
16385 inserting initial-scratch-message. (Bug#9605)
ccee00c0 16386
b5516bbd
MR
16387 * help.el (help-window): Remove variable.
16388
52aa0014
GM
163892011-09-29 Glenn Morris <rgm@gnu.org>
16390
16391 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
16392
df9a7357
JB
163932011-09-29 Juanma Barranquero <lekktu@gmail.com>
16394
16395 * descr-text.el (describe-char-categories): Accept category
16396 descriptions more than one line long.
16397
a8406c20
SM
163982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16399
88d9610c
SM
16400 * simple.el (delete-trailing-whitespace): Fix last change.
16401
a5daf810
SM
16402 * progmodes/perl-mode.el (perl-syntax-propertize-function):
16403 Don't confuse "y => 3" as the beginning of a `y' operation.
16404
a8406c20
SM
16405 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
16406 object has more than 4 slots (bug#9613).
16407
a239d4e9
JB
164082011-09-28 Juanma Barranquero <lekktu@gmail.com>
16409
16410 * subr.el (with-output-to-temp-buffer):
16411 * net/quickurl.el (quickurl, quickurl-browse-url):
16412 Fix typos in docstrings.
16413
693fbdb6
EZ
164142011-09-27 Eli Zaretskii <eliz@gnu.org>
16415
16416 * minibuffer.el (completion-styles)
16417 (completion-category-overrides): Cross reference each other in doc
16418 strings.
16419
8b457e28
GM
164202011-09-27 Glenn Morris <rgm@gnu.org>
16421
16422 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
16423 to split-string. (Bug#9606)
16424
85a16208
LMI
164252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16426
16427 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
16428 (bug#9615).
16429
502f9ebd
CY
164302011-09-27 Chong Yidong <cyd@stupidchicken.com>
16431
16432 * emacs-lisp/package.el (list-packages): Fix echo area message.
16433
7690bdea
LL
164342011-09-27 Leo Liu <sdl.web@gmail.com>
16435
16436 * ido.el (ido-read-internal): Accept cons cell HIST arg.
16437
e2ee6f30
MA
164382011-09-25 Michael Albinus <michael.albinus@gmx.de>
16439
16440 * net/dbus.el (dbus-unregister-object): Don't release services for
16441 registered signals. (Bug#9581)
16442
f3f98342
TZ
164432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
16444
16445 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
16446 function that picks between cfengine 2 and 3 support
16447 automatically. Update docs accordingly.
16448
dd7aa8dd
KH
164492011-09-22 Kenichi Handa <handa@m17n.org>
16450
16451 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
16452 ZERO.
16453 (indian-itrans-v5-table-for-tamil): New variable.
16454 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
16455
3f2b07f8
KM
164562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
16457
16458 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
16459 that's true if the current command involved collapsing of text.
16460 It's reset to false at the beginning of the next command.
16461 (allout-post-command-business): Move the cursor to the beginning
16462 of entry if the cursor is hidden and collapsing activity just
16463 happened.
16464
371d6a61
CY
164652011-09-24 Chong Yidong <cyd@stupidchicken.com>
16466
16467 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
16468 tracking (Bug#9541).
16469
2ac2721a
UJ
164702011-09-24 Ulf Jasper <ulf.jasper@web.de>
16471
16472 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
16473 (newsticker-show-news): Automatically load html rendering package
16474 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
16475 because w3m-fill-column is let-bound" and the error "Symbol's value
16476 as variable is void: w3m-fill-column".
2ac2721a 16477
fac7ae53
MA
164782011-09-24 Michael Albinus <michael.albinus@gmx.de>
16479
16480 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
16481 Release services only if they are defined. (Bug#9581)
16482
e08b633b
RS
164832011-09-23 Richard Stallman <rms@gnu.org>
16484
e488d29c
RS
16485 * textmodes/paragraphs.el (forward-sentence): For backwards case,
16486 distinguish start of paragraph from start of its text.
16487
19c38752
RS
16488 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
16489
e08b633b
RS
16490 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
16491 (rmail-generate-viewer-buffer): Put that hook on view buffer.
16492 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
16493
0a39f27e
AS
164942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
16495
16496 * international/mule-diag.el (mule-diag): Insert a newline after
16497 each fontset description.
16498
db4e950d
SM
164992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16500
16501 * simple.el (delete-trailing-whitespace):
16502 Document last change; simplify.
16503
eca3f3ea
PW
165042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
16505
d68e189a
PW
16506 * simple.el (delete-trailing-whitespace): Also delete
16507 extra newlines at the end of the buffer.
16508
eca3f3ea
PW
16509 * textmodes/picture.el: Make motion commands obey shift-select-mode.
16510 (picture-newline): Use forward-line so as to ignore fields.
16511
01c157cc
SM
165122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16513
16514 * subr.el (with-wrapper-hook): Fix edebug spec.
16515
022de23e
LMI
165162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517
16518 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
16519 (bug#4538).
16520
91683089
MA
165212011-09-23 Michael Albinus <michael.albinus@gmx.de>
16522
eca3f3ea
PW
16523 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
16524 Fix nasty bug using wrong cached values.
91683089 16525
5bdd6fa4
AM
165262011-09-23 Alan Mackenzie <acm@muc.de>
16527
16528 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
16529
97adfb97
CY
165302011-09-23 Chong Yidong <cyd@stupidchicken.com>
16531
16532 * window.el (pop-to-buffer): Ensure right window is selected if we
16533 chose another frame.
16534
d4ef2b50
EZ
165352011-09-22 Eli Zaretskii <eliz@gnu.org>
16536
16537 * simple.el (what-cursor-position): Use get-char-property-change
16538 and next-single-char-property-change, to be able to show display
16539 properties that come from overlays as well as text properties.
16540
72258fe5
CY
165412011-09-22 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
16544
16545 * cmuscheme.el (run-scheme, switch-to-scheme):
16546 * cus-edit.el (customize-group, custom-buffer-create)
16547 (customize-browse):
16548 * info.el (info):
16549 * shell.el (shell):
16550 * mail/sendmail.el (mail):
16551 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
16552
8f098516
RS
165532011-09-22 Richard Stallman <rms@gnu.org>
16554
16555 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
16556 move back only to line beg, don't move back over blank lines.
16557
e74f1bb6
MA
165582011-09-22 Michael Albinus <michael.albinus@gmx.de>
16559
16560 * files.el (copy-directory): Set directory attributes only in case
16561 they could be retrieved from the source directory. (Bug#9565)
16562
bfeef8b6
DK
165632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
16564
16565 * progmodes/hideshow.el (hs-looking-at-block-start-p)
16566 (hs-find-block-beginning, hs-hide-level-recursive):
16567 Ignore strings as well as comments. (Bug#9502)
16568
7e423bb8
AS
165692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
16570
16571 * progmodes/sql.el (sql-comint-postgres):
16572 Convert port number to a string. (Bug#9566)
16573
b4d72fcf
MR
165742011-09-22 Martin Rudalics <rudalics@gmx.at>
16575
16576 * window.el (quit-window): Undedicate window when switching to
16577 previous buffer. Reported by Thierry Volpiatto
16578 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
16579 (special-display-popup-frame): When popping up a new frame reset
16580 its previous buffers to nil. Simplify code.
b4d72fcf 16581
a7b88dc6
MA
165822011-09-21 Michael Albinus <michael.albinus@gmx.de>
16583
16584 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
16585 and process filter, as done also in `shell-command'.
16586
cf4eacfd
MR
165872011-09-21 Martin Rudalics <rudalics@gmx.at>
16588
eca3f3ea 16589 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
16590 Call set-window-start with NOFORCE argument t.
16591 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
16592 (quit-window): Reword doc-string. Handle new format of
16593 quit-restore parameter. Don't delete window if it has a
16594 previous buffer we can show instead of the present one.
16595 (display-buffer-record-window): Rewrite using a new format for
16596 the quit-restore window parameter
16597 (special-display-popup-frame, display-buffer-same-window)
16598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16599 (display-buffer-pop-up-window, display-buffer-use-some-window):
16600 Adapt symbol passed to display-buffer-record-window.
16601 * help.el (help-window-setup): Handle new format of quit-restore
16602 parameter.
16603
8d28cb95
SM
166042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
16605
94ab793f
SM
16606 * faces.el (face-list): Fix docstring (bug#9564).
16607
8d28cb95
SM
16608 * window.el (display-buffer--action-function-custom-type):
16609 Don't include internal functions in the Custom interface.
16610
3820edeb
JL
166112011-09-20 Juri Linkov <juri@jurta.org>
16612
16613 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
16614 (Info-forward-node, Info-backward-node, Info-next-preorder)
16615 (Info-last-preorder): Use it. (Bug#9528)
16616
5147931d
JL
166172011-09-20 Juri Linkov <juri@jurta.org>
16618
16619 * info.el (Info-last-preorder): Visit last menu item only when
16620 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
16621
cf499a1a
JD
166222011-09-20 Julien Danjou <julien@danjou.info>
16623
16624 * password-cache.el (password-cache-remove): Remove entries even if the
16625 value is nil, so that password with a nil value (negative caching) is
16626 possible to invalidate.
16627
f84e2fe2
LM
166282011-09-20 Lawrence Mitchell <wence@gmx.li>
16629
16630 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
16631 all whitespace around breakpoint. (Bug#9553)
16632 (f90-find-breakpoint): Only break at whitespace inside a comment.
16633
78054a46
SM
166342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16635
16636 * minibuffer.el (completion-file-name-table): Keep track of errors.
16637 (completion-table-with-predicate): Handle the case where pred1 is nil.
16638 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16639
345083b2
SM
166402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16641
e24e27be
SM
16642 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16643 (debugger-return-value): Signal an error if the debugging context does
16644 not await any return value.
16645
345083b2
SM
16646 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16647 * image-mode.el (image-toggle-display-text)
16648 (image-toggle-display-image): Stay away from evil `intangible'.
16649
08d355e3
LL
166502011-09-19 Leo Liu <sdl.web@gmail.com>
16651
16652 * replace.el (occur-revert-arguments): Make it permanent-local.
16653 (occur-mode): Don't call font-lock-defontify.
16654
f01da43f
CY
166552011-09-19 Chong Yidong <cyd@stupidchicken.com>
16656
16657 * net/ldap.el (ldap-search-internal): Don't push empty search
16658 result (Bug#9508).
16659
b6072fa6
SM
166602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16663
443d6696
MA
166642011-09-19 Michael Albinus <michael.albinus@gmx.de>
16665
16666 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16667 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16668
7cc6e154
JL
166692011-09-18 Juri Linkov <juri@jurta.org>
16670
16671 * buff-menu.el (Buffer-menu-mode-map):
16672 * dired.el (dired-mode-map):
16673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16674 (lisp-interaction-mode-map):
16675 * emacs-lisp/package.el (package-menu-mode-map):
16676 * epa.el (epa-key-list-mode-map):
16677 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16678 (menu-bar-options-menu):
16679 * outline.el (outline-mode-menu-bar-map):
16680 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16681 * vc/vc-dir.el (vc-dir-menu-map):
16682 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16683 Capitalize non-function content words in menu item strings.
16684
16685 * dired.el (dired-mode-map): Add menu item for
16686 `image-dired-dired-toggle-marked-thumbs'.
16687
80302a81
JL
166882011-09-18 Juri Linkov <juri@jurta.org>
16689
16690 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16691 to `isearch-case-fold-search' and restore its original value
16692 after the `isearch-mode' call.
16693
46c5cf66
JL
166942011-09-18 Juri Linkov <juri@jurta.org>
16695
16696 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16697 because `zgrep' returns 1 for successful matches (bug#9226).
16698
d18b513b
JL
166992011-09-18 Juri Linkov <juri@jurta.org>
16700
16701 * info.el (Info-extract-menu-node-name): Check the second match
16702 for empty string (second test-case of bug#9528).
16703 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16704 intermediate nodes to the history (first test-case of bug#9528).
16705
72753f87
JL
167062011-09-18 Juri Linkov <juri@jurta.org>
16707
16708 * info.el (Info-mode-syntax-table): New variable.
1154d12e 16709 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 16710
c9384295
JL
167112011-09-18 Juri Linkov <juri@jurta.org>
16712
1154d12e
JB
16713 * info.el (Info-file-supports-index-cookies):
16714 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16715 outputs one more line for long file names (bug#4142).
c9384295 16716
d473dce8
CY
167172011-09-18 Chong Yidong <cyd@stupidchicken.com>
16718
16719 * newcomment.el (comment-normalize-vars): If prompting for
16720 comment-start, set comment-start-skip too (Bug#8424).
16721
2176854d
JB
167222011-09-18 Johan Bockgård <bojohan@gnu.org>
16723
16724 * icomplete.el: Fix previous fix of Bug#5849.
16725 (icomplete-mode): Don't set completion-show-inline-help.
16726 (icomplete-minibuffer-setup): Set completion-show-inline-help
16727 locally during icompletion.
16728
3aace4e4
CY
167292011-09-18 Chong Yidong <cyd@stupidchicken.com>
16730
c940224f
CY
16731 * woman.el (woman2-process-escapes): Don't delete unrecognized
16732 escapes (Bug#7843).
16733
3aace4e4
CY
16734 * files.el (inhibit-first-line-modes-regexps): Add image files.
16735 (hack-local-variables-prop-line): Return nil for malformed
16736 prop-lines (Bug#9044).
16737
710dec63
MA
167382011-09-18 Michael Albinus <michael.albinus@gmx.de>
16739
16740 * net/tramp.el (top): Don't require 'shell.
16741 (tramp-methods): Fix docstring.
16742 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
16743 Return complete remote file name. Handle "smb" case.
16744 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
16745 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16746
16747 * net/tramp-compat.el (top): Require 'shell.
16748
16749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16750 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16751 `tramp-current-host'.
16752 (tramp-get-remote-tmpdir): Remove.
16753
16754 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16755 `tramp-tmpdir' entries.
16756 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16757 (tramp-smb-handle-file-attributes): Ignore errors.
16758 (tramp-smb-wait-for-output): Check also for process end.
16759
5d5ac8ec
LMI
167602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16761
16762 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16763 when sending QUIT (bug#9312).
16764
8c0f49f0
CY
167652011-09-17 Chong Yidong <cyd@stupidchicken.com>
16766
16767 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16768 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16769 occur-mode-display-occurrence.
16770 (occur-edit-mode): Add usage message.
16771 (occur-cease-edit): New command.
16772 (occur-after-change-function): Use text properties to find the
16773 position of the prefix text.
16774 (occur-engine): Set stickiness of prefix text properties.
16775
8f1383f7
GM
167762011-09-17 Glenn Morris <rgm@gnu.org>
16777
16778 * progmodes/etags.el (complete-tag):
16779 Fix call to completion-in-region. (Bug#9526)
16780
744ba0e3
JL
167812011-09-17 Juri Linkov <juri@jurta.org>
16782
16783 * textmodes/ispell.el (ispell-word): Add to the error message
16784 the word, ispell program name and current dictionary (bug#9121).
16785 (ispell-tex-arg-end): Capitalize "error" in the error message.
16786
d9bbf400
AS
167872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16788
16789 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16790 check. (Bug#4251)
16791
8da11505
JL
167922011-09-17 Juri Linkov <juri@jurta.org>
16793
16794 * window.el (window-safe-min-height, window-safe-min-width):
16795 Fix typos (followup to bug#9522).
16796
a91adc7e
SJ
167972011-09-17 Sven Joachim <svenjoac@gmx.de>
16798
16799 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16800
064f328a
EZ
168012011-09-16 Eli Zaretskii <eliz@gnu.org>
16802
16803 * simple.el (line-move): If goal-column is set, move by logical
16804 lines, not by display lines. (Bug#971)
16805 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16806 to reflect the above change.
16807
e69df516
SM
168082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * image.el (imagemagick-register-types): Use regexp-opt.
16811
cbb0f9ab
CY
168122011-09-15 Chong Yidong <cyd@stupidchicken.com>
16813
16814 * window.el (display-buffer-base-action): Rename from
16815 display-buffer-default-action. Make default value empty.
16816 (display-buffer-overriding-action): Convert to defvar.
16817 (display-buffer-fallback-action): New var.
16818
25322144
CY
168192011-09-15 Chong Yidong <cyd@stupidchicken.com>
16820
16821 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16822 declaration.
16823 (package--add-to-archive-contents): If there is a duplicate entry
16824 with an older version, remove it.
16825 (package-menu-mark-delete, package-menu-mark-install)
16826 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
16827 (package-menu-mark-obsolete-for-deletion):
16828 Use package-menu-get-status instead of a regexp search.
25322144
CY
16829 (package-menu-get-status): Use tabulated-list-entry.
16830 (package-menu-mark-upgrades): New command.
d770725a 16831 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
16832 (package-menu-execute): Do installation before deletion.
16833 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16834 instead of checking major-mode.
16835 (package-menu--find-upgrades): New function.
16836
7520339c
LMI
168372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16838
16839 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16840 passwords in the log buffer.
65a046c4
LMI
16841 (smtpmail-process-filter): Update the process marker so that the
16842 "broken by peer" status message is inserted in the right place.
7520339c 16843
d3c30954
SM
168442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16845
3fe48822
SM
16846 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16847 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16848 bibtex-completion-at-point-function.
16849 (bibtex-completion-at-point-function): Use them.
16850
1b8b3954
SM
16851 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16852
d3c30954
SM
16853 * mpc.el (mpc-constraints-tag-lookup): New function.
16854 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16855 also to browser "album|playlist".
16856
72779976
JL
168572011-09-14 Juri Linkov <juri@jurta.org>
16858
16859 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16860 (isearch-edit-string): Use length of `isearch-string' when
16861 `isearch-fail-pos' returns nil.
16862 (isearch-message): Remove duplicate code and call
16863 `isearch-fail-pos' with arg `t'.
16864
a0bf2bcd
CY
168652011-09-14 Chong Yidong <cyd@stupidchicken.com>
16866
17bb0a2d
CY
16867 * replace.el (occur-mode-goto-occurrence): Don't force using other
16868 window (Bug#9499).
16869
a0bf2bcd
CY
16870 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16871
f678e0b6
MR
168722011-09-14 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (display-buffer-window): Remove.
16875 (display-buffer-record-window): Use help-setup window parameter
16876 instead of variable display-buffer-window.
16877 (display-buffer-function, special-display-buffer-names)
16878 (special-display-function): Mention help-setup parameter instead
16879 of display-buffer-window in doc-string.
d3c30954
SM
16880 * help.el (help-window-setup): New argument help-window.
16881 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
16882 Reword some messages.
16883 (with-help-window): Pass window used for displaying the buffer
16884 to help-window-setup. Don't set display-buffer-window.
16885
8e39b2e8
GM
168862011-09-13 Glenn Morris <rgm@gnu.org>
16887
16888 * emacs-lisp/debug.el (debugger-make-xrefs):
16889 Preserve point. (Bug#9462)
16890
85e9c04b
CY
168912011-09-13 Chong Yidong <cyd@stupidchicken.com>
16892
16893 * window.el (window-deletable-p): Use next-frame.
16894
1b36ed6a
MR
168952011-09-13 Martin Rudalics <rudalics@gmx.at>
16896
16897 * window.el (window-auto-delete): Remove.
16898 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 16899 dedication and previous buffers.
1b36ed6a
MR
16900 (switch-to-prev-buffer): Don't delete window.
16901 (delete-windows-on): Delete a window's frame if and only if the
16902 window is dedicated.
16903 (replace-buffer-in-windows): Delete buffer's window or frame if
16904 and only if window is dedicated.
16905 (quit-window): Handle quit-restore as before last change.
4d61f28d 16906 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 16907
ef8ef9fb
CY
169082011-09-13 Chong Yidong <cyd@stupidchicken.com>
16909
16910 * window.el (window-deletable-p): Never delete the last frame on a
16911 given terminal.
16912
b2cba41e
GM
169132011-09-13 Glenn Morris <rgm@gnu.org>
16914
16915 * help.el (describe-key-briefly): Copy previous standard-output change.
16916
51553db6 169172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
16918
16919 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16920
b7556719
GM
169212011-09-13 Glenn Morris <rgm@gnu.org>
16922
16923 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16924 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16925
64b51947
CY
169262011-09-12 Chong Yidong <cyd@stupidchicken.com>
16927
16928 * dired-aux.el (dired-mark-read-string): Don't return default
16929 value on empty input (Bug#9361).
16930 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16931 Omit initial minibuffer contents.
16932 (dired-do-chmod): Signal an error on empty input.
16933 (dired-mark-read-string): Don't return default on empty input.
16934
16935 * files.el (file-modes-symbolic-to-number): Doc fix.
16936
393a301e
SM
169372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16938
16939 * international/mule-cmds.el (ucs-completions): Remove.
16940 (read-char-by-name): Use complete-with-action instead; add metadata.
16941
fa5660f9
CY
169422011-09-11 Chong Yidong <cyd@stupidchicken.com>
16943
16944 * window.el (display-buffer--action-function-custom-type)
16945 (display-buffer--action-custom-type): New vars.
16946 (display-buffer-alist, display-buffer-default-action)
16947 (display-buffer-overriding-action): Add defcustom types.
16948
4a592f66
CY
16949 * frame.el (delete-other-frames): Doc fix (Bug#276).
16950
73d56dbd
LMI
169512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16952
16953 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16954
37ac18a3
CY
169552011-09-11 Chong Yidong <cyd@stupidchicken.com>
16956
16957 Change modes that used same-window-* vars to use switch-to-buffer.
16958
16959 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16960 Use switch-to-buffer.
16961
16962 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
16963 (customize-browse, custom-buffer-create-other-window):
16964 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
16965
16966 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16967 (Info-prev, Info-up, Info-speedbar-goto-node)
16968 (info-display-manual): Use switch-to-buffer.
16969 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16970
16971 * mail/sendmail.el (mail): Use switch-to-buffer.
16972 (mail-recover): Use switch-to-buffer-other-window.
16973
16974 * cmuscheme.el (run-scheme, switch-to-scheme):
16975 * ielm.el (ielm):
16976 * shell.el (shell):
16977 * net/rlogin.el (rlogin):
16978 * net/telnet.el (telnet, rsh):
16979 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16980
10195bd6
AS
169812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16982
16983 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16984
b322f63a
LMI
169852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16986
39d7fed6
LMI
16987 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16988 so don't mention it (bug#9301).
ba5a81f1 16989 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 16990
ee0e9f11
LMI
16991 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16992 match `x', `w32' and `ns', like the manual says (bug#9029).
16993
0b1c89c1 16994 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
16995 (process-kill-buffer-query-function): Mention the buffer name in
16996 the query.
0b1c89c1 16997
77549ea8
LMI
16998 * image-mode.el (image-next-line): The line parameter is mandatory
16999 (bug#9258).
17000
803ef892
LMI
17001 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17002 which can be useful (bug#9301).
17003
12980837
LMI
17004 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17005
91054f8f
LMI
17006 * subr.el (match-string): Mention that the current buffer should
17007 be the same as the search was done in (bug#9282).
17008
b322f63a
LMI
17009 * facemenu.el: Disable the remove-* commands if the mark isn't
17010 active (bug#9162).
17011
3199b96f
CY
170122011-09-10 Chong Yidong <cyd@stupidchicken.com>
17013
17014 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17015 of display-buffer.
17016 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17017
17018 * replace.el (occur-mode-goto-occurrence)
17019 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17020 and display-buffer.
17021
17022 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17023 display-buffer.
17024
17025 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17026 special-display and same-window variables.
17027 (mail-other-window): Use switch-to-buffer-other-window.
17028 (mail-other-frame): USe switch-to-buffer-other-frame.
17029
393a301e
SM
17030 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17031 Use display-buffer-other-frame.
3199b96f
CY
17032 (gdb-display-gdb-buffer): Use pop-to-buffer.
17033
17034 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17035
17036 * progmodes/python.el: Don't set same-window-buffer-names.
17037
17038 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17039
17040 * window.el (display-buffer-alist): Add *Python*.
17041
8319e0bf
CY
170422011-09-10 Chong Yidong <cyd@stupidchicken.com>
17043
17044 * window.el (display-buffer-alist): Add entry for buffers
17045 previously handled same-window-*.
17046 (display-buffer-alist, display-buffer-default-action)
17047 (display-buffer-overriding-action): Mark as risky.
17048 (display-buffer-alist): Document action function changes.
17049 (display-buffer--same-window-action)
17050 (display-buffer--other-frame-action): New variables.
17051 (switch-to-buffer, display-buffer-other-frame): Use them.
17052 (display-buffer): Rename reuse-frame entry to reusable-frames.
17053 (display-buffer-reuse-selected-window): Function deleted.
17054 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17055 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17056 (display-buffer-special): New function.
17057 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17058 display-buffer-reuse-or-pop-window. Split off special-display
17059 part into display-buffer-special.
17060 (display-buffer-use-some-window): Don't perform any special
17061 pop-up-frames handling.
17062 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 17063 (display-buffer--maybe-same-window): Rename from
0d3ff375 17064 display-buffer-maybe-same-window.
8319e0bf 17065
919a69aa
CY
17066 * info.el: Don't set same-window-regexps.
17067 (info-setup): New function.
17068 (info-other-window, info): Call it.
17069
17070 * cus-edit.el: Don't set same-window-regexps.
17071 (customize-group): New argument.
17072 (customize-group-other-window): Use it.
17073 (customize-face, customize-face-other-window): Likewise.
17074 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17075
8319e0bf
CY
17076 * net/rlogin.el:
17077 * net/telnet.el:
17078 * progmodes/gud.el: Don't set same-window-regexps.
17079
17080 * cmuscheme.el:
17081 * ielm.el:
17082 * shell.el:
17083 * mail/sendmail.el:
17084 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17085
25173000
JL
170862011-09-10 Juri Linkov <juri@jurta.org>
17087
17088 * isearch.el (isearch-edit-string): Remove obsolete mention of
17089 `C-w' (`isearch-yank-word-or-char') from docstring.
17090 (isearch-query-replace): Fix typo in docstring (bug#9466).
17091
056e44ef
JL
170922011-09-10 Juri Linkov <juri@jurta.org>
17093
17094 * paren.el (show-paren-function): Don't show escaped parens.
17095 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17096
c3760c17
EZ
170972011-09-10 Eli Zaretskii <eliz@gnu.org>
17098
17099 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17100 (mm-default-file-encoding): Remove autoload forms, they are
17101 replaced with autoload cookies in mml.el and mm-encode.el.
17102 (mail-add-attachment): New command.
17103 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17104 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17105 the doc string.
17106 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17107
fece895e
RT
171082011-09-10 Reuben Thomas <rrt@sc3d.org>
17109
e69df516
SM
17110 * simple.el (count-words-region): Use buffer if there's no region
17111 (bug#9429).
fece895e 17112
5e68ce4a
JL
171132011-09-09 Juri Linkov <juri@jurta.org>
17114
17115 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17116 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17117 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17118
0a6b9622
AM
171192011-09-09 Alan Mackenzie <acm@muc.de>
17120
17121 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17122 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17123
14a29deb
EZ
171242011-09-09 Eli Zaretskii <eliz@gnu.org>
17125
17126 Fix for Savannah bug#9392.
17127 * simple.el (mail-encode-mml): New defvar.
17128
17129 * mail/rmail.el (mail-encode-mml): Add a defvar.
17130 (rmail-enable-mime-composing): Default to t.
17131 (rmail-forward): Use MIME method of forwarding only if both
17132 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17133 Set mail-encode-mml non-nil if the MIME method was used.
17134
17135 * mail/sendmail.el (mml-to-mime): Add autoload form.
17136 (mail-encode-mml): Add a defvar.
17137 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17138 to nil.
17139 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17140 message through mml-to-mime, and reset mail-encode-mml to nil.
17141
28c45130
GM
171422011-09-09 Glenn Morris <rgm@gnu.org>
17143
17144 * woman.el (woman-if-body): When processing an .el block,
17145 do not delete the next .el block as well. (Bug#9447)
69f4b618 17146 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 17147
9b1c252e
MR
171482011-09-08 Martin Rudalics <rudalics@gmx.at>
17149
17150 * window.el (window-deletable-p): Make sure window is live before
17151 invoking window-prev-buffers.
17152
567457e3
LL
171532011-09-08 Leo Liu <sdl.web@gmail.com>
17154
17155 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17156
97f05794
JL
171572011-09-08 Juri Linkov <juri@jurta.org>
17158
17159 * progmodes/compile.el (compilation-environment): Make it
17160 a defcustom (bug#8340).
17161
8b0874b5
MR
171622011-09-08 Martin Rudalics <rudalics@gmx.at>
17163
17164 * window.el (frame-auto-delete): Rename to window-auto-delete.
17165 Make it control auto-deletion of windows and/or frames.
17166 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 17167 for deleting window/frame. (Bug#9419)
8b0874b5
MR
17168 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17169 Rewrite handling of case when window/frame can be deleted.
17170 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 17171 argument t. (Bug#9456)
8b0874b5 17172
4feb6e73
CY
171732011-09-07 Chong Yidong <cyd@stupidchicken.com>
17174
17175 * help-mode.el (help-mode): Restore autoload.
17176
91ab9c13
JL
171772011-09-07 Juri Linkov <juri@jurta.org>
17178
17179 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17180 `compilation-environment'. Set buffer-local
17181 `compilation-environment' to `thisenv' later after (funcall mode).
17182 (Bug#8340)
17183
17184 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17185 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17186 instead of replacing its value. (Bug#8340)
17187
0527e251
JL
171882011-09-07 Juri Linkov <juri@jurta.org>
17189
17190 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17191 based on text properties put by `grep-filter' instead of matching
17192 escape sequences.
17193 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17194 to the value of `grep-error-screen-columns' (bug#9438).
17195
249f792c
JL
171962011-09-07 Juri Linkov <juri@jurta.org>
17197
17198 * simple.el (next-error-highlight, next-error-highlight-no-select):
17199 Doc fix (bug#9432).
17200
ff7271b9
OT
172012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17202
17203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17204 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17205
183fc730
LL
172062011-09-07 Leo Liu <sdl.web@gmail.com>
17207
17208 * net/rcirc.el (rcirc-mode): Conditionally initialize
17209 rcirc-input-ring.
17210
77694924
SM
172112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * emacs-lisp/find-func.el (find-function-C-source): Only set
17214 find-function-C-source-directory after checking that we found a source
17215 file there (bug#9440).
17216
d809b8eb
AM
172172011-09-06 Alan Mackenzie <acm@muc.de>
17218
17219 * isearch.el (isearch-other-meta-char): Wherever a key list is
17220 unread, "unread" the prefix arg, too. This fixes bug #8901.
17221
453de99f
OG
172222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17223
17224 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17225
90439906
JL
172262011-09-05 Juri Linkov <juri@jurta.org>
17227
17228 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17229
f62bd846
JL
172302011-09-05 Juri Linkov <juri@jurta.org>
17231
17232 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17233 keeping point where processing of grep matches begins, and
17234 continue to delete remaining escape sequences from the same point.
17235 (grep-filter): Make leading zero optional in "0?1;31m" because
17236 git-grep emits "\033[1;31m" escape sequences unlike expected
17237 "\033[01;31m" as GNU Grep does (bug#9408).
17238 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17239
045820ec
JL
172402011-09-05 Juri Linkov <juri@jurta.org>
17241
17242 * subr.el (y-or-n-p): Capitalize "yes".
17243
f5e29b9b
MA
172442011-09-04 Michael Albinus <michael.albinus@gmx.de>
17245
17246 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17247 `tramp-cache-unload-hook' where appropriate.
17248 (tramp-methods): Rename `tramp-remote-sh' to
17249 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17250 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17251
17252 * net/tramp-sh.el (top): Don't require 'shell.
17253 (tramp-methods): Add `tramp-remote-shell' and
17254 `tramp-remote-shell-args' entries.
17255 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17256 (tramp-sh-handle-shell-command): Remove.
17257 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17258 Use `tramp-remote-shell'.
17259
2784c434
CY
172602011-09-03 Chong Yidong <cyd@stupidchicken.com>
17261
393a301e 17262 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
17263 (sendmail-query-once): Save directly to send-mail-function.
17264 Update message-send-mail-function too.
17265
17266 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17267
464cdf56
CS
172682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17269
17270 * progmodes/python.el (python-mode-map): Use correct function to
17271 start python interpreter from menu-bar (as reported by Geert
17272 Kloosterman).
17273 (inferior-python-mode-map): Fix typo.
393a301e 17274 (python-shell-map): Remove.
464cdf56 17275
d37e5c87
DD
172762011-09-03 Deniz Dogan <deniz@dogan.se>
17277
17278 * net/rcirc.el (rcirc-print): Simplify code for
17279 rcirc-scroll-show-maximum-output. There is no need to walk
17280 through all windows to find the right one.
17281
f3ada0ee
CS
172822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17283
17284 * help.el (help-return-method): Doc fix.
17285
1f3c99ca
MR
172862011-09-03 Martin Rudalics <rudalics@gmx.at>
17287
17288 * window.el (window-deletable-p): Don't return a non-nil value
17289 when there's a buffer that was shown in the window before.
17290 (Bug#9419)
393a301e
SM
17291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17292 Set window's previous buffers to nil.
1f3c99ca 17293
a3cf097f
EZ
172942011-09-03 Eli Zaretskii <eliz@gnu.org>
17295
17296 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17297 newline before and after the tag line, so it doesn't interfere
17298 with determining the paragraph direction of bidirectional text.
17299
3d03de90
LL
173002011-09-03 Leo Liu <sdl.web@gmail.com>
17301
17302 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17303
c3313451
CY
173042011-09-02 Chong Yidong <cyd@stupidchicken.com>
17305
393a301e 17306 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
17307 (pop-to-buffer): Change interactive spec. Pass second argument
17308 directly to display-buffer.
17309 (display-buffer): Fix interactive spec. Use functionp to
17310 distinguish between a function and a list of functions.
17311
17312 * abbrev.el (edit-abbrevs):
17313 * arc-mode.el (archive-extract):
17314 * autoinsert.el (auto-insert):
17315 * bookmark.el (bookmark-bmenu-list):
17316 * files.el (find-file):
17317 * view.el (view-buffer):
17318 * progmodes/compile.el (compilation-goto-locus):
17319 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
17320
89894cd8
CY
173212011-09-02 Chong Yidong <cyd@stupidchicken.com>
17322
17323 * window.el (display-buffer-alist): Doc fix.
17324 (display-buffer): Add docstring. Don't treat
17325 display-buffer-default specially.
17326 (display-buffer-reuse-selected-window)
17327 (display-buffer-same-window, display-buffer-maybe-same-window)
17328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17329 (display-buffer-pop-up-window)
17330 (display-buffer-reuse-or-pop-window)
17331 (display-buffer-use-some-window): New functions.
17332 (display-buffer-default-action): Use them.
393a301e 17333 (display-buffer-default): Delete.
89894cd8
CY
17334 (pop-to-buffer-1): Fix choice of actions.
17335
ae0bc9fb
SM
173362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
17337
17338 * minibuffer.el (completion--insert-strings): Don't get confused by
17339 completion entries that end with an LF char.
17340
e9d90883
EZ
173412011-09-01 Eli Zaretskii <eliz@gnu.org>
17342
17343 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
17344
437014c8
CY
173452011-09-01 Chong Yidong <cyd@stupidchicken.com>
17346
17347 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
17348 (display-buffer-same-window, display-buffer-other-window):
17349 New functions.
437014c8
CY
17350 (pop-to-buffer-1): New function. Use the above.
17351 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 17352 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
17353
17354 * view.el (view-buffer-other-window, view-buffer-other-frame):
17355 Just use pop-to-buffer.
17356
a5e063d5
TV
173572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17358
17359 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
17360
793d32bb
WH
173612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
17362
17363 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
17364
d65e4c15
RS
173652011-08-31 Richard Stallman <rms@gnu.org>
17366
17367 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
17368 of the separation of rmail-view-buffer from rmail-buffer.
17369 If you say no to "replace original", the decrypt is in the
17370 view buffer. If you say yes, the decrypt goes into the
17371 rmail buffer also.
17372
f818cd2a
MR
173732011-08-31 Martin Rudalics <rudalics@gmx.at>
17374
17375 * window.el (display-buffer-window): Rewrite doc-string.
17376 (display-buffer-record-window): New function.
17377 (display-buffer-macro-specifiers)
17378 (display-buffer-even-window-sizes, display-buffer-set-height)
17379 (display-buffer-set-width, display-buffer-in-window)
17380 (display-buffer-reuse-window, display-buffer-split-specifiers)
17381 (display-buffer-side-specifiers, display-buffer-split-window-1)
17382 (display-buffer-split-window, display-buffer-split-atom-window)
17383 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17384 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
17385 (display-buffer-other-window-means-other-frame)
17386 (display-buffer-normalize-special)
17387 (display-buffer-normalize-default)
17388 (display-buffer-normalize-argument)
17389 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
17390 (display-buffer-normalize-specifiers, display-buffer-frame)
17391 (display-buffer-same-window, display-buffer-same-frame)
17392 (display-buffer-other-window)
17393 (display-buffer-same-frame-other-window)
17394 (display-buffer-other-frame, pop-to-buffer-same-window)
17395 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
17396 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
17397 (switch-to-buffer-same-frame)
17398 (switch-to-buffer-other-window-same-frame)
17399 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
17400 (display-buffer-alist-set-1, display-buffer-alist-set-2)
17401 (display-buffer-alist-set): Remove.
17402 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
17403 (special-display-regexps, special-display-function):
17404 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
17405 parameter.
17406 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
17407 (special-display-frame-alist, special-display-popup-frame)
17408 (same-window-buffer-names, same-window-regexps, same-window-p)
17409 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17410 (split-window-preferred-function, split-height-threshold)
17411 (split-width-threshold, window-splittable-p)
17412 (split-window-sensibly, window--try-to-split-window)
17413 (window--frame-usable-p, even-window-heights)
17414 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
17415 (window--display-buffer-2, display-buffer-other-frame):
17416 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
17417 (display-buffer-default, display-buffer-assq-regexp): New functions.
17418 (display-buffer-alist): Rewrite doc-string.
17419 (display-buffer-default-action)
17420 (display-buffer-overriding-action): New variables.
17421 (display-buffer, switch-to-buffer): Rewrite.
17422 (pop-to-buffer): Restore Emacs 23 behavior but use
17423 window-normalize-buffer-to-display.
17424 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
17425 Restore Emacs 23 behavior but use
17426 window-normalize-buffer-to-switch-to.
17427 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
17428 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
17429 Rewrite using Emacs 23 options.
f818cd2a 17430
5bc3b51d
MA
174312011-08-31 Michael Albinus <michael.albinus@gmx.de>
17432
17433 * net/tramp.el (tramp-root-regexp): Remove.
17434 (tramp-completion-file-name-regexp-unified)
17435 (tramp-completion-file-name-regexp-separate)
17436 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 17437 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
17438 (tramp-drop-volume-letter): Simplify definition.
17439 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 17440
b1a4f8e1
SM
174412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
17442
17443 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
17444 (bug#9356).
17445
5664fa7b
RT
174462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
17447
b1a4f8e1 17448 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 17449
9a45d6c3
JL
174502011-08-29 Juri Linkov <juri@jurta.org>
17451
17452 * isearch.el (isearch-done): Don't display message "Mark saved"
17453 when arg `edit' is non-nil to prevent its flicker in the echo area.
17454
fb87e0fb
CY
174552011-08-28 Chong Yidong <cyd@stupidchicken.com>
17456
17457 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
17458 obsolete packages for deletion.
17459
09ac1c2a
CS
174602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
17461
17462 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 17463 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
17464 view-mode from help-mode.
17465 (help-xref-override-view-map): Remove.
17466 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
17467 view-mode is not used anymore.
17468
7a1ff57f
CY
174692011-08-28 Chong Yidong <cyd@stupidchicken.com>
17470
17471 * server.el (server-port): Doc fix.
17472
b9696605
CY
17473 * cus-theme.el (custom-theme-choose-mode): Inherit from
17474 special-mode (Bug#9124).
17475 (custom-theme-choose-mode-map): Add special-mode to parent.
17476
ef8cdf8c
AM
174772011-08-28 Alan Mackenzie <acm@muc.de>
17478
17479 * progmodes/cc-fonts.el
17480 (c-make-font-lock-BO-decl-search-function): New function.
17481 (c-basic-matchers-after - "Fontify the clauses after various
17482 keywords"): Extract the three keyword lists for the 3 erroneous
17483 constructs from the list of four, and use the new function above
17484 in place of an old one.
17485
27de4e20
DD
174862011-08-28 Deniz Dogan <deniz@dogan.se>
17487
17488 * net/rcirc.el (rcirc-insert-prev-input)
17489 (rcirc-insert-next-input): Remove unused argument.
17490
356a3681
SM
174912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17492
17493 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
17494
3fc9b218
AM
174952011-08-27 Alan Mackenzie <acm@muc.de>
17496
17497 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
17498 handle function pointer parameters properly.
17499
538a061c
MR
175002011-08-27 Martin Rudalics <rudalics@gmx.at>
17501
17502 * window.el (display-buffer-reuse-window): Fix case where
17503 selected window was reused with non-nil OTHER-WINDOW argument.
17504 (Bug#9381)
17505
35b1c40c
DD
175062011-08-27 Deniz Dogan <deniz@dogan.se>
17507
17508 * net/rcirc.el (rcirc-check-auth-status): Adding support for
17509 oftc's NickServ messages.
17510
2f6a3e79
GM
175112011-08-27 Glenn Morris <rgm@gnu.org>
17512
17513 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
17514
7254299e
CY
175152011-08-26 Chong Yidong <cyd@stupidchicken.com>
17516
17517 * emacs-lisp/package.el (package-install): Call package-initialize
17518 if called interactively.
17519
f8ccf167
LL
175202011-08-26 Leo Liu <sdl.web@gmail.com>
17521
17522 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
17523
3e8cd5ce
JL
175242011-08-25 Juri Linkov <juri@jurta.org>
17525
17526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17527 `search-whitespace-regexp' (bug#9364).
17528
93eb7113
JL
175292011-08-25 Juri Linkov <juri@jurta.org>
17530
17531 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
17532 `regexp-search-ring' to their global values to protect from
17533 updating by `read-from-minibuffer' (bug#9185).
17534
f65d1611
JL
175352011-08-25 Juri Linkov <juri@jurta.org>
17536
17537 * textmodes/ispell.el (ispell-command-loop): Add newline
17538 at the end of the "Use option `i'..." line.
17539
f1cf7a31
JL
175402011-08-25 Juri Linkov <juri@jurta.org>
17541
17542 * battery.el (display-battery-mode): If `battery-status-function'
17543 or `battery-mode-line-format' is nil, display the message and set
17544 `display-battery-mode' to nil (bug#9363).
17545
0c95fcf7
EZ
175462011-08-25 Eli Zaretskii <eliz@gnu.org>
17547
17548 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
17549 bidi-string-mark-left-to-right; they are unnecessary now.
17550
a2ebe600
DD
175512011-08-25 Deniz Dogan <deniz@dogan.se>
17552
17553 * net/quickurl.el: Documentation typo fixes.
17554
e4ed06f1
CY
175552011-08-25 Chong Yidong <cyd@stupidchicken.com>
17556
17557 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
17558
e5f1c99e
GM
175592011-08-25 Glenn Morris <rgm@gnu.org>
17560
b2948976
GM
17561 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
17562
e5f1c99e
GM
17563 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
17564 (smtpmail-via-smtp): Handle nil response from smtp.
17565
f22f4808
JL
175662011-08-24 Juri Linkov <juri@jurta.org>
17567
17568 * proced.el (proced-marked): Inherit from `error' instead of
17569 `font-lock-warning-face'.
17570
17571 * ibuffer.el (ibuffer-marked-face): Change default face from
17572 `font-lock-warning-face' to `warning'.
17573 (ibuffer-deletion-face): Change default face from
17574 `font-lock-type-face' to `error'.
17575
17576 * battery.el (battery-update): Use the face `error' instead of
17577 `font-lock-warning-face' (bug#6117).
17578
6a93965e
JL
175792011-08-24 Juri Linkov <juri@jurta.org>
17580
17581 * faces.el (success): Change face color from "Green3" to
17582 "ForestGreen" on light background (bug#9353).
17583
1ed43b09
CY
175842011-08-24 Chong Yidong <cyd@stupidchicken.com>
17585
5664fa7b
RT
17586 * window.el (quit-window): Rename from quit-restore-window.
17587 Use same arglist as old quit-window.
1ed43b09
CY
17588 (frame-auto-delete): Doc fix.
17589
17590 * view.el (view-mode-exit): Use quit-window.
17591
11dcdbb2
JL
175922011-08-24 Juri Linkov <juri@jurta.org>
17593
17594 * isearch.el (isearch-ring-adjust1): Start visiting previous
17595 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
17596 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
17597 for empty search string (when the last search string is reused
17598 automatically) to adjust the isearch ring to the last element and
17599 prepare the correct index for further M-p commands (bug#9185).
17600
de62b4df
KH
176012011-08-24 Kenichi Handa <handa@m17n.org>
17602
17603 * international/ucs-normalize.el: If decomposition property of
17604 CHAR is the default one (i.e. a list of CHAR itself), treat it as
17605 nil.
17606 (nfd, nfkd): Likewise.
17607
963b492b
SM
176082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
17611 from process filters aren't reliably transmitted to the surrounding
17612 accept-process-output.
17613 (mpc-proc-check): New function.
17614 (mpc-proc-sync): Use it (bug#8293)
17615
93b6b5e1
SM
176162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
17619 Add compatibility functions (bug#9313).
17620
bca633fb
EZ
176212011-08-23 Eli Zaretskii <eliz@gnu.org>
17622
b177498a
EZ
17623 * cus-start.el (all): Add entry for bidi-paragraph-direction.
17624
6df6ae42 17625 * international/uni-bidi.el: Regenerate.
bca633fb 17626
0902a04e
KH
176272011-08-23 Kenichi Handa <handa@m17n.org>
17628
17629 * international/charprop.el:
17630 * international/uni-bidi.el:
17631 * international/uni-category.el:
17632 * international/uni-combining.el:
17633 * international/uni-comment.el:
17634 * international/uni-decimal.el:
17635 * international/uni-decomposition.el:
17636 * international/uni-digit.el:
17637 * international/uni-lowercase.el:
17638 * international/uni-mirrored.el:
17639 * international/uni-name.el:
17640 * international/uni-numeric.el:
17641 * international/uni-old-name.el:
17642 * international/uni-titlecase.el:
17643 * international/uni-uppercase.el: Regenerate.
17644
3bbf23bc
MR
176452011-08-23 Martin Rudalics <rudalics@gmx.at>
17646
17647 * help.el (help-window-setup): Fix message displayed when other
17648 window is reused. (Bug#9341)
17649
b3fd59bd
SM
176502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17651
1802e444
SM
17652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17653 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17654
b3fd59bd
SM
17655 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17656 Mark obsolete.
17657 * shell.el (shell-parse-pcomplete-arguments): New function.
17658 (shell-completion-vars): Use it instead (bug#9160).
17659
4eb61348
SM
176602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17661
867cab74
SM
17662 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17663 strings and comments (bug#9333).
17664
4eb61348
SM
17665 * emacs-lisp/debug.el (debug-arglist): New function.
17666 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17667 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17668
262a1439
JL
176692011-08-22 Juri Linkov <juri@jurta.org>
17670
56ee679c
JL
17671 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17672 Revert regexp that highlights output switches to its old
17673 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17674
262a1439
JL
17675 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17676 to check for empty output (bug#9226).
17677
f13f86fb
CY
176782011-08-22 Chong Yidong <cyd@stupidchicken.com>
17679
17680 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17681 symbol-constituent as the default, as that stops font-lock from
17682 working properly (Bug#8843).
17683
c65c9622
LMI
176842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17685
17686 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17687 `coding-system-for-*' around the process open call to avoid
17688 auth-source side effects.
e7f2c178 17689 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
17690 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17691 probe hangs.
c65c9622 17692
23a8a5ab
CY
176932011-08-21 Chong Yidong <cyd@stupidchicken.com>
17694
ff98b2dd
CY
17695 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17696
23a8a5ab
CY
17697 * emacs-lisp/find-func.el (find-function-noselect): New arg
17698 lisp-only.
17699
17700 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17701 signal an error for built-in functions (Bug#6664).
17702
f5e3c598
LMI
177032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17704
17705 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17706 (smtpmail-try-auth-methods): Use it.
17707
a3f2468a
CY
177082011-08-21 Chong Yidong <cyd@stupidchicken.com>
17709
2c34e8da
CY
17710 * font-lock.el (font-lock-fontify-region)
17711 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17712 (font-lock-default-unfontify-buffer)
17713 (font-lock-default-fontify-region)
17714 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17715
b3fd59bd
SM
17716 * progmodes/compile.el (compilation-error-properties):
17717 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
17718 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17719 `ant' regexp.
ee31aabc 17720
a3f2468a
CY
17721 * net/browse-url.el (browse-url-firefox): Don't call
17722 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17723
8e999f70
GM
177242011-08-20 Glenn Morris <rgm@gnu.org>
17725
c21a496a
GM
17726 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17727
59ee0542
GM
17728 * tutorial.el (tutorial--default-keys): Update some default bindings.
17729
8e999f70
GM
17730 * files.el (hack-local-variables): Fully ignore case for "mode:".
17731
e3715033
AM
177322011-08-20 Alan Mackenzie <acm@muc.de>
17733
17734 Resolve invalid use of a regexp in regexp-opt.
17735
4d61f28d
JB
17736 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17737 detection for a java annotation.
e3715033 17738
4d61f28d 17739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
17740 detection for a java annotation.
17741
4d61f28d
JB
17742 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17743 handling for java.
e3715033
AM
17744 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17745
04ed2e9c
CY
177462011-08-20 Chong Yidong <cyd@stupidchicken.com>
17747
17748 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17749 (Bug#9274).
17750
826cee64
AM
177512011-08-20 Alan Mackenzie <acm@muc.de>
17752
58179cce 17753 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
17754 such a construct. Mainly for when jit-lock etc. starts a chunk
17755 here.
17756
58179cce 17757 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 17758 variable.
58179cce 17759 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
17760 c-make-font-lock-search-function.
17761 (c-make-font-lock-search-function): Use the above function.
17762 (c-make-font-lock-context-search-function): New function.
17763 (c-cpp-matchers): Enhance the preprocessor expression case with
17764 the above function
17765 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17766 which takes an expression.
17767
17768 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17769
13009bd8
MR
177702011-08-20 Martin Rudalics <rudalics@gmx.at>
17771
17772 * window.el (display-buffer-reuse-window)
17773 (display-buffer-pop-up-window): Don't reuse or split a side
17774 window.
17775
9234ff7f
GM
177762011-08-19 Glenn Morris <rgm@gnu.org>
17777
17778 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 17779 Downcase "Mode:". (Bug#9331)
9234ff7f 17780
f635daa1
CY
177812011-08-18 Chong Yidong <cyd@stupidchicken.com>
17782
17783 * international/characters.el: Add L and R categories.
17784
17785 * subr.el (bidi-string-mark-left-to-right): Rename from
17786 string-mark-left-to-right. Use category search.
17787
17788 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17789
bc987f8b
JL
177902011-08-18 Juri Linkov <juri@jurta.org>
17791
17792 * faces.el (error, warning, success): New faces with definitions
17793 copied from old default values of `font-lock-warning-face',
17794 `compilation-warning', `compilation-info' (bug#6117).
17795
17796 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17797
17798 * progmodes/compile.el (compilation-error): Inherit from `error'.
17799 (compilation-warning): Inherit from `warning'.
17800 (compilation-info): Inherit from `success'.
17801
17802 * dired.el (dired-marked): Inherit from `warning'.
17803 (dired-flagged): Inherit from `error'.
17804
57173b96
LMI
178052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17806
3e79eb87
LMI
17807 * mail/smtpmail.el (auth-source): Require to avoid problems with
17808 binding variables (bug#9298). Also clean up some unused
17809 autoloads.
17810
b3fd59bd
SM
17811 * net/network-stream.el (network-stream-open-starttls):
17812 Support using starttls.el without using gnutls-cli.
57173b96 17813
02b404de
JL
178142011-08-17 Juri Linkov <juri@jurta.org>
17815
17816 * progmodes/grep.el (rgrep): Handle the case when
17817 `grep-find-command' is a cons cell (bug#9278).
17818
8c9177f2
MR
178192011-08-17 Martin Rudalics <rudalics@gmx.at>
17820
17821 * window.el (display-buffer-pop-up-frame): Run frame creation
17822 function with BUFFER current (as special-display-popup-frame
17823 does). Reported by Drew Adams.
17824
3644a0ab
DU
178252011-08-17 Daiki Ueno <ueno@unixuser.org>
17826
17827 * epa-mail.el: Simplify GnuPG group expansion using
17828 epg-expand-group.
17829 (epa-mail-group-alist, epa-mail-group-modtime)
17830 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17831 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17832 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17833 Remove.
17834
5e617bc2 178352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
17836
17837 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17838
9c4aeabf
AM
178392011-08-16 Alan Mackenzie <acm@muc.de>
17840
17841 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17842 Correct, to avoid the inside of macros.
17843
3a99bf64
RS
178442011-08-16 Richard Stallman <rms@gnu.org>
17845
04963aa8
RS
17846 * epa-mail.el: Handle GnuPG group definitions.
17847 (epa-mail-group-alist, epa-mail-group-modtime)
17848 (epa-mail-gnupg-conf-file): New variables.
17849 (epa-mail-parse-groups, epa-mail-sync-groups)
17850 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17851 (epa-mail-expand-recipients): New functions.
17852 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17853
177549d0
RS
17854 * mail/rmail.el (rmail-epa-decrypt): New command.
17855
fe38beef
RS
17856 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17857 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
17858 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17859 (epa-decrypt-armor-in-region): Make error message clearer.
17860
934eacb9
SM
178612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17864 and "a2b" to "ab" for `prefix'.
17865
d024fb4e
CY
178662011-08-14 Chong Yidong <cyd@stupidchicken.com>
17867
17868 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17869 filter groups.
de148fee
CY
17870 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17871 Fourquet (Bug#8804).
d024fb4e 17872
62f1ca49
JB
178732011-08-12 Juanma Barranquero <lekktu@gmail.com>
17874
17875 * startup.el (argi): Declare as global variable (bug#9275).
17876
9ccaaa4b
CY
178772011-08-12 Chong Yidong <cyd@stupidchicken.com>
17878
17879 * subr.el (string-mark-left-to-right): Search the entire string
17880 for RTL script, not just the terminating character. Doc fix.
17881
a3dae87a
SM
178822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17883
6cd18349
SM
17884 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17885 New function.
17886 (js--regexp-literal, js-syntax-propertize-function): Remove.
17887 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17888 (js-mode-map): Don't rebind electric keys.
17889 (js-insert-and-indent): Remove.
17890 (js-mode): Setup electric-layout and electric-indent instead.
17891
a3dae87a
SM
17892 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17893
9d5cb631
DU
178942011-08-12 Daiki Ueno <ueno@unixuser.org>
17895
17896 * epa.el (epa-progress-callback-function): Fix the logic of
17897 displaying progress.
17898 * epa-file.el (epa-file-insert-file-contents): Make progress
17899 display more user-friendly.
17900 (epa-file-write-region): Ditto.
17901
3e26a4a2
CY
179022011-08-10 Chong Yidong <cyd@stupidchicken.com>
17903
17904 * subr.el (string-mark-left-to-right): New function.
17905
17906 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17907 Use string-mark-left-to-right.
17908 (list-buffers-noselect): Caller changed.
17909
a3dae87a
SM
17910 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17911 Use string-mark-left-to-right.
3e26a4a2
CY
17912 (tabulated-list-print): Recenter after moving point.
17913
ac8cf6e6
JL
179142011-08-10 Juri Linkov <juri@jurta.org>
17915
17916 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17917 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17918 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17919
8d96c9a4
CY
179202011-08-09 Chong Yidong <cyd@stupidchicken.com>
17921
17922 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17923 (Bug#7554).
17924
7be1c708 179252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
17926
17927 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17928 character. (Bug#6594)
17929
37e11a63
CY
179302011-08-08 Chong Yidong <cyd@stupidchicken.com>
17931
839dde57
CY
17932 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17933 (image-dired--with-db-file): New macro.
17934 (image-dired-write-tags, image-dired-remove-tag)
17935 (image-dired-create-gallery-lists, image-dired-write-comments)
17936 (image-dired-get-comment, image-dired-mark-tagged-files)
17937 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17938 (image-dired-gallery-generate): Use insert-file-contents.
17939
37e11a63
CY
17940 * time.el (display-time-world-list, display-time-world-display):
17941 * time-stamp.el (time-stamp-string):
17942 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17943 set-time-zone-rule (Bug#7337).
17944
0b4946c4
DU
179452011-08-08 Daiki Ueno <ueno@unixuser.org>
17946
17947 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17948 (epg-error-to-string, epg-errors-to-string): New function.
17949 (epg-wait-for-completion): Reverse errors list.
17950 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17951 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17952 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17953 (epg-sign-keys, epg-generate-key-from-file)
17954 (epg-generate-key-from-string): Format errors by using
17955 epg-errors-to-string (bug#9255).
17956 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17957
75bfc667
JL
179582011-08-07 Juri Linkov <juri@jurta.org>
17959
17960 * faces.el (list-faces-display): Remove extra angle bracket
17961 from `help-mode-map'.
17962
17963 * info.el (Info-history-toc-nodes): Doc fix.
17964
17965 * longlines.el (longlines-mode): Doc fix.
17966
673e08bb
SM
179672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17968
4640dd88
SM
17969 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17970 of statements and in a few more cases (bug#9183).
17971
673e08bb
SM
17972 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17973 New functions.
17974 (cl-transform-lambda): Use them (bug#9239).
17975
89b3f019
MR
179762011-08-05 Martin Rudalics <rudalics@gmx.at>
17977
17978 * window.el (display-buffer-same-window)
17979 (display-buffer-same-frame, display-buffer-other-window)
17980 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17981 (pop-to-buffer-other-window)
17982 (pop-to-buffer-same-frame-other-window)
17983 (pop-to-buffer-other-frame): Make them defuns.
17984 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17985
640c8776
SM
179862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17987
17988 * subr.el (make-composed-keymap): Move from C. Change calling
17989 convention, and improve docstring to bring attention to a subtle point.
17990 * minibuffer.el (completing-read-default): Adjust accordingly.
17991
63648a95
MA
179922011-08-03 Michael Albinus <michael.albinus@gmx.de>
17993
17994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17995 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17996
17997 * net/trampver.el: Update release number.
17998
b796c9b7
SM
179992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18000
18001 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18002 "in" (bug#9190).
18003
2239d7d5
LMI
180042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18005
e07dd7c3
LMI
18006 * mail/sendmail.el (sendmail-query-once): Restore the current
18007 buffer after querying (bug#9074).
18008
0e6a2bd7
LMI
18009 * dired.el (dired-flagged): Use different faces for marked and
18010 flagged files (bug#6117).
18011
ce887515
LMI
18012 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18013 (bug#4433).
18014
92f2affc
LMI
18015 * ido.el (ido-mode): Switch off the message if called
18016 non-interactively.
18017
57d5aff0
LMI
18018 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18019 before 587, since it appears that that's more likely to work for
18020 more people.
18021
98cd6c18 18022 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18023 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18024 exist.
18025
b96dec83
LMI
18026 * info.el: Remove the `Info-beginning-of-buffer' function
18027 (bug#8325).
18028
b796c9b7
SM
18029 * net/network-stream.el (network-stream-open-starttls):
18030 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18031
d90e2ea0
MR
180322011-08-01 Martin Rudalics <rudalics@gmx.at>
18033
18034 * window.el (display-buffer-in-window): Don't set dedicated status
18035 of window here (Bug#9215).
18036 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18037 (display-buffer-pop-up-side-window)
b796c9b7 18038 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18039
cca09170
SM
180402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18041
18042 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18043 before binding generated-autoload-file.
18044
027b979c
DD
180452011-08-01 Deniz Dogan <deniz@dogan.se>
18046
18047 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18048
3c7ee4f3
MA
180492011-07-30 Michael Albinus <michael.albinus@gmx.de>
18050
18051 Sync with Tramp 2.2.2.
18052
18053 * net/trampver.el: Update release number.
18054
2cc8e51a
JL
180552011-07-30 Juri Linkov <juri@jurta.org>
18056
18057 * dired-aux.el (dired-touch-initial): Remove function.
18058 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18059 current time, and `default' to the last modification time of the
18060 current marked file (bug#6887).
18061
a514d856
JM
180622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18063
18064 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 18065 numeric argument to read-number (bug#9163).
a514d856 18066
8a7eddd7
MA
180672011-07-27 Michael Albinus <michael.albinus@gmx.de>
18068
18069 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18070 connection process, it could be nil.
18071
1ddd96f5
LL
180722011-07-27 Leo Liu <sdl.web@gmail.com>
18073
18074 Simplify url handling in rcirc-mode.
18075
18076 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18077 (rcirc-browse-url-at-mouse): Remove.
18078 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18079
b248a85d
AM
180802011-07-26 Alan Mackenzie <acm@muc.de>
18081
18082 Fontify bitfield declarations properly.
18083
18084 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18085 (c-symbol-chars): Now exported as a lang variable.
18086 (c-not-primitive-type-keywords): New lang variable.
18087
18088 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18089 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 18090 parsed as a bitfield declaration.
b248a85d 18091
b796c9b7
SM
18092 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18093 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
18094 (c-punctuation-in): New function.
18095 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18096 declarations properly.
18097
68575ab0
UJ
180982011-07-26 Ulf Jasper <ulf.jasper@web.de>
18099
18100 * calendar/icalendar.el (icalendar--all-events): Take care of
18101 multiple vcalendars in a single file.
b796c9b7 18102 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 18103
0f0a88b9
DD
181042011-07-25 Deniz Dogan <deniz@dogan.se>
18105
18106 * image.el (insert-image): Clarifying docstring.
18107
0b3f36df
MA
181082011-07-24 Michael Albinus <michael.albinus@gmx.de>
18109
18110 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18111 `tramp-send-command-and-check' if there is no error.
18112 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18113
a9901f61
AM
181142011-07-22 Alan Mackenzie <acm@muc.de>
18115
18116 Prevent cc-langs.elc being loaded at run time.
18117
18118 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18119 cc-langs.
18120
4d61f28d 18121 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
18122 "(require 'cc-langs)". Quote a form so it will evaluate at
18123 (cc-mode's) compilation time.
18124
11d074b2
MA
181252011-07-22 Michael Albinus <michael.albinus@gmx.de>
18126
18127 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18128 loading. (Bug#9114)
18129
938b94c8
MR
181302011-07-21 Martin Rudalics <rudalics@gmx.at>
18131
18132 * window.el (display-buffer-pop-up-window)
18133 (display-buffer-pop-up-side-window)
18134 (display-buffer-in-side-window): Call display-buffer-set-height
18135 and display-buffer-set-width after setting the new window's
b796c9b7 18136 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 18137
bfa4f190
SS
181382011-07-20 Sam Steingold <sds@gnu.org>
18139
18140 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18141 (etags-tags-included-tables): Call `convert-standard-filename' on
18142 the file names contained in TAGS so that windows Emacs can handle
18143 TAGS files created by cygwin ctags.
18144
8ca42262
LMI
181452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18146
18147 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18148 which apparently didn't work.
18149
5db2afd2 181502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 18151
5db2afd2
RW
18152 * proced.el (proced-send-signal): For *Marked Processes* buffer
18153 put point at beginning of buffer.
18154
92e15d10
SB
181552011-07-19 Stephen Berman <stephen.berman@gmx.net>
18156
18157 * proced.el (proced-format): Make header lines align with the text
18158 (bug#1779).
18159
1bfd59e5
LMI
181602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18161
18162 * view.el (view-buffer): Allow running in `special' modes if we're
18163 visiting a file (bug#8615).
18164
f5aae37c
MR
181652011-07-19 Martin Rudalics <rudalics@gmx.at>
18166
18167 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
18168 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18169 New functions.
f5aae37c
MR
18170 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18171 more accurately.
18172
bf2c1571
AM
181732011-07-18 Alan Mackenzie <acm@muc.de>
18174
18175 Fontify declarators properly when, e.g., a jit-lock chunk begins
18176 inside a declaration.
18177
18178 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18179
b796c9b7
SM
18180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18181 New function.
bf2c1571
AM
18182 (c-complex-decl-matchers): Insert reference to
18183 c-font-lock-enclosing-decls.
18184
18185 * progmodes/cc-engine.el (c-backward-single-comment):
18186 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18187 to nil around calls to (forward-comment -1).
18188
4e190b80
LMI
181892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18190
12dc863d
LMI
18191 * image.el (put-image): Doc typo fix.
18192
a762e966
LMI
18193 * progmodes/etags.el (tags-search): Doc typo fix.
18194
4e190b80
LMI
18195 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18196 password if we get errors 550 to 554.
18197
f019fb21
LMI
181982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18199
b796c9b7 18200 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 18201
81746738
LMI
18202 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18203 indentation character (bug#6380).
18204
3ee3a1b5
LMI
18205 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18206
c82f64de
LMI
18207 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18208 to clarify what the problem is (bug#4291).
18209
f019fb21
LMI
18210 * simple.el (current-kill): Clarify what
18211 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
18212 (auto-fill-mode): Document `auto-fill-function' in relation to
18213 `auto-fill-mode' (bug#2470).
f019fb21 18214
0794775d
LM
182152011-07-16 Lawrence Mitchell <wence@gmx.li>
18216
18217 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18218 method if slot is read-only (bug#9035).
18219
be39b8cc
MR
182202011-07-16 Martin Rudalics <rudalics@gmx.at>
18221
b796c9b7 18222 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 18223 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
18224 selected before, see discussion of (Bug#8615), (Bug#6954).
18225 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 18226
6ccf7859
GM
182272011-07-15 Glenn Morris <rgm@gnu.org>
18228
18229 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 18230 Respect help-form.
6ccf7859 18231
87e86684
LM
182322011-07-09 Lawrence Mitchell <wence@gmx.li>
18233
18234 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18235 (gnutls-negotiate): Use it.
18236
d6066239
LMI
182372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18238
b796c9b7
SM
18239 * net/gnutls.el (gnutls-negotiate):
18240 Upcase `gnutls-algorithm-priority'.
d6066239 18241
bd23ebc0
GM
182422011-07-15 Glenn Morris <rgm@gnu.org>
18243
c65bca65
GM
18244 * jka-compr.el (jka-compr-verbose): Move from here...
18245 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18246 Add missing :version tag.
18247 * info.el: No need to require jka-compr when compiling.
bd23ebc0 18248
478615cc
LMI
182492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18250
7b41decb
LMI
18251 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18252 (gnutls-negotiate): Use it.
18253
dbc44fcd
LMI
18254 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18255
06789f97
LMI
18256 * info.el (Info-beginning-of-buffer): New command.
18257 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18258 announcing `b' as the key (bug#8325).
ab896c37 18259 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 18260
c39da690
LMI
18261 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18262
3aa5f34b
LMI
18263 * international/mule-cmds.el
18264 (describe-specified-language-support): Make the error message
18265 clearer (bug#8905).
18266
4bf0979f
LMI
18267 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18268
478615cc
LMI
18269 * isearch.el (isearch-barrier): Add a doc string, since it's
18270 mentioned in a function doc string (bug#8678).
18271
75c68aa1
MR
182722011-07-15 Martin Rudalics <rudalics@gmx.at>
18273
18274 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18275 buffer argument (Bug#9083) and self-identifying label argument.
18276
a7c33da2
GM
182772011-07-15 Glenn Morris <rgm@gnu.org>
18278
18279 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18280
2f5c6024
LMI
182812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18282
18283 * man.el (Man-fontify-manpage): Fix message when formatting the
18284 man page (bug#7929).
18285
0bb23927 182862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
18287
18288 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18289 argument LRM; if non-nil, append an invisible LRM character to the
18290 buffer name.
18291 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18292 last argument non-nil, when formatting buffer names.
0bb23927
EZ
18293 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18294 paragraph direction.
cce4b0a7 18295
621ef9ab
LMI
182962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18297
d1583c48
LMI
18298 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18299 the man page name (bug#7929).
18300
6a57fb5f
LMI
18301 * image.el (put-image): Mention the `put-image' overlay property
18302 (bug#7834).
18303
d7956b14
LMI
18304 * scroll-bar.el (set-scroll-bar-mode): Mention that
18305 `scroll-bar-mode' lists the values (bug#7772).
18306
5b2d4a66
LMI
18307 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18308 command (bug#7729).
18309
7509a874
LMI
18310 * rect.el (apply-on-rectangle): Return the point after the last
18311 operation.
18312 (string-rectangle): Go to the point after the last operation
18313 (bug#7522).
18314
4fe74b19
LMI
18315 * printing.el (pr-toggle-region): Clarify the documentation
18316 slightly (bug#7493).
18317
b796c9b7
SM
18318 * time.el (display-time-update):
18319 Allow `display-time-mail-function' to return nil (bug#7158).
18320 Fix suggested by Detlev Zundel.
ab283561 18321
fc233c9d
LMI
18322 * vc/diff.el (diff): Clarify the order the file names are read
18323 (bug#7111).
18324
43f5740b
LMI
18325 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
18326 the doc string (bug#7015).
18327
f2182a76
LMI
18328 * font-lock.el (font-lock-maximum-decoration): Mention what
18329 numeric levels mean (bug#6935).
18330
621ef9ab
LMI
18331 * startup.el (initial-buffer-choice): Don't mention the `none'
18332 selection, which is against policy.
18333
adc47434
MR
183342011-07-14 Martin Rudalics <rudalics@gmx.at>
18335
b796c9b7
SM
18336 * window.el (display-buffer-normalize-special):
18337 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 18338
7e5bfb8f
EZ
183392011-07-14 Eli Zaretskii <eliz@gnu.org>
18340
18341 * subr.el (version<, version<=, version=): Mention "-CVS" and
18342 "-12345" alpha version numbers.
18343
27fa387a
CY
183442011-07-14 Chong Yidong <cyd@stupidchicken.com>
18345
18346 * bindings.el: Add advertised binding for set-mark-command
18347 (Bug#5772).
18348
8bdfa064
CY
183492011-07-14 Chong Yidong <cyd@stupidchicken.com>
18350
18351 * bindings.el (mode-line-other-buffer):
18352 * bookmark.el (bookmark-bmenu-2-window):
18353 * bs.el (bs-cycle-next, bs-cycle-previous):
18354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
18355 switch-to-buffer.
18356
18357 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 18358 Delete.
8bdfa064 18359
5eba16a3
JB
183602011-07-14 Juanma Barranquero <lekktu@gmail.com>
18361
18362 * follow.el (follow-debug-message, follow-redisplay):
18363 * jka-cmpr-hook.el (with-auto-compression-mode):
18364 Fix typos in docstrings.
18365
15853710
LMI
183662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18367
a28e4607
LMI
18368 * subr.el (with-silent-modifications): Clarify somewhat what the
18369 macro inhibits (bug#6525).
18370
15853710
LMI
18371 * simple.el (eval-expression): Note what it does if called
18372 interactively (bug#6495).
18373
bee0fcef
CY
183742011-07-13 Chong Yidong <cyd@stupidchicken.com>
18375
b796c9b7
SM
18376 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
18377 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
18378
18379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18380 Remove switch-to-buffer.
18381
58274504
LMI
183822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18383
bd2fcc8d
LMI
18384 * files.el (make-directory): Clarify that an error will be raised
18385 if there's an error (bug#6397).
18386
0f04b32c
LMI
18387 * startup.el (initial-buffer-choice): Add `none' as a choice
18388 (bug#6234).
18389
465c5fc8
LMI
18390 * subr.el (add-hook): Clarify section about buffer-local hooks
18391 (bug#6218).
18392
58274504
LMI
18393 * dired.el (dired-flagged): Clarify doc string (bug#6117).
18394
bead9a43
JB
183952011-07-13 Juanma Barranquero <lekktu@gmail.com>
18396
18397 * tabify.el (untabify): Preserve the current column so that point
18398 doesn't move (bug#6032).
18399
3af98a7b
LMI
184002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18401
b796c9b7
SM
18402 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
18403 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 18404
6240145a
GM
184052011-07-13 Glenn Morris <rgm@gnu.org>
18406
18407 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
18408 (dired-insert-directory): Give a message the first time
18409 if ls is found not to support --dired.
18410
1d8c2ccc
LMI
184112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18412
18413 * simple.el (toggle-truncate-lines): Clarify what is toggled
18414 (bug#5580). Text by Drew Adams.
18415
5fc4038e
CY
184162011-07-13 Chong Yidong <cyd@stupidchicken.com>
18417
18418 * simple.el (blink-matching-open): Make the error message from the
18419 last change less verbose.
18420
bf6012e5
DN
184212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
18422
18423 * font-lock.el (font-lock-comment-face): Use the high contrast
18424 "yellow" color for font-lock-comment-face on low color terminals
18425 using a dark background color (bug#4221).
18426
343c3b5a
LMI
184272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18428
7e9505c5
LMI
18429 * dired.el (dired-insert-set-properties): Make the doc string
18430 reflect what it does now (bug#5325).
18431
c26fdcf5
LMI
18432 * simple.el (blink-matching-open): Say that we were unable to find
18433 the match within the limit, if we're limited (bug#5122).
18434
bb388cc5
LMI
18435 * international/mule-cmds.el (prefer-coding-system): Add an
18436 example (bug#4869).
18437
343c3b5a
LMI
18438 * progmodes/etags.el (tags-search): Document `file-list-form'
18439 (bug#4731).
18440
2a517d45
LM
184412011-07-13 Lawrence Mitchell <wence@gmx.li>
18442
18443 * net/browse-url.el (browse-url-default-browser)
18444 (browse-url-browser-function): Make the default browser choice a
18445 bit more logical (bug#4300). Also clean up the doc string.
18446
b6c78ef2
JB
184472011-07-13 Juanma Barranquero <lekktu@gmail.com>
18448
18449 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
18450 binary endings (bug#4440).
18451
1c4dd947
LMI
184522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18453
a2014063
LMI
18454 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
18455 which can be pretty annoying (bug#8971).
18456
9c9c2d88
LMI
18457 * jka-compr.el (jka-compr-verbose): New variable, and use
18458 throughout (bug#8971).
18459
1c4dd947
LMI
18460 * info.el (Info-find-file): Fall back on the installation
18461 directory if we can't find the info node anywhere else.
18462
a1c9f41b
SO
184632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
18464
18465 * vc/vc.el (vc-revert-file):
18466 Don't set file time-stamp in the past. (Bug#5181)
18467
536f3d36
LMI
184682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18469
7152b011
LMI
18470 * files.el (after-find-file): Give a better error message when
18471 trying to find a symlink that points to a file that doesn't exist
18472 (bug#4398).
18473
536f3d36
LMI
18474 * progmodes/cc-vars.el: Remove (probably) misleading comment
18475 (bug#4396).
18476
460c0fba
JB
184772011-07-12 Johan Bockgård <bojohan@gnu.org>
18478
18479 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
18480
7a6bda45
CY
184812011-07-12 Chong Yidong <cyd@stupidchicken.com>
18482
18483 * mouse-sel.el: Hack restoring functionality, while keeping
18484 compatibility with 2010-07-03 changes to mouse selection.
18485 (mouse-sel-primary-overlay): New var.
18486 (mouse-sel-selection-alist): Use it.
18487 (mouse-sel-mode): Doc fix; remove points that are default features
18488 of mouse.el.
18489
c79598ef
JB
184902011-07-12 Johan Bockgård <bojohan@gnu.org>
18491
18492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18493 Fix previous fix (bug#2490).
18494
ff8be6ef
RW
184952011-07-12 Roland Winkler <winkler@gnu.org>
18496
b796c9b7
SM
18497 * textmodes/bibtex.el (bibtex-initialize):
18498 Use pop-to-buffer-same-window.
ff8be6ef
RW
18499 (bibtex-search-entries): Fix interactive call.
18500
296ba3ee
LMI
185012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18502
f5242a02 18503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
18504 Fontise bytecomp Error lines more correctly (bug#2490).
18505 Fix suggested by Johan Bockgård.
f5242a02 18506
296ba3ee
LMI
18507 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
18508
18509 * dired-x.el (dired-guess-default): Use `delete-dups'.
18510
f69fd0d2
CY
185112011-07-12 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * dired.el (dired-mark-prompt):
18514 * dired-aux.el (dired-read-shell-command): Doc fix.
18515
eab5dc07
LMI
185162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18517
b796c9b7
SM
18518 * mail/sendmail.el (sendmail-query-once):
18519 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
18520 emacs -Q.
18521
18522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18523
eab5dc07
LMI
18524 * cus-edit.el (custom-file): Take an optional no-error variable.
18525 (customize-save-variable): Set the variable, and give a warning if
18526 running under "emacs -q".
18527
a1e65d42
JB
185282011-07-11 Juanma Barranquero <lekktu@gmail.com>
18529
18530 * loadhist.el (unload-feature-special-hooks):
18531 Add `auto-coding-functions', `fill-nobreak-predicate' and
18532 `find-directory-functions' (bug#5327).
18533
1d52da10
LMI
185342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18535
be958f1d
LMI
18536 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
18537
5bedb26c
LMI
18538 * cus-edit.el (custom-guess-name-alist): -alist variables should
18539 use the `alist' type (bug#3120). Suggested by Drew Adams.
18540
1d52da10
LMI
18541 * printing.el: Add documentation to all the `pr-toggle-' commands.
18542
cd394be1 185432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
18544
18545 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
18546 backends where it makes sense (bug#2623).
18547
dcc88d8a
LMI
185482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18549
c3de9feb
LMI
18550 * dired-x.el (dired-guess-default): Remove duplicate shell command
18551 entries (bug#2028).
8a93078b 18552 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 18553 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 18554
dcc88d8a
LMI
18555 * subr.el (remove-duplicates): New conveniency function.
18556
505e3645
LMI
185572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
18558
18559 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
18560 (bug#1526).
18561
185622011-07-10 Martin Rudalics <rudalics@gmx.at>
18563
18564 * window.el (display-buffer-normalize-default): Don't invert
18565 meaning of even-window-heights. Reported by Eli Zaretskii
18566 <eliz@gnu.org>.
18567
455e4fa1
BR
185682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
18569
18570 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
18571
8e0bc3e9
CY
185722011-07-10 Chong Yidong <cyd@stupidchicken.com>
18573
18574 * window.el (display-buffer): Fix arguments to
18575 display-buffer-reuse-window in last change.
18576
fa7c3228
CY
18577 * faces.el (link): Use a less saturated blue on light backgrounds.
18578
18579 * startup.el (fancy-startup-text, fancy-about-text)
18580 (fancy-startup-tail): Use font-lock faces, for background safety.
18581
c0a7f300
BN
185822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
18583
b796c9b7
SM
18584 * emulation/viper-cmd.el (viper-change-state-to-vi):
18585 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 18586
4dc2a129
MR
185872011-07-09 Martin Rudalics <rudalics@gmx.at>
18588
18589 * window.el (display-buffer-default-specifiers): Remove.
18590 (display-buffer-macro-specifiers): Remove default specifiers.
18591 (display-buffer-alist): Default to nil.
b796c9b7 18592 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
18593 (display-buffer-pop-up-window): Allow splitting internal
18594 windows. Check whether a live window was created.
18595 (display-buffer-other-window-means-other-frame)
18596 (display-buffer-normalize-arguments): Rename to
18597 display-buffer-normalize-argument and rewrite. Set the
18598 other-window specifier.
18599 (display-buffer-normalize-special): New function.
18600 (display-buffer-normalize-options): Rename to
18601 display-buffer-normalize-default and rewrite.
18602 (display-buffer-normalize-options-inhibit): Remove.
18603 (display-buffer-normalize-specifiers): Rewrite.
18604 (display-buffer): Process other-window specifier and call
18605 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
18606 more faithfully.
b796c9b7 18607 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 18608 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
18609 (display-buffer-in-window, display-buffer-alist-set):
18610 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
18611 <tassilo@member.fsf.org>.
18612
2d43b8c9
LL
186132011-07-09 Leo Liu <sdl.web@gmail.com>
18614
18615 * register.el (insert-register): Restore accidental change on
18616 2011-06-26. (Bug#9028)
18617
7f9b7c53
GM
186182011-07-09 Glenn Morris <rgm@gnu.org>
18619
18620 * subr.el (remq): Handle the empty list. (Bug#9024)
18621
f042cfd8
AS
186222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
18623
18624 * mail/sendmail.el (send-mail-function): No longer delay custom
18625 initialization.
18626 * custom.el (custom-initialize-delay): Doc fix.
18627
856b2f11
SM
186282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18629
18630 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
18631
afae1d68
MA
186322011-07-08 Michael Albinus <michael.albinus@gmx.de>
18633
18634 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18635 human-friendly prompt.
18636
0757af94
SM
186372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18640 provided by a particular plugin.
18641
d760b731
LMI
186422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18643
18644 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18645 save customizations (with "emacs -Q"), just set the variable
18646 instead of erroring out.
18647
18648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18649
cd79ce90
JL
186502011-07-08 Juri Linkov <juri@jurta.org>
18651
18652 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18653 (archive-zip-update-case): Use 7z if found by `executable-find'.
18654 The order of searching the available programs is the same as in
18655 `archive-zip-extract' (bug#8968).
18656
14cc04aa
CY
186572011-07-07 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18660 (menu-bar-options-menu): Tweak descriptions.
18661
0a1848ec
LMI
186622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18663
18664 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18665 menu items into verb phrases (bug#1421). Also refill to fit under
18666 80 columns.
18667
f5bd0689
CY
186682011-07-07 Chong Yidong <cyd@stupidchicken.com>
18669
538e85c6
CY
18670 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18671 (Info-read-node-name): Doc fix (Bug#1084).
18672
f5bd0689
CY
18673 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18674 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18675 (end-of-sexp, beginning-of-sexp)
18676 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18677 (forward-symbol, forward-same-syntax, word-at-point)
18678 (sentence-at-point): Doc fix (Bug#1144).
18679
56ec5115
LMI
186802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18681
f3f8e37f
LMI
18682 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18683 should cover it (bug#1281).
18684
0757af94 18685 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 18686
e9fce1ac 18687 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
18688 negotiation fails, then possibly try again with a non-encrypted
18689 connection (bug#9017).
18690
56ec5115
LMI
18691 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18692 be used.
18693
c2f9aec8
RS
186942011-07-07 Richard Stallman <rms@gnu.org>
18695
18696 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18697 property, and handle its changed format.
18698 Look for the correct line number.
18699 Use file's line contents (but not past first =) to find
18700 correct line in message.
18701
ef7b981d 187022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
18703
18704 * international/characters.el (build-unicode-category-table):
18705 Delete it.
0757af94 18706 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 18707
0757af94 18708 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
18709 to src/chartab.c.
18710 (get-char-code-property): Call unicode-property-table-internal to
18711 load a file. Call get-unicode-property-internal where necessary.
18712 (put-char-code-property): Call unicode-property-table-internal to
18713 load a file. Call put-unicode-property-internal where necessary.
18714 put-unicode-property-internal where necessary.
0757af94
SM
18715 (char-code-property-description):
18716 Call unicode-property-table-internal to load a file.
c805dec0
KH
18717
18718 * international/charprop.el:
18719 * international/uni-bidi.el:
18720 * international/uni-category.el:
18721 * international/uni-combining.el:
18722 * international/uni-comment.el:
18723 * international/uni-decimal.el:
18724 * international/uni-decomposition.el:
18725 * international/uni-digit.el:
18726 * international/uni-lowercase.el:
18727 * international/uni-mirrored.el:
18728 * international/uni-name.el:
18729 * international/uni-numeric.el:
18730 * international/uni-old-name.el:
18731 * international/uni-titlecase.el:
18732 * international/uni-uppercase.el: Regenerate.
18733
18734 * loadup.el: Load international/charprop.el before
18735 international/characters.
18736
e14b388a
CY
187372011-07-07 Chong Yidong <cyd@stupidchicken.com>
18738
18739 * window.el (next-buffer, previous-buffer): Signal an error if
18740 called from a minibuffer window.
18741
18742 * bindings.el: Revert 2011-07-04 change.
18743
354cf0ba
RS
187442011-07-06 Richard Stallman <rms@gnu.org>
18745
18746 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18747 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18748 Treat markers like ints.
18749 (rmail-mime-entity): Doc fix.
18750
a48868a7
LMI
187512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18752
4906cd3d
LMI
18753 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18754 defcustom again for backwards compatibility.
18755
e0457abe
LMI
18756 * simple.el (shell-command-on-region): Fill.
18757
d67f7e1f
LMI
18758 * dired-aux.el (dired-kill-line): Add a doc string.
18759
fe204702
LMI
18760 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18761 to "\\sw\\|\\s_" (bug#358).
18762
a48868a7
LMI
18763 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18764 (dired-unmark-backward): Ditto.
18765 (dired-flag-backup-files): Ditto.
18766
18767 * dired-x.el (dired-mark-sexp): Ditto.
18768
aa8a705c
RS
187692011-07-06 Richard Stallman <rms@gnu.org>
18770
18771 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18772 (rmail-mime-entity): New arg TRUNCATED.
18773 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18774 New functions.
18775 (rmail-mime-save): Warn if entity is truncated.
18776 (rmail-mime-toggle-hidden): Likewise, for showing.
18777 (rmail-mime-process-multipart): Record when an entity is truncated.
18778
a9a936b9
RS
18779 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18780 if ENTITY is a string.
18781
1f2b92cb
LMI
187822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18783
f4f73198 18784 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
18785 of faces when `M-C-x'-ing their definitions (bug#8378).
18786 Also clean up the code slightly.
f4f73198 18787
12b16734 18788 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 18789 because that makes the colors go away.
12b16734 18790
f0691d22
LMI
18791 * mail/sendmail.el (send-mail-function): Change the default to
18792 `sendmail-query-once'.
9e87df06 18793 (sendmail-query-once): Add an autoload cookie.
f0691d22 18794
1f2b92cb
LMI
18795 * net/network-stream.el (network-stream-open-starttls): Try using
18796 a plain connection even if the server offered STARTTLS, and we
18797 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18798 capability. This should make smtpmail.el work in slightly more
18799 configurations.
18800
1cdd2a1b
MA
188012011-07-06 Michael Albinus <michael.albinus@gmx.de>
18802
18803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18804 New defun.
18805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18806
fbcc67e2
MM
188072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18808
18809 * progmodes/sql.el: Version 3.0
0757af94 18810 (sql-product-alist): Add product :completion-object,
fbcc67e2 18811 :completion-column, and :statement attributes.
0757af94 18812 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 18813 (sql-mode-syntax-table): Mark all punctuation.
0757af94 18814 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
18815 ansi keywords.
18816 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 18817 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
18818 (sql-oracle-show-reserved-words): New function for development.
18819 (sql-product-font-lock): Simplify for source code buffers.
18820 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18821 New functions.
18822 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
18823 (sql-mode-map): Add statement movement functions.
18824 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18825 New variable.
fbcc67e2
MM
18826 (sql-statement-regexp, sql-beginning-of-statement)
18827 (sql-end-of-statement, sql-signum): New functions.
0757af94 18828 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
18829 (sql-show-sqli-buffer): Bug fix.
18830 (sql-interactive-mode): Store connection data as buffer local.
0757af94 18831 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
18832 with sql-interactive-mode.
18833 (sql-save-connection): Save buffer local settings.
0757af94 18834 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
18835 (sql-product-interactive): Bug fix.
18836 (sql-preoutput-hold): New variable.
18837 (sql-interactive-remove-continuation-prompt): Bug fixes.
18838 (sql-debug-redirect): New variable.
18839 (sql-str-literal): New function.
18840 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 18841 Redesign.
fbcc67e2
MM
18842 (sql-oracle-save-settings, sql-oracle-restore-settings)
18843 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18844 (sql-completion-object, sql-completion-column)
18845 (sql-completion-sqlbuf): New variables.
18846 (sql-build-completions-1, sql-build-completions)
18847 (sql-try-completion): New functions.
18848 (sql-read-table-name): Use them.
18849 (sql-contains-names): New buffer local variable.
18850 (sql-list-all, sql-list-table): Use it.
18851 (sql-oracle-completion-types): New variable.
18852 (sql-oracle-completion-object, sql-sqlite-completion-object)
18853 (sql-postgres-completion-object): New functions.
18854
d4eaeab1
GM
188552011-07-06 Glenn Morris <rgm@gnu.org>
18856
18857 * window.el (pop-to-buffer): Doc fix.
18858
322b7dab 188592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
18860
18861 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18862
322b7dab 188632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 18864
322b7dab 18865 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 18866
322b7dab 18867 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 18868
605dd5bf
CY
188692011-07-05 Chong Yidong <cyd@stupidchicken.com>
18870
18871 * button.el (button): Inherit from link face. Suggested by Dan
18872 Nicolaescu.
18873
7dbfa719
SM
188742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18875
3db614b0
SM
18876 * progmodes/gdb-mi.el: Fit in 80 columns.
18877 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18878 switch-to-buffer.
18879
7dbfa719
SM
18880 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18881 if imenu is simply not configured (bug#8941).
18882
919d884a
KM
188832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18884
18885 * allout.el (allout-post-undo-hook): New allout outline-change
18886 event hook to signal undo activity.
18887 (allout-post-command-business): Run allout-post-undo-hook if an
18888 undo just occurred.
7dbfa719
SM
18889 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18890 * allout-widgets.el (allout-widgets-after-undo-function):
18891 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
18892 in the vicinity of an undo.
18893 (allout-widgets-mode): Include allout-widgets-after-undo-function
18894 on the new allout-post-undo-hook.
18895
450a0f09
SM
188962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18899 Let define-derived-mode define it.
18900 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18901 cycles of abbrev-table inheritance (bug#8998).
18902
2de69e00
RW
189032011-07-05 Roland Winkler <winkler@gnu.org>
18904
18905 * textmodes/bibtex.el: Add support for biblatex.
18906 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18907 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18908 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18909 (bibtex-entry-alist, bibtex-field-alist): New variables.
18910 (bibtex-entry-field-alist): Obsolete alias for
18911 bibtex-BibTeX-entry-alist.
18912 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18913 (bibtex-set-dialect): New command.
18914 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
18915 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18916 Bind via bibtex-set-dialect.
2de69e00
RW
18917 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18918 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18919 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18920 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18921 Define via bibtex-set-dialect.
450a0f09
SM
18922 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18923 Obey bibtex-no-opt-remove-re.
2de69e00
RW
18924 (bibtex-vec-push, bibtex-vec-incr): New functions.
18925 (bibtex-format-entry, bibtex-field-list)
18926 (bibtex-print-help-message, bibtex-validate)
18927 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18928
2dcdbdd9
SM
189292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18930
18931 * progmodes/compile.el (compilation-goto-locus):
18932 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18933 * bs.el (bs-cycle-next, bs-cycle-previous):
18934 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18935 * bindings.el (mode-line-other-buffer):
18936 * autoinsert.el (auto-insert):
18937 * arc-mode.el (archive-extract):
18938 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18939
b27640fe
JB
189402011-07-05 Juanma Barranquero <lekktu@gmail.com>
18941
18942 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18943 Fix check of `emacs-lock-unlockable-modes'.
18944 Coerce true values of `emacs-lock--try-unlocking' to t.
18945
53bbe3ad
JB
189462011-07-05 Juanma Barranquero <lekktu@gmail.com>
18947
18948 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18949 * emacs-lock.el: New file.
18950
1d3cdbc7
JD
189512011-07-05 Julien Danjou <julien@danjou.info>
18952
18953 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18954 than `boundp' to check if face is set.
18955
9173deec
JB
189562011-07-05 Juanma Barranquero <lekktu@gmail.com>
18957
18958 * register.el (registerv-make):
18959 * window.el (window-min-height): Fix typos in docstrings.
18960
869795d6
JD
189612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18962
9173deec 18963 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
18964 Update doc string.
18965
b768cdcd
JB
189662011-07-04 Juanma Barranquero <lekktu@gmail.com>
18967
18968 * server.el (server-execute): Catch quit and call
18969 `server-return-error' to pass the error back to emacsclient and
18970 close the connection (bug#8942).
18971
13aa217b
KM
189722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18973
18974 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18975 insecure exception for current topic. Also note that auto-saves
18976 are handled differently.
18977
5d3385a0 18978 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
18979 State variables for tracking auto-save inhibition situation.
18980
18981 (allout-write-contents-hook-handler): Rename from
18982 'allout-write-file-hook-handler', and describe how it depends on
18983 write-contents-functions sensitivity to non-nil value to prevent
18984 file write.
18985
18986 (allout-auto-save-hook-handler): Remove. auto-save does not check
18987 this in individual buffers, only in the starting buffer, so this
18988 is not the right way for us to inhibit auto-save in a buffer
18989 according to its condition.
18990
18991 (allout-mode): Use new allout-write-contents-hook-handler, and
18992 only with write-contents-functions. Remove auto-save provisions -
18993 they're implemented elsewhere.
18994
18995 (allout-before-change-handler): If undo is in progress, note that
18996 for attention of allout-post-command-business.
18997
18998 (allout-post-command-business): If the command we're following was
18999 an undo, check for change in the status of encrypted items and
19000 adjust auto-save inhibitions accordingly.
19001
19002 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19003 according to whether there are or aren't any plain-text topics
19004 pending encryption.
19005
2dcdbdd9 19006 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19007 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19008 if there are plain-text topics pending encryption.
13aa217b
KM
19009
19010 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19011 buffer-saved-size and some allout state to not inhibit auto-saves
19012 if there are no longer any plain-text topics pending encryption.
19013
0757af94
SM
19014 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19015 No longer provide for exemption of the current topic.
13aa217b 19016
ac89b32c
JL
190172011-07-04 Juri Linkov <juri@jurta.org>
19018
19019 Add 7z operations to delete and save changed members (bug#8968).
19020 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19021 New defcustoms.
19022 (archive-7z-write-file-member): New function.
19023 (archive-7z-summarize): Fix the number of dashes in the
19024 listing output.
19025
8fa39615
SM
190262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19029 (bug#8958).
19030
2f11b3f1
CY
190312011-07-04 Chong Yidong <cyd@stupidchicken.com>
19032
d66fef2b
CY
19033 * bindings.el: Ignore next-buffer and previous-buffer in
19034 minibuffer-local-map.
19035
2f11b3f1
CY
19036 * font-lock.el (font-lock-builtin-face): Change light background
19037 color to dark slate blue (Bug#6693).
19038
f932a347
WD
190392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19040
19041 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19042
c8af70e1
SM
190432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19044
19045 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19047 Add switch-to-buffer.
19048
f158badc
LMI
190492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19050
19051 * isearch.el (isearch-search-fun-function): Clarify further the
19052 meaning of the function returned.
19053
6d95bd46
MA
190542011-07-04 Michael Albinus <michael.albinus@gmx.de>
19055
19056 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19057
19058 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19059 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19060 Use it.
19061 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19062 `tramp-default-remote-path' does not exist.
19063 (tramp-send-command-and-read): New optional argument NOERROR.
19064 (tramp-open-connection-setup-interactive-shell)
19065 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19066 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19067 (tramp-process-sentinel): Flush also process' connection property.
19068 (tramp-sh-handle-start-file-process): Do not set process
19069 sentinel. It is done now ...
19070 (tramp-maybe-open-connection): ... here. (Bug#8929)
19071
909e6b67
MK
190722011-07-04 MON KEY <monkey@sandpframing.com>
19073
19074 * play/animate.el (animate-string): Doc fixes and allow changing
19075 the buffer name (bug#5417).
19076
190772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19078
c8af70e1 19079 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 19080
f34755dc
PE
190812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19082
396cec72
PE
19083 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19084 This is simpler and helps future-proof the code.
19085 (timer-until): Use time-subtract and float-time.
08235028 19086 (timer--time-less-p): Use time-less-p.
f34755dc 19087
56e6cc31
JB
190882011-07-04 Juanma Barranquero <lekktu@gmail.com>
19089
3abb79e5
JB
19090 * type-break.el (timep): Use the value of `float-time' to avoid a
19091 byte-compiler warning.
19092
56e6cc31
JB
19093 * server.el (server-eval-and-print): Return any result, even nil.
19094
7b9430b4
PE
190952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19096
19097 * type-break.el: Accept time formats that the builtins accept.
19098 (timep, type-break-time-difference): Accept any format that
19099 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19100 This is simpler and helps future-proof the code.
19101 (type-break-time-difference): Round rather than ignoring
19102 subseconds components.
19103
3034e9e7
LMI
191042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19105
19106 * info.el (Info-apropos-matches): Make non-interactive, since it
19107 doesn't seem to do anything useful as a command (bug#8829).
19108
1485f4c0
CY
191092011-07-03 Chong Yidong <cyd@stupidchicken.com>
19110
19111 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 19112 Move from faces.el.
1485f4c0
CY
19113 (frame-default-terminal-background): New function.
19114
19115 * custom.el (custom-push-theme): Don't record faces in `changed'
19116 theme; this doesn't work correctly for per-frame face settings.
19117 (disable-theme): Use face-set-after-frame-default to reset faces.
19118 (custom--frame-color-default): New function.
19119
9fa3dd45
LMI
191202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19121
c8af70e1 19122 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
19123 (bug#8769).
19124
6cbbc20c
KR
191252011-03-29 Kevin Ryde <user42@zip.com.au>
19126
19127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19128 `perl-Test2' extend to match possible "fail #N" rep count
19129 (bug#8377).
19130
c7f98048
LMI
191312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19132
65676592
LMI
19133 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19134 `smtpmail-via-smtp' now returns the error instead of nil.
19135
c7f98048
LMI
19136 * isearch.el (isearch-search-fun-function): Clarify the doc string
19137 (bug#8101).
19138
56e6cc31 191392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
19140
19141 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19142 unnecessary spaces (bug#8987).
19143
2b216704
LMI
191442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19145
19146 * net/network-stream.el (open-network-stream): Use the
19147 :end-of-capability command thoughout.
19148
191492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19150
19151 * net/network-stream.el (open-network-stream): Add the
19152 :end-of-capability command parameter, used by pop3.el.
19153
36adf6ce
LMI
191542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19155
1ca0da0e
LMI
19156 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19157
fc00f69c
LMI
19158 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19159 for list)" (bug#6475).
19160
28fd8759 19161 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 19162 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
19163 an error (bug#6297).
19164
0dd8b6da
LMI
19165 * man.el (Man-reference-regexp): Allow matching possible
19166 word-wrapped references (bug#6289).
19167
ce1438d6
LMI
19168 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19169 for consistency with the other vc buffers (bug#6197).
19170 (vc-checkin): Ditto.
19171
19172 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19173
36adf6ce
LMI
19174 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19175
e83cc1f7
LMI
191762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19177
8a20ca4c
LMI
19178 * custom.el (defcustom): Clarify that :set is only used in the
19179 Customize user interface (bug#6089).
19180
83319045
LMI
19181 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19182 associated with a file, refuse to run instead of erroring out
19183 (bug#6084).
19184
a8392169
LMI
19185 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19186 the doc string, since it appears that using `fill-column' always
19187 controls the width (bug#7845).
19188
e83cc1f7
LMI
19189 * simple.el (shell-command-on-region): Say where the error output
19190 went if `shell-command-default-error-buffer' is set (bug#6857).
19191
e47ca23b
KM
191922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19193
19194 * allout.el (allout-yank-processing): Adjust cursor position for
19195 backwards-deleted space.
19196
19197 (allout-rebullet-heading): Register changes with
19198 allout-exposure-changed-hook, so the modified topic is properly
19199 decorated.
19200
5cf56143
LMI
192012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19202
08549772
LMI
19203 * minibuffer.el (completion-in-region): Document PREDICATE
19204 (bug#7136).
19205
48e96771
LMI
19206 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19207 of keyword/argument pairs (bug#6904).
19208
c8af70e1
SM
19209 * replace.el (multi-occur):
19210 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 19211
e17d05e2
LMI
192122011-07-02 Drew Adams <drew.adams@oracle.com>
19213
19214 * dired.el (dired-mark-if): Make the message about whether it's
19215 marking or unmarking clearer (bug#8523).
19216
063b0e45
LMI
192172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19218
19219 * disp-table.el (display-table-print-array): New function.
19220 (describe-display-table): Use it to print the vectors more pretty
19221 (Bug#8859).
19222
28545e04
MR
192232011-07-02 Martin Rudalics <rudalics@gmx.at>
19224
19225 * window.el (window-state-get-1): Don't assign clone numbers.
19226 Add clone-of item to list of window parameters.
19227 (window-state-put-2): Don't process clone numbers.
19228 (display-buffer-alist): Fix doc-string.
19229
3349e122
SM
192302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * subr.el (remq): Don't allocate if it's not needed.
19233 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19234 (keymap--merge-bindings): New functions.
19235 (keymap-canonicalize): Use them to refine the canonicalization.
19236 * minibuffer.el (minibuffer-local-completion-map)
19237 (minibuffer-local-must-match-map): Move initialization from C.
19238 (minibuffer-local-filename-completion-map): Move initialization from C;
19239 don't inherit from anything here.
19240 (minibuffer-local-filename-must-match-map): Make obsolete.
19241 (completing-read-default): Use make-composed-keymap to combine
19242 minibuffer-local-filename-completion-map with either
19243 minibuffer-local-must-match-map or
19244 minibuffer-local-filename-completion-map.
19245
d224ac83
GM
192462011-07-01 Glenn Morris <rgm@gnu.org>
19247
3de63bf8
GM
19248 * type-break.el (type-break-time-sum): Use dolist.
19249
d224ac83
GM
19250 * textmodes/flyspell.el (flyspell-word-search-backward):
19251 Replace CL function.
19252
1a1e3f32
SM
192532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19254
fe3f64d5
SM
19255 * mouse.el (mouse--strip-first-event): New function.
19256 (function-key-map): Use it to map fringe clicks to normal clicks
19257 by default.
19258
eb604e34
SM
19259 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19260 (vc-bzr-revision-completion-table): Add support for annotate and date.
19261
1a1e3f32
SM
19262 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19263 inherit from parent.
19264
5bd35902
LMI
192652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19266
ace6c69c 19267 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 19268 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 19269
191e2bed
LMI
19270 * dired.el (dired-mode): Fix up the doc string as suggested by
19271 Drew Adams (bug#8817).
19272
5bd35902
LMI
19273 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19274 cookie, since the manual says that it should be possible to add
19275 this function to `find-file-hook' (bug#8709).
19276
eee8207a
TZ
192772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19278
19279 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19280 here. Noted Ted Zlatanov as the maintainer.
19281 (cfengine-common-settings, cfengine-common-syntax): New functions
19282 to set up common things between `cfengine-mode' and
19283 `cfengine3-mode'.
19284 (cfengine3-mode): New mode.
19285 (cfengine3-defuns cfengine3-defuns-regex
19286 (cfengine3-class-selector-regex cfengine3-category-regex)
19287 (cfengine3-vartypes cfengine3-font-lock-keywords)
19288 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 19289 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 19290
36b148cf
MA
192912011-07-01 Michael Albinus <michael.albinus@gmx.de>
19292
19293 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19294
19295 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19296
0bf4ba9a
MR
192972011-07-01 Martin Rudalics <rudalics@gmx.at>
19298
19299 * window.el (same-window-buffer-names, same-window-regexps)
19300 (same-window-p, special-display-frame-alist)
19301 (special-display-popup-frame, special-display-function)
19302 (special-display-buffer-names, special-display-regexps)
19303 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19304 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19305 (split-window-preferred-function, split-height-threshold)
19306 (split-width-threshold, even-window-heights)
19307 (display-buffer-mark-dedicated, window-splittable-p)
19308 (split-window-sensibly, window-safely-shrinkable-p):
19309 Un-obsolete.
19310 (display-buffer): Don't spread args with function specifier
19311 because special-display-popup-frame won't like it.
19312
35837f51
PE
193132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19314
d0672f86
PE
19315 Time-stamp simplifications and fixes.
19316 These improve accuracy slightly, and future-proof the code
19317 against some potential changes to current-time format.
19318
b9444d97
PE
19319 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
19320 by using time-since and float-time.
19321
0ef923dc
PE
19322 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
19323 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
19324 + NNN microseconds".
19325
2f81380d
PE
19326 * type-break.el (type-break-time-sum): Rewrite using time-add.
19327
845b5c3e
PE
19328 * play/hanoi.el (hanoi-current-time-float): Remove.
19329 All uses replaced by float-time.
19330
ee6f1be0
PE
19331 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
19332 This yields a more-accurate answer.
19333 (rng-time-to-float): Remove; no longer needed.
19334
fe955043
PE
19335 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
19336
5777162a
PE
19337 * calendar/timeclock.el (timeclock-seconds-to-time):
19338 Defalias to seconds-to-time, since they're the same thing.
19339
3103f8b6 19340 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 19341 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
19342 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
19343
0e61a35f
SM
193442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * window.el (bury-buffer): Don't iconify the only frame.
19347 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
19348 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
19349
ddd63a1e
CY
193502011-07-01 Chong Yidong <cyd@stupidchicken.com>
19351
0e61a35f
SM
19352 * eshell/em-smart.el (eshell-smart-display-navigate-list):
19353 Add mouse-yank-primary.
ddd63a1e 19354
055f4923
TZ
193552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19356
19357 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
19358
6a2fb145
SM
193592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19360
19361 * emacs-lisp/find-func.el (find-library--load-name): New fun.
19362 (find-library-name): Use it to find relative load names when provided
19363 absolute file name (bug#8803).
19364
fd4983f2
LMI
193652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366
887d14ad
LMI
19367 * textmodes/flyspell.el (flyspell-word): Consider words that
19368 differ only in case as potential doublons (bug#5687).
19369
c53dc7fc
LMI
19370 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
19371 Remove two rather uninteresting debugging-like messages to make
19372 debbugs.el more silent.
19373
fd4983f2
LMI
19374 * comint.el (comint-password-prompt-regexp): Accept "Response" as
19375 a password-like phrase.
19376
7a71b18d 193772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
19378
19379 * progmodes/cc-guess.el: New file.
19380
6a2fb145 19381 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
19382
19383 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
19384 derived from `c-basic-common-init'.
19385
19386 * progmodes/cc-mode.el (top-level): Require cc-guess.
19387 (c-basic-common-init): Use `cc-choose-style-for-mode'.
19388
1fa280a3
LM
193892011-06-30 Lawrence Mitchell <wence@gmx.li>
19390
19391 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
19392
e6597158
AM
193932011-06-30 Alan Mackenzie <acm@muc.de>
19394
1fa280a3
LM
19395 * progmodes/cc-engine.el (c-guess-continued-construct):
19396 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
19397 lock is disabled. Name this case as "CASE G".
19398
68ba37fb
KM
193992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
19400
19401 * allout.el (allout-yank-processing): Fix injection of extra space
19402 between bullet and non-whitespace character in first topic when
19403 pasting, ensuring that the actual spacing in the pasted topic
19404 following the bullet char is preserved. This extra space was
19405 causing pasted encrypted topics to get a decrypted status even
19406 when the content was actually still encrypted. Now the decryption
19407 status from before the paste is preserved.
19408
19409 (allout-flag-region): Set all allout overlays so they evaporate
19410 when reduced to zero length (evanescent), to prevent overlay
19411 leakage.
19412
887a0b34
GM
194132011-06-30 Glenn Morris <rgm@gnu.org>
19414
94b9acce
GM
19415 * w32-fns.el (w32-charset-info-alist): Declare.
19416
1d9b46d4
GM
19417 * find-dired.el (find-grep-options): Simplify.
19418
cc232200
GM
19419 * term/ns-win.el (ns-set-resource): Declare.
19420
28e77c46
GM
19421 * ses.el (row, col): Declare dynamic variables honestly.
19422
887a0b34
GM
19423 * textmodes/reftex-parse.el (index-tags): Declare.
19424
658d8eb8
CY
194252011-06-30 Chong Yidong <cyd@stupidchicken.com>
19426
19427 * cus-edit.el (customize-push-and-save): New function.
19428
19429 * files.el (hack-local-variables-confirm): Use it.
19430
1fa280a3
LM
19431 * custom.el (load-theme): New arg NO-CONFIRM.
19432 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
19433 (custom-enabled-themes): Doc fix.
19434
19435 * cus-theme.el (customize-create-theme)
19436 (custom-theme-merge-theme): Callers to load-theme changed.
19437
bb617717
LMI
194382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19439
d61bdd5d
LMI
19440 * thingatpt.el (thing-at-point-short-url-regexp): Require that
19441 short URLs have at least one dot in them (bug #7614).
19442
bb617717
LMI
19443 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
19444 nil, because using a pty is apparently too slow (bug #895).
19445
2f31f37a
LMI
194462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
19447
19448 * mail/sendmail.el (sendmail-query-once): New function.
19449 (sendmail-query-once-function): New variable.
19450
3076b24e
GM
194512011-06-29 Glenn Morris <rgm@gnu.org>
19452
faf2a174
GM
19453 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
19454
3076b24e
GM
19455 * ses.el (top-level): Require cl when compiling.
19456 (ses-set-localvars): Fix error statement.
19457 Call it at compile time to silence a storm of warnings.
19458
5386012d
MR
194592011-06-29 Martin Rudalics <rudalics@gmx.at>
19460
19461 * window.el (normalize-live-buffer): Rename to
19462 window-normalize-buffer.
19463 (normalize-live-frame): Rename to window-normalize-frame.
19464 (normalize-any-window): Rename to window-normalize-any-window.
19465 (normalize-live-window): Rename to window-normalize-live-window.
19466 (make-window-atom): Rename to window-make-atom.
19467 (window-resize-reset): Rename to window--resize-reset.
19468 (window-resize-reset-1): Rename to window--resize-reset-1.
19469 (resize-mini-window): Rename to window--resize-mini-window.
19470 (resize-subwindows-skip-p): Rename to
19471 window--resize-subwindows-skip-p.
19472 (resize-subwindows-normal): Rename to
19473 window--resize-subwindows-normal.
19474 (resize-subwindows): Rename to window--resize-subwindows.
19475 (resize-other-windows): Rename to window--resize-siblings.
19476 (resize-this-window): Rename to window--resize-this-window.
19477 (resize-root-window): Rename to window--resize-root-window.
19478 (resize-root-window-vertically): Rename to
19479 window--resize-root-window-vertically.
19480 (normalize-buffer-to-display): Rename to
19481 window-normalize-buffer-to-display.
19482 (normalize-buffer-to-switch-to): Rename to
19483 window-normalize-buffer-to-switch-to.
19484 Correspondingly update all callers of the functions listed
19485 above.
19486 (display-buffer-alist, display-buffer-normalize-arguments)
19487 (display-buffer-normalize-options, display-buffer)
19488 (display-buffer-alist-set): Use "function" instead of
19489 "fun-with-args".
19490
1176868d
CY
194912011-06-28 Chong Yidong <cyd@stupidchicken.com>
19492
19493 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
19494 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
19495 debbugs.gnu.org. Mention acknowledgment email.
19496
20a7a65f
LMI
194972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
19498
19499 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
19500 buffer multibyteness, since it shouldn't matter.
19501
5f45cca5
MR
195022011-06-28 Martin Rudalics <rudalics@gmx.at>
19503
19504 * window.el (display-buffer-in-side-window): Handle dedicated
19505 windows as in display-buffer-reuse-window.
19506 (display-buffer-normalize-alist): Use value of override
19507 specifier.
19508 (display-buffer-normalize-specifiers): Use value of
19509 other-window-means-other-frame specifier.
19510 (display-buffer-alist): Rewrite some texts in widgets.
19511 (display-buffer): Spread arguments when calling function
19512 specified by fun-with-args.
19513
ad85fe1f
DD
195142011-06-28 Deniz Dogan <deniz@dogan.se>
19515
1fa280a3
LM
19516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19517 Unnest `let'.
da68c4c8 19518
ad85fe1f
DD
19519 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
19520 selectors (Bug#5732).
ec49bd31 19521 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 19522
a08cc025
JA
195232011-06-27 Jari Aalto <jari.aalto@cante.net>
19524
19525 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
19526 (eshell-ls-date-format): New defcustom.
19527 (eshell-ls-file): Use it.
19528
e2b551c5
SM
195292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19530
19531 * help-fns.el (describe-variable): Fix message for terminal-local vars.
19532
8982b231
KY
195332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
19534
19535 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
19536 (ange-ftp-make-tmp-name): New arg.
19537 (ange-ftp-file-local-copy): Use it.
19538
36c9fa27
J
195392011-06-27 Jambunathan K <kjambunathan@gmail.com>
19540
19541 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
19542 no-conversion (Bug#8870).
19543
d68443dc
MR
195442011-06-27 Martin Rudalics <rudalics@gmx.at>
19545
19546 * window.el (window-right, window-left, window-child)
19547 (window-child-count, window-last-child)
19548 (window-iso-combination-p, walk-window-tree-1)
19549 (window-atom-check-1, window-tree-1, delete-window)
19550 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
19551 new naming conventions - window-vchild, window-hchild,
19552 window-next and window-prev are now called window-top-child,
19553 window-left-child, window-next-sibling and window-prev-sibling
19554 respectively.
d615d6d2
MR
19555 (resize-window-reset): Rename to window-resize-reset.
19556 (resize-window-reset-1): Rename to window-resize-reset-1.
19557 (resize-window): Rename to window-resize.
19558 (window-min-height, window-min-width)
19559 (resize-mini-window, resize-this-window, resize-root-window)
19560 (resize-root-window-vertically, adjust-window-trailing-edge)
19561 (enlarge-window, shrink-window, maximize-window)
19562 (minimize-window, delete-window, quit-restore-window)
19563 (split-window, balance-windows, balance-windows-area-adjust)
19564 (balance-windows-area, window-state-put-2)
19565 (display-buffer-even-window-sizes, display-buffer-set-height)
19566 (display-buffer-set-width, set-window-text-height)
19567 (fit-window-to-buffer): Rename all "resize-window" prefixed
19568 calls to use the "window-resize" prefix convention.
19569 (display-buffer-alist): Fix symbol for label specifier.
19570 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
19571 corresponding specifier.
19572 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 19573
b6458526
VB
195742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19575
19576 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
19577 convention.
19578 (ses-call-printer): Does not pass an empty string to formatter when the
19579 cell is empty to keep from barking printer Calc math-format-value.
19580
d31fd9ac
RS
195812011-06-27 Richard Stallman <rms@gnu.org>
19582
43d5bf84
RS
19583 * battery.el (battery-mode-line-limit): New variable.
19584 (battery-update): Handle it.
19585
d31fd9ac
RS
19586 * mail/rmailmm.el (rmail-mime-process-multipart):
19587 Handle truncated messages.
19588
819a6054
GM
195892011-06-27 Glenn Morris <rgm@gnu.org>
19590
19591 * progmodes/flymake.el (flymake-err-line-patterns):
19592 Allow for column numbers in the ant/javac pattern. (Bug#8866)
19593
cedc73f2
VB
195942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
19595
819a6054 19596 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
19597 (ses--clean-!, ses--clean-_): New functions.
19598 (ses-range): Add configurability of readout order, and conversion
19599 to Calc vector.
19600
5e5d49b6
VB
19601 * ses.el (ses-repair-cell-reference-all): New function.
19602 (ses-cell-symbol): Set macro as safe, so that it can be used in
19603 formulas.
19604
56e6cc31 19605 * ses.el: Update cycle detection algorithm.
90ca8b49 19606 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 19607 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
19608 (ses-set-localvars): New function.
19609 (ses-make-cell): Add property-list as a cell element.
19610 (ses-cell-property-get-fun, ses-cell-property-get)
19611 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
19612 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
19613 New functions.
90ca8b49
VB
19614 (ses-cell-property-set, ses-cell-property-pop)
19615 (ses-cell-property-get-handle): New macro.
19616 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
19617 New aliases, used for code readability.
19618 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
19619 cycle detection.
19620 (ses-self-reference-early-detection): New defcustom.
fac916bf 19621 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
19622 (ses-mode): Use ses-set-localvars.
19623 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
19624 before lauching the update processing.
19625 (ses-initialize-Dijkstra-attempt): New function.
19626 (ses-recalculate-cell): Update for cycle detection based on
19627 Dijkstra algorithm.
19628
2bb63e81
VB
19629 * ses.el: Fix commenting and indenting convention.
19630
c9d29fb8
SM
196312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19632
19633 * bs.el (bs-cycle-next): Complete last change.
19634
d8e4b68b
JB
196352011-06-27 Drew Adams <drew.adams@oracle.com>
19636
19637 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19638
40098786
LMI
196392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19640
c9d29fb8
SM
19641 * net/network-stream.el (network-stream-open-starttls):
19642 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
19643 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19644
40098786
LMI
19645 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19646 to binary to possibly avoid line encoding issues on Windows (among
19647 other things).
19648
468d09d4
LMI
196492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19650
19651 * net/network-stream.el (open-network-stream): Return an :error
19652 saying what the problem was, if possible.
19653
19654 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19655 server.
19656
19657 * net/network-stream.el (network-stream-open-starttls): If we
19658 wanted to use STARTTLS, and the server offered it, but we weren't
19659 able to because we had no STARTTLS support, then close the connection.
19660 (open-network-stream): Return an :error element, if present.
19661
16f07dd7
CY
196622011-06-26 Chong Yidong <cyd@stupidchicken.com>
19663
88821ca0
CY
19664 * hl-line.el (hl-line-sticky-flag): Doc fix.
19665 (global-hl-line-sticky-flag): New option (Bug#8323).
19666 (global-hl-line-highlight): Obey it.
19667
16f07dd7
CY
19668 * vc/vc.el (vc-revert-show-diff): Default to t.
19669
6b5ccddf
KM
196702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19671
c9d29fb8
SM
19672 * allout-widgets.el (allout-widgets-post-command-business):
19673 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
19674 undecorated when an isearch is continued past, and isearch
19675 automatically collapses them. This leads to "widget leaks", where
19676 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
19677 hidden widgets can slow down cursor travel, substantially.
19678 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
19679 so we're doing without this nicety.
19680
19681 (allout-widgets-tally-string): Don't try to do a hash-table-count
19682 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19683 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19684 *Messages* when allout-widgets-maintain-tally is t.
19685
355f2e07
MR
196862011-06-26 Martin Rudalics <rudalics@gmx.at>
19687
19688 * window.el (display-buffer-normalize-argument): Rename to
19689 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
19690 LABEL argument. Respect special-display-function when popping up
19691 a new frame. Fix code searching for a window showing the buffer
19692 on another frame.
c9d29fb8
SM
19693 (display-buffer-normalize-specifiers):
19694 Call display-buffer-normalize-arguments.
355f2e07
MR
19695 (display-buffer-in-window): Don't undedicate the window if its
19696 buffer remains the same.
19697 Reported by Drew Adams <drew.adams@oracle.com>.
19698 (display-buffer-alist): Add choice for same-window macro
19699 specfier.
19700 (display-buffer): Mention special meaning of LABEL argument in
19701 doc-string. Fix quoting. Don't pop up a new frame even as
19702 fallback.
19703
7ca8fc42
JB
197042011-06-26 Juanma Barranquero <lekktu@gmail.com>
19705
19706 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19707 avoid deleting the current window in some cases (bug#8911).
19708
bc312254
AS
197092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19710
19711 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19712 (Bug#8934)
19713
2db18f3f
LMI
197142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19715
c9d29fb8
SM
19716 * net/network-stream.el (network-stream-open-starttls):
19717 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
19718 (network-stream-open-tls): Ditto.
19719
6302e0d3
LL
197202011-06-26 Leo Liu <sdl.web@gmail.com>
19721
19722 * register.el (registerv): New struct.
19723 (registerv-make): New function.
c9d29fb8
SM
19724 (jump-to-register, describe-register-1, insert-register):
19725 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
19726 struct. (Bug#8415)
19727
5fdd4046
CY
197282011-06-26 Chong Yidong <cyd@stupidchicken.com>
19729
2afef60a
CY
19730 * vc/vc.el (vc-revert-show-diff): New defcustom.
19731 (vc-diff-internal): New arg specifying diff buffer.
19732 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19733 reuse an existing *vc-diff* buffer (Bug#8927).
19734
5fdd4046
CY
19735 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19736
e93db24a
GM
197372011-06-26 Glenn Morris <rgm@gnu.org>
19738
19739 * progmodes/f90.el (f90-critical-indent): New option.
19740 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19741 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19742 (f90-mode): Doc fix.
19743 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19744 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19745 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19746 (f90-match-end): Handle block, critical.
19747
eefff499
GM
197482011-06-25 Glenn Morris <rgm@gnu.org>
19749
f6ba4cc9
GM
19750 * calendar/diary-lib.el (diary-included-files): Doc fix.
19751 (diary-include-files): New function, extracted from
19752 diary-include-other-diary-files and diary-mark-included-diary-files.
19753 (diary-include-other-diary-files, diary-mark-included-diary-files):
19754 Just call diary-include-files.
19755 (diary-mark-entries): Reset diary-included-files on first call.
19756
16712304
GM
19757 * calendar/diary-lib.el (diary-mark-entries)
19758 (diary-mark-included-diary-files):
19759 Visit included diary-files in temp buffers.
19760
5d8e0d43
GM
19761 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19762 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19763 (f90-start-block-re, f90-imenu-generic-expression)
19764 (f90-looking-at-program-block-start, f90-no-block-limit):
19765 Add support for submodules.
19766
ccf7a5d5
GM
19767 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19768 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 19769
11fdef7d 197702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
19771
19772 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19773 buffer-file-type before setting its value, to avoid disastrous
eefff499 19774 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 19775
74f53697
JB
197762011-06-25 Juanma Barranquero <lekktu@gmail.com>
19777
19778 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19779
19780 * ses.el (ses-unload-function):
19781 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19782
19783 * proced.el (proced-unload-function):
19784 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19785
18a4ce5e
AR
197862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19787
19788 * server.el (server-create-window-system-frame): Add parameters arg.
19789 (server-process-filter): Doc fix. Handle frame-parameters.
19790
519d22cc
JB
197912011-06-25 Juanma Barranquero <lekktu@gmail.com>
19792
19793 Fix bug#8730, bug#8781.
19794
19795 * loadhist.el (unload--set-major-mode): New function.
19796 (unload-feature): Use it.
19797
19798 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19799 (python-unload-function): New function.
19800
c206f5b0
SM
198012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19802
19803 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19804
f9ad64f3
GS
198052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19806
19807 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19808 the candidates list.
19809
7d0da90e
JB
198102011-06-24 Juanma Barranquero <lekktu@gmail.com>
19811
19812 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19813
14b4e83d
RS
198142011-06-23 Richard Stallman <rms@gnu.org>
19815
19816 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19817 (rmail-variables): Set next-error-move-function.
19818 (rmail-what-message): Take argument POS.
19819 (rmail-next-error-move): New function.
19820
273d2baf
SM
198212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19824 messages for adjacent non-terminals.
19825
56c2cc9a
RS
198262011-06-23 Richard Stallman <rms@gnu.org>
19827
19828 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 19829 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
19830 (rmail-start-mail): Don't specify use of rmail-mail-return;
19831 that's done by mail-bury now.
19832 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 19833
d59eb518
MA
198342011-06-23 Michael Albinus <michael.albinus@gmx.de>
19835
19836 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19837 SIZE is a number.
19838
02cfc6d6
MR
198392011-06-23 Martin Rudalics <rudalics@gmx.at>
19840
19841 * window.el (get-lru-window, get-mru-window)
19842 (get-largest-window): Never return a minibuffer window.
19843 (display-buffer-pop-up-window): Fix a bug that could lead to
19844 reusing the minibuffer window.
19845 (display-buffer): Pass original specifier argument to
19846 display-buffer-function instead of the normalized one.
19847 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19848
4e323265
LL
198492011-06-22 Leo Liu <sdl.web@gmail.com>
19850
19851 * minibuffer.el (completing-read-function)
1f9f395d 19852 (completing-read-default): Move from minibuf.c.
4e323265 19853
7a70468f
RS
198542011-06-22 Richard Stallman <rms@gnu.org>
19855
50718fc2
RS
19856 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19857 to Rmail even if not started by a special Rmail command.
19858
7a70468f
RS
19859 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19860 Copy the buffer currently showing just one message.
19861
297dde5a
RW
198622011-06-22 Roland Winkler <winkler@gnu.org>
19863
19864 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19865 (bibtex-clean-entry): First delete the old key so that a
19866 customized algorithm for generating the new key does not get
19867 confused by the old key.
19868 (bibtex-url): Obey regexp of first step.
19869 (bibtex-search-entries): Do not use add-to-list with local
19870 list-var.
19871
97bb1093
LMI
198722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19873
19874 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19875 stored a user name, then query for the password first, instead of
19876 waiting for SMTP to give an error message and the trying again.
19877
1c0f1a19
JD
198782011-06-22 Lawrence Mitchell <wence@gmx.li>
19879
19880 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19881 BUFFER in call-process.
19882
396f7c9d
LMI
198832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19884
19885 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19886 QUIT twice.
ddb7ffee
LMI
19887 (smtpmail-try-auth-methods): Require user name and password from
19888 auth-source.
396f7c9d 19889
8998d1b3
MR
198902011-06-22 Martin Rudalics <rudalics@gmx.at>
19891
19892 * window.el (display-buffer-default-specifiers)
19893 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19894 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 19895 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
19896
19897 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19898 (special-display-frame-alist, special-display-popup-frame):
19899 Remove duplicate declarations. These are now in window.el.
19900
4ea31e07
LMI
199012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19902
c9d29fb8
SM
19903 * mail/smtpmail.el (smtpmail-via-smtp):
19904 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
19905 server supports it. SMTP servers that support STARTTLS commonly
19906 require it.
19907
19908 * net/network-stream.el (network-stream-open-starttls): Support
19909 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 19910 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 19911
95f41d9a
LMI
19912 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19913 upgrades with `open-network-stream', and rely solely on
19914 auth-source for all credentials. Big changes throughout the file,
19915 but in particular:
c9d29fb8
SM
19916 (smtpmail-auth-credentials): Remove.
19917 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
19918 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19919 MAIL FROM, too.
95f41d9a 19920
c9d29fb8
SM
19921 * net/network-stream.el (network-stream-open-starttls):
19922 Provide support for client certificates both for external and built-in
4ea31e07
LMI
19923 STARTTLS.
19924 (auth-source): Require.
19925 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
19926 (network-stream-certificate): Change cert-cert to cert and
19927 cert-key to key.
4ea31e07 19928
065ec2c7
MA
199292011-06-21 Michael Albinus <michael.albinus@gmx.de>
19930
19931 * net/tramp-cache.el (top): Don't load the persistency file when
19932 "emacs -Q" has been called.
19933
cd93b359
DR
199342011-06-21 Tim Harper <timcharper@gmail.com>
19935
d8e4b68b
JB
19936 * term/ns-win.el (ns-initialize-window-system):
19937 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
19938 resource to NO as it is not yet supported by the NS port.
19939
ae9c0411
JB
199402011-06-21 Juanma Barranquero <lekktu@gmail.com>
19941
19942 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19943 (list-dynamic-libraries): ...not here.
19944
7f3f739f
LL
199452011-06-21 Leo Liu <sdl.web@gmail.com>
19946
19947 * subr.el (sha1): Implement sha1 using secure-hash.
19948
327c8fb1
MR
199492011-06-21 Martin Rudalics <rudalics@gmx.at>
19950
19951 * window.el (display-buffer-alist): In default value do not
19952 enforce searching a window on any but the selected frame.
19953 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19954 (display-buffer-select-window): Remove function.
19955 (display-buffer-in-window): When a window on another frame gets
19956 reused, do not select it any more but just raise its frame if
19957 necessary (Bug#8851) and (Bug#8856).
19958 (display-buffer-normalize-options): Handle pop-up-frames related
19959 options more faithfully.
19960 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19961 window if it is on another frame.
c9d29fb8
SM
19962 (display-buffer-alist, display-buffer-default-specifiers):
19963 Don't make new frame unsplittable by default.
9e9de014
MR
19964 (display-buffer-normalize-argument): Fix doc-string typo and use
19965 'same-frame-other-window instead of 'other-window when associating
19966 with display-buffer-macro-specifiers.
327c8fb1 19967
7cf3f556
VB
199682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19969
19970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19971 New functions.
19972 (5x5-mode-map, 5x5-mode-menu): Bind them.
19973 (5x5-draw-grid): Tweak the solver's rendering.
19974
60a406cf
SM
199752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19976
19977 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19978 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19979
d8e4b68b 199802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
19981
19982 * menu-bar.el: Use function variable instead of switch-to-buffer.
19983 (menu-bar-select-buffer-function): New variable.
60a406cf 19984 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 19985
478d6f95
SM
199862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19987
19988 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19989 variable's status.
19990
ca530739
JD
199912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19992
19993 * x-dnd.el (x-dnd-version-from-flags)
19994 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19995 and long as number (Bug#8899).
19996 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19997
bcd70d97
SM
199982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19999
60a406cf 20000 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20001 (completion-try-completion, completion-all-completions): Compute the
20002 metadata argument if it's missing; make it optional (bug#8795).
20003
60a406cf 20004 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20005 (widget-complete): Use new :completion-function property.
20006 (widget-completions-at-point): New function.
20007 (default): Use :completion-function instead of :complete.
60a406cf
SM
20008 (widget-default-completions): Rename from widget-default-complete;
20009 Rewrite.
bcd70d97
SM
20010 (widget-string-complete, widget-file-complete, widget-color-complete):
20011 Remove functions.
20012 (file, symbol, function, variable, coding-system, color):
20013 * international/mule-cmds.el (default-input-method, charset)
20014 (language-info-custom-alist):
20015 * cus-edit.el (face): Use new property :completions.
20016
20017 * progmodes/pascal.el (pascal-completions-at-point): New function.
20018 (pascal-mode): Use it.
20019 (pascal-mode-map): Use completion-at-point.
20020 (pascal-toggle-completions): Make obsolete.
20021 (pascal-complete-word, pascal-show-completions):
20022 * progmodes/octave-mod.el (octave-complete-symbol):
20023 Redefine as obsolete alias.
20024 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20025 Signal absence of completion info for old Octave,
20026 (inferior-octave-complete): Redefine as obsolete alias.
20027 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20028 (meta-completions-at-point): Rename from meta-complete-symbol and
20029 adapt it for use on completion-at-point-functions.
20030 (meta-common-mode): Use it.
20031 (meta-looking-at-backward, meta-match-buffer): Remove.
20032 (meta-complete-symbol): Redefine as obsolete alias.
20033 (meta-common-mode-map): Use completion-at-point.
20034 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20035 (makefile-mode-map): Use completion-at-point.
20036 (makefile-completions-at-point): Rename from makefile-complete and
20037 adapt it for use on completion-at-point-functions.
20038 (makefile-mode): Use it.
20039 (makefile-complete): Redefine as obsolete alias.
20040
aebf69c8
DD
200412011-06-20 Deniz Dogan <deniz@dogan.se>
20042
20043 * net/rcirc.el: Delete trailing whitespaces once and for all.
20044
bfbbb27d
DC
200452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20046
20047 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20048
d264a46b
CY
200492011-06-19 Chong Yidong <cyd@stupidchicken.com>
20050
4ca009e5
CY
20051 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20052
d264a46b
CY
20053 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20054
fbf5b3ce
MR
200552011-06-19 Martin Rudalics <rudalics@gmx.at>
20056
20057 * window.el (display-buffer-other-window-means-other-frame):
20058 Call display-buffer-normalize-alist.
20059 (display-buffer-normalize-specifiers-1): Rename to
20060 display-buffer-normalize-argument. New argument other-frame.
20061 Rewrite.
20062 (display-buffer-normalize-specifiers-2): Rename to
20063 display-buffer-normalize-options.
20064 (display-buffer-normalize-alist-1): New function.
20065 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
20066 display-buffer-normalize-alist.
20067 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
20068 (display-buffer-normalize-options-inhibit): New variable.
20069 (display-buffer-normalize-specifiers): Rewrite calling
20070 display-buffer-normalize-alist,
20071 display-buffer-normalize-argument, and
20072 display-buffer-normalize-options. Don't call the latter if
20073 display-buffer-normalize-options-inhibit is non-nil.
20074 (frame-auto-delete): New option.
20075 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
20076 (window-list-no-nils, window-state-ignored-parameters)
20077 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
20078 (window-state-put-1, window-state-put-2, window-state-put):
20079 New functions.
9a028c23
MR
20080 (display-buffer-normalize-options): Move special-display-p group
20081 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 20082
6d10d800
CY
200832011-06-18 Chong Yidong <cyd@stupidchicken.com>
20084
6420d28b
CY
20085 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20086 groups (Bug#8776).
20087 (rx-submatch-n): New function.
20088 (rx): Document it.
20089
ddb8b596
CY
20090 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20091 (Bug#8768).
20092
20093 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20094
77080289
CY
20095 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20096
61dfb316
CY
20097 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20098 anytime existing face settings are present (Bug#8889).
20099
6d10d800
CY
20100 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20101 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20102 Remove unused argument.
20103
be3fb2b8
MR
201042011-06-18 Martin Rudalics <rudalics@gmx.at>
20105
bcd70d97
SM
20106 * window.el (display-buffer-default-specifiers):
20107 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
20108 pop-up-window-min-width, and another reuse-window specifier
20109 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
20110 (display-buffer-normalize-specifiers-2):
20111 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
20112 pop-up-windows is unset. Add a reuse-window specifier for the
20113 case popping up a new window fails.
20114 (special-display-popup-frame): Remove double quoting.
28dec25a 20115 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 20116
1c6d8c76
SM
201172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20118
20119 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20120 according to comint-completion-addsuffix.
20121
20122 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20123 (pcomplete-suffix-list): Mark as obsolete.
20124 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20125 pcomplete-seen in the closure.
20126 (pcomplete-comint-setup): Setup completion-at-point as well.
20127 (pcomplete--entries): New function.
20128 (pcomplete--env-regexp): New var.
20129 (pcomplete-entries): Rewrite to work with partial-completion and
20130 without relying on pcomplete-suffix-list.
20131 (pcomplete-pare-list): Remove, unused.
20132
25aef8b8
MR
201332011-06-17 Martin Rudalics <rudalics@gmx.at>
20134
20135 * window.el (display-buffer-alist): Set pop-up-window-min-height
20136 and pop-up-window-min-width in default value. Reported by
20137 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20138 other-window-means-other-frame.
20139 (display-buffer-macro-specifiers): Comment out entry for
20140 other-window specifier.
20141 (display-buffer-other-window-means-other-frame): New function.
20142 (display-buffer-normalize-specifiers-1): New arguments
20143 buffer-name and label. Treat other-window case specially.
20144 (display-buffer-normalize-specifiers-2): Treat other-window case
20145 specially.
20146 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
20147 (display-buffer-normalize-specifiers):
20148 Call display-buffer-normalize-specifiers-3.
25aef8b8 20149
dbad4f69
MR
201502011-06-17 Martin Rudalics <rudalics@gmx.at>
20151
20152 * window.el (same-window-p): Fix two typos introduced when
20153 adding with-no-warnings.
d1067961
MR
20154 (display-buffer-normalize-specifiers-1): Don't check
20155 pop-up-frames for 'unset initialization.
20156 (display-buffer-normalize-specifiers-2): Major rewrite using
20157 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20158 (pop-up-frames, display-buffer-reuse-frames)
20159 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20160 Suggested by David Engster <deng@randomsample.de>.
20161 (even-window-heights): Initialize to 'unset.
20162 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
20163 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20164 other window case.
dbad4f69 20165
9b9c9e3a
MR
201662011-06-16 Martin Rudalics <rudalics@gmx.at>
20167
bcd70d97
SM
20168 * window.el (display-buffer-normalize-specifiers-1):
20169 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 20170 second argument of display-buffer (Bug#8865).
981d5c09
MR
20171 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20172 (switch-to-buffer-other-window-same-frame)
20173 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20174 Adams (Bug#8875).
9c2755e9
MR
20175 (display-buffer): Don't check noninteractive when calling
20176 display-buffer-pop-up-frame.
20177 (display-buffer-pop-up-frame): Never pop up a frame in
20178 noninteractive mode (Bug#8857).
67222e1d
MR
20179 (enlarge-window, shrink-window): Don't report an error when the
20180 window can't be resized as requested (Bug#8862).
9b9c9e3a 20181
2b75be67
SM
201822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20183
9ffdd3ba
SM
20184 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20185
cb581a67
SM
20186 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20187
2b75be67
SM
20188 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20189
8c0e3589
AM
201902011-06-15 Alan Mackenzie <acm@muc.de>
20191
cb581a67
SM
20192 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20193 for declarators, disable knr checking to speed up for normal files.
20194 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 20195
b96e6cde
LMI
201962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20197
4bba86e6
LMI
20198 * net/network-stream.el (open-network-stream): Add the keyword
20199 :always-query-capabilities for the case where you want to force a
20200 `plain' network connection, but the protocol still requires the
20201 capabilitiy command (i.e., SMTP and EHLO).
20202
2b75be67 20203 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
20204 consistency with other `-live-p' functions.
20205
efdcdbf8
SM
202062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20207
20208 * window.el (same-window-buffer-names, same-window-regexps)
20209 (special-display-frame-alist, special-display-popup-frame)
20210 (special-display-function, special-display-buffer-names)
20211 (special-display-regexps, pop-up-frame-alist)
20212 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20213 (pop-up-windows, split-window-preferred-function)
20214 (split-height-threshold, split-width-threshold, even-window-heights)
20215 (display-buffer-mark-dedicated): Don't encourage the use of
20216 display-buffer-alist from Elisp code.
20217
c5cde042
DN
202182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20219
20220 * progmodes/python.el (python-mode): Derive from prog-mode.
20221 * progmodes/ps-mode.el (ps-mode):
20222 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 20223 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
20224 * progmodes/ld-script.el (ld-script-mode): Likewise.
20225
baa1c9ab
MR
202262011-06-15 Martin Rudalics <rudalics@gmx.at>
20227
20228 * window.el (display-buffer-alist): Trim default value to avoid
20229 popping up a new frame (Bug#8857) or reusing an arbitrary window
20230 on another frame.
20231 (display-buffer): Do not fall back on popping up a new frame in
20232 batch mode (Bug#8857).
20233
c5dd5a51
CY
202342011-06-14 Chong Yidong <cyd@stupidchicken.com>
20235
20236 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20237 (custom-theme-summary): New function.
20238 (customize-themes): Use it.
20239
d647b7c4
GM
202402011-06-13 Glenn Morris <rgm@gnu.org>
20241
20242 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20243
9481c002
MR
202442011-06-13 Martin Rudalics <rudalics@gmx.at>
20245
357f93d2
MR
20246 * help.el (help-window): Remove variable.
20247 (help-window-point-marker, temp-buffer-max-height)
20248 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20249 (help-print-return-message): Don't set help-window.
20250 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20251 (help-window-setup-finish): Remove.
20252 (help-window-display-message, help-window-setup)
20253 (with-help-window): Major rewrite based on new
20254 display-buffer-window variable.
20255
20256 * help-mode.el (help-mode-finish): Remove help-window related
20257 code.
20258
20259 * view.el (view-exits-all-viewing-windows): Remove reference to
20260 view-return-to-alist in doc-string.
20261 (view-return-to-alist): Make obsolete.
20262 (view-buffer): Call pop-to-buffer-same-window and remove
20263 undo-window code.
20264 (view-buffer-other-window): Call pop-to-buffer-other-window and
20265 simplify code. Ignore second argument.
20266 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20267 simplify code. Ignore second argument.
20268 (view-return-to-alist-update): Make obsolete.
20269 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20270 Rewrite using quit-restore window parameters.
2b75be67
SM
20271 (view-mode-exit): Rename second argument to EXIT-ONLY.
20272 Rewrite using quit-restore-window.
357f93d2
MR
20273 (View-exit, View-exit-and-edit, View-leave, View-quit)
20274 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20275 appropriate arguments.
20276 (view-end-message): Use quit-restore window parameter.
20277
9481c002
MR
20278 * window.el (display-buffer-function): Rewrite doc-string.
20279 (display-buffer-window, display-buffer-alist): New variables.
20280 (display-buffer-split-specifiers)
20281 (display-buffer-side-specifiers)
20282 (display-buffer-macro-specifiers): New constants.
20283 (display-buffer-even-window-sizes, display-buffer-set-height)
20284 (display-buffer-set-width, display-buffer-select-window)
20285 (display-buffer-in-window, display-buffer-reuse-window)
20286 (display-buffer-split-window-1, display-buffer-split-window)
20287 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20288 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20289 (display-buffer-in-side-window, normalize-buffer-to-display)
20290 (display-buffer-normalize-specifiers-1)
20291 (display-buffer-normalize-specifiers-2)
2b75be67
SM
20292 (display-buffer-normalize-specifiers, display-buffer-frame):
20293 New functions.
9481c002
MR
20294 (display-buffer): Major rewrite.
20295 (display-buffer-other-window, display-buffer-other-frame)
20296 (pop-to-buffer, switch-to-buffer-other-window)
20297 (switch-to-buffer-other-frame): Rewrite.
20298 (display-buffer-same-window, display-buffer-same-frame)
20299 (display-buffer-same-frame-other-window)
20300 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20301 (pop-to-buffer-other-window)
20302 (pop-to-buffer-same-frame-other-window)
20303 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20304 (switch-to-buffer-other-window-same-frame): New functions.
20305 (same-window-p, special-display-p): Rewrite disabling warnings.
20306 Make obsolete.
20307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20308 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20309 Make obsolete
20310 (same-window-buffer-names, same-window-regexps)
20311 (special-display-frame-alist, special-display-popup-frame)
20312 (special-display-function, special-display-buffer-names)
20313 (special-display-regexps, pop-up-frame-alist)
20314 (pop-up-frame-function, split-window-preferred-function)
20315 (split-height-threshold, split-width-threshold)
20316 (even-window-heights): Make obsolete.
20317
9db51aca
GM
203182011-06-12 Glenn Morris <rgm@gnu.org>
20319
20320 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 20321 Misc simplifications.
9db51aca 20322
39cffb44
MR
203232011-06-12 Martin Rudalics <rudalics@gmx.at>
20324
20325 * window.el (window-safely-shrinkable-p): Restore function which
20326 was inadvertently removed in change from 2011-06-11. Declare as
20327 obsolete.
20328
2b75be67
SM
20329 * calendar/calendar.el (calendar-generate-window):
20330 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
20331 window-safely-shrinkable-p.
20332
a8955be7
GM
203332011-06-12 Glenn Morris <rgm@gnu.org>
20334
20335 * progmodes/fortran.el (fortran-mode-syntax-table):
20336 * progmodes/f90.el (f90-mode-syntax-table):
20337 Set % to punctuation. (Bug#8820)
20338 (f90-find-tag-default): Remove, no longer needed.
20339
f0d4059d
DC
203402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
20341
20342 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
20343
1100a63c
CY
203442011-06-11 Chong Yidong <cyd@stupidchicken.com>
20345
20346 * image.el (image-animated-p): Return animation delay in seconds.
20347 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
20348 (image-animate-timeout): Remove DELAY argument. Don't assume
20349 every subimage has the same delay; get it from image-animated-p.
20350 (image-animate): Caller changed.
20351
def722bf
MA
203522011-06-11 Michael Albinus <michael.albinus@gmx.de>
20353
20354 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
20355 to ignored backtrace functions.
20356
0a2bb1a9
GM
203572011-06-11 Glenn Morris <rgm@gnu.org>
20358
20359 * calendar/appt.el (appt-disp-window-function): Doc fix.
20360 (appt-check): Handle overlapping appointments. (Bug#8337)
20361
6198ccd0
MR
203622011-06-11 Martin Rudalics <rudalics@gmx.at>
20363
20364 * window.el (window-tree-1, window-tree): New functions, moving
20365 the latter to window.el.
20366 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
20367 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
20368 (bw-refresh-edges): Remove.
20369 (balance-windows-1, balance-windows-2): New functions.
20370 (balance-windows): Rewrite in terms of window tree functions,
20371 balance-windows-1 and balance-windows-2.
20372 (bw-adjust-window): Remove.
20373 (balance-windows-area-adjust): New function with functionality of
20374 bw-adjust-window but using resize-window.
2b75be67
SM
20375 (set-window-text-height): Rewrite doc-string.
20376 Use normalize-live-window and resize-window.
20377 (enlarge-window-horizontally, shrink-window-horizontally):
20378 Rename argument to DELTA.
6198ccd0
MR
20379 (window-buffer-height): New function.
20380 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
20381 Rewrite using new window resize routines.
2b75be67
SM
20382 (kill-buffer-and-window, mouse-autoselect-window-select):
20383 Use ignore-errors instead of condition-case.
6198ccd0
MR
20384 (quit-window): Call delete-frame instead of delete-windows-on
20385 for the only buffer on frame.
20386
9397e56f
MR
203872011-06-10 Martin Rudalics <rudalics@gmx.at>
20388
20389 * loadup.el (top-level): Load window before files for the sake
20390 of replace-buffer-in-windows.
20391
20392 * files.el (read-buffer-to-switch)
20393 (switch-to-buffer-other-window)
2b75be67
SM
20394 (switch-to-buffer-other-frame, display-buffer-other-frame):
20395 Move to window.el.
9397e56f
MR
20396
20397 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
20398 (previous-buffer): Move to window.el.
20399
20400 * bindings.el (unbury-buffer): Move to window.el.
20401
20402 * window.el (delete-other-windows-vertically): Move after
20403 definition of delete-other-windows.
20404 (other-window, delete-windows-on, replace-buffer-in-windows):
20405 Move here from window.c.
20406 (record-window-buffer, unrecord-window-buffer)
20407 (set-window-buffer-start-and-point, switch-to-prev-buffer)
20408 (switch-to-next-buffer): New functions.
20409 (get-next-valid-buffer, last-buffer, next-buffer): Move here
20410 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
20411 (previous-buffer): Move here from simple.el.
20412 Call switch-to-prev-buffer.
9397e56f
MR
20413 (bury-buffer): Move here from buffer.c. Switch to previous
20414 buffer when window cannot be deleted.
20415 (unbury-buffer): Move here from bindings.el.
20416 (ctl-x-map): Move binding for other-window from window.c to
20417 here.
20418 (read-buffer-to-switch, switch-to-buffer-other-window)
20419 (switch-to-buffer-other-frame): Move here from files.el.
20420 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
20421 (switch-to-buffer): Move here from buffer.c.
20422 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 20423
562dd5e9
MR
204242011-06-10 Martin Rudalics <rudalics@gmx.at>
20425
20426 * window.el (window-min-height, window-min-width): Move here
20427 from window.c. Add defcustoms and rewrite doc-strings.
20428 (resize-mini-window, resize-window): New functions.
20429 (adjust-window-trailing-edge, enlarge-window, shrink-window):
20430 Move here from window.c.
20431 (maximize-window, minimize-window): New functions.
20432 (delete-window, delete-other-windows, split-window): Move here
20433 from window.c.
20434 (window-split-min-size): New function.
20435 (split-window-keep-point): Mention split-window-above-each-other
20436 instead of split-window-vertically.
2b75be67 20437 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
20438 Rename split-window-vertically to split-window-above-each-other
20439 and provide defalias for old definition.
20440 (split-window-side-by-side, split-window-horizontally):
20441 Rename split-window-horizontally to split-window-side-by-side
20442 and provide defalias for the old definition.
562dd5e9
MR
20443 (ctl-x-map): Move bindings for delete-window,
20444 delete-other-windows and enlarge-window here from window.c.
20445 Replace bindings for split-window-vertically and
20446 split-window-horizontally by bindings for
20447 split-window-above-each-other and split-window-side-by-side.
20448
20449 * cus-start.el (all): Remove entries for window-min-height and
20450 window-min-width. Add entries for window-splits and
20451 window-nest.
20452
f0da764a
GM
204532011-06-09 Glenn Morris <rgm@gnu.org>
20454
80675c21
GM
20455 * calendar/appt.el (appt-mode-line): New function.
20456 (appt-check, appt-disp-window): Use it.
20457
f0da764a
GM
20458 * files.el (hack-one-local-variable-eval-safep):
20459 Allow minor-modes with explicit +/-1 arguments.
20460
59f623b7
TZ
204612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
20462
20463 * term/xterm.el (xterm): Add defgroup.
20464 (xterm-extra-capabilities): Add defcustom to supply known xterm
20465 capabilities, skip querying them, or query them (default).
20466 (terminal-init-xterm): Use it.
20467 (terminal-init-xterm-modify-other-keys): New function to set up
20468 modifyOtherKeys support to simplify `terminal-init-xterm'.
20469
9aab8e0d
MR
204702011-06-09 Martin Rudalics <rudalics@gmx.at>
20471
20472 * window.el (resize-window-reset, resize-window-reset-1)
20473 (resize-subwindows-skip-p, resize-subwindows-normal)
20474 (resize-subwindows, resize-other-windows, resize-this-window)
20475 (resize-root-window, resize-root-window-vertically)
20476 (window-deletable-p, window-or-subwindow-p)
20477 (frame-root-window-p): New functions.
20478
e8b08aee
GM
204792011-06-09 Glenn Morris <rgm@gnu.org>
20480
20481 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
20482 (ange-ftp-get-files): Use it.
20483
254c37a5
AK
204842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
20485
20486 * mail/sendmail.el (mail-recover-1, mail-recover):
20487 * files.el (recover-file, recover-session):
20488 Handle dired-listing-switches not being just a single short option.
20489
35d7dbd3
GM
204902011-06-09 Glenn Morris <rgm@gnu.org>
20491
20492 * calendar/appt.el (appt-display-message, appt-disp-window):
20493 Handle lists of appointments.
20494
387522b2
MR
204952011-06-08 Martin Rudalics <rudalics@gmx.at>
20496
2b75be67
SM
20497 * window.el (one-window-p): Move down in code.
20498 Rewrite doc-string.
20499 (window-current-scroll-bars): Rewrite doc-string.
20500 Normalize live window argument.
387522b2
MR
20501 (walk-windows, get-window-with-predicate, count-windows):
20502 Rewrite doc-string. Use window-list-1.
20503 (window-in-direction-2, window-in-direction, get-mru-window):
20504 New functions.
20505
d8e4b68b 205062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
20507
20508 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
20509 Doc fix (Bug#8713).
20510
205112011-06-08 Chong Yidong <cyd@stupidchicken.com>
20512
20513 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
20514
205152011-06-08 Juanma Barranquero <lekktu@gmail.com>
20516
20517 * loadhist.el (unload-feature-special-hooks):
20518 Add `comint-output-filter-functions'.
20519
0de12c52
IK
205202011-06-08 Ivan Kanis <gnu@kanis.fr>
20521
20522 * calendar/appt.el (appt-check): Move some initializations into the let.
20523
f3d1777e
MR
205242011-06-08 Martin Rudalics <rudalics@gmx.at>
20525
20526 * window.el (window-height): Defalias to window-total-height.
20527 (window-width): Defalias to window-body-width.
20528
18af70d0
CY
205292011-06-07 Chong Yidong <cyd@stupidchicken.com>
20530
20531 * image-mode.el (image-toggle-animation): New command.
20532 (image-mode-map): Bind it to RET.
20533 (image-mode): Update message.
20534 (image-toggle-display-image): Avoid a spurious cache flush.
20535 (image-transform-rotation): Doc fix.
20536 (image-transform-properties): Return quickly in the normal case.
20537 (image-animate-loop): Rename from image-animate-max-time.
20538
2b75be67 20539 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
20540 (create-animated-image): Remove unnecessary function.
20541 (image-animate): Rename from image-animate-start. New arg.
2b75be67 20542 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
20543 (image-animate-timer): Use car-safe.
20544 (image-animate-timeout): Rename argument.
20545
190b47e6
MR
205462011-06-07 Martin Rudalics <rudalics@gmx.at>
20547
20548 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
20549 window.c. Rename first argument to ALL-FRAMES.
20550 Rephrase doc-strings.
20551 (get-buffer-window-list): Rewrite using window-list-1.
20552 Rephrase doc-string.
a1511caf
MR
20553 (window-safe-min-height, window-safe-min-width): New constants.
20554 (window-size-ignore, window-min-size, window-min-size-1)
20555 (window-sizable, window-sizable-p, window-size-fixed-1)
20556 (window-size-fixed-p, window-min-delta-1, window-min-delta)
20557 (window-max-delta-1, window-max-delta, window-resizable)
20558 (window-resizable-p, window-total-height, window-total-width)
20559 (window-body-width): New functions.
20560 (window-full-height-p, window-full-width-p): Rewrite using
20561 window-total-size.
20562 (window-body-height): Rewrite using window-body-size.
190b47e6 20563
85cc1f11
MR
205642011-06-06 Martin Rudalics <rudalics@gmx.at>
20565
20566 * window.el (window-right, window-left, window-child)
20567 (window-child-count, window-last-child, window-any-p)
20568 (normalize-live-buffer, normalize-live-frame)
20569 (normalize-any-window, normalize-live-window)
20570 (window-iso-combination-p, window-iso-combined-p)
20571 (window-iso-combinations)
20572 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
20573 (windows-with-parameter, window-with-parameter)
20574 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
20575 (window-atom-check, window-side-check, window-check):
20576 New functions.
85cc1f11
MR
20577 (ignore-window-parameters, window-sides, window-sides-vertical)
20578 (window-sides-slots): New variables.
20579 (window-size-fixed): Move down in code. Minor doc-string fix.
20580
e7156492
AS
205812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
20582
20583 * comint.el (comint-dynamic-complete-as-filename)
20584 (comint-dynamic-complete-filename): Correctly call
20585 completion-in-region.
20586
7e821d0d
DD
205872011-06-05 Deniz Dogan <deniz@dogan.se>
20588
20589 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
20590 in last change.
20591
ac09b8a1
DD
205922011-06-05 Deniz Dogan <deniz@dogan.se>
20593
20594 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
20595 (rcirc): Use it to prompt for encryption.
20596
34699b85
RW
205972011-06-05 Roland Winkler <winkler@gnu.org>
20598
20599 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
20600 (bibtex-search-entries): New command bound to C-c C-a.
20601 (bibtex-display-entries): New function.
20602
004dedd3
RW
206032011-06-05 Roland Winkler <winkler@gnu.org>
20604
20605 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
20606 (bibtex-insert-kill): After yanking insert newline if necessary.
20607 (bibtex-initialize): Call bibtex-string-files-init only once.
20608 (bibtex-mode): Do not call easy-menu-add.
20609 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
20610 (bibtex-yank): Set arg properly if nil.
20611
022fe7ce
RW
206122011-06-05 Roland Winkler <winkler@gnu.org>
20613
2b75be67
SM
20614 * textmodes/bibtex.el (bibtex-search-entry-globally):
20615 New variable.
022fe7ce
RW
20616 (bibtex-search-entry): Use it.
20617
b7c3692a
RW
206182011-06-05 Roland Winkler <winkler@gnu.org>
20619
20620 * textmodes/bibtex.el (bibtex-entry-format): New option
20621 sort-fields.
20622 (bibtex-format-entry, bibtex-reformat): Honor this option.
20623 (bibtex-parse-entry): Return fields in proper order.
20624
8eda563d
JB
206252011-06-05 Juanma Barranquero <lekktu@gmail.com>
20626
20627 * doc-view.el (doc-view-remove-if): Move computation of result out
20628 of `dolist' to silence misleading lexical-binding warning.
20629
7dbe3dbc
CY
206302011-06-04 Chong Yidong <cyd@stupidchicken.com>
20631
20632 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20633 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20634
0c33dd17
MA
206352011-06-04 Michael Albinus <michael.albinus@gmx.de>
20636
20637 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20638 "SunOS 5.10".
20639
f8f91c2b
MA
206402011-06-04 Michael Albinus <michael.albinus@gmx.de>
20641
20642 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20643 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20644 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20645 (tramp-parse-putty):
20646 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20647 (tramp-completion-function-alist-ssh)
20648 (tramp-completion-function-alist-telnet)
20649 (tramp-completion-function-alist-su)
20650 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20651 cookie.
20652
20653 * net/tramp-ftp.el:
20654 * net/tramp-sh.el:
20655 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20656 load "tramp.el" `tramp-set-completion-function'.
20657
e17d9003
SM
206582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20659
20660 * shell.el: Require and use pcomplete.
20661 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20662 (shell-completion-vars): Set pcomplete-default-completion-function.
20663
6c4cab03
DD
206642011-06-04 Deniz Dogan <deniz@dogan.se>
20665
20666 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20667 `memq' (Bug#8799).
20668
ea9fafe0
SM
206692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20670
20671 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20672
b3e945d3
JB
206732011-06-02 Juanma Barranquero <lekktu@gmail.com>
20674
20675 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20676 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20677 * vc/log-view.el (log-view-beginning-of-defun):
20678 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20679 (smerge-refine-forward, smerge-refine-chopup-region):
20680 Silence warning for unused `dotimes' counter variables.
20681
7d520089
SM
206822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20683
20684 * net/tramp.el (tramp-with-progress-reporter): Rename from
20685 with-progress-reporter. Use `declare'.
20686 * net/tramp-smb.el:
20687 * net/tramp-sh.el:
20688 * net/tramp-gvfs.el: Update all uses.
20689
a1c2400f
JB
206902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20691
20692 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20693 buffer isn't killed before making it current.
20694
2403c841
SM
206952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20696
20697 Silence various byte-compiler warnings.
20698 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20699 `access-type' and new obsolescence format.
20700 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20701 new format.
20702 (byte-compile-check-variable): New `access-type' argument.
20703 Only warn if the access-type is obsolete.
20704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20705 (byte-compile-variable-set): Adjust callers.
20706 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20707 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20708 setting it as obsolete.
20709 * simple.el (minibuffer-completing-symbol):
20710 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20711 access as obsolete.
20712 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20713 obsolete yet.
20714 * international/quail.el (quail-mouse-choose-completion): Remove unused
20715 code referring to obsolete var.
20716 (quail-choose-completion-string): Remove.
20717 * server.el (server-clients-with, server-kill-buffer-query-function)
20718 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20719 * proced.el (proced-send-signal):
20720 * emacs-lisp/lisp.el (lisp-complete-symbol):
20721 Replace completion-annotate-function with completion-extra-properties.
20722
2462470b
SM
207232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20724
fb5b2591
SM
20725 * simple.el (goto-line): Use read-number.
20726 (overriding-map-is-bound): Remove.
20727 (saved-overriding-map): Change default.
20728 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20729 Take the map as argument.
20730 (universal-argument, negative-argument, digit-argument): Use it.
20731 (restore-overriding-map): Adjust.
20732 (do-auto-fill): Use fill-forward-paragraph.
20733 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20734
fd6fa53f
SM
20735 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20736 (minibuffer-inactive-mode): New major mode.
20737 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20738 the *Messages* buffer" hack.
20739 (mouse-popup-menubar): Don't burp if the event is a normal key.
20740
2462470b
SM
20741 Miscellaneous tweaks.
20742 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20743 lexical scoping as in subr.el's dolist and dotimes.
20744 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20745 Silence compiler warning.
20746 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20747 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20748 * international/ccl.el (ccl-compile): Trivial simplification.
20749 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20750 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20751 `printflag' argument.
20752 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20753 Purecopy the whole obsolescence data.
20754
108bf785
LL
207552011-06-01 Leo Liu <sdl.web@gmail.com>
20756
20757 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20758 improve doc-string as suggested by Marco Pessotto
20759 <melmothx@gmail.com>.
20760 (rcirc-print): Fix last change.
20761
30a23501
SM
207622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20763
20764 * minibuffer.el (complete-with-action): Return nil for the metadata and
20765 boundaries of non-functional tables.
20766 (completion-table-dynamic): Return nil for the metadata.
20767 (completion-table-with-terminator): Add default case, using
20768 complete-with-action.
20769 (completion--metadata): New function.
20770 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20771 to try and avoid pathological performance problems.
20772 (completion--embedded-envvar-table): Return `category' metadata.
20773
bcd54f83
LMI
207742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20775
20776 * subr.el (process-alive-p): New tiny convenience function.
20777
e227544d
SM
207782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20779
20780 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20781 content but also its previous major mode.
20782
e8296fdc
HE
207832011-05-31 Helmut Eller <eller.helmut@gmail.com>
20784
4d61f28d 20785 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
20786 *Backtrace* buffer when we exit with C-M-c.
20787
620c53a6
SM
207882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20789
20790 * minibuffer.el: Add metadata method to completion tables.
20791 (completion-category-overrides): New defcustom.
20792 (completion-metadata, completion--field-metadata)
20793 (completion-metadata-get, completion--styles)
20794 (completion--cycle-threshold): New functions.
20795 (completion-try-completion, completion-all-completions):
20796 Add `metadata' argument to choose completion-styles.
20797 (completion--do-completion): Use metadata to choose cycling.
20798 (completion-all-sorted-completions): Use metadata for sorting.
20799 Remove :completion-cycle-penalty which is not needed any more.
20800 (completion--try-word-completion): Add `metadata' argument.
20801 (minibuffer-completion-help): Check metadata for annotation function
20802 and sorting.
20803 (completion-file-name-table): Return `category' metadata.
20804 (minibuffer-completing-file-name): Make obsolete.
20805 * simple.el (minibuffer-completing-symbol): Make obsolete.
20806 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20807 completion-try-completion.
20808
1257e755
SM
208092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20810
20811 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20812
3767e706
LL
208132011-05-30 Leo Liu <sdl.web@gmail.com>
20814
20815 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
20816 (rcirc-print): Decode all incoming messages (bug#8744).
20817 (rcirc-decode-coding-system): Allow value nil for automatic coding
20818 system detection.
3767e706 20819
d1a5d56a
GM
208202011-06-01 Glenn Morris <rgm@gnu.org>
20821
20822 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20823
e8cbec34
CY
208242011-05-29 Chong Yidong <cyd@stupidchicken.com>
20825
20826 * image.el (image-animate-max-time): Allow nil and t values.
20827 Default to nil.
20828 (create-animated-image): Doc fix.
20829 (image-animate-start): Remove second arg; just use
20830 image-animate-max-time.
20831 (image-animate-timeout): Doc fix. Args changed.
20832
20833 * image-mode.el (image-toggle-display-image): Ensure that the
20834 image spec passed to the animate timer is the same object as in
58179cce 20835 the buffer's display property (Bug#6981).
e8cbec34
CY
20836 (image-transform-properties): Doc fix.
20837
20838 * image.el (image-animate-max-time): Default to nil.
20839
159daf87
MR
208402011-05-29 Martin Rudalics <rudalics@gmx.at>
20841
20842 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20843 entire buffer list (Bug#8184).
20844
d66c4c7c
CY
208452011-05-29 Chong Yidong <cyd@stupidchicken.com>
20846
20847 * image.el (imagemagick-types-inhibit)
20848 (imagemagick-register-types): Doc fix.
20849
80aec780
DD
208502011-05-29 Deniz Dogan <deniz@dogan.se>
20851
20852 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20853 default.
20854
1dd3c2d9
CY
208552011-05-29 Chong Yidong <cyd@stupidchicken.com>
20856
20857 * select.el: Don't perform clipboard-manager saving in hooks;
20858 leave the hooks empty.
20859
60e56523
LL
208602011-05-28 Leo Liu <sdl.web@gmail.com>
20861
20862 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20863 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20864 (occur-edit-mode): New major mode (Bug#8463).
20865 (occur-after-change-function): New function.
20866 (occur-engine): Give Occur tags a read-only property.
20867
2b1e1a22
KR
208682011-05-28 Kevin Ryde <user42@zip.com.au>
20869
20870 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20871
5d344e88
CY
208722011-05-28 Chong Yidong <cyd@stupidchicken.com>
20873
8e6ca83d
CY
20874 * bindings.el (help-echo): Make the initial non-indicator dash
20875 empty on graphical terminals (Bug#7295).
20876
5d344e88
CY
20877 * files.el (auto-mode-alist): Move config rule after the
20878 in-stripping one (Bug#8547).
20879
bfbbace7
CY
20880 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20881
fbeba6e2
CY
20882 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20883 setting (Bug#8740).
20884
60ed8c72
AA
208852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20886
4ac619f0
AA
20887 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20888 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20889 (Bug#8539).
60ed8c72 20890
23db196e
CY
208912011-05-28 Chong Yidong <cyd@stupidchicken.com>
20892
20893 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20894
5012f24c
DK
208952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20896
20897 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20898 (hs-hide-block-at-point, hs-find-block-beginning)
20899 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20900 (Bug#8279).
20901
6a639b16
GM
209022011-05-28 Glenn Morris <rgm@gnu.org>
20903
20904 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20905
d43eaf2c
CY
209062011-05-28 Chong Yidong <cyd@stupidchicken.com>
20907
5199bde1
CY
20908 * help-fns.el (describe-function-1): If the function is a derived
20909 major mode, print the parent mode.
20910
d43eaf2c
CY
20911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20912 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20913
423428a8
SM
209142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20915
0ff8e1ba 20916 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 20917 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
20918 * progmodes/etags.el (tags-completion-at-point-function):
20919 * info-look.el (info-lookup-completions-at-point): Mark as
20920 non-exclusive.
20921 (info-complete): Adjust accordingly.
20922
423428a8
SM
20923 * info-look.el: Convert to lexical-binding and completion-at-point.
20924 (info-lookup-completions-at-point): New function.
20925 (info-complete): Use it and completion-in-region.
20926
b74aa22b
DA
209272011-05-28 Drew Adams <drew.adams@oracle.com>
20928
20929 * isearch.el: Let M-e start with point at the first mismatched char.
20930 (isearch-fail-pos): New function.
20931 (isearch-edit-string): Use it.
20932
66e2e71d
DK
209332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20934
20935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20936
b1890b0f 209372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
20938
20939 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20940 traversal functions for avl-trees.
20941 (avl-tree--stack): New struct.
20942 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20943 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
20944 (avl-tree--do-enter): Add optional `updatefun' arg.
20945 Change return value.
eb95d01d 20946 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
20947 (avl-tree--do-delete): Add `test' and `nilflag' args.
20948 Change return value.
eb95d01d
TC
20949 (avl-tree-member): Add optional `nilflag'
20950 (avl-tree-member-p): New function.
20951 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20952 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20953 (avl-tree-stack-empty-p): New functions.
20954
3769ddcf
TC
20955 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20956 avl-tree--del-balance1 and make it work both ways.
20957 (avl-tree--del-balance2): Remove.
20958 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20959 make it work both ways.
20960 (avl-tree--enter-balance2): Remove.
20961 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20962 New macros.
20963 (avl-tree--mapc, avl-tree-map): Add direction argument.
20964
eb95d01d 209652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
20966
20967 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20968
a9f737ee
CY
209692011-05-27 Chong Yidong <cyd@stupidchicken.com>
20970
20971 * select.el: Support clipboard managers with built-in function
20972 x-clipboard-manager-save, via delete-frame-functions and
20973 kill-emacs-hook.
20974 (xselect-convert-to-targets): Add MULTIPLE target to list.
20975 (xselect-convert-to-save-targets): New function.
20976
c92a1e54
KH
209772011-05-27 Kenichi Handa <handa@m17n.org>
20978
20979 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20980 let-binding rfc2047-encode-encoded-words to nil.
20981
e145f188
GM
209822011-05-27 Glenn Morris <rgm@gnu.org>
20983
5ec8a862
GM
20984 * mail/emacsbug.el: Don't require url-util.
20985
4b29d9fb
GM
20986 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20987
e145f188
GM
20988 * files.el (set-auto-mode):
20989 Also respect mode: entries at the end of the file. (Bug#8586)
20990
7d15102b
GM
209912011-05-26 Glenn Morris <rgm@gnu.org>
20992
98f593b8
GM
20993 * files.el (hack-local-variables-prop-line, hack-local-variables):
20994 Downcase mode names, as seems to be traditional.
27b48e63 20995 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 20996
7d15102b
GM
20997 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20998 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20999
51d5b4ec
JD
210002011-05-25 Julien Danjou <julien@danjou.info>
21001
21002 * textmodes/rst.el (rst-define-level-faces): Do not define face
21003 symbol if it is already defined.
21004
91513f63
VB
210052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21006
21007 * play/5x5.el (5x5-new-game, 5x5-randomize):
21008 Reset 5x5-solver-output to nil when a new grid is cast.
21009 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21010 these debugging traces, as defmacro breaks the compiled code.
21011
4d90d6d0
DK
210122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21013
21014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21015
e1b90ef6
LL
210162011-05-24 Leo Liu <sdl.web@gmail.com>
21017
21018 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21019 (vc-bzr-sha1): Adapt.
21020
d8e4b68b 21021 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21022
21023 * bindings.el: Provide sha1 feature.
21024
db0406bb 210252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21026
21027 * mail/sendmail.el: Require `rfc2047'.
21028 (mail-insert-from-field): Do not perform RFC2047 encoding.
21029 (mail-encode-header): New function.
21030 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21031 buffer to the return value of select-message-coding-system.
21032 Call mail-encode-header.
b8d747b9
KH
21033
21034 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21035
db0406bb 210362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21037
4d90d6d0
DK
21038 * mail/supercite.el (sc-default-cite-frame):
21039 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21040
eb8a5e9b
GM
210412011-05-24 Glenn Morris <rgm@gnu.org>
21042
f8630703
GM
21043 * progmodes/python.el (brm-menu): Declare.
21044
8831bbed
GM
21045 * emulation/viper.el (viper-set-hooks): Declare.
21046
eb8a5e9b
GM
21047 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21048 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21049 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21050 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21051 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21052 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21053
a2a25d24
SM
210542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21055
21056 Add an :exit-function for completion-at-point.
21057
21058 * minibuffer.el (completion--done): New fun.
21059 (completion--do-completion): Use it. New arg `expect-exact'.
21060 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21061 since completion--do-completion does it for us now.
21062 (minibuffer-force-complete): Use completion--done and
21063 completion--replace. Handle sole-completion case with more care.
21064 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21065 (completion-extra-properties): New var.
21066 (completion-annotate-function): Make obsolete.
21067 (minibuffer-completion-help): Adjust accordingly.
21068 Use completion-list-insert-choice-function.
21069 (completion-at-point, completion-help-at-point):
21070 Bind completion-extra-properties.
21071 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21072 * simple.el (completion-list-insert-choice-function): New var.
21073 (completion-setup-function): Preserve it.
21074 (choose-completion): Pay attention to it, shuffle the code a bit.
21075 (choose-completion-string): New arg `insert-function'.
21076
21077 * textmodes/bibtex.el: Convert to lexical binding.
21078 (bibtex-mode-map): Use completion-at-point.
21079 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21080 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21081 (bibtex-complete): Define as obsolete alias.
21082 (bibtex-complete-internal): Remove.
21083 (bibtex-format-entry): Remove unused sub-group in regexp.
21084 * shell.el (shell--command-completion-data)
21085 (shell-environment-variable-completion):
21086 * pcomplete.el (pcomplete-completions-at-point):
21087 * comint.el (comint--complete-file-name-data): Use :exit-function
21088 instead of completion-table-with-terminator so it also works for
21089 choose-completion.
21090
e44e373d
SM
210912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21092
4f91a816
SM
21093 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21094
782fc819
SM
21095 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21096 (bug#8710).
21097
e44e373d
SM
21098 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21099
381987c3
KM
211002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21101
21102 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21103 customization variable and implement: If non-nil, auto-fill will
21104 be inhibited while on topic's header line.
21105
b776bc70
VB
211062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21107
21108 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 21109 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
21110 always have a solution in grid size = 5 cases.
21111 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21112 (5x5-solver-output, 5x5-log-buffer): New vars.
21113 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21114 Make these variables buffer local to achieve 5x5 multi-session-ness.
21115 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21116 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21117 (5x5-solve-suggest): New funs.
21118 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21119 randomize a grid so that we ensure that there is always a solution.
21120 (5x5-make-random-grid): Allow other movement than flipping.
21121
7de88b6e
KR
211222011-05-23 Kevin Ryde <user42@zip.com.au>
21123
21124 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 21125 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
21126 advice and passes PREDICATE.
21127
b1ef1257
SM
211282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21129
bbca48fe
SM
21130 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21131 byte-compile-lambda if it's actually a lambda.
21132
b1ef1257
SM
21133 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21134 Fix function quoting. Use backquote better.
21135
92a9cc65
YS
211362011-05-22 Yuanle Song <sylecn@gmail.com>
21137
21138 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21139 matching (Bug#8516).
21140
fe93f41a 211412011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
21142
21143 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21144 different face (Bug#8178).
21145
d5b44c93
CY
211462011-05-22 Chong Yidong <cyd@stupidchicken.com>
21147
21148 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21149 defface (Bug#8144).
21150
79106a44
SM
211512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21152
9c848d8a
SM
21153 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21154 funcall as well (bug#8712). Warn when performing those conversions.
21155 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21156
79106a44
SM
21157 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21158
88dfa756
GM
211592011-05-22 Glenn Morris <rgm@gnu.org>
21160
21161 * files.el (hack-local-variables-prop-line): Small simplifications.
21162 (hack-local-variables, hack-local-variables-prop-line):
21163 If MODE-ONLY, return the mode, rather than just `t'.
21164
b7cf2c79
SM
211652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21166
21167 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21168
3f1a8558
GM
211692011-05-21 Glenn Morris <rgm@gnu.org>
21170
7e4ccca3
GM
21171 * files.el (hack-local-variables-prop-line, hack-local-variables):
21172 If only interested in the mode, don't bother doing the other stuff.
21173
637d46ca
GM
21174 * image-mode.el (image-after-revert-hook):
21175 Redraw all frames on which the image is visible. (Bug#8567)
21176
973d955b
GM
21177 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21178
3f1a8558
GM
21179 * wid-edit.el (widget-checklist-match-inline):
21180 Fix 2011-04-19 change. (Bug#8649)
21181
96479927
SM
211822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21183
1dcf791f
SM
21184 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21185 Also allow singlespace after single-letter capitals followed by a dot.
21186
96479927
SM
21187 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21188 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21189
35fd0881
N
211902011-05-20 Nix <nix@esperi.org.uk>
21191
21192 * files.el (basic-save-buffer-2):
21193 Fix handling of break-hardlink-on-save with non-existent files.
21194
82745640
DD
211952011-05-19 Deniz Dogan <deniz@dogan.se>
21196
21197 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 21198 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 21199
4a720484
GM
212002011-05-19 Glenn Morris <rgm@gnu.org>
21201
d1f21341
GM
21202 * progmodes/f90.el (f90-type-def-re):
21203 Handle "type, bind(c)". (Bug#8691)
21204
4a720484
GM
21205 * emacs-lisp/autoload.el (batch-update-autoloads):
21206 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21207
2fb0a219
MA
212082011-05-18 Michael Albinus <michael.albinus@gmx.de>
21209
21210 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21211 property for the correct connection in case of multihops.
21212
e565dd37
GM
212132011-05-18 Glenn Morris <rgm@gnu.org>
21214
c2571358 21215 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
21216 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21217
e565dd37
GM
21218 Rationalize calendar handling of day and month abbrev-arrays.
21219 * calendar/calendar.el (calendar-customized-p): New function.
21220 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21221 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21222 Add :set function.
21223 (calendar-abbrev-length, calendar-day-abbrev-array)
21224 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21225 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21226 Elements may no longer be nil.
21227 (calendar-day-name, calendar-month-name):
21228 Update for changed nature of abbrev arrays.
21229 * calendar/diary-lib.el (diary-name-pattern):
21230 Update for changed nature of abbrev arrays.
21231 (diary-mark-entries-1): Update calendar-make-alist calls.
21232 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21233 * calendar/cal-html.el (cal-html-day-abbrev-array):
21234 Simply inherit from calendar-day-abbrev-array.
21235
1d99a745
SM
212362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21237
21238 * progmodes/grep.el (grep-mode): Disable default
21239 compilation-directory-matcher setting (bug#8684).
21240
7c1d9aa0
MA
212412011-05-17 Michael Albinus <michael.albinus@gmx.de>
21242
21243 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21244 instead of "head" and "tail". There were problems with SunOS 5.9,
21245 and it performs better.
21246
3952e9d8
GM
212472011-05-17 Glenn Morris <rgm@gnu.org>
21248
2dd12e7f
GM
21249 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21250
e4157b9c
GM
21251 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21252 Replace obsolete function.
21253
8e249bbd
GM
21254 * shell.el (pcomplete-parse-arguments-function): Declare.
21255
3952e9d8
GM
21256 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21257 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21258 (appt-check): Doc fixes.
21259 (appt-disp-window-function, appt-delete-window-function):
21260 Remove needless special case in custom :type.
21261 (appt-display-count): Default to 0, not nil.
21262 (appt-check): Reset appt-display-count to 0, not nil.
21263
c71a0d48 212642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 21265
c71a0d48
GM
21266 * progmodes/python.el (python-font-lock-keywords):
21267 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 21268
31d55be9
SM
212692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21270
21271 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21272
3bfacb2f
KR
212732011-05-16 Kevin Ryde <user42@zip.com.au>
21274
21275 * info-look.el (makefile-automake-mode): New setups, looking in
21276 automake manual, then makefile-mode.
21277 (makefile-mode): Remove automake manual, have it just in
21278 makefile-automake-mode since there's various things different or
21279 not relevant to plain make.
21280 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21281 believe a hypothetical automake-mode would go to makefile-mode,
21282 not the other way around.
21283
c8e83751
CY
212842011-05-15 Chong Yidong <cyd@stupidchicken.com>
21285
5e9e35cd
CY
21286 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21287 hunk-end tags (Bug#8672).
21288
c8e83751
CY
21289 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21290 vc-annotate-show-diff-revision-at-line (Bug#8671).
21291
50b23e5a
GM
212922011-05-14 Glenn Morris <rgm@gnu.org>
21293
7210a739
GM
21294 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21295 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
21296 (change-log-font-lock-keywords): Also handle multiple author lines
21297 with leading tabs. (Bug#8644)
7210a739 21298
4691905a
GM
21299 * calendar/appt.el (appt-check): Rename some local variables.
21300 Some simplification/reordering.
21301
50b23e5a
GM
21302 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21303 (feedmail-sendmail-f-doesnt-sell-me-out)
21304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21305 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21306 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
21307 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21308 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
21309 (feedmail-binmail-gnulinuxish-template):
21310 Rename from feedmail-binmail-linuxish-template.
21311 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21312 Use insert-buffer-substring.
21313
215cda7c
BC
213142011-05-14 Bill Carpenter <bill@carpenter.org>
21315
21316 * mail/feedmail.el (feedmail-patch-level): Increase.
21317 (feedmail-debug): New custom group.
21318 (feedmail-confirm-outgoing-timeout)
21319 (feedmail-sendmail-f-doesnt-sell-me-out)
21320 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21321 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
21322 (feedmail-sender-line, feedmail-from-line)
21323 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 21324 (feedmail-spray-this-address)
215cda7c
BC
21325 (feedmail-spray-address-fiddle-plex-list)
21326 (feedmail-queue-use-send-time-for-date)
21327 (feedmail-queue-use-send-time-for-message-id)
21328 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
21329 (feedmail-buffer-eating-function):
21330 Doc fixes.
21331 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
21332 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
21333 (feedmail-message-action-scroll-down): New functions.
21334 (feedmail-queue-directory, feedmail-queue-draft-directory):
21335 Use expand-file-name.
21336 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
21337 Remove C-v help entry.
21338 (feedmail-queue-buffer-file-name): New variable.
21339 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
21340 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
21341 (feedmail-message-action-send-strong, feedmail-message-action-edit)
21342 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
21343 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
21344 (feedmail-message-action-toggle-spray)
21345 (feedmail-run-the-queue-no-prompts)
21346 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
21347 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
21348 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
21349 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
21350 (feedmail-envelope-deducer, feedmail-fiddle-from)
21351 (feedmail-fiddle-sender, feedmail-default-date-generator)
21352 (feedmail-fiddle-date, feedmail-fiddle-message-id)
21353 (feedmail-fiddle-spray-address)
21354 (feedmail-fiddle-list-of-spray-fiddle-plexes)
21355 (feedmail-fiddle-list-of-fiddle-plexes)
21356 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
21357 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
21358 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
21359 Change default. Doc fix.
21360 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
21361 (feedmail-binmail-linuxish-template): New constant.
21362 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
21363 Respect feedmail-sendmail-f-doesnt-sell-me-out.
21364 (feedmail-send-it): Add debug call.
21365 Use feedmail-queue-buffer-file-name, and
21366 feedmail-send-it-immediately-wrapper.
21367 (feedmail-message-action-send): Add debug call.
21368 Use feedmail-send-it-immediately-wrapper.
21369 (feedmail-queue-express-to-queue): Add debug call.
21370 Run feedmail-queue-express-hook.
21371 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
21372 (feedmail-message-action-help-blat):
21373 Rename from feedmail-queue-send-edit-prompt-help-first.
21374 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
21375 Check line-endings. Handle errors better.
21376 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
21377 Doc fix. Add debug call.
21378 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
21379 Use feedmail-queue-send-edit-prompt-inner.
21380 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
21381 (feedmail-queue-send-edit-prompt-inner): New function, extracted
21382 from feedmail-queue-send-edit-prompt.
21383 (feedmail-queue-send-edit-prompt-help)
21384 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
21385 (feedmail-tidy-up-slug): Add debug call.
21386 Respect feedmail-queue-slug-suspect-regexp.
21387 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
21388 (feedmail-dump-message-to-queue): Add debug call.
21389 Expand queue-directory.
21390 (feedmail-dump-message-to-queue): Change message slightly.
21391 Use feedmail-say-chatter.
21392 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
21393 (feedmail-send-it-immediately-wrapper): New function.
21394 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
21395 Insert empty string rather than newline. Handle full-frame case.
21396 Use catch/throw. Use feedmail-say-chatter.
21397 (feedmail-fiddle-from): Try mail-host-address.
21398 (feedmail-default-message-id-generator): Doc fix.
21399 Bind system-time-locale. Handle missing end.
21400 (feedmail-fiddle-x-mailer): Add debug call.
21401 Handle feedmail-x-mailer-line being nil.
21402 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
21403 Add debug call. Use buffer-substring-no-properties.
21404 (feedmail-say-debug, feedmail-say-chatter): New functions.
21405 (feedmail-find-eoh): Give an explicit error.
21406
42c7e61e
UJ
214072011-05-13 Ulf Jasper <ulf.jasper@web.de>
21408
c2571358 21409 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 21410 family from helvetica to sans.
c2571358 21411 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21412 etc/images/newsticker.
21413
c2571358 21414 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
21415 family from helvetica to sans.
21416
21417 * net/newst-plainview.el (newsticker-new-item-face)
21418 (newsticker-old-item-face, newsticker-immortal-item-face)
21419 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 21420 (newsticker-statistics-face): Change default family from
42c7e61e 21421 helvetica to sans.
c2571358 21422 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
21423 etc/images/newsticker.
21424
5d3385a0
JB
21425 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
21426 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
21427 auto-marking.
21428
8497a297
DV
214292011-05-13 Didier Verna <didier@xemacs.org>
21430
21431 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
21432 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
21433 TODO entries.
8497a297
DV
21434 (lisp-lambda-list-keyword-parameter-indentation)
21435 (lisp-lambda-list-keyword-parameter-alignment)
21436 (lisp-lambda-list-keyword-alignment): New customizable user options.
21437 (lisp-indent-defun-method): Improve docstring.
21438 (extended-loop-p): Fix comment.
21439 (lisp-indent-lambda-list-keywords-regexp): New variable.
21440 (lisp-indent-lambda-list): New function.
21441 (lisp-indent-259): Use it.
21442 (lisp-indent-defmethod): Support for more than one
21443 method qualifier and properly indent methods lambda-lists.
21444 (defgeneric): Provide a missing common-lisp-indent-function property.
21445
f278f87f
SM
214462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
21447
21448 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
21449 bounds for the empty string (bug#8667).
21450
5233edd7
GM
214512011-05-13 Glenn Morris <rgm@gnu.org>
21452
5237a44f
GM
21453 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
21454
8340026c 21455 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 21456 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 21457
5233edd7 21458 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 21459 (appt-time-msg-list): Doc fix.
a5464014 21460 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 21461
92d10796
AS
214622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
21463
21464 * progmodes/ld-script.el (ld-script-keywords)
21465 (ld-script-builtins): Update keywords list.
21466
914a0ae1
SM
214672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21468
c89be45f
SM
21469 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
21470
914a0ae1
SM
21471 * shell.el (shell-completion-vars): New function.
21472 (shell-mode):
21473 * simple.el (read-shell-command): Use it.
21474 (blink-matching-open): No need for " [...]" in minibuffer-message.
21475
98dc3df3
GM
214762011-05-12 Glenn Morris <rgm@gnu.org>
21477
21478 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
21479 (appt-check): Simplify.
21480
d2fc7e3d 214812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 21482
4d61f28d 21483 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
21484 literal "/dev/null".
21485
d2fc7e3d 214862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
21487
21488 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
21489 Fix typo.
21490
d2fc7e3d 214912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 21492
3f254caa
SM
21493 * progmodes/which-func.el (which-function):
21494 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
21495 which might not be defined (Bug#8260).
21496
d45885f7
GM
214972011-05-12 Glenn Morris <rgm@gnu.org>
21498
21499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
21500 Let byte-compile-initial-macro-environment always take precedence.
21501
488086f4
SM
215022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
21503
21504 * net/rcirc.el: Add support for SSL/TLS connections.
21505 (rcirc-server-alist): New field `encryption'.
21506 (rcirc): Check `encryption' settings.
21507 (rcirc-connect): New arg `encryption'. Use open-network-stream.
21508 Merge make-local-variable into `set'.
21509 (rcirc--connection-open-p): New function.
21510 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
21511 the process is not a network process (e.g. running gnutls-cli).
21512 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
21513 Make rcirc-(en|de)code-coding-system local here.
21514 (rcirc-mode): Merge make-local-variable into `set'.
21515 (rcirc-parent-buffer): Make permanent buffer-local.
21516 (rcirc-multiline-minor-mode): Don't do it here.
21517 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
21518 there's no server buffer.
21519
7d3b9d44
GM
215202011-05-11 Glenn Morris <rgm@gnu.org>
21521
f64049c6
GM
21522 * newcomment.el (comment-kill): Prefix "unused" local.
21523
93c9df73
GM
21524 * term/w32console.el (get-screen-color): Declare.
21525
7d3b9d44
GM
21526 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
21527 Handle symbol elements of byte-compile-initial-macro-environment.
21528
9e2dd53f
LL
215292011-05-10 Leo Liu <sdl.web@gmail.com>
21530
488086f4
SM
21531 * bookmark.el (bookmark-bmenu-mode-map):
21532 Bind bookmark-bmenu-search to `/'.
8b340240 21533
9e2dd53f 21534 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
21535 (footnote-unicode-string, footnote-unicode-regexp): New variable.
21536 (Footnote-unicode): New function.
21537 (footnote-style-alist): Add unicode style to the list.
21538 (footnote-style): Doc fix.
9e2dd53f 21539
79b70037
GM
215402011-05-10 Jim Meyering <meyering@redhat.com>
21541
21542 Fix doubled-word typos.
21543 * international/quail.el (quail-insert-kbd-layout): and and -> and
21544 * kermit.el: and and -> and
21545 * net/ldap.el (ldap-search-internal): to to -> to
21546 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
21547 * progmodes/js.el (js-mode): and and -> and
21548 * textmodes/artist.el (artist-move-to-xy): at at -> at
21549 (artist-draw-region-trim-line-endings): if if -> if
21550 And Safetyc -> Safety.
21551 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
21552
b8f82dc1 215532011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 21554 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
21555
21556 * files.el (hack-one-local-variable-eval-safep):
21557 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
21558
4f99f44b
GM
215592011-05-10 Glenn Morris <rgm@gnu.org>
21560
21561 * calendar/diary-lib.el (diary-list-entries-hook)
21562 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
21563 (diary-nongregorian-marking-hook, diary-list-entries)
21564 (diary-include-other-diary-files, diary-mark-entries)
21565 (diary-mark-included-diary-files): Doc fixes.
21566
84f29e6b
JB
215672011-05-09 Juanma Barranquero <lekktu@gmail.com>
21568
21569 * misc.el: Require tabulated-list.el during compilation.
21570
9bedd73a
CY
215712011-05-09 Chong Yidong <cyd@stupidchicken.com>
21572
488086f4
SM
21573 * progmodes/compile.el (compilation-start):
21574 Run compilation-filter-hook for the async case too.
9bedd73a
CY
21575 (compilation-filter-hook): Doc fix.
21576
797c735c
DD
215772011-05-09 Deniz Dogan <deniz@dogan.se>
21578
21579 * wdired.el: Remove outdated installation comment. Fix usage
21580 comment.
21581
5f4b1dfe
JB
215822011-05-09 Juanma Barranquero <lekktu@gmail.com>
21583
21584 * misc.el: Implement new command `list-dynamic-libraries'.
21585 (list-dynamic-libraries--loaded-only-p): New variable.
21586 (list-dynamic-libraries--refresh): New function.
21587 (list-dynamic-libraries): New command.
21588
4c44026c
CY
215892011-05-09 Chong Yidong <cyd@stupidchicken.com>
21590
488086f4
SM
21591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21592 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
21593 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
21594 higher priority to avoid clobbering by gnu.
21595
027f966d
CY
215962011-05-08 Chong Yidong <cyd@stupidchicken.com>
21597
21598 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
21599 if the face has existing theme settings (Bug#8454).
21600
085f5d7d
CY
216012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
21602
488086f4
SM
21603 * progmodes/perl-mode.el (perl-imenu-generic-expression):
21604 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 21605
2a86a00c
RS
21606 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
21607 special file names `.' and `..' (Bug#8259).
21608
d9c54a06
CY
216092011-05-08 Chong Yidong <cyd@stupidchicken.com>
21610
488086f4
SM
21611 * progmodes/grep.el (grep-mode-font-lock-keywords):
21612 Remove buffer-changing entries.
d9c54a06
CY
21613 (grep-filter): New function.
21614 (grep-mode): Add it to compilation-filter-hook.
21615
21616 * progmodes/compile.el (compilation-filter-hook)
21617 (compilation-filter-start): New defvars.
21618 (compilation-filter): Call compilation-filter-hook prior to
21619 updating the process mark.
21620
c4662635
SM
216212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
21622
21623 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
21624
b0512a1d
EZ
216252011-05-07 Eli Zaretskii <eliz@gnu.org>
21626
605c9376
EZ
21627 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
21628 mailclient-send-it even if window-system is nil. (Bug#8595)
21629
c4662635
SM
21630 * term/w32console.el (terminal-init-w32console):
21631 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
21632 background-mode. (Bug#8597)
21633
d1dc2cc2
SM
216342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21635
21636 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21637 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21638 New functions.
21639 (defgeneric, eieio--defmethod): Use them.
21640 (eieio-defgeneric): Remove.
21641 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21642
915d1300
GM
216432011-05-07 Glenn Morris <rgm@gnu.org>
21644
a3961c3e
GM
21645 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21646 Use let rather than let*.
21647 (timeclock-find-discrep): Remove unused local.
21648
314347b9
GM
21649 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21650
915d1300
GM
21651 * calendar/appt.el (appt-time-msg-list): Doc fix.
21652
275b59b0
NF
216532011-05-06 Noah Friedman <friedman@splode.com>
21654
21655 * apropos.el (apropos-print-doc): Only use
21656 emacs-lisp-docstring-fill-column when it is bound to an integer,
21657 per that variable's documentation.
21658
6c19f744
SM
216592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21660
21661 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 21662 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 21663
60f884b2
GM
216642011-05-06 Glenn Morris <rgm@gnu.org>
21665
5006e634
GM
21666 * calendar/appt.el (appt-message-warning-time): Doc fix.
21667 (appt-warning-time-regexp): New option.
21668 (appt-make-list): Respect appt-message-warning-time.
21669
548d0a63
GM
21670 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21671 New options.
21672 (diary-add-to-list): Strip comments from the displayed string.
21673 (diary-mode): Set comment-start and comment-end.
21674
60f884b2
GM
21675 * vc/diff-mode.el (smerge-refine-subst): Declare.
21676 (diff-refine-hunk): Don't require smerge-mode when compiling.
21677
989681bb
JB
216782011-05-06 Juanma Barranquero <lekktu@gmail.com>
21679
21680 * simple.el (list-processes): Return nil as the docstring says.
21681
a6bc05e1
MA
216822011-05-05 Michael Albinus <michael.albinus@gmx.de>
21683
21684 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21685 to "".
21686 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21687 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21688 determining of binary transfer. (Bug#7383)
21689
23c22e9a
MA
216902011-05-05 Michael Albinus <michael.albinus@gmx.de>
21691
c4662635
SM
21692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21693 Fix port computation bug. (Bug#8618)
23c22e9a 21694
0bff894f
GM
216952011-05-05 Glenn Morris <rgm@gnu.org>
21696
b8296902
GM
21697 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21698
1f522ce8
GM
21699 * simple.el (shell-dynamic-complete-functions)
21700 (comint-dynamic-complete-functions): Declare.
21701
cf5bee67
GM
21702 * net/network-stream.el (gnutls-negotiate):
21703 * simple.el (tabulated-list-print): Fix declarations.
21704
21705 * progmodes/gud.el (syntax-symbol, syntax-point):
21706 Remove unnecessary and incorrect declarations.
21707
0bff894f 21708 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 21709 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 21710
9869b3ae
SM
217112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21712
21713 Fix earlier half-done eieio-defmethod change (bug#8338).
21714 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21715 Streamline and change calling convention.
21716 (defmethod): Adjust accordingly and simplify.
21717 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21718 new eieio--defmethod.
21719 (slot-boundp): Minor CSE simplification.
21720
9c1d5ac5
MZ
217212011-05-05 Milan Zamazal <pdm@zamazal.org>
21722
21723 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21724 (glasses-make-readable): Use glasses-separate-capital-groups.
21725
455c834e
JB
217262011-05-05 Juanma Barranquero <lekktu@gmail.com>
21727
21728 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21729 (warning-series): Doc fix.
21730 (display-warning): Don't try to create the buffer if we just found it.
21731
9ed7c8cb
CY
217322011-05-04 Chong Yidong <cyd@stupidchicken.com>
21733
21734 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21735 (autoload-find-generated-file): New function.
21736 (generate-file-autoloads): Bind generated-autoload-file to
21737 buffer-file-name.
9869b3ae
SM
21738 (update-file-autoloads, update-directory-autoloads):
21739 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
21740 output file (Bug#7989).
21741 (batch-update-autoloads): Doc fix.
21742
0898ca10
JB
217432011-05-04 Juanma Barranquero <lekktu@gmail.com>
21744
21745 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21746
31dfb76c
GM
217472011-05-04 Glenn Morris <rgm@gnu.org>
21748
f330b642
GM
21749 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21750 function, so it follows changes in calendar-date-style.
21751 (diary-fancy-date-matcher): New function.
21752 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21753 (diary-fancy-font-lock-fontify-region-function):
21754 Use diary-fancy-date-pattern as a function.
21755
31dfb76c
GM
21756 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21757 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21758
48e79d6a
TZ
217592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21760
21761 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21762 instead of positional arguments. Allow :keylist and :crlfiles
21763 arguments.
21764 (open-gnutls-stream): Call it.
21765
21766 * net/network-stream.el (network-stream-open-starttls): Adjust to
21767 call `gnutls-negotiate' with :process and :hostname arguments.
21768
dd5a5ee0
SM
217692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21770
ef80fc09
SM
21771 * minibuffer.el (completion--message): New function.
21772 (completion--do-completion, minibuffer-complete)
21773 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21774 (completion--do-completion): Don't ignore completion-auto-help when in
21775 icomplete-mode.
21776
dd5a5ee0
SM
21777 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21778 internal encoding (e.g. tibetan zero is not whitespace).
21779 (global-whitespace-mode): Prefer save-current-buffer.
21780 (whitespace-trailing-regexp): Remove useless save-match-data.
21781 (whitespace-empty-at-bob-regexp): Minor simplification.
21782
b7d22a83
CY
217832011-05-03 Chong Yidong <cyd@stupidchicken.com>
21784
21785 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21786
5192af46
AM
217872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21788
21789 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 21790 Use `concat' to create string for insertion.
5192af46 21791
5767d190
SM
217922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21793
21794 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21795 Avoid open-line which runs post-self-insert-hook.
21796 (bibtex-fill-entry): Remove unused `end' var.
21797
bf242939
AM
217982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21799
5767d190
SM
21800 * textmodes/ispell.el (ispell-add-per-file-word-list):
21801 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 21802
25666126
LL
218032011-05-03 Leo Liu <sdl.web@gmail.com>
21804
21805 * isearch.el (isearch-yank-pop): New command.
5767d190 21806 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
21807 (isearch-forward): Mention it.
21808
52d3c2d0
SM
218092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21810
1bcace58
SM
21811 * simple.el (minibuffer-complete-shell-command): Remove.
21812 (minibuffer-local-shell-command-map): Use completion-at-point.
21813 (read-shell-command): Setup completion vars here instead.
21814 (read-expression-map): Bind TAB to symbol completion.
21815
52d3c2d0
SM
21816 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21817 error directly rather via storing it into `results'.
21818
35813471
LL
218192011-05-02 Leo Liu <sdl.web@gmail.com>
21820
21821 * vc/diff.el: Fix description.
21822
e793a940
LMI
218232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21824
21825 * server.el (server-eval-at): New function.
21826
8de66e05
LMI
218272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21828
21829 * net/network-stream.el (open-network-stream): Take a :nowait
21830 parameter and pass it on to `make-network-process'.
21831 (network-stream-open-plain): Ditto.
21832
dcb79f20
AS
218332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21834
21835 * faces.el (face-spec-set-match-display): Don't match toolkit
21836 options on terminal frames.
21837
14a7fbd8
SM
218382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21839
7eabc1be
SM
21840 * progmodes/pascal.el: Use lexical binding.
21841 (pascal-mode-map): Remove author preferences.
21842
14a7fbd8
SM
21843 * pcomplete.el (pcomplete-std-complete): Don't abuse
21844 completion-at-point.
21845
50f84510
JB
218462011-04-28 Juanma Barranquero <lekktu@gmail.com>
21847
6e087a44
JB
21848 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21849 removing code that has been dead since 1991 or so.
21850
50f84510
JB
21851 * startup.el (command-line): When warning about "_emacs", use a
21852 delayed warning to allow the user to filter it out.
21853
0ba690bd
DD
218542011-04-28 Deniz Dogan <deniz@dogan.se>
21855
21856 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21857 user has not joined.
21858
08abfaad
SM
218592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21860
21861 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21862 aren't any completions at point.
21863
638f053a
JB
218642011-04-28 Juanma Barranquero <lekktu@gmail.com>
21865
21866 * subr.el (display-delayed-warnings): New function.
21867 (delayed-warnings-hook): New variable.
21868
8fff8daa
SM
218692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21870
08abfaad
SM
21871 * minibuffer.el (completion-at-point, completion-help-at-point):
21872 Don't presume that a given completion-at-point-function will always
21873 use the same calling convention.
21874
8fff8daa
SM
21875 * pcomplete.el (pcomplete-completions-at-point):
21876 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21877 pcomplete-seen is non-nil.
21878 (pcomplete-comint-setup): Also recognize the new comint/shell
21879 completion functions.
21880 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21881 pcomplete-seen is non-nil.
21882
841a1577 218832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 21884
841a1577 21885 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 21886 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 21887 the first character in the entry. This allows for code to add its
211ec907
UJ
21888 own uid to the entry.
21889 (icalendar--convert-float-to-ical): Add export of
21890 `diary-float'-entries save for those with the optional DAY
21891 argument.
21892
2a782793
DC
218932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21894
21895 * subr.el (shell-quote-argument): Use alternate escaping strategy
21896 when we spot a variable reference in a string.
21897
0438ce91
DC
218982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21899
21900 * cus-start.el (all): Define customization for debug-on-event.
21901
841a1577 219022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
21903
21904 * subr.el (shell-quote-argument): Escape correctly under Windows.
21905
d090ed6c
SM
219062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21907
21908 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21909
bfd31217
MA
219102011-04-25 Michael Albinus <michael.albinus@gmx.de>
21911
d090ed6c
SM
21912 * net/tramp.el (tramp-process-actions): Add POS argument.
21913 Delete region between POS and (pos).
bfd31217 21914
d090ed6c
SM
21915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21916 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
21917 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21918
21919 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21920 position in `tramp-process-actions' call.
21921
21922 * net/trampver.el: Update release number.
21923
e92f3bd3
SM
219242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21925
850256b5
SM
21926 * custom.el (defcustom): Obey lexical-binding.
21927
e92f3bd3
SM
21928 Fix octave-inf completion problems reported by Alexander Klimov.
21929 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21930 Inherit from octave-mode-syntax-table.
21931 (inferior-octave-mode): Set info-lookup-mode.
21932 (inferior-octave-completion-at-point): New function.
21933 (inferior-octave-complete): Use it and completion-in-region.
21934 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21935 comint-filename-completion.
21936 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21937 symbol elements which shouldn't be word elements.
21938 (octave-font-lock-keywords, octave-beginning-of-defun)
21939 (octave-function-header-regexp): Adjust regexps accordingly.
21940 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21941
cd22b309
JB
219422011-04-25 Juanma Barranquero <lekktu@gmail.com>
21943
21944 * net/gnutls.el (gnutls-errorp): Declare before first use.
21945
8b492194
TZ
219462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21947
21948 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21949 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 21950 default trustfile exists before going to use it. Add missing
5a5fa834 21951 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
21952 Reported by Claudio Bley <claudio.bley@gmail.com>.
21953 (open-gnutls-stream): Add usage example.
21954
21955 * net/network-stream.el (network-stream-open-starttls): Give host
21956 parameter to `gnutls-negotiate'.
21957 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 21958 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 21959
841a1577 219602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 21961
cd22b309
JB
21962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21963 Use correct match group (bug#8438).
05842630 21964
3ba7869c
CY
219652011-04-24 Chong Yidong <cyd@stupidchicken.com>
21966
512e3ae1
CY
21967 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21968 (package-menu--generate): New arg specifying packages to show.
21969 (package-menu-refresh, package-menu-execute, list-packages):
21970 Callers changed.
21971 (package-show-package-list): New function, replacing deleted
21972 package--list-packages (renamed because it is non-internal).
21973
21974 * finder.el (finder-list-matches): Use package-show-package-list
21975 instead of deleted package--list-packages.
21976
e92f3bd3
SM
21977 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21978 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
21979 (vc-annotate-mode-map): Bind it to RET.
21980
7031be6d
UR
219812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21982
21983 * progmodes/etags.el (next-file): Don't use set-buffer to change
21984 buffers (Bug#8478).
21985
4ef177aa
CY
219862011-04-24 Chong Yidong <cyd@stupidchicken.com>
21987
c8d173eb
CY
21988 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21989
4ef177aa
CY
21990 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21991 (apropos-accumulator): Doc fix.
21992 (apropos-function, apropos-macro, apropos-command)
21993 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21994 (apropos-plist): Add face property.
21995 (apropos-symbols-internal): Fix indentation.
21996 (apropos-print): Simplify help, and recognize apropos-multi-type.
21997 (apropos-print-doc): Use button-type-get to extract the button's
21998 face property. Fill docstring (Bug#8352).
21999
4ffd0d6b 220002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22001
22002 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22003
c6c32125 22004 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22005 (mpuz-mode-map): Use mapc.
c6c32125
JB
22006 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22007 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22008 Fix typos in docstrings.
22009
58d468b4
JB
22010 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22011 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22012
6470c3c6
JB
22013 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22014
4ffd0d6b 220152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22016
22017 * minibuffer.el (completion--do-completion): Avoid the "Next char
22018 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22019
3ad8bad0
CY
22020 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22021 mouse-2 into unread-command-events, it is interpreted correctly.
22022
71d73c9c 22023 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22024 (image-toggle-display): Doc fix.
71d73c9c 22025
841a1577 220262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22027
4ffd0d6b
GM
22028 * textmodes/page.el (what-page): Use line-number-at-pos to
22029 calculate line number (Bug#6825).
6e1dbaa9 22030
c2fb1b60
JB
220312011-04-22 Juanma Barranquero <lekktu@gmail.com>
22032
22033 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22034 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22035 Pass argument NO-DEFAULT to `find-tag-interactive'.
22036
e02f48d7
JB
220372011-04-22 Juanma Barranquero <lekktu@gmail.com>
22038
22039 Lexical-binding cleanup.
22040
22041 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22042 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22043 * progmodes/ada-prj.el (ada-prj-initialize-values)
22044 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22045 (ada-prj-show-value):
22046 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22047 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22048 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22049 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22050 * progmodes/bug-reference.el (bug-reference-push-button):
22051 * progmodes/fortran.el (fortran-line-length):
22052 * progmodes/glasses.el (glasses-change):
22053 * progmodes/octave-mod.el (octave-fill-paragraph):
22054 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22055 (python-pdbtrack-grub-for-buffer, python-sentinel):
22056 * progmodes/sql.el (sql-save-connection):
22057 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22058 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22059 Mark unused parameters.
22060
22061 * progmodes/compile.el (compilation--flush-directory-cache)
22062 (compilation--flush-parse, compile-internal): Mark unused parameters.
22063 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22064 (compilation-next-error-function): Remove unused variable `timestamp'.
22065
22066 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22067 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22068
22069 * progmodes/dcl-mode.el (dcl-end-of-command):
22070 Remove unused variable `start'.
22071 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22072 (dcl-option-value-basic, dcl-option-value-offset)
22073 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22074 Mark unused parameters.
22075 (dcl-save-local-variable): Remove unused variable `val'.
22076 (mode): Declare.
22077
22078 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22079 Mark unused parameters.
22080 (delphi-ignore-changes): Move before first use.
22081 (delphi-charset-token-at): Remove unused variable `start'.
22082 (delphi-else-start): Remove unused variable `if-count'.
22083 (delphi-comment-block-start, delphi-comment-block-end):
22084 Remove unused variable `kind'.
22085 (delphi-indent-line): Remove unused variable `new-point'.
22086
22087 * progmodes/ebrowse.el (ebrowse-files-list)
22088 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22089 Mark unused parameters. Don't quote `lambda'.
22090 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22091 Don't quote `lambda'.
22092 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22093 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22094 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22095 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22096 Use `ignore-errors'.
22097 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22098 (ebrowse-view/find-file-and-search-pattern)
22099 (ebrowse-view/find-member-declaration/definition):
22100 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22101 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22102 Rename parameter PREFIX-ARG to PREFIX.
22103 (ebrowse-tags-read-name): Remove unused variables `start' and
22104 `member-info'.
22105 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22106 to `tags-file'.
22107
22108 * progmodes/etags.el (local-find-tag-hook): Declare.
22109 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22110 Mark unused parameters.
22111
22112 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22113 (executable-interpret): Mark unused parameter.
22114
22115 * progmodes/flymake.el (flymake-process-sentinel)
22116 (flymake-after-change-function)
22117 (flymake-create-temp-with-folder-structure)
22118 (flymake-get-include-dirs-dot): Mark unused parameters.
22119 (flymake-safe-delete-directory): Remove unused variable `err'.
22120
22121 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22122 (speedbar-timer-fn, speedbar-line-text)
22123 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22124 (speedbar-center-buffer-smartly): Declare functions.
22125 (gdb-find-watch-expression): Remove unused variable `array'.
22126 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22127 (gdb-starting): Mark unused parameters.
22128 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22129 (gdb-table-string): Remove unused variable `res'.
22130 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22131 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22132 (gdb-display-buffer): Remove unused variable `cur-size'.
22133
22134 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22135 allow lexical-binding compilation.
22136 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22137 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22138 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22139 Mark unused parameters.
22140 (gud-gdb-marker-filter): Remove unused variable `match'.
22141 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22142 lambda expressions and funcall them, instead of using `fset'.
22143
22144 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22145 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22146
22147 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22148 variable `header-beg'; use `let'.
22149
22150 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22151 `restart', `last-sexp' and `at-do'.
22152
22153 * progmodes/js.el (js--debug): Mark unused parameter.
22154 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22155 (js--splice-into-items): Remove unused variable `item'.
22156 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22157
22158 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22159 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22160 (makefile-complete): Remove unused variable `try'.
22161 (makefile-fill-paragraph, makefile-match-function-end):
22162 Mark unused parameters.
22163
22164 * progmodes/octave-inf.el (inferior-octave-complete):
22165 Remove unused variable `proc'.
22166 (inferior-octave-output-digest): Mark unused parameter.
22167
22168 * progmodes/perl-mode.el (perl-calculate-indent):
22169 Remove unused variable `err'.
22170
22171 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22172 (prolog-indent-line): Mark unused parameters.
22173 (prolog-indent-line): Remove unused variable `beg'.
22174
22175 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22176 (reporter-dont-compact-list): Declare.
22177
22178 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22179 Remove unused variable `char'.
22180 (sh-debug): Mark unused parameter.
22181 (sh-get-indent-info): Remove unused variable `start'.
22182 (sh-calculate-indent): Remove unused variable `var'.
22183
22184 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22185 (simula-electric-keyword): Remove unused variable `null'.
22186 (simula-search-backward, simula-search-forward): Remove unused
22187 variables `begin' and `end'.
22188
22189 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22190 Remove unused variable `pos'.
22191 (vera-electric-tab, vera-comment-uncomment-region):
22192 Mark unused parameters.
22193 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22194
7ede3b65
CY
221952011-04-22 Chong Yidong <cyd@stupidchicken.com>
22196
22197 * emacs-lisp/package.el (package--builtins, package-alist)
22198 (package-load-descriptor, package-built-in-p, package-activate)
22199 (define-package, package-installed-p)
22200 (package-compute-transaction, package-buffer-info)
22201 (package--push): Doc fix. Distinguish more clearly between
22202 version strings and version lists.
22203
121656e9
JB
222042011-04-21 Juanma Barranquero <lekktu@gmail.com>
22205
22206 Lexical-binding cleanup.
22207
22208 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22209 (5x5-make-mutate-best):
22210 * play/fortune.el (fortune-in-buffer):
22211 * play/gomoku.el (gomoku-init-display):
22212 * play/solitaire.el (solitaire, solitaire-do-check):
22213 * play/tetris.el (tetris-default-update-speed-function):
22214 Mark unused parameters.
22215
22216 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22217 (bubbles--shift): Remove unused variable `char-org'.
22218 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22219 (bubbles--show-images): Remove unused variable `char'.
22220
22221 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22222 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22223 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22224 (decipher-analyze-buffer): Use ?\s.
22225 (decipher-make-checkpoint): Remove unused variable `mapping'.
22226
22227 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22228
22229 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22230 Remove unused variable `result'; use `let'.
22231
22232 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22233 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22234 (gametree-children-shown-p, gametree-compute-reduced-score):
22235 Use `ignore-errors'.
22236
22237 * play/handwrite.el (ps-lpr-switches): Declare.
22238 (handwrite): Remove unused variables `pmin' and `lastp'.
22239
22240 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22241
22242 * play/landmark.el (landmark-init-display)
22243 (landmark-update-naught-weights): Mark unused parameters.
22244 (landmark-y): Remove unused variable `noise'. Simplify.
22245 (landmark-human-plays): Remove unused variable `score'.
22246
22247 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22248 (mpuz-try-proposal): Remove unused variable `game'.
22249
22250 * play/zone.el (life-patterns): Declare.
22251
80f499c7
JB
222522011-04-20 Juanma Barranquero <lekktu@gmail.com>
22253
22254 * vc/vc.el (ediff-vc-internal): Declare function.
22255
024ff170
SM
222562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22257
c0a193ea
SM
22258 * shell.el: Use lexical-binding and std completion UI.
22259 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22260 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22261 comint-preoutput-filter-functions rather than on
22262 comint-output-filter-functions.
22263 (shell-command-completion, shell--command-completion-data)
22264 (shell-filename-completion, shell-environment-variable-completion)
22265 (shell-c-a-p-replace-by-expanded-directory): New functions.
22266 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22267 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22268 (shell-dynamic-complete-environment-variable): Use them.
22269 (shell-dynamic-complete-as-environment-variable)
22270 (shell-dynamic-complete-as-command): Remove.
22271 (shell-match-partial-variable): Match past point.
22272 * comint.el: Clean up use of completion-at-point-functions.
22273 (comint-completion-at-point): New function.
22274 (comint-mode): Use it completion-at-point-functions.
22275 (comint-dynamic-complete): Make it obsolete.
22276 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22277 (comint-c-a-p-replace-by-expanded-history): New function.
22278 (comint-dynamic-complete-functions)
22279 (comint-replace-by-expanded-history): Use it.
22280 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22281 termination strings. Try harder to avoid second try-completion.
22282 (completion-in-region-mode-map): Disable bindings that don't work yet.
22283
2dbaa080
SM
22284 * comint.el: Use lexical-binding. Require CL.
22285 (comint-dynamic-complete-functions): Use comint-filename-completion.
22286 (comint-completion-addsuffix): Tweak custom type.
22287 (comint-filename-completion, comint--common-suffix)
22288 (comint--common-quoted-suffix, comint--table-subvert)
22289 (comint--complete-file-name-data): New functions.
22290 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22291 (comint-dynamic-list-filename-completions): Use them.
22292 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 22293
2dbaa080
SM
22294 * minibuffer.el (completion-in-region-mode):
22295 Keep completion-in-region-mode--predicate global.
22296 (completion-in-region--postch):
22297 Assume completion-in-region-mode--predicate is not null.
22298
c79a6f38
SM
22299 * progmodes/flymake.el (flymake-start-syntax-check-process):
22300 Obey `dir'. Simplify.
22301
024ff170
SM
22302 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22303 we're in VC after all.
22304
1c6c854e
CS
223052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22306
22307 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 22308 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
22309 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22310
bed7f140
SM
223112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22312
332e62ab
SM
22313 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22314 add sanity check.
22315
bed7f140
SM
22316 * obsolete/erc-hecomplete.el: Make obsolete.
22317 * obsolete/: Standardize obsolescence info in the header.
22318
f195c582
GM
223192011-04-20 Glenn Morris <rgm@gnu.org>
22320
22321 * calendar/solar.el (solar-horizontal-coordinates):
22322 Use the longitude argument rather than `calendar-longitude'.
22323 (solar-date-next-longitude): Remove unused locals.
22324
cb79b8c0
VJL
223252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
22326
22327 * whitespace.el: New version 13.2.1.
22328
223292011-04-20 felix <EmacsWiki> (tiny change)
22330
d8e4b68b 22331 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
22332 switching between major modes on a file.
22333
602ea69d
SM
223342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
22335
22336 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
22337 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
22338 multi-line comments as well.
22339
06b60517
JB
223402011-04-19 Juanma Barranquero <lekktu@gmail.com>
22341
22342 Lexical-binding cleanup.
22343
22344 * arc-mode.el (archive-mode-revert):
22345 * cmuscheme.el (scheme-interactively-start-process):
22346 * custom.el (custom-initialize-delay):
22347 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
22348 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
22349 * emacs-lock.el (emacs-lock-clear-sentinel):
22350 * ezimage.el (defezimage):
22351 * follow.el (follow-avoid-tail-recenter):
22352 * fringe.el (set-fringe-mode-1):
22353 * generic-x.el (bat-generic-mode-compile):
22354 * help-mode.el (help-info-variable, help-do-xref)
22355 (help-mode-revert-buffer):
22356 * help.el (view-emacs-todo):
22357 * iswitchb.el (iswitchb-completion-help):
22358 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
22359 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
22360 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
22361 * locate.el (locate-update):
22362 * longlines.el (longlines-encode-region)
22363 (longlines-after-change-function):
22364 * outline.el (outline-isearch-open-invisible):
22365 * ps-def.el (declare-function, charset-dimension, char-width)
22366 (encode-char):
22367 * ps-mule.el (ps-mule-plot-string):
22368 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
22369 (recentf-edit-list-select, recentf-edit-list-validate)
22370 (recentf-open-files-action):
22371 * rect.el (delete-whitespace-rectangle-line)
22372 (rectangle-number-line-callback):
22373 * register.el (window-configuration-to-register)
22374 (frame-configuration-to-register):
22375 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
22376 * select.el (xselect-convert-to-string, xselect-convert-to-length)
22377 (xselect-convert-to-targets, xselect-convert-to-delete)
22378 (xselect-convert-to-filename, xselect-convert-to-charpos)
22379 (xselect-convert-to-lineno, xselect-convert-to-colno)
22380 (xselect-convert-to-os, xselect-convert-to-host)
22381 (xselect-convert-to-user, xselect-convert-to-class)
22382 (xselect-convert-to-name, xselect-convert-to-integer)
22383 (xselect-convert-to-atom, xselect-convert-to-identity):
22384 * subr.el (declare, ignore, process-kill-without-query)
22385 (text-clone-maintain):
22386 * terminal.el (te-get-char, te-tic-sentinel):
22387 * tool-bar.el (tool-bar-make-keymap):
22388 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
22389 * type-break.el (type-break-mode, type-break-noninteractive-query):
22390 * view.el (View-back-to-mark):
22391 * wid-browse.el (widget-browse-action, widget-browse-widget)
22392 (widget-browse-widgets, widget-browse-sexp):
22393 * widget.el (define-widget-keywords):
22394 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
22395 Mark unused parameters.
22396
22397 * align.el (align-adjust-col-for-rule): Mark unused parameter.
22398 (align-areas): Remove unused variable `look'.
22399 (align-region): Remove unused variables `real-end' and `pos-list'.
22400
22401 * apropos.el (apropos-score-doc): Remove unused variable `i'.
22402
22403 * bindings.el (mode-line-modified, mode-line-remote):
22404 Mark unused parameters.
22405 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
22406
22407 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
22408 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
22409
22410 * comint.el (comint-history-isearch-pop-state)
22411 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
22412 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
22413 (comint-substitute-in-file-name): Doc fix.
22414
22415 * completion.el (cmpl-statistics-block): Mark unused parameter.
22416 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
22417 (save-completions-to-file, load-completions-from-file):
22418 Remove unused local variable `e'.
22419
22420 * composite.el (compose-chars): Remove unused variable `len'.
22421 (lgstring-insert-glyph): Remove unused variable `g'.
22422 (compose-glyph-string): Remove unused variables `ascent',
22423 `descent', `lbearing' and `rbearing'.
22424 (compose-glyph-string-relative): Remove unused variables
22425 `lbearing', `rbearing' and `wadjust'.
22426 (compose-gstring-for-graphic): Remove unused variables `header',
22427 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
22428 (compose-gstring-for-terminal): Remove unused variables `header'
22429 and `nchars'. Use `let', not `let*'.
22430
22431 * cus-edit.el (Custom-set, Custom-save, custom-reset)
22432 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
22433 (Custom-buffer-done, custom-buffer-create-internal)
22434 (custom-browse-visibility-action, custom-browse-group-tag-action)
22435 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
22436 (widget-magic-mouse-down-action, custom-toggle-parent)
22437 (custom-add-parent-links, custom-toggle-hide-variable)
22438 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
22439 (custom-toggle-hide-face, face, hook, custom-group-link-action)
22440 (custom-face-menu-create, custom-variable-menu-create, get)
22441 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
22442 (custom-reset-standard-save-and-update): Remove unused variable `value'.
22443 (customize-apropos): Remove unused variable `tests'.
22444 (custom-group-value-create): Remove unused variable `hidden-p'.
22445 (sort-fold-case): Declare.
22446
22447 * cus-theme.el (custom-reset-standard-faces-list)
22448 (custom-reset-standard-variables-list): Declare.
22449 (customize-create-theme, custom-theme-revert, custom-theme-write)
22450 (custom-theme-choose-mode, customize-themes, custom-theme-save):
22451 Mark unused parameters.
22452
22453 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
22454
22455 * delim-col.el (delimit-columns-max): Move defvar before first use.
22456
22457 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 22458 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
22459
22460 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
22461 (auto-insert): Declare.
22462 (desktop-restore-file-buffer): Rename desktop-* parameters;
22463 mark unused ones.
22464 (desktop-create-buffer): Rename desktop-* parameters and bind them.
22465 (desktop-buffer): Rename desktop-* parameters.
22466
22467 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
22468 (dframe-reposition-frame-xemacs, dframe-help-echo)
22469 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
22470 Mark unused parameters.
22471
22472 * dired-aux.el (backup-extract-version-start, overwrite-query)
22473 (overwrite-backup-query, rename-regexp-query)
22474 (rename-non-directory-query): Declare.
22475 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
22476 (dired-add-entry): Remove unused variable `orig-file-name'.
22477 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
22478 Use parameter PRESERVE-TIME instead of accessing dynamic variable
22479 `dired-copy-preserve-time' directly.
22480 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
22481 (dired-insert-subdir-newpos): Rename unused variable `pos'.
22482
22483 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
22484 (dired-virtual-revert, dired-make-relative-symlink):
22485 Mark unused parameters.
22486 (manual-program): Declare.
22487 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
22488 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
22489 wrapped in `with-no-warnings' to avoid replacing one warning by another.
22490
22491 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
22492
22493 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
22494
22495 * echistory.el (electric-history-in-progress, Helper-return-blurb):
22496 Declare.
22497
22498 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
22499
22500 * electric.el (Electric-command-loop): Rename parameter
22501 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
22502
22503 * expand.el (expand-in-literal): Remove unused variable `here'.
22504
22505 * facemenu.el (facemenu-add-new-color):
22506 Remove unused variable `docstring'.
22507
22508 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
22509 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
22510 (face-attr-construct): Mark unused parameter. Doc fix.
22511 (read-color): Remove unused variable `hex-string'.
22512
22513 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
22514 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
22515 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
22516 (display-buffer-other-frame): Remove unused variable `old-window'.
22517 (kill-buffer-hook): Declare.
22518 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
22519 Mark unused parameters.
22520 (after-find-file): Pass 1 to `auto-save-mode', not t.
22521
22522 * files-x.el (auto-insert): Declare.
22523 (modify-file-local-variable-prop-line): Remove unused variable `val'.
22524
22525 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 22526 variable `buf'. Mark unused parameter.
06b60517
JB
22527 (find-lisp-insert-directory): Mark unused parameter.
22528
22529 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
22530 (format-encode-region): Remove unused variables `cur-buf' and `result'.
22531 (format-common-tail): Remove, unused.
22532 (format-deannotate-region): Remove unused variable `loc'.
22533 (format-annotate-region): Remove unused variable `p'.
22534 (format-annotate-single-property-change): Remove unused variables
22535 `default' and `tail'.
22536
22537 * forms.el (read-file-filter): Declare.
22538 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
22539
22540 * frame.el (frame-creation-function-alist): Mark unused parameter.
22541 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
22542
22543 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
22544 Remove unused parameters.
22545 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
22546 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
22547
22548 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
22549 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
22550 (hfy-prepare-tag-map): Mark unused parameters.
22551 (htmlfontify-buffer): Use `called-interactively-p'.
22552
22553 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
22554 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
22555 (ibuffer-do-occur): Mark unused parameters.
22556 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
22557 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
22558
22559 * ibuffer.el: Don't quote `lambda'.
22560 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
22561 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
22562 Mark unused parameters.
22563
22564 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
22565 (ido-completing-read): Mark unused parameters.
22566 (ido-copy-current-word): Mark unused parameters;
22567 remove unused variable `name'.
22568 (ido-sort-merged-list): Remove unused parameter `dirs'.
22569
22570 * ielm.el (ielm-input-sender): Mark unused parameter.
22571 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
22572 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
22573 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
22574 `ielm-string' as a dynamic variable accessible from the IELM prompt.
22575 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
22576
22577 * image-dired.el (image-dired-display-thumbs): Remove unused
22578 variables `curr-file' and `count'.
22579 (image-dired-remove-tag): Remove unused variable `start'.
22580 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
22581 variable `curr-file'
22582 (image-dired-rotate-original): Remove unused variable `temp-file'.
22583 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
22584 Remove unused variable `file'.
22585 (image-dired-gallery-generate): Remove unused variable `curr'.
22586 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
22587
22588 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
22589
22590 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
22591
22592 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
22593
22594 * isearch.el (minibuffer-history-symbol): Declare.
22595 (isearch-edit-string): Remove unused variable `err'.
22596 (isearch-message-prefix, isearch-message-suffix):
22597 Mark unused parameters.
22598
22599 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
22600
22601 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
22602
22603 * makesum.el (double-column): Remove unused variable `cnt'.
22604
22605 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
22606 (ido-ignore-item-temp-list): Declare.
22607
22608 * mouse-drag.el (mouse-drag-throw): Remove unused variables
22609 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
22610 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
22611 (mouse-drag-drag): Remove unused variables `mouse-delta' and
22612 `mouse-col-delta'.
22613
22614 * mouse-sel.el (mouse-extend-internal):
22615 Remove unused variable `orig-window-frame'.
22616
22617 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
22618 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
22619 Move declarations before first use.
22620 (pcomplete-opt): Mark unused parameters; doc fix.
22621
22622 * proced.el (proced-revert): Mark unused parameter.
22623 (proced-send-signal): Remove unused variable `err'.
22624
22625 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
22626 Rename parameter PREFIX-ARG to ARG.
22627 (ps-basic-plot-string, ps-basic-plot-whitespace):
22628 Mark unused parameters.
22629
22630 * replace.el (replace-count): Define.
22631 (occur-revert-function): Mark unused parameters.
22632 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22633 (isearch-case-fold-search, isearch-string): Declare.
22634 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22635 bind `case-fold-search'. Remove unused variables `beg' and `end',
22636 and simplify.
22637 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22638 COUNT and bind `replace-count'.
22639 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22640 to COUNT.
22641
22642 * savehist.el (print-readably, print-string-length): Declare.
22643
22644 * shadowfile.el (shadow-expand-cluster-in-file-name):
22645 Remove unused variable `cluster'.
22646 (shadow-copy-file): Remove unused variable `i'.
22647 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22648 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22649 (shadow-define-literal-group, shadow-define-regexp-group)
22650 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22651
22652 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22653 (shell): Use `called-interactively-p'.
22654 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22655
22656 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22657 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22658 (delete-backward-char): Remove unused variable `ocol'.
22659 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22660 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22661 (event-apply-hyper-modifier, event-apply-shift-modifier)
22662 (event-apply-control-modifier, event-apply-meta-modifier):
22663 Mark unused parameters.
22664 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22665 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22666
22667 * speedbar.el (speedbar-ignored-directory-expressions)
22668 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22669 (speedbar-find-file, speedbar-dir-follow)
22670 (speedbar-directory-buttons-follow, speedbar-tag-find)
22671 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22672 (speedbar-buffers-line-directory, speedbar-buffer-click):
22673 Mark unused parameters.
22674 (speedbar-tag-file): Remove unused variable `mode'.
22675 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22676
22677 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22678
22679 * talk.el (talk): Remove unused variable `display'.
22680
22681 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22682 (tar-write-region-annotate): Mark unused parameter.
22683
22684 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22685 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22686 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22687 warning by another.
22688
22689 * time-stamp.el (time-stamp-string-preprocess):
22690 Remove unused variable `require-padding'.
22691
22692 * tree-widget.el (widget-glyph-enable): Declare.
22693 (tree-widget-action): Mark unused parameter.
22694
22695 * w32-fns.el (x-get-selection): Mark unused parameter.
22696 (autoload-make-program, generated-autoload-file): Declare.
22697
22698 * wdired.el (wdired-revert): Mark unused parameters.
22699 (wdired-xcase-word): Remove unused variable `err'.
22700
22701 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22702 (whitespace-help-scroll): Remove unused variable `data-help'.
22703
22704 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22705 (widget-image-insert, widget-after-change, default)
22706 (widget-default-format-handler, widget-default-notify)
22707 (widget-default-prompt-value, widget-info-link-action)
22708 (widget-url-link-action, widget-function-link-action)
22709 (widget-variable-link-action, widget-file-link-action)
22710 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22711 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22712 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22713 (widget-insert-button-action, widget-delete-button-action, visibility)
22714 (widget-documentation-link-action, widget-documentation-string-action)
22715 (widget-const-prompt-value, widget-regexp-match, symbol)
22716 (widget-coding-system-prompt-value)
22717 (widget-key-sequence-value-to-external, sexp)
22718 (widget-sexp-value-to-internal, character, vector, cons)
22719 (widget-choice-prompt-value, widget-boolean-prompt-value)
22720 (widget-color--choose-action): Mark unused parameters.
22721 (widget-item-match-inline, widget-choice-match-inline)
22722 (widget-checklist-match, widget-checklist-match-inline)
22723 (widget-group-match): Rename parameter VALUES to VALS.
22724 (widget-field-value-set): Remove unused variable `size'.
22725 (widget-color-action): Remove unused variables `value' and `start'.
22726
22727 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 22728 variable `dir'. Doc fix.
06b60517
JB
22729 (windmove-find-other-window): Don't pass it.
22730
22731 * window.el (count-windows): Mark unused parameter.
22732 (bw-adjust-window): Remove unused variable `err'.
22733
22734 * woman.el (woman-file-name): Remove unused variable `default'.
22735 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22736 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22737 (global-font-lock-mode): Declare.
22738 (woman-decode-region): Mark unused parameter.
22739 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22740
22741 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22742 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22743 (x-dnd-handle-moz-url): Remove unused variable `title'.
22744 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22745
22746 * xml.el (xml-parse-tag, xml-parse-attlist):
22747 Remove unused variable `pos'.
22748
bc4f7f3d
GM
227492011-04-19 Glenn Morris <rgm@gnu.org>
22750
22751 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22752 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22754 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22755 * calendar/cal-html.el (cal-html-insert-minical):
22756 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22757 (calendar-mark-date-pattern):
22758 Prefix "unused" locals.
22759
22760 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22761 optional argument `style'.
22762
22763 * calendar/appt.el (appt-make-list):
22764 * calendar/cal-china.el (calendar-chinese-date-string):
22765 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22766 (diary-hebrew-yahrzeit):
22767 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22768 * calendar/calendar.el (calendar-generate-window):
22769 * calendar/time-date.el (time-to-days):
22770 Remove unused local variables.
22771
16a43933
CY
227722011-04-18 Chong Yidong <cyd@stupidchicken.com>
22773
22774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22775 glyphless-char-display table.
22776 (tabulated-list-glyphless-char-display): New var.
22777
7eed1860
SS
227782011-04-18 Sam Steingold <sds@gnu.org>
22779
22780 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22781 to acknowledgments.
22782
4d2d1ccd
GM
227832011-04-17 Glenn Morris <rgm@gnu.org>
22784
22785 * calendar/diary-lib.el (diary-sexp-entry):
22786 * calendar/holidays.el (holiday-sexp):
22787 Set debug-on-error rather than the removed stack-trace-on-error.
22788
239da61d
GM
227892011-04-16 Glenn Morris <rgm@gnu.org>
22790
22791 * progmodes/f90.el: Use lexical-binding.
22792 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22793
8b05752a
SM
227942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22795
daca8ba5
SM
22796 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22797 (mail-mode): Setup mailalias completion here instead.
22798 * mail/mailalias.el: Use lexical-binding.
22799 (pattern, mailalias-done): Declare dynamic.
22800 (mail-completion-at-point-function): New function, from mail-complete.
22801 (mail-complete): Use it.
22802 (mail-completion-expand): New function.
22803 (mail-get-names): Use it.
22804 (mail-directory, mail-directory-process, mail-directory-stream):
22805 Don't use `pattern' for lexically bound arg.
22806
6f542485
SM
22807 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22808
037e7c3f
SM
22809 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22810 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22811 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22812
8b05752a
SM
22813 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22814 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22815 (byte-interactive-p): Define them again, for use when inlining
22816 old code.
22817
49093f60
JB
228182011-04-15 Juanma Barranquero <lekktu@gmail.com>
22819
22820 * loadup.el: Use `string-to-number', not `string-to-int'.
22821
b5b8e7de
SM
228222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22823
22824 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22825 gud-gdb-complete-command.
22826 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22827 (gud-gdb-completion-at-point): New function.
22828 (gud-gdb-completions): Remove.
22829
f42efeb5
MA
228302011-04-14 Michael Albinus <michael.albinus@gmx.de>
22831
49093f60
JB
22832 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22833 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22834 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22835 whether `executable-find' is bound.
f42efeb5
MA
22836
22837 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22838
e240cc21
SM
228392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22840
22841 * minibuffer.el (completion-in-region-mode-predicate)
22842 (completion-in-region-mode--predicate): New vars.
22843 (completion-in-region, completion-in-region--postch)
22844 (completion-in-region-mode): Use them.
22845 (completion--capf-wrapper): Also return the hook function.
22846 (completion-at-point, completion-help-at-point):
22847 Adjust and provide a predicate.
c2bd2ab0
SM
22848
22849 Preserve arg names for advice of subr and lexical functions (bug#8457).
22850 * help-fns.el (help-function-arglist): Consolidate the subr and
22851 new-byte-code cases. Add argument `preserve-names' to extract names
22852 from the docstring when needed.
22853 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22854 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22855 (ad-arglist): Use help-function-arglist's new arg.
22856 (ad-definition-type): Use cond.
22857
c183f693
JB
228582011-04-13 Juanma Barranquero <lekktu@gmail.com>
22859
06641a47
JB
22860 * autorevert.el (auto-revert-handler):
22861 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22862 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22863 Don't quote lambda.
22864
c183f693
JB
22865 * image-mode.el (image-transform-set-scale):
22866 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22867
1e3b6001
G
228682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22869
22870 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 22871 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
22872 Upgrades via gnutls-cli are too slow to be done opportunistically.
22873
2d6af8dd
JB
228742011-04-12 Juanma Barranquero <lekktu@gmail.com>
22875
22876 * dframe.el (dframe-current-frame): Remove spurious quote.
22877
c0749a51
GM
228782011-04-12 Glenn Morris <rgm@gnu.org>
22879
088d0d61
GM
22880 * calendar/cal-tex.el (cal-tex-end-document):
22881 Try to automatically use latin1 input if needed.
22882
c0749a51
GM
22883 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22884 Don't try to cons a mark onto an empty element.
22885
5c90fde0
LL
228862011-04-11 Leo Liu <sdl.web@gmail.com>
22887
22888 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22889 buffers.
22890 (ido-kill-buffer-at-head): Support killing virtual buffers.
22891
369e974d
CY
228922011-04-10 Chong Yidong <cyd@stupidchicken.com>
22893
22894 * minibuffer.el (completion-show-inline-help): New var.
22895 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
22896 (minibuffer-force-complete, minibuffer-complete-word):
22897 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
22898
22899 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22900 to avoid interference from inline help (Bug#5849).
22901
37f1c930
LL
229022011-04-10 Leo Liu <sdl.web@gmail.com>
22903
099c39a4
JB
22904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22905 Fix typo.
37f1c930 22906
a32d4040
CY
229072011-04-09 Chong Yidong <cyd@stupidchicken.com>
22908
22909 * image-mode.el (image-toggle-display-image): Signal an error if
22910 not in Image mode.
22911 (image-transform-mode, image-transform-resize)
22912 (image-transform-set-rotation): Doc fix.
daca8ba5 22913 (image-transform-set-resize): Delete.
a32d4040
CY
22914 (image-transform-set-scale, image-transform-fit-to-height)
22915 (image-transform-fit-to-width): Handle image-toggle-display-image
22916 and image-transform-resize directly.
22917
099c39a4 229182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
22919
22920 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
22921 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22922 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
22923 (doc-view-mode-map): Add bindings for the new functions.
22924
099c39a4 229252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 22926
4d61f28d 22927 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
22928 Fix typo in docstring.
22929
3726838a
EZ
229302011-04-08 Eli Zaretskii <eliz@gnu.org>
22931
04f33f1e
EZ
22932 * files.el (file-size-human-readable): Produce one digit after
22933 decimal, like "ls -lh" does.
22934
22935 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22936 the file size representation.
22937
3726838a
EZ
22938 * simple.el (list-processes): If async subprocesses are not
22939 available, error out with a clear error message.
22940
cbb59342
CY
229412011-04-08 Chong Yidong <cyd@stupidchicken.com>
22942
22943 * help.el (help-form-show): New function, to be called from C.
22944 Put help-form output in a buffer named differently than *Help*.
22945
e3971c44
EZ
229462011-04-08 Eli Zaretskii <eliz@gnu.org>
22947
22948 * files.el (file-size-human-readable): New function.
22949
22950 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22951 computing the representation inline. Don't require `cl'.
22952
12544bbe
GM
229532011-04-08 Glenn Morris <rgm@gnu.org>
22954
a1de6c6a
GM
22955 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22956
3c4671f4
GM
22957 * net/browse-url.el (browse-url-firefox):
22958 Test system-type, not system-configuration.
22959
b605679c
GM
22960 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22961 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22962 Use log-edit-empty-buffer-p. (Bug#7598)
22963
56442f0c
GM
22964 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22965 (rlogin-mode-map): Initialize in the defvar.
22966 (rlogin): Use ignore-errors.
22967
12544bbe
GM
22968 * replace.el (occur-mode-map): Some fixes for menu items.
22969
eb237b0f
AH
229702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22971
22972 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22973
7d668f2c
CY
229742011-04-06 Chong Yidong <cyd@stupidchicken.com>
22975
e67a13ab
CY
22976 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22977 issuing unused warnings.
22978
22979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22980 macro directly.
22981
7d668f2c
CY
22982 * simple.el: Lisp reimplement of list-processes. Based on an
22983 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22984 (process-menu-mode): New major mode.
22985 (list-processes--refresh, list-processes):
22986 (process-menu-visit-buffer): New functions.
22987
22988 * files.el (save-buffers-kill-emacs): Don't assume any return
22989 value of list-processes, which is undocumented anyway.
22990
a83ec3c9
CY
229912011-04-06 Chong Yidong <cyd@stupidchicken.com>
22992
22993 * emacs-lisp/tabulated-list.el: New file.
22994
e91a96fe
CY
22995 * emacs-lisp/package.el: Use Tabulated List mode.
22996 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22997 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22998 table format using Tabulated List mode variables.
22999 (package--push): New macro, replacing package-list-maybe-add.
23000 (package-menu--generate): Use package--push. Renamed from
23001 package--generate-package-list.
23002 (package-menu-refresh, list-packages): Use it.
daca8ba5 23003 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23004 Return insertion data instead of inserting it directly.
099c39a4
JB
23005 (package-menu-describe-package, package-menu-execute):
23006 Use tabulated-list-get-id.
e91a96fe
CY
23007 (package-menu-mark-delete, package-menu-mark-install)
23008 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23009 (package-menu-mark-obsolete-for-deletion):
23010 Use tabulated-list-put-tag.
e91a96fe
CY
23011 (package--list-packages, package-menu-revert)
23012 (package-menu-get-package, package-menu-get-version)
23013 (package-menu-sort-by-column): Functions deleted.
23014 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23015 (package-menu--status-predicate, package-menu--version-predicate)
23016 (package-menu--name-predicate)
23017 (package-menu--description-predicate): Handle arguments in the
23018 Tabulated List format.
23019 (package-list-packages-no-fetch): Call list-packages.
23020
3e214b50
JB
230212011-04-06 Juanma Barranquero <lekktu@gmail.com>
23022
23023 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23024 (after-find-file): Don't bind it.
3e214b50
JB
23025 (revert-buffer-in-progress-p): New variable.
23026 (revert-buffer): Bind it.
23027 Pass nil for `after-find-file-from-revert-buffer'.
23028
23029 * saveplace.el (save-place-find-file-hook): Use new variable
23030 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23031
3f0f1700
GM
230322011-04-06 Glenn Morris <rgm@gnu.org>
23033
c0274801
GM
23034 * Makefile.in (AUTOGEN_VCS): New variable.
23035 (autoloads): Use $AUTOGEN_VCS.
23036
3f0f1700
GM
23037 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23038 * calendar/calendar.el (calendar-mode-map):
23039 Check for toolkit scroll bars. (Bug#8305)
23040
41ea9e48
CY
230412011-04-05 Chong Yidong <cyd@stupidchicken.com>
23042
23043 * minibuffer.el (completion-in-region--postch)
23044 (completion-in-region-mode): Remove unnecessary messages.
23045
6194c800
JB
230462011-04-05 Juanma Barranquero <lekktu@gmail.com>
23047
33256f14
JB
23048 * font-lock.el (font-lock-refresh-defaults):
23049 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23050 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23051
6194c800
JB
23052 * info.el (Info-directory-list, Info-read-node-name-2)
23053 (Info-split-parameter-string): Doc fixes.
23054 (Info-virtual-nodes): Reflow docstring.
23055 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23056 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23057 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23058 Fix typos in docstrings.
23059 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23060 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23061 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23062 (Info-restore-desktop-buffer): Mark unused parameters.
23063 (Info-directory-find-file, Info-directory-find-node)
23064 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23065 (Info-virtual-index-find-node, Info-apropos-find-file)
23066 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 23067 Mark unused parameters; fix typos in docstrings.
6194c800
JB
23068 (Info-virtual-index): Remove unused local variable `nodename'.
23069
b87a8200 230702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 23071
b87a8200
DD
23072 * net/rcirc.el: Update my e-mail address.
23073 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 23074
3b2ff876
CY
230752011-04-05 Chong Yidong <cyd@stupidchicken.com>
23076
23077 * startup.el (command-line): Save the cursor's theme-face
23078 directly, instead of using face-override-spec.
23079
23080 * custom.el (load-theme): Minor optimization in assigning faces.
23081
8d17e7ca
JB
230822011-04-04 Juanma Barranquero <lekktu@gmail.com>
23083
23084 * help-fns.el (describe-variable): Complete all variables having
23085 documentation, including keywords.
23086 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23087
2fbc1934
JB
230882011-04-04 Juanma Barranquero <lekktu@gmail.com>
23089
23090 Convert to lexical-binding.
23091
23092 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23093 (bs--get-marked-string, bs--get-modified-string)
23094 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23095 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23096 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23097
23098 * ehelp.el (electric-help-execute-extended)
23099 (electric-help-ctrl-x-prefix):
23100 * hexl.el (hexl-revert-buffer-function):
23101 * linum.el (linum-after-change, linum-after-scroll):
23102 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23103
23104 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23105
74f50695
DU
231062011-04-04 Daiki Ueno <ueno@unixuser.org>
23107
23108 * epa-dired.el:
23109 * epa-mail.el:
23110 * epa-hook.el:
23111 * epa-file.el:
23112 * epa.el:
23113 * epg.el: Use lexical binding.
23114
c11325f7
CY
231152011-04-03 Chong Yidong <cyd@stupidchicken.com>
23116
0d9e9a12
CY
23117 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23118
c11325f7 23119 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
23120 dictionary case for flyspell-mark-duplications-exceptions.
23121 Use regexp matching for languages.
c11325f7
CY
23122 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23123 default dictionary (Bug#7926).
23124
da91b5f2
CY
231252011-04-02 Chong Yidong <cyd@stupidchicken.com>
23126
099c39a4
JB
23127 * emacs-lisp/package.el (package--with-work-buffer):
23128 Recognize https URLs.
da91b5f2 23129
099c39a4
JB
23130 * net/network-stream.el: Move from gnus/proto-stream.el.
23131 Change prefix to network-stream throughout.
da91b5f2
CY
23132 (open-protocol-stream): Merge into open-network-stream, leaving
23133 open-protocol-stream as an alias. Handle nil BUFFER args.
23134
23135 * subr.el (open-network-stream): Move to net/network-stream.el.
23136
afa8e9f6
GM
231372011-04-02 Glenn Morris <rgm@gnu.org>
23138
1d2e369d
GM
23139 * find-dired.el (find-exec-terminator): New option.
23140 (find-ls-option): Test for -ls support.
23141 (find-ls-subdir-switches): Test for -b in find-ls-option.
23142 (find-dired, find-grep-dired): Doc fixes.
23143 (find-dired): Use find-exec-terminator.
23144
8abb7da8 23145 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
23146 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23147 (find-name-arg): Remove purecopy.
8abb7da8 23148
f3ca7378
GM
23149 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23150 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23151 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23152 accordingly. Don't add the null-device if not needed.
23153
afa8e9f6
GM
23154 * files.el (save-some-buffers): Doc fix.
23155
35eae264
EZ
231562011-04-02 Eli Zaretskii <eliz@gnu.org>
23157
23158 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23159
26b51db5
JB
231602011-04-01 Juanma Barranquero <lekktu@gmail.com>
23161
23162 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23163 Use `dolist' rather than `mapcar'.
23164
7200d79c
SM
231652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23166
03408648 23167 Add lexical binding.
7200d79c 23168
03408648
SM
23169 * subr.el (apply-partially): Use new closures rather than CL.
23170 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23171 (dolist, dotimes): Use slightly different expansion for lexical code.
23172 (functionp): Move to C.
23173 (letrec): New macro.
23174 (with-wrapper-hook): Use it and apply-partially instead of CL.
23175 (eval-after-load): Preserve lexical-binding.
23176 (save-window-excursion, with-output-to-temp-buffer): Turn them
23177 into macros.
7200d79c 23178
03408648
SM
23179 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23180
23181 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23182 than the arglist.
23183 (help-add-fundoc-usage): Don't add `Not documented'.
23184 (help-function-arglist): Handle closures, subroutines, and new
23185 byte-code-functions.
23186 (help-make-usage): Remove leading underscores.
23187 (describe-function-1): Handle closures.
23188 (describe-variable): Use special-variable-p for completion.
23189
23190 * files.el (lexical-binding): Declare safe.
f488fb65 23191
03408648
SM
23192 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23193 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23194 (pcase): Add `let' pattern.
23195 Change memoization so it actually works.
23196 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23197 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23198 <let>: New case.
f488fb65 23199
03408648
SM
23200 * emacs-lisp/macroexp.el: Use lexical binding.
23201 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23202 Don't convert ' to #' without checking that it's indeed quoting
23203 a lambda.
23204
23205 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 23206 Use eval-sexp-add-defvars.
03408648
SM
23207 (eval-sexp-add-defvars): New fun.
23208
23209 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23210
23211 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23212 Don't autoload.
23213 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23214 than the internal `byte-compile-lambda'.
23215 (defmethod): Don't hide code under quotes.
23216 (eieio-defmethod): New `code' argument.
23217
23218 * emacs-lisp/eieio-comp.el: Remove.
23219
23220 * emacs-lisp/edebug.el (edebug-eval-defun)
23221 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23222 (edebug-toggle): Avoid `eval'.
23223
23224 * emacs-lisp/disass.el (disassemble-internal): Handle new
23225 `closure' objects.
23226 (disassemble-1): Handle new byte codes.
23227
23228 * emacs-lisp/cl.el (pushnew): Silence warning.
23229
23230 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23231 (cl-byte-compile-throw): Remove.
23232 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23233
23234 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23235 closures.
23236
23237 * emacs-lisp/cconv.el: New file.
23238
23239 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23240 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23241 (byte-compile-initial-macro-environment):
23242 Handle declare-function here.
23243 (byte-compile--lexical-environment): New var.
23244 (byte-stack-ref, byte-stack-set, byte-discardN)
23245 (byte-discardN-preserve-tos): New lap codes.
23246 (byte-interactive-p): Don't use any more.
23247 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23248 New macros.
23249 (byte-compile-lapcode): Use them and handle new lap codes.
23250 (byte-compile-obsolete): Remove.
23251 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23252 (byte-compile-arglist-warn): Check late def of inlinable funs.
23253 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23254 since they should have been expanded by now.
23255 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23256 (byte-compile-from-buffer): Remove unused second arg.
23257 (byte-compile-preprocess): New function.
23258 (byte-compile-toplevel-file-form): New function to distinguish
23259 file-form calls from outside from file-form calls from hunk-handlers.
23260 (byte-compile-file-form): Simplify.
23261 (byte-compile-file-form-defsubst): Remove.
23262 (byte-compile-file-form-defmumble): Simplify now that
23263 byte-compile-lambda always returns a byte-code-function.
23264 (byte-compile): Preprocess.
23265 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23266 Remove, not used any more.
23267 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23268 (byte-compile-make-args-desc): New funs.
23269 (byte-compile-lambda): Handle lexical functions. Always return
23270 a byte-code-function.
23271 (byte-compile-reserved-constants): New var, to make up room for
23272 closed-over variables.
23273 (byte-compile-constants-vector): Obey it.
23274 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23275 (byte-compile-macroexpand-declare-function): New function.
23276 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23277 byte-code-functions.
23278 (byte-compile-form): Check obsolescence here.
23279 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23280 (byte-compile-variable-ref): Remove.
23281 (byte-compile-dynamic-variable-op): New fun.
23282 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23283 (byte-compile-variable-set): New funs.
23284 (byte-compile-discard): Add 2 args.
23285 (byte-compile-stack-ref, byte-compile-stack-set)
23286 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23287 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23288 macroexpand-all instead.
23289 (byte-compile-quote-form): Remove.
23290 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23291 (byte-compile-bind, byte-compile-unbind): New funs.
23292 (byte-compile-let): Handle let* and lexical binding.
23293 (byte-compile-let*): Remove.
23294 (byte-compile-catch, byte-compile-unwind-protect)
23295 (byte-compile-track-mouse, byte-compile-condition-case):
23296 Handle a new :fun-body form, used for lexical scoping.
23297 (byte-compile-save-window-excursion)
23298 (byte-compile-with-output-to-temp-buffer): Remove.
23299 (byte-compile-defun): Simplify.
23300 (byte-compile-stack-adjustment): New fun.
23301 (byte-compile-out): Use it.
23302 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23303
23304 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23305 handler any more.
23306
23307 * emacs-lisp/byte-opt.el: Use lexical binding.
23308 (byte-inline-lapcode): Remove (to bytecomp).
23309 (byte-compile-inline-expand): Pay attention to inlining to/from
23310 lexically bound code.
23311 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23312 any more.
23313 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23314 any more and don't call compiler-macros.
23315 (byte-compile-splice-in-already-compiled-code): Remove.
23316 (byte-code): Don't inline any more.
23317 (disassemble-offset): Receive `bytes' as argument rather than via
23318 dynamic scoping.
23319 (byte-compile-tag-number): Declare before first use.
23320 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
23321 `return' even if make-spliceable.
23322 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
23323 obsolete interactive-p.
23324 (byte-optimize-lapcode): Optimize new lap-codes.
23325 Don't trip up on new form of `byte-constant' lap code.
23326
23327 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
23328
23329 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
23330
23331 * custom.el (custom-initialize-default, custom-declare-variable):
23332 Use `defvar'.
23333
23334 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
23335 New variables.
23336 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
23337 (COMPILE_FIRST): Add macroexp and cconv.
23338 * makefile.w32-in: Mirror changes in Makefile.in.
23339
23340 * vc/cvs-status.el:
23341 * vc/diff-mode.el:
23342 * vc/log-edit.el:
23343 * vc/log-view.el:
23344 * vc/smerge-mode.el:
23345 * textmodes/bibtex-style.el:
090bd7cb 23346 * textmodes/css-mode.el:
03408648
SM
23347 * startup.el:
23348 * uniquify.el:
da91b5f2
CY
23349 * minibuffer.el:
23350 * newcomment.el:
23351 * reveal.el:
23352 * server.el:
23353 * mpc.el:
23354 * emacs-lisp/smie.el:
23355 * doc-view.el:
23356 * dired.el:
03408648
SM
23357 * abbrev.el: Use lexical binding.
23358
0f0c1f27
EZ
233592011-04-01 Eli Zaretskii <eliz@gnu.org>
23360
23361 * info.el (info-display-manual): New function.
23362
c82b2579
SM
233632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
23364
23365 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
23366
221ddf68
TH
233672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
23368
23369 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 23370 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 23371
cba6e77e
GM
233722011-03-31 Glenn Morris <rgm@gnu.org>
23373
e040639f
GM
23374 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
23375
cba6e77e
GM
23376 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
23377
6d0f1c9e
CS
233782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
23379
23380 * progmodes/python.el (python-default-interpreter)
23381 (python-python-command-args, python-jython-command-args)
23382 (python-which-shell, python-which-args, python-which-bufname)
23383 (python-file-queue, python-comint-output-filter-function)
23384 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
23385 variables and functions.
23386
3e2d70fd
SM
233872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
23388
23389 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
23390 (completion-in-region-mode): New minor mode.
23391 (completion-in-region): Use it.
23392 (completion-in-region--data, completion-in-region-mode-map): New vars.
23393 (completion-in-region--postch): New function.
23394 (completion--capf-misbehave-funs, completion--capf-safe-funs):
23395 New vars.
23396 (completion--capf-wrapper): New function.
23397 (completion-at-point): Use it to track well-behavedness of
23398 hook functions.
23399 (completion-help-at-point): New command.
23400
f3e4086c
JM
234012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
23402
23403 * vc/add-log.el (add-change-log-entry): Don't use whitespace
23404 syntax class to search for whitespace on a single line
23405 (Message-ID: <4D938140.4030905@redhat.com>).
23406
eb7ffc14
LL
234072011-03-30 Leo Liu <sdl.web@gmail.com>
23408
23409 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
23410 New commands.
23411 (edit-abbrevs-map): Bind them here.
23412 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
23413
d806ab68
KM
234142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
23415
23416 * allout.el (allout-hide-by-annotation, allout-flag-region):
23417 Reduce possibility of overlay leakage by making them volatile.
23418
23419 * allout-widgets.el (allout-widgets-tally): Define as nil so the
23420 hash is not shared between buffers. Mode initialization is
23421 responsible for giving it a useful starting value.
23422 (allout-item-span): Reduce possibility of overlay leakage by
23423 making them volatile.
23424 (allout-widgets-count-buttons-in-region): Add diagnostic function
23425 for tracking down button overlay leaks.
23426
ea622834
LL
234272011-03-29 Leo Liu <sdl.web@gmail.com>
23428
23429 * ido.el (ido-read-internal): Use the default history var
23430 minibuffer-history if no HISTORY is specified.
23431
b62f8267
G
234322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
23433
03408648
SM
23434 * net/imap.el (imap-shell-open, imap-process-connection-type):
23435 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
23436 Kerberos, SSL, other subprocesses.
23437
947b6566
LL
234382011-03-28 Leo Liu <sdl.web@gmail.com>
23439
23440 * abbrev.el (abbrev-table-empty-p): New function.
23441 (prepare-abbrev-list-buffer): Place empty abbrev tables after
23442 nonempty ones. (Bug#5937)
23443
5ffb62aa
JD
234442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
23445
23446 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
23447
7a097943
LL
234482011-03-27 Leo Liu <sdl.web@gmail.com>
23449
23450 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
23451 for foreground and background colors.
23452 (ansi-color-make-color-map): Adapt.
23453
c5b40130
LL
234542011-03-25 Leo Liu <sdl.web@gmail.com>
23455
1f48f7d2
LL
23456 * midnight.el (midnight-time-float): Remove. Note it calculates
23457 the microsecond component incorrectly and seconds-to-time does the
23458 same job.
625897ec 23459 Remove redundant (require 'timer).
1f48f7d2 23460
c5b40130
LL
23461 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
23462 (ido-completions): Remove unused arguments. (Bug#8329)
23463
d86d2721
SM
234642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
23465
23466 * minibuffer.el (completion--flush-all-sorted-completions):
23467 Remove itself from hook.
23468 (completion-at-point): Let the functions perform the completion
23469 immediately and return nil or t.
23470 * comint.el (comint-dynamic-complete-functions): Now identical to
23471 completion-at-point-functions.
23472 (comint-dynamic-list-input-ring): Remove unused var `index'.
23473 (comint--match-partial-filename, comint--unquote&expand-filename):
23474 New funs, split from comint-match-partial-filename.
23475 (comint-dynamic-complete): Use completion-at-point.
23476 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
23477
e8974c48
DA
234782011-03-24 Drew Adams <drew.adams@oracle.com>
23479
23480 * thingatpt.el: Support `defun'.
23481
def71b5e
LL
234822011-03-23 Leo Liu <sdl.web@gmail.com>
23483
cb5af48e
LL
23484 * abbrevlist.el: Move to obsolete/abbrevlist.el.
23485
def71b5e
LL
23486 * help-mode.el (help-mode-finish): Tweak regexp.
23487
927c53e7
GM
234882011-03-23 Glenn Morris <rgm@gnu.org>
23489
18d05bed
GM
23490 * eshell/esh-opt.el (eshell-eval-using-options):
23491 Do not bind unused local variable `eshell-option-stub'.
23492
927c53e7
GM
23493 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
23494
9d0da923
JB
234952011-03-22 Juanma Barranquero <lekktu@gmail.com>
23496
23497 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
23498 keymap variable in `with-no-warnings' to avoid a warning when the
23499 keymap has been already `defconst'ed.
23500
4b978a67
LL
235012011-03-22 Leo Liu <sdl.web@gmail.com>
23502
23503 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
23504 encode all chars in abbrevs; otherwise use emacs-mule or
23505 utf-8-emacs. (Bug#8308)
23506
5fd62452
JB
235072011-03-22 Juanma Barranquero <lekktu@gmail.com>
23508
0b1596c6
JB
23509 * simple.el (backward-delete-char-untabify):
23510 Avoid warning about using `delete-backward-char'.
23511
5fd62452
JB
23512 * image.el (image-type-file-name-regexps): Make it variable.
23513 `imagemagick-register-types' modifies it, and the user may want
23514 to add new extensions for known image types.
23515 (imagemagick-register-types): Throw error if not using ImageMagick.
23516
0b4e93f1
LL
235172011-03-22 Leo Liu <sdl.web@gmail.com>
23518
23519 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
23520 located before rcirc-prompt-end-marker.
23521 (rcirc-complete): Error if point is not after rcirc prompt.
23522 Handle the case when table is nil.
9882e214 23523 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 23524
fccee4ab
CY
235252011-03-22 Chong Yidong <cyd@stupidchicken.com>
23526
23527 * custom.el (custom--inhibit-theme-enable): Make it affect only
23528 custom-theme-set-variables and custom-theme-set-faces.
23529 (provide-theme): Ignore custom--inhibit-theme-enable.
23530 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
23531 (custom-enabling-themes): Delete variable.
d86d2721
SM
23532 (enable-theme): Accept only loaded themes as arguments.
23533 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
23534 (custom-enabled-themes): Forbid themes from setting this.
23535 Eliminate use of custom-enabling-themes.
23536 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 23537
af896da6
LL
235382011-03-21 Leo Liu <sdl.web@gmail.com>
23539
23540 * ido.el (ido-read-internal): Add ido-selected to history instead
23541 of user input.
23542
78f64af0
SM
235432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
23544
23545 * subr.el (deferred-action-list, deferred-action-function):
23546 Mark obsolete.
23547
b16ac1ec
LL
235482011-03-21 Leo Liu <sdl.web@gmail.com>
23549
810f7698
LL
23550 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
23551 change on 2011-02-13 (bug#8309).
23552
b16ac1ec
LL
23553 * minibuffer.el (read-file-name-function): Change default value.
23554 (read-file-name--defaults): Rename from read-file-name-defaults.
23555 (read-file-name-default): Rename from read-file-name.
23556 (read-file-name): Call read-file-name-function.
23557
4e05e67e
GM
235582011-03-21 Glenn Morris <rgm@gnu.org>
23559
23560 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
23561 Doc fixes.
23562
4359915b
CY
235632011-03-21 Chong Yidong <cyd@stupidchicken.com>
23564
23565 * cus-theme.el: Add missing provide statement.
23566 (customize-create-theme): Extract theme value correctly.
23567 (custom-theme-visit-theme): Autoload.
23568 (customize-create-theme): Prompt before inserting default faces.
23569
1fe275ee
JB
235702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
23571
23572 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
23573 units and musical notes.
23574
cd394be1 235752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
23576
23577 * ido.el (ido-read-internal): Use completing-read-default.
23578 (ido-completing-read): Fix compatibility with completing-read.
23579
7d476bde
CO
235802011-03-20 Christian Ohler <ohler@gnu.org>
23581
23582 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
23583 (ert-delete-all-tests): Use `called-interactively-p' rather than
23584 `interactive-p'.
23585 (ert--make-xrefs-region): Respect END.
23586
fe0fb33e
CY
235872011-03-19 Chong Yidong <cyd@stupidchicken.com>
23588
ff854b0b
CY
23589 * dired-aux.el (dired-create-directory): Signal an error if the
23590 directory already exists (Bug#8246).
23591
fe0fb33e
CY
23592 * facemenu.el (list-colors-display): Call list-faces-display
23593 inside with-help-window.
23594 (list-colors-print): Use display property to align the final
23595 column, instead of checking window-width.
23596
576bce32
EZ
235972011-03-19 Eli Zaretskii <eliz@gnu.org>
23598
4d61f28d 23599 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
23600 windows-nt systems.
23601 (emerge-protect-metachars): Quote correctly for ms-dos and
23602 windows-nt systems.
23603
89c41d68 236042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
23605
23606 * info.el (info-initialize): Replace all uses of `:' with
23607 path-separator for compatibility with non-Unix systems.
23608 Cache quoting of path-separator. (Bug#8258)
23609
b14e3e21 236102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
23611
23612 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
23613 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
23614 (mouse-avoidance-mode): Fix typos in docstrings.
23615
4525ce3e
CY
236162011-03-19 Chong Yidong <cyd@stupidchicken.com>
23617
23618 * startup.el (package-subdirectory-regexp): Move from package.el.
23619 Omit \\` and \\', and let callers add them.
23620
23621 * emacs-lisp/package.el (package-strip-version)
23622 (package-load-all-descriptors): Add \\` and \\' to
23623 package-subdirectory-regexp before using it.
23624 (package-untar-buffer): New arg DIR; ensure that file untars only
23625 into this expected directory. Remove superfluous delete-region.
23626 (package-unpack): Caller changed.
23627 (package-tar-file-info): Use package-subdirectory-regexp.
23628
a904a09a 236292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 23630
a904a09a
SM
23631 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23632 diff-mode-shared-map (bug#8284).
23633 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
23634
236352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23636
23637 * calendar/time-date.el (format-seconds): Use assoc instead of
23638 assoc-string, since assoc-string doesn't exist in XEmacs.
23639
171fc304
JB
236402011-03-17 Juanma Barranquero <lekktu@gmail.com>
23641
23642 * custom.el (custom-known-themes): Reflow docstring.
23643 (custom-theme-load-path): Fix typo in docstring.
23644 (load-theme): Fix typo in error message.
23645 (custom-available-themes, custom-variable-theme-value):
23646 Use `let', not `let*'.
23647
d71990a1
JB
236482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23649
23650 * calc/README: Mention inclusion of musical notes.
23651
23652 * calc/calc-units.el (calc-lu-quant): Rename from
23653 `calc-logunits-quantity'.
23654 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23655 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23656 (calc-db): Rename from `calc-dblevel'.
23657 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23658 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23659 (calc-np): Rename from `calc-nplevel'.
23660 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23661 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23662 (calc-lu-plus): Rename from `calc-logunits-add'.
23663 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23664 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23665 (calc-lu-minus): Rename from `calc-logunits-sub'.
23666 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23667 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23668 (calc-lu-times): Rename from `calc-logunits-mul'.
23669 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23670 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23671 (calc-lu-divide): Rename from `calc-logunits-div'.
23672 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23673 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23674
23675 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23676 functions being autoloaded.
23677
23678 * calc/calc.el (calc-lu-power-reference): Rename from
23679 `calc-logunits-power-reference'.
23680 (calc-lu-field-reference): Rename from
23681 `calc-logunits-field-reference'.
23682
7a71b18d
GM
23683 * calc/calc-help.el (calc-l-prefix-help):
23684 Mention musical note functions.
d71990a1 23685
40c2934b
SM
236862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23687
23688 * minibuffer.el (completion-all-sorted-completions):
23689 Use :completion-cycle-penalty text property if present.
23690
b0911414
KM
236912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23692
23693 * allout.el (allout-yank-processing): Adjust for new rebulleting
23694 regime so bullet being yanked is used without prompting the user
23695 for a choice.
23696
8a05b668
JB
236972011-03-16 Juanma Barranquero <lekktu@gmail.com>
23698
23699 * startup.el (command-line): Warn the user that _emacs is deprecated.
23700
5ba5fb81
JB
237012011-03-16 Juanma Barranquero <lekktu@gmail.com>
23702
23703 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23704 (delphi-verbose, delphi-comment-face, delphi-string-face)
23705 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23706 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23707 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23708 (delphi-new-comment-line, delphi-font-lock-defaults)
23709 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23710 Fix typos in docstrings.
23711
2dab465b
KM
237122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23713
5ba5fb81 23714 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
23715 Invert the roles of character and string values for INSTEAD, so a
23716 string is used for the more common case of a defaulting prompt.
23717
0adf5618
SM
237182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23719
23720 * progmodes/ruby-mode.el (ruby-backward-sexp):
23721 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23722 * play/gamegrid.el (gamegrid-make-face):
23723 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23724 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23725 * notifications.el (notifications-notify):
23726 * net/xesam.el (xesam-search-engines):
23727 * net/quickurl.el (quickurl-list-insert):
23728 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23729
d72700e5
CY
237302011-03-15 Chong Yidong <cyd@stupidchicken.com>
23731
23732 * startup.el (command-line): Update package subdirectory regexp.
23733
49c5410a
SM
237342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23735
c6eee9aa
SM
23736 * allout.el (allout-abbreviate-flattened-numbering)
23737 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23738
49c5410a
SM
23739 * subr.el (read-char-choice): Only show the cursor after the prompt,
23740 not after the answer.
23741
047b2bb9
KR
237422011-03-15 Kevin Ryde <user42@zip.com.au>
23743
23744 * help-fns.el (variable-at-point): Skip leading quotes, if any
23745 (bug#8253).
23746
0a57d256
SM
237472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23748
23749 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23750 warning message.
23751
77c992bc
MA
237522011-03-14 Michael Albinus <michael.albinus@gmx.de>
23753
23754 * shell.el (shell): When called interactively, offer to change the
23755 shell file name on remote hosts.
23756
eebc475d
TZ
237572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23758
23759 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23760 integration for LDAP parameters. The host, base, user or binddn,
23761 and secret tokens can be specified in a netrc file, for instance.
23762 This is optional because an `auth-source' parameter must be
23763 specified in the search attributes.
23764
9d05d1ba
JB
237652011-03-13 Juanma Barranquero <lekktu@gmail.com>
23766
23767 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23768
09d9db2c
GM
237692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23772 into declaration. Remove redundant and harmful binding.
23773
237742011-03-12 Eli Zaretskii <eliz@gnu.org>
23775
23776 * files.el (file-ownership-preserved-p): Pass `integer' as an
23777 explicit 2nd argument to `file-attributes'. If the file's owner
23778 is the Administrators group on Windows, and the current user is
23779 Administrator, consider that a match.
23780
23781 * server.el (server-ensure-safe-dir): Consider server directory
23782 safe on MS-Windows if its owner is the Administrators group while
23783 the current Emacs user is Administrator. Use `=' to compare
23784 numerical UIDs, since they could be integers or floats.
23785
219bd536
JB
237862011-03-12 Juanma Barranquero <lekktu@gmail.com>
23787
23788 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23789
f3afd36b
MA
237902011-03-12 Michael Albinus <michael.albinus@gmx.de>
23791
23792 Sync with Tramp 2.2.1.
23793
23794 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23795
23796 * net/trampver.el: Update release number.
23797
3aaaa6f1
SM
237982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23799
94642599
SM
23800 * progmodes/compile.el (compilation--previous-directory): Fix up
23801 various nil/dead-marker mismatches (bug#8014).
23802 (compilation-directory-properties, compilation-error-properties):
23803 Don't call it at a position past the one we're about to change.
23804
3aaaa6f1
SM
23805 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23806 Disable obsolescence warnings in the file that declares it.
23807
14239447
KM
238082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23809
099c39a4
JB
23810 * allout-widgets.el (allout-widgets-tally):
23811 Initialize allout-widgets-tally as a hash table rather than nil to
23812 prevent mode-line redisplay warnings. Also, clarify the module
23813 description and fix a comment typo.
14239447 23814
135e287c
JB
238152011-03-11 Juanma Barranquero <lekktu@gmail.com>
23816
23817 * help-fns.el (describe-variable): Don't complete keywords.
23818 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23819
ffbf300e
CY
238202011-03-10 Chong Yidong <cyd@stupidchicken.com>
23821
ba08b241
CY
23822 * emacs-lisp/package.el (package-version-join): Impose a standard
23823 string representation for pre/alpha/beta version lists.
23824 (package-unpack-single): Standardize the directory name by passing
23825 it through package-version-join.
23826 (package-strip-rcs-id): Accept any version string that does not
23827 signal an error in version-to-list.
ffbf300e 23828
f346fd6b
MA
238292011-03-10 Michael Albinus <michael.albinus@gmx.de>
23830
23831 * simple.el (delete-trailing-whitespace): Return nil for the
23832 benefit of `write-file-functions'.
23833
ccb55d27
GM
238342011-03-10 Glenn Morris <rgm@gnu.org>
23835
5ceaac0c
GM
23836 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23837
02da65ff
GM
23838 * vc/vc-git.el (vc-git-program): New option.
23839 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23840 (vc-git--call): Use it.
23841
b2f603cc
GM
23842 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23843
5772caab
GM
23844 * cus-edit.el (Custom-newline): If no button at point, look
23845 for a subgroup button at start-of-line. (Bug#2298)
23846
ccb55d27
GM
23847 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23848
ec6ecaed
JD
238492011-03-10 Julien Danjou <julien@danjou.info>
23850
23851 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23852 `cursor-type' is nil.
23853
9d5aa01d
JB
238542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23855
23856 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23857
b6a5875b
KM
238582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23859
7a71b18d 23860 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
23861 preserves the existing header prefix, rebulleting it if necessary,
23862 rather than replacing it. This is necessary for proper operation
23863 of cooperative addons like allout-widgets.
1154d12e
JB
23864 (allout-make-topic-prefix, allout-rebullet-heading):
23865 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23866 value as alternate bullet to be used, instead of prompting the user
23867 for a bullet character.
b6a5875b 23868
ee545c35
MA
238692011-03-09 Michael Albinus <michael.albinus@gmx.de>
23870
d86d2721
SM
23871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23872 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
23873 `tramp-default-port'.
23874
c47971d7
DD
238752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23876
23877 * net/rcirc.el (rcirc-handler-001): Remove useless
23878 with-rcirc-process-buffer.
23879 (rcirc-check-auth-status): Swap arguments to string-match.
23880
13522cb4
GM
238812011-03-09 Glenn Morris <rgm@gnu.org>
23882
0be6f4f1
GM
23883 * shell.el (shell-mode):
23884 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23885
13522cb4
GM
23886 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23887 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23888
515de2e3
CY
238892011-03-08 Chong Yidong <cyd@stupidchicken.com>
23890
23891 * emacs-lisp/package.el (package-refresh-contents)
23892 (package-menu-execute): Use condition-case-no-debug.
23893
b511b994
MA
238942011-03-08 Michael Albinus <michael.albinus@gmx.de>
23895
23896 * simple.el (shell-command-to-string): Use `process-file'.
23897
23898 * emacs-lisp/package.el (package-tar-file-info): Handle also
23899 remote files.
23900
d86d2721
SM
23901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23902 Use `equal' for upload base check.
b511b994 23903
25bbfb31
AM
239042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23905
23906 * textmodes/texinfo.el (texinfo-environments):
23907 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23908
be996521
GM
239092011-03-08 Glenn Morris <rgm@gnu.org>
23910
e9c8529f
GM
23911 * cus-start.el (cursor-in-non-selected-windows):
23912 Fix :set quoting oddness. (Bug#8192)
23913
be996521
GM
23914 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23915 in some setf expressions. (Bug#2159)
23916
2bb5649e
CY
239172011-03-08 Chong Yidong <cyd@stupidchicken.com>
23918
23919 * custom.el (custom-available-themes): Return themes in
23920 alphabetical order.
23921
33383987 23922See ChangeLog.15 for earlier changes.
e3d51b27
MR
23923
23924;; Local Variables:
23925;; coding: utf-8
e3d51b27
MR
23926;; End:
23927
ab422c4d 23928 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
23929
23930 This file is part of GNU Emacs.
23931
23932 GNU Emacs is free software: you can redistribute it and/or modify
23933 it under the terms of the GNU General Public License as published by
23934 the Free Software Foundation, either version 3 of the License, or
23935 (at your option) any later version.
23936
23937 GNU Emacs is distributed in the hope that it will be useful,
23938 but WITHOUT ANY WARRANTY; without even the implied warranty of
23939 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23940 GNU General Public License for more details.
23941
23942 You should have received a copy of the GNU General Public License
23943 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.