help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to keep/restore my view and mode?


From: Kevin Rodgers
Subject: Re: how to keep/restore my view and mode?
Date: Thu, 21 Sep 2006 08:52:35 -0600
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Leo.Hou wrote:
I am not sure if I am using the right term of "view" and "mode". My
problem is as follows:

I am using C-x 3 and "follow-mode" to view my source code. Every time I
compile, the other column becomes the result of make. I need to use a
lot of keys to switch it back to normal: C-x o; C-x k; C-x o; M-x
follow-mode
Is there a better way?

You could display the *Compilation* buffer in its own frame:

(setq special-display-buffer-names
      (cons "*compilation*" special-display-buffer-names))

And I'd also want to know how to kill the buffer in the other window
without switching to it by C-x o

How about a keyboard macro:

(global-set-key (kbd "C-x 4 k") (kbd "C-x o C-x k C-x o"))

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]