all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Saving "relative point" in a paragraph or line
@ 2013-09-12  8:06 Suvayu Ali
  2013-09-12  8:49 ` Andreas Röhler
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Suvayu Ali @ 2013-09-12  8:06 UTC (permalink / raw)
  To: Emacs help

Hi,

I'm trying to write a few wrappers for transpose functions.  I would
like to restore the point to the relative position of the element I am
trying to transpose.  Are there any standard ways/functions people use
for something like this?

An example (cursor at -!-):

- Lorem ipsum dolor -!- sit amet, consectetur adipiscing elit.
- Vestibulum porttitor metus sed est varius, id dapibus est rhoncus.

                           |
                           v

- Vestibulum porttitor metus sed est varius, id dapibus est rhoncus.
- Lorem ipsum dolor -!- sit amet, consectetur adipiscing elit.

Thanks for any ideas.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



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

end of thread, other threads:[~2013-09-12 13:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12  8:06 Saving "relative point" in a paragraph or line Suvayu Ali
2013-09-12  8:49 ` Andreas Röhler
2013-09-12  9:51   ` Suvayu Ali
2013-09-12 10:06     ` Andreas Röhler
2013-09-12 11:26       ` Suvayu Ali
2013-09-12  9:04 ` Jambunathan K
2013-09-12 13:31   ` Suvayu Ali
     [not found] ` <mailman.1921.1378976581.10748.help-gnu-emacs@gnu.org>
2013-09-12  9:14   ` Damien Wyart

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.