From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: remember(-diary).el
Date: Thu, 22 Nov 2007 09:57:18 +0100 [thread overview]
Message-ID: <4745446E.6010009@gmx.at> (raw)
In-Reply-To: <u4pfe52vq.fsf@gnu.org>
>>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.
next prev parent reply other threads:[~2007-11-22 8:57 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 ` martin rudalics [this message]
2007-11-22 9:44 ` remember(-diary).el joakim
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=4745446E.6010009@gmx.at \
--to=rudalics@gmx.at \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=miles@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.