bugGNU Octave - Bugs: bug #44504, Remove unnecessary white space...

 
 

bug #44504: Remove unnecessary white space from help when suppress_verbose_help_message is true

Submitted by:  Lutz Mager <rocketsound>
Submitted on:  Wed 11 Mar 2015 11:35:59 AM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 3 - LowItem Group: Inaccurate Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 02 Jun 2015 04:35:26 PM UTC, comment #4:

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Thu 12 Mar 2015 02:38:54 AM UTC, comment #3:

It didn't bother me, but I'm not too picky :)

Rik <rik5>
Project Administrator
Thu 12 Mar 2015 02:26:30 AM UTC, comment #2:

The result of this looks a little too compressed when the additional help footer is wanted, so I made one cosmetic tweak to restore a line when it is not suppressed:

http://hg.savannah.gnu.org/hgweb/octave/rev/ebdecd5cd8c7

The extra newlines are indeed from the makeinfo program. It seems to always want to add a couple newlines to the end of its plain text output.

Mike Miller <mtmiller>
Project Administrator
Wed 11 Mar 2015 08:41:29 PM UTC, comment #1:

Confirmed.

I get 3 empty lines in either the CLI or the GUI. It is not in the _additional_help_message_.m function which adds the verbose footer. It seems to be a problem with makeinfo which we call out to.

I checked in this cset which reduces the spacing to just a single blank line (http://hg.savannah.gnu.org/hgweb/octave/rev/e884d5816471).

Rik <rik5>
Project Administrator
Wed 11 Mar 2015 11:35:59 AM UTC, original submission:

With the option

one can shorten the output of the help command. Unfortunately this only removes the message

but not the leading white space between this message and the actual output of help (see my screenshot). In the GUI version there are always three leading empty lines, on the CLI two.

Lutz Mager <rocketsound>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33307:  Screenshot.png added by rocketsound (20KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by rocketsound (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2015 04:35:26 PM UTCjweRelease4.0.0-rc1=>4.0.0
    Wed 11 Mar 2015 08:41:29 PM UTCrik5Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 11 Mar 2015 11:35:59 AM UTCrocketsoundAttached File-=>Added Screenshot.png, #33307

    Back to the top


    Powered by Savane 3.1-cleanup1