From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Trouble setting a variable to a list Date: Fri, 17 Oct 2014 20:04:06 -0700 (PDT) Message-ID: <07d11cd7-a3c3-4978-8ede-d49c328750f5@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413601489 2494 80.91.229.3 (18 Oct 2014 03:04:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 03:04:49 +0000 (UTC) To: Chris Seberino , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 05:04:42 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XfKJt-0006A7-JV for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 05:04:41 +0200 Original-Received: from localhost ([::1]:35281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfKJs-0001MY-Nv for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 23:04:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfKJZ-0001M7-PD for help-gnu-emacs@gnu.org; Fri, 17 Oct 2014 23:04:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfKJQ-0008Cp-V0 for help-gnu-emacs@gnu.org; Fri, 17 Oct 2014 23:04:21 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:39820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfKJQ-0008Cd-O7 for help-gnu-emacs@gnu.org; Fri, 17 Oct 2014 23:04:12 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s9I348KB027042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 18 Oct 2014 03:04:09 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s9I347aE006782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 18 Oct 2014 03:04:08 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s9I346s1015137; Sat, 18 Oct 2014 03:04:07 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100490 Archived-At: > I tried to set the following variable to a list of strings.... >=20 > (setq buffers-to-skip > '("*scratch*", "*Messages*", "*Echo Area 0*", "*Echo Area 1*", > "*Minibuf-0*", "*Minibuf-1*", > "*Buffer List*")) >=20 > When I tried to use it and debug the problem I saw the list looked > like this... >=20 > ("*scratch*" > (\, "*Messages*") > (\, "*Echo Area 0*") > (\, "*Echo Area 1*") > (\, "*Minibuf-0*") > (\, "*Minibuf-1*") > (\, "*Buffer List*")) >=20 > Why the \'s showed up? Drop the commas (,): (setq buffers-to-skip '("*scratch*" "*Messages*" "*Echo Area 0*" "*Echo Area 1*" "*Minibuf-0*" "*Minibuf-1*" "*Buffer List*"))