emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tennyson Bardwell <tennysontaylorbardwell@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-store-link modifies readonly-buffer
Date: Sat, 20 Jan 2024 14:12:13 -0500	[thread overview]
Message-ID: <CAAqbmL+HhB3KA8TpW3VKdH+uqO3XYVE+0Pn9Vw+_wyKahDAp0A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

Hi org-mode devs,

My apologies for the sparse & trivial bug report.

It seems as though =org-store-link= does not respect the "readonly" part 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.

🌸
Tennyson

[1]
Evil spacemacs, heavily customized

[2]
https://emacs.stackexchange.com/questions/79220/how-to-ignore-buffer-read-only-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/9183e3c723b812360d1042196416d521db590e9f/lisp/ol.el#L1687-L1703

[-- Attachment #2: Type: text/html, Size: 1427 bytes --]

             reply	other threads:[~2024-01-30 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20 19:12 Tennyson Bardwell [this message]
2024-01-30 14:10 ` org-store-link modifies readonly-buffer Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAqbmL+HhB3KA8TpW3VKdH+uqO3XYVE+0Pn9Vw+_wyKahDAp0A@mail.gmail.com \
    --to=tennysontaylorbardwell@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).