Bastien writes:
> Capture templates using `function' should now return back to the
> correct window location. Thanks for raising this,
Thanks so much for putting time in it!
Regards,
-Brett.
pgpgYsSYgPjri.pgp
Description: PGP signature
Hi Brett,
Bastien writes:
> I'm still investigating this bug, but in the meantime you may want to
> try using file+function, which does not have the bug.
Capture templates using `function' should now return back to the
correct window location. Thanks for raising this,
--
Bastien
Hi Brett,
Brett Viren writes:
> Can someone say how I might get this behavior for the "function" capture
> type as well?
I'm still investigating this bug, but in the meantime you may want to
try using file+function, which does not have the bug.
--
Bastien
Hi Bastien,
Bastien writes:
> You may try this (not tested myself):
>
> (defun bv-daily-log-file ()
> (save-window-excursion
> (find-file (concat "~/org/web/notes/"
> (format-time-string "%Y-%m-%d") ".org"))
> (goto-char (point-max))
> (newline 2)))
>
> The tr
Hi Brett,
Brett Viren writes:
> (defun bv-daily-log-file ()
> (find-file (concat "~/org/web/notes/"
> (format-time-string "%Y-%m-%d") ".org"))
> (goto-char (point-max))
> (newline 2)
> )
You may try this (not tested myself):
(defun bv-daily-log-file ()
(save-window-e
Brett Viren writes:
> Hi,
>
> I'm trying to set up a capture template of type "function" in order to
> produce a daily log file named after today's date.
>
> It mostly works. However, after doing the C-cC-c to close the capture
> buffer the window is left holding the daily log file which the cap
Hi,
I'm trying to set up a capture template of type "function" in order to
produce a daily log file named after today's date.
It mostly works. However, after doing the C-cC-c to close the capture
buffer the window is left holding the daily log file which the capture
just updated instead of going