From: Eli Zaretskii <eliz@gnu.org>
To: Marko Rauhamaa <marko@pacujo.net>
Cc: guile-user@gnu.org
Subject: Re: Running script from directory with UTF-8 characters
Date: Wed, 23 Dec 2015 21:33:32 +0200 [thread overview]
Message-ID: <83poxxnenn.fsf@gnu.org> (raw)
In-Reply-To: <877fk5as8r.fsf@elektro.pacujo.net> (message from Marko Rauhamaa on Wed, 23 Dec 2015 21:18:28 +0200)
> From: Marko Rauhamaa <marko@pacujo.net>
> Cc: guile-user@gnu.org
> Date: Wed, 23 Dec 2015 21:18:28 +0200
>
> Eli Zaretskii <eliz@gnu.org>:
>
> >> From: Marko Rauhamaa <marko@pacujo.net>
> >> The Linux kernel just doesn't care, and shouldn't.
> >
> > Guile is not an OS kernel. Guile is an environment for writing
> > applications. On the application level, you _should_ care, or else you
> > won't be able to manipulate file names in meaningful ways.
>
> To me, a programming language is a medium of writing programs for an
> operating system. I don't think a programming language should "shield"
> me from the OS. Instead, it should make the whole gamut of the OS
> facilities available to me.
I see no contradiction here, as long as you acknowledge that Guile
should be good for more than just OS level stuff.
> >> I'm not saying bytevectors are elegant, but we should not replace
> >> them with wishful thinking.
> >
> > No need for wishful thinking. Study what Emacs does and do something
> > similar.
>
> Why don't you tell me already what emacs does?
I did, you elided that. It represents text as superset of UTF-8, and
uses high codepoints above the Unicode space for raw bytes.
> >> Guile 1.x's and Python 2.x's bytevector/string confusion was actually
> >> a very happy medium. Neither the OS nor the programming language
> >> placed any interpretation to the byte sequences. That was left to the
> >> application.
> >
> > And that is wrong. Applications cannot handle that, they need some
> > heavy help from the infrastructure.
>
> That can be managed through support libraries.
Guile is one huge support library, so it should include that built-in.
next prev parent reply other threads:[~2015-12-23 19:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-21 21:09 Running script from directory with UTF-8 characters Vicente Vera
2015-12-21 23:19 ` Marko Rauhamaa
2015-12-22 0:34 ` Chris Vine
2015-12-22 1:14 ` Marko Rauhamaa
2015-12-22 14:21 ` Chris Vine
2015-12-22 15:55 ` Marko Rauhamaa
2015-12-22 20:12 ` Chris Vine
2015-12-22 20:36 ` Marko Rauhamaa
2015-12-22 20:59 ` Eli Zaretskii
2015-12-22 21:39 ` Marko Rauhamaa
2015-12-23 18:28 ` Eli Zaretskii
2015-12-23 19:18 ` Marko Rauhamaa
2015-12-23 19:33 ` Eli Zaretskii [this message]
2015-12-23 21:15 ` Marko Rauhamaa
2015-12-23 21:53 ` David Kastrup
2015-12-23 22:20 ` Marko Rauhamaa
2015-12-23 22:25 ` David Kastrup
2015-12-24 16:13 ` Barry Schwartz
2015-12-22 14:32 ` Vicente Vera
2015-12-22 15:56 ` Marko Rauhamaa
2015-12-26 1:57 ` Vicente Vera
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83poxxnenn.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=guile-user@gnu.org \
--cc=marko@pacujo.net \
/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).