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

 
 

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

Submitter:  Dan Blake <dblake>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Wed 10 Mar 2021 05:22:06 PM UTC, comment #4: 
Torsten Lilge <ttl>
Group 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>
Group 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>
Group administrator
Tue 09 Mar 2021 06:49:52 PM UTC, comment #1: 

Marking as Confirmed.

Rik <rik5>
Group 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
  •  

    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.

    Only group 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.13-f8d8.
    Corresponding source code