English 中文(简体)
diff betweenframe anddow in emac [los]
原标题:diff between frame and window in emacs [closed]
  • 时间:2012-04-25 03:49:15
  •  标签:
  • emacs
Closed. This question is off-topic. It is not currently accepting answers.

Closed 11 years ago.

我刚刚开始使用紧急反应控制系统,令人惊讶。

因此,我有这样一个问题:窗口与框架之间的区别是什么?

我的理解是:

  1. you can press a q to quit a frame not a window.
  2. frame is composed of a series of windows
  3. frame will contain a subset of all buffers.
  4. frame is more like the concept of project while window is the for each file.

3和4似乎并不正确,因为当我试图在框架之间跳跃时,我仍然看到所有的缓冲。

我的理解是正确的。 或者我没有以正确的方式这样做?

是否有像ESMACS这样的职能项目,以组织缓冲区进入不同项目,以便在我跳过缓冲地带时,我只看到该项目的缓冲地带?

在EMACs中,有些人更多地谈到与框架和窗口有关的项目概念?

最佳回答

这是一种混淆,但都是由于历史造成的。 最初在上创建,在此之前,全球倡议是常见的。 你们都有单一空间文本的线,通常有24个字节的80个栏目。 使馆有能力将屏幕分成多个窗口,因此可以一度看到不止一个档案。

Then graphical terminals and the GUI came along, and "window" came to mean the GUI variety. But Emacs had dozens of functions and variables with "window" in their names, which dealt with its split-screen type of window. Renaming those functions would break all the Emacs Lisp code that used them. Therefore, when Emacs gained a GUI interface, its designers decided that it would be easier to come up with a new term to mean "GUI window", and keep "window" to mean "old-style Emacs window". The new term they came up with was "frame" (because frames are what surround windows).

因此,当Emacs就“框架”进行会谈时,这意味着其他方案将称之为“窗口”。 在Emacs,一个框架基本上是一个可以按要求重新布署的终端推器。 每一框架的行为与在文本终端站运行的电子信标相当;框架可以包含一个或多个旧式信标窗口。

However, all the frames of a single Emacs process are linked. Any buffer can be displayed in any window of any frame, and you can have the same buffer displayed in multiple windows and/or frames at the same time.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html。 The chapter of the Emacs Manual on “Frames”.

So your (3) is not correct; every buffer is available in every frame. (4) is not really correct either; it s up to you how many frames and/or windows you want to use. Personally, I normally use 1 frame with 1 or 2 windows. I occasionally use a second frame if I want more space to display one file while working on 1 or 2 other files.

问题回答

暂无回答




相关问题
suppress additional braces in emacs electric mode

I started using ruby-electric-mode. I like it except that I am used to closing open brackets myself (the other pairing are still useful to me). How can I make emacs suppress additional brackets when ...

Setting up an emacs environment in windows?

I am currently constrained to a windows dev box and I want to migrate my projects from eclipse to emacs. What are some good references on setting up an emacs dev environment for windows? Anything ...

Emacs Setting which-function-mode

I would like to have which-function-mode on by default when I open up Emacs. I ve added the following lines to my .emacs file. (setq which-func-mode t) (setq which-function-mode t) When I open ...

Enabling go mode for emacs

I don t seem to be able to enable a go mode for emacs. C mode doesn t work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn t require ...

Custom Emacs key bindings are not working

The key bindings I ve defined in my .emacs file aren t working. Here s the file: ;init modes (menu-bar-mode 0) (tool-bar-mode 0) (cua-mode) (column-number-mode) (fset perl-mode cperl-mode) (cperl-...

eval during emacs lisp macro expansion

How can I fix the simple macro foo in (elisp)Eval During Expansion? None of the followings work: (defmacro foo1 (a) `(setq (eval ,a) t)) (defmacro foo2 (a) `(setq ,(eval a) t)) (defmacro foo3 (...

Get local cvs comment history when committing file/s in emacs

I often commit files with similar cvs comment but not in a single operation. I would like to able to bring up previous comments I ve used in a previous commit when I am in the process of writing a ...

热门标签