[erlang-questions] using ctrl-g in emacs in erl
James Aimonetti
james@REDACTED
Wed Nov 7 21:27:12 CET 2012
Do you have Distel mode installed/enabled? I do, if that makes a difference.
(emacs@REDACTED)1> 1+1.
2
(emacs@REDACTED)2> 2+2.
4
(emacs@REDACTED)3> ^G
User switch command
--> q
Process inferior-erlang finished
That's what happens when I use Ctrl-q Ctrl-g <Enter> and use 'q' to quit the
shell.
This is GNU Emacs 23.3.1 (GNU/Linux x86_64), but I know this sequence has worked
for me for several previous versions of emacs as well.
On Wed, 7 Nov 2012 12:52:12 -0700
Wes James <comptekki@REDACTED> wrote:
> I tried that and it goes back to the Eshell. One thing I just noticed is
> when I'm doing commands, the shell prompt increments. After doing the
> ctrl-g or ctrl-q ctrl-g, the shell starts back at 1.
>
> wes
>
>
> On Wed, Nov 7, 2012 at 12:47 PM, James Aimonetti <james@REDACTED> wrote:
>
> > On Wed, 7 Nov 2012 12:32:55 -0700
> > Wes James <comptekki@REDACTED> wrote:
> >
> > > I've tried a few things with trying to get ctrl-g to work in emacs. I've
> > > run erl with M-x shell and M-x terminal-emulator. M-x terminal emulator
> > is
> > > closer, but when I press ctrl-g it just puts ^G in the window and when I
> > > press enter, it brings the erlang shell command line back without doing
> > > anything. Is there a way to do ctrl-g with another command. I've looked
> > at
> > > the other commands with ctrl-c, but they don't show the User Switch
> > command
> > > prompt.
> > >
> > > Thanks,
> > >
> > > Wes
> >
> > Try Ctrl-q Ctrl-g <Enter>
> >
> >
> > --
> > James Aimonetti
> > Distributed Systems Engineer / DJ MC_
> >
> > 2600hz | http://2600hz.com
> > sip:james@REDACTED
> > tel: 415.886.7905
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
--
James Aimonetti
Distributed Systems Engineer / DJ MC_
2600hz | http://2600hz.com
sip:james@REDACTED
tel: 415.886.7905
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121107/63d0719d/attachment.bin>
More information about the erlang-questions
mailing list