emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Tory S. Anderson" <tory_anderson@byu.edu>
To: Kyle Meyer <kyle@kyleam.com>
Cc: orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Problem in 9.3: (next-error) broken
Date: Sat, 29 Aug 2020 13:14:00 -0600	[thread overview]
Message-ID: <87lfhx9sef.fsf@byu.edu> (raw)
In-Reply-To: <87wo1irnj1.fsf@kyleam.com> (Kyle Meyer's message of "Sat, 29 Aug 2020 02:09:38 -0400")

Perhaps I was on an old version, although I don't think it was that old.

In any case, I keep having org-occur-next-match set away from nil, and I'm actually having trouble figuring out which hook will fix it, since org-mode-hook doesn't seem to be doing it. Instead I end up manually evaluating =(setq next-error-function nil)= every time I need next-error.

Any suggestions?

Kyle Meyer <kyle@kyleam.com> writes:

> Tory S. Anderson writes:
>
>> I discovered teh cause of this error is that new versions of orgmode
>> sets next-error-function and so breaks the. I've added a hook to clear
>> this in orgmode and I can navigate my grep properly again.
>
> I'm not having any luck triggering the issue, but in any case there
> seems to be something missing from that explanation.  Org has set
> next-error-function to org-occur-next-match since dd2346134 (Implement
> next-error and previous-error functionality for sparse trees,
> 2011-01-06), and the definition of org-occur-next-match hasn't changed
> substantially since.


  reply	other threads:[~2020-08-29 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-23  0:53 Problem in 9.3: (next-error) broken Tory S. Anderson
2020-08-24 16:13 ` Tory S. Anderson
2020-08-29  6:09   ` Kyle Meyer
2020-08-29 19:14     ` Tory S. Anderson [this message]
2020-08-29 19:47       ` Kyle Meyer

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87lfhx9sef.fsf@byu.edu \
    --to=tory_anderson@byu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).