[PATCH 1/2] Save all dive computer nicknames - whether used or not

Dirk Hohndel dirk at hohndel.org
Thu Jan 24 14:49:19 PST 2013

Linus Torvalds <torvalds at linux-foundation.org> writes:

> On Thu, Jan 24, 2013 at 2:35 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>> What's the logic? If you have more than one on the command line, there's
>> no default name. But if you have one or none or open a file from the
>> menu then there is a default name and if you import others then they get
>> added to that file, correct?
> I'd suggest just having a counter of "files open". Which would be
> cleared by ^N (New), and incremented by any file open (whether on the
> command line of with ^O).

^O always closes the current file so it always guarantees that there is
just one file open.

^I adds more files but since that is Import I think we should still keep
the first name as the default name we save to, agreed?

So the only case this really changes is if we have more than one name on
the command line...



More information about the subsurface mailing list