Iannis Zannos | 2 May 2010 23:27
Picon

path to elisp files for emacs modes in Leopard


Hello, 

Where are the emacs list files that store the various mode definitions and other code for EMACS stored in MacOS X 10.5? 

I have looked for them in vain in /usr/local or other similar places. Also there seems to be no indication of their location in any of the documents that I tried. 

Thanks

Iannis Zannos


_____________________________________________________________
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 | 3 May 2010 00:15
Picon

Re: path to elisp files for emacs modes in Leopard


Am 02.05.2010 um 23:27 schrieb Iannis Zannos:

> Where are the emacs list files that store the various mode  
> definitions and
> other code for EMACS stored in MacOS X 10.5?

Do you mean "Emacs Lisp?" In .el or .elc files? Then look inside the  
application's bundle.

--
Greetings

   Pete
               <\
                 \__     O                       __O
                 | O\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)

_____________________________________________________________
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
David Reitter | 3 May 2010 00:33
Picon
Gravatar

Re: path to elisp files for emacs modes in Leopard

On May 2, 2010, at 5:27 PM, Iannis Zannos wrote:
> 
> Where are the emacs list files that store the various mode definitions and other code for EMACS stored in
MacOS X 10.5? 
> 
> I have looked for them in vain in /usr/local or other similar places. Also there seems to be no indication of
their location in any of the documents that I tried. 

Do you mean the Emacs that comes with OS X?

/usr/share/emacs

You can always use M-x locate-library to find out the location of a specific library file.

--
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
Iannis Zannos | 3 May 2010 09:03
Picon

Re: path to elisp files for emacs modes in Leopard


David, 

Yes, I did mean the Emacs that comes with OS X. Thanks for the info, it is what I wanted to know. The M-x locate-library is a nice extra tip. 

Iannis Z. 

On Mon, May 3, 2010 at 1:33 AM, David Reitter <david.reitter <at> gmail.com> wrote:
On May 2, 2010, at 5:27 PM, Iannis Zannos wrote:
>
> Where are the emacs list files that store the various mode definitions and other code for EMACS stored in MacOS X 10.5?
>
> I have looked for them in vain in /usr/local or other similar places. Also there seems to be no indication of their location in any of the documents that I tried.

Do you mean the Emacs that comes with OS X?

/usr/share/emacs

You can always use M-x locate-library to find out the location of a specific library file.


--
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


_____________________________________________________________
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
David Reitter | 4 May 2010 06:48
Picon
Gravatar

Aquamacs 2.0preview6 available

Good morning.

The latest and possibly last preview version Aquamacs 2.0preview6 is now available for download:

http://aquamacs.org/download-preview.shtml

Preview 6 contains updates to LaTeX (AUCTeX) and ESS as well as a number of bug-fixes.  

Thanks for your continued support.  Please test the version to help us produce a high-quality 2.0 release.

--
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
siemsen | 4 May 2010 17:33
Picon
Favicon
Gravatar

key remapping for a Command key?

In Aquamacs 2-preview6, what is the Lisp syntax to map Command-Shift-7 to a function?  My
~/Library/Preferences/Aquamacs Emacs/Preferences.el file contains lines like

   (global-set-key [f15] 'myfunction)

I want a similar line that maps Command-Shift-7 instead of F15.  What's the Lisp syntax?

-- Pete

_____________________________________________________________
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
Nathaniel Cunningham | 4 May 2010 17:44
Picon
Gravatar

Re: key remapping for a Command key?


On Tue, May 4, 2010 at 10:33 AM, <siemsen <at> ucar.edu> wrote:

In Aquamacs 2-preview6, what is the Lisp syntax to map Command-Shift-7 to a function?

 
Either of these works for me:
(global-set-key [(\A &)] 'myfunction)
(global-set-key (kbd "A-&") 'myfunction)

I'm not sure if one form is preferred over the other for any reason.

--Nathaniel
_____________________________________________________________
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
David Reitter | 4 May 2010 18:08
Picon
Gravatar

Re: key remapping for a Command key?

On May 4, 2010, at 11:33 AM, <siemsen <at> ucar.edu> <siemsen <at> ucar.edu> wrote:

> In Aquamacs 2-preview6, what is the Lisp syntax to map Command-Shift-7 to a function?  My
~/Library/Preferences/Aquamacs Emacs/Preferences.el file contains lines like
> 
>   (global-set-key [f15] 'myfunction)

http://www.emacswiki.org/emacs/AquamacsFAQ#toc10

--
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
Kao Felix | 4 May 2010 16:45
Picon
Gravatar

Problem running pdb

Hello,

I'm having some trouble running pdb via M-x pdb. When I start it the gud buffer shows "Current directory is
/Users/kaofelix/Code/artgallery/" and nothing else. If I strike C-c C-s several times (to do a step
command) eventually all output is flushed and the (Pdb) prompt appears as well as the source with the
little triangle on the fringe marking the current line. However the output stops to update again until I do
several commands. 

To me it seems related to buffered output on the python interpreter, but I've tried every way I know (-u and -i
flags as well as the PYTHONUNBUFFERED env var) to stop python from buffering and it still didn't work. Does
any one have a clue of what might be going on? Every solution I found on the internet comes to the same ways of
doing unbuffered output on python. 

I've tested it both on Aquamacs and Emacs.app and got the same results.
--
Kao Félix

_____________________________________________________________
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

siemsen | 4 May 2010 18:43
Picon
Favicon
Gravatar

Re: key remapping for a Command key?

Thanks!  This worked:
(define-key osx-key-mode-map (kbd "A-&") 'my-new-function)-- Pete


On May 4, 2010, at 10:08 AM, David Reitter wrote:

On May 4, 2010, at 11:33 AM, <siemsen <at> ucar.edu> <siemsen <at> ucar.edu> wrote:

In Aquamacs 2-preview6, what is the Lisp syntax to map Command-Shift-7 to a function?  My ~/Library/Preferences/Aquamacs Emacs/Preferences.el file contains lines like

 (global-set-key [f15] 'myfunction)

http://www.emacswiki.org/emacs/AquamacsFAQ#toc10


--
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

Gmane