all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Beginning of Word Predicate
@ 2005-10-17  1:32 Tim Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2005-10-17  1:32 UTC (permalink / raw)


Hello:

Can anyone tell me if there is an elisp function that
determines whether the cursor is on the beginning of a
word (ie, bolp or char-before point equals whitespace))?

Thanks
tj

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

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

* Re: Beginning of Word Predicate
       [not found] <mailman.11555.1129512333.20277.help-gnu-emacs@gnu.org>
@ 2005-10-17  1:53 ` David Hansen
  2005-10-17  3:16   ` Tim Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: David Hansen @ 2005-10-17  1:53 UTC (permalink / raw)


On Sun, 16 Oct 2005 17:32:13 -0800 Tim Johnson wrote:

> Can anyone tell me if there is an elisp function that
> determines whether the cursor is on the beginning of a
> word (ie, bolp or char-before point equals whitespace))?

(looking-at "\\<")

David

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

* Re: Beginning of Word Predicate
  2005-10-17  1:53 ` Beginning of Word Predicate David Hansen
@ 2005-10-17  3:16   ` Tim Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Johnson @ 2005-10-17  3:16 UTC (permalink / raw)


* David Hansen <david.hansen@gmx.net> [051016 18:23]:
> On Sun, 16 Oct 2005 17:32:13 -0800 Tim Johnson wrote:
> 
> > Can anyone tell me if there is an elisp function that
> > determines whether the cursor is on the beginning of a
> > word (ie, bolp or char-before point equals whitespace))?
> 
> (looking-at "\\<")
 
  Aha! Of course.
  thanks
  tj


-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

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

end of thread, other threads:[~2005-10-17  3:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.11555.1129512333.20277.help-gnu-emacs@gnu.org>
2005-10-17  1:53 ` Beginning of Word Predicate David Hansen
2005-10-17  3:16   ` Tim Johnson
2005-10-17  1:32 Tim Johnson

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.