help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any elisp functions to tell whether the cursor is in a comm


From: Lennart Borgman (gmail)
Subject: Re: Is there any elisp functions to tell whether the cursor is in a comment block?
Date: Wed, 16 Jul 2008 00:19:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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.

I would also suggest adding this information to all elisp files on EmacsWiki. Perhaps this can be done automatically

That doesn't sound like a good idea to me. I think you're asking for trouble,
here.

using the dates the files where added

That's definitely a bad idea, IMO - no necessary relation.

and assuming the files only works for the then current released version of Emacs?

Bad assumption. And what is the "current released version" - moving
target/interpretation.

I would advise against trying to guess compatibility like that. Let library
authors determine and specify the compatibilities explicitly. Else assume
nothing.

I have asked for that before, but nothing happened. That means that the burden is now on the users.

Maybe something like this can be used then:

1) Announce that an automatic change as above will be made unless package authors (or someone else) adds the Compatible label.

2) Do the automatic change after some weeks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]