Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 hansel == hansel  [EMAIL PROTECTED] writes:

hansel On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:
  hansel == hansel [EMAIL PROTECTED] writes:
 
hansel This leaves the general problem unaddressed -- how do I switch
hansel directly between, say, the 3d and the 11th document loaded?
  The 11th is more difficult, but for smaller numbers there is Alt-D
 3 / Alt-D 9.

hansel Emacs bindings, compiled by me with qt frontend, this Alt-D
hansel ('D' or 'd' with alt key depressed) pulls down the Document
hansel menu and a number following does nothing.

Oops, sorry, should be Alt-V (which indeed opens the View menu) then
1, 2, 3... switches to the corresponding document.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

 christian Just in case it wasn't clear, I think he'd like a function
 christian to that changes the buffer to the previous buffer. Then
 christian after he's switched, he can use that function again to
 christian switch back. I know that I would have like this function
 christian when I was writing a lot in LyX.
 
 Would the solution be that switching to a document brings it to the
 front of the document list? Then the previous one is accessible
 through Ctrl-PageUp.

No, I think that'd just be confusing... :-)

I think Lars has the right idea, the command buffer-switch should by 
default switch back to the previously opened buffer if it isn't told 
anything else.

 Also adding tabs for the open documents would be very easy and probably
 very helpful too.

True, although tabs is orthogonal to this, isn't it? (i.e. separate 
entry). Personally I don't use tabs that much... sometimes they are useful 
in Opera to rearrange the order just so that switching beteween pages is 
more convenient though.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 christian == christian ridderstrom [EMAIL PROTECTED] writes:

  Would the solution be that switching to a document brings it to
 the front of the document list? Then the previous one is accessible
 through Ctrl-PageUp.

christian No, I think that'd just be confusing... :-)

Isn't this what emacs does?

christian I think Lars has the right idea, the command buffer-switch
christian should by default switch back to the previously opened
christian buffer if it isn't told anything else.

Also, when closing a document, we should not revert to the first open
document. 

 Also adding tabs for the open documents would be very easy and
 probably very helpful too.

christian True, although tabs is orthogonal to this, isn't it? (i.e.
christian separate entry). Personally I don't use tabs that much...

It would allow to see one screen what the relative position of
documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

  christian == christian ridderstrom [EMAIL PROTECTED] writes:
 
   Would the solution be that switching to a document brings it to
  the front of the document list? Then the previous one is accessible
  through Ctrl-PageUp.
 
 christian No, I think that'd just be confusing... :-)
 
 Isn't this what emacs does?

Um... Ctrl-PageUp doesn't do that in my Emacs.

If you mean that the buffer list is reordered, I have no idea... I rarely 
look at it...

 christian I think Lars has the right idea, the command buffer-switch
 christian should by default switch back to the previously opened
 christian buffer if it isn't told anything else.
 
 Also, when closing a document, we should not revert to the first open
 document. 

Good point.

  Also adding tabs for the open documents would be very easy and
  probably very helpful too.
 
 christian True, although tabs is orthogonal to this, isn't it? (i.e.
 christian separate entry). Personally I don't use tabs that much...
 
 It would allow to see one screen what the relative position of
 documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

Hmm... maybe. I have tabs shown in Opera, and I switch between the pages 
quite a lot. However, I don't think I've ever looked at the tabs to 
actually decide how many times to do Ctrl-Left/Right...

This could simply be a matter of me having way to many tabs open at once
of course. Anyway, I think having tabs could be really good, but I'm not
convinced it completely replaces the need for just switching to the
previous buffer.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 christian == christian ridderstrom [EMAIL PROTECTED] writes:

christian If you mean that the buffer list is reordered, I have no
christian idea... I rarely look at it...

Yes, that is what I meant.

christian Anyway, I think having tabs could be really good, but I'm
christian not convinced it completely replaces the need for just
christian switching to the previous buffer.

I agree with you on this point.

JMarc


Re: document switching

2006-04-11 Thread hansel
Notes on emacs.

On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:
 On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:
   christian == christian ridderstrom [EMAIL PROTECTED] writes:
  
Would the solution be that switching to a document brings it to
   the front of the document list? Then the previous one is accessible
   through Ctrl-PageUp.
  
  christian No, I think that'd just be confusing... :-)
  
  Isn't this what emacs does?
 
 Um... Ctrl-PageUp doesn't do that in my Emacs.
 
 If you mean that the buffer list is reordered, I have no idea... I rarely 
 look at it...

Emacs reorders buffers. Easy to verify in several ways.

Cntrl-PgUp/PgDn does not appear useful.  Cntrl-PgDn turns a directory
listing into a column of '-' on the extreme left and the rest of the
document window is blank. Cntrl-PgUp restores the directory. It appears to
work recursively (reflecting lisp roots?) -- that is, it takes the same
number of Cntrl-PgUps to pop up to the original. I see no powerful use on
my first test.

Mark Hansel



Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 hansel == hansel  [EMAIL PROTECTED] writes:

hansel Emacs reorders buffers. Easy to verify in several ways.

Yes.

hansel Cntrl-PgUp/PgDn does not appear useful. Cntrl-PgDn turns a
hansel directory listing into a column of '-' on the extreme left and
hansel the rest of the document window is blank. 

I do not thin Ctrl-PageUp/Down does anything relevant in emacs. I only
mentionned it in the case of LyX.

JMarc


Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 hansel == hansel  [EMAIL PROTECTED] writes:

hansel On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:
  hansel == hansel [EMAIL PROTECTED] writes:
 
hansel This leaves the general problem unaddressed -- how do I switch
hansel directly between, say, the 3d and the 11th document loaded?
  The 11th is more difficult, but for smaller numbers there is Alt-D
 3 / Alt-D 9.

hansel Emacs bindings, compiled by me with qt frontend, this Alt-D
hansel ('D' or 'd' with alt key depressed) pulls down the Document
hansel menu and a number following does nothing.

Oops, sorry, should be Alt-V (which indeed opens the View menu) then
1, 2, 3... switches to the corresponding document.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

 christian Just in case it wasn't clear, I think he'd like a function
 christian to that changes the buffer to the previous buffer. Then
 christian after he's switched, he can use that function again to
 christian switch back. I know that I would have like this function
 christian when I was writing a lot in LyX.
 
 Would the solution be that switching to a document brings it to the
 front of the document list? Then the previous one is accessible
 through Ctrl-PageUp.

No, I think that'd just be confusing... :-)

I think Lars has the right idea, the command buffer-switch should by 
default switch back to the previously opened buffer if it isn't told 
anything else.

 Also adding tabs for the open documents would be very easy and probably
 very helpful too.

True, although tabs is orthogonal to this, isn't it? (i.e. separate 
entry). Personally I don't use tabs that much... sometimes they are useful 
in Opera to rearrange the order just so that switching beteween pages is 
more convenient though.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 christian == christian ridderstrom [EMAIL PROTECTED] writes:

  Would the solution be that switching to a document brings it to
 the front of the document list? Then the previous one is accessible
 through Ctrl-PageUp.

christian No, I think that'd just be confusing... :-)

Isn't this what emacs does?

christian I think Lars has the right idea, the command buffer-switch
christian should by default switch back to the previously opened
christian buffer if it isn't told anything else.

Also, when closing a document, we should not revert to the first open
document. 

 Also adding tabs for the open documents would be very easy and
 probably very helpful too.

christian True, although tabs is orthogonal to this, isn't it? (i.e.
christian separate entry). Personally I don't use tabs that much...

It would allow to see one screen what the relative position of
documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

  christian == christian ridderstrom [EMAIL PROTECTED] writes:
 
   Would the solution be that switching to a document brings it to
  the front of the document list? Then the previous one is accessible
  through Ctrl-PageUp.
 
 christian No, I think that'd just be confusing... :-)
 
 Isn't this what emacs does?

Um... Ctrl-PageUp doesn't do that in my Emacs.

If you mean that the buffer list is reordered, I have no idea... I rarely 
look at it...

 christian I think Lars has the right idea, the command buffer-switch
 christian should by default switch back to the previously opened
 christian buffer if it isn't told anything else.
 
 Also, when closing a document, we should not revert to the first open
 document. 

Good point.

  Also adding tabs for the open documents would be very easy and
  probably very helpful too.
 
 christian True, although tabs is orthogonal to this, isn't it? (i.e.
 christian separate entry). Personally I don't use tabs that much...
 
 It would allow to see one screen what the relative position of
 documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

Hmm... maybe. I have tabs shown in Opera, and I switch between the pages 
quite a lot. However, I don't think I've ever looked at the tabs to 
actually decide how many times to do Ctrl-Left/Right...

This could simply be a matter of me having way to many tabs open at once
of course. Anyway, I think having tabs could be really good, but I'm not
convinced it completely replaces the need for just switching to the
previous buffer.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 christian == christian ridderstrom [EMAIL PROTECTED] writes:

christian If you mean that the buffer list is reordered, I have no
christian idea... I rarely look at it...

Yes, that is what I meant.

christian Anyway, I think having tabs could be really good, but I'm
christian not convinced it completely replaces the need for just
christian switching to the previous buffer.

I agree with you on this point.

JMarc


Re: document switching

2006-04-11 Thread hansel
Notes on emacs.

On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:
 On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:
   christian == christian ridderstrom [EMAIL PROTECTED] writes:
  
Would the solution be that switching to a document brings it to
   the front of the document list? Then the previous one is accessible
   through Ctrl-PageUp.
  
  christian No, I think that'd just be confusing... :-)
  
  Isn't this what emacs does?
 
 Um... Ctrl-PageUp doesn't do that in my Emacs.
 
 If you mean that the buffer list is reordered, I have no idea... I rarely 
 look at it...

Emacs reorders buffers. Easy to verify in several ways.

Cntrl-PgUp/PgDn does not appear useful.  Cntrl-PgDn turns a directory
listing into a column of '-' on the extreme left and the rest of the
document window is blank. Cntrl-PgUp restores the directory. It appears to
work recursively (reflecting lisp roots?) -- that is, it takes the same
number of Cntrl-PgUps to pop up to the original. I see no powerful use on
my first test.

Mark Hansel



Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
 hansel == hansel  [EMAIL PROTECTED] writes:

hansel Emacs reorders buffers. Easy to verify in several ways.

Yes.

hansel Cntrl-PgUp/PgDn does not appear useful. Cntrl-PgDn turns a
hansel directory listing into a column of '-' on the extreme left and
hansel the rest of the document window is blank. 

I do not thin Ctrl-PageUp/Down does anything relevant in emacs. I only
mentionned it in the case of LyX.

JMarc


Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
> "hansel" == hansel  <[EMAIL PROTECTED]> writes:

hansel> On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:
>> > "hansel" == hansel <[EMAIL PROTECTED]> writes:
>> 
hansel> This leaves the general problem unaddressed -- how do I switch
hansel> directly between, say, the 3d and the 11th document loaded?
>>  The 11th is more difficult, but for smaller numbers there is Alt-D
>> 3 / Alt-D 9.

hansel> Emacs bindings, compiled by me with qt frontend, this Alt-D
hansel> ('D' or 'd' with alt key depressed) pulls down the Document
hansel> menu and a number following does nothing.

Oops, sorry, should be Alt-V (which indeed opens the View menu) then
1, 2, 3... switches to the corresponding document.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

> christian> Just in case it wasn't clear, I think he'd like a function
> christian> to that changes the buffer to the previous buffer. Then
> christian> after he's switched, he can use that function again to
> christian> switch back. I know that I would have like this function
> christian> when I was writing a lot in LyX.
> 
> Would the solution be that switching to a document brings it to the
> front of the document list? Then the previous one is accessible
> through Ctrl-PageUp.

No, I think that'd just be confusing... :-)

I think Lars has the right idea, the command buffer-switch should by 
default switch back to the previously opened buffer if it isn't told 
anything else.

> Also adding tabs for the open documents would be very easy and probably
> very helpful too.

True, although tabs is orthogonal to this, isn't it? (i.e. separate 
entry). Personally I don't use tabs that much... sometimes they are useful 
in Opera to rearrange the order just so that switching beteween pages is 
more convenient though.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes:

>>  Would the solution be that switching to a document brings it to
>> the front of the document list? Then the previous one is accessible
>> through Ctrl-PageUp.

christian> No, I think that'd just be confusing... :-)

Isn't this what emacs does?

christian> I think Lars has the right idea, the command buffer-switch
christian> should by default switch back to the previously opened
christian> buffer if it isn't told anything else.

Also, when closing a document, we should not revert to the first open
document. 

>> Also adding tabs for the open documents would be very easy and
>> probably very helpful too.

christian> True, although tabs is orthogonal to this, isn't it? (i.e.
christian> separate entry). Personally I don't use tabs that much...

It would allow to see one screen what the relative position of
documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

JMarc


Re: document switching

2006-04-11 Thread christian . ridderstrom
On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:

> > "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes:
> 
> >>  Would the solution be that switching to a document brings it to
> >> the front of the document list? Then the previous one is accessible
> >> through Ctrl-PageUp.
> 
> christian> No, I think that'd just be confusing... :-)
> 
> Isn't this what emacs does?

Um... Ctrl-PageUp doesn't do that in my Emacs.

If you mean that the buffer list is reordered, I have no idea... I rarely 
look at it...

> christian> I think Lars has the right idea, the command buffer-switch
> christian> should by default switch back to the previously opened
> christian> buffer if it isn't told anything else.
> 
> Also, when closing a document, we should not revert to the first open
> document. 

Good point.

> >> Also adding tabs for the open documents would be very easy and
> >> probably very helpful too.
> 
> christian> True, although tabs is orthogonal to this, isn't it? (i.e.
> christian> separate entry). Personally I don't use tabs that much...
> 
> It would allow to see one screen what the relative position of
> documents is. Therefore you now how many times to do Ctrl-PageUp/Down.

Hmm... maybe. I have tabs shown in Opera, and I switch between the pages 
quite a lot. However, I don't think I've ever looked at the tabs to 
actually decide how many times to do Ctrl-Left/Right...

This could simply be a matter of me having way to many tabs open at once
of course. Anyway, I think having tabs could be really good, but I'm not
convinced it completely replaces the need for just switching to the
previous buffer.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes:

christian> If you mean that the buffer list is reordered, I have no
christian> idea... I rarely look at it...

Yes, that is what I meant.

christian> Anyway, I think having tabs could be really good, but I'm
christian> not convinced it completely replaces the need for just
christian> switching to the previous buffer.

I agree with you on this point.

JMarc


Re: document switching

2006-04-11 Thread hansel
Notes on emacs.

On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:
> On Tue, 11 Apr 2006, Jean-Marc Lasgouttes wrote:
> > > "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes:
> > 
> > >>  Would the solution be that switching to a document brings it to
> > >> the front of the document list? Then the previous one is accessible
> > >> through Ctrl-PageUp.
> > 
> > christian> No, I think that'd just be confusing... :-)
> > 
> > Isn't this what emacs does?
> 
> Um... Ctrl-PageUp doesn't do that in my Emacs.
> 
> If you mean that the buffer list is reordered, I have no idea... I rarely 
> look at it...

Emacs reorders buffers. Easy to verify in several ways.

Cntrl-PgUp/PgDn does not appear useful.  Cntrl-PgDn turns a directory
listing into a column of '-' on the extreme left and the rest of the
document window is blank. Cntrl-PgUp restores the directory. It appears to
work recursively (reflecting lisp roots?) -- that is, it takes the same
number of Cntrl-PgUps to pop up to the original. I see no powerful use on
my first test.

Mark Hansel



Re: document switching

2006-04-11 Thread Jean-Marc Lasgouttes
> "hansel" == hansel  <[EMAIL PROTECTED]> writes:

hansel> Emacs reorders buffers. Easy to verify in several ways.

Yes.

hansel> Cntrl-PgUp/PgDn does not appear useful. Cntrl-PgDn turns a
hansel> directory listing into a column of '-' on the extreme left and
hansel> the rest of the document window is blank. 

I do not thin Ctrl-PageUp/Down does anything relevant in emacs. I only
mentionned it in the case of LyX.

JMarc


Re: document switching

2006-04-10 Thread Jean-Marc Lasgouttes
 Vic == Vic Kelson [EMAIL PROTECTED] writes:

Vic Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
Vic Seems like an intuitive choice...

LyX does the same.

JMarc


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  Vic == Vic Kelson [EMAIL PROTECTED] writes:
 
 Vic Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
 Vic Seems like an intuitive choice...
 
 LyX does the same.

This leaves the general problem unaddressed -- how do I switch directly
between, say, the 3d and the 11th document loaded? For any of a dozen
reasons, I may want many documents open simultaneously, but need to
ping-pong between two documents to get some job done (e.g., properly order
points). Loading documents in the proper order is possible but usually
inconvenient (on long projects, I do make an external file list and use it
[lyx `cat filelist`] to load files -- but not on the odd daily task). I
want to focus on the work, and forget the technology until something
breaks.  Cntrl-PgUp/Dn means monitoring the screen for the right document.  
Something like Alt-3/Alt-11 (Woops, too complex!), something like
Cntrl-C/Cntrl-B that returns me to the last buffer visited works.

I looked for such a function in the bindings list in the customization
bindings appendix and do not find one. Maybe I missed it. This feature
could save many interruptions to users' creative tasks.

Mark Hansel


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  hansel == hansel  [EMAIL PROTECTED] writes:
 
 hansel This leaves the general problem unaddressed -- how do I switch
 hansel directly between, say, the 3d and the 11th document loaded?
 
 The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
 Alt-D 9.

Emacs bindings, compiled by me with qt frontend, this Alt-D ('D' or 'd'
with alt key depressed) pulls down the Document menu and a number
following does nothing.

This still does not allow ping-ponging between arbitrary documents.  
Returning to the last visited buffer would be a welcome new feature.

Mark Hansel


Re: document switching

2006-04-10 Thread christian . ridderstrom
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  hansel == hansel  [EMAIL PROTECTED] writes:
 
 hansel This leaves the general problem unaddressed -- how do I switch
 hansel directly between, say, the 3d and the 11th document loaded?
 
 The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
 Alt-D 9.

Just in case it wasn't clear, I think he'd like a function to that changes
the buffer to the previous buffer. Then after he's switched, he can use 
that function again to switch back. I know that I would have like this 
function when I was writing a lot in LyX.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes:

| Just in case it wasn't clear, I think he'd like a function to that changes
| the buffer to the previous buffer. Then after he's switched, he can use 
| that function again to switch back. I know that I would have like this 
| function when I was writing a lot in LyX.

I even think we had that at some time, but for some reason it was
remvoed.

What I'd like is a feature similar to emacs switch-to-bufffer (C-x b), that
gives a choice of all buffers, but with the default as the last
visited one.

Hmm we already have LFUN_SWITCHBUFFER buffer-switch, but it seems
buggy. I'll have a quick look at it.

-- 
Lgb



Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| Hmm we already have LFUN_SWITCHBUFFER buffer-switch, but it seems
| buggy. I'll have a quick look at it.

Not buggy, but doesn't have the back-and-forth switching ability. We
should enhance it.

-- 
Lgb



Re: document switching

2006-04-10 Thread Jean-Marc Lasgouttes
 Vic == Vic Kelson [EMAIL PROTECTED] writes:

Vic Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
Vic Seems like an intuitive choice...

LyX does the same.

JMarc


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  Vic == Vic Kelson [EMAIL PROTECTED] writes:
 
 Vic Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
 Vic Seems like an intuitive choice...
 
 LyX does the same.

This leaves the general problem unaddressed -- how do I switch directly
between, say, the 3d and the 11th document loaded? For any of a dozen
reasons, I may want many documents open simultaneously, but need to
ping-pong between two documents to get some job done (e.g., properly order
points). Loading documents in the proper order is possible but usually
inconvenient (on long projects, I do make an external file list and use it
[lyx `cat filelist`] to load files -- but not on the odd daily task). I
want to focus on the work, and forget the technology until something
breaks.  Cntrl-PgUp/Dn means monitoring the screen for the right document.  
Something like Alt-3/Alt-11 (Woops, too complex!), something like
Cntrl-C/Cntrl-B that returns me to the last buffer visited works.

I looked for such a function in the bindings list in the customization
bindings appendix and do not find one. Maybe I missed it. This feature
could save many interruptions to users' creative tasks.

Mark Hansel


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  hansel == hansel  [EMAIL PROTECTED] writes:
 
 hansel This leaves the general problem unaddressed -- how do I switch
 hansel directly between, say, the 3d and the 11th document loaded?
 
 The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
 Alt-D 9.

Emacs bindings, compiled by me with qt frontend, this Alt-D ('D' or 'd'
with alt key depressed) pulls down the Document menu and a number
following does nothing.

This still does not allow ping-ponging between arbitrary documents.  
Returning to the last visited buffer would be a welcome new feature.

Mark Hansel


Re: document switching

2006-04-10 Thread christian . ridderstrom
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

  hansel == hansel  [EMAIL PROTECTED] writes:
 
 hansel This leaves the general problem unaddressed -- how do I switch
 hansel directly between, say, the 3d and the 11th document loaded?
 
 The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
 Alt-D 9.

Just in case it wasn't clear, I think he'd like a function to that changes
the buffer to the previous buffer. Then after he's switched, he can use 
that function again to switch back. I know that I would have like this 
function when I was writing a lot in LyX.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes:

| Just in case it wasn't clear, I think he'd like a function to that changes
| the buffer to the previous buffer. Then after he's switched, he can use 
| that function again to switch back. I know that I would have like this 
| function when I was writing a lot in LyX.

I even think we had that at some time, but for some reason it was
remvoed.

What I'd like is a feature similar to emacs switch-to-bufffer (C-x b), that
gives a choice of all buffers, but with the default as the last
visited one.

Hmm we already have LFUN_SWITCHBUFFER buffer-switch, but it seems
buggy. I'll have a quick look at it.

-- 
Lgb



Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| Hmm we already have LFUN_SWITCHBUFFER buffer-switch, but it seems
| buggy. I'll have a quick look at it.

Not buggy, but doesn't have the back-and-forth switching ability. We
should enhance it.

-- 
Lgb



Re: document switching

2006-04-10 Thread Jean-Marc Lasgouttes
> "Vic" == Vic Kelson <[EMAIL PROTECTED]> writes:

Vic> Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
Vic> Seems like an intuitive choice...

LyX does the same.

JMarc


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

> > "Vic" == Vic Kelson <[EMAIL PROTECTED]> writes:
> 
> Vic> Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common?
> Vic> Seems like an intuitive choice...
> 
> LyX does the same.

This leaves the general problem unaddressed -- how do I switch directly
between, say, the 3d and the 11th document loaded? For any of a dozen
reasons, I may want many documents open simultaneously, but need to
ping-pong between two documents to get some job done (e.g., properly order
points). Loading documents in the "proper" order is possible but usually
inconvenient (on long projects, I do make an external file list and use it
[lyx `cat filelist`&] to load files -- but not on the odd daily task). I
want to focus on the work, and forget the technology until something
breaks.  Cntrl-PgUp/Dn means monitoring the screen for the right document.  
Something like Alt-3/Alt-11 (Woops, too complex!), something like
Cntrl-C/Cntrl-B that returns me to the "last buffer visited" works.

I looked for such a function in the bindings list in the customization
bindings appendix and do not find one. Maybe I missed it. This feature
could save many interruptions to users' creative tasks.

Mark Hansel


Re: document switching

2006-04-10 Thread hansel
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

> > "hansel" == hansel  <[EMAIL PROTECTED]> writes:
> 
> hansel> This leaves the general problem unaddressed -- how do I switch
> hansel> directly between, say, the 3d and the 11th document loaded?
> 
> The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
> Alt-D 9.

Emacs bindings, compiled by me with qt frontend, this Alt-D ('D' or 'd'
with alt key depressed) pulls down the Document menu and a number
following does nothing.

This still does not allow ping-ponging between arbitrary documents.  
Returning to the last visited buffer would be a welcome new feature.

Mark Hansel


Re: document switching

2006-04-10 Thread christian . ridderstrom
On Mon, 10 Apr 2006, Jean-Marc Lasgouttes wrote:

> > "hansel" == hansel  <[EMAIL PROTECTED]> writes:
> 
> hansel> This leaves the general problem unaddressed -- how do I switch
> hansel> directly between, say, the 3d and the 11th document loaded?
> 
> The 11th is more difficult, but for smaller numbers there is Alt-D 3 /
> Alt-D 9.

Just in case it wasn't clear, I think he'd like a function to that changes
the buffer to the previous buffer. Then after he's switched, he can use 
that function again to switch back. I know that I would have like this 
function when I was writing a lot in LyX.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes:

| Just in case it wasn't clear, I think he'd like a function to that changes
| the buffer to the previous buffer. Then after he's switched, he can use 
| that function again to switch back. I know that I would have like this 
| function when I was writing a lot in LyX.

I even think we had that at some time, but for some reason it was
remvoed.

What I'd like is a feature similar to emacs switch-to-bufffer (C-x b), that
gives a choice of all buffers, but with the default as the last
visited one.

Hmm we already have LFUN_SWITCHBUFFER "buffer-switch", but it seems
buggy. I'll have a quick look at it.

-- 
Lgb



Re: document switching

2006-04-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:

| Hmm we already have LFUN_SWITCHBUFFER "buffer-switch", but it seems
| buggy. I'll have a quick look at it.

Not buggy, but doesn't have the back-and-forth switching ability. We
should enhance it.

-- 
Lgb



Re: document switching

2006-04-09 Thread christian . ridderstrom
On Sun, 9 Apr 2006, john wrote:

 On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
  Is there a fast way to toggle between 2 open documents in a single
  instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
  tabbed browsing in Firefox or how MS Word used to open several files
  within one instance of the program and there was a cycle command.

  Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
  like an intuitive choice...

 LyX also does this, however this is not so nice when you have 20 open
 documents.


 As I understand The suggestion was that we have a key that behaves much
 like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
 where you started from.

The important thing is to suggest adding a new 'lyx function' (or LFUN) to
which lets you switch back to a previous document. Choosing which key this
is bound to is not such a big issue, because the user can customize this
himself...  Actually, it doesn't even have to be mapped to a key by 
default.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-09 Thread christian . ridderstrom
On Sun, 9 Apr 2006, john wrote:

 On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
  Is there a fast way to toggle between 2 open documents in a single
  instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
  tabbed browsing in Firefox or how MS Word used to open several files
  within one instance of the program and there was a cycle command.

  Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
  like an intuitive choice...

 LyX also does this, however this is not so nice when you have 20 open
 documents.


 As I understand The suggestion was that we have a key that behaves much
 like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
 where you started from.

The important thing is to suggest adding a new 'lyx function' (or LFUN) to
which lets you switch back to a previous document. Choosing which key this
is bound to is not such a big issue, because the user can customize this
himself...  Actually, it doesn't even have to be mapped to a key by 
default.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-09 Thread christian . ridderstrom
On Sun, 9 Apr 2006, john wrote:

> On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
> > >>>Is there a fast way to toggle between 2 open documents in a single
> > >>>instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
> > >>>tabbed browsing in Firefox or how MS Word used to open several files
> > >>>within one instance of the program and there was a cycle command.
>
> > Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
> > like an intuitive choice...

> LyX also does this, however this is not so nice when you have 20 open
> documents.
>

> As I understand The suggestion was that we have a key that behaves much
> like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
> where you started from.

The important thing is to suggest adding a new 'lyx function' (or LFUN) to
which lets you switch back to a previous document. Choosing which key this
is bound to is not such a big issue, because the user can customize this
himself...  Actually, it doesn't even have to be mapped to a key by 
default.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-08 Thread hansel
On Sat, 8 Apr 2006, Nick Kuzmik wrote:

 Is there a fast way to toggle between 2 open documents in a single
 instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
 tabbed browsing in Firefox or how MS Word used to open several files
 within one instance of the program and there was a cycle command.

Or emacs? (^c^b). This has been a source of minor frustration to me as
well. Say I open 10 files (or 3 -- both happen). The last opened appears
at the top of the list (formerly in the document menu, now the view menu).  
If I want to switch between that document and one somewhere in the
middle rapidly, I have to remember the relative location of that file
entry. I want to put all my mental energy into my creative task and forget
the underlying technology as much as possible.

OK, I love the technology (lyx, latex, TeX, Bib management and all the 
manifold layers) and sometimes I have to get it to set something up or 
to fix something that broke (probably because I did something stupid). 
Point is, when I work, I want to forget the technology and attend to the 
writing.

Mark Hansel

  
  I'm looking for something that is less context sensative than ALT-D,
 remember which document I'm in, look at the list, and pick the doc I
 want.


  
 
 Nick Kuzmik
 (845) 406-5115
 AIM NKUZMIK


Re: document switching

2006-04-08 Thread christian . ridderstrom
On Sat, 8 Apr 2006 [EMAIL PROTECTED] wrote:

 On Sat, 8 Apr 2006, Nick Kuzmik wrote:
 
  Is there a fast way to toggle between 2 open documents in a single
  instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
  tabbed browsing in Firefox or how MS Word used to open several files
  within one instance of the program and there was a cycle command.
 
 Or emacs? (^c^b). This has been a source of minor frustration to me as
 well. Say I open 10 files (or 3 -- both happen). The last opened appears
 at the top of the list (formerly in the document menu, now the view menu).  
 If I want to switch between that document and one somewhere in the
 middle rapidly, I have to remember the relative location of that file
 entry. I want to put all my mental energy into my creative task and forget
 the underlying technology as much as possible.
 
 OK, I love the technology (lyx, latex, TeX, Bib management and all the 
 manifold layers) and sometimes I have to get it to set something up or 
 to fix something that broke (probably because I did something stupid). 
 Point is, when I work, I want to forget the technology and attend to the 
 writing.

This sounds like a good suggestion, why don't you add it to bugzilla?

/Christian

PS. You'll find bugzilla at http://bugzilla.lyx.org IIRC

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-08 Thread john
On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
 Is there a fast way to toggle between 2 open documents in a single
 instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
 tabbed browsing in Firefox or how MS Word used to open several files
 within one instance of the program and there was a cycle command.
 Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
 like an intuitive choice...

LyX also does this, however this is not so nice when you have 20 open
documents.

As I understand The suggestion was that we have a key that behaves much
like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
where you started from.

-- 
John C. McCabe-Dansted
Masters Student


Re: document switching

2006-04-08 Thread hansel
On Sat, 8 Apr 2006, Nick Kuzmik wrote:

 Is there a fast way to toggle between 2 open documents in a single
 instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
 tabbed browsing in Firefox or how MS Word used to open several files
 within one instance of the program and there was a cycle command.

Or emacs? (^c^b). This has been a source of minor frustration to me as
well. Say I open 10 files (or 3 -- both happen). The last opened appears
at the top of the list (formerly in the document menu, now the view menu).  
If I want to switch between that document and one somewhere in the
middle rapidly, I have to remember the relative location of that file
entry. I want to put all my mental energy into my creative task and forget
the underlying technology as much as possible.

OK, I love the technology (lyx, latex, TeX, Bib management and all the 
manifold layers) and sometimes I have to get it to set something up or 
to fix something that broke (probably because I did something stupid). 
Point is, when I work, I want to forget the technology and attend to the 
writing.

Mark Hansel

  
  I'm looking for something that is less context sensative than ALT-D,
 remember which document I'm in, look at the list, and pick the doc I
 want.


  
 
 Nick Kuzmik
 (845) 406-5115
 AIM NKUZMIK


Re: document switching

2006-04-08 Thread christian . ridderstrom
On Sat, 8 Apr 2006 [EMAIL PROTECTED] wrote:

 On Sat, 8 Apr 2006, Nick Kuzmik wrote:
 
  Is there a fast way to toggle between 2 open documents in a single
  instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
  tabbed browsing in Firefox or how MS Word used to open several files
  within one instance of the program and there was a cycle command.
 
 Or emacs? (^c^b). This has been a source of minor frustration to me as
 well. Say I open 10 files (or 3 -- both happen). The last opened appears
 at the top of the list (formerly in the document menu, now the view menu).  
 If I want to switch between that document and one somewhere in the
 middle rapidly, I have to remember the relative location of that file
 entry. I want to put all my mental energy into my creative task and forget
 the underlying technology as much as possible.
 
 OK, I love the technology (lyx, latex, TeX, Bib management and all the 
 manifold layers) and sometimes I have to get it to set something up or 
 to fix something that broke (probably because I did something stupid). 
 Point is, when I work, I want to forget the technology and attend to the 
 writing.

This sounds like a good suggestion, why don't you add it to bugzilla?

/Christian

PS. You'll find bugzilla at http://bugzilla.lyx.org IIRC

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-08 Thread john
On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
 Is there a fast way to toggle between 2 open documents in a single
 instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
 tabbed browsing in Firefox or how MS Word used to open several files
 within one instance of the program and there was a cycle command.
 Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
 like an intuitive choice...

LyX also does this, however this is not so nice when you have 20 open
documents.

As I understand The suggestion was that we have a key that behaves much
like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
where you started from.

-- 
John C. McCabe-Dansted
Masters Student


Re: document switching

2006-04-08 Thread hansel
On Sat, 8 Apr 2006, Nick Kuzmik wrote:

> Is there a fast way to toggle between 2 open documents in a single
> instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
> tabbed browsing in Firefox or how MS Word used to open several files
> within one instance of the program and there was a cycle command.

Or emacs? (^c^b). This has been a source of minor frustration to me as
well. Say I open 10 files (or 3 -- both happen). The last opened appears
at the top of the list (formerly in the document menu, now the view menu).  
If I want to switch between that document and one somewhere in the
"middle" rapidly, I have to remember the relative location of that file
entry. I want to put all my mental energy into my creative task and forget
the underlying technology as much as possible.

OK, I love the technology (lyx, latex, TeX, Bib management and all the 
manifold layers) and sometimes I have to "get it" to set something up or 
to fix something that broke (probably because I did something stupid). 
Point is, when I work, I want to forget the technology and attend to the 
writing.

Mark Hansel

>  
>  I'm looking for something that is less context sensative than ALT-D,
> remember which document I'm in, look at the list, and pick the doc I
> want.


>  
> 
> Nick Kuzmik
> (845) 406-5115
> AIM NKUZMIK


Re: document switching

2006-04-08 Thread christian . ridderstrom
On Sat, 8 Apr 2006 [EMAIL PROTECTED] wrote:

> On Sat, 8 Apr 2006, Nick Kuzmik wrote:
> 
> > Is there a fast way to toggle between 2 open documents in a single
> > instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
> > tabbed browsing in Firefox or how MS Word used to open several files
> > within one instance of the program and there was a cycle command.
> 
> Or emacs? (^c^b). This has been a source of minor frustration to me as
> well. Say I open 10 files (or 3 -- both happen). The last opened appears
> at the top of the list (formerly in the document menu, now the view menu).  
> If I want to switch between that document and one somewhere in the
> "middle" rapidly, I have to remember the relative location of that file
> entry. I want to put all my mental energy into my creative task and forget
> the underlying technology as much as possible.
> 
> OK, I love the technology (lyx, latex, TeX, Bib management and all the 
> manifold layers) and sometimes I have to "get it" to set something up or 
> to fix something that broke (probably because I did something stupid). 
> Point is, when I work, I want to forget the technology and attend to the 
> writing.

This sounds like a good suggestion, why don't you add it to bugzilla?

/Christian

PS. You'll find bugzilla at http://bugzilla.lyx.org IIRC

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: document switching

2006-04-08 Thread john
On Sun, Apr 09, 2006 at 12:39:02AM -0400, Vic Kelson wrote:
> >>>Is there a fast way to toggle between 2 open documents in a single
> >>>instance of Lyx.  I'm thinking of something analagous to CTRL-TAB for
> >>>tabbed browsing in Firefox or how MS Word used to open several files
> >>>within one instance of the program and there was a cycle command.
> Firefox uses ctrl-pgup /ctrl-pgdn to switch tabs. Is that common? Seems 
> like an intuitive choice...

LyX also does this, however this is not so nice when you have 20 open
documents.

As I understand The suggestion was that we have a key that behaves much
like Alt-Tab does on windows. I.e. if you tap Alt-Tab twice you go back
where you started from.

-- 
John C. McCabe-Dansted
Masters Student