[Conkeror] universal-negate

John J Foerch jjfoerch at earthlink.net
Thu Sep 25 07:48:12 PDT 2008


I want to put the following question out there:

  Is there any real need for the existence of the universal-negate
command?

Discuss.  :)

Here are a few points to consider:

 * For every command that accepts a negative numeric prefix, there is
   already a corresponding "opposite" command.

 * If we wanted to bind the number keys to numeric-prefix in
   content_buffer_normal_keymap, the "-" key could not be bound because
   it would conflict with zoom.

 * In emacs, there are a few commands that give special meaning to
   negative prefix arg, apart from its value as a simple integer.
   Conkeror does not need this kind of hack because it has a richer
   system for prefix commands.

 * It would be one less thing to document, and one less `if' statement
   in all the commands that accept a numeric prefix.

I don't care deeply about this issue, but I think it may be a worthwhile
simplification, in that we would not really lose anything of value by
declaring that numeric prefixes are whole numbers instead of integers.

-- 
John Foerch



More information about the Conkeror mailing list