bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9160: 24.0.50; Emacs freezes in *shell* buffer.


From: Kenichi Handa
Subject: bug#9160: 24.0.50; Emacs freezes in *shell* buffer.
Date: Fri, 02 Dec 2011 21:06:59 +0900

In article <jwvzkgzpwqf.fsf-monnier+emacs@gnu.org>, Stefan Monnier 
<monnier@iro.umontreal.ca> writes:

>>> > (3) Error in post-command-hook for *.tar.gz file.
>>> > % mkdir tmp
>>> > % cd tmp
>>> > % echo abc > abc
>>> > % echo def > def
>>> > % tar cfz temp.tar.gz abc def
>>> > % tar tfz temp<tab>
>>> > Now the command line is correctly completed to:
>>> > % tar tfz temp.tar.gz 
>>> > But, this error is signaled:
>>> > Error in post-command-hook (completion-in-region--postch):
>>> > (wrong-type-argument listp [tar-header #<marker at 513 in  *tar-data
>>> > temp.tar.gz*> abc 436 8308 8308 4 (20069 47563) 4380 nil  ustar  handa 
>>> > handa
>>> > 0 0 nil])
>>> I cannot reproduce this error.  Has it been fixed in the mean time?
> > No.  I still see that error with the above testcase.

> I still cannot reproduce it from "emacs -Q" following your above recipe.

I found that the culprit is large-file-warning-threshold.
When I set it to nil, the above error is signaled.

The docstring of large-file-warning-threshold is this:

------------------------------------------------------------
Maximum size of file above which a confirmation is requested.
When nil, never request confirmation.

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 22.1 of Emacs.
------------------------------------------------------------

So nil is a valid value for this variable.

---
Kenichi Handa
handa@m17n.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]