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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: hyperbole; Reported by: "Feng Shu" <tumashu@HIDDEN>; dated Sat, 18 Jun 2016 04:40:01 UTC; Maintainer for hyperbole is bug-hyperbole@HIDDEN.

Message received at 23790 <at> debbugs.gnu.org:


Received: (at 23790) by debbugs.gnu.org; 18 Jun 2016 14:45:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 18 10:45:47 2016
Received: from localhost ([127.0.0.1]:45274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bEHVK-0002Xl-NM
	for submit <at> debbugs.gnu.org; Sat, 18 Jun 2016 10:45:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57007)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1bEHVJ-0002XK-M6
 for 23790 <at> debbugs.gnu.org; Sat, 18 Jun 2016 10:45:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rsw@HIDDEN>) id 1bEHVB-0007bE-4B
 for 23790 <at> debbugs.gnu.org; Sat, 18 Jun 2016 10:45:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58606)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1bEHVB-0007b2-0C
 for 23790 <at> debbugs.gnu.org; Sat, 18 Jun 2016 10:45:37 -0400
Received: from mail-oi0-f54.google.com ([209.85.218.54]:36013)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1bEHV9-0005G6-Cb
 for 23790 <at> debbugs.gnu.org; Sat, 18 Jun 2016 10:45:35 -0400
Received: by mail-oi0-f54.google.com with SMTP id p204so155677538oih.3
 for <23790 <at> debbugs.gnu.org>; Sat, 18 Jun 2016 07:45:35 -0700 (PDT)
X-Gm-Message-State: ALyK8tLIUg7CcnY3n5GwcinJCOIJm9qYZV3Pkyr8H+pBnRgP4VeUAlrQA6f2kIPnIqP4WogPJ1QOBHrJmXw52g==
X-Received: by 10.157.10.70 with SMTP id 64mr4774940otg.131.1466261134580;
 Sat, 18 Jun 2016 07:45:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.236.73 with HTTP; Sat, 18 Jun 2016 07:45:05 -0700 (PDT)
In-Reply-To: <87mvmjqg41.fsf@HIDDEN>
References: <87mvmjqg41.fsf@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Sat, 18 Jun 2016 10:45:05 -0400
X-Gmail-Original-Message-ID: <CA+OMD9hoUqX5SOVd3ggowC-Q63qE2z6qcdDnDTocj9tuTwi=9A@HIDDEN>
Message-ID: <CA+OMD9hoUqX5SOVd3ggowC-Q63qE2z6qcdDnDTocj9tuTwi=9A@HIDDEN>
Subject: Re: bug#23790: Suggest, limit the role's input place
To: 23790 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary=001a1136e7da132a6a05358e86bf
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -3.9 (---)
X-Debbugs-Envelope-To: 23790
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: rswgnu@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.4 (------)

--001a1136e7da132a6a05358e86bf
Content-Type: text/plain; charset=UTF-8

On Sat, Jun 18, 2016 at 9:28 AM, Feng Shu <tumashu@HIDDEN> wrote:

> Robert Weiner <rsw@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 <tumashu@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
> Bug-hyperbole@HIDDEN
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>

--001a1136e7da132a6a05358e86bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span class=3D"im" style=3D"font-size:12.8px">On Sat, Jun =
18, 2016 at 9:28 AM, Feng Shu=C2=A0<span dir=3D"ltr">&lt;<a href=3D"mailto:=
tumashu@HIDDEN" target=3D"_blank">tumashu@HIDDEN</a>&gt;</span>=C2=A0wrot=
e:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,=
204);padding-left:1ex">Robert Weiner &lt;<a href=3D"mailto:rsw@HIDDEN" tar=
get=3D"_blank">rsw@HIDDEN</a>&gt; writes:<br><br>&gt; Thank you for all of=
 the bug/issue reports.=C2=A0 We will look into them.<br>&gt; This is the o=
nly one I am unsure of whether it is a problem.<br>&gt; Certainly, you want=
 to have text on the first line of an entry for<br>&gt; outlining purposes =
but why does Hyperbole need to enforce this?<br><br>We don&#39;t require ro=
lo to force enable this feature, I perfer to add<br>a minor mode, when I en=
able this mode, this feature is enabled.<br><br>&gt; If you use {C-h h r a}=
 to add an entry, Hyperbole automatically adds<br><br>Not everyone like to =
input with minibuffer, opening and editing file<br>may be another common op=
eration.</blockquote><div><br></div></span><div style=3D"font-size:12.8px">=
So basically, you want either a dynamic or batch validity checker to ensure=
 that all entries meet some minimum formatting standard.</div><div style=3D=
"font-size:12.8px">That would be another library and the checks would like =
need to vary based on the formats that someone used.=C2=A0 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=
.</div><div style=3D"font-size:12.8px">As a result, I don&#39;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.</div><di=
v style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">Here=
 is a function that you could use for your specific issue:</div><div style=
=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px"><div>(defun=
 outline-to-next-blank-entry ()</div><div>=C2=A0 (interactive)</div><div>=
=C2=A0 (outline-show-all)</div><div>=C2=A0 (if (re-search-forward &quot;^\\=
(\\*+[ \t]*\\)$&quot; nil t)</div><div>=C2=A0 =C2=A0 =C2=A0 (goto-char (mat=
ch-end 1))</div><div>=C2=A0 =C2=A0 (message &quot;Any outline headlines fol=
lowing point are non-blank.&quot;)))</div></div><div style=3D"font-size:12.=
8px"><br></div><div style=3D"font-size:12.8px">Bob</div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Sat, Jun 18, 2016 at 12:24 AM, Fe=
ng Shu <span dir=3D"ltr">&lt;<a href=3D"mailto:tumashu@HIDDEN" target=3D"_=
blank">tumashu@HIDDEN</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex"><br>
Now rolo file can insert things in any place, such as:<br>
<br>
-------------------------------------------<br>
*=C2=A0 =C2=A0Feng Shu<br>
Can write like this<br>
=C2=A0 Can write like this<br>
=C2=A0 =C2=A0 6/17/2016<br>
<br>
*<br>
Feng Shu<br>
Can write like this<br>
-------------------------------------------<br>
<br>
What about add a minor mode, which limit input just like koutliner:<br>
<br>
-------------------------------------------<br>
*=C2=A0 =C2=A0Feng Shu<br>
=C2=A0 =C2=A0 Can write like this<br>
=C2=A0 =C2=A0 Can write like this<br>
=C2=A0 =C2=A0 6/17/2016<br>
------------------------------------------<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
--<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Bug-hyperbole mailing list<br>
<a href=3D"mailto:Bug-hyperbole@HIDDEN">Bug-hyperbole@HIDDEN</a><br>
<a href=3D"https://lists.gnu.org/mailman/listinfo/bug-hyperbole" rel=3D"nor=
eferrer" target=3D"_blank">https://lists.gnu.org/mailman/listinfo/bug-hyper=
bole</a><br>
</font></span></blockquote></div><br></div></div>

--001a1136e7da132a6a05358e86bf--




Information forwarded to bug-hyperbole@HIDDEN:
bug#23790; Package hyperbole. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jun 2016 04:39:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 18 00:39:04 2016
Received: from localhost ([127.0.0.1]:44673 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bE82B-0003ET-T7
	for submit <at> debbugs.gnu.org; Sat, 18 Jun 2016 00:39:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tumashu@HIDDEN>) id 1bE828-0003Dz-OE
 for submit <at> debbugs.gnu.org; Sat, 18 Jun 2016 00:39:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tumashu@HIDDEN>) id 1bE822-000389-N9
 for submit <at> debbugs.gnu.org; Sat, 18 Jun 2016 00:38:55 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39127)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tumashu@HIDDEN>) id 1bE822-000385-KH
 for submit <at> debbugs.gnu.org; Sat, 18 Jun 2016 00:38:54 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50756)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tumashu@HIDDEN>) id 1bE820-00014c-JW
 for bug-hyperbole@HIDDEN; Sat, 18 Jun 2016 00:38:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tumashu@HIDDEN>) id 1bE81u-000370-IB
 for bug-hyperbole@HIDDEN; Sat, 18 Jun 2016 00:38:51 -0400
Received: from m12-16.163.com ([220.181.12.16]:45446)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tumashu@HIDDEN>) id 1bE81t-00036t-RW
 for bug-hyperbole@HIDDEN; Sat, 18 Jun 2016 00:38:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;
 s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=iSbpZ
 YmQLu41l1DjuudsQJGSMrGJNZ9pSQb/rSTSLTk=; b=fV70ltT3ljK3m+lxlGbYU
 cxFwv16qruXiI7suqBodEcjBgAf5w4Ib3eukegtJ6As3w5ed/HoXY+jLC3bDav4J
 9JLyiaFdnGmPdJqNaNFyn2XxaSwH8Nmk0gATFwohtewLo1dX3HlcHaH8DG+HfIVu
 2OjeltZJEtufJa+MtcU/YU=
Received: from tumashu (unknown [120.52.27.101])
 by smtp12 (Coremail) with SMTP id EMCowAAXj7dR0GRXjQSmBA--.16476S2;
 Sat, 18 Jun 2016 12:38:41 +0800 (CST)
From: "Feng Shu" <tumashu@HIDDEN>
To: bug-hyperbole <bug-hyperbole@HIDDEN>
Subject: Suggest, limit the role's input place
Date: Sat, 18 Jun 2016 12:24:14 +0800
Message-ID: <87mvmjqg41.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-CM-TRANSID: EMCowAAXj7dR0GRXjQSmBA--.16476S2
X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73
 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUUManUUUUU
X-Originating-IP: [120.52.27.101]
X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiRRKM1FWBRFFQhwAAsZ
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
Cc: Feng Shu <tumashu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


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


-- 





Acknowledgement sent to "Feng Shu" <tumashu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-hyperbole@HIDDEN. Full text available.
Report forwarded to bug-hyperbole@HIDDEN:
bug#23790; Package hyperbole. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 18 Jun 2016 15:00:02 UTC

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