unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alexis <flexibeast@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Trouble setting a variable to a list
Date: Sat, 18 Oct 2014 14:10:19 +1100	[thread overview]
Message-ID: <874mv2f4x6.fsf@gmail.com> (raw)
In-Reply-To: <f1f78318-871f-4e08-aff5-0a1d3e1623fd@googlegroups.com>


Chris Seberino writes:

> I tried to set the following variable to a list of strings....
>
> (setq buffers-to-skip
>       '("*scratch*", "*Messages*", "*Echo Area 0*", "*Echo Area 1*",
>                                  "*Minibuf-0*", "*Minibuf-1*", "*Buffer List*"))
>
>
> When I tried to use it and debug the problem I saw the list looked like this...
>
> ("*scratch*"
>  (\, "*Messages*")
>  (\, "*Echo Area 0*")
>  (\, "*Echo Area 1*")
>  (\, "*Minibuf-0*")
>  (\, "*Minibuf-1*")
>  (\, "*Buffer List*"))
>
>
> Why the \'s showed up?

You're using commas to separate items in your list, but elements of
lists are separated by spaces. Trying removing all the commas.


Alexis.




      parent reply	other threads:[~2014-10-18  3:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  2:33 Trouble setting a variable to a list Chris Seberino
2014-10-18  3:04 ` Drew Adams
2014-10-18  3:10 ` Alexis [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

  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=874mv2f4x6.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --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).