Robert Goldman | 2 Oct 2011 18:31

Re: ECB context menu in Aquamacs

On 9/30/11 Sep 30 -5:51 PM, Nathaniel Cunningham wrote:
> 
> 
> On Fri, Sep 30, 2011 at 2:42 PM, Robert Goldman <rpgoldman <at> sift.info
> <mailto:rpgoldman <at> sift.info>> wrote:
> 
> 
>     > There is a second approach in place to return mouse-3 to its
>     vanilla Emacs
>     > behavior:
>     > In the Aquamacs help/manual, section 4.3 "Customizing Aquamacs
>     behavior",
>     > under "Want some GNU Emacs 23 behavior back?" there is a list of
>     > Aquamacs-specific settings that can be customized, including "OS X
>     Key Mode
>     > Mouse-3 Behavior".  Try customizing that setting as described in
>     the help --
>     > that may allow ECB to behave as in vanilla Emacs.
> 
>     I tried to follow your reference above, but it doesn't work for me.  I
>     have Aquamacs 2.3a, and when I go to "Bringing some Emacs 23 behavior
>     back" the whole of the text at that node is:
> 
>  
> <snip>
>  
> 
>     can you amplify?  What version of the manual are you looking at?
> 
> 
(Continue reading)

Robert Goldman | 2 Oct 2011 18:33

Re: ECB context menu in Aquamacs

On 9/30/11 Sep 30 -5:51 PM, Nathaniel Cunningham wrote:
> 
> 
> On Fri, Sep 30, 2011 at 2:42 PM, Robert Goldman <rpgoldman <at> sift.info
> <mailto:rpgoldman <at> sift.info>> wrote:
> 
> 
>     > There is a second approach in place to return mouse-3 to its
>     vanilla Emacs
>     > behavior:
>     > In the Aquamacs help/manual, section 4.3 "Customizing Aquamacs
>     behavior",
>     > under "Want some GNU Emacs 23 behavior back?" there is a list of
>     > Aquamacs-specific settings that can be customized, including "OS X
>     Key Mode
>     > Mouse-3 Behavior".  Try customizing that setting as described in
>     the help --
>     > that may allow ECB to behave as in vanilla Emacs.
> 
>     I tried to follow your reference above, but it doesn't work for me.  I
>     have Aquamacs 2.3a, and when I go to "Bringing some Emacs 23 behavior
>     back" the whole of the text at that node is:
> 
>  
> <snip>
>  
> 
>     can you amplify?  What version of the manual are you looking at?
> 
> 
(Continue reading)

David Reitter | 2 Oct 2011 19:05
Picon
Gravatar

Re: ECB context menu in Aquamacs

On Oct 2, 2011, at 12:31 PM, Robert Goldman wrote:
> 
> Here's a follow-up question:  why is it that the os-x keymap shadows the
> mode keymap, instead of vice versa?  Well, I pretty much understand the
> rationale --- we want the Mac-ishness to be pervasive.  

No, the answer is simpler than that.
Emacs simply doesn't support customizable priorities for bindings or key maps.  Minor mode keybindings
shadow major mode bindings, which shadow global bindings, if I remember correctly.  I think the Emacs
manual explains it (where keymaps are explained). 

>  Is there some way to let SLIME's
> handling "shine through"?  Or, is there some way to make the os-x
> keymap's handling more sophisticated, so that it builds a composite
> context menu that subsumes the non-Mac meaning of the mouse button AND
> the Aquamacs handling?

There's a low-priority keymap in osx-key-mode that I have created for this purpose - one could try that.

The alternative would be to dynamically determine the context menu so it would contain the regular context
menu.  That one may be quite tricky (or unreliable).

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

(Continue reading)

David Reitter | 2 Oct 2011 20:04
Picon
Gravatar

Re: ECB context menu in Aquamacs

On Oct 2, 2011, at 12:33 PM, Robert Goldman wrote:
> 
> 1.  Why are the section numbers stripped off on the online version of
> the manual?  It doesn't seem to do any actual good to do this, and it
> complicates references, as in this case here?

Presumably because the default in latex2html is not to show section numbers (that's what we use to generate
the Apple Help documents (in HTML) from the LaTeX manual source).  Perhaps Kevin Walzer, who wrote the
original conversion, had his reasons, such as other Apple Help manuals not having section numbers either.

I've changed this in the configuration, so we should have section numbers going forward.

> 2.  Why is the Help menu entry "Aquamacs Help" when it points to the
> Aquamacs manual?  I found it confusing to find the Aquamacs manual,
> because the only "manual" in this menu is "Emacs manual".  What about
> retitling the entry to "Aquamacs manual"?

Yes, that's a good change.  The original reasoning was, I believe, that "<AppName> Help" is the normal way of
titling this, but I don't think we need to insist on inconsistencies within the application.

I've made that change, thanks for your suggestions.

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

(Continue reading)

Marius Hofert | 2 Oct 2011 21:52
Picon
Favicon

How to get truncated lines in a particular mode?

Dear all,

I have (global-visual-line-mode 1) in Preferences.el to get the "word-wrap" behavior by default. For
working with .R files, I would like to have truncated lines. I tried:

(add-hook 'ess-mode-hook
          (lambda ()
            ... ; other commands affecting this mode
            (visual-line-mode 0)
	    )
	  )

That didn't change the word-wrap behavior in .R files. How is it done correctly?

Another question: Is "M-x visual-line-mode" the correct command to toggle the behavior
(word-wrap/truncated) "locally"?

Cheers,

Marius

_____________________________________________________________
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
Robert Goldman | 3 Oct 2011 15:22

Re: ECB context menu in Aquamacs

On 10/2/11 Oct 2 -1:04 PM, David Reitter wrote:
> On Oct 2, 2011, at 12:33 PM, Robert Goldman wrote:
>>
>> 1.  Why are the section numbers stripped off on the online version of
>> the manual?  It doesn't seem to do any actual good to do this, and it
>> complicates references, as in this case here?
> 
> Presumably because the default in latex2html is not to show section numbers (that's what we use to
generate the Apple Help documents (in HTML) from the LaTeX manual source).  Perhaps Kevin Walzer, who
wrote the original conversion, had his reasons, such as other Apple Help manuals not having section
numbers either.
> 
> I've changed this in the configuration, so we should have section numbers going forward.
> 
> 
>> 2.  Why is the Help menu entry "Aquamacs Help" when it points to the
>> Aquamacs manual?  I found it confusing to find the Aquamacs manual,
>> because the only "manual" in this menu is "Emacs manual".  What about
>> retitling the entry to "Aquamacs manual"?
> 
> Yes, that's a good change.  The original reasoning was, I believe, that "<AppName> Help" is the normal way
of titling this, but I don't think we need to insist on inconsistencies within the application.
> 
> I've made that change, thanks for your suggestions.

Thank you!  I am glad these were helpful.

best,
R
_____________________________________________________________
(Continue reading)

Periya.Data | 4 Oct 2011 23:17

Aquamacs and JSON

Hi all,
   I want to view JSON files on emacs. I use Aquamacs on MAC OSX. I have downloaded the json.el file. But, I am not sure where to place or how to configure my Aquamacs so that it can recognize JSON files and display is nicely....record by record.

Currently, if I open JSON file in aquamacs, I see the text, but, not in a nice record by record, indented format.

Please let me know your suggestions.

Thanks,
PD

_____________________________________________________________
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
Edward O'Connor | 4 Oct 2011 23:23
Picon

Re: Aquamacs and JSON

Hi,

> I want to view JSON files on emacs. I use Aquamacs on MAC OSX.

Since JSON is a subset of JavaScript's literal object syntax, you can
simply use the mode you typically use for editing JavaScript to edit
JSON files.

> I have downloaded the json.el file.

json.el provides a JSON parser & serializer for use by other Emacs
Lisp libraries; it is not a major mode for editing JSON content.

Ted
_____________________________________________________________
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 Geelan-Small | 6 Oct 2011 04:03
Picon
Favicon

Aquamacs: mouse does not work

G'day, Everyone.
 
I've just put Aquamacs on a MacBook Pro running Snow Leopard. The version I've got is the one bundled with MacTeX 2011 in Extras. It's my first experience using Emacs on a Mac. I've used Emacs on IBM-compatibles for the last few years.
 
What I've seen of Aquamacs so far is very nice. However, I can't get the mouse to function in any window in Aquamacs - e.g. I can't highlight any text. This happens regardless of the type of document - whether it's .r or .tex, say. I can use it to click on menus in Aquamacs and to click in the minibuffer to enter things there. The mouse works happily (and contrarily!) in other software on the Mac.
 
Can anybody suggest how I could fix this, please?
 
Regards,
 
Peter
_____________________________________________________________
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 | 6 Oct 2011 04:58
Picon
Gravatar

Re: Aquamacs: mouse does not work

Peter,

On Oct 5, 2011, at 10:03 PM, Peter Geelan-Small wrote:
> What I've seen of Aquamacs so far is very nice. However, I can't get the mouse to function in any window in
Aquamacs - e.g. I can't highlight any text. This happens regardless of the type of document - whether it's
.r or .tex, say. I can use it to click on menus in Aquamacs and to click in the minibuffer to enter things
there. The mouse works happily (and contrarily!) in other software on the Mac.

You can find out what version you're running via the About menu item.  (I didn't know MacTeX comes with
Aquamacs - that's certainly nice to hear.)

Start up with "Start Aquamacs without customizations" from the "Help/Diagnose and Report Bug" menu, and
try selecting some text.  This should work just like in any other application.

Thanks
- David

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