From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Noob dumb question (extending emacs) Date: Sun, 24 Oct 2021 20:20:31 +0200 Message-ID: <87fssqxp1s.fsf@zoho.eu> References: <87o87hnrpt.fsf@zoho.eu> <875ytnzka1.fsf@zoho.eu> <87h7d6zrx9.fsf@zoho.eu> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11304"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:NOFmwst/ns8yje9Ldf+nu6vq8kw= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 20:21:35 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 1mei7i-0002iA-Sl for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 20:21:34 +0200 Original-Received: from localhost ([::1]:42270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mei7h-0007XF-47 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 14:21:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mei6s-0007Vh-Jn for help-gnu-emacs@gnu.org; Sun, 24 Oct 2021 14:20:43 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:60586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mei6p-00016T-UK for help-gnu-emacs@gnu.org; Sun, 24 Oct 2021 14:20:42 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mei6n-0001Yt-HX for help-gnu-emacs@gnu.org; Sun, 24 Oct 2021 20:20:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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.23 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:134123 Archived-At: Jean Louis wrote: >>> So the right way is something you know it should exist, >>> because of scientists talking about it, but it is not out >>> there in real world? >> >> $ apt-get source pwgen > > I like to avoid external commands when necessary. In case of > pwgen it is not necessary when Emacs and Perl and other > programming languages may easily serve the purpose. Yes, commands that are run very often and have no security implications one can maybe be cool with a downgrade for that reason, but commands that are used seldom and have security implications, nope, that should be at the level of the CLI alternative _or_ one should simply use the CLI alternative. Note that you can still use your (or any other) Elisp interface ... I think this is much more the practical approach BTW! 1. the practical and skilled approach: use the CLI tool; a quick fix but at the top level anyway 2. the skilled and scientific and practical approach: rewire Elisp to be at that same level (practical as in doing it, but also as in sharing it in the FOSS world) 3. other approach: write it in ELisp, and after a nontrivial effort the outcome will still not be as good as the CLI tool ? -- underground experts united https://dataswamp.org/~incal