From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt Price Newsgroups: gmane.emacs.help Subject: basic help evaluating function in an alist Date: Sat, 1 Dec 2012 17:57:16 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1354402643 31860 80.91.229.3 (1 Dec 2012 22:57:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Dec 2012 22:57:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 01 23:57:36 2012 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 1Tew07-0002NM-98 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Dec 2012 23:57:35 +0100 Original-Received: from localhost ([::1]:35462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tevzv-0004W2-Ru for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Dec 2012 17:57:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tevzq-0004Vm-Jy for help-gnu-emacs@gnu.org; Sat, 01 Dec 2012 17:57:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tevzp-00026l-Mg for help-gnu-emacs@gnu.org; Sat, 01 Dec 2012 17:57:18 -0500 Original-Received: from mail-qa0-f41.google.com ([209.85.216.41]:45247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tevzp-00026h-E2 for help-gnu-emacs@gnu.org; Sat, 01 Dec 2012 17:57:17 -0500 Original-Received: by mail-qa0-f41.google.com with SMTP id o19so643387qap.0 for ; Sat, 01 Dec 2012 14:57:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fuJj4DAPXyro5ZqRoe6+NaQAW5KxvsAs5+38T7tJ0f0=; b=O7GrbvT7gEX/o8ARWTZrAzI5FNrwJ8aTALlT4UR5ko6b57Y7ofJqTzVF4gcQN1FrXx o2tiEE5TxEXWorNKFAx34yP+y3kPkEbJhUKDFfQQEPgCP4eS4WnYVUyO9N4LRybsCnjI CcKTYotpAzFYKhyGic5DgKLFafdaFfXXdWcZ4j1jjvT0/JFuQIpgKytEaZf9DNWttdqI dABvD4B+VxJQc3YscCDVZfO6+jE5Q7bAxAUlHLX5ZIx42Bl91k0KtqgSe5z7xYEanx62 oTHf0N7qnyU2TcT+fT7Kh6BWOeYhdQ7FSBdmkOrKao6IOyIkUzh4yfg4jBF3gsvGfSjB Lkzg== Original-Received: by 10.224.52.75 with SMTP id h11mr10019949qag.77.1354402636852; Sat, 01 Dec 2012 14:57:16 -0800 (PST) Original-Received: by 10.49.132.169 with HTTP; Sat, 1 Dec 2012 14:57:16 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.41 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:88005 Archived-At: Hi, i'm trying to figure out what's wrong with this simple code: (add-to-list 'my-winlist '(guide . (selected-window) ) ) (windmove-right) (select-window(cdr(assoc 'guide my-winlist)) ) So, what I would hope happens here is that I add an element (guide . (selected-window)) to an alist, but that the second element would be the actual window object in question, not the text string "(selected-window)". Lisp puzzles me pretty thoroughly so I know I'm missing a very basic feature, but I can't figure it out by flipping through the info pages... Thanks everyone! Matt