[Return] [Catalog]

1 guest@cc 1969-12-31T17:00:00 [ImgOps] [iqdb]
File: emacs.png (PNG, 159.32 KB, 1274x1024)
How many Emacs users are there here?

Show me your init.el
2 guest@cc 1969-12-31T17:00:00
Still a vimfag. I thought about getting into emacs once until I realized it just dumps temporary files all over my system and doesn't clean them up. Made me angry and I gave up.

Maybe I'll try it again one day.
3 guest@cc 1969-12-31T17:00:00
I don't, because nonmodal editing is bad for your hands. It really hurts. You might say, ``use evil/vile/viper mode!'' but I already have vi (specifically nvi) installed on my system. I have an emacs installed on my system too, called mg, but I rarely use it anymore, other than for occasionally doing the tutorial to practice emacs keybindings.
vim has a lot of weird files too, like .viminfo
4 guest@cc 1969-12-31T17:00:00
you'd want to ues evil or vile or whatever becaues you want to use emacs as your operating system.
I use sam though. The mouse is better than you think it feels.
5 guest@cc 1969-12-31T17:00:00
>because nonmodal editing is bad for your hands. It really hurts

I mapped alt to ctrl, and caps lock to alt and haven't had any discomfort since.
6 guest@cc 1969-12-31T17:00:00
You can change that behaviour.

An infinite number of editing modes can be created for various contexts with hydra.
7 guest@cc 1969-12-31T17:00:00
No matter how customizable something is, the default behavior must be judged.
8 guest@cc 1969-12-31T17:00:00
The default behaviour is to evaluate Lisp code.
9 guest@cc 1969-12-31T17:00:00
I started going through SICP a couple weeks back. An IDE called racket was recommended to me (and so far it works decently well), but I'd like to try out Emacs. Would you recommend Emacs for SICP?
10 guest@cc 1969-12-31T17:00:00
I'd recommend Edwin instead.
11 guest@cc 2019-03-27T07:16:49 [ImgOps] [iqdb]
File: 1501453666666.png (PNG, 163.03 KB, 290x290)
Is there an Emacs-tan? There must be a moe rms, right?
12 guest@cc 2019-03-27T23:47:05
Oh wow, just saw my post here from last year and I'm happy to report that I actually ended up switching after all.
I switched because 2 things dawned on me simultaneously after I had the thought:
>gee I wish there was a simple, hackable, text editor that can be customized in lisp or scheme, because lisp and scheme are cool!

Shortly after starting to research the topic the 2 things which dawned on me were:
1) That's literally just what emacs is, and nothing more
2) Everything I had ever heard about emacs being too featureful, all the jokes about being able to run things like music players in emacs, or the stuff about emacs being an operating system, etc.. were all greatly blown out of proportion just because emacs is so hackable

It's sort of like you make a program in python that runs fairly fast and some people will thank you. Then you modify 1 little thing to make it so the application can load arbitrary python code (which doesn't matter because the program was already written in python anyway, so it's literally not any more "bloated" than it was before) and suddenly people start complaining that your program sucks because now it can do too much.
It actually kind of makes me angry that nobody ever clarified this for me. The only reason for all those memes that I fell for is just because emacs' configuration language is a real programming language too which enables people to do crazy things with it like turn the text editor into an IRC application. That's it. That's what all the fuss has been about and why it's been the butt of so many jokes. How tragic.

I use emacs as my only editor now, with evil mode.
13 guest@cc 2019-03-28T12:26:30

What else are you doing with it? Post config.
14 guest@cc 2019-03-29T00:11:47
I use it regularly, mostly for editing config files, IRC, RSS feeds, dired, and tramp. I don't really program aside from elisp and shell scripts.
There isn't much in my init.el, I configure it with an org file based on uncle dave's config with some stuff I added/removed progressively. I should revamp it soon it's getting messy.
15 guest@cc 2019-03-29T01:14:19
I've been using mg more lately.
16 guest@cc 2019-03-29T01:24:42
Is there any version of vi that simply doesn't do that dumb thing where it moves the cursor one to the write (or left!!) when you're done editing a file? None of the hacks for it work.
17 guest@cc 2019-03-29T11:46:34
I don't understand what you mean. When you're done editing a file vi closes and you go back to the command line.
18 guest@cc 2019-03-29T15:25:12
Sorry, I mean when you exit insert/replace/whichever mode.
19 guest@cc 2019-03-29T17:58:04
Just enter insert mode with "a" rather than "i"
20 guest@cc 2019-03-29T18:46:36
No difference, as far as I can tell.
21 guest@cc 2019-03-29T21:12:58
I still not sure I understand then. Is this possibly a bug you're experiencing?
What it sounds to me like you're talking about is if you press "i" (to enter insert mode) then immediately press escape (to exit insert mode) the cursor will be 1 character to the left of where you started.

But if you do the same thing with "a" instead of "i" then the cursor will be where it started.
Are you referring to something different?
22 guest@cc 2019-03-29T21:26:07
Nope, that's exactly what I mean. Maybe I was making some kind of mistake though, or it's inconsistent. It didn't work when I tested it then, but it is now.
23 guest@cc 2019-04-03T19:19:08 [ImgOps] [iqdb]
File: 1553694184462.png (PNG, 660.71 KB, 600x600)
Same story here. I think >>9 was me.
I've taken it really slowly with SICP, really I've just been trying exercises here and there when I get bored.
As was recommended to me, I tried Edwin for a bit, and though it was nice, it was pretty alien to me and I soon looked for alternatives. I then tried Emacs with evil-mode and haven't really looked back.
Recently I've actually started using EXWM, and I've found it to be surprisingly usable. It feels so natural to treat individual programs as Emacs buffers. It's very easy to switch out my xinitrc so that I can switch between OpenBox and EXWM. I'm still working on setting up the simulation keys, suspend, and a second monitor, but other than that it's been great out of the box.

Can't say that I've seen an Emacs-tan. Here's an SICP + Gentoo-tan though.
24 guest@cc 2019-04-03T19:29:48
After looking around I realized I got this image from another thread on here a couple days ago. Oops.
25 guest@cc 2019-04-03T19:39:51 [ImgOps] [iqdb]
File: gentoo.jpg (JPEG, 453.1 KB, 768x960)
That's not gentoo-tan, it's just satori. This is gentoo-tan
26 guest@cc 2019-04-04T19:29:18
Oh, I had assumed that was a Gentoo logo. Wow, there are a lot of 2hus that I simply don't know of. Even random images on my own computer are secretly Touhou characters.
27 guest@cc 2019-04-04T19:41:48
Yeah, touhou has worked its way into just about everything. If I didn't know better I'd suspect it was an illuminati conspiracy
Anonymous (Mon)Apr 08 2019 02:38:06
If Touhou has forcefully worked its way into everything, can people still complain about secondaries, tertiaries, and quaternaries?
28 guest@cc 2019-04-28T00:52:46
Default, with some things for loading some packages and such, but nothing out of the ordinary.
29 guest@cc 2019-05-01T14:00:26
I can't use Emacs without use-package, bind-key, and the counsel/ivy/swiper suite.

ace-window, avy, hydra, helpful, lispy, and eyebrowse are very nice too.

I'm trying exwm a bit but it gets slow on OpenBSD on a C2D.
Anonymous (Thu)May 02 2019 07:36:33
Want to buy my stinkpad X220?
30 guest@cc 2019-08-09T14:55:54 [ImgOps] [iqdb]
File: gnu_icon_4x.png (PNG, 987.0 B, 192x192)
31 guest@cc 2019-10-04T22:18:42
Here's some code that I worked on recently in my init.el:

(defun bufferkill () (interactive)
(if (exwm-buffer-p)
(setq kill-buffer-query-functions nil)
(setq kill-buffer-query-functions

The EXWM part isn't too important, it's just there becuase EXWM would freak out whenever one of its buffers was closed following kill-buffer-query-functions being changed.
The purpose of this code was to have a keybind that would kill buffers without asking for confirmation, the only problem I have is that if buffers are closed in quick succession then sometimes the variable doesn't seem to be set back properly, which seems to cause major problems for EXWM.
I think it's a race condition of some sort, but I've got no clue what to do about it. Any ideas?
32 guest@cc 2020-02-19T18:40:58 [ImgOps] [iqdb]
File: 10d384236c7cb321.png (PNG, 194.83KB, 638x783)
Emacs-tan. I use her as my fancy-splash-image.
33 guest@cc 2020-02-22T16:08:06
>Show me your init.el
34 guest@cc 2020-03-08T12:48:27
> https://protesilaos.com/codelog/
I really like this guy's emacs videos. He is really deliberate in how he uses emacs which is kind of inspiring.
35 guest@cc 2020-03-08T21:35:20
splash images for a text editor...
36 guest@cc 2020-03-18T02:49:04 [ImgOps] [iqdb]
File: toothpick.png (PNG, 58.67KB, 680x528)
Elisp is a love/hate kind of thing. Love it because Emacs, hate it because it's not Scheme. EXWM was life-changing for me, but it's also a nightmare because of quirks idiomatic to Elisp like not being asynchronous where broken modules freeze the whole session.
37 guest@cc 2020-03-18T02:53:06 [ImgOps] [iqdb]
File: church of emacs.jpg (JPEG, 72.91KB, 588x374)
>There must be a moe rms

Closest you're ever going to get.
38 guest@cc 2020-03-18T20:48:38 [ImgOps] [iqdb]
File: 1507485248197.png (PNG, 1.28MB, 1339x951)
Moe Stallman + free software song in Japanese
guest@cc 2020-03-21T22:28:49
Walking around in underwear is socially acceptable in Japan
guest@cc 2020-03-21T10:59:31
Why is she in underwear?
39 guest@cc 2020-03-18T20:49:34
>>36 Can't wait for guile emacs to be finished.
40 guest@cc 2020-03-18T21:22:21
You might have to wait for a while, I don't think there's anyone working on it at the moment (“at the moment” as in “these last few years”).
41 guest@cc 2020-06-08T21:04:49
Add this to youre .emacs:

;; Where emacs should keep its saves
(setq backup-directory-alist `(("." . "~/.emacs_saves")))
(setq backup-by-copying t)

(setq delete-old-versions t
kept-new-versions 5
kept-old-versions 2
version-control t)

Places all youre files in one dir, it saved my emacs experience for me and is the oldest code in my config.
42 guest@cc 2020-06-10T04:15:47
you can also mirror the directory structure, it keeps stuff nice and tidy

;; make backup to a designated dir, mirroring the full path

(defun my-backup-file-name (fpath)
"Return a new file path of a given file path.
If the new path's directories does not exist, create them."
(let* (
(backupRootDir "~/.emacs.d/backup/")
(filePath (replace-regexp-in-string "[A-Za-z]:" "" fpath )) ; remove Windows driver letter in path, for example, “C:”
(backupFilePath (replace-regexp-in-string "//" "/" (concat backupRootDir filePath "~") ))
(make-directory (file-name-directory backupFilePath) (file-name-directory backupFilePath))

(setq make-backup-file-name-function 'my-backup-file-name)

43 guest@cc 2020-06-30T16:09:09 [ImgOps] [iqdb]
File: evolution-of-emacs-lisp.pdf (application/pdf, 748.62KB, #f)
I came across this pretty nice overview of the history of emacs lisp.

[Return] [Catalog]
Delete Post: