From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#39823: 26.3; update-directory-autoloads regression from Emacs 26 to Emacs 27 Date: Sun, 19 Apr 2020 08:19:06 -0400 Message-ID: <868sir8y85.fsf@gmail.com> References: <87zhd2lpad.fsf@gmail.com> <87o8t16q5e.fsf@gmail.com> <87y2rz4tgb.fsf@gmail.com> <87blo2k4wp.fsf@gmail.com> <83369eqyij.fsf@gnu.org> <87wo6qhqvd.fsf@gmail.com> <835ze9pzfq.fsf@gnu.org> <87mu78jhgz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90796"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 39823@debbugs.gnu.org, rms@gnu.org To: Maxim Cournoyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 19 14:20:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQ8vi-000NVw-Ml for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 14:20:10 +0200 Original-Received: from localhost ([::1]:41322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ8vh-0004ru-PY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 08:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59602) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ8vc-0004rm-5o for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 08:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQ8va-0006xI-Ps for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 08:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQ8va-0006u8-Cd for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 08:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQ8vZ-0004bj-Un for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 08:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Apr 2020 12:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39823 X-GNU-PR-Package: emacs Original-Received: via spool by 39823-submit@debbugs.gnu.org id=B39823.158729875617656 (code B ref 39823); Sun, 19 Apr 2020 12:20:01 +0000 Original-Received: (at 39823) by debbugs.gnu.org; 19 Apr 2020 12:19:16 +0000 Original-Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQ8up-0004ah-Nk for submit@debbugs.gnu.org; Sun, 19 Apr 2020 08:19:15 -0400 Original-Received: from mail-qt1-f179.google.com ([209.85.160.179]:43699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQ8un-0004aT-BF for 39823@debbugs.gnu.org; Sun, 19 Apr 2020 08:19:14 -0400 Original-Received: by mail-qt1-f179.google.com with SMTP id z90so6091192qtd.10 for <39823@debbugs.gnu.org>; Sun, 19 Apr 2020 05:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HzelMBZrD5BTONiZJi+oUbY2DoMbGspwKY3J4Q5D8rM=; b=ty5ZE9NbRiAXQs2LRnpZKR2FgiaxekN032o0sfi4SjXMWBR54pmr/k8Y9ScoP1pn7I qn8okWodh5kKrRMHge8Y1POA1sC/LuCOvPLcvFmImqprhNFxgcajrA/sD7Cl0QywD3fX afRy2JktfkA+S34Hti5lckZ7+513GeO6v6Vv6ERbiXRZ/iCg/rjUVQlAQVrPc8WxGvES rFKNt306WF23pZyDgclCRVevdTOmf5Lb7xMteIS5sPYRCqotVz8CdquRZCYVkBEyCh85 Qf18fbrSxGyNxAeimraHu+WxXfuqjQ3vVbNqrNVbbYSe4B+gX96ofpKu4s1sH+t8iG8U +iKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HzelMBZrD5BTONiZJi+oUbY2DoMbGspwKY3J4Q5D8rM=; b=m+zLtDJ9uEPk0OhHmyx8rEEbOHWDmyMnSiqMySMUKcvRhSyXj9jKLfm1pdg5Z+87XQ VP7EuY9kb7nPa6NHKtLeYJe0OdLTCLVQ4FD6p3/jaQvnvYj9qmcOdg/ZK8y3kjuwNnZf GwbI6TSgm/ffWwUggHVrTGsUR/SA7ZN60/IQA74ES1wxRVfY1+ky/oeX5FAf4+pAs6qe zHJ6pYqYxxAagVwjc4tVU/MvDSWaTa3SZQi6mobAx9d7oX4AbdDFJf8c/RX0Msahl8t+ 4atQcA1dBtlm5MLkvLVAKg9BBYOnJLNtJy7t2w01QBpg0PGLQ1hZUQDhScl5873RGnKw 2NRg== X-Gm-Message-State: AGi0PubWtyPun5cmX5kwnKeiQ0q8w2ISLbmfJ2+8GHCJxszlek6swFVO YiXTT3lktYfx33rRbeseveo= X-Google-Smtp-Source: APiQypJRE3fWPZlM6m1Xr9KD4YRcCySTIvG3Nt807ZtSnmewrVKt06UT6akSQy+Yf/XBy0KUKXRNOA== X-Received: by 2002:ac8:3808:: with SMTP id q8mr11648468qtb.245.1587298747423; Sun, 19 Apr 2020 05:19:07 -0700 (PDT) Original-Received: from LAPTOP-5NDQIUP9 (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id h2sm6827241qkh.91.2020.04.19.05.19.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Apr 2020 05:19:07 -0700 (PDT) In-Reply-To: <87mu78jhgz.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 18 Apr 2020 23:13:16 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178630 Archived-At: Maxim Cournoyer writes: > (defun update-directory-autoloads (&rest dirs) > > I don't see how &key can be combined with &rest without potentially > causing problems. You can check if the first arg is a keyword like :generated-autoload-file (which can't be a directory, since it's not a string), and if it is, then handle the second arg specially.