From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55592 Path: main.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.gnus.general Subject: [Q]: function `message-insert-disposition-notificatio-to` Date: Sun, 04 Jan 2004 18:58:11 +0100 Organization: GNU Rox ! Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1073239117 24250 80.91.224.253 (4 Jan 2004 17:58:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2004 17:58:37 +0000 (UTC) Original-X-From: ding-owner+M4132@lists.math.uh.edu Sun Jan 04 18:58:32 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdCWG-0008Ag-00 for ; Sun, 04 Jan 2004 18:58:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AdCVo-0001tt-00; Sun, 04 Jan 2004 11:58:04 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AdCVj-0001to-00 for ding@lists.math.uh.edu; Sun, 04 Jan 2004 11:57:59 -0600 Original-Received: from smtp.gnu-rox.org (rms.gnu-rox.org [213.41.134.247]) by justine.libertine.org (Postfix) with ESMTP id CD6BA3A0027 for ; Sun, 4 Jan 2004 11:57:58 -0600 (CST) Original-Received: from totoz.gnu-rox.org.gnu-rox.org (totoz.gnu-rox.org [10.0.0.3]) by smtp.gnu-rox.org (Postfix) with ESMTP id 88EA53E022 for ; Sun, 4 Jan 2004 19:06:49 +0100 (CET) Original-To: ding@gnus.org X-Attribution: zeDek X-Whatever: no X-Url-GnusFr: http://www.gnusfr.org X-Url-EmacsFr: http://www.emacsfr.org X-In-No-Sense: Nonsense X-Home-Page: http://www.gnu-rox.org/~zedek/cgi-bin/wiki.pl X-Gpg-Key-ID: 1E028EA5 X-Gpg-Fingerprint: FDB0 EE1F 33E5 8C22 5E3E 96E7 6900 CA9B 1E02 8EA5 X-Gpg-Affinity: Will accept encrypted message for GNUpg X-Disclaimer: Fourty Two X-Accept-Language: en, fr Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUIBwFNOCZiYSSxoHhg SDJqcyQwIRJa3VQFAAACHElEQVR4nG2SwW7jMAxEdVj4vGpV3SNEuadaf4DW9H2rhj1bQaD//4Sd kZ3W240COACfyCGHMmY9bTDmh3lwWmv11pb/4gNI9dW3b+HWBqZU8d/q+FYXICv55z8J1lokNJ+d 5D2o1opHvOHf7fWrs9lSu4q4vYq1NQsUrLdid7UG63HVoqBz4l0bhmVZR0N96zI6sNlZYRsEqN1H sA6lJFf5/dEj5in4toCgPBJyzTmE8BROJoTTwmxWsugqhxhKLMWofgyc3DNnnqfzE4AqwR/KVD/g /pTSr6sWLaFnNBqy7EAsIQCcGhuCPMIANYQvIJJFhPF0vpaIvmIvhaC8p/WcqypAMBEAGfMWT29X 1agdvBHcE9L5eVQgdBVLu231u/hzBOhzKMD0BeaZcYozY77I/J4u1JoTwb1dmA4huFqnDrQD7zh6 dW/43pKM6Cqy1MneMiyp08iElNgVBix66ICxblYHGrGPo+deN6vuoJhYLrAV5LNl7QeTB1qVZQOU 7gCzyHq4jO1+gUYJelwBfBxfxhVwH6h1QJgDSgq9El8DM3Chy/sXSuAlxBDVlMIryMC7ntI8jgjG vsEYo5bj2jGcfEUQP3qF+QEyn/Y0JuhGvCwMyBUTtOYu2CPq4MnRElw5HFjJO9cXrPhiUVx80AuH 97fPPY5q0K1iZAL7teCUDMMb2MeT2Z7AZtb4/gjI7t3dQdqsfwzo4yf4C6AK8YlQN6W6AAAAAElF TkSuQmCC Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55592 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55592 --=-=-= Hi, When I want someone to send me a return receipt, I am used to press `C-c M-n`. All is right for me but now I am trying to obfuscate my 'From' header so instead of a real address, I have a '+something' (ie +mail for mails) or other mark to obfuscate my mail (depending of the mailing list software manager). So taking message-insert-disposition-notification-to function: ,---- [ message.el ] | (defun message-insert-disposition-notification-to () | "Request a disposition notification (return receipt) to this message. | Note that this should not be used in newsgroups." | (interactive) | (save-excursion | (save-restriction | (message-narrow-to-headers) | (message-remove-header "Disposition-Notification-To")) | (message-goto-eoh) | (insert (format "Disposition-Notification-To: %s\n" | (or (message-field-value "Reply-to") | (message-field-value "From") | (message-make-from)))))) `---- I always have to manually remove the '+' part from my 'From' headers. Is there a simple way to advice this function such like it de-obfuscate automatically the 'From' header and so get a good and real email address ? I am not really familiar with advice so maybe can one help me ? :) Thanx zeDek -- In Gruuik we trust --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQA/+FQzaQDKmx4CjqURAuYNAJ4w6St7BWm50JKf1+zRItyE5/+mngCgt/ry +cZlCm+dYQOebtEwZR+AoV8= =1KgA -----END PGP SIGNATURE----- --=-=-=--