From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: memory consumption with pure-space-overflow Date: Sat, 06 May 2006 13:42:38 +0200 Message-ID: References: <34e52d434e5685.34e568534e52d4@net.lu.se> <87y7xv5qv7.fsf@pacem.orebokech.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146921194 30462 80.91.229.2 (6 May 2006 13:13:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 May 2006 13:13:14 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 06 15:13:11 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 1FcMai-0007Nt-IY for ged-emacs-devel@m.gmane.org; Sat, 06 May 2006 15:13:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcMah-0007h7-SP for ged-emacs-devel@m.gmane.org; Sat, 06 May 2006 09:12:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcMaW-0007fD-CN for emacs-devel@gnu.org; Sat, 06 May 2006 09:12:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcMaV-0007eV-QF for emacs-devel@gnu.org; Sat, 06 May 2006 09:12:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcMaV-0007eO-OG for emacs-devel@gnu.org; Sat, 06 May 2006 09:12:47 -0400 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FcMap-0007pY-2d; Sat, 06 May 2006 09:13:07 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.6/8.13.6) with ESMTP id k46DCdJD026969; Sat, 6 May 2006 15:12:39 +0200 (MEST) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 476A8118C0; Sat, 6 May 2006 15:12:37 +0200 (CEST) Original-Received: (nullmailer pid 14015 invoked by uid 170); Sat, 06 May 2006 11:42:38 -0000 Original-To: Richard Stallman X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Followup-To: rms@gnu.org, eliz@gnu.org, emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 05 May 2006 18:14:39 -0400") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-DCC-INFN-TO-Metrics: gemini 1233; Body=3 Fuz1=3 Fuz2=3 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:53996 Archived-At: On Sat, May 06 2006, Richard Stallman wrote: > I had added a similar reference in `command-line-1' which I updated to > refer to "Pure Storage" now. Maybe we should put the common text into > a defconst > > How big is this common text? This text is used twice (once in `normal-splash-screen' and once `fancy-splash-screens-1): Warning Warning!!! Pure space overflow !!!Warning Warning \(See the node Building Emacs in the Lisp manual for details.)\n In `command-line-1' we have a similar text: (display-warning 'initialization "Building Emacs overflowed pure space. (See the node Pure Storage in the Lisp manual for details.)" :warning) > and/or use `display-warning' also in `normal-splash-screen' > and `fancy-splash-screens-1'? > > Use them for what? What problem are you trying to solve? (It's more a minor issue than a problem, but ...) When updating the text, we might forget one of the three occurrences. (See above.) In `normal-splash-screen' and `fancy-splash-screens-1' (one of these is called from `display-splash-screen'), we simply insert the waring into the splash screen. Maybe using `display-warning' would make the warning stand out more clear. E.g. when the user already types something during initialization, the splash screen isn't displayed: ;; If user typed input during all that work, ;; abort the startup screen. Otherwise, display it now. (unless (input-pending-p) (display-splash-screen)))) 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 without having it several times in `startup.el', e.g. using `display-warning' once if `(and pure-space-overflow (not noninteractive))' is t. I will look into this in a few days (I don't have the sources here, ATM), unless . Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/