Lisp HUG Maillist Archive

Introduction

Howdy folks!

My name is Joel and I put in my first order for LispWorks 5.0 today.

--
http://whylisp.com




Re: Introduction

Hi Joel!

On Oct 18, 2006, at 1:45 PM, Joel Reymont wrote:

>
> Howdy folks!
>
> My name is Joel and I put in my first order for LispWorks 5.0 today.
>
> --
> http://whylisp.com
>
>
>

--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM





Re: Introduction


On 18 Oct 2006, at 19:45, Joel Reymont wrote:

> Howdy folks!
>
> My name is Joel and I put in my first order for LispWorks 5.0 today.

Hi Joel, welcome!

What brought you 'over' ? What is the IDE after all ?
You're on Mac, right ? I think that as a development environment on  
Mac, LW has no competition.

Sven

--
Sven Van Caekenberghe - http://homepage.mac.com/svc
Beta Nine - software engineering - http://www.beta9.be

"Lisp isn't a language, it's a building material." - Alan Kay


Re: Introduction

On Thu, 19 Oct 2006 12:44:01 +0100, Joel Reymont <joel@whylisp.com> wrote:

>> What is the IDE after all ?
>
> SLIME :-).
>
>> You're on Mac, right ? I think that as a development environment on
>> Mac, LW has no competition.
>
> [...]
>
> Personally, I run the LW IDE and use Emacs for editing. I can't use
> the LW editor, it's too strange for me and I don't care to spend the
> time to adjust the bindings.

I think that's a big mistake.  I'm mentioning this because I had the
same misconception for quite some time and I also used Emacs/SLIME
instead of (or in additon to) the LispWorks IDE.  Finally, after one
or two years of fiddling about, I switched over to the LispWorks IDE
completely and I never regretted it.  Even without modifications, the
editor is quite similar to Emacs.  It still has a couple of quirks
that bug me from time to time, but I can live with them.  (Not that I
wouldn't be happy if they went away.  LispWorks, are you listening?)

I still use GNU Emacs for almost everything else, so I know what I'm
talking about.  SLIME is cool, but whenever I have to use it with
another Lisp like SBCL or CMUCL, I know what I'm missing in terms of
IDE support.

As far as spending a few hours to tweak your working environment is
concerned, it is certainly wrong to try to skip this part and instead
to suffer for years.  But I guess every hacker has to learn that
himself.


Re: Introduction

Edi Weitz <edi@agharta.de> writes:

> I think that's a big mistake.  I'm mentioning this because I had the
> same misconception for quite some time and I also used Emacs/SLIME
> instead of (or in additon to) the LispWorks IDE.  Finally, after one
> or two years of fiddling about, I switched over to the LispWorks IDE
> completely and I never regretted it.  Even without modifications, the
> editor is quite similar to Emacs.  It still has a couple of quirks
> that bug me from time to time, but I can live with them.  (Not that I
> wouldn't be happy if they went away.  LispWorks, are you listening?)

I wholeheartedly agree. I guess the only thing with the editor that
/really/ irritates me, is that control-X 2 doesn't do what I want
it to do. Two or more buffers in the same window can be really useful
from time to time...

I've used the IDE all the time, but I grew up with several emacs-
flavoured editors from the beginning (my first emacsen were FINE and
AMIS on tops-10, followed by the original TECO-based emacs on tops-20,
not much later I started using FRED on MACL 1.<something> :-)), so I
guess I'm just used to the fact that emacs-style editing doesn't have
to be done in the One True Emacs.

> I still use GNU Emacs for almost everything else

Me too, e.g. I also use PCL-CVS in GNU Emacs for version handling, and
the fact that I can't do this inside the LW editor is O.k. with me.
-- 
  (espen)


Re: Introduction

Joel Reymont <joel@whylisp.com> writes:

> Would you kindly tell me how to map the Command/Apple key to meta for  
> all buffers and everywhere in the editor?

Sure, it's under "Emulation" in Window -> Window Preferences
(it will be saved as default behaviour if you tell it to).
-- 
  (espen)


Re: Introduction

On Thu, 19 Oct 2006 15:14:18 +0200, "Arthur Lemmens" <alemmens@xs4all.nl> wrote:

> I miss proper wrapping of comment lines when I do Meta-Q.

Me too.

> Then again: if I really really cared about this, I suppose I would
> have fixed it by now.

My "meta-complaint" about the LW editor is that it isn't as easy to
customize and fix as GNU Emacs is, even though you have the source
code.  For example, it seems to be very hard to customize indentation
apart from the very basic EDITOR:SETUP-INDENT function.  Imagine how
you'd do something like this

  http://boinkor.net/lisp/cl-indent-patches.el

in LispWorks...


Re: Introduction

Edi Weitz <edi@agharta.de> writes:

> My "meta-complaint" about the LW editor is that it isn't as easy to
> customize and fix as GNU Emacs is, 

....and by far not as easy to customize as FRED :-)
-- 
  (espen)


Re: Introduction

On Thu, 19 Oct 2006 14:46:49 +0100, Joel Reymont <joel@whylisp.com> wrote:

> There's Help -> Editing -> Command to Key but how do you enter the
> command when the editor prompts you to enter it? The only way I
> found is to type ? at the prompt and pick the command from the
> list. The list does not let you type ahead, btw, it seems that you
> need to scroll with the mouse.

I use C-h w and then type the name in the minibuffer, with tab
completion.  Works like in GNU Emacs.

> Overall, do you guys customize the key bindings to be like SLIME or
> do you stick with the IDE defaults? I'm used to C-c C-k in SLIME to
> compile the buffer whereas the IDE uses Ctrl-Shift-b.

Here's some stuff to make the IDE behave more like SLIME:

  http://weitz.de/lw-add-ons/


Re: Introduction

Le 20/10/2006 23:25, Mac Chan écrivait :

>...
>But the biggest issue that bugs me is this:
>
>   (keyboard-translate ?\050 ?\071) ; 9 -> (
>   (keyboard-translate ?\071 ?\050) ; ( -> 9
>   (keyboard-translate ?\051 ?\060) ; 0 -> )
>   (keyboard-translate ?\060 ?\051) ; ) -> 0
>
>my hand is already injured and typing all the parenthesis is really
>painful.

Maybe you should try the Dvorak layout (US) or 
some variant of it (and an ergonomic keyboard). I 
have designed a Dvorak like layout for the French 
language that I use on a ergonomic and 
programmable keyboard. Parens are well placed. See :
http://www.algo.be/ergo/dispositions.htm#kinesis

And finally, I have remapped many of the LW 
editor commands to make them easy to type with 
this layout using the technic described by John. For example:
(bind-key "Evaluate Defun" '#\control-\e)

Francis

>I know most people usually do this:
>
>   (keyboard-translate ?\( ?\[)
>   (keyboard-translate ?\[ ?\()
>   (keyboard-translate ?\) ?\])
>   (keyboard-translate ?\] ?\))
>
>If anyone know if one can remap the keys in the LW IDE I'd love to
>know!
>
>
>Of course, paredit is also very helpful in emacs so you don't have to
>balance the parenthesis and save a lot of typing. But that might be
>too much to ask :-)
>
>(add-hook 'lisp-mode-hook 'enable-paredit-mode)
>
>-- Mac



Re: Introduction

Mac Chan <emailmac@gmail.com> writes:

> If anyone know if one can remap the keys in the LW IDE I'd love to
> know!

This matches my (X)Emacs configuration, though the behavior differs
slightly with respect to `undo':

(editor:bind-key "Insert \()" #\[ :mode "Lisp")
(editor:bind-key "Insert \()" #\[ :mode "Execute")
(editor:bind-key "Move Over )" #\] :mode "Lisp")
(editor:bind-key "Move Over )" #\] :mode "Execute")
(editor:bind-string-to-key "[" #\meta-\[ :mode "Lisp")
(editor:bind-string-to-key "[" #\meta-\[ :mode "Execute")
(editor:bind-string-to-key "]" #\meta-\] :mode "Lisp")
(editor:bind-string-to-key "]" #\meta-\] :mode "Execute")

-- 
Steven E. Harris


Updated at: 2020-12-10 08:47 UTC