* how to define delimiter ? @ 2008-09-16 6:42 tomer 2008-09-16 8:50 ` Nikolaj Schumacher 2008-09-16 8:50 ` harven 0 siblings, 2 replies; 3+ messages in thread From: tomer @ 2008-09-16 6:42 UTC (permalink / raw) To: help-gnu-emacs sorry for the basic question. I want to remove the underscore as a delimiter. in other words characters concatanate with underscore will be define as single word. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to define delimiter ? 2008-09-16 6:42 how to define delimiter ? tomer @ 2008-09-16 8:50 ` Nikolaj Schumacher 2008-09-16 8:50 ` harven 1 sibling, 0 replies; 3+ messages in thread From: Nikolaj Schumacher @ 2008-09-16 8:50 UTC (permalink / raw) To: tomer; +Cc: help-gnu-emacs tomer <tomer1levin@walla.co.il> wrote: > sorry for the basic question. > I want to remove the underscore as a delimiter. in other words > characters concatanate with underscore will be define as single word. You'll need to use (modify-syntax-entry ?_ "w") in the mode hook. regards, Nikolaj Schumacher ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to define delimiter ? 2008-09-16 6:42 how to define delimiter ? tomer 2008-09-16 8:50 ` Nikolaj Schumacher @ 2008-09-16 8:50 ` harven 1 sibling, 0 replies; 3+ messages in thread From: harven @ 2008-09-16 8:50 UTC (permalink / raw) To: help-gnu-emacs On Sep 16, 8:42 am, tomer <tomer1le...@walla.co.il> wrote: > sorry for the basic question. > I want to remove the underscore as a delimiter. in other words > characters concatanate with underscore will be define as single word. This is done by modifying the syntax table. The syntax table depends on the editing mode. Putting the following line in your .emacs will treat the underscore as a word constituent in text-mode. (modify-syntax-entry ?_ "w" text-mode-syntax-table) You may want to have a look at the emacs wiki: http://www.emacswiki.org/cgi-bin/wiki/EmacsSyntaxTable ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-16 8:50 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-09-16 6:42 how to define delimiter ? tomer 2008-09-16 8:50 ` Nikolaj Schumacher 2008-09-16 8:50 ` harven
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).