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: Minimal patch: Use link face as default for button face Date: Wed, 28 Jun 2006 15:52:25 +0900 Message-ID: References: <449E44B2.1040004@student.lu.se> <449FE549.4020605@student.lu.se> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151477638 10323 80.91.229.2 (28 Jun 2006 06:53:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 06:53:58 +0000 (UTC) Cc: Lennart Borgman , eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 28 08:53:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FvTvk-0005dQ-Fs for ged-emacs-devel@m.gmane.org; Wed, 28 Jun 2006 08:53:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvTvj-00072l-WF for ged-emacs-devel@m.gmane.org; Wed, 28 Jun 2006 02:53:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvTvW-00072T-5B for emacs-devel@gnu.org; Wed, 28 Jun 2006 02:53:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvTvR-000721-RL for emacs-devel@gnu.org; Wed, 28 Jun 2006 02:53:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvTvR-00071q-Hx for emacs-devel@gnu.org; Wed, 28 Jun 2006 02:53:25 -0400 Original-Received: from [203.180.232.83] (helo=mgate03.necel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FvU6m-0007E1-L0; Wed, 28 Jun 2006 03:05:09 -0400 Original-Received: from relay11.aps.necel.com (relay11 [10.29.19.46]) by mgate03.necel.com (8.13.6/8.13.1) with ESMTP id k5S6ash7018067; Wed, 28 Jun 2006 15:52:26 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Wed, 28 Jun 2006 15:52:26 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay11.aps.necel.com with ESMTP; Wed, 28 Jun 2006 15:52:25 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 8C5CA440; Wed, 28 Jun 2006 15:52:25 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Richard Stallman's message of "Tue, 27 Jun 2006 12:14:31 -0400") Original-Lines: 27 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:56240 Archived-At: Richard Stallman writes: > I am not sure if I am correct, but it seems to me that the basic > "button" is indeed a link. Compare help buffers for example. The "button > links" there have the face "button". > > Without rechecking when buttons are used and when links are used, > I don't know how much this is true. Would someone like to check? Well... a button is not "basically a link", as there is no standard default action associated with buttons. Probably the _majority_ of buttons used in the Emacs distrution act basically like links, but there are also certainly those that don't (e.g., in "international/mule-defs.el" it uses a button for changing the sort order of a displayed table). As buttons can be defined hierarchically -- a button's behavior is (usually) defined by its "button-class", and a button-class can inherit from a superclass -- maybe a cleaner way would be to add a standard button-class named "link", and make link-like buttons inherit from it. Then the "link" button class would use the "link" face by default. -Miles -- My spirit felt washed. With blood. [Eli Shin, on "The Passion of the Christ"]