[ prog / sol / mona ]

prog


textboard.org Emacs Mode

1 2020-12-12 14:19

Is it meant to only work on GUI mode?
Where's the emacs nox support>

2 2020-12-12 16:45

I'm sending this from emacs -nw, although Emacs itself was compiled with GTK support. What error do you get when you try it?

3 2020-12-16 12:11

Probably because sbbs--variable-pitch checks x-list-fonts, which throws an error when (window-system) is nil. I'll push a fix, sorry for not testing enough.

4 2020-12-17 03:57

emacs -nw

5 2020-12-17 15:01

How do you actually use the emacs mode?

6 2020-12-17 19:26

nvm i'm an idiot

7 2020-12-19 16:11

>>5-6
What was the issue?

8 2020-12-20 13:59

I didn't realize it was a link to an elisp file. Not sure what I was expecting

9 2020-12-20 14:55

Note that the link on the front page references an old version. The newest version can always be found here: https://fossil.textboard.org/sbbs/dir?ci=tip&type=tree.

10 2020-12-20 16:33

Thanks

11 2021-01-19 05:34

Halp!
I tried the latest version of sbbs.el but when it asks what board to fetch and I type prog it says: "wrong type argument: arrayp, nil"
I tried (sbbs-browse "prog" nil) and I get an empty "board" in a buffer named #<buffer *browsing /114/*>
I'm not very skilled with emacs/elisp so I don't really know where to go from here.
Thank you /sicp/

12 2021-01-19 10:38

>>11
I pushed a "fix", which just prevents the issue. The actual problem is that the board name is "/prog/", not "prog", so completing-read returns nil. With the last commit, completing-read makes sure you enter a valid name. Hope that is ok.

13 2021-01-19 13:26

I did try "/prog/" before if I am not mistaken. Anyway thanks!

14 2021-01-19 15:17 *

The exact string is "/prog/ (textboard.org)", but I'm reconsidering the selection method anyway, because this kind of input is easier for people with narrowing completion, but not so much for people who are using the default completion interface.

15 2021-01-20 15:39

>>14
Thanks, I hadn't realized it had autocompletion. I am now posting from the newest sbbs.el.
Why is the old one listed in the front page?
Awesome job, in general. Looking forward for the edwin mode.
Actually I'm just a beginner but I may feel brave enough to attempt it myself some day.

16 2021-01-21 07:33

>>15
AFAIK it is because you can't link to the tip of a commit using fossil, but ultimatly I'm not sure.
I'm not sure if I'm ever going to get around to implementing an Edwin mode, but I'd be glad to contribute.

17 2021-01-21 11:42

>>16

AFAIK it is because you can't link to the tip of a commit using fossil, but ultimatly I'm not sure.

My friend, consider the following:
https://fossil.textboard.org/sbbs/file?name=sbbs.el&ci=tip

Replace:

<a href="https://fossil.textboard.org/sbbs/artifact/47b32ff1b0e2f9f5">

18 2021-01-22 08:43

>>17
I just realize that same link is already in this thread. Sadly I can't replace it, that is Bitdiddle's job.

19


VIP:

do not edit these