Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-ignored-from-addresses
@ 2013-06-25  9:25 Peter Münster
  2013-06-25 10:05 ` gnus-ignored-from-addresses Katsumi Yamaoka
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2013-06-25  9:25 UTC (permalink / raw)
  To: ding

Hi,

The format specification character %f in the summary line should display
the To: header, if gnus-ignored-from-addresses matches the From:
address.

I use gnus-ignored-from-addresses = "Peter Münster", because it would
match any of my addresses (Peter Münster <any@email.address>).

I'm quite sure, that this used to work, but with the latest git-version,
it does not.

Is this a new feature of a bug, and who could I get back the old
behaviour please?

TIA for any help,
-- 
           Peter




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

* Re: gnus-ignored-from-addresses
  2013-06-25  9:25 gnus-ignored-from-addresses Peter Münster
@ 2013-06-25 10:05 ` Katsumi Yamaoka
  2013-06-25 16:14   ` gnus-ignored-from-addresses Reiner Steib
  0 siblings, 1 reply; 11+ messages in thread
From: Katsumi Yamaoka @ 2013-06-25 10:05 UTC (permalink / raw)
  To: ding

Peter Münster wrote:
> The format specification character %f in the summary line should display
> the To: header, if gnus-ignored-from-addresses matches the From:
> address.

> I use gnus-ignored-from-addresses = "Peter Münster", because it would
> match any of my addresses (Peter Münster <any@email.address>).

> I'm quite sure, that this used to work, but with the latest git-version,
> it does not.

> Is this a new feature of a bug, and who could I get back the old
> behaviour please?

The code in question was changed (2013-01-14) so as to compare it
against only addresses, not the ones containing names.  I think it
is necessary to get rid of unexpected matching.  Now you can use
a regexp that matches the addresses you're using or a list of your
mail addresses.



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

* Re: gnus-ignored-from-addresses
  2013-06-25 10:05 ` gnus-ignored-from-addresses Katsumi Yamaoka
@ 2013-06-25 16:14   ` Reiner Steib
  2013-06-27 14:00     ` gnus-ignored-from-addresses Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Reiner Steib @ 2013-06-25 16:14 UTC (permalink / raw)
  To: ding; +Cc: Julien Danjou

On Tue, Jun 25 2013, Katsumi Yamaoka wrote:

> Peter Münster wrote:
[...]
>> I use gnus-ignored-from-addresses = "Peter Münster", because it would
>> match any of my addresses (Peter Münster <any@email.address>).
>
>> I'm quite sure, that this used to work, but with the latest git-version,
>> it does not.
>
>> Is this a new feature of a bug, and who could I get back the old
>> behaviour please?
>
> The code in question was changed (2013-01-14) so as to compare it
> against only addresses, not the ones containing names.  I think it
> is necessary to get rid of unexpected matching.  Now you can use
> a regexp that matches the addresses you're using or a list of your
> mail addresses.

Please make the old behavior the default again.  You can add an option
to match only addresses or surround addresses with <...> to get the
new behavior.

The doc string talks about "From headers" so I'd expect it to match
the Fron header and not only the address. 

I rely on this as well since ages: My `gnus-ignored-from-addresses'
contains \\<Reiner Steib\\>.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Re: gnus-ignored-from-addresses
  2013-06-25 16:14   ` gnus-ignored-from-addresses Reiner Steib
@ 2013-06-27 14:00     ` Peter Münster
  2013-07-02  0:25       ` gnus-ignored-from-addresses Katsumi Yamaoka
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2013-06-27 14:00 UTC (permalink / raw)
  To: ding

On Tue, Jun 25 2013, Reiner Steib wrote:

> Please make the old behavior the default again.  You can add an option
> to match only addresses or surround addresses with <...> to get the
> new behavior.

+1

-- 
           Peter




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

* Re: gnus-ignored-from-addresses
  2013-06-27 14:00     ` gnus-ignored-from-addresses Peter Münster
@ 2013-07-02  0:25       ` Katsumi Yamaoka
  2013-07-02  5:54         ` gnus-ignored-from-addresses David Engster
  0 siblings, 1 reply; 11+ messages in thread
From: Katsumi Yamaoka @ 2013-07-02  0:25 UTC (permalink / raw)
  To: ding

Peter Münster wrote:
> On Tue, Jun 25 2013, Reiner Steib wrote:
>> Please make the old behavior the default again.  You can add an option
>> to match only addresses or surround addresses with <...> to get the
>> new behavior.

> +1

±0

But it might be good to *always* surround a string with \<...\>
under the `standard-syntax-table'.  I can only imagine that it
will help a FB employee whose name is "Mark Zucker", though.
OTOH, the current way is absolutely safe since an email address
is absolutely unique.  Even if it is hard to beginners to design
a regexp, it can be a start of learning Emacs.



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

* Re: gnus-ignored-from-addresses
  2013-07-02  0:25       ` gnus-ignored-from-addresses Katsumi Yamaoka
@ 2013-07-02  5:54         ` David Engster
  2013-07-02  6:08           ` gnus-ignored-from-addresses Katsumi Yamaoka
  0 siblings, 1 reply; 11+ messages in thread
From: David Engster @ 2013-07-02  5:54 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: ding

Katsumi Yamaoka writes:
> Peter Münster wrote:
>> On Tue, Jun 25 2013, Reiner Steib wrote:
>>> Please make the old behavior the default again.  You can add an option
>>> to match only addresses or surround addresses with <...> to get the
>>> new behavior.
>
>> +1
>
> ±0
>
> But it might be good to *always* surround a string with \<...\>
> under the `standard-syntax-table'.  I can only imagine that it
> will help a FB employee whose name is "Mark Zucker", though.
> OTOH, the current way is absolutely safe since an email address
> is absolutely unique.  Even if it is hard to beginners to design
> a regexp, it can be a start of learning Emacs.

I'd agree if this were a new feature. But this change needlessly breaks
people's configurations, so I agree with Reiner that it should be
reverted. That the variable mentions 'addresses' might be unfortunate,
but it's a quirk we should live with.

-David



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

* Re: gnus-ignored-from-addresses
  2013-07-02  5:54         ` gnus-ignored-from-addresses David Engster
@ 2013-07-02  6:08           ` Katsumi Yamaoka
  2013-07-02  7:37             ` gnus-ignored-from-addresses Julien Danjou
  0 siblings, 1 reply; 11+ messages in thread
From: Katsumi Yamaoka @ 2013-07-02  6:08 UTC (permalink / raw)
  To: Julien Danjou; +Cc: ding

David Engster <deng@randomsample.de> wrote:
> Katsumi Yamaoka writes:
>> Peter Münster wrote:
>>> On Tue, Jun 25 2013, Reiner Steib wrote:
>>>> Please make the old behavior the default again.  You can add an option
>>>> to match only addresses or surround addresses with <...> to get the
>>>> new behavior.
>>
>>> +1
>>
>> ±0
>>
>> But it might be good to *always* surround a string with \<...\>
>> under the `standard-syntax-table'.  I can only imagine that it
>> will help a FB employee whose name is "Mark Zucker", though.
>> OTOH, the current way is absolutely safe since an email address
>> is absolutely unique.  Even if it is hard to beginners to design
>> a regexp, it can be a start of learning Emacs.

> I'd agree if this were a new feature. But this change needlessly breaks
> people's configurations, so I agree with Reiner that it should be
> reverted. That the variable mentions 'addresses' might be unfortunate,
> but it's a quirk we should live with.

Ah, I agree.  Julien?



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

* Re: gnus-ignored-from-addresses
  2013-07-02  6:08           ` gnus-ignored-from-addresses Katsumi Yamaoka
@ 2013-07-02  7:37             ` Julien Danjou
  2013-07-02  8:11               ` gnus-ignored-from-addresses Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Julien Danjou @ 2013-07-02  7:37 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: ding

[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]

On Tue, Jul 02 2013, Katsumi Yamaoka wrote:

> David Engster <deng@randomsample.de> wrote:
>> Katsumi Yamaoka writes:
>>> Peter Münster wrote:
>>>> On Tue, Jun 25 2013, Reiner Steib wrote:
>>>>> Please make the old behavior the default again.  You can add an option
>>>>> to match only addresses or surround addresses with <...> to get the
>>>>> new behavior.
>>>
>>>> +1
>>>
>>> ±0
>>>
>>> But it might be good to *always* surround a string with \<...\>
>>> under the `standard-syntax-table'.  I can only imagine that it
>>> will help a FB employee whose name is "Mark Zucker", though.
>>> OTOH, the current way is absolutely safe since an email address
>>> is absolutely unique.  Even if it is hard to beginners to design
>>> a regexp, it can be a start of learning Emacs.
>
>> I'd agree if this were a new feature. But this change needlessly breaks
>> people's configurations, so I agree with Reiner that it should be
>> reverted. That the variable mentions 'addresses' might be unfortunate,
>> but it's a quirk we should live with.
>
> Ah, I agree.  Julien?

Everything was said, things are better now, but if it breaks people
configuration, I guess that should be reverted. So whoever wants to do
it go ahead.
When I'll get annoyed again I'll add another option to handle this
correctly again rather than fixing the existing one.

-- 
Julien Danjou
// Free Software hacker / freelance consultant
// http://julien.danjou.info

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: gnus-ignored-from-addresses
  2013-07-02  7:37             ` gnus-ignored-from-addresses Julien Danjou
@ 2013-07-02  8:11               ` Peter Münster
  2013-07-02  8:34                 ` gnus-ignored-from-addresses Julien Danjou
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2013-07-02  8:11 UTC (permalink / raw)
  To: ding

On Tue, Jul 02 2013, Julien Danjou wrote:

> Everything was said, things are better now, but if it breaks people
> configuration, I guess that should be reverted. So whoever wants to do
> it go ahead.
> When I'll get annoyed again I'll add another option to handle this
> correctly again rather than fixing the existing one.

What was your initial problem that you tried to solve?

-- 
           Peter




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

* Re: gnus-ignored-from-addresses
  2013-07-02  8:11               ` gnus-ignored-from-addresses Peter Münster
@ 2013-07-02  8:34                 ` Julien Danjou
  2013-07-03  4:15                   ` gnus-ignored-from-addresses Katsumi Yamaoka
  0 siblings, 1 reply; 11+ messages in thread
From: Julien Danjou @ 2013-07-02  8:34 UTC (permalink / raw)
  To: Peter Münster; +Cc: ding

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

On Tue, Jul 02 2013, Peter Münster wrote:

> What was your initial problem that you tried to solve?

Unfortunately, I don't recall exactly.

-- 
Julien Danjou
// Free Software hacker / freelance consultant
// http://julien.danjou.info

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: gnus-ignored-from-addresses
  2013-07-02  8:34                 ` gnus-ignored-from-addresses Julien Danjou
@ 2013-07-03  4:15                   ` Katsumi Yamaoka
  0 siblings, 0 replies; 11+ messages in thread
From: Katsumi Yamaoka @ 2013-07-03  4:15 UTC (permalink / raw)
  To: ding

Julien Danjou wrote:
> On Tue, Jul 02 2013, Peter Münster wrote:
>> What was your initial problem that you tried to solve?
> Unfortunately, I don't recall exactly.

This is a good reason to revert it.  Done.



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

end of thread, other threads:[~2013-07-03  4:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25  9:25 gnus-ignored-from-addresses Peter Münster
2013-06-25 10:05 ` gnus-ignored-from-addresses Katsumi Yamaoka
2013-06-25 16:14   ` gnus-ignored-from-addresses Reiner Steib
2013-06-27 14:00     ` gnus-ignored-from-addresses Peter Münster
2013-07-02  0:25       ` gnus-ignored-from-addresses Katsumi Yamaoka
2013-07-02  5:54         ` gnus-ignored-from-addresses David Engster
2013-07-02  6:08           ` gnus-ignored-from-addresses Katsumi Yamaoka
2013-07-02  7:37             ` gnus-ignored-from-addresses Julien Danjou
2013-07-02  8:11               ` gnus-ignored-from-addresses Peter Münster
2013-07-02  8:34                 ` gnus-ignored-from-addresses Julien Danjou
2013-07-03  4:15                   ` gnus-ignored-from-addresses Katsumi Yamaoka

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