all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: Read Only Buffers On compilation
Date: Thu, 05 May 2011 10:13:14 -0400	[thread overview]
Message-ID: <ichb99fd6t.fsf@verizon.net> (raw)
In-Reply-To: jwvsjst45je.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I seem to have an odd behaviour when executing scripts in emacs. The
>> scripts work fine if no input is required. But when input is required
>> the compilation buffer is read-only. How can I make the buffer read-
>> write so that input can be taken. So for example a very basic script
>> asking for input such as below would work in emacs.
>
> C-h f compile RET says:
>
>   [...]
>   Additionally, with universal prefix arg, compilation buffer will be in
>   comint mode, i.e. interactive.
>
> So try C-u M-x compile RET

Cool, did not know that.

Another alternative, use echo to provide standard input.

-- 
Dan Espen


  reply	other threads:[~2011-05-05 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05 12:45 Read Only Buffers On compilation flebber
2011-05-05 13:54 ` Stefan Monnier
2011-05-05 14:13   ` despen [this message]
2011-05-05 14:04 ` Marco Parrone

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=ichb99fd6t.fsf@verizon.net \
    --to=despen@verizon.net \
    --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.