emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Patch org-capure-fill-template


From: Roberto Huelga
Subject: Re: [O] Patch org-capure-fill-template
Date: Sun, 2 Nov 2014 20:59:52 +0100

I founded a section in the org-contribute.html with the names of the
tiny change contributors,
Do you know how could I get my name there? This is my second
tinychange patch. And
get my name in the list will make my day.

Thanks

2014-11-02 10:44 GMT+01:00 Nicolas Goaziou <address@hidden>:
> Roberto Huelga <address@hidden> writes:
>
>> Suppose you want to write the parent directory name in your capture so write 
>> a
>> template like
>>
>> "* %(file-name-nondirectory (directory-file-name (file-name-directory 
>> \"%F\")))"
>>
>> Without the patch, file-name-directory get the useless string "%F"
>> instead of a string
>> with the full path name of the file.
>>
>> The orgmode manual template expansion page describe
>>
>>      %(sexp)     Evaluate Elisp sexp and replace with the result.
>>                        For convenience, %:keyword (see below) placeholders
>>                        within the expression will be expanded prior to this.
>>                        The sexp must return a string.
>>
>> But without the patch is not true, first is expanded %(sexp) and after
>> that the %OneLetter and later the %:keyword
>
> Understood. Applied, thank you.
>
> Regards,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]