frames-only-mode icon indicating copy to clipboard operation
frames-only-mode copied to clipboard

Some frames don't open full-window

Open japhir opened this issue 5 years ago • 3 comments

Hi there, great package!

Some minor issues that you may already have fixes for:

  • maybe we could turn the org-capture window into a frame (which I would set to floating in sway/i3)? Not really necessary, but would be a nice perk.
  • when I look at my org-agenda, it's fine if the little menu does not fill the full screen, but I'd like the new agenda view to populate the whole screen.
  • when I C-c ' on a code block in org-mode, this also pops up a new partial window in stead of a new frame. Is there any way to make it turn into a frame that disappears on the next C-c '?
  • when I execute a line in a code block (say an R-code block), this starts the interactive R-buffer in the previous window. Could I change this to also open a new frame?

Cheers!

japhir avatar Nov 02 '18 08:11 japhir

Hi, I don't really use org mode so I haven't come across any of these, but I'm definitely interested in getting fixes for them.

I just had a quick look at org-capture and it seems that it has intentionally disabled popups: https://github.com/emacs-mirror/emacs/blob/master/lisp/org/org.el#L22269 so I'm not sure if I should (or can) override it by default, but I could make it an option or it should be pretty easy to do as a one-off.

I'll look at the others sometime soon :slightly_smiling_face:

davidshepherd7 avatar Nov 02 '18 20:11 davidshepherd7

when I look at my org-agenda, it's fine if the little menu does not fill the full screen, but I'd like the new agenda view to populate the whole screen.

Do you mean your whole physical screen? I think that's the job of your window manager, for example in xmonad you can set up rules to make certain types of window fullscreen by default (although I find it complicated to set up :disappointed:).

when I C-c ' on a code block in org-mode, this also pops up a new partial window in stead of a new frame. Is there any way to make it turn into a frame that disappears on the next C-c '?

I think that must be something in your setup because it works that way for me in emacs -Q with only frames-only-mode and ess-mode loaded (emacs 26).

when I execute a line in a code block (say an R-code block), this starts the interactive R-buffer in the previous window. Could I change this to also open a new frame?

How do I execute a single line? When I call org-babel-execute-src-block it doesn't open a new frame or window, it just writes the results into the same buffer.

davidshepherd7 avatar Nov 15 '18 17:11 davidshepherd7

I don't mean the physical screen, I mean a new frame. The terminology is still confusing to me 😅.

Okay I'll try to figure out what in my config causes this...

You can execute it in the R buffer by adding the :session option to the #+begin_src R line. Or by opening the specific R chunk with C-c ', and then C-<return> on the line of interest, or C-c C-c for the paragraph.

japhir avatar Nov 15 '18 21:11 japhir