all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: remember(-diary).el
Date: Thu, 22 Nov 2007 10:44:06 +0100	[thread overview]
Message-ID: <m34pfe7gyh.fsf@verona.se> (raw)
In-Reply-To: <4745446E.6010009@gmx.at> (martin rudalics's message of "Thu\, 22 Nov 2007 09\:57\:18 +0100")

martin rudalics <rudalics@gmx.at> writes:

Would it be possible for emacs to read its files from some kind of
archive? That way the issue of different filesystems having
substandard support for long filenames wouldnt come up.

To elaborate:
- some systems work this way so there is precedence(javas jar files
for instance)
- the el files are already compressed, so also archiving them in a
archive blob of some form doesnt seem to be so far away
- the archiving system wouldn need to be default, it could be used on
old windoze systems and maybe on embedded systems

This assumes of course that emacs is built on some other os and the
resulting binary delivered to the target system, so maybe the idea
falls apart there, I dont know.

>>>As I understand it (it's been a fairly long time since I've used the
>>>more primitive versions of windows), the "short name" chosen for a long
>>>name is explicitly chosen to ensure it doesn't clash with any other
>>>short names.  E.g., for the file "remember-diary.el", it might choose
>>>"rememb~1.el" as a short name.
>>
>> In theory, yes, but in practice, the algorithm that chooses the short
>> 8+3 alias has bugs that could well cause a clash, depending on what
>> other files are present in the directory whose names map to the same
>> strings after 8+3 truncation, and in what order Windows sees the files
>> created.
>
> FWIW Eli's right:
>
> (1) If remember.el is created _before_ remember-diary.el, the 8+3 alias
> of the former is written to disk as REMEMBER.EL that of the latter as
> REMEMB~1.EL (I did use the disk editor to verify that).
>
> (2) If remember-diary.el is created first, its 8+3 alias is written to
> disk as REMEMBER.EL.  When I now try to find a file remember.el in the
> same directory, Windows finds remember-diary.el instead.  When I try to
> store a file remember.el in that directory, Windows complains that such
> a file already exists.
>
> In general the problem occurs when the name of the second file I want to
> write has eight characters _and_ is a prefix of the name of the first
> file.  Hence, I get the same bug for remember_diary.el vs remember.el as
> well as for rememberdiary.el vs remember.el.
>
> With other words: When the name of a file A sans extension is a prefix
> of the name of a file B sans extension and the length of the name of
> file A sans extension equals 8, file A must be created before file B in
> order for having both files coexist in the same directory.  I didn't
> bother to check this rule for filenames containing a tilde.
>
> My problem with the CVS repository thus could be resolved by renaming
> remember.el to something like remember-core.el.

-- 
Joakim Verona

  reply	other threads:[~2007-11-22  9:44 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21  7:24 remember(-diary).el martin rudalics
2007-11-21  7:32 ` remember(-diary).el Miles Bader
2007-11-21  8:39   ` remember(-diary).el Glenn Morris
2007-11-21 18:49     ` remember(-diary).el Eli Zaretskii
2007-11-21 23:57       ` remember(-diary).el John Wiegley
2007-11-21  8:44   ` remember(-diary).el martin rudalics
2007-11-21 13:55     ` remember(-diary).el Miles Bader
2007-11-21 17:06       ` remember(-diary).el martin rudalics
2007-11-21 18:50       ` remember(-diary).el Eli Zaretskii
2007-11-22  2:13         ` remember(-diary).el Miles Bader
2007-11-22  4:18           ` remember(-diary).el Eli Zaretskii
2007-11-22  8:57             ` remember(-diary).el martin rudalics
2007-11-22  9:44               ` joakim [this message]
2007-11-23  4:35                 ` remember(-diary).el Richard Stallman
2007-11-23 20:56                   ` remember(-diary).el Stephen J. Turnbull
2007-11-23 21:46                     ` remember(-diary).el David Kastrup
2007-11-22 10:41               ` remember(-diary).el Leo
2007-11-22 23:57                 ` remember(-diary).el Juri Linkov
2007-11-23  0:10                   ` remember(-diary).el Leo
2007-11-30  6:17                     ` remember(-diary).el Michael Olson
2007-11-30  8:27                       ` remember(-diary).el Leo
2007-11-30 12:40                         ` remember(-diary).el Michael Olson
2007-11-22  2:27     ` remember(-diary).el Richard Stallman
2007-11-30  6:22       ` remember(-diary).el Michael Olson
2007-11-30 16:48         ` remember(-diary).el Richard Stallman
2007-11-30 18:42           ` remember(-diary).el Michael Olson
2007-11-30 19:06             ` remember(-diary).el Glenn Morris
2007-11-30 22:11               ` remember(-diary).el Michael Olson
2007-11-30 22:22                 ` remember(-diary).el Leo
2007-12-01  9:07                   ` remember(-diary).el Eli Zaretskii
2007-12-01  9:56                     ` remember(-diary).el David Kastrup
2007-12-01  9:06                 ` remember(-diary).el Eli Zaretskii
2007-12-02 21:33                   ` remember(-diary).el Michael Olson
2007-12-03  4:18                     ` remember(-diary).el Eli Zaretskii
2007-12-03 15:13                       ` remember(-diary).el Michael Olson
2007-12-03 15:44                         ` remember(-diary).el Lennart Borgman (gmail)
2007-12-03  1:05                   ` remember(-diary).el Michael Olson
2007-12-03  4:22                     ` remember(-diary).el Eli Zaretskii
2007-12-03 14:40                       ` remember(-diary).el Stefan Monnier
2007-12-03 20:51                         ` remember(-diary).el Eli Zaretskii
2007-12-01 17:59             ` remember(-diary).el Richard Stallman
2007-11-30 20:57         ` remember(-diary).el Eli Zaretskii
2007-11-30 22:07           ` remember(-diary).el Michael Olson
2007-12-05  1:22       ` remember(-diary).el Michael Olson
2007-12-05  4:46         ` remember(-diary).el Eli Zaretskii
2007-11-21 18:24 ` remember(-diary).el Sven Joachim
2007-11-21 18:54   ` remember(-diary).el Eli Zaretskii
2007-11-22 13:32   ` remember(-diary).el martin rudalics
2007-11-22 23:57     ` remember(-diary).el Juri Linkov

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=m34pfe7gyh.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@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.