Re: [patch] move Selection

2004-01-15 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: On Wed, 14 Jan 2004, Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as

Re: [patch] move Selection

2004-01-15 Thread Christian Ridderström
On Thu, 15 Jan 2004, Andre Poenitz wrote: On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: On Wed, 14 Jan 2004, Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some

Re: [patch] move Selection

2004-01-15 Thread Andre Poenitz
On Thu, Jan 15, 2004 at 10:38:59AM +0100, Christian Ridderström wrote: I am more concerned about implementation. Not having a 'native' LFUN_WORD_LEFT_SELECT does not mean we can't have an 'word-left-select' 'alias'. I was actually trying to agree with you... ;-) That's notoriously hard.

Re: [patch] move Selection

2004-01-15 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: > On Wed, 14 Jan 2004, Andre Poenitz wrote: > > > > > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > > > > and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' > > > > combo should

Re: [patch] move Selection

2004-01-15 Thread Christian Ridderström
On Thu, 15 Jan 2004, Andre Poenitz wrote: > On Wed, Jan 14, 2004 at 08:38:01PM +0100, Christian Ridderström wrote: > > On Wed, 14 Jan 2004, Andre Poenitz wrote: > > > > > > > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > > > > > and 'word-left-select' as separate LFUNs.

Re: [patch] move Selection

2004-01-15 Thread Andre Poenitz
On Thu, Jan 15, 2004 at 10:38:59AM +0100, Christian Ridderström wrote: > > I am more concerned about implementation. Not having a 'native' > > LFUN_WORD_LEFT_SELECT does not mean we can't have an > > 'word-left-select' 'alias'. > > > I was actually trying to agree with you... ;-) That's

[patch] move Selection

2004-01-14 Thread Andre Poenitz
this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) ?

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Andre' As I understand it set() and mark() are equivalent in a cut, copy, paste sense (same data is placed in the selection buffer.) However,

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 11:53:54AM +, Angus Leeming wrote: Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Andre' As I understand it set() and mark() are equivalent in a cut,

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Don't worry about it, it's a flag that says that the anchor should not be cleaned. It's for an alternative selection method: you set the flag on and

Re: [patch] move Selection

2004-01-14 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | On Wed, Jan 14, 2004 at 11:53:54AM +, Angus Leeming wrote: Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Andre' As I understand it

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 12:55:33PM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Don't worry about it, it's a flag that says that the anchor should not be

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: Is anybody out there using this method? Not me. Well, it's different from what mathed does, so it might be an obstacle for IU. It's not different, it's an aditional (different) feature. I don't think it would be difficult to add it to mathed. Alfredo

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik Bjønnes wrote: I think you can think of hte mark as a place anchor here Emacs has a very nice selection mode (C-space), if possible we should have that as well. (after C-space is pressed I can used any cursorm movement command and the

Re: [patch] move Selection

2004-01-14 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | On Wed, Jan 14, 2004 at 12:55:33PM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Don't worry about it, it's a flag

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 01:03:44PM +0100, Lars Gullik Bjønnes wrote: Certainly. It is one of the nicest way of selecting after all... (with keyboard only.) Ok, now that I know that this is C-V in vim I recognize that I am using this all the time myself. Was was, however not aware that this

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as well... Then cull the redundant one. -- Angus

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik Bjnnes wrote: I think you can think of hte mark as a place anchor here Emacs has a very nice selection mode (C-space), if possible we should have that as well. (after C-space is pressed I can used any cursorm

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as well... | Then cull the

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 01:14:21PM +0100, Alfredo Braunstein wrote: Andre Poenitz wrote: On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik Bjønnes wrote: I think you can think of hte mark as a place anchor here Emacs has a very nice selection mode (C-space), if possible we should

[patch] move selection-related stuff

2004-01-14 Thread Andre Poenitz
Nothing fancy. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) ? 1.diff ? 2.diff ? 3.diff ? fullredraw.diff ? par-row.diff ? qfont_loader.tar.bz2 ? search.diff ?

Re: [patch] move Selection

2004-01-14 Thread Christian Ridderström
On Wed, 14 Jan 2004, Andre Poenitz wrote: Btw, I always found it a bit stange to have both (e.g.) 'word-left' and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' combo should have done as well... It saves some typing in command sequences. But that how the

[patch] move Selection

2004-01-14 Thread Andre Poenitz
this moves the Selection struct from LyXText to BufferView (and I have still no clue what this 'mark' flag is good for...) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) ?

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Andre Poenitz wrote: > > this moves the Selection struct from LyXText to BufferView > (and I have still no clue what this 'mark' flag is good for...) > > Andre' > As I understand it set() and mark() are equivalent in a cut, copy, paste sense (same data is placed in the selection buffer.)

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 11:53:54AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > > > > this moves the Selection struct from LyXText to BufferView > > (and I have still no clue what this 'mark' flag is good for...) > > > > Andre' > > > > As I understand it set() and mark() are

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: > this moves the Selection struct from LyXText to BufferView > (and I have still no clue what this 'mark' flag is good for...) Don't worry about it, it's a flag that says that the anchor should not be cleaned. It's for an alternative selection method: you set the flag on and

Re: [patch] move Selection

2004-01-14 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jan 14, 2004 at 11:53:54AM +, Angus Leeming wrote: >> Andre Poenitz wrote: >> >> > >> > this moves the Selection struct from LyXText to BufferView >> > (and I have still no clue what this 'mark' flag is good for...) >> > >> > Andre' >> >

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 12:55:33PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > this moves the Selection struct from LyXText to BufferView > > (and I have still no clue what this 'mark' flag is good for...) > > Don't worry about it, it's a flag that says that the anchor should

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: > Is anybody out there using this method? Not me. > Well, it's different from what mathed does, so it might be an obstacle > for IU. It's not different, it's an aditional (different) feature. I don't think it would be difficult to add it to mathed. Alfredo

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik Bjønnes wrote: > I think you can think of hte mark as a "place anchor here" > > Emacs has a very nice "selection mode" (C-), if possible we > should have that as well. (after C- is pressed I can used any > cursorm movement command and the

Re: [patch] move Selection

2004-01-14 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jan 14, 2004 at 12:55:33PM +0100, Alfredo Braunstein wrote: >> Andre Poenitz wrote: >> >> > this moves the Selection struct from LyXText to BufferView >> > (and I have still no clue what this 'mark' flag is good for...) >> >> Don't worry about

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 01:03:44PM +0100, Lars Gullik Bjønnes wrote: > Certainly. It is one of the nicest way of selecting after all... (with > keyboard only.) Ok, now that I know that this is C-V in vim I recognize that I am using this all the time myself. Was was, however not aware that this

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Andre Poenitz wrote: > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > and 'word-left-select' as separate LFUNs. Some 'selection-on, > word-left' combo should have done as well... Then cull the redundant one. -- Angus

Re: [patch] move Selection

2004-01-14 Thread Alfredo Braunstein
Andre Poenitz wrote: > On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik BjÃnnes wrote: >> I think you can think of hte mark as a "place anchor here" >> >> Emacs has a very nice "selection mode" (C-), if possible we >> should have that as well. (after C- is pressed I can used any >> cursorm

Re: [patch] move Selection

2004-01-14 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Andre Poenitz wrote: >>> Btw, I always found it a bit stange to have both (e.g.) >>> 'word-left' and 'word-left-select' as separate LFUNs. Some >>> 'selection-on, word-left' combo should have done as well... >> > | Then

Re: [patch] move Selection

2004-01-14 Thread Andre Poenitz
On Wed, Jan 14, 2004 at 01:14:21PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > On Wed, Jan 14, 2004 at 12:58:17PM +0100, Lars Gullik Bjønnes wrote: > >> I think you can think of hte mark as a "place anchor here" > >> > >> Emacs has a very nice "selection mode" (C-), if possible

[patch] move selection-related stuff

2004-01-14 Thread Andre Poenitz
Nothing fancy. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) ? 1.diff ? 2.diff ? 3.diff ? fullredraw.diff ? par-row.diff ? qfont_loader.tar.bz2 ? search.diff ?

Re: [patch] move Selection

2004-01-14 Thread Christian Ridderström
On Wed, 14 Jan 2004, Andre Poenitz wrote: > > > Btw, I always found it a bit stange to have both (e.g.) 'word-left' > > > and 'word-left-select' as separate LFUNs. Some 'selection-on, word-left' > > > combo should have done as well... > > It saves some typing in command sequences. > > But that