From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: memory consumption with pure-space-overflow Date: Tue, 09 May 2006 23:44:55 +0300 Organization: JURTA Message-ID: <87u082yov0.fsf@jurta.org> References: <34e52d434e5685.34e568534e52d4@net.lu.se> <87y7xv5qv7.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147216667 14034 80.91.229.2 (9 May 2006 23:17:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 23:17:47 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 01:17:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FdbST-0003Cy-L1 for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 01:17:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbST-0004R8-2d for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 19:17:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdbRh-00047P-Nc for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdbRf-00045j-9A for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdbRf-00045c-3Q for emacs-devel@gnu.org; Tue, 09 May 2006 19:16:47 -0400 Original-Received: from [217.25.160.1] (helo=relay1.binet.com.ua) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdbSl-0004ov-Vy; Tue, 09 May 2006 19:17:56 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by relay1.binet.com.ua (Postfix) with ESMTP id 0FD257A9BD; Wed, 10 May 2006 02:16:43 +0300 (EEST) Original-Received: from mail.binet.com.ua (i61.dialup.binet.com.ua [217.25.161.125]) by relay1.binet.com.ua (Postfix) with ESMTP id 047D67A9BE; Wed, 10 May 2006 02:16:40 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Reiner Steib's message of "Sat, 06 May 2006 13:42:38 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by ClamAv at binet.com.ua X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54152 Archived-At: > Maybe the place in `command-line-1' where I added `display-warning' is > not the best choice or we can simplify displaying the pure space > warning in some other way Another way of displaying the pure space warning is using the %e specifier in the mode line. Currently, it shows the message "!MEM FULL! " in the mode line when the variable Vmemory_full is non-nil. It could display a message "!PURE SPACE OVERFLOW! " in the mode line when the variable pure_bytes_used_before_overflow is non-nil. Regardless whether this is good idea or not, I want to turn attention to the lack of documentation for some %-constructs in the mode line. Below is a list of options currently documented in Info and docstring, and really implemented options (thus spaces denote undocumented options): In the node (info "(elisp)%-Constructs"): bc fFiIlmMnpPst *+&[]-% In the docstring of `mode-line-format': bc fFiIlm npPs zZ*+&[]-% Really implemented in `decode_mode_spec': bcefFiIlm npPstzZ*+&[]-% -- Juri Linkov http://www.jurta.org/emacs/