bugGNU TeXmacs - Bugs: bug #60755, External hyperlinks broken on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60755: External hyperlinks broken on Windows

Submitter:  Pavel Panteleev <panpav>
Submitted:  Wed 09 Jun 2021 04:36:44 PM UTC
   
 
Category:  Windows port Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.21
Fixed Release:  None Fixed Release: 
Keywords: 

Jump to the original submission

Wed 23 Jun 2021 12:47:14 PM UTC, comment #8: 

I can confirm that \hlink now seems to work in TeXmacs 2.1. Thanks for fixing this!

Pavel Panteleev <panpav>
Tue 22 Jun 2021 10:09:26 AM UTC, comment #7: 

Fixed in revision 13553.

Joris van der Hoeven <vdhoeven>
Group administrator
Tue 22 Jun 2021 07:58:35 AM UTC, comment #6: 


comment #5:

> comment #4:
> > A tentative fix for this problem has been applied in revision 13550.
> >
> > Please let us know whether it works.
> >
>
> Do I need to download and compile this revision to try it?


Not necessarily: you have to locate the file

$TEXMACS_PATH/progs/texmacs/texmacs/tm-files.scm

and replace a definition of the function load-external with the following code:

(tm-define (load-external u)
  (when (not (url-rooted? u))
    (set! u (url-relative (current-buffer) u)))
  (cond ((not (url-rooted-web? u))
         (system-1 (default-open) u))
        ((os-win32?)
         (system (string-append (default-open) " \"\" " (raw-quote (url->system u)))))
        (else
         (system (string-append (default-open) " "
                                (raw-quote (url->system u)))))))


in any text editor. This should fix the problem. (It is not the patch applied by Joris, but I think this is a better fix)

Massimiliano Gubinelli <mgubi>
Group administrator
Tue 22 Jun 2021 07:47:10 AM UTC, comment #5: 

comment #4:

> A tentative fix for this problem has been applied in revision 13550.
>
> Please let us know whether it works.
>


Do I need to download and compile this revision to try it?

Pavel Panteleev <panpav>
Mon 21 Jun 2021 01:59:53 PM UTC, comment #4: 

A tentative fix for this problem has been applied in revision 13550.

Please let us know whether it works.

Joris van der Hoeven <vdhoeven>
Group administrator
Sun 20 Jun 2021 08:32:03 PM UTC, comment #3: 

One thing that changed some time ago concerning opening external hyperlinks is line 431 of tm-files.scm.

Could you please try to remove the quoting with 'raw-quote' and retry.

I'll also ask Denis; also concerning the accessability of older versions.

Joris van der Hoeven <vdhoeven>
Group administrator
Thu 17 Jun 2021 07:03:39 PM UTC, comment #2: 

I checked several recent versions and see that it is broken starting exactly from version 1.99.19.

By the way, I do not see any links to the previous versions from the main site (only to the latest one):
http://www.texmacs.org/tmweb/download/windows.en.html

But I managed to find it by google here:
ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/

Pavel Panteleev <panpav>
Thu 17 Jun 2021 10:31:30 AM UTC, comment #1: 

It is claimed on the forum that this bug only appeared in recent versions.  Could you please try with a few older releases (which are available from our website)?  Ideally, it would be useful to know at which version (or even revision) the bug appeared first.

Joris van der Hoeven <vdhoeven>
Group administrator
Wed 09 Jun 2021 04:36:44 PM UTC, original submission:  

External hyperlinks (using \hlink) are completely broken on Windows.


Details and possible Qt workarounds on the forum:
http://forum.texmacs.cn/t/some-known-problems-on-windows/468

Pavel Panteleev <panpav>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mgubi (Posted a comment)
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by panpav (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-22 vdhoeven StatusReady For Test Fixed
        Assigned to_86389 vdhoeven
        Open/ClosedOpen Closed
    2021-06-21 vdhoeven StatusIn Progress Ready For Test
    2021-06-20 vdhoeven StatusNone In Progress
        Assigned toNone _86389

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code