[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: launch a program in an arbitrary frame
From: |
Hikaru Ichijyo |
Subject: |
Re: launch a program in an arbitrary frame |
Date: |
Sat, 18 Jul 2015 18:51:42 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Emanuel Berg <embe8573@student.uu.se> writes:
> Here is how you do it.
>
> With this, save the window configuration with `C-x m',
> and store it with `C-x l'. When you show an article
> from the *Summary* buffer, it'll save automatically so
> you just have to restore it when you are done reading
> articles. Unless you load it, it doesn't save again.
>
> (defvar *do-save-new* t)
>
> (defun save-win-conf ()
> (interactive)
> (when *do-save-new*
> (window-configuration-to-register ?0) ))
>
> (defun load-win-conf ()
> (interactive)
> (setq *do-save-new* t)
> (jump-to-register ?0) )
>
> (global-set-key "\C-xm" 'save-win-conf)
> (global-set-key "\C-xl" 'load-win-conf)
>
> (defun gnus-summary-show-article-save-win-conf ()
> (interactive)
> (save-win-conf)
> (setq *do-save-new* nil)
> (call-interactively 'gnus-summary-show-article) )
Thanks!
--
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
--Thomas Paine
- Re: launch a program in an arbitrary frame, (continued)
- RE: launch a program in an arbitrary frame, Drew Adams, 2015/07/18
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/19
- RE: launch a program in an arbitrary frame, Drew Adams, 2015/07/19
- Message not available
- Re: launch a program in an arbitrary frame, Pascal J. Bourguignon, 2015/07/19
- Message not available
- Re: launch a program in an arbitrary frame, Hikaru Ichijyo, 2015/07/18
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/18
- Message not available
- Re: launch a program in an arbitrary frame, Hikaru Ichijyo, 2015/07/18
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/18
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/18
- Message not available
- Re: launch a program in an arbitrary frame,
Hikaru Ichijyo <=
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/18
- Message not available
- Re: launch a program in an arbitrary frame, Hikaru Ichijyo, 2015/07/18
- Message not available
- Re: launch a program in an arbitrary frame, Hikaru Ichijyo, 2015/07/18
- Re: launch a program in an arbitrary frame, Emanuel Berg, 2015/07/18