Re: 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) #+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 -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Gnus notification of replies to my articles
Hello! On 10. Mär. 2020 at 18:49 Adam Sjøgren writes via info-gnus-english: > Eric writes: >> You could try adding an entry along the lines of >> >> ("references" >> ("" 100 nil r)) >> >> to your .SCORE file where the regex is something that matches your >> emails, i.e. the typical message-id of your emails (which, for instance, >> is <7ywo7skzgd@gmx.com> for the article I'm responding to). What I >> don't know is whether there is a regex that would work generally to >> identify your articles. Message IDs are a mystery to me. > > Yes, that works. > > I have this in my all.SCORE: > >("references" > ("<87[0-9a-z]+\\.fsf\\(_-_\\)?@.*koldfront.dk>" nil nil r)) > > I think the way Gnus generates Message-IDs, the first two chars are > stable per machine (or perhaps user), or something like that. Nope, the first 2 Chars in the MID a generated from the UID of the User: In my Setup the fsf Part is replaced with the name of the current PC. Here is the Code for this - perhaps you can better finetune the Scoring. --8<---cut here---start->8--- (defun message-unique-id () ;; Don't use microseconds from (current-time), they may be unsupported. ;; Instead we use this randomly inited counter. (setq message-unique-id-char (% (1+ (or message-unique-id-char (random (ash 1 20 ;; (current-time) returns 16-bit ints, ;; and 2^16*25 just fits into 4 digits i base 36. (* 25 25))) (let ((tm (current-time))) (concat (if (or (eq system-type 'ms-dos) ;; message-number-base36 doesn't handle bigints. (floatp (user-uid))) (let ((user (downcase (user-login-name (while (string-match "[^a-z0-9_]" user) (aset user (match-beginning 0) ?_)) user) (message-number-base36 (user-uid) -1)) (message-number-base36 (+ (car tm) (ash (% message-unique-id-char 25) 16)) 4) (message-number-base36 (+ (nth 1 tm) (ash (/ message-unique-id-char 25) 16)) 4) ;; Append a given name, because while the generated ID is unique ;; to this newsreader, other newsreaders might otherwise generate ;; the same ID via another algorithm. ".warhorse"))) ;; ^^ ;; Replace warhorse with the current machine Name (or something else) --8<---cut here---end--->8--- -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Gnus broken in the latest Emacs build?
Hello! On 24. Mar. 2019 Eric Abrahamsen wrote: > Bernardo writes: >> Greetings, >> >> am i the only one seeing the problem with the latest Emacs build (Git commit >> dbd6490ad49b0f088d56cdd5f04178bdd62c806a) ? > > No, I should have posted the notice to this group as well -- you'll need > to do a "make bootstrap" after pulling this commit, in order to flush > out stale *elc files. Either that or delete all the *elc files in > lisp/gnus, and do a regular "make". No, I had the same error :-( Dammit - I read this notice too late. Because I dropped out the complete emacs git tree from my disk and recloned it from github (the git repo at gnu.org is currently very slow). -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Check for new news g hangs gnus
Hello! On 19. Feb. 2015 at 00:10 Rasmus wrote: > Ray writes: >> I have exactly the same issues. I get round it by issuing a Ctrl G >> before g to check for new news. But would be much happier to have it >> resolved. Shall keep an eye for replies to your thread here. > > I have the same issue. I guess it looses connection to Gmane or some other > NNTP server. A timeout would be great... Same here too - I get round with a C-g and a R. This error happens, when I longer do nothing with gnus. -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: new subject
Hello! On 25. Jän. 2015 at 20:58 Peter Münster wrote: > On Sun, Jan 25 2015, incal wrote: >>> Yeah, C-c C-f s ! ;) >> >> Indeed, however sometimes you reply to a post the old >> way, > > Hi, > > What is the old way? I have this in my .gnus and it works very well :-) --8<---cut here---start->8--- (defun dpi-change-subject (neues-subject) "introduces new subject." (interactive "snew Subject: ") (let ((case-fold-search nil)) (goto-line 0) (re-search-forward "^Subject: ") (if (re-search-forward "R[Ee]: " nil t) (replace-match "") ) (insert-string neues-subject) (insert-string " (was: ") (end-of-line) (insert-string ")") ) ) (define-key message-mode-map '[(meta n)] 'dpi-change-subject) --8<---cut here---end--->8--- -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: How to show all messages in threads where unread exist
Hello! On 05. Nov. 2014 at 22:11 Andreas Leha wrote: > Andrey Lisin writes: >> Probably it's silly question, but I didn't find the answer in the Gnus >> documentation. How to show all messages in threads, where unread >> messages exist? >> >> Thank you. > > are you looking for gnus-summary-refer-thread (which is bound to 'A T' > for me)? > > Regards, > Andreas I have the following in my .gnus --8<---cut here---start->8--- (defun cc-fetch-whole-thread() "like `A R' `T o' `A T' in the summary buffer." (interactive) (gnus-summary-refer-references) (gnus-summary-top-thread) (gnus-summary-refer-thread)) (define-key gnus-summary-mode-map [(meta A)] 'cc-fetch-whole-thread) --8<---cut here---end--->8--- -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Which dark Color themes suitable for gnus?
Hello! Alex Kost writes: > Emanuel Berg (2014-09-22 06:00 +0400) wrote: >> Brady Trainor writes: >>> I like badger. The sublime-themes are worth a look. >>> Also underwater, deeper-blue, and the best built-in >>> themes were mentioned. >> >> I like my theme the best - screenshot: >> >> http://user.it.uu.se/~embe8573/gnus/dumps/new/group.png Which theme is this? >>> (Sorry for necromancy, let me know how discouraged >>> this is here.) >> >> You are very encouraged to speak of Gnus, but please >> quote so we know what question it is you answer :) > > Continuing necromancy. > > I like my "alect-dark" theme (although I almost always use > "alect-light"). > > Screenshot: http://i.imgur.com/qmCmdW0.png > Source: https://github.com/alezost/alect-themes My preferred theme is grandshell[1] > In case someone is interested, "alect-themes" package is available on > MELPA. > > Also I use the following setting for Gnus: > > (add-hook 'gnus-article-mode-hook > (lambda () (setq-local widget-button-face nil))) What does this snippet make? Footnotes: [1] http://666kb.com/i/csetk3lscsgswdd65.jpg -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: chosing among many smtp servers
Hello! Le TeXnicien de surface writes: > Hello all > > I'm preparing my .gnus.el to, at last, go to gnus to read and write news > and mails. > > I can collect my mails from different pop and imap boxes. > > What I would like to achieve now is to chose among some smtp servers > which one to use to send a mail (I'm currently using 3 servers with 6 > identities). > I don't want too subtle a solution but I would be greatly happy if > there was a way of picking one server from a pre-declared list. > > all hints will be appreciated > > many thanks in advance You can try it with the code from here[1] (exal-change-smtp). The actual SMTP server refers on the from line in the header. Footnotes: [1] http://exal.0x2.org/conf/gnus.html -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Line length when writing an email
Hello Sharon! Sharon Kimble writes: > Clemens Schüller writes: >> ╭ >> │(add-hook 'message-mode-hook >> │(lambda () >> │ (setq fill-column 78) >> │ (turn-on-auto-fill))) >> ╰ >> >> This should work. > Thanks Clemens, this works beautifully. How did you get the solid lines round > your box-quote please? It makes it stand out and look very professional! :) I have the following code in my .emacs: --8<---cut here---start->8--- (setq boxquote-top-and-tail "" boxquote-top-corner "╭" boxquote-bottom-corner "╰" boxquote-side "│" ) --8<---cut here---end--->8--- -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Line length when writing an email
Hello! Sharon Kimble writes: > I've recently found that when writing an email the line length is not > recognised, in spite of having > (setq-default fill-column 78) > in my '.gnus.el'. When replying to an email the line length very often goes to > the edge of the window, even with 'Word Wrap (visual line mode)' enabled. > How can I get it to just stop at a line length of just 78 characters please? ╭ │(add-hook 'message-mode-hook │(lambda () │ (setq fill-column 78) │ (turn-on-auto-fill))) ╰──── This should work. -- Best Regards, Clemens Schüller ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english