emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/misc.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/man/misc.texi
Date: Sun, 07 Jul 2002 19:49:06 -0400

Index: emacs/man/misc.texi
diff -c emacs/man/misc.texi:1.39 emacs/man/misc.texi:1.40
*** emacs/man/misc.texi:1.39    Fri Feb  1 08:12:44 2002
--- emacs/man/misc.texi Sun Jul  7 19:48:41 2002
***************
*** 743,748 ****
--- 743,752 ----
  @item C-c C-x @r{(Shell mode)}
  @findex comint-get-next-from-history
  Fetch the next subsequent command from the history.
+ 
+ @item C-c . @r{(Shell mode)}
+ @findex comint-input-previous-argument
+ Fetch one argument from an old shell command.
  @end table
  
    Shell buffers provide a history of previously entered shell commands.  To
***************
*** 775,780 ****
--- 779,793 ----
  can reexecute several successive commands by typing @kbd{C-c C-x
  @key{RET}} over and over.
  
+   The command @kbd{C-c .}@: (@code{comint-input-previous-argument})
+ copies an individual argument from a previous command, like @kbd{ESC
+ .} in Bash.  The simplest use copies the last argument from the
+ previous shell command.  With a prefix argument @var{n}, it copies the
+ @var{n}th argument instead.  Repeating @kbd{C-c .} copies from an
+ earlier shell command instead, always using the same value of @var{n}
+ (don't give a prefix argument when you repeat the @kbd{C-c .}
+ command).
+ 
    These commands get the text of previous shell commands from a special
  history list, not from the shell buffer itself.  Thus, editing the shell
  buffer, or even killing large parts of it, does not affect the history
***************
*** 1018,1031 ****
    To switch between line and char mode, use these commands:
  
  @table @kbd
! @kindex C-c C-k @r{(Term mode)}
  @findex term-char-mode
! @item C-c C-k
  Switch to line mode.  Do nothing if already in line mode.
  
! @kindex C-c C-j @r{(Term mode)}
  @findex term-line-mode
! @item C-c C-j
  Switch to char mode.  Do nothing if already in char mode.
  @end table
  
--- 1031,1044 ----
    To switch between line and char mode, use these commands:
  
  @table @kbd
! @kindex C-c C-j @r{(Term mode)}
  @findex term-char-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
! @item C-c C-k
  Switch to char mode.  Do nothing if already in char mode.
  @end table
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]