- Testing a bAbI dataset trained model using input()
- sent eth to vendor, but it was recieved as internal transaction and order didnt go through
- transferFrom call failure (gas estimation failed)
- How to add my token to external exchange
- Enterprise Version of Ethereum / Private Blockchains / Consortium Blockchains - How Malicious Actors are deterred?
- Using 3rd party libraries in production
- Making microPayment possible
- How can I stop the flare out of the bottom layers?
- Am I responsible for my spouse's careless behavior?
- Запятые при сочетании вводных - с союзами и частицами
- What is the name of this vest that some Eurodance artists wear such as Haddaway in the “What Is Love” music video?
- How can I turn home gas (LPG) from liquid to gas?
- Why does defvar scoping work differently without an initvalue?
- Reasons to voluntarily change into a fantasy race?
- reasons to have a multi-species crew for a zoo
- Shaivism or Shivaism?
- What is the meaning of Life if all is pre-written or controlled by the will of God?
- What was the reason behind the clash between Vashishtha and Vishwamitra?
- What is $source and $sources in BaseRelationField?
- You don't have to stand over there!
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.