GNU bug report logs - #48530
Guile Mode

Previous Next

Package: emacs;

Reported by: Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>

Date: Thu, 20 May 2021 08:58:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

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

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

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


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48530; Package emacs. (Thu, 20 May 2021 08:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 20 May 2021 08:58:02 GMT) Full text and rfc822 format available.

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

From: Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: Guile Mode
Date: Thu, 20 May 2021 10:57:11 +0200
Dear Emacs team,

I am Jérémy, an Emacs and Guile user. I came to discover both in the
same time about three years ago.
I am not a member of the GNU project, nor FSF. I'm just a GNU
enthousiast.

When I edit Guile code in Emacs, I rely mostly on :
Scheme mode + Geiser + Paredit + Autocomplete/Company + Projectile +
Magit

Then come other extensions.

I am writing to you today to start a conversation (hopefully a work)
around a kind of "Guile mode" (why not something with IDE
capabilities). I remember Eli incentivizing people to do so on Guile
user mailing list.

I don't know the spirit and the boundaries of the Emacs project.
Here is a list of things that I would like to be able to do in Emacs
while writing Guile code.
(I would like to know if there are things that fit to the scope of your
project ? For the ones that do not, I will contact the relevant
stakeholders.)

- take in charge the support of Geiser for Guile ?
- provide features to "refactor" Guile code (i.e extract a
value/procedure into a local/top-level define or let expression, toogle
a variable to be private or public, change procedure signature and
propagate change, move to another file/module and auto-import it) ?
- auto import Guile modules according to unbound variables ?
- instrument the code (set and stepover breakpoints)

Thank you,
Jérémy





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48530; Package emacs. (Thu, 20 May 2021 15:09:01 GMT) Full text and rfc822 format available.

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

From: "Jose A. Ortega Ruiz" <jao <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#48530: Guile Mode
Date: Thu, 20 May 2021 16:07:07 +0100
On Thu, May 20 2021, Jérémy Korwin-Zmijowski wrote:

[...]

> - take in charge the support of Geiser for Guile ?

you're certainly most welcome to contribute to geiser and geiser-guile
in the usual ways, via the gitlab group and repos, mailing list, irc
channel, etc.  unlike some other geiser subprojects, they're not
unmaintained (said as their original author and still maintainer :)),

it's true we would greatly benefit from further collaboration for new
features (like the ones you suggest below), because i haven't had much
time for the project during the last years, so i've been focused on bug
fixing.

after a few patches that make it into the repo, i'd be very glad to add
you to the gitlab group with write permissions and even nominate you as
the main maintainer.  the recent split of the monolithic repo into
per-scheme projects was in fact an attempt to attrack new maintainers
that could focus on specific scheme implementations.

this reminds me of the geiser-racket story: racket was, with guile, the
best supported scheme in geiser, but geiser-racket was eventually
ignored by the racket community when a new racket-mode appeared that
started from zero reimplementing lots of things that were already in
geiser.  i'm not sad about racket-mode taking over (i am sure it is
because it's a better package than geiser-racket, so that's fair), but
about the effort wasted.  if you guys finally decide to start a separate
guile-mode project, just make sure to steal what we already have in
geiser that might be useful.  i'll be happy to help and pass on the
baton! :)

cheers,
jao
-- 
If a listener nods his head when you're explaining your program, wake
him up.
  - Alan Perlis, Epigrams on Programming





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48530; Package emacs. (Fri, 21 May 2021 07:00:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 48530 <at> debbugs.gnu.org
Subject: Re: bug#48530: Guile Mode
Date: Fri, 21 May 2021 09:59:22 +0300
> From: Jérémy Korwin-Zmijowski
>  <jeremy <at> korwin-zmijowski.fr>
> Date: Thu, 20 May 2021 10:57:11 +0200
> 
> I am Jérémy, an Emacs and Guile user. I came to discover both in the
> same time about three years ago.
> I am not a member of the GNU project, nor FSF. I'm just a GNU
> enthousiast.
> 
> When I edit Guile code in Emacs, I rely mostly on :
> Scheme mode + Geiser + Paredit + Autocomplete/Company + Projectile +
> Magit
> 
> Then come other extensions.
> 
> I am writing to you today to start a conversation (hopefully a work)
> around a kind of "Guile mode" (why not something with IDE
> capabilities). I remember Eli incentivizing people to do so on Guile
> user mailing list.
> 
> I don't know the spirit and the boundaries of the Emacs project.
> Here is a list of things that I would like to be able to do in Emacs
> while writing Guile code.
> (I would like to know if there are things that fit to the scope of your
> project ? For the ones that do not, I will contact the relevant
> stakeholders.)
> 
> - take in charge the support of Geiser for Guile ?
> - provide features to "refactor" Guile code (i.e extract a
> value/procedure into a local/top-level define or let expression, toogle
> a variable to be private or public, change procedure signature and
> propagate change, move to another file/module and auto-import it) ?
> - auto import Guile modules according to unbound variables ?
> - instrument the code (set and stepover breakpoints)

I think in general we would welcome any improvement and extensions in
our current support for Scheme and Guile.  If there are some known
issues with our existing Scheme modes, any improvements are welcome in
general.

Refactoring Scheme code is definitely within what we consider to be
the scope of Emacs; we have some generic support for that in the Xref
package and the related APIs.

I never used Geiser (and am not a very active user of Guile), so I
don't know whether it would make sense for us to take over the Geiser
project.  But some capabilities, like being able to run Guile in REPL
from Emacs would definitely make sense in core (or maybe they already
are, and just need to be extended?).

The latter 2 points sound like they belong to Guile proper, or maybe I
don't understand what you meant by them?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48530; Package emacs. (Wed, 13 Jul 2022 12:07:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>
Cc: 48530 <at> debbugs.gnu.org
Subject: Re: bug#48530: Guile Mode
Date: Wed, 13 Jul 2022 14:05:52 +0200
Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr> writes:

> I am writing to you today to start a conversation (hopefully a work)
> around a kind of "Guile mode" (why not something with IDE
> capabilities). I remember Eli incentivizing people to do so on Guile
> user mailing list.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

We'd certainly welcome more support for Guile in Emacs, and there's
already a large number of Geiser packages (including geiser-guile) in
NonGNU ELPA.  But I don't think there's anything actionable in this bug
report, so I'm therefore closing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 48530 <at> debbugs.gnu.org and Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 13 Jul 2022 12:07:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 11 Aug 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 230 days ago.

Previous Next


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