From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: backward-delete-char-untabify-method Date: Sun, 8 Jun 2003 22:37:12 +0100 Organization: blueyonder (post doesn't reflect views of blueyonder) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030608223712.472b8285.devnull@example.com> References: <20030608190540.21c4890c.devnull@example.com> <5lbrx8e1rc.fsf@rum.cs.yale.edu> <20030608222213.4c8cfb4b.devnull@example.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1055108347 30553 80.91.224.249 (8 Jun 2003 21:39:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2003 21:39:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 08 23:39:06 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19P7sX-0007wd-00 for ; Sun, 08 Jun 2003 23:39:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19P7ty-00084K-1r for gnu-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2003 17:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-binary.blueyonder.co.uk.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: GNU/Linux Sylpheed Claws 0.9.0 Original-Lines: 21 Original-NNTP-Posting-Host: 82.41.203.107 Original-X-Complaints-To: abuse@blueyonder.co.uk Original-X-Trace: news-binary.blueyonder.co.uk 1055108232 82.41.203.107 (Sun, 08 Jun 2003 21:37:12 GMT) Original-NNTP-Posting-Date: Sun, 08 Jun 2003 21:37:12 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:114301 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10795 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10795 Sam Halliday wrote: > Stefan Monnier wrote: > > I think you'll have to make it from scratch (and a few other > > (defun sam-backspace () > wooah woah; im very new to elisp (and by exposure only) so you'll have > to be patient here... but from checking this out very quickly (one > indenting example)... it seems to do exactly what i am after!! thank > you very much Stefan :-D ok, this does not seem to be perfect just yet; it doesnt seem to work in elisp mode for example, but is doing as expected in LaTeX mode; especially if i keep my untabify-method=hungry. you can take as an example the function itself... go to the 13th line which begins "(zerop..." and type BACKSPACE there, i would expect it to delete back to just below "(while...", but instead backward-delete-char-untabify is being called. cheers, Sam