Funny behaviour in Aquamacs 1.4

View: New views
6 Messages — Rating Filter:   Alert me  

Funny behaviour in Aquamacs 1.4

by José Figueroa-O'Farrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I've noticed a new behaviour in 1.4.  When I do an incremental search
and I stop the search with, say, a return.  The mark is set and the
region from the start of the match to the point is highlighted.  I
thought that this could be related to the variable search-highlight,
being 't', but I have set it to 'nil' and it still behaves this way.
Can someone tell me which is the right variable controlling this
behaviour?

Many thanks, José



--
Prof José M Figueroa-O'Farrill  | Phone: +44 (0) 131 6505066
Maxwell Institute and           | Fax: +44 (0) 131 6506553
School of Mathematics           | Mobile: to be changed soon
University of Edinburgh         | Skype: josemiguelfigueroa
Edinburgh EH9 3JZ, Scotland, UK | Web: http://www.maths.ed.ac.uk/~jmf

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
https://lists.sourceforge.net/lists/listinfo/aquamacs-devel

Re: Funny behaviour in Aquamacs 1.4

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 21 Jun 2008, at 23:13, Jose Figueroa-O'Farrill wrote:
>
>   When I do an incremental search
> and I stop the search with, say, a return.  The mark is set and the
> region from the start of the match to the point is highlighted.

This works as intended, and as in other OS X applications.

Unless you also use Command-G, you can disable the behavior with this:

(remove-hook 'isearch-mode-end-hook 'aquamacs-set-region-to-search-
match)

There should be a customization variable for this in future versions:  
does anyone want to add the appropriate code to osxkeys.el?

- D

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






-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
https://lists.sourceforge.net/lists/listinfo/aquamacs-devel

smime.p7s (2K) Download Attachment

Re: Funny behaviour in Aquamacs 1.4

by José Figueroa-O'Farrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


José> When I do an incremental search and I stop the search with, say,
José> a return.  The mark is set and the region from the start of the
José> match to the point is highlighted.

David> Unless you also use Command-G, you can disable the behavior with this:

David> (remove-hook 'isearch-mode-end-hook 'aquamacs-set-region-to-search-
David> match)

Thanks.

David> This works as intended, and as in other OS X applications.

Yes, but you see... my dream is not for Emacs to behave like an OS X
application, but for OS X applications to behave like Emacs :-)

José

--
Prof José M Figueroa-O'Farrill  | Phone: +44 (0) 131 6505066
Maxwell Institute and           | Fax: +44 (0) 131 6506553
School of Mathematics           | Mobile: to be changed soon
University of Edinburgh         | Skype: josemiguelfigueroa
Edinburgh EH9 3JZ, Scotland, UK | Web: http://www.maths.ed.ac.uk/~jmf

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
https://lists.sourceforge.net/lists/listinfo/aquamacs-devel

Re: Funny behaviour in Aquamacs 1.4

by unhammer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jose Figueroa-O'Farrill-2 wrote:
David> Unless you also use Command-G, you can disable the behavior with this:

David> (remove-hook 'isearch-mode-end-hook 'aquamacs-set-region-to-search-
David> match)

Yes, but you see... my dream is not for Emacs to behave like an OS X
application, but for OS X applications to behave like Emacs :-)
Since new features like this are bound to be introduced from time to time, where would I find out how to turn them off when the next such feature is introduced? I was also a bit miffed by this, felt like the http://aquamacs.org/features.shtml should've noted for each such feature how to turn it off...

Extending Emacs to let it behave like OS X is a very good thing, as long as individuals can turn the behaviour off ;-)

Re: Funny behaviour in Aquamacs 1.4

by Bill Clementson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Jun 22, 2008 at 5:02 AM, Jose Figueroa-O'Farrill
<j.m.figueroa@...> wrote:
> Yes, but you see... my dream is not for Emacs to behave like an OS X
> application, but for OS X applications to behave like Emacs :-)

If you would like other OS X applications to have many of the same key
bindings as you use in Emacs, try KeyRemap4MacBook
(http://www.pqrs.org/tekezo/macosx/keyremap4macbook/). It has an
"Emacs mode" that I use and find very convenient. To see all the
bindings that are supported, have a look at the "Emacs mode" section
on this page: http://www.pqrs.org/tekezo/macosx/keyremap4macbook/list.html

--
Bill Clementson

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
https://lists.sourceforge.net/lists/listinfo/aquamacs-devel

Re: Funny behaviour in Aquamacs 1.4

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 8 Jul 2008, at 12:09, unhammer wrote:


> Since new features like this are bound to be introduced from time to  
> time,
> where would I find out how to turn them off when the next such  
> feature is
> introduced? I was also a bit miffed by this, felt like the
> http://aquamacs.org/features.shtml should've noted for each such  
> feature how
> to turn it off...

There are millions of features in Emacs.  That page can't possible  
list configuration options for all of them.

> Extending Emacs to let it behave like OS X is a very good thing, as  
> long as
> individuals can turn the behaviour off ;-)

You're always free not to update.

That said, I usually try to document this in the change log.
I'll try to be more diligent.  The difficulty is simply to tell in  
advance which functionality needs configurability.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Aquamacs-devel mailing list
Aquamacs-devel@...
https://lists.sourceforge.net/lists/listinfo/aquamacs-devel

smime.p7s (2K) Download Attachment