hyperbole-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Hyperbole-users] Suggest: rolo should au


From: Robert Weiner
Subject: Re: [Hyperbole-users] Suggest: rolo should au
Date: Sat, 18 Jun 2016 10:29:01 -0400


On Sat, Jun 18, 2016 at 9:28 AM, Feng Shu <address@hidden> wrote:
Robert Weiner <address@hidden> writes:

> Thank you for all of the bug/issue reports.  We will look into them.
> This is the only one I am unsure of whether it is a problem.
> Certainly, you want to have text on the first line of an entry for
> outlining purposes but why does Hyperbole need to enforce this?

We don't require rolo to force enable this feature, I perfer to add
a minor mode, when I enable this mode, this feature is enabled.

> If you use {C-h h r a} to add an entry, Hyperbole automatically adds

Not everyone like to input with minibuffer, opening and editing file
may be another common operation.

So basically, you want either a dynamic or batch validity checker to ensure that all entries meet some minimum formatting standard.
That would be another library and the checks would like need to vary based on the formats that someone used.  For the specific issue you mentioned, it is easy enough to write a few line function or use a regular _expression_ search in a keyboard macro to find any errant entries.
As a result, I don't think this warrants any change in Hyperbole now and will close this issue but we will keep it in mind as we evolve the Rolo and thank you for the input.

Here is a function that you could use for your specific issue:

(defun outline-to-next-blank-entry ()
  (interactive)
  (outline-show-all)
  (if (re-search-forward "^\\(\\*+[ \t]*\\)$" nil t)
      (goto-char (match-end 1))
    (message "Any outline headlines following point are non-blank.")))

Bob


reply via email to

[Prev in Thread] Current Thread [Next in Thread]