unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: schury.michael@googlemail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs reftex hangs up while Scanning bibliography database
Date: Mon, 21 Sep 2015 16:04:51 +0200	[thread overview]
Message-ID: <87pp1b98cc.fsf@gnu.org> (raw)
In-Reply-To: <bd0e5416-65ec-4167-8448-2ae0e47a08b1@googlegroups.com> (schury michael's message of "Mon, 21 Sep 2015 04:54:50 -0700 (PDT)")

schury.michael@googlemail.com writes:

Hi!

> 2. Open a .tex file and press C-c [ ^M and enter b*.
>
> Now emacs shows the message:
>
> Scanning bibliography database socbib-pandoc.bib
>
> No emacs hangs up. Does anyone have an idea why ?

Yes, the b* is interpreted as a regular expression, and the search for
matching entries is done using it.  The problem here is that this
regular expression matches the empty string because it means "b zero or
many times".  Thus, the search doesn't move forward.

I'll add a check for that so that you get an error when trying to use
such an invalid regular expression.



  reply	other threads:[~2015-09-21 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 11:54 emacs reftex hangs up while Scanning bibliography database schury.michael
2015-09-21 14:04 ` Tassilo Horn [this message]
2015-09-21 21:29 ` schury.michael
  -- strict thread matches above, loose matches on Subject: below --
2015-09-21 11:51 schury.michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pp1b98cc.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=schury.michael@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).