unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

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