Deutsch   English   Français   Italiano  
<vqea03$326$1@ereborbbs.duckdns.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!ereborbbs.duckdns.org!.POSTED.192.168.18.12!not-for-mail
From: Kyonshi <gmkeros@gmail.com>
Newsgroups: comp.mail.mutt
Subject: Re: [neomutt] can't source files
Date: Fri, 7 Mar 2025 09:16:05 +0100
Organization: Erebor InterNetNews
Message-ID: <vqea03$326$1@ereborbbs.duckdns.org>
References: <vpkmj9$ihu$3@ereborbbs.duckdns.org>
 <87jz9dprk5.fsf@nosuchdomain.example.com>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 Mar 2025 08:16:03 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="192.168.18.12";
	logging-data="3142"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <87jz9dprk5.fsf@nosuchdomain.example.com>
Bytes: 2675
Lines: 45

On 2/25/2025 11:50 PM, Keith Thompson wrote:
> Kyonshi <gmkeros@gmail.com> writes:
>> for some reason I am getting the message "Error in
>> /home/kyonshi/.mutt/muttrc, line 9: source: file
>> /home/kyonshi/.mutt/colorschemes/solarized-dark-256.neomuttrc could
>> not be sourced" or something similar, whenever I try to put a theme
>> into my muttrc-file.
>>
>> (full error from ~/.neomuttdebug0 here: https://justpaste.it/je8s9 )
>>
>> Anyone know what I might be doing wrong?
> 
> You say "or something similar", but the log shows something very
> different:
> 
> Error in /home/kyonshi/.mutt/muttrc, line 9: source: file /home/kyonshi/.mutt/colorschemes could not be sourced
> 
> When posting about an error, don't show us "something similar".
> Copy-and-paste the exact error message.  And if it refers to a line in a
> file (line 9 in your .mutt/muttrc), show us that line, with some context
> if it might matter.
> 
> If "/home/kyonshi/.mutt/colorschemes/solarized-dark-256.neomuttrc", then
> "/home/kyonshi/.mutt/colorschemes" is a directory, which of course can't
> be sourced.
> 
> You have (at least) two problems: you're trying to source a directory,
> and you apparently *think* you're trying to source a file under that
> directory.
> 

So what can be sourced? I had assumed using the entry
/home/kyonshi/.mutt/colorschemes/solarized-dark-256.neomuttrc would
allow me to use the theme in question, but neither this nor
/home/kyonshi/.mutt/colorschemes/ seems to work.


According to the neomutt website it should be

"Usage

Add the following code in your neomuttrc:

source /path/to/neomutt/colorschemes "

but I assumed I was using this the correct way.