bug-hyperbole
[Top][All Lists]
Advanced

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

bug#23790: Suggest, limit the role's input place


From: Robert Weiner
Subject: bug#23790: Suggest, limit the role's input place
Date: Sat, 18 Jun 2016 10:45:05 -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

On Sat, Jun 18, 2016 at 12:24 AM, Feng Shu <address@hidden> wrote:

Now rolo file can insert things in any place, such as:

-------------------------------------------
*   Feng Shu
Can write like this
  Can write like this
    6/17/2016

*
Feng Shu
Can write like this
-------------------------------------------

What about add a minor mode, which limit input just like koutliner:

-------------------------------------------
*   Feng Shu
    Can write like this
    Can write like this
    6/17/2016
------------------------------------------


--




_______________________________________________
Bug-hyperbole mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-hyperbole


reply via email to

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