From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0FIsAUI8gWftQgAAqHPOHw:P1 (envelope-from ) for ; Fri, 10 Jan 2025 15:26:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0FIsAUI8gWftQgAAqHPOHw (envelope-from ) for ; Fri, 10 Jan 2025 16:26:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=chen-becker.org header.s=google header.b=LwchVJuQ; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736522817; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rBxwzC1mfXoRS/hKZdK2hEsksPZfZTmXIhdd3l5DLbc=; b=piGqV43gpsy0uU8NrQ81nHw8bVvo9k7C2wLad5aA8YlQHuS097tih0cD1fjNlB6jJqxGp9 7Oq1l61uS5p755OPrk14HD+ic1ILGKveCmRGc2/R7xAc/A8r1RfyqvfJl4DiJfJUKtHtVA +WI+tqn2VoyY5pa0TqP+RRyThS862dmPpnxzw87MdAl4rdRdnV95EDQB44KH9AxnphkbA3 WqnfSYekD/c68NgqhXqpBp24eu9egK+xM2ZjoJaoI8tohu3WPlV1RQQUtRW1dWkytgclS/ CNuzT2nBYcWhiBkE0F1wTewNyuMDDMKjVD14mq0XwLq+n0VQF3fiOodLIho1Fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=chen-becker.org header.s=google header.b=LwchVJuQ; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736522817; a=rsa-sha256; cv=none; b=PqxKNxcqDwfCJQVg9I2nAoLMDrjUlcSmBoRIED92g1S5lM4fnB1kcrBOcUUdCX5uaTbdYc 1RK553/1W8qGLYtG5CKEsOhJlBjZZuqHND6p7kayze/1jDxYRgFsIagcpERF1PMYPrUc/S 9O6/VwA7Gj6ELXQ6JxxDPLOAMO/98X6qWR4HczAtbULp/6oOQrcHjnAFe1Pbvnhyz2b4UV 6pD9SpH1vHrLPc4ibsd7j0nnIOxIAxiAVY9C7sCKScPV/Cz3OV2h+gLyx+Rf1imjEn2Xor AaREOEZTCra9SiTEQOBMzmXjuxHASFhyOhvxxHm5RqnH8JqlJ6atOGCYzCAueQ== 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 98D28878EC for ; Fri, 10 Jan 2025 16:26:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWGtr-0002tx-Tl; Fri, 10 Jan 2025 10:26:15 -0500 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 1tWGtq-0002tT-1h for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 10:26:14 -0500 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWGtn-0005J7-2G for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 10:26:13 -0500 Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-4afdf8520c2so805970137.2 for ; Fri, 10 Jan 2025 07:26:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-becker.org; s=google; t=1736522769; x=1737127569; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rBxwzC1mfXoRS/hKZdK2hEsksPZfZTmXIhdd3l5DLbc=; b=LwchVJuQCj7JW3W+5tWItomzrr3udhLtDUEwq1AL4mCHZMXELlzQwT+bXRPhIQGnAW y6qK8nd+c0djo9r2RVCD5rwKkZ5prVYqqh7rs1W54OMYJcvZpbYycXwJD76ILyZz2CK+ mknwCAgloP+FFhG34RTcLbH8Rj5sPsBvFu1/nBRFBzmgsLWW6lFFVSv3CbRwe/LIjs9o IntcWMcLr5QkQwz5uVRWUNG81fEV9olMEtsy5uhp23kdiPdI7y2gWvQRAs8sWLOgHML2 1BmgM0agFX0TEQlRIuDRemgRVXPYG3N3CpEltcDd5IefJOu9saoZ0suwkHe0jrYBSlig z8vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736522769; x=1737127569; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rBxwzC1mfXoRS/hKZdK2hEsksPZfZTmXIhdd3l5DLbc=; b=PrpS7TNlpFDVmo4RcLSgi/K1LaeH7t//fFARqFu51lryZQmpKL16FtpRWAiN9EmEYf IL1vmDuMuhLdVCw9n1GRTNOGQ6j4ki6rk4W0QZld0hHYfoZxkPxXChSSFAvMiOSzsJ0n lwQvmOO9vIneHinMUyVzafG2MCXYrV3lMeFftAkklLxAhoiFgPlU41yupUqu3iU8nsrQ 4EfFEzD1A2Q7l59EAkNLOWfBENZ5NUxRwYwlfTtfxY8IH/uBI69W7QDbn1+19DakjpbZ KCdxXjlst41PnNJQChgTeKWHPBkR5qCj++SkSz58/+6S4IGNvXQtmGyf7z9uWmKPMx49 4X0g== X-Gm-Message-State: AOJu0YwLsK1L8FzaZxT7f5kqoWDGXw6hOdPoHNf4qTg7ZWkPA2uuL4zI uYtJ0jlz3Kj1wXshIQNlqweco9TDYiCHDAtl1hdfPz7evErZq4MspsxW/c9ypT4NJ32tB3rJVrF X4boKD2ZKIIxdcNLwtH/U5IHlUJaMy3srZP0Wn2EkwkNePcyy X-Gm-Gg: ASbGncs8lcb5lBiFpvQ7GO2yub/SqaNZvPko2YQ4Nnbq1FCW/mJZozdogawHnnTiiCa Jrl9o764nWX6hGPqe3I/FsNd/cul6mpU0FYw= X-Google-Smtp-Source: AGHT+IFHNjlSaOFPBznXIwd0GXt8FuDUoPseQVrrbKdrkLOnHSNRYGzxkbURpxWtZhGYA/nheFspKYLyg1eHOpYBpuo= X-Received: by 2002:a05:6102:148f:b0:4b2:5ca2:48fe with SMTP id ada2fe7eead31-4b3d0f46233mr11033088137.15.1736522769149; Fri, 10 Jan 2025 07:26:09 -0800 (PST) MIME-Version: 1.0 References: <2dijBN1CGUPtmZzcNXZAe54y8u0pC8V_DYIBCL4rSR1eh2s8TFJGW5V3q7pkiCRFtEHYXy66CU7F6kK3NN_VAX-R_RbAXptG0b5vOlUQsi8=@protonmail.com> <87y15bcbi1.fsf@localhost> <877c7zede2.fsf@localhost> <874j2z7a8u.fsf@localhost> <87ttatigrx.fsf@localhost> In-Reply-To: <87ttatigrx.fsf@localhost> From: Derek Chen-Becker Date: Fri, 10 Jan 2025 08:25:58 -0700 X-Gm-Features: AbW1kvYNv063bmEUmShB-gfXnU-go7l7fTjoAnNPfVnZlqiEMkhrVQWogEWOTzE Message-ID: Subject: Re: [BUG] Cannot tangle src block in capture buffer [9.7.6] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000cccadb062b5bb636" Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=derek@chen-becker.org; helo=mail-vs1-xe30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.97 X-Spam-Score: -5.97 X-Migadu-Queue-Id: 98D28878EC X-TUID: BpBYLh2FpkoU --000000000000cccadb062b5bb636 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The holidays got the better of me and I'm just coming back to this. I've made the code changes to add the new function for resolving the base name, but I was thinking about adding a test for it as well. I'm looking at the examples in test-ob-tangle.el and I think I understand some of it, but is there any documentation on writing tests? The README under testing has some useful info for how to run the tests, but not much about how tests should be structured or any important facilities to be aware of. Thanks, Derek On Tue, Dec 24, 2024 at 2:13=E2=80=AFAM Ihor Radchenko wrote: > Derek Chen-Becker writes: > > > ... Where would be the best place to put the > > `org-base-buffer-file-name` function? > > org-macs.el > > -- > Ihor Radchenko // yantar92, > Org mode maintainer, > Learn more about Org mode at . > Support Org development at , > or support my work at > --=20 +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=3Dderek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+ --000000000000cccadb062b5bb636 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The holidays got the better of me and I= 'm just coming back to this. I've made the code changes to add the = new function for resolving the base name, but I was thinking about adding a= test for it as well. I'm looking at the examples in test-ob-tangle.el = and I think I understand some of it, but is there any documentation on writ= ing tests? The README under testing has some useful info for how to run the= tests, but not much about how tests should be structured or any important = facilities to be aware of.

Thanks,

Derek

On Tue, Dec 24, 2024 at 2:13=E2=80=AFAM Ihor Radche= nko <yantar92@posteo.net> = wrote:
Derek Che= n-Becker <der= ek@chen-becker.org> writes:

> ... Where would be the best place to put the
> `org-base-buffer-file-name` function?

org-macs.el

--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>


--
+-----------------------------------------------------------= ----+
| Derek Chen-Bec= ker=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|
| GPG Key available at https://= keybase.io/dchenbecker = and=C2=A0 =C2=A0 =C2=A0 =C2=A0|
| Fngrprnt: EB8A 6480 F0A3 C8EB C1E7=C2=A0 7F42 AFC5 AFEE 96E4 6ACC= =C2=A0 |
+------------= ---------------------------------------------------+

<= /div>
--000000000000cccadb062b5bb636--