Oleksandr Gavenko <[email protected]> writes: > On 2012-09-20, Alan Schmitt wrote: > >> I'm trying to work in a single Emacs frame, split in several windows, >> but this does not work well with gnus. Reading the documentation, I see >> that there is an option to prevent gnus from taking over the frame >> (http://gnus.org/manual/gnus_288.html), but its use is discouraged. >> >> Hence my question: has anyone found a way to use gnus without losing an >> existing windows layout? I saw some discussion on emacswiki >> (http://www.emacswiki.org/emacs/OneWindow) and I'm wondering if there >> are other tricks that I may have missed. >> > I suggest dumb solution: > > M-x new-frame RET M-x gnus RET > > If you have nice windows manager with cool select windows application you easy > switch between main Emacs frame and Gnus one...
Unfortunately my window manager is not so nice (I'm on OS X). > Really I use at most only 2 Emacs windows. For fast navigation I use saved > points in registers and iswitchb-mode. > > I think you can try to hack some Elisp code with use of: > > (setq my-window-conf (current-window-configuration)) > (gnus) > (set-window-configuration my-window-conf) ;; restore window layout and > ;; selected buffers > > > http://www.gnu.org/software/emacs/manual/html_node/elisp/Window-Configurations.html > > I think that it is you want but I don't how integrate this code with gnus and > your preferences... > > Try searching on emacswiki by set-window-configuration keyword... Interesting tip, thanks a lot! Alan _______________________________________________ info-gnus-english mailing list [email protected] https://lists.gnu.org/mailman/listinfo/info-gnus-english
