Emacs

313 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
26
1
submitted 8 months ago by raphael to c/emacs
27
5
submitted 8 months ago by rglullis to c/emacs
28
29
1
submitted 9 months ago by rglullis to c/emacs
30
31
2
Emacs as a Comic Book Reader (lifeofpenguin.blogspot.com)
submitted 9 months ago by rglullis to c/emacs
32
33
34
35
 
 

I'm trying to get out of my Python/Javascript comfort zone and start contributing to other Fediverse projects that are built in other languages. If you are already using Emacs for your dev work in any of the above languages, can you share perhaps your configuration or at least recommended packages for beginners, which prioritize sensible defaults and can be used with minimal amount of fussing?

36
37
38
 
 

cross-posted from: https://lemmy.sdf.org/post/10280862

https://protesilaos.com/emacs/ef-themes-pictures

Theme in picture is ef-summer. I love these so much. They're a breath of fresh air among the other techy-cyber-hacker themes, yknow?

39
 
 

The other ones seem less active than this one.

40
 
 

It's gotten too much. I think 1100 is a bit too much custom ELisp code. I also got to a point where my customization started interfering with Doom's core modules, yielded weird errors from time to time. I found out that Doom's defaults are actually beautiful and idk guys I feel refreshed, I'm ready now to get shit done, I can now actually work™️. I have offloaded the annoyances to Henrik.

2024 year of bankruptcy let's go

41
42
43
44
8
Bad NEWS, Emacs (eshelyaron.com)
submitted 11 months ago by rglullis to c/emacs
45
 
 

Hi there,

I want to try emacs in my terminal-based workflow. I use tiling window manager (i3 - qtile) in ubuntu

so super+number changes the workspace. When starting an emacs with -nw, changing workspaces

super+[1, 2, 3, etc] inserts "IOIOIO" characters in my buffer.

Any ideas?

46
2
submitted 11 months ago by Aiclys@alien.top to c/emacs
 
 

I am a newbie to emacs and Linux in general (started my linux journey 2 months ago) and want to learn emacs. Does anyone have good ressources to learn emacs as a beginner? Also should I use a distro like doom Emacs or should I do it from scratch

47
 
 

What's the best practice to have your custom elisp natively compiled, along with external packages?

So far I've only succeeded by doing the following:

  • Move my custom elisp to a new file (emacs-lib.el) which starts with (provide 'emacs-lib)

  • Manually run emacs-lisp-native-compile-and-load while visiting that file

  • Change my init file to load the library:

    (setq elisp-dir "~/config/elisp") (add-to-list 'load-path elisp-dir) (require 'emacs-lib)

After restarting Emacs, I've checked that many of my custom functions are indeed native-compiled.

It would be nice if I could have my init file take care of compiling the library when missing or outdated. Even better if I didn't need the separate file, but that's no big deal.

48
 
 

I wrote a library that lets you cycle through the available themes in Emacs. F10 and shift-F10 keys will cycle forward and backward through the themes. The theme name is printed for reference.

https://github.com/tsengf/theme-cycle

Installation
Download theme-cycle.el into ~/.emacs.d.

Add the following to your Emacs configuration

(add-to-list 'load-path (expand-file-name "~/.emacs.d)
(require 'theme-cycle)
;; Load as many themes as you are interested in exploring.
(use-package doom-themes)
(use-package ef-themes)
(use-package modus-themes)
(use-package solarized-themes)

To Use

Use F10 to cycle forward through the themes. Use shift-F10 to cycle backward through the themes.

49
 
 

I have a setup that sort of gives what I'm looking for, but Emacs complains that I'm not doing it right.

I have a large number of org-mode appointments that depend on the date of Easter. They are currently in the form of diary sexp, but I don't really care what form they're in; what I'm really trying to find is a general solution to "When today is X days before Easter, show arbitrary message 'X' in the org agenda. When today is Y days after Easter, show arbitrary message 'Y' in the org agenda." (In all of my cases, Easter means "the Easter within the current calendar year".)

Emacs elegantly figures out the correct date for Easter, but Emacs also has a hard-coded list of Christian holidays that aren't useful to me. Instead of a new hard-coded list of holidays, I'm looking to make arbitrary and changeable use of the Easter calculation - compared to today - without showing any holidays at all.

50
 
 

TLDR: I really want to learn emacs, getting frustrated with the basics and seeking help. Can't install use-package on my mac installation of emacs.

I've been using neovim for awhile but have been increasingly frustrated with not being able to understand how things work when they break down. Hoping to learn emacs for fun and maybe to even replace/improve my nvim workflows.

Things went well at first. I followed the tutorial and got used to some basic navigation as well as window and buffer navigation. I LOVE being able to `C-h` for functions, keys, and variables.

I decided it was time to start trying to configure things and installing packages. I'm not patient enough to watch 10 hours of system crafters videos and didn't really want to buy Mastering Emacs, so I decided to do some googling and figure things out myself. I came across a guide with some basic starting points and was feeling good about things until I got to this part: https://medium.com/@suvratapte/configuring-emacs-from-scratch-use-package-c30382297877

I am completely unable to install use-package and that feels pretty defeating. I followed the instructions and the package was not found. I tried `package-refresh-contents` and found use-package-hydra use-package-chords and use-package-el-get. Can't seem to find use-package.

After some googling I thought it might be that my mac-homebrew-installed version of emacs was missing TLS support, so I deleted it, pulled the emacs-mac repo, and installed it with no issues. Started up my new install and had to navigate the fact that my alt key was no longer bound and my command key was magically mapped to meta which I don't want. It was really frustrating to run into this and have no idea how to C-h my way out of it. I managed to map alt to meta and map command to super, but not I can't command-c any more which is an annoyance.

On top of this, I still can't install use-package, the exact same thing happens. I deleted the part of my config that sets up melpa and used the instructions from their site. I confirmed using eww that I have TLS support working. I tried a number of commands from reddit and elsewhere and have not made any progress. I feel like I'm back in my vim config hopelessly adding lines to my config until it's not broken.

Primarily I need help passing this hurdle so that I can try and set things up myself. It would also be super nice to understand why these things have been failing and how I can better use resources to fix issues like this in the future.

view more: ‹ prev next ›