From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Fix previous-button to work with connected buttons Date: Sun, 11 Mar 2007 21:53:28 +0900 Message-ID: <87odn054c7.fsf@catnip.gol.com> References: <87wt1o8xl6.fsf@x3y2z1.net> <873b4c7b2f.fsf@catnip.gol.com> <87tzws5mx0.fsf@catnip.gol.com> <85mz2krqwj.fsf@lola.goethe.zz> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173617645 31495 80.91.229.12 (11 Mar 2007 12:54:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2007 12:54:05 +0000 (UTC) Cc: Stefan Monnier , Diane Murray , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 11 13:53:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HQNYi-00041r-Tw for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 13:53:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQNZG-0003Ep-Ck for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 07:54:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQNZ6-0003Ej-14 for emacs-devel@gnu.org; Sun, 11 Mar 2007 08:54:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQNZ3-0003EX-MA for emacs-devel@gnu.org; Sun, 11 Mar 2007 08:54:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQNZ3-0003EU-F6 for emacs-devel@gnu.org; Sun, 11 Mar 2007 07:54:17 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HQNYN-0006cI-Fs; Sun, 11 Mar 2007 08:53:35 -0400 Original-Received: from 203-216-97-073.dsl.gol.ne.jp ([203.216.97.73] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1HQNYH-0001PA-Lp; Sun, 11 Mar 2007 21:53:29 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 106262F4B; Sun, 11 Mar 2007 21:53:28 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <85mz2krqwj.fsf@lola.goethe.zz> (David Kastrup's message of "Sun\, 11 Mar 2007 11\:55\:08 +0100") Original-Lines: 15 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67715 Archived-At: David Kastrup writes: >> Hmm. Any reason to waste a cons-cell? I imagine something like >> (cons 'button (cons (setq button-counter (1+ button-counter)) properties)) > ^^^^^^ >> would work as well. > > How about (cons 'button (cons (car properties) (cdr properties)))? > > That provides an EQ-unique value without all the added fluff. It's also an invalid property-list... :-/ -Miles -- Fast, small, soon; pick any 2.