GNU bug report logs - #43460
26.3; Package install fails if read-only-mode hooked to find-file

Previous Next

Package: emacs;

Reported by: Pablo Aguado <aguadopd <at> hotmail.com>

Date: Wed, 16 Sep 2020 23:13:01 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 43460 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Pablo Aguado <aguadopd <at> hotmail.com>
Cc: 43460 <at> debbugs.gnu.org
Subject: Re: bug#43460: 26.3; Package install fails if read-only-mode hooked
 to find-file
Date: Thu, 17 Sep 2020 18:03:21 +0200
Pablo Aguado <aguadopd <at> hotmail.com> writes:

> I have set the following to always open files in read-only-mode:
>     (add-hook 'find-file-hook 'read-only-mode)
>
> When I tried to install a new package through package-install, I got
> (buffer-read-only #<buffer adaptive-wrap-autoloads.el>)

I've now made package install autoload generation ignore find-file-hook
in Emacs 28, which seems to fix the problem there.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.