unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: djfiander <david@fiander.info>
To: help-gnu-emacs@gnu.org
Subject: Re: Comparing against the single-quote symbol '
Date: Tue, 10 Jun 2008 10:25:02 -0700 (PDT)	[thread overview]
Message-ID: <6c908ea1-4718-4599-bce2-e93577614c0d@l64g2000hse.googlegroups.com> (raw)
In-Reply-To: 85tzg1w75d.fsf@lola.goethe.zz

On Jun 10, 1:07 pm, David Kastrup <d...@gnu.org> wrote:
>
> Sure.  The symbol \' has no variable value by default.  If you don't
> want to access its variable value but rather its symbol, you need to
> quote it.  And sure enough
> '\'
> works just fine (even though it looks misleadingly symmetric).

Of course, if you want to see if the variable 'prefix' contains the a
single quote character, then you probably want to say

    (equal prefix ?')

- David


  reply	other threads:[~2008-06-10 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10 16:50 Comparing against the single-quote symbol ' Nordlöw
2008-06-10 17:07 ` David Kastrup
2008-06-10 17:25   ` djfiander [this message]
2008-06-10 21:06     ` Nordlöw
2008-06-10 21:46 ` Nikolaj Schumacher

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c908ea1-4718-4599-bce2-e93577614c0d@l64g2000hse.googlegroups.com \
    --to=david@fiander.info \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).