unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21525: 24.5; A typo on 16.2 Transposing Text help page
@ 2015-09-20 12:01 Maxim Kashchenko
  2015-09-20 17:08 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Kashchenko @ 2015-09-20 12:01 UTC (permalink / raw)
  To: 21525

Hello Emacs team,

Let me quote a paragraph from the manual page first.

   A numeric argument to a transpose command serves as a repeat count:
it tells the transpose command to move the character (word, expression,
line) before or containing point across several other characters (words,
expressions, lines).  For example, ‘C-u 3 C-t’ moves the character
before point forward across three other characters.  It would change
‘f★oobar’ into ‘oobf★ar’.  This is equivalent to repeating ‘C-t’ three
times.  ‘C-u - 4 M-t’ moves the word before point backward across four
words.  ‘C-u - C-M-t’ would cancel the effect of plain ‘C-M-t’.

I think ‘f★oobar’ becomes ‘foob★ar’ instead of ‘oobf★ar’.

Have a nice day.







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

* bug#21525: 24.5; A typo on 16.2 Transposing Text help page
  2015-09-20 12:01 bug#21525: 24.5; A typo on 16.2 Transposing Text help page Maxim Kashchenko
@ 2015-09-20 17:08 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2015-09-20 17:08 UTC (permalink / raw)
  To: Maxim Kashchenko; +Cc: 21525

> From: Maxim Kashchenko <mkaschenko@me.com>
> Date: Sun, 20 Sep 2015 19:01:27 +0700
> 
> Hello Emacs team,
> 
> Let me quote a paragraph from the manual page first.
> 
>    A numeric argument to a transpose command serves as a repeat count:
> it tells the transpose command to move the character (word, expression,
> line) before or containing point across several other characters (words,
> expressions, lines).  For example, ‘C-u 3 C-t’ moves the character
> before point forward across three other characters.  It would change
> ‘f★oobar’ into ‘oobf★ar’.  This is equivalent to repeating ‘C-t’ three
> times.  ‘C-u - 4 M-t’ moves the word before point backward across four
> words.  ‘C-u - C-M-t’ would cancel the effect of plain ‘C-M-t’.
> 
> I think ‘f★oobar’ becomes ‘foob★ar’ instead of ‘oobf★ar’.

No, the manual is correct.  I just tried it in the current git master.





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

end of thread, other threads:[~2015-09-20 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-20 12:01 bug#21525: 24.5; A typo on 16.2 Transposing Text help page Maxim Kashchenko
2015-09-20 17:08 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).