From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Separating colour and positioning functioning Date: Tue, 9 Feb 2021 03:30:37 +0100 Message-ID: References: <878s7yp7fh.fsf@zoho.eu> <87im72njeh.fsf@zoho.eu> 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="23865"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: moasenwood@zoho.eu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 09 03:31:49 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 1l9Ioe-00067U-SZ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Feb 2021 03:31:48 +0100 Original-Received: from localhost ([::1]:60102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9Iod-00038B-Tk for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 08 Feb 2021 21:31:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9Ina-00037J-Rb for help-gnu-emacs@gnu.org; Mon, 08 Feb 2021 21:30:43 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:39917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9InY-0004Vq-CY for help-gnu-emacs@gnu.org; Mon, 08 Feb 2021 21:30:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612837838; bh=qcR8kDtpZXKT2BApU9Y9L/GxympfdFoYTPhBQ2FRHYU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=gPUrZrEhP8Ab9J6gVXCCJ+YJ5QjM7OMO7K7pQfzFTTjJuRpzwN/HNzV5PyLKJiU5B ML5SJs62IU3omp2LFOmdlclzDWYOoA7mIbNQRnj3McOOoNn9GnlgpbhzIvEiU1oCc1 QWnqcdvCb8eKjcIY0XL2OhQn553CII2o2ynHL5yI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Tue, 9 Feb 2021 03:30:37 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87im72njeh.fsf@zoho.eu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:EYz5opZeJ8CJzscDjI7PIOfTT4MRdboxA0rRfmmu33f1il/rFAGeXO7NroVNwFYzmxAqP AWQTkcJn25uo2IVn6Gyo3AieIUHW9NluEdEzwatY+hsZNlxnEli5PqVXNPB1QaSOh8GUyzAWpfr7 CFKibq/wbA1X5bS+nYvoHidAuBtRialdJjrnMbTMk+kwOzRi3QawSvkONSzgpeDrHFCmarkuU5qD uPgc28nm0aeBLAP0nLV10IVfL01p+g4HyLW/wabV2AtcP/n30qIpwW0WAMMf40LseY5IU4tPRhvQ RA= X-UI-Out-Filterresults: notjunk:1;V03:K0:8VhzZS1fx0o=:e5eC+wl43qhz9c5PVyQGlD 6IvOFeQ1ldNV1WLU7Lc0vPRIew/N/MeF0REKTgv2ckZSaC+Vxgf1HgOVNstL6MXrbEZv1rycI L8+UNgR+eOOlBmTkEi98p4J31yyU5Koxg4x+4te+j9VOuXmLW125e4ee8+Nwvv4mMxOfXMJLt lO33wzpZh7RRyOtwgHOgMpaZwPHZjng8WD9MMPdfl2XZqpFV31U/BsT/zi36KSNmnFF4GYZaw Xq7G3Fb7RM0bkOCGe8yVVfnf593xdji/4fmjJ2ouAL+zJcDorEHV0fWvjbdw3yjdrv8B34pnu a2wuXSG7y2CweF0fs9lByZR+GBIm2CePBaHaouxeaGW4Cc5JOJVZVjG9mqUZYc0Zy1fFFsAtm vJR27Df3K6CaXzSL5rZ0XwEJvwUZWmB9FxUfhwvW0ZGmEhjPAQ1N2+Rc2kif6pFly8h4ZaPud Xbx07uBw/1kNLamDDJC3V+q/W3rsEfKQVb7DluothlynLSJu4ls9ZMf4DyX0XlimUKfvP7Lff Bk+jQYJGrzpJicfsDoj7XtVViyH4QMRkHEQISqtjEdqrkmw5F8+TxVjKhpKv7Fkp1EFVdaAvh Q5PsgrL5/FkHg= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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:127676 Archived-At: I am thinking to call tex-font-lock-unfontify-region Have done (defun supinf-disable () "Disable the supinf typeface" (font-lock-flush (point-min) (point-max)) (setq font-lock-defaults '(font-lock-unfontify-region-function . tex-font-lock-unfontify-region)) (font-lock-flush (point-min) (point-max)) ) > Sent: Tuesday, February 09, 2021 at 1:01 PM > From: "Emanuel Berg via Users list for the GNU Emacs text editor" > To: help-gnu-emacs@gnu.org > Subject: Re: Separating colour and positioning functioning > > Christopher Dimech wrote: > > > I want to have two functions, one to enable supinf, another > > to disable it. > > An example toggle function: > > (defvar erc-do-spell) > (setq erc-do-spell t) > > (defun erc-toggle-spell () > (interactive) > (setq erc-do-spell (not erc-do-spell)) ) > > https://dataswamp.org/~incal/emacs-init/erc-incal.el > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > >