On Tue, Jan 4, 2011 at 2:55 AM, Steven W. Orr
<steveo@syslang.net> wrote:
So, if you made it this far, here's the recap:
1. Does anything already exist that smells like what I want?
2. Can I fix my-visit-file so that a C-u will prevent the default prompt from
being the current directory of the file I'm starting from? (But I do still
want filename completion.)
Read the filename yourself, so you can have control:
You can read the doc on `read-file-name' and `insert-default-directory' for yourself. I've also added an abbrev table entry for "spec". So, if you <C-u>my-find-file, "spec", <C-x>ae, it should expand do what you want.
You can bind expansion to a shorter chord if you like.
--