all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Cc: handa@m17n.org
Subject: Re: environment variable don't get coding conversion
Date: 26 Jan 2003 18:22:51 +0000	[thread overview]
Message-ID: <rzqiswbwz2c.fsf@dlpx1.dl.ac.uk> (raw)
In-Reply-To: E18cVsp-0002b2-00@fencepost.gnu.org

Richard Stallman <rms@gnu.org> writes:

> "Make non-ASCII usable" is not specific enough for me to understand.
> I cannot be sure if there is a real problem.

Can't you leave it up to handa, then?

> Please show me a specific problem case so I can judge if there is a
> significant problem.

I don't understand how these aren't specific enough, but it's
obviously not right to treat environment variables as unibyte in a
multibyte session.

>     If you have a non-ASCII variable name, you can't sensibly use M-x
>     getenv with it;
> 
> getenv could decode the variable name, if that is useful.
> 
> 		    if you have your non-ASCII personal name in NAME,
>     Emacs gets your `user-full-name' as a unibyte string with which random
>     things will happen;
> 
> Please show specific examples so I can judge whether these are real problems
> and, if so, look for solutions.

You could try non-ASCII variable names and values in the environment
with an appropriate locale.  The solution is either to have
setenv/getenv do coding conversion, or to do conversion both on the
imported environment and the one exported to subprocesses.

  parent reply	other threads:[~2003-01-26 18:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 12:05 environment variable don't get coding conversion Dave Love
2003-01-17  6:13 ` Kenichi Handa
2003-01-18  0:46   ` Richard Stallman
2003-01-20  0:38     ` Kenichi Handa
2003-01-20 16:46       ` Richard Stallman
2003-01-21 18:21         ` Dave Love
2003-01-23  7:59           ` Richard Stallman
2003-01-23 23:04             ` Dave Love
2003-01-25 19:22               ` Richard Stallman
2003-01-25 22:05                 ` Ehud Karni
2003-01-26 14:41                   ` Kai Großjohann
2003-01-26 16:11                     ` Eli Zaretskii
2003-01-27 13:18                       ` Stefan Monnier
2003-01-27  2:48                     ` Kenichi Handa
2003-01-26 18:50                   ` Dave Love
2003-01-27  2:31                   ` Richard Stallman
2003-01-28 18:42                     ` Dave Love
2003-01-26 18:22                 ` Dave Love [this message]
2003-01-21 18:18       ` Dave Love
2003-01-23  8:00         ` Richard Stallman
2003-01-25  0:56           ` Kenichi Handa
2003-01-25 17:09             ` Eli Zaretskii
2003-01-26 15:36               ` Richard Stallman
2003-01-26 16:08                 ` Eli Zaretskii
2003-01-27 17:41                   ` Richard Stallman
2003-01-27  2:27                 ` Kenichi Handa
2003-01-26 18:23             ` Dave Love

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=rzqiswbwz2c.fsf@dlpx1.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    --cc=handa@m17n.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.