From: Mathias Dahl <mathias.dahl@gmail.com>
To: mathias@mnet-mail.de
Cc: emacs-devel@gnu.org
Subject: Re: kill-emacs and returning values
Date: Sat, 14 Feb 2009 23:01:07 +0100 [thread overview]
Message-ID: <7dbe73ed0902141401h283187ffi9698cf167b613e3b@mail.gmail.com> (raw)
In-Reply-To: <1234648071.6514.43.camel@surlej>
> #!/bin/bash
>
> /opt/emacs/23.0.60/bin/emacs -Q -nw -l ke.el
> read myval
> echo "myval is set to: '$myval'"
It does not work for me, read sits there, waiting for input
and I have to feed it something to get the prompt back,
and it is what I enter that is echoed back. The value emacs
"types" is just seen printed on the terminal.
I should probably forget about this and use write-region to
write the value to a file instead, something is clearly not
100 percent okay in my setup. I am using a pretest emacs
from some week ago, btw.
/Mathias
prev parent reply other threads:[~2009-02-14 22:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-14 13:51 kill-emacs and returning values Mathias Dahl
2009-02-14 17:17 ` Mathias Megyei
2009-02-14 20:23 ` Mathias Dahl
2009-02-14 21:47 ` Mathias Megyei
2009-02-14 22:01 ` Mathias Dahl [this message]
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=7dbe73ed0902141401h283187ffi9698cf167b613e3b@mail.gmail.com \
--to=mathias.dahl@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=mathias@mnet-mail.de \
/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.