From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: rmail buffer switches in R/O mode everytime: how to debug ?
Date: Mon, 03 Feb 2025 22:15:59 +0200 [thread overview]
Message-ID: <86cyfybx8g.fsf@gnu.org> (raw)
In-Reply-To: <m234gu3j0k.fsf@maillard.im> (message from Xavier Maillard on Mon, 03 Feb 2025 20:50:19 +0100)
> From: Xavier Maillard <x@maillard.im>
> Cc: help-gnu-emacs@gnu.org
> Date: Mon, 03 Feb 2025 20:50:19 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Xavier Maillard <x@maillard.im>
> >> Date: Sun, 02 Feb 2025 23:40:30 +0100
> >>
> >> Hello,
> >>
> >> when I try to quit/save rmail buffers, it keeps telling me that buffer
> >> is read-only.
> >> Thus I have to C-x C-q to switch to R/W.
> >
> > Doesn't happen to me.
>
> Here is the message I get (from *Messages* buffer):
>
> Saving file /Users/x/.local/share/mail/in/inbox.rmail...
> run-hook-with-args-until-success: Buffer is read-only: #<buffer inbox.rmail>
So you have some hook that is run as side effect of saving, and that
hook causes the error. Thus, the next question is: what is that hook
and what does it do?
next prev parent reply other threads:[~2025-02-03 20:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-02 22:40 rmail buffer switches in R/O mode everytime: how to debug ? Xavier Maillard
2025-02-03 12:09 ` Eli Zaretskii
2025-02-03 19:50 ` Xavier Maillard
2025-02-03 20:15 ` Eli Zaretskii [this message]
2025-02-03 20:24 ` Xavier Maillard
2025-02-03 20:32 ` Xavier Maillard
2025-02-04 12:14 ` Eli Zaretskii
2025-02-04 18:59 ` Xavier Maillard
2025-02-04 8:49 ` Alfred M. Szmidt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86cyfybx8g.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.