在Docker中使用Emacs

使用Emacs

对不起,我做那份工作很马虎。

我在电算研究院现在的系统研究室作为一个研究生度过了三个月的时间,他们正在开发Emacs的其他语言版本。

我很荣幸能够共享戸村哲先生的UNIX文件系统,并使用Emacs的配置设置。

在工作中,我使用PC的VZ编辑器,并编译保存的C语言源代码。

# apt install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  emacs24 emacs24-bin-common emacs24-common emacs24-el emacsen-common gconf-service gconf2-common gnutls-bin libasound2 libasound2-data libdbus-glib-1-2 libfribidi0 libgconf-2-4
  libgnutls-dane0 liblockfile-bin liblockfile1 libm17n-0 libopts25 libotf0 libunbound2 m17n-db
Suggested packages:
  emacs24-common-non-dfsg ncurses-term libasound2-plugins alsa-utils dns-root-data m17n-docs gawk
The following NEW packages will be installed:
  emacs emacs24 emacs24-bin-common emacs24-common emacs24-el emacsen-common gconf-service gconf2-common gnutls-bin libasound2 libasound2-data libdbus-glib-1-2 libfribidi0
  libgconf-2-4 libgnutls-dane0 liblockfile-bin liblockfile1 libm17n-0 libopts25 libotf0 libunbound2 m17n-db
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 37.7 MB of archives.
After this operation, 121 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian stretch/main amd64 liblockfile-bin amd64 1.14-1+b1 [19.1 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 liblockfile1 amd64 1.14-1+b1 [15.7 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 emacsen-common all 2.0.8 [21.2 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 libgnutls-dane0 amd64 3.5.8-5+deb9u6 [185 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 emacs24-common all 24.5+1-11+deb9u1 [13.0 MB]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 gnutls-bin amd64 3.5.8-5+deb9u6 [402 kB]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 libfribidi0 amd64 0.19.7-1+deb9u2 [45.7 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libunbound2 amd64 1.6.0-3+deb9u2 [345 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 libopts25 amd64 1:5.18.12-3 [68.0 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 emacs24-bin-common amd64 24.5+1-11+deb9u1 [258 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 libdbus-glib-1-2 amd64 0.108-2 [206 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 gconf2-common all 3.2.6-4 [1040 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 libgconf-2-4 amd64 3.2.6-4+b1 [427 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 gconf-service amd64 3.2.6-4+b1 [415 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libasound2-data all 1.1.3-5 [173 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 libasound2 amd64 1.1.3-5 [497 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 libotf0 amd64 0.9.13-3+b1 [53.6 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 m17n-db all 1.7.0-2 [1290 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 libm17n-0 amd64 1.7.0-3+b1 [249 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 emacs24 amd64 24.5+1-11+deb9u1 [3543 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 emacs all 46.1 [1634 B]
Get:22 http://deb.debian.org/debian stretch/main amd64 emacs24-el all 24.5+1-11+deb9u1 [15.4 MB]
Fetched 37.7 MB in 2s (15.4 MB/s)      
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 22.)
debconf: falling back to frontend: Readline
Selecting previously unselected package liblockfile-bin.
(Reading database ... 51545 files and directories currently installed.)
Preparing to unpack .../00-liblockfile-bin_1.14-1+b1_amd64.deb ...
Unpacking liblockfile-bin (1.14-1+b1) ...
Selecting previously unselected package liblockfile1:amd64.
Preparing to unpack .../01-liblockfile1_1.14-1+b1_amd64.deb ...
Unpacking liblockfile1:amd64 (1.14-1+b1) ...
Selecting previously unselected package emacsen-common.
Preparing to unpack .../02-emacsen-common_2.0.8_all.deb ...
Unpacking emacsen-common (2.0.8) ...
Selecting previously unselected package emacs24-common.
Preparing to unpack .../03-emacs24-common_24.5+1-11+deb9u1_all.deb ...
Unpacking emacs24-common (24.5+1-11+deb9u1) ...
Selecting previously unselected package libunbound2:amd64.
Preparing to unpack .../04-libunbound2_1.6.0-3+deb9u2_amd64.deb ...
Unpacking libunbound2:amd64 (1.6.0-3+deb9u2) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../05-libgnutls-dane0_3.5.8-5+deb9u6_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.5.8-5+deb9u6) ...
Selecting previously unselected package libopts25:amd64.
Preparing to unpack .../06-libopts25_1%3a5.18.12-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.12-3) ...
Selecting previously unselected package gnutls-bin.
Preparing to unpack .../07-gnutls-bin_3.5.8-5+deb9u6_amd64.deb ...
Unpacking gnutls-bin (3.5.8-5+deb9u6) ...
Selecting previously unselected package emacs24-bin-common.
Preparing to unpack .../08-emacs24-bin-common_24.5+1-11+deb9u1_amd64.deb ...
Unpacking emacs24-bin-common (24.5+1-11+deb9u1) ...
Selecting previously unselected package libdbus-glib-1-2:amd64.
Preparing to unpack .../09-libdbus-glib-1-2_0.108-2_amd64.deb ...
Unpacking libdbus-glib-1-2:amd64 (0.108-2) ...
Selecting previously unselected package gconf2-common.
Preparing to unpack .../10-gconf2-common_3.2.6-4_all.deb ...
Unpacking gconf2-common (3.2.6-4) ...
Selecting previously unselected package libgconf-2-4:amd64.
Preparing to unpack .../11-libgconf-2-4_3.2.6-4+b1_amd64.deb ...
Unpacking libgconf-2-4:amd64 (3.2.6-4+b1) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../12-gconf-service_3.2.6-4+b1_amd64.deb ...
Unpacking gconf-service (3.2.6-4+b1) ...
Selecting previously unselected package libasound2-data.
Preparing to unpack .../13-libasound2-data_1.1.3-5_all.deb ...
Unpacking libasound2-data (1.1.3-5) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../14-libasound2_1.1.3-5_amd64.deb ...
Unpacking libasound2:amd64 (1.1.3-5) ...
Selecting previously unselected package libfribidi0:amd64.
Preparing to unpack .../15-libfribidi0_0.19.7-1+deb9u2_amd64.deb ...
Unpacking libfribidi0:amd64 (0.19.7-1+deb9u2) ...
Selecting previously unselected package libotf0:amd64.
Preparing to unpack .../16-libotf0_0.9.13-3+b1_amd64.deb ...
Unpacking libotf0:amd64 (0.9.13-3+b1) ...
Selecting previously unselected package m17n-db.
Preparing to unpack .../17-m17n-db_1.7.0-2_all.deb ...
Unpacking m17n-db (1.7.0-2) ...
Selecting previously unselected package libm17n-0:amd64.
Preparing to unpack .../18-libm17n-0_1.7.0-3+b1_amd64.deb ...
Unpacking libm17n-0:amd64 (1.7.0-3+b1) ...
Selecting previously unselected package emacs24.
Preparing to unpack .../19-emacs24_24.5+1-11+deb9u1_amd64.deb ...
Unpacking emacs24 (24.5+1-11+deb9u1) ...
Selecting previously unselected package emacs.
Preparing to unpack .../20-emacs_46.1_all.deb ...
Unpacking emacs (46.1) ...
Selecting previously unselected package emacs24-el.
Preparing to unpack .../21-emacs24-el_24.5+1-11+deb9u1_all.deb ...
Unpacking emacs24-el (24.5+1-11+deb9u1) ...
Setting up gfortran (4:6.3.0-4) ...
update-alternatives: error: alternative path /usr/bin/gfortran doesn't exist
dpkg: error processing package gfortran (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up gconf2-common (3.2.6-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

Creating config file /etc/gconf/2/path with new version
Setting up liblockfile-bin (1.14-1+b1) ...
Setting up libunbound2:amd64 (1.6.0-3+deb9u2) ...
Processing triggers for mime-support (3.60) ...
Setting up libotf0:amd64 (0.9.13-3+b1) ...
Setting up libdbus-glib-1-2:amd64 (0.108-2) ...
Setting up liblockfile1:amd64 (1.14-1+b1) ...
Setting up libasound2-data (1.1.3-5) ...
Setting up emacsen-common (2.0.8) ...
Setting up libgconf-2-4:amd64 (3.2.6-4+b1) ...
Setting up m17n-db (1.7.0-2) ...
Setting up libasound2:amd64 (1.1.3-5) ...
Setting up gconf-service (3.2.6-4+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libgnutls-dane0:amd64 (3.5.8-5+deb9u6) ...
Setting up libopts25:amd64 (1:5.18.12-3) ...
Setting up libfribidi0:amd64 (0.19.7-1+deb9u2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up gnutls-bin (3.5.8-5+deb9u6) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up emacs24-common (24.5+1-11+deb9u1) ...
Setting up emacs24-el (24.5+1-11+deb9u1) ...
Setting up libm17n-0:amd64 (1.7.0-3+b1) ...
Setting up emacs24-bin-common (24.5+1-11+deb9u1) ...
update-alternatives: using /usr/bin/ctags.emacs24 to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs24 to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs24 to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs24 to provide /usr/bin/etags (etags) in auto mode
update-alternatives: using /usr/bin/grep-changelog.emacs24 to provide /usr/bin/grep-changelog (grep-changelog) in auto mode
Setting up emacs24 (24.5+1-11+deb9u1) ...
update-alternatives: using /usr/bin/emacs24-x to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Setting up emacs (46.1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...

非常感谢您一直阅读到最后。

喜欢的话,请关注一下。

非常感谢您阅读到最后一句话。

请点击喜欢的图标?,并关注我,享受快乐的生活。

广告
将在 10 秒后关闭
bannerAds