all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* backward-symbol
@ 2007-01-30  9:23 Andreas Roehler
  2007-01-30 20:25 ` backward-symbol Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Roehler @ 2007-01-30  9:23 UTC (permalink / raw)
  To: emacs-devel


As `forward-syntax' and `forward-symbol' exist already,
these two functions--following scheme of backward-word
in simple.el--could be helpful.

Propose to integrate them into thingatpt.el


(defun backward-symbol (&optional arg)
  "Move backward until encountering the beginning of a symbol.
With argument, do this that many times."
  (interactive "p")
  (forward-symbol (- (or arg 1))))

(defun backward-same-syntax (&optional arg)
  "Move backward until encountering the beginning of a same-syntax.
With argument, do this that many times."
  (interactive "p")
  (forward-same-syntax (- (or arg 1))))

Thanks

__
Andreas Roehler

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

end of thread, other threads:[~2007-02-01  6:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30  9:23 backward-symbol Andreas Roehler
2007-01-30 20:25 ` backward-symbol Richard Stallman
2007-02-01  3:48   ` backward-symbol Daniel Brockman
2007-02-01  6:10     ` backward-symbol Kevin Rodgers
2007-02-01  6:21       ` backward-symbol Miles Bader

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.