all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Dr. Matthias H. Fröhlich" <thias@netcologne.de>
Subject: File incorrectly stored to disk
Date: Sat, 8 Feb 2003 16:12:43 +0100	[thread overview]
Message-ID: <006101c2cf84$87f52d60$0e02a8c0@dnshuerth.de> (raw)

Greetings.

I encountered the following behaviour in 
    GNU Emacs 21.2.1 (i386-msvc-nt4.0.1381) of 2002-03-19 on buffy
that might be considered a bug. I run Emacs on an Intel-PC with 
Windows NT 4 (German version) with SP 5.

I newly created file a.txt and typed some text in it, then stored it to a
network file system. I buried the buffer visiting the file (C-x k) and 
checked the size of the file with dired. I then opened the file again and 
deleted some of the text and changed a few characters. I saved again, and 
buried the buffer. When I now check the size of the file (e.g. with 'g' in 
dired), it appears unchanged. When I open the file again, I can see the 
changed contents, but there are additional characters behind the end of my 
last changes. These are exactly the characters, that were there in the first 
version of the file. It appears, as if emacs stored the changed contents at the 
same place of the previous version, without discarding the additional characters
of the (longer) previous version. 

This behavious does only occur on network file systems mounted through 
Banyan-Vines. It does not appear, if I do the same on a network file system 
mounted directly through Windows NT or on a local hard disk. It does also 
appear only, if I disable automatic creation of backup files. So the only 
line in my .emacs file is
    (setq make-backup-files nil)
Apparently this behaviour has something to do with how Emacs and the 
Banyan-Vines file system interact. I also checked the behaviour with other 
editors, namely UltraEdit and Notepad. Both do not exhibit this behaviour, 
even if automatic creation of backup files is disabled with UltraEdit.

It might not even be worthwhile investigating this problem, as some part of 
it definitely needs to be accounted to the Banyan-Vines filesystem, which to 
my knowledge is fairly out of use nowadays. However, there might already be 
some information about this error, so I would be grateful for any information 
about this. Many thanks in advance.

Please do not hesitate to contact me, in case you need some more information

Kind regards 
    Matthias H. Fröhlich

P.S.: Here the output of M-x report-emacs-bug:
In GNU Emacs 21.2.1 (i386-msvc-nt4.0.1381)
 of 2002-03-19 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

----------------------------------------------------------------------
Dr. Matthias H. Fröhlich                       Tel.: +49/2233/928939-1
Frankenstraße 29                                Fax: +49/2233/928939-2
D-50354 Hürth                                   Mobil: +49/175/3539965
                   E-Mail: Dr.M.H.Froehlich@ieee.org
======================================================================

                 reply	other threads:[~2003-02-08 15:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006101c2cf84$87f52d60$0e02a8c0@dnshuerth.de' \
    --to=thias@netcologne.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.