From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: mouse highlight on agenda lines Date: Fri, 31 Aug 2012 14:56:25 -0400 Message-ID: <5457.1346439385@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7WOS-0007An-Pw for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 14:56:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7WOR-0006di-Md for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 14:56:36 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:22170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7WOR-0006cx-IA for emacs-orgmode@gnu.org; Fri, 31 Aug 2012 14:56:35 -0400 In-Reply-To: Message from tsd@tsdye.com (Thomas S. Dye) of "Fri, 31 Aug 2012 08:49:11 -1000." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Org-mode Thomas S. Dye wrote: > Aloha all, > > After a recent upgrade to emacs 24, and using the Org-mode that ships > with emacs (7.8.11), the following code that has been in my > initialization file for a long time no longer works: > > #+begin_src emacs-lisp :tangle yes > (add-hook 'org-finalize-agenda-hook > (lambda () (remove-text-properties > (point-min) (point-max) '(mouse-face t)))) > #+end_src > > It used to keep the mouse pointer from highlighting agenda lines. > > Any idea why it is broken now? Maybe. C-h v org-finalize-agenda-hook says: ,---- | org-finalize-agenda-hook's value is ((lambda nil | (remove-text-properties | (point-min) | (point-max) | '(mouse-face t)))) | | | This variable is obsolete since 24.3; | use `org-agenda-finalize-hook' instead. | This variable is potentially risky when used as a file local variable. `---- Nick