- How to solve a stiff nonlinear second-order ode?
- Numerical Integral of a “Complicated” Function
- Evaluating standard functions of general quaternions symbolically
- Finding the centroid of the area between two curves
- How can I fit a matrix function with multiple variables to given eigenvalues?
- GPU Acceleration and the Predict function
- Artistic image vectorization
- K-Fold Cross Validation
- Histogram Bar Line Thickness
- Solve equations to get the expression for specific varible
- Left-handedness and Right-handedness - Are they genetic?
- Was O-Ren Ishii's sword made by Hattori Hanzo?
- Why IBM workers didn't impress NASA?
- What is the name of this movie/episode that aired on PBS?
- Dativo superfluo: Meaning of “Me cansé de que me tomes la cerveza”
- I don't know where exactly to put this, but i need help with my research paper
- Accuracy of Alfred Edersheim's “Life and Times of Jesus the Messiah”
- Semantic Relationships Between Sentences
- How fast do people lose their accents and regain them?
- How is the situation of “divorce her quietly” in Matthew 1:19 according to Catholic?
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.