From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 59290@debbugs.gnu.org, dick <dick.r.chiang@gmail.com>
Subject: bug#59290: 29.0.50; [PATCH] Buffer-localize temporary-goal-column
Date: Sun, 3 Sep 2023 02:36:06 -0700 [thread overview]
Message-ID: <CADwFkm=+UVn5gkSs42OcvKLaCEUSL0A43-LW2V8sAXJCH0xb-g@mail.gmail.com> (raw)
In-Reply-To: <83pmdngk8i.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 16 Nov 2022 14:24:45 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: dick <dick.r.chiang@gmail.com>
>> Date: Tue, 15 Nov 2022 16:52:10 -0500
>>
>> emacs -Q -l cl-lib --eval " \
>> (with-temp-buffer \
>> (save-excursion \
>> (insert \"עִבְרִית\nעִבְרִית\")) \
>> (call-interactively (function next-line)) \
>> (with-temp-buffer \
>> (save-excursion (insert \"English\nEnglish\")) \
>> (call-interactively (function next-line)) \
>> (cl-assert (zerop (current-column)))))"
>>
>>
>> >From 44ca27270bdd7786ddb36469149128b6d18aac9a Mon Sep 17 00:00:00 2001
>> From: dickmao <dick.r.chiang@gmail.com>
>> Date: Tue, 15 Nov 2022 16:03:48 -0500
>> Subject: [PATCH] Temporary goal column leaks
>>
>> * lisp/simple.el (temporary-goal-column): Buffer-localize.
>> * test/lisp/simple-tests.el (line-move-visual-goal-column-leakage):
>> Test it.
>
> Thanks, but please provide a meaningful commit log message with an
> explanation of the problem and the solution. AFAIU, it isn't
> self-evident. For example, if I invoke the program interactively in a
> running Emacs session, the problem doesn't happen. Your test seems to
> acknowledge that, as is evidenced by this:
>
>> +(ert-deftest line-move-visual-goal-column-leakage ()
>> + (skip-unless (not noninteractive)) <<<<<<<<<<<<<<<<<<<<<<<
>
> but without any explanation.
>
> With the root cause of this stated explicitly, it might be that we
> will want or at least consider a different solution.
dick, could you please provide the information Eli is asking for above?
Thanks in advance.
next prev parent reply other threads:[~2023-09-03 9:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-15 21:52 bug#59290: 29.0.50; [PATCH] Buffer-localize temporary-goal-column dick
2022-11-16 12:24 ` Eli Zaretskii
2023-09-03 9:36 ` Stefan Kangas [this message]
[not found] ` <87pm2zmphz.fsf@dick>
2023-09-03 12:17 ` Eli Zaretskii
[not found] ` <87lednmn1t.fsf@dick>
2023-09-03 13:14 ` Eli Zaretskii
2023-09-05 23:05 ` Stefan Kangas
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='CADwFkm=+UVn5gkSs42OcvKLaCEUSL0A43-LW2V8sAXJCH0xb-g@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=59290@debbugs.gnu.org \
--cc=dick.r.chiang@gmail.com \
--cc=eliz@gnu.org \
/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.