emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thoughts on adding customization options for built in scheme-mode?


From: Eli Zaretskii
Subject: Re: Thoughts on adding customization options for built in scheme-mode?
Date: Tue, 07 Feb 2023 21:27:16 +0200

> From: Gerry Pipes <gerrypipes@hotmail.com>
> Date: Tue, 7 Feb 2023 17:22:57 +0000
> 
> The built in scheme mode with emacs is great! I was looking at it and I was 
> wondering if there was any interest/opposition in adding a few customization 
> options that would make it more flexible for different implementations? 
> 
> There is already a customization option for scheme-program-name so I was 
> thinking a few more could be added to support different implementations.
> 
> The ones I’m most interested in would be allowing the command for  
> - scheme-load-file
> - scheme-compile-file
> To be customized. Right now they are hard-coded as (load filename) and 
> (compile-file filename). 
> 
> I like to program in racket and the built in scheme mode works great except 
> racket prefers “enter!” to “load”. I know racket is technically a descendant 
> of scheme and not what scheme-mode was intended for, but I think adding a 
> “scheme-load-file-command” option would be unobtrusive and add some 
> flexibility to the mode. Another example would be using Chicken scheme’s 
> “load-noisily” over “load” or something like that.
> 
> Anyways I know there are a hundred packages like slime, geiser, racket-mode 
> that do all this stuff but having to add Melpa and download a package just 
> for that to be the only thing I want to tweak makes we wish I could just 
> customize scheme-mode a tiny bit more.
> 
> The change would very small just be replacing those hardcoded strings with 
> defcustom strings. I also know that those commands are built in to the r#rs 
> standard so I completely understand if this is something people don’t want to 
> add customization options for and anything that doesn’t use these should use 
> it’s own mode.

I suggest that you post the proposed patches to bug-gnu-emacs@gnu.org
as feature requests.  We are definitely interested in developing and
extending the scheme-mode in general, but each change should be judged
on a case by case basis, so it is best to show the code, and take it
from there.

I see that you didn't yet assign copyright to the FSF, so I suggest
that you start the paperwork at this time, so that we could accept
your contributions without any size limitations.  If you agree, I will
send you the form to fill and the instructions to go with it.

Thank you for your interest in Emacs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]