Nelson Ferreira | 1 Jun 2002 07:44
Picon

Re: Using Message-ID for reply splitting into groups


In reply to my own message, I'm posting a patch to message.el in
message-make-message-id that concats the header X-Msgid-Archive-Tag
to the Message-ID contacts if it is present.

This allows me to do the following in my .gnus:

(defun njsf-define-msg-id-tag-field nil
  ""
  (if (and (message-mail-p) (length gnus-newsgroup-name))
      (let ((tag (concat "_---_xmat_-" 
			 gnus-newsgroup-name) 
			 "_---")))
	(save-excursion
	  (message-narrow-to-headers)
	  (message-fill-header 'X-Msgid-Archive-Tag tag)
	  (widen)
	  ))))
(add-hook 'message-send-hook 'njsf-define-msg-id-tag-field)

Anybody has any comments, improvements or objections ?

Regards,

        Nelson

Attachment (msg-id-tag.diff): text/x-patch, 592 bytes

(Continue reading)

Nelson Ferreira | 1 Jun 2002 04:03
Picon

Using Message-ID for reply splitting into groups


Hi all.

Did anyone ever tried to cook the Message-ID field so that you can split
an incoming reply to mail you posted (or a reply), to the group where the
you composed the original from ?

I was thinking of something of the likes of adding a personal key plus the
group name, so that either fancy-splitting or procmail would know which 
group to put it too.

I would also enable this only if gcc-self is t.

I know I would have to thinker with message-make-fdqn or message-make-message-id...

What is the right way to do it, or is this a very dumb move ?

Thanks,

        Nelson

--

-- 
Nelson Ferreira

Christoph Conrad | 1 Jun 2002 11:56
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Christoph Conrad | 1 Jun 2002 11:53
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Christoph Conrad | 1 Jun 2002 11:53
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Christoph Conrad | 1 Jun 2002 11:54
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Christoph Conrad | 1 Jun 2002 11:53
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Christoph Conrad | 1 Jun 2002 11:54
Picon
Picon

Wrapped subject line is displayed different in summary/article buffer

Hi,

============== Raw message:
Subject: DSL =?iso-8859-15?q?=FCber?= 1&1/Telekom
 =?iso-8859-15?q?gest=F6rt?= (Frankenberger Viertel)
============== Summary Buffer:
!*+[   m: => oecher.computer  ]  DSL über 1&1/Telekom
============== Article buffer:
Subject: DSL über 1&1/Telekom gestört (Frankenberger Viertel)

The complete decoded subject line is like in "Article buffer". In the
summary buffer there is only the first part of the wrapped raw long
subject line displayed. How can i influence this behaviour? It this an
error?

Best regards,
cu, -cc-
--

-- 
=> GNU Emacs Webring  <at>  <http://www.gnusoftware.com/WebRing/> <=
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using emacs for years...!

Kai Großjohann | 2 Jun 2002 10:26
Picon
Picon

Re: bbdb acting up with Kai's name

Josh Huber <huber <at> alum.wpi.edu> writes:

> Every time I view a message from kai, the BBDB asks me if I want to
> switch his name to "Kai Gro".

Maybe this is a symptom of your XEmacs not knowing Latin-9?  The
Latin-Unity package teaches XEmacs about Latin-9.

Hm.  But then, you're using Ben's new unicodified version.  It might
grok Latin-9 out of the box and it might do 8859 unification out of
the box.  I don't know enough about XEmacs to be sure.

kai
--

-- 
Silence is foo!

Kai Großjohann | 2 Jun 2002 10:27
Picon
Picon

Re: Using Message-ID for reply splitting into groups

Nelson Ferreira <nelson.ferreira <at> bigfoot.com> writes:

> Did anyone ever tried to cook the Message-ID field so that you can split
> an incoming reply to mail you posted (or a reply), to the group where the
> you composed the original from ?

Yes, but I did it wrong.  I added stuff the rhs (after " <at> ") whereas it
should have been added to the lhs.  Can you fix that?

;; Insert token into message id
(defadvice message-make-fqdn (around group-token activate)
  "Insert a token for the current group into the message id."
  (let ((fqdn ad-do-it)
	(gcc (save-restriction
	       (message-narrow-to-headers-or-head)
	       (message-fetch-field "gcc"))))
    (cond ((and gcc
		(string-match "^nnimap:\\(.*\\)$" gcc))
	   (setq ad-return-value (concat (match-string 1 gcc)
					 ".tok."
					 fqdn)))
	  ((and gnus-newsgroup-name
		(string-match "^nnimap:\\(.*\\)$" gnus-newsgroup-name))
	   (setq ad-return-value (concat (match-string 1 gnus-newsgroup-name)
					 ".tok."
					 fqdn)))
	  (t (setq ad-return-value fqdn)))))

kai
--

-- 
(Continue reading)


Gmane