From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emerick@gmail.com, 1501@debbugs.gnu.org, cyd@stupidchicken.com,
npostavs@gmail.com
Subject: bug#1501: Emacs 22 loses undo buffer
Date: Thu, 21 Oct 2021 13:46:23 -0700 [thread overview]
Message-ID: <CADwFkmmMhirN83d1N0OnWED+VGSVgiff4H+dzHzi6jeYMHK-KQ@mail.gmail.com> (raw)
In-Reply-To: <83k0i7c35d.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Oct 2021 15:05:34 +0300")
tags 1501 wontfix
close 1501
thanks
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Stefan Kangas <stefan@marxist.se>
>> Date: Tue, 19 Oct 2021 18:01:43 -0700
>> Cc: Emerick Rogul <emerick@gmail.com>, 1501@debbugs.gnu.org,
>> Chong Yidong <cyd@stupidchicken.com>
>>
>> + /* Remove the `face' property to save space. (Bug1501) */
>> + if (!NILP (string))
>> + Fremove_list_of_text_properties (make_fixnum (0),
>> + make_fixnum (SCHARS (string)),
>> + CALLN (Flist, Qface),
>> + string);
>
> This modifies the text properties of STRING, which you don't own.
>
> Also, it will do unnecessary non-trivial processing when undo is
> turned off.
>
> I definitely think that with the enlarged undo-limit we should leave
> this obscure situation alone. It isn't worth making such significant
> low-level changes due to such obscure problems, which are arguably
> cockpit errors.
OK, I'm therefore closing this bug as wontfix.
(Alternatively, we could just close it as "fixed" (with the doubling of
undo limits) but let's be a bit more explicit.)
next prev parent reply other threads:[~2021-10-21 20:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 16:51 bug#1501: Emacs 22 loses undo buffer Emerick Rogul
2019-08-20 18:36 ` Stefan Kangas
2019-08-20 18:45 ` Noam Postavsky
2019-08-21 14:46 ` Stefan Kangas
2019-08-22 1:19 ` Noam Postavsky
2021-10-20 1:01 ` Stefan Kangas
2021-10-20 12:05 ` Eli Zaretskii
2021-10-21 20:46 ` Stefan Kangas [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-12-06 4:01 Chong Yidong
2008-12-06 21:02 Emerick Rogul
2008-12-07 1:31 ` Chong Yidong
2008-12-07 2:03 ` Emerick Rogul
2008-12-07 5:36 ` Chong Yidong
2008-12-07 5:48 ` Chong Yidong
2008-12-07 12:36 ` Emerick Rogul
2009-01-27 20:58 Chong Yidong
2009-04-24 22:14 Suresh Kannan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmmMhirN83d1N0OnWED+VGSVgiff4H+dzHzi6jeYMHK-KQ@mail.gmail.com \
--to=stefan@marxist.se \
--cc=1501@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
--cc=eliz@gnu.org \
--cc=emerick@gmail.com \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.