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:55:03 +1200 Message-ID: References: <87ler8olzx.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000023393e05e7487968" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22427"; 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:56:39 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 1oSD9r-0005fh-BR for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Aug 2022 09:56:39 +0200 Original-Received: from localhost ([::1]:35810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSD9q-0001VN-Ex for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Aug 2022 03:56:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSD8x-0000lU-0f for emacs-devel@gnu.org; Sun, 28 Aug 2022 03:55:43 -0400 Original-Received: from mail-yw1-x1130.google.com ([2607:f8b0:4864:20::1130]:39492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSD8v-0005Kq-Ah for emacs-devel@gnu.org; Sun, 28 Aug 2022 03:55:42 -0400 Original-Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-3376851fe13so130007347b3.6 for ; Sun, 28 Aug 2022 00:55:40 -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=XlUQ6OgEt9LNh4KY1iDTGFfZ9m+Fd9XqmNxJpLwudJI=; b=qevTXWnO5qcxQunJQYPi22Uv5tOLCC+4Q6u5/BoTufA4L+9qC7F8OaO9CkODG4KuRg UyEQ73dCLGo/AJfxWpYhVRPzDUSye67ak5wcY+qgByA+389BULt29q4ILHF0EHhcm+Dx eebBgRqD6Szya7B9N8XokcjhS5retai4zDskexaW8/vlE3q2YzTMyA5gruPmUOHoUhsb g/K5HmishKOcCCakMe6Ntoxt85BOdQw/qTGEGSdR6cSWsT57su0g+roBB94hp7UGngLJ hI9Q54fxynkHQeSpf85ns4syQ0K6nbygWHxEF57Z14jcSpViK05/IxcNKMVfAljK86H+ kZhA== 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=XlUQ6OgEt9LNh4KY1iDTGFfZ9m+Fd9XqmNxJpLwudJI=; b=xHGx4POIDhEtN1EwFGhN9fQ89HTbctq3wHW2zCPZOgv7jkarp6w1WrFEZI+rmKYn0r bzgxB4AYeDbSoawyFLZ2MFmLNyT3y8iK9Qv69/m1NClOng3v+UkTh3NP28IyouvQjecp x1TerCuPsv+XeBj0NnMvUJjyzuHqg926g8W5jynRQLO3iEn1XH7/FmZvbOKf3wvzV4UX gae5xhOZtCV2j91Dl7BwFW9KtvELY9BcSxlkSwRywFB5HMcX4xUvY7Ov8mlZLnB/+CzE QUhDIJLjB0aR23giLYLJwVj9IQLdGBb3Dd1ClYrTsAaAjBM1H0xOYPjWScxVWc2tvywV uKZw== X-Gm-Message-State: ACgBeo0W5dS57q6O9VxYlWUD0XMuNuoZUJvR0m7Qj6VkTJQPYiyVEsiC IB0i2ISsGJ/58ASihl5Lp2WR/A9C3hTlvx8CcKdNZbDx X-Google-Smtp-Source: AA6agR5uTxbXEsr0DH5vtaQVBXeIiwsIAwiWqJCjcFyCR1o91cX+QGPQXt9E/Q44KHFmHDPrl9na9XKg0cl/7TNFQq4= X-Received: by 2002:a81:4a02:0:b0:33d:8f00:8545 with SMTP id x2-20020a814a02000000b0033d8f008545mr6118947ywa.406.1661673339565; Sun, 28 Aug 2022 00:55:39 -0700 (PDT) In-Reply-To: <87ler8olzx.fsf@dataswamp.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1130; envelope-from=davin.pearson@gmail.com; helo=mail-yw1-x1130.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:294218 Archived-At: --00000000000023393e05e7487968 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Why has point-at-bol changed to line-beginning-position? Why has point-at-eol changed to line-end-position? To my eyes, the defaults (point-at-bol) and (point-at-eol) are superior to line-beginning-position and line-end-position. I could just set an alias to get the old behaviour on my machine, but I can't see the point of the new labels. 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 > > > --00000000000023393e05e7487968 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Why has point-at-bol changed to line-beginning-positi= on?
Why has point-at-eol changed to line-end-position?
=
To my eyes, the defaults (point-at-bol) and (point-at-eol) <= br>
are superior to line-beginning-position and line-end-position= .

I could just set an alias to get the old behavio= ur on my machine,
but I can't see the point of the new labels= .

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


--00000000000023393e05e7487968--