[email protected] (Tedd M. V.) writes:

> Hello people, I'm sorry if I'm really confused but I'm just starting to
> learn picolisp, reading the tutorial the 'emacs'-style, but at the very
> beggining I saw this:
>
>
> "If you prefer to use Emacs, please use the picolisp-mode bundled in the
> "el/" directory (that is "@lib/el" for a local installation, or some
> system dependent directory for a global installation)."
>
>
> I imply that somewhere in the installation a .el file for emacs (to be
> places on your folder .emacs.d and added to your .emacs) is present and
> that it's not the same 'emacs'-style mode. Am I correct? So, if I am, I
> installed picolisp in Ubuntu, where can I find that file? I used whereis
> in the terminal but nowhere in a "/lib/" folder is something .el. Could
> someone please help use this emacs mode please? I'm more used to emacs.
>
> If it does not come in the binary installation, where in the source code
> do I get it?
>
> Thanks for your time,
> Tedd M. V.

Hallo Tedd,
Picolisp has a different philosophy than Emacs, i.e. the pure Unix
philosophy 'one tool for one task' (more or less), while Emacs is more
'one tool for all tasks'.

So PicoLisp comes with a line editor for writing single command lines
like in a shell. When you want to do text editing, you call an editor
like vim via (edit ...), when finished with editing, you go back to you
command line (line editor).

This line editor uses vim keybindings, but you can set it to emacs style
bindings by doing once:

:pil -em +

or

: pil +
:(em)

The picolisp emacs mode is something else, normally its for Emacs users
who like to stay all the time in their favorite editor Emacs, that has
different editing modes for different programming languages.
You should have the .el files necessary in you picolisp distribution, if
not, look on my github accout tj64 for them.

PS
Note that picolisp has its own vim-style editor VIP now, written
entirely in picolisp

PS2
I think (edit ...) should work with Emacsclient too, so you can stay
with the Unix philosophy, i.e. stay on the picolisp line editor all the
time, but jump to an emacsclient for text editing instead of vim.

PS3
AT Alex: hope I got all that right more or less ;-)

-- 
cheers,
Thorsten


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

Reply via email to