From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Delete multiple repositories programmatically from elisp by supplying `y' as the answer to an interactively called function. Date: Wed, 8 Dec 2021 11:45:34 +0800 Message-ID: References: <87sfv4l50b.fsf@gmail.com> <877dcfzt12.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10903"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 08 04:46:43 2021 Return-path: Envelope-to: geh-help-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 1munul-0002fE-3s for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 04:46:43 +0100 Original-Received: from localhost ([::1]:59350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1munuj-0004aW-ND for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 07 Dec 2021 22:46:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muntr-0004YV-UE for help-gnu-emacs@gnu.org; Tue, 07 Dec 2021 22:45:47 -0500 Original-Received: from [2607:f8b0:4864:20::930] (port=40608 helo=mail-ua1-x930.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muntq-0002w3-Ao for help-gnu-emacs@gnu.org; Tue, 07 Dec 2021 22:45:47 -0500 Original-Received: by mail-ua1-x930.google.com with SMTP id y5so2392991ual.7 for ; Tue, 07 Dec 2021 19:45:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=j559jtsgc1Uxd3IFGhpGA7XGUCYjgWIz+qGsA33vGPg=; b=Knf7zlcVnMvT9grkBoGPXwl/CG1lJb7IXHiqQjmPNI+OsCP89kDC9Zd3HdTrXewL6H j6D+2eXY+snvjACsZgQWgZZVEt/ncNVXwAAzWbL3Soj7T/Kg0D0nV4zOYMXsYdTnXp1k TSKMPJnyP6mYf1BvpftO+ox7/niyiIJz9sHfcdrFwwp5sNP447upNPhocZVhelhIRQ7F OpnJDcy4hibmJKsZ9CaCXYTwJnftJhl6kMUi2gz1jolnLhjvGY869zDPdyyIpN4ifnP/ ZRiEKw5d29vjydPveRfBxViZVvz9Dt2T9pW7xZS+Hlc0bp/U/ZfcFElF9YKriXMUH6Z4 guYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=j559jtsgc1Uxd3IFGhpGA7XGUCYjgWIz+qGsA33vGPg=; b=dsczjc9/o1DpLMXS3JeBd3SoV7wlXDKCmZgBqSquGSwFA54K6/cFfn1g0DndkoAWpn d7MrqvuV6QBzjpmEU8NVTZErbIhasswC/NERfsywUuW0b95H0/GwXKoULlsEQm/ihj6+ z9Hm9v9WTMc7JpqMwgkIUQLUcn/2slv4WrkGZwMDvceQbcWWOEJ8bOpUGTjrTOjn2+V6 Rc8P+Rsb8tGEoN+UsKji6ctXjH0l+dUE7EWhhJSE7nbh25DcfpFVbU9xE+p7ASATCORc uBMi6sROMc3tkypAyxYG1ZQA4i0n4Yqj7/klJhfWU806oYAyYvsmbYUNKzxkAokQGWFe MV1A== X-Gm-Message-State: AOAM531A1jBJidvy98GJuwYHx/5h1ZjmQeED/EyoK+V8Mx+nVMvm2X5n NhkdnomvQErAFS64vlz3BwYmLoDtDsfbzpMWfFE= X-Google-Smtp-Source: ABdhPJzvNXV2hJAKFw64bFDIMBTNNd6hCNhZKrcz4Tf2f4Sdc0+5oqYl0huTfcIyGLZdwb6ypFULuOmXL8bSIdLImK8= X-Received: by 2002:a67:33d1:: with SMTP id z200mr50130225vsz.1.1638935145421; Tue, 07 Dec 2021 19:45:45 -0800 (PST) In-Reply-To: <877dcfzt12.fsf@zoho.eu> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::930 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::930; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x930.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134880 Archived-At: On Wed, Dec 8, 2021 at 11:15 AM Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Hongyi Zhao wrote: > > > You can pass the universal argument to the command and force > > will be non-nil. > > > > And if you wish to use the command in an elisp program you > > can just pass the force argument you desire: > > > > (straight-remove-unused-repos 'force) > > Told you so ... > > Just > > (straight-remove-unused-repos t) Yes. Anything non-nil will do the trick. HZ