Re: emacs CLI editing support

2025-11-30 Thread Duke Normandin
👍

—
Duke
Sent from my iPhone

> On Nov 30, 2025, at 1:57 AM, GB  wrote:
> 
> 
> On debian you can use vi in busybox or install "nvi", which is the closest 
> thing to original. I recommend just using vip like Alex said though.
> 
>> On Sat, Nov 29, 2025, 18:30 Duke Normandin  wrote:
>> On Sat, 29 Nov 2025 17:56:33 +0200
>> GB  wrote:
>> 
>> > Vip is slightly different from vim for simplicity reasons, and
>> > imo its closer to vi than vim but you'll do good knowing either :D
>> 
>> I'm looking to install `vi' but can't find it on Debian. `synaptic'
>> only shows 'vile'
>> -- 
>> Duke
>> 
>> -- 
>> Fridays for Functions: 9:00-17:00 UTC
>> on Jitsi https://meeting.itship.ch/picolisp
>> 
>> UNSUBSCRIBE: mailto:[email protected]?subjectUnsubscribe


Re: emacs CLI editing support

2025-11-30 Thread Duke Normandin
👍

—
Duke
Sent from my iPhone

> On Nov 30, 2025, at 12:21 AM, Alexander Burger  
> wrote:
> 
> On Sat, Nov 29, 2025 at 09:19:42AM -0700, Duke Normandin wrote:
>>> On Sat, 29 Nov 2025 17:56:33 +0200
>>> GB  wrote:
>>> 
>>> Vip is slightly different from vim for simplicity reasons, and
>>> imo its closer to vi than vim but you'll do good knowing either :D
>> 
>> I'm looking to install `vi' but can't find it on Debian. `synaptic'
>> only shows 'vile'
> 
> The Debian package is "vim". Strange that it is not listed.
> 
> The easiest is to call Vip directly in the REPL.
> The function name, though, is "vi" for ease of use ;)
> 
>   $ pil +
>   : (vi 'day)  # Edit function
>   -> NIL
>   : (vi "file.l")  # Edit file
>   -> NIL
> 
> Hit "qq" or ":q" to quit without changes.
> 
> ☺/ A!ex
> 
> -- 
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
> 
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


--
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-30 Thread GB
On debian you can use vi in busybox or install "nvi", which is the closest
thing to original. I recommend just using vip like Alex said though.

On Sat, Nov 29, 2025, 18:30 Duke Normandin  wrote:

> On Sat, 29 Nov 2025 17:56:33 +0200
> GB  wrote:
>
> > Vip is slightly different from vim for simplicity reasons, and
> > imo its closer to vi than vim but you'll do good knowing either :D
>
> I'm looking to install `vi' but can't find it on Debian. `synaptic'
> only shows 'vile'
> --
> Duke
>
> --
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
>
> UNSUBSCRIBE: mailto:[email protected]?subjectUnsubscribe
>


Re: emacs CLI editing support

2025-11-29 Thread Alexander Burger
On Sat, Nov 29, 2025 at 09:19:42AM -0700, Duke Normandin wrote:
> On Sat, 29 Nov 2025 17:56:33 +0200
> GB  wrote:
> 
> > Vip is slightly different from vim for simplicity reasons, and
> > imo its closer to vi than vim but you'll do good knowing either :D
> 
> I'm looking to install `vi' but can't find it on Debian. `synaptic'
> only shows 'vile'

The Debian package is "vim". Strange that it is not listed.

The easiest is to call Vip directly in the REPL.
The function name, though, is "vi" for ease of use ;)

   $ pil +
   : (vi 'day)  # Edit function
   -> NIL
   : (vi "file.l")  # Edit file
   -> NIL

Hit "qq" or ":q" to quit without changes.

☺/ A!ex

-- 
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-29 Thread Duke Normandin
On Sat, 29 Nov 2025 17:56:33 +0200
GB  wrote:

> Vip is slightly different from vim for simplicity reasons, and
> imo its closer to vi than vim but you'll do good knowing either :D

I'm looking to install `vi' but can't find it on Debian. `synaptic'
only shows 'vile'
-- 
Duke

--
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-29 Thread Duke Normandin


--
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-29 Thread GB
Vip is slightly different from vim for simplicity reasons, and imo its
closer to vi than vim but you'll do good knowing either :D

On Sat, Nov 29, 2025, 17:42 Duke Normandin  wrote:

> On Sat, 29 Nov 2025 13:46:22 +0100
> Alexander Burger  wrote:
>
> > On Thu, Nov 27, 2025 at 10:13:10AM +0200, GB wrote:
> > > Using vip is a better experience thanks to being able to
> > > evaluate forms at point with Ctrl+E, so I'd personally
> > > recommend just doing that.
> >
> > PicoLisp mode for Emacs needs a bit more to be as powerful as
> > Vip, both for editing and for evaluation.
> >
> > It has to keep track of the namespace search order for each
> > buffer and all symbols. This comes for free in Vip, as Vip runs
> > *inside* PicoLisp, while PicoLisp must run as a separate process
> > in Emacs.
>
> Well it appears that I'll have to fire up `vim' and get
> re-acquainted with that editing paradigm. Thx ...
> --
> Duke
>
> --
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
>
> UNSUBSCRIBE: mailto:[email protected]?subjectUnsubscribe
>


Re: emacs CLI editing support

2025-11-29 Thread Thorsten Jolitz
Hi all,
yes Picolisp Emacs environment is mostly unsupported these days, but anyone
can of course clone it on GitHub and bring it up to date.

But unsupported doesn't necessarily mean it doesn't work anymore, I think
some time ago somebody made the few necessary adaptions in the emacs mode
to eliminate the references to obsolete Picolisp functionality from
versions before pil21?

Nowadays it's very popular to use Emacs with EVIL mode (like DOOM Emacs) to
make use of the better editing model of Vim inside emacs.

When already using Vim key bindings in Emacs, one could just as well
directly use VIP for Picolisp, as Alex said.

Cheers
Thorsten

Alexander Burger  schrieb am Sa., 29. Nov. 2025,
13:54:

> On Thu, Nov 27, 2025 at 10:13:10AM +0200, GB wrote:
> > Using vip is a better experience thanks to being able to evaluate forms
> at
> > point with Ctrl+E, so I'd personally recommend just doing that.
>
> PicoLisp mode for Emacs needs a bit more to be as powerful as Vip, both
> for editing and for evaluation.
>
> It has to keep track of the namespace search order for each buffer and
> all symbols. This comes for free in Vip, as Vip runs *inside* PicoLisp,
> while PicoLisp must run as a separate process in Emacs.
>
> ☺/ A!ex
>
> --
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
>
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
>


Re: emacs CLI editing support

2025-11-29 Thread Duke Normandin
On Sat, 29 Nov 2025 13:46:22 +0100
Alexander Burger  wrote:

> On Thu, Nov 27, 2025 at 10:13:10AM +0200, GB wrote:
> > Using vip is a better experience thanks to being able to
> > evaluate forms at point with Ctrl+E, so I'd personally
> > recommend just doing that.
> 
> PicoLisp mode for Emacs needs a bit more to be as powerful as
> Vip, both for editing and for evaluation.
> 
> It has to keep track of the namespace search order for each
> buffer and all symbols. This comes for free in Vip, as Vip runs
> *inside* PicoLisp, while PicoLisp must run as a separate process
> in Emacs.

Well it appears that I'll have to fire up `vim' and get
re-acquainted with that editing paradigm. Thx ...
-- 
Duke

--
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-29 Thread Alexander Burger
On Thu, Nov 27, 2025 at 10:13:10AM +0200, GB wrote:
> Using vip is a better experience thanks to being able to evaluate forms at
> point with Ctrl+E, so I'd personally recommend just doing that.

PicoLisp mode for Emacs needs a bit more to be as powerful as Vip, both
for editing and for evaluation.

It has to keep track of the namespace search order for each buffer and
all symbols. This comes for free in Vip, as Vip runs *inside* PicoLisp,
while PicoLisp must run as a separate process in Emacs.

☺/ A!ex

-- 
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-27 Thread Duke Normandin
Thanks for your input. However 20+ years of emacs mental & muscle memory is 
extra hard to overcome.  :)
—
Duke
Sent from my iPhone

> On Nov 27, 2025, at 1:24 AM, GB  wrote:
> 
> 
> Hey,
> 
> There are a few picolisp-mode forks for emacs, but in my experience they were 
> unusable.
> 
> I rolled my own, but with newer emacs version none of the colors work 
> properly, only indentation does.
> 
> Using vip is a better experience thanks to being able to evaluate forms at 
> point with Ctrl+E, so I'd personally recommend just doing that.
> 
> - Geri
> 
>> On Thu, Nov 27, 2025, 10:07 Alexander Burger  
>> wrote:
>> Hi Duke,
>> 
>> > The docs say that picolisp-mode is at "@lib/el" for a local
>> > installation".
>> > 
>> > Has this been discontinued? I can't find it in `pil21'. TIA ..
>> 
>> Yes, sorry, this kind of Emacs support is not (yet?) in pil21.
>> 
>> ☺/ A!ex
>> 
>> -- 
>> Fridays for Functions: 9:00-17:00 UTC
>> on Jitsi https://meeting.itship.ch/picolisp
>> 
>> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-27 Thread Duke Normandin


No worries! Thx….
—
Duke
Sent from my iPhone

> On Nov 27, 2025, at 1:08 AM, Alexander Burger  
> wrote:
> 
> Hi Duke,
> 
>> The docs say that picolisp-mode is at "@lib/el" for a local
>> installation".
>> 
>> Has this been discontinued? I can't find it in `pil21'. TIA ..
> 
> Yes, sorry, this kind of Emacs support is not (yet?) in pil21.
> 
> ☺/ A!ex
> 
> -- 
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
> 
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


--
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe


Re: emacs CLI editing support

2025-11-27 Thread GB
Hey,

There are a few picolisp-mode forks for emacs, but in my experience they
were unusable.

I rolled my own, but with newer emacs version none of the colors work
properly, only indentation does.

Using vip is a better experience thanks to being able to evaluate forms at
point with Ctrl+E, so I'd personally recommend just doing that.

- Geri

On Thu, Nov 27, 2025, 10:07 Alexander Burger 
wrote:

> Hi Duke,
>
> > The docs say that picolisp-mode is at "@lib/el" for a local
> > installation".
> >
> > Has this been discontinued? I can't find it in `pil21'. TIA ..
>
> Yes, sorry, this kind of Emacs support is not (yet?) in pil21.
>
> ☺/ A!ex
>
> --
> Fridays for Functions: 9:00-17:00 UTC
> on Jitsi https://meeting.itship.ch/picolisp
>
> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
>


Re: emacs CLI editing support

2025-11-27 Thread Alexander Burger
Hi Duke,

> The docs say that picolisp-mode is at "@lib/el" for a local
> installation".
> 
> Has this been discontinued? I can't find it in `pil21'. TIA ..

Yes, sorry, this kind of Emacs support is not (yet?) in pil21.

☺/ A!ex

-- 
Fridays for Functions: 9:00-17:00 UTC
on Jitsi https://meeting.itship.ch/picolisp

UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe