Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Sun, 31 Jul 2022 11:35:56 +0200 Adam Sjøgren schrieb: Wonderful! it works. i found the solution. inside the authinfo.gpg file there is a line #default force yes after comment out, it works. i don't knwo what it means and how it comes inside the file. anyway it works thank you for you patience. > physiculus writes: > > > 220 2.0.0 Ready to start TLS > > 250-smtp.gmail.com at your service, > > [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 35882577 > > 250-8BITMIME > > 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH > > 250-ENHANCEDSTATUSCODES > > 250-PIPELINING > > 250-CHUNKING > > 250 SMTPUTF8 > > MAIL FROM: SIZE=308 > > 530-5.7.0 Authentication Required. Learn more at > > 530 5.7.0 https://support.google.com/mail/?p=WantAuthError > > o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp QUIT > > 221 2.0.0 closing connection > > o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp > > > could you see, which step brings the error? > > The mail server explicitly tells you that you need to log in, and Gnus > doesn't, it forges ahead with "MAIL FROM". > > > the mail adress is the same as in my authinfo.gpg file. > > And the "machine" in authinfo.gpg matches the mail server's name? > > And your ~/.authinfo.gpg is encrypted with GPG? What does "file > ~/.authinfo.gpg" say? > > > or is it possible to deeper log the connection? > > There is nothing more being exchanged between Gnus and the mail server > than what you see in the trace. > > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Sun, 31 Jul 2022 11:35:56 +0200 Adam Sjøgren schrieb: > physiculus writes: > > > 220 2.0.0 Ready to start TLS > > 250-smtp.gmail.com at your service, > > [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 35882577 > > 250-8BITMIME > > 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH > > 250-ENHANCEDSTATUSCODES > > 250-PIPELINING > > 250-CHUNKING > > 250 SMTPUTF8 > > MAIL FROM: SIZE=308 > > 530-5.7.0 Authentication Required. Learn more at > > 530 5.7.0 https://support.google.com/mail/?p=WantAuthError > > o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp QUIT > > 221 2.0.0 closing connection > > o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp > > > could you see, which step brings the error? > > The mail server explicitly tells you that you need to log in, and Gnus > doesn't, it forges ahead with "MAIL FROM". > > > the mail adress is the same as in my authinfo.gpg file. > > And the "machine" in authinfo.gpg matches the mail server's name? > yes i think so. > And your ~/.authinfo.gpg is encrypted with GPG? What does "file > ~/.authinfo.gpg" say? > this is the result: /home/held/.authinfo.gpg: PGP RSA encrypted session key - keyid: 789E94A4 41B3A6B3 RSA (Encrypt or Sign) 2048b is it correct? > > or is it possible to deeper log the connection? > > There is nothing more being exchanged between Gnus and the mail server > than what you see in the trace. > > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Sat, 30 Jul 2022 22:18:39 +0200 Adam Sjøgren schrieb: > physiculus writes: > > >> Do you have username and password configured in clawsmail for the > >> outgoing (smtp) mail servers? > > > yes it is configured inside clawsmail. > > Ok, so that's at least a difference between "working client" and > "non-working client". > > > but i do not know, if gnus/smtpmail reads the data from this file. > > is it possible to log deeper if sending mail? > > I would expect the smtp trace buffer to have lines about logging in > (AUTH) if it is. > hello again, i just try it again with my gmail account. but for me, nothing that i understand why it does not work. here is the trace: 220 smtp.gmail.com ESMTP o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp 250-smtp.gmail.com at your service, [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 220 2.0.0 Ready to start TLS 250-smtp.gmail.com at your service, [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 MAIL FROM: SIZE=308 530-5.7.0 Authentication Required. Learn more at 530 5.7.0 https://support.google.com/mail/?p=WantAuthError o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp QUIT 221 2.0.0 closing connection o21-20020a170906775500b0072f9dc2c246sm3720562ejn.133 - gsmtp Process smtpmail deleted the mail adress is the same as in my authinfo.gpg file. could you see, which step brings the error? or is it possible to deeper log the connection? > Does what you have put after "machine" in authinfo match what you have > in your posting styles as the smtp servers? > > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Sat, 30 Jul 2022 21:55:42 +0200 Adam Sjøgren schrieb: > physiculus writes: > > > yes sending and receiving inside clawsmail works great. > > Do you have username and password configured in clawsmail for the > outgoing (smtp) mail servers? yes it is configured inside clawsmail. > > > any ideas to investigate further? > > I think most mail servers wants you to log in these days, so the > curious thing is that it has worked before. > > Did you try the suggestion in the previous email? > yes i did. my authinfo.gpg looks like this. but i do not know, if gnus/smtpmail reads the data from this file. is it possible to log deeper if sending mail? > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
yes sending and receiving inside clawsmail works great. only in emacs sending is not possible. gmail and my other adresses. very strange. any ideas to investigate further? Am Sat, 30 Jul 2022 20:50:17 +0200 Adam Sjøgren schrieb: > physiculus writes: > > > unfortunately i do not understand the report: > > [...] > > > MAIL FROM: SIZE=301 > > 250 OK > > RCPT TO: > > 550 relay not permitted > > So the mail server, wpxxx.webpack.hosteurope.de, is saying that you're > not allowed to send email to that address, z...@holnishaus.de, through > it > - nothing new in that, that's the message that you got all along. > > One thing that might change the servers opinion is if you log in. > > I think that is usually done by adding a password in ~/.authinfo.gpg - > i.e. adding a line like: > > machine smtp.gmail.com login asj...@gmail.com password MyGPassword > > (switch out the smtp-server hostname, login, and password). > > Does sending email to that address through that mail server work in > other clients? > > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
ok thanks, first mistake is, that i do have to require smtpmail. i never did that, but only after that, i see the variables. unfortunately i do not understand the report: 220 wpxxx.webpack.hosteurope.de ESMTP Host Europe Mail Service Sat, 30 Jul 2022 19:49:55 +0200 250-wpxxx.webpack.hosteurope.de Hello shinri33 [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP 220 TLS go ahead 250-wpxxx.webpack.hosteurope.de Hello shinri33 [2a02:8108:1200:24dc:4f7b:d279:b926:29ee] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250 HELP MAIL FROM: SIZE=301 250 OK RCPT TO: 550 relay not permitted QUIT 221 wpxxx.webpack.hosteurope.de closing connection Process smtpmail deleted Am Fri, 29 Jul 2022 19:49:10 +0200 Adam Sjøgren schrieb: > physiculus writes: > > > Am Thu, 28 Jul 2022 09:34:17 -1000 > > Bob Newell schrieb: > > >> Have you tried setting smtp-debug-info to t? > > > yes i have set it, but did not see any difference. > > Probably because the variable is called smtpmail-debug-info: > > ,[ C-h v smtpmail-debug-info RET ] > | smtpmail-debug-info is a variable defined in ‘smtpmail.el’. > | > | Its value is nil > | > | Whether to print info in buffer *trace of SMTP session to > *. | See also ‘smtpmail-debug-verb’ which determines if > the SMTP protocol should | be verbose as well. > | > ` > > So try setting that and look at the resulting trace buffer. > > I'm guessing your smtp login is failing, as the mail server is telling > you that you are not allowed to send email through it (relaying). > > > Best regards, > > Adam >
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Thu, 28 Jul 2022 09:34:17 -1000 Bob Newell schrieb: > >> Do you get the same results when trying to send through > >> smtp.gmail.com as you do with wpxxx.mailout.server-he.de? That > >> is to say the 550 relay not permitted? > >> > > > > yes i think so. > > is it possible to dive deeper into the connection (inside gnus or > > inside emacs)? > > Have you tried setting smtp-debug-info to t? > hello, yes i have set it, but did not see any difference. is there any log file? here are the messages: smtpmail-send-it: Sending failed: 550 relay not permitted as usual with the error.
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Wed, 27 Jul 2022 11:13:43 -1000 Bob Newell schrieb: > > (setq gnus-parameters '( > > (".*" ; Matches all groups of > > messages > > (posting-style (address "GMail > > ") > > ("X-Message-SMTP-Method" "smtp > > smtp.gmail.com 587 x...@googlemail.com") ) (gcc-self . > > t) (charset . utf-8) ) > > ("Privat" > > (posting-style > > (address "x...@holnishaus.de") > > (name "jensprivat") > > ("X-Message-SMTP-Method" "smtp > > wpxxx.mailout.server-he.de 25 wpxxx") (body "") > > Do you get the same results when trying to send through > smtp.gmail.com as you do with wpxxx.mailout.server-he.de? That > is to say the 550 relay not permitted? > yes i think so. is it possible to dive deeper into the connection (inside gnus or inside emacs)? here is the debug output: Debugger entered--Lisp error: (error "Sending failed: 550 relay not permitted") signal(error ("Sending failed: 550 relay not permitted")) error("Sending failed: %s" "550 relay not permitted") smtpmail-send-it() message-smtpmail-send-it() message-multi-smtp-send-mail() message--send-mail-maybe-partially() message-send-mail(nil) message-send-via-mail(nil) message-send(nil) message-send-and-exit(nil) funcall-interactively(message-send-and-exit nil) call-interactively(message-send-and-exit nil nil) command-execute(message-send-and-exit)
Re: Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
Am Wed, 27 Jul 2022 16:09:02 +0200 physiculus schrieb: i forgot to mention, that i usually use posting-styles. (setq gnus-parameters '( (".*" ; Matches all groups of messages (posting-style (address "GMail ") ("X-Message-SMTP-Method" "smtp smtp.gmail.com 587 x...@googlemail.com") ) (gcc-self . t) (charset . utf-8) ) ("Privat" (posting-style (address "x...@holnishaus.de") (name "jensprivat") ("X-Message-SMTP-Method" "smtp wpxxx.mailout.server-he.de 25 wpxxx") (body "") ) (gcc-self . t) (charset . utf-8) ) ("Jens" (posting-style (address "x...@holnishaus.de") (name "jr") ("X-Message-SMTP-Method" "smtp wpxxx.mailout.server-he.de 25 wpxxx") (body "") ) (gcc-self . t) (charset . utf-8) ) ("Karl" (posting-style (address "x...@holnishaus.de") (name "xx4") ("X-Message-SMTP-Method" "smtp wpxxx.mailout.server-he.de 25 wpxxx") (body "") ) (gcc-self . t) (charset . utf-8) ) ("GMail" (posting-style (address "x...@googlemail.com") (name "xx5") ("X-Message-SMTP-Method" "smtp smtp.gmail.com 587 x...@googlemail.com") (body "") ) (gcc-self . t) (charset . utf-8) ) )) > hello, > unfortunately i cannot send emails from my four accounts anymore. > it's only a problem from inside emacs / gnus. so i think, there is any > misconfiguration. > > how can i check, whats going wrong? > > here is the debugger output. > > > Debugger entered--Lisp error: (error "Sending failed: 550 relay not > permitted") signal(error ("Sending failed: 550 relay not permitted")) > error("Sending failed: %s" "550 relay not permitted") > smtpmail-send-it() > message-smtpmail-send-it() > message-multi-smtp-send-mail() > message--send-mail-maybe-partially() > message-send-mail(nil) > message-send-via-mail(nil) > message-send(nil) > message-send-and-exit(nil) > funcall-interactively(message-send-and-exit nil) > call-interactively(message-send-and-exit nil nil) > command-execute(message-send-and-exit) > > > regards > poul
Need help; cannot send email in gnus and emacs anymore; 550 relay not permitted
hello, unfortunately i cannot send emails from my four accounts anymore. it's only a problem from inside emacs / gnus. so i think, there is any misconfiguration. how can i check, whats going wrong? here is the debugger output. Debugger entered--Lisp error: (error "Sending failed: 550 relay not permitted") signal(error ("Sending failed: 550 relay not permitted")) error("Sending failed: %s" "550 relay not permitted") smtpmail-send-it() message-smtpmail-send-it() message-multi-smtp-send-mail() message--send-mail-maybe-partially() message-send-mail(nil) message-send-via-mail(nil) message-send(nil) message-send-and-exit(nil) funcall-interactively(message-send-and-exit nil) call-interactively(message-send-and-exit nil nil) command-execute(message-send-and-exit) regards poul
Re: gnus and spam filtering; it is not working well
Am Sa, 2022-01-15, 09:18 -0800, Eric Abrahamsen schrieb: hello, i just checked the variable. the value is true. what can i check now? > physiculus writes: > >> hello, >> i try to make gnus a bit more useful for spam detection, but it does >> only work partially. >> if header is flagged as spam, gnus put the message into the spam folder. >> but checking with bogofilter is not working. > > Looks like the first thing to try, after Gnus has started up, is to > check the value of spam-bogofilter-valid. If it is 'unknown, try running > M-: (spam-bogofilter-valid). > > -- Jens Reimer
gnus and spam filtering; it is not working well
hello, i try to make gnus a bit more useful for spam detection, but it does only work partially. if header is flagged as spam, gnus put the message into the spam folder. but checking with bogofilter is not working. does anybody know what is wrong with my config? any help? Regards, Jens ;; spam (require 'spam) (spam-initialize) ;;(setq spam-log-to-registry t) ; for spam autodetection (setq spam-use-regex-headers t) ; catch X-Spam-Flag (SpamAssassin) (setq spam-use-bogofilter t) (setq spam-bogofilter-database-directory "~/.bogofilter/") (setq spam-autodetect-recheck-messages nil) (setq nnmail-split-methods 'nnmail-split-fancy) (nnimap "GMail" (nnimap-address "imap.gmail.com") (nnimap-serer-port "imaps") (nnimap-user "x...@yyy.com") (nnimap-stream ssl) (nnimap-inbox "[Gmail]/Alle Nachrichten") (nnimap-expunge 'immediately) ;;(nnimap-record-commands t) (nnimap-split-methods 'nnmail-split-fancy) (spam-autodetect-recheck-messages nil) (nnimap-split-download-body t) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (nnmail-split-fancy (& (& (: spam-split "regex-spam" 'spam-use-regex-headers) ;;(: spam-split) (: nnmail-split-fancy-with-parent) ;;(: spam-split) ) (| (any ".*xxx@yyyhaus\\.de" "Linz") (any ".*yyy@yyyhaus\\.de" "Linz") (any ".*nnn@yyyhaus\\.de" "Linz") (any ".*sss@gmail\\.com" "Linz") (any ".*ggg@holnishaus\\.de" "Linz") ) (& (any ".*emacs-orgmode@gnu\\.org" "OrgDigest") (any ".*info-gnus-english@gnu\\.org" "gnus") (any ".*n3\\.nabble\\.com" "notmuch") (any ".*mu-discuss@googlegroups\\.com" "mu") (any ".*pinterest\\.com" "Pinterest") (any ".*bbdb-user-request@nongnu\\.org" "bbdb") (any ".*emms-help-request@gnu\\.org" "emms") (any ".*ebay\\.com" "EBay") (any ".*ebay\\.de" "EBay") (any ".*ebay-kleinanzeigen\\.de" "EBay") (any ".*list@moertelshop\\.com" "Moertelshop") (any ".*gartenkalender@garten-schlueter\\.de" "Garten") (any ".*info@bohlken-baumschulen\\.de" "Garten") (any ".*newsletter@gaissmayer\\.de" "Garten") (any ".*@correcti\\.org" "Correcti") )) "INBOX") ;;(nnimap-split-methods default) (get-new-mail t) (gnus-search-engine gnus-search-imap) )
Re: Gnorb gnorb-ebdb how to use instead of bbdb?
Am Do, 2021-12-30, 16:04 -0800, Eric Abrahamsen schrieb: hello, thanks for that info. i can't wait and see what your new version consummate. :-) regards, Poul > physiculus writes: > >> hello, >> i want to use gnorb-ebdb instead of bbdb, because i do not use bbdb at >> all. instead i successfully use ebdb with gnus.. >> i loaded gnorb-ebdb after gnorb without errors. >> >> my emacs version is 28.0.90. >> >> but how could i use it? > > It doesn't do very much right now! I've started working on generalizing > the contact management part of Gnorb, but haven't finished it, and have > a pile of unreleased code related to this on one of my computers. Just > keep it installed, and I'll update code before too long. :) > >
Gnorb gnorb-ebdb how to use instead of bbdb?
hello, i want to use gnorb-ebdb instead of bbdb, because i do not use bbdb at all. instead i successfully use ebdb with gnus.. i loaded gnorb-ebdb after gnorb without errors. my emacs version is 28.0.90. but how could i use it? merry christmas! -- Jens Reimer
Re: question about org-link gnus message and gnus registry
Am Do, 2021-12-02, 11:20 -0800, Eric Abrahamsen schrieb: hello, the version is 1.6.9 from elpa, installed today. this is the backtrace: Debugger entered--Lisp error: (void-function second) signal(void-function (second)) gnorb-org-setup-message(("nnimap+GMail:gnus#87o860krsm@googlemail.com") nil nil nil nil nil nil "65281282-7850-4f1f-b9e3-e18413932a1a") gnorb-org-handle-mail(nil) funcall-interactively(gnorb-org-handle-mail nil) call-interactively(gnorb-org-handle-mail record nil) command-execute(gnorb-org-handle-mail record) execute-extended-command(nil "gnorb-org-handle-mail" nil) funcall-interactively(execute-extended-command nil "gnorb-org-handle-mail" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) hope it helps regards Jens > physiculus writes: > >> Am Mi, 2021-12-01, 13:47 -1000, Bob Newell schrieb: >> >> hello, >> thanks for the reply. >> i gave gnorb a try, but if i move a message, that is linked with gnorb, >> i got the following error: >> gnorb-org-setup-message: Symbol’s function definition is void: second >> >> do you know what it means? > > All calls to `second' in the Gnorb codebase should have been replaced by > `cl-second' years ago (like in 2014). Can you tell me your Gnorb > version, and also run M-x toggle-debug-on-error and trigger the error > again, then send me the backtrace? > > Thanks, > Eric > > -- Jens Reimer
Re: question about org-link gnus message and gnus registry
Am Mi, 2021-12-01, 13:47 -1000, Bob Newell schrieb: hello, thanks for the reply. i gave gnorb a try, but if i move a message, that is linked with gnorb, i got the following error: gnorb-org-setup-message: Symbol’s function definition is void: second do you know what it means? Regards Jens --- > physiculus writes: > >> >> scenario: >> i create a org link with org and insert the link into an org file. >> works. >> >> now i move the message inside gnus to another folder. >> >> open the link inside the org file is not valid anymore. > > Without getting into unknown territory about why this is, I > have encountered the same problem. > > I have a solution that applies only to gmail, so it may not > help. I have some elisp that runs as a hook after a gnus > org-mode link is created, and changes (for instance) "Inbox" > to "All Mail". This takes advantage of the fact that > everything in gmail is always in "All Mail" so the org link is > always valid. > > Something similar for non-gmail probably could be cooked up if > you're willing to move the item in question to a common folder > such as an archive. > > I don't say that this is a substitute for actually figuring > things out. I have tried Gnorb which tracks via the registry > but never completely got it to be as general as I wished.
question about org-link gnus message and gnus registry
hello, i'm just struggeling about the consistency of an org-link to a gnus message after moving this message into another folder on same server or a different one. scenario: i create a org link with org and insert the link into an org file. works. now i move the message inside gnus to another folder. open the link inside the org file is not valid anymore. i thought, that the registry is responsible for saving the position of any message. therefore it saves the message-id and use this to locate the message. and i thought, that org-link "knows" this message-id, though the link to the message is valid without the position of the folder or better the position of the message inside the folder. like a database index. but now i'm quite sure, that my thoughts were completely wrong?? or is it possible to locate a message through org-link? any ideas? Regards -- Jens Reimer
Re: [question] how show messages with bold or colored or different font sizes
hello, i set shr-use-fonts and shr-use-colors to t. but now the colors in html mails from other poeple are mostly terrible. too light or too dark, no real good mix. regards poul
Re: [question] how show messages with bold or colored or different font sizes
Am Mo, 2021-09-20, 19:25 +0200, physiculus schrieb: > Am Mo, 2021-09-20, 08:50 +0200, Adam Sjgren schrieb: > > I'm on a step forward! > colors are correct. > bold, italics are correct. > font sizes not. > > here is the raw html. > Ein, zwei Wrter in unterschiedlichen Gren > Grensize="+3">Gren > > command C-u C-x = dont show a different face, only variable-pitch Height > 1.0 > so i guess a render component don't recognize the html font size factor. > > Any ideas? I find out that rendering this message with external browser works! command K H Is it possible, that this is a bug in shr? > > Regards > Poul > > >> physiculus writes: >> >>> i changed my settings and now gnus display bold and italics and bold. >>> but no color and no font sizes. >>> >>> do you know why? >> >> No. I'm guessing it is something in your configuration. Have you changed >> it to display the HTML part or the text part? >> >> >> Best regards, >> >> Adam -- Jens Reimer
Re: [question] how show messages with bold or colored or different font sizes
Am Mo, 2021-09-20, 08:50 +0200, Adam Sjøgren schrieb: I'm on a step forward! colors are correct. bold, italics are correct. font sizes not. here is the raw html. Ein, zwei W¶rter in unterschiedlichen Gr¶en Gr¶en Gr¶en command C-u C-x = dont show a different face, only variable-pitch Height 1.0 so i guess a render component don't recognize the html font size factor. Any ideas? Regards Poul > physiculus writes: > >> i changed my settings and now gnus display bold and italics and bold. >> but no color and no font sizes. >> >> do you know why? > > No. I'm guessing it is something in your configuration. Have you changed > it to display the HTML part or the text part? > > > Best regards, > > Adam -- Jens Reimer
Re: [question] how show messages with bold or colored or different font sizes
I changed it to display html part. Perhaps an issue in my shr configuration or gnus? I dont know 樂 Von: Adam Sjøgren An: info-gnus-english@gnu.org Datum: 20.09.2021 08:51:20 Betreff: Re: [question] how show messages with bold or colored or different font sizes physiculus writes: i changed my settings and now gnus display bold and italics and bold. but no color and no font sizes. do you know why? No. I'm guessing it is something in your configuration. Have you changed it to display the HTML part or the text part? Best regards, Adam -- "They are very important clients, they can't wait." Adam Sjøgren "They're about to." a...@koldfront.dk
Re: [question] how show messages with bold or colored or different font sizes
Am So, 2021-09-19, 22:03 +0200, Adam Sjøgren schrieb: Hello, i changed my settings and now gnus display bold and italics and bold. but no color and no font sizes. do you know why? regards poul > physiculus writes: > >> here is a message: > > This is what that email looks like in my Gnus: > > · https://koldfront.dk/misc/gnus/email-screenshot.png > > (when I remove "text/html" from mm-discouraged-alternatives, and leave > "text/html" in mm-automatic-display). > > It looks like the only thing shr ignores is the font size part. > >>> Do you have any configuration set up to prefer text/ignore HTML? >>> >>> E.g. I have: >>> >>> ;; Don't display html inline >>> (setq >>>mm-discouraged-alternatives '("text/html" "text/richtext" >>> "text/enriched") >>>mm-automatic-display (remove "text/html" mm-automatic-display)) > >> Here is my setting: >> Its value is ("text/html" "text/richtext" "image/.*") > > Well, there's your problem. You've told Gnus to prefer not displaying > text/html. > > > Best regards, > > Adam -- Jens Reimer
Re: [question] how show messages with bold or colored or different font sizes
Hello, thanks for the quick answer. hope my edit helps Regards Poul Am So, 2021-09-19, 20:11 +0200, Adam Sjøgren schrieb: > physiculus writes: > >> my wife sends messages with thunderbird, but inside gnus these things are >> gone. >> Is it possible with gnus to show the messages with these attributes? > > Are you talking about emails in HTML format, and/or in both text and > HTML? > > The default is to render them with shr, which does a pretty good job of > showing such formatting. > > Do you have an example you can share? here is a message: User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4E1A7030A865AFAD184E7054" X-bounce-key: webpack.hosteurope.de;x...@xxx.de;1632035349;53830b03; X-HE-SMSGID: 1mRqwn-0003bK-6G X-HE-Virus-Scanned: Yes Old-X-HE-Spam-Score: -0.6 Old-X-HE-Spam-Report: Content analysis details: (-0.6 points) pts rule name description -- -- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.237.132.77 listed in list.dnswl.org] 0.0 HTML_FONT_SIZE_LARGE BODY: HTML font size is large 0.1 HTML_MESSAGE BODY: HTML included in message 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [80.237.132.77 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Envelope-to: x...@xxx.de X-HE-Spam-Score: 0.0 X-HE-Spam-Report: Customer whitelisted X-HE-Spam-Level: / This is a multi-part message in MIME format. --4E1A7030A865AFAD184E7054 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Ich schreibe hier ein Text f¼r dich zum testen: Ein, zwei W¶rter farbig farbig Ein, zwei W¶rter *fett fett* Ein, zwei W¶rter /kursiv kursiv/ Ein, zwei W¶rter in unterschiedlichen Gr¶en Gr¶en Gr¶en --4E1A7030A865AFAD184E7054 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Ich schreibe hier ein Text f¼r dich zum testen Ein, zwei W¶rter farbig farbig Ein, zwei W¶rter fett fett Ein, zwei W¶rter kursiv kursiv Ein, zwei W¶rter in unterschiedlichen Gr¶en Gr¶en Gr¶en --4E1A7030A865AFAD184E7054-- > > Do you have any configuration set up to prefer text/ignore HTML? > > E.g. I have: > > ;; Don't display html inline > (setq >mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched") >mm-automatic-display (remove "text/html" mm-automatic-display)) Here is my setting: Its value is ("text/html" "text/richtext" "image/.*") and Its value is ("text/plain" "text/enriched" "text/richtext" "text/html" "text/x-verbatim" "text/calendar" "text/x-vcard" "image/.*" "message/delivery-status" "multipart/.*" "message/rfc822" "text/x-patch" "text/dns" "application/pgp-signature" "application/emacs-lisp" "application/x-emacs-lisp" "application/x-pkcs7-signature" "application/pkcs7-signature" "application/x-pkcs7-mime" "application/pkcs7-mime" "application/pgp\\'" "text/x-org") > > which is the opposite of what you want. At work I have configured Gnus > the other way around, i.e. to display text/html. > > What is the value of mm-text-html-renderer in your setup? my setting: Its value is shr > > Best regards, > > Adam -- Jens Reimer
[question] how show messages with bold or colored or different font sizes
hello, i wonder how i could see received messages with bold, italic or underlined text. Or text with colored words or text with different font sizes. my wife sends messages with thunderbird, but inside gnus these things are gone. Is it possible with gnus to show the messages with these attributes? regards Poul
Re: how could gnus display the Gmail Labels X-GM-LABELS?
Pankaj Jangid writes: Hello, i read about it this: https://www.gnu.org/software/emacs/manual/html_node/gnus/Support-for-IMAP-Extensions.html#Support-for-IMAP-Extensions 6.3.4 Support for IMAP Extensions If you’re using Google’s Gmail, you may want to see your Gmail labels when reading your mail. Gnus can give you this information if you ask for ‘X-GM-LABELS’ in the variable gnus-extra-headers. For example: (setq gnus-extra-headers '(To Newsgroups X-GM-LABELS)) This will result in Gnus storing your labels in message header structures for later use. The content is always a parenthesized (possible empty) list. But unfortunately i don't understand, what to do with it. Does Gnus show them, if availabe? Or should someone create code to use it? I don't know. FYI: As far as i read on google developer sites, the folders Marked, Sent, Important and so on, are also labels. Therefore they should be displayed by gnus. Perhaps gnus do not decode the labels?? Regards Poul > physiculus writes: > >> But here are no labels visible... >> after pressing t. >> >> I insert the X-GM-LABELS to gnus-visible-headers. >> > > Are you sure this header is there in Gmail messages. I just check a few > of my emails (show original) and could not find X-GM-LABELS in any of > those. > > It could be something that Gmail might be using when filtering on server > side. I don’t use server side filtering so may be this header is not > there in my emails. > > Just check at your end. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: how could gnus display the Gmail Labels X-GM-LABELS?
Clemens Schüller via info-gnus-english writes: Hello, thanks for the quick post. But here are no labels visible... after pressing t. I insert the X-GM-LABELS to gnus-visible-headers. Regards Poul > Hello! > > >> i want to view the labels from gmail. A while ago, someone explains that >> they are known as X-GM-LABELS. >> But how could i display them in gnus summary or article buffer? >> here is my relevant config, as far as i know. >> >> (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-GM-LABELS)) >> (setq nnmail-extra-headers gnus-extra-headers) > > #+begin_src emacs-lisp > (setq gnus-visible-headers > '( "^From:" > "^Newsgroups:" > "^Subject:" > "^Date:" > "^Message-ID:" > "^Supersedes:" > "^Followup-To:" > "^Reply-To:" > ;; "^Summary:" > ;; "^Keywords:" > ;; "^Importance:" > "^To:" > "^Cc:" > "^Bcc:" > ;; "^Gnus-Warning:" > "^X-Face-Img:" > "^User-Agent:" > "^X-Mailer:" > "^X-Mailreader:" > "^X-Newsreader:" > "^X-User-Agent:" > ;; "^X-Now-Playing:" > ;; "^Content-Type:" > "^X-Spam-Status:")) > #+end_src > > All Headers are shown, when you press t ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
how could gnus display the Gmail Labels X-GM-LABELS?
Hello, i want to view the labels from gmail. A while ago, someone explains that they are known as X-GM-LABELS. But how could i display them in gnus summary or article buffer? here is my relevant config, as far as i know. (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-GM-LABELS)) (setq nnmail-extra-headers gnus-extra-headers) Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Problem splitting (nnimap-inbox "[Gmail]/Alle Nachrichten")
Bob Newell writes: > I haven't worked out write split code in >> gnus that could do this for me - but I would be delighted if someone >> else had... > > I don't do splitting but I do use the following to delete Gmail > > (gnus-summary-move-article nil "nnimap+imap.gmail.com:[Gmail]/Trash" nil) Hello, unfortunately i dont understand. Is it an configure option an your .gnus file? Or a split line? Could you please describe a little bit more. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Problem splitting (nnimap-inbox "[Gmail]/Alle Nachrichten")
Lars-Johan Liman writes: Hihi, "besserwisser" this is a german word. Is it merged into the english language? > (At the risk of being a besserwisser ... apologies in advance.) > > Could your problem stem from what I have been told and believe to be > true, that Gmail doesn't have the concept of "mailboxes" or "folders"? > > AFAIK, your mail in Gmail is just one big pool off messages, to which > Gmail assigns tags. It will tag the messages that you consider to be in > your folder "inbox" with the tag "inbox", and the ones in your folder > "work" with the tag "work". > > When you access your mail using IMAP (which, as a protocol, relies on > the concept of mail folders) and you ask to have your "work" folder > listed, it will filter out the messages with the tag "work" and show > them to you, but they are still in the big pool. > > So, to Gmail, a "folder" is just "a filtered view of the pool, according > to some combination of tags". > > With this as background, is your problem possible to explain? Thank you, this is explained enough for me. BUT my main problem is not solved with it. As far as i understand, move a message in gnus into my local folders not reachable in imap, have to delete this message in gmail All mail? Am i right? If not, perhaps i have to use another command, or another split rule, or anything advanced? Any idea? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Problem splitting (nnimap-inbox "[Gmail]/Alle Nachrichten")
Eric Abrahamsen writes: Hello, yes thanks i know that. But unfortunately after changing it, the problem remains. For a further detailed look i will describe a bit more. Usually i use folders on my gmail imap account to split incoming mails. Currently most splitting works in that way, that the article is shown in the new folder. Therefore i think, that initial splitting works. BUT After the split, a look inside gmail All Mails shows the original message AND the same message exists in the new folder. So i think, that gnus not move the message, gnus copy the message. Therefore i had to press B DEL inside the all mails folder to delete this message. BUT after a new refresh pressing g the message is there again (sometimes). Finally i think, that something inside gnus splitting process is not completely move the message. Hope my problem is described a bit clearer now. PS: I use emacs 28 on fedora 32. Regards Poul > physiculus writes: > >> Hello, >> i reconfigured my gmail account from splitting INBOX to All Mails. >> The reason was duplicated mails in folder INBOX IMPORTANT STARRED. >> I read about it and one solution should be the change from folder INBOX >> to All Mails. >> But after that change splitting is not working properly anymore. >> Most mail are not splitted automatic. If i respool, it works ?? Strange. >> >> I dont know what to do. Perhaps someone has an idea. >> >> here is my config: >> (setq gnus-secondary-select-methods '( >> (nnimap "GMail" >> (nnimap-address >> "imap.gmail.com") >> (nnimap-server-port "imaps") >> (nnimap-user >> "x...@googlemail.com") >> (nnimap-stream ssl) >> (nnimap-inbox "[Gmail]/Alle >> Nachrichten") >> (nnimap-expunge 'immediately) >> ;;(nnimap-record-commands t) >> (nnimap-split-methods default) > > If you've got split methods set to `default', won't it ignore your fancy > splitting? I thought this was supposed to be set to `nnimap-split-fancy'. > > > ___ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Problem splitting (nnimap-inbox "[Gmail]/Alle Nachrichten")
Hello, i reconfigured my gmail account from splitting INBOX to All Mails. The reason was duplicated mails in folder INBOX IMPORTANT STARRED. I read about it and one solution should be the change from folder INBOX to All Mails. But after that change splitting is not working properly anymore. Most mail are not splitted automatic. If i respool, it works ?? Strange. I dont know what to do. Perhaps someone has an idea. here is my config: (setq gnus-secondary-select-methods '( (nnimap "GMail" (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnimap-user "x...@googlemail.com") (nnimap-stream ssl) (nnimap-inbox "[Gmail]/Alle Nachrichten") (nnimap-expunge 'immediately) ;;(nnimap-record-commands t) (nnimap-split-methods default) (spam-autodetect-recheck-messages nil) (nnimap-split-download-body t) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (nnmail-split-fancy (& (& (: spam-split "regex-spam" 'spam-use-regex-headers) (: nnmail-split-fancy-with-parent) (: spam-split) ) (| (any ".*xxx@haus\\.de" "Linz") (any ".*xxx@haus\\.de" "Linz") (any ".*xxx@haus\\.de" "Linz") (any ".*xxx@gmail\\.com" "Linz") (any ".*xxx@haus\\.de" "Linz") ) (& (any ".*emacs-orgmode@gnu\\.org" "OrgDigest") (any ".*info-gnus-english@gnu\\.org" "gnus") (any ".*n3\\.nabble\\.com" "notmuch") (any ".*mu-discuss@googlegroups\\.com" "mu") (any ".*pinterest\\.com" "Pinterest") (any ".*bbdb-user-request@nongnu\\.org" "bbdb") (any ".*emms-help-request@gnu\\.org" "emms") (any ".*ebay\\.com" "EBay") (any ".*ebay\\.de" "EBay") (any ".*@correctiv\\.org" "Correctiv") )) "INBOX") ;;(nnimap-split-methods default) (get-new-mail t) (gnus-search-engine gnus-search-imap) ) ) Regards Paul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: gnus-registry-marks; Any chance to search or filter for?
Michael Heerdegen writes: Thanks for this information! Thats sad... So i understand it correct, that is not clear, if it will be work in the near future ? Is there any other solution to tag mails in gnus? With this i will be able, to filter for these tags or search for. But i only have little hope after reading your infos ... Regards Poul > physiculus writes: > >> Hello, >> thank you for this info. I thought, that no one on this list (full of >> poeple with gnus knowledge) did try it or care about it. > > These registry marks were more or less broken until a year or so (they > disappeared after restarting Emacs. That has been fixed after I had > tried them and complained. > > So view people use it (nobody else complained for a long time), but now > they at least work. Integration into the rest of Gnus is only > rudimentary. > >> But unfortunately i do not understand what you mean, because i'm not a >> developer and have very little knowledge about elisp. >> >> Could you please explain, what you mean with this code snippet? >> I can't see a function to call or interactive run in minibuffer. > > No, sorry, that was just to give you a start for implementing a function > or command yourself. The snipped shows how to extract a list of > registry marked messages from the registry database. Not more. > > I guess I could implement what you want, but I'm short on time. BTW, > what exactly do you mean by "filter" (maybe the "/" prefixed limiting > commands?) and "search" (the search articles commands from the summary > buffer, or something from the group buffer)? > > > Regards, > > Michael. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
gnus-registry-marks; Any chance to search or filter for?
i want to search or filter with the registry-marks i set. Is this possible? I couldn't find a function for that in the gnus documentation. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; Possible solution!
Eric Abrahamsen writes: Hello, i think i find the problem, but i cannot repair it. ALL messages with error in gnus contain a combination !2 in the file name. This was used on Windows for correct working of imap folders, because : is forbidden. if i change !2 in :2 (this assumes gnus, i read), the message is accepted. But how could i change the string inside the filename from !2 to :2 ? Perhaps with dired, but i dont know how? Any ideas? Regards Poul > physiculus writes: > >> xuqi writes: >> >> Hello, >> thank you and Eric very much for help. I can't help, because i do not fully >> understand, what goes wrong. > > No, that's perfect! That basically confirms my suspicion that some of > your message filenames are causing nnmaildir to fail. They're probably > these: > > /home/held/Maildirnm/karlderletzte/INBOX/cur/1554399542.4634_1560.shinri,U=651:2,S > /home/held/Maildirnm/karlderletzte/Sent/cur/1554294583.6ad7d1c538e8c734.shinri:2,,U=22:2,S!2,S > /home/held/Maildirnm/karlderletzte/Sent/cur/1554294638.4676_1518.shinri,U=23!2,S > /home/held/Maildirnm/karlderletzte/INBOX/cur/1554292397.3889_1547.shinri,U=645:2,RS > > I'll open a bug report and see if anyone else can help. My last question > for you is: do you think Gnus/nnmaildir made these files, or is there a > chance that you're just using Gnus to read a maildir installation that > was created by a different program? > > Eric ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
xuqi writes: > > As the Gnus manual described, if you have one Maildir server, you only > need to specific its directory once. All its subdirectories would be > treated as groups in Gnus. Hmmh, i dont know that. will check if it works. > > More importantly, I don't find 'karlderletzte' as a directory in your > config. The way you set the maildir up may have something to do with the > filenames in the karlderletzte folder. That this directory has even more > subdirectories which look like maildir directories is also peculiar. > Hello, sorry i only posted the config for the Lokal folders. here is it: (nnimap "Karl" (nnimap-address ".yyy.server-he.de") (nnimap-server-port "imap") (nnimap-user "-") (nnimap-stream starttls) (nnimap-inbox "INBOX") (nnimap-expunge 'on-exit) (nnimap-split-methods default) (spam-autodetect-recheck-messages t) (nnimap-split-download-body t) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (nnmail-split-fancy (& (& (: spam-split "regex-spam" 'spam-use-regex-headers) (: nnmail-split-fancy-with-parent) (: spam-split) ) (| (& (any ".*pinterest\\.com" "Pinterest") (any ".*forum@papyrus\\.de" "Papyrus") (any ".*instructables\\.com" "Instructables") (any ".*abgeordnetenwatch\\.de" "Politik") (any ".*change\\.org" "Politik") (any ".*netzpolitik\\.org" "Politik") (any ".*info@newsletter\\.greenpeace\\.de" "Politik") (any ".*@lubera\\.com" "Garten") (any ".*@sarastro-stauden\\.com" "Garten") (any ".*@stauden-stade\\.de" "Garten") (any ".*@rosenpark-draeger\\.de" "Garten") (any ".*@pflanzenversand-gaissmayer\\.de" "Garten") (any ".*@garten-schlueter\\.de" "Garten") (any ".*@bohlken-baumschulen\\.de" "Garten") (any ".*@staudenundrosen\\.de" "Garten") (any ".*@groenloof\\.de" "Garten") (any ".*news@baumschule-horstmann\\.de" "Garten") (any ".*@davidaustinroses\\.com" "Garten") (any ".*vermietung@deutscheshaus-fl\\.de" "51Stufen") ) (any ".*s@hx\\.de" "s") )) "INBOX") ;;(nnimap-split-methods default) (get-new-mail t) (nnir-search-engine imap) ) >> > > Have you actually used B m to move email to 'karlderletzte/INBOX' or > 'karlderletzte/Sent' folder? Or do you use it for other purposes than > moving email manually into it? Perhaps splitting? Caching? i use it for bot cases. reason is, that gnus could not split messages from imap to nnmaildir. as far as i understood from different answers here or from emacs.stackexchange.com. no offlineimap or isync. > > It would make things a bit more clear if you could let us know if you > configured this karlderletzte folder for some other use. Please have a > look at your Emacs, gnus, notmuch, imap server if any,
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
physiculus writes: Hello, additional note: here is my config for Lokales. Exactly spoken its Lokal. (nnmaildir "Lokal" (directory "~/Maildirnm") (directory "~/Maildirnm/archive") (directory "~/Maildirnm/attachments") (directory "~/Maildirnm/BugsandFeatures") (directory "~/Maildirnm/bwp") (directory "~/Maildirnm/Campact") (directory "~/Maildirnm/draft") (directory "~/Maildirnm/drafts") (directory "~/Maildirnm/Ebay") (directory "~/Maildirnm/Ebay_noch_suchen") (directory "~/Maildirnm/Emacs") (directory "~/Maildirnm/emms") (directory "~/Maildirnm/Enteignung") (directory "~/Maildirnm/Feedburner") (directory "~/Maildirnm/fritz") (directory "~/Maildirnm/Garten") (directory "~/Maildirnm/gnus") (directory "~/Maildirnm/Held_Wichtig") (directory "~/Maildirnm/inbox") (directory "~/Maildirnm/Informatik") (directory "~/Maildirnm/Instructables") (directory "~/Maildirnm/Lehrerausbildung") (directory "~/Maildirnm/Linzessin") (directory "~/Maildirnm/logins") (directory "~/Maildirnm/mnp-notes") (directory "~/Maildirnm/mu") (directory "~/Maildirnm/notmuch") (directory "~/Maildirnm/OrgDigest") (directory "~/Maildirnm/Orgmode") (directory "~/Maildirnm/Papyrus") (directory "~/Maildirnm/Physik") (directory "~/Maildirnm/Politik") (directory "~/Maildirnm/Privat") (directory "~/Maildirnm/ProT") (directory "~/Maildirnm/queue") (directory "~/Maildirnm/rclone") (directory "~/Maildirnm/Sammelpost") (directory "~/Maildirnm/sent") (directory "~/Maildirnm/SMS") (directory "~/Maildirnm/Spam") (directory "~/Maildirnm/Später") (directory "~/Maildirnm/SteuerNews") (directory "~/Maildirnm/Strom") (directory "~/Maildirnm/trash") (directory "~/Maildirnm/Wanderlust") (directory "~/Maildirnm/Wichtig") (directory "~/Maildirnm/ZuErledigen") (directory "~/Maildirnm/Privat") (directory-files nnheader-directory-files-safe) (get-new-mail t) ) > Eric Abrahamsen writes: > > Hello, > hmmh i checked these messages and gnu
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Eric Abrahamsen writes: Hello, hmmh i checked these messages and gnus displayed them correctly. BUT what i see is that ONLY meesages inside my directory "Lokales" got errors. This directory contains all messages, which are moved from me (gnus command B m) inside subfolders. All these subfolders are in format nnmaildir and i got no errors if i moved the messages. the directory Maildirnm is my imap folder. Here are all accounts with all folders from my imap accounts. Here searching with G G works. In directory Lokales G G gives the reported error. Perhaps this helps. Regards Poul > physiculus writes: > >> xuqi writes: >> >> Hello, >> thank you and Eric very much for help. I can't help, because i do not fully >> understand, what goes wrong. > > No, that's perfect! That basically confirms my suspicion that some of > your message filenames are causing nnmaildir to fail. They're probably > these: > > /home/held/Maildirnm/karlderletzte/INBOX/cur/1554399542.4634_1560.shinri,U=651:2,S > /home/held/Maildirnm/karlderletzte/Sent/cur/1554294583.6ad7d1c538e8c734.shinri:2,,U=22:2,S!2,S > /home/held/Maildirnm/karlderletzte/Sent/cur/1554294638.4676_1518.shinri,U=23!2,S > /home/held/Maildirnm/karlderletzte/INBOX/cur/1554292397.3889_1547.shinri,U=645:2,RS > > I'll open a bug report and see if anyone else can help. My last question > for you is: do you think Gnus/nnmaildir made these files, or is there a > chance that you're just using Gnus to read a maildir installation that > was created by a different program? > > Eric ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
xuqi writes: Hello, thank you and Eric very much for help. I can't help, because i do not fully understand, what goes wrong. here is the list: (["nnmaildir+Lokal:Privat" 349 0] ["nnmaildir+Lokal:Privat" 446 0] ["nnmaildir+Lokal:Privat" 506 0] ["nnmaildir+Lokal:Privat" 333 0] ["nnmaildir+Lokal:ZuErledigen" 399 0] ["nnmaildir+Lokal:ZuErledigen" 131 0] ["nnmaildir+Lokal:ZuErledigen" 226 0] ["nnmaildir+Lokal:Linzessin" 34 0] ["nnmaildir+Lokal:ZuErledigen" 318 0] ["nnmaildir+Lokal:ZuErledigen" 266 0] ["nnmaildir+Lokal:ZuErledigen" 42 0] ["nnmaildir+Lokal:logins" 156 0] ["nnmaildir+Lokal:logins" 59 0] ["nnmaildir+Lokal:Privat" 242 0] ["nnmaildir+Lokal:Privat" 231 0] ["nnmaildir+Lokal:Privat" 125 0] ["nnmaildir+Lokal:Privat" 314 0] ["nnmaildir+Lokal:Privat" 291 0] ["nnmaildir+Lokal:ZuErledigen" 411 0] ["nnmaildir+Lokal:Privat" 385 0] ["nnmaildir+Lokal:ZuErledigen" 319 0] ["nnmaildir+Lokal:ZuErledigen" 155 0] ["nnmaildir+Lokal:Privat" 157 0] ["nnmaildir+Lokal:Privat" 310 0] ["nnmaildir+Lokal:ZuErledigen" 492 0] ["nnmaildir+Lokal:Privat" 109 0] ["nnmaildir+Lokal:Privat" 409 0] ["nnmaildir+Lokal:Privat" 500 0] ["nnmaildir+Lokal:Privat" 209 0] ["nnmaildir+Lokal:Privat" 295 0] ["nnmaildir+Lokal:Privat" 255 0] ["nnmaildir+Lokal:Privat" 398 0] ["nnmaildir+Lokal:Privat" 367 0] ["nnmaildir+Lokal:Privat" 36 0] ["nnmaildir+Lokal:Privat" 484 0] ["nnmaildir+Lokal:Privat" 303 0] ["nnmaildir+Lokal:Privat" 189 0] ["nnmaildir+Lokal:Privat" 187 0] ["nnmaildir+Lokal:ZuErledigen" 346 0] ["nnmaildir+Lokal:Privat" 542 0] ["nnmaildir+Lokal:Privat" 144 0] ["nnmaildir+Lokal:Privat" 16 0] ["nnmaildir+Lokal:Privat" 509 0] ["nnmaildir+Lokal:Privat" 182 0] ["nnmaildir+Lokal:Privat" 72 0] ["nnmaildir+Lokal:Privat" 108 0] ["nnmaildir+Lokal:Privat" 471 0] ["nnmaildir+Lokal:Privat" 22 0] ["nnmaildir+Lokal:Privat" 181 0] ["nnmaildir+Lokal:Orgmode" 8316 0] ["nnmaildir+Lokal:Orgmode" 6221 0] ["nnmaildir+Lokal:karlderletzte.Sent" nil 0] ["nnmaildir+Lokal:karlderletzte.INBOX" nil 0] ["nnmaildir+Lokal:karlderletzte.Sent" nil 0] ["nnmaildir+Lokal:karlderletzte.INBOX" nil 0] ["nnmaildir+Lokal:Privat" 670 0] ["nnmaildir+Lokal:Privat" 669 0] ["nnmaildir+Lokal:Privat" 668 0]) > physiculus writes: > > > It would help if we can see the complete list here. Unfortunately, > unless notmuch encounters a problem and value of `gnus-verbose' is > 6, > `nnir-tmp-buffer' would be erased. In your case notmuch runs perfectly > well. > > However, after looking at the code of `nnir-retrieve-headers` more > closely, I think I narrowed down the range of possible courses a bit. > > The offending line of code `(sort (mapcar 'cdr articleids) '<)` for one > of your searchs would translate into something like this: > >(sort (mapcar 'cdr (cadr > '("nnmaildir+Lokal:Privat" > ((1 . 349) > (2 . 446) > (3 . 506) > (4 . 333) '<) > > In this case it would run and give you the result: > >'(333 349 446 506) > > But down the line, one or more of the articles would have ID(s) that are > nil. Maybe it's a file that's not properly synced. In the search result > it probably looks like this: > >["nnmaildir+Lokal:SomeFolder" nil 0] > >>> >>> That looks correct, but it would be important to see the whole list. Can >>> you still do the (switch-to-buffer nnir-tmp-buffer) and paste the >>> contents here? > > As Eric mentioned, it is important to see the whole list. To get the > whole list generated by `nnir-run-notmuch', you can wrap your search > like this: > > (progn > (setq xbuff (generate-new-buffer "*my output*")) > (print (nnir-run-notmuch '((query . "hock")) "nnmaildir:Lokal") xbuff) > (switch-to-buffer xbuff )) > > Then you can copy the content of *my output* and paste it here. If > indeed there were some nils in the result, we should be able to find the > corresponding file using `nnmaildir-article-number-to-file-name' and > more elisp. > >>> >>> >>> ___ >>> info-gnus-english mailing list >>> info-gnus-english@gnu.org >>> https://lists.gnu.org/mailman/listinfo/info-gnus-english >> >> ___ >> info-gnus-english mailing list >> info-gnus-english@gnu.org >> https://lists.gnu.org/mailman/listinfo/info-gnus-english > > > ___ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Eric Abrahamsen writes: Ok, here is the list. Hope it helps :-) /home/held/Maildirnm/Privat/cur/1584002263.M785296P11519Q0.kubuntu:2,S /home/held/Maildirnm/Privat/cur/1584001757.M962421P11519Q0.kubuntu:2, /home/held/Maildirnm/Privat/cur/1584001970.M953224P11519Q0.kubuntu:2, /home/held/Maildirnm/Privat/cur/1584002264.M177070P11519Q0.kubuntu:2,S /home/held/Maildirnm/Privat/cur/1584002264.M570398P11519Q1.kubuntu:2,S /home/held/Maildirnm/karlderletzte/INBOX/cur/1554399542.4634_1560.shinri,U=651:2,S /home/held/Maildirnm/karlderletzte/Sent/cur/1554294583.6ad7d1c538e8c734.shinri:2,,U=22:2,S!2,S /home/held/Maildirnm/karlderletzte/Sent/cur/1554294638.4676_1518.shinri,U=23!2,S /home/held/Maildirnm/karlderletzte/INBOX/cur/1554292397.3889_1547.shinri,U=645:2,RS /home/held/Maildirnm/karlderletzte/Sent/cur/1554280492.2358_1468.shinri,U=21:2,S!2,S /home/held/Maildirnm/Privat/cur/1547397044.22850_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397028.20987_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397075.26578_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397037.21967_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397034.21560_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397044.22861_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397079.27064_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397028.20899_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397040.22375_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397082.27482_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396223.5196_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397045.22919_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397045.22941_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397057.24413_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397076.26744_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397030.21141_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397064.25177_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397067.25588_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397051.23775_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397055.24309_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397047.23183_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397078.26964_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397069.25732_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397037.21978_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396236.6916_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397058.24491_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397042.22551_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396206.3050_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396221.4874_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397066.25422_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396228.5956_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397055.24234_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397058.24546_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397039.22155_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397049.23466_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397050.23598_1.shinri:2,S /home/held/Maildirnm/logins/cur/1547396690.6373_1.shinri:2,S /home/held/Maildirnm/logins/cur/1547396699.8236_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396195.1584_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396216.4287_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396221.4860_1.shinri:2,S /home/held/Maildirnm/Linzessin/cur/1547396282.13712_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396213.3845_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396204.2775_1.shinri:2,S /home/held/Maildirnm/ZuErledigen/cur/1547396227.5806_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397060.24778_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397079.27030_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397072.26225_1.shinri:2,S /home/held/Maildirnm/Privat/cur/1547397062.24966_1.shinri:2,S > physiculus writes: > >> Eric Abrahamsen writes: >> >> Hmmh, this looks different and with no errors. >> But is this in format, which gnus could read? >> >> the result is displayed in *Message* Buffer. Is this correct? >> >> Poulpoulsen >> >> Doing notmuch query Hock... >> notmuch args: search --format=text --output=files Hock >> Massaging notmuch output...done >> (["nnmaildir+Lokal:Privat" 349 0] ["nnmaildir+Lokal:Privat" 446 0] >> ["nnmaildir+Lokal:Privat" 506 0] ["nnmaildir+Lokal:Privat" 333 0] >> ["nnmaildir+Lokal:ZuErledigen" 399 0] ["nnmaildir+Lokal:ZuErledigen" 131 >> 0] ["nnmaildir+Lokal:ZuErledigen" 226 0] ["nnmaildir+Lokal:Linzessin" 34 >> 0] ["nnmaildir+Lokal:ZuErledigen" 318 0] ["nnmaildir+Lokal:ZuErledigen" >> 266 0] ["nnmaildir+Lokal:ZuErledigen" 42 0] ["nnmaildir+Lokal:logins" >> 156 0] ...) >
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Eric Abrahamsen writes: Hmmh, this looks different and with no errors. But is this in format, which gnus could read? the result is displayed in *Message* Buffer. Is this correct? Poulpoulsen Doing notmuch query Hock... notmuch args: search --format=text --output=files Hock Massaging notmuch output...done (["nnmaildir+Lokal:Privat" 349 0] ["nnmaildir+Lokal:Privat" 446 0] ["nnmaildir+Lokal:Privat" 506 0] ["nnmaildir+Lokal:Privat" 333 0] ["nnmaildir+Lokal:ZuErledigen" 399 0] ["nnmaildir+Lokal:ZuErledigen" 131 0] ["nnmaildir+Lokal:ZuErledigen" 226 0] ["nnmaildir+Lokal:Linzessin" 34 0] ["nnmaildir+Lokal:ZuErledigen" 318 0] ["nnmaildir+Lokal:ZuErledigen" 266 0] ["nnmaildir+Lokal:ZuErledigen" 42 0] ["nnmaildir+Lokal:logins" 156 0] ...) > > This should be (nnir-run-notmuch '((query . "Hock")) "nnmaildir:Lokal") > > You'll probably want to run (switch-to-buffer nnir-tmp-buffer) > afterwards, I don't think it will display the results by default. > > Eric > > > ___ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
xuqi writes: hello, yes the prefix is correct. nnir-notmuch-remove-prefix is a variable defined in `nnir.el'. Its value is "/home/held/Maildirnm/" > > I didn't look closely. But for example if you haven't customized the > variable `nnir-notmuch-remove-prefix', it defaults to "$HOME/Mail", if > your Maildir is not ~/Mail (Gnus advices against using ~/Mail for > maildir, iirc), the processed results may point Gnus to a wrong > location. > > Perhaps you can paste your nnmaildir config in your .gnus.el to the > list, or point to me where to find it if you have done so. And the value > of your `nnir-notmuch-remove-prefix', you can find that by pressing C-h > v RET nnir-notmuch-remove-prefix RET. > > Then you can go to your *scratch* buffer -- sorry if it shows in bold > when you read this, but the buffer name has asterisks -- and input the > following, parentheses included: > > (nnir-run-notmuch "Hock" "nnmaildir:Lokal") this gives ? Debugger entered--Lisp error: (wrong-type-argument listp "Hock") nnir-run-notmuch("Hock" "nnmaildir:Lokal") eval((nnir-run-notmuch "Hock" "nnmaildir:Lokal") nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) Is this meaningful for you? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Eric Abrahamsen writes: Hello, i cut the output for readability. How do i edebug the function? I don't know this... Regards Poul > physiculus writes: > >> Eric Abrahamsen writes: >> >> Hello, >> >> here is the output from the debugger. >> I dont know, what it mean, but i think you do :-) > > Not quite :) There seem to be nil values in the list of found articles > returned by the notmuch search backend. > > Are you able to trigger the error with a search that returns fewer > results? In your previous message, the output of the notmuch CLI command > only contains seven results, but the elisp backtrace shows it trying to > fetch headers for more than 50 articles. Are those the exact same > searches? > > Can you edebug the function `nnir-retrieve-headers', start the search > again, and when the edebugger starts hit "e", then "(setq abg > nnir-artlist)", then in a followup to this message paste the value of > the `abg' variable? > > Eric ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
xuqi writes: Hello, thank you for your info. Unfortunately i'm not a developer, so i don't understand all you wrote. As far as i understand, you mean, that the problem is with notmuch? But why is it working, if i call the command in terminal directly. Perhaps some parameters, that push gnus to notmuch? Regards Poul > physiculus writes: > >> Eric Abrahamsen writes: >> >> Hello, >> >> here is the output from the debugger. >> I dont know, what it mean, but i think you do :-) >> >> Hope it helps! >> >> >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >> <(nil nil) >> sort((nil) <) >> nnir-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >> 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 >> 42 43 44 45 46 47 48 49 50 ...) "nnir-87zhckegiv.fsf" "nnir-ephemeral" >> nil) > > A look at the source code of function `nnir-retrieve-headers' would > help. You can find the code by pressing C-h f RET nnir-retrieve-headers > and click `nnir.el' in the help buffer. > > At the front of this function you will see a call to the function > `sort': > > (let* ((group-articles (pop articles-by-group)) > (artgroup (car group-articles)) > (articleids (cadr group-articles)) > (artlist (sort (mapcar 'cdr articleids) '<)) > > (server (gnus-group-server artgroup)) >... > > The error message tells us that the 1st argument of `sort', (mapcar 'cdr > articleids) returns a list of nils. This involves a bunch of variables > and list operations, but by the documentation of `nnir-categorize' we > can infer that the structure of `group-articles' look like this: > > '((group1 > ((nnir-article-ids article11) > (nnir-article-ids article12) > ...)) > (group2 > ((nnir-article-ids article21) > (nnir-article-ids article22) > ...)) > (group3 > ...)) > > So `articleids' are this part: (nnir-article-ids article11) > > and `artlist' should be a list like this '(article11 article12 article21 > ...) > > In this case, the first argument to `nnir-categorize' may be nil, thus > article11 ... are all nils, so you get a list of nils. > > The most likely reason therefore is that notmuch can't produce a list of > articles with your search conditions. I haven't used notmuch with gnus > so I can only provide a guess. > >> gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >> 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 >> 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) >> gnus-cache-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 >> 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 >> 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) >> gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 >> 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 >> 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) >> gnus-fetch-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 >> 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 >> 47 48 49 50 ...)) >> gnus-select-newsgroup("nnir:nnir-87zhckegiv.fsf" t nil) >> gnus-summary-read-group-1("nnir:nnir-87zhckegiv.fsf" t t nil nil nil) >> gnus-summary-read-group("nnir:nnir-87zhckegiv.fsf" t t nil nil nil nil) >> gnus-group-read-group(t t "nnir:nnir-87zhckegiv.fsf" nil) >> gnus-group-read-ephemeral-group("nnir-87zhckegiv.fsf" (nnir "nnir") >> nil nil nil nil ((nnir-specs (nnir-query-spec (query . "hock")) >> (nnir-group-spec ("nnmaildir:Lokal") >> gnus-group-make-nnir-group(nil) >> funcall-interactively(gnus-group-make-nnir-group nil) >> call-interactively(gnus-group-make-nnir-group nil nil) >> command-execute(gnus-group-make-nnir-group) >> >>> physiculus writes: >>> >>>> Hello, >>>> if i try to use search with notmuch my nnmaildir, i get the error above. >>>> here are the lines from messages: >>>> Opening nnir server on nnir-ephemeral...done >>>> Retrieving newsgroup: nnir:nnir-877dzp783m.fsf... >>>> Doing notmuch query Hock... >>>> notmuch args: search --format=text --output=files Hock >>>> Massaging
Re: nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Eric Abrahamsen writes: Hello, here is the output from the debugger. I dont know, what it mean, but i think you do :-) Hope it helps! Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) <(nil nil) sort((nil) <) nnir-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir-87zhckegiv.fsf" "nnir-ephemeral" nil) gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) gnus-cache-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) gnus-retrieve-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...) "nnir:nnir-87zhckegiv.fsf" nil) gnus-fetch-headers((1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 ...)) gnus-select-newsgroup("nnir:nnir-87zhckegiv.fsf" t nil) gnus-summary-read-group-1("nnir:nnir-87zhckegiv.fsf" t t nil nil nil) gnus-summary-read-group("nnir:nnir-87zhckegiv.fsf" t t nil nil nil nil) gnus-group-read-group(t t "nnir:nnir-87zhckegiv.fsf" nil) gnus-group-read-ephemeral-group("nnir-87zhckegiv.fsf" (nnir "nnir") nil nil nil nil ((nnir-specs (nnir-query-spec (query . "hock")) (nnir-group-spec ("nnmaildir:Lokal") gnus-group-make-nnir-group(nil) funcall-interactively(gnus-group-make-nnir-group nil) call-interactively(gnus-group-make-nnir-group nil nil) command-execute(gnus-group-make-nnir-group) > physiculus writes: > >> Hello, >> if i try to use search with notmuch my nnmaildir, i get the error above. >> here are the lines from messages: >> Opening nnir server on nnir-ephemeral...done >> Retrieving newsgroup: nnir:nnir-877dzp783m.fsf... >> Doing notmuch query Hock... >> notmuch args: search --format=text --output=files Hock >> Massaging notmuch output...done >> Fetching headers for nnir:nnir-877dzp783m.fsf... >> sort: Wrong type argument: number-or-marker-p, nil > > Can you run M-x toggle-debug-on-error, then trigger this error again, > and send the backtrace to the list? > > Thanks, > Eric > > > ___ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
nnir with notmuch gives error; sort: Wrong type argument: number-or-marker-p, nil
Hello, if i try to use search with notmuch my nnmaildir, i get the error above. here are the lines from messages: Opening nnir server on nnir-ephemeral...done Retrieving newsgroup: nnir:nnir-877dzp783m.fsf... Doing notmuch query Hock... notmuch args: search --format=text --output=files Hock Massaging notmuch output...done Fetching headers for nnir:nnir-877dzp783m.fsf... sort: Wrong type argument: number-or-marker-p, nil Same command in terminal works, as far as i understood. But i dont know, if the lines are in correct format for gnus. Perhaps anyone knows more about searching with notmuch inside gnus. notmuch search --format=text --output=files hock /home/held/Maildirnm/Privat/cur/1584002263.M785296P11519Q0.kubuntu:2,S /home/held/Maildirnm/Privat/cur/1584001757.M962421P11519Q0.kubuntu:2, /home/held/Maildirnm/Privat/cur/1584001970.M953224P11519Q0.kubuntu:2, /home/held/Maildirnm/Privat/cur/1584002264.M177070P11519Q0.kubuntu:2,S /home/held/Maildirnm/Privat/cur/1584002264.M570398P11519Q1.kubuntu:2,S /home/held/Maildirnm/karlderletzte/INBOX/cur/1554399542.4634_1560.shinri,U=651:2,S /home/held/Maildirnm/karlderletzte/Sent/cur/1554294583.6ad7d1c538e8c734.shinri:2,,U=22:2,S!2,S Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Help;fancy splitting not working
physiculus writes: Hello, i remembered wrong about the usage of this. After i comment in, it runs. I secondly have to edit my split, because i do not correct understand the sense of & and |. After some editions my split works! Thanks for the hint Poul > hello, > i recently switch my splitting to fany splitting. > after start my gnus no error occured - Wow! > but unfortunately no splitting is done. > command B t reports allways message goes to bogus. > does anyone knows, what is going wrong here? > > i use emacs 26.3 on linux kubuntu 18.04. > > here is my gnus config (exerpt) > > (setq gnus-secondary-select-methods '( > (nnimap "GoogleMail" > (nnimap-address > "imap.gmail.com") > (nnimap-server-port "imaps") > (nnimap-user > "x...@googlemail.com") > (nnimap-stream ssl) > (nnimap-inbox "INBOX") > (nnimap-expunge 'on-exit) > (nnimap-record-commands t) > > (spam-autodetect-recheck-messages t) > (nnimap-split-download-body t) > (spam-process ((spam > spam-use-bogofilter) > (ham > spam-use-bogofilter))) > (nnmail-split-fancy >(& > (: spam-split "regex-spam" > 'spam-use-regex-headers) > (: > nnmail-split-fancy-with-parent) > (: spam-split) > ) > (| > (any ".*xxx@xxxhaus\\.de" > "privat") > (any > ".*xxx.xxx@xxxhaus\\.de" "privat") > (any ".*yyy@yyyhaus\\.de" > "privat") > (any ".*zzz@gmail\\.com" > "privat") > (any ".*xxx@xxxhaus\\.de" > "privat") > ) > (& > (any > ".*emacs-orgmode@gnu\\.org" "OrgDigest") > (any > ".*info-gnus-english@gnu\\.org" "gnus") > (any ".*n3\\.nabble\\.com" > "notmuch") > (any > ".*mu-discuss@googlegroups\\.com" "mu") > (any ".*pinterest\\.com" > "Pinterest") > (any > ".*bbdb-user-request@nongnu\\.org" "bbdb") > (any > ".*emms-help-request@gnu\\.org" "emms") > ) > "INBOX") > ;;(nnimap-split-methods default) > (get-new-mail t) > (nnir-search-engine imap) > ) > > Any clues? > > Regards > Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Help;fancy splitting not working
hello, i recently switch my splitting to fany splitting. after start my gnus no error occured - Wow! but unfortunately no splitting is done. command B t reports allways message goes to bogus. does anyone knows, what is going wrong here? i use emacs 26.3 on linux kubuntu 18.04. here is my gnus config (exerpt) (setq gnus-secondary-select-methods '( (nnimap "GoogleMail" (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnimap-user "x...@googlemail.com") (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge 'on-exit) (nnimap-record-commands t) (spam-autodetect-recheck-messages t) (nnimap-split-download-body t) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))) (nnmail-split-fancy (& (: spam-split "regex-spam" 'spam-use-regex-headers) (: nnmail-split-fancy-with-parent) (: spam-split) ) (| (any ".*xxx@xxxhaus\\.de" "privat") (any ".*xxx.xxx@xxxhaus\\.de" "privat") (any ".*yyy@yyyhaus\\.de" "privat") (any ".*zzz@gmail\\.com" "privat") (any ".*xxx@xxxhaus\\.de" "privat") ) (& (any ".*emacs-orgmode@gnu\\.org" "OrgDigest") (any ".*info-gnus-english@gnu\\.org" "gnus") (any ".*n3\\.nabble\\.com" "notmuch") (any ".*mu-discuss@googlegroups\\.com" "mu") (any ".*pinterest\\.com" "Pinterest") (any ".*bbdb-user-request@nongnu\\.org" "bbdb") (any ".*emms-help-request@gnu\\.org" "emms") ) "INBOX") ;;(nnimap-split-methods default) (get-new-mail t) (nnir-search-engine imap) ) Any clues? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
gnus-registry-marks; possible to search and filter for marks
Hello, i use gnus-registry-marks to set the marks. That works, but i do not find commands to search or filter for particular marks. Is it possible? If not, what's the usage of such marks? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: how do i use nnir with notmuch?
"Fraga, Eric" writes: hello, thank you for this answer. it works! but if i want to search for messages with a from: query, the results contains messages in which the from: address appears inside the to: also. e.g.: from: z...@hotmail.de then the query contains messages with to: z...@hotmail.de. this phenomene appears also inside a query, which i start inside notmuch-mode. perhaps there is a configuration option to show ONLY from: inside a query with from: any ideas? Regards Poul > On Thursday, 23 Jan 2020 at 19:43, physiculus wrote: >> i try to use notmuch with gnus for my nnmaildir. therefore i put notmuch >> inside default search engine. >> but unfortunately a query always result with empty results. >> does anybody knows if this engine works? > > Yes, notmuch works, at least for nnml in my case. You have to create > and update the search database using "notmuch new" periodically outside > gnus. I use crontab for this. > > Within gnus, you have to do something along these lines: > > #+begin_src emacs-lisp > (require 'nnir) > (push '(nnml . notmuch) nnir-method-default-engines) > ;; the following turns off new behaviour that limited search to specific > groups > (setq nnir-notmuch-filter-group-names-function nil) > #+end_src > > Finally, you may have to define appropriate settings (e.g. the database) > in your ~/.notmuch-config configuration file. > > HTH, > eric ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
how do i use nnir with notmuch?
hello, i try to use notmuch with gnus for my nnmaildir. therefore i put notmuch inside default search engine. but unfortunately a query always result with empty results. does anybody knows if this engine works? and if yes, pls give me a link or example for the query syntax. my notmuch-mode works. i'm on linux mint 19.3 with emacs 26.3. regards poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: impossible to forward a message from nnrss
Eric Abrahamsen writes: > physiculus writes: > >> Lars Ingebrigtsen writes: >> >>> physiculus writes: >>> >>>> below i paste my message buffer after C-c C-f. >>> >>> Looks normal to me and has nothing to do with nnrss. >>> >>>> it seems, that my from: address is not set and therefore i cannot send. >>>> for my other accounts i use posting styles. >>>> >>>> why or how could i insert the correct part with all the details (smtp >>>> server and so on). >>> >>> Emacs should query you when sending an email for those details. >> Usually its true. >> But because gnus inserts the From: string "Held >> " >> automatically, i dont know how gnus should query. >> Is it possible to create a posting style for nnrss? or any other >> automatism? > > Have you set `user-mail-address' and `user-full-name'? That will make > your life easier in many other ways. Hello, yes i did that. my user-mail-address is physicu...@googlemail.com and this is inserted. But there is no X-Message-SMTP-Method line, so it is not possible to send. And second gnus is always ask to display the message with browser, as i described. Strange! Whats about a posting style for nnrss? Is it possible? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: impossible to forward a message from nnrss
Lars Ingebrigtsen writes: > physiculus writes: > >> below i paste my message buffer after C-c C-f. > > Looks normal to me and has nothing to do with nnrss. > >> it seems, that my from: address is not set and therefore i cannot send. >> for my other accounts i use posting styles. >> >> why or how could i insert the correct part with all the details (smtp >> server and so on). > > Emacs should query you when sending an email for those details. Usually its true. But because gnus inserts the From: string "Held " automatically, i dont know how gnus should query. Is it possible to create a posting style for nnrss? or any other automatism? I use ebdb for my adresses, but i could not find a command to insert from: adresses included with the smtp server etc. Any clues? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: impossible to forward a message from nnrss
Lars Ingebrigtsen writes: Hello, sorry for the delay. I was on vacation. below i paste my message buffer after C-c C-f. it seems, that my from: address is not set and therefore i cannot send. for my other accounts i use posting styles. why or how could i insert the correct part with all the details (smtp server and so on). my message buffer: To: gnus Subject: [Golem.de - OSS] Python: Trojanisierte Bibliotheken stehlen SSH- und GPG-Schlüssel From: Held Gcc: nnfolder+archive:sent.2019-12 --text follows this line-- --- Begin Message --- https://www.golem.de/1912/145395-216298-216297_rc.jpg; width="140" height="140" vspace="3" hspace="8" align="left">In der Python-Paketverwaltung PyPi waren zwei Bibliotheken gelistet, die Schadsoftware enthielten. Über Namensähnlichkeiten mit beliebten Bibliotheken versuchten sie, den Entwicklern SSH- und GPG-Schlüssel zu stehlen. Eine Bibliothek war fast ein Jahr auf PyPi gelistet. (https://www.golem.de/specials/python/;>Python, https://www.golem.de/specials/gnupg/;>GPG) https://cpx.golem.de/cpx.php?class=17=145395=1=1575627600; alt="" width="1" height="1" /> https://www.golem.de/news/python-trojanisierte-bibliotheken-stehlen-ssh-und-gpg-schluessel-1912-145395-rss.html https://forum.golem.de/kommentare/opensource/python-trojanisierte-bibliotheken-stehlen-ssh-und-gpg-schluessel/131179,list.html --- End Message --- Regards Poul > physiculus writes: > >> i want to forward a rss message from my feeds. >> therefore i push c-c c-f on the message. >> a message buffer opens. >> i could insert the to: address and write some text. >> But if i c-c c-c to send, a message appears to select a browser. >> after that, nothing happens. > > I'm unable to reproduce this bug. If I `C-c C-f' a message in an nnrss > group, I'm presented with a normal Message buffer, and if I fill out a > recipient in the To header and press `C-c C-c', the message is sent as > normal. ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
impossible to forward a message from nnrss
Hello, i want to forward a rss message from my feeds. therefore i push c-c c-f on the message. a message buffer opens. i could insert the to: address and write some text. But if i c-c c-c to send, a message appears to select a browser. after that, nothing happens. for me it looks like gnus interpret the rss news as newsgroup. Why that? How could i forward a rss message the correct way? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
gnus-notify.el; Question about manipulate the displayed groupname in the Modeline
Hello, i want to use notifications of new mail for several groups inside my accounts with gnus-notify.el and tweak the displayed groupname in the modeline. Someone some years ago answered this with tweaking the regexp to view the groups here: https://stackoverflow.com/questions/1053245/new-mail-notifications-in-gnus-for-emacs But unfortunately he didn't wrote how to do that in detail. Does anybody know how to tweak this? If i edit it through "G p" for every group it works, but it displayed only one letter, e.g. .W for [Gmail]/Wichtig. If i understand the answer from stackoverflow correct, i could manipulate this text through regexp inside gnus. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
no smtp server found when sending from nnfolder or nnmaildir
Hello, gnus does not find a smtp server if i want to send or forward a message from my nnfolder+archive or nnmaildir+local. Sending or forwarding from inside nnimap works. Is this possible with gnus? and if yes, how to configure that? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > > Is that the only label it shows? What else is in the assoc list? It depends on the folder in Gmail. Sometimes it shows ((X-GM-LABELS . "(\\Important \\Inbox)")) or ((X-GM-LABELS . "(\\Inbox \\Sent \\Starred)")) > > And if you open the message and hit "t" (to toggle displaying all > headers), what does the X-GM-LABELS header look like in the article > buffer? > It didn't see this header... >> Message buffer show ((X-GM-LABELS . "(\\Important)")) Specified image >> bit depth is not supported by XRender >> Specified image bit depth is not supported by XRender" >> >> What does it mean? > > I have no idea :) Could there be an image in the message headers? Like a > gravatar or something? I really have no clue there. > This error comes up only one time. I checked again with another mail and this mail seems to be ok. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > That just means that Gnus has requested the labels header, not > necessarily that the message has one. > > Here's the most certain way I can think of to see if this is working: > > 1. Using Gmail's web interface, pick a message and add a label to it. > 2. Go back to Gnus, refresh new news, and open the group so that there's >only that one message in the Summary buffer (with M-1 RET or >something). > 3. Do M-: (mail-header-extra (car gnus-newsgroup-headers)) > 4. Check if there's a X-GM-LABELS entry in the resulting assoc list. > > And let us know what it looks like! Hello, first thank you for the support here! Second unfortunately the situation is confusing. Your code only shows the standard Google tags (INBOX, IMPORTANT, STARRED, but not my own created ones (emms, gnus, Teich ...) The Web-Interface show them in the right place and i can change them there. And if i use Chrome to login on my PC the changes are transferred to google, because i see the changes on my smartphone inside gmail. Very strange... Also strange: Your assoc list shows different standard labels than gmail. Example: I labeled a message with "Teich". Gmail shows it and put it in folder Gmail/Teich. gnus shows "((X-GM-LABELS . "(\\Important)")) Message buffer show ((X-GM-LABELS . "(\\Important)")) Specified image bit depth is not supported by XRender Specified image bit depth is not supported by XRender" What does it mean? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > (defun gnus-user-format-function-g (header) > (let ((g-labels (cdr-safe > (assoc 'X-GM-LABELS > (mail-header-extra header) > (when g-labels > ...do something with labels))) > > Then use the "%ug" format code in your summary line format. I have no > idea what the Gmail labels actually look like, so I can't help you with > how to output them, but that should be the easy part. > > I don't believe there's any way to actually manipulate the labels from > within Gnus, though -- I suppose they're different from regular IMAP > flags/keywords? > > Eric hello, i just viewed the imap.log from gmail. as far as i see, at the end there is an entry X-GM-LABELS. Does anybody know, what to do with it further? Regards Poul 08:10:15 [imap.gmail.com] (inhibited) 08:10:15 [imap.gmail.com] 672 CAPABILITY 08:10:15 [imap.gmail.com] 673 LIST "" "*" 08:10:20 [imap.gmail.com] 686 LIST "" "*" 08:10:20 [imap.gmail.com] 687 SELECT "INBOX" 08:10:20 [imap.gmail.com] 688 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 689 EXAMINE "notmuch" 08:10:20 [imap.gmail.com] 690 UID FETCH 330:* FLAGS 08:10:20 [imap.gmail.com] 691 EXAMINE "mu" 08:10:20 [imap.gmail.com] 692 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 693 EXAMINE "gnus" 08:10:20 [imap.gmail.com] 694 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 695 EXAMINE "emms" 08:10:20 [imap.gmail.com] 696 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 697 EXAMINE "[Gmail]/Wichtig" 08:10:20 [imap.gmail.com] 698 UID FETCH 4403:* FLAGS 08:10:20 [imap.gmail.com] 699 EXAMINE "[Gmail]/Teich" 08:10:20 [imap.gmail.com] 700 UID FETCH 10:* FLAGS 08:10:20 [imap.gmail.com] 701 EXAMINE "[Gmail]/Spam" 08:10:20 [imap.gmail.com] 702 UID FETCH 94:* FLAGS 08:10:20 [imap.gmail.com] 703 EXAMINE "[Gmail]/Papierkorb" 08:10:20 [imap.gmail.com] 704 UID FETCH 4024:* FLAGS 08:10:20 [imap.gmail.com] 705 EXAMINE "[Gmail]/Markiert" 08:10:20 [imap.gmail.com] 706 UID FETCH 72:* FLAGS 08:10:20 [imap.gmail.com] 707 EXAMINE "[Gmail]/Gesendet" 08:10:20 [imap.gmail.com] 708 UID FETCH 1854:* FLAGS 08:10:20 [imap.gmail.com] 709 EXAMINE "[Gmail]/Entw" 08:10:20 [imap.gmail.com] 710 UID FETCH 238:* FLAGS 08:10:20 [imap.gmail.com] 711 EXAMINE "[Gmail]/Drafts" 08:10:20 [imap.gmail.com] 712 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 713 EXAMINE "[Gmail]/Alle Nachrichten" 08:10:20 [imap.gmail.com] 714 UID FETCH 15963:* FLAGS 08:10:20 [imap.gmail.com] 715 SELECT "[Gmail]" 08:10:20 [imap.gmail.com] 716 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 717 EXAMINE "[GMail]/Trash" 08:10:20 [imap.gmail.com] 718 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 719 EXAMINE "[GMail]/Papierkorb" 08:10:20 [imap.gmail.com] 720 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 721 SELECT "[GMail]" 08:10:20 [imap.gmail.com] 722 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 723 EXAMINE "Trash" 08:10:20 [imap.gmail.com] 724 UID FETCH 24923:* FLAGS 08:10:20 [imap.gmail.com] 725 EXAMINE "Sent" 08:10:20 [imap.gmail.com] 726 UID FETCH 37:* FLAGS 08:10:20 [imap.gmail.com] 727 EXAMINE "SMS" 08:10:20 [imap.gmail.com] 728 UID FETCH 5680:* FLAGS 08:10:20 [imap.gmail.com] 729 EXAMINE "Queue" 08:10:20 [imap.gmail.com] 730 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 731 EXAMINE "Postausgang" 08:10:20 [imap.gmail.com] 732 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 733 EXAMINE "OrgDigest" 08:10:20 [imap.gmail.com] 734 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 735 EXAMINE "Linzessin" 08:10:20 [imap.gmail.com] 736 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 737 EXAMINE "INBOX" 08:10:20 [imap.gmail.com] 738 UID FETCH 8387:* FLAGS 08:10:20 [imap.gmail.com] 739 EXAMINE "Garten" 08:10:20 [imap.gmail.com] 740 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 741 EXAMINE "Emacs" 08:10:20 [imap.gmail.com] 742 UID FETCH 1:* FLAGS 08:10:20 [imap.gmail.com] 743 EXAMINE "Drafts" 08:10:20 [imap.gmail.com] 744 UID FETCH 90:* FLAGS 08:10:20 [imap.gmail.com] 745 EXAMINE "Archiv" 08:10:20 [imap.gmail.com] 746 UID FETCH 54:* FLAGS 08:10:51 [imap.gmail.com] 799 LIST "" "*" 08:10:56 [imap.gmail.com] 800 EXAMINE "Archiv" 08:10:56 [imap.gmail.com] 801 EXAMINE "Drafts" 08:10:56 [imap.gmail.com] 802 EXAMINE "Emacs" 08:10:56 [imap.gmail.com] 803 EXAMINE "Garten" 08:10:56 [imap.gmail.com] 804 EXAMINE "INBOX" 08:10:56 [imap.gmail.com] 805 EXAMINE "Linzessin" 08:10:56 [imap.gmail.com] 806 EXAMINE "OrgDigest" 08:10:56 [imap.gmail.com] 807 EXAMINE "Postausgang" 08:10:56 [imap.gmail.com] 808 EXAMINE "Queue" 08:10:56 [imap.gmail.com] 809 EXAMINE "SMS" 08:10:56 [imap.gmail.com] 810 EXAMINE "Sent" 08:10:56 [imap.gmail.com] 811 EXAMINE "Trash" 08:10:56 [imap.gmail.com] 812 EXAMINE "[Gmail]/Alle Nachrichten" 08:10:56 [imap.gmail.com] 813 EXAMINE "[Gmail]/Drafts" 08:10:56 [imap.gmail.com] 814 EXAMINE "[Gmail]/Entw" 08:10:56 [imap.gmail.com] 815 EXAMINE "[Gmail]/Gesendet" 08:10:56 [imap.gmail.com] 816 EXAMINE "[Gmail]/Markiert" 08:10:56 [imap.gmail.com] 817 EXAMINE "[Gmail]/Papierkorb" 08:10:56 [imap.gmail.com] 818 EXAMINE
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > Most of the code there should no longer be necessary -- you don't need > to fetch the labels separately if X-GMAIL-LABELS is already in > `(gnus|nnmail)-extra-headers'. It might be enough to do: > > (defun gnus-user-format-function-g (header) > (let ((g-labels (cdr-safe > (assoc 'X-GM-LABELS > (mail-header-extra header) > (when g-labels > ...do something with labels))) > > Then use the "%ug" format code in your summary line format. I have no > idea what the Gmail labels actually look like, so I can't help you with > how to output them, but that should be the easy part. > > I don't believe there's any way to actually manipulate the labels from > within Gnus, though -- I suppose they're different from regular IMAP > flags/keywords? > > Eric Good morning, unfortunately i dont see the header information X-GMAIL-LABEL (i view raw inside gnus and with claws mail). So they are possible generated by the mail server and gnus should contact him). This is only my simple idea...(not a developer). btw: if i wont do anything with the label, could i delete your codeblock (when g-labels...) ? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > Well, it would be weirder if it wasn't! > > Is this happening just for the "All Mail" Gmail fake group? If you're > splitting out of "All Mail", the message won't ever actually be deleted > from there. I've seen some people say the "solution" is just to > unsubscribe from All Mail... > > Does it happen when splitting from/moving out of other groups? > It is happening in all groups, but only inside my Google account. Splitting with other providers works correct. If i unsubscribe folder "All Messages", then the messages were never deleted, right? My account will grow with each mail? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Question: Gmail how display imap folder in gnus?
Hello, i created several imap folders inside my Gmail account. i use them to save my mails with splitting. As usual if i view Gmail folder "All Messages" i see all my mails. So far so good. Is it possible to see the "folder" name from my Gmail account in gnus-summary-line during inside "All Messages" folder? Or is it nearly impossible, because "folder" names are tags in real. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Lars-Johan Liman writes: > I believe this is a "Known Problem(TM)" (at least I have the same), > which pertains to Gmail's (incorrect?) interpretation of IMAP commands, > not to GNUS per se. I haven't found a set of IMAP command flags that > will properly delete the mail from Gmail for you, but I didn't have time > to drill to the bitter end of the bottomless dark pit of Googles > intestines ... :-( If you (or anyone else!) find/knows of a way, I'd be > more than thankful if you would share it with the rest of us. > > Cheers, > /Liman Hello, yes Google wants to use their own apps or Chrome. Within it works. But i found a solution on this list, unfortunately it doesn't work for me (It produces an error message in gnus.el). Maybe someone could make the code work, i'm not a developer. Here is the link: https://lists.gnu.org/archive/html/info-gnus-english/2013-10/ msg00022.html Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: splitting Gmail account just copy not move :-(
Eric Abrahamsen writes: > > I doubt I'm going to be of any help here, but... > > Does the same thing happen when moving messages manually? Ie, they still > stay in the original group? Splitting and moving manually ought to use > the same process. > > Does anyone know if Gmail's IMAP implementation supports MOVE? Or is it > COPY and delete/expunge? > > Eric Yes it is the same in both ways. Unfortunately... Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
splitting Gmail account just copy not move :-(
Hello, with the help of Mr. Abrahamsen i manage to split my mail and clear a bug. But now i'm surprised, that splitting my Gmail account works not fully correct. Splitting is done correct, but the original mail is not deleted, just copied. For my other accounts its working fine. Any clues? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
How can i display and manipulate Gmail X-GM-LABELS?
Hello, is it possible to display the Gmail X-GM-LABELS in Summary and/or Article Buffer? As far as i read in the manual the following should work, but nothing happens... Is it possible to change / delete such a Label from inside gnus? -- Code (setq gnus-extra-headers '(X-GM-LABELS)) (setq nnmail-extra-headers gnus-extra-headers) -- I think, that i have to display them, but i don't know how. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: possible bug? gnus in emacs 27; error in hash-table-p
Eric Abrahamsen writes: >> Why is it working? > > The only question harder to answer than "Why isn't it working?" is "Why > IS it working?" :) > > Your imap servers have a nnimap-split-methods value of 'default, which > means each one will use the value of nnmail-split-methods. > nnmail-split-methods is set to the symbol 'nnmail-split-fancy, so all > servers should use the value of that variable. > > The gnus-group-split-update function sets nnmail-split-fancy to a split > made from group parameters. > > In your config, you've got nnmail-split-methods set to an actual split. > But when gnus-group-split-update runs, it should completely override > that config with a split made from group parameters. > > So my question is: have you set to-list/to-address parameters on your > groups? Because if you haven't, I don't know how any splitting is > happening. Can you show the value of nnmail-split-fancy after Gnus is > done starting up? I try to understand what you wrote. Because i'm not sure what to-list parameter means here is one server configuration complete. (nnimap "GMail" (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnimap-user "physicu...@googlemail.com") (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-expunge t) (nnimap-record-commands t) (nnimap-split-methods default) (get-new-mail t) (nnir-search-engine imap) ) and here are my posting styles. ;; posting styles (setq gnus-parameters '(("JP" (posting-style (address "x...@xxx.de") (name "gesetzt") ("X-Message-SMTP-Method" "smtp xxx.mailout.server-he.de 25 xxx-xxx") (body "") )) and here is the value of nnmail-split-fancy nnmail-split-fancy is a variable defined in `nnmail.el'. Its value is (| "mail.misc") Original value was "mail.misc" Does it help? Regards Poul >> Is it better, to put it inside the server? > > If you want different rules for different servers, then put the rules in > the individual servers. If you want the same rules for everything, then > you can just set global values. Ok, i understand. Could i mix rules? ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: possible bug? gnus in emacs 27; error in hash-table-p
Eric Abrahamsen writes: > > Oops, sorry, I should have seen that coming. Would you test instead: > > (add-hook 'gnus-read-newsrc-el-hook #'gnus-group-split-update) > > That seems to be the only place to run after the groups have been read, > but before unread messages are fetched for the first time. > > Eric Wonderful! Now it works. Thank you for the help. One thing i do not understand: As far as i read, your lines switch splitting to fancy-splitting, right? If so, splitting rules have to be in splitting-rule syntax (i read it in the manual) and should be inside the server. But i didn't change any of my rules and gnus is splitting. The rules are outside the server. Why is it working? Is it better, to put it inside the server? I want to use the gnus spam rules (gnus own and/or e.g. bogofilter) and the manual describes only split-fancy rules. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: possible bug? gnus in emacs 27; error in hash-table-p
Eric Abrahamsen writes: > > Let's do this the other way: would you remove this line from your gnus.el > file: > > (gnus-group-split-setup t) > > And replace it with these two lines: > > (setq nnmail-split-methods 'nnmail-split-fancy) > (add-hook 'gnus-startup-hook #'gnus-group-split-update) > > And see if that gets fancy splitting working in Gnus? Then we can go > backwards from there. Hello, i tried your suggestions, but with no luck :-( The following error occured right after first start of gnus. Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil) gethash("JensPrivat" nil) gnus-group-get-parameter("JensPrivat") gnus-group-find-parameter("JensPrivat") gnus-group-split-fancy(nil t "mail.misc") gnus-group-split-update() run-hooks(gnus-startup-hook) apply(run-hooks gnus-startup-hook) gnus-run-hooks(gnus-startup-hook) #f(compiled-function () #)() gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus record nil) command-execute(gnus record) #f(compiled-function (cmd) #)("gnus") ivy-call() ivy-read("M-x " ("toggle-debug-on-error" "gnus" "restart-emacs" "package-list-packages" "desktop-read" "global-so-long-mode" "so-long-commentary" "desktop-save" "counsel-load-theme" "load-theme" "ivy-avy" "disable-theme" "package-delete" "package-install" "customize-themes" "enable-theme" "customize-group" "desktop-save-mode" "w3m-browse-url" "gnus-group-exit" "counsel-expand-env" "eww-mode" "org-mode" "browse-url" "other-frame" "cd" "tp" "ts" "5x5" "amx" "arp" "dbx" "dig" "erc" "ert" "eww" "ftp" "gdb" "irc" "jdb" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "w3m" "xdb" "bbdb" "calc" ...) :predicate nil :require-match t :history counsel-M-x-history :action #f(compiled-function (cmd) #) :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x) counsel-M-x() funcall-interactively(counsel-M-x) call-interactively(counsel-M-x nil nil) command-execute(counsel-M-x) Is this helpful? Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
possible bug? gnus in emacs 27; error in hash-table-p
hello, perhaps there is a bug or any misconfiguration in gnus from emacs 27. every time i end gnus and restart it, the following error pops up and gnus stops. "gnus-read-init-file: Error in ~/.gnus: hash-table-p" What does it mean? Emacs is working ok. Regards Poul ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: newbie question: trouble with mail splitting
Adam Sj?gren writes: > (Please reply to the mailing list, and not just me. Email-addresses in > the To: line should be comma-, not space-separated. Thanks.) > > physiculus writes: > > [...] > >> ;; split >> ;; client-side imap splitting erm?glichen >> (gnus-group-split-setup t) >> (setq nnimap-split-download-body t) >> (setq nnmail-crosspost nil) >> (setq nnmail-split-methods 'nnmail-split-fancy) >> (setq nnmail-split-fancy >> '(| >> ;;(: spam-split 'spam-use-regex-headers) >> (To "emacs-orgm...@gnu.org" "nnmaildir+Lokal:OrgDigest") >> (From ".*n3.nabble.com" "nnmaildir+Lokal:notmuch") >> (From ".*pinterest.com" "nnmaildir+Lokal:Pinterest") >> (Subject "^FRITZ!.*" "nnmaildir+Lokal:fritz") >> (From "fo...@papyrus.de" "nnmaildir+Lokal:Papyrus") >> ;;(: spam-split) >> ("mail.misc") >> )) >> >> ;; (setq nnmail-split-fancy >> ;; '(| >> ;; (: spam-split) >> ;; "inbox")) >> >> ;; initialisiere split >> (setq gnus-group-split-setup t) >> (setq nnmail-pre-get-new-mail-hook '(gnus-group-split-update)) > > [...] > >> >> (setq gnus-secondary-select-methods '( >> (nnimap "GMail" >> (nnimap-address >> "imap.gmail.com") >> (nnimap-server-port "imaps") >> (nnimap-user >> "x...@googlemail.com") >> (nnimap-stream ssl) >> (nnimap-split-methods >> 'nnmail-split-fancy) >> (get-new-mail t) >> (nnir-search-engine imap) >> ) > > [...] > > As far as I can tell, the above quoted parts of your .gnus are the ones > related to splitting. > > So you are doing nnimap-splitting. Step 1 is to read: > > ? http://gnus.org/manual/gnus_83.html#Client_002dSide-IMAP-Splitting > > I think you need to set nnimap-split-fancy to your fancy splits: > > ,[ C-h v nnimap-split-fancy RET ] > | nnimap-split-fancy is a variable defined in ?nnimap.el?. > | Its value is nil > | > | Documentation: > | Uses the same syntax as ?nnmail-split-fancy?. > | > | This is a Gnus server variable. See Info node ?(gnus)Select > | Methods?. Hello, i try to use all your suggestions and reading material. Now my related split config looks like this: (nnimap "GMail" (nnimap-address "imap.gmail.com") (nnimap-server-port "imaps") (nnimap-user "physicu...@googlemail.com") (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-split-methods 'nnimap-split-fancy) (nnimap-split-fancy '(| ;;(: spam-split 'spam-use-regex-headers) (To "emacs-orgmode@gnu\\.org" "nnmaildir+Lokal:OrgDigest") (From ".*n3\\.nabble\\.com" "nnmaildir+Lokal:notmuch") (From ".*pinterest\\.com" "nnmaildir+Lokal:Pinterest") (Subject "^FRITZ!.*" "nnmaildir+Lokal:fritz") (From "forum@papyrus\\.de" "nnmaildir+Lokal:Papyrus") ;;(: spam-split) ("mail.misc") )) (get-new-mail t) (nnir-search-engine imap) ) A difference is now, that now i got an error message from gnus. That looks promise! Unfortunately i dont know how i can fix it. Error in ‘nnmail-split-methods’; using ‘bogus’ mail group: (wrong-type-argument arrayp (| (To "emacs-orgmode@gnu\\.org" "nnmaildir+Lokal:OrgDigest") (From ".*n3\\.nabble\\.com" "nnmaildir+Lokal:notmuch") (From ".*pinterest\\.com" "nnmaildir+Lokal:Pinterest") (Subject "^FRITZ!.*" "nnmaildir+Lokal:fritz") (From "forum@papyrus\\.de" "nnmaildir+Lokal:Papyrus") ("mail.misc"))) Any clues or infos about it? Regards Poul > ` > > You've
Re: newbie question: trouble with mail splitting
Hello, as you suggest, i post my entire gnus.el. For security reasons i delete my account informations. Hope it helps :-) Regards Poul (require 'nnir) (add-to-list 'load-path "/home/held/.emacs.d/lisp/nnnotmuch/") (require 'nnnotmuch) (push '(nnnotmuch "") gnus-secondary-select-methods) (setq nnnotmuch-groups '(("" ("test.woche" "date:7days.." (setq nnnotmuch-program "notmuch") ; This is the default. (setq nnir-method-default-engines '((nnimap . notmuch) (nnmaildir . notmuch))) (setq nnir-notmuch-remove-prefix "/home/held/Maildirnm/") ;; gnus gesprächiger (setq gnus-verbose 9) (setq gnus-verbose-backends 8) ;;(setq gnus-default-charset 'iso-8859-1) ;;(setq gnus-summary-show-article-charset-alist '((1 . iso-8859-1) (2 . utf-8))) (setq gnus-summary-tool-bar 'gnus-summary-tool-bar-gnome) (setq mail-user-agent 'gnus-user-agent) (setq smtpmail-queue-mail nil) (setq gnus-agent-prompt-send-queue t) (setq gnus-agent-queue-mail t) ;;(setq smtpmail-queue-dir "~/News/drafts/queue/cur") (setq smtpmail-queue-dir "~/Maildirnm/queue") ;; (defun choose-msmtp-account () ;; (if (message-mail-p) ;; (save-excursion ;; (let* ;; ((from (save-restriction ;; (message-narrow-to-headers) ;; (message-fetch-field "from"))) ;; (account ;; (cond ;;((string-match "x...@googlemail.com" from) "gmail") ;;((string-match "xxx@holnishaus.de" from) "xeimer_j") ;;((string-match "x...@holnishaus.de" from) "jx") ;;((string-match "x...@holnishaus.de" from) "kx" ;; ;;(setq sendmail-program "/usr/bin/msmtp") ;; ;;(setq message-sendmail-extra-arguments (list '"-a" account "-N failure,delay,success" "-R headers")) ;; (setq message-sendmail-extra-arguments (list 'account)) ;; ;; ;; testweise auf nil ;; ;;(setq message-sendmail-envelope-from 'header) ;; (add-hook 'message-send-mail-hook 'choose-msmtp-account) ;; Aufhübschen. Zeigt Gesamtzahl und ungelesene Mails (setq gnus-group-line-format "%M%S%p%P%5y/%5t:%B%(%g%)\n") ;;(setq gnus-summary-line-format "%U%R%B|%-16,16|%5k|%-30,30f| %s|\n;") ;;(setq gnus-summary-line-format ":%U%R %B %20s %-60=|%4L |%-20,20f |% \n") (setq gnus-user-date-format-alist '((t . "%Y-%m-%d %H:%M")) gnus-summary-line-format "%U%R%z%O|%|%5k|%-45,45F%B %~(max-right 70)~(pad-right 70)s %{%20uM%}\n" gnus-article-mode-line-format "Gnus: %g %S %m %w" gnus-thread-sort-functions '(gnus-thread-sort-by-date) gnus-article-sort-functions '(gnus-thread-sort-by-date) ;;gnus-sum-thread-tree-false-root "" gnus-sum-thread-tree-leaf-with-other "├► " ;;gnus-sum-thread-tree-root "" gnus-sum-thread-tree-single-leaf "╰► " gnus-sum-thread-tree-vertical "" gnus-summary-make-false-root 'none ;;gnus-summary-same-subject "-||-" gnus-summary-same-subject "" ) ;;Generate the mail headers before you edit your message. (setq message-generate-headers-first nil) ;;The message buffer will be killed after sending a message. (setq message-kill-buffer-on-exit t) ;; eigene Tags setzen (setq gnus-registry-marks ' ( (Wichtig :char 119 :image "summary_wichtig") (To-Do :char 116 :image "summary_todo") (Persoenlich :char 112 :image "summary_persoenlich") (DIY :char 100 :image "summary_diy") (Spaeter :char 115 :image "summary_spaeter") (Linzessin :char 105 :image "summary_linzessin") (Held :char 104 :image "summary_held") (Heldenaufgaben :char 97 :image "summary_heldenaufgaben" ) (Heldennahrung :char 110 :image "summary_heldennahrung") (Pflanzen :char 122 :image "summary_pflanzen") (Pflanzenpflege :char 101 :image "summary_pflanzenpflege") (Pflanzenarbeiten :char 114 :image "summary_pflanzarbeiten") (Pflanzenkauf :char 107 :image "summary_pflanzenkauf") (Pflanzennachkauf :char 99 :image "summary_pflanzennachkauf") (Garten :char 103 :image "summary_garten") (Gartenpflege :char 102 :image "summary_gartenpflege") (GaLa :char 108 :image "summary_gala") (Haus :char 117 :image "summary_haus") (Innenausbau :char 101 :image "summary_innenausbau") ) ) ;; show the marks by name (see 'gnus-registry-marks'): (defalias 'gnus-user-format-function-M 'gnus-registry-article-marks-to-names) (setq gnus-registry-max-entries 5000) (gnus-registry-initialize) ;; The registry knows how to map each Message-ID to the group it's ;; in. This can be leveraged to enhance the “article refer method”, ;; the thing that tells Gnus how to look up an article given its ;; Message-ID (see Finding the Parent). ;; The nnregistry refer method does exactly that. It has the ;; advantage that an article may be found regardless of the group ;; it's in—provided its Message-ID is known to the