From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9825 Path: news.gmane.org!not-for-mail From: Slackrat Newsgroups: gmane.emacs.gnus.user Subject: Re: hiding some of address Date: Thu, 01 Nov 2007 08:09:36 +0100 Organization: Not very much! Message-ID: <87ve8mo30v.fsf@azurservers.com> References: <87fxzr8agm.fsf@azurservers.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1193902842 3346 80.91.229.12 (1 Nov 2007 07:40:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2007 07:40:42 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Nov 01 08:40:44 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1InUfT-000443-35 for gegu-info-gnus-english@m.gmane.org; Thu, 01 Nov 2007 08:40:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InUfJ-0006Vu-3p for gegu-info-gnus-english@m.gmane.org; Thu, 01 Nov 2007 03:40:33 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.news-service.com!feeder.news-service.com!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-a.proxad.net!nnrp20-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Operating-System: Kernel=Intel-Linux, Programmes=GNU, Integration=Slackware X-Homepage: http://azurservers.com X-Guarantee: This email is certified to have been free of UCE and any other Malicious, Harmful or Annoying Content when originally sent by @azurservers.com - Azurservers post SPF records and do not condone SPAM type emails X-Azurservers-AuthNo: Registered as AZSV bghkd8332277 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEWRko+3t7RiV1A6JSJg h7nIAAACBElEQVQokSXSQWsTQRQH8P/uJlKyYBS799BTSCSLelERu6iHNIqGdCbU9iNE6EdwKeSS HhSh4DHNzdni5pjmsBsqudST32B7EOJGTNpTsgn7nE0OA/Pjz3tvHgwiGlO4qRaKQjQRTcb/Lnwa ZY58A31nfLkwab5l9wDR6YTRMf0Roi3hhOHMpEs/VixETjT6QtTyp6eAR4uZTvR1MuQc27QIHKKT Pb5GyyUaGAk+0k1BEF3f3awymQRiTOP5g4ro4GkJBYcMz49ECKsg3HiZcX0SMSxVVhAtfhLF4Fz2 6tss9EOxRinNn7uThYRPFJ7y16GI14j7nJ1XUxLbst5M84rBJQ5joqOA174xiZr/joJ8I4yTpE62 G/Wu2CgBo0GN3CvrVwLuRh0y29qqAT+MXIpzZb5CY2leewqShKUbS3+owwLAC/nO3FNe2vIO1qzd RMGr7Ap1o1pcpJWHowT7rKwvre4Piu8Ae8zSlzUnO9WHHDssd48yZ/0Zzjnec1sjZxr8RdZIoNLk YvAd2gA79dktamn2IyBA2QoydKZjC+hi/4Wdp98VbNh4jFoKcIcH2GjjPuqfoZgnB3x3KsHko0x7 11BtlMBzUI8DrckUdhs8g7fOVB2kON7A0sK22pYzFP4BHHqySleeJ2AWPPk3nkn0IMdAtL1PNtQg 2Q+qGxVHyA7+A58cF4sUszMTAAAAAElFTkSuQmCC Cancel-Lock: sha1:FEKDpPu4iiYmdwdd8HCwu0z5yzQ= Original-Lines: 48 Original-NNTP-Posting-Date: 01 Nov 2007 08:09:37 MET Original-NNTP-Posting-Host: 82.242.110.54 Original-X-Trace: 1193900977 news-1.free.fr 30936 82.242.110.54:33184 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80032 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9825 Archived-At: * Sebastian Tennant ***@smolny.plus.com> a écrit profondement: | | Quoth Slackrat : | > and it produces this | > | > * "William Witteman" a écrit profondement: | > | > But I would like it to omit the email address | > entirely or alternatively insert say | > three asterisks before the "@" in the email address as I have seen | > others do. | | This will obscure the local part with three asterixes in most cases. | | (defun my-insert-citation-line () | (when message-reply-headers | (let* ((unobscured (mail-header-from message-reply-headers)) | (i (or (string-match " [<[(]?[A-z0-9_-.]+@" unobscured) -1)) | (j (string-match "@" unobscured)) | (obscured (concat (substring unobscured 0 (+ i 1)) | "***" | (substring unobscured j)))) | (insert "* " obscured " a écrit profondement:\n|\n")))) | | ;;; these are not part of the function definite above | (setq message-citation-line-function 'my-insert-citation-line) | (setq message-yank-prefix "| ") | (setq message-yank-cited-prefix "| ") | | Hope it helps. I haven't tested it extensively. Thanks, it works great - mostly But try replying to the following message which has 2 * "@" in it R [11-01 00:25] ["Mark Atwood ] Problem with nnmail-split-methods and which has this from line From: "Mark Atwood " and you get * "Mark Atwood ***@mark.atwood.name>" a écrit profondement: -- SlackRat - 4Q to Reply