From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: remember(-diary).el Date: Thu, 22 Nov 2007 10:41:05 +0000 Message-ID: References: <4743DD30.4010504@gmx.at> <4743EFE7.7080907@gmx.at> <87myt7aejq.fsf@catnip.gol.com> <4745446E.6010009@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195728224 8459 80.91.229.12 (22 Nov 2007 10:43:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2007 10:43:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 22 11:43:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iv9XC-00049L-Do for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2007 11:43:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv9Wy-0002at-5o for ged-emacs-devel@m.gmane.org; Thu, 22 Nov 2007 05:43:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iv9Wu-0002aK-4W for emacs-devel@gnu.org; Thu, 22 Nov 2007 05:43:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iv9Wt-0002a6-BN for emacs-devel@gnu.org; Thu, 22 Nov 2007 05:43:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iv9Wt-0002a3-5j for emacs-devel@gnu.org; Thu, 22 Nov 2007 05:43:31 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iv9Ws-0000AZ-FA for emacs-devel@gnu.org; Thu, 22 Nov 2007 05:43:30 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iv9Ur-0005yY-HI for emacs-devel@gnu.org; Thu, 22 Nov 2007 10:41:25 +0000 Original-Received: from accountslaptop.gradunion.cam.ac.uk ([193.60.92.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Nov 2007 10:41:25 +0000 Original-Received: from sdl.web by accountslaptop.gradunion.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Nov 2007 10:41:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: accountslaptop.gradunion.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= User-Agent: Gnus/5.130000 Emacs/23.0.50 (20071101) Fedora 8 (gnu/linux) Cancel-Lock: sha1:xhnu0WFoQ+86h1JrTQuwZsiejR8= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83855 Archived-At: On 2007-11-22 08:57 +0000, martin rudalics wrote: >>>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. remember-diary probably should be included with planner (an external package) instead of in Emacs. AFAIK, it has not been used in any packages except planner. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the best OS -- http://www.fedoraproject.org/