From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QBSZDVm+L2GIGAEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 19:54:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QDZYCVm+L2FwJAAA1q6Kng (envelope-from ) for ; Wed, 01 Sep 2021 17:54:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4BFDF1348C for ; Wed, 1 Sep 2021 19:54:32 +0200 (CEST) Received: from localhost ([::1]:54388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLURT-0004ev-7R for larch@yhetil.org; Wed, 01 Sep 2021 13:54:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLUR2-0004eU-AG for emacs-orgmode@gnu.org; Wed, 01 Sep 2021 13:54:04 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:38798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLUR0-0006vT-E8 for emacs-orgmode@gnu.org; Wed, 01 Sep 2021 13:54:04 -0400 Received: by mail-qk1-x730.google.com with SMTP id f22so314815qkm.5 for ; Wed, 01 Sep 2021 10:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmdln-org.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:date:message-id:mime-version; bh=6zXPy4eSMLqoRucdEtIO8e8hds4+pdNSSW3XZb7SD1Y=; b=kDatzjqcpvUDXhob4ixQClXHnKhOeYVryUP/+D/g3lVc13FZS94udsvrmma/uE36Bv D1dxbz29EyUwlfqPROptuKiXR1cZ/m7td/4GP1TyNMEisBWk7KPfHosYzrD4gj5DxUSA dc99MGldwEP8bnpWbU43ul1Ga7Hx4/7WRaPkIoOKpi5rLIwCmy9nGcmyjl/5mT3BunJV OtroO3zPzwlJ9i1XRCTkuAs0bUmhZHjqS45nv6xuOfwhdYtRfMlmHxn50bgSfIDhf9wK nFsKBUys6dvLsqh4hQcNNfHRMC6kL5qnTmxP9z82vDeMwV9Dko2d+UQwQL5JaLggNI5g v/7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=6zXPy4eSMLqoRucdEtIO8e8hds4+pdNSSW3XZb7SD1Y=; b=kIcRfRkNCGcxu/fZUDHE+HW2YodxeaeDYVRW6MqtUV/1tJUVxIRC8O2dURyEgLJNmb tQdibmgk2cBnWIwNJIwxMmq2SmVYemq5U1jqRAby/y4Sevc9KzVCuFB+8+7u3BrTtbZy uDWG/1Lwj1QJZ5WKrCMFIBc7RisMVL37Guqpe9exYMhz/vX6JOBgzfv2zafzXbj9JzAy e3Tg8r4GRJ3z9kJ9ycE1RtGt+QwtAKypm+Qr5ImEJrTYkeTt7dtHPLP/IkjiC0s57rlH 6OIIclt5y4XVRRl/thqnDtF+1nHeOg8et3Mx1v/5cUI2MABEEy7nd99YU0gKt4c3LKJf QhnQ== X-Gm-Message-State: AOAM5338fgdR+w40/luIeGbfoGgUuvrgYzfcGYYZtG5pyQHivpWWyzyU 6vqNax0/d+c148Y7yEGf7pTZylmZhuL+Qg== X-Google-Smtp-Source: ABdhPJx5kadiw7RboCuxbeFocDGs1Ix3+ncd/Yd/r/EkS/1oTUELPlqnvcz9Cemem8sfBq7V5LaA2A== X-Received: by 2002:a05:620a:1105:: with SMTP id o5mr865901qkk.278.1630518833863; Wed, 01 Sep 2021 10:53:53 -0700 (PDT) Received: from nickanderson-ThinkPad-W550s.home.cmdln.org (ec2-52-206-213-169.compute-1.amazonaws.com. [52.206.213.169]) by smtp.gmail.com with ESMTPSA id k20sm143792qko.117.2021.09.01.10.53.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 10:53:53 -0700 (PDT) Received: by nickanderson-ThinkPad-W550s.home.cmdln.org (Postfix, from userid 1000) id 1E9F72023171; Wed, 1 Sep 2021 12:53:52 -0500 (CDT) User-agent: mu4e 1.2.0; emacs 26.3 From: Nick Anderson To: emacs-orgmode@gnu.org Subject: Need absolute org-attach-id-dir to attach in buffers without filename Date: Wed, 01 Sep 2021 12:53:52 -0500 Message-ID: <87ilzk5gi7.fsf@cmdln.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=2607:f8b0:4864:20::730; envelope-from=nick@cmdln.org; helo=mail-qk1-x730.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HDRS_MISSP=2.499, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630518872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6zXPy4eSMLqoRucdEtIO8e8hds4+pdNSSW3XZb7SD1Y=; b=o8VSq6zDmD5x0XuuYal4V7CY2XBDGkkTiL544NsvCQxQMm0xvE5AJywG9I1FvIQ2fznb0b SVKbd09zKhUlm5lSRO+sIYNO3mugLvMKJQ/vXjjTQ026V+r/AYjevUXTEL+ZK7saGECF1S osBRA9TXqCPLycdY4r7bmXNqrKXKnhNXYtMJsNcLlA3xNFnaahixjnDpyv2wziaQj1yorj PTFEBiydMcDM8RG3qarWXxcQGKJ2jdRjHQIN/w8n8KJT7FgSmmSPoxBH8UNiHIQv8917/D QLxQJ47Ojdyf9ZtIOuKqK248kLyhPCaIjNdDXgpVt1GnSRqR8/b8A1pfNseDdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630518872; a=rsa-sha256; cv=none; b=aDD7rPuL7Wh7JWRFYLFcZBzikN0vdA1pXTfTTY7tW0Yepb4huM+TvdYoYlIACmcL1gP3gu kDqEiicF3TgWAqc2NIPZPiIxnIsWxXqlivd9mStUDyijv3kBVypf3ZkEmLKKQKnHUFMnf+ xOh7w3czXBctagxQHltu5xwCnnKG/Wie33yUwHM4dfiWIu38aw1xt97ydJO8hNfg7QlLSJ /28VT67txndjtx3172kDI3XcJZvXKDXcz/OOY2RYBCun9a4ZN/T7WN6lBFOUYQkVu0qpQ7 E+Q/RESWQkWl9ixOx/go5otLM7ASmpfTgdyS8DIJ+0O+L6QOruXSyETwIb5CUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=cmdln-org.20150623.gappssmtp.com header.s=20150623 header.b=kDatzjqc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cmdln-org.20150623.gappssmtp.com header.s=20150623 header.b=kDatzjqc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4BFDF1348C X-Spam-Score: -1.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: XJ6qPY9vQSIt --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain 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. Thanks [from org-attach] --==-=-= Content-Type: text/html

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.

Thanks

--==-=-=-- --=-=-= Content-Type: text/plain -- Nick Anderson --=-=-=--