unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: [storm@cua.dk: Re: Patch to disable links line in *info* buffer]
Date: Sat, 22 Jun 2002 16:51:53 -0600 (MDT)	[thread overview]
Message-ID: <200206222251.g5MMprs23105@aztec.santafe.edu> (raw)

Would you please help us with this?  You know this code more
than anyone.

------- Start of forwarded message -------
To: rms@gnu.org
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>, jasonr@gnu.org,
   bob@rattlesnake.com, emacs-devel@gnu.org
Subject: Re: Patch to disable links line in *info* buffer
From: storm@cua.dk (Kim F. Storm)
Date: 22 Jun 2002 01:56:31 +0200
In-Reply-To: <5xd6ukz4wl.fsf@kfs2.cua.dk>

no-spam@cua.dk (Kim F. Storm) writes:

> "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes:
> 
> > > The problem is that there is no named face which has this appearence,
> > > so I cannot simply put a (face mode-line-bold) property on the string
> > > returned by format-mode-line.
> > 
> > Any reason why you can't use (face (mode-line bold)) ?
> 
> Not anymore :-)

Ok, I have changed format-mode-line to return a propertized string
(changes are not committed yet), but the "face merging" doesn't always
give the same result as the actual mode line:

This combination works (*Help* is bold):

(insert '#("-1:%%  *Help*  ..."
         7 13 (face (mode-line :weight bold))))

but this doesn't (*Help* isn't bold):

(insert '#("-1:%%  *Help*  ..."
         7 13 (face (mode-line-inactive :weight bold))))

I haven't investigated this further, but it could be related to
mode-line-inactive being derived from another face...?


Also, there are some visual artifacts in the following example; there
are small white lines between the bold and non-bold sections:

(insert '#("-1:**  *scratch*        ..."
         1 7 (face mode-line)
         7 19 (face (mode-line (:weight bold)))
         19 22 (face mode-line)))


In any case, I'm going to commit my changes tomorrow (or so)
- -- then we'll have to look into the above issues later...

- -- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk
------- End of forwarded message -------

             reply	other threads:[~2002-06-22 22:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22 22:51 Richard Stallman [this message]
2002-06-23  9:37 ` [storm@cua.dk: Re: Patch to disable links line in *info* buffer] Gerd Moellmann
2002-06-24  9:33   ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200206222251.g5MMprs23105@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).