all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.