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: Mon, 12 Mar 2007 07:52:12 +0900 Message-ID: <87ird75r6r.fsf@catnip.gol.com> References: <87wt1o8xl6.fsf@x3y2z1.net> <873b4c7b2f.fsf@catnip.gol.com> <87tzws5mx0.fsf@catnip.gol.com> 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 1173653563 18560 80.91.229.12 (11 Mar 2007 22:52:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2007 22:52:43 +0000 (UTC) Cc: Diane Murray , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 11 23:52:36 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 1HQWu2-0002NO-Hu for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 23:52:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQWuc-0001qV-VO for ged-emacs-devel@m.gmane.org; Sun, 11 Mar 2007 17:53:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HQWuR-0001m6-Sq for emacs-devel@gnu.org; Sun, 11 Mar 2007 18:52:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HQWuQ-0001gX-CW for emacs-devel@gnu.org; Sun, 11 Mar 2007 18:52:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HQWuQ-0001gM-9K for emacs-devel@gnu.org; Sun, 11 Mar 2007 17:52:58 -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 1HQWtm-0004dp-99; Sun, 11 Mar 2007 18:52:18 -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 1HQWtj-0002Qg-Bg; Mon, 12 Mar 2007 07:52:15 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 5A7612F4B; Mon, 12 Mar 2007 07:52:13 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Stefan Monnier's message of "Sun\, 11 Mar 2007 17\:46\:19 -0400") Original-Lines: 17 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:67754 Archived-At: Stefan Monnier writes: >> I imagine something like >> (cons 'button (cons (setq button-counter (1+ button-counter)) properties)) >> would work as well. > > Sure. Except for wraparounds, of course. Not that they're likely. A simple wrap-around wouldn't cause any problem either -- really it only matters that _adjacent_ buttons (with no intervening text between them) have different values. -miles -- (\(\ (^.^) (")") *This is the cute bunny virus, please copy this into your sig so it can spread.