Gnus development mailing list
 help / color / mirror / Atom feed
* address and name from posting styles are ignored
@ 2015-01-28 11:24 Vitalie Spinu
  2015-01-28 17:19 ` Robert Pluim
  0 siblings, 1 reply; 2+ messages in thread
From: Vitalie Spinu @ 2015-01-28 11:24 UTC (permalink / raw)
  To: ding



Hi,

I have the following in my gnus-posting-styles:
   
   ((header "from" "<regexp>")
    ("test" "blabla")
    (address "foo@bar.com")
    (name "BAZ"))


The regexp is matched and I see "test" header in my reply. But the From
field uses the default user-full-name and user-mail-address instead of
address and name above.

I am using gnus 5.13 from the head of emacs-24 branch.


  Vitalie




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: address and name from posting styles are ignored
  2015-01-28 11:24 address and name from posting styles are ignored Vitalie Spinu
@ 2015-01-28 17:19 ` Robert Pluim
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Pluim @ 2015-01-28 17:19 UTC (permalink / raw)
  To: ding

Vitalie Spinu <spinuvit@gmail.com> writes:

> Hi,
>
> I have the following in my gnus-posting-styles:
>    
>    ((header "from" "<regexp>")
>     ("test" "blabla")
>     (address "foo@bar.com")
>     (name "BAZ"))
>
>
> The regexp is matched and I see "test" header in my reply. But the From
> field uses the default user-full-name and user-mail-address instead of
> address and name above.
>
> I am using gnus 5.13 from the head of emacs-24 branch.

Is that the only entry in your gnus-posting-styles? The gnus manual
says:

  The entire alist will be iterated over, from the beginning towards the
  end, and each match will be applied, which means that attributes in
  later styles that match override the same attributes in earlier matching
  styles.

Maybe you have later entries that override user-full-name and address?

Regards

Robert




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-28 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-28 11:24 address and name from posting styles are ignored Vitalie Spinu
2015-01-28 17:19 ` Robert Pluim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).