Compilation Emacs 23

xiaoxiao2021-04-06  257

The Emacs version in my FC5 release is 21,

Is a very common version now,

The internal character representation scheme is used in Chinese. It is the so-called Emacs Mule representation, which is based on ISO2022 and has appropriate expansion. Now this program has not been used, for example, the GBK and GB18030 cannot be supported, and its coding space has been basically exhausted. Therefore, if you want to use the GBK to expand Chinese characters, you have to use the MULE-GBK package.

The EMACS22 fits along the EMACS21, but in other respects, Emacs22 has improved many improvements to Emacs21, fixing a lot of bugs, which is expected to be Emacs's latest release version.

Emacs23, also known as Emacs-Unicode-2 Branch, which made a big surgery for the representation of Emacs internal characters: it was based on the UTF8 coding scheme and made appropriate expansion and adjustment. At present, this surgery has not been completed, but BUG is more, but it has basically reached the extent to which it is available, and the support of Chinese (GBK / GB18030) is very good. No need to install MULE-GBK.

I am willing to use the latest

Emacs 23

Even if it is not so stable.

Can use CVS from Tsinghua's FTP

Emacs 23

Source code pulls down:

$ cvs -d: pserver: anonymous@ftp.tsinghua.edu.cn/cvsroot co -R Emacs-unicode-2 -d emacs23 cvs.savannah.gnu.org/emacs/emacs

Learn this opportunity to learn a little CVS to access the source warehouse. Now, many GNU / Linux project Internet collaboration development models are mainly used by CVS powerful project file management. The above is using the CVS tool remotely accessed the CVS warehouse on the Tsinghua website.

For most remote CVS warehouses, you can use the PServer or External technology to access. In PServer mode, CVS runs a server process on a warehouse computer, and all customers are connected to the process. In this way, CVS is like a web server or FTP server, usually used for remote anonymous access. As for External mode, because I am very unfamiliar with CVS, many things will be lost, don't talk. In CVS, the user's concept is: people accessing or modify the warehouse. No matter if you use PServer or External Access, you need an ID to access the CVS warehouse. CVS uses a string similar to URL to indicate the warehouse location. This string consists of access type, user name, server name, and warehouse position, and often known as this string is CVSROOT. If you download Emacs, strings,: pserver: anonymous@ftp.tsinghua.edu.cn/cvsroot, the type is PServer, the username is anonymous, the server name is ftp.tsinghua.edu.cn/cvsroot. CVS -D: PServer: anonymous@ftp.tsinghua.edu.cn/cvsroot, where the -d option is used to indicate the location where CVS is accessible. CO parameters, indicate file checkout, -r represents file version number, followed by -D parameters to indicate the file to the local machine directory. The last cvs.savannah.gnu.org/emacs/emacs should be a project to be checked out in the specified repository.

Learn this command, you can download the recently updated program file from this warehouse in the future, that is, only download the modified program file. We should thank this Internet collaborative development model, and things in the CVS software warehouse may have new things to add new things every day. I am downloading using CVS in / usr / local / src directory. Therefore, the absolute path / usr / local / src / emacs23 of the EMACS source package directory is downloaded. After several reloading systems, a lesson I have received is - Any software package that is self-installed, it is best to do in / usr / local. This is convenient for backup.

Start installing below, and no matter where the installation tutorials are installed, try the simple installation steps indicated in the install file in the EMACS23 directory:

After CD / USR / local / src / eamcs23 ./configuremake make, the EMACS program will be generated under the src subdirectory. Trial running: SRC / EMACS -Q, if the run is successful, then the next installation is performed. Make Install Make Clean passes the above steps, I have successfully installed. Maybe you are unsuccessful, then look at Install carefully.

After the installation is complete, run, find the Emacs's operating environment is: i686-PC-Linux-GNU, X Toolkit, XAW3D Scroll Bars. Some of the windows are ugly. If you care about this, then in configure, you can specify the option --with-x-toolkit = gtk. But this option requires you to install GTK 2.4 or updated version. My system is just put, I haven't been able to install the GTK library yet, I don't try it.

This emacs23 version default installation path is / usr / local, if you don't like it is disassembled, there are the following directory: / usr / local / bin / usr / local / share / Emacs / Version / Lisp / USR / LOCAL / Share / Emacs / Version / etc / usr / local / limited-name / usr / local / info / usr / local / man / man1

You can create an EMACS23 separately under / usr / local, configure --prefix = usr / local / eamcs23. I didn't try it. It feels not necessary, because that makes it, it is necessary to add a new environment variable. As long as the installed package is recorded, it can be made. The benefits of independent storage are only for easy deletion. Before I installed things, I thought it would be careful. After installing it, I will no longer move it.

转载请注明原文地址:https://www.9cbs.com/read-132358.html

New Post(0)