[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why doesn't this do what I expect?
From: |
Chris Green |
Subject: |
Why doesn't this do what I expect? |
Date: |
Thu, 10 Nov 2022 17:55:49 +0000 |
I have a file, called .editfile which contains just a filename, e.g.:-
chris$ cat .editfile
/srv/wiki/data/pages/telecoms/umidigi.txtchris$
chris$
When I open the file with vile or xvile I see (as expected) the
filename and I can enter ^X-e to edit the file.
However if I try the following:-
chris$ vile -ce .editfile
I don't get to edit the file whose name is in .editfile, I get
.editfile in one window and the following in the other window
(named [Binding List] :-
[Reading /home/chris/.vilerc]
[Read 66 lines from "../.vilerc"]
[Reading /usr/share/vile/filters.rc]
[Reading /usr/share/vile/modes.rc]
[Reading /usr/share/vile/digraphs.rc]
[Reading /home/chris/wiki/.editfile]
[Read 1 line from "./.editfile"]
Is there any way I can get this to work as I want? I just want to
open the file whose name is in .editfile.
I've tried the alternatives of 'edit-file', 'E', 'e' and 'find-file'
but they all act the same.
--
Chris Green
- Why doesn't this do what I expect?,
Chris Green <=
Re: Why doesn't this do what I expect?, Gary Jennejohn, 2022/11/11