[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] keymappings

From: Sam Liddicott
Subject: Re: [Texmacs-dev] keymappings
Date: Tue, 09 Aug 2011 15:59:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11

On 09/08/11 15:29, Michael Lachmann wrote:
Thanks for the reply!

On 9 Aug 2011, at 1:58PM, Sam Liddicott wrote:

The R menu should be in your preferences.

You mean, in the personal init file?
So I should direct users how to add an R menu by editing their init files?
Another option is that in the menu that opens from the little monitor icon, 
where you can select the R session, a whole submenu would be inserted. I don't 
know if it is currently possible, or how hard that would be...

I don't know either.

The shortcuts could potentally be global, but I don't understand them.

I don't know why you need "R1." and "R2." ...what will the shortcut "R2." do if 
you already have 2 R sessions?
R1. and R2. open two sessions. If, for example, you have a remote session on 
R1., then you can start a local one with R2.
Or, if session R1 is in a long calculation, and you just quickly want to try 
something. Or, if you open a second document, but don't want to mix the 
calculation between the two documents.

An alternative is to have a separate session for each document. This means that 
you can't easily share values between documents. The main times I use this is 
when I clean up a document, or sum it up - then I open a second, cleaned 

Sharing of sessions between documents scares me. I think because I don't want to clean up a document. For this reason I generally avoid using shell sessions - but a shell is probably much more stateful than an R session.




On 05/08/11 14:36, Michael Lachmann wrote:

I want to update the TeXmacs R interface to my latest version. (even with some 
limited syntax highlighting...)

But I have the following problem:

I work a lot with this interface, so I added shortcuts to insert a new session.

"R1." inserts the default R session (no alt, clt, esc or anything!)
"R2." inserts a second new session
"R3." a third

"RR." asks the user for a remote host, and starts a session there - this is 
started as the default session, so R1. will insert sessions to that remote R.

Now the question is this: what should I do with these shortcuts - they make it 
much nicer to work with R, but they are called from outside the R session 
(because you want to insert a session), and possibly before any R session is in 
the document (you want to start a new session).

In particular, RR., which starts a remote session starts before any session is 
inserted, and there currently is no menu to do that.


Should these be global shortcuts?
Should there be a global R menu, before any R session is started?
Should this just be use preferences, so I'll have them in my personal init, but 
no one else?
Should they still be activated only when you select to insert an R session? So, 
you'll have to insert one session, and then you have shortcuts? And with remote 
session I'll have to think what to do?

What do you think?


Texmacs-dev mailing list

[FSF Associate Member #2325]<http://www.fsf.org/register_form?referrer=2325>


Texmacs-dev mailing list

Texmacs-dev mailing list

[FSF Associate Member #2325] <http://www.fsf.org/register_form?referrer=2325>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]