~ngraves

~ngraves/devel

Last active 3 months ago
View more

Recent activity

Re: [PATCH rde 0/2] Python + emacs dape 19 hours ago

From Nicolas Graves to ~abcdw/rde-devel

On 2025-02-07 17:40, jgart@dismail.de wrote:

> I have a feeling that we might need to do similar patching to what Demis
> did here in feature-javascript:
>
> https://git.sr.ht/~abcdw/rde/tree/master/src/contrib/features/javascript.scm#L268
>
> It does feeel a bit tedious to have to do that but ...?
>
> WDYT

Weird, on my side I don't need that.

Also, I don't enter the debugpy part by hand, when I =M-x dape=, I

[PATCH rde 2/2] features: python: Add options dap? and python-debugpy a day ago

From Nicolas Graves to ~abcdw/rde-devel

---
 src/rde/features/python.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/rde/features/python.scm b/src/rde/features/python.scm
index 212650b7..22f0dd74 100644
--- a/src/rde/features/python.scm
+++ b/src/rde/features/python.scm
@@ -72,13 +72,20 @@ if readline.get_current_history_length() == 0:
          #:key
          (python python-wrapper)
          (emacs-python-black emacs-python-black)
          (black? #f))
          (black? #f)
[message trimmed]

[PATCH rde 1/2] features: python: Ensure home-services definition a day ago

From Nicolas Graves to ~abcdw/rde-devel

---
 src/rde/features/python.scm | 46 +++++++++++++++++++------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

diff --git a/src/rde/features/python.scm b/src/rde/features/python.scm
index cf180b19..212650b7 100644
--- a/src/rde/features/python.scm
+++ b/src/rde/features/python.scm
@@ -83,7 +83,7 @@ python files."
  (define f-name 'python)

  (define (get-home-services config)
    (list
    (cons*
[message trimmed]

[PATCH rde 0/2] Python + emacs dape a day ago

From Nicolas Graves to ~abcdw/rde-devel

This is an excerpt of my original python patch series, focusing on
only the part that relates to fixes and emacs-dape integration.

Nicolas Graves (2):
  features: python: Ensure home-services definition
  features: python: Add options dap? and python-debugpy

 src/rde/features/python.scm | 62 ++++++++++++++++++++++---------------
 1 file changed, 37 insertions(+), 25 deletions(-)

-- 
2.48.1

Re: RDE and GSoC (deadline February 10) 5 days ago

From Nicolas Graves to ~abcdw/rde-discuss

Only a sketch of a few things I'd like to advance. There is a lot, we
probably need to sort and select what we want to prioritize.

On RDE:

Making a RDE cli that would be able to only prompt for a root password
would be useful to me.  I started some work on this but it's probably
too hacky right now, and would require more than my expertise.
  A nice thing to have too here would be to have a
  =rde future/peek config.scm binary= to be able to test a future emacs
  configuration without having to build the whole guix-home.

IIRC, there are a lot of future things we might want to implement that

Re: [PATCH rde v3 0/2] Deprecate any-package? and list-of-packages? predicate 5 days ago

From Nicolas Graves to ~abcdw/rde-devel

On 2025-02-03 13:21, Andrew Tropin wrote:

> On 2025-01-18 16:27, Nicolas Graves wrote:
>
>> Just some light deprecation work. Former patch series marked SUPERSEDED.
>>
>> Nicolas Graves (2):
>>   rde: Deprecate any-package? predicate
>>   rde: Deprecate list-of-packages? predicate
>>
>>  src/rde/features/base.scm            |  6 +++---
>>  src/rde/features/clojure.scm         |  2 +-
>>  src/rde/features/golang.scm          |  2 +-
>>  src/rde/features/linux.scm           |  2 +-

[PATCH rde] doc: Update version 7 days ago

From Nicolas Graves to ~abcdw/rde-devel

---
 doc/version.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/version.texi b/doc/version.texi
index 2e4dc81f..bb21632e 100644
--- a/doc/version.texi
+++ b/doc/version.texi
@@ -1,3 +1,3 @@
@set UPDATED 28 December 2023
@set VERSION 0.5.0
@set UPDATED 1 February 2025
@set VERSION 0.6.0
@set EDITION @value{VERSION}
[message trimmed]

Re: [emacs-arei] Multiple values 8 days ago

From Nicolas Graves to ~abcdw/rde-discuss

On 2025-01-30 08:31, Andrew Tropin wrote:

> On 2025-01-28 16:42, Nicolas Graves wrote:
>
>> Hi!
>>
>> Just a quick note to get rid of that idea.  Currently emacs-arei waits
>> and aggregates values before returning them.  It would be cool if we
>> could instead actually place values in front of their invocating code.
>
> Hello!
>
> I don't know how easy/hard it will be to implement, but indeed we
> probably we don't need to wait for all to be ready before rendering the

Re: Promises in RDE configs 9 days ago

From Nicolas Graves to ~abcdw/rde-discuss

On 2025-01-20 14:48, Andrew Tropin wrote:

> On 2025-01-18 15:56, Nicolas Graves wrote:
>
>> Hi RDE!
>>
>> I have a few fields that I would like to be delayed / loaded only when
>> necessary / accepting promises.  This is for instance the case in my
>> config for my ssh-configs, which are stored in encrypted files (for
>> privacy).
>>
>> I currently have a script to read that from a Guix system even if =pass=
>> is not installed, but this means I have to compute a (grafted) file-like
>> everytime I read the file with a different guix profile, even if I'm not

Re: Enabling and Configuring Features via RDE Values 9 days ago

From Nicolas Graves to ~abcdw/rde-discuss

On 2025-01-24 00:59, Nicolas Graves wrote:

> On 2025-01-22 10:44, Nicolas Graves wrote:
>
>>> Set 'zsh to zsh package and voilĂ , zsh is enabled, integration of
>>> podman, direnv, vterm and what else was in your config is automatically
>>> enabled as well.
>>
>> How will users know about the values in this case ?  One advantage of
>> the features API is discoverability (which configuration do I have at
>> hand? -> just look at features/arguments).  I like the idea but I'm not
>> sure discoverability is preserved, especially for newcomers.
>
> For dicoverability we should at least ensure that we can easily have a