From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 10 16:50:11 2024 Received: (at submit) by debbugs.gnu.org; 10 Mar 2024 20:50:11 +0000 Received: from localhost ([127.0.0.1]:38068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjQ7W-0004iM-P2 for submit@debbugs.gnu.org; Sun, 10 Mar 2024 16:50:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:43988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjQ7U-0004iC-Qk for submit@debbugs.gnu.org; Sun, 10 Mar 2024 16:50:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjQ6w-0001Bc-Vq for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 16:49:34 -0400 Received: from gavdos.tim-landscheidt.de ([2a01:4f8:1c0c:4bd6::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjQ6v-0000Gk-5V for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 16:49:34 -0400 Received: from [146.0.225.174] (port=40784 helo=vagabond) by gavdos.tim-landscheidt.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rjQ6o-00F6L4-1Y for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 20:49:26 +0000 From: Tim Landscheidt To: bug-gnu-emacs@gnu.org Subject: RFE: Order of package-selected-packages should be persistent/predictable Organization: https://www.tim-landscheidt.de/ Date: Sun, 10 Mar 2024 20:49:25 +0000 Message-ID: <87bk7lu816.fsf@vagabond.tim-landscheidt.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a01:4f8:1c0c:4bd6::1; envelope-from=tim@tim-landscheidt.de; helo=gavdos.tim-landscheidt.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Severity: wishlist Currently, the order of the elements of package-selected-packages is depending on when which package command was executed. If one tracks ~/.emacs in a version- ing system, additions/removals of a single package can therefore be hard to decipher. It would be nice if the order was persistent/predictable. Sorting the elements lexicographically (string<) by their symbols' names would be sufficient.