* How to get mail from localhost? @ 2014-03-21 19:27 Sharon Kimble 2014-03-21 19:58 ` Adam Sjøgren 2014-03-22 7:15 ` Glyn Millington 0 siblings, 2 replies; 22+ messages in thread From: Sharon Kimble @ 2014-03-21 19:27 UTC (permalink / raw) To: info-gnus-english -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I've been looking at various sites today but haven't seen anything which would allow me to got local-hosts system-mail, from '/var/mail/boudiccas'. How can I do it please? What should I put in my '.gnus.el' please? Thanks Sharon. - -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-21 19:27 How to get mail from localhost? Sharon Kimble @ 2014-03-21 19:58 ` Adam Sjøgren 2014-03-21 23:17 ` Sharon Kimble 2014-03-22 7:15 ` Glyn Millington 1 sibling, 1 reply; 22+ messages in thread From: Adam Sjøgren @ 2014-03-21 19:58 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > I've been looking at various sites today but haven't seen anything > which would allow me to got local-hosts system-mail, from > '/var/mail/boudiccas'. How can I do it please? What should I put in my > '.gnus.el' please? Take a look at the variable mail-sources - the default is to get it from the local machine: ,----[ C-h v mail-sources RET ] | mail-sources is a variable defined in `mail-source.el'. | Its value is ((file)) | | Documentation: | Where the mail backends will look for incoming mail. | This variable is a list of mail source specifiers. | See Info node `(gnus)Mail Source Specifiers'. `---- How did you set up your select methods? Best regards, Adam -- "I'm not sure it never causes any harm to all users." Adam Sjøgren asjo@koldfront.dk _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-21 19:58 ` Adam Sjøgren @ 2014-03-21 23:17 ` Sharon Kimble 2014-03-22 12:50 ` Adam Sjøgren 0 siblings, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-21 23:17 UTC (permalink / raw) To: Adam Sjøgren; +Cc: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > I've been looking at various sites today but haven't seen anything > which would allow me to got local-hosts system-mail, from > '/var/mail/boudiccas'. How can I do it please? What should I put in my > '.gnus.el' please? Take a look at the variable mail-sources - the default is to get it from the local machine: ,----[ C-h v mail-sources RET ] | mail-sources is a variable defined in `mail-source.el'. | Its value is ((file)) | | Documentation: | Where the mail backends will look for incoming mail. | This variable is a list of mail source specifiers. | See Info node `(gnus)Mail Source Specifiers'. `---- How did you set up your select methods? I did it by trial and error with stuff I found on the internet, not the best way but I haven't found a one-site fits all GNUs site yet. Thanks about the 'mail-source', I'm now investigating it. Sharon. <#secure method=pgpmime mode=sign> ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-21 23:17 ` Sharon Kimble @ 2014-03-22 12:50 ` Adam Sjøgren 2014-03-22 15:16 ` Sharon Kimble 0 siblings, 1 reply; 22+ messages in thread From: Adam Sjøgren @ 2014-03-22 12:50 UTC (permalink / raw) To: info-gnus-english I wrote: >> How did you set up your select methods? Sharon Kimble <boudiccas@talktalk.net> writes: > I did it by trial and error with stuff I found on the internet, not the best way > but I haven't found a one-site fits all GNUs site yet. Ah yes. I meant, how does you setup look? Show us, and we can give you better suggestions. I think everybody started setting up Gnus (and Emacs) by trial and error, and reading stuff. I still do :-) (I tried starting a tutorial on reading email with Gnus once, but I never got around to finishing it: http://koldfront.dk/text/gnus-email-tutorial.html ) Best regards, Adam -- "I threw myself out a 1000 times Adam Sjøgren To seperate body from mind asjo@koldfront.dk But you know I didn't give a damn I'm gonna be just who I am" _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 12:50 ` Adam Sjøgren @ 2014-03-22 15:16 ` Sharon Kimble 0 siblings, 0 replies; 22+ messages in thread From: Sharon Kimble @ 2014-03-22 15:16 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 971 bytes --] On Sat, 22 Mar 2014 13:50:55 +0100 asjo@koldfront.dk (Adam Sjøgren) wrote: > I wrote: > > >> How did you set up your select methods? > > Sharon Kimble <boudiccas@talktalk.net> writes: > > > I did it by trial and error with stuff I found on the internet, not > > the best way but I haven't found a one-site fits all GNUs site yet. > > Ah yes. I meant, how does you setup look? Show us, and we can give you > better suggestions. > > I think everybody started setting up Gnus (and Emacs) by trial and > error, and reading stuff. I still do :-) > > (I tried starting a tutorial on reading email with Gnus once, but I > never got around to finishing it: > http://koldfront.dk/text/gnus-email-tutorial.html ) > Thanks Adam, very interesting and useful. Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-21 19:27 How to get mail from localhost? Sharon Kimble 2014-03-21 19:58 ` Adam Sjøgren @ 2014-03-22 7:15 ` Glyn Millington 2014-03-22 15:18 ` Sharon Kimble 1 sibling, 1 reply; 22+ messages in thread From: Glyn Millington @ 2014-03-22 7:15 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 > > I've been looking at various sites today but haven't seen anything > which would allow me to got local-hosts system-mail, from > /var/mail/boudiccas'. How can I do it please? What should I put in my > .gnus.el' please? I use this: (setq gnus-secondary-select-methods '((nnml "")) mail-sources '((file :path "/home/glyn/Mail/inbox") (file :path "/home/glyn/Mail/gmail") (file :path "/var/spool/mail/glyn"))) The last mail source is for system mail. atb Glyn ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 7:15 ` Glyn Millington @ 2014-03-22 15:18 ` Sharon Kimble 2014-03-22 15:41 ` Adam Sjøgren 0 siblings, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-22 15:18 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 2049 bytes --] On Sat, 22 Mar 2014 07:15:49 +0000 Glyn Millington <glyn.millington@gmail.com> wrote: > Sharon Kimble <boudiccas@talktalk.net> writes: > > > -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 > > > > I've been looking at various sites today but haven't seen anything > > which would allow me to got local-hosts system-mail, from > > /var/mail/boudiccas'. How can I do it please? What should I put in > > my .gnus.el' please? > > I use this: > > (setq gnus-secondary-select-methods '((nnml "")) > > mail-sources '((file :path "/home/glyn/Mail/inbox") > > (file :path "/home/glyn/Mail/gmail") > > (file :path "/var/spool/mail/glyn"))) > > The last mail source is for system mail. > This is part of what I have in my '.gnus.el' (setq gnus-home-directory "~/.emacs.d/gnus.d/" gnus-init-file "~/.emacs.d/gnus.el") ; No primary server: ;(setq gnus-select-method '(list 'nnspool (system-name))) (setq gnus-select-method '(nnnmil "")) ; Get email, and store in nnml: (setq gnus-select-method '(nntp "news.gmane.org")) (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) (add-to-list 'gnus-secondary-select-methods '((nnml "")) (nnml-directory "~/.emacs.d/gnus.d/mail/") (nnml-active-file "~/.emacs.d/gnus.d/mail/active") mail-sources '(file :path "/var/mail/boudiccas")) But it fails to load at 'nnml-directory' and also 'nnml-active-file', but I can't see how else I can give the pathway to gnus. This is the actual error it gives - add-to-list: Symbol's function definition is void: nnml-directory add-to-list: Symbol's function definition is void: nnml-active-file ATM my gnus is non-functioning because I've started over with a blank page. So any help in getting further would be very much appreciated :) Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 15:18 ` Sharon Kimble @ 2014-03-22 15:41 ` Adam Sjøgren 2014-03-22 16:37 ` Sharon Kimble [not found] ` <mailman.17864.1395506256.10748.info-gnus-english@gnu.org> 0 siblings, 2 replies; 22+ messages in thread From: Adam Sjøgren @ 2014-03-22 15:41 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > ; No primary server: > ;(setq gnus-select-method '(list 'nnspool (system-name))) > (setq gnus-select-method '(nnnmil "")) ^^^^^^ This should be nnnil - not nnnmil. > ; Get email, and store in nnml: > (setq gnus-select-method '(nntp "news.gmane.org")) Here you are overwriting the other select method you set above - which is confusing :-) > (add-to-list 'gnus-secondary-select-methods '(nntp "news.gmane.org")) Adding the same server to gnus-secondary-select-methods as the one you just have set in gnus-select-method is probably a bad idea. > (add-to-list 'gnus-secondary-select-methods '((nnml "")) > (nnml-directory "~/.emacs.d/gnus.d/mail/") > (nnml-active-file "~/.emacs.d/gnus.d/mail/active") > mail-sources '(file :path "/var/mail/boudiccas")) mail-sources is a variable by itself, it should not be part of your gnus-secondary-select-methods definition. Also, I think you have got your parenthesis mixed up; nnml-directory and nnml-active-file is supposed to be right after the "". o o o I would rewrite the configuration you posted like this: (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnml "" (nnml-directory "~/.emacs.d/gnus.d/mail/") (nnml-active-file "~/.emacs.d/gnus.d/mail/active")) (nntp "news.gmane.org"))) (I don't mind my mail ending up in ~/Mail/, so I don't set nnml-directory and nnml-active-file in my configuration, but that's just a matter of taste.) If your login boudiccas, then you don't need to set mail-sources. If it isn't, I would add: (setq mail-sources '((file :path "/var/mail/boudiccas"))) to the above. Hope this helps a little. Best regards, Adam -- "Money always takes the place of life" Adam Sjøgren asjo@koldfront.dk _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 15:41 ` Adam Sjøgren @ 2014-03-22 16:37 ` Sharon Kimble 2014-03-22 18:40 ` Adam Sjøgren [not found] ` <mailman.17864.1395506256.10748.info-gnus-english@gnu.org> 1 sibling, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-22 16:37 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 4762 bytes --] On Sat, 22 Mar 2014 16:41:00 +0100 asjo@koldfront.dk (Adam Sjøgren) wrote: > Sharon Kimble <boudiccas@talktalk.net> writes: > > > ; No primary server: > > ;(setq gnus-select-method '(list 'nnspool (system-name))) > > (setq gnus-select-method '(nnnmil "")) > ^^^^^^ > This should be nnnil - not nnnmil. > > > ; Get email, and store in nnml: > > (setq gnus-select-method '(nntp "news.gmane.org")) > > Here you are overwriting the other select method you set above - which > is confusing :-) > > > (add-to-list 'gnus-secondary-select-methods '(nntp > > "news.gmane.org")) > > Adding the same server to gnus-secondary-select-methods as the one you > just have set in gnus-select-method is probably a bad idea. > > > (add-to-list 'gnus-secondary-select-methods '((nnml "")) > > (nnml-directory "~/.emacs.d/gnus.d/mail/") > > (nnml-active-file > > "~/.emacs.d/gnus.d/mail/active") mail-sources '(file :path > > "/var/mail/boudiccas")) > > mail-sources is a variable by itself, it should not be part of your > gnus-secondary-select-methods definition. > > Also, I think you have got your parenthesis mixed up; nnml-directory > and nnml-active-file is supposed to be right after the "". > > o o o > > I would rewrite the configuration you posted like this: > > (setq gnus-select-method '(nnnil "")) > > (setq gnus-secondary-select-methods '((nnml "" > (nnml-directory > "~/.emacs.d/gnus.d/mail/") (nnml-active-file > "~/.emacs.d/gnus.d/mail/active")) (nntp "news.gmane.org"))) > > (I don't mind my mail ending up in ~/Mail/, so I don't set > nnml-directory and nnml-active-file in my configuration, but that's > just a matter of taste.) > > If your login boudiccas, then you don't need to set mail-sources. If > it isn't, I would add: > > (setq mail-sources '((file :path "/var/mail/boudiccas"))) > > to the above. > > Hope this helps a little. > > > Best regards, > > Adam > Thanks Adam, but its just not working, and I can't see why. Therefore this is the guts of my '.gnus.el' ================================================ ;;; package --- gnus.el setup ;;; Commentary - 2014-03-22 (setq smtpmail-smtp-server "smtp.talktalk.net") (setq send-mail-function 'smtpmail-send-it) (setq message-send-mail-function 'smtpmail-send-it) (require 'smtpmail) (setq smtpmail-auth-credentials "~/.authinfo") (setq mail-sources '((pop :server "mail.talktalk.net" :user "custardpie@talktalk.net" :password "rhubarbandcustard"))) (setq user-mail-address "custardpie@talktalk.net") (setq user-full-name "Sharon Kimble") (setq gnus-home-directory "~/.emacs.d/gnus.d/" gnus-init-file "~/.emacs.d/.gnus.el") ;; No primary server: ;; (setq gnus-select-method '(list 'nnspool (system-name))) (setq gnus-select-method '(nnnil "")) (setq gnus-secondary-select-methods '((nnml "" (nnml-directory "~/.emacs.d/gnus.d/mail") (nnml-active-file "~/.emacs.d/gnus.d/mail/active")) (nntp "news.gmane.org"))) (setq mail-sources '((file :path "/var/mail/boudiccas"))) (provide '.gnus) ;;; .gnus.el ends here ========================================= And this is what is shown on the 'gnus desktop' ============================= U *: nnml:mail.misc 6: nnfolder+archive:sent-mail 1: nnfolder+archive:sent-news 14: nnfolder+archive:sent.2014-03 16: nndraft:drafts U *: gmane.linux.debian.user *: gmane.emacs.gnus.general ============================== And this is the pathway of the folders - ~/.emacs.d/gnus.d/ ~/.emacs.d/gnus.d/mail/ ~/.emacs.d/gnus.d/mail/bogus/ ~/.emacs.d/gnus.d/mail/emacs/ ~/.emacs.d/gnus.d/mail/misc/ ~/.emacs.d/gnus.d/mail/org-mode/ ~/.emacs.d/gnus.d/active But none of the files or 'active' are touched with the time that I started GNUs off, I don't know where its getting the information from, as its not reading the folders in the pathway. I think that its somehow reading the old setup, which isn't being updated, and the '.gnus.el' above is the only one on the machine, so I'm puzzled. I'm sorry for presuming so much onto your time, but I am seriously trying to use GNUs for all of my emails, but at the moment its just not working, and I can't see why. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 16:37 ` Sharon Kimble @ 2014-03-22 18:40 ` Adam Sjøgren 2014-03-22 20:34 ` Sharon Kimble 0 siblings, 1 reply; 22+ messages in thread From: Adam Sjøgren @ 2014-03-22 18:40 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > Thanks Adam, but its just not working, and I can't see why. If you get in the habit of saying what happens and what you expected to happen, instead of saying "it doesn't work", you'll see that it is much easier for people to help you :-) > (setq mail-sources '((pop :server "mail.talktalk.net" > :user "custardpie@talktalk.net" > :password "rhubarbandcustard"))) So first you set mail-sources to one thing. > gnus-init-file "~/.emacs.d/.gnus.el") (Uh, it doesn't make sense to set gnus-init-file in your .gnus.el!) > (setq mail-sources '((file :path "/var/mail/boudiccas"))) Then you overwrite the previous value... > And this is what is shown on the 'gnus desktop' > ============================= > U *: nnml:mail.misc > 6: nnfolder+archive:sent-mail > 1: nnfolder+archive:sent-news > 14: nnfolder+archive:sent.2014-03 > 16: nndraft:drafts > U *: gmane.linux.debian.user > *: gmane.emacs.gnus.general > ============================== If you open nnml:mail.misc, what happens? I would expect email from /var/mail/boudiccas to end up there, when you ask Gnus to fetch email. > But none of the files or 'active' are touched with the time that I > started GNUs off, I don't know where its getting the information from, > as its not reading the folders in the pathway. Gnus uses a file called .newsrc.eld to store state. It doesn't just scan your filesystem willy nilly :-) Best regards, Adam -- "I threw myself out a 1000 times Adam Sjøgren To seperate body from mind asjo@koldfront.dk But you know I didn't give a damn I'm gonna be just who I am" _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 18:40 ` Adam Sjøgren @ 2014-03-22 20:34 ` Sharon Kimble 2014-03-22 20:58 ` Adam Sjøgren 0 siblings, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-22 20:34 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 3355 bytes --] On Sat, 22 Mar 2014 19:40:08 +0100 asjo@koldfront.dk (Adam Sjøgren) wrote: > Sharon Kimble <boudiccas@talktalk.net> writes: > > > Thanks Adam, but its just not working, and I can't see why. > > If you get in the habit of saying what happens and what you expected > to happen, instead of saying "it doesn't work", you'll see that it is > much easier for people to help you :-) True, and point taken. > > > (setq mail-sources '((pop :server "mail.talktalk.net" > > :user > > "custardpie@talktalk.net" :password "rhubarbandcustard"))) > > So first you set mail-sources to one thing. > > > gnus-init-file "~/.emacs.d/.gnus.el") > > (Uh, it doesn't make sense to set gnus-init-file in your .gnus.el!) Its gone now! > > > (setq mail-sources '((file :path "/var/mail/boudiccas"))) > > Then you overwrite the previous value... > > > And this is what is shown on the 'gnus desktop' > > ============================= > > U *: nnml:mail.misc > > 6: nnfolder+archive:sent-mail > > 1: nnfolder+archive:sent-news > > 14: nnfolder+archive:sent.2014-03 > > 16: nndraft:drafts > > U *: gmane.linux.debian.user > > *: gmane.emacs.gnus.general > > ============================== > > If you open nnml:mail.misc, what happens? I would expect email from > /var/mail/boudiccas to end up there, when you ask Gnus to fetch email. Yes, it is there, and this is the summary - R [ 5: Cron Daemon ] Cron <boudiccas@london> DISPLAY=:0 /home/boudiccas/bin/notify #backup /home > > > But none of the files or 'active' are touched with the time that I > > started GNUs off, I don't know where its getting the information > > from, as its not reading the folders in the pathway. > > Gnus uses a file called .newsrc.eld to store state. It doesn't just > scan your filesystem willy nilly :-) > > So having seen the display above, is there any way I can get a 'sane display' in the summary.buffer like 'date-time-source-subject' please? Looking at the opened '.newsrc.eld' I see that it suggests that you 'touch .newsrc', so I closed gnus down, did the 'touch .newsrc' and restarted gnus, but the display shown above still retains the same format. That display is an artefact from my previous attempts to run gnus, and I would dearly love to purge my system of it, but I can't find in which file it is stored. One of the sites that I've been following is at http://koldfront.dk/text/gnus-email-tutorial.html#thebasics which I've subsequently learned is your site Adam! Thank you very much for it, its give information in a very clear and concise, yet still understandable, format. :) I've now set a daemon in my '.gnus.el' ============================ ;; gnus daemon settings (gnus-demon-add-handler 'gnus-demon-scan-mail 20 10) (gnus-demon-add-handler 'gnus-demon-scan-news 60 nil) (gnus-demon-add-scanmail) (setq gnus-use-demon t) (gnus-demon-init) ========================== so I'll leave it running overnight, and see what happens. Thank you Adam, for your patience and time in helping me, it is appreciated. :) Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 20:34 ` Sharon Kimble @ 2014-03-22 20:58 ` Adam Sjøgren 2014-03-23 12:52 ` Tweaking Sharon Kimble 0 siblings, 1 reply; 22+ messages in thread From: Adam Sjøgren @ 2014-03-22 20:58 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: >> If you open nnml:mail.misc, what happens? I would expect email from >> /var/mail/boudiccas to end up there, when you ask Gnus to fetch email. > Yes, it is there, and this is the summary - > R [ 5: Cron Daemon ] Cron <boudiccas@london> DISPLAY=:0 /home/boudiccas/bin/notify #backup /home So you have an email shown, which looks like a local one, right? From Cron. > So having seen the display above, is there any way I can get a 'sane > display' in the summary.buffer like 'date-time-source-subject' please? What is non-sane about what you see? It shows State (R=Read), Number of lines (5), From (Cron Daemon), and Subject. You can configure what is displayed - see the manual: * http://gnus.org/manual/gnus_60.html#SEC60 > Looking at the opened '.newsrc.eld' I see that it suggests that you > 'touch .newsrc', so I closed gnus down, did the 'touch .newsrc' and > restarted gnus, but the display shown above still retains the same > format. I think this is a red herring. Things to do with .newsrc is from the time where you would use multiple newsreaders and have them share information about what newsgroup you had read. The format of the Summary buffer is unrelated to .newsrc and .newsrc.eld. > That display is an artefact from my previous attempts to run gnus, and > I would dearly love to purge my system of it, but I can't find in > which file it is stored. If you want to delete an email, you can press B DEL to delete it. Why do you want that, though? > One of the sites that I've been following is at > http://koldfront.dk/text/gnus-email-tutorial.html#thebasics which I've > subsequently learned is your site Adam! Well, I did write that I wrote it when I presented the link to you earlier today, so it shouldn't be a big surprise ;-) > I've now set a daemon in my '.gnus.el' If I were you, I would start by making the simple things work, and when they do, only then move on to automating stuff. I.e. send yourself an email on the machine locally, and see that Gnus can pick it up, and you can read it. Best regards, Adam -- "Sunday morning when the rain begins to fall Adam Sjøgren It's the end of the world" asjo@koldfront.dk _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Tweaking. 2014-03-22 20:58 ` Adam Sjøgren @ 2014-03-23 12:52 ` Sharon Kimble 2014-03-23 13:39 ` time in summary line (was: Tweaking.) Peter Münster 0 siblings, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-23 12:52 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 2136 bytes --] I now have a working system with just a few things to be sorted out, which are - * Summary line format gnus-summary-line-format "%0{%U%R%z%}%3{│%} %1{%d%} %3{│%}%4{%-20,20f%} %3{│%} %1{%B%}%s\n" gives this in the summary - R. │ 23-Mar │ Cron Daemon │ * Cron <root@london> /usr/bin/apt-get update which is very good except its not showing the time of posting. How do I get that please? I did try - gnus-summary-line-format "%0{%U%R%z%}%3{│%} %1{%o%} %3{│%} %4{%-20,20f%} %3{│%} %1{%B%}%s\n" ie this - {%o%} but that just resulted in a hideous mess, so I reverted it! * Headers I have this in my 'gnus-testing.el' (setq gnus-visible-headers '("^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^To:") gnus-sorted-header-list gnus-visible-headers ) but that is still leaving me with headers like these- Path: news.gmane.org!not-for-mail From: Cédric Boutillier <boutil@debian.org>@polytechnique.org Newsgroups: gmane.linux.debian.user.news Subject: Debian Project News - March 17th, 2014 Date: Mon, 17 Mar 2014 23:15:02 +0100 Lines: 415 Approved: news@gmane.org Message-ID: <20140317221502.GA10199@spin> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" X-Trace: ger.gmane.org 1395094547 11215 80.91.229.3 (17 Mar 2014 22:15:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2014 22:15:47 +0000 (UTC) To: debian-news@lists.debian.org <snipped> What I'm looking for in my mail & newsgroups headers is just "From - | Newsgroup/Mail - | Date+time -| Subject - | To -", ie just the basics. I've been looking things up in 'gnus.info' but haven't found anything yet that fits the bill. Thanks for all of the help that I have received so far, it is appreciated and it is helping me get a working system. Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* time in summary line (was: Tweaking.) 2014-03-23 12:52 ` Tweaking Sharon Kimble @ 2014-03-23 13:39 ` Peter Münster 2014-03-23 14:03 ` Sharon Kimble 0 siblings, 1 reply; 22+ messages in thread From: Peter Münster @ 2014-03-23 13:39 UTC (permalink / raw) To: info-gnus-english On Sun, Mar 23 2014, Sharon Kimble wrote: > * Summary line format > gnus-summary-line-format "%0{%U%R%z%}%3{│%} %1{%d%} %3{│%}%4{%-20,20f%} %3{│%} %1{%B%}%s\n" > > gives this in the summary - > R. │ 23-Mar │ Cron Daemon │ * Cron <root@london> /usr/bin/apt-get update > > which is very good except its not showing the time of posting. How do I get that please? "&user-date;" is useful: --8<---------------cut here---------------start------------->8--- gnus-user-date-format-alist is a variable defined in `gnus-sum.el'. Its value is shown below. Documentation: Specifies date format depending on age of article. This is an alist of items (AGE . FORMAT). AGE can be a number (of seconds) or a Lisp expression evaluating to a number. When the age of the article is less than this number, then use `format-time-string' with the corresponding FORMAT for displaying the date of the article. If AGE is not a number or a Lisp expression evaluating to a non-number, then the corresponding FORMAT is used as a default value. Note that the list is processed from the beginning, so it should be sorted by ascending AGE. Also note that items following the first non-number AGE will be ignored. You can use the functions `gnus-seconds-today', `gnus-seconds-month' and `gnus-seconds-year' in the AGE spec. They return the number of seconds passed since the start of today, of this month, of this year, respectively. You can customize this variable. This variable was introduced, or its default value was changed, in version 24.1 of Emacs. Value: (((gnus-seconds-today) . "%H:%M") ((+ (* 60 60 24) (gnus-seconds-today)) . "Yesterday") ((* 60 60 24 5) . "%A") ((gnus-seconds-year) . "%b %d") (t . "%Y/%m/%d")) Original value was (((gnus-seconds-today) . "Today, %H:%M") ((+ 86400 (gnus-seconds-today)) . "Yesterday, %H:%M") (604800 . "%A %H:%M") ((gnus-seconds-month) . "%A %d") ((gnus-seconds-year) . "%B %d") (t . "%b %d %Y")) --8<---------------cut here---------------end--------------->8--- -- Peter _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: time in summary line (was: Tweaking.) 2014-03-23 13:39 ` time in summary line (was: Tweaking.) Peter Münster @ 2014-03-23 14:03 ` Sharon Kimble 2014-03-23 16:35 ` time in summary line Peter Münster 0 siblings, 1 reply; 22+ messages in thread From: Sharon Kimble @ 2014-03-23 14:03 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 3882 bytes --] On Sun, 23 Mar 2014 14:39:39 +0100 Peter Münster <pmlists@free.fr> wrote: > On Sun, Mar 23 2014, Sharon Kimble wrote: > > > * Summary line format > > gnus-summary-line-format "%0{%U%R%z%}%3{│%} %1{%d%} > > %3{│%}%4{%-20,20f%} %3{│%} %1{%B%}%s\n" > > > > gives this in the summary - > > R. │ 23-Mar │ Cron Daemon │ * Cron > > <root@london> /usr/bin/apt-get update > > > > which is very good except its not showing the time of posting. How > > do I get that please? > > "&user-date;" is useful: > > --8<---------------cut here---------------start------------->8--- > gnus-user-date-format-alist is a variable defined in `gnus-sum.el'. > Its value is shown below. > > Documentation: > Specifies date format depending on age of article. > This is an alist of items (AGE . FORMAT). AGE can be a number (of > seconds) or a Lisp expression evaluating to a number. When the age of > the article is less than this number, then use `format-time-string' > with the corresponding FORMAT for displaying the date of the article. > If AGE is not a number or a Lisp expression evaluating to a > non-number, then the corresponding FORMAT is used as a default value. > > Note that the list is processed from the beginning, so it should be > sorted by ascending AGE. Also note that items following the first > non-number AGE will be ignored. > > You can use the functions `gnus-seconds-today', `gnus-seconds-month' > and `gnus-seconds-year' in the AGE spec. They return the number of > seconds passed since the start of today, of this month, of this year, > respectively. > > You can customize this variable. > > This variable was introduced, or its default value was changed, in > version 24.1 of Emacs. > > > Value: (((gnus-seconds-today) > . "%H:%M") > ((+ > (* 60 60 24) > (gnus-seconds-today)) > . "Yesterday") > ((* 60 60 24 5) > . "%A") > ((gnus-seconds-year) > . "%b %d") > (t . "%Y/%m/%d")) > > Original value was > (((gnus-seconds-today) > . "Today, %H:%M") > ((+ 86400 > (gnus-seconds-today)) > . "Yesterday, %H:%M") > (604800 . "%A %H:%M") > ((gnus-seconds-month) > . "%A %d") > ((gnus-seconds-year) > . "%B %d") > (t . "%b %d %Y")) > --8<---------------cut here---------------end--------------->8--- > Thanks, but I have this - (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-date)) ; inverted sorting: newest threads on top gnus-treat-buttonize t ; Add buttons gnus-treat-buttonize-head 'head ; Add buttons to the head gnus-treat-emphasize t ; Emphasize text gnus-treat-display-smileys t ; Use Smilies gnus-treat-strip-cr 'last ; Remove carriage returns gnus-treat-hide-headers 'head ; Hide headers gnus-boring-article-headers '(empty followup-to newsgroups many-to reply-to) gnus-treat-hide-boring-headers 'head ; -Hide boring headers ;gnus-fetch-old-headers 'some ; prevent teared threads by loading older but read postings gnus-fetch-old-headers 250 ; this should achieve the same result, without the excessive waiting for some groups gnus-sum-thread-tree-single-indent "* " gnus-sum-thread-tree-single-leaf "+-> " gnus-summary-display-arrow t gnus-summary-line-format "%0{%U%R%z%}%3{│%} %1{%d%} %3{│%} %4{%-20,20f%} %3{│%} %1{%B%}%s\n" ;gnus-summary-line-format "%U%R%z%d %I%(%[ %s %]%)\n" ;gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" ; default ) but I can't see how to add '&user-date;' in the middle of a list? Perhaps I'm being dim? Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: time in summary line 2014-03-23 14:03 ` Sharon Kimble @ 2014-03-23 16:35 ` Peter Münster 2014-03-23 16:58 ` Adam Sjøgren 0 siblings, 1 reply; 22+ messages in thread From: Peter Münster @ 2014-03-23 16:35 UTC (permalink / raw) To: info-gnus-english On Sun, Mar 23 2014, Sharon Kimble wrote: > but I can't see how to add '&user-date;' in the middle of a list? What list? You could try this: --8<---------------cut here---------------start------------->8--- (setq gnus-summary-line-format "%U%R%3P %-10&user-date; %-17,17f(%4k)%* %B%s\n" gnus-user-date-format-alist '((t . "%H:%M"))) --8<---------------cut here---------------end--------------->8--- These setups are a bit related to the summary line, perhaps they are useful to you too: --8<---------------cut here---------------start------------->8--- (setq gnus-sum-thread-tree-false-root nil gnus-sum-thread-tree-indent " " gnus-sum-thread-tree-leaf-with-other "├► " gnus-sum-thread-tree-root "" gnus-sum-thread-tree-single-indent "" gnus-sum-thread-tree-single-leaf "└► " ;; or "╰► " perhaps... gnus-sum-thread-tree-vertical "│" gnus-summary-dummy-line-format " %S\n" gnus-summary-highlight nil gnus-summary-make-false-root 'dummy gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references gnus-thread-operation-ignore-subject nil gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-most-recent-date))) --8<---------------cut here---------------end--------------->8--- > Perhaps I'm being dim? I don't know. But probably you just don't read the documentation. -- Peter _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: time in summary line 2014-03-23 16:35 ` time in summary line Peter Münster @ 2014-03-23 16:58 ` Adam Sjøgren 2014-03-23 20:33 ` Peter Münster 0 siblings, 1 reply; 22+ messages in thread From: Adam Sjøgren @ 2014-03-23 16:58 UTC (permalink / raw) To: info-gnus-english Peter Münster <pmlists@free.fr> writes: > I don't know. But probably you just don't read the documentation. To be fair, the documentation does have a bit of a learning curve, right? Best regards, Adam -- "FUTURE DIRECTIONS Adam Sjøgren None." asjo@koldfront.dk _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: time in summary line 2014-03-23 16:58 ` Adam Sjøgren @ 2014-03-23 20:33 ` Peter Münster 0 siblings, 0 replies; 22+ messages in thread From: Peter Münster @ 2014-03-23 20:33 UTC (permalink / raw) To: info-gnus-english On Sun, Mar 23 2014, Adam Sjøgren wrote: > To be fair, the documentation does have a bit of a learning curve, > right? Right. And it depends on the background of the user. And wherever the documentation of `gnus-summary-line-format' is not clear enough, it can certainly be enhanced. -- Peter _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.17864.1395506256.10748.info-gnus-english@gnu.org>]
* Re: How to get mail from localhost? [not found] ` <mailman.17864.1395506256.10748.info-gnus-english@gnu.org> @ 2014-03-22 16:46 ` Pascal J. Bourguignon 2014-03-22 17:15 ` Sharon Kimble 0 siblings, 1 reply; 22+ messages in thread From: Pascal J. Bourguignon @ 2014-03-22 16:46 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > (setq mail-sources '((pop :server "mail.talktalk.net" > :user "custardpie@talktalk.net" > :password "rhubarbandcustard"))) You might want to change the password… -- __Pascal Bourguignon__ http://www.informatimago.com/ "Le mercure monte ? C'est le moment d'acheter !" _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 16:46 ` How to get mail from localhost? Pascal J. Bourguignon @ 2014-03-22 17:15 ` Sharon Kimble 0 siblings, 0 replies; 22+ messages in thread From: Sharon Kimble @ 2014-03-22 17:15 UTC (permalink / raw) To: info-gnus-english [-- Attachment #1.1: Type: text/plain, Size: 591 bytes --] On Sat, 22 Mar 2014 17:46:39 +0100 "Pascal J. Bourguignon" <pjb@informatimago.com> wrote: > Sharon Kimble <boudiccas@talktalk.net> writes: > > > (setq mail-sources '((pop :server "mail.talktalk.net" > > :user > > "custardpie@talktalk.net" :password "rhubarbandcustard"))) > > You might want to change the password… > its okay, its my permanent dummy password, it doesn't work! :) -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] [-- Attachment #2: Type: text/plain, Size: 162 bytes --] _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <mailman.17781.1395430091.10748.info-gnus-english@gnu.org>]
* Re: How to get mail from localhost? [not found] <mailman.17781.1395430091.10748.info-gnus-english@gnu.org> @ 2014-03-22 6:53 ` Pascal J. Bourguignon 2014-03-22 12:37 ` Adam Sjøgren 0 siblings, 1 reply; 22+ messages in thread From: Pascal J. Bourguignon @ 2014-03-22 6:53 UTC (permalink / raw) To: info-gnus-english Sharon Kimble <boudiccas@talktalk.net> writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > I've been looking at various sites today but haven't seen anything which would > allow me to got local-hosts system-mail, from '/var/mail/boudiccas'. How can I > do it please? What should I put in my '.gnus.el' please? C-h v gnus-select-method RET says: If you want to use your local spool, say: (setq gnus-select-method (list 'nnspool (system-name))) If you use this variable, you must set `gnus-nntp-server' to nil. If you want to get mails or news from serveral sources, you can also use gnus-secondary-select-methods. -- __Pascal Bourguignon__ http://www.informatimago.com/ "Le mercure monte ? C'est le moment d'acheter !" ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: How to get mail from localhost? 2014-03-22 6:53 ` Pascal J. Bourguignon @ 2014-03-22 12:37 ` Adam Sjøgren 0 siblings, 0 replies; 22+ messages in thread From: Adam Sjøgren @ 2014-03-22 12:37 UTC (permalink / raw) To: info-gnus-english "Pascal J. Bourguignon" <pjb@informatimago.com> writes: > C-h v gnus-select-method RET > says: > If you want to use your local spool, say: > > (setq gnus-select-method (list 'nnspool (system-name))) > > If you use this variable, you must set `gnus-nntp-server' to nil. Uhm, that is for reading news from a local newsspool. It is not related to email. Best regards, Adam -- "I wonder if you can refuse to inherit the world." Adam Sjøgren "I think if you're born, it's too late." asjo@koldfront.dk _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2014-03-23 20:33 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-03-21 19:27 How to get mail from localhost? Sharon Kimble 2014-03-21 19:58 ` Adam Sjøgren 2014-03-21 23:17 ` Sharon Kimble 2014-03-22 12:50 ` Adam Sjøgren 2014-03-22 15:16 ` Sharon Kimble 2014-03-22 7:15 ` Glyn Millington 2014-03-22 15:18 ` Sharon Kimble 2014-03-22 15:41 ` Adam Sjøgren 2014-03-22 16:37 ` Sharon Kimble 2014-03-22 18:40 ` Adam Sjøgren 2014-03-22 20:34 ` Sharon Kimble 2014-03-22 20:58 ` Adam Sjøgren 2014-03-23 12:52 ` Tweaking Sharon Kimble 2014-03-23 13:39 ` time in summary line (was: Tweaking.) Peter Münster 2014-03-23 14:03 ` Sharon Kimble 2014-03-23 16:35 ` time in summary line Peter Münster 2014-03-23 16:58 ` Adam Sjøgren 2014-03-23 20:33 ` Peter Münster [not found] ` <mailman.17864.1395506256.10748.info-gnus-english@gnu.org> 2014-03-22 16:46 ` How to get mail from localhost? Pascal J. Bourguignon 2014-03-22 17:15 ` Sharon Kimble [not found] <mailman.17781.1395430091.10748.info-gnus-english@gnu.org> 2014-03-22 6:53 ` Pascal J. Bourguignon 2014-03-22 12:37 ` Adam Sjøgren
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 NNTP newsgroup(s).