From unknown Sat Sep 13 11:12:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13625 <13625@debbugs.gnu.org> To: bug#13625 <13625@debbugs.gnu.org> Subject: Status: 24.1; Enable 'package-menu-execute being non-interactive Reply-To: bug#13625 <13625@debbugs.gnu.org> Date: Sat, 13 Sep 2025 18:12:09 +0000 retitle 13625 24.1; Enable 'package-menu-execute being non-interactive reassign 13625 emacs submitter 13625 Yves Baumes severity 13625 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 19:19:39 2013 Received: (at submit) by debbugs.gnu.org; 4 Feb 2013 00:19:40 +0000 Received: from localhost ([127.0.0.1]:34688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U29md-0008K7-Ip for submit@debbugs.gnu.org; Sun, 03 Feb 2013 19:19:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33083) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U29mb-0008K0-DT for submit@debbugs.gnu.org; Sun, 03 Feb 2013 19:19:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U29lY-00061w-R9 for submit@debbugs.gnu.org; Sun, 03 Feb 2013 19:18:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:49307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U29lY-00061s-Nx for submit@debbugs.gnu.org; Sun, 03 Feb 2013 19:18:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U29lV-0005qM-0e for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 19:18:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U29lS-00061I-DJ for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 19:18:28 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:59432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U29lS-000619-6G for bug-gnu-emacs@gnu.org; Sun, 03 Feb 2013 19:18:26 -0500 Received: by mail-wg0-f46.google.com with SMTP id fg15so4205350wgb.1 for ; Sun, 03 Feb 2013 16:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=5Xdkj+7jJxMiFPZ79BIBx2pDu9gqMu0sXMJI4IDeDq0=; b=cArxjPANdj5vGHpQEwZFFFsEI97GEAUWPStRSD40wIqCf0EBl6h03HqH8tp9GO2Top u53dFQ4+CpGHcSyDyY3yJWXBNpGCGHjx7F76RyZ8IdceyXdYdTGxei59JD1XhoT/miyk 1Zk9aMrlXkFwSgbOS8w1Y+fdFemA6EC/v4hqi43RjYQ/Axvf98S6tnHLWxDnGzAcnLCz 3OK04gJOLHkI9Ag3Tq68hqAyUcMM0hfS6YVlGft5XoT0fYMA5utotkUZcAN0GrqsQh3A 2q3YKVWjWDTNqoiUFMEzvfKNsrMFfop4hOuXU/8jD6BNFXYC7UKll4HTUTZzsaU3bc64 R8nA== X-Received: by 10.180.90.147 with SMTP id bw19mr7351151wib.28.1359935353089; Sun, 03 Feb 2013 15:49:13 -0800 (PST) Received: from mac-mini-de-yves-baumes.local.localhost (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id j9sm10481909wia.5.2013.02.03.15.49.11 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 03 Feb 2013 15:49:12 -0800 (PST) From: Yves Baumes To: bug-gnu-emacs@gnu.org Subject: 24.1; Enable 'package-menu-execute being non-interactive Date: Mon, 04 Feb 2013 00:49:08 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Hi, I was trying to make a little program to upgrade automatically my packages archives. Basically something looking like that: (progn (list-packages) (with-current-buffer "*Packages*" (package-menu-mark-upgrades) (package-menu-execute) (kill-buffer))) The 'package-menu-execute implementation relies on the user to, interactively, answer yes-or-no to a question asking him to confirm he wants to upgrade the packages needing an upgrade. Well, from my point of view the implementation must be silent when called non interactively. And proceed with the packages upgrades. Here is a modification that I made that suit my needs: (defun package-menu-execute () ... (when install-list (if (or (not (called-interactively-p 'any)) (yes-or-no-p ... ;; Delete packages, prompting if necessary. (when delete-list (if (or (not (called-interactively-p 'any)) (yes-or-no-p ... Then, first, I am a newbie in Emacs Lisp modifications. Secondly, the changelog suggests that package.el has not been modified for a while ago. Since I could not believe I would be the first needing that modification in five years, I guess that I maybe wrong somewhere, and that there must be an easier way to perform what I am trying to do. Then my question is basically what is a correct behavior according to you and is my "solution" acceptable? Regards Yves From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 03 22:41:31 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 03:41:31 +0000 Received: from localhost ([127.0.0.1]:34761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2CvS-0004hf-UF for submit@debbugs.gnu.org; Sun, 03 Feb 2013 22:41:30 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:8836) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2CvG-0004hL-Op for 13625@debbugs.gnu.org; Sun, 03 Feb 2013 22:40:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGJegOSHIFegxU X-IPAS-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGJegOSHIFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="359859" Received: from 69-165-153-237.dsl.teksavvy.com (HELO ceviche.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Feb 2013 22:39:43 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 0E6BE66109; Sun, 3 Feb 2013 22:39:43 -0500 (EST) From: Stefan Monnier To: Yves Baumes Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Message-ID: References: Date: Sun, 03 Feb 2013 22:39:43 -0500 In-Reply-To: (Yves Baumes's message of "Mon, 04 Feb 2013 00:49:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Well, from my point of view the implementation must be silent when > called non interactively. As a general rule, I tend to agree. > Here is a modification that I made that suit my needs: > (defun package-menu-execute () > ... > (when install-list > (if (or > (not (called-interactively-p 'any)) > (yes-or-no-p > ... > ;; Delete packages, prompting if necessary. > (when delete-list > (if (or > (not (called-interactively-p 'any)) > (yes-or-no-p > ... Better would be to move those questions to the `interactive' spec, so you don't even need called-interactively-p. But you'd also want to check if there are callers of this function that would need to be adjusted. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 04 06:19:40 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 11:19:40 +0000 Received: from localhost ([127.0.0.1]:35250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2K5L-0000dJ-PY for submit@debbugs.gnu.org; Mon, 04 Feb 2013 06:19:40 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:36891) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2K5J-0000dC-Kt for 13625@debbugs.gnu.org; Mon, 04 Feb 2013 06:19:38 -0500 Received: by mail-we0-f172.google.com with SMTP id x10so4829226wey.17 for <13625@debbugs.gnu.org>; Mon, 04 Feb 2013 03:18:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=mNeqcIy0rigIrnCPTRiGRuMw1W2BOP3CeMT2gUG0RP0=; b=cfkC9iTQTdU1aHxx4ruFFORb6Mtd85Nc2UBqVRYUw7wdPiah71tvdgRqYzeD4CrQBr robVoBWiGVQKD9GLCNMl1bL2CcECPFWYW7EBzgYCao7VEya8WipomxrUQEaHYadyESI/ Adzc8D57NFP9VNref8ecLzRbanNu0ou4//grIuQH7C3mhIjb9LjH5s223evwsJKaNwUo YiTwwXd/AIXAaEtbpW0NNq0LyV5G4+Xv0eirUfXn9nDVQXOxjTrqZe6GQL1ojajJ8jfm Dx6/kCv6zb6o/PX4soT1lbt9Ym1U900Geupbrg/W5cyYTWVrSiQBIz+LlLw6s6fMgcQ/ zrXw== X-Received: by 10.180.80.35 with SMTP id o3mr9776603wix.9.1359976712505; Mon, 04 Feb 2013 03:18:32 -0800 (PST) Received: from [192.168.0.1] (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id be1sm20873214wib.10.2013.02.04.03.18.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 03:18:31 -0800 (PST) Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=iso-8859-1 From: Yves Baumes In-Reply-To: Date: Mon, 4 Feb 2013 12:18:29 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Stefan Monnier X-Mailer: Apple Mail (2.1085) X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Le 4 f=E9vr. 2013 =E0 04:39, Stefan Monnier a =E9crit : > Better would be to move those questions to the `interactive' spec, so > you don't even need called-interactively-p. Ok. I've read the Emacs Lisp Reference manual. As you told, they say an = alternative to `called-interactively-p' is possible with `interactive'. = Note sure if I understand it all with this example: (defun test (&optional print-msg) (interactive "p") (if print-msg (message "IS INTERACTIVE") (message "IS *NOT* INTERACTIVE"))) So, if I understand it all, it would imply to add an extra argument to = the `package-menu-execute' function, right? To me it sounds weird, but = then it may be an usual idiom in Emacs Lisp I am not used to. If so just = confirm me please :-). > But you'd also want to check if there are callers of this function = that > would need to be adjusted. >=20 I've checked inside the package.el file. And this function is never = called. It is only defined, and referenced (when building the keymap).=20= As a side note: I didn't checked in other Elpa/Marmalade/etc packages. I = guess it doesn't make sense to try to research potential callers = everywhere in the world. I don't even know if there is a simple way to = do that. I am checking right now the emacs savannah homepage for contribution. = How to checkout the latest bazzar code and what to provide along the = patch. I will try to find an issue in the bug tracker corrrectly = formatted. I keep you in touch :-) Regards Yves =20 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 04 10:14:56 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 15:14:56 +0000 Received: from localhost ([127.0.0.1]:36130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2Nl1-0008DH-Md for submit@debbugs.gnu.org; Mon, 04 Feb 2013 10:14:55 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45856) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2Nl0-0008DC-UZ for 13625@debbugs.gnu.org; Mon, 04 Feb 2013 10:14:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGJegOSHIFegxU X-IPAS-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGJegOSHIFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="392040" Received: from 69-165-153-237.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Feb 2013 10:13:49 -0500 Received: by pastel.home (Postfix, from userid 20848) id 01076590CF; Mon, 4 Feb 2013 10:13:48 -0500 (EST) From: Stefan Monnier To: Yves Baumes Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Message-ID: References: Date: Mon, 04 Feb 2013 10:13:48 -0500 In-Reply-To: (Yves Baumes's message of "Mon, 4 Feb 2013 12:18:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) >> Better would be to move those questions to the `interactive' spec, so >> you don't even need called-interactively-p. > Ok. I've read the Emacs Lisp Reference manual. As you told, they say > an alternative to `called-interactively-p' is possible with > `interactive'. Note sure if I understand it all with this example: > (defun test (&optional print-msg) > (interactive "p") > (if print-msg > (message "IS INTERACTIVE") > (message "IS *NOT* INTERACTIVE"))) That's one option: it doesn't move the questions to the interactive spec, but it removes the use of called-interactively-p. What I was suggesting was more like: (defun test () (interactive (if (yes-or-no-p ...) ... ...))) but I see that it's probably not applicable to package-menu-execute. Maybe the best option here is to add an optional `dont-query' argument. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 04 13:00:37 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 18:00:38 +0000 Received: from localhost ([127.0.0.1]:36286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2QLM-0003fc-6o for submit@debbugs.gnu.org; Mon, 04 Feb 2013 13:00:37 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:49771) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2QLI-0003fS-Dw for 13625@debbugs.gnu.org; Mon, 04 Feb 2013 13:00:34 -0500 Received: by mail-wg0-f54.google.com with SMTP id fm10so5070424wgb.9 for <13625@debbugs.gnu.org>; Mon, 04 Feb 2013 09:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:message-id:references:to:x-mailer; bh=8cNBVdceMwPZVLDiTvdl1OKEUEC/yQUJdqtN+KvBzq0=; b=wSNaR1XA/hBIXChC1HSnCTalAMiyzpKjOV+eyRpigk3Cz0smkA0BBBs6tTi7pe72F6 5By1lbfzCHq+v0Rr4l164ViLODnYoOga6vpP/Cremoj2TmzuS5NAhu0g0pPlgVd63ngP 4kwSqdpsLAU23D4oky8VXXldKP9W5FsCYScbQHUuNmS5F57aBp1NHxsO4ttfFW7Nqdc7 EDiWYki/4lbd7sUJcmJ0rdoh6UZSia0GTE+IHEueTO7i2O/5mvNOiXHejnvUtyZrSRtq FTf1lN+7ZGHCtrHGNtFtZt/6P65ZZvaF/1tlTYEwd7Nmu8Sj7N3Yt0hgtypHybCUz6PX RFDg== X-Received: by 10.194.71.244 with SMTP id y20mr36883327wju.19.1360000765767; Mon, 04 Feb 2013 09:59:25 -0800 (PST) Received: from [192.168.0.1] (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id cu7sm5061217wib.8.2013.02.04.09.59.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 09:59:24 -0800 (PST) Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: multipart/alternative; boundary=Apple-Mail-6--558526602 From: Yves Baumes In-Reply-To: Date: Mon, 4 Feb 2013 18:59:22 +0100 Message-Id: <9FBE5450-EBAD-4826-80F8-8B28ACBE326D@gmail.com> References: To: Stefan Monnier X-Mailer: Apple Mail (2.1085) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --Apple-Mail-6--558526602 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Le 4 f=E9vr. 2013 =E0 16:13, Stefan Monnier a =E9crit : > Maybe the best option here is to add an optional `dont-query' = argument. I've fiddled around a little bit, so tell me if my reasoning is ok. I've found that whatever you do, an interactive call provide a numeric value of '1'. Reading the Emacs Lisp Reference Manual, I didn't find a way to negate the boolean value with `interactive'. As a = matter of fact I would suggest that `dont-query' must not be a good name since = its value would be 'true' when the function is called interactively while we want = the user to be queried in that case. I made my modification with `prompt-user' as a parameter name. One could think as another alternative, such as `query-user'. Would it be more appropriate? I can't tell which one sounds better = actually. I am not fluent in english.. :-/ So here is the diff: =3D=3D=3D modified file 'lisp/emacs-lisp/package.el' --- lisp/emacs-lisp/package.el 2013-01-01 09:11:05 +0000 +++ lisp/emacs-lisp/package.el 2013-02-04 17:17:41 +0000 @@ -1588,11 +1588,11 @@ (length upgrades) (if (=3D (length upgrades) 1) "" "s"))))) =20 -(defun package-menu-execute () +(defun package-menu-execute (&optional prompt-user) "Perform marked Package Menu actions. Packages marked for installation are downloaded and installed; packages marked for deletion are removed." - (interactive) + (interactive "p") (unless (derived-mode-p 'package-menu-mode) (error "The current buffer is not in Package Menu mode")) (let (install-list delete-list cmd id) @@ -1611,26 +1611,30 @@ (push (car id) install-list)))) (forward-line))) (when install-list - (if (yes-or-no-p - (if (=3D (length install-list) 1) - (format "Install package `%s'? " (car install-list)) - (format "Install these %d packages (%s)? " - (length install-list) - (mapconcat 'symbol-name install-list ", ")))) + (if (or + (not prompt-user) + (yes-or-no-p + (if (=3D (length install-list) 1) + (format "Install package `%s'? " (car install-list)) + (format "Install these %d packages (%s)? " + (length install-list) + (mapconcat 'symbol-name install-list ", "))))) (mapc 'package-install install-list))) ;; Delete packages, prompting if necessary. (when delete-list - (if (yes-or-no-p - (if (=3D (length delete-list) 1) - (format "Delete package `%s-%s'? " - (caar delete-list) - (cdr (car delete-list))) - (format "Delete these %d packages (%s)? " - (length delete-list) - (mapconcat (lambda (elt) - (concat (car elt) "-" (cdr elt))) - delete-list - ", ")))) + (if (or + (not prompt-user) + (yes-or-no-p + (if (=3D (length delete-list) 1) + (format "Delete package `%s-%s'? " + (caar delete-list) + (cdr (car delete-list))) + (format "Delete these %d packages (%s)? " + (length delete-list) + (mapconcat (lambda (elt) + (concat (car elt) "-" (cdr elt))) + delete-list + ", "))))) (dolist (elt delete-list) (condition-case-unless-debug err (package-delete (car elt) (cdr elt)) The new code in this patch negates the `prompt-user' value since we want = to apply the changes when the user is not prompted *or* in the case he must = be prompted then he must reply 'yes'. Maybe a good Changelog line could be: "* emacs-lisp/package.el(package-menu-execute): Don't prompt for the = user when `package-menu-execute' is called non-interactively." Tell me if I forget something, or if something is wrong for you. Regards Yves --Apple-Mail-6--558526602 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Maybe the = best option here is to add an optional `dont-query' = argument.

I've fiddled around a little = bit, so tell me if my reasoning is ok.
I've found that = whatever you do, an interactive call provide a
numeric = value of '1'. Reading the Emacs Lisp Reference Manual,
I = didn't find a way to negate the boolean value with `interactive'. As a = matter
of fact I would suggest that `dont-query' must not be a = good name since its value
would be 'true' when the function is = called interactively while we want the user
to be queried in = that case.

I made my modification with = `prompt-user' as a parameter name.
One could think as another = alternative, such as `query-user'.
Would it be more = appropriate? I can't tell which one sounds better = actually.
I am not fluent in english.. = :-/

So here is the = diff:

=3D=3D=3D modified file = 'lisp/emacs-lisp/package.el'
--- = lisp/emacs-lisp/package.el 2013-01-01 09:11:05 = +0000
+++ lisp/emacs-lisp/package.el = 2013-02-04 17:17:41 +0000
@@ -1588,11 +1588,11 = @@
        (length = upgrades)
        (if (=3D = (length upgrades) 1) "" "s")))))
 
-(defun = package-menu-execute ()
+(defun package-menu-execute = (&optional prompt-user)
   "Perform marked = Package Menu actions.
 Packages marked for installation = are downloaded and installed;
 packages marked for = deletion are removed."
-  (interactive)
+ =  (interactive "p")
   (unless (derived-mode-p = 'package-menu-mode)
     (error "The current = buffer is not in Package Menu mode"))
   (let = (install-list delete-list cmd id)
@@ -1611,26 +1611,30 = @@
  (push (car id) = install-list))))
  (forward-line)))
  =    (when install-list
-      (if = (yes-or-no-p
-   (if (=3D (length = install-list) 1)
-       (format = "Install package `%s'? " (car install-list))
-   =   (format "Install these %d packages (%s)? "
- =     (length install-list)
- =     (mapconcat 'symbol-name install-list ", "))))
+ =      (if (or
+         =   (not prompt-user)
+           = (yes-or-no-p
+            (if (=3D= (length install-list) 1)
+           =      (format "Install package `%s'? " (car = install-list))
+             =  (format "Install these %d packages (%s)? "
+   =                   =  (length install-list)
+         =              (mapconcat 'symbol-name = install-list ", ")))))
   (mapc 'package-install = install-list)))
     ;; Delete packages, = prompting if necessary.
     (when = delete-list
-      (if = (yes-or-no-p
-   (if (=3D (length = delete-list) 1)
-       (format = "Delete package `%s-%s'? "
-       = (caar delete-list)
-       = (cdr (car delete-list)))
-     (format "Delete = these %d packages (%s)? "
-     (length = delete-list)
-     (mapconcat = (lambda (elt)
- =  (concat (car elt) "-" (cdr elt)))
- = delete-list
- ", = "))))
+      (if (or
+     =       (not prompt-user)
+       =     (yes-or-no-p
+         =    (if (=3D (length delete-list) 1)
+     =            (format "Delete package = `%s-%s'? "
+               =          (caar delete-list)
+   =                     =  (cdr (car delete-list)))
+         =      (format "Delete these %d packages (%s)? = "
+                 =      (length delete-list)
+     =                  (mapconcat = (lambda (elt)
+             =                     =   (concat (car elt) "-" (cdr elt)))
+     =                     =         delete-list
+       =                     =       ", ")))))
  =  (dolist (elt delete-list)
    =  (condition-case-unless-debug err
  = (package-delete (car elt) (cdr = elt))


The new code in this = patch negates the `prompt-user' value since we want to
apply = the changes when the user is not prompted *or* in the case he must = be
prompted then he must reply = 'yes'.

Maybe a good Changelog line could = be:
"* emacs-lisp/package.el(package-menu-execute): Don't = prompt for the user when `package-menu-execute' is called = non-interactively."

Tell me if I forget = something, or if something is wrong for = you.

Regards
Yves

<= div>



= --Apple-Mail-6--558526602-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 04 14:46:05 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 19:46:05 +0000 Received: from localhost ([127.0.0.1]:36371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2RzR-000678-7N for submit@debbugs.gnu.org; Mon, 04 Feb 2013 14:46:05 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:49508) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2RzO-00066R-LY for 13625@debbugs.gnu.org; Mon, 04 Feb 2013 14:46:03 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtjQ2DfQOIYYl6A5IcgV6DFYFI X-IPAS-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtjQ2DfQOIYYl6A5IcgV6DFYFI X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="425758" Received: from 69-165-153-237.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Feb 2013 14:44:55 -0500 Received: by pastel.home (Postfix, from userid 20848) id 6481A590D7; Mon, 4 Feb 2013 14:44:54 -0500 (EST) From: Stefan Monnier To: Yves Baumes Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Message-ID: References: <9FBE5450-EBAD-4826-80F8-8B28ACBE326D@gmail.com> Date: Mon, 04 Feb 2013 14:44:54 -0500 In-Reply-To: <9FBE5450-EBAD-4826-80F8-8B28ACBE326D@gmail.com> (Yves Baumes's message of "Mon, 4 Feb 2013 18:59:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.5 (/) > I've found that whatever you do, an interactive call provide a numeric > value of '1'. Reading the Emacs Lisp Reference Manual, I didn't find > a way to negate the boolean value with `interactive'. But since it's an optional parameter, you can just not provide it, in which case it defaults to nil. > -(defun package-menu-execute () > +(defun package-menu-execute (&optional prompt-user) ^^^^^^^^^^^ dont-query > "Perform marked Package Menu actions. > Packages marked for installation are downloaded and installed; > packages marked for deletion are removed." > - (interactive) > + (interactive "p") Leave it as (interactive) which will not provide any argument, so dont-query will be nil for interactive calls. And for your own calls, you can pass a non-nil argument. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 04 17:10:56 2013 Received: (at 13625) by debbugs.gnu.org; 4 Feb 2013 22:10:56 +0000 Received: from localhost ([127.0.0.1]:36473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2UFb-0002nC-II for submit@debbugs.gnu.org; Mon, 04 Feb 2013 17:10:56 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:41741) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2UFX-0002n3-Mk for 13625@debbugs.gnu.org; Mon, 04 Feb 2013 17:10:53 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so5031685wgd.28 for <13625@debbugs.gnu.org>; Mon, 04 Feb 2013 14:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=U7ELW/55p0yyVLlIZo8eZvarAeyl4cHXpODxok+gAFg=; b=ZsbPwVgQ1KCLASE+S6ZoktEHyed2bo1xOAapok2KsT7RGaPe6LEL6ulUJht3fsWkTC RRSp3DaKHbNxweshGIs14AsLbSHYwI++JCV5vkLpj+n3B5LyWabmhlEJ66Cd3BS3B1tE mK/W0Lxq3w3+ZdiccKZFWCbCzjteuqngiX37URcTOxg7mWG3kXf6Fp+xMSGDvpLldj2L fNoBLIBNOBDJ47k2OtBQJw1ZN5unbOCOvk5uPsUO00AOImjMLz9okodlGt3d/GssjGcE TpZhgd/irSc5Fpkv7DUXZibOITWGzWrITJVxwqDlrhH7DvQ+Rf+pBDV5u109PypEQ5RA Gw9A== X-Received: by 10.180.77.68 with SMTP id q4mr13191101wiw.10.1360015784117; Mon, 04 Feb 2013 14:09:44 -0800 (PST) Received: from [192.168.0.1] (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id ex1sm2672419wib.7.2013.02.04.14.09.41 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 14:09:43 -0800 (PST) Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=iso-8859-1 From: Yves Baumes In-Reply-To: Date: Mon, 4 Feb 2013 23:09:40 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <56555090-C9B7-471F-BD74-1A85CBEA34D7@gmail.com> References: <9FBE5450-EBAD-4826-80F8-8B28ACBE326D@gmail.com> To: Stefan Monnier X-Mailer: Apple Mail (2.1085) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 13625 Cc: 13625@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Ok! I was stuck, with the `interactive' ... Then here is the revised = diff: =3D=3D=3D modified file 'lisp/emacs-lisp/package.el' = =20 --- lisp/emacs-lisp/package.el 2013-01-01 09:11:05 +0000 = =20 +++ lisp/emacs-lisp/package.el 2013-02-04 21:49:41 +0000 @@ -1588,7 +1588,7 @@ (length upgrades) (if (=3D (length upgrades) 1) "" "s"))))) =20 -(defun package-menu-execute () +(defun package-menu-execute (&optional dont-query) "Perform marked Package Menu actions. Packages marked for installation are downloaded and installed; packages marked for deletion are removed." @@ -1611,26 +1611,30 @@ (push (car id) install-list)))) (forward-line))) (when install-list - (if (yes-or-no-p - (if (=3D (length install-list) 1) - (format "Install package `%s'? " (car install-list)) - (format "Install these %d packages (%s)? " - (length install-list) - (mapconcat 'symbol-name install-list ", ")))) + (if (or + dont-query + (yes-or-no-p + (if (=3D (length install-list) 1) + (format "Install package `%s'? " (car install-list)) + (format "Install these %d packages (%s)? " + (length install-list) + (mapconcat 'symbol-name install-list ", "))))) (mapc 'package-install install-list))) ;; Delete packages, prompting if necessary. (when delete-list - (if (yes-or-no-p - (if (=3D (length delete-list) 1) - (format "Delete package `%s-%s'? " - (caar delete-list) - (cdr (car delete-list))) - (format "Delete these %d packages (%s)? " - (length delete-list) - (mapconcat (lambda (elt) - (concat (car elt) "-" (cdr elt))) - delete-list - ", ")))) + (if (or + dont-query + (yes-or-no-p + (if (=3D (length delete-list) 1) + (format "Delete package `%s-%s'? " + (caar delete-list) + (cdr (car delete-list))) + (format "Delete these %d packages (%s)? " + (length delete-list) + (mapconcat (lambda (elt) + (concat (car elt) "-" (cdr elt))) + delete-list + ", "))))) (dolist (elt delete-list) (condition-case-unless-debug err (package-delete (car elt) (cdr elt)) As you wrote in previous emails, every possible call to `package-menu-execute' remains compatible as is. And I just needed to add a `t' parameter in my script. Just perfect. :-) Regards Yves Le 4 f=E9vr. 2013 =E0 20:44, Stefan Monnier a =E9crit : >> I've found that whatever you do, an interactive call provide a = numeric >> value of '1'. Reading the Emacs Lisp Reference Manual, I didn't find >> a way to negate the boolean value with `interactive'. >=20 > But since it's an optional parameter, you can just not provide it, in > which case it defaults to nil. >=20 >> -(defun package-menu-execute () >> +(defun package-menu-execute (&optional prompt-user) > ^^^^^^^^^^^ > dont-query >=20 >> "Perform marked Package Menu actions. >> Packages marked for installation are downloaded and installed; >> packages marked for deletion are removed." >> - (interactive) >> + (interactive "p") >=20 > Leave it as (interactive) which will not provide any argument, so > dont-query will be nil for interactive calls. And for your own calls, > you can pass a non-nil argument. >=20 >=20 > Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 05 11:39:53 2013 Received: (at 13625) by debbugs.gnu.org; 5 Feb 2013 16:39:53 +0000 Received: from localhost ([127.0.0.1]:38113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lYn-0004er-1J for submit@debbugs.gnu.org; Tue, 05 Feb 2013 11:39:53 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:49547) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U2lYk-0004ej-OD for 13625@debbugs.gnu.org; Tue, 05 Feb 2013 11:39:52 -0500 Received: by mail-wi0-f178.google.com with SMTP id o1so456716wic.17 for <13625@debbugs.gnu.org>; Tue, 05 Feb 2013 08:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:mime-version :content-type; bh=nYKto636ny5NENOWruJB5CxfyGDZrHI1h0KNg7/a/Pw=; b=gjen+7gIdtHvw8jinf3m1HCiMBX+OKh4CxQdV9jsZ4CXFUR5wvwTvDsD054u64qdal bG1RgMugSa6SWGCA1IclMFo22DVxUA0D2iLuAbLPy+XzYzgjkmnEBImjakalN9BgLgoW 3mHgxpJQi6dqMSPcgdEowc1G9DjwRrzuin6RLqNNl5HjcfzGdJOsK90Wa8+Q8dOSWWpm epSPU6tfPR7dxUbV9tEcZyYRDXlxvJzi3Jm2tRpMdgliP8Vw68Qt6T+QHitLcN4sPtWs hIeAfH40xo7K5V4Pa3UZ7/+KUGv/xk10S8NyFO6J5VtrHeXwME9muf6OTBe++HPFqORg OAVg== X-Received: by 10.180.96.194 with SMTP id du2mr18487337wib.19.1360082318582; Tue, 05 Feb 2013 08:38:38 -0800 (PST) Received: from mac-mini-de-yves-baumes.local.localhost (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id ex1sm7276030wib.7.2013.02.05.08.38.37 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 08:38:37 -0800 (PST) From: Yves Baumes To: 13625@debbugs.gnu.org Subject: =?utf-8?Q?R=C3=A9p?= : bug#13625: 24.1; Enable 'package-menu-execute being non-interactive Date: Tue, 05 Feb 2013 17:38:34 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 13625 Cc: Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=bug_16325.txt Content-Transfer-Encoding: quoted-printable Content-Description: Bzr bundle for the bug#16325. # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: ybaumes@gmail.com-20130205153237-82xdt2b5f4i85bv2 # target_branch: bzr://bzr.savannah.gnu.org/emacs/trunk/ # testament_sha1: 509b0f8920808cc725a441fb32877e16e6ec513f # timestamp: 2013-02-05 16:34:09 +0100 # source_branch: bzr://bzr.savannah.gnu.org/emacs/trunk # base_revision_id: jan.h.d@swipnet.se-20130205122155-exqwhauamc0k0y1a #=20 # Begin patch =3D=3D=3D modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2013-02-05 12:16:35 +0000 +++ lisp/ChangeLog 2013-02-05 15:32:37 +0000 @@ -1,3 +1,8 @@ +2013-02-05 Yves Baumes + + * lisp/emacs-lisp/package.el (package-menu-execute): Don't query + for the user input when called non-interactively (bug#13625). + 2013-02-05 Jan Dj=C3=A4rv =20 * cus-start.el (all): Add ns-use-native-fullscreen. =3D=3D=3D modified file 'lisp/emacs-lisp/package.el' --- lisp/emacs-lisp/package.el 2013-01-01 09:11:05 +0000 +++ lisp/emacs-lisp/package.el 2013-02-05 15:32:37 +0000 @@ -1588,7 +1588,7 @@ (length upgrades) (if (=3D (length upgrades) 1) "" "s"))))) =20 -(defun package-menu-execute () +(defun package-menu-execute (&optional dont-query) "Perform marked Package Menu actions. Packages marked for installation are downloaded and installed; packages marked for deletion are removed." @@ -1611,26 +1611,30 @@ (push (car id) install-list)))) (forward-line))) (when install-list - (if (yes-or-no-p - (if (=3D (length install-list) 1) - (format "Install package `%s'? " (car install-list)) - (format "Install these %d packages (%s)? " - (length install-list) - (mapconcat 'symbol-name install-list ", ")))) + (if (or + dont-query + (yes-or-no-p + (if (=3D (length install-list) 1) + (format "Install package `%s'? " (car install-list)) + (format "Install these %d packages (%s)? " + (length install-list) + (mapconcat 'symbol-name install-list ", "))))) (mapc 'package-install install-list))) ;; Delete packages, prompting if necessary. (when delete-list - (if (yes-or-no-p - (if (=3D (length delete-list) 1) - (format "Delete package `%s-%s'? " - (caar delete-list) - (cdr (car delete-list))) - (format "Delete these %d packages (%s)? " - (length delete-list) - (mapconcat (lambda (elt) - (concat (car elt) "-" (cdr elt))) - delete-list - ", ")))) + (if (or + dont-query + (yes-or-no-p + (if (=3D (length delete-list) 1) + (format "Delete package `%s-%s'? " + (caar delete-list) + (cdr (car delete-list))) + (format "Delete these %d packages (%s)? " + (length delete-list) + (mapconcat (lambda (elt) + (concat (car elt) "-" (cdr elt))) + delete-list + ", "))))) (dolist (elt delete-list) (condition-case-unless-debug err (package-delete (car elt) (cdr elt)) # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWVO9iMYAAuR/gDD0FALb9//3 3iQAIP////BQBd5ytjWgaU0UAAQklNFMZR5TI2jTRPTKekxHqNAAABoBzAEYJiAYBME0ZDQwCYIx MJTUaUYU2oPQhkAA0GCAGg0ABzAEYJiAYBME0ZDQwCYIxMJJATQIZMiaZMg01MmintU/SmATBPUb KYFoE19fHbwg8lMd+/YHZy5U77T+j+S0OoYZvoxXqLHKhDnqQnnO4ezaIxfOghA5CPpX6BzLrmD8 xrBDMVlctQ76o4iyexYM11MkC+M4TRn0THKL1ogsivQIRdKUVq22ykLhaM9xLUQ5d91ncewQ6S6S IzWKQImQyUiMmIFgfPSciX89uyMSmVF/huCIs4GAnIFOfsEtYesTNkTJZeGGSCWMxDmVJIQZDhKG N8nTzcTJ5MyY3jCTF4564E7JPrKDGchSPxB9AOPMC9yZcNLFxOoZMNFk7pzPMJHqUW20z6OrEVh8 Y2ovCgWbzLEGjdM0SSL/Xe/HaPNtgMw94OEqiod0iC1kpRCL3Aq5kh47gTJPCQUMRbEw8LOJsLTV AkyHgbVlpjbzUPfMOOliQSKJSjeGWibn4OqgJUC37i5cAiZG695aBWsUyP6ZzYBrsxIuyqF/EFo2 57ZdMalJsRHft/Zeec5SMPCsZC3RCIldqqTtLKwjIDXGEyEpjPM564I0naBE4GnM4ddYFtcbdF+E dIyFpmOC8CpVvyYyLI2gQWOgxJxIhYDFjEwg8jrobddRBcNSRZVfa9zTtIWrGO9EAkwG7EeJS+kc CC46JgV6bsSsD/weIPXeXl5cOQwsiOe6H2O2+RrqHYtqH1xkasohZUQHtcgvM5DiUSQ4gP3RdVIJ 7Km3Bu3WStTnFJMWwJ9cvgOUW76qp0ZoXoF9pPaEFTlMRXXJIffombK6eWvnoJVnQbY+5UZtY6Nj ReF705wNJoKaJTZu9bT2PCm9mM0zchser9h2B+xTzETClzMwyVo+KWgPAUNrDGcVSYo6HCyU67jT 6z7/FgYatsBs37FxN5xEYTQ4qEY89YrzH4qKh/YUyVDyomwSeD0yguhzBax2GADzyie4+ALYSK9T dfgNMD4BUBAonzTot0jKFOkcTZYMeevE5gWxYIvTwtAfDKUX8GXf4FvWSOOoPTsKA900aQqfbVo/ TaENS+Y+RX9gNH+etwYnT0PI7nnQk4kDIkBIaGjj6c84c5MehcbYNazrLRkX8zBa4nQ66gkNxfWi Ghumvv4zRXXm1Ps8ay4jcKqCc0GjCShYoEwTqgiyZE7ar0otOGuHvHCOdw46gvSvR7CuRGYbeRyO R7G8+fafH3DgU3HPuPVoK0PG0nevofE7jZ+DvAGPI6X/DtGGuSKMhjtcS9REA3hl7wbmL/rj7KJe 4cYJMV8AO4s7vxQ0sg81qEcBQNlx2IveKhTdpjiilA9yPFJeMCI+YZckyFrxRmYzHJg38RDwrRBw VaoigOCCXvlrNaRWlix2TRRi0CTDl2CLDQlV5MKaoCw0GuyUFCwlFEQaAwTvN71GKHeYOeqgmpkD aHv/seEqJhwyZkmXDiUDV9cj23JHyKVDIeru5UPr1FxcckOSyctUDgLdDMKj1OLM83sMG4mq8At3 /L0qlmKXo6zUM3spGd6bgOHg5DI63pWd9FLwuqSze+B8ouBmYYX3o7BwzCJ7nL0DMuwZWmxDFQYV wFRkGsTpi+Acz87zIBxePXgMDUCgWgT7oHUE0qpjDIfoibAr8gcFedmk24l6K1FmYMcDUw9Vp+e1 G5d0QTV6C4uVJgeoTuLV9jNFpcrTMvCwIloeoFSREwWYyONZjMmMGoymcuaiO+qI/8XckU4UJBTv YjGA --=-=-= Content-Type: text/plain Attached is a bzr bundle for the modifications. Regards Yves --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 00:02:02 2013 Received: (at 13625-done) by debbugs.gnu.org; 13 Feb 2013 05:02:02 +0000 Received: from localhost ([127.0.0.1]:53044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5UTp-0007hw-LH for submit@debbugs.gnu.org; Wed, 13 Feb 2013 00:02:02 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:59949) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5UTm-0007hV-O3 for 13625-done@debbugs.gnu.org; Wed, 13 Feb 2013 00:01:59 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U5UTG-0003Yr-Fk; Wed, 13 Feb 2013 00:01:26 -0500 From: Glenn Morris To: 13625-done@debbugs.gnu.org Subject: Re: bug#13625: 24.1; Enable 'package-menu-execute being non-interactive References: X-Spook: Lon Horiuchi militia radar RSA BCCI rail gun doctrine X-Ran: 8]4p34@DCfa.0_J0&62|W.}QA%ODD{y# X-Hue: white X-Attribution: GM Date: Wed, 13 Feb 2013 00:01:26 -0500 In-Reply-To: (Yves Baumes's message of "Tue, 05 Feb 2013 17:38:34 +0100") Message-ID: <9ozjz8vmc9.fsf_-_@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 13625-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Version: 24.4 Thanks; applied. From unknown Sat Sep 13 11:12:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Mar 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator