suvayu ali <fatkasuvayu+li...@gmail.com> writes: > Hi everyone, > > I am having some trouble writing capture templates with newlines from > the customise buffer. > From all the examples I see in the manual and > Worg, it seems simply putting \n within the template string should > work. No. You see the variable edited by hand, not what you get from the customize buffer.
> But entering a "\n" in the template escapes the "\n" when saving > to file and the saved template ends up looking like this, > > "** %^{prompt|TODO|WInP} %? %^G\\n%^t" > > Entering a newline pressing [RET] works. But then in my init.el it is > stored as a carriage return rather than "\n", making it ugly. If you don't like the <RET> you can edit your init.el file and substitute <RET> with \n by hand: M-% C-q C-j \n > Is there > a way to enter newlines in the customise buffer which is saved as > "\n"? I don't think so. cheers Giovanni _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode