From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KYJdFFDjVWTPTgAASxT56A (envelope-from ) for ; Sat, 06 May 2023 07:19:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MGifE1DjVWTpWAEAauVa8A (envelope-from ) for ; Sat, 06 May 2023 07:19:12 +0200 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 D8DF8372FC for ; Sat, 6 May 2023 07:19:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvAJB-0004vN-C1; Sat, 06 May 2023 01:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvAJ9-0004vA-Sx for emacs-orgmode@gnu.org; Sat, 06 May 2023 01:18:11 -0400 Received: from [39.171.215.100] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvAJ7-0005mB-Oe for emacs-orgmode@gnu.org; Sat, 06 May 2023 01:18:11 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 780258B5AA74; Sat, 6 May 2023 13:18:00 +0800 (CST) User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Org mode (mailing-list) Subject: [FEATURE Request] inherit headline directory for `org-attach' in `org-add-note' etc temp buffers Date: Sat, 06 May 2023 13:11:47 +0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.100 (deferred) Received-SPF: softfail client-ip=39.171.215.100; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL=0.001, SPOOFED_FREEMAIL_NO_RDNS=0.001, SPOOF_GMAIL_MID=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: reject X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683350351; a=rsa-sha256; cv=none; b=OyIw2HTPt46tansKjC3wHHa1YIk/m37KRsciLUtRJScFxJGtO5VY2E8qGtQGhDOTQoiDPo XajYN4FLi5hVPWyds4iodBYbnjxcAOQCBeOwc0qxlPfdL47v7/Rsqk5eEUxQynYyGQrPEo SJH7yC3F+x3GzP7nF/JjmnjPZPhrQX+0lt/CDQpWWG4qG7UH4vc+UkiGzMkmh68qEwEJ6x p5ihfvBpqA1jpo4poMEdAjYOLYBTC8qANqHoaC6sX2pJ1j7Dsy7IFFnRRN3fFxoaiGIBrs w8nhA7O2KQJHHy9aPmbcVvhZqzmQ7hju19TSmvmCwrj4q9e5+fYYzU0inJ1NAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683350351; h=from:from:sender:sender:reply-to: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; bh=m0efLL5j4IXeorFvHVYUk6NLE2aT5/rRg+StX14vNdg=; b=KmxpXOUJCF9+vNCb6zWHcNGkp14gi+EHs5VqT5iU2ZpAkGyaWJ7humZb3ug4+mSWb/KyBN JFhUe0IM2X761YxtA2YP/cO9m2JuKkxp+F/g9C0YIHMMohd27CPxZj8yiiS511zX9lsz1x 9xUbG18LDr/v1NwxEpsy/GXrw6uLvTKVZjB13w+HLqLzDBL8RfHsQeEL2HqZJUBXkswHPT Tpu1RL694fdG2myJ9lJBreU5WQ8EezJhmjMwOcLDLweGcW3Nd08PzIvx8l6/2l4syWi2Sq 8sZyfwyQhlsgHX5gCw8CAeUj41wov/DPB2X5e2GlcTmE9MiGbwJ5jh7x0C5g4A== X-Migadu-Spam-Score: -3.01 X-Spam-Score: -3.01 X-Migadu-Queue-Id: D8DF8372FC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: 9c+Jg3erE5CQ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable For example, I have Org content like this: #+begin_src org ,* TODO Refrigerator DEADLINE: <2023-04-06 Thu> :PROPERTIES: :ID: e1824d15-35cb-4105-a617-5f7ecd6a1049 :END: #+end_src I press [C-c C-z] `org-add-note` to add logbook note. It will open a new temporary buffer. I want to execute command [C-c C-a m] `org-attach-mv` to attach a file. But it will prompt me for org-attach directory. I think commands like `org-add-note`, `org-clock` add log, `org-todo` change TODO state add log, etc should auto inherit this org-attach directory. So that user can do `org-attach` in the temporary log buffer. WDYT? =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRV4wQACgkQG13xyVro msM2pQgAldR4Y/ShFmG5m2xyb8OrnLUWUoTxpfCQMMxN4Elfh8yo+M3FV7RyAf8K HAvBYslntARW/frjC19VMHplCRq1/kn8AVUUv6g3LPaFXTSjm0K5f9X+u3u2FQXQ nBtgX1eMQqG7cb5wQSyj9ndqxNQuDgh5WvjWyVDuWNl+rMdj3CxC3Efny5N/aqrn qBr6+2KKVnT/003RdysnnKUR8jnQV+qWtxyuBBfMhP6vGKugBpvdySdBN8eapXPq 2Vd3Y82NGevmxN5bkHYKIH1IDOiG5UjNDkVNARKQAYGkEaADlesd1r/6OnbwyM93 goqER4ICynM+M4qu0p0CWdGfy5NMNA== =oZXE -----END PGP SIGNATURE----- --=-=-=--