help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug Loading *.el.gz files into GNU/Linux Emacs.


From: Davin Pearson
Subject: Re: Bug Loading *.el.gz files into GNU/Linux Emacs.
Date: Wed, 27 Jul 2022 17:03:40 +1200

Eli, I have found the source of the bug.

Somewhere in my explorations of Emacs I managed
to create a whole new directory tree:

/snap/emacs/1609/usr/share/emacs/28.1/lisp/

When I tried gunzip font-lock.el.gz it said
the following.

gzip: font-lock.el: Read-only file system

I tried chmod ing the /snap directory but
it failed with the following diagnostic:

$ chmod 777 /snap/
chmod: changing permissions of '/snap/': Operation not permitted

so it seems that the entire directory is mounted as read only.

Note that there is a file called font-lock.el.gz in the /snap folder (deeply
into the depths of the directory).

I can gunzip the file, but before I do so, I have to copy it to my ~/
directory
but as mentioned above, I cannot copy the file font-lock.el to the /snap
folder. (as the entire /snap directory is read only)

I hope you can give me some helpful advice!



On Wed, 27 Jul 2022 at 13:51, Davin Pearson <davin.pearson@gmail.com> wrote:

>
> Curiously enough, when I run "find" on font-core.el and font-core.el.gz
> it comes back with the following messages.  Notice how font-core.el.gz
> doesn't exist on my system.
>
> $ find /usr/share/emacs/emacs-28.1 -name font-core.el
> /usr/share/emacs/emacs-28.1/lisp/font-core.el
> $ find /usr/share/emacs/emacs-28.1 -name font-core.el.gz
> $
>
> Here is the result of finding *.el.gz files
>
> $ find /usr/share/emacs/emacs-28.1 -name *.el.gz
>
> When I gzip the file calculator.el here is the result
> of find:
>
> $ find /usr/share/emacs/emacs-28.1 -name *.el.gz
> /usr/share/emacs/emacs-28.1/lisp/calculator.el.gz
>
> I can load calculator.el.gz and calculator.el shows up on my screen
> as it should.
>
> So the source of the bug loading font-core.el baffles me.
>
> On Tue, 26 Jul 2022 at 23:54, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> > From: Davin Pearson <davin.pearson@gmail.com>
>> > Date: Tue, 26 Jul 2022 13:19:15 +1200
>> >
>> > When I try the following
>> >
>> > C-h f global-font-lock-mode-check-buffers
>> >
>> > Press RET on the hyperlink font-core.el
>> >
>> > I comes back at you with the following
>> > verbatim text:
>> >
>> >   r-xrwS-w- 15810023/15240742 995161187 ;;; font-core.el --- Core
>> interface to font-lock  -*- lexical-binding:
>> > t; -*-
>> >
>> > ;; Copyright (C) 1992
>>
>> I cannot reproduce this: for me it shows the definition of that
>> function (after uncompressing font-core.el.gz).
>>
>> Can you visit .el.gz files in Emacs? does that work?  If not, I guess
>> your gzip installation needs fixing.
>>
>> P.S. Please in the future report any problems you have with Emacs
>> using "M-x report-emacs-bug RET", and if you are unsure whether it's a
>> bug or a cockpit error, post to help-gnu-emacs@gnu.org first.  This
>> list is not the best place for such discussions.
>>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]