emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/eat 26d83d04c1: Update manual to correctly describe comman


From: ELPA Syncer
Subject: [nongnu] elpa/eat 26d83d04c1: Update manual to correctly describe command 'eat'
Date: Wed, 29 Mar 2023 13:59:45 -0400 (EDT)

branch: elpa/eat
commit 26d83d04c134058ffe13a9c8ba7a2c31cc6fab45
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Update manual to correctly describe command 'eat'
    
    * eat.texi (Hello Terminal): Update to match with the current
    behavior of command 'eat'.
---
 eat.el   |  8 ++++----
 eat.texi | 24 +++++++++++++-----------
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/eat.el b/eat.el
index 79d4768209..16d5485c9d 100644
--- a/eat.el
+++ b/eat.el
@@ -5551,7 +5551,7 @@ Return the buffer selected (or created).
 
 With a non-numeric prefix ARG, create a new session.
 
-With a numeric prefix ARG (like \\[universal-argument] 42 \\[eshell]),
+With a numeric prefix ARG (like \\[universal-argument] 42 \\[eat]),
 switch to the session with that number, or create it if it doesn't
 already exist.
 
@@ -6223,9 +6223,9 @@ Return the buffer selected (or created).
 
 With a non-numeric prefix ARG, create a new session.
 
-With a numeric prefix ARG (like \\[universal-argument] 42 \\[eshell]),
-switch to the session with that number, or create it if it doesn't
-already exist."
+With a numeric prefix ARG (like
+\\[universal-argument] 42 \\[eat-project]), switch to the session with
+that number, or create it if it doesn't already exist."
   (interactive "P")
   (require 'project)
   (let* ((default-directory (project-root (project-current t)))
diff --git a/eat.texi b/eat.texi
index 1a0611dbc3..0cb4ab9a4a 100644
--- a/eat.texi
+++ b/eat.texi
@@ -2,7 +2,7 @@
 
 @comment %**start of header
 @setfilename eat.info
-@set UPDATED 28 March 2023
+@set UPDATED 29 March 2023
 @set VERSION 0.6.1
 @documentencoding UTF-8
 @codequotebacktick on
@@ -116,13 +116,10 @@ to run full screen programs like Emacs within the 
terminal.
 @chapter Hello Terminal
 
 @findex eat
-The terminal can be started with @kbd{M-x eat}.  It would prompt you
-for the program to run in the terminal, with a reasonable default
-value already filled in.  You can specify a program path, or a shell
-command.  After you hit @kbd{@key{RET}}, you will see a terminal, and
-the program you chose will be run within the terminal in the current
-directory.  You can interact with it.  If you started a shell, you
-should get a shell prompt and you should be able to write commands and
+The terminal can be started with @kbd{M-x eat}.  It'll create a
+terminal and run the default shell
+(@pxref{Interactive Shell,,, emacs, GNU Emacs Manual}) in it.  You
+should get a shell prompt and be able to write shell commands and
 execute them.  Full screen programs like @samp{htop}, @samp{lynx} and
 Emacs will work inside it, just like other any other terminal.
 
@@ -130,9 +127,14 @@ If an Eat terminal already exists, @kbd{M-x eat} will 
switch to it.
 To create a new terminal, call it with a prefix argument like this,
 @kbd{C-u M-x eat}.
 
-If you give it a numeric argument N, for example @kbd{C-u 42 M-x eat},
-it'll switch to a terminal in @file{*eat*<N>}, @file{*eat*<42>} for
-example, and it'll create a new terminal if that doesn't exist.
+If you give it a numeric prefix argument N, for example
+@kbd{C-u 42 M-x eat}, it'll switch to a terminal in the buffer
+@file{*eat*<N>}, @file{*eat*<42>} for example, or it'll create a new
+terminal if that buffer doesn't exist.
+
+If you give it double prefix argument, for example
+@kbd{C-u C-u M-x eat}, you'll be prompted for the program or shell
+command to run, and it'll be run in a newly created terminal.
 
 @node Project-local Terminal
 @cindex project-local terminal



reply via email to

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