[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52811] GUI external editor %l expands to -1 w
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52811] GUI external editor %l expands to -1 when no line number required |
Date: |
Fri, 5 Jan 2018 00:45:19 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.gnu.org/bugs/?52811>
Summary: GUI external editor %l expands to -1 when no line
number required
Project: GNU Octave
Submitted by: rik5
Submitted on: Thu 04 Jan 2018 09:45:18 PM PST
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
I use gvim as an external editor. When using the Octave GUI I can configure
an external editor in the settings. The command to execute substitutes '%f'
for the file name and '%l' for the line number. However, when Octave doesn't
supply a line number the result is that %l expands to -1 which is not a valid
line number.
I think in cases where the line number is not used %l should expand to 1 so
that the editor is opened at the beginning of the file.
For reference, the external editor command I used was
gvim %f +%l
and the Octave command was
edit ls.m
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52811>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52811] GUI external editor %l expands to -1 when no line number required,
Rik <=