Все заметки категории «Emacs»


Пока я ещё не перепрыгнул на KDE4, скажу пару слов о настройке KDE3.

Стиль для виджетов я использую QtCurve. У этого стиля есть версии для Qt3, Qt4 и Gtk (соответственно x11-themes/qtcurve, x11-themes/qtcurve-qt4 и x11-themes/gtk-engines-qtcurve в портежах). Таким образом, я могу установить единый стиль для всех приложений (почти тоже самое можно добиться с использованием одного gtk-engines-qt, но это работает не так хорошо). Правда, пользователи KDE4 говорят «that’s so not Oxygen».

Кроме того, у этого стиля огромное количество настроек, а для ленивых есть несколько предопределённых профилей. Вот теперь пойдут слайды:

QtCurve

Почему всё такое зелёное? А это — цветовая схема mildgreen. Как пишет автор, он старался сделать что-то, что выглядит приятно, и даёт глазам отдохнуть. Собственно, шаблон для блога я выбирал из тех же соображений.

Из входящих в состав Emacs’овского пакета Color Theme тем мне ни одна не понравилась, так что делаю свою, ориентируюсь на цвета из шаблона этого блога и цвета mildgreen (белый фон — текущее выделение):

Цветовая схема для Emacs

Чего только не выловишь по случаю из Гугла. Я всего лишь искал кнопку «Powered by Emacs», а наткнулся на такую замечательную статью:

There is a dark side of the programming world. Some are never exposed to it … some have only had enough exposure to be scared by it. The dark side consists of a wide network of programmers, about 1 to 2 for every 10, who throw away the rules. They run strange operating systems, they spend free time on weekends experimenting with programming languages you’ve never heard of (Hask-what? Eif-who?) … and they don’t use the same tools that you do, to say the least.

I remember the first time I witnessed a member of this «dark side» in action. I had wandered into the cubicle of one of our recent hires, a long-haired «Unix guy» who was in the midst of a rather furious coding session in a very strange looking editor (Vim, for the curious). Watching him operate his editor was truly an experience. He was working at a pace I’d never seen before, his cursor flying around the buffer like a pinball. I was like a child seeing a magician for the first time (that hat was empty!).

I rudely interrupted his session — in part to marvel at his proficiency, but also to ask some questions about his current project. He walked me through the code he was working on, and the artistry continued — he seemed able to will his cursor around the buffer with the power of his stare, as if he was simply «thinking it» there. I’d never seen anything like it — he wasn’t using his editor — he was his editor.

Никто ведь не сомневался, что Столман на самом деле — владыка ситхов?