unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Sébastien Kirche" <sebastien.kirche.no@spam.free.fr.invalid>
Subject: different codings of a char in the same litteral
Date: Mon, 11 Apr 2005 14:49:47 +0200	[thread overview]
Message-ID: <m2fyxxsck4.fsf@seki.fr> (raw)

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

             reply	other threads:[~2005-04-11 12:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 12:49 Sébastien Kirche [this message]
2005-04-11 13:09 ` different codings of a char in the same litteral Peter Dyballa
     [not found] ` <mailman.1060.1113223198.2895.help-gnu-emacs@gnu.org>
2005-04-11 13:54   ` Sébastien Kirche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fyxxsck4.fsf@seki.fr \
    --to=sebastien.kirche.no@spam.free.fr.invalid \
    --cc=sebastien.kirche@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).