emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: nicholas.dokos@hp.com
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: mouse highlight on agenda lines
Date: Fri, 31 Aug 2012 12:02:36 -1000	[thread overview]
Message-ID: <m1oblqhg8z.fsf@tsdye.com> (raw)
In-Reply-To: <5457.1346439385@alphaville> (Nick Dokos's message of "Fri, 31 Aug 2012 14:56:25 -0400")

Nick Dokos <nicholas.dokos@hp.com> writes:

> Thomas S. Dye <tsd@tsdye.com> 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

Hi Nick,

I'm on a bumpy upgrade road here.  I like the promise of ELPA, but so
far the org package hasn't worked so well for me :(

On my system, C-h v org-finalize-agenda-hook says:

org-finalize-agenda-hook is a variable defined in `org-agenda.el'.
Its value is ((lambda nil
    '(mouse-face t))))

Original value was nil

  This variable is potentially risky when used as a file local variable.

Hook run just before displaying an agenda buffer.

I see from your post that the hook I'm using will go away when I find
time to get current again.  I suppose there is no sense trying to figure
out why my soon-to-be-obsolete hook isn't working on an outdated system.


Thomas S. Dye

  reply	other threads:[~2012-08-31 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 18:49 mouse highlight on agenda lines Thomas S. Dye
2012-08-31 18:56 ` Nick Dokos
2012-08-31 22:02   ` Thomas S. Dye [this message]
2012-08-31 22:19     ` Nick Dokos
2012-08-31 23:20       ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1oblqhg8z.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).