Emacs

2434 readers
1 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
1
2
 
 

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.

3
4
5
6
 
 

Disproject is a package for GNU Emacs that implements Transient menus for dispatching project-related commands on top of the project.el library. It aims to provide a more featureful version of the project-switch-project command, which it is inspired by. Those who are familiar with Projectile may also find similarities to projectile-commander.

Hello! I'm happy to announce version 2.0.0 of Disproject has been released. Notably, it adds support for specifying custom per-project commands (see disproject-custom-suffixes variable) with Transient's specifications syntax; the previous custom syntax has been deprecated.

Project homepage: https://github.com/aurtzy/disproject

Full release notes: https://github.com/aurtzy/disproject/releases/tag/v2.0.0

7
 
 

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?

8
9
21
What's New in Emacs 30.1? (www.masteringemacs.org)
submitted 4 weeks ago by csantosb@lemmy.ml to c/emacs@lemmy.ml
10
30
Emacs 30.1 released (lists.gnu.org)
submitted 4 weeks ago* (last edited 4 weeks ago) by 4ffy@lemmy.ml to c/emacs@lemmy.ml
 
 

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
 
 

The first release candidate for Emacs 30.1, the extensible text editor, is now available at:

https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.1-rc1.tar.xz

Please give it as much testing as you can. If no problems are reported, this will become Emacs 30.1 this Sunday.

12
13
 
 

tl;dr if you have an encoding problem while running guile on emacs for android with termux, make sure the LANG env var on emacs matches the value of termux:

;; ~/.emacs.d/early-init.el
(setenv "LANG" "en_US.UTF-8")

don't where else to post this, so i'm posting it here so it doesn't gets lost

emacs >=30 comes with android support. i've been using it for a while now, but it's really only useful if you can install applications to use it with. that's why the project offers an emacs package and a termux package with the same signature so you can share the termux binaries with the emacs runtime. packages and instructions here: https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/

i tried running guile on emacs with geiser a few days ago but it failed to run due to some encoding issues. it ran fine on termux

after a little googling, i compared the values of the LANG variable in both termux and emacs:

  • termux: LANG=en_US.UTF-8
  • emacs: LANG=en_US.utf8

then i just changed ˋLANGˋ on emacs to match the termux value and that solved the problem! to keep it working, i added the change to ˋ~/.emacs.d/early-init.elˋ:

(setenv "LANG" "en_US.UTF-8")
14
 
 

@emacs@toot.berlin @emacs@lemmy.ml
Shiiit, now we're back.. I reassigned myself from java to ts backender, now I can return to emacs as my main editor, after a year of separation, it became my physiological need.
What particularly cool new things do you think have been added in the last year and a half?

15
 
 

put up a new post on the blog. i talk about what changes I've made to the blog and the perennial dilemma on whether to stick to Sourcehut builds with their content restrictions. I've also added comments from Bluesky and changed the typeface.

#Emacs #Blog #Blogging

16
 
 

put up a new post on the blog. i talk about what changes I've made to the blog and the perennial dilemma on whether to stick to Sourcehut builds with their content restrictions. I've also added comments from Bluesky and changed the typeface. @emacs @opensource@lemmy.ml @OpenSource@mastodon.social

#Emacs #Blog #Blogging

https://peregrinator.site/blog/2025/02/the-sourcehut-builds-dilemma/

17
 
 

cross-posted from: https://lemmy.ca/post/38996724

Hello,

the most powerful thing in elisp is program as data but what does it mean how can I run data as a program. I was confused too but here is what I found.

First I tried this:

(setq x '(+ 1 3))
(x)

basically setting the value of x as a list. now x is set to some code but when I try to run x as function using (x) syntax we get this error *** Eval error *** Symbol’s function definition is void: x. It tried to look for function in x but couldn't find it. then how can I run the code that I stored in a variable? how to evaluate it? we need a built-in function eval.

If we run this code it works and outputs 4:

(setq x '(+ 1 3))
(eval x)

so yeah, it is how you can evaluate a code stored in a variable. feel free to correct me if there is another way to achieve it :)

18
19
20
 
 

As part of my "denazify my life" program, I decided to rekindle my old love for emacs and get off the MS IDEs once and for all. I thought I'd be adventurous and check out DoomEmacs, which led me down a rabbit hole of compiling emacs from source for the first time. After a long evening of shaving yaks though, GLORY IS MINE! I have built the latest emacs, layed on the latest doomemacs, and gotten them to load and... you know... do stuff!

Now I can finally get back to the project I originally set off on, updating my way out of date website! Tomorrow....!

Bibliography:

With much appreciation to

21
 
 

Updates - Formatting, one more small information.

I have been hunting documentation and trying things in my .emacs file for 2 days now..

The type of message that appears at the bottom of the screen, one example is "Save the file ? (y,n,! ...." On my system it is dark blue on black. Also "Modified buffers exist..." dark blue on black - hard to read. What face is that?

Here is what I have tried so far:

(custom-set-faces
  '(mode-line ((t (:foreground "white" :background "blue" :weight bold))))
  '(warning ((t (:foreground "yellow" :weight bold))))
  '(error ((t (:foreground "yellow" :weight bold))))
  '(success ((t (:foreground "yellow" :weight bold))))
  '(default ((t (:foreground "white" :background "black"))))
  '(minibuffer-prompt ((t (:foreground "yellow" :weight bold))))
  '(shadow ((t (:foreground "yellow"))))
  '(completions-common-part ((t (:foreground "yellow"))))
  '(completions-first-difference ((t (:foreground "yellow" :weight bold))))
  '(default ((t (:foreground "white" :background "black"))))
 )

describe-face for another prompt with the same coloring says it is the default face. So I tried changing that from the M-x prompt but that turned my screen white on yellow.

The mode-line line works - my active mode line is white on blue.

Does it matter that I am running emacs in a tty instead of the GUI version?

22
 
 

cross post from reddit, OP: @pizzatorque@mastodon.social

Personally mine was just getting around buffers; creating new ones, splitting windows, deleting the ones I don’t need and so on. In the beginning I used to have just a single file open at a time like nano

23
36
submitted 2 months ago* (last edited 2 months ago) by Atemu@darmstadt.social to c/emacs@lemmy.ml
 
 

#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

24
25
6
submitted 2 months ago* (last edited 2 months ago) by MITM0@lemmy.world to c/emacs@lemmy.ml
 
 

Okay, so this is probably a stupid question, I use Pop!_OS & the current emacs version is Emacs-27 So, If I had to install the latest one (Emacs-29.1 or even Emacs-30.0.93) what does one have to do, compile it manually ?

Or is there another way ?

view more: next ›