Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Handling "identity jumpers"
@ 2006-07-07 12:28 Andrzej Adam Filip
  2006-07-07 13:54 ` Karl Kleinpaste
  2006-07-07 14:30 ` Tassilo Horn
  0 siblings, 2 replies; 4+ messages in thread
From: Andrzej Adam Filip @ 2006-07-07 12:28 UTC (permalink / raw)


In one of the newsgroup I read there is a person which frequently
changes identities used in "From:" header. The person can be detected
based on some obscure details in normally non displayed headers.

How to autodetect the person in gnus news reader?
a) some indicator when displaying the messages in summary and article
   buffers
b) changed attribution line when citing post
   e.g. "XXX aka YYY writes:"

-- 
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
http://anfi.homeunix.net/            http://www.linkedin.com/in/andfil

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

* Re: Handling "identity jumpers"
  2006-07-07 12:28 Handling "identity jumpers" Andrzej Adam Filip
@ 2006-07-07 13:54 ` Karl Kleinpaste
  2006-07-08 22:15   ` Andrzej Adam Filip
  2006-07-07 14:30 ` Tassilo Horn
  1 sibling, 1 reply; 4+ messages in thread
From: Karl Kleinpaste @ 2006-07-07 13:54 UTC (permalink / raw)


Andrzej Adam Filip <anfi@onet.eu> writes:
> ...a person which frequently changes identities used
> How to autodetect the person in gnus news reader?

Give a mild (e.g. 10-point) score down on the appropriate pattern of
their Message-Id, which probably does not change.

1 0 L i s p AppropriateStringHere RET
Read as: "numeric `10', lower id substring permanent".

If you have a sufficiently kind newsadmin, such that NNTP-Posting-Host
is in overviews, then you can arrange to score down on that, since he
probably connects from approximately the same place all the time:

(setq gnus-extra-headers
      '(Keywords To Newsgroups X-Moodwatch NNTP-Posting-Host))

Then you can...

1 0 L e s p NNTP-Posting-Host RET AppropriateStringHere RET
Read as: "numeric `10', lower extra substring permanent, on the extra
header NNTP-Posting-Host" (tab completion works for elements of g-e-h).

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

* Re: Handling "identity jumpers"
  2006-07-07 12:28 Handling "identity jumpers" Andrzej Adam Filip
  2006-07-07 13:54 ` Karl Kleinpaste
@ 2006-07-07 14:30 ` Tassilo Horn
  1 sibling, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2006-07-07 14:30 UTC (permalink / raw)


Andrzej Adam Filip <anfi@onet.eu> writes:

Hi Andrzej,

> In one of the newsgroup I read there is a person which frequently
> changes identities used in "From:" header. The person can be detected
> based on some obscure details in normally non displayed headers.
>
> How to autodetect the person in gnus news reader?
> a) some indicator when displaying the messages in summary and article
>    buffers

Have look at the variable `gnus-summary-line-format', especially at the
%u format string.

,----[ C-h v gnus-summary-line-format RET ]
| gnus-summary-line-format is a variable defined in `gnus.el'.
| Its value is 
| "%{|%}%U%R%z%{|%}%(%-18,18f%{|%}%*%{%B%} %s%)\n"
| 
| Documentation:
| *The format specification of the lines in the summary buffer.
| 
| It works along the same lines as a normal formatting string,
| with some simple extensions.
| 
| [...]
| %*   If present, indicates desired cursor position
|      (instead of after first colon).
| %u   User defined specifier.  The next character in the format string should
|      be a letter.  Gnus will call the function gnus-user-format-function-X,
|      where X is the letter following %u.  The function will be passed the
|      current header as argument.  The function should return a string, which
|      will be inserted into the summary just like information from any other
|      summary specifier.
| [...]
`----

So you could use "%uI" ("I" for identity or so) in the format string and
write a function `gnus-user-format-function-I' which does the obsure
header-checking and returns the real name of this guy.

> b) changed attribution line when citing post
>    e.g. "XXX aka YYY writes:"

Have a look at

,----[ (info "(message)Insertion Variables") ]
| `message-citation-line-function'
|      Function called to insert the citation line.  The default is
|      `message-insert-citation-line', which will lead to citation lines
|      that look like:
| 
|           Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
| 
|      Point will be at the beginning of the body of the message when
|      this function is called.
| 
|      Note that Gnus provides a feature where clicking on `writes:'
|      hides the cited text.  If you change the citation line too much,
|      readers of your messages will have to adjust their Gnus, too.
|      See the variable `gnus-cite-attribution-suffix'.  *Note Article
|      Highlighting: (gnus)Article Highlighting, for details.
`----

HTH,
Tassilo
-- 
A morning without coffee is like something without something else.

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

* Re: Handling "identity jumpers"
  2006-07-07 13:54 ` Karl Kleinpaste
@ 2006-07-08 22:15   ` Andrzej Adam Filip
  0 siblings, 0 replies; 4+ messages in thread
From: Andrzej Adam Filip @ 2006-07-08 22:15 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> Andrzej Adam Filip <anfi@onet.eu> writes:
>> ...a person which frequently changes identities used
>> How to autodetect the person in gnus news reader?
>
> Give a mild (e.g. 10-point) score down on the appropriate pattern of
> their Message-Id, which probably does not change.
>
> 1 0 L i s p AppropriateStringHere RET
> Read as: "numeric `10', lower id substring permanent".
>
> If you have a sufficiently kind newsadmin, such that NNTP-Posting-Host
> is in overviews, then you can arrange to score down on that, since he
> probably connects from approximately the same place all the time:
>
> (setq gnus-extra-headers
>       '(Keywords To Newsgroups X-Moodwatch NNTP-Posting-Host))
>
> Then you can...
>
> 1 0 L e s p NNTP-Posting-Host RET AppropriateStringHere RET
> Read as: "numeric `10', lower extra substring permanent, on the extra
> header NNTP-Posting-Host" (tab completion works for elements of
> g-e-h).

In this particular case I want marking instead of lowering score.

-- 
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
http://anfi.homeunix.net/            http://www.linkedin.com/in/andfil

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

end of thread, other threads:[~2006-07-08 22:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 12:28 Handling "identity jumpers" Andrzej Adam Filip
2006-07-07 13:54 ` Karl Kleinpaste
2006-07-08 22:15   ` Andrzej Adam Filip
2006-07-07 14:30 ` Tassilo Horn

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