From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Invisible colons in Emacs Info. Date: Thu, 03 Jul 2003 20:12:34 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307040012.h640CY1B015117@rum.cs.yale.edu> References: <200307010003.h6103d623188@f7.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057277554 30473 80.91.224.249 (4 Jul 2003 00:12:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 00:12:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 04 02:12:31 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19YEBj-0007vL-00 for ; Fri, 04 Jul 2003 02:12:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19YEJs-0000iD-00 for ; Fri, 04 Jul 2003 02:20:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YEC9-0003MJ-0U for emacs-devel@quimby.gnus.org; Thu, 03 Jul 2003 20:12:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19YEBr-0003LD-II for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:12:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19YEBp-0003Ip-Ak for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:12:38 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YEBp-0003IG-0i for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:12:37 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h640CZHl015119; Thu, 3 Jul 2003 20:12:35 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h640CY1B015117; Thu, 3 Jul 2003 20:12:34 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: karl@freefriends.org (Karl Berry) Original-cc: monnier+gnu/emacs@cs.yale.edu Original-cc: teirllm@dms.auburn.edu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15356 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15356 > Stefan and Karl pointed out that condition 2 used not to be necessary > > And condition 1 did not obtain; colons were not allowed. I thought the idea was to allow colons such that previously invalid entries (with colons) are now allowed. I think previously valid entries should stay valid. > If we want 1. but not 2. then things become much more complicated and > precise specs would need to be agreed upon. > > 1-but-not-2 requires the "real fix" or "better solution" or whatever you > want to call it, as far as I can tell. (Quoting syntax.) > > Problem is that it still fails on: > > * name1:foo:node. des:cription. > > because it thinks the menu entry name is "name1:foo:node. des" > and the node name is "cription". I'm sure we can tune the disambiguation > by saying that menu entries can have `:' but cannot have `.' after the `:' > or some other such heuristic. > > Huh? According to the rule above, the above is invalid because it lacks > a space, right? Indeed, it's not a big deal: it was not valid before and it's not valid now either. It's thus a non-issue. Sorry for not noticing it. > If that's what you were saying. > It's simpler both to understand and to implement to just require : > as a separator. Or :, I suppose. Well, actually my regexp implementation is simpler than the hand-parsing code that was used before, AFAICT. Stefan