From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden Newsgroups: gmane.emacs.help Subject: Re: Customisation for Comments Date: Fri, 11 Feb 2022 23:21:26 +0000 Message-ID: References: <_8nnLBMzH_CPdwBGJD5nvSCcTQn7F4nGwKrnU7o5DipOewQDZ_O7zsBU3xpSR5VzthpPII7FrZazGGcGbJKfjQK38iFcYRsWdNfu_xQ4w9c=@protonmail.com> <874k55tbh4.fsf@zoho.eu> <1AU0hzdbC1U_BvDCtw-1uDqhnf1mJ6xRlz3jOEWF5lh0TqU56XVQMibCipjQWArxTsUkrAktC2AGvrO1sZed-koBvPMfXINA-mXowljXOh4=@protonmail.com> <87zgmxrwao.fsf@zoho.eu> <-oBSWjHnEPX6Ij-6o8c538OwBiy3O59rplNI6SW-JeNjiF49VEOLb_HwjJZoq-WPdBLtc_KOZzg2-mj4QDkgPW4HtVxM5XANs4JCglO6Khc=@protonmail.com> <87sfsprqj4.fsf@zoho.eu> <87k0e1ro2j.fsf@zoho.eu> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35369"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 12 00:22:08 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 1nIfEt-0008wz-CU for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 00:22:07 +0100 Original-Received: from localhost ([::1]:44518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIfEs-0001uD-BS for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Feb 2022 18:22:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIfER-0001tx-NX for help-gnu-emacs@gnu.org; Fri, 11 Feb 2022 18:21:39 -0500 Original-Received: from mail-40140.protonmail.ch ([185.70.40.140]:64667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIfEI-0008NG-V4 for help-gnu-emacs@gnu.org; Fri, 11 Feb 2022 18:21:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644621687; bh=kSc77EEu9r1MCrNB8k2azsPm9sQBzDsEw6T6EV+5bw0=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=MT02NR16NaDtYNDtYQXhU3qbZ9XVVoR9oqd9DzZnwRlnV+te/al13J6cyu0tVKUNm xUg1sqMOVZldKi0k4hhBwo7lY1d1S3HP+Vn6jEaRiNxyC+IjFL0jAkQT1JRECypWlb TU6pc3RKWfI7KVjOmMgZAyG7SpRP6scHBeugrvnzcyUuDY5eipggrWwlMDh/fcamuG u+E4MPwYLvExlDDjlAD4a2V0y16jW9E/RDHQWCq4ERLKOY/MHdm/39qtgb+qErLnxO jJTpr/twvBJ+sGUjKsWQUPrP4fH0MuQy5rMOAvb0Bk5/X/CHj6awOID7z+Fv9FVs2Z jFmLbj3tHZmog== In-Reply-To: <87k0e1ro2j.fsf@zoho.eu> Received-SPF: pass client-ip=185.70.40.140; envelope-from=goncholden@protonmail.com; helo=mail-40140.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:135909 Archived-At: ------- Original Message ------- On Friday, February 11th, 2022 at 11:16 PM, Emanuel Berg via Users list for= the GNU Emacs text editor wrote: > goncholden wrote: > > > > Sounds to me like you just need one function to increase > > > the contrast. Then maybe another function the decrease it, > > > by sending a negative value, and perhaps a couple of more > > > functions that are all just helper functions around the > > > first one. > > Eman, I have done all that and put things in a minor-mode. > > What I have a problem with is about whether or not to use > > a minor-mode, major-mode, or a derived mode (derived from > > a major-mode). > Gonch, it depends what problem you try to solve? It is a customisation for comments, for programming languages and others which allow comment type lines (e.g. org-mode, texi-mode).