From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69391 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: How to strip names out of To: and CC: Date: Wed, 03 Feb 2010 20:48:15 +0100 Message-ID: <87tytyumm8.fsf@marauder.physik.uni-ulm.de> References: <87hbpzdnsu.fsf@jidanni.org> <878wbaf7ev.fsf@jidanni.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265226575 19820 80.91.229.12 (3 Feb 2010 19:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2010 19:49:35 +0000 (UTC) Cc: ding@gnus.org To: jidanni@jidanni.org Original-X-From: ding-owner+M17794@lists.math.uh.edu Wed Feb 03 20:49:32 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NclE7-0004nP-QL for ding-account@gmane.org; Wed, 03 Feb 2010 20:49:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1NclDU-000365-DR; Wed, 03 Feb 2010 13:48:48 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1NclDR-00035K-IQ for ding@lists.math.uh.edu; Wed, 03 Feb 2010 13:48:45 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NclDN-0005hj-Tq for ding@lists.math.uh.edu; Wed, 03 Feb 2010 13:48:45 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NclD3-0003Fr-00 for ; Wed, 03 Feb 2010 20:48:21 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o13JmIwV007814; Wed, 3 Feb 2010 20:48:19 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 8C53813C99; Wed, 3 Feb 2010 20:48:18 +0100 (CET) X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Followup-To: jidanni@jidanni.org, ding@gnus.org In-Reply-To: <878wbaf7ev.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 04 Feb 2010 03:25:44 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-INFN-TO-Metrics: poseidon 1233; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69391 Archived-At: On Wed, Feb 03 2010, jidanni@jidanni.org wrote: >>>>>> "j" == jidanni writes: > j> message-simplify-recipients is an interactive compiled Lisp function > j> in `message.el'. > > j> 1. This function is apparently unused by any other code. So what? > j> 2. When I do M-x message-simplify-recipients, it does what I want. > j> However, when I put it into any hook, it causes an error that mentions > j> the "--text follows this line--" separator. Which hook? You need to use a hook run in the message buffer. > j> 3. It seems to work on addresses, even if they don't match > j> message-recipients-without-full-name, which is fine with me though. It shouldn't. Please provide an example including the headers and your value of `message-recipients-without-full-name'. > Never mind, I'll just do > (defun jidanni-message-alter-recipients-discard-all-names (addrcell) > "Discard all names in mail addresses, because it looks neater" > (cons (car addrcell) (car addrcell))) > > (setq message-alter-recipients-function 'jidanni-message-alter-recipients-discard-all-names) > > P.S., hope this shows up in gmane.emacs.gnus.general... Both articles did. BTW, please don't Cc me. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/