bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: write-region fails with some filenames


From: Eli Zaretskii
Subject: Re: write-region fails with some filenames
Date: Tue, 11 Dec 2001 19:10:00 +0200

> From: ddw@miscrit.be (Dominique de Waleffe)
> Date: Mon, 10 Dec 2001 11:08:39 +0100
> 
> Trying to save or view a Mime attachment from VM I got the following
> backtrace:
> 
> Signaling: (file-error "Opening output file" "invalid argument" 
> "c:/users/ddw/projects/portima/admin/Work2001-11.3,4.xls")
>   write-region(1 23553 
> "c:/users/ddw/projects/portima/admin/Work2001-11.3,4.xls" nil nil)
>   vm-mime-send-body-to-file(#<overlay from 1460 to 1534 in miscrit-mvb 
> Presentation>)
>   vm-mime-run-display-function-at-point(vm-mime-send-body-to-file)
>   vm-mime-reader-map-save-file()
>   call-interactively(vm-mime-reader-map-save-file)
> 
> I believe the comma triggers the problem in write-region.

Why do you think the comma is the culprit?  A comma is a valid
file-name character on Windows.  You can easily see that if you try
to save a buffer to a file with such a name.



reply via email to

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