all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hikaru Ichijyo <ichijyo@macross.sdf.jp>
To: help-gnu-emacs@gnu.org
Subject: Re: launch a program in an arbitrary frame
Date: Sat, 18 Jul 2015 18:51:42 -0500	[thread overview]
Message-ID: <8xxwpxxc9dd.fsf@village.keycorner.org> (raw)
In-Reply-To: mailman.7120.1437262864.904.help-gnu-emacs@gnu.org

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


  parent reply	other threads:[~2015-07-18 23:51 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18  3:21 launch a program in an arbitrary frame Hikaru Ichijyo
2015-07-18  4:12 ` Vaidheeswaran C
2015-07-18  8:29   ` Emanuel Berg
2015-07-18  4:18 ` Vaidheeswaran C
2015-07-18  5:22 ` Drew Adams
2015-07-18  8:14 ` Emanuel Berg
     [not found] ` <mailman.7087.1437207364.904.help-gnu-emacs@gnu.org>
2015-07-18 15:53   ` Hikaru Ichijyo
2015-07-18 16:35     ` Eli Zaretskii
2015-07-18 17:06     ` Óscar Fuentes
     [not found]     ` <mailman.7100.1437237353.904.help-gnu-emacs@gnu.org>
2015-07-18 17:12       ` Hikaru Ichijyo
2015-07-18 19:26         ` Emanuel Berg
     [not found]         ` <mailman.7109.1437247711.904.help-gnu-emacs@gnu.org>
2015-07-18 22:09           ` Hikaru Ichijyo
2015-07-18 22:45             ` Drew Adams
     [not found]             ` <mailman.7117.1437259681.904.help-gnu-emacs@gnu.org>
2015-07-18 23:28               ` Hikaru Ichijyo
2015-07-18 23:47                 ` Emanuel Berg
     [not found]                 ` <mailman.7122.1437263415.904.help-gnu-emacs@gnu.org>
2015-07-19  0:03                   ` Hikaru Ichijyo
2015-07-19  0:32                 ` Drew Adams
2015-07-19  7:15                   ` Emanuel Berg
2015-07-19 13:03                     ` Drew Adams
     [not found]                   ` <mailman.7140.1437290215.904.help-gnu-emacs@gnu.org>
2015-07-19 10:40                     ` Pascal J. Bourguignon
     [not found]     ` <mailman.7101.1437239201.904.help-gnu-emacs@gnu.org>
2015-07-18 17:47       ` Hikaru Ichijyo
2015-07-18 19:18     ` Emanuel Berg
     [not found]     ` <mailman.7108.1437247198.904.help-gnu-emacs@gnu.org>
2015-07-18 22:01       ` Hikaru Ichijyo
2015-07-18 22:56         ` Emanuel Berg
2015-07-18 23:39           ` Emanuel Berg
     [not found]           ` <mailman.7120.1437262864.904.help-gnu-emacs@gnu.org>
2015-07-18 23:51             ` Hikaru Ichijyo [this message]
2015-07-18 23:58               ` Emanuel Berg
     [not found]               ` <mailman.7124.1437264614.904.help-gnu-emacs@gnu.org>
2015-07-19  0:55                 ` Hikaru Ichijyo
     [not found]         ` <mailman.7118.1437260312.904.help-gnu-emacs@gnu.org>
2015-07-18 23:32           ` Hikaru Ichijyo
2015-07-18 23:42             ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8xxwpxxc9dd.fsf@village.keycorner.org \
    --to=ichijyo@macross.sdf.jp \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.