[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Emacs Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 62
Thread images: 7

There's a vim thread, so we need an Emacs thread. Questions and screenshots welcome.

I just converted from vim recently and already I'm finding the lack of vim's mode system really nice, as well as the frame system and e-lisp. I think I'm adapting to it pretty well, but still need to work at moving more of my workflow to Emacs. Right now in addition to editing text I just compile things and do some git stuff from M-x term, any advice?

Also if the vim users here to talk shit about Emacs despite never having tried it would just fuck off that would be great.

Pic related is my setup, doom one color scheme, rust mode, company, and a few other tweaks.
>>
What's next, a notepad.exe thread?
>>
>>58710956
>rust
leave

>>58711224
this is actually a good idea
>>
I tried emacs for a few days and didn't like it. Then I tried it for 3 months and hated it. My complaints are: extensions are very low-quality. For example. geiser would hang randomly while doing nothing, which in turn would hang emacs as a whole (despite the concurrency meme). This has been a recurrent theme.
Control scheme is dogshit, period. It's not borderline unusable, it's plain unusable.
Evil mode is a very poor imitation of vim controls, nevermind the incompatibilities with the logical functions of other extensions.
The default modes are a joke. Protip emacstards: tabs for indenting, spaces for aligning. Space-only fags deserve the death penalty.
Finally, the abysmal support for working in terminals is disgraceful.

However I love the elisp and multifont, and the usually more powerful extensions. Smartindent is great and orgmode is downright unparalleled. The integrated package manager is also a godsend.

Overall, I still prefer vim, but I always reevaluate whether I should move to emacs because vim is always chuckfull of bugs (the program itself, rather than the extensions which are usually significantly more polished than the emacs ones).
>>
vim is a lot better, emacs is putrid
>>
>>58711239
Rust is the best language ever made. Fuck off shill. Remacs master race.
>>
>>58713638
>abysmal support for working in terminals
Did you even try using Emacs over ssh? Emacs-nox on the terminal works fantastically.
>>
>>58713722
In a terminal, emacs has tons of limitations, with regard to colors, use of keybinds (esc doesn't work in keybinds for instance, except with a set of horrible hacks as performed by evil-mode), commands and controls. I don't know what emacs-nox is or if it differs from emacs. If not then that's that.
>>
>>58710956
I'm just starting with Emacs. But the default keybinding for simple text editing are so shit, that I basically have to use evil-mode if I want to be productive.
>>
>>58710956
I absolutely love Magit for git work (and evil-magit to go along with it because I will never give up modal editing. Too comfy.)
>>
OP of vim thread here.
Linus torvalds uses Emacs.
>>
>>58715226
openbsd ships nvi and mg, a tiny emacs clone, because "there shouldn't be any reason to learn more editor types than emacs or vi."

a good reason
>>
>>58715226
Who uses vi/vim then?
>>
>>58715263
Linus and rms.
>>
>>58715286
Why would RMS use vim when he is the person who created emacs?
>>
>>58714943
That looks pretty nice I'll have to try it. I tried evil in the past after using vim, but it got too messy for me because you still need emacs editor commands as well, then I tried full emacs and haven't looked back since.
>>
>>58715597

I've been using emacs for about a decade. I occasionally have to curse Saint IGNUcius when my emacs.d gets out of control.

Emacs + Clojure(script) + REPL is really comfy for dev work.

elfeed plugin for RSS reading

Mu4e plugin for email.

Still haven't converted to ERC or FF/Chome keybindings yet.
>>
>>58715775
nice font size in your emacs
>>
>>58715855
monospace-16pt is actually pretty comfy.

I tend to have a projector on most of the time when working (movies/yt/streams) - so I can throw it up on the projector and work and still read it without contacts.

Also I tend to be able to think better about my code when it's in visibly large chunks.

MS Word default of 12px and the eye straining hethens who run 10px be damned.
>>
File: emacs-subdued-parens.png (2KB, 394x190px) Image search: [Google]
emacs-subdued-parens.png
2KB, 394x190px
Hi there fellow emacsen
>>
>>58710956
Probably one of the best things you can do to improve your Emacs skills is to read the entire Emacs User Manual and Emacs Lisp Manual. You don't need to and probably shouldn't try to read it all at once, but read a chapter a day or something.
>>
>>58713638
>Protip emacstards: tabs for indenting, spaces for aligning.
First of all, your taste is shit. Second of all, complaining about something that is literally toggled by a single option makes you a retard or an asshole, probably both. Third of all, Emacs indents with tabs by default, you retarded piece of shit.
>>
>>58713800
Emacs has the same limitations as Vim in a terminal, except Emacs actually has far better terminal support than Vim. Hell, Vim doesn't even support 256 colors in terminals automatically, and don't even bother trying to run Vim on non-UTF-8 terminals.
>>
File: 1462933142925.jpg (110KB, 1280x720px) Image search: [Google]
1462933142925.jpg
110KB, 1280x720px
>installed emacs to check it out
>navigating through gui menus
>see "calendar"
>"what? why? if you want a calendar just type cal in a terminal"
>see "email"
>what? why? if you want an email client just install and type mutt in a terminal"

then I uninstalled and went back to vim
>>
>>58713722
The point is that emacs isn't a default, you can't just ssh and open emacs on a production system, because it wouldn't be there.
>>
>>58716934
you may not know this but emacs is the native DE of the gnu/hurd distribution
>>
File: 1483674635352.jpg (192KB, 1800x696px) Image search: [Google]
1483674635352.jpg
192KB, 1800x696px
>>58710956
I really want to use emacs, but I'm so used to vim...
> ctrl + key
> meta + key

these things are hardest to adapt for me...
I have leader key set in my vim config, but I rarely use it.

Also, I failed to set up eclim in emacs, but succeeded in vim.

So... how to rewire my brain in to use emacs more comfortably than vim?
>>
>>58717041
why not just change the bindings?
>>
>>58717041
https://www.emacswiki.org/emacs/VimMode
>>
>>58717041
One more thing, I don't know LISP, so I don't understand emacs config file...
>>
>>58715298
Emacs is too heavy for his MIPS Longdong netbook.
>>
>>58710956
why did you copy the looks of Atom and Sublime?
>>
>>58717041
spacemacs
>>
>>58717293
Why does spacemacs come up?
How do I actually install it?
I donloaded spacemacs and it now populates emacs.d

Now what's the correlation to vim?
>>
>>58717384
vim keybindings and other stuff
You have to read the install guide closer, there's some cli fuckery and a restart
>>
>>58717409
Any quick start guide?
I'm reading this right now.

vimtutor was comfy btw
http://www.jesshamrick.com/images/emacs/emacs-terminology.png
>>
>>58717416
the website
>>
>>58717416
>>58717422

I mean
http://www.jesshamrick.com/2012/09/10/absolute-beginners-guide-to-emacs/
>>
>>58717424
Not besides what spacemacs gives you at the new splash screen, I don't actually use it really
>>
>>58710956
Install use package.

Specify all packages you use in your init. You will get the same emacs env on every machine that way.

Projectile, ivy, counsel, swiper are godly.

Also a reminder that emacs isn't a text editor. It's a totally customisable environment that includes the ability to edit text. Emacs holds no opinion on how this should be done.

Also being able to browse documentation in emacs is super important. All packages tend to have good docs l.
>>
>>58717118
To learn lisp is to learn emacs.
>>
>>58717024
Unironically used exwm for a long time. Always having a scratch buffer available was a dream come true.
>>
>>58710956
Use spacemacs
>>
>>58715298
emacs gave him rsi.
>>
>>58715996
>toggled by a single option
If only. You have to toggle it manually for each filetype because pretty much all filetype-specific modes override the default settings
>>
>>58716038
What the fuck am I reading. vim has supported 256 color terminals based on $TERM since forever. Vim does not have problems with the esc key unlike emacs. Vim doesn't have problems replicating a color scheme in terminals except in esoteric ones. Vim doesn't have limitations on commands either. Plus, because its command scheme isn't retarded by default, it works significantly better in a terminal than emacs, due to things like tabs, but also for plain window switching. Not to mention undo history and buffers. Unlike emacs, all vim plugins work in terminals. Emacs support for terminals is so bad you might as well just pretend it doesn't exist. On the other hand, vim in terminal is the preferred mode of operation.
>>
>>58715775
How did you configured your fonts in X this way? I mean rendering settings.
>>
Emacs is a good operating system. Too bad it lacks a decent text editor.
>>
>>58711224
>>58711239

>>58719379
>>
>>58715976
>subdued parens
The epiphany of learning to read Lisp by the indentation instead of having to focus on the parens anymore. Pure beauty.
>>
>>58719335
Emacs has an excellent editor written for it, it's called evil-mode, check it out. Vim fans love it.
>>
>>58719401
he actually did it the absolute madman hahahahahahaha!
>>
>>58710956
This is my Emacs. Colorscheme is 'gotham-theme', font is 'M+ 1m'.
>>
>>58719507
Evil is dogshit. It's a joke, plain and simple, unlike vim.
>>
>>58715976
what font is that?
>>
>>58719110
>On the other hand, vim in terminal is ONLY mode of operation.
Fixed, the only reason you're complaining is because Vim's GUI is a joke. The reason Emacs's GUI has features the terminal version doesn't is because of physical limitations of terminals. Emacs can't do anything about that.

>vim has supported 256 color terminals based on $TERM since forever
Wiki says you have to set t_Co=256, so not automatically. Emacs has supported automatic detection and support for a long time.

>Vim does not have problems with the esc key unlike emacs.
Emacs doesn't either; terminals have problems with esc.

>Vim doesn't have problems replicating a color scheme in terminals except in esoteric ones.
Neither does Emacs. Not only does it adapt to 256 colors, it also adapts to 16 colors.

>Vim doesn't have limitations on commands either.
kek, Vim commands aren't even comparable with Emacs commands, which are first class functions.

>Not to mention undo history and buffers.
A Vim user talking about undo history and buffers when shit-talking Emacs. Next you'll tell me Vim has macros (protip: Emacs keyboard macros make Vim look like a joke)
>>
File: IMG_20160909_121906.jpg (1MB, 2448x2448px) Image search: [Google]
IMG_20160909_121906.jpg
1MB, 2448x2448px
>>58716972
>you can't just ssh and open emacs on a production system, because it wouldn't be there.

Lmao.
Why are people on /g/ so desperate to voice their opinion despite being absolutely clueless on the topic?
Is this the famous Mount Stupid?

C-x C-f
/ssh:[email protected]:/whatever/path/you/wish

RET

If it's a file, it will open the file as expected.
If it's a directory, it will switch to DIRED.
>>
>>58721766
what guarantee you have that the remote machine you will be connecting to will have your-editor-of-choice? None.
tramp supports ftp, ssh, rlogin and telnet, so just take your editor with you.

Frequently taking your work home?
Set up an emacs server on your workstation and connect your local emacsclient to a remote session and continue work exactly where you left off.


Vimexicans on suicide watch.
>>
Mfw we successfully shill solus
>>
>>58717276
He uses a t40 thinkpad now.
>>
>>58710956
you could use magit for git stuff:
https://www.emacswiki.org/emacs/Magit
also evil mode could give you vim bindings:
https://www.emacswiki.org/emacs/Evil
>>
I love emacs.

But how do I get tramp to work properly? Sometimes, I'll open and edit a file, but do not have the appropriate permissions to save (system file like fstab for instance). I've looked it up in the past and various sites talk about 'M-x tramp' but this never really works. I'd like to know the preferred way of escalating permissions with Emacs, rather than running as root.
Thread posts: 62
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.