[Top][All Lists]

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

Re: elisp question - hungry backspaces

From: David Hansen
Subject: Re: elisp question - hungry backspaces
Date: Sat, 24 May 2008 06:11:26 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Fri, 23 May 2008 11:41:50 -0700 (PDT) Clemenceau wrote:

> I'm writing an emacs major mode, and want to implement a hungry-delete
> feature, much like the one c++-mode has. I've written the handler function,
> which tells if the previous character is a space/tab or a real character,
> and acts accordingly.
> However... 
> I'm having problems with deleting a marked region. I'm using
> pc-selection-mode, and want the function to give priority to deleting a
> region if one has been marked, before doing a hungry or 1-character
> deletion. 

Why do you want to overwrite emacs standard behavior in the first place?

There already is:



reply via email to

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