Subject: bug#11698: closed (Re: bug#11698: [PATCH] Enable mouse-face on the mode-line area of which-func)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 25 Jun 2012 07:18:02 +0000

Your bug report

#11698: [PATCH] Enable mouse-face on the mode-line area of which-func 

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
11698: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11698
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#11698: [PATCH] Enable mouse-face on the mode-line area of which-func
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 25 Jun 2012 03:13:13 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.2

Masatake YAMATO wrote:

> ! 		 mouse-face mode-line-highlight

Applied to emacs-24 branch, thanks. (I hadn't appreciated that
mode-line-highlight is already used all over the place in the mode-line.)

Subject: [PATCH] Enable mouse-face on the mode-line area of which-func
From: Masatake YAMATO <[email-masked]>
To: [email-masked]
Date: Thu, 14 Jun 2012 02:35:11 +0900 (JST)
List-Id: <debbugs-submit.debbugs.gnu.org>

This is not a bug report.
This is a request for merging the attached patch 
to the emacs official source tree.

See the patch.
The original code is written in 2004.
I implemented mouse-face on mode-line in 2005-06-07:)

2012-06-13  Masatake YAMATO  <[email-masked]>

	* progmodes/which-func.el (which-func-format): Enable
	mouse-face.

=== 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-13 17:20:38 +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 highlight
  		 help-echo "mouse-1: go to beginning\n\
  mouse-2: toggle rest visibility\n\
  mouse-3: go to end")