emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

backward-symbol


From: Andreas Roehler
Subject: backward-symbol
Date: Tue, 30 Jan 2007 10:23:52 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060516)


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]