TranslateProject/sources/tech/20190301 Emacs for (even more of) the win.md
darksun 9ff4b8a35c 选题: 20190301 Emacs for (even more of) the win
sources/tech/20190301 Emacs for (even more of) the win.md
2019-03-20 11:41:52 +08:00

6.9 KiB
Raw Blame History

#: subject: (Emacs for (even more of) the win) #: via: (https://so.nwalsh.com/2019/03/01/emacs) #: author: (Norman Walsh https://so.nwalsh.com)

Emacs for (even more of) the win

I use Emacs every day. I rarely notice it. But when I do, it usually brings me joy.

If you are a professional writer…Emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish.

Ive been using Emacs for well over twenty years. I use it for writing almost anything and everything (I edit Scala and Java in IntelliJ). I read my email in it. If it can be done in Emacs, thats where I prefer to do it.

Although Ive used Emacs for literally decades, I realized around the new year that very little about my use of Emacs had changed in the past decade or more. New editing modes had come along, of course, Id picked up a package or two, and I did adopt Helm a few years ago, but mostly it just did all the heavy lifting that I required of it, day in and day out without complaining or getting in my way. On the one hand, thats a testament to how good it is. On the other hand, thats an invitation to dig in and see what Ive missed.

At about the same time, I resolved to improve several aspects of my work life:

  • Better meeting management. Im lead on a couple of projects at work and those projects have meetings, both regularly scheduled and ad hoc; some of them I run, some of them, I only attend.

I realized Id become sloppy about my participation in meetings. Its all too easy sit in a room where theres a meeting going on but actually read email and work on other items. (I strongly oppose the “no laptops” rule in meetings, but thats a topic for another day.)

There are a couple of problems with sloppy participation. First, its disrespectful to the person who convened the meeting and the other participants. Thats actually sufficient reason not to do it, but I think theres another problem: it disguises the cost of meetings.

If youre in a meeting but also answering your email and maybe fixing a bug, then that meeting didnt cost anything (or as much). If meetings are cheap, then there will be more of them.

I want fewer, shorter meetings. I dont want to disguise their cost, I want them to be perceived as damned expensive and to be avoided unless absolutely necessary.

Sometimes, they are absolutely necessary. And I appreciate that a quick meeting can sometimes resolve an issue quickly. But if I have ten short meetings a day, lets not pretend that Im getting anything else productive accomplished.

I resolved to take notes at all the meetings I attend. Im not offering to take minutes, necessarily, but I am taking minutes of a sort. It keeps me focused on the meeting and not catching up on other things.

  • Better time management. There are lots and lots of things that I need or want to do, both professionally and personally. Ive historically kept track off some of them in issue lists, some in saved email threads (in Emacs and Gmail, for slightly different types of reminders), in my calendar, on “todo lists” of various sorts on my phone, and on little scraps of paper. And probably other places as well.

I resolved to keep them all in one place. Not because I think theres one place thats uniformly best or better, but because I hope to accomplish two things. First, by having them all in one place, I hope to be able to develop a better and more holistic view of where Im putting my energies. Second, because I want to develop a habitn. “A settled or regular tendency or practice, especially one that is hard to give up.” of recording, tracking, and preserving them.

  • Better accountability. If you work in certain science or engineering disciplines, you will have developed the habit of keeping a lab notebook. Alas, I did not. But I resolved to do so.

Im not interested in the legal aspects that encourage bound pages or scribing only in permanent marker. What Im interested in is developing the habit of keeping a record. My goal is to have a place to jot down ideas and design sketches and the like. If I have sudden inspiration or if I think of an edge case that isnt in the test suite, I want my instinct to be to write it in my journal instead of scribbling it on a scrap of paper or promising myself that Ill remember it.

This confluence of resolutions led me quickly and more-or-less directly to Org. There is a large, active, and loyal community of Org users. Ive played with it in the past (I even wrote about it, at least in passing, a couple of years ago) and I tinkered long enough to integrate MarkLogic into it. (Boy has that paid off in the last week or two!)

But I never used it.

I am now using it. I take minutes in it, I record all of my todo items in it, and I keep a journal in it. Im not sure theres much value in me attempting to wax eloquent about it or enumerate all its features, youll find plenty of either with a quick web search.

If you use Emacs, you should be using Org. If you dont use Emacs, Im confident you wouldnt be the first person who started because of Org. It does a lot. It takes a little time to learn your way around and remember the shortcuts, but I think its worth it. (And if you carry an iOS device in your pocket, I recommend beorg for recording items while youre on the go.)

Naturally, I worked out how to get XML out of it⊕“Worked out” sure is a funny way to spell “hacked together in elisp.”. And from there, how to turn it back into the markup my weblog expects (and do so at the push of a button in Emacs, of course). So this is the first posting written in Org. It wont be the last.

P.S. Happy birthday little weblog.


via: https://so.nwalsh.com/2019/03/01/emacs

作者:Norman Walsh 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出