In my opinion, outline-to-next-bland-entry is not my need, I want to a minor 
mode, when i active it in a rolo file, it can make sure i can write entry in a 
"Text Box", just like koutline's default behavor.

在 2016-06-18 22:29:01,"Robert Weiner" <[email protected]> 写道:



On Sat, Jun 18, 2016 at 9:28 AM, Feng Shu <[email protected]> wrote:
Robert Weiner <[email protected]> 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

_______________________________________________
Hyperbole-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/hyperbole-users

Reply via email to