[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9025] Concise output of filenames
From: |
Lachlan Andrew |
Subject: |
[Octave-patch-tracker] [patch #9025] Concise output of filenames |
Date: |
Fri, 10 Jun 2016 09:28:43 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
URL:
<http://savannah.gnu.org/patch/?9025>
Summary: Concise output of filenames
Project: GNU Octave
Submitted by: lachlan
Submitted on: Fri 10 Jun 2016 09:28:40 AM GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: lachlan
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch displays shorter forms of file names in contexts like error
messages and the most-recently-used file menu. It does *not* change Octave's
practice of always storing absolute filenames.
Filenames are shortened in three ways:
1. Relative path names are used for files below the current directory.
2. The user's home directory is replaced by a ~
3. The directory containing Octave's core scripts is replaced by SCRIPT.
(Would "SYS" be a better string?)
All of the scripts that change directory internally, such as run(), disable
this locally so that they don't display misleading error messages.
The SCRIPT command has been added to return the relevant prefix, so that users
can find out the absolute path names.
This is disabled by default, and can be enabled by
output_short_filenames (1)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 10 Jun 2016 09:28:40 AM GMT Name: patch_output_short_filenames.cset
Size: 25kB By: lachlan
<http://savannah.gnu.org/patch/download.php?file_id=37447>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9025>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #9025] Concise output of filenames,
Lachlan Andrew <=