Of course now that I want to use it again, I can't find any reference
to the code I need to use.
Can someone tell me what it is I need to use.
Many thanks,
Graham
perhaps you mean something like this?
; open my unicode template with F8 key
(global-set-key (kbd "<f8>")
(lambda () (interactive) (find-file "~/my_unicode_template.txt")))
Xah
∑ http://xahlee.org/
☄
Probably nothing to do with windoze explorer shell "shortcut" files...
One thing you might do is associate short filenames with longer real
files with your own file-name-handler (see file-name-handler-alist).
That all seems like a lot of boilerplate to code up though.
so.. why bother? environment variables are usable in vaguely recent gnu
emacs (not sure what part actually implements it, might be tramp, might
be core, either way, they work...)
So, if you want a bunch of "shortcut" pseudo-filenames, then just set a
bunch of env vars in your .emacs (or elsewhere, like your
shell .profile, seeing as they're just as handy outside emacs) e.g.
in .emacs
(setenv "inky" "/home/david/src/inky-0.9.7/inkymain.c")
Then you can do e.g.
C-x C-f C-S-backspace $inky
to open it. (C-S-backspace just to clear away the default path)
They even tab-complete.