unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: arch taglines for emacs
Date: 22 Aug 2003 23:54:02 +0300	[thread overview]
Message-ID: <87u189e7md.fsf@mail.jurta.org> (raw)
In-Reply-To: <buozni3wrsx.fsf@mcspd15.ucom.lsi.nec.co.jp>

Miles Bader <miles@lsi.nec.co.jp> writes:
> RCS keywords are a form of communication from RCS to the human reader of
> the source code.  Arch taglines, on the other hand, are strictly for the
> use of arch (though I suppose you could choose to use them for similar
> purposes in other tools).  RCS tags change (which can be a huge source
> of problems).  Arch taglines _never_ -- by definition -- change.

You are right: RCS tags have a different purpose.  But what I propose
is only to use the same format, i.e. to enclose arch tags in the $ characters.
This solves many problems: special comment delimiters are not needed anymore,
the $ character delimits the arch tag; whitespace is allowed inside the
arch tag: all whitespace until the $ character is considered as part of tag.
There is no need in special warning (e.g. "Do not change this comment"),
because users already know that everything inside the $ characters
shouldn't be changed manually.

> Because taglines are meant for arch, not for the user, you also probably
> don't want them in a very user-visible location; also arch only searches
> for them in the first and last 1024-byte blocks of the file.

Limiting the search by some constant value is not a good thing.
I have a bad experience with time-stamp Emacs feature.  It limits its
search for a Time-stamp tag by only first 8 lines.  Sometimes, the
line with a Time-stamp tag gets accidentally shifted below 8 lines
(by adding new comment lines above it) and becomes invisible for
time-stamp to update it.  So I would also propose to disable default
limits for time-stamp by setting the default value of the variable
`time-stamp-line-limit' to 0.

> You are right that a less strictly line-oriented syntax would be more
> convenient (in fact such a syntax is being discussed right now on
> gnu-arch-users, in case you're reading this on emacs-devel).

OK, I continued this discussion on gnu-arch-users.

-- 
http://www.jurta.org/emacs/

  reply	other threads:[~2003-08-22 20:54 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 [this message]
2003-08-21 11:29 ` Florian Weimer
2003-08-22  1:47   ` Miles Bader
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=87u189e7md.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@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).