all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: find-library-name fails if file (with no extension) exists.
Date: Wed, 22 Nov 2006 10:53:46 +0100	[thread overview]
Message-ID: <85r6vvolhx.fsf@lola.goethe.zz> (raw)
In-Reply-To: <uwt5om827.fsf@gnu.org> (Eli Zaretskii's message of "Wed\, 22 Nov 2006 06\:14\:40 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: David Kastrup <dak@gnu.org>
>> Date: Wed, 22 Nov 2006 00:19:28 +0100
>> Cc: Emacs Devel <emacs-devel@gnu.org>
>> 
>> > And plenty of successful operating systems have been
>> > case-insensitive, so it is clearly not a bad idea, not unworkable,
>> 
>> It is a constant source for trouble in scripts of all sorts.  I guess
>> about 20% of Windows installation problem reports with AUCTeX
>> originate from capitalization mixups.
>
> Because programmers should be educated to refrain from Posix-centric
> assumptions.

That file names are strings is not Posix-centric.  And that different
strings imply different file names is certainly not Posix-centric
either, unless the principle of least surprise is reserved to Posix.

>> > nor particularly dangerous, difficult to implement, or hard on
>> > the user. It's just another UI decision. One I like a lot.
>> 
>> It is a constant trouble for programmers
>
> For uneducated programmers.

For every programmer.  It is just that some already know most of the
moves and details customarily used to deal with that.  But they still
need to deal with it, and with varying degrees of complication
depending on the application.

> Those are the same programmers who think there's no distinction
> between text and binary files (just yesterday saw a SHA1 signature
> file on a prominent download site that failed to mark binary files
> as needed, which made sha1sum very unhappy).

Features that require "educated programmers" should offer reasonable
value in exchange.

The distinction between text and binary files has the advantage of
being able to copy a text file unchanged to a line printer or terminal
without the need for terminal settings or a formatting utility.  And
it has the disadvantage that files break under all sort of
circumstances when transferred or processed.

It is historic baggage from CP/M from times where C was not used for
programming and there was no concept of a tty (and devices were not
files, anyway).

Of course, the situation is exacerbated by Macintoshs where the "put
the whole line printer CRLF sequence in the file" idea was avoided but
they chose to go with a different line ending character than Unix/C.

I seem to remember that with Darwin, they switched the defaults, but
the inheritage is there to stay pretty much for eternity (for example,
within EPS files created on Mac and NeXT).

Avoiding complications in design is not just a question of
accommodating "uneducated programmers".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2006-11-22  9:53 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 16:22 find-library-name fails if file (with no extension) exists Juanma Barranquero
2006-11-21 18:24 ` Romain Francoise
2006-11-21 19:09   ` Juanma Barranquero
2006-11-21 20:07     ` Romain Francoise
2006-11-21 21:58       ` Juanma Barranquero
2006-11-22  7:28         ` Romain Francoise
2006-11-22 12:14           ` Juanma Barranquero
2006-11-22 12:35             ` Juanma Barranquero
2006-11-22 13:54             ` Romain Francoise
     [not found]               ` <f7ccd24b0611220644m1d8944dq5943175c347cde3e@mail.gmail.com>
2006-11-22 19:34                 ` Juanma Barranquero
2006-11-22 19:47                   ` Romain Francoise
2006-11-22 20:33                     ` Lennart Borgman
2006-11-22 21:02                       ` Juanma Barranquero
2006-11-21 20:07     ` Eli Zaretskii
2006-11-21 20:47     ` Andreas Schwab
2006-11-21 21:04       ` Lennart Borgman
2006-11-21 21:47       ` Juanma Barranquero
2006-11-21 21:48         ` Juanma Barranquero
2006-11-21 22:23         ` David Kastrup
2006-11-21 22:57           ` Juanma Barranquero
2006-11-21 23:19             ` David Kastrup
2006-11-21 23:25               ` Lennart Borgman
2006-11-21 23:33                 ` David Kastrup
2006-11-21 23:36                   ` Juanma Barranquero
2006-11-22  0:16                   ` Lennart Borgman
2006-11-22  0:47                     ` David Kastrup
2006-11-22  0:59                       ` Lennart Borgman
2006-11-22  1:04                         ` David Kastrup
2006-11-22  1:27                           ` Lennart Borgman
2006-11-22  1:56                             ` David Kastrup
2006-11-22  4:25                           ` Eli Zaretskii
2006-11-22  9:37                             ` Juanma Barranquero
2006-11-22 10:05                             ` David Kastrup
2006-11-22 18:44                               ` Eli Zaretskii
2006-11-22  4:22                       ` Eli Zaretskii
2006-11-22 10:03                         ` David Kastrup
2006-11-22 12:07                           ` Lennart Borgman
2006-11-22 12:46                             ` David Kastrup
2006-11-22 21:56                               ` Eli Zaretskii
2006-11-22 22:06                                 ` David Kastrup
2006-11-22 22:33                                   ` Eli Zaretskii
2006-11-23 19:47                                     ` Jan Djärv
2006-11-22 18:40                           ` Eli Zaretskii
2006-11-22 19:13                             ` David Kastrup
2006-11-22 22:04                               ` Eli Zaretskii
2006-11-22  4:17                   ` Eli Zaretskii
2006-11-21 23:34               ` Juanma Barranquero
2006-11-21 23:52                 ` David Kastrup
2006-11-22  0:01                   ` Juanma Barranquero
2006-11-22  0:34                     ` David Kastrup
2006-11-22  0:38                       ` Juanma Barranquero
2006-11-22  9:53                       ` Andreas Schwab
2006-11-22  4:14               ` Eli Zaretskii
2006-11-22  9:53                 ` David Kastrup [this message]
2006-11-22 18:38                   ` Eli Zaretskii
2006-11-22 19:27                     ` David Kastrup
2006-11-22 22:09                       ` Eli Zaretskii
2006-11-22 22:18                         ` David Kastrup
2006-11-22 13:16             ` Richard Stallman
2006-11-22 14:48               ` Juanma Barranquero
2006-11-24 22:49                 ` Richard Stallman
2006-11-22  4:10           ` Eli Zaretskii
2006-11-22  9:35             ` David Kastrup
2006-11-22 18:43               ` Eli Zaretskii
2006-11-22 19:25                 ` David Kastrup
2006-11-27 19:32               ` Stuart D. Herring
2006-11-27 19:06             ` Stuart D. Herring
2006-11-28 19:19               ` Eli Zaretskii
2006-11-21 20:06   ` Eli Zaretskii

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=85r6vvolhx.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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.