emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature request: Highlight the agenda line with the cursor on it
@ 2008-08-13  2:14 Robert Miesen
  2008-08-13  2:36 ` Rob Weir
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Miesen @ 2008-08-13  2:14 UTC (permalink / raw)
  To: emacs-orgmode

Hi.

    I've noticed that as I go through tasks listed in my agenda, it's 
very easy to select and operate on the wrong task because it's too easy 
to loose track of what task I am operating on. If the entire task line 
entry were highlighted, it would be much easier to determine which task 
was being operated on.

    Thanks in advance for considering my feature request.

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

* Re: Feature request: Highlight the agenda line with the cursor on it
  2008-08-13  2:14 Feature request: Highlight the agenda line with the cursor on it Robert Miesen
@ 2008-08-13  2:36 ` Rob Weir
  2008-08-13  4:51   ` Russell Adams
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rob Weir @ 2008-08-13  2:36 UTC (permalink / raw)
  To: emacs-orgmode

On 13 Aug 2008, Robert Miesen wrote:
> I've noticed that as I go through tasks listed in my agenda, it's
> very easy to select and operate on the wrong task because it's too
> easy to loose track of what task I am operating on. If the entire task
> line entry were highlighted, it would be much easier to determine
> which task was being operated on.

Not built-in, but:

,----
| (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
`----

works quite well.

-- 
-rob

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

* Re: Re: Feature request: Highlight the agenda line with the cursor on it
  2008-08-13  2:36 ` Rob Weir
@ 2008-08-13  4:51   ` Russell Adams
  2008-08-13 15:57   ` Dale Smith
  2008-08-14  0:53   ` Bernt Hansen
  2 siblings, 0 replies; 6+ messages in thread
From: Russell Adams @ 2008-08-13  4:51 UTC (permalink / raw)
  To: emacs-orgmode

> ,----
> | (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
> `----

Thats fantastic!

Thanks for the tip.


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

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

* Re: Feature request: Highlight the agenda line with the cursor on it
  2008-08-13  2:36 ` Rob Weir
  2008-08-13  4:51   ` Russell Adams
@ 2008-08-13 15:57   ` Dale Smith
  2008-08-17  8:31     ` Clemence Magnien
  2008-08-14  0:53   ` Bernt Hansen
  2 siblings, 1 reply; 6+ messages in thread
From: Dale Smith @ 2008-08-13 15:57 UTC (permalink / raw)
  To: Rob Weir; +Cc: emacs-orgmode

"Rob Weir" <rweir@ertius.org> writes:

> On 13 Aug 2008, Robert Miesen wrote:
>> I've noticed that as I go through tasks listed in my agenda, it's
>> very easy to select and operate on the wrong task because it's too
>> easy to loose track of what task I am operating on. If the entire task
>> line entry were highlighted, it would be much easier to determine
>> which task was being operated on.
>
> Not built-in, but:
>
> ,----
> | (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
> `----
>
> works quite well.

Yes!  I've been needing this and didn't even know it!

When in an aganda buffer, the cursor is usually way over on the left
side.  To help me focus my eyes on the task/tags/etc, I (without
thinking) lean on my <right> key to move the cursor over.  What this
actually does is move forward by about 10 weeks or so. :(

-Dale

-- 
Dale P. Smith
dales@vxitech.com
216-447-4059
216-447-8951 FAX

(Company mandated disclaimer follows...)

This email is covered by the Electronic Communications Privacy Act, 18
U.S.C. 2510-2521.

This information is confidential and is intended only for the use of
the individual or entity named above. If the reader of this message is
not the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is
strictly prohibited.

If you have received this communication in error, please notify the
sender by reply transmission and delete the message without copying or
disclosing it.

Thank you.

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

* Re: Feature request: Highlight the agenda line with the cursor on it
  2008-08-13  2:36 ` Rob Weir
  2008-08-13  4:51   ` Russell Adams
  2008-08-13 15:57   ` Dale Smith
@ 2008-08-14  0:53   ` Bernt Hansen
  2 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2008-08-14  0:53 UTC (permalink / raw)
  To: Rob Weir; +Cc: emacs-orgmode

"Rob Weir" <rweir@ertius.org> writes:

> On 13 Aug 2008, Robert Miesen wrote:
>> I've noticed that as I go through tasks listed in my agenda, it's
>> very easy to select and operate on the wrong task because it's too
>> easy to loose track of what task I am operating on. If the entire task
>> line entry were highlighted, it would be much easier to determine
>> which task was being operated on.
>
> Not built-in, but:
>
> ,----
> | (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
> `----
>
> works quite well.

Thanks for sharing this!  I added it to my .emacs and it'll be useful
everyday for me!

-Bernt

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

* Re: Re: Feature request: Highlight the agenda line with the cursor on it
  2008-08-13 15:57   ` Dale Smith
@ 2008-08-17  8:31     ` Clemence Magnien
  0 siblings, 0 replies; 6+ messages in thread
From: Clemence Magnien @ 2008-08-17  8:31 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Aug 13, 2008 at 11:57:13AM -0400, Dale Smith wrote:
> "Rob Weir" <rweir@ertius.org> writes:
> 
> > On 13 Aug 2008, Robert Miesen wrote:
> >> I've noticed that as I go through tasks listed in my agenda, it's
> >> very easy to select and operate on the wrong task because it's too
> >> easy to loose track of what task I am operating on. If the entire task
> >> line entry were highlighted, it would be much easier to determine
> >> which task was being operated on.
> >
> > Not built-in, but:
> >
> > ,----
> > | (add-hook 'org-agenda-mode-hook '(lambda () (hl-line-mode 1)))
> > `----
> >
> > works quite well.

This is great! :)

I had to tweak it a little bit in order to make it work under xemacs in tty
mode, however. This is my setup, in case it helps others:

;hl-line seems to be only for emacs
(require 'highline)
(add-hook 'org-agenda-mode-hook '(lambda () (highline-mode 1)))

;highline-mode does not work straightaway in tty mode.
;I use a black background
(custom-set-faces
  '(highline-face ((((type tty) (class color)) (:background "white" :foreground "black")))))

Clémence

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

end of thread, other threads:[~2008-08-17  8:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13  2:14 Feature request: Highlight the agenda line with the cursor on it Robert Miesen
2008-08-13  2:36 ` Rob Weir
2008-08-13  4:51   ` Russell Adams
2008-08-13 15:57   ` Dale Smith
2008-08-17  8:31     ` Clemence Magnien
2008-08-14  0:53   ` Bernt Hansen

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