From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gideon.stupp@gmail.com Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: Re: Re: [EXPERIMENTAL PATCH] Extending Isearch-repeat-forward/backward to support a prefix argum Date: Thu, 26 Jan 2012 19:10:21 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f3ba085b27a5204b7732156 X-Trace: dough.gmane.org 1327605052 3391 80.91.229.12 (26 Jan 2012 19:10:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 19:10:52 +0000 (UTC) Cc: juri@jurta.org, bug-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Tassilo Horn , Gideon Stupp Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 26 20:10:47 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqUib-0008D1-Nl for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2012 20:10:45 +0100 Original-Received: from localhost ([::1]:49886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUiO-0004NA-GD for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2012 14:10:32 -0500 Original-Received: from [140.186.70.92] (port=51802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUiM-0004MK-4u for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:10:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqUiE-0000fc-Me for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:10:24 -0500 Original-Received: from mail-wi0-f199.google.com ([209.85.212.199]:61399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqUiE-0000fN-Fw for emacs-devel@gnu.org; Thu, 26 Jan 2012 14:10:22 -0500 Original-Received: by wibhq12 with SMTP id hq12so504015wib.6 for ; Thu, 26 Jan 2012 11:10:21 -0800 (PST) Original-Received: by 10.180.107.164 with SMTP id hd4mr149873wib.0.1327605021308; Thu, 26 Jan 2012 11:10:21 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.199 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147952 gmane.emacs.bugs:56053 Archived-At: --e89a8f3ba085b27a5204b7732156 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Oh, I just thought of something. If you try to patch isearch.el and then load-file it the new keybindings won't take place (the map is defvar'ed). I think you have to compile isearch.el to isearch.elc and then run with temacs. Hope this helps, Gideon. On , gideon.stupp@gmail.com wrote: > hmm. It shouldn't exit. I probably have a bug in the patch (that's the > problem with experimental patches ;)). I will look at it again in (my) > morning. > Thanks, Gideon. > On , Tassilo Horn tassilo@member.fsf.org> wrote: > > Gideon Stupp gideon.stupp@gmail.com> writes: > > > > > > > > Hi Gideon, > > > > > > > > > This experimental patch implements a suggestion by Juri Linkov to > extend > > > > > isearch-repeat-forward/backward to support a prefix argument. > > > > > > > > I like it. I adapted it a bit to show the hints at the position where > > > > point would be if that one's selected, and I added also a bit > > > > superscript magic, which suits me better, visually. (Well, that should > > > > be customizable, of course.) > > > > > > > > But how the heck is the usage of the prefix arg supposed to work? When > > > > I do Cs foo C-3, isearch is exited... > > > > > > > > Bye, > > > > Tassilo > > --e89a8f3ba085b27a5204b7732156 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Oh, I just thought of something. If you try to patch isearch.el and then lo= ad-file it the new keybindings won't take place (the map is defvar'= ed). I think you have to compile isearch.el to isearch.elc and then run wit= h temacs.

Hope this helps,

Gideon.

On , gi= deon.stupp@gmail.com wrote:
> hmm. It shouldn't exit. I probabl= y have a bug in the patch (that's the problem with experimental patches= ;)). I will look at it again in (my) morning.
>
> Thanks,= Gideon.
>
> On , Tassilo Horn tassilo@member.fsf.org> = wrote:
> > Gideon Stupp gideon.stupp@gmail.com> writes:
= > >
> >
> >
> > Hi Gideon,
&= gt; >
> >
> >
> > > This experime= ntal patch implements a suggestion by Juri Linkov to extend
> > =
> > > isearch-repeat-forward/backward to support a prefix ar= gument.
> >
> >
> >
> > I li= ke it. =A0I adapted it a bit to show the hints at the position where
&= gt; >
> > point would be if that one's selected, and I a= dded also a bit
> >
> > superscript magic, which sui= ts me better, visually. =A0(Well, that should
> >
> >= ; be customizable, of course.)
> >
> >
> &g= t;
> > But how the heck is the usage of the prefix arg supposed= to work? =A0When
> >
> > I do C-s foo C-3, isearch = is exited...
> >
> >
> >
> >= Bye,
> >
> > Tassilo
> > --e89a8f3ba085b27a5204b7732156--