[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #66703] EDITOR not used by edit command
From: |
Dennis Cote |
Subject: |
[Octave-bug-tracker] [bug #66703] EDITOR not used by edit command |
Date: |
Thu, 23 Jan 2025 17:43:21 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66703>
Summary: EDITOR not used by edit command
Group: GNU Octave
Submitter: dennisc_hi
Submitted: Thu 23 Jan 2025 10:43:16 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Dennis Cote
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 9.3.0
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 23 Jan 2025 10:43:16 PM UTC By: Dennis Cote <dennisc_hi>
I have set the EDITOR value to "notepad++.exe" from both a .octaverc file and
the command line. The correct value is displayed if I execute EDIOTR().
I verified can open a CMD window in the same current directory and type the
command:
notepad++.exe bug1.m
and the file bug1.m is opened in notepad++. It also works if the ".exe" is
dropped from the command.
If I type the command:
edit bug1.m
on the Octave command line, it opens the file bug1.m in the Octave editor
window rather than notepad++. This is incorrect according to the documentation
for the edit function which says: If edit is called with the name of a file or
function as its argument it will be opened in the text editor defined by
EDITOR.
I have tried this with the EDITOR set to both "notepad++" and "notepad++.exe"
and I get the same result. It always opens the file in the Octave Editor
window, contrary to the documentation.
I am reporting this in Octave 9.3.0 but I see the same behavior in a local
build of Octave 10.0.0 with hgid 00671f5dbc55+.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66703>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command,
Dennis Cote <=
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command, Pantxo Diribarne, 2025/01/24
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command, Markus Mützel, 2025/01/24
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command when running GUI, Rik, 2025/01/24
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command when running GUI, Dennis Cote, 2025/01/24
- [Octave-bug-tracker] [bug #66703] EDITOR not used by edit command when running GUI, Rik, 2025/01/29