all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: emacs misbehaves without --unibyte
Date: Wed, 29 May 2002 09:23:11 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020529091822.27552D-100000@is> (raw)
In-Reply-To: <20020529001818.GA428459@bruegel.RZ.TU-Ilmenau.DE>


On Wed, 29 May 2002, Paul Stoeber wrote:

> (How is Emacs not a binary file editor when it has hexl mode?)

It's not a binary file editor if you are in a mode other than hexl.

> I started this thread because default emacs wouldn't let me navigate
> filesystems that contain funny filenames, so the "8-bit cleanness"
> discussion only applies to file name handling (although I had also
> mentioned "text/binary files" in a general statement).

For that, Miles gave the solution: you should set up your language 
environment correctly, or set file-name-coding-system explicitly.

I replied in addition to what Miles said, thinking that you really meant 
8-bit cleanliness throughout.

> Is it reasonable
> for Emacs to refuse to open existing files and to invent new file names
> in place of existing ones?

No.  But the ``reasonable'' thing is hard to implement without hints from 
the user's environment.  Please remember that Emacs decides where a file 
name starts and ends in the Dired buffer by using a set of convoluted 
regexps designed to parse the "ls -la" output for file's name, date, 
time, attributes, etc.  A stray 8-bit byte can cause spurious wrong 
matches of those regexps, and the net effect is what you reported.

  reply	other threads:[~2002-05-29  6:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 20:08 emacs misbehaves without --unibyte Paul Stoeber
2002-05-28 21:40 ` Eli Zaretskii
2002-05-29  0:18   ` Paul Stoeber
2002-05-29  6:23     ` Eli Zaretskii [this message]
2002-05-29  8:56       ` Paul Stoeber
2002-05-29  8:58         ` Eli Zaretskii
2002-05-29  9:00         ` Eli Zaretskii
2002-05-29  9:10           ` Miles Bader
2002-05-29 10:06             ` Eli Zaretskii
2002-05-29 13:11               ` Robert J. Chassell
2002-05-29 17:02                 ` Eli Zaretskii
2002-05-31  7:04                   ` Richard Stallman
2002-05-29 13:13           ` Paul Stoeber
2002-05-30 17:04           ` Richard Stallman
2002-05-30 17:00   ` Richard Stallman
2002-05-30 18:46     ` Paul Stoeber
2002-05-31 21:28       ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-05-28 16:12 Paul Stoeber
2002-05-28 16:49 ` Miles Bader

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=Pine.SUN.3.91.1020529091822.27552D-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.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.