GNU bug report logs - #10614
[EXPERIMENTAL PATCH] Extending Isearch-repeat-forward/backward to support a prefix argument following suggesion by Juri Linkov

Previous Next

Package: emacs;

Reported by: Gideon Stupp <gideon.stupp <at> gmail.com>

Date: Thu, 26 Jan 2012 17:43:02 UTC

Severity: wishlist

Tags: patch, wontfix

Merged with 10615

Found in version 24.0.92

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 10614 <at> debbugs.gnu.org (full text, mbox):

From: Jérémy Compostella <jeremy.compostella <at> gmail.com>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 10614 <at> debbugs.gnu.org, Gideon Stupp <gideon.stupp <at> gmail.com>,
	emacs-devel <at> gnu.org
Subject: Re: bug#10614: [EXPERIMENTAL PATCH] Extending
	Isearch-repeat-forward/backward
	to support a prefix argument following suggesion by Juri Linkov
Date: Thu, 26 Jan 2012 20:28:02 +0100
[Message part 1 (text/plain, inline)]
2012/1/26 Tassilo Horn <tassilo <at> member.fsf.org>

> Tassilo Horn <tassilo <at> member.fsf.org> writes:
>
> > But how the heck is the usage of the prefix arg supposed to work?
> > When I do C-s foo C-3, isearch is exited...
>
> That was my fault.  Of course, loading the patched isearch.el didn't
> make the changed isearch-mode-map active (defvar).  It works fine, now.
>
> Usability-wise, C-s foo C-<number> C-s makes only sense if that
> keystroke is shorter to type than C-s multiple times.  So maybe the
> numbering should start with some offset, say, with the 5th next match?
>
> And the typing of C-s after the number is a bit inconvenient, so maybe,
> C-7 could jump directly to the match hinted with 7, and only for
> two-digit matches C-s was needed, i.e., C-u 1 2 C-s to jump to the 12th
> match?
>
>
I just played play with it too and I really like it. Here my notes:
- I do agree with Tassilo, C-7 should directly jump to match hinted 7.
- When more than lazy-highlight-max-at-a-time are visible in the window,
  the prefix number is restarted from 1 on the next match hinted. It's
confusing
  and I think it should not appear on these items.
- A defcustom variable should be added to enable/disable the match hinted
prefix
  number.

Anyway, it's an very interesting improvement.

Jérémy
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.