all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gerd.moellmann@t-online.de (Gerd Moellmann)
Cc: roland@gnu.org, Emacs developers <emacs-devel@gnu.org>
Subject: Re: tags completion bug
Date: 25 Sep 2002 13:16:26 +0200	[thread overview]
Message-ID: <86u1kewc8l.fsf@gerd.free-bsd.org> (raw)
In-Reply-To: <E17u9no-00038x-00@pot.cnuce.cnr.it>

Francesco Potorti` <pot@gnu.org> 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	other threads:[~2002-09-25 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24 14:36 tags completion bug Francesco Potorti`
2002-09-24 15:31 ` Stefan Monnier
2002-09-24 17:27   ` Francesco Potorti`
     [not found] ` <E17tzBe-0001yD-00@fencepost.gnu.org>
2002-09-25 10:53   ` Francesco Potorti`
2002-09-25 11:16     ` Gerd Moellmann [this message]

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=86u1kewc8l.fsf@gerd.free-bsd.org \
    --to=gerd.moellmann@t-online.de \
    --cc=emacs-devel@gnu.org \
    --cc=roland@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.