GNU bug report logs - #11698
[PATCH] Enable mouse-face on the mode-line area of which-func

Previous Next

Package: emacs;

Reported by: Masatake YAMATO <yamato <at> redhat.com>

Date: Wed, 13 Jun 2012 17:39:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Masatake YAMATO <yamato <at> redhat.com>
To: rgm <at> gnu.org
Cc: 11698 <at> debbugs.gnu.org
Subject: bug#11698: [PATCH] Enable mouse-face on the mode-line area of which-func
Date: Thu, 14 Jun 2012 12:01:21 +0900 (JST)
Glenn Morris wrote:
> Masatake YAMATO wrote:
> 
>> ! 		 mouse-face highlight
> 
> Is this really desirable? Many other parts of the mode line can be
> clicked on, but do not have a mouse-face. Isn't the change in cursor
> sufficient?


It seems that mode-line-highlight is used for mouse-face.

How do you think to use it in which-func for keeping consistency
between other area on the mode line?

I think sometimes cursor is not sufficient. It doesn't tells just the
pixel under the cursor is something clickable. The feed-back with
mouse-face can tell the area under the cursor is something
clickable. Sometimes it is obvious that the area even without mouse
face. However, it may be a bit difficult to recognize one-character
area like area for buffer-coding system. 


=== modified file 'lisp/progmodes/which-func.el'
*** lisp/progmodes/which-func.el	2012-06-03 11:10:44 +0000
--- lisp/progmodes/which-func.el	2012-06-14 02:55:51 +0000
***************
*** 144,150 ****
      (:propertize which-func-current
  		 local-map ,which-func-keymap
  		 face which-func
! 		 ;;mouse-face highlight	; currently not evaluated :-(
  		 help-echo "mouse-1: go to beginning\n\
  mouse-2: toggle rest visibility\n\
  mouse-3: go to end")
--- 144,150 ----
      (:propertize which-func-current
  		 local-map ,which-func-keymap
  		 face which-func
! 		 mouse-face mode-line-highlight
  		 help-echo "mouse-1: go to beginning\n\
  mouse-2: toggle rest visibility\n\
  mouse-3: go to end")







This bug report was last modified 13 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.