Ihor Radchenko <yanta...@gmail.com> writes:

> Alan Wehmann <alan.wehm...@gmail.com> writes:
>
>> Thanks for your reply.  In my personal case I've modified "org-open-file" to 
>> throw an error for a non-existing file.  In my case, clearly Emacs is not 
>> happy with a non-existing file--at least if it is a PDF file meant to be 
>> viewed by docview.  Option 1 could have "org-docview-open" throw an error 
>> for a non-existing file, I suppose.  You describe option 2 as risking 
>> existing configs.  I am uninformed on such an issue.  I only use Org from 
>> within Emacs.  If a future problem occurs because I modified 
>> "org-open-file", I'll deal with it when it occurs.
>
> I thought more about this and I do not think that modifying
> org-open-file is a good idea. The current behaviour could be useful for
> people who would like to auto-create, say, .org/.txt files just by
> typing a link and opening it. Even .svg files could be created like
> this.
>
> So, I propose to update ol-docview instead. See the attached patch.

Applied onto main via c231e93b5.

Best,
Ihor

Reply via email to