From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Face remapping on mouse menu Date: Thu, 12 Jun 2008 09:07:58 +0200 Message-ID: References: <87iqwfrzph.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213254506 11229 80.91.229.12 (12 Jun 2008 07:08:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 07:08:26 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 12 09:09:09 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6gvl-0004xv-2l for ged-emacs-devel@m.gmane.org; Thu, 12 Jun 2008 09:09:09 +0200 Original-Received: from localhost ([127.0.0.1]:60285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6gux-0004g2-Do for ged-emacs-devel@m.gmane.org; Thu, 12 Jun 2008 03:08:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6gus-0004el-Nx for emacs-devel@gnu.org; Thu, 12 Jun 2008 03:08:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6gur-0004b8-1L for emacs-devel@gnu.org; Thu, 12 Jun 2008 03:08:14 -0400 Original-Received: from [199.232.76.173] (port=34090 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6guq-0004ap-Pk for emacs-devel@gnu.org; Thu, 12 Jun 2008 03:08:12 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:64545) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6gum-0005U6-Jc; Thu, 12 Jun 2008 03:08:08 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64] helo=gate.verona.se) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6gul-0006eH-B2; Thu, 12 Jun 2008 03:08:07 -0400 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m5C77vek024351; Thu, 12 Jun 2008 09:07:57 +0200 In-Reply-To: <87iqwfrzph.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 12 Jun 2008 01:26:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98995 Archived-At: Chong Yidong writes: > 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. > 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). > > 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? +1 -- Joakim Verona