I would really like to be able to vary the file into which a captured item goes. Specifically, I'd like to insert the item into whatever file I was visiting when I started the capture.
("m" "Message" entry (file+datetree (buffer-file-name (buffer-base-buffer))) "* MSG @ %U %?\n %a")
But the (buffer-file-name (buffer-base-buffer)) doesn't work because the item keeps ending up in the default capture file.
Can anyone suggest a way to do this?
Cheers.
Fil Salustri
--
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email:
address@hiddenhttp://deseng.ryerson.ca/~fil/