all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: emacs-devel Mailinglist <emacs-devel@gnu.org>
Subject: vc-mtn bug?
Date: Thu, 27 Mar 2008 03:38:52 +0100	[thread overview]
Message-ID: <873aqcao1v.fsf@gmx.de> (raw)

Hi,

I wrote a mail like this before but to no avail. There seems to be a bug
in vc-mtn.el that leeds to dataloss and therefore is very serious
IMHO. I suspected org.el in the first place, but it turned out, that the
bogous behaviour happens only, when starting emacs in a directory under
monotone version controll.

I'll try to describe some of the strange events here and add more
information in subsequent mails when available.



* case 1

  I start emacs in an monotone workspace directory with an existent
  filename as argument:

  sh$ emacs existent.php

  emacs starts as expected. Now I try to open a non-existent file in the
  same directory, using

  M-x non-existent.php

  The debug-message:

  Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  find-file-noselect-1(#<buffer non-existent.php> "~/develop/htdocs/shop/php5/web/non-existent.php" nil nil "~/develop/htdocs/shop/php5/web/non-existent.php" nil)
  find-file-noselect("~/develop/htdocs/shop/php5/web/non-existent.php" nil nil t)
  find-file("~/develop/htdocs/shop/php5/web/non-existent.php" t)
  call-interactively(find-file nil nil)

  A second attempt succeeds. This case is reproducable here.




* case 2:

  Edit an *.org file in a monotone workspace directory. The org file is
  under monotone control. Then I try to export the org file as HTML by

  C-c C-e h

  The HTML file does not exist yet, and is not registered in
  monotone. This is the one that can lead to data loss, since an
  arbitrary file is overridden. Preferably one of the files recently
  edited in emacs.

  This one is especially anoying. One time it turned my .emacs into a
  human readable file --- but an XHTML file :(




System is Debian testing and:

   - GNU emacs 23.0.60.2 (CVS version of today)
     (setq debug-on-error t)

   - sh$ mtn --version
     monotone 0.36 (base revision: e4bc808d89e029ce623f9e8f2b10c84006b83fb5)



Regards,

     Sebastian




             reply	other threads:[~2008-03-27  2:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27  2:38 Sebastian Rose [this message]
2008-03-27  3:41 ` vc-mtn bug? Stefan Monnier
2008-03-27 14:35   ` Sebastian Rose

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=873aqcao1v.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-devel@gnu.org \
    /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.