GNU bug report logs - #36941
Please include option to link to maildir files

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: Jean Louis <bugs@HIDDEN>; dated Tue, 6 Aug 2019 01:22:01 UTC; Maintainer for hyperbole is bug-hyperbole@HIDDEN.

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


Received: (at 36941) by debbugs.gnu.org; 26 Aug 2019 20:39:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 26 16:39:31 2019
Received: from localhost ([127.0.0.1]:47267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i2Llz-0003bO-EP
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2019 16:39:31 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:34501)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1i2Llx-0003b8-IR
 for 36941 <at> debbugs.gnu.org; Mon, 26 Aug 2019 16:39:30 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.207])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000320F7.000000005D64437B.000040BC; Mon, 26 Aug 2019 13:39:23 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C2264.000000005D64437A.000006CE; Mon, 26 Aug 2019 22:39:22 +0200
Date: Mon, 26 Aug 2019 22:39:22 +0200
From: Jean Louis <bugs@HIDDEN>
To: Robert Weiner <rswgnu@HIDDEN>
Subject: Re: bug#36941: Want programmable parameterized link buttons: (Was:
 Please include option to link to maildir files)
Message-ID: <20190826203922.GH30224@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
 <20190807072002.GD15744@HIDDEN>
 <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
 <20190825212518.GC12550@HIDDEN>
 <CBE4D3E5-5F2A-4C96-B40F-F58BAF21F49B@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CBE4D3E5-5F2A-4C96-B40F-F58BAF21F49B@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: hyperbole-users <hyperbole-users@HIDDEN>, 36941 <at> debbugs.gnu.org
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: -1.0 (-)

* Robert Weiner <rswgnu@HIDDEN> [2019-08-26 01:23]:
> The .hypb file for a button is always in the same directory as the
> Button’s file, so just take its dirne and append .hypb.

Thanks I get it.
Jean




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

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


Received: (at 36941) by debbugs.gnu.org; 25 Aug 2019 23:22:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 25 19:22:58 2019
Received: from localhost ([127.0.0.1]:45240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i21qb-0007Lj-Nl
	for submit <at> debbugs.gnu.org; Sun, 25 Aug 2019 19:22:58 -0400
Received: from mail-oi1-f173.google.com ([209.85.167.173]:38845)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rswgnu@HIDDEN>) id 1i21qZ-0007LX-TL
 for 36941 <at> debbugs.gnu.org; Sun, 25 Aug 2019 19:22:56 -0400
Received: by mail-oi1-f173.google.com with SMTP id q8so10522221oij.5
 for <36941 <at> debbugs.gnu.org>; Sun, 25 Aug 2019 16:22:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=70v6raAAaoqEIbOaILDLMchcBAwfPttVnnrtp1lxa78=;
 b=NJ2nS8FXy35G4fiox8h6F/LAGraofEn//IEQDuR0gQLTUEA3fnVwHx+p2MdLU3rPUJ
 u19hpUoVvtH1LJdwXJ5VbJ6o7tzfDSULG/kPKy4Wh/Uf0WEMd8KNdoI0rTOLIgCHAXm8
 wKOV3fzRGExav/jtPMUvTzXhJgsfRbOP92LMp6n3uh610nIVZEUng+j2RRlv7hcuY4kK
 Ixv1YIEKS5j9EwEU2yCw0In/GRXoi7g+xzZtYhQ0OC4KFxW/039kcrEa2zNQ0IZe2oZr
 xCCvdQ6K9mJ8e7yZo80CGBcPOX4I0kszIkl0XkJ1T/FnnRsLk0+vj2/0e1nwL0Vpb/4r
 mhmw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=70v6raAAaoqEIbOaILDLMchcBAwfPttVnnrtp1lxa78=;
 b=R/tWfxEA2KJVvi5mG2KbKMDKRdeDN06uxfn/YHWq36zZoihp4gpTVgn44uetxdJ42g
 xjQrGA8ZC2IX3y06SfCZw9tSpaeyy26365Cm/94JScaokRO7guGkh9ZGEGM2frqwjHBI
 BQWo/Hcv73z6EyIjHBJX/bG9z7iwtPoBOeXIeMutnpyiwKHR/GvGZw7ze7JUq8skiw9/
 Mj5yEcuiBur8FxZVplVcCXWWu61OU70YnU53xuw8lvo/F2Y9jLDTDzTP6fApaNtgVHbs
 Blo34eMiSc4ehjbRMT9Ck/sVflDuINVyIzHZ2FsktMvizSQsZN+PeWUzBiCgoheLcJVO
 1ODg==
X-Gm-Message-State: APjAAAV3I3vKESnqLACkRTxiLwbswRabettj4Iv+d5+Yu2ELc8sVhEIe
 fhH0lqeJvE4/OG+JlWujuZbaIhBS
X-Google-Smtp-Source: APXvYqxAzl5JfnarEQ1yMnGuRFFU9XmzGzJarEV4R5ahKDYG1Cv8JTfT8oL0unj/S9S3NAKOWCYFsw==
X-Received: by 2002:aca:b02:: with SMTP id 2mr10696452oil.79.1566775369778;
 Sun, 25 Aug 2019 16:22:49 -0700 (PDT)
Received: from ?IPv6:2600:100d:b15e:ba73:2dc8:5c4e:33eb:c0ae?
 ([2600:100d:b15e:ba73:2dc8:5c4e:33eb:c0ae])
 by smtp.gmail.com with ESMTPSA id c1sm2759686oic.31.2019.08.25.16.22.48
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 25 Aug 2019 16:22:48 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (1.0)
Subject: Re: bug#36941: Want programmable parameterized link buttons: (Was:
 Please include option to link to maildir files)
From: Robert Weiner <rswgnu@HIDDEN>
X-Mailer: iPhone Mail (16E227)
In-Reply-To: <20190825212518.GC12550@HIDDEN>
Date: Sun, 25 Aug 2019 18:22:46 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <CBE4D3E5-5F2A-4C96-B40F-F58BAF21F49B@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
 <20190807072002.GD15744@HIDDEN>
 <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
 <20190825212518.GC12550@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: hyperbole-users <hyperbole-users@HIDDEN>, 36941 <at> debbugs.gnu.org
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: -1.0 (-)

The .hypb file for a button is always in the same directory as the Button=E2=
=80=99s file, so just take its dirne and append .hypb.

-- Bob

> On Aug 25, 2019, at 4:25 PM, Jean Louis <bugs@HIDDEN> wrote:
>=20
> This is great Robert, thank you.
>=20
> Myself I am thinking in terms of HyperScope as envisioned by Doug
> Engelbart, so in the mean time I have started building a system.
>=20
> My system is based on the database.
>=20
> Do you think that I can bind .hypb file to certain key which is not a
> file?
>=20
> For example I have database table hlinks with hlinks_id and I would
> like to bind .hypb maybe also as a string to the hlinks_text database
> field.
>=20
> Is there such function already in Hyperbole, to tell "where is the
> .hypb" file? I could place it temporarily maybe in any directory and
> then after usage delete it automatically.
>=20
> Does that exist?
>=20
> Jean
>=20
> * Robert Weiner <rsw@HIDDEN> [2019-08-24 07:12]:
>> FYI, the following behavior is implemented in my working copy of Hyperbol=
e
>> but not yet released anywhere.  It will be in the next test release.  Usi=
ng
>> what is described below together with globally labeled/named implicit
>> buttons, you can create in-buffer, parameterized Action Buttons that you
>> can invoke from anywhere by name or by pressing the Action Key on them.  I=

>> hope this will meet the bulk of your needs and be easy to use.
>>=20
>> ------
>> =46rom the DEMO file:
>>=20
>> ** Action Buttons
>>=20
>> A new feature of Hyperbole is a universal syntax for creating implicit
>> buttons of any existing type, known as Action Buttons.  Such buttons are
>> delimited by angle brackets, < > and come in three forms:
>>=20
>>  1. action type invocations - these begin with an action type name (from
>> the
>>     list displayed by {C-h h d t a RET}) and are followed by any needed
>>     arguments to form the action, e.g.
>>=20
>>          <link-to-file-line ${hyperb:dir}/hact.el 40>
>>=20
>>  2. function calls - these are similar to action type invocations but beg=
in
>>     with an Elisp function name rather than an action type name, e.g.
>>=20
>>          <find-file-other-window /tmp>
>>=20
>>  3. variable displays - these consist of just an Elisp variable name and
>>     display a message with the variable name and value, e.g.
>>=20
>>          <fill-column>
>>=20
>> Since implicit buttons can be labeled with a name and placed in the globa=
l
>> button file for invocation by name, you can give short names to any such
>> buttons you want to invoke frequently.
>>=20
>> An Action Button is recognized only if the first name within the angle
>> brackets is an existing action type or Elisp symbol.  Otherwise, other
>> implicit button types will be tested and may activate instead.
>>=20
>> With Action Buttons you need not remember any special syntax for each typ=
e
>> of
>> implicit button.  You can freely embed them in any type of text and use t=
he
>> Action and Assist keys on them as you do with any other type of implicit
>> button.
>=20
>=20
>=20
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole@HIDDEN
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole




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

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


Received: (at 36941) by debbugs.gnu.org; 25 Aug 2019 21:25:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 25 17:25:28 2019
Received: from localhost ([127.0.0.1]:45194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i200t-0003sT-Su
	for submit <at> debbugs.gnu.org; Sun, 25 Aug 2019 17:25:28 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:37097)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1i200r-0003sG-Pb
 for 36941 <at> debbugs.gnu.org; Sun, 25 Aug 2019 17:25:26 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.21])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000320F3.000000005D62FCBF.00000946; Sun, 25 Aug 2019 14:25:19 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C2264.000000005D62FCBE.00003175; Sun, 25 Aug 2019 23:25:18 +0200
Date: Sun, 25 Aug 2019 23:25:18 +0200
From: Jean Louis <bugs@HIDDEN>
To: rswgnu@HIDDEN
Subject: Re: bug#36941 Want programmable parameterized link buttons: (Was:
 Please include option to link to maildir files)
Message-ID: <20190825212518.GC12550@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
 <20190807072002.GD15744@HIDDEN>
 <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: hyperbole-users <hyperbole-users@HIDDEN>, 36941 <at> debbugs.gnu.org
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: -1.0 (-)

This is great Robert, thank you.

Myself I am thinking in terms of HyperScope as envisioned by Doug
Engelbart, so in the mean time I have started building a system.

My system is based on the database.

Do you think that I can bind .hypb file to certain key which is not a
file?

For example I have database table hlinks with hlinks_id and I would
like to bind .hypb maybe also as a string to the hlinks_text database
field.

Is there such function already in Hyperbole, to tell "where is the
.hypb" file? I could place it temporarily maybe in any directory and
then after usage delete it automatically.

Does that exist?

Jean

* Robert Weiner <rsw@HIDDEN> [2019-08-24 07:12]:
> FYI, the following behavior is implemented in my working copy of Hyperbole
> but not yet released anywhere.  It will be in the next test release.  Using
> what is described below together with globally labeled/named implicit
> buttons, you can create in-buffer, parameterized Action Buttons that you
> can invoke from anywhere by name or by pressing the Action Key on them.  I
> hope this will meet the bulk of your needs and be easy to use.
> 
> ------
> From the DEMO file:
> 
> ** Action Buttons
> 
> A new feature of Hyperbole is a universal syntax for creating implicit
> buttons of any existing type, known as Action Buttons.  Such buttons are
> delimited by angle brackets, < > and come in three forms:
> 
>   1. action type invocations - these begin with an action type name (from
> the
>      list displayed by {C-h h d t a RET}) and are followed by any needed
>      arguments to form the action, e.g.
> 
>           <link-to-file-line ${hyperb:dir}/hact.el 40>
> 
>   2. function calls - these are similar to action type invocations but begin
>      with an Elisp function name rather than an action type name, e.g.
> 
>           <find-file-other-window /tmp>
> 
>   3. variable displays - these consist of just an Elisp variable name and
>      display a message with the variable name and value, e.g.
> 
>           <fill-column>
> 
> Since implicit buttons can be labeled with a name and placed in the global
> button file for invocation by name, you can give short names to any such
> buttons you want to invoke frequently.
> 
> An Action Button is recognized only if the first name within the angle
> brackets is an existing action type or Elisp symbol.  Otherwise, other
> implicit button types will be tested and may activate instead.
> 
> With Action Buttons you need not remember any special syntax for each type
> of
> implicit button.  You can freely embed them in any type of text and use the
> Action and Assist keys on them as you do with any other type of implicit
> button.




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

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


Received: (at 36941) by debbugs.gnu.org; 24 Aug 2019 05:12:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 24 01:12:24 2019
Received: from localhost ([127.0.0.1]:41485 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i1OLg-00010A-8n
	for submit <at> debbugs.gnu.org; Sat, 24 Aug 2019 01:12:24 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43139)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1i1OLe-0000zu-D5
 for 36941 <at> debbugs.gnu.org; Sat, 24 Aug 2019 01:12:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58125)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1i1OLZ-0003ST-Af
 for 36941 <at> debbugs.gnu.org; Sat, 24 Aug 2019 01:12:17 -0400
Received: from mail-lj1-f175.google.com ([209.85.208.175]:41939)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1i1OLY-0001QE-5D
 for 36941 <at> debbugs.gnu.org; Sat, 24 Aug 2019 01:12:16 -0400
Received: by mail-lj1-f175.google.com with SMTP id m24so10640897ljg.8
 for <36941 <at> debbugs.gnu.org>; Fri, 23 Aug 2019 22:12:16 -0700 (PDT)
X-Gm-Message-State: APjAAAXXNNH2Dkd95rg/bEVpQCDimKp4dYnUo7+7ztpG4WUc87LkrieL
 uVWZIbPmmjkadhCAT0SUcYo+PXnPSeRNvdAihGs=
X-Google-Smtp-Source: APXvYqxCx7X/AFWHmAs1jWax/EgJLzfPpHkxgTYJOLsaMrwMaU530WmhcUhn//beaJ6WIrp7LlN7o4imRANiTz8kkHk=
X-Received: by 2002:a2e:9417:: with SMTP id i23mr4934204ljh.12.1566623534848; 
 Fri, 23 Aug 2019 22:12:14 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
 <20190807072002.GD15744@HIDDEN>
In-Reply-To: <20190807072002.GD15744@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Sat, 24 Aug 2019 01:11:47 -0400
X-Gmail-Original-Message-ID: <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
Message-ID: <CA+OMD9hgFctrN9Cb+kBOwhCzucy5G7sJJ10EfrjYuWndOWpLeA@HIDDEN>
Subject: Re: bug#36941 Want programmable parameterized link buttons: (Was:
 Please include option to link to maildir files)
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000004aa0a60590d5f737"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: hyperbole-users <hyperbole-users@HIDDEN>, 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--0000000000004aa0a60590d5f737
Content-Type: text/plain; charset="UTF-8"

On Wed, Aug 7, 2019 at 3:21 AM Jean Louis <bugs@HIDDEN> wrote:

> * Robert Weiner <rsw@HIDDEN> [2019-08-07 04:33]:
> > On Tue, Aug 6, 2019 at 4:29 AM Jean Louis <bugs@HIDDEN> wrote:
> >
> > >
> > > That is why I suggested making customization group for buttons. As
> > > that would easy everything. One can add Elisp function and link type is
> > > added.
>
> Request is for simple customization option so that new links and
> button types can easily be customized and created.
>
> For example I could add a new link with protocol "SMS" and Value Menu
> Format: SMS:%s
>
> Or maybe new protocOl "gpatent" meaning Google Patent with value
> "https://www.google.com/patents/US%s"
>
> Then if I make this link in Org:
>
> [[gpatent:481550][Ore washer and concentrator, by Arthur L. Dana]]
>
> It will be shown as "Ore washer and concentrator, by Arthur L. Dana"
> and if I click on this link, I can see the Google Patent online.
>
> However, web search is not as important: More important is elisp
> functions. Than I would not need to work with Hyperbole intervals.
>
> But functions are not well implemented in Org. They allow only
> function without parameter.
>
> What we need is link that allows parameters, which can be customized
> to run on such parameter.
>
> Synonym is <[Media]>: "~/Media"
>
> However, that implementation does not look well.
>
> As Hyperbola us using special file outside of the text to define
> links, I see no reason why such links, even parameters could not be
> defined in that separate file.
>
> Even simple words could be defined in that separate file to be links
> for something. Isn't it?
>
> I could define word GNU in the directory, to be the link in the file
> about-gnu.txt to https://www.gnu.org
>
> Then for example, I could define word "notes" to be link to the action
> "notes" with parameter ID: 123.
>

Hi Jean:

FYI, the following behavior is implemented in my working copy of Hyperbole
but not yet released anywhere.  It will be in the next test release.  Using
what is described below together with globally labeled/named implicit
buttons, you can create in-buffer, parameterized Action Buttons that you
can invoke from anywhere by name or by pressing the Action Key on them.  I
hope this will meet the bulk of your needs and be easy to use.

------
From the DEMO file:

** Action Buttons

A new feature of Hyperbole is a universal syntax for creating implicit
buttons of any existing type, known as Action Buttons.  Such buttons are
delimited by angle brackets, < > and come in three forms:

  1. action type invocations - these begin with an action type name (from
the
     list displayed by {C-h h d t a RET}) and are followed by any needed
     arguments to form the action, e.g.

          <link-to-file-line "${hyperb:dir}/hact.el" 40>

  2. function calls - these are similar to action type invocations but begin
     with an Elisp function name rather than an action type name, e.g.

          <find-file-other-window "/tmp">

  3. variable displays - these consist of just an Elisp variable name and
     display a message with the variable name and value, e.g.

          <fill-column>

Since implicit buttons can be labeled with a name and placed in the global
button file for invocation by name, you can give short names to any such
buttons you want to invoke frequently.

An Action Button is recognized only if the first name within the angle
brackets is an existing action type or Elisp symbol.  Otherwise, other
implicit button types will be tested and may activate instead.

With Action Buttons you need not remember any special syntax for each type
of
implicit button.  You can freely embed them in any type of text and use the
Action and Assist keys on them as you do with any other type of implicit
button.

Bob

--0000000000004aa0a60590d5f737
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace"><span style=3D"font-family:Arial,Helvetica,sa=
ns-serif">On Wed, Aug 7, 2019 at 3:21 AM Jean Louis &lt;bugs@HIDDEN&gt=
; wrote:</span><br></div></div><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">* Robert Weiner &lt;<a href=3D"mailto:rsw@=
gnu.org" target=3D"_blank">rsw@HIDDEN</a>&gt; [2019-08-07 04:33]:<br>
&gt; On Tue, Aug 6, 2019 at 4:29 AM Jean Louis &lt;bugs@HIDDEN&gt; wro=
te:<br>
&gt; <br>
&gt; &gt;<br>
&gt; &gt; That is why I suggested making customization group for buttons. A=
s<br>
&gt; &gt; that would easy everything. One can add Elisp function and link t=
ype is<br>
&gt; &gt; added.<br>
<br>
Request is for simple customization option so that new links and<br>
button types can easily be customized and created.<br>
<br>
For example I could add a new link with protocol &quot;SMS&quot; and Value =
Menu<br>
Format: SMS:%s<br>
<br>
Or maybe new protoc<span class=3D"gmail_default" style=3D"font-family:monos=
pace,monospace">O</span>l &quot;gpatent&quot; meaning Google Patent with va=
lue<br>
&quot;<a href=3D"https://www.google.com/patents/US%s" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.google.com/patents/US%s</a>&quot;<br>
<br>
Then if I make this link in Org:<br>
<br>
[[gpatent:481550][Ore washer and concentrator, by Arthur L. Dana]]<br>
<br>
It will be shown as &quot;Ore washer and concentrator, by Arthur L. Dana&qu=
ot;<br>
and if I click on this link, I can see the Google Patent online.<br>
<br>
However, web search is not as important: More important is elisp<br>
functions. Than I would not need to work with Hyperbole intervals.<br>
<br>
But functions are not well implemented in Org. They allow only<br>
function without parameter.<br>
<br>
What we need is link that allows parameters, which can be customized<br>
to run on such parameter.<br>
<br>
Synonym is &lt;[Media]&gt;: &quot;~/Media&quot;<br>
<br>
However, that implementation does not look well.<br>
<br>
As Hyperbola us using special file outside of the text to define<br>
links, I see no reason why such links, even parameters could not be<br>
defined in that separate file.<br>
<br>
Even simple words could be defined in that separate file to be links<br>
for something. Isn&#39;t it?<br>
<br>
I could define word GNU in the directory, to be the link in the file<br>
about-gnu.txt to <a href=3D"https://www.gnu.org" rel=3D"noreferrer" target=
=3D"_blank">https://www.gnu.org</a><br>
<br>
Then for example, I could define word &quot;notes&quot; to be link to the a=
ction<br>
&quot;notes&quot; with parameter ID: 123.<br></blockquote><div><br></div><d=
iv><div class=3D"gmail_default" style=3D"font-family:monospace,monospace">H=
i Jean:</div><br></div><div class=3D"gmail_default" style=3D"font-family:mo=
nospace,monospace">FYI, the following behavior is implemented in my working=
 copy of Hyperbole but not yet released anywhere.=C2=A0 It will be in the n=
ext test release.=C2=A0 Using what is described below together with globall=
y labeled/named implicit buttons, you can create in-buffer, parameterized A=
ction Buttons that you can invoke from anywhere by name or by pressing the =
Action Key on them.=C2=A0 I hope this will meet the bulk of your needs and =
be easy to use.</div><div class=3D"gmail_default" style=3D"font-family:mono=
space,monospace"><br></div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace">------</div><div class=3D"gmail_default" style=3D"fo=
nt-family:monospace,monospace">From the DEMO file:</div><div class=3D"gmail=
_default" style=3D"font-family:monospace,monospace"><br></div><div class=3D=
"gmail_default" style=3D"font-family:monospace,monospace">** Action Buttons=
<br><br>A new feature of Hyperbole is a universal syntax for creating impli=
cit<br>buttons of any existing type, known as Action Buttons.=C2=A0 Such bu=
ttons are<br>delimited by angle brackets, &lt; &gt; and come in three forms=
:<br><br>=C2=A0 1. action type invocations - these begin with an action typ=
e name (from the<br>=C2=A0 =C2=A0 =C2=A0list displayed by {C-h h d t a RET}=
) and are followed by any needed<br>=C2=A0 =C2=A0 =C2=A0arguments to form t=
he action, e.g.<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;link-to-file-=
line &quot;${hyperb:dir}/hact.el&quot; 40&gt;<br><br>=C2=A0 2. function cal=
ls - these are similar to action type invocations but begin<br>=C2=A0 =C2=
=A0 =C2=A0with an Elisp function name rather than an action type name, e.g.=
<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;find-file-other-window &quot=
;/tmp&quot;&gt;<br><br>=C2=A0 3. variable displays - these consist of just =
an Elisp variable name and<br>=C2=A0 =C2=A0 =C2=A0display a message with th=
e variable name and value, e.g.<br><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &=
lt;fill-column&gt;<br><br>Since implicit buttons can be labeled with a name=
 and placed in the global<br>button file for invocation by name, you can gi=
ve short names to any such<br>buttons you want to invoke frequently.<br><br=
>An Action Button is recognized only if the first name within the angle<br>=
brackets is an existing action type or Elisp symbol.=C2=A0 Otherwise, other=
<br>implicit button types will be tested and may activate instead.<br><br>W=
ith Action Buttons you need not remember any special syntax for each type o=
f<br>implicit button.=C2=A0 You can freely embed them in any type of text a=
nd use the<br>Action and Assist keys on them as you do with any other type =
of implicit<br>button.<br></div><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace">Bob</div><div class=3D"gmail_default" sty=
le=3D"font-family:monospace,monospace"><br></div></div></div>

--0000000000004aa0a60590d5f737--




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

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


Received: (at 36941) by debbugs.gnu.org; 18 Aug 2019 22:12:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 18:12:20 2019
Received: from localhost ([127.0.0.1]:58871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzTPQ-0005JK-8z
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 18:12:20 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59833)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1hzTPK-0005J4-VI
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 18:12:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39043)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1hzTPF-0003dW-SZ
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 18:12:09 -0400
Received: from mail-lf1-f42.google.com ([209.85.167.42]:33869)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1hzTPF-00013u-86
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 18:12:09 -0400
Received: by mail-lf1-f42.google.com with SMTP id b29so7543921lfq.1
 for <36941 <at> debbugs.gnu.org>; Sun, 18 Aug 2019 15:12:09 -0700 (PDT)
X-Gm-Message-State: APjAAAV/gk8OwDxwUEyOXzmE/5bVBf7MQy+ltPu7saW/kpzYKNtp1nIr
 i7zZiF7ZZ4xlSytA43Vjh6EHVCpAaGsmfS+ZcDw=
X-Google-Smtp-Source: APXvYqwVK1hy2E1LE+ZuayCKsKY1pC9eXEtgdPc3nAbGLgu0NnFw4TvU20pWCULi6k4a8LpPm3HmatZxTR1sTJHbR0Q=
X-Received: by 2002:ac2:4ac4:: with SMTP id m4mr10307286lfp.172.1566166327982; 
 Sun, 18 Aug 2019 15:12:07 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
 <20190818185915.GI1999@HIDDEN>
 <CA+OMD9gqKLo37Pvx7vq+GYg1HndLGtvrUPdeHyQ-eogZk1no7g@HIDDEN>
 <20190818195343.GD29422@HIDDEN>
In-Reply-To: <20190818195343.GD29422@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Sun, 18 Aug 2019 18:11:41 -0400
X-Gmail-Original-Message-ID: <CA+OMD9geBBQ_Krk2PKqWd7FLqd1SByDMYpmBWChLEO3pJfgZ4g@HIDDEN>
Message-ID: <CA+OMD9geBBQ_Krk2PKqWd7FLqd1SByDMYpmBWChLEO3pJfgZ4g@HIDDEN>
Subject: Re: bug#36941: Please include option to link to maildir files
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a3836a05906b83d1"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--000000000000a3836a05906b83d1
Content-Type: text/plain; charset="UTF-8"

On Sun, Aug 18, 2019 at 3:53 PM Jean Louis <bugs@HIDDEN> wrote:

> * Robert Weiner <rsw@HIDDEN> [2019-08-18 21:31]:
> > I looked at some doc for maildir, so I understand the format though your
> > examples are very helpful.  The question is how a user would link to a
> > message
>
> My suggestion is related to function link-to-mail which shall be
> expanded to link to certain message within maildir directory.
>
> I would provide the path to the message, and link would appear as I
> wish, for example <(Message from 10/10/2019)> could be link to the
> message that points to ~/Maildir/user@HIDDEN/cur/message and is
> invoking the mode by my choice, maybe maildir-message-mode or
> message-mode
>

I understand what you want now and am thinking about adding it in.

Also, thinking through a solution for your desire to specify parameterized
buttons entirely within a buffer.

You have good ideas and are finding issues that we can improve and make
Hyperbole better.

Thanks,

Bob

--000000000000a3836a05906b83d1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace"><span style=3D"font-family:Arial,Helvetica,sa=
ns-serif">On Sun, Aug 18, 2019 at 3:53 PM Jean Louis &lt;bugs@HIDDEN&g=
t; wrote:</span><br></div></div><div class=3D"gmail_quote"><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">* Robert Weiner &lt;<a href=3D"mailto:rsw=
@gnu.org" target=3D"_blank">rsw@HIDDEN</a>&gt; [2019-08-18 21:31]:<br>
&gt; I looked at some doc for maildir, so I understand the format though yo=
ur<br>
&gt; examples are very helpful.=C2=A0 The question is how a user would link=
 to a<br>
&gt; message<br><br>
My suggestion is related to function link-to-mail which shall be<br>
expanded to link to certain message within maildir directory.<br>
<br>
I would provide the path to the message, and link would appear as I<br>
wish, for example &lt;(Message from 10/10/2019)&gt; could be link to the<br=
>
message that points to ~/Maildir/<a href=3D"http://user@HIDDEN/cur/mes=
sage" rel=3D"noreferrer" target=3D"_blank">user@HIDDEN/cur/message</a>=
 and is<br>
invoking the mode by my choice, maybe maildir-message-mode or<br>
message-mode <br></blockquote><div><br></div><div class=3D"gmail_default" s=
tyle=3D"font-family:monospace,monospace">I understand what you want now and=
 am thinking about adding it in.</div><div class=3D"gmail_default" style=3D=
"font-family:monospace,monospace"><br></div><div class=3D"gmail_default" st=
yle=3D"font-family:monospace,monospace">Also, thinking through a solution f=
or your desire to specify parameterized buttons entirely within a buffer.</=
div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace">=
<br></div><div class=3D"gmail_default" style=3D"font-family:monospace,monos=
pace">You have good ideas and are finding issues that we can improve and ma=
ke Hyperbole better.</div><div class=3D"gmail_default" style=3D"font-family=
:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D"font-=
family:monospace,monospace">Thanks,</div><div class=3D"gmail_default" style=
=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_default"=
 style=3D"font-family:monospace,monospace">Bob</div><div class=3D"gmail_def=
ault" style=3D"font-family:monospace,monospace"></div></div></div>

--000000000000a3836a05906b83d1--




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

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


Received: (at 36941) by debbugs.gnu.org; 18 Aug 2019 19:53:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 15:53:55 2019
Received: from localhost ([127.0.0.1]:58686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzRFS-0001jG-Uq
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:53:55 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:54693)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1hzRFQ-0001it-Ee
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:53:53 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.237])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000021F0F.000000005D59ACC9.00001615; Sun, 18 Aug 2019 12:53:45 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C9452.000000005D59ACC7.000079E2; Sun, 18 Aug 2019 21:53:43 +0200
Date: Sun, 18 Aug 2019 21:53:43 +0200
From: Jean Louis <bugs@HIDDEN>
To: rswgnu@HIDDEN
Subject: Re: bug#36941: Please include option to link to maildir files
Message-ID: <20190818195343.GD29422@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
 <20190818185915.GI1999@HIDDEN>
 <CA+OMD9gqKLo37Pvx7vq+GYg1HndLGtvrUPdeHyQ-eogZk1no7g@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <CA+OMD9gqKLo37Pvx7vq+GYg1HndLGtvrUPdeHyQ-eogZk1no7g@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -1.0 (-)

* Robert Weiner <rsw@HIDDEN> [2019-08-18 21:31]:
> I looked at some doc for maildir, so I understand the format though your
> examples are very helpful.  The question is how a user would link to a
> message

If I am in the message, it has its filename, right? So I can just get
its file path. That is my idea on how to link to the message. It is
also very simple idea.

If I would change flag on the message to become new again, it would be
renamed by Maildir standard and be placed in Maildir/new directory,
and I would not mind loosing such link in that case.

> and how you normally read such a message (what mode do you invoke).

Right now within Emacs I am reading emails with `maildir` package.

It is invoking from message-mode derived mode maildir-message-mode.

I would suggest that it should be option which mode to invoke open
reading such message, with default to be message-mode, as such is
standard in Emacs.

Or you could make derived mode in Hyperbole for that, you could look
into maildir package and maybe make it nicer, as for example if I
invoke just message-mode on the message, I cannot reply, and there are
too many headers, some of them shall be hidden, as linking to message
is usually not for purpose of replying to the message, but to present
the message as a note to the salesman who must understand the
background of person and conversation in question.

> I would suspect you would want to link to the message when
> displaying it in some window, when on the file name in a dired
> buffer and potentially something like link to most recent message
> from <user>.  All of these require different bits of code.

No, not from dired. As from dired I can read it anyway.

My suggestion is related to function link-to-mail which shall be
expanded to link to certain message within maildir directory.

I would provide the path to the message, and link would appear as I
wish, for example <(Message from 10/10/2019)> could be link to the
message that points to ~/Maildir/user@HIDDEN/cur/message and is
invoking the mode by my choice, maybe maildir-message-mode or
message-mode 

> Have you tried using Hyperbole's drag actions to create an explicit link to
> a file?

That is about the same workflow.

I could use link-to-file and then I could make some tweaks in Emacs to
invoke certain maildir message reading mode when such message is
located in certain directory, right? Sure it would work this way.

My proposal is related to your function link-to-mail as if you have
never used Maildirs you may not be aware that it is widely used. So
when user finds link-to-mail, that is first to think how to link to
message but Maildir is not support. It is your decision on that. At
least it gives enough substantial reasons based on reality of
Maildirs, but not that it gives real demand.

There are not so many users of Maildirs that may require such
function, that may be so.

> Just type the label for the new button you want, select that label,
> depress the Action Mouse Key somewhere in the label, drag to the
> dired entry of the email message you want a link to and voila, you
> have an explicit button linked to that file.  But to make it use
> some mode, you would need a custom action type that invoked the
> mode.

Alright

Jean




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

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


Received: (at 36941) by debbugs.gnu.org; 18 Aug 2019 19:30:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 15:30:59 2019
Received: from localhost ([127.0.0.1]:58682 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzQtG-0000w2-Tf
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:30:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43781)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1hzQtF-0000vi-UQ
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:30:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36326)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1hzQtA-0003gM-Po
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:30:52 -0400
Received: from mail-lj1-f170.google.com ([209.85.208.170]:33202)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1hzQt8-00080S-Cp
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 15:30:51 -0400
Received: by mail-lj1-f170.google.com with SMTP id z17so9603910ljz.0
 for <36941 <at> debbugs.gnu.org>; Sun, 18 Aug 2019 12:30:50 -0700 (PDT)
X-Gm-Message-State: APjAAAXMRyclOdu6nBjGitLEHbxsUfC+ImvULzDEHA/0mPrXveoIRQT7
 b5P1E1Ugm1m4X9VgSWQyLsxCltnVgG0wU0VGb2U=
X-Google-Smtp-Source: APXvYqxhtSK1UcX2w3s6yy30UNldk9j100bvchDWsTVrJhEzUXBJCq76t09jPHPbLwae7HceidLGN7vUK9I679nb3Xc=
X-Received: by 2002:a2e:2a05:: with SMTP id q5mr10018973ljq.132.1566156649108; 
 Sun, 18 Aug 2019 12:30:49 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
 <20190818185915.GI1999@HIDDEN>
In-Reply-To: <20190818185915.GI1999@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Sun, 18 Aug 2019 15:30:23 -0400
X-Gmail-Original-Message-ID: <CA+OMD9gqKLo37Pvx7vq+GYg1HndLGtvrUPdeHyQ-eogZk1no7g@HIDDEN>
Message-ID: <CA+OMD9gqKLo37Pvx7vq+GYg1HndLGtvrUPdeHyQ-eogZk1no7g@HIDDEN>
Subject: Re: bug#36941: Please include option to link to maildir files
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000bb9ca50590694238"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--000000000000bb9ca50590694238
Content-Type: text/plain; charset="UTF-8"

I looked at some doc for maildir, so I understand the format though your
examples are very helpful.  The question is how a user would link to a
message and how you normally read such a message (what mode do you
invoke).  I would suspect you would want to link to the message when
displaying it in some window, when on the file name in a dired buffer and
potentially something like "link to most recent message from <user>".  All
of these require different bits of code.

Have you tried using Hyperbole's drag actions to create an explicit link to
a file?  Just type the label for the new button you want, select that
label, depress the Action Mouse Key somewhere in the label, drag to the
dired entry of the email message you want a link to and voila, you have an
explicit button linked to that file.  But to make it use some mode, you
would need a custom action type that invoked the mode.

Bob

--000000000000bb9ca50590694238
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace">I looked at some doc for maildir, so I unders=
tand the format though your examples are very helpful.=C2=A0 The question i=
s how a user would link to a message and how you normally read such a messa=
ge (what mode do you invoke).=C2=A0 I would suspect you would want to link =
to the message when displaying it in some window, when on the file name in =
a dired buffer and potentially something like &quot;link to most recent mes=
sage from &lt;user&gt;&quot;.=C2=A0 All of these require different bits of =
code.</div><div class=3D"gmail_default" style=3D"font-family:monospace,mono=
space"><br></div><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">Have you tried using Hyperbole&#39;s drag actions to create an=
 explicit link to a file?=C2=A0 Just type the label for the new button you =
want, select that label, depress the Action Mouse Key somewhere in the labe=
l, drag to the dired entry of the email message you want a link to and voil=
a, you have an explicit button linked to that file.=C2=A0 But to make it us=
e some mode, you would need a custom action type that invoked the mode.</di=
v><div class=3D"gmail_default" style=3D"font-family:monospace,monospace"><b=
r></div><div class=3D"gmail_default" style=3D"font-family:monospace,monospa=
ce">Bob</div></div></div>

--000000000000bb9ca50590694238--




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

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


Received: (at 36941) by debbugs.gnu.org; 18 Aug 2019 18:59:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 14:59:29 2019
Received: from localhost ([127.0.0.1]:58657 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzQOj-00007G-Cr
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 14:59:29 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:42953)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1hzQOh-000072-7J
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 14:59:23 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.237])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 00000000000220E6.000000005D59A005.0000108A; Sun, 18 Aug 2019 11:59:16 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C9452.000000005D59A004.00007149; Sun, 18 Aug 2019 20:59:16 +0200
Date: Sun, 18 Aug 2019 20:59:16 +0200
From: Jean Louis <bugs@HIDDEN>
To: rswgnu@HIDDEN
Subject: Re: bug#36941: Please include option to link to maildir files
Message-ID: <20190818185915.GI1999@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -1.0 (-)

* Robert Weiner <rsw@HIDDEN> [2019-08-18 19:55]:
> > 'link-to-mail'
> >      Displays a mail message with MAIL-MSG-ID from optional MAIL-FILE.
> >      See the documentation for the variable 'hmail:init-function' for
> >      information on how to specify the mail reader to use.
> >
> > MAIL-MSG-ID is not necessary for maildir messages, as it is almost
> > same as link to file, the difference would be that some headers could
> > be hidden and message or mail mode would be turned on. Messages could
> > be replied, forwarded, etc.
> >
> > Maybe some action can be used for maildirs, just skipping the
> > MAIL-MSG-ID. But it somehow need to know if it is maildir link by
> > asking the user.
> >
> 
> I am still unclear on precisely what you would want.
> 
> Do you want a Hyperbole action type that links to maildir messages where
> you would specify the full path to the maildir message file and Hyperbole
> would display the message in the mail reader that you assigned to
> hmail:reader variable?  Then you could use that in explicit button and
> implicit button type definitions.
> 
> Do you want an implicit button type that recognizes maildir message ids in
> buffers?
> 
> Something else?

Thank you Bob.

You have created `link-to-mail`. But that probably means to link to
mail message in mbox file. I cannot be so sure, as I do not use mbox
format.

Maildir format is well known, it is already standard for many pieces
of software[1][2][3][4].

As part of the `link-to-mail` function I propose that you expand the
function that it supports to link to mail file which is part of
maildir format. That is explicit button extension to your function
which does not support maildirs.

Example maildir directory is shown here:

  /home/data1/protected/Maildir/rsw@HIDDEN:
  insgesamt 12K
  drwx------ 2 4,0K 12. Aug 13:04 cur
  drwx------ 2 4,0K 23. Nov 2017  new
  drwx------ 2 4,0K 12. Aug 13:04 tmp

Example messages in `cur` are shown here:

  /home/data1/protected/Maildir/rsw@HIDDEN/cur:
  insgesamt 16K
  -rw------- 1 6,0K 23. Nov 2017  1511412843.18643_5.protected:2,S
  -rw------- 1 4,6K 11. Aug 17:58 1565607852.20344_65.protected:2,S

Thus to link to certain message in Maildir format is equivalent to
linking it to the file such as it is:

/home/data1/protected/Maildir/rsw@HIDDEN/cur/1511412843.18643_5.protected:2,S

and turning on certain mode to read such message, maybe message-mode
in read-only mode, this I do not know.

I have 300,000 messages in Maildir format, and very few in mbox
format.

Jean

Footnotes:
[1]  https://en.wikipedia.org/wiki/Maildir

[2]  https://wiki2.dovecot.org/MailboxFormat/Maildir

[3]  https://cr.yp.to/proto/maildir.html

[4]  http://www.courier-mta.org/maildir.html





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

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


Received: (at 36941) by debbugs.gnu.org; 18 Aug 2019 17:54:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 13:54:35 2019
Received: from localhost ([127.0.0.1]:58572 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzPNz-0004Xl-Fg
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:54:35 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34663)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1hzPNy-0004XX-2p
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:54:34 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34837)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1hzPNs-000831-TZ
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:54:28 -0400
Received: from mail-lj1-f172.google.com ([209.85.208.172]:40016)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1hzPNp-0002Kg-6s
 for 36941 <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:54:26 -0400
Received: by mail-lj1-f172.google.com with SMTP id e27so9437848ljb.7
 for <36941 <at> debbugs.gnu.org>; Sun, 18 Aug 2019 10:54:25 -0700 (PDT)
X-Gm-Message-State: APjAAAUKY/04JorfewyH5njautZPmyB5cs4IrjA99XH/EzBfqJej7YsH
 8FZKpjIC9FDcJJ/uEpf8I3xjwstQJCXZOG7/0HE=
X-Google-Smtp-Source: APXvYqzQTOdOZHfxXTBkaJrx+Pnb83gTK/YpaJ90y+QJ/nxrFcM8VL+hKOw8osQto+G/XsR6RlSx1vqwb2nm4lTDUzc=
X-Received: by 2002:a2e:7408:: with SMTP id p8mr8694605ljc.59.1566150863844;
 Sun, 18 Aug 2019 10:54:23 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
In-Reply-To: <courier.000000005D48D5FD.000079B0@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Sun, 18 Aug 2019 13:53:57 -0400
X-Gmail-Original-Message-ID: <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
Message-ID: <CA+OMD9gm3_4GpdG8cDEtrEhTdgqMmi9YRL1yFq6Cmud+3=d0fA@HIDDEN>
Subject: Re: bug#36941: Please include option to link to maildir files
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e77959059067e93f"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--000000000000e77959059067e93f
Content-Type: text/plain; charset="UTF-8"

On Mon, Aug 5, 2019 at 9:22 PM Jean Louis <bugs@HIDDEN> wrote:

> I use:  Editor:      GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X
> toolkit, Xaw3d scroll bars)
>
>         Hyperbole:   7.0.3
>         Sys Type:    x86_64-pc-linux-gnu
>         OS Type:     gnu/linux
>         Window Sys:  x
>         News Reader: Gnus v5.13
>
> I hope you know what are maildir messages. Each message is for itself
> within a maildir folder. I know that Emacs can display such messages.
>
> 'link-to-mail'
>      Displays a mail message with MAIL-MSG-ID from optional MAIL-FILE.
>      See the documentation for the variable 'hmail:init-function' for
>      information on how to specify the mail reader to use.
>
> MAIL-MSG-ID is not necessary for maildir messages, as it is almost
> same as link to file, the difference would be that some headers could
> be hidden and message or mail mode would be turned on. Messages could
> be replied, forwarded, etc.
>
> Maybe some action can be used for maildirs, just skipping the
> MAIL-MSG-ID. But it somehow need to know if it is maildir link by
> asking the user.
>

I am still unclear on precisely what you would want.

Do you want a Hyperbole action type that links to maildir messages where
you would specify the full path to the maildir message file and Hyperbole
would display the message in the mail reader that you assigned to
hmail:reader variable?  Then you could use that in explicit button and
implicit button type definitions.

Do you want an implicit button type that recognizes maildir message ids in
buffers?

Something else?

Bob

--000000000000e77959059067e93f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace"><span style=3D"font-family:Arial,Helvetica,sa=
ns-serif">On Mon, Aug 5, 2019 at 9:22 PM Jean Louis &lt;bugs@HIDDEN&gt=
; wrote:</span><br></div></div><div class=3D"gmail_quote"><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">I use:=C2=A0 Editor:=C2=A0 =C2=A0 =C2=A0 G=
NU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bar=
s)<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Hyperbole:=C2=A0 =C2=A07.0.3<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sys Type:=C2=A0 =C2=A0 x86_64-pc-linux-gnu<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 OS Type:=C2=A0 =C2=A0 =C2=A0gnu/linux<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Window Sys:=C2=A0 x<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 News Reader: Gnus v5.13<br>
<br>
I hope you know what are maildir messages. Each message is for itself<br>
within a maildir folder. I know that Emacs can display such messages.<br>
<br>
&#39;link-to-mail&#39;<br>
=C2=A0 =C2=A0 =C2=A0Displays a mail message with MAIL-MSG-ID from optional =
MAIL-FILE.<br>
=C2=A0 =C2=A0 =C2=A0See the documentation for the variable &#39;hmail:init-=
function&#39; for<br>
=C2=A0 =C2=A0 =C2=A0information on how to specify the mail reader to use.<b=
r>
<br>
MAIL-MSG-ID is not necessary for maildir messages, as it is almost<br>
same as link to file, the difference would be that some headers could<br>
be hidden and message or mail mode would be turned on. Messages could<br>
be replied, forwarded, etc.<br>
<br>
Maybe some action can be used for maildirs, just skipping the<br>
MAIL-MSG-ID. But it somehow need to know if it is maildir link by<br>
asking the user.<br></blockquote><div><br></div><div class=3D"gmail_default=
" style=3D"font-family:monospace,monospace">I am still unclear on precisely=
 what you would want.</div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace"><br></div><div class=3D"gmail_default" style=3D"font=
-family:monospace,monospace">Do you want a Hyperbole action type that links=
 to maildir messages where you would specify the full path to the maildir m=
essage file and Hyperbole would display the message in the mail reader that=
 you assigned to hmail:reader variable?=C2=A0 Then you could use that in ex=
plicit button and implicit button type definitions.</div><div class=3D"gmai=
l_default" style=3D"font-family:monospace,monospace"><br></div><div class=
=3D"gmail_default" style=3D"font-family:monospace,monospace">Do you want an=
 implicit button type that recognizes maildir message ids in buffers?</div>=
<div class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br>=
</div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace=
">Something else?</div><div class=3D"gmail_default" style=3D"font-family:mo=
nospace,monospace"><br></div><div class=3D"gmail_default" style=3D"font-fam=
ily:monospace,monospace">Bob</div></div></div>

--000000000000e77959059067e93f--




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

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


Received: (at 36941) by debbugs.gnu.org; 7 Aug 2019 12:11:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 08:11:23 2019
Received: from localhost ([127.0.0.1]:38150 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvKmp-0007rW-4y
	for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 08:11:23 -0400
Received: from mail-qt1-f178.google.com ([209.85.160.178]:45612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rswgnu@HIDDEN>) id 1hvKmn-0007rF-Ob
 for 36941 <at> debbugs.gnu.org; Wed, 07 Aug 2019 08:11:22 -0400
Received: by mail-qt1-f178.google.com with SMTP id x22so14609120qtp.12
 for <36941 <at> debbugs.gnu.org>; Wed, 07 Aug 2019 05:11:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=PV7fA2wLz1GDMI6wHGiKtLDiGx7gHhIDBJQ4qZKyO+w=;
 b=PAEFEdnypGLLPe9Srwn/VuhcXpAawjGnzh+wyOwYJA1ClbdQw/LIisOXtn/kpsHTqj
 XixFWT3YP8FPm7u9SBnP6/OULyDy+WtsNRbJHMEhfGEFmbJo6JKh9jqR6XEQ58Z0hgOt
 P+KbyPg1pavRz2c8SMJtrNcFDCdWot1stqS2+uGW0BNX8WjxfkRFlgWMPtjjHdCyMyt5
 LAduyQTNVhlrB7ka+tdnNKME7o4KBaNb4dg2bxTqT1OwDdL65DIYliQvX3xMVJQLw8ZU
 i52ZKbrTiPrsLPeU1ecd1vOn4WJKmLSe0g3tWEzq1hO4IyRbdr7qzE0/uqG//5xWxy3Y
 AfDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=PV7fA2wLz1GDMI6wHGiKtLDiGx7gHhIDBJQ4qZKyO+w=;
 b=s+sDmX7PUqm0y1qhDlWgV4eMSDTW/7xZilsICWx/qlFDU9VcW8fXIe0gGgRLFduQXq
 v3JeU3FmT+DzQ1Lh71bnXgi1hSn9g7Tp7kYURoY67avxEM800VoiRKMMU7rSkgFbgNNN
 cKr3+Peu2LHchcpqY/ZIuLa5rFog/qdB+dTzuUnhr5HlgPDTN5ISGyzOJrJdOyezj92t
 qn6mrivtQl3Som7DVh1+377PlmCI/RqgHLtBRZfsySQzqtxDBenRuyEx4KYFDW3KrRWw
 baUarFfVHTVNaZ/vlV/CPoCjoVIwd1xTOxIQ4eb5aKHquAdw4PS7RA2ciLl+A47evBk+
 cCkg==
X-Gm-Message-State: APjAAAV8NcFXX4+tvYqtg7lwyWMu+rmtsBzCGvkFsiKD/B5UjqMa00Z+
 +wEgUhyMu7FuecZeqJ9rDLfD7VLd
X-Google-Smtp-Source: APXvYqzBVV6xh73wDyrd/JaTY6qx3d3IIb72o2NDPsI5DKDPzv+fKMJs2t+H0rYR1IeQpbEl8aUEhA==
X-Received: by 2002:a0c:98e9:: with SMTP id g38mr7606854qvd.187.1565179875779; 
 Wed, 07 Aug 2019 05:11:15 -0700 (PDT)
Received: from [192.168.1.4] (ool-44c12231.dyn.optonline.net. [68.193.34.49])
 by smtp.gmail.com with ESMTPSA id
 p59sm40370449qtd.75.2019.08.07.05.11.14
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 07 Aug 2019 05:11:15 -0700 (PDT)
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (1.0)
Subject: Re: bug#36941: Please include option to link to maildir files
From: Robert Weiner <rswgnu@HIDDEN>
X-Mailer: iPhone Mail (16E227)
In-Reply-To: <20190807072002.GD15744@HIDDEN>
Date: Wed, 7 Aug 2019 08:11:10 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <605F994B-89B7-4D71-AA98-67B5C5A1A6E5@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
 <20190807072002.GD15744@HIDDEN>
To: Jean Louis <bugs@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: hyperbole-users@HIDDEN, 36941 <at> debbugs.gnu.org
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: -1.0 (-)


> On Aug 7, 2019, at 3:20 AM, Jean Louis <bugs@HIDDEN> wrote:
>=20
> * Robert Weiner <rsw@HIDDEN> [2019-08-07 04:33]:
>>> On Tue, Aug 6, 2019 at 4:29 AM Jean Louis <bugs@HIDDEN> wrote:
>>>=20
>>>=20
>>> That is why I suggested making customization group for buttons. As that w=
ould easy everything. One can add Elisp function and link type is added.
>>>=20
>>=20
>> Can you show a very simple example of what you want with a detailed expla=
nation?  I did not follow your prior org mode examples in detail.  I don't u=
nderstand that last sentence other than that Org lets you specify the type o=
f link as part of the link text whereas Hyperbole doesn't embed the types in=
 the buffer text itself.  Just produce a very simple use case
>> and explain it step by step and then I will be able to tell what if
>> anything is missing from Hyperbole now that you need to build what you wa=
nt.
>=20
> Request is for simple customization option so that new links and button ty=
pes can easily be customized and created.
>=20
> Do this:
>=20
> 1. M-x customize-group RET org-link RET
>=20
> 2. Find "Org Link Abbrev List"
>=20
> 3. That is what Hyperbole needs, customization of links. Or maybe it
>   could simply re-use Org functionality.

As of the 7.0.3a test release, any Org links should work via the Action Key b=
ut only in Org mode.  For this kind of behavior anywhere, you would define a=
n implicit button type that recognized a double quoted link type name follow=
ed by some number of parameters and then its action type would dispatch to f=
unctions from a list of type names, just as Org mode does now.  I will show y=
ou a sample implementation when I get a chance but my point is that no new f=
eatures are needed in Hyperbole to implement this, except that the type and p=
arameters will be displayed in the buffer unless you create the buttons as e=
xplicit ones.

>=20
> For example I could add a new link with protocol "SMS" and Value Menu
> Format: SMS:%s
>=20
> Or maybe new protocl "gpatent" meaning Google Patent with value
> "https://www.google.com/patents/US%s"
>=20
> Then if I make this link in Org:
>=20
> [[gpatent:481550][Ore washer and concentrator, by Arthur L. Dana]]
>=20
> It will be shown as "Ore washer and concentrator, by Arthur L. Dana"
> and if I click on this link, I can see the Google Patent online.
>=20
> However, web search is not as important: More important is elisp
> functions. Than I would not need to work with Hyperbole intervals.
>=20
> But functions are not well implemented in Org. They allow only
> function without parameter.
>=20
> What we need is link that allows parameters, which can be customized
> to run on such parameter.
>=20
> Synonym is <[Media]>: "~/Media"
>=20
> However, that implementation does not look well.

We are still open to other syntaxes but the label must itself be delimited.
>=20
> As Hyperbola is using special file outside of the text to define
> links, I see no reason why such links, even parameters could not be define=
d in that separate file.

They are with explicit buttons which each have an action type that can take a=
n arbitrary number of parameters and prompt for each one.

>=20
> Even simple words could be defined in that separate file to be links for s=
omething. Isn't it?

That would be implicit button types.

>=20
> I could define word GNU in the directory, to be the link in the file about=
-gnu.txt to https://www.gnu.org
>=20
> Then for example, I could define word "notes" to be link to the action
> "notes" with parameter ID: 123.

Basically, you want to be able to define implicit link types as you would in=
 a database table, as a list of typed fields and then instantiate these type=
s within buffers just as you now do.  The missing part is being able to crea=
te, edit and look up the types from a table rather than as a list of types t=
hat we have now that covers not just link types but all button types.

Bob




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

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


Received: (at 36941) by debbugs.gnu.org; 7 Aug 2019 07:20:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 07 03:20:12 2019
Received: from localhost ([127.0.0.1]:38056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvGF2-0006Nu-Gq
	for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 03:20:12 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:33707)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1hvGF1-0006Nb-GY
 for 36941 <at> debbugs.gnu.org; Wed, 07 Aug 2019 03:20:12 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.142])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000070224.000000005D4A7BA4.0000108A; Wed, 07 Aug 2019 00:20:04 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C0FAA.000000005D4A7BA3.00006C4E; Wed, 07 Aug 2019 09:20:03 +0200
Date: Wed, 7 Aug 2019 09:20:03 +0200
From: Jean Louis <bugs@HIDDEN>
To: rswgnu@HIDDEN
Subject: Re: bug#36941: Please include option to link to maildir files
Message-ID: <20190807072002.GD15744@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
 <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -1.0 (-)

* Robert Weiner <rsw@HIDDEN> [2019-08-07 04:33]:
> On Tue, Aug 6, 2019 at 4:29 AM Jean Louis <bugs@HIDDEN> wrote:
> 
> >
> > That is why I suggested making customization group for buttons. As
> > that would easy everything. One can add Elisp function and link type is
> > added.
> >
> 
> Can you show a very simple example of what you want with a detailed
> explanation?  I did not follow your prior org mode examples in detail.  I
> don't understand that last sentence other than that Org lets you specify
> the type of link as part of the link text whereas Hyperbole doesn't embed
> the types in the buffer text itself.  Just produce a very simple use case
> and explain it step by step and then I will be able to tell what if
> anything is missing from Hyperbole now that you need to build what you want.

Request is for simple customization option so that new links and
button types can easily be customized and created.

Do this:

1. M-x customize-group RET org-link RET

2. Find "Org Link Abbrev List"

3. That is what Hyperbole needs, customization of links. Or maybe it
   could simply re-use Org functionality.

For example I could add a new link with protocol "SMS" and Value Menu
Format: SMS:%s

Or maybe new protocl "gpatent" meaning Google Patent with value
"https://www.google.com/patents/US%s"

Then if I make this link in Org:

[[gpatent:481550][Ore washer and concentrator, by Arthur L. Dana]]

It will be shown as "Ore washer and concentrator, by Arthur L. Dana"
and if I click on this link, I can see the Google Patent online.

However, web search is not as important: More important is elisp
functions. Than I would not need to work with Hyperbole intervals.

But functions are not well implemented in Org. They allow only
function without parameter.

What we need is link that allows parameters, which can be customized
to run on such parameter.

Synonym is <[Media]>: "~/Media"

However, that implementation does not look well.

As Hyperbola us using special file outside of the text to define
links, I see no reason why such links, even parameters could not be
defined in that separate file.

Even simple words could be defined in that separate file to be links
for something. Isn't it?

I could define word GNU in the directory, to be the link in the file
about-gnu.txt to https://www.gnu.org

Then for example, I could define word "notes" to be link to the action
"notes" with parameter ID: 123.

Jean




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

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


Received: (at 36941) by debbugs.gnu.org; 7 Aug 2019 02:32:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 22:32:47 2019
Received: from localhost ([127.0.0.1]:37998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hvBks-00079u-VB
	for submit <at> debbugs.gnu.org; Tue, 06 Aug 2019 22:32:47 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38361)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1hvBks-00079f-2t
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 22:32:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36342)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1hvBkm-0007wT-Ud
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 22:32:40 -0400
Received: from mail-lj1-f177.google.com ([209.85.208.177]:39217)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1hvBkm-0004Tv-9S
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 22:32:40 -0400
Received: by mail-lj1-f177.google.com with SMTP id v18so83904602ljh.6
 for <36941 <at> debbugs.gnu.org>; Tue, 06 Aug 2019 19:32:40 -0700 (PDT)
X-Gm-Message-State: APjAAAWyf3Z/VCq8K2bQre/V5gwriZ6StX6kN8swUBAGwJ/kfbAcK7tw
 X1GqFNXlQ4oPcNnmUAggNA+iG2ARRRk1FkOuwD0=
X-Google-Smtp-Source: APXvYqxR9FA4g0FfcSzLIHqFIBUTpcZf4azyDb+PYJQ6IjyCurLS6tBsQdnQaVZ0iFXlGkEa4x53S4UGYTzanfdgEZE=
X-Received: by 2002:a2e:9701:: with SMTP id r1mr3349571lji.12.1565145158878;
 Tue, 06 Aug 2019 19:32:38 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
 <20190806082923.GA4709@HIDDEN>
In-Reply-To: <20190806082923.GA4709@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Tue, 6 Aug 2019 22:32:12 -0400
X-Gmail-Original-Message-ID: <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
Message-ID: <CA+OMD9iHuXS1=i3g0aoq7iS2BOABioAxs5KBxbv=w-G8Ewgf4A@HIDDEN>
Subject: Re: bug#36941: Please include option to link to maildir files
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000378cb5058f7dc1b9"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--000000000000378cb5058f7dc1b9
Content-Type: text/plain; charset="UTF-8"

On Tue, Aug 6, 2019 at 4:29 AM Jean Louis <bugs@HIDDEN> wrote:

>
> That is why I suggested making customization group for buttons. As
> that would easy everything. One can add Elisp function and link type is
> added.
>

Can you show a very simple example of what you want with a detailed
explanation?  I did not follow your prior org mode examples in detail.  I
don't understand that last sentence other than that Org lets you specify
the type of link as part of the link text whereas Hyperbole doesn't embed
the types in the buffer text itself.  Just produce a very simple use case
and explain it step by step and then I will be able to tell what if
anything is missing from Hyperbole now that you need to build what you want.

Bob

--000000000000378cb5058f7dc1b9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace"><span style=3D"font-family:Arial,Helvetica,sa=
ns-serif">On Tue, Aug 6, 2019 at 4:29 AM Jean Louis &lt;bugs@HIDDEN&gt=
; wrote:</span></div></div><div class=3D"gmail_quote"><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">
<br>
That is why I suggested making customization group for buttons. As<br>
that would easy everything. One can add Elisp function and link type is add=
ed. <br></blockquote><div><br></div><div class=3D"gmail_default" style=3D"f=
ont-family:monospace,monospace">Can you show a very simple example of what =
you want with a detailed explanation?=C2=A0 I did not follow your prior org=
 mode examples in detail.=C2=A0 I don&#39;t understand that last sentence o=
ther than that Org lets you specify the type of link as part of the link te=
xt whereas Hyperbole doesn&#39;t embed the types in the buffer text itself.=
=C2=A0 Just produce a very simple use case and explain it step by step and =
then I will be able to tell what if anything is missing from Hyperbole now =
that you need to build what you want.</div><div class=3D"gmail_default" sty=
le=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_defaul=
t" style=3D"font-family:monospace,monospace">Bob</div><div class=3D"gmail_d=
efault" style=3D"font-family:monospace,monospace"><br></div></div></div>

--000000000000378cb5058f7dc1b9--




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

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


Received: (at 36941) by debbugs.gnu.org; 6 Aug 2019 08:29:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 04:29:36 2019
Received: from localhost ([127.0.0.1]:36452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1huuqd-0007Ld-Nm
	for submit <at> debbugs.gnu.org; Tue, 06 Aug 2019 04:29:35 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:42333)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1huuqZ-0007LM-Am
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 04:29:31 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.84])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000070221.000000005D493A65.00005D43; Tue, 06 Aug 2019 01:29:25 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C0FAA.000000005D493A63.000012D7; Tue, 06 Aug 2019 10:29:23 +0200
Date: Tue, 6 Aug 2019 10:29:23 +0200
From: Jean Louis <bugs@HIDDEN>
To: rswgnu@HIDDEN
Subject: Re: bug#36941: Please include option to link to maildir files
Message-ID: <20190806082923.GA4709@HIDDEN>
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
 <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
In-Reply-To: <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -1.0 (-)

* Robert Weiner <rsw@HIDDEN> [2019-08-06 06:31]:
  :PROPERTIES:
  :CREATED:  [2019-08-06 Di 10:29]
  :ID:       c8efee11-dd5b-4c68-83eb-00d3db9ad7ba
  :END:
> See the hmail.el file which offers a straightforward abstract interface for
> connecting mail reader and sender formats.  Make your own maildir:
> functions that that are then mapped to the hmail abstract interface via the
> rmail:init function in that same file and then Hyperbole should take care
> of the rest including letting you link to your messages.
> 
> We can provide pointers if you work on this.  It is a medium-difficulty
> project.

That is why I suggested making customization group for buttons. As
that would easy everything. One can add Elisp function and link type is added. 




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

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


Received: (at 36941) by debbugs.gnu.org; 6 Aug 2019 04:31:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 06 00:31:31 2019
Received: from localhost ([127.0.0.1]:36180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hur8F-00018u-KN
	for submit <at> debbugs.gnu.org; Tue, 06 Aug 2019 00:31:31 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55958)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rsw@HIDDEN>) id 1hur8D-00018f-NM
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 00:31:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45740)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rsw@HIDDEN>)
 id 1hur84-0005v6-4w
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 00:31:21 -0400
Received: from mail-lj1-f170.google.com ([209.85.208.170]:37313)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <rsw@HIDDEN>) id 1hur7s-0007Pu-Jm
 for 36941 <at> debbugs.gnu.org; Tue, 06 Aug 2019 00:31:12 -0400
Received: by mail-lj1-f170.google.com with SMTP id z28so26858377ljn.4
 for <36941 <at> debbugs.gnu.org>; Mon, 05 Aug 2019 21:31:08 -0700 (PDT)
X-Gm-Message-State: APjAAAWvaSfVD7UVMmPmw0i+MqJqjSiZYZWImZ9PZz+0XfGi7NwkI14h
 cxxjPB6+M7LZK6ze/Y+c1PC4Mc8HJsq/C2U5XB8=
X-Google-Smtp-Source: APXvYqzV7S3ySN3qPDEXceigkIG4KXtvhzUbQyj6QCfoVjbr9QzEYSjDUhhZdj5fasqsFmcBnsOK/vTJSfIl02ouUlg=
X-Received: by 2002:a2e:a16c:: with SMTP id u12mr588345ljl.59.1565065867337;
 Mon, 05 Aug 2019 21:31:07 -0700 (PDT)
MIME-Version: 1.0
References: <courier.000000005D48D5FD.000079B0@HIDDEN>
In-Reply-To: <courier.000000005D48D5FD.000079B0@HIDDEN>
From: Robert Weiner <rsw@HIDDEN>
Date: Tue, 6 Aug 2019 00:30:39 -0400
X-Gmail-Original-Message-ID: <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
Message-ID: <CA+OMD9jMisQFb_p8q3=FwZhoBKEN8vfhyuBW__+-+C2Vgjv9hg@HIDDEN>
Subject: Re: bug#36941: Please include option to link to maildir files
To: Jean Louis <bugs@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000012a568058f6b4beb"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 36941
Cc: 36941 <at> debbugs.gnu.org
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: -3.3 (---)

--00000000000012a568058f6b4beb
Content-Type: text/plain; charset="UTF-8"

See the hmail.el file which offers a straightforward abstract interface for
connecting mail reader and sender formats.  Make your own maildir:
functions that that are then mapped to the hmail abstract interface via the
rmail:init function in that same file and then Hyperbole should take care
of the rest including letting you link to your messages.

We can provide pointers if you work on this.  It is a medium-difficulty
project.

Bob


On Mon, Aug 5, 2019 at 9:22 PM Jean Louis <bugs@HIDDEN> wrote:

> I use:  Editor:      GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X
> toolkit, Xaw3d scroll bars)
>
>         Hyperbole:   7.0.3
>         Sys Type:    x86_64-pc-linux-gnu
>         OS Type:     gnu/linux
>         Window Sys:  x
>         News Reader: Gnus v5.13
>
> I hope you know what are maildir messages. Each message is for itself
> within a maildir folder. I know that Emacs can display such messages.
>
> 'link-to-mail'
>      Displays a mail message with MAIL-MSG-ID from optional MAIL-FILE.
>      See the documentation for the variable 'hmail:init-function' for
>      information on how to specify the mail reader to use.
>
> MAIL-MSG-ID is not necessary for maildir messages, as it is almost
> same as link to file, the difference would be that some headers could
> be hidden and message or mail mode would be turned on. Messages could
> be replied, forwarded, etc.
>
> Maybe some action can be used for maildirs, just skipping the
> MAIL-MSG-ID. But it somehow need to know if it is maildir link by
> asking the user.
>
> Jean
>
>
>
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole@HIDDEN
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>

--00000000000012a568058f6b4beb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">See the hmail.el file which offers a straightforward abstract =
interface for connecting mail reader and sender formats.=C2=A0 Make your ow=
n maildir: functions that that are then mapped to the hmail abstract interf=
ace via the rmail:init function in that same file and then Hyperbole should=
 take care of the rest including letting you link to your messages.</div><d=
iv class=3D"gmail_default" style=3D"font-family:monospace,monospace"><br></=
div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace">=
We can provide pointers if you work on this.=C2=A0 It is a medium-difficult=
y project.</div><div class=3D"gmail_default" style=3D"font-family:monospace=
,monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:mon=
ospace,monospace">Bob</div><div class=3D"gmail_default" style=3D"font-famil=
y:monospace,monospace"><br></div></div><br><div class=3D"gmail_quote"><div =
dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug 5, 2019 at 9:22 PM Jean Louis =
&lt;bugs@HIDDEN&gt; wrote:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">I use:=C2=A0 Editor:=C2=A0 =C2=A0 =C2=A0 GNU Emacs 27.0.50 =
(build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Hyperbole:=C2=A0 =C2=A07.0.3<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Sys Type:=C2=A0 =C2=A0 x86_64-pc-linux-gnu<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 OS Type:=C2=A0 =C2=A0 =C2=A0gnu/linux<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Window Sys:=C2=A0 x<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 News Reader: Gnus v5.13<br>
<br>
I hope you know what are maildir messages. Each message is for itself<br>
within a maildir folder. I know that Emacs can display such messages.<br>
<br>
&#39;link-to-mail&#39;<br>
=C2=A0 =C2=A0 =C2=A0Displays a mail message with MAIL-MSG-ID from optional =
MAIL-FILE.<br>
=C2=A0 =C2=A0 =C2=A0See the documentation for the variable &#39;hmail:init-=
function&#39; for<br>
=C2=A0 =C2=A0 =C2=A0information on how to specify the mail reader to use.<b=
r>
<br>
MAIL-MSG-ID is not necessary for maildir messages, as it is almost<br>
same as link to file, the difference would be that some headers could<br>
be hidden and message or mail mode would be turned on. Messages could<br>
be replied, forwarded, etc.<br>
<br>
Maybe some action can be used for maildirs, just skipping the<br>
MAIL-MSG-ID. But it somehow need to know if it is maildir link by<br>
asking the user.<br>
<br>
Jean<br>
<br>
<br>
<br>
_______________________________________________<br>
Bug-hyperbole mailing list<br>
<a href=3D"mailto:Bug-hyperbole@HIDDEN" target=3D"_blank">Bug-hyperbole@gn=
u.org</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>
</blockquote></div>

--00000000000012a568058f6b4beb--




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

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


Received: (at submit) by debbugs.gnu.org; 6 Aug 2019 01:21:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 05 21:21:10 2019
Received: from localhost ([127.0.0.1]:36065 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1huoA2-0004qO-9Y
	for submit <at> debbugs.gnu.org; Mon, 05 Aug 2019 21:21:10 -0400
Received: from lists.gnu.org ([209.51.188.17]:55331)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <admin@HIDDEN>) id 1huo9y-0004qC-H0
 for submit <at> debbugs.gnu.org; Mon, 05 Aug 2019 21:21:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44112)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <admin@HIDDEN>) id 1huo9x-0005VT-Hf
 for bug-hyperbole@HIDDEN; Mon, 05 Aug 2019 21:21:06 -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 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <admin@HIDDEN>) id 1huo9w-0000IK-IT
 for bug-hyperbole@HIDDEN; Mon, 05 Aug 2019 21:21:05 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:40031)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <admin@HIDDEN>)
 id 1huo9w-0000Hg-Ca
 for bug-hyperbole@HIDDEN; Mon, 05 Aug 2019 21:21:04 -0400
Received: from protected.rcdrun.com ([::ffff:31.223.149.120])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by stw1.rcdrun.com with ESMTPSA
 id 0000000000070221.000000005D48D5FE.000040CD; Mon, 05 Aug 2019 18:21:02 -0700
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local
 id 00000000000C0FAA.000000005D48D5FD.000079B0; Tue, 06 Aug 2019 03:21:01 +0200
From: Jean Louis <bugs@HIDDEN>
To: bug-hyperbole@HIDDEN
Subject: Please include option to link to maildir files
Message-ID: <courier.000000005D48D5FD.000079B0@HIDDEN>
Date: Tue, 06 Aug 2019 03:21:01 +0200
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 217.170.207.13
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
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: -2.1 (--)

I use:  Editor:      GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)

        Hyperbole:   7.0.3
        Sys Type:    x86_64-pc-linux-gnu
        OS Type:     gnu/linux
        Window Sys:  x
        News Reader: Gnus v5.13

I hope you know what are maildir messages. Each message is for itself
within a maildir folder. I know that Emacs can display such messages.

'link-to-mail'
     Displays a mail message with MAIL-MSG-ID from optional MAIL-FILE.
     See the documentation for the variable 'hmail:init-function' for
     information on how to specify the mail reader to use.

MAIL-MSG-ID is not necessary for maildir messages, as it is almost
same as link to file, the difference would be that some headers could
be hidden and message or mail mode would be turned on. Messages could
be replied, forwarded, etc.

Maybe some action can be used for maildirs, just skipping the
MAIL-MSG-ID. But it somehow need to know if it is maildir link by
asking the user.

Jean




Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-hyperbole@HIDDEN. Full text available.
Report forwarded to bug-hyperbole@HIDDEN:
bug#36941; 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: Mon, 25 Nov 2019 12:00:02 UTC

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