Emacs

2183 readers
4 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
1
2
11
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

será que não temos pessoas suficientes aqui pra marcar um encontro emacs no brasil? acho que não precisaria nem ser na mesma cidade que todo mundo mora, eu mesmo moro no rio e estaria disposto a ir pra são paulo ou bh, já que são umas 8h de viagem e uns 200 reais ida e volta.

(edit: mods, i'm posting this bc i couldn't find any rules restricting the posts to english only, but i'll remove this post if you're not comfortable with a non-english post)

3
4
5
6
7
 
 

Casual EditKit is an opinionated Transient-based user interface library for Emacs editing commands.

Github repo: https://github.com/kickingvegas/casual-editkit

8
 
 

This package displays keyword entries from source code comments and Org files in the Magit status buffer. Activating an item jumps to it in its file. By default, it uses keywords from hl-todo, minus a few (like NOTE).

9
10
 
 

Indent-bars v0.7.4 is now on ELPA

Indent-bars is a fast, configurable indentation guide-bars for Emacs

11
9
Company 1.0.0 released (company-mode.github.io)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

Company is a text completion framework for Emacs. The name stands for "complete anything". It uses pluggable back-ends and front-ends to retrieve and display completion candidates.

It comes with several back-ends such as ElispClangSemanticIspellCMakeBBDBYasnippetDabbrevEtagsGtagsFilesKeywords and a few others.

Change log: https://github.com/company-mode/company-mode/blob/master/NEWS.md#2024-09-21-100

12
13
 
 

Hello, you foolish Emacs-Religion!

I introduced a new employee to the superior editors and provided him an objective opinion of choice between our two Editors. This Fool elected Emacs. Anyhow, I did transfer all my Vim-Config to Emacs and it was working great. But I switched back since there were Scenarios were I definetly knew from my gut I issued the correct evil-mode instructions but somehow Emacs did some fuck-up.

At this point let me tell you that I was so impressed with your capabilties, that I found you guys speaking to me was meant intentionally demoralizing!!1 I also append that due to code quality reasons I transfered to Vim. So my Progress was: Neovim > Emacs > Vim.

I just realized that - maybe - it is about two differing things: The cursor/caret CONSISTENCY and panes (can't refer to a split in your native tongue, sorry).

Both Editors were configured to remember the last caret position. And I suspect both did this, since your Code is written by more proficient developers (my personal studies have shown). And panes are working within my - on-demand - unit teats correctly. But I just switched from a temporary help-pane to my code and realized: My layout wasn't effected, my caret was obv. still at my last editing position and this while I switched from shell to the editor, skipping a pane and rephrasing my own thought while doing this.

My caret is always consistent. Maybe this is something not explicitly tested in your code base. And why I shared it.

Anyhow, your Editor sucks and we will take all of your invention, idiots.

14
15
16
3
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 
 

Hi!

I'm trying to run the emacs daemon as a systemd user unit, and I'm seeing this error when trying to launch the GUI client:

Authorization required, but no authorization protocol specified

From what I've seen online it might be due to it trying to start before I'm logged in or something like that.
It does work after restarting the unit but I don't want to do that every time.

Anyone else see this before? Any ideas for a fix? Is there a better way of starting the emacs daemon?

17
18
 
 

I'm coming across stuff on the emacs wiki like Project Buffer Mode and SLN Mode

Are these old packages like everything else in Linux; not relevant or usable any more? I'm not sure if "just try them" is the right idea here, or even how to go about doing that (yet). Do you have any other suggestions or options? I'm trying to see the project view of the open source game Cataclysm DDA. They seem to be using a Windows system for development now and I'm seeing several little elements that are not getting compiled the same between their builds and what make produces with GCC. Perhaps the stuff in the project files would reveal more detail. (learning, but this is over my head and outside of my comfort zone)

19
20
 
 

I figure I would share this one more time. The thing is so handy I put it on my desktop but the original is blinding white and 1.5:1 aspect ratio. This is a quick recolor and resize to 16:9. There is a 90px margin on top that is sized for the GNOME header so that the content remains visible. Sorry if this post seems redundant. For me, having this reminder to keep trying to use Emacs is just the motivation I need to open a file in Emacs instead of just using gedit quickly.

::: spoiler bonus tip! On Fedora 40, if you have darkmode set to the default in GNOME, GNU Emacs does not follow the darkmode styling directive for the menu bar. I spent forever trying to make this work in darkmode. If the app is launched using $ GTK_THEME=Adwaita:dark emacs it will start with the menu bar set to dark mode.

However there is a script that actually launches Emacs in /user/bin/emacs-desktop. If you open that file and modify it by adding export GTK_THEME=Adwaita:dark emacs just before the last line, it will launch with darkmode enabled. This is the entire contents of that file:

#!/usr/bin/sh

# The pure GTK build of emacs is not supported on X11, so try to avoid
# using if there is an alternative.

if [ "$XDG_SESSION_TYPE" = 'x11' ]; then
    case "$(readlink -f /usr/bin/emacs)" in
    */emacs-*.*-pgtk)
        if type emacs-gtk+x11 >/dev/null; then
            exec emacs-gtk+x11 "$@"
        elif type emacs-lucid >/dev/null; then
            exec emacs-lucid "$@"
        fi
        ;;
    esac
fi

export GTK_THEME=Adwaita:dark emacs
exec emacs "$@"

I'm not claiming it is the right way. It just worked when I tried it.

21
22
 
 

Sometimes I do write-ups of the monthly Austin Emacs meetup. Here is the write-up for August.

23
 
 

I am excited to finally announce the release of Forge version 0.4.0, consisting of 699 commits since the last release two years ago. It was actually released six days ago, at the same time as Magit and nine other packages, which all had to be released at the same time.

24
25
 
 

Seems helpful for noobs like me.

view more: next ›