Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The meek are contesting the will.


devel / comp.lang.ada / Re: Gnu Emacs Ada mode 7.1.6 released.

SubjectAuthor
* Gnu Emacs Ada mode 7.1.6 released.Stephen Leake
`* Re: Gnu Emacs Ada mode 7.1.6 released.Fernando Oleo Blanco
 +* Re: Gnu Emacs Ada mode 7.1.6 released.Simon Wright
 |+* Re: Gnu Emacs Ada mode 7.1.6 released.Fernando Oleo Blanco
 ||`* Re: Gnu Emacs Ada mode 7.1.6 released.Simon Wright
 || `* Re: Gnu Emacs Ada mode 7.1.6 released.Paul Onions
 ||  `* Re: Gnu Emacs Ada mode 7.1.6 released.Paul Onions
 ||   `- Re: Gnu Emacs Ada mode 7.1.6 released.Stephen Leake
 |+* Re: Gnu Emacs Ada mode 7.1.6 released.Simon Wright
 ||+* Re: Gnu Emacs Ada mode 7.1.6 released.Fernando Oleo Blanco
 |||`- Re: Gnu Emacs Ada mode 7.1.6 released.Manuel Gomez
 ||`- Re: Gnu Emacs Ada mode 7.1.6 released.Stephen Leake
 |`- Re: Gnu Emacs Ada mode 7.1.6 released.Stephen Leake
 `- Re: Gnu Emacs Ada mode 7.1.6 released.Stephen Leake

1
Gnu Emacs Ada mode 7.1.6 released.

<86tukal9h6.fsf@stephe-leake.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5648&group=comp.lang.ada#5648

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Gnu Emacs Ada mode 7.1.6 released.
Date: Sat, 31 Jul 2021 09:43:49 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86tukal9h6.fsf@stephe-leake.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="37699"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:v/aqH4Chc66cF4SQghmpzVtol4M=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Sat, 31 Jul 2021 16:43 UTC

Gnu Emacs Ada mode 7.1.6 is now available in GNU ELPA.

This is a bug fix release.

ada-mode and wisi are now compatible with gnat FSF 11, Pro 22,
Community 2021.

--
-- Stephe

Re: Gnu Emacs Ada mode 7.1.6 released.

<seg6p4$ui0$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5661&group=comp.lang.ada#5661

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!kMX8HhE4dcISuK3C7WJBHg.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 5 Aug 2021 10:16:36 +0200
Organization: Aioe.org NNTP Server
Message-ID: <seg6p4$ui0$1@gioia.aioe.org>
References: <86tukal9h6.fsf@stephe-leake.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="31296"; posting-host="kMX8HhE4dcISuK3C7WJBHg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Thu, 5 Aug 2021 08:16 UTC

I am sorry for the spam Stephen. I am getting used to these systems
(first time using USENET). I wanted to respond publicly.
---

Thank you for the update Stephen.

I can confirm that it works with GNAT community 2021. It is the first
time I got it working.

However, a couple of comments. I could not use the build.sh script
directly. The line

WISI_DIR=`ls -d ../wisi*`

matches everything named wisi. In my case it is the following:

.../wisi-3.1.5 ../wisitoken-grammar-mode-1.2.0
.../wisi-3.1.5.signed ../wisitoken-grammar-mode-1.2.0.signed

The *.signed entries are files, which screw with gprclean/build. So I
had to run each command manually. That is not a big issue for me, but as
you can understand, it can easily be a headache to a lot of people. For
that reason I would like to propose a small change. The wisitoken
package uses a slightly modified ls command:

export GPR_PROJECT_PATH=`ls -d ../wisi-3.1.?`

This type of pattern matching would solve the issue of finding too many
things. I would change the WISI_DIR entry to

WISI_DIR=`ls -d ../wisi-?.?.?`

Which ensures that only the directory of the package is matched. As far
as I know, the ? pattern matching is POSIX compliant, so it should work
in pretty much any $SHELL.

The second proposal would be to, instead of asking the user to run the
commands directly, that an elisp function is used. For example, the
package pdf-tools requires some compilation in order to use it. It comes
with the elisp function

(pdf-tools-install)

which installs the package, and it is pretty obvious to the user. It
also comes with

(pdf-loader-install)

which is recommended to be used in the configuration file. This function
checks whether the package has already been compiled/installed properly
at boot. If it is, then Emacs just loads it, if not, it gets compiled. I
think this is a much more user friendly experience, it would simplify
the installation process.

In the case of ada-mode, if the compilation fails, some report could be
emitted, such as "No Ada compiler found.", "The GNATCOLL dependencies
have to be installed previous to the compilation, please refer to XXX."
and finally "Compilation failed, please see the compilation
window."/"Compilation successful.". A function the style

(load-or-install-ada-mode)

could be created for this and the user could be requested to run it. Or
when ada-mode is called, that function could be executed. That way even
if the user is not aware of the compilation step, they are informed.
Instead of getting a cryptic wisi error message.

Thank you for your work and fixing the issue with the newer versions of
the compilers!

---
Fernando Oleo Blanco
https://irvise.xyz

Re: Gnu Emacs Ada mode 7.1.6 released.

<ly8s1g1d5r.fsf@pushface.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5662&group=comp.lang.ada#5662

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 05 Aug 2021 09:58:08 +0100
Organization: Aioe.org NNTP Server
Message-ID: <ly8s1g1d5r.fsf@pushface.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="10547"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:ctYgemuIdlUk7j3oYDXRABsg5k0=
 by: Simon Wright - Thu, 5 Aug 2021 08:58 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> I can confirm that it works with GNAT community 2021. It is the first
> time I got it working.

In my case it didn't: resurrection of old problems,

sal-gen_unbounded_definite_stacks.adb:209:07: error: access discriminant in return object would be a dangling reference
sal-gen_unbounded_definite_stacks.adb:216:07: error: access discriminant in return object would be a dangling reference
wisitoken-syntax_trees.ads:620:04: warning: in instantiation at sal-gen_unbounded_definite_vectors.adb:65 [-gnatwv]
wisitoken-syntax_trees.ads:620:04: warning: aggregate not fully initialized [-gnatwv]
etc etc

This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was
already installed, rather than the latest 3.1.5 ... install 3.1.5,
*delete 3.1.3*

> However, a couple of comments. I could not use the build.sh script
> directly. The line
>
> WISI_DIR=`ls -d ../wisi*`
>
> matches everything named wisi. In my case it is the following:
>
> ../wisi-3.1.5 ../wisitoken-grammar-mode-1.2.0
> ../wisi-3.1.5.signed ../wisitoken-grammar-mode-1.2.0.signed

I used

WISI_DIR=`ls -d ../wisi* | grep -v signed`

but Fernando's suggestion is better, I think

Re: Gnu Emacs Ada mode 7.1.6 released.

<seggb9$1qr9$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5663&group=comp.lang.ada#5663

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!kMX8HhE4dcISuK3C7WJBHg.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 5 Aug 2021 12:59:53 +0200
Organization: Aioe.org NNTP Server
Message-ID: <seggb9$1qr9$1@gioia.aioe.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="60265"; posting-host="kMX8HhE4dcISuK3C7WJBHg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Thu, 5 Aug 2021 10:59 UTC

On 05.08.21 10:58, Simon Wright wrote:
> This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was
> already installed, rather than the latest 3.1.5 ... install 3.1.5,
> *delete 3.1.3*

I would like to point out that I had never installed or compiled any of
the components. Previous to this successful installation, I updated
_all_ packages. Which yielded the newest version of ada-mode and wisi.

I am just giving a bit more information and context, in case someone
tries to replicate what I did.

Regards,

--
Fernando Oleo Blanco
https://irvise.xyz

Re: Gnu Emacs Ada mode 7.1.6 released.

<lyh7g4f1o8.fsf@pushface.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5664&group=comp.lang.ada#5664

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 05 Aug 2021 14:42:31 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lyh7g4f1o8.fsf@pushface.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="27447"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:o2Kob4H7UWvRlagnPGOIu7rVW04=
 by: Simon Wright - Thu, 5 Aug 2021 13:42 UTC

Simon Wright <simon@pushface.org> writes:

> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>
>> I can confirm that it works with GNAT community 2021. It is the first
>> time I got it working.
>
> In my case it didn't: resurrection of old problems,
>
> sal-gen_unbounded_definite_stacks.adb:209:07: error: access
> discriminant in return object would be a dangling reference
> sal-gen_unbounded_definite_stacks.adb:216:07: error: access
> discriminant in return object would be a dangling reference
> wisitoken-syntax_trees.ads:620:04: warning: in instantiation at
> sal-gen_unbounded_definite_vectors.adb:65 [-gnatwv]
> wisitoken-syntax_trees.ads:620:04: warning: aggregate not fully
> initialized [-gnatwv]
> etc etc
>
> This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was
> already installed, rather than the latest 3.1.5 ... install 3.1.5,
> *delete 3.1.3*

I got a successful build with macOS GNAT CE 2021. However, using it
failed with

Execution of /Users/simon/.emacs.d/elpa/ada-mode-7.1.6/gpr_query terminated by unhandled exception
raised PROGRAM_ERROR : gnatcoll-sql_impl.adb:198 accessibility check failed
Load address: 0x1066e1000
Call stack traceback locations:
0x106932523 0x10693255f 0x10699b420 0x10699b5e9 0x10699b143 0x106988f88 0x1067830d4 0x1066f0fb1 0x106feb430

which is an unfortunate bleeding-edge interaction between the compiler
and gnatcoll-db:v21.0.0 (there are mutterings in the source at this line
about "GNAT bug OB03-009").

Building with FSF GCC 11.1.0 is looking good.

Which version of gnatcoll-db did you use, Fernando? The ada-mode README
isn't very prescriptive.

Re: Gnu Emacs Ada mode 7.1.6 released.

<segqd8$13su$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5665&group=comp.lang.ada#5665

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!kMX8HhE4dcISuK3C7WJBHg.user.46.165.242.75.POSTED!not-for-mail
From: irvise...@irvise.xyz (Fernando Oleo Blanco)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 5 Aug 2021 15:51:36 +0200
Organization: Aioe.org NNTP Server
Message-ID: <segqd8$13su$1@gioia.aioe.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <lyh7g4f1o8.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="36766"; posting-host="kMX8HhE4dcISuK3C7WJBHg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Fernando Oleo Blanco - Thu, 5 Aug 2021 13:51 UTC

On 05.08.21 15:42, Simon Wright wrote:
> Which version of gnatcoll-db did you use, Fernando? The ada-mode README
> isn't very prescriptive.

Oh, I forgot to mention this.

I used the master branch as of two days ago, so 2021/08/03. I thought
about downloading a tagged version, as of that day the 21.0.0. But since
I had already cloned master, I went with it.

I think this issue is related to this commit, which refers to that GNAT
bug directly:
https://github.com/AdaCore/gnatcoll-db/commit/c75234037fb4568739435fad204f206afe609a77

I am pretty sure it is the culprit.

Regards,
--
Fernando Oleo Blanco
https://irvise.xyz

Re: Gnu Emacs Ada mode 7.1.6 released.

<sekbdk$1bfo$1@gioia.aioe.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5666&group=comp.lang.ada#5666

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!TFl9E9FPtgqYQS0i9tziBg.user.46.165.242.91.POSTED!not-for-mail
From: mgr...@gmail.com (Manuel Gomez)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Sat, 7 Aug 2021 00:00:19 +0200
Organization: Aioe.org NNTP Server
Message-ID: <sekbdk$1bfo$1@gioia.aioe.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <lyh7g4f1o8.fsf@pushface.org>
<segqd8$13su$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="44536"; posting-host="TFl9E9FPtgqYQS0i9tziBg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Manuel Gomez - Fri, 6 Aug 2021 22:00 UTC

Am 5/8/21 um 15:51 schrieb Fernando Oleo Blanco:
> On 05.08.21 15:42, Simon Wright wrote:
>> Which version of gnatcoll-db did you use, Fernando? The ada-mode README
>> isn't very prescriptive.
>
> Oh, I forgot to mention this.
>
> I used the master branch as of two days ago, so 2021/08/03. I thought
> about downloading a tagged version, as of that day the 21.0.0. But since
> I had already cloned master, I went with it.
>
> I think this issue is related to this commit, which refers to that GNAT
> bug directly:
> https://github.com/AdaCore/gnatcoll-db/commit/c75234037fb4568739435fad204f206afe609a77
>
>
> I am pretty sure it is the culprit.

I share my experience, just in case it's useful for anyone.

I tried with GNAT CE 2021 and gnatcoll-db 2021, but had problems with
that combination. I finally used gnat-9 and gnatcoll packages provided
by Ubuntu 20.04, but had to add ".all" for "error: access discriminant
in return object..." and remove the option to consider warnings as
errors in "standard_common.gpr". Different compiler versions produce
different warnings, so that flag might be counterproductive for
distribution. The problem with 2021 version might have been the same,
not sure about it.

Regards

Re: Gnu Emacs Ada mode 7.1.6 released.

<lyeeb5r194.fsf@pushface.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5667&group=comp.lang.ada#5667

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!RKN7TKnHC01q0gdg6EhkbQ.user.46.165.242.75.POSTED!not-for-mail
From: sim...@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Sat, 07 Aug 2021 11:35:19 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lyeeb5r194.fsf@pushface.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <seggb9$1qr9$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="3543"; posting-host="RKN7TKnHC01q0gdg6EhkbQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
Cancel-Lock: sha1:JsU4dRil0P6RRTgwzQB+FerBWUQ=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Simon Wright - Sat, 7 Aug 2021 10:35 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> On 05.08.21 10:58, Simon Wright wrote:
>> This is because ada-mode-7.1.6 only "requires" wisi-3.1.3, which was
>> already installed, rather than the latest 3.1.5 ... install 3.1.5,
>> *delete 3.1.3*
>
> I would like to point out that I had never installed or compiled any
> of the components. Previous to this successful installation, I updated
> _all_ packages. Which yielded the newest version of ada-mode and wisi.
>
> I am just giving a bit more information and context, in case someone
> tries to replicate what I did.

Thanks for the advice to update all packages (U x in the package list
window), which gives us ada-mode-7.1.7, which includes the "ls -d wisi*"
fix, and builds/works fine on macOS Big Sur with GCC 11.1.0 (see
previous remarks re: gnatcoll-db).

Re: Gnu Emacs Ada mode 7.1.6 released.

<728144e3-d3f2-4c88-9598-16ea4bf9a56fn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5668&group=comp.lang.ada#5668

 copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:e911:: with SMTP id a17mr3786277qvo.42.1628354859004;
Sat, 07 Aug 2021 09:47:39 -0700 (PDT)
X-Received: by 2002:a25:5556:: with SMTP id j83mr3984064ybb.309.1628354858847;
Sat, 07 Aug 2021 09:47:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 7 Aug 2021 09:47:38 -0700 (PDT)
In-Reply-To: <lyeeb5r194.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=109.180.159.198; posting-account=8KbgxQkAAACJyvtPg84oL23eOX_jDVUP
NNTP-Posting-Host: 109.180.159.198
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <seggb9$1qr9$1@gioia.aioe.org> <lyeeb5r194.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <728144e3-d3f2-4c88-9598-16ea4bf9a56fn@googlegroups.com>
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
From: ponion...@gmail.com (Paul Onions)
Injection-Date: Sat, 07 Aug 2021 16:47:38 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Paul Onions - Sat, 7 Aug 2021 16:47 UTC

On Saturday, 7 August 2021 at 11:35:29 UTC+1, Simon Wright wrote:
> ... builds/works fine on macOS Big Sur with GCC 11.1.0 ...

I'm using the same setup now, but for some reason I'm still seeing error messages about a void-function called wisi--lexer-error. I can get a working system if I go into the wisi-3.1.5 directory and delete all of the .elc files I find there, but then editing can be very slow (e.g. delay between pressing a key and character appearing in buffer >5 secs sometimes). Not sure if this is caused by my deleting the .elc files, but it also happened to me when I did the same thing in my workarounds to get the 7.1.4 ada-mode release working.

Paul

Re: Gnu Emacs Ada mode 7.1.6 released.

<080b2088-4e34-4289-af34-4c7a821cdcf3n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5669&group=comp.lang.ada#5669

 copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:8122:: with SMTP id 31mr5371697qvc.26.1628358360504;
Sat, 07 Aug 2021 10:46:00 -0700 (PDT)
X-Received: by 2002:a25:dcd1:: with SMTP id y200mr19839438ybe.92.1628358360314;
Sat, 07 Aug 2021 10:46:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder1.cambriumusenet.nl!feed.tweak.nl!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Sat, 7 Aug 2021 10:46:00 -0700 (PDT)
In-Reply-To: <728144e3-d3f2-4c88-9598-16ea4bf9a56fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=109.180.159.198; posting-account=8KbgxQkAAACJyvtPg84oL23eOX_jDVUP
NNTP-Posting-Host: 109.180.159.198
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <seggb9$1qr9$1@gioia.aioe.org>
<lyeeb5r194.fsf@pushface.org> <728144e3-d3f2-4c88-9598-16ea4bf9a56fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <080b2088-4e34-4289-af34-4c7a821cdcf3n@googlegroups.com>
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
From: ponion...@gmail.com (Paul Onions)
Injection-Date: Sat, 07 Aug 2021 17:46:00 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Paul Onions - Sat, 7 Aug 2021 17:46 UTC

On Saturday, 7 August 2021 at 17:47:40 UTC+1, Paul Onions wrote:
> ... I'm still seeing error messages about a void-function called wisi--lexer-error.

I think this is due to a missing:-
(require 'cl-lib)
at the start of wisi-parse-common.el.

Paul

Re: Gnu Emacs Ada mode 7.1.6 released.

<86zgtqanxe.fsf@stephe-leake.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5671&group=comp.lang.ada#5671

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Mon, 09 Aug 2021 03:54:21 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86zgtqanxe.fsf@stephe-leake.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="33129"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:K1VWnknS0Q8bF0KNGMOspV5suAk=
 by: Stephen Leake - Mon, 9 Aug 2021 10:54 UTC

Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:

> I am sorry for the spam Stephen. I am getting used to these systems
> (first time using USENET). I wanted to respond publicly.

This is not spam!

> However, a couple of comments. I could not use the build.sh script
> directly. The line
>
> WISI_DIR=`ls -d ../wisi*`
>
> matches everything named wisi.

Fixed in 7.1.7

> The second proposal would be to, instead of asking the user to run the
> commands directly, that an elisp function is used.

I keep hoping *someone else* will implement this :).

--
-- Stephe

Re: Gnu Emacs Ada mode 7.1.6 released.

<86v94e9vfo.fsf@stephe-leake.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5672&group=comp.lang.ada#5672

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Mon, 09 Aug 2021 14:09:47 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86v94e9vfo.fsf@stephe-leake.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="55895"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:sZr9OEbA49XNcEcYiuRzaq7neks=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Mon, 9 Aug 2021 21:09 UTC

Simon Wright <simon@pushface.org> writes:

> Fernando Oleo Blanco <irvise_ml@irvise.xyz> writes:
>
>> I can confirm that it works with GNAT community 2021. It is the first
>> time I got it working.
>
> In my case it didn't: resurrection of old problems,
>
> This is because ada-mode-7.1.6 only "requires" wisi-3.1.3,

Sigh. to be fixed in 7.1.8.

I could argue that wisi 3.1.3 is technically correct, since ada-mode
7.1.6 does compile with it. But that's not really the point here; easy
user upgrade is more more important.

--
-- Stephe

Re: Gnu Emacs Ada mode 7.1.6 released.

<86lf5a9v0u.fsf@stephe-leake.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5673&group=comp.lang.ada#5673

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Mon, 09 Aug 2021 14:18:41 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86lf5a9v0u.fsf@stephe-leake.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <lyh7g4f1o8.fsf@pushface.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="58616"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:wUbZHkM5Viq+MsDkLndRxdHjOuM=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Mon, 9 Aug 2021 21:18 UTC

Simon Wright <simon@pushface.org> writes:

>
> I got a successful build with macOS GNAT CE 2021. However, using it
> failed with
>
> Execution of /Users/simon/.emacs.d/elpa/ada-mode-7.1.6/gpr_query
> terminated by unhandled exception
> raised PROGRAM_ERROR : gnatcoll-sql_impl.adb:198 accessibility check failed
>
> which is an unfortunate bleeding-edge interaction between the compiler
> and gnatcoll-db:v21.0.0 (there are mutterings in the source at this line
> about "GNAT bug OB03-009").

I tried to attach a patch for that, but nntp.aioe.org says "441 Invalid
Content type" even for text/plain. So I include it inline below; it
applies to the 21.2 release branch of gnatcoll-sql from github AdaCore.
I guess I should have included it in 3.1.8.

> Which version of gnatcoll-db did you use, Fernando? The ada-mode README
> isn't very prescriptive.

ada-mode.info has more detail in the Install section.

-------------- gnatcoll-2021-sql.patch -----------------
--- sql/gnatcoll-sql_impl.adb.orig 2021-05-20 01:25:55.000000000 -0700
+++ sql/gnatcoll-sql_impl.adb 2021-06-21 09:44:09.437292100 -0700
@@ -188,15 +188,9 @@
(Self : Field;
To : in out SQL_Field_List'Class;
Is_Aggregate : in out Boolean)
- is
- FC : access SQL_Field_Internal'Class;
- begin
+ is begin
if not Self.Data.Is_Null then
- -- !!! Could not use Element call result in the
- -- Append_If_Not_Aggregate parameter because of GNAT bug OB03-009
- - FC := Self.Data.Get.Element;
- Append_If_Not_Aggregate (FC, To, Is_Aggregate);
+ Append_If_Not_Aggregate (Self.Data.Get.Element, To, Is_Aggregate);
end if;
end Append_If_Not_Aggregate;
end Data_Fields;
---------------------------

--
-- Stephe

Re: Gnu Emacs Ada mode 7.1.6 released.

<86wnoqr2f1.fsf@stephe-leake.org>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=5674&group=comp.lang.ada#5674

 copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!9CzwYWWlKVx8RMZd/VcwFg.user.46.165.242.75.POSTED!not-for-mail
From: stephen_...@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: Gnu Emacs Ada mode 7.1.6 released.
Date: Thu, 12 Aug 2021 10:36:02 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86wnoqr2f1.fsf@stephe-leake.org>
References: <86tukal9h6.fsf@stephe-leake.org> <seg6p4$ui0$1@gioia.aioe.org>
<ly8s1g1d5r.fsf@pushface.org> <seggb9$1qr9$1@gioia.aioe.org>
<lyeeb5r194.fsf@pushface.org>
<728144e3-d3f2-4c88-9598-16ea4bf9a56fn@googlegroups.com>
<080b2088-4e34-4289-af34-4c7a821cdcf3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="60804"; posting-host="9CzwYWWlKVx8RMZd/VcwFg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)
Cancel-Lock: sha1:XVFWhtANQBnMt5rU8t+0DSTrkeE=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Thu, 12 Aug 2021 17:36 UTC

Paul Onions <ponions37@gmail.com> writes:

> On Saturday, 7 August 2021 at 17:47:40 UTC+1, Paul Onions wrote:
>> ... I'm still seeing error messages about a void-function called wisi--lexer-error.
>
> I think this is due to a missing:-
> (require 'cl-lib)
> at the start of wisi-parse-common.el.

It does make sense that file should have that require; I don't know why
I don't see that error. I'll add it.

--
-- Stephe

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor