* bug#66501: 29.1; gnus-home-directory
@ 2023-10-12 15:20 Deepak Negi
2023-10-12 16:46 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Deepak Negi @ 2023-10-12 15:20 UTC (permalink / raw)
To: 66501
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))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#66501: 29.1; gnus-home-directory
2023-10-12 15:20 bug#66501: 29.1; gnus-home-directory Deepak Negi
@ 2023-10-12 16:46 ` Eric Abrahamsen
2023-10-12 18:16 ` Stefan Kangas
0 siblings, 1 reply; 5+ messages in thread
From: Eric Abrahamsen @ 2023-10-12 16:46 UTC (permalink / raw)
To: Deepak Negi; +Cc: 66501
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))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#66501: 29.1; gnus-home-directory
2023-10-12 16:46 ` Eric Abrahamsen
@ 2023-10-12 18:16 ` Stefan Kangas
2023-10-12 19:24 ` Andreas Schwab
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2023-10-12 18:16 UTC (permalink / raw)
To: Eric Abrahamsen, Deepak Negi; +Cc: 66501
Eric Abrahamsen <eric@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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#66501: 29.1; gnus-home-directory
2023-10-12 18:16 ` Stefan Kangas
@ 2023-10-12 19:24 ` Andreas Schwab
2023-10-12 22:10 ` Eric Abrahamsen
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2023-10-12 19:24 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Eric Abrahamsen, Deepak Negi, 66501
On Okt 12 2023, Stefan Kangas wrote:
> Eric Abrahamsen <eric@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@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#66501: 29.1; gnus-home-directory
2023-10-12 19:24 ` Andreas Schwab
@ 2023-10-12 22:10 ` Eric Abrahamsen
0 siblings, 0 replies; 5+ messages in thread
From: Eric Abrahamsen @ 2023-10-12 22:10 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Deepak Negi, Stefan Kangas, 66501
On 10/12/23 21:24 PM, Andreas Schwab wrote:
> On Okt 12 2023, Stefan Kangas wrote:
>
>> Eric Abrahamsen <eric@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-12 22:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 15:20 bug#66501: 29.1; gnus-home-directory Deepak Negi
2023-10-12 16:46 ` Eric Abrahamsen
2023-10-12 18:16 ` Stefan Kangas
2023-10-12 19:24 ` Andreas Schwab
2023-10-12 22:10 ` Eric Abrahamsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.