emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] org-contacts: Fix Agenda format.
@ 2013-02-14 15:41 Rüdiger Sonderfeld
  2013-02-14 20:45 ` Daimrod
  0 siblings, 1 reply; 2+ messages in thread
From: Rüdiger Sonderfeld @ 2013-02-14 15:41 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: julien

* 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 "':"))))
-- 
1.8.1.1

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

* Re: [PATCH] org-contacts: Fix Agenda format.
  2013-02-14 15:41 [PATCH] org-contacts: Fix Agenda format Rüdiger Sonderfeld
@ 2013-02-14 20:45 ` Daimrod
  0 siblings, 0 replies; 2+ messages in thread
From: Daimrod @ 2013-02-14 20:45 UTC (permalink / raw)
  To: Rüdiger Sonderfeld; +Cc: julien, emacs-orgmode

[-- 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 --]

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

end of thread, other threads:[~2013-02-14 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14 15:41 [PATCH] org-contacts: Fix Agenda format Rüdiger Sonderfeld
2013-02-14 20:45 ` Daimrod

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