X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=WMVF72E987g/KD7is39i6KI3m3iQd5N1FSfeMcU54lM=; b=cxny3UU+CxqulIYwp09DW1mNM0aRnmhyLcxE0iqQ4RbAjM+ZR3SkKLnY5kIuBs3PX+ WXF2rcUuWGiiwCOY/XTUNFJLxU5VHF+jXDmjwV3dgGZ7jmVxdfblrvCHsQKCjvJLy4hX JTXWVOTYcCt4Ey35/c4Vd8J7OcnesRtTRYwPFzy47FR6vjUJpVtPXn63cY9dE396Qjvs 7CuVZyQs+u0JSPyOhl8RzrKRRK5rpGdbwUL8jcpL1YBodL21I4mZffQEj+6n7ZqSTDhs j5muCWANDXFL37sElMmNiBcOGcvAt9FtZXgHPbXNyjOE9E5ylB0t5TsAhR0L3qp9NOil L0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WMVF72E987g/KD7is39i6KI3m3iQd5N1FSfeMcU54lM=; b=fWQZSEflontNSr+LaUafp0eLBVvR5hdbS4rAFwU4hiuEMtaNa9CPOfjuENjmMJgkfx I4Zs41JrL9v8p64NNE/K3R5d7Jl70gyaoJwkNWPKKhU2K9ZDTIMN977Bqvs9ZKAcdGWN nCzV8UVHCZgzPBgsl4fDvBZ8SVLYg1kvqey+O11mnnnUCu4PYWohHxHQjtDdFYuqLk+2 jqrstlbAArMDfk/e1oUat/04bECo93RJ+dIVmDb9kN4Ql3UDVLlHqeaJHRoHkIw23kia 0GT9sKeka4uTWS9NabSgGWcMjuN1cr6iUS+vXq/1wVIuYTYE0ELikKdg8LmZ+1ds40Dj GHRg== X-Gm-Message-State: AHYfb5g/Pg/I+F+nIwqWO3FcLOtj13kKk26upAAYk5x9SFyppDghWiEu otWogJwMubZeHWC1 X-Received: by 10.46.80.87 with SMTP id v23mr9817165ljd.156.1502774936061; Mon, 14 Aug 2017 22:28:56 -0700 (PDT) Date: Tue, 15 Aug 2017 07:28:51 +0200 From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] [pcb] mainline: redundant attributes: bug or feature? Message-Id: <20170815072851.cd3656b5676b6a1371d4d887@gmail.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I suspect my thoughts were this: the user API should require/expect > unique keys (hence get-by-value) but the low level stuff should be able > to preserve (erroneous) redundant keys when loading/saving a *.pcb file. > Making load/store git friendly is a goal in pcb. Attribute with same name added several times may in sort of be interpreted as a list of values. In gschem it is possible to add several attributes with same name but it never make sense and it's not possible to know for sure which value is used.