Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Steven E. Harris" <seh@panix.com>
To: info-gnus-english@gnu.org
Subject: Re: expanding the article window
Date: Sat, 01 Sep 2007 09:58:21 -0700	[thread overview]
Message-ID: <837inaqq49.fsf@torus.sehlabs.com> (raw)
In-Reply-To: <84odgnd430.fsf@blade3.toledo.com>

dbast0s@yahoo.com.br (Daniel C. Bastos) writes:

> What's the difference between ?\+ and [(w)]. I suppose the second is
> an array of lists? But what about the '?' in the first? What does it
> do?

The first one is an atom -- a character -- while the second is an array
(or vector) composed of one list with one symbol.

See the Lisp Reference Section 8.4.3 for a discussion of the syntax for
denoting characters; that's where the question mark and backslash come
from. It's analogous to the "#\" ("sharpsign backslash") read macro in
Common Lisp, though the backslash isn't always necessary in Emacs Lisp.

For the vector, see the Lisp Reference Section 8.4.9. The read syntax
automatically quotes the values, so it's not necessary to quote the "w"
symbol above. This syntax is similar to the "#nA" ("sharpsign A") read
macro in Common Lisp, where the vector above can be written "#1A((w))".

-- 
Steven E. Harris

  reply	other threads:[~2007-09-01 16:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24 17:41 Daniel C. Bastos
2007-08-24 19:03 ` Daniel C. Bastos
2007-08-24 20:29   ` Steven E. Harris
2007-08-25 21:12     ` Daniel C. Bastos
2007-08-26 17:02       ` Steven E. Harris
2007-08-27 14:30         ` Daniel C. Bastos
2007-08-27 16:13           ` Daniel C. Bastos
     [not found]             ` <7yodgr8qu9.fsf@fillmore.spawar.navy.mil>
2007-08-29 20:09               ` Daniel C. Bastos
2007-08-30  1:30                 ` Steven E. Harris
2007-08-31 17:08                   ` Daniel C. Bastos
2007-09-01 16:58                     ` Steven E. Harris [this message]
     [not found]           ` <84r6lpymyk.fsf@blade3.tol\x04edo.com>
     [not found]             ` <7yr6ln47az.fsf@fillmore.spawar.navy.mil>
2007-08-29 20:00               ` Daniel C. Bastos
2007-08-30  1:25                 ` Steven E. Harris

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=837inaqq49.fsf@torus.sehlabs.com \
    --to=seh@panix.com \
    --cc=info-gnus-english@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 NNTP newsgroup(s).