emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daimrod <daimrod@gmail.com>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: julien@danjou.info, emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-contacts: Fix Agenda format.
Date: Thu, 14 Feb 2013 21:45:25 +0100	[thread overview]
Message-ID: <878v6q7hga.fsf@tanger.home> (raw)
In-Reply-To: <2168297.xVuDmoemev@descartes> ("Rüdiger Sonderfeld"'s message of "Thu, 14 Feb 2013 16:41:36 +0100")

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

Rüdiger Sonderfeld <ruediger@c-plusplus.de> writes:

> * contrib/lisp/org-contacts.el: Use `org-agenda-prefix-format' to
>   format entry instead of unused org-agenda-format.
>
> Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
> ---
>  contrib/lisp/org-contacts.el | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/contrib/lisp/org-contacts.el b/contrib/lisp/org-contacts.el
> index 49bf489..5858a07 100644
> --- a/contrib/lisp/org-contacts.el
> +++ b/contrib/lisp/org-contacts.el
> @@ -544,9 +544,9 @@ This function should be called from `gnus-article-prepare-hook'."
>    (let ((org-agenda-files (org-contacts-files))
>          (org-agenda-skip-function
>           (lambda () (org-agenda-skip-if nil `(notregexp ,name))))
> -        (org-agenda-format (propertize
> -                            "%(org-contacts-icon-as-string)% p% s%(org-contacts-irc-number-of-unread-messages)%+T"
> -                            'keymap org-contacts-keymap))
> +        (org-agenda-prefix-format (propertize
> +				   "%(org-contacts-icon-as-string)% s%(org-contacts-irc-number-of-unread-messages) "
> +				   'keymap org-contacts-keymap))
>          (org-agenda-overriding-header
>           (or org-agenda-overriding-header
>               (concat "List of contacts matching `" name "':"))))

Applied, thank you.

-- 
Daimrod/Greg

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

      reply	other threads:[~2013-02-14 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 15:41 [PATCH] org-contacts: Fix Agenda format Rüdiger Sonderfeld
2013-02-14 20:45 ` Daimrod [this message]

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=878v6q7hga.fsf@tanger.home \
    --to=daimrod@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=julien@danjou.info \
    --cc=ruediger@c-plusplus.de \
    /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).