all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>,
	eliz@gnu.org, emacs-devel@gnu.org
Subject: Re: Minimal patch: Use link face as default for button face
Date: Wed, 28 Jun 2006 15:52:25 +0900	[thread overview]
Message-ID: <buoejx9rcuu.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <E1FvGCt-000525-Oc@fencepost.gnu.org> (Richard Stallman's message of "Tue, 27 Jun 2006 12:14:31 -0400")

Richard Stallman <rms@gnu.org> 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"]

  reply	other threads:[~2006-06-28  6:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-25  8:09 Minimal patch: Use link face as default for button face Lennart Borgman
2006-06-25 18:38 ` Eli Zaretskii
2006-06-25 19:44   ` Lennart Borgman
2006-06-26  3:27     ` Eli Zaretskii
2006-06-26 11:33   ` Richard Stallman
2006-06-26 13:46     ` Lennart Borgman
2006-06-27 16:14       ` Richard Stallman
2006-06-28  6:52         ` Miles Bader [this message]
2006-06-29 12:59           ` Richard Stallman
2006-06-30  1:54             ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buoejx9rcuu.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.