Unsubscribe

2019-09-15 Thread Tim Johnson

Good bye Tim Johnson  :-(
You are now unsubscribed


thanks


--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Which emacs mode to use?

2017-05-11 Thread Tim Johnson
  Thanks for the feedback Rick.
  That's pretty much what I ended up using.
  You can see the previous content of the thread
  by looking at archives starting at
  https://www.mail-archive.com/picolisp@software-lab.de/msg07332.html
  note that I ended up using an inferior mode patched by
  Chris Howard.
  cheers
* r...@tamos.net  [170510 18:06]:
> On Tue, 04 Apr 2017 16:58 -0800, Tim Johnson wrote:
> > I'd welcome opinions as to which I should use.
> 
> Hi Tim!
> 
> Sorry to be "late for the party".  I'm not an expert on emacs configs
> for picolisp, but I use Thorsten's repo here:
> https://github.com/tj64/picolisp-mode.
> 
> My `~/.emacs.d/init.el` file has something more involved (to configure
> Thorsten's package), but you can get well started with something very
> simple like:
> 
> ```
> (add-to-list 'load-path "/path/to/picolisp-mode")
> (require 'inferior-picolisp)
> (add-to-list 'auto-mode-alist '("\\.l$" . picolisp-mode))
> ```
> 
> where `/path/to/picolisp-mode` is where you cloned the repo into, of
> course.
> 
> This works because `inferior-picolisp.el` requires `picolisp.el`; so no
> need to do the dance the other way. :)
> 
> If you already use `use-package` (find it on elpa), it's even a bit
> simpler:
> 
> ```
> (add-to-list 'load-path "/path/to/picolisp-mode")
> (use-package inferior-picolisp
>   :mode ("\\.l\\'" . picolisp-mode))
> ```
> 
> The nice thing about `use-package` is that it's a "lazy load" -- it
> computes an autoload for you on-the-fly.  The actual load will happen
> when you open a `.l` file for the first time.
> 
> There you go FWIW.  Your friend in multiple lisps, --Rick
> 
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Which emacs mode to use?

2017-04-06 Thread Tim Johnson
  Morning Chris -
  Upon reflection, my picolisp install is via apt, but that is just
  a side note.

  I took the files from tarfile that you pointed me to, added your
  inferior mode and placed them under ~/.emacs.d

  A brief inspections - which is all I have time for now - shows
  that *.l files are loaded without error and syntax highlight shows
  as well as the REPL.

  That's more than I could say for either the elpa install or the
  one provided by the ubuntu install.

  I appreciate the help. 
  
  What others are using for an editor/IDE?

  Thanks again, Chris
  - tj -
* Christopher Howard  [170405 17:24]:
> Hi, I was referring to the lib/el folder inside the picolisp source
> archive from http://software-lab.de/picoLisp-16.12.tgz.
> 
> I followed the manual installation instructions so that my picolisp is
> installed at /usr/local/src/picoLisp. And so I just added this to my
> ~/.emacs:
> 
> (add-to-list 'load-path "/usr/local/src/picoLisp/lib/el")
> (load "tsm.el") ;; Picolisp TransientSymbolsMarkup (*Tsm)
> (autoload 'run-picolisp "inferior-picolisp")
> (autoload 'picolisp-mode "picolisp" "Major mode for editing Picolisp." t)
> (add-to-list 'auto-mode-alist '("\\.l$" . picolisp-mode))
> 
> On 04/05/2017 05:01 PM, Tim Johnson wrote:
> 
> >I'm unclear as to where lib/el is. Note that I have .el files at
> >/usr/share/emacs/site-lisp/picolisp. (I installed picolisp via
> >the "standard" config-make compilation route.)
> > 
> >What is the full path of your lib/el?
> >thanks, Chris
> > 
> 
> 
> -- 
> https://qlfiles.net
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Which emacs mode to use?

2017-04-05 Thread Tim Johnson
  Thanks Chris :
* Christopher Howard  [170405 17:24]:
> Hi, I was referring to the lib/el folder inside the picolisp source
> archive from http://software-lab.de/picoLisp-16.12.tgz.
> 
> I followed the manual installation instructions so that my picolisp is
> installed at /usr/local/src/picoLisp. And so I just added this to my
> ~/.emacs:
> 
> (add-to-list 'load-path "/usr/local/src/picoLisp/lib/el")
> (load "tsm.el") ;; Picolisp TransientSymbolsMarkup (*Tsm)
> (autoload 'run-picolisp "inferior-picolisp")
> (autoload 'picolisp-mode "picolisp" "Major mode for editing Picolisp." t)
> (add-to-list 'auto-mode-alist '("\\.l$" . picolisp-mode))

I will re-install using the source that you pointed me to and
report back tomorrow.

cheers
- tim -

> On 04/05/2017 05:01 PM, Tim Johnson wrote:
> 
> >I'm unclear as to where lib/el is. Note that I have .el files at
> >/usr/share/emacs/site-lisp/picolisp. (I installed picolisp via
> >the "standard" config-make compilation route.)
> > 
> >What is the full path of your lib/el?
> >thanks, Chris
> > 
> 
> 
> -- 
> https://qlfiles.net
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Which emacs mode to use?

2017-04-05 Thread Tim Johnson
Well ... somebody more knowledgeable than I did respond. :)
* Christopher Howard  [170405 16:47]:
> Hi, I figured somebody more knowledgeable would respond, but since they
> didn't...
> 
> I've had a good experience with the emacs-mode included in the
> picolisp-16.12 stable release, available under lib/el directory, with
> two caveats:
 
   I'm unclear as to where lib/el is. Note that I have .el files at
   /usr/share/emacs/site-lisp/picolisp. (I installed picolisp via
   the "standard" config-make compilation route.)

   What is the full path of your lib/el?
   thanks, Chris

> 1) There is not a built-in command for simply reloading the code from an
> entire buffer. So I had to add this command myself. You can get this by
> replacing the "inferior-picolisp.el" file with the one from my repository:
> 
> http://git.savannah.nongnu.org/cgit/picolisp-nb.git/tree/picolisp-mods/against-picolisp-16.12/picolisp/lib/el/inferior-picolisp.el?id=39918b34aa685b0ef86a0085ccfb0f69e2af6092
> 
> 2) For some reason, the indentation functionality stops working whenever
> you start typing a "(let (..." form. But once you close that second set
> of parentheses it goes back to normal.
> 
> On 04/04/2017 04:58 PM, Tim Johnson wrote:
> > I note that my emacs (25.1.1 on ubuntu) will install and provide 
> > 'picolisp-mode as an elpa package.
> > 
> > In addition, my installation of picolisp has at :
> > /usr/share/emacs/site-lisp/picolisp
> > tsm.el, inferior-picolisp.el, and picolisp.el (providing mode
> > 'picolisp)
> > 
> > I'd welcome opinions as to which I should use.
> > 
> > Thanks
> > 
> 
> -- 
> https://qlfiles.net
> -- 
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Which emacs mode to use?

2017-04-04 Thread Tim Johnson
I note that my emacs (25.1.1 on ubuntu) will install and provide 
'picolisp-mode as an elpa package.

In addition, my installation of picolisp has at :
/usr/share/emacs/site-lisp/picolisp
tsm.el, inferior-picolisp.el, and picolisp.el (providing mode
'picolisp)

I'd welcome opinions as to which I should use.

Thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Documenting PicoLisp code?

2017-03-28 Thread Tim Johnson
* Joh-Tob Schäg  [170328 10:09]:
> It is no doc string in the elisp sense even though function and syntax are
> similar.
> 
> (de do_nothing () "Does nothing")
> 
> Does not behave as expected. It returns the evaluated transient symbol
> "Does nothing".
> 
> (de return_null () "returns 0" 0)
> 
> (de muliply_increase_add (A B C) (let N (* A B) "N is A * B"  (inc 'N 1) "N
> is increased by 1" (setq N (+ N C)) "Everything is done returning N now" N))
> 
> 
> Is an extreme example which illustrates the trade-of both in terms of
> handling return values and readability. Also be careful around @, @@, @@@
> with these. The resulting code is also slower. Comments are often preferred
> for that reason.
 
   Thank you.

> 2017-03-28 19:26 GMT+02:00 Tim Johnson :
> 
> > * Joh-Tob Schäg  [170323 22:18]:
> > > Either comments inside the code.# Like that
> > >
> > > Transistent Symbols at the beginn of the funtion.
> > > (de power (N E)
> > >   "Calculates the exponent in a wastefull manner"
> > >   (apply '* (need E N)))
> > >
> > > I have not seen another approach in Picolisp yet
> > > Am 24.03.2017 04:15 schrieb "Christopher Howard" <
> > > christopher.how...@qlfiles.net>:
> > >
> > > > Hi list. How does one document his picolisp code? Has anybody developed
> > > > any cool markup systems for use with picolisp?
> > > >
> >   Joh-Tob seems to be describing a docstring as in elisp and python.
> >   Does the docstring have to be the third member of the 'de form?
> >
> >   Thanks
> > --
> > Tim
> > http://www.akwebsoft.com, http://www.tj49.com
> > --
> > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
> >

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Documenting PicoLisp code?

2017-03-28 Thread Tim Johnson
* Joh-Tob Schäg  [170323 22:18]:
> Either comments inside the code.# Like that
> 
> Transistent Symbols at the beginn of the funtion.
> (de power (N E)
>   "Calculates the exponent in a wastefull manner"
>   (apply '* (need E N)))
> 
> I have not seen another approach in Picolisp yet
> Am 24.03.2017 04:15 schrieb "Christopher Howard" <
> christopher.how...@qlfiles.net>:
> 
> > Hi list. How does one document his picolisp code? Has anybody developed
> > any cool markup systems for use with picolisp?
> >
  Joh-Tob seems to be describing a docstring as in elisp and python.
  Does the docstring have to be the third member of the 'de form?

  Thanks
-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Subscribe

2017-01-31 Thread Tim Johnson
Hello Tim Johnson  :-)
You are now subscribed


Thanks

-- 
Tim 
http://www.akwebsoft.com, http://www.tj49.com
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe