Gnus development mailing list
 help / color / mirror / Atom feed
From: Aidan Kehoe <kehoea@parhasard.net>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: nnmail-pathname-coding-system breaks my XEmacs.
Date: Mon, 12 Jan 2009 12:02:14 +0000	[thread overview]
Message-ID: <18795.12614.222792.255516@parhasard.net> (raw)
In-Reply-To: <b4m4p05e3gd.fsf@jpl.org>


 Ar an dara lá déag de mí Eanair, scríobh Katsumi Yamaoka: 

 > >>>>> In <87hc45o6ea.fsf@marauder.physik.uni-ulm.de>
 > >>>>>	Reiner Steib <reinersteib+gmane@imap.cc> wrote:
 > > On Sun, Jan 11 2009, Aidan Kehoe wrote:
 > 
 > > > Sehr geehrte Damen und Herren!
 > 
 > > Since all of the recent matches for nnmail-pathname-coding-system in
 > > ChangeLog point to Katsumi Yamaoka, a Japanese greeting would be more
 > > appropriate.  ;-)
 > 
 > I'll look into it tomorrow.  Sorry I have no time today.  Anyway
 > those `file-name-coding-system' uses are for files used of
 > non-ASCII group names.  cf. (info "(gnus)Non-ASCII Group Names")

If this reflects the current state of affairs: 

nnmail-pathname-coding-system

    The value of this variable should be a coding system or nil (which is
    the default). The nnml back end, the nnrss back end, the NNTP marks
    feature (see section 6.2.1.4 NNTP marks), the agent, and the cache use
    non-ASCII group names in those files and directories. This variable
    overrides the value of file-name-coding-system which specifies the
    coding system used when encoding and decoding those file names and
    directory names.

    In XEmacs (with the mule feature), file-name-coding-system is the only
    means to specify the coding system used to encode and decode file
    names. Therefore, you, XEmacs users, have to set it to the coding system
    that is suitable to encode and decode non-ASCII group names. On the
    other hand, Emacs uses the value of default-file-name-coding-system if
    file-name-coding-system is nil. Normally the value of
    default-file-name-coding-system is initialized according to the locale,
    so you will need to do nothing if the value is suitable to encode and
    decode non-ASCII group names.

        (from http://www.gnus.org/manual/gnus_40.html ) 

why aren’t you just using file-name-coding-system? This is initialised
correctly these days (except if you’re dealing, say, with an external or
network drive where your host OS doesn’t understand its file name encoding;
but nothing can really initialise correctly in that case) though I admit
there were years where we dealt with it very badly. 

(Note that nil, your default, corresponds to the binary, no-conversion
coding system under XEmacs, which, for example, Mac OS X will not accept
when asked to create a file name with non-ASCII characters in that encoding,
it requires valid UTF-8.)

 > > > Why is Gnus overriding file-name-coding-system? For example, in
 > > > nnmh-active-number, and pretty much everywhere that
 > > > nnmail-pathname-coding-system is used. In XEmacs 21.5 we have stupid hackery
 > > > that maintains the file-name coding system alias as equivalent to the
 > > > file-name-coding-system variable, but this doesn’t know about dynamic scope,
 > > > so after I’ve used Gnus my file-name-coding-system is reset to binary, which
 > > > is useless on OS X. If you’re using anything non-ASCII I imagine it’ll break
 > > > under Gnus too, and if you’re not using anything non-ASCII, why bother
 > > > messing with the variable at all?
 > > [...]
 > > > Gnus v5.10.8
 > > > XEmacs 21.5  (beta28) "fuki" 302136a857ec+ [Lucid] (i386-apple-darwin8.11.1, Mule) of Sat Jan 10 2009 on bonbon

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?



  reply	other threads:[~2009-01-12 12:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18794.15468.881403.994781@parhasard.net>
2009-01-11 21:54 ` Reiner Steib
2009-01-12  1:08   ` Katsumi Yamaoka
2009-01-12 12:02     ` Aidan Kehoe [this message]
2009-01-13  6:46       ` Katsumi Yamaoka
2009-01-13 12:02         ` Aidan Kehoe
2009-01-14  6:36           ` Katsumi Yamaoka
2009-01-14 10:57             ` Katsumi Yamaoka
2009-01-14 11:33             ` Aidan Kehoe
2009-01-14 20:16               ` Reiner Steib
2009-01-14 20:48                 ` Aidan Kehoe
2009-01-15  0:25               ` Katsumi Yamaoka
2009-01-15  0:35                 ` Aidan Kehoe
2009-01-16  8:05                   ` Katsumi Yamaoka
2009-01-16 14:19                     ` Aidan Kehoe
2009-01-14 20:56           ` Aidan Kehoe

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

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

  git send-email \
    --in-reply-to=18795.12614.222792.255516@parhasard.net \
    --to=kehoea@parhasard.net \
    --cc=ding@gnus.org \
    --cc=yamaoka@jpl.org \
    /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 NNTP newsgroup(s).