emacs-devel
[Top][All Lists]
Advanced

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

Re: tags completion bug


From: Gerd Moellmann
Subject: Re: tags completion bug
Date: 25 Sep 2002 13:16:26 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Francesco Potorti` <address@hidden> writes:

> I see that in etags-tags-completion-table you added the characters
> "+*:?"  as legitimate in an identifier.  Stefan Monnier on emacs-devel
> pointed out that the asterisk is used in Common Lisp.  What are the
> other characters for?

`+' is conventionally used in Common Lisp for constants like
(defconstant +a-constant+ 42).

`?' is used in Scheme (and sometimes in CL) for predicates, for
instance `(define (some-predicate? x) ...)'.

Alas, I don't remember what the `:' is for.  Maybe for symbols, in CL,
that include package names, like in `(defun some-package:some-symbol
() ...)'?

> I'd like to write this info in a comment inside the function.
> 
> Also, would it be reasonable to use \(\sw\|\s_\), instead of the
> bracketed lists of characters?

I guess that would make sense.

I could think of other characters that are currently not in the
completion table, like `!' that's used in Scheme, as in `(define
(modify!  something) ...)', or maybe `%' that's conventionally used in
CL for internal-use-only functions, `(defun %internal-function ()
...)'.




reply via email to

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