From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Benson Chu" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Added alias for removed font-lock function Date: Sat, 31 Dec 2022 22:57:34 -0600 Message-ID: <6d72ba64-3c32-4957-94c8-9c1f41442878@app.fastmail.com> References: <49cdc78c-f4f4-4300-982c-ad1909da3547@app.fastmail.com> <22714367-c1e6-4562-9af5-63ac6ff0aecb@app.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=ac2da69c9603425a988cc7f763c77a32 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9156"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 01 07:16:14 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pBrdm-0002Gy-0X for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Jan 2023 07:16:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBrcw-0005vB-Rn; Sun, 01 Jan 2023 01:15:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBqQJ-00052H-Dd for emacs-devel@gnu.org; Sat, 31 Dec 2022 23:58:15 -0500 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBqQH-0005BJ-RX for emacs-devel@gnu.org; Sat, 31 Dec 2022 23:58:15 -0500 Original-Received: by mail-qt1-x834.google.com with SMTP id i20so20151096qtw.9 for ; Sat, 31 Dec 2022 20:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:from:date:references:in-reply-to:message-id:mime-version :user-agent:feedback-id:from:to:cc:subject:date:message-id:reply-to; bh=5oZ84BX9fpvZnXVmc9sf0JL39a9K5hNaH3mHYKPSPd0=; b=SCbjdbOcGtiNfXZNXdVWXVq4aiQIJTvQpjDrYV1Z7ioGwMAWBBykThm9Pzk21hu6C0 MBCP2DHDM6MBp9d20/TYrIDWoUeLaqoUekAonD7+HQngYuGGIYmou1sIC98UA302vgCS 7Apd5YMcY776+tKoLlpulhzxU2FKtHtXlcSTrPthuBGnlNUoaw4JIYGQpDzRZZoaG/tl Ww4nAjMprC0jfo76A1BHcQFcq21FRlv99N1ho5JXiJuAs+8DYsSAWqkpt6MTPvNp2QMa m4A7dUyvKYg5j+B517GjWdqzVXvwt4mScJHfpZJiwJAgfO/zABMWcWjdEdEl4T8+wowX fdTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:to:from:date:references:in-reply-to:message-id:mime-version :user-agent:feedback-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5oZ84BX9fpvZnXVmc9sf0JL39a9K5hNaH3mHYKPSPd0=; b=etNNiHWP1thN085cYggdLALFRKT+jxT4UmqjGU3Dcu0x51gKMUp08KGfIM2JSw+vyR d2nFsBksoYwkZ28mgIDBJpw/zCN0NpcFQlw91Jg6DGWRHWX1X4r/dNaAkGDsWK8xvuR0 XKskA0SBw5kZZ+lV3sUNNyMx+isNWHtT4UspmuxBvwsvLqp9zhbNJ1JPYO4OQcmKAH0+ FgZOb5DkIBnJoXWjuC4Up63ChR/P7dKJHaHzz0D+nLNnZ4ilX1D9rkL4fs2EDMGi8U24 fq6K6LHzt5Zw9I9k9A581btiMEtGMbOjwEtgkPfVaTWBGVWO4z8KbPGhm4XqvgcSlw9y 3L4A== X-Gm-Message-State: AFqh2kqgqFfbeD8CByTG1FdM7KwrEh579mw/X3+0j7/CrEvAIVCEBLIH p5sKNoDS1pRoZ0P6nrhqGVfiRaPrj2Q= X-Google-Smtp-Source: AMrXdXu4jgPvU32O1ng8jl7KDJ27stot/Cb/E2VzoQQGVM8kXL4MNZTBSOrG1KH2eya7mti/wnVoTw== X-Received: by 2002:ac8:704b:0:b0:3a7:e110:81e5 with SMTP id y11-20020ac8704b000000b003a7e11081e5mr51271183qtm.53.1672549091952; Sat, 31 Dec 2022 20:58:11 -0800 (PST) Original-Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com. [66.111.4.227]) by smtp.gmail.com with ESMTPSA id bp33-20020a05620a45a100b006e99290e83fsm9727250qkb.107.2022.12.31.20.58.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Dec 2022 20:58:10 -0800 (PST) Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 8FFCF27C0054 for ; Sat, 31 Dec 2022 23:58:10 -0500 (EST) Original-Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Sat, 31 Dec 2022 23:58:10 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieelgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesmhdtre erreertdenucfhrhhomhepfdeuvghnshhonhcuvehhuhdfuceosggvnhhsohhntghhuheg heejsehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeeglefftddufefhudehge elveehvefftdduieejhfdvueduhfehgfetteffteetjeenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsvghnshhonhgthhhugeehjedomhgvsh hmthhprghuthhhphgvrhhsohhnrghlihhthidqudeftdeluddvleeitddqvdekleeijeeg ieegqdgsvghnshhonhgthhhugeehjeeppehgmhgrihhlrdgtohhmsehfrghsthhmrghilh drtghomh X-ME-Proxy: Feedback-ID: ia7194663:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 65E3636A0073; Sat, 31 Dec 2022 23:58:10 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <22714367-c1e6-4562-9af5-63ac6ff0aecb@app.fastmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=bensonchu457@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 01 Jan 2023 01:15:19 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302173 Archived-At: --ac2da69c9603425a988cc7f763c77a32 Content-Type: text/plain Er, I mean this. Thanks! Benson On Sat, Dec 31, 2022, at 10:53 PM, Benson Chu wrote: > Something like this? > > Thanks! > Benson > > On Thu, Dec 22, 2022, at 8:49 AM, Stefan Monnier wrote: >>> +(define-obsolete-function-alias 'font-lock-fontify-syntactically-region #'font-lock-default-fontify-syntactically "29.1") >> >> >> Indeed, tho, could you try and fit this within 80 columns? >> Also, I think the better replacement for the old >> `font-lock-fontify-syntactically-region` could be >> (funcall font-lock-fontify-syntactically-function BEG END), which by >> default will end up calling `font-lock-default-fontify-syntactically`. >> >> >> Stefan > Attachments: > * 0001-Added-back-renamed-function-font-lock-fontify-syntac.patch --ac2da69c9603425a988cc7f763c77a32 Content-Disposition: attachment; filename*0="0001-Added-back-renamed-function-font-lock-fontify-syntac.pat"; filename*1="ch" Content-Type: text/x-patch; name="=?UTF-8?Q?0001-Added-back-renamed-function-font-lock-fontify-syntac.patc?= =?UTF-8?Q?h?=" Content-Transfer-Encoding: BASE64 RnJvbSA2YjIxZjFlZDU2YjBiMTk2ZmJhM2E2MjZmNTA0NjRiOTExMzlkYjQ3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5zb24gQ2h1IDxiZW5zb25jaHU0NTdAZ21haWwu Y29tPgpEYXRlOiBTYXQsIDMxIERlYyAyMDIyIDE5OjQ1OjQzIC0wNjAwClN1YmplY3Q6IFtQ QVRDSF0gQWRkZWQgYmFjayByZW5hbWVkIGZ1bmN0aW9uCiBmb250LWxvY2stZm9udGlmeS1z eW50YWN0aWNhbGx5LXJlZ2lvbgoKQSBtb3JlIGFjY3VyYXRlIHJlcGxhY2VtZW50IGZvciBm b250LWxvY2stZm9udGlmeS1zeW50YWN0aWNhbGx5LXJlZ2lvbgp3b3VsZCBiZSBhIGZ1bmN0 aW9uIHRoYXQgZnVuY2FsbHMgdGhlCmZvbnQtbG9jay1mb250aWZ5LXN5bnRhY3RpY2FsbHkt ZnVuY3Rpb24gdmFyaWFibGUuIFRoYXQgd2F5LCBjYWxsZXJzCm9mIHRoZSBmdW5jdGlvbiBj YW4gaW5oZXJpdC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