unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* write-region to a negative offset
@ 2019-12-16 12:43 Jean-Christophe Helary
  0 siblings, 0 replies; only message in thread
From: Jean-Christophe Helary @ 2019-12-16 12:43 UTC (permalink / raw)
  To: Emacs developers

It seems like write-region only accepts a positive offset from the beginning of the file.

I'd like to add an xml block at a given position relative to the end of the file. I'd rather add to a negative offset from the end of the file since that part is static.

Is there a way to do that that does not involve finding the value of point at the place I'd like to insert the block ?


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-16 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 12:43 write-region to a negative offset Jean-Christophe Helary

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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