emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Need absolute org-attach-id-dir to attach in buffers without filename
@ 2021-09-01 17:53 Nick Anderson
  0 siblings, 0 replies; only message in thread
From: Nick Anderson @ 2021-09-01 17:53 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1.1: Type: text/plain, Size: 802 bytes --]

I have an org-mode file that contains headings with attachments. When I
`org-mime-org-buffer-htmlize' I get an error, `"Need absolute
`org-attach-id-dir' to attach in buffers without filename"'.
`org-attach-id-dir' has the value `data/'. I get this error even when I
am in the buffer for the file, not simply a capture buffer. This seems
to come [from org-attach].

The buffer name is name of the file, but not named using the absolute
path to the file, is that why I am getting the error?

Looking at `buffer-file-name' while visiting the file indicates that the
value is the full path, but local in buffer it's not the full path and
the global value is nil.


[from org-attach]

[-- Attachment #1.2: Type: text/html, Size: 883 bytes --]

[-- Attachment #2: Type: text/plain, Size: 17 bytes --]

Nick Anderson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-01 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 17:53 Need absolute org-attach-id-dir to attach in buffers without filename Nick Anderson

Code repositories for project(s) associated with this inbox:


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 NNTP newsgroup(s).