help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to define delimiter ?


From: harven
Subject: Re: how to define delimiter ?
Date: Tue, 16 Sep 2008 01:50:25 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]