emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mark position from C


From: Po Lu
Subject: Re: Mark position from C
Date: Thu, 16 Feb 2023 18:00:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: emacs-devel@gnu.org
>> Date: Thu, 16 Feb 2023 16:48:58 +0800
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > What do you mean by "wrong buffer"?
>> 
>> Some other buffer, i.e. if someone does this:
>> 
>>   (set-marker (mark-marker) 0 (get-buffer-create "*the wrong buffer*"))
>
> Did you see what happens if you do that?

Yes... the mark now points to the wrong buffer.

Anyway, I think I've figured this out now.  Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]