From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tadeus Prastowo Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: modularity, code for yourself and possibly others Date: Thu, 4 Apr 2019 10:10:43 +0200 Message-ID: References: <86wokiqznt.fsf@zoho.eu> <86wokd9xi6.fsf@zoho.eu> <867ecalam7.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6140"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org, emacs-devel To: Emanuel Berg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 04 10:11:11 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hBxSo-0001RQ-Uz for ged-emacs-devel@m.gmane.org; Thu, 04 Apr 2019 10:11:11 +0200 Original-Received: from localhost ([127.0.0.1]:48182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBxSn-00070z-Om for ged-emacs-devel@m.gmane.org; Thu, 04 Apr 2019 04:11:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBxSe-0006zx-4Z for emacs-devel@gnu.org; Thu, 04 Apr 2019 04:11:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBxSc-0001h1-N1 for emacs-devel@gnu.org; Thu, 04 Apr 2019 04:11:00 -0400 Original-Received: from mail-it1-x142.google.com ([2607:f8b0:4864:20::142]:40068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBxSb-0001ft-KB for emacs-devel@gnu.org; Thu, 04 Apr 2019 04:10:58 -0400 Original-Received: by mail-it1-x142.google.com with SMTP id k64so2258324itb.5 for ; Thu, 04 Apr 2019 01:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unitn.it; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZnKILbgK8ZB4WWu1sO6tSYVt6z2/OkX68z98o4jTRBs=; b=sEMsG0MrXHNl1S0VV0Oeqoh7Xk1EeN5wGmSuqMpd88YTBc1JNBX4jfZmwV4NSXzFk6 COE4UUcylCR/Fjle+L/u8E19RB64jkpCO1ij/qI5F44F+pTLdC/8sSThBzUId+BZ1E9E irQKiVulHcfEolX2lsqGAh3YhyTwS+weFBW1o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZnKILbgK8ZB4WWu1sO6tSYVt6z2/OkX68z98o4jTRBs=; b=s3dHYp9rn8sS6oxvUzE2hze0YCnLU3wmWueALlSDRuzoLB7MHgSRHGcQE6V5im9rtb 2cLwc1663O5brhL/qWNpMGiVoo0jL8p9XXimLOlFtKUM5YKVt9IItazxowmABI9Lvu8v W94FrWFab9dR/IUf63O3T0m8ZC8RdC8HBIF2w2OEhUJdCbHEFSX0D8XiEsBkbvdsDntn b68iAN3YbG/uegUA1+5xJFJnD9W56YPKEvarDP/MNqjp/ka7+pfav81+aEx0V61Gh8Gt l1aor6FaWFDCs3kOeNWA71YIBmKFZHzbXGJSI3geG3R20hQQpaXkuW1NzvrV6dgL+fM6 oe5A== X-Gm-Message-State: APjAAAW620Ucf9QZalZByoYdtUbeWOJHxZpPus8WNLbVpL1EiMOS6Psg a3NTBqCtH86b1NrkvEnBSX7B+xoM1t2Y2994TvSm X-Google-Smtp-Source: APXvYqzMrDRLSPFK/mt2g7ApUA+Y/I66MFE16o/+5odBHGvUHmh5fD764q+JUcQNs2scUENNUHyGs7qB9Fgsm8p0wXE= X-Received: by 2002:a24:9f47:: with SMTP id c68mr3621369ite.110.1554365456169; Thu, 04 Apr 2019 01:10:56 -0700 (PDT) In-Reply-To: <867ecalam7.fsf@zoho.eu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::142 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234945 gmane.emacs.help:119901 Archived-At: On Thu, Apr 4, 2019 at 5:30 AM Emanuel Berg wrote: > > Tadeus Prastowo wrote: > > > Rather than going off tangent now by talking > > about the extreme case, what about if we > > confine our discussion _for now_ to your > > specific case of dealing with your pet > > function `delete-blank-lines'? > > It is not a pet function. I was unaware of the > existence of the function you mentioned. I have > replaced the supposed pet with the proper > function. Your demeaning style isn't > appreciated BTW. First, I am sorry if you recognize the term `pet function' as something pejorative. AFAIK, the term is not pejorative. Aside from that, my intention of using the term is to quickly refer to that function of yours whose name I didn't recall, but about which I am sure the referent of the term will not be mistaken. > > If you agree then let's say we put that pet > > function to its own file > > `whitespace-cleaners.el'. As of now, that > > file will require no other file. So, its user > > will need to require only that file if that > > user needs no other function of yours. > > Problem solved here. > > The problem is perhaps solved for another > person wanting to test my software in an easy > and straightforward way. For me on the other > hand, the solution of narrowing down every such > instance would amount to not 116 Elisp files, > but to several hundreds! I have shortcuts to > most of them files [1]. But to navigate > a system with several hundred files, many of > them consisting of a single or but a few > functions, would be a total diaster for me, > while it would still be uncertain how many > other people would really use my stuff. > I.e., a lot of work for me, a crippled system > for me, to achieve an uncertain gain. > The primary goal is still to have a good system > for me, since I wrote it for my purposes. It's your call. I just want to address your original question on the problem that spawned this thread. > > Now, let's enlarge the case a bit. > > Suppose now the user also wants to use one > > other function of yours in file `edit.el'. > > If you had engineered that function _and_ > > that file properly, then the user would have > > no need to have your entire Elisp system. > > Problem solved. > > Consistent demeaning style + plain > insults = *plonk* Once again, I am sorry if you perceive something demeaning + plain insults = *plonk* in that paragraph. But, honestly, I don't see anything like that in that paragraph. > PS. Your signature is still incorrect. DS. Ah, okay, so that's what you mean by giving me the RFC link. Why didn't you tell me straight away about what was missing? Okay, I have fixed my signature, thanks. > [1] http://user.it.uu.se/~embe8573/emacs-init/navigate-fs-keys.el > > -- > underground experts united > http://user.it.uu.se/~embe8573 -- Best regards, Tadeus