* Behavior of M-s (repeat last search)
@ 2005-12-26 9:13 Sébastien Vauban
2006-04-16 17:31 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Vauban @ 2005-12-26 9:13 UTC (permalink / raw)
Hi,
I tried to modify the behavior of M-s to be able to *repeat the
last search* through the articles in the summary buffer, without
having to type enter each time.
What I wrote in my .gnus:
,----
| (defun gnus-summary-search-article-forward-next ()
| "Repeat the last forward search."
| (interactive)
| (when (stringp gnus-last-search-regexp)
| (gnus-summary-search-article-forward gnus-last-search-regexp nil)))
|
| (define-key gnus-summary-mode-map [(meta s)]
| 'gnus-summary-search-article-forward-next)
`----
But it does not behave correctly the first time... i.e. its
behavior is not correct, whether the function
'gnus-summary-search-article-forward´ has already been called or
not.
Can you help me?
Many thanks in advance,
Seb
PS- With a bit of advance, best wishes for 2006!
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Behavior of M-s (repeat last search)
2005-12-26 9:13 Behavior of M-s (repeat last search) Sébastien Vauban
@ 2006-04-16 17:31 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-16 17:31 UTC (permalink / raw)
Sébastien Vauban <ewgeocaufsfb@spammotel.com> writes:
> I tried to modify the behavior of M-s to be able to *repeat the
> last search* through the articles in the summary buffer, without
> having to type enter each time.
I think it would make sense to bind `M-S' to something that repeats
the previous search. Having to hit `RET' annoys me, too.
Fix in CVS.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-16 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-26 9:13 Behavior of M-s (repeat last search) Sébastien Vauban
2006-04-16 17:31 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).