From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 43723@debbugs.gnu.org
Subject: bug#43723: 27.1; Errors in file-extended-attributes prevent from saving buffer
Date: Tue, 07 Jun 2022 16:07:15 +0300 [thread overview]
Message-ID: <83h74w7hbw.fsf@gnu.org> (raw)
In-Reply-To: <87bkv4k7wk.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 07 Jun 2022 13:52:27 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 43723@debbugs.gnu.org
> Date: Tue, 07 Jun 2022 13:52:27 +0200
>
> So it's this bit that bugs out in obscure situations?
>
> ;; Since we have created an entirely new file,
> ;; make sure it gets the right permission bits set.
> (setq setmodes (or setmodes
> (list (or (file-modes buffer-file-name)
> (logand ?\666 (default-file-modes)))
> (file-extended-attributes buffer-file-name)
> buffer-file-name)))
>
> Since this is such an unlikely thing to error out, perhaps just doing a
> `with-demoted-errors' here is sufficient?
Probably.
next prev parent reply other threads:[~2022-06-07 13:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 14:43 bug#43723: 27.1; Errors in file-extended-attributes prevent from saving buffer Eli Zaretskii
2022-06-06 16:22 ` Lars Ingebrigtsen
2022-06-06 16:53 ` Eli Zaretskii
2022-06-07 9:26 ` Lars Ingebrigtsen
2022-06-07 11:35 ` Eli Zaretskii
2022-06-07 11:52 ` Lars Ingebrigtsen
2022-06-07 13:07 ` Eli Zaretskii [this message]
2022-06-07 18:04 ` Lars Ingebrigtsen
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h74w7hbw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43723@debbugs.gnu.org \
--cc=larsi@gnus.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.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).