From: Marc Weber <marco-oweber@gmx.de>
To: sup-talk <sup-talk@rubyforge.org>
Subject: [sup-talk] next search in buffer view..
Date: Sat, 03 Oct 2009 22:49:40 +0200 [thread overview]
Message-ID: <1254602805-sup-2900@nixos> (raw)
buffer.rb
def handle_input c
if @focus_buf
if @focus_buf.mode.in_search? && c != CONTINUE_IN_BUFFER_SEARCH_KEY[0]
@focus_buf.mode.cancel_search!
@focus_buf.mark_dirty
end
@focus_buf.mode.handle_input c
end
end
Why is the search canceled when typing any other char?
That's really annoying because there are some mails I have to use the
same search multiple times. However I also have to scroll up /down to
see enough context.
So why has this been implemented? Is it safe to remove that if
statement?
Seems to work for me.
It would be better if the next search would continue from the current
line rather than the last search result.
I'd like to see 'N' (search backward) as well.
If you like these ideas I'm going to supply a patch.
Comments?
Marc Weber
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next reply other threads:[~2009-10-03 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-03 20:49 Marc Weber [this message]
2009-10-04 20:55 ` Marc Weber
2009-10-06 16:35 ` William Morgan
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=1254602805-sup-2900@nixos \
--to=marco-oweber@gmx.de \
--cc=sup-talk@rubyforge.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox