patchGNU Octave - Patches: patch #9025, Concise output of filenames

 
 

patch #9025: Concise output of filenames

Submitted by:  Lachlan Andrew <lachlan>
Submitted on:  Fri 10 Jun 2016 09:28:40 AM UTC  
 
Category:  Core : new feature Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  Lachlan Andrew <lachlan> Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Jun 2016 09:40:47 AM UTC, comment #1:

Here's an updated patch reflecting the change to docstring format.

(file #37541)

Lachlan Andrew <lachlan>In charge of this item.
Fri 10 Jun 2016 09:28:40 AM UTC, original submission:

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

Lachlan Andrew <lachlan>In charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lachlan (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-07 lachlan CategoryNone => Core : new feature
    2016-06-22 lachlan Attached File- => Added patch_output_short_filenames.v2.cset, #37541
    2016-06-10 lachlan Attached File- => Added patch_output_short_filenames.cset, #37447

    Back to the top


    Powered by Savane 3.3