all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: File local variable name containing ':'
Date: Fri, 03 Sep 2010 23:27:08 +0200	[thread overview]
Message-ID: <jwviq2m34ju.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87lj7ihp3c.fsf@stats.ox.ac.uk> (Dan Davison's message of "Fri, 03 Sep 2010 10:35:35 -0400")

> Fair enough. What about requiring that the separating colon is followed
> by whitespace. Is the backwards incompatibility cost too high there?

We could do that.  E.g. if there's only 1 colon, we know what to do, and
if there's more than 1 we can force the separating one to be followed by
something like [[ "(].

> Or could colons in the variable name be escaped with a backslash?

That would be a good simple and reliable option, indeed, since a\:b
already represents the same symbol as a:b in Elisp.


        Stefan



      reply	other threads:[~2010-09-03 21:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-02 23:56 File local variable name containing ':' Dan Davison
2010-09-03  7:57 ` Andreas Schwab
2010-09-03 10:53 ` Stefan Monnier
2010-09-03 14:35   ` Dan Davison
2010-09-03 21:27     ` Stefan Monnier [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=jwviq2m34ju.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=davison@stats.ox.ac.uk \
    --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 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.