[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: write-region is mishandling an error

From: Lennart Borgman (gmail)
Subject: Re: write-region is mishandling an error
Date: Fri, 09 Feb 2007 16:36:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20061207 Thunderbird/ Mnenhy/

Stefan Monnier wrote:
    Which creates an empty file named "Test at 12" and no error occurs.
    Initially I didn't notice that the filename was truncated.
    Once I did I realized that : is illegal in a file name.
    Some kind of error must be occurring that isn't being reported.

If you run under a debugger with a breakpoint at Fsignal you will see
if any Emacs Lisp error occurs.  I suspect you will find there is none;
I suspect that Windows truncates the file name without complaining.

"foo:bar" is a special thingy under WinNT (or maybe under NTFS), kind of
like a "fork" in MacOS speech.  It seems it's called "stream".

Maybe Emacs should warn the user that she's about to use a little-known
corner of her OS semantics.

Yes, please. We have been discussing this before.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]