GNU bug report logs - #71167
29.3; vtable: documentation bug

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Fri, 24 May 2024 07:21:02 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joost Kremers <joostkremers <at> fastmail.fm>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 71167 <at> debbugs.gnu.org
Subject: bug#71167: 29.3; vtable: documentation bug
Date: Fri, 24 May 2024 10:22:02 +0200
On Fri, May 24 2024, Eli Zaretskii wrote:
>> From: Joost Kremers <joostkremers <at> fastmail.fm>
>> Date: Fri, 24 May 2024 09:20:28 +0200
>> 
>> The documentation for 'make-vtable' in vtable.texi has a small bug. Patch
>> attached.
>
> Thanks, but...
>
>>  @item width
>>  The width of the column.  This is either a number (the width of that
>>  many @samp{x} characters in the table's face), or a string on the form
>> -@samp{Xe <at> var{x}}, where @var{x} is a number of @samp{x} characters, or a
>> -string on the form @samp{Xp <at> var{x}} (denoting a number of pixels), or a
>> -string on the form @samp{X%} (a percentage of the window's width).
>> +@samp{@var{x}ex}, where @var{x} is a number of @samp{x} characters, or a
>> +string on the form @samp{@var{x}px} (denoting a number of pixels), or a
>> +string on the form @samp{@var{x}%} (a percentage of the window's width).
>
> ...this sentence is a mouthfull: very hard to understand, and the use
> of "x" in several different roles doesn't help.  Can we please reword
> this to be more clear?

Would it help if the x's that refer to a number were replaced with 'n'?

     ‘width’
          The width of the column.  This is either a number (the width
          of that many ‘x’ characters in the table's face), or a string
          on the form ‘Nex’, where N is a number of ‘x’ characters, or a
          string on the form ‘Npx’ (denoting a number of pixels), or a
          string on the form ‘N%’ (a percentage of the window's width).

In source:

```
@item width
The width of the column.  This is either a number (the width of that
many @samp{x} characters in the table's face), or a string on the form
@samp{@var{n}ex}, where @var{n} is a number of @samp{x} characters, or a
string on the form @samp{@var{n}px} (denoting a number of pixels), or a
string on the form @samp{@var{n}%} (a percentage of the window's width).
```


-- 
Joost Kremers
Life has its moments




This bug report was last modified 1 year and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.