unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: Tom Lord <lord@cygnus.com>, emacs-devel@gnu.org
Subject: Re: arch taglines for emacs
Date: 22 Aug 2003 10:47:06 +0900	[thread overview]
Message-ID: <buo3cfu4g6d.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <87oeyji6zb.fsf@deneb.enyo.de>

Florian Weimer <fw@deneb.enyo.de> 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

  reply	other threads:[~2003-08-22  1:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-19  3:55 arch taglines for emacs Miles Bader
2003-08-20  2:42 ` Richard Stallman
2003-08-20  2:54   ` Miles Bader
2003-08-20  3:03     ` Tom Lord
2003-08-21 14:11       ` Richard Stallman
2003-08-21 14:56         ` Tom Lord
2003-08-23  3:59     ` Richard Stallman
2003-08-23 14:02       ` Tom Lord
2003-08-24 18:00         ` Richard Stallman
2003-08-24 18:00         ` Richard Stallman
2003-08-24 18:59           ` Tom Lord
2003-08-24 19:38             ` Jonathan Walther
2003-08-24 19:44               ` [Gnu-arch-users] " Tom Lord
2003-08-25  1:59             ` Miles Bader
2003-08-25  2:08               ` Tom Lord
2003-08-26  1:38               ` Richard Stallman
     [not found] ` <87he4cfkhf.fsf@mail.jurta.org>
2003-08-21  4:36   ` Miles Bader
2003-08-22 20:54     ` Juri Linkov
2003-08-21 11:29 ` Florian Weimer
2003-08-22  1:47   ` Miles Bader [this message]
2003-08-22 12:07     ` Andreas Schwab
2003-08-22 20:55       ` Miles Bader
  -- strict thread matches above, loose matches on Subject: below --
2003-09-01 16:03 Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buo3cfu4g6d.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=lord@cygnus.com \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).