unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-x C-w fails under VC
@ 2008-03-16 20:56 Sebastian
  2008-03-16 21:05 ` Sebastian
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian @ 2008-03-16 20:56 UTC (permalink / raw)
  To: emacs-devel

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@gmx.de      PHP, Java, C/C++,  Bash,  Perl,  Apache,
                           MySQL,  PostgreSQL, xt::commerce, Typo3,
+49 173 / 83 93 417        Server,  Netzwerk,  Desktop,  Datenbank.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: C-x C-w fails under VC
  2008-03-16 20:56 C-x C-w fails under VC Sebastian
@ 2008-03-16 21:05 ` Sebastian
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian @ 2008-03-16 21:05 UTC (permalink / raw)
  To: emacs-devel

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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-16 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-16 20:56 C-x C-w fails under VC Sebastian
2008-03-16 21:05 ` Sebastian

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).