Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: Why do we need a number of different terminal modes in Emacs?
Date: Tue, 03 Feb 2015 20:05:43 +0100	[thread overview]
Message-ID: <87iofilss8.fsf@debian.uxu> (raw)
In-Reply-To: <8xxiofln3wd.fsf@village.keycorner.org>

Hikaru Ichijyo <ichijyo@macross.sdf.jp> writes:

> From what I've gathered, the primary advantage of
> working with the UNIX shell from inside Emacs (in
> programs like 'shell') is that unlike in a normal
> terminal, you can cursor anywhere, up to output that
> has already been emitted, and do regular Emacs
> editor operations on command output after the fact.

Yes, at least in today's world, that's the advantage:
complete integration of the material
inputted/outputted, the same editing keys, and the
same configuration/documentation interface.

In my experience, this need isn't as big with the
shell as it is with for example mail. But sometimes
there is an advantage to have it. Then, if you don't
do it in Emacs, mostly it is about being able to cut
and paste from/to Emacs/the shell. If you have that,
as that isn't done that often to begin with, you can
do it when you need it and that's enough.

But of course the in-Emacs terminal emulators serve a
purpose, and if the OP isn't happy with them, he is
encouraged to improve them starting today.

> They're all just there for conveniences though. If
> you find yourself needing a fast, efficient terminal
> that just does the job the way you expect, run rxvt
> (standalone). Heresy as it might be, you don't have
> to do everything in Emacs! (Uh-oh, I said it now...)

In X, apart from xterm and rxvt, there is also urxvt
("u" is for Unicode, "r" for reduced, there rest
should be clear).

If you don't use the terminal emulators in Emacs, then
you need a fast transition from Emacs to the shell. I
run Emacs in the Linux VT, in /dev/tty1; in 2-6 I have
tmux/zsh; and then I can switch very quick from Emacs
to the shell with M-l, and back with M-j (right and
left: that works in the shell ttys and even in X with
xbindkeys).

Here is some material on that:

    http://user.it.uu.se/~embe8573/conf/remap.inc
    http://user.it.uu.se/~embe8573/conf/.tmux.conf

-- 
underground experts united

  reply	other threads:[~2015-02-03 19:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19085.1422772746.1147.info-gnus-english@gnu.org>
2015-02-01 13:43 ` Hikaru Ichijyo
2015-02-03 19:05   ` Emanuel Berg [this message]
2015-02-01  6:38 Andrey Lisin
2015-02-01  7:06 ` Andrey Lisin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iofilss8.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).