/geg/ GNU Emacs General

>Wiki
emacswiki.org/
>Manual
gnu.org/software/emacs/manual/emacs.html
>Tutorials
C-h t (Interactive Tutorial)
gnu.org/software/emacs/tour/
tldp.org/HOWTO/Emacs-Beginner-HOWTO-1.html
ergoemacs.org/emacs/emacs.html
youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n (general introduction)
youtube.com/playlist?list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE (org-mode)
>Self Documentation
C-h k (Keybinds)
C-h f (Functions)
C-h v (Variables)
>Programming in Elisp
gnu.org/software/emacs/manual/eintr.html
ergoemacs.org/emacs/elisp.html
github.com/bbatsov/emacs-lisp-style-guide

>Packages
melpa.org (package repo)
pastebin.com/KUAbRwJR (short list of recs)
github.com/emacs-tw/awesome-emacs (the big list)
>Premade Distros / Configs
Make your own
github.com/hlissner/doom-emacs/tree/develop
github.com/syl20bnr/spacemacs (heavy)
github.com/snackon/Witchmacs (Basic config with sane defaults)
seagle0128.github.io/.emacs.d/ (Centaur Emacs)
gitlab.com/k-bps/mesk (Minimalist Emacs Starter Kit)
>Muh Startup Time
use-package defer
pastebin.com/mrPsnUas (increase GC during startup)
emacswiki.org/emacs/EmacsAsDaemon
emacswiki.org/emacs/EmacsClient

>Muh Default Keybinds
pastebin.com/UAUCvs73 (Fixing Emacs Default Keybinds)

>This pasta:
pastebin.com/LyD95ADj
>org source:
pastebin.com/pm7wPBEm

Attached: 1537539169065.png (256x258, 33K)

Other urls found in this thread:

github.com/ianpan870102/.emacs.d
gist.github.com/cbilson/ae0d90d163be4d769f8a15ddb58292bc
github.com/jschaf/powershell.el
github.com/atilaneves/cmake-ide
github.com/daedreth/UncleDavesEmacs/blob/master/config.org
twitter.com/SFWRedditGifs

First for remap caps lock to control and left control to hyper

Fuck emacs and (((lisp))), use vim.

I have caps remapped to hyper. I like ctrl's position, real men use the bottom of the hand

Don't forget to help the little children in Uganda :^)

wow such a rebel.

Attached: index.jpg (173x291, 16K)

Ubermensch remap Ctrl to Alt, Super to Ctrl and Alt to Super.

We should make a new Emacs like thing.


>GLFW or SDL base program.
>In house Meta language to make SDL GLFW more bearable.
>Integrated with LLVM all linked together (ends up being defacto dev tool).
>our own LLVM language, very verbose if posible.

>not having ctrl right under the bottom if my hand
i don't hate myself this much

Yay-Evil
github.com/ianpan870102/.emacs.d
Yet Another Evil Distrobution

Opengl for a text editor??

VSCode is the Emacs of Javascript

Attached: 1562128300883.jpg (366x302, 35K)

I've come to like this layout. I never liked having two alts right next to the spacebar, having one modifier on each end of space lets me hit either with minimal thumb movement. I can still hit the other modifier with either hand as well.

Attached: kb.png (666x124, 2K)

>not pressing modifiers with your thumbs
I think you do.

I was thinking about making a GNU C + GNU Guile program that abstracts a few graphics programs with scheme:
> ffmpeg
> gimp (scheme batch mode)
> Imagemagick
> SOund eXchange (sox)
> Inkscape
> G'Mic
> mlt melt
maybe i'd separate it in different packages. the idea is that you could edit video, images and sound like a program (think of static website generators, in which you write a program that generates a website).
You could write a scheme program which sets some stuff like resolution, fps, format...
you could create custom effects by applying gimp/magick effects to video at each frame...
Basically you write a scheme file with instructions on how to edit the video/image/audio.
i'm still learning and making some research, but i think this would be a nice idea.
also, it would have an emacs minor mode and snippet pack.
it's good desu, better scrollback and shit.

> emacs
> nano
> vim
are there any terminal based text editors who aren't made by jews or nigger lovers?

3d text

install acme

There's been more than a few attempts at it, Guile Emacs, Lighttable, Remacs, etc but none of these projects have been able to progress very far.
There is certainly a desire to create a modernized emacs, but currently I don't think any of the current efforts have the momentum to actually reach maturity. Emacs is certainly aged in some respects, but it's also an incredibly mature project resulting from literal decades of manpower put into it. Recreating (and improving upon) that is a monumental task.

Attached: 1550935446265.jpg (1200x1846, 302K)

acme, sam, ed

Patrick, should I use Evil or remap Ctrl?

Attached: 1546289609315.png (1434x1076, 1.35M)

is there any advantage whatsoever in using evil instead of default emacs?
also, give me a list of nice keyboard macros/text editing functions

Psssssh, you don't need that crap . Just use your pinky, I do it all the time and I'm still fine.

Attached: 1558748158681.png (1434x1076, 1.12M)

It makes your years using Vim not feel as worthless.

The defaults are absolutely ridiculous compared to vim. If you know vim, go with evil.

this

Spacebar leader/meta key is masterrace.

Good thread.

Vscode is spyware

So is Jow Forums.

Attached: 1550801882221.png (700x544, 203K)

what's the difference between evil and spacemacs in terms of keybindings/shortcuts? I just started learning vim more thoroughly and I wanna know how much can be carried over to either

spacemacs uses evil
it has extra keybinds tacked onto a spacebar prefix
thats it

where's the vim general?

vim plebs aren't productive enough to have a functional general

hope your having fun playing the games that comes with your text editor OS

>emacs is a text editor
emacs is a elisp interpreter that is used MOSTLY to make text-related programs. You can make doom or some shit in emacs lisp and run with emacs or guile if you want.

Which vim implementation are you using, user?

Does stallman have a riced out emacs, or just roll vanllia?

Attached: 1563064900982.png (1000x669, 950K)

(use-package girlfriend :ensure t)

:defer t

config:
(setq bust-size 120)

>anki-editor

Attached: wojak_03.nocrop.w710.h2147483647.2x.jpg (764x551, 152K)

I'm a windows sysadmin, writing a fuckton of powershell all the time

Would there be any benefit to attempting to use emacs as opposed to sticking with VS Code?

You can play tetris

You have access to unix utilities using eshell.

I bet someone out there wrote a shiton of emacs plugins for what you do

There's also this so you can write some l33t documentation or something for your powershell scripts.
gist.github.com/cbilson/ae0d90d163be4d769f8a15ddb58292bc

and this github.com/jschaf/powershell.el

>unix utilities

Attached: 1550783980134.jpg (691x828, 91K)

Probably has his acolytes rice it for him.

Wrong. You should swap an Alt button with a Ctrl button, so that you can press modifiers with your thumb.
Caps Lock can be mapped to hyoer, as it will likely be used less often.
Awkward pinkie stretches can be harmful in the long run, so it's better to avoid them as much as possible.

I still fail to understand the point of these posts. Why even come to this thread?

But Emacs hasn't been terminal-based in decades.
God, it's so easy to spot people who never used it.

neat

>Opengl
Not really but ye you can chose a graphical context and render some 3D items making it perfect for science stuff

Can it render fonts and pictures on the framebuffer?

does someone program C or Perl in it ??
what packages do you use for it ?
i need that auto-completion stuff.

Company for autocompletion
Yasnippet for doing the writing for you
Gtags with counsel for jumping to definition this kind of stuff

if you use cmake
github.com/atilaneves/cmake-ide

Basic autocompletion for C can be acheived with etags that ships with GNU Emacs. It's not too versatile, and I haven't found a way to get it to suggest things from header files.
Perl might have similar support out of the box, check the documentation for etags.

Guilemacs when

They're too productive to waste their days on a shitty general

Hopefully never. They tried once, but never gained traction.
An Emacs in Common Lisp, now that would be great. It would also make the transition easier.

>vimuser.org
Nah.

how about just keeping emacs lisp but making a overhaul in the code, implementing better performance and shit? Also, having actually good defaults

I like the defaults.

What packages you are using for autocompletions?

Im especially interested in python ones.

I installed Emacs from source, the gui doesnt refresh properly when scrolling and leaves garble behind. So far tried removing Adwaita, modifying /etc/environment, and compiling with GTK instead of lucid.

company
anaconda

>t.

Attached: portrait.jpg (500x335, 20K)

Anyone here knows what is the syntax of make a custom modeline with lines and column count?

What do you fine lads think about Spacemacs

Well, Guile includes a compiler for Emacs Lisp, so I don't know how a transition could be anymore easy. There's also Lua support being planned so it could be more appealing to the vimbabby userbase.

how... how do you make spaces?

Looks like an IDE altogether

guile is based. It supports scheme, emacs lisp, ecmascript, lua and more stuff to come. people would have a nice variety of choices if they didn't want to use emacs lisp

Sure, but would it really improve performance?

How could I improve this?
It's intended for prose, hence sentences/paragraphs getting priority over lines.

Attached: keybinds.png (1920x1026, 364K)

I just do everything in mousepad.

Using evil instead

being on the internet is voluntarily using spyware.

if you come from Vim: use evil, then slowly try to go vanilla

if you don't come from Vim: use vanilla and learn the default keybinds.

For any case, swap Alt with Ctrl.

how the hell do you configure javascript completion with tide?

it seems guile can use emacs lisp better than emacs, so a well implemented guile emacs would probably be more performant

after some time paredit stops working and whole Emacs freezes when I press "(" until I press ctrl+g. Any ideas how to fix it?

Is there any advantage of using Emacs over Neovim? The big argument I hear about using Emacs over Vim is the async support and the configuration but Neovim fixes both of those.

Emacs is a much more mature project and has a knowledgable community behind it.

Also Lisp.

by going into insert mode

Last time I saw Guile's Emacs Lisp compiler was very slow.

Attached: emacs butterfly.gif (490x300, 48K)

use emacs 27

Attached: 1545854972321.jpg (1856x1392, 377K)

Bumping the /geg/

How can I get comfy in emacs reading sicp?
An ideal setup I have in mind looks like this:
Split windows.
Left window shows sicp in epub with nov.el (as I can't into texinfo)
Right window is an org mode buffer with org babel or a scheme repl.

How would you implement Emacs on mobile? Or at least an editor with the same philosophy.

I have a similar setup with Common Lisp, but I use a PDF to read A Gentle Introduction to Symbolic Computation.
I've heard that SICP isn't really suitable for modern Scheme, but apparently Racket has a SICP compatibility mode or something.

>read A Gentle Introduction to Symbolic Computation.
Would you recommend this book?

You don't.

stallman doesn't use computers anymore

for his emails, he just dictates them

It is a slow book, but it's pretty good. If you're an experienced programmer you may want to skim a few chapters but I really recommend you stick with it. It teaches good programming practices with a good programming language, but the principles are easily carried over to other languages.
Lmao, he takes his thinkpad to the beach like the weirdo he is. Not even dead will he find an opportunity to put his Emacs down.

Uncle Dave's configuration has some code for Python completion.
github.com/daedreth/UncleDavesEmacs/blob/master/config.org
You could also look at the Python section in the awesome emacs list.

thanks. I've downloaded a copy and will start reading it.