unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Deepak Negi <www.deepaknegilachu@gmail.com>
Cc: 66501@debbugs.gnu.org
Subject: bug#66501: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 09:46:10 -0700	[thread overview]
Message-ID: <871qdzwzzh.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87ttqvvpel.fsf@debian> (Deepak Negi's message of "Thu, 12 Oct 2023 20:50:02 +0530")

Deepak Negi <www.deepaknegilachu@gmail.com> writes:

> Gnus email client doesn't storing "Mail News and newsrc-dribble" in
> user-emacs-directory, which is "~/.config/emacs/" in my case.
> even i have setup   "(setq gnus-home-directory (expand-file-name "gnus/" user-emacs-directory))"
> and created that directory there myself.

Try also setting `gnus-directory' to that same path or something inside
it.

If that isn't sufficient, this is what I had to do in gnus-mock to make
sure absolutely all Gnus-related everything went in the same directory:

(setq some-directory "~/.config/emacs/gnus"
      gnus-home-directory some-directory
      gnus-directory (expand-file-name "News/" some-directory)
      message-directory some-directory
      gnus-startup-file (expand-file-name ".newsrc" some-directory)
      gnus-init-file (expand-file-name ".gnus.el" some-directory)
      nndraft-directory (expand-file-name "drafts/" some-directory)
      gnus-agent-directory (expand-file-name "agent/" some-directory))





  reply	other threads:[~2023-10-12 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 15:20 bug#66501: 29.1; gnus-home-directory Deepak Negi
2023-10-12 16:46 ` Eric Abrahamsen [this message]
2023-10-12 18:16   ` Stefan Kangas
2023-10-12 19:24     ` Andreas Schwab
2023-10-12 22:10       ` Eric Abrahamsen

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=871qdzwzzh.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=66501@debbugs.gnu.org \
    --cc=www.deepaknegilachu@gmail.com \
    /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).