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: [External] : messages to *Messages* without appearing in mini-buffer? Date: Fri, 12 Nov 2021 06:07:38 +0100 Message-ID: <8735o27yhx.fsf@zoho.eu> References: <87zgqaiwxr.fsf@ucl.ac.uk> <8735o2b5e5.fsf@zoho.eu> <993162c2a1c221047f6b@heytings.org> <87pmr69pn3.fsf@zoho.eu> <87sfw2i0qv.fsf@web.de> <87y25u83gh.fsf@zoho.eu> <87mtmahvqy.fsf@web.de> <87h7ci81ho.fsf@zoho.eu> <87ee7mhuyl.fsf@web.de> 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="33499"; 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:4O6JK50y+UXsxShjetzuWYSQShY= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 06:08:23 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 1mlOnW-0008Uy-Gj for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 06:08:22 +0100 Original-Received: from localhost ([::1]:37190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlOnU-0007a5-Nr for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 00:08:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlOn1-0007Zw-Mv for help-gnu-emacs@gnu.org; Fri, 12 Nov 2021 00:07:51 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:48564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlOmz-0001Mh-9T for help-gnu-emacs@gnu.org; Fri, 12 Nov 2021 00:07:51 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mlOmx-0007pd-H5 for help-gnu-emacs@gnu.org; Fri, 12 Nov 2021 06:07:47 +0100 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.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:134522 Archived-At: Michael Heerdegen wrote: > Ok, if you have the time to rewrite significant parts of > Emacs before every single command call ...but most people > don't. That's why programmers invented variables. Global variables should be avoided. It isn't so difficult to do. I have written 140 files of Elisp. They are not Elisp files in Emacs sense but much shorter, but still. (Well, actually that is a good things! Emacs Elisp files are too long. But it sounds more than it is is what I'm saying.) Anyway I've only 6 `defvar' in all of that! These 6 in 140 are ... Two are extra keywords, e.g. https://dataswamp.org/~incal/emacs-init/buffer-menu.el - actually I don't know if they are necessary there ... to be global/dynamic/special, I mean? One is a map, https://dataswamp.org/~incal/emacs-init/caps-back.el - necessary? And three are here https://dataswamp.org/~incal/emacs-init/mode-line.el - are they necessary? -- underground experts united https://dataswamp.org/~incal