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

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

Re: [Cygwin] Composing mail does not work with auto-saving turned on


From: Christian Gudrian
Subject: Re: [Cygwin] Composing mail does not work with auto-saving turned on
Date: Wed, 30 Jun 2004 10:51:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7) Gecko/20040607 Thunderbird/0.6+ Mnenhy/0.6.0.101

Eli Zaretskii wrote:

So perhaps at least the Cygwin's version should be in files.el, and

then later we could put there all the others as well.

I have altered files.el as follows:

Index: files.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/files.el,v
retrieving revision 1.701
diff -r1.701 files.el
492c492,500
< `w32-shell-dos-semantics')."
---
> `w32-shell-dos-semantics'), on Cygwin just replace characters
> invalid for FAT or NTFS file systems."
>   (if (eq system-type 'cygwin)
>       (let ((start 0))
>       ;; replace invalid characters with !
>       (while (string-match "[?*:<>|\"\000-\037]" filename start)
>         (aset filename (match-beginning 0) ?!)
>         (setq start (match-end 0)))
>       filename))
518c526
<

---
>
3888c3896
<       (if (and (memq system-type '(ms-dos windows-nt))
---
>       (if (and (memq system-type '(ms-dos windows-nt cygwin))
3923c3931
<              (if (and (memq system-type '(ms-dos windows-nt))
---
>              (if (and (memq system-type '(ms-dos windows-nt cygwin))


This does it for me. Hopefully it doesn't make things harder for non-Cygwin users.

Christian




reply via email to

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