Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some frames don't open full-window #28

Open
japhir opened this issue Nov 2, 2018 · 3 comments
Open

Some frames don't open full-window #28

japhir opened this issue Nov 2, 2018 · 3 comments

Comments

@japhir
Copy link

japhir commented Nov 2, 2018

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!

@davidshepherd7
Copy link
Owner

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 🙂

@davidshepherd7
Copy link
Owner

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 😞).

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.

@japhir
Copy link
Author

japhir commented Nov 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants