Home
noxyu3m [entries|archive|friends|userinfo]
noxyu3m

[ userinfo | livejournal userinfo ]

--enable-font-backend is depricated [Jun. 10th, 2007|06:32 pm]
[Tags|]
[mood |emacs]

оказывается, со шрифтами в emacs-cvs все отлично. нужно было всего лишь дописать в ~/.Xresources что-нибудь вроде:
Emacs.FontBackend: xft
Emacs.font: DejaVu Sans Mono-11

...обновить конфигурацию с помощью xrdb ~/.Xresources и готово!
link1 comment|post comment

toshiba satellite u200 + debian etch [May. 4th, 2007|12:30 pm]
[Tags|]

если вы стали обладателем ноутбука toshiba u200 (или, скорее всего, любого ноутбука toshiba с джог-дайлом для регулировки звука), то прежде чем ставить туда системы отличные от windows выкрутите этот джог-дайл на максимум. ибо сделать это потом без виндовых драйверов не получиться, и звук будет идти с такой максимальной громкостью, с которой вы этот джог-дайл оставили в windows. и это не смотря на все выкрученные микшеры в максимум. а если у вас не работает в нем wi-fi, то включите его переключателем справа, выставив в положение on. это единственные две проблемы, которые потрепали мне нервы при установке на этот ноутбук etch. хороший ноутбук, хороший ос.
link1 comment|post comment

update for previous post [Feb. 5th, 2007|09:22 am]
[Tags|]
[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
linkpost comment

M-x version [Feb. 3rd, 2007|05:04 pm]
[Tags|]
[mood |emacs]

GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-02-03 on s20
linkpost comment

ruby the "perlification" of lisp [Jan. 29th, 2007|09:10 pm]
[Tags|]

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
linkpost comment

emacs [Jan. 21st, 2007|11:54 pm]
[Tags|]
[mood |emacs]

C-h C-p
link1 comment|post comment

(no subject) [Nov. 24th, 2006|03:26 pm]
[Tags|]
[mood |programming]

I invented the term object oriented, and I can tell you that C++ wasn't what I had in mind.
Alan Kay
linkpost comment

(no subject) [Nov. 7th, 2006|05:46 pm]
[Tags|]
[mood |programming]

One of my most productive days was throwing away 1000 lines of code.

Kenneth Thompson
link1 comment|post comment

targets the wrong problem [Nov. 1st, 2006|09:45 am]
[Tags|]
[mood |programming]

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
linkpost comment

хотите "y" вместо "yes"? [Oct. 25th, 2006|10:29 am]
[Tags|]
[mood |emacs]

все просто:
(fset 'yes-or-no-p 'y-or-n-p)
linkpost comment

не хватает часов вокруг? [Oct. 24th, 2006|11:24 pm]
[Tags|]
[mood |emacs]

добавляем в .emacs:
(display-time)
и не забываем про
M-x customize-variable <RET> display-time-24hr-format
linkpost comment

циклическая прокрутка буферов в emacs [Aug. 31st, 2006|12:46 am]
[Tags|]
[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 соответственно переключать буферы по порядку. можно на педали повесить, если есть.
link1 comment|post comment

мешает start-up сообщение в emacs? [Aug. 29th, 2006|07:50 pm]
[Tags|]
[mood |emacs]

допишите в .emacs:
(setq inhibit-startup-message t)
linkpost comment

как отучить emacs сохранять backup-файлы в рабочую директорию? [Aug. 28th, 2006|06:22 pm]
[Tags|]
[mood |emacs]

очень просто, добавляем в свой .emacs следующее:
(add-to-list 'backup-directory-alist
             (cons ".*" "~/.emacs.d/backup"))
ну или куда там вам будет удобней их кидать.
linkpost comment

navigation
[ viewing | most recent entries ]

Advertisement