From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: Noob dumb question (extending emacs) Date: Mon, 25 Oct 2021 08:31:49 +0300 Message-ID: References: <87o87hnrpt.fsf@zoho.eu> <87y26kkuag.fsf@web.de> <87lf2izs3d.fsf@zoho.eu> <87bl3exole.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7882"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 07:37:17 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 1mesfd-0001t2-37 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 07:37:17 +0200 Original-Received: from localhost ([::1]:54396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mesfb-00053A-W3 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 01:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meseG-00040R-Td for help-gnu-emacs@gnu.org; Mon, 25 Oct 2021 01:35:53 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:54129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meseB-0006AD-Qa for help-gnu-emacs@gnu.org; Mon, 25 Oct 2021 01:35:52 -0400 Original-Received: from localhost ([::ffff:41.75.189.151]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000027F05.0000000061764230.00007D96; Sun, 24 Oct 2021 22:35:43 -0700 Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87bl3exole.fsf@zoho.eu> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:134135 Archived-At: * Emanuel Berg via Users list for the GNU Emacs text editor [2021-10-24 21:33]: > Jean Louis wrote: > > > `pwgen' is system command > > pwgen is a program. OS is program, Emacs is program, programs run within programs. `pwgen' is not Emacs, I hope we can agree on it. It is external program that is easily replacable in Emacs. Emacs Lisp within Emacs is environment for itself, it is not Bash nor Mate or Gnome desktop environment. Many Emacs users decide to dwell within Emacs environment, some may run Window Manager by using Emacs. Using Emacs as PID 1 seem to be possible too. And how I see it, Emacs developers try to avoid where possible using external commands, call it programs. For example I can copy or rename files within Emacs Dired without recourse to /usr/bin/cp or /usr/bin/mv, I believe it runs straight from Emacs. Mass of other functionality is integrated in Emacs. By principle we integrate features into Emacs. Picture viewer is integrated into Emacs, though for me it is often too slow. I like using M-x sxiv with external program. But when possible I don't use external programs. > Also it will take advantages of further improvements to pwgen > or possible forks or other such programs with no or very small > adjustments ... > > > If then Emacs Lisp programs run on different systems, I like > > if they don't depend on too many external commands > > Indeed must be used to benefit the user ... > > > especially one as simple as password generation. > > But not simple enough for you do to it at the level of the CLI > command ... Before I was using `pwgen' in Bash and storing passwords in appendable only file ~/.passwords and now I store it in the database by using Emacs Lisp. Thus `pwgen' is redundant. > > I cannot write `ffmpeg' so I convert videos by using Emacs > > Lisp on remote computers calling external `ffmpeg'. > > But you cannot write a pwgen either - or at least, you > haven't yet ... so what's the difference? Emacs image viewer is not `sxiv' or "Eye of Gnome" but still fulfils the purpose to view images. The function `rcd-password' fulfils the purpose of `pwgen' to generate passwords for me. https://gnu.support/gnu-emacs/packages/rcd-password-el.html -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/