jkitchin / scimax

An emacs starterkit for scientists and engineers
Other
1.03k stars 123 forks source link

emacs-zmq: Segmentation fault #475

Closed prairie-guy closed 8 months ago

prairie-guy commented 1 year ago

I’m working in a molecular biology lab and have been a long time user of emacs. I am tired of proprietary ELNs and would like to use a literate programming style within emacs to initially document lab protocols and ultimately as a real ELN . I haven’t gotten babel to quite work the way I want to. I came across scimax and it looks like it might be interesting.

Thanks for any help or advice in moving past this problem.

jkitchin commented 1 year ago

have you tried building the emacs-zmq library by hand? Check the source, there should be a makefile and/or configure script.

prairie-guy commented 1 year ago

Thanks. I downloaded the libzmq repo and read the INSTALL instructions. It says to run ./configure as the first step, but that command is not in the repo. I tried running autoconf and it failed as well. I’ll take another look.

I really like what you have been doing with scimax. It’s an amazing piece of work! My challenge is that I am a longtime Doom Emacs user and switching from it will be a real challenge as it is highly customized and to switch from it would be very difficult. Instead, I may try using various of your el modules into Doom Emacs.

As I’m most interested in the babel features, I’ve loaded scimax-ob.el into my current system. It seems to work as expected and adds a bunch of new features that should have been in the babel itself! One problem I had hoped it would solve would be removing the : from the return from the execution of the source block. (I saw you did so on one of your YouTube videos) Is there an easy fix for this?

jkitchin commented 1 year ago

You can use

:results drawer

in a src block header. you can also set this in org-babel-default-header-args

jkitchin commented 1 year ago

In the zmq directory in your Elpa dir, there should be a Makefile.

I had to run these commands in that directory:

make src/configure
make

I think that build the library on a Mac for me.