Dr. Johannes Brauer | 3 Jul 2011 19:54
Picon

Aquamacs help menu problem

Hi,
if I select "help->Aquamacs help" or "help->Emacs manual" I get only
an empty help window. My Aquamacs version is

GNU Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2

I am using OS X 10.5.8.

What is going wrong?

Johannes

________________________________

Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682

(Continue reading)

David Reitter | 3 Jul 2011 23:20
Picon
Gravatar

Re: Aquamacs help menu problem

On Jul 3, 2011, at 1:54 PM, Dr. Johannes Brauer wrote:
> 
> if I select "help->Aquamacs help" or "help->Emacs manual" I get only
> an empty help window. My Aquamacs version is

I suggest you reset the Apple Help system as described here:

http://lists.apple.com/archives/apple-help-authoring/2009/Nov/msg00008.html

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!
_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Claire | 6 Jul 2011 05:45
Picon

matlab -nodesktop in Aquamacs

Hi 

I'm running Aquamacs 2.2 on Mac OSX 10.6.8 and I'd like to be
able to run Matlab within Aquamacs. Within my bash shell I 
have aliased matlab to "matlab -nodesktop".  However, when I 
type 

M-x matlab-shell

from within Aquamacs, matlab opens in the gui, i.e without the 
'nodesktop' flag. I tried adding the line: 

(setq matlab-shell-command-switches "-nodesktop")

to my Preferences.el file, but Aquamacs returns the error:

wrong type argument: listp, "-nodesktop".

Does anyone know what I'm doing wrong, and how to correct this?

Any help much appreciated.

Claire

_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
(Continue reading)

Roland THIERS | 6 Jul 2011 06:06

Re: Aquamacs help menu problem

Hi,
I have the same problem (with the same version of Aquamacs).
Thanks for some help,
Roland
Le 4 juil. 11 à 04:54, Dr. Johannes Brauer a écrit :

> Hi,
> if I select "help->Aquamacs help" or "help->Emacs manual" I get only
> an empty help window. My Aquamacs version is
>
> GNU Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
> of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2
>
> I am using OS X 10.5.8.
>
> What is going wrong?
>
> Johannes
>
> ________________________________
>
>
> Staatlich anerkannte private Fachhochschule
> NORDAKADEMIE
> Gemeinnützige Aktiengesellschaft
> Köllner Chaussee 11
> 25337 Elmshorn
>
> Vorstand:
> Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv.  
(Continue reading)

Stefan Vollmar | 6 Jul 2011 07:49
Picon
Favicon

Re: matlab -nodesktop in Aquamacs

Dear Claire,

I believe this is no Aquamacs specific error, try:

(setq matlab-shell-command-switches '("-nodesktop"))

Warm regards,
 Stefan

On 06.07.2011, at 05:45, Claire wrote:

> Hi 
> 
> I'm running Aquamacs 2.2 on Mac OSX 10.6.8 and I'd like to be
> able to run Matlab within Aquamacs. Within my bash shell I 
> have aliased matlab to "matlab -nodesktop".  However, when I 
> type 
> 
> M-x matlab-shell
> 
> from within Aquamacs, matlab opens in the gui, i.e without the 
> 'nodesktop' flag. I tried adding the line: 
> 
> (setq matlab-shell-command-switches "-nodesktop")
> 
> to my Preferences.el file, but Aquamacs returns the error:
> 
> wrong type argument: listp, "-nodesktop".
> 
> Does anyone know what I'm doing wrong, and how to correct this?
(Continue reading)

Dr.Johannes | 6 Jul 2011 13:06

Re: Aquamacs help menu problem


Am 03.07.2011 um 23:20 schrieb David Reitter:

> On Jul 3, 2011, at 1:54 PM, Dr. Johannes Brauer wrote:
>>
>> if I select "help->Aquamacs help" or "help->Emacs manual" I get only
>> an empty help window. My Aquamacs version is
>
> I suggest you reset the Apple Help system as described here:
>
> http://lists.apple.com/archives/apple-help-authoring/2009/Nov/msg00008.html
I tried to reset the help system using the recommended script, but
without any observable effect. The behavior of Aquamacs help remains
unchanged.

Johannes

________________________________

Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns
(Continue reading)

Claire | 6 Jul 2011 20:01
Picon

Re: matlab -nodesktop in Aquamacs

Thank you Stefan, that works!

_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
Christopher M. Balz | 8 Jul 2011 02:35
Picon
Favicon
Gravatar

How to configure '~/.bash_profile' and '~/.bashrc' to work with Aquamacs?

A symlink from '~/.emacs_bash' to '~/.bash_profile' succeeded in getting '~/.bash_profile' to execute
on Aquamacs, so that the shell buffers have some of the desired settings (aliases).

However, what is needed is to configure Aquamacs so that '~/.bash_profile' executes once per Aquamacs
session, and '~/.bashrc' executes once per Aquamacs shell?  Otherwise, for example with a link from
'~/.emacs_bash' to '~/.bash_profile', concatenated shell variables (commonly, $PATH) get a lot of
redundant values in them.

On *nix and Cygwin-on-NT, GNU Emacs works out of the box with '.bash_profile' and '.bashrc' in the expected
way: '.bash_profile' is executed once on the *nix system, and all shells, including Emacs shell buffers,
get the variables from that. Likewise, '.bashrc' executes once per *nix shell, including for Emacs shell buffers.

Does anyone have any pointers to how to get Aquamacs to do the same?  Thank you in advance.

(As posted on Stack Overflow - http://stackoverflow.com/questions/3492290/define-bash-aliases-for-aquamacs-shell/6618251#6618251)
_____________________________________________________________
MacOSX-Emacs mailing list
MacOSX-Emacs <at> email.esm.psu.edu
http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

Peter Dyballa | 8 Jul 2011 10:32
Picon

Re: How to configure '~/.bash_profile' and '~/.bashrc' to work with Aquamacs?


Am 08.07.2011 um 02:35 schrieb Christopher M. Balz:

> However, what is needed is to configure Aquamacs so that  
> '~/.bash_profile' executes once per Aquamacs session, and  
> '~/.bashrc' executes once per Aquamacs shell?  Otherwise, for  
> example with a link from '~/.emacs_bash' to '~/.bash_profile',  
> concatenated shell variables (commonly, $PATH) get a lot of  
> redundant values in them.
>
>
> On *nix and Cygwin-on-NT, GNU Emacs works out of the box with  
> '.bash_profile' and '.bashrc' in the expected way: '.bash_profile'  
> is executed once on the *nix system, and all shells, including Emacs  
> shell buffers, get the variables from that. Likewise, '.bashrc'  
> executes once per *nix shell, including for Emacs shell buffers.

The difference of Mac OS X is that it launches processes *without* a  
shell's aid. So you need to wrap a shell (script) around the launching  
of Aquamacs Emacs. Or you launch it from a command line (open ...).  
Another way is to use ~/.MacOSX/environment.plist, documented in / 
Developer/Documentation/DocSets/ 
com.apple.ADC_Reference_Library.CoreReference.docset/Contents/ 
Resources/Documents/documentation/MacOSX/Conceptual/BPRuntimeConfig/ 
Articles/EnvironmentVars.html or
http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html 
.

The file ~/.emacs_bash is executed when inside any Emacs a(n  
interactive) shell is started, by this shell instance. You can insert  
(Continue reading)

Christopher M. Balz | 8 Jul 2011 21:44
Picon
Favicon
Gravatar

Re: How to configure '~/.bash_profile' and '~/.bashrc' to work with Aquamacs?

Thank you Peter.  I made two changes that seem to do the trick (I had earlier done Aquamacs -> Tools ->
Install Command Line Tools).  The changes were: a) Remove the '~/.emacs_bash' symlink I'd created; b)
Create a '~/.bashrc' file containing an invocation of my alias-setting script; c) Invoke '~/.bashrc'
from '~/.bash_profile' (leaving exported env vars in ~/'.bash_profile' where they belong).

Aquamacs seems to append '/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin' to the path it gets from
'~/.bash_profile', but that doesn't seem to be a problem.  

 - cb

----- Original Message -----
From: Peter Dyballa <Peter_Dyballa <at> Web.DE>
To: Christopher M. Balz <christopherbalz <at> yahoo.com>; Emacs on Mac OS X Mailing List <macosx-emacs <at> email.esm.psu.edu>
Cc: 
Sent: Friday, July 8, 2011 1:32 AM
Subject: Re: [OS X Emacs] How to configure '~/.bash_profile' and '~/.bashrc' to work with Aquamacs?

Am 08.07.2011 um 02:35 schrieb Christopher M. Balz:

> However, what is needed is to configure Aquamacs so that '~/.bash_profile' executes once per Aquamacs
session, and '~/.bashrc' executes once per Aquamacs shell?  Otherwise, for example with a link from
'~/.emacs_bash' to '~/.bash_profile', concatenated shell variables (commonly, $PATH) get a lot of
redundant values in them.
> 
> 
> On *nix and Cygwin-on-NT, GNU Emacs works out of the box with '.bash_profile' and '.bashrc' in the
expected way: '.bash_profile' is executed once on the *nix system, and all shells, including Emacs shell
buffers, get the variables from that. Likewise, '.bashrc' executes once per *nix shell, including for
Emacs shell buffers.

(Continue reading)


Gmane