unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Search function taking long time
@ 2022-10-25 11:40 Heime
  2022-10-25 11:58 ` Eli Zaretskii
  2022-10-25 11:59 ` Emanuel Berg
  0 siblings, 2 replies; 4+ messages in thread
From: Heime @ 2022-10-25 11:40 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor

Have made a function that does a search, a prints the matches in the *Messages* buffer.
But when the search takes a long time to finish, I am unable to use emacs.  I also cannot
stop the search.  And by killing the emacs session, I loose the list of matches already
computed.  What can I do to solve this?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search function taking long time
  2022-10-25 11:40 Search function taking long time Heime
@ 2022-10-25 11:58 ` Eli Zaretskii
  2022-10-25 12:08   ` Heime
  2022-10-25 11:59 ` Emanuel Berg
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-10-25 11:58 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Tue, 25 Oct 2022 11:40:37 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> Have made a function that does a search, a prints the matches in the *Messages* buffer.
> But when the search takes a long time to finish, I am unable to use emacs.  I also cannot
> stop the search.  And by killing the emacs session, I loose the list of matches already
> computed.  What can I do to solve this?

C-g



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search function taking long time
  2022-10-25 11:40 Search function taking long time Heime
  2022-10-25 11:58 ` Eli Zaretskii
@ 2022-10-25 11:59 ` Emanuel Berg
  1 sibling, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2022-10-25 11:59 UTC (permalink / raw)
  To: help-gnu-emacs

Heime wrote:

> Have made a function that does a search, a prints the
> matches in the *Messages* buffer. But when the search takes
> a long time to finish, I am unable to use emacs. I also
> cannot stop the search. And by killing the emacs session,
> I loose the list of matches already computed. What can I do
> to solve this?

Tell us what it is you are trying to do?

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Search function taking long time
  2022-10-25 11:58 ` Eli Zaretskii
@ 2022-10-25 12:08   ` Heime
  0 siblings, 0 replies; 4+ messages in thread
From: Heime @ 2022-10-25 12:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

------- Original Message -------
On Tuesday, October 25th, 2022 at 11:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Tue, 25 Oct 2022 11:40:37 +0000
> > From: Heime heimeborgia@protonmail.com
> > 
> > Have made a function that does a search, a prints the matches in the Messages buffer.
> > But when the search takes a long time to finish, I am unable to use emacs. I also cannot
> > stop the search. And by killing the emacs session, I loose the list of matches already
> > computed. What can I do to solve this?
> 
> 
> C-g

Fantastic




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-25 12:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 11:40 Search function taking long time Heime
2022-10-25 11:58 ` Eli Zaretskii
2022-10-25 12:08   ` Heime
2022-10-25 11:59 ` Emanuel Berg

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 read-only IMAP folder(s) and NNTP newsgroup(s).