Emacs thread

questions, tips, and tricks, elisp,..

This is a general emacs thread!

Attached: emacs.png (250x201, 27K)

Other urls found in this thread:

github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
youtube.com/watch?v=5FQwQ0QWBTU
github.com/raxod502/straight.el#integration-with-use-package-1
youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n
github.com/snackon/Witchmacs
ergoemacs.org/emacs/emacs.html
gnu.org/software/emacs/manual/html_node/eintr/
emacsthemes.com/themes/anti-zenburn-theme.html
github.com/bastibe/org-journal
github.com/manateelazycat/awesome-tab
twitter.com/AnonBabble

With so many functions and plugins and options in emacs, how do I get started switching over from vim?

Evilmode my friend.

nice advice retard.
>how do I switch from windows to linux
>just install wine.

I really want to switch from vim to emacs mainly for org-mode but the thing that keeps me from doing it is how much emacs is bloated, even with all the compile flags the editor is still waaay to bulky for me. there are so many features I'm never going to use... is there a way to download emacs with evil mode, org mode and literally nothing else?

How do i get normies to use org?

In what sense is it bloated? Do you have extremely limited disk space? You know that you don't need to use every feature, right?

Installed a few packages years ago, haven't update them since, do they auto update or do I have to do it manually? if so how?

>bulky
run it in --daemon mode, it gives me the placebo effect of speed when launching multiple emacsclient.

Why would anyone use emacs when Vim just works?

Attached: shrug.jpg (400x267, 26K)

>software seems good
>it makes me feel uncomfortable because it's supposedly "bloated"
This attitude is mental illness. Stop worrying about it and just try it out.

whats the emacs logo meant to be anyway?

that's why I still haven't switched to it, is there a way to just remove these features from the binary?

>make thread about emacs
>tell vimmers to make their own thread
>hurr dur, if you didn't mention vim we wouldn't retard up your thread

>make new emacs thread, don't mention vim
>hur vim

Are you people that obnoxious in real life too?

tell them to stop using byproducts, like markdown, and start using the original and more powerful tools.
I showed a markdownfag what I can do in org mode and he switched within days.

emacs has a lisp interpreted, just like vim has a vimtard interpreter. what do you mean by remove bloat? remove the interpreter? remove functions from the interpreter? you really don't know what you are asking here, just mumbling several buzzwords you heard in the "autistic and minimalist retardation thread general".
vim and emacs has the same runtime size ~29MB and vim can't even do 10% of what emacs does.
Imagine the bloat that vim has that it has to be as big as emacs to implement some selected features.

>just works
>no org-mode ootb
Gno

You need to become a free man and stop thinking in these "pseudo-minimalist" terms (vim is by no means a "minimalist" program).

>github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
...living in a vimtard's paradise

Attached: vimtardsparadise.jpg (1280x720, 45K)

Why does it take three time as much time on open emacs then?

You didn't specify a reason for not using it. What features do you want to "remove" from the binary? This isn't a Unix program where every feature is baked into the binary, you're just dynamically loading source files providing certain functionality. There's a reason GNU is called "GNU is not UNIX".

maybe you shouldn't install 150MB of plugins, then.
or, if you want to have 150MB of plugins, be a chap and run it headless on startup.

>no org
>no magit
>no auctex
Bleh.

Attached: 1557875609209.png (426x445, 199K)

Retarded analogy, retard.

Tell them that it's the cutest text-editing Lisp interpreter.

Attached: shinobu_emacs.jpg (850x1202, 244K)

ryo mode, general, modolka are all modal editors

Wait, I just fucking realized
Emacs is the same as fucking TempleOS
You just basically input code and it executes on the fly

Emacs and TempleOS are divine intellect taking different forms.

why use vim when nano or ed just work too? on notepad++ while your at it. Functioning != functional. youtube.com/watch?v=5FQwQ0QWBTU this guy was parsing compiler error to auto repair his code the recompiling on the fly

>woman introducing the speaker
I'll take your word for it, but I won't watch the video itself.

Imagine being this scared of women.

God sent terry to remind us that emacs is the temple

Who here is straight?
github.com/raxod502/straight.el#integration-with-use-package-1

Attached: techical drawing.png (596x423, 198K)

Is there s bloat free emacs

Define ``bloat''.

emacs without tretris el al

emacs compiled without tetris et al

Modify your init file, defer the bloat, specify directories manually, thanks me later

Why do you need an emacs without tetris? And who are et al?

> opening emacs
Emacs should always be open

Emacs can even be used to eavesdrop on classified CIA nigger communication channels.
>M-x spoox

Attached: god_says.png (781x384, 61K)

Find what you can that similar on a code hosting site
Allot of software has clones (we plunder from each other), allot things can be rebound or has modes. generally Awesome emacs helps feature like code folding, spell-check and minimap.
>improvise, adapt and overcome

Suggest me a good light theme with the following properties:
- not-white background (light grey-ish)
- black font
- very colorful syntax highlighting (also also all parens and brackets and stuff)
The ones I tried from MELPA have grey fonts and not super colorful syntax highlights.

Moe theme should fit those requirments

mg

>yellow background
Jesus Christ.

just change the background color yourself, it's not a huge change from yellow-white to white, really.

Shill me helm.
I tried using this but it's so so bloated.
Also I argue that company is superior because it uses the minibuffer instead of popping another window.

>helm
ivy is superior

Okay, will try tonight. Will post moe anime if I found it to be acceptable.

Use vanilla, install helm.
After that it's just a matter of "I would like feature X", googling it, and M-x package install RET name of pacakage RET

I think so too.
But so many people are using helm and there are a myriad of helm-* package.
I might be missing something so I want my views to be challenged

I'm using Moe too. Nice theme.

you're not missing anything. Helm is simply slow and bloated(not meme bloat, but real bloat)

the point of evil mode is so that you can still get vim niceness but emacs extensibility, brainlet.

Unless you have only like 10MB on your HDD, Emacs isn't bloated by a longshot. Worst case scenario, you will never use most of the features that come with Emacs, but most of them aren't even necessary or using emacs. Just fucking learn basic Emacs commands and you'll be golden lad.

Attached: 1556472098543.png (900x1200, 1.8M)

Do you use C++?
I'm using gtags (any tags is fine tho, gtags is just the easiest to set up) and it seems that the helm guys have it better than "us".
I'm using company-gtags. It works but it's a dead project.

*for using emacs

posframes are nice as well, don't have to worry about the minibuffer fucking with your position in a buffer if you have a small window at the bottom of the frame.

Not him but helm-gtags is the entire reason I use it, it works unbelievably well.

I use gruvbox-light-soft with bg #e4d0b7 (it's a beige background), but the rest fits pretty well and it's very easy on the eyes, at least for me.

Attached: light_theme.png (976x920, 129K)

Org-chads please lead me.
I want to use clock-in clock-out easily with minimum invasive workflow.
So far I always keep a buffer with my work.org open they I visit to clock in and out of a task but this feels suboptimal

Should I as a beginner use a compilation like spacemacs or just start from vanilla? I don't mind tinkering a bit, but I also don't want it to become my hobby or anything.

spacemacs is pretty bulky, I'd try DOOM emacs

I just use it for helm-bibtex references and as a superior dmenu for managing PDFs with my zathura+tabbed setup.

My issue with the windows is that it sometimes pop left / right where as the minibuffer is always at the same place.
Also I can click with the mouse in the minibuffer but not in a helm window

Yeah, I liked the dwim thing where it uses context to either check up on symbol or function.
This was also the reason I am considering helm

Can you describe your helm-bibtex setup?
I use an org file with the bibtex entries and web link to paper and file link to the pdf file

great video series on how to configure emacs
youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n
sane config base to start from
github.com/snackon/Witchmacs
torbo-autist which is useful sometimes
ergoemacs.org/emacs/emacs.html
elisp programming introduction (if you want to go that far)
gnu.org/software/emacs/manual/html_node/eintr/

I've just set it up, so for now it's a plain ref.bib file to parse references from.

>I use an org file with the bibtex entries
Is this only usable with the org export feature? Can you write plain LaTeX (say using AUCTeX) while having only a .org bibliography without needing to constantly tangle it?

Posframes aren't what helm uses by default, they are more like a pop up window. However they are probably even worse if you want to use the mouse.

I mean my refs.bib and refs.org are the same symlink.
I edit the .org and include the .bib
It's ok because bibtex considers everything outside a bibtex key as comments
I put the bibtex enties inside #+SRC bibtex blocks.
I use org features to sort them by topic and links.

you have to update them, it should tell you if there's anything to update when you do m-x list-packages

Once you get comfortable but before you get too invested, figure out how you're going to manage multiple windows or otherwise change your workflow because there isn't a tab bar plugin from this decade and there are lots of approaches.
See how you can replace your list workflow as well if you use lists in vim (you should if you decide to keep using vim).
That, to me, are two basic hurdles you should figure out how to get over since these are two strong concepts in vim but aren't as important to the core of the Emacs workflow, and are a good place to start thinking about how to actually use the editor.

manually
M-x package-refresh-contents
M-x list-packages
U x
yes RET

A gnu walking in tall grass.

>It's ok because bibtex considers everything outside a bibtex key as comments
Oh, that's really nice. I've always wanted to write it in org, but didn't know this. Thanks.

you do know that 70% of the code emacs ships with is elisp and therefor not in the binary? the binary is just the interpreter.

No worries.

why arent you using straight

I want to start writing a diary. Preferably, in an encrypted file. I want it nicely organized and shit. What's the best way to do it with Emacs?

emacs -Q -l ~/.emacs.d/straight/repos/straight.el/bootstrap.el

what is straight (not OP)? Im relatively new to Emacs

Maybe Anti-Zenburn? emacsthemes.com/themes/anti-zenburn-theme.html
Check out some others on this website, there are a lot.

Leuven is great. It's also included. Not sure about colorful syntax tho.

gpg and org-mode

github.com/bastibe/org-journal
Looking into this myself right now for similar reasons, seems like the right tool. It has encryption too.

sounds bloated for something that simple, and not deploy-able through just init.el

github.com/raxod502/straight.el#integration-with-use-package-1 its a functional package manager that integrates into a macro called use package, it allow you specify in come instances the specific source (code sharing platform).

optimal bloat
based and redpilled

Looks pretty acceptable with a modified background color. Will keep it for some time and see if I like it.

Attached: MOE~-qf1Nbg1g7dQ.webm (1280x720, 1.94M)

What's the best way to do SICP in Emacs? I've heard some modules are out of date.

Geiser and some Scheme implementation of your choice. Racket should be fine, it even has something like
#lang sicp
you can put at the top of your file to restrict your Scheme to what SICP uses.

witchmacs is a solid base just remove the gay waifu shit from the config

>there isn't a tab bar plugin from this decade
sure there is, just not in MELPA
github.com/manateelazycat/awesome-tab

Attached: 2019-06-07-182907_1462x283_scrot.png (1462x283, 21K)

is there any better then quick-compile and real gud

sorry quickrun

I've heard of some people running both ivy and helm. Does anyone here do this and want to share their approach?

I'm trying to generate tags for PHP functions with etags but all it does is create tags for files. It works fine for C and Javascript. Any idea ?

Attached: TAGS.png (1180x1180, 143K)

Nice books/videos/anything on writing elisp? Maybe some lisp book that can be easily applied to elisp?
I wanna try making some extensions for emacs.

Just learn any other Lisp dialect. The general knowledge is extremely transferable between the different Lisps.

Just put ((((((((((((((((((((((((((((((()))))))))((()()())))))))))))))())()()))))))))))))))))))))))))(((((((((())))))))))))))) in random combinations and see what it does. You'll get a hang of it.

see its the html version of gnu's intro