On Fri, Nov 28, 2003 at 03:12:28PM +0000, Angus Leeming wrote:
> On Friday 28 November 2003 3:04 pm, Andre Poenitz wrote:
> > > Copy the buffer from the 'set-mark' point to the current cursor
> > > position. (M-w in emacs shortcut notation.)
> >
> > Is there just a single one of these buffers?
> 
> It appears so, yes. At least trying to set the mark in two views of the same 
> buffer causes the mark set in the first view to be unset.
> 
> > > Thus I could type:
> > > C-S-@
> > > Esc->
> > > M-w
> > >
> > > to copy all text from the current cursor position to the end of the
> > > document.
> >
> > Sounds like what 'vG' or 'vG$' would do in vim...
> >
> > In any case, this marking setting business seems to be unrelated to
> > selection as such. If so, it should not be implemented there.
> 
> Well, it marks the starting point for any future selection...

I question the utility of this feature.

First, I have to mark the beginning of the potential selection. With the
same effort I could start a real selection.

Second, the feature could be implemented on top of real marks. I.e. in
vim I'd use

  ma     (set mark 'a')
  G      (go to end of doc)
  v      (select ...
  'a      ... to mark 'a')

General marks _are_ useful, but in LyX I'd probably implement them as
invisible or barely visible insets, not as part of the selection
mechanism...

Andre'

Reply via email to