bugGNU Octave - Bugs: bug #42578, edit ignores the content of the...

 
 

bug #42578: edit ignores the content of the EDITOR variable

Submitter:  None
Submitted:  Wed 18 Jun 2014 08:16:42 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Galou Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Jun 2014 11:57:02 AM UTC, comment #1: 

Thanks for your bug report. However, I think this should be working in 3.8.1. Please try setting the EDITOR value correctly, note that it needs to be called as a function and not assigned to as a variable:


EDITOR ("vim");
edit test


Mike Miller <mtmiller>
Group Member
Wed 18 Jun 2014 08:16:42 AM UTC, original submission:  


EDITOR = 'vim';
edit test
octave:5> sh: 1: emacs: not found


Tested with zsh and bash on Ubuntu 14.04.

Anonymous

 

(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 rik5 (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-06-21 rik5 Open/ClosedOpen Closed
    2014-06-18 mtmiller Item GroupNone Incorrect Result
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code