anchor.diff:      ChannelNum < ChannelsLength ->
         {Channel, _, _} = lists:nth (ChannelNum+1, Channels),
         ok = channel:activate (Channel),
  +      old_channel_load_idle_position (State#state.active_channel, Channel),
  +
         {ok, State#state{active_channel=Channel}};
  +
       ChannelNum >= ChannelsLength ->
         {error, no_such_channel} end.
   
  
positive.code:     _ ->
        db_channel_transactions:save (Channel, ActionId) end.
  
  % vim:set et sw=2 sts=2:
  
negative.code: activate_slot (Channel, Slot, State) ->
    ok = channel:load (Channel, Slot),
    ok = channel:activate (Channel),
    old_channel_load_idle_position (State#state.active_channel, Channel),
  
    {ok, State#state{active_channel=Channel}}.
  
  