Re: fcc with nnml mail spool

2021-07-25 Thread Adam Sjøgren via info-gnus-english
Adam Sjøgren writes:

> (I guess you could just set your archive method to be your regular
> nnml-method - I'm not sure why I split them back in ancient times.)

I know why now - I followed the example in the manual almost to the
letter, only changing nnfolder to nnml:

 · https://www.gnus.org/manual/gnus_75.html#Archived-Messages


  :-),

   Adam

-- 
 "It's kind of important to have peace on earth."   Adam Sjøgren
   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: fcc with nnml mail spool

2021-07-25 Thread Adam Sjøgren via info-gnus-english
Roland writes:

> How can one achieve the same thing with the nnml mail spool?

I use the archiving functionality in Gnus for this. It adds a
(Gnus-specific) header to news articles like this:

  Gcc: nnml+archive:news-2021

For email I have configured it to add this:

  Gcc: nnml+archive:news-2021

I have set gnus-message-archive-method in .gnus to this:

  '(nnml "archive"
 (nnml-directory "~/Mail/archive")
 (nnml-active-file "~/Mail/archive/active")
 (nnml-get-new-mail nil)
 (gnus-search-engine gnus-search-notmuch)
 (nnml-inhibit-expiry t))

and then I have:

  (setq gnus-message-archive-group
'((if (message-news-p)
  (concat "news-" (format-time-string "%Y"))
(concat "mail-" (format-time-string "%Y")

which does the {news,mail}-{year} part. 

I also set gnus-gcc-mark-as-read to t, because I want the archived
messages to be marked as read automatically.

(I guess you could just set your archive method to be your regular
nnml-method - I'm not sure why I split them back in ancient times.)

I hope this helps!


  Best regards,

Adam

-- 
 'It's pulled, and it's fine, but there's clearly a Adam Sjøgren
  balance between "octopus merges are fine" anda...@koldfront.dk
  "Christ, that's not an octopus, that's a Cthulhu
  merge".'


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Does Washing work for IMAP backend?

2021-07-22 Thread Adam Sjøgren via info-gnus-english
Pankaj writes:

> (custom-set-variables
>  '(nnmail-list-identifiers
>'("[ABC Forum]")))

The value is interpreted as regexes, so you might want some \\'s before
the brackets.

But if nothing at all happens, I guess that's not it.

Just setting e.g.:

  (setq gnus-list-identifiers
'("\\[External\\]"))

works for me (both for email and news) - not touching any hooks. Hm,
wait, that's another variable!


  Best regards,

Adam

-- 
 "Finns det någon väg som leder oss hem Adam Sjøgren
  Finns det ens ett hem där vägen tar slut"a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: ‘Reply’ vs ‘followup’

2020-07-10 Thread Adam Sjøgren via info-gnus-english
Dmitry writes:

> As for ‘f’ and ‘F’, they do _not_ stay for ‘forwarding’, but for
> ‘following-up’. Contrary to what @a...@koldfront.dk have said [0],
> they are _not_ for posting to [news]group only,

This is what I wrote:

  For newsgroups (e.g. Gmane) R sends to the author only, and F sends to
  the group. (S W sends to both.)

  For email, you can think of R in Gnus as "Reply", and F as "Reply All".

I don't understand how you get from that to '"F" is for newsgroups
only' - that is clearly not what I wrote.


  Best regards,

Adam

-- 
 "Well, you walk into the room like a camel and thenAdam Sjøgren
  you frown  You put your eyes in your pocket an your  a...@koldfront.dk
  nose on the ground"


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Test email

2020-07-10 Thread Adam Sjøgren via info-gnus-english
Rafi writes:

> 1. I am using Gmail as the backend and received Dmitry Alexandrov's
> reply in my inbox, but for some reason your reply wasn't there. I am
> replying to you from the gmane group in gnus.

It's a common "problem" with mailing lists: Some people reply both to
the mailing list and directly to the person, some people only reply to
the mailing list.

The first strategy is useful if the person writing on the mailing list
isn't subscribed to it. (I find that an odd thing to do, and with Gmane,
where following a mailing list is very low friction, even more so).

There are some headers you can set to indicate your preference, but not
many email clients understand them.

> 2. What is the difference between replying and forwarding in mailing
> lists?

I think you are thinking of R.eply and F.ollow up?

For newsgroups (e.g. Gmane) R sends to the author only, and F sends to
the group. (S W sends to both.)

For email, you can think of R in Gnus as "Reply", and F as "Reply All".

It's more complicated than that (of course, this is Emacs), but it's a
reasonable first approximation.

F and R quote the previous email, f and r don't.

I usually want to follow up in the newsgroup, rather than replying only
to the author, so to be reminded if I hit the wrong button, I've (asked
around, and somebody provided this small snippet to) add to my ~/.gnus:

  ; Warn if replying from a newsgroup:
  (defadvice gnus-summary-reply (around asjo-reply-in-news activate)
(interactive)
(when (or (not (gnus-news-group-p gnus-newsgroup-name))
  (y-or-n-p "Really reply? "))
  ad-do-it))

which makes Gnus ask me if I really want to email the author instead of
following up in the newsgroup, if I happen to.


  Best reards,

Adam

-- 
 "Ride the tail of rhymeAdam Sjøgren
  Break the legs of time   a...@koldfront.dk
  Snap its spine"


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Adam Sjøgren writes:

>   (setq gnus-select-method '(nnimap "gmail"
>   (nnimap-address "imap.gmail.com")))
>
> And in your .authinfo.gpg:
>
>   machine imap.gmail.com login "...@gmail.com" password  
> port imap
^^
This should just say "gmail", to match the name of the
select method, I think, by the way.


  Best regards,

Adam

-- 
 "I will highly appreciate someone thinking out a   Adam Sjøgren
  counterargument, that is, a good idea."  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

>> Just to be certain, you removed the (nnimap-stream ssl) when you tried
>> imap, right?

> No I didn't. What do you mean by trying imap instead? I thought I was
> using imap. I thought you meant use "imap" instead of a port number.

I mean use imap, as in "IMAP (with STARTTLS)", instead of imaps, as in
"IMAP over SSL".

I don't know if it makes a difference, I just know what I could connect
using imap (but without two factor and with less secure turned on).

So what I suggest that you try this in your .gnus:

  (setq gnus-select-method '(nnimap "gmail"
  (nnimap-address "imap.gmail.com")))

And in your .authinfo.gpg:

  machine imap.gmail.com login "...@gmail.com" password  
port imap

It's a longshot, admitted.


  Best regards,

Adam

-- 
 "I wonder if you can refuse to inherit the world." Adam Sjøgren
 "I think if you're born, it's too late."  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> I tried both imap and imaps (instead of 993) but it made no difference.

Just to be certain, you removed the (nnimap-stream ssl) when you tried
imap, right?

In that case, I'm out of ideas.


  Best regards,

Adam

-- 
 "There's such a glut of celebrities that they'll   Adam Sjøgren
  soon have to begin storing the surplus in silos in   a...@koldfront.dk
  Iowa."


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> Here is what I have in .gnus
>
> (setq gnus-select-method '(nnimap "gmail"
>  8  (nnimap-address "imap.gmail.com")
>  9  (nnimap-server-port 993)
> 10  (nnimap-stream ssl)
> 11  (nnimap-logout-timeout 60.0)))
>
> And in .authinfo
>
> machine imap.gmail.com login "...@gmail.com" password  
> port 993

Maybe try with imap instead (Gnus automatically does STARTTLS)?


  Best regards,

Adam

-- 
 "Language design is being taken over by hackers.   Adam Sjøgren
  The results so far are messy, but encouraging."  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> "This setting is not available for accounts with 2-Step Verification
> enabled. Such accounts require an application-specific password for less
> secure apps access. Learn more"

Ah, I don't have 2-step verification enabled in Gmail. I guess you need
to get an application-specific password then?

> So I don't understand. I am able to use seamonkey and claws-mail with an
> app password, and it used to work with gnus. I am using ssl on port 993.

Maybe Gmail has changed?

Does it work if you try with the app-specific password and specifying
"port imap" in .authinfo.gpg (that's what used)?


  Best regards,

Adam

-- 
 "Language design is being taken over by hackers.   Adam Sjøgren
  The results so far are messy, but encouraging."  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> Has gnus stopped working with gmail? I think I read maybe about some
> changes to gmail.

It seemsyou have to turn on "Less secure app access" in Gmail for IMAP
authentication using password to work these days:


I guess they want people to use OAuth2, or something along those lines...


  Best regards,

Adam

-- 
 "Did I ask too much, more than a lot?  Adam Sjøgren
  You gave me nothing, now that's all I got"   a...@koldfront.dk
___
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

2020-03-10 Thread Adam Sjøgren 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.


  Best regards,

Adam

-- 
 "Simsala-hyp!" Adam Sjøgren
   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Idle Time to Poll Serve

2020-02-20 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> So much time and effort replaced with one line!

Gnus in a nutshell: so much time and effort saved, when you find the
right line.


  :-),

   Adam

-- 
 "I love loopholes."Adam Sjøgren
   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Idle Time to Poll Serve

2020-02-20 Thread Adam Sjøgren via info-gnus-english
As your approach is giving you problems, maybe it would make sense to
look into Gnus' demons?

 · http://gnus.org/manual/gnus_119.html#Daemons

I use this:

  ; Demon to fetch email every 5 minutes when Emacs has been idle for 5 minutes:
  (gnus-demon-add-handler 'gnus-demon-scan-news 5 5)
  ; Demon to send queued email every other minute:
  (gnus-demon-add-handler 'gnus-delay-send-queue 1 nil)
  (gnus-demon-init)

To my surprise, the manual doesn't mention gnus-demon-scan-news, which I
would think was the most obvious one to write about...

Hm, maybe it is obsolete? I guess this is the current way:

,[ C-h f gnus-demon-add-rescan RET ]
| gnus-demon-add-rescan is an autoloaded compiled Lisp function in
| ‘gnus-demon.el’.
| 
| (gnus-demon-add-rescan)
| 
| Add daemonic scanning of new articles from all backends.
`

?


  Best regards,

Adam

-- 
 "Lidt som at skylle en pose lakridskonfekt ned med Adam Sjøgren
  en flaske Kahlua, men det kan jo også have sin   a...@koldfront.dk
  egen diskrete charme"


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Colours gone

2020-02-18 Thread Adam Sjøgren via info-gnus-english
Richmond writes:

> OK what-face says the face in question is gnus-summary-high-read-face

That face was marked as obsolete in 2009:

  commit 3d493bef43be9d2cc91152043103156d5717d33f
  Author: Glenn Morris 
  Date:   Wed Sep 2 03:04:15 2009 +

  Mark face aliases with "-face" in the name as obsolete.

   · http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3d493bef43

I guess after 11 years it finally got removed. Yup:

  commit 66d83ce01125e8029efa454ece4e39e9567805e2
  Author: Glenn Morris 
  Date:   Wed Jan 10 15:39:06 2018 -0500

  Remove Gnus face aliases obsolete since 22.1

  * lisp/gnus/gnus-art.el, lisp/gnus/gnus-cite.el:
  * lisp/gnus/gnus-srvr.el, lisp/gnus/gnus.el:
  * lisp/gnus/spam.el: Remove face "-face" aliases, obsolete since 22.1.

   · http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=66d83ce011

Ok, only 8½ years later.

So you'll probably have to remove "-face" in some places in your
configuration.


  Best regards,

Adam

-- 
 "You gotta realize, you can kill somebody with Adam Sjøgren
  kindness too."   a...@koldfront.dk


___
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?

2020-01-24 Thread Adam Sjøgren via info-gnus-english
Eric writes:

> On Friday, 24 Jan 2020 at 17:39, physiculus wrote:
>> 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

Doesn't this search for the two separate terms "from:" and
"z...@hotmail.de"?

I would expect the syntax to be "from:z...@hotmail.de" (notice no space)
if you want to find all emails that have z...@hotmail.de in the
from:-field.


  Best regards,

Adam

-- 
 "It is just what they are gathered here to do, thatAdam Sjøgren
  I find so ineffably, horrificly repugnant."  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: From and Reply-To mangling?!

2019-12-28 Thread Adam Sjøgren via info-gnus-english
Michael writes:

> Lars Ingebrigtsen  writes:
>
>> Anybody know how we can get the admin of this list to stop the dmarc
>> munging?  It's really annoying.
>
> The appended message has been sent some weeks ago.

So who is the "Mailman list administrator" for info-gnus-english?


  Best regards,

Adam

-- 
 "You can't add things and come out with less than  Adam Sjøgren
  you started with!"   a...@koldfront.dk
 "I can do that! It's a free country! I've got
  my rights!"


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: From and Reply-To mangling?!

2019-12-28 Thread Adam Sjøgren via info-gnus-english
Amin writes:

> Adam Sjøgren via info-gnus-english  writes:
>
>> So this mailing list now changes the From: and adds Reply-To: ?!?
>>
>> Only for some users/posts. Hm.
>
> Could be due to changes made to a number of mailman settings (including
> from munging) for many GNU lists by the FSF sysadmins in late October?
> For instance: https://lists.gnu.org/r/bug-gnuzilla/2019-10/msg6.html

Ah, it explains why only some messages are mangled: "if a strict DMARC
sender sends to the list, we alter the headers of that message". I've
got DMARC configured for my domain (koldfront.dk).

I think it would be great if the mailing list software stopped adding a
footer, so there is no need to mangle the headers.

I.e. what the linked email calls "the unmodified message fix".


  Best regards,

Adam

-- 
 "The Commodore 64. Under $600. You can't buy a Adam Sjøgren
  better computer at twice the price." a...@koldfront.dk

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


From and Reply-To mangling?!

2019-12-27 Thread Adam Sjøgren via info-gnus-english
So this mailing list now changes the From: and adds Reply-To: ?!?

Only for some users/posts. Hm.

-- 
 "The Commodore 64. Under $600. You can't buy a Adam Sjøgren
  better computer at twice the price." a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Maybe a bug after df89d6d6dc429e638e425536d1c201b5373f2abd

2019-12-27 Thread Adam Sjøgren via info-gnus-english
Adam Sjøgren writes:

>> I've now pushed a fix for this to both emacs-27 and the trunk.
>
> Is this a fix for:

Your commit e1fd6b1107 indeed fixes the issue for me.

Thanks!


  Best regards,

Adam

-- 
 "Vilken sanning, Måns, är sann?"   Adam Sjøgren
   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Maybe a bug after df89d6d6dc429e638e425536d1c201b5373f2abd

2019-12-27 Thread Adam Sjøgren via info-gnus-english
Lars writes:

> Garjola Dindi  writes:
>
>> I have a strange behaviour with recent versions of gnus (in emacs
>> master and branch emacs-27).
>>
>> When I try to subscribe to a group in the *Browse server buffer*, all
>> groups appear with the ’K’ mark and the subscribe command ’u’ does not
>> subscribe (the ’K’ still appears and the group is not subscribed).
>
> This was due to a recent change -- whenever a group changed level, it
> would put a nil onto gnus-newsrc-alist, thereby making it invalid.
>
> I've now pushed a fix for this to both emacs-27 and the trunk.

Is this a fix for:

  7b3b27eef1325b41187f2e9cc898644d5eae9ff3 is the first bad commit
  commit 7b3b27eef1325b41187f2e9cc898644d5eae9ff3
  Author: Stefan Monnier 
  Date:   Sun Dec 22 16:09:31 2019 -0500

  * lisp/gnus/gnus-start.el: Use lexical-binding

  (gnus-group-change-level, gnus-make-hashtable-from-newsrc-alist):
  Use gnus-info-make.
  (gnus-make-hashtable-from-newsrc-alist): Prefer `gnus-info-group`
  to `car` when applied to a `gnus-info` object.
  (gnus-make-hashtable-from-killed): Remove unused vars `lists` and `list`.
  (gnus-gnus-to-quick-newsrc-format): Extract common code from if branches.

  * lisp/gnus/gnus.el (gnus-info-make): New constructor.

   lisp/gnus/gnus-start.el | 59 
++---
   lisp/gnus/gnus.el   |  4 
   2 files changed, 31 insertions(+), 32 deletions(-)

?

I just bisected the problem that Garjola and I have hit, where if you
press u on an unsubscribed group, you get an error, and when quitting
Gnus you get something like this (with toggle-debug-on-error):

  Debugger entered--Lisp error: (wrong-type-argument stringp nil)
encode-coding-string(nil utf-8-emacs)
#f(compiled-function (info) #)(nil)
mapcar(#f(compiled-function (info) #) (nil 
("nntp+fb:feedbase.blog.adafruit.q..." [...cut...] ...))
gnus-gnus-to-quick-newsrc-format()
gnus-save-newsrc-file()
gnus-group-exit()
funcall-interactively(gnus-group-exit)
call-interactively(gnus-group-exit nil nil)
command-execute(gnus-group-exit)

and when quitting Emacs, it asks if .newsrc.eld should be saved (which
will save an almost empty file).


  Best regards,

Adam

-- 
 "It's a shite state of affairs to be in, and noAdam Sjøgren
  amount of fresh air is ever going to change that."   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Maybe a bug after df89d6d6dc429e638e425536d1c201b5373f2abd

2019-12-27 Thread Adam Sjøgren via info-gnus-english
Garjola writes:

> When I try to subscribe to a group in the *Browse server buffer*, all
> groups appear with the ’K’ mark and the subscribe command ’u’ does not
> subscribe (the ’K’ still appears and the group is not subscribed).
>
> Also, the .newsrc.eld file does not contain anything after the line
> showing the Gnus version number. This means that all existing
> subscriptions are lost after exiting emacs.

Thanks for reporting, I have seen this problem as well - I thought it
was just me.


  Best regards,

Adam

-- 
 "For alle os andre betyder det vel ikke andet end at   Adam Sjøgren
  et par tosser for lang tid siden blev enige om ata...@koldfront.dk
  tælle. Og nu er de altså nået til 2000. Hurra.
  Mægtigt."


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Emacs 26.3

2019-11-24 Thread Adam Sjøgren via info-gnus-english
William writes:

> But the problem was that I had changed "emacs" in /usr/local/bin to
> read: 'emacs-26.3 -fn "DejaVu Sans Mono-16"'

So maybe change it to:

  emacs-26.3 -fn "DejaVu Sans Mono-16" "$@"

so the command line parameters get passed on to emacs proper?

> BUT I am 80 and cannot read the default type face any more and although
> C-x C-+/-/0 work it is necessary to apply that to every file called -
> the commands are nor persistent.

You can configure the font size inside Emacs as well.


  Best regards,

Adam

-- 
 "I wish *I* was a tiger!" Adam Sjøgren
 "A common lament."   a...@koldfront.dk
 


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Emacs 26.3

2019-11-24 Thread Adam Sjøgren via info-gnus-english
William writes:

> emacs  no longer works
> emacs -f gnus  no longer works
> they give simply emacs
>
> Or have I done something stupid??

They work for me with GNU Emacs 26.3 on Debian.

What happens if you go:

  emacs -Q 

? To rule your configuration out...


  Best regards,

Adam

-- 
 "I wish *I* was a tiger!" Adam Sjøgren
 "A common lament."   a...@koldfront.dk
 


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: no smtp server found when sending from nnfolder or nnmaildir

2019-09-17 Thread Adam Sjøgren via info-gnus-english
paul writes:

> What exactly do you mean with default sending method?

Perhaps message-send-mail-function - what value do you have for that in
your Emacs?

I've got:

,[ C-h v message-send-mail-function RET ]
| message-send-mail-function is a variable defined in ‘message.el’.
| Its value is ‘message-send-mail-with-sendmail’
| Original value was 
| message--default-send-mail-function
| 
|   This variable may be risky if used as a file-local variable.
| 
| Documentation:
| Function to call to send the current buffer as mail.
| The headers should be delimited by a line whose contents match the
| variable ‘mail-header-separator’.
| 
| Valid values include ‘message-send-mail-with-sendmail’
| ‘message-send-mail-with-mh’, ‘message-send-mail-with-qmail’,
| ‘message-smtpmail-send-it’, ‘smtpmail-send-it’,
| ‘feedmail-send-it’ and ‘message-send-mail-with-mailclient’.  The
| default is system dependent and determined by the function
| ‘message-send-mail-function’.
| 
| See also ‘send-mail-function’.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 27.1 of Emacs.
`


  Best regards,

Adam

-- 
 "Varje likhet mellan denna film och den s.k. Adam Sjøgren
  verkligheten måste vara ett missförstand"  a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Rendering Content-Type: text/markdown with shr via text/html?

2019-08-03 Thread Adam Sjøgren via info-gnus-english
Lars writes:

> A function to convert Markdown into HTML might be nice, but I haven't
> really seen anybody post with Markdown, so I'm not sure how useful this
> would be.  But I guess it's a chicken and egg problem -- if mail readers
> did support rendering Markdown, then people would start writing in
> Markdown.
>
> But is that a good thing?  :-)

Probably not.

I'm abusing nntp¹ to control a blog engine, though, and there it would be
really nice to be able to render text/markdown when viewing an article :-)

Maybe I could just make a washing function that runs the contents
through pandoc, before shr does it's thing?


  Best regards,

   Adam


¹ It is astonishing how many things nntp is well suited for - forums,
  mailing lists, RSS/Atom feeds, and - I think - also blogging.

-- 
 "Vegetarian?? Yecchh! I'm not a vegetarian!  Adam Sjøgren
  I'm a dessertarian."   a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Rendering Content-Type: text/markdown with shr via text/html?

2019-08-02 Thread Adam Sjøgren via info-gnus-english
I'm experimenting with posting articles with text/markdown as the
Content-Type.

I was wondering what the easiest way is to have Gnus translate such
articles to HTML and display them via shr, as is done for text/html
articles.

Anyone already tackled this?

I could make the news server do the translation on the fly, but then
supersedes and follow ups will be done on the text/html version, which
would be rather inconvenient, so I'd like it to be purely a display
thing.


  Best regards,

Adam

-- 
 "After finishing this exercise, you will probably be Adam Sjøgren
  able to provide many really useful patches for Gnusa...@koldfront.dk
  in the future yourself."


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: How can i display and manipulate Gmail X-GM-LABELS?

2019-07-28 Thread Adam Sjøgren via info-gnus-english
physiculus writes:

> is it possible to display the Gmail X-GM-LABELS in Summary and/or
> Article Buffer?

[...]

> -- 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.

Maybe you need to change the value of gnus-visible-headers to include
the header you want displayed?

,[ C-h v gnus-visible-headers RET ]
| gnus-visible-headers is a variable defined in ‘gnus-art.el’.
| Its value is
| 
"^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\|^Gnus-Warning:\\|^Resent-From:\\|^Sender:\\|^OpenPGP:\\|^X-Now-Playing:\\|X-Gnus-Delayed:\\|Supersedes:\\|^Sender:\\|^OpenPGP:\\|^X-Now-Playing:\\|X-Gnus-Delayed:\\|Supersedes:"
| Original value was 
| 
"^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^[BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Apparently-To:\\|^Gnus-Warning:\\|^Resent-From:"
| 
| Documentation:
| All headers that do not match this regexp will be hidden.
| This variable can also be a list of regexp of headers to remain visible.
| If this variable is non-nil, ‘gnus-ignored-headers’ will be ignored.
| 
| You can customize this variable.
`


  Best regards,

Adam

-- 
 "I love loopholes."  Adam Sjøgren
 a...@koldfront.dk


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english