From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.bugs Subject: Re: The function prin1 prints "..." at the end of a long list. Date: Tue, 15 Apr 2003 17:23:25 +0100 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87k7dvbugy.fsf@indigo.shootybangbang.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050423954 17021 80.91.224.249 (15 Apr 2003 16:25:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 16:25:54 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 18:25:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195TFO-0004OM-00 for ; Tue, 15 Apr 2003 18:25:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195TFz-0006y4-03 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 12:26:03 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 195TFg-0006oV-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 12:25:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 195TFb-0006df-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 12:25:40 -0400 Original-Received: from host217-44-221-152.range217-44.btcentralplus.com ([217.44.221.152] helo=indigo.shootybangbang.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195TF5-00053t-00 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2003 12:25:08 -0400 Original-Received: from jpw by indigo.shootybangbang.com with local (Exim 3.36 #1 (Debian)) id 195TDR-0006Ai-00; Tue, 15 Apr 2003 17:23:25 +0100 Original-To: Matthieu Moy In-Reply-To: (Matthieu Moy's message of "Tue, 15 Apr 2003 17:29:27 +0200") X-Attribution: jpw User-Agent: Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (powerpc-unknown-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4800 Matthieu Moy wrote: >>> The function prin1 sometimes truncates the end of a long list >>> (auto-mode-alist is a good example of such list): >> [This corrupts my SCORE file in Gnus] >>> Now, more fun : I launch another Emacs session, and in the new >>> session, everything works as expected : C-h v auto-mode-alist shows me >>> the full value, and so on. The problem seems to happen randomly, but >>> when it happens once, then, it will continue to happen until the end >>> of the session. >>> >>> I have the same problem on a Solaris box and a Linux (Debian 3.0) box, >>> both with Emacs 21.2. >> >> What is the value of `print-length' in the misbehaving session? Maybe >> some code set rather than bound it to a non-nil value. > > Yep, that's it. The value is 10 in a buggy session, and nil in a > "sane" session. [...] > So, it seems to me that there are actually 2 bugs : > > * Something has set my print-level without my asking for it. This may > be a Gnus bug or an Emacs bug. (Or something obscure in my > configuration, but grep doesn't agree on that ...) On cursory examination I don't see how it would be set rather than bound by Emacs sources, or where it would get the value 10. Have you customized `eval-expression-print-length' or loaded the cust-print library? Perhaps it is set by the debugger/edebug ? > * The dump of the SCORE file does is not protected against incorrect > print-length. This is a Gnus bug. You have suggested a patch to the Gnus maintainers, so this aspect of your bug will fixed by them, I guess.