|
From: | Kevin Rodgers |
Subject: | Re: word complete goes to far |
Date: | Thu, 24 Jul 2003 09:12:56 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |