From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: About the activation of minor modes Date: Sun, 6 Mar 2022 02:26:56 -0300 Message-ID: References: <87czizisij.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="18101"; 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 Sun Mar 06 06:27:53 2022 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 1nQjQv-0004XW-A8 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Mar 2022 06:27:53 +0100 Original-Received: from localhost ([::1]:51226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQjQt-00049d-Lx for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Mar 2022 00:27:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQjQF-00049F-Kk for help-gnu-emacs@gnu.org; Sun, 06 Mar 2022 00:27:11 -0500 Original-Received: from [2a00:1450:4864:20::12b] (port=41901 helo=mail-lf1-x12b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQjQE-0002c6-0M for help-gnu-emacs@gnu.org; Sun, 06 Mar 2022 00:27:11 -0500 Original-Received: by mail-lf1-x12b.google.com with SMTP id f37so20927143lfv.8 for ; Sat, 05 Mar 2022 21:27:09 -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=hlXYkN7leYDqFlmTGIUvUyIh4dz4o5QXo6Aryf0kKJE=; b=kIMSpjPen1a0hmZ4AO7JRkf2DrDn+zetKriVqzH09WOsbX8J1wHI2Y+gKyGxheuUbn aaI4JpJFh0MdCS4564MGzX5ewF7I6F72QcNO8BjfH+IKDqnVsF/oLmpIB3RMUxn8FBXH pD4XRRAUviBdKBtS/JZBmgiqM8nz4EzbqnofwKAlP054bWrvrfH3wz2yMsNBZ947q5jt aY18N6dMRc29F2LQZEX8f63roRgHeRhycPaEoQFAJfeHqadE1FJgzBjo4g3cSvNtdvxo GRhimCJWSjhC4aNqM+51+0nY7UEctbB++UfRZ1x7xb+xorON31SfSSFY1dqqRoVieWds yDLQ== 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=hlXYkN7leYDqFlmTGIUvUyIh4dz4o5QXo6Aryf0kKJE=; b=K8ZuWNTilY5djoOJrabHGP4vA3EJFQyZoZQFhSMva6nf+Ox9OGwINaX7QQPvj0qdSK 4h2QvKpujvBXZeZYpS4kEtJResrEcBFpcpI+LI9+bG6QJoS3PMyW/iLyQRvq2TzhNckM BCMtlmctUGeuNn9KTax1ibyVVtCvAMIlwwuFaSrRbNYsidBqEQ28yCJQ6j7sOLk3Hlb9 vnm+tgi0L8AMM5oJKLlSLGbeNpOZ6C8UuMyuFCFlQNj1OW3N/UMK4JcIuSBysW/yAVgy Ftklige5EKHC+wTBLhGQjiU9b2Mghj0IbLIZLxu8sfZ+4epW6O6vGV+n8GtVuJ98vKN+ Mjeg== X-Gm-Message-State: AOAM533XyR/ZahWXLMHNfSU9Ow3qUAr4s9ci7JFkAq3HBwwDIQpSYsZa hQdQYRhblxXRE44ryV0wbhsLTaQy9fJ1+8Kv/ZI= X-Google-Smtp-Source: ABdhPJzxwlJT9sEJ4aLCDiPvGm7pRfM798ZDVxp0eeVBHeGdKlJm0q1wscr1q4URLRVAkNTb+AxsHBYVsVrhWmKRRPQ= X-Received: by 2002:a05:6512:114e:b0:447:b155:8a85 with SMTP id m14-20020a056512114e00b00447b1558a85mr4154520lfg.101.1646544428070; Sat, 05 Mar 2022 21:27:08 -0800 (PST) In-Reply-To: <87czizisij.fsf@zoho.eu> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=eduardoochs@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:136382 Archived-At: On Sun, 6 Mar 2022 at 02:04, Emanuel Berg via Users list for the GNU Emacs text editor wrote: > > Eduardo Ochs wrote: > > > The function `find-epp' of eev pretty-prints its argument > > and shows the result in a temporary buffer, and this > > > > (find-epp (macroexpand ' > > > > (define-minor-mode A-mode > > "Help for A-mode" > > :init-value nil > > :global nil > > :lighter " A") > > > > )) > > > > shows exactly what this `define-minor-mode' does. I _guess_ > > that it should be easy to modify the (define-minor-mode > > A-mode ...) > > Yeah ... _guess_es are that should be pretty easy: obscure > 3rd-party software, `macroexpand', a quoted piece of Lisp (a > note to the OP, a `quote' turns Lisp software into data, > however now the macro ... err, whatever). > > Study this example instead. > > What do you see happening in the below code? > > (abbrev-mode -1) > (auto-encryption-mode -1) > (file-name-shadow-mode -1) > (gpm-mouse-mode -1) > (menu-bar-mode -1) > (tooltip-mode -1) > > (font-lock-mode) > (transient-mark-mode) Hi Emanuel, In the page about the elisp tutorial that comes with eev - http://angg.twu.net/find-elisp-intro.html there's this line here: When I announced this on an Emacs mailing list the feedback was quite bad. See the thread. The thread only has messages by you and me. You are _THE_ example of a person who hates eev... =/ Cheers, Eduardo Ochs http://angg.twu.net/#eev