From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5175 Path: news.gmane.org!not-for-mail From: Gernot Hassenpflug Newsgroups: gmane.emacs.gnus.user Subject: archive of sent messages: how to get to appear in Group buffer? Date: Wed, 08 Jun 2005 09:40:57 +0900 Organization: Hase at Home on GNU/Linux Debian Sarge kernel 2.4.27-2 Message-ID: <87br6hznmu.fsf@nospam.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670961 26377 80.91.229.2 (31 Jan 2006 01:29:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:29:21 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:53 2006 Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: rasc6.rish.kyoto-u.ac.jp Original-X-Trace: caraway.media.kyoto-u.ac.jp 1118191278 29528 133.3.8.211 (8 Jun 2005 00:41:18 GMT) Original-X-Complaints-To: news@news.media.kyoto-u.ac.jp Original-NNTP-Posting-Date: Wed, 8 Jun 2005 00:41:18 +0000 (UTC) Mail-Copies-To: never X-Window-System: X11 X-Face: @/]4<8I6V+nDm_ddk^dXq4/vw|(yVB5=enLEe^kP8/d{\F&yMgrFJ1:8@ToxjpTte[5n[= Rtl"P=cy[+Qm]{Q$+ftU`X}pfp7hq Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWSOz8aFCdvW1mtXVmv lpldMjj6TOyFAAACM0lEQVR4nGWUUY7cIAyGPYpyANDy3pjwTvHMAZpwgIRd3/8q/Q1Md6Wi EZP4w/ZvEyBVFpH4Ul5EMBfG2OtGzFFKAWQpMcGofudab9IEC7NwrPjbObmPg/fDEXzN47nX U1JjA5X3zZEyl8j8rFVkjRWgVq43PLhugfWrHhKXeqbbwOYCCR+cIKOeBerodgA2iFvRto+X MynAeCFtqrHOccDu/AQgT3vq0x8A9wbJy4zEanb3NUFs8hzra+rgY+Yo+llPW2/1b+8kFFrk gPpY1SQFTAYOalIktPpqPRabrGAqCG0t915mJdwJHjY6RYq+9lEeVk+9jkpZDnSqHhpURx4A tL2kT3TzTE4vohWkA3YksesPSsN+dYD9sMruaTevCy/PA6DbDaDnlHvjg7ADOB9wRgjsRgbO ik0yIKvrIi9aRC3W6kI2QL1WXQNscECqW/NmwOwBbnqt+HXN9Ab+ergeBakWkpdFIUvRXiMU qWWSnGGjxwA2EB+iTd0/MGpeLxnjtwGrjpF3XcdqfJBiQnvuhPAZVcvSgUUaYOO8UO8JpvMb NDs7qwmCx0+Aj+HMELX0JAAzR2DPMdMYyw/gcV5anmbzoAna1tjHWbXMs2CAN04a31VD7QQ4 TpxSzHO5gUcHHqISji42b8nmRTJAS561TV3Dbe2AIcrjHBe6fs1wLwPBcodmF8U7O24OAN9F mf34To8PlRpEbalfLPIN1C4A6NX/gFJMvjVLgXPQG2IAG/oXQjHCyIHx6H4AAAAASUVORK5C YII= User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:MjLCqkg5ynydTBsv1RJkXa9CdMo= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5317 Original-Lines: 85 X-Gnus-Article-Number: 5317 Tue Jan 17 17:34:53 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5175 Archived-At: Hello, I'm using gnus v.10.5.7 in Emacs 21.4.1 on an Intel Pentium III running GNU/Linux Debian Sarge kernel 2.4.27-2. After several attempts to improve mail reading in gnus, I have things almost exactly where I want them (still GnuPG to set up). I am having trouble with subscribing to the groups where I am archiving my own messages though. I read the gnus manual section on sending mail, and also looked on the web (where similar examples abound). Below then is the code in my .gnus.el file where I ask the program to store my written mails and news postings: *---* ;; Save mail into a folder called sent-mail: (setq gnus-message-archive-method '(nnfolder "sent-mail" (nnfolder-directory "~/Mail/sent-mail") (nnfolder-active-file "~/Mail/sent-mail/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t))) ;; decide where under sent-mail to store messages depending on which ;; group I am in: (setq gnus-message-archive-group '(("^rec.martial" "sent-to-martial-arts") ("^rec.models" "sent-to-models") ("^sci.military.naval" "sent-to-naval") (".*" "sent-to-misc"))) *---* I expect to get an nnfolder in my Group buffer called sent-mail, whose physical location is in the directory ~/Mail/sent-mail. This is the first time I am using nnfolder, so I am not clear as to whether nnfolder "sent-mail" is a top-level folder directory, or one single nnfolder. Going on the the next bit of the code, in this directory I expect to see the nnfolders sent-to-martial-arts, sent-to-models,sent-to-naval, and sent-to-misc, where the actual messages will be stored in nnfolder format. When I use command-line tools to look at the messages, they are indeed located in the places indicated: gernot@hase:~/Mail/sent-mail$ ls -al total 36 drwxr-xr-x 2 gernot gernot 4096 2005-06-08 02:20 . drwxr-xr-x 76 gernot gernot 4096 2005-06-08 01:57 .. -rw-r--r-- 1 gernot gernot 66 2005-06-08 02:20 active -rw-r--r-- 1 gernot gernot 2542 2005-06-08 02:08 sent-to-martial-arts -rw------- 1 gernot gernot 187 2005-06-08 02:08 sent-to-martial-arts.nov -rw-r--r-- 1 gernot gernot 0 2005-06-08 02:08 sent-to-martial-arts~ -rw-r--r-- 1 gernot gernot 2285 2005-06-08 02:20 sent-to-misc -rw------- 1 gernot gernot 232 2005-06-08 02:20 sent-to-misc.nov -rw-r--r-- 1 gernot gernot 0 2005-06-08 02:20 sent-to-misc~ -rw-r--r-- 1 gernot gernot 1862 2005-06-08 01:43 sent-to-naval -rw------- 1 gernot gernot 578 2005-06-08 01:43 sent-to-naval.nov -rw-r--r-- 1 gernot gernot 0 2005-06-08 01:43 sent-to-naval~ OK, so far excellent, at least I know the messages are being stored safely. However, I cannot seem to be able to subscribe to my own groups in an editable manner. I.e., although I can use G D or G d to access them in read-only mode, I cannot get gnus to list them as editable mail or news groups from the Group buffer. I have tried F, and have tried various foreign group subscription methods. So, I thought, if nnfolder is a mail group, then maybe I have to tell Gnus to fetch mail there, exactly like my other mail sources. In that case, I need to put, in addition to the code above, requisite mail source code into my .gnus.el. However, I did not see this in any of the many example .gnus files I have looked at on the web. Can anyone clarify for me what is going on here, or point me to some more documentation? I am especially confused still by the meaning of nnfolder "sent-mail" in relation to gnus-message-archive-group. Any help would be very much appreciated. Thank you in advance. Gratefully, Gernot Hassenpflug -- G Hassenpflug RASC, Kyoto University rish.kyoto-u.ac.jp