[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot link to files with no extension
From: |
Colin Baxter |
Subject: |
Re: Cannot link to files with no extension |
Date: |
Wed, 09 Mar 2022 19:32:44 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) |
Hello, Bhavin,
>>>>> Bhavin Gandhi <bhavin7392@gmail.com> writes:
> Hello Colin,
> On Wed, 9 Mar 2022 at 02:24, Colin Baxter <m43cap@yandex.com> wrote:
>> Org-mode cannot link to files without an extension. I therefore
>> cannot use org-store-link for org-journal files, etc.
> I'm not able to reproduce this on the latest main branch. I tried
> this with Emacs 28.0.91:
> Opened the COPYING file from org-mode repository. Executed M-x
> org-store-link Created test.org and did C-c C-l.
> I was able to create a link and open it with C-c C-o.
> Can you add more details like version, and steps to reproduce with
> emacs -Q?
> -- Regards, Bhavin Gandhi (bhavin192) | https://geeksocket.in
Thanks for your reply.
1. Touch two files in some directory:
touch a.org <RET>, touch z <RET>
2. emacs -Q <RET>
3. C-x f a.org <RET> and C-x f z <RET>
4. Write some text in each file
(I suppose this is not really necessary).
5. Close the buffer z.
6. In a.org enter [[file:./z][This is file z]] and save.
7. Click on the link.
8. Message "Running less in /path/to/z ... done", but link does not
open.
9. I get the same if I use C-c C-o.
10. Copy z to z.org.
11. In a.org enter [[file:./z.org][This is file z.org]] and save.
12. Link now opens if it's clicked or C-c C-o is used.
This test was done with emacs-29.0.50 and org-version 9.52. I'm on
Debian 4.9.290-1.
I hope this helps.
Best wishes,
Colin.