From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: defcustom and the stars. Date: Thu, 4 Jan 2007 08:57:59 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167930051 13935 80.91.229.12 (4 Jan 2007 17:00:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 17:00:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 04 18:00:49 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H2VxM-0000HN-9F for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 18:00:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2VxL-00073S-Ms for ged-emacs-devel@m.gmane.org; Thu, 04 Jan 2007 12:00:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H2Vwq-00072Q-Hj for emacs-devel@gnu.org; Thu, 04 Jan 2007 12:00:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H2Vwo-00070O-Fz for emacs-devel@gnu.org; Thu, 04 Jan 2007 12:00:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H2Vwo-00070F-7K for emacs-devel@gnu.org; Thu, 04 Jan 2007 12:00:10 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H2Vwn-0002Xf-On for emacs-devel@gnu.org; Thu, 04 Jan 2007 12:00:09 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l04GxpMV022647 for ; Thu, 4 Jan 2007 09:59:51 -0700 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l04GgHWJ014773 for ; Thu, 4 Jan 2007 09:59:50 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt251.oracle.com with ESMTP id 2335154721167929884; Thu, 04 Jan 2007 09:58:04 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Importance: Normal X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= 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:64754 Archived-At: > + ;; If DOC starts with a `*' remove it. > + (when (eq (aref doc 0) ?*) > + (setq doc (substring doc 1))) > > might be ok, but I am not sure it is really right -- it seems > like a hard question. So I would rather leave this alone, for now. Yes. Here is a doc string I have, for instance. "**Completions* window is removed if fewer chars than this are input." Perhaps vanilla Emacs would never have such a doc string, but why invite trouble? Why not just leave any extra `*' there? What's the harm?