all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Broken gnus-posting-styles?
Date: Mon, 23 May 2022 10:12:21 +0200	[thread overview]
Message-ID: <86bkvooefu.fsf@gnu.org> (raw)
In-Reply-To: <875ylxa4t1.fsf@posteo.net> (Philip Kaludercic's message of "Sun,  22 May 2022 16:51:54 +0000")

Philip Kaludercic <philipk@posteo.net> writes:

> Is anyone else tracking master and experiencing issues with
> `gnus-posting-styles'?  I read my mail via nnimap, and had it set up so
> that it Gcc's outgoing mail into my Sent directory.  As I have two
> addresses I use, I sed `gnus-posting-styles' to
>
>       '(((header "from" "fau.de^")
>          ("Gcc" "nnimap+faumail.fau.de:Sent")
>          (address "cuvyvc.xnyhqrepvp@snh.qr"))  ;Anti-spam
>         (""                                     ;Fallback
>          ("Gcc" "nnimap+posteo.de:Sent")))
>
> But for some reason the "(header ...)" doesn't work anymore, and all my
> messages are stored in the "Sent" directory of my primary account.  If I
> invert the rule, I get the opposite behaviour.  Yet `(gnus) Posting
> Styles' indicates that that this approach should work.

I'm using Emacs master (1a72248901) and have no problems with
posting-styles.  I admit I have most of my config now in
`gnus-parameters', but would it help if you re-write the lines above
like this:

(setq gnus-posting-styles
      '((".*"                                     ;Fallback
         ("Gcc" "nnimap+posteo.de:Sent"))
        ((header "from" "fau.de")
         ("Gcc" "nnimap+faumail.fau.de:Sent")
         (address "cuvyvc.xnyhqrepvp@snh.qr"))))  ;Anti-spam

Things I've changed are order of fallback, added ".*" instead of empty
string and removed ^ after fau.de

Best, Arash



  reply	other threads:[~2022-05-23  8:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22 16:51 Broken gnus-posting-styles? Philip Kaludercic
2022-05-23  8:12 ` Arash Esbati [this message]
2022-05-23 15:29   ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bkvooefu.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.