all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35580: hexl-mode documentation is confusing about insertion
@ 2019-05-05 12:53 Reuben Thomas
  2019-05-11 12:01 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Reuben Thomas @ 2019-05-05 12:53 UTC (permalink / raw)
  To: 35580

[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4829 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#35580: hexl-mode documentation is confusing about insertion
  2019-05-05 12:53 bug#35580: hexl-mode documentation is confusing about insertion Reuben Thomas
@ 2019-05-11 12:01 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-05-11 12:01 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: 35580-done

> From: Reuben Thomas <rrt@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-11 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 12:53 bug#35580: hexl-mode documentation is confusing about insertion Reuben Thomas
2019-05-11 12:01 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.