From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Remove mouse-face in Occur buffers Date: Sat, 29 Oct 2005 23:40:09 +0200 Message-ID: References: <87br19nzk1.fsf@jurta.org> <87zmosceb3.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130622129 9279 80.91.229.2 (29 Oct 2005 21:42:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2005 21:42:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 23:42:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVyS2-0006fI-WF for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 23:41:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVyRz-00050V-RR for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2005 17:41:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVyRj-0004zR-EQ for emacs-devel@gnu.org; Sat, 29 Oct 2005 17:41:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVyRg-0004yM-JL for emacs-devel@gnu.org; Sat, 29 Oct 2005 17:41:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVyRg-0004yD-Cm for emacs-devel@gnu.org; Sat, 29 Oct 2005 17:41:00 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVyRf-0003np-FV for emacs-devel@gnu.org; Sat, 29 Oct 2005 17:40:59 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id A0E2A47FE42; Sat, 29 Oct 2005 23:40:56 +0200 (CEST) Original-To: Juri Linkov In-Reply-To: <87zmosceb3.fsf@jurta.org> (Juri Linkov's message of "Sat, 29 Oct 2005 22:48:54 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:45111 Archived-At: Juri Linkov writes: > To see what I mean you can type `C-h i d C-u M-x occur RET emacs RET' > and to move the mouse cursor on menu items in occur context lines. > Mouse highlighting is misleading here, because pressing mouse-1 or > mouse-2 doesn't work. I proposed to remove mouse highlighting on > copied text. That is a good change. > >> But to me it sounds as if remove-yank-excluded-properties could be >> useful here. Can you pls. think about it. > > `remove-yank-excluded-properties' is surely related to this, but > I think it is a different thing. It defines text properties to > remove when yanking, but displaying copied lines in the occur buffer > is not quite yanking. But it is "close"... The yank-excluded-properties is a list of properties which typically causes problems when they are inserted "out of context" in some other buffer. > Maybe, there should be a separate variable defining a list > of text properties to remove on copied text in the occur buffer. > Do you think it would be useful? Yes, that sounds like a good idea. The default value could be the same as the initial value of yank-excluded-properties (I haven't checked). Some people may want to set that to t as well. Look at function remove-list-of-text-properties. -- Kim F. Storm http://www.cua.dk