Emacs23 CVS on Debian testing

Vim、Emacs配置和使用
回复
头像
QuITh
帖子: 85
注册时间: 2007-11-27 15:46
来自: USTC
送出感谢: 0
接收感谢: 0
联系:

Emacs23 CVS on Debian testing

#1

帖子 QuITh » 2008-07-21 4:01

Emacs CVS on Debian, if you'd like to use Emacs23 or emacs-snapshot under your Debian GNU/Linux Operating System.

First install packages curl and fakeroot if needed.

代码: 全选

    # aptitude install curl fakeroot
Add key:

代码: 全选

    # curl http://orebokech.com/Romain_Francoise.pgp | apt-key add -
Add this to /etc/apt/sources.list
Build it and install

代码: 全选

    # aptitude update
    # aptitude build-dep emacs-snapshot
    $ mkdir /tmp/build
    $ cd /tmp/build
    $ fakeroot apt-get source -b emacs-snapshot
Use dpkg to install these packages (emacs-snapshot-common --> emacs-snapshot-common-bin --> emacs-snapshot or emacs-snapshot-nox) and enjoy.
Hi Romain,

My OS is [Debian GNU/Linux testing _Lenny_ - Official Beta i386 CD Binary-1 20080616-10:19], follow step by step from the site http://www.emacswiki.org/cgi-bin/wiki/EmacsCvsAndDebian , I still have errors:

代码: 全选

    v@QuITh:/tmp/build$ fakeroot apt-get source -b emacs-snapshot
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Skipping already downloaded file 'emacs-snapshot_20080630-1.dsc'
    Skipping already downloaded file 'emacs-snapshot_20080630.orig.tar.gz'
    Skipping already downloaded file 'emacs-snapshot_20080630-1.diff.gz'
    Need to get 0B of source archives.
    Skipping unpack of already unpacked source in emacs-snapshot-20080630
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set LDFLAGS to default value:
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package emacs-snapshot
    dpkg-buildpackage: source version 1:20080630-1
    dpkg-buildpackage: source changed by Romain Francoise <rfrancoise@debian.org>
    dpkg-buildpackage: host architecture i386
    dpkg-checkbuilddeps: Unmet build dependencies: libtiff-dev
    dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
    dpkg-buildpackage: warning: (Use -d flag to override.)
    Build command 'cd emacs-snapshot-20080630 && dpkg-buildpackage -b -uc' failed.
    E: Child process failed
What to do next?

Thanks in advance.

--
Regards,
Patrick
Hi,

I don't know who added these instructions to the wiki but it wasn't me, and this is certainly not the preferred way to use emacs-snapshot. You're using i386 which is a supported architecture, you don't need to build the package yourself. Just run `apt-get install emacs-snapshot' and everything should be fine.

Cheers,
-r
Uh oh, thanks a lot, now it works...

--
Regards,
Patrick
Note that you cannot use this method in Ubuntu, for Ubuntu's Aptitude does not have Super Cow Powers...
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.
头像
QuITh
帖子: 85
注册时间: 2007-11-27 15:46
来自: USTC
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 QuITh » 2008-07-21 4:05

Debian testing users, if you'd like to use Emacs23 or emacs-snapshot on your OS...

代码: 全选

 # aptitude install curl

代码: 全选

 # curl http://orebokech.com/Romain_Francoise.pgp | apt-key add -

代码: 全选

 # nano /etc/apt/sources.list
Add this to the end of your /etc/apt/sources.list file.

代码: 全选

 # aptitude update

代码: 全选

 # aptitude install emacs-snapshot
Or you can install The GNU Emacs editor (without X support), emacs-snapshot-nox.
上次由 QuITh 在 2008-07-21 4:15,总共编辑 1 次。
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.
头像
QuITh
帖子: 85
注册时间: 2007-11-27 15:46
来自: USTC
送出感谢: 0
接收感谢: 0
联系:

dotemacs file, partial

#3

帖子 QuITh » 2008-07-21 4:12

;;nano ~/.Xdefaults
;;Emacs.geometry:80X35+0+0

;aptitude install ttf-arphic-gkai00mp ttf-arphic-bkai00mp

(set-default-font "Monospace-12")
(set-fontset-font (frame-parameter nil 'font)
'unicode '("AR PL KaitiM GB" . "unicode-bmp"))
附件
emacs.png
Patrick Hoo, a physics enthusiast.
OS: Debian(Xfce) GNU/Linux, LFS.
TeX, Vim, Emacs, JabRef, Wiki, etc.
回复

回到 “Vim和Emacs”