From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.devel Subject: Re: How to remove the "read-only" property... Date: Sun, 28 Aug 2022 19:47:14 +1200 Message-ID: References: <87ler8olzx.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002ac62a05e7485dfe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26790"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 28 09:48:44 2022 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 1oSD2C-0006lW-Fi for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Aug 2022 09:48:44 +0200 Original-Received: from localhost ([::1]:33008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSD2B-0007Fe-9h for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Aug 2022 03:48:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSD1N-0006NP-PX for emacs-devel@gnu.org; Sun, 28 Aug 2022 03:47:53 -0400 Original-Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]:37558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSD1L-0004HB-W5 for emacs-devel@gnu.org; Sun, 28 Aug 2022 03:47:53 -0400 Original-Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-33dce2d4bc8so129730547b3.4 for ; Sun, 28 Aug 2022 00:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc; bh=ltuPYNTimYruOTLPzZ8AhtTMuXhyvwvd02UpLJ8+8yA=; b=R6otXVNoQFXHwQquI1JXsBz4bs/XkoZruHcayJ54dEuNdl4Pu0RIRrAkRi/LcB4/yk +qTOLsFhD9tVHgJqBTJAUX/9ac1yEpjL1hcYbjBQzTcDdNfSD0ETORpYsMwaqjnRRDB1 cQVMHJ0jY/u0ACK8Ttl/Ri0HAZwBJGU+vmKH+Fmim0GLIGxMSI9sZSrNXBL1DxOiwY+b yS/vVO0c9qSYAMCq8hr5llcHHPoTKUHo+vl/6/vsXSW2Usvj38hsylYd07YpiXU3k8yW zrBXfhhWn6QcAlvyqW4Pyy6iIboWUuU/B8sR5hzf6KwJUBVjUnJT1dwVdDlsVY9CG4/K yxZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc; bh=ltuPYNTimYruOTLPzZ8AhtTMuXhyvwvd02UpLJ8+8yA=; b=NqGMmaTnIgb4bTJG7h8IEVVKQwDECtFVtN8RsYiS371rFVCI3wd27S0s2JFsqmrtOr 9gvFxR+zHLIvdg9II6QnkmHTJzOYeBkmlnJ6vaxvhlOq4KPFI3GCUBbPIm+PGb3Neb3l X84wZDoeo59gfBdcVDSbIHqQHcEZBLRDaXpTpqfJihBF8mRJimOi8ge9UvULxYGftqJI N4IeZSDflzio2Gto5VBDKEwEiFiW44gPr+CSBlXkHuzRr6YE+6WJg7q6bivVwv3+a7kw rGlWwFsvZx3i2NMQM182cjY1cjP7ywj+hv4uVtTaFkdWjZeU7lVM4OzgUDeFq2UCchx+ vzuw== X-Gm-Message-State: ACgBeo2vE7188c4HkOZrr8lOaE3iqgsJryFuAM4b+FnpDYvTlBJmhglN 6PIsDPxkRxMGUmL+5TD/CICsC0o011SfrnCHsWv6kaHBeXc= X-Google-Smtp-Source: AA6agR4qS9CLNvQVc8C2jiMK8p565rtKPCMCTj4O8JlhBrQgcUp4EJpZ+6ABaaLtN/H/WbOAilfdd42gJQmbReJMnDE= X-Received: by 2002:a25:afc5:0:b0:695:a9d7:3227 with SMTP id d5-20020a25afc5000000b00695a9d73227mr5305052ybj.71.1661672870297; Sun, 28 Aug 2022 00:47:50 -0700 (PDT) In-Reply-To: <87ler8olzx.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1133; envelope-from=davin.pearson@gmail.com; helo=mail-yw1-x1133.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: 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" Xref: news.gmane.io gmane.emacs.devel:294217 Archived-At: --0000000000002ac62a05e7485dfe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (insert (prin1-to-string emacs-version)) =3D> "28.1" (insert (prin1-to-string system-type)) =3D> gnu/linux Should I upgrade to Emacs 29.1 ? On Sun, 28 Aug 2022 at 19:40, Emanuel Berg wrote: > Davin Pearson wrote: > > > (set-text-properties (point-at-bol) (point-at-eol) '(read-only t)) > > FYI > > This function is obsolete since 29.1; use > =E2=80=98line-beginning-position=E2=80=99 instead. > > This function is obsolete since 29.1; use > =E2=80=98line-end-position=E2=80=99 instead. > > -- > underground experts united > https://dataswamp.org/~incal > > > --0000000000002ac62a05e7485dfe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(insert (prin1-to-string emacs-version)) =3D> "28.= 1"
(insert (prin1-to-string system-type)) =C2=A0=C2=A0=C2=A0 = =3D> gnu/linux

Should I upgrade to Emacs 29.1 ?=


On Sun, 28 Aug 2022 at 19:40, Emanuel Berg <incal@dataswamp.org> wrote:
Davin Pearson wrote:

> (set-text-properties (point-at-bol) (point-at-eol) '(read-only t))=

FYI

=C2=A0 This function is obsolete since 29.1; use
=C2=A0 =E2=80=98line-beginning-position=E2=80=99 instead.

=C2=A0 This function is obsolete since 29.1; use
=C2=A0 =E2=80=98line-end-position=E2=80=99 instead.

--
underground experts united
https://dataswamp.org/~incal


--0000000000002ac62a05e7485dfe--