emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-remove-occur-highlight ignores BEG and END
@ 2020-09-17 21:53 Nicholas Savage
  0 siblings, 0 replies; only message in thread
From: Nicholas Savage @ 2020-09-17 21:53 UTC (permalink / raw)
  To: emacs-orgmode

I've been exploring a bit of the code base for Org Mode and I stumbled upon something I wanted to ask the wider community about. I've googled already and didn't find anything. `org-remove-occur-highlight' in org.el takes two optional parameters (alongside a third) BEG and END, but the documentary states that they are ignored. I can see in the code as well that they have no purpose. What is the reasoning for this? The only thing I can think of that could explain it is if the optional parameters are there as placeholders so in the future if they are implemented code that uses `org-remove-occur-highlight' doesn't break since it is assuming the parameters are nil.

Am I on the right track here?

If so, I'm going to take a crack at implementing BEG and END, since I want that functionality for my own personal todo system that might end up with some improvements on Org's end.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-17 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 21:53 org-remove-occur-highlight ignores BEG and END Nicholas Savage

Code repositories for project(s) associated with this public inbox


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