all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: can one run tk/Ruby gui code from an emacs shell with compile?
Date: Sun, 20 Nov 2005 02:13:54 +0100	[thread overview]
Message-ID: <5594e70a5f00c1b800e4e04d56e93054@Web.DE> (raw)
In-Reply-To: <Pine.SOL.4.30.0511191900520.21618-100000@wjh1.wjh.harvard.edu>


Am 20.11.2005 um 01:16 schrieb Anne G:

> Turning the le into el and rebooting, emacs now gives me a
> permission denied on line 1,
> Just entered the command at the prompt.

And the command was .bashrc?

That's not needed! bash reads that file automatically when it launches. 
It's like Emacs reads .emacs (and other files, for example .emacs_bash 
when you create the shell buffer in Emacs). So the 'permission denied' 
message tells you that .bashrc can't be executed, which is normal, 
since you usually do not create files in Emacs (or by vi) that are 
executable from the start. You would have to make them executable (with 
chmod; did you already try in Emacs M-x manual-entry <RET>? At the 
prompt you can type chmod and give it a <RET>.)

> turning the .el back to .le did not get it to work again.
> There is no Dyld that I can see.
>

Because you cut away lines starting with A, B, C, D ... Try exactly 
this with the single quotes to see in *Shell Command Output* maximally 
two lines:

	M-! env | egrep -w 'PATH|DYLD_LIBRARY_PATH'

M-! inveokes Emacs' shell-command function. Then env (list the shell's 
environment) is excuted. Its output is filtered with egrep, which is 
told to look up whole words (-w). The words are described in the 
regular expression following. This has a vertical bar (|) which has a 
special meaning in a shell, so it has to be escaped by putting it into 
single quotes.


> Turning the le into el and rebooting,

Anne, you don't need to reboot your Mac when you change an Elisp (Emacs 
Lisp) file's name. Just re-launch that application.


It's here already after midnight. It's Sunday. And I'm going to bed. I 
won't have much time before local noon and I'll be out of house for 
some hours in the afternoon. I think there is no real error, you just 
made a mistake in shell. Earlier I forgot one file to mention: 
~/.emacs_bash! That's the one with the unset command. If you try to 
find out whether /usr/local/bin/ruby works correctly with 
DYLD_LIBRARY_PATH then you should comment that unset statement. This 
comment *will* raise another error, but don't get confused of this, 
it's normal interaction of Emacs and bash. Nothing fails there, it's 
just that the unset command can't be executed, so shell will have 
DYLD_LIBRARY_PATH set.

--
Greetings

   Pete

A lot of us are working harder than we want, at things we don't like to
do.  Why? ...In order to afford the sort of existence we don't care to 
live.
	-- Bradford Angier

  reply	other threads:[~2005-11-20  1:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 17:11 can one run tk/Ruby gui code from an emacs shell with compile? anne001
2005-11-18 18:18 ` Peter Dyballa
2005-11-18 18:51   ` Anne G
2005-11-18 19:53     ` Peter Dyballa
2005-11-19  0:56       ` Anne G
2005-11-19  9:48         ` Peter Dyballa
2005-11-19 11:32           ` Anne G
2005-11-19 12:18             ` Peter Dyballa
2005-11-19 14:19               ` Anne G
2005-11-19 15:03                 ` Peter Dyballa
2005-11-19 16:47                   ` Success, emacs compiled my snipet Anne G
2005-11-19 19:20                     ` Peter Dyballa
2005-11-20  0:16                       ` can one run tk/Ruby gui code from an emacs shell with compile? Anne G
2005-11-20  1:13                         ` Peter Dyballa [this message]
2005-11-20 14:41                           ` Anne G
2005-11-20 15:53                             ` Peter Dyballa
  -- strict thread matches above, loose matches on Subject: below --
2005-11-19 17:19 Anne G

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=5594e70a5f00c1b800e4e04d56e93054@Web.DE \
    --to=peter_dyballa@web.de \
    --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.