GNU bug report logs - #60
C-x C-w fails under VC

Previous Next

Package: emacs;

Reported by: Sebastian <sebastian_rose <at> gmx.de>

Date: Mon, 17 Mar 2008 14:10:06 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60 in the body.
You can then email your comments to 60 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#60; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Sebastian <sebastian_rose <at> gmx.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sebastian <sebastian_rose <at> gmx.de>
To: emacs-devel <at> gnu.org
Subject: C-x C-w fails under VC
Date: Sun, 16 Mar 2008 21:56:41 +0100
Something wrong with C-x C-w when under vc-mtn


Trying to write a file by useing
 C-x C-w
fails when under vc (vc-mtn actually)

starting emacs
C-x C-f ~/some/file/under/vc-mtn/iptables.sh
C-x C-w ~/some/file/under/vc-mtn/iptables-kassiopeya.sh

Message:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-writable-p(nil)
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer()
  write-file("~/develop/bash/iptables-kassiopeya.sh" t)
  call-interactively(write-file nil nil)


If I do
C-x C-w ~/some/file/under/vc-mtn/iptables-kassiopeya.sh

a second time I get either:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-writable-p(nil)
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer()
  write-file("~/develop/bash/iptables-kassiopeya.sh" t)
  call-interactively(write-file nil nil)

again, but the file is written.

Or, in some cases:

Wrote /home/sebastian/develop/bash/iptables-localhost.sh
vc-find-file-hook: Wrong type argument: stringp, nil


emacs is 23.0.60.2
file is under monotone (vc-mtn)


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian Rose             Fachinformatiker/Anwendendungsentwickler
Viktoriastaße 22
30451 Hannover             Entwicklung  von Internetanwendungen und
                           Programmen  mit  freien  Werkzeugen  und
                           Bibliotheken.
sebastian_rose <at> gmx.de      PHP, Java, C/C++,  Bash,  Perl,  Apache,
                           MySQL,  PostgreSQL, xt::commerce, Typo3,
+49 173 / 83 93 417        Server,  Netzwerk,  Desktop,  Datenbank.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Sebastian <sebastian_rose <at> gmx.de>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 60-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 60-done <at> debbugs.gnu.org
Subject: Re: C-x C-w fails under VC
Date: Fri, 04 Apr 2008 13:04:33 -0400
This problem with vc-mtn.el is actually due to a problem in kill-buffer,
which I've circumvented now both in with-temp-buffer and in
vc-do-command.  To make a long story short, it should be fixed now,


        Stefan




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 03 May 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 17 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.