When I use comint-history-isearch-backward-regexp (M-r) and I mistype something so it will not be found Emacs starts searching backward for 500 results before giving up. I cannot Control-g out so it basically freezes Emacs for around 10 seconds. I tried using (setq comint-input-ring-size 200) in the shell buffer and confirmed I had set it but it still tries to search back 500. Also a lot of the time it will restart the search after it hits 500 at zero, so I have to hit Control-g to end it. I am using Emacs version 24 (not sure if the same problem exists on 23) on a Mac.

link|improve this question
You might also have better luck posting to the help-gnu-emacs list (at) gnu.org . – Jon O Feb 8 at 3:42
@shellter Please don't suggest reposting; the question is in the process of being migrated. Jacob: since this is a not a programming question, it is likely to be migrated to Super User; do not repost there! (But since this looks like a bug — Emacs shouldn't freeze like this — you might indeed have better luck on the mailing list.) – Gilles Feb 8 at 10:38
could you provide examples of some regexes that trigger this, or is it a "this will happen with any regex" issue? – jeremiahd Feb 8 at 17:28
any regex. If it is something that matches then it will find it, so if i had previously done an ls it will pull up the ls. But if I typed 'oanetuh' it keeps cycling. – jacob Feb 12 at 15:43
feedback

migrated from stackoverflow.com Feb 8 at 13:46

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.