emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Clemence Magnien <clemence.magnien@lip6.fr>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Feature request: Highlight the agenda line with the cursor on it
Date: Sun, 17 Aug 2008 10:31:15 +0200	[thread overview]
Message-ID: <20080817083114.GA21707@ithaque> (raw)
In-Reply-To: <kpprocx606.fsf@flexo.vxitech.com>

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

  reply	other threads:[~2008-08-17  8:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-08-14  0:53   ` Bernt Hansen

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=20080817083114.GA21707@ithaque \
    --to=clemence.magnien@lip6.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).