bugGNU Octave - Bugs: bug #60198, GUI fails to use vim as custom...

 
 

bug #60198: GUI fails to use vim as custom editor

Submitted by:  Dan Blake <dblake>
Submitted on:  Tue 09 Mar 2021 06:44:42 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Dan Blake Open/Closed:  Closed
Release:  6.2.0 Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 10 Mar 2021 07:46:18 PM UTC, comment #5: 

Thanks Torsten.  I can confirm that the external editor works again in the GUI.  My preference setting is

gvim -f +%l %f

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 10 Mar 2021 05:22:06 PM UTC, comment #4: 
Torsten Lilge <ttl>
Project Member
Tue 09 Mar 2021 10:03:04 PM UTC, comment #3: 

Thanks for the report and for further testing. I think found the cause and will prepare a patch tomorrow.

Torsten Lilge <ttl>
Project Member
Tue 09 Mar 2021 06:54:59 PM UTC, comment #2: 

Debugging quickly, the problem seems to be when there are spaces, and hence multiple arguments.

If I set the custom editor string to "gvim" or "/usr/bin/gvim" it works.  However if I use a space and an option such as "gvim %f" then it fails.

Rik <rik5>
Project Administrator
Tue 09 Mar 2021 06:49:52 PM UTC, comment #1: 

Marking as Confirmed.

Rik <rik5>
Project Administrator
Tue 09 Mar 2021 06:44:42 PM UTC, original submission:  

The GUI setting for a custom editor worked in version 5.2 and no longer works in 6.1 or 6.2.

Specifically I set it to "vim +%l %f".  I also tried using the absolute pathname, /usr/bin/vim, to no avail.

OS: Linux Mint 20.1
Octave built and installed from source code.

Dan Blake <dblake>

 

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

Attach Files:
   
   
Comment:
   

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 ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by dblake (Submitted the item)
  • -email is unavailable- added by dblake
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-10 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2021-03-10 ttl StatusConfirmed => Ready For Test
    2021-03-09 rik5 StatusNone => Confirmed
    2021-03-09 dblake Carbon-Copy- => Added rik

    Back to the top


    Powered by Savane 3.7