From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: Is there any elisp functions to tell whether the cursor is in a comment block?
Date: Thu, 17 Jul 2008 20:40:07 +0300 [thread overview]
Message-ID: <87d4lcl894.fsf@kobe.laptop> (raw)
In-Reply-To: mailman.14800.1216160423.18990.help-gnu-emacs@gnu.org
On Wed, 16 Jul 2008 00:19:26 +0200, "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
> Drew Adams wrote:
>>> I would suggest a shorter version of the compatibility line, like
>>> ;; Compatibility: Emacs=20.*,21.*,22.* XEmacs=unknown
>>
> ...
>> That kind of thing is not much of a problem if it is only people that read a
>> Compatibility field. But if tools do that, then there would need to be a
>> well-defined syntax to communicate the various possibilities unambiguously.
>
> Sure.
>
>> `unknown' doesn't seem useful to me. But how should absence be interpreted, in
>> general: as unknown or incompatible?
>
> Maybe
>
> ;; Compatible: Emacs=21.*,22.*
> ;; Incompatible: Emacs=20.*, XEmacs
>
> And absence == unknown.
That's probably a good idea. Something like the Debian dependency
system, with tags like
>= GNU Emacs 21.1
may also be nice. The FreeBSD ports have a ${CONFLICTS} makefile
convention that may be useful too. The editors/emacs and
editors/emacs-devel ports install files with the same name, so they
include ${CONFLICTS} like this:
CONFLICTS= emacs-19.* emacs-21.* emacs-22.* \
xemacs-[0-9]* xemacs-devel-[0-9]* \
xemacs-mule-[0-9]* xemacs-devel-mule-[0-9]*
We could probably use something similar to mark up compatibility
comments, i.e.:
;; Compatible: emacs-21.*, emacs-22.*, xemacs-21.3
;; Incompatible: emacs-19.*, emacs-20.*, xemacs-21.4
next prev parent reply other threads:[~2008-07-17 17:40 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-13 5:06 Is there any elisp functions to tell whether the cursor is in a comment block? sunway
2008-07-13 9:53 ` Johan Bockgård
2008-07-13 17:55 ` Joe Bloggs
2008-07-13 19:03 ` Johan Bockgård
2008-07-14 1:36 ` Joe Bloggs
2008-07-14 1:49 ` Johan Bockgård
2008-07-14 1:36 ` sunway
2008-07-14 15:05 ` Joe Bloggs
2008-07-14 15:44 ` Lennart Borgman (gmail)
[not found] ` <mailman.14707.1216050306.18990.help-gnu-emacs@gnu.org>
2008-07-14 20:10 ` Joe Bloggs
2008-07-14 23:20 ` Lennart Borgman (gmail)
2008-07-14 23:43 ` Drew Adams
2008-07-14 23:49 ` Lennart Borgman (gmail)
2008-07-15 6:02 ` Drew Adams
[not found] ` <mailman.14727.1216079418.18990.help-gnu-emacs@gnu.org>
2008-07-15 22:27 ` David Kastrup
2008-07-20 13:59 ` Eli Zaretskii
2008-07-15 1:27 ` Tom Tromey
2008-07-15 7:31 ` Lennart Borgman (gmail)
2008-07-15 14:15 ` Drew Adams
2008-07-15 20:50 ` Lennart Borgman (gmail)
2008-07-15 21:21 ` Drew Adams
2008-07-15 21:34 ` Lennart Borgman (gmail)
2008-07-15 22:06 ` Drew Adams
2008-07-15 22:19 ` Lennart Borgman (gmail)
2008-07-15 22:32 ` Drew Adams
2008-07-15 22:47 ` Lennart Borgman (gmail)
2008-07-15 22:53 ` Drew Adams
[not found] ` <mailman.14800.1216160423.18990.help-gnu-emacs@gnu.org>
2008-07-17 17:40 ` Giorgos Keramidas [this message]
2008-07-17 17:30 ` Giorgos Keramidas
2008-07-19 15:17 ` Joe Bloggs
2008-07-20 0:10 ` Giorgos Keramidas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d4lcl894.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.