From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SLa7E2L7uGUmcQEAqHPOHw:P1 (envelope-from ) for ; Tue, 30 Jan 2024 14:36:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SLa7E2L7uGUmcQEAqHPOHw (envelope-from ) for ; Tue, 30 Jan 2024 14:36:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1706621794; a=rsa-sha256; cv=none; b=gjHhWJ6wVSA1pTgntBlFvGyEkNrCoN3aAS7VFah5Yvq6ZuA00QzVxGnA7IoogUf8MwGflP PsgNzWCeYd+6lQ0xD7PhBuS02eSodnsIPK5YhFgUsPruUaxCYJf1Ake5NmsK5WeQiz7DQF yM+GCCbJcQ9d+cUDep9dQ+Q/uEbbfElLrD+RyNFsKNAxccavUfNT2ydc2xvnBvZ3HKUW46 PAmObLvinC8odcA7+OtdCfVOsRlSfU4LPFooNdG6u2a0BdJVi8pJ6k2seZLcShE2O1a7Rg WEbMkuvanCsTWcwqYigUr6jFW1vMryLhKYkI1XiGHTnUwvD6n89xgsqHekIufw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; 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=1706621794; 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=jIfDOkhWnk0w9B6KMu4glAUl9WqOBMrIQd727izL2ew=; b=rk47EwNfa/mVlWNlVpWjm+nz32l5aF4cs9dmoQmf8YtpbU3swcJPmJTS2whL78Uf11ItyI ODohUdFs/+GYtaCxOlvekytMkLequK2Zlq93LHwmWHxTpATqD7WLuLQ/Huw0eSN4FFDrJD Fod8G83Cu7GrLOLktHzSyogu/iNGisrgdck7eHjMDkMdpRjk+3osgZvJHTmv67be2rR16r WrHCb84WnxUa4zoUTLpwvUIWeNUWYu72EN8uHvFeZ2ZJbnahjyvZjP3p0o5v4P+IePDL6g eoPLSCdCbR7pBTFFtLJT3FZb70z+TSnE0K9jzowp7EBQnNYIOiuss9w83+7yfw== 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 391CFC759 for ; Tue, 30 Jan 2024 14:36:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUoFp-0007c6-HA; Tue, 30 Jan 2024 08:34:22 -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 1rRGlX-0003xN-Pz for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 14:12:27 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRGlW-0000ft-3J for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 14:12:27 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-29065efa06fso596752a91.1 for ; Sat, 20 Jan 2024 11:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705777944; x=1706382744; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jIfDOkhWnk0w9B6KMu4glAUl9WqOBMrIQd727izL2ew=; b=jFaAppwlGhlTy3UQELLgP+fkFSJKd5zRsgRFK8vMXsYxIGnxxbByx5byu2/+6vXnUD AJk8ef2BYhHkOnMerPXGdKq0EhvvFYxcjs45eGW8XdXRKC2si3hvMqTY4u34zbD+JfXq 9iYnmNcfq6/FY1YqBpox0g5vKzIDf3ZTGlqHIeJ+8AOyXHzz3YOxbhHPhyEIXOm4WFc6 OWcyh6W20IWr9BU0RhT8gLxCPQSd1Rw1P6OW5fw/kWZ+y3zlkdbIgSjKyVLPN5wlUSu9 EZJFFJCQRERdXegO2mjcI95OaVdPwC/y38aIW1/AOwaX7mpFbFMX2hUdpd449NMhuRhg GFng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705777944; x=1706382744; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jIfDOkhWnk0w9B6KMu4glAUl9WqOBMrIQd727izL2ew=; b=YedQ06/u2bhgasKXAsXuGjyUz80e3PUfnJpwKKuw0uZl9UIusTQjK+mQmstB1syAL1 S5l3Up04AYNWDfDFNnGvVo7llRkt9EElyYHCt25lxuRrdjZFIDVi/NGs0jD01Cr6Z0NW 2uAQ+pLHH1KzUs6gG5UhJXRPdaE3TcrfTeiR6AMmlB9IC4MvmF61YDaHnT1OMKnd7Knt io67rdAaaV//w4T8z1p3SYhCXiVEfYjvSVNNgm8+qm3Izm+AxJsuSejFVoTA6kcfw7Z+ 4rWLP+NtzEuWzZAHqy7pOEumfPTaRFu2mI19MV0FYpnTW8yxv9nfDGuzPDcQWpw2p6sC XxAA== X-Gm-Message-State: AOJu0YyP4tlkeGPJKKhOqc9ZMGmvOZJ0jeW5kBBdtcirgGEFfn8kl6RK dLv8zC/MbfV/qHJpcG/1XHDZFRylR4yvoJEBNrumNYPjlbBtR7bJXSaOKx3aP5BK+0ADBzgbLqI R2oOI5N1Yop6YlgqiFiiRYlDjd/sIfEFEc/Gb9A== X-Google-Smtp-Source: AGHT+IHLwDypypJiNMvLP41SjJQBZUA9ttGQNypck6x98kyYZluEkYgzL08cE5PESZMXx5K7EQLRvXRxJgcHS//xzkU= X-Received: by 2002:a17:903:22c9:b0:1d5:f23b:d187 with SMTP id y9-20020a17090322c900b001d5f23bd187mr2447233plg.130.1705777944191; Sat, 20 Jan 2024 11:12:24 -0800 (PST) MIME-Version: 1.0 From: Tennyson Bardwell Date: Sat, 20 Jan 2024 14:12:13 -0500 Message-ID: Subject: org-store-link modifies readonly-buffer To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000006de570060f6560e6" Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=tennysontaylorbardwell@gmail.com; helo=mail-pj1-x1030.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 30 Jan 2024 08:34:04 -0500 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: mx10.migadu.com X-Spam-Score: -3.39 X-Migadu-Queue-Id: 391CFC759 X-Migadu-Spam-Score: -3.39 X-TUID: it43i8jfxRV9 --0000000000006de570060f6560e6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi org-mode devs, My apologies for the sparse & trivial bug report. It seems as though =3Dorg-store-link=3D does not respect the "readonly" par= t of read-only buffers. I noticed it myself[1], found a bug report on stackexchange[2], and did not see the appropriate check in the code[3]. If this is unintended, I would be happy to try to submit a PR. I have not yet contributed to any emacs ecosystem, so I would be slow & bad at this, but happy to try. =F0=9F=8C=B8 Tennyson [1] Evil spacemacs, heavily customized [2] https://emacs.stackexchange.com/questions/79220/how-to-ignore-buffer-read-o= nly-when-archiving-subtrees-in-org-mode [3] - https://github.com/bzg/org-mode/blob/main/lisp/ol.el#L1687-L1703 - https://github.com/bzg/org-mode/blob/9183e3c723b812360d1042196416d521db590e= 9f/lisp/ol.el#L1687-L1703 --0000000000006de570060f6560e6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi org-mode devs,

My apologi= es for the sparse & trivial bug report.

It see= ms as though =3Dorg-store-link=3D does not respect the "readonly"= part of read-only buffers. I noticed it myself[1], found a bug report on s= tackexchange[2], and did not see the appropriate check in the code[3].

If this is unintended, I would be happy to try to subm= it a PR. I have not yet contributed to any emacs ecosystem, so I would be s= low & bad at this, but happy to try.

=F0=9F=8C= =B8
Tennyson

[1]
Evil spac= emacs, heavily customized

[2]

[3]
-=C2=A0<= a href=3D"https://github.com/bzg/org-mode/blob/main/lisp/ol.el#L1687-L1703"= target=3D"_blank">https://github.com/bzg/org-mode/blob/main/lisp/ol.el#L16= 87-L1703
--0000000000006de570060f6560e6--