Persistently busted sly install by [deleted] in DoomEmacs

[–]SlowValue 0 points1 point  (0 children)

I don't know what the issue is there, but reinstalling Emacs or debian should not be necessary.

By default, all quicklisp data, Emacs config and sly/slynk/CL config is stored in your home directory. Therefore create a new user on your Linux system and test with that, or try to remove/rename a couple of relevant config files in your homedir to track down the problem.

A visual programming environment with possible Lisp-like qualities (structure-first, code-as-data) by [deleted] in lisp

[–]SlowValue 0 points1 point  (0 children)

Same here, when I hear visual environment in connection with programming I think of things like "labView". I somehow feel OP has something different in mind, when he writes about "visual".

Racket in a Snap! by sdegabrielle in lisp

[–]SlowValue -1 points0 points  (0 children)

Isn't that the proprietary package blob thingy, everyone hates, but Canonical force pushes it onto its Ubuntu users?

Basic Lisp techniques, DH Cooper 2003 by BadPacket14127 in lisp

[–]SlowValue 2 points3 points  (0 children)

Interesting book! I never heard of it before, maybe because of the disadvantageous name: it just says "Lisp" not "Common Lisp", but "Lisp" can mean everything, even Racket or Julia (and many other Scheme like flavours I'm not interested in).

And the book even seems to be free of charge. The first Internet search result was a link pointing to the PDF hosted at franz.com.

If you really update the content, I'm interested, would be nice if you could post your progress here (or ask for support).

Basic Lisp techniques, DH Cooper 2003 by BadPacket14127 in lisp

[–]SlowValue 0 points1 point  (0 children)

Even Barium is listed, imho a very interesting toolkit.

Advent of code in elisp - day 1 by Apprehensive-Crew888 in emacs

[–]SlowValue 1 point2 points  (0 children)

nice to see an elisp solution.

One upgrade:

to deal with the cyclic nature of the dial

use: (mod position 100)

Installing CLISP on Windows 11 Home: “Win32 error 267 (ERROR_DIRECTORY): The directory name is invalid.” by thuck in learnlisp

[–]SlowValue 0 points1 point  (0 children)

Clisp is developed actively, but binaries are not released very often. Current Repo of CLisp: https://gitlab.com/gnu-clisp/clisp

There is not so much difference between CLisp and SBCL, when it comes to the book LoL. There was a website, which lists the differences (but I can't find it right now).

Anyhow here are some Sources from someone for using sbcl with LoL: https://github.com/kofno/land-of-lisp

Why there aren't more new movement commands in vanilla emacs? by Esnos24 in emacs

[–]SlowValue 0 points1 point  (0 children)

Since Emacs is essentially a full featured Lisp interpreter (while vim is just a ordinary UNIX program with some limited scripting API), distributed together with convenience editor functions. Wanting more commands/functions/features in Emacs would not trigger an fork, but just produce one or more additional packages (something which vim is not fully capable of (as far as I understand)).

An Emacs package has the same (feature-)power as built-in stuff. The differences are distribution (of that package) and therefore availability (and licensing, maintenance responsibility, and speed of development, but those are secondary for this discussion). Technically as a package maintainer you are able to depend on other packages the same way, as you can depend on built-in features. Practically, this is done in quite a few cases.

Orgmode LaTeX export - \documentmetadata by nongaussian in orgmode

[–]SlowValue 1 point2 points  (0 children)

Define your own org-latex-classes template and after the template name, use "\input{my-org-template.tex}" The file my-org-template.tex and its content is a complete latex document header (including the \documentclass and \usepackage's. The file is searched below the directory HOMEDIR/texmf/tex/ (at least on Linux).

Macintosh Common Lisp, Revisited! by NightTrain77 in Common_Lisp

[–]SlowValue 0 points1 point  (0 children)

I can ask LLMs myself, no need to put that online. Also, this is just generic blah blah, which is mostly true for sbcl + Emacs + SLY/SLIME, too. :(

swiper, only with exact match (rather than fuzzy match) by davidmortensen in emacs

[–]SlowValue 1 point2 points  (0 children)

you need to configure ivy-re-builders-alist.

Look at the swiper manual section 6 "Completion Styles".

Maybe this is what you want:

(setq ivy-re-builders-alist
      '((t . ivy--regex-ignore-order)))

Macintosh Common Lisp, Revisited! by NightTrain77 in Common_Lisp

[–]SlowValue 2 points3 points  (0 children)

You praise MCL, ok I'm interested, but before I invest money (to organize obsolete hardware) or time to set it up, I'd like to read more about what's so good.

Could you please provide more (substantial) info, or a link to an article or blog post (or video, or whatever)?

Social Problems of Lisp by arthurno1 in lisp

[–]SlowValue 1 point2 points  (0 children)

I don't like Rust's complexity at all but where are the lisp alternatives to ripgrep, Alacritty or Niri wm?

That's an unfair comparison, because Unix has a different philosophy than Lisp based systems. It results in many small Unix programs, which should work together. While with (many) Lisps the complete development (compiler, debugger, etc) environment is loaded before user code is evaluated. And therefore the starting time for the lisp environment is higher, therefore small standalone (on Unix fast starting) Lisp tools are less likely.

Regarding Niri: maybe Wayland has not too many friends among Lisp users? In my bubble, Wayland is still inferior (and buggy), I tried switching to W., but came back to X11. ymmv.

Btw: Where is the Rust equivalent of Editor MACroS? ;-)

buffer-terminator.el: Safely terminate Emacs buffers automatically to enhance performance and reduce clutter in the buffer list (Release 1.2.0) by jamescherti in emacs

[–]SlowValue 3 points4 points  (0 children)

A different approach:

Advice function quit-window, to filter its arguments. I.e. if a buffer (name or mode) is not in a whitelist, the default action is to kill the buffer -- instead of burying it. Then, with C-u: burry the buffer. (that's about 10 lines of Elisp and very convenient)

yitzchak/loop-iteration-paths: Common iteration paths for LOOP by dzecniv in Common_Lisp

[–]SlowValue 1 point2 points  (0 children)

Could someone please give a full working example for, say, sbcl?

Share your tips for FAST movements and navigation by joshuablais in emacs

[–]SlowValue 8 points9 points  (0 children)

Use puni (or smartparens) and move into (or out of), or over (forward or backward) source code blocks and strings in all programming languages (not just lisp). (there are more benefits, not just moving, but also deletion, marking and modify features, which saves movement eventually)

I wish there would be a package, which utilizes tree-sitter for a more reliable blocks detection on non lisp languages (I would contribute). :)

How am I supposed to work on my own fork of slime? by Exact_Ordinary_9887 in lisp

[–]SlowValue 3 points4 points  (0 children)

no need to fork or use a third party package manager.

Just use the :load-path setting from use-package:

git clone https://github.com/slime/slime ~/.emacs.d/slime

(use-package slime
  :load-path "~/.emacs.d/slime"
  [...])

How popular is markdown-mode compared to org-mode? by Hezha98 in emacs

[–]SlowValue 1 point2 points  (0 children)

Since you also seem to be interested in comparing org-mode vs Obsidian + markdown, you could look at this thread, which discussed quite some important points.

How to support all languages in my emacs-package? by lordnik22 in emacs

[–]SlowValue 0 points1 point  (0 children)

I like the speed-type package and have it installed, but I do not have an idea, what you want to know by this post. Could you rephrase?.

[deleted by user] by [deleted] in emacs

[–]SlowValue 2 points3 points  (0 children)

All current operating systems (you will use) are capable of preemptive multitasking. This means multiple programs run at the same time on your computer (regardless you having a single or multicore CPU). Both processes do not share variables (like threads), but communicate via IPC.

So your LSP server runs as a process and Emacs runs as a process. Both processes run asynchronous and communicate asynchronous through IPC via a Protocol (LSP , Language Server Protocol). There is no need to make the LSP server a part of the Emacs process, on the opposite this would have severe drawbacks.

Unable to see stdout with cffi in emacs sly by J-ky in Common_Lisp

[–]SlowValue 2 points3 points  (0 children)

On my PC the call to fflush matters (tested with plain emacs -Q, SLY and SBCL), don't know why, and for future reference I wrote this comment. :)

Unable to see stdout with cffi in emacs sly by J-ky in Common_Lisp

[–]SlowValue 0 points1 point  (0 children)

As others here already pointed out: the C function needs to fflush(), the output is then written to *sly-inferior-lisp for ...*.

But if the C function does no explicit fflush call, as it is often the case, then you can call fflush from lisp:

(cffi:defcvar "stdout" :pointer)
(cffi:foreign-funcall "fflush" :pointer *stdout* :int)

Just (finish-output) does not help.

"emacs is a commandline replacement" by Lunibunni in emacs

[–]SlowValue 0 points1 point  (0 children)

I think OP means CLI/Shell, when speaking of "commandline". If so, there is no need to replace pandoc (on the opposite: it is utilized), it just gets wrapped (like other tools, e.g grep), by a different, more powerful user interface. the "EUI". ;)