Chinaunix首页 | 论坛 | 博客
  • 博客访问: 12481
  • 博文数量: 14
  • 博客积分: 560
  • 博客等级: 中士
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-17 16:40
文章分类
文章存档

2010年(14)

我的朋友
最近访客

分类: LINUX

2010-09-25 14:16:28

1.11. Summary

1.11.总结

 

Now you know the basic commands for starting and stopping Emacs and for working with files. Chapter 2 builds on these commands to give you the skills you need for editing with Emacs. Table 1-4 summarizes the commands we covered in this chapter.

    现在你已经知道了基本的指令:打开,关闭Emacs,以及如何操作文件。第二章将向你介绍编辑文件时所必须的指令。下面总结一下本章介绍的指令。

 

Table 1-4. File handling commands

Keystrokes

Command name

Action

C-x C-fFile http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Open File打开文件

find-file

Find file and read it in a new buffer.查找文件并将其载入一个新的缓冲区。

C-x C-v

find-alternate-file

Read an alternate file, replacing the one read with C-x C-f.载入别一文件来替换C-xC-f打开的文件。

C-x iFile http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Insert File插入文件

insert-file

Insert file at cursor position.在光标外插入文件。

C-x C-sFile http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Save (current buffer)保存当前缓冲区到文件

save-buffer

Save file.保存文件

C-x C-wFile http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Save Buffer As另存为

write-file

Write buffer contents to file.把缓冲区保存到文件。

C-x C-cFile http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Exit Emacs关闭Emacs

save-buffers-kill-emacs

Exit Emacs.关闭Emacs

C-h

help-command

Enter the online help system.进入在线帮助系统。

C-h fHelp http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Describe Function描述功能

describe-function

Gives online help for a given command name.显示给定指令名的帮助信息。

C-h kHelp http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Describe Key描述快捷键

describe-key

Gives online help for a given keystroke sequence.显示给定快捷键的帮助信息。

C-h tHelp http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Emacs Tutorial Emacs快速指南

help-with-tutorial

Start the Emacs tutorial.启动Emacs的快速指南。

C-h iHelp http://static.ppurl.com/chmview-AgcCM1d5BXAAZgNoA19TPAAiUzcIYg9iA2QPOlVuBGI=/0596006489/images/ent/u2192.gif Browse Manuals浏览帮助手册

info-goto-emacs-command-node

Start the Info documentation reader.启动Info文档阅读器。

 

1.11.1 Problems You May Encounter

1.11.1 你可能遇到的问题

 

Emacs doesn't do what this book says or look like our screenshots. Make sure that you have GNU Emacs 21.3.5 or later running by typing M-x version Enter or selecting Help About Emacs. Read the section "Making Emacs Work the Way You Want" in Chapter 2. You may need to install a graphical version of Emacs if you are running in a terminal window; see Chapter 13 for details.

Emacs 如果没有按照我们所说的那样运行或者也不像书中的截图。请确认你的GNU Emacs21.3.5版或更新的版本。输入 “M-x version Enter”或者选择菜单栏的Help按钮,点击"About Emacs"选项可以查看GNU Emacs的版本。并阅读第二章中“让Emacs按照你想要的方式工作”这一节。如果是在终端窗口运行Emacs,你需要安装一个图形界面版本的Emacs,第13章有详细介绍。

 

The toolbar icons are completely different. The icons changed between Emacs 21.3.1 and Emacs 21.3.5. The older icons do the same thing; the newer ones are substantially better looking and more intuitive. Upgrade Emacs using instructions in Chapter 13.

工具栏图标完全不同。图标在21.3.1版的Emacs21.3.5版的Emacs之间进行了修改。老版本的图标也完成相同的功能;不过新版本的图标拥有更充实的外观也更直观。根据第13章的介绍对Emacs进行升级。

 

You can't access menus using the mouse. Use the text-based menus instead by pressing F10 or M-`. Better yet, install a graphical version of Emacs using the instructions in Chapter 13.

不能用鼠标操纵菜单。可以通过按F10或者M-`显示文本方式的菜单来代替。更好的方式是,根据第13章的介绍安装一个图形版本的Emacs

 

PgUp doesn't work properly when using text-based menus. PgUp is probably bound to some application-specific function, such as scrolling in the Mac OS X Terminal application. Press Shift-PgUp, F10, or M-` to access the menus.

PgUp在文本方式的菜单中不能正常工作。PgUp键很可能被绑定到其他功能上了,比如在Mac OS X的终端程序中,PgUp是滚屏的功能。可以按Shift-PgUpF10,或者M-`来访问菜单。

 

 You can't see a mode line or minibuffer. Your Emacs window is bigger than your display. See Chapter 10 for information on how to get Emacs to start with a reasonable window size. As a temporary workaround, resize the window. (On some Windows systems, maximizing the window ironically makes it smaller, solving the problem.)

    看不到模式行或者迷你缓冲区。Emacs的窗口比屏幕显示范围大。看第10章如何让Emacs按合理的窗体大小启动。作为一个临时的替代方案,可以直接调整窗口大小.(在一些界面操作系统中,最大化按钮反倒使窗体变小,也可以解决这个问题。)

阅读(233) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~