unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Survival strategies for markers?
@ 2014-06-03  9:55 Thorsten Jolitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thorsten Jolitz @ 2014-06-03  9:55 UTC (permalink / raw)
  To: help-gnu-emacs


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)?

-- 
cheers,
Thorsten





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-03 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2823.1401789365.1147.help-gnu-emacs@gnu.org>
2014-06-03 16:18 ` Survival strategies for markers? Pascal J. Bourguignon
2014-06-03 17:26   ` Thorsten Jolitz
2014-06-03  9:55 Thorsten Jolitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).