I'm looking for a way to reduce what Emacs kills when I use backward-kill-word
.
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
{
if (PropertyChanged != null)
PropertyChanged(this, e);
}
If I'm editing the above code in Emacs and I place my cursor on the very last character (the }
) and I call backward-kill-word
, the entirety of e);
is killed, since Emacs only considers the e
to be a word.
Another example is if you place your cursor on the 'P' of PropertyChanged(this, e)
and call backward-kill-word
, the entirety of null)
before it is killed. The closed parenthesis is simply considered to not be a word.
My question is how I can eliminate this behavior. I want characters like )
, '
, }
, etc. to be treated as words by backward-kill-word
. This means that backward-kill-word
kills these characters are killed and the cursor replaces them, just how backward-kill-word
typically behaves for one-character-long words like e
. One possible solution I've thought of is to somehow edit what Emacs considers to be words and simply add the characters I want to the list. Regardless, thanks for the help!