Re: Gnus drafts setup issues

Martin Kjær Jørgensen <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
On 03/11/26 16:42 PM, Óscar Fuentes wrote:
> Martin Kjær Jørgensen <[email protected]> writes:
>
>>> When you are composing the e-mail, what's the result of
>>>
>>> M-: (buffer-file-name)
>>
>
> That's the reason why C-x C-s asks for a file-name.
>
>>> M-: write-contents-functions
>>
>> nil
>
> Gnus is failing to setup the buffer as a draft.
>
> From here I would look at the gnus configuration.
>
> Look if something interesting appears on the *Messages* buffer when you
> create the draft with `m'.

Nothing out of the ordinary. Here is an snippet of Messages:

Checking new news...
nnimap read 0k from 127.0.0.1
Reading active file via nndraft...done
Checking new news...done
No news is good news

>
> You can also try activating debug on error ( M-x toggle-debug-on-error
> ).

I tried. No error occurs when starting a new message or when trying to save as draft.

>
> See if there is anything in the drafts directory (should be empty if you
> don't have drafts).
>

Draft directory is empty of text files, but does contain another 'drafts'
directory:

.emacs.d/gnus/
└── news
    └── drafts
        ├── drafts  <-- 
        └── queue

describe-variable nndraft-directory shows:

nndraft-directory is a variable defined in ‘nndraft.el’.

Its value is "/home/mkj/.emacs.d/gnus/news/drafts/"

-- 
/Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.