emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* `org-remember-templates' docstring
@ 2010-04-15 18:58 Štěpán Němec
  2010-04-16  0:25 ` [PATCH] Fix truncated docstring for org-remember-templates Bernt Hansen
  2010-04-16  0:28 ` `org-remember-templates' docstring Bernt Hansen
  0 siblings, 2 replies; 3+ messages in thread
From: Štěpán Němec @ 2010-04-15 18:58 UTC (permalink / raw)
  To: emacs-orgmode


Hello,

in the documentation string of `org-remember-templates' we read:

  [...]
  %^t         like %t, but prompt for date.  Similarly %^T, %^u, %^U.
              You may define a prompt like %^{Please specify birthday
  %n          user name (taken from `user-full-name')
  [...]


The line with the supposed birthday example is obviously truncated (at
least it doesn't make much sense to me like this).

I'm sorry I didn't send a patch, but I'm not sure what exactly the
contents were supposed to be -- actually I'm rather curious about that,
so I hope someone can fix it.

Thanks,

  Štěpán

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

* [PATCH] Fix truncated docstring for org-remember-templates
  2010-04-15 18:58 `org-remember-templates' docstring Štěpán Němec
@ 2010-04-16  0:25 ` Bernt Hansen
  2010-04-16  0:28 ` `org-remember-templates' docstring Bernt Hansen
  1 sibling, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2010-04-16  0:25 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Bernt Hansen

---

This patch is available at git://git.norang.ca/org-mode.git for-carsten

 lisp/org-remember.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-remember.el b/lisp/org-remember.el
index 61774e4..1ff4bd3 100644
--- a/lisp/org-remember.el
+++ b/lisp/org-remember.el
@@ -128,7 +128,7 @@ Furthermore, the following %-escapes will be replaced with content:
   %T          time stamp with date and time
   %u, %U      like the above, but inactive time stamps
   %^t         like %t, but prompt for date.  Similarly %^T, %^u, %^U.
-              You may define a prompt like %^{Please specify birthday
+              You may define a prompt like %^{Please specify birthday}t
   %n          user name (taken from `user-full-name')
   %a          annotation, normally the link created with org-store-link
   %i          initial content, copied from the active region.  If %i is
-- 
1.7.1.rc1.9.g4553d

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

* Re: `org-remember-templates' docstring
  2010-04-15 18:58 `org-remember-templates' docstring Štěpán Němec
  2010-04-16  0:25 ` [PATCH] Fix truncated docstring for org-remember-templates Bernt Hansen
@ 2010-04-16  0:28 ` Bernt Hansen
  1 sibling, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2010-04-16  0:28 UTC (permalink / raw)
  To: Štěpán Němec; +Cc: emacs-orgmode

Štěpán Němec <stepnem@gmail.com> writes:

> Hello,
>
> in the documentation string of `org-remember-templates' we read:
>
>   [...]
>   %^t         like %t, but prompt for date.  Similarly %^T, %^u, %^U.
>               You may define a prompt like %^{Please specify birthday
>   %n          user name (taken from `user-full-name')
>   [...]
>
>
> The line with the supposed birthday example is obviously truncated (at
> least it doesn't make much sense to me like this).
>
> I'm sorry I didn't send a patch, but I'm not sure what exactly the
> contents were supposed to be -- actually I'm rather curious about that,
> so I hope someone can fix it.

I've just posted a patch with a fix.  It should be 

%^{Please specify birthday}t

-Bernt

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

end of thread, other threads:[~2010-04-16  0:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-15 18:58 `org-remember-templates' docstring Štěpán Němec
2010-04-16  0:25 ` [PATCH] Fix truncated docstring for org-remember-templates Bernt Hansen
2010-04-16  0:28 ` `org-remember-templates' docstring 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).