all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Meurer <asmeurer@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Mouse support does not work
Date: Wed, 11 Jan 2012 14:14:32 -0700	[thread overview]
Message-ID: <CAKgW=6+x6V5gcyyTcnjBxwPqhPts64mnjrYD5p_1uf+UOHdxXQ@mail.gmail.com> (raw)
In-Reply-To: <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com>

On Wed, Jan 11, 2012 at 12:10 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> > `M-e' in Isearch.  Lets you edit the search string anyway
>> > you like.  You have all of Emacs at your disposal to edit it.
>>
>> Thanks.  Is there a way to make that default? In other words, any edit
>> command will always edit the search string unless I press RET to end
>> the search.
>
> Not that I know of offhand - never looked for that.  You can check the doc.
>
> But if you really want that then it sounds like you do not want _incremental_
> search in the first place.  In that case, just use the non-incremental search
> commands: `search-forward' etc.  Transport yourself back to the 1970s and enjoy.
> ;-)
>
> On the other hand, if you just want to have certain editing commands/keys
> automatically initiate Isearch editing (what `M-e' does), then you can customize
> option `isearchp-initiate-edit-commands'.  (You need Isearch+ for that
> possibility - see below.)

Thanks.  For others interested, it is from that extension (hence the p
in the variable name).  To use it, you should edit the source and
uncomment the commands you want to allow to edit the search (I
uncommented them all).

>
>> >> - As I noted, it kills the search when you scroll.
>> >
>> > See previous reply: set `isearch-allow-scroll' to non-nil.
>>
>> Great. I've got to remember to make searching M-x customize my first
>> resort when I want to change something.
>
> I recommend the Emacs doc, also.

Meh.  I usually just use Google.  If that takes me to the docs, then
fine.  I've found emacswiki to be the most helpful so far, actually.

>
>> - You have to press C-s twice to wrap around.  It's not so bad, but
>> it's confused me more than once into thinking that there were no
>> occurrences because they were all before the cursor.
>
> If you use Isearch+ then the prompt keywords "Wrapped" and "Overwrapped" are
> highlighted in a different face, so you can notice easier that wrapping is
> happening.

The problem is not that I'm unaware that it's wrapping around (though
I do appreciate it letting me know).  The problem is that it doesn't
do it by default, so it appears that there are no matches, unless you
remember to press C-s a second time to check for matches before.  I'm
used to editors that wrap around automatically, so if there are no
matches after the cursor, it will automatically give the first one in
the file without having to press C-s additionally.

I just checked with isearch+. It selects the searches in the text. But
it does not automatically go to the "first" one (the one closest to
the top of the buffer), hence requiring an additional press of C-s.
It also highlights the text with the failing search face and says
"Failing I-Search". I think this is the same as without the extension.

I think all of my other search related problems are solved, though.

>
> (Prompt keywords are also highlighted for regexp, word, and multi-buffer
> searching.  If you do not want such highlighting then just customize the faces
> for any of these to look the same as face `minibuffer-prompt'.)
>
> And in Emacs 24+, the mode-line lighter gets the same face whenever Isearch is
> wrapping.
>
> Isearch+ is here:
> http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus
> http://www.emacswiki.org/emacs/download/isearch%2b.el
>



  reply	other threads:[~2012-01-11 21:14 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10  9:18 Mouse support does not work Aaron Meurer
2012-01-10 17:24 ` Tassilo Horn
2012-01-10 18:29   ` Eli Zaretskii
2012-01-10 21:00     ` Tassilo Horn
2012-01-10 21:32       ` Peter Dyballa
2012-01-11  8:04         ` Tassilo Horn
2012-01-11 22:12           ` Peter Dyballa
2012-01-12  7:22             ` Tassilo Horn
2012-01-12  9:44               ` Peter Dyballa
2012-01-12  9:56                 ` Tassilo Horn
2012-01-12 10:06                   ` Peter Dyballa
2012-01-10 21:31     ` Peter Dyballa
2012-01-10 21:29 ` Peter Dyballa
2012-01-10 22:06   ` Aaron Meurer
2012-01-10 22:31     ` Peter Dyballa
2012-01-10 22:50       ` Aaron Meurer
2012-01-10 23:26         ` Peter Dyballa
2012-01-11 12:50           ` Aaron Meurer
2012-01-11 14:24             ` Drew Adams
2012-01-11 14:37             ` Drew Adams
2012-01-11 15:28               ` Aaron Meurer
2012-01-11 19:10                 ` Drew Adams
2012-01-11 21:14                   ` Aaron Meurer [this message]
2012-01-14 16:45                     ` Aaron Meurer
2012-01-14 16:53                       ` Drew Adams
2012-01-14 17:26                         ` Aaron Meurer
2012-01-14 17:37                           ` Drew Adams
2012-01-14 17:49                             ` Aaron Meurer
2012-01-14 18:20                               ` Drew Adams
2012-01-14 19:55                                 ` Aaron Meurer
2012-01-14 20:08                                   ` Drew Adams
2012-01-14 20:32                                     ` Aaron Meurer
2012-01-14 21:00                                       ` Drew Adams
2012-01-15  0:01                                         ` Aaron Meurer
2012-01-15  0:55                                     ` Peter Dyballa
2012-01-15  0:58                                       ` Drew Adams
2012-01-15 15:19                                         ` Peter Dyballa
2012-01-15  1:13                                       ` Aaron Meurer
2012-01-15 15:28                                         ` Peter Dyballa
2012-01-15 15:47                                           ` Aaron Meurer
2012-01-15 16:30                                             ` Peter Dyballa
2012-01-16 18:22                                               ` Aaron Meurer
2012-01-14 17:46                           ` Aaron Meurer
2012-01-10 23:44         ` Peter Dyballa
2012-01-11  6:31           ` Jonathan Groll
2012-01-11  6:15         ` Jonathan Groll

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='CAKgW=6+x6V5gcyyTcnjBxwPqhPts64mnjrYD5p_1uf+UOHdxXQ@mail.gmail.com' \
    --to=asmeurer@gmail.com \
    --cc=drew.adams@oracle.com \
    --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.