Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-04-09 Thread Max Nikulin
On 09/04/2024 15:07, Ihor Radchenko wrote: Ihor Radchenko writes: #+setupfile: http://localhost:8000/setup-http-987.org * Heading [[https://orgmode.org/][Link]] [...] See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=5 The Emacs bug has been fixed. There is no workaround we can

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-04-09 Thread Ihor Radchenko
Ihor Radchenko writes: >> --- 8< --- >> #+setupfile: http://localhost:8000/setup-http-987.org >> >> * Heading >> >> [[https://orgmode.org/][Link]] >> --- >8 --- >> >> I expect that inaccessible setupfiles are just ignored and Org should >> work as without "#+setupfile:" lines. > > This is

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-04-01 Thread Ihor Radchenko
Max Nikulin writes: >> This part is now addressed by >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4255d5dcc > > You are right that a workaround with `org-file-remote-p' would not help. > On the other hand I can reproduce the issue with Emacs-28 and the error > happens in

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-04-01 Thread Max Nikulin
On 30/03/2024 17:02, Ihor Radchenko wrote: Ihor Radchenko writes: Unexpected errors: - When point is on any non-empty line, RET is broken save-excursion: Wrong type argument: stringp, nil - The link is not fontified (it is parsed properly however and even may be opened). This is because

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-03-30 Thread Ihor Radchenko
Ihor Radchenko writes: >> Unexpected errors: >> - When point is on any non-empty line, RET is broken >>> save-excursion: Wrong type argument: stringp, nil >> - The link is not fontified (it is parsed properly however and even may >> be opened). > > This is because `file-remote-p' throws an

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-03-27 Thread Max Nikulin
On 20/03/2024 19:15, Ihor Radchenko wrote: Max Nikulin writes: #+setupfile: /dav:localhost#8000:/setup-dav-123.org [...] Package ‘tramp-gvfs’ not supported File mode specification error: (user-error Package `tramp-gvfs' not supported) [...] - When point is on any non-empty line, RET is

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-03-20 Thread Ihor Radchenko
Confirmed. Max Nikulin writes: > I have tried the following .org file > > --- 8< --- > #+setupfile: /dav:localhost#8000:/setup-dav-123.org > > * Heading > > [[https://orgmode.org/][Link]] > --- >8 --- > > Having no webdav server running. Expected error: >> Package ‘tramp-gvfs’ not supported

[BUG] Partially broken Org mode when remote setupfile is unavailable

2024-03-19 Thread Max Nikulin
Hi, I have tried the following .org file --- 8< --- #+setupfile: /dav:localhost#8000:/setup-dav-123.org * Heading [[https://orgmode.org/][Link]] --- >8 --- Having no webdav server running. Expected error: Package ‘tramp-gvfs’ not supported File mode specification error: (user-error Package