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

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

  reply	other threads:[~2012-08-31 18:56 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 [this message]
2012-08-31 22:02   ` Thomas S. Dye
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=5457.1346439385@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).