[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "No beginning found" when using 'occur' from comments ahead of progr
From: |
Glenn Morris |
Subject: |
Re: "No beginning found" when using 'occur' from comments ahead of program in f90 mode |
Date: |
Fri, 16 Apr 2004 17:19:47 +0100 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
ECulver@scarborough.com wrote:
> Using M-x occur on any regexp gives the error message "No beginning
> found" when invoked before "PROGRAM" line in f90 mode.
I'm afraid I cannot reproduce this. Can you give a recipe starting
from `emacs -q --no-site-file' that shows the problem, please?
"No beginning-found" is a message (not an error) produced by
f90-beginning-of-subprogram, when it cannot find the start of the
program block enclosing point. You'll certainly (and rightly) see that
message if you call said function before the PROGRAM line, because
point is then not inside a program. I don't see how M-x occur could
cause this to happen, though.