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

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

Re: hungry-delete in latex mode


From: Stefan Monnier
Subject: Re: hungry-delete in latex mode
Date: 28 May 2003 16:12:25 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Sam" == Sam Halliday <devnull@example.com> writes:
> there seems to be a lot written about this on the web, and in the
> archives, but i wasnt able to find an answer. basically i would like to
> be able to get the c-hungry-delete-key working for latex mode (and i
> might consider all text modes as well). i have tried rebinding keys to
> issue 'c-electric-backspace, but thats is not going to work since it
> isnt defined but in c-mode.

For deletion backward, just rebind your DEL key and set the var:

  (setq backward-delete-char-untabify-method
        <check-the-var's-documentation-to-see-what-value-you-want-to-use>)
  (global-set-key "\C-?" 'backward-delete-char-untabify)


-- Stefan


reply via email to

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