all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Samuel Wales" <samologist@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: editing output in shell mode
Date: Fri, 9 Jan 2009 14:12:16 -0700	[thread overview]
Message-ID: <20524da70901091312y4b016693p15be5e93eec3f4f9@mail.gmail.com> (raw)

Let's say you do something in shell mode that produces a lot of
output.  Normally, you'd use less(1), but that is not possible in
shell mode.

Ideally, you'd view the output in an emacs buffer, perhaps in text
mode, so that you can edit it and navigate it.

Is there a way to pipe this output to, say, emacsclient?

Or -- more sophisticatedly -- is there another solution that uses
shell mode, e.g. to grab the output once it detects that it is a lot
of output, and redirect it into a text mode buffer?

Obviously if it's an infinite amount of output, it should do what less
does and not use up all memory.

Google was not my friend.  :)

Thanks.

-- 
For personal gain, myalgic encephalomyelitis denialists are knowingly
causing further suffering and death by grossly corrupting science.  Do
you care about the world?
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




             reply	other threads:[~2009-01-09 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09 21:12 Samuel Wales [this message]
2009-01-09 21:32 ` editing output in shell mode Peter Dyballa
2009-01-09 21:45 ` tyler
     [not found] <mailman.4437.1231535539.26697.help-gnu-emacs@gnu.org>
2009-01-09 21:39 ` David Kastrup

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=20524da70901091312y4b016693p15be5e93eec3f4f9@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=help-gnu-emacs@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.