GNU bug report logs - #66501
29.1; gnus-home-directory

Previous Next

Package: emacs;

Reported by: Deepak Negi <www.deepaknegilachu <at> gmail.com>

Date: Thu, 12 Oct 2023 15:50:01 UTC

Severity: normal

Found in version 29.1

To reply to this bug, email your comments to 66501 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#66501; Package emacs. (Thu, 12 Oct 2023 15:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Deepak Negi <www.deepaknegilachu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 12 Oct 2023 15:50:01 GMT) Full text and rfc822 format available.

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

From: Deepak Negi <www.deepaknegilachu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 20:50:02 +0530
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.

Thank you


In GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
 cairo version 1.16.0) of 2023-08-30, modified by Debian built on
 x86-csail-01
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --with-pgtk 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/reproducible-path/emacs-29.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: recentf-dialog

Minor modes in effect:
  electric-pair-mode: t
  global-auto-revert-mode: t
  fido-vertical-mode: t
  icomplete-vertical-mode: t
  icomplete-mode: t
  fido-mode: t
  save-place-mode: t
  savehist-mode: t
  display-time-mode: t
  display-battery-mode: t
  recentf-mode: t
  pixel-scroll-precision-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort flyspell ispell mail-extr emacsbug message yank-media puny
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings
cl-extra help-mode hl-line display-line-numbers elec-pair
company-oddmuse company-keywords company-etags etags fileloop xref
project company-gtags company-dabbrev-code company-dabbrev company-files
company-clang company-capf company-cmake company-semantic
company-template company-bbdb company pcase cus-edit pp cus-start
cus-load wombat-theme autorevert filenotify icomplete org-habit
org-agenda org-element org-persist xdg org-id avl-tree generator
org-refile saveplace savehist time battery dbus xml recentf tree-widget
wid-edit advice pixel-scroll cua-base org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete
comint ansi-osc ansi-color ring org-list org-footnote org-faces
org-entities time-date noutline outline icons ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc
org-loaddefs find-func cal-menu calendar cal-loaddefs org-version
org-compat org-macs format-spec company-autoloads info
ledger-mode-autoloads markdown-mode-autoloads org-superstar-autoloads
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
password-cache json subr-x map byte-opt gv bytecomp byte-compile
url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 248433 15162)
 (symbols 48 19400 0)
 (strings 32 65868 4347)
 (string-bytes 1 2088432)
 (vectors 16 36030)
 (vector-slots 8 665557 16889)
 (floats 8 218 78)
 (intervals 56 1418 0)
 (buffers 984 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66501; Package emacs. (Thu, 12 Oct 2023 16:47:02 GMT) Full text and rfc822 format available.

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

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Deepak Negi <www.deepaknegilachu <at> gmail.com>
Cc: 66501 <at> debbugs.gnu.org
Subject: Re: bug#66501: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 09:46:10 -0700
Deepak Negi <www.deepaknegilachu <at> 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))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66501; Package emacs. (Thu, 12 Oct 2023 18:18:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 Deepak Negi <www.deepaknegilachu <at> gmail.com>
Cc: 66501 <at> debbugs.gnu.org
Subject: Re: bug#66501: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 18:16:50 +0000
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> 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))

Is it really supposed to be this hard to customize?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66501; Package emacs. (Thu, 12 Oct 2023 19:26:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>,
 Deepak Negi <www.deepaknegilachu <at> gmail.com>, 66501 <at> debbugs.gnu.org
Subject: Re: bug#66501: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 21:24:38 +0200
On Okt 12 2023, Stefan Kangas wrote:

> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>
>> 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))
>
> Is it really supposed to be this hard to customize?

No.  Just setting gnus-home-directory is enough (though it needs to be
set before loading gnus).

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66501; Package emacs. (Thu, 12 Oct 2023 22:12:02 GMT) Full text and rfc822 format available.

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

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Deepak Negi <www.deepaknegilachu <at> gmail.com>,
 Stefan Kangas <stefankangas <at> gmail.com>, 66501 <at> debbugs.gnu.org
Subject: Re: bug#66501: 29.1; gnus-home-directory
Date: Thu, 12 Oct 2023 15:10:36 -0700
On 10/12/23 21:24 PM, Andreas Schwab wrote:
> On Okt 12 2023, Stefan Kangas wrote:
>
>> Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:
>>
>>> 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))
>>
>> Is it really supposed to be this hard to customize?
>
> No.  Just setting gnus-home-directory is enough (though it needs to be
> set before loading gnus).

There might have been some gnus-mock-specific reason why I was doing all
that, but at this point I can't remember. I'll be curious to know if
Deepak can solve his issue by setting `gnus-home-directory' in his
(non-Gnus) init file. I suppose you'd need to set it before loading any
package that might require Gnus, as well.




This bug report was last modified 1 year and 250 days ago.

Previous Next


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