bugGNU Octave - Bugs: bug #47360, edit command not working in GUI...

 
 

bug #47360: edit command not working in GUI mode

Submitter:  KIAaze <kiaaze>
Submitted:  Mon 07 Mar 2016 06:50:27 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 07 Mar 2016 07:08:59 PM UTC, comment #3: 

This is clearly a configuration issue.  Closing report.

If the editor is still not working after re-compiling then this can be re-opened.

Rik <rik5>
Group administrator
Mon 07 Mar 2016 07:02:49 PM UTC, comment #2: 

That might take some time, but looking at my config.log, you are right about qscintilla not being found:

configure:73078: WARNING: Qscintilla library not found -- disabling built-in GUI editor

KIAaze <kiaaze>
Mon 07 Mar 2016 06:56:17 PM UTC, comment #1: 

Thanks for the bug report. If you compiled from source, it seems likely that you built without the Qscintilla libraries installed.

Can you try building Octave again with the libqscintilla2-dev package installed? You'll need to run configure again to detect the library after it is installed.

I don't know why that would influence the use of an external editor, I don't have a build without Qscintilla to test with.

Mike Miller <mtmiller>
Group Member
Mon 07 Mar 2016 06:50:27 PM UTC, original submission:  

The "edit" command does not seem to work when in GUI mode.
It works as expected if I start octave with the --no-gui option.

I use the following in my ~/.octaverc:
edit mode async;
EDITOR("/usr/bin/geany %s");

I have also tried without specifying the editor, in which case it was set to "vim" by default.

In both cases, with "--no-gui", running "edit FUNCTION" opened the FUNCTION.m file in the set editor.
In GUI mode, nothing at all happens and the edit command returns no error.

I also tried changing settings in edit->preferences->editor from the GUI without any success.

This used to work in Octave 3.8.1.

OS: Kubuntu 14.10
Octave 4.0.0 compiled from source.
Octave 3.8.1 installed from distribution repositories.

KIAaze <kiaaze>

 

(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

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by kiaaze (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.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-28 mtmiller Dependencies- bugs #50663 is dependent
    2016-03-07 rik5 Open/ClosedOpen Closed
    2016-03-07 mtmiller Item GroupNone Incorrect Result
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code