From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Emacs documentation sources Date: Sat, 29 Sep 2007 01:13:21 +0200 Organization: Organization?!? Message-ID: <851wcibcz2.fsf@lola.goethe.zz> References: <711a73df0709260104l97cb41ft5fee3a882cef05c9@mail.gmail.com> <85ve9x431f.fsf@lola.goethe.zz> <85y7eseiom.fsf@lola.goethe.zz> <858x6reucb.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191022885 28096 80.91.229.12 (28 Sep 2007 23:41:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 23:41:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 01:41:20 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IbPRs-0005H9-K2 for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Sep 2007 01:40:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IbPRo-0008Lo-UK for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 19:40:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:/3cZRlAMP7oB3IGHTMAHpzp1MsA= Original-Lines: 43 Original-NNTP-Posting-Date: 29 Sep 2007 01:13:19 CEST Original-NNTP-Posting-Host: 96c4802e.newsspool4.arcor-online.net Original-X-Trace: DXC=kdT`aTJCM List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47967 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> Date: Thu, 27 Sep 2007 22:17:40 +0200 >> >> > Do you really claim that the size of DOC strings is of no concern at >> > all? >> >> Since they reside in the .elc files and/or the DOC file and are only >> ever loaded into memory temporarily when they are actually consulted, >> they take up only disk space, not main memory. Just like the manual. > > Perhaps you should re-read th relevant sources before you make such > assertions. What I see there is that each displayed doc string is > kept in memory twice, and it remains in memory until the next GC. > > So, temporary or not, the doc strings do in fact occupy memory for > more than a split second. "occupy" is the wrong word for something that goes away on garbage collection. _Everything_ in Emacs touches memory until it gets collected. But DOC strings are not even loaded _until_ you look at them explicitly. So your claim that DOC strings have to be kept terse for memory conversation reasons is plain and unadulterated nonsense. And this utterly silly smokescreen followup thread (where you, quite prudently, snip out the original _relevant_ wrong claim of yours time and again in order to argue some less embarrassing points) does not change that. We might as well call it quits. Again, here is your quote which started this: Doc strings not always target newbies, because they cannot be too wordy (due to considerations of memory footprint of the running Emacs). Please don't omit this quote if you feel you want to continue to pretend defending it. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum