From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: arch taglines for emacs Date: 22 Aug 2003 10:47:06 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87oeyji6zb.fsf@deneb.enyo.de> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061541639 11518 80.91.224.253 (22 Aug 2003 08:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 08:40:39 +0000 (UTC) Cc: Tom Lord , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Aug 22 10:40:36 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19q7TI-0005mY-00 for ; Fri, 22 Aug 2003 10:40:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19q7XO-0005qt-00 for ; Fri, 22 Aug 2003 10:44:51 +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 19q6Sr-0002Pq-Bm for emacs-devel@quimby.gnus.org; Fri, 22 Aug 2003 03:36:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19q4FR-0008VN-1w for emacs-devel@gnu.org; Fri, 22 Aug 2003 01:14:05 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19q1CD-0007J5-Ta for emacs-devel@gnu.org; Thu, 21 Aug 2003 21:59:05 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.20) id 19q11z-0004Mj-In; Thu, 21 Aug 2003 21:47:59 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.186]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h7M1l8f15110; Fri, 22 Aug 2003 10:47:08 +0900 (JST) Original-Received: from mailsv.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate3.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h7M1l7Y21334; Fri, 22 Aug 2003 10:47:08 +0900 (JST) Original-Received: from edtmg02.lsi.nec.co.jp ([10.26.16.202]) by mailsv.nec.co.jp (8.11.6/3.7W-MAILSV-NEC) with ESMTP id h7M1l7Y13248; Fri, 22 Aug 2003 10:47:07 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg02.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id KAA16448; Fri, 22 Aug 2003 10:47:07 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.8/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h7M1l6NH008816; Fri, 22 Aug 2003 10:47:06 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 28DE43723; Fri, 22 Aug 2003 10:47:06 +0900 (JST) Original-To: Florian Weimer System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87oeyji6zb.fsf@deneb.enyo.de> Original-Lines: 50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16058 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16058 Florian Weimer writes: > #define ARCH_TAG "arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89" > > This would avoid the problem with placing " */". Hmmm, using `#define' is also ugly, but it doe avoid the end-delimiter problem. For compatibility with the proposed new embedded-tag format, it should actually not include the quotes: #define ARCH_TAG arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89 would be the same as the (proposed) new format: /* arch-id: "53bb84c6-dee0-46c6-a275-2db144993d89" */ Presuming Tom thinks it's likely that the `new format' will eventually come to pass in something like it's current form (or rather with something like the properties Tom's proposal suggests), I'll probably go ahead and add the tags using the old format, either using (1) /* arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89 */ or (2) /* arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89 (do not change this comment, even a little bit) */ or (3) #define ARCH_TAG arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89 or even (4) #define DONT_TOUCH arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89 Presumably in the time until the `new format' gets implemented, the danger of tags getting inadvertently perturbed is reasonably low, so any of these is basically fine. Personally I'm inclined to go with (2), as it's a little less ugly than the `#define' forms, and hopefully the warning is enough to keep the newline safe -- and it seems like the best form to have in the code base in the case that no new embedded-tag format ever gets implemented. -Miles -- 80% of success is just showing up. --Woody Allen