emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Beck <elwood151@web.de>
To: emacs-orgmode@gnu.org
Subject: Re: Scroll agenda to a certain line after refresh or creation?
Date: Fri, 13 Jun 2014 11:25:44 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140613T132229-284@post.gmane.org> (raw)
In-Reply-To: 87tx7p6qif.fsf@bzg.ath.cx

Bastien <bzg <at> gnu.org> writes:

> You can bind a key to this command:
> 
> (lambda ()
>   (interactive)
>   (goto-char
>    (text-property-any (point-min) (point-max)
> 		      'face 'org-agenda-current-time)))
> 
> > How can I apply a special face to this line to make it better visible
> > (but only in this agenda view, not in others)?
> 
> M-x customize-face RET org-agenda-current-time RET

Salut Bastien,

thanks a lot. Indeed that helps, but it arises 2 more questions...

How can I test a command like the one you sent me without saving it in a
buffer and binding a key to it?
I'd like to just execute it like a shell command with M-x, but I did not
find a way to do that. 

How can I define that this command is executed each time I build or refresh
a certain (not all) block agenda?

Kind regards

Martin

  reply	other threads:[~2014-06-13 11:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 11:34 Scroll agenda to a certain line after refresh or creation? Martin Beck
2014-06-13 10:41 ` Bastien
2014-06-13 11:25   ` Martin Beck [this message]
2014-06-13 11:29     ` Bastien

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=loom.20140613T132229-284@post.gmane.org \
    --to=elwood151@web.de \
    --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).