unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9160@debbugs.gnu.org
Subject: bug#9160: 24.0.50; Emacs freezes in *shell* buffer.
Date: Fri, 02 Dec 2011 21:06:59 +0900	[thread overview]
Message-ID: <87mxbbnpng.fsf@m17n.org> (raw)
In-Reply-To: <jwvzkgzpwqf.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 17 Oct 2011 13:12:51 -0400)

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	other threads:[~2011-12-02 12:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 12:07 bug#9160: 24.0.50; Emacs freezes in *shell* buffer Kenichi Handa
2011-08-23  4:49 ` Stefan Monnier
2011-08-25  0:52   ` Kenichi Handa
2011-08-28  5:16     ` Stefan Monnier
2011-09-06  6:19       ` Kenichi Handa
2011-09-20  1:10         ` Stefan Monnier
2011-09-20  5:16           ` Kenichi Handa
2011-10-17 17:12             ` Stefan Monnier
2011-12-02 12:06               ` Kenichi Handa [this message]
2011-12-02 14:45                 ` Stefan Monnier
2011-12-04 13:41                   ` Kenichi Handa
2011-12-04 15:38                     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxbbnpng.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=9160@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).