Emacs

2447 readers
8 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
1
 
 

Dunno if anyone would know but, basically, I want something similar to Ctrl-r, when you're using Bash.

eshell-isearch-backward kind of gets at it but it seems to fail at detecting commands that have definitely been used in the past, randomly (and finds them when invoked a second time…; the other issue is there doesn't seem to be an easy way to reinvoke it. Commands like eshell-isearch-repeat-backward don't seem to work like anticipated).

Figured I'd throw out a line, in case anyone knew.

2
 
 

It is not in the list of combinations. Most of the LLM packages seem to lack an easy way to run a llama.cpp server with the load split between CPU and GPU. Like Ollama appears to only load a model simply with the whole thing in the GPU. The simplification pushes users into smaller models that are far less capable. If the model is split between the CPU and GPU one can run a much larger quantized model in GGUF format that runs nearly as fast as the smaller less capable model loaded into the GPU only. Then you do not need to resort to using cloud hosted or proprietary models.

The Oobabooga front end also gives a nice interface for model loading and softmax settings.

gptel is at: https://github.com/karthink/gptel or MELPA

Oobabooga is at:
https://github.com/oobabooga/text-generation-webui

With a model loaded and the --api flag set the model will be available for gptel.

In packages.el:
(package! gptel)

In config.el:

(setq
gptel-mode 'test
gptel-backend (gptel-make-openai "llama-cpp"
                            :stream t
                            :protocol "http"
                            :host "localhost:5000"
                            :models '(test)))

This splits the load to easily run an 8×7b model. Most probably already know this or have other methods. I just thought I would mention it after getting it working just now. Share if you have a better way.

3
4
 
 

I've never messed with this layer before. I usually play with Arduino or FORTH, the first with the IDE, and the latter with a simple UART connection after using the Microchip toolchain to load the FORTH interpreter.

I was looking at putting a new (to me) version of FORTH on a MSP430F149 that I have had lying around for years. I have a homemade Goodfet 42, so I can technically use it to program through JTAG. However, it would be more fun to see how far I can get into the hardware from scratch. Perhaps I might connect another microcontroller to do the I/O through the terminal within emacs. What is the simplest path to sending byte data and manipulating a couple of I/O like the additional pins of a CH340 or RS232?

I just got Doom emacs running. I would like to get as far as developing a filesystem and tree to write assembly. I also dabble in AVRs, Espressif, and Micropython on STM32s in addition to FORTH on AVRs and PICs. If anyone has any advice please share. Call me a noob in all of them though. I'm doing good to make a cat excited by a servo and LED.

Any advice or references are welcome.

5
6
7
8
 
 

i'm having a little bit of a hard time expanding the unstaged changes on magit. the mode menu works fine via touch on android, so i can do most operations, but i can't expand the unstaged files in the main magit buffer without the keyboard, which is a problem since read-only buffers hide the kb by default. i could change that configuration, but i'm using a phone, so screen real state is very limited, so i want to avoid that if possible. i tried touching, double tapping, holding, but nothing seems to expand the files

i feel like i'm in uncharted territory, so this is a long shot i think, but is anyone else having similar problems?

9
10
2
Emacs 30.1 released (lists.gnu.org)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

Featuring a significantly faster (~8x) JSON parser, native compilation enabled by default, and the official release of the Android port.

Abridged Announcement:

Version 30.1 of Emacs, the extensible text editor, should now be available from your nearest GNU mirror:

https://ftpmirror.gnu.org/emacs/emacs-30.1.tar.xz

https://ftpmirror.gnu.org/emacs/emacs-30.1.tar.gz

For a summary of changes in Emacs 30, see the etc/NEWS file in the tarball; you can view it from Emacs by typing 'C-h n', or by clicking Help->Emacs News from the menu bar.

You can also browse NEWS online using this URL:

https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-30

Windows binaries can be found at https://ftp.gnu.org/gnu/emacs/windows/emacs-30

11
0
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
 

#Emacs is now available in #fdroid

And, surprisingly, it just ..works?

You can scroll buffers by touch scrolling and tapping a text buffer opens the keyboard.

The menu bar is finally useful because it pops out as a native menu.

This is trippy, this could almost be usable..

I'll have to get my config into this; I don't doubt it'd just work.

@emacs