all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* info for term has C-c C-k and C-c C-j reversed
@ 2007-06-04 14:40 Jskud
  0 siblings, 0 replies; 2+ messages in thread
From: Jskud @ 2007-06-04 14:40 UTC (permalink / raw)
  To: bug-gnu-emacs

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i686-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-08-13 on build-i386
configured using `configure  --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

================================================================

The info file for term states

> 
> Term Mode
--------- 
> 
>    The terminal emulator uses Term mode, which has two input modes.  In
> line mode, Term basically acts like Shell mode; see *Note Shell Mode::.
> In char mode, each character is sent directly to the inferior subshell,
> except for the Term escape character, normally `C-c'.
> 
>    To switch between line and char mode, use these commands:
> 
> `C-c C-k'
>      Switch to line mode.  Do nothing if already in line mode.
> 
> `C-c C-j'
>      Switch to char mode.  Do nothing if already in char mode.
> 

However, the line and char mode switching sequences are reversed,
and info should say the following.

> `C-c C-k'
>      Switch to char mode.  Do nothing if already in char mode.
> 
> `C-c C-j'
>      Switch to line mode.  Do nothing if already in line mode.
> 

================================================================

Recent input:
m a c s <return> i t e r m <return> n q s y n c <return> 
<down-mouse-1> <mouse-1> C-h i ESC x p r <backspace> 
<backspace> a p r <return> b u g s <return> ESC x a 
p r <return> b u g <return> C-x C-g C-x 0 C-a C-s s 
u b C-a ESC x r e p o r <tab> C-a C-k C-g ESC < C-a 
C-s r e p o r C-a C-l C-a C-s C-s C-s C-s C-s C-s C-s 
C-s C-s C-a ESC x r e p o r t <tab> <return>

Recent messages:
unzipping emacs-36.gz...done
unzipping emacs-23.gz...done
Found `term' in Command Index.  (Press `,' for more)
Loading apropos...done
No apropos matches for `bugs'
Mark saved where search started
call-interactively: Quit
Mark set
Mark saved where search started [2 times]
Loading emacsbug...done

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

* Re: info for term has C-c C-k and C-c C-j reversed
       [not found] <466ADABD.7040604@Jskud.com>
@ 2007-06-09 17:07 ` Jskud
  0 siblings, 0 replies; 2+ messages in thread
From: Jskud @ 2007-06-09 17:07 UTC (permalink / raw)
  To: bug-gnu-emacs

The problem was fixed on the mainline, in emacs/man/misc.texi:

    Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
    Sun Jul 7 23:48:41 2002 UTC (4 years, 11 months ago) by rms
    Branch: MAIN
    Changes since 1.39: +17 -4 lines
    Diff to previous 1.39

    Document C-c . in Shell mode.
    In Term mode, C-c C-j and C-c C-k were backwards.

The index entries didn't get swapped, so here is a patch against the
latest CVS sources:

--- misc.texi-ORIG	2007-04-22 06:58:31.000000000 -0700
+++ misc.texi	2007-06-09 10:05:30.000000000 -0700
@@ -1098,12 +1098,12 @@
 
 @table @kbd
 @kindex C-c C-j @r{(Term mode)}
-@findex term-char-mode
+@findex term-line-mode
 @item C-c C-j
 Switch to line mode.  Do nothing if already in line mode.
 
 @kindex C-c C-k @r{(Term mode)}
-@findex term-line-mode
+@findex term-char-mode
 @item C-c C-k
 Switch to char mode.  Do nothing if already in char mode.
 @end table

FYI.  /Jskud

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

end of thread, other threads:[~2007-06-09 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <466ADABD.7040604@Jskud.com>
2007-06-09 17:07 ` info for term has C-c C-k and C-c C-j reversed Jskud
2007-06-04 14:40 Jskud

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.