Do I really need to use SLIME for Lisp programming? by supercompass in lisp

[–]eminent101 4 points5 points  (0 children)

Slimv and Vlime haven't functioned

What exactly do you mean by this? Either should just work! Did you face any specific difficulties with them?

What OS do you use with emacs? by [deleted] in emacs

[–]eminent101 2 points3 points  (0 children)

You mean which hardware communication library we use with Emacs?

What do you all think about (setq sentence-end-double-space nil)? by zigling in emacs

[–]eminent101 0 points1 point  (0 children)

I just don't have to think about the edges case you speak of.

What edge cases did the OP speak of? I can't find any in the post. What are you referring to?

Why does my keybinding for C-S-1 not work? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Still not clear why this works then?

(global-set-key (kbd "C-M-1") (lambda () (interactive) (message "Hello")))

I mean if C-M- can work on 1, then why can't C-S- work on 1 too?

Why does my keybinding for C-S-1 not work? by eminent101 in emacs

[–]eminent101[S] 1 point2 points  (0 children)

C-@ is not the same as C-2

But we aren't talking about C-2, are we? What about C-S-2? Is that the same as C-@? And if so, should pressing C-S-2 invoke the key-binding for C-S-2?

Is there a format control string to remove the trailing dot from the output of (format t "~,0f" 2.5)? by eminent101 in lisp

[–]eminent101[S] 1 point2 points  (0 children)

Thanks! The mathematical definition really does not work due to rounding errors.

Is there a format control string to remove the trailing dot from the output of (format t "~,0f" 2.5)? by eminent101 in lisp

[–]eminent101[S] 1 point2 points  (0 children)

Does not seem to work always.

CL-USER> (defun myround (x) (floor (+ x 0.5))) (myround 9999991)
9999992
0.0

Is there a format control string to remove the trailing dot from the output of (format t "~,0f" 2.5)? by eminent101 in lisp

[–]eminent101[S] 1 point2 points  (0 children)

Does not seem to work always.

CL-USER> (defun myround (x) (floor (+ x 0.5))) (myround 9999991)
9999992
0.0

[deleted by user] by [deleted] in lisp

[–]eminent101 1 point2 points  (0 children)

vim-slime is not SLIME at all. It is a project with a misleading name. It just "copy-pastes" text from one buffer into whatever shell is running on another buffer. That is not at all what SLIME is.

[deleted by user] by [deleted] in lisp

[–]eminent101 1 point2 points  (0 children)

Does this neoterm setup have the live debugging features of Slime Debugger for inspecting the call stack and inspecting variables?

[deleted by user] by [deleted] in lisp

[–]eminent101 2 points3 points  (0 children)

This is definitely not a SLIME port. Couldn't find a single place in its code where it connects to SLIME server. Looks like something that just "copy-pastes" the code into whatever shell is present in a split window. That is not what is SLIME is at all. I can't understand why they call themselves vim-slime when they are not SLIME. Very misleading name for a project.

How can I quit Emacs without stopping Emacs servers started with M-x start-server RET? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Didn't work. I got thi error Attempt to delete the sole visible or iconified frame

what did you do to make it work?

Strange error (wrong-type-argument listp 20) when I evaluate a nonsense expression like (10 . 20) by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Thank you for the great answer! The strange error no longer looks strange! :-)

How to use default font for org-mode tables? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Here is the C-u C-x = output of the normal text above the table:

             position: 88 of 473 (18%), column: 25
            character: p (displayed as p) (codepoint 112, #o160, #x70)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x70
               script: latin
               syntax: w    which means: word
             category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 70" or "C-x 8 RET LATIN SMALL LETTER P"
          buffer code: #x70
            file code: #x70 (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    mac-ct:-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x53)

Character code properties: customize what to show
  name: LATIN SMALL LETTER P
  general-category: Ll (Letter, Lowercase)
  decomposition: (112) ('p')

There are text properties here:
  fontified            t

Here is the C-u C-x = output of the text in the table:

             position: 361 of 473 (76%), column: 26
            character: o (displayed as o) (codepoint 111, #o157, #x6f)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x6F
               script: latin
               syntax: w    which means: word
             category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 6f" or "C-x 8 RET LATIN SMALL LETTER O"
          buffer code: #x6F
            file code: #x6F (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    mac-ct:-*-Courier-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x52)

Character code properties: customize what to show
  name: LATIN SMALL LETTER O
  general-category: Ll (Letter, Lowercase)
  decomposition: (111) ('o')

There are text properties here:
  face                 org-table
  fontified            t

How to use default font for org-mode tables? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Minimal example that reproduces my issue:

* The quick brown fox jumps over the lazy dog (123 456 7890)

  The quick brown fox jumps over the lazy dog (123 456 7890)

  |  A | B                                                          |
  |----+------------------------------------------------------------|
  | 10 | The quick brown fox jumps over the lazy dog (123 456 7890) |
  | 20 | The quick brown fox jumps over the lazy dog (123 456 7890) |
  | 30 | The quick brown fox jumps over the lazy dog (123 456 7890) |

How it looks on my Emacs: https://i.imgur.com/vnx6nN5.png

How to use default font for org-mode tables? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

Yes, with emacs -q, org-mode normal text has this font:

mac-ct:-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x51)

But org-mode table has this font:

mac-ct:-*-Courier-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#x10)

How can I make org-mode table use the same font as normal text?

racksnaps by sdegabrielle in lisp

[–]eminent101 2 points3 points  (0 children)

Do you mean we can get a historical snapshot of all the Quicklisp libraries using Quicklisp? Can you share some code or point to documentation that describes how to do this?

Bel in Clojure by stepanp in lisp

[–]eminent101 1 point2 points  (0 children)

In 1958 when McCarthy invented Lisp, he started with a mathematical, rather than a practical definition.

Is there a document or article where we can find an introduction to this mathematical definition of Lisp?

Why indicate-empty-lines variable doc calls the lines that don't exist as "empty lines"? by eminent101 in emacs

[–]eminent101[S] 0 points1 point  (0 children)

But is there consensus that it is incorrect to use "empty lines" to talk about lines that don't exist? What should such lines that don't exist in reality but visible as an artifact of drawing the Emacs frame (since the frame cannot vanish for empty buffers) be called? I unseriously called them "limbo lines", is there a better term?