Ludovic Courtès (2018-01-08 15:57 +0100) wrote: [...] > I have a minor issue: I use ‘ido’ and ‘ido-find-file’ insist on browsing > the entire /gnu/store when I do C-x C-f with a store file name at point > (except if the file name denotes a directory.)
I'm not sure I understand your problem. I think ido-find-file prompts with "/gnu/store" directory just because you do "C-x C-f" from a buffer which 'default-directory' variable is set to "/gnu/store". I don't think ido checks a file name at point, at least it doesn't by default: I've tried (with "emacs -Q" and ido-mode enabled) to do "C-x C-f" on a store file, and I got a propmt with files from the current directory (not from /gnu/store as you describe). > So to open a .drv file, I have to work around that. Sorry, I don't understand what you mean. As other people point, if you have a drv file at point, you may open it with "M-x ffap". If you wish to open a store file from 'guix-derivation-mode', you can just press RET on it. -- Alex
