From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?Q?S=E9bastien?= Kirche Newsgroups: gmane.emacs.help Subject: different codings of a char in the same litteral Date: Mon, 11 Apr 2005 14:49:47 +0200 Organization: Aucune. Message-ID: Reply-To: =?iso-8859-15?Q?S=E9bastien?= Kirche NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1113224063 23876 80.91.229.2 (11 Apr 2005 12:54:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 12:54:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 11 14:54:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKyPH-0001CJ-4l for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 14:52:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKxzN-0003eF-Of for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 08:26:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!freenix!news.cuq.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: yeuse.cuq.org 1113223917 77358 195.25.216.129 (11 Apr 2005 12:51:57 GMT) Original-X-Complaints-To: abuse@cuq.org Original-NNTP-Posting-Date: Mon, 11 Apr 2005 12:51:57 +0000 (UTC) X-Face: ; T}O6aj2o*d:|9po%NCuYvExN3]<#cHr0"FaWCh[}WVn6&@L)YWO'&6AO5Ex:MX=H; .^e}o Td*OaFQEBc_xu%+ChwRl!KK`I'["$^aO1gIN{4OyBdO@1HHD5YO#[kiVCk|/-|mmYnU8yTp+eOv."d 1.G3; ro0Q/`,UY+vY/#5b/{OYxE+X\)tc~p~1vbmZ!o4sciW+e8MW|Pz|nl`l*}]8[#1zQO"]d2*{d wrTKu]5t*Gy_pm3e8o=:(c_ju'zlQ<[oJ|\XjgQQmWZC7S]-Fmp\eBHnBO']/te~/; \@l" D#:h)8Q Cancel-Lock: sha1:emabnPta0nK3H6bI9oe4wxo+yhk= User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin) Original-Xref: shelby.stanford.edu gnu.emacs.help:129992 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25556 Hi, In Gnus, to display the recipients names or the newsgroups names instead of my name in the sent messages lists, I eventually configured the gnus-ignored-from-addresses that is a regexp for the From: names to rid off. However, in the past i used different From: in different coding systems : - Sebastien Kirche - Sébastien Kirche encoded in latin-1 then latin-9 My problem was to handle the both versions of the accentuated form. I tried to copy/paste the chars from each version, but as my coding system is latin-9, the latin-1 was re-encoded. Thanks to C-x = i managed to build the following regexp : (setq gnus-ignored-from-addresses "S\\(e\\|\x8e9\\|\xf69\\)bastien Kirche") Where \x8e9 is the é in latin-1 and \xf69 is the latin-9. But i wonder if it exists a proper manner less tricky to build such a string (without simply replacing the possibly accentuated char by a .+) ? -- Sébastien Kirche