[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Read Only Buffers On compilation
From: |
despen |
Subject: |
Re: Read Only Buffers On compilation |
Date: |
Tue, 24 May 2011 20:01:52 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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