all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to stop the mouse pointer highlighting in agenda?
@ 2014-04-18 20:40 Samuel Wales
  2014-04-18 20:47 ` Igor Sosa Mayor
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Wales @ 2014-04-18 20:40 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-18 20:40 how to stop the mouse pointer highlighting in agenda? Samuel Wales
@ 2014-04-18 20:47 ` Igor Sosa Mayor
  2014-04-19  4:12   ` Samuel Wales
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-18 20:47 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-18 20:47 ` Igor Sosa Mayor
@ 2014-04-19  4:12   ` Samuel Wales
  2014-04-19  4:16     ` Igor Sosa Mayor
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Wales @ 2014-04-19  4:12 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  4:12   ` Samuel Wales
@ 2014-04-19  4:16     ` Igor Sosa Mayor
  2014-04-19  4:50       ` Samuel Wales
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-19  4:16 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  4:16     ` Igor Sosa Mayor
@ 2014-04-19  4:50       ` Samuel Wales
  2014-04-19  5:03         ` Igor Sosa Mayor
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Wales @ 2014-04-19  4:50 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

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)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  4:50       ` Samuel Wales
@ 2014-04-19  5:03         ` Igor Sosa Mayor
  2014-04-19  5:23           ` Samuel Wales
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-19  5:03 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:03         ` Igor Sosa Mayor
@ 2014-04-19  5:23           ` Samuel Wales
  2014-04-19  5:27             ` Igor Sosa Mayor
  0 siblings, 1 reply; 13+ messages in thread
From: Samuel Wales @ 2014-04-19  5:23 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

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 ]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:23           ` Samuel Wales
@ 2014-04-19  5:27             ` Igor Sosa Mayor
  2014-04-19  5:37               ` Bastien
  0 siblings, 1 reply; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-19  5:27 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:27             ` Igor Sosa Mayor
@ 2014-04-19  5:37               ` Bastien
  2014-04-19  5:43                 ` Igor Sosa Mayor
  2014-04-19 20:20                 ` Samuel Wales
  0 siblings, 2 replies; 13+ messages in thread
From: Bastien @ 2014-04-19  5:37 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:37               ` Bastien
@ 2014-04-19  5:43                 ` Igor Sosa Mayor
  2014-04-19  6:06                   ` Bastien
  2014-04-19 20:20                 ` Samuel Wales
  1 sibling, 1 reply; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-19  5:43 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:43                 ` Igor Sosa Mayor
@ 2014-04-19  6:06                   ` Bastien
  2014-04-19  6:20                     ` Igor Sosa Mayor
  0 siblings, 1 reply; 13+ messages in thread
From: Bastien @ 2014-04-19  6:06 UTC (permalink / raw)
  To: Igor Sosa Mayor; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  6:06                   ` Bastien
@ 2014-04-19  6:20                     ` Igor Sosa Mayor
  0 siblings, 0 replies; 13+ messages in thread
From: Igor Sosa Mayor @ 2014-04-19  6:20 UTC (permalink / raw)
  To: emacs-orgmode

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  ::                            ::

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: how to stop the mouse pointer highlighting in agenda?
  2014-04-19  5:37               ` Bastien
  2014-04-19  5:43                 ` Igor Sosa Mayor
@ 2014-04-19 20:20                 ` Samuel Wales
  1 sibling, 0 replies; 13+ messages in thread
From: Samuel Wales @ 2014-04-19 20:20 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode, Igor Sosa Mayor

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-04-19 20:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 20:40 how to stop the mouse pointer highlighting in agenda? Samuel Wales
2014-04-18 20:47 ` Igor Sosa Mayor
2014-04-19  4:12   ` Samuel Wales
2014-04-19  4:16     ` Igor Sosa Mayor
2014-04-19  4:50       ` Samuel Wales
2014-04-19  5:03         ` Igor Sosa Mayor
2014-04-19  5:23           ` Samuel Wales
2014-04-19  5:27             ` Igor Sosa Mayor
2014-04-19  5:37               ` Bastien
2014-04-19  5:43                 ` Igor Sosa Mayor
2014-04-19  6:06                   ` Bastien
2014-04-19  6:20                     ` Igor Sosa Mayor
2014-04-19 20:20                 ` Samuel Wales

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.