all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Groll <lists@groll.co.za>
To: Francis Moreau <francis.moro@gmail.com>, gnu-emacs-help@gnu.org
Subject: Re: M-x term strange behaviour.
Date: Wed, 10 Sep 2008 15:09:18 +0200	[thread overview]
Message-ID: <20080910130918.GA20778@groll.co.za> (raw)
In-Reply-To: <38b2ab8a0809100243o4fda9cefj219b18c07466d3c2@mail.gmail.com>

On Wed, Sep 10, 2008 at 11:43:14AM +0200, Francis Moreau wrote:
>Hello,
>
>I'm using "M-x term"  to get a shell inside emacs.
>
>But it seems to not working as expected: for example when starting less(1),
>inspecting a file (I know I could have used emacs for that) and exiting, the
>terminal window is not restored as it was before starting less(1). Instead the
>content of the file visited by less(1) still appears.
>
>Of course this behaviour does not occur when using less(1) inside an xterm.
>
>Can anybody give me some advices here ?
>
>Should I use a different terminal (M-x terminal-emulator...) ?

You can get the behaviour you want with less in the eshell, but as a
previous thread on this list discussed there are other areas where
the eshell differs from expected behaviour [1]

I still don't know when one would choose terminal-emulator, would someone
be able to provide an example when terminal-emulator would be required
for a task that term could not do?

Cheers,
Jonathan.

[1] http://tinyurl.com/66hxbp




  parent reply	other threads:[~2008-09-10 13:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10  9:43 M-x term strange behaviour Francis Moreau
2008-09-10 10:04 ` Thierry Volpiatto
2008-09-10 10:21   ` Francis Moreau
2008-09-10 12:22 ` Andrea Vettorello
2008-09-10 20:50   ` Francis Moreau
2008-09-10 13:09 ` Jonathan Groll [this message]
2008-09-10 19:05   ` Francis Moreau

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=20080910130918.GA20778@groll.co.za \
    --to=lists@groll.co.za \
    --cc=francis.moro@gmail.com \
    --cc=gnu-emacs-help@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.
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.