From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Newsgroups: gmane.emacs.devel Subject: Re: C-x C-w fails under VC Date: Sun, 16 Mar 2008 22:05:12 +0100 Message-ID: <47DD8B88.5070400@gmx.de> References: <47DD8989.3000202@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1205701537 412 80.91.229.12 (16 Mar 2008 21:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2008 21:05:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 16 22:06:04 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jb032-0004LW-CN for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 22:05:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jb02S-00067z-PI for ged-emacs-devel@m.gmane.org; Sun, 16 Mar 2008 17:05:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jb02P-00067S-7U for emacs-devel@gnu.org; Sun, 16 Mar 2008 17:05:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jb02N-000675-La for emacs-devel@gnu.org; Sun, 16 Mar 2008 17:05:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jb02N-000672-Hx for emacs-devel@gnu.org; Sun, 16 Mar 2008 17:04:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jb02M-0001DJ-T1 for emacs-devel@gnu.org; Sun, 16 Mar 2008 17:04:59 -0400 Original-Received: (qmail invoked by alias); 16 Mar 2008 21:04:57 -0000 Original-Received: from p57A28B3A.dip0.t-ipconnect.de (EHLO [192.168.178.24]) [87.162.139.58] by mail.gmx.net (mp001) with SMTP; 16 Mar 2008 22:04:57 +0100 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX18pz5AmbKApw5PsBE8SA8jMuq9LObkEHJOeeOabHd 4MtmAG/unMEm5I User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) In-Reply-To: <47DD8989.3000202@gmx.de> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92776 Archived-At: Sebastian schrieb: > 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) > > Forgot: the file is not written here. > 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@gmx.de PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce, Typo3, +49 173 / 83 93 417 Server, Netzwerk, Desktop, Datenbank. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~