- Please identify this bird
- Please explain this notation MW around 9 MDa
- What is the significance of Nimrod to Dunkirk's original score?
- What are the film techniques for broken and protruding bones?
- Why did they kick these two characters off the boat?
- Dunkirk Character Stories
- Cómo expresar en español “comfort food”?
- How did so many Australian politicans win Parliamentary seats while unaware of or denying their second nationality?
- What does “Thou shalt not suffer a witch to live” mean?
- Found a handwritten note and I don't know the language
- Managing the bitcoin address gap
- My Bitcoin Cash is stuck unconfirmed when sending to Bittrex from Electron Cash. Please help!
- Anyone know what happened to encryptfree.com?
- Keys and mixed encoding - security implications
- One way…function question by reduction
- airasia tranfer to airasia x luggauge
- What are the places to visit in Kullu Manali
- Is a No Objection Certificate really needed when applying for a UK visa?
- With a Canadian Transit visa Can We
- INDIA Railway Add on ticket for KID required
expand-file-name doesn't expand files under my magic prefix
I've been implementing a magic file handler that accesses files remotely if they start with a particular prefix--say, /:foo:/--using the documentation as a guide.
When it came to implementing expand-file-name, I figured I could just fall through to the default implementation, since my magic prefix looks like a file on the local filesystem. It's one that doesn't exist, but then (expand-file-name "file" "/does/not/exist/") returns "/does/not/exist/file", so I thought I'd be OK. However, (expand-file-name "file" "/:foo:/") just returns "foo".
I assumed this was simply due to me incorretly implementing some other file operation, but when I log every operation passed to my handler, I don't see that expand-file-name invokes any other file operation.
So...why is expand-file-name behaving like this?
Edited to add:
After restarting Emacs, expand-file-name is now working as I expected it to. I'll close this question if the issue doesn't recur.