GNU bug report logs - #35580
hexl-mode documentation is confusing about insertion

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Sun, 5 May 2019 12:55:02 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35580 in the body.
You can then email your comments to 35580 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35580; Package emacs. (Sun, 05 May 2019 12:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reuben Thomas <rrt <at> sc3d.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 May 2019 12:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-emacs <bug-emacs <at> gnu.org>
Subject: hexl-mode documentation is confusing about insertion
Date: Sun, 5 May 2019 13:53:55 +0100
[Message part 1 (text/plain, inline)]
I have been trying to understand how to insert (rather than overwrite)
characters in hexl-mode. The documentation seems to be quite clear:

  Ordinary text characters overwrite in Hexl mode.  This is to reduce
the risk of accidentally spoiling the alignment of data in the file.
There are special commands for insertion.

(I copied this from git master just to be sure!)

The list of commands underneath list several commands that have "insert" in
their name, leading the naive reader (me) to believe they will insert
rather than overwrite.

However, this is not the case: the various keystrokes listed underneath
which mention "insert" all overstrike.

I suspect that my confusion results from guessing (incorrectly) that the
sentence "There are special commands for insertion" uses the word
"insertion" to oppose "overwrite" earlier in the paragraph; but in fact, it
means "insertion" in the sense of "inserting a character", which happens
always to overwrite in hexl-mode.

To clarify this, I suggest changing the sentence

  There are special commands for insertion.

to

  There are special commands to insert characters by their numeric code.

I think this is the feature that the sentence is trying to point up, as
evidenced by the fact that the (partial) list of commands that follows
gives the various commands for inserting a character by its code.

Finally, the sentence

  Here is a list of the commands of Hexl mode:

could be changed to

  Here are some of the most useful commands of Hexl mode:

because the list is not comprehensive (nor need it be).

-- 
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 11 May 2019 12:02:02 GMT) Full text and rfc822 format available.

Notification sent to Reuben Thomas <rrt <at> sc3d.org>:
bug acknowledged by developer. (Sat, 11 May 2019 12:02:02 GMT) Full text and rfc822 format available.

Message #10 received at 35580-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 35580-done <at> debbugs.gnu.org
Subject: Re: bug#35580: hexl-mode documentation is confusing about insertion
Date: Sat, 11 May 2019 15:01:26 +0300
> From: Reuben Thomas <rrt <at> sc3d.org>
> Date: Sun, 5 May 2019 13:53:55 +0100
> 
>   Ordinary text characters overwrite in Hexl mode.  This is to reduce
> the risk of accidentally spoiling the alignment of data in the file.
> There are special commands for insertion.
> 
> (I copied this from git master just to be sure!)
> 
> The list of commands underneath list several commands that have "insert" in their name, leading the naive
> reader (me) to believe they will insert rather than overwrite.
> 
> However, this is not the case: the various keystrokes listed underneath which mention "insert" all overstrike.
> 
> I suspect that my confusion results from guessing (incorrectly) that the sentence "There are special
> commands for insertion" uses the word "insertion" to oppose "overwrite" earlier in the paragraph; but in fact, it
> means "insertion" in the sense of "inserting a character", which happens always to overwrite in hexl-mode.

Thanks, I clarified this text.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Jun 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 323 days ago.

Previous Next


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