Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes:

> When in an *tla-version* buffer I would expect it to add a
> bookmark to the version that is under the cursor.

Same goes for most commands in those buffers. 

We've all  been too lazy  to implement this,  but we'd like to  have a
context  menu for,  say,  right-click on  a  revision, with  a set  of
actions applying to  this revision, and a global menu  (I mean, a menu
in the menu bar, for that buffer) with actions applying to the version
in the  current buffer. Same  off course for the  branches, categories
and archives buffers. 

I'm talking about menus because this illustrates well the problem, but
off  course,  there  should  be different  functions,  with  different
keybindings for buffer-global functions  and for functions applying to
the thing at point. 

Masatake suggested a prefix `.'  for functions applying to the current
location. We  didn't implement  it because there  was not yet  so much
functions to bind  in the same buffer, but I think  it's time to adopt
it. 

So :

. b => set a bookmark here (the location of the current buffer)
  b => set a bookmark for the thing at point

And in the same schema,

. > => get the latest revision/version of the current buffer
  > => get the revision/version at point

... 

-- 
Matthieu

Reply via email to