- What would happen to the US Economy if taxes exceed 20% of GDP
- What is the economic incentive to cheat? How does an experiment capture exogenous deviations?
- Can my character have a pet mammoth?
- Where is the mention of Surya Loka(सूर्य लोकं) in Hinduism?
- Mysql_close ()-why few people apply
- 25x25 slitherlink puzzle
- Is there a quick way to speed up ICP in python using a cached KD-tree
- HC 05, Arduino Uno
- Remove lag between PS3 input via bluetooth to arduino
- Use esp32 as a secure sockets
- Best way to organize many pdf's?
- Is EPUB ready for most phones?
- Where is the fuel stored on an aircraft’s wing?
- What are the aileron lengths of commercial and military aircraft?
- Do jet aircraft have an emergency propeller?
- Are there different configurations of cabin crew seating arrangement for one aircraft model?
- How do PPL, CPL, and ATPL compare?
- To what extent is remuneration under a PPL enforced in the UK?
- What criteria are used for exiting an airplane in an emergency?
- Getting my dog ready to Adopt a new cat
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.