[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: word complete goes to far
From: |
Leo |
Subject: |
Re: word complete goes to far |
Date: |
Fri, 25 Jul 2003 10:37:47 +1000 |
hi kevin
great! (modify-syntax-entry ?' ". " text-mode-syntax-table) works
fantastic and even in susequent modes like php, html, etc!
i'll keep you poseted how it stands more extensive tests!
cheers, leo
"Kevin Rodgers" <ihs_4664@yahoo.com> wrote in message
3F1FF778.4080808@yahoo.com">news:3F1FF778.4080808@yahoo.com...
> Leo wrote:
>
> > in isearch, when i use Ctrl-w to complete the search to the underlying
word,
> > emacs goes to far when there are quotes in voled:
> >
> > ig. in the text there is the quoted term 'Peter'. i place the cursor on
the
> > P and press Ctrl-s Ctrl-w. then emacs searches for peter' (note the
single
> > quote at the end!).
> >
> > that's not what i want.obviously i want to search just for peter.
> >
> > how can i tell that emacs?
>
> This is just a guess: tell Emacs that ' is a punctuation character, not a
>
> word constituent:
>
> (modify-syntax-entry ?' ". " text-mode-syntax-table)
>
> --
> Kevin Rodgers
>