all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Bug in change in button.el?
Date: Tue, 24 Apr 2007 17:59:25 -0400	[thread overview]
Message-ID: <eqzm4x8mde.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1HgSf8-0003F4-9D@fencepost.gnu.org> (Richard Stallman's message of "Tue, 24 Apr 2007 17:35:02 -0400")

Richard Stallman wrote:

> Do you mean the change to inherit from `link'?
> I thought we did not want buttons to look just like links.
> Also, what the definition of `link' does is use color and underlining
> together, although each one of them works only when supported.

Then I guess this change is better. The (type pc) test can be removed
if MS-DOS correctly answers the (supports) question.


*** button.el	23 Apr 2007 03:32:12 -0000	1.27
--- button.el	24 Apr 2007 22:00:18 -0000
***************
*** 52,62 ****
  ;; Globals
  
  ;; Use color for the MS-DOS port because it doesn't support underline.
- ;; Also for the linux console.
  (defface button '((((type pc) (class color))
  		   (:foreground "lightblue"))
! 		  (((type tty)) (:inherit link))
! 		  (t :underline t))
    "Default face used for buttons."
    :group 'basic-faces)
  
--- 52,61 ----
  ;; Globals
  
  ;; Use color for the MS-DOS port because it doesn't support underline.
  (defface button '((((type pc) (class color))
  		   (:foreground "lightblue"))
! 		  (((supports :underline t)) :underline t)
! 		  (t (:foreground "lightblue")))
    "Default face used for buttons."
    :group 'basic-faces)

  reply	other threads:[~2007-04-24 21:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 23:08 Bug in change in button.el? Richard Stallman
2007-04-23 23:15 ` Glenn Morris
2007-04-24  5:39   ` Eli Zaretskii
2007-04-24 21:35   ` Richard Stallman
2007-04-24 21:59     ` Glenn Morris [this message]
2007-04-24 22:22       ` Nick Roberts
2007-04-24 22:30         ` Lennart Borgman (gmail)
2007-04-24 22:45           ` Drew Adams
2007-04-24 23:13           ` Miles Bader
2007-04-24 23:53             ` Nick Roberts
2007-04-25  0:54               ` Lennart Borgman (gmail)
2007-04-24 22:59         ` Glenn Morris
2007-04-24 23:20           ` Nick Roberts
2007-04-24 23:34             ` Glenn Morris
2007-04-24 23:50               ` Miles Bader
2007-04-25  0:57                 ` Glenn Morris
2007-04-25  1:33                   ` Miles Bader
2007-04-25  2:03                     ` Glenn Morris
2007-04-25  2:24                       ` Miles Bader
2007-04-25  2:28                         ` Glenn Morris
2007-04-25  9:56                       ` Andreas Schwab
2007-04-24 23:57               ` Nick Roberts
2007-04-25  1:52                 ` Miles Bader
2007-04-25 14:52         ` Richard Stallman
2007-04-25 14:52       ` Richard Stallman
2007-04-26  3:18         ` Glenn Morris
2007-04-24  5:37 ` Eli Zaretskii
2007-04-24  6:08   ` Nick Roberts

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=eqzm4x8mde.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.