i find the highlighting of lines upon mouse pointer movement and the echo area notification to be distracting. i don't understand the code at all, but i tried (remove-text-properties 1 1 '(mouse-face nil)). didn't work. my goal is to make moving the mouse pointer do nothing in the agenda. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.
Samuel Wales <samologist@gmail.com> writes: > i find the highlighting of lines upon mouse pointer movement and the > echo area notification to be distracting. for the highlighting: (add-hook 'org-finalize-agenda-hook (lambda () (remove-text-properties (point-min) (point-max) '(mouse-face t)))) -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
that works for the highlighting part of the question. thank you!
On 4/18/14, Igor Sosa Mayor <joseleopoldo1792@gmail.com> wrote:
> for the highlighting:
>
> (add-hook 'org-finalize-agenda-hook
> (lambda () (remove-text-properties
> (point-min) (point-max) '(mouse-face t))))
Samuel Wales <samologist@gmail.com> writes: > that works for the highlighting part of the question. thank you! I think for your other problem you have to use: (setq org-agenda-follow-mode nil) -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
follow mode is nil. i am referring to the message that says that you
can do mouse 2 or RET to go to the org file, which appears whenever
the mouse pointer is over an agenda line.
this message appears to be hardcoded in various places in org, but i
don't know if its echoing can be disabled.
your fix to the highlighting is a huge improvement.
On 4/18/14, Igor Sosa Mayor <joseleopoldo1792@gmail.com> wrote:
> (setq org-agenda-follow-mode nil)
Samuel Wales <samologist@gmail.com> writes: > follow mode is nil. i am referring to the message that says that you > can do mouse 2 or RET to go to the org file, which appears whenever > the mouse pointer is over an agenda line. maybe... ,----[ C-h v org-agenda-show-outline-path RET ] | org-agenda-show-outline-path is a variable defined in `org-agenda.el'. | Its value is t | | Documentation: | Non-nil means show outline path in echo area after line motion. | | You can customize this variable. | | [back] `---- -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
it is not the outline path. it is a notification message that occurs
when the mouse pointer is over a line. move mouse to a line without
clicking and it will show up after a few seconds.
On 4/18/14, Igor Sosa Mayor <joseleopoldo1792@gmail.com> wrote:
> ,----[ C-h v org-agenda-show-outline-path RET ]
Samuel Wales <samologist@gmail.com> writes: > it is not the outline path. it is a notification message that occurs > when the mouse pointer is over a line. move mouse to a line without > clicking and it will show up after a few seconds. yes, I see. You're right... Maybe it is not exactly a org issue, I have the impression... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:
> Samuel Wales <samologist@gmail.com> writes:
>
>> it is not the outline path. it is a notification message that occurs
>> when the mouse pointer is over a line. move mouse to a line without
>> clicking and it will show up after a few seconds.
>
> yes, I see. You're right... Maybe it is not exactly a org issue, I have
> the impression...
M-x tooltip-mode RET
Or increase tooltip-delay.
--
Bastien
Bastien <bzg@gnu.org> writes: > M-x tooltip-mode RET > > Or increase tooltip-delay. aha, interesting... but I get the message with tooltip-mode enabled and disabled... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:
> aha, interesting... but I get the message with tooltip-mode enabled and
> disabled...
When enabled, you get it as a tooltip.
When disabled, you get it in the echo area.
Tweak tooltip-delay to never display it.
--
Bastien
Bastien <bzg@gnu.org> writes: > When enabled, you get it as a tooltip. > When disabled, you get it in the echo area. > > Tweak tooltip-delay to never display it. aha... exactly! Many thnaks! -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::
thank you both! (add-hook 'org-finalize-agenda-hook (lambda () (set (make-local-variable 'tooltip-delay) 86400) ;; disable the face that comes up when mouse pointer ;; is over an org agenda line. that can be confusing ;; because i already have a highlight face for point. (remove-text-properties (point-min) (point-max) '(mouse-face t))))