From: Jari Aalto<jari.aalto@cante.net>
Cc: Stefan Monnier<monnier@iro.umontreal.ca>, Eli
Zaretskii<eliz@gnu.org>, 10257@debbugs.gnu.org,
jari<jari.aalto@cante.net>
Date: Wed, 14 Dec 2011 10:01:47 +0200
I'm proposing following,
Jari
2011-12-14 Jari Aalto<jari.aalto@cante.net>
* files.el (basic-save-buffer-2): Add
`save-buffer-read-only-confirm-flag' to control asking to a
write-protected file.
(save-buffer-read-only-confirm-flag): New user variable
(bug#10257).
Yuck! Are we going to add a knob for every possible misconfiguration
of network filesystems and/or for every incompatibility in Posix
emulation layers on Windows?
Up till now, the way to deal with this was either to change the
generic code (where it was deemed to be deficient in the first place),
or ask the maintainers of the platform to fix that either in the
platform libraries or in platform-specific code in Emacs. I think
that is the right way; adding a user option every time is not, IMNSHO.
If native Windows and even MS-DOS ports can DTRT with this, then how
come Cygwin cannot?