GNU bug report logs - #23790
Suggest, limit the role's input place

Previous Next

Package: hyperbole;

Reported by: "Feng Shu" <tumashu <at> 163.com>

Date: Sat, 18 Jun 2016 04:40:01 UTC

Severity: normal

Done: Mats Lidell <matsl <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23790 in the body.
You can then email your comments to 23790 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-hyperbole <at> gnu.org:
bug#23790; Package hyperbole. (Sat, 18 Jun 2016 04:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Feng Shu" <tumashu <at> 163.com>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Sat, 18 Jun 2016 04:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Feng Shu" <tumashu <at> 163.com>
To: bug-hyperbole <bug-hyperbole <at> gnu.org>
Cc: Feng Shu <tumashu <at> 163.com>
Subject: Suggest, limit the role's input place
Date: Sat, 18 Jun 2016 12:24:14 +0800
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
------------------------------------------


-- 





Information forwarded to bug-hyperbole <at> gnu.org:
bug#23790; Package hyperbole. (Sat, 18 Jun 2016 14:46:02 GMT) Full text and rfc822 format available.

Message #8 received at 23790 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rsw <at> gnu.org>
To: 23790 <at> debbugs.gnu.org
Subject: Re: bug#23790: Suggest, limit the role's input place
Date: Sat, 18 Jun 2016 10:45:05 -0400
[Message part 1 (text/plain, inline)]
On Sat, Jun 18, 2016 at 9:28 AM, Feng Shu <tumashu <at> 163.com> wrote:

> Robert Weiner <rsw <at> gnu.org> 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 <tumashu <at> 163.com> 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
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 23790 <at> debbugs.gnu.org and "Feng Shu" <tumashu <at> 163.com> Request was from Mats Lidell <matsl <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 14 Oct 2020 21:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Nov 2020 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.