From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: djfiander Newsgroups: gmane.emacs.help Subject: Re: Comparing against the single-quote symbol ' Date: Tue, 10 Jun 2008 10:25:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6c908ea1-4718-4599-bce2-e93577614c0d@l64g2000hse.googlegroups.com> References: <59b99487-d20b-4381-8a11-6d8b7d31f4ad@d45g2000hsc.googlegroups.com> <85tzg1w75d.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213119786 20905 80.91.229.12 (10 Jun 2008 17:43:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 17:43:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 10 19:43:49 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K67sa-0002ck-5r for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jun 2008 19:43:32 +0200 Original-Received: from localhost ([127.0.0.1]:47297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K67rm-0000cX-KY for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jun 2008 13:42:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 129.100.104.103 Original-X-Trace: posting.google.com 1213118703 13510 127.0.0.1 (10 Jun 2008 17:25:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 10 Jun 2008 17:25:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=129.100.104.103; posting-account=blhYNgoAAAAPYQQ5mrbSbQ2zqqJJniXD User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159317 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54673 Archived-At: On Jun 10, 1:07 pm, David Kastrup 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