emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting splits window
@ 2009-05-17 22:38 Samuel Wales
  2009-05-19  6:26 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2009-05-17 22:38 UTC (permalink / raw)
  To: emacs-orgmode

c-c c-e A with pop-up-windows set to nil splits the window and puts
the export buffer in both windows.

For people who set the variable to nil, the expected behavior would be
to not split the window at all.

Any way to fix?

Thanks.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  Posters: http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: exporting splits window
  2009-05-17 22:38 exporting splits window Samuel Wales
@ 2009-05-19  6:26 ` Carsten Dominik
  2009-05-19 16:28   ` Samuel Wales
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-05-19  6:26 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode


On May 18, 2009, at 12:38 AM, Samuel Wales wrote:

> c-c c-e A with pop-up-windows set to nil splits the window and puts
> the export buffer in both windows.

This is a bug.

>
> For people who set the variable to nil, the expected behavior would be
> to not split the window at all.
>
> Any way to fix?

I have now changed this so that it is parallel to what happens
durng all other export types:  The exported buffer stays hidden
when you do `C-c C-e a'.  Realizing that often you'd
want to paste this stuff, I am pushing the exported stuff onto
the kill ring.

If you use `C-c C-e A' to export to a temporary buffer, that
buffer is still shown.

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: exporting splits window
  2009-05-19  6:26 ` Carsten Dominik
@ 2009-05-19 16:28   ` Samuel Wales
  2009-05-21  7:16     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2009-05-19 16:28 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On 2009-05-18, Carsten Dominik <carsten.dominik@gmail.com> wrote:
> I have now changed this so that it is parallel to what happens
> durng all other export types:  The exported buffer stays hidden
> when you do `C-c C-e a'.  Realizing that often you'd
> want to paste this stuff, I am pushing the exported stuff onto
> the kill ring.
>
> If you use `C-c C-e A' to export to a temporary buffer, that
> buffer is still shown.

I like the kill ring idea a lot.

c-c c-e A still pops up a window.  I am getting a split window with
the original buffer showing in one and the exported in the other, with
point in the latter.  I have pop-up-windows set to nil.  To work
around it, I think a user would have to advise with fairly complicated
code detecting the window configuration beforehand, in order to
determine whether other-window was used or whether a new window was
popped up.

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: exporting splits window
  2009-05-19 16:28   ` Samuel Wales
@ 2009-05-21  7:16     ` Carsten Dominik
  2009-05-28 22:41       ` Samuel Wales
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-05-21  7:16 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode


On May 19, 2009, at 6:28 PM, Samuel Wales wrote:

> On 2009-05-18, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>> I have now changed this so that it is parallel to what happens
>> durng all other export types:  The exported buffer stays hidden
>> when you do `C-c C-e a'.  Realizing that often you'd
>> want to paste this stuff, I am pushing the exported stuff onto
>> the kill ring.
>>
>> If you use `C-c C-e A' to export to a temporary buffer, that
>> buffer is still shown.
>
> I like the kill ring idea a lot.
>
> c-c c-e A still pops up a window.  I am getting a split window with
> the original buffer showing in one and the exported in the other, with
> point in the latter.  I have pop-up-windows set to nil.  To work
> around it, I think a user would have to advise with fairly complicated
> code detecting the window configuration beforehand, in order to
> determine whether other-window was used or whether a new window was
> popped up.

OK, you can now turn this off with

       (setq org-export-show-temporary-export-buffer nil)

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: exporting splits window
  2009-05-21  7:16     ` Carsten Dominik
@ 2009-05-28 22:41       ` Samuel Wales
  0 siblings, 0 replies; 5+ messages in thread
From: Samuel Wales @ 2009-05-28 22:41 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On Thu, May 21, 2009 at 00:16, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
> (setq org-export-show-temporary-export-buffer nil)

Thanks, Carsten, this works for me.  Either this or using
pop-up-windows (which is what I had meant -- replacing the current
buffer in the current window) works for people who use one window.

-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  Posters: http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-28 22:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17 22:38 exporting splits window Samuel Wales
2009-05-19  6:26 ` Carsten Dominik
2009-05-19 16:28   ` Samuel Wales
2009-05-21  7:16     ` Carsten Dominik
2009-05-28 22:41       ` Samuel Wales

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).