help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Survival strategies for markers?


From: Thorsten Jolitz
Subject: Re: Survival strategies for markers?
Date: Tue, 03 Jun 2014 19:26:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Pascal J. Bourguignon" <address@hidden> writes:

> Thorsten Jolitz <address@hidden> writes:
>
>> Hi List, 
>>
>> when markers are exposed to extreme conditions
>>
>>  - copy buffer substring (with marker m) from buffer A to temporary
>>  - buffer B
>>  - modify buffer content in B
>>  - change major mode in B
>>
>> how do they survive? 
>>
>> Or, more prosaic, can I do these things and somehow copy (bufferlocal?)
>> m from A to B, or do I have to take an indirect approach remembering m's
>> position in A in a global var and set a new marker at that position in
>> B (or so)?
>
> The later.
>
> Markers are independent objects, they're not embedded in strings.

Ok, Thx!

-- 
cheers,
Thorsten




reply via email to

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