- What does 望むところだ mean?
- Should a non native try to adapt his German when traveling to Austria?
- Can one be compelled to testify?
- Why divorcing your first wife should be done only in extreme cases?
- Using sql to get testing job
- Hibernate Criteria Date restriction between two dates
- Need help isolating a laptop camera related issue (camera does not start on Chrome, but would otherwise work fine, only happens to 1 tester)
- how do you tune speaker systems?
- Other than tone, are there reasons to consider a semi-hollow over a solid body electric guitar?
- Is there any reason not to use TRS cables for typically TS applications?
- Tools to automate “tape-like” audio manipulation
- How to add SPBuiltInFieldId.LinkFilenameNoMenu to library view
- How to display a column of another list in display form of a list
- Sharepoint On Premise with Azure Application insights
- Enable Document Set Missing from Site Settings - Site Features
- TPMS sensor manufacturers
- What lug pattern fits a 1994 Dodge Dakota?
- How does a tire's diameter and width impact fuel economy?
- engine not working properly after the distributor change
- bent tabular rear control arm
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.