From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: lost argument and doc string Date: 13 Feb 2002 19:50:17 +0000 Message-ID: References: <20020212.062332.60851732.Takaaki.Ota@am.sony.com> <20020212.114825.01368903.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013641938 525 195.204.10.66 (13 Feb 2002 23:12:18 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 23:12:18 GMT Cc: eliz@is.elta.co.il, lektu@terra.es, emacs-devel@gnu.org, andrewi@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16b8ZV-00008H-00 for ; Thu, 14 Feb 2002 00:12:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b8L7-0002XB-00; Wed, 13 Feb 2002 17:57:25 -0500 Original-Received: from gadolinium.btinternet.com ([194.73.73.111]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b5XV-0001Z7-00; Wed, 13 Feb 2002 14:58:02 -0500 Original-Received: from host213-1-65-101.in-addr.btopenworld.com ([213.1.65.101] helo=nyaumo.btinternet.com) by gadolinium.btinternet.com with esmtp (Exim 3.22 #8) id 16b5XN-00065M-00; Wed, 13 Feb 2002 19:57:54 +0000 Original-Received: from nyaumo.btinternet.com (localhost [127.0.0.1]) by nyaumo.btinternet.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id TAA00725; Wed, 13 Feb 2002 19:50:18 GMT Original-To: Tak Ota In-Reply-To: <20020212.114825.01368903.Takaaki.Ota@am.sony.com> Original-Lines: 44 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.90 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1095 Tak Ota writes: > --- lib-src/make-docfile.c Tue Feb 12 11:28:01 2002 > *************** > *** 911,925 **** > else > while (c != ')') > c = getc (infile); > - skip_white (infile); > > ! /* If the next three characters aren't `dquote bslash newline' > ! then we're not reading a docstring. > ! */ > ! if ((c = getc (infile)) != '"' > ! || (c = getc (infile)) != '\\' > ! || ((c = getc (infile)) != '\n' && c != '\r')) > ! { > #ifdef DEBUG > fprintf (stderr, "## non-docstring in %s (%s)\n", > buffer, filename); > --- 911,920 ---- > else > while (c != ')') > c = getc (infile); > > ! skip_white (infile); > ! if ((c = getc (infile)) != '\"') > ! { > #ifdef DEBUG > fprintf (stderr, "## non-docstring in %s (%s)\n", > buffer, filename); Be careful that the following does the right thing: (defvar string-variable "String value" "\ This is the documentation for a string variable.") That seems like the only logical reason for the current convention. -- Jason Rumney _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel