Skip to content

Toggle plot buffer#5

Open
christophe-gouel wants to merge 1 commit intosje30:mainfrom
christophe-gouel:toggle-plot
Open

Toggle plot buffer#5
christophe-gouel wants to merge 1 commit intosje30:mainfrom
christophe-gouel:toggle-plot

Conversation

@christophe-gouel
Copy link
Copy Markdown
Contributor

Hi,

I have found that one limit of essgd, which is inherent to emacs, is that the essgd buffer will get buried under other buffers and using switch to buffer takes too many keystrokes. So, I adapted the function ess-switch-to-inferior-or-script-buffer from ess-inf.el to this case and created a new function essgd-toggle-plot-buffer. This function allows to switch back and forth between script (or process) and essgd buffers. I have used the keybinding C-c C-a because it is close to C-c C-z used in ess. If one only wants to pop the buffer visible, one can use C-c C-a C-a to be back to the initial buffer.

I also wanted this function to start essgd if not started, but I did not manage to make this work.

I have also added the C-c C-z keybinding in the essgd keymap.

Do what you want with this PR, but in this function turned out super useful to me.

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

Successfully merging this pull request may close these issues.

1 participant