all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>,
	"'Miles Bader'" <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: RE: Face remapping on mouse menu
Date: Thu, 12 Jun 2008 08:14:25 -0700	[thread overview]
Message-ID: <006a01c8cc9f$00cd9ac0$c2b22382@us.oracle.com> (raw)
In-Reply-To: <87iqwfrzph.fsf@stupidchicken.com>

> Currently, shift-down-mouse-1 pops up a menu that lets the 
> user choose a different font to apply to the current frame.
> 
> This doesn't seem like a very useful operation for a mouse binding.

Reason?

> Also, the choices aren't very suitable when fontconfig is in use; the
> menu consists of a pre-generated list of non-fontconfig fonts
> (x-fixed-font-alist) plus whichever fontconfig fonts happen 
> to be loaded (generate-fontset-menu).

Can you please separate that from the first topic (separate thread)?

On Windows, doesn't S(-down)-mouse-1 still call up the Windows Font dialog box?
How is that related to this "fontconfig" change? Note: I know nothing about
fontconfig.

> Now that the face-remapping code has been checked in, I'd suggest
> changing this menu to a "buffer faces" menu.  It should contain a few
> items that remap the `default' face in the current buffer: an item to
> increase the face size, an item to decrease the face size, and an item
> to change the face font.  When fontconfig is available, the latter can
> use x-popup-dialog to pop up the GTK font selector, instead of relying
> on x-fixed-font-alist.
> 
> WDYT?

I don't really follow it, frankly, perhaps because I'm not very familiar with
the face-remapping code.

Are you suggesting to replace the dialog to choose a font for the current frame
by a dialog to choose a font for the current buffer? Is that essentially what
you are suggesting?

Can you please describe the changes you propose more concretely? What bindings
for what menus, what changes to the existing menus, reasons, etc.






  parent reply	other threads:[~2008-06-12 15:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12  5:26 Face remapping on mouse menu Chong Yidong
2008-06-12  7:07 ` joakim
2008-06-12  8:21 ` Miles Bader
2008-06-12 15:14 ` Drew Adams [this message]
2008-06-12 15:38   ` Chong Yidong
2008-06-12 16:01     ` Drew Adams
2008-06-12 16:17     ` Jason Rumney
2008-06-15 20:08 ` Chong Yidong
2008-06-15 23:55   ` Juanma Barranquero
2008-06-16  1:25     ` Chong Yidong
2008-06-16 23:03       ` Juanma Barranquero
  -- strict thread matches above, loose matches on Subject: below --
2008-06-16 10:43 Robert J. Chassell

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='006a01c8cc9f$00cd9ac0$c2b22382@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --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.