| --enable-font-backend is depricated |
[Jun. 10th, 2007|06:32 pm] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
оказывается, со шрифтами в emacs-cvs все отлично. нужно было всего лишь дописать в ~/.Xresources что-нибудь вроде:
Emacs.FontBackend: xft
Emacs.font: DejaVu Sans Mono-11
...обновить конфигурацию с помощью xrdb ~/.Xresources и готово! |
|
|
| toshiba satellite u200 + debian etch |
[May. 4th, 2007|12:30 pm] |
если вы стали обладателем ноутбука toshiba u200 (или, скорее всего, любого ноутбука toshiba с джог-дайлом для регулировки звука), то прежде чем ставить туда системы отличные от windows выкрутите этот джог-дайл на максимум. ибо сделать это потом без виндовых драйверов не получиться, и звук будет идти с такой максимальной громкостью, с которой вы этот джог-дайл оставили в windows. и это не смотря на все выкрученные микшеры в максимум. а если у вас не работает в нем wi-fi, то включите его переключателем справа, выставив в положение on. это единственные две проблемы, которые потрепали мне нервы при установке на этот ноутбук etch. хороший ноутбук, хороший ос. |
|
|
| update for previous post |
[Feb. 5th, 2007|09:22 am] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
./configure --prefix=/usr --enable-font-backend \
--with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-freetype \
--with-xft --with-gtk
make bootstrap
cd lisp
make bootstrap-clean
make compile EMACS=../src/emacs
cd ..
make clean
make
а вообще это все очень подробно описано вот тут:
http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs |
|
|
| M-x version |
[Feb. 3rd, 2007|05:04 pm] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-02-03 on s20 |
|
|
| ruby the "perlification" of lisp |
[Jan. 29th, 2007|09:10 pm] |
Ruby is a language designed in the following steps:
* take a simple lisp language (like one prior to CL). * remove macros, s-expression. * add simple object system (much simpler than CLOS). * add blocks, inspired by higher order functions. * add methods found in Smalltalk. * add functionality found in Perl (in OO way).
So, Ruby was a Lisp originally, in theory. Let's call it MatzLisp from now on. ;-)
Yukihiro Matsumoto |
|
|
| emacs |
[Jan. 21st, 2007|11:54 pm] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
C-h C-p |
|
|
| (no subject) |
[Nov. 24th, 2006|03:26 pm] |
I invented the term object oriented, and I can tell you that C++ wasn't what I had in mind. Alan Kay |
|
|
| (no subject) |
[Nov. 7th, 2006|05:46 pm] |
One of my most productive days was throwing away 1000 lines of code.
Kenneth Thompson |
|
|
| targets the wrong problem |
[Nov. 1st, 2006|09:45 am] |
This practice is not only common, but institutionalized. For example, in the OO world you hear a good deal about "patterns". I wonder if these patterns are not sometimes evidence of case (c), the human compiler, at work. When I see patterns in my programs, I consider it a sign of trouble. The shape of a program should reflect only the problem it needs to solve. Any other regularity in the code is a sign, to me at least, that I'm using abstractions that aren't powerful enough - often that I'm generating by hand the expansions of some macro that I need to write. Paul Graham |
|
|
| не хватает часов вокруг? |
[Oct. 24th, 2006|11:24 pm] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
добавляем в .emacs:
(display-time) и не забываем про
M-x customize-variable <RET> display-time-24hr-format |
|
|
| циклическая прокрутка буферов в emacs |
[Aug. 31st, 2006|12:46 am] |
| [ | Tags | | | emacs | ] |
| [ | mood |
| | emacs | ] |
переключаться между буферами можно C-x b, а можно и циклически, с помощью M-x cyclebuffer-forward и cyclebuffer-backward. но можно повесить и удобные бинды, например:
(global-set-key [prior] 'cyclebuffer-forward)
(global-set-key [next] 'cyclebuffer-backward) теперь можно с помощью PgUp и PgDown соответственно переключать буферы по порядку. можно на педали повесить, если есть. |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| |
|
|