unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: vibhavp@gmail.com
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master f469024: Use delete-char instead of delete-backward-char.
Date: Fri, 20 Mar 2015 01:51:33 +0530	[thread overview]
Message-ID: <87y4mszqk2.fsf@lenovog410.lan> (raw)
In-Reply-To: <jwvlhis3gg7.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Thu, 19 Mar 2015 16:04:59 -0400")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> FWIW, my suggestion to use call-interactively was just that:
> a suggestion.  I don't know this cperl's command well enough to know
> what should ideally be done.  It might even be that using delete-char
> really is The Right Thing.  Noone can know which is right before he/she
> looks at the function in enough detail to know how&when the various
> alternatives will behave differently (after which it's generally easy
> to figure out which one is best).
IIUC, the function is a cperl-mdoe local implementation of
delete-backward-char (bound to <backspace> for most fundamental
modes). It works similarly to c-electric-backspace, and manages
indentation and other language-specific stuff (I think).

Thanks, I've pushed the patch.
-- 
Vibhav Pant
vibhavp@gmail.com



  reply	other threads:[~2015-03-19 20:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150318194629.7043.70347@vcs.savannah.gnu.org>
     [not found] ` <E1YYJvB-0001qD-9d@vcs.savannah.gnu.org>
2015-03-19  3:18   ` [Emacs-diffs] master f469024: Use delete-char instead of delete-backward-char Stefan Monnier
2015-03-19  3:58     ` John Wiegley
2015-03-19  7:25       ` ChangeLogs Ivan Shmakov
2015-03-19 21:39         ` ChangeLogs Paul Eggert
2015-03-19  4:59     ` [Emacs-diffs] master f469024: Use delete-char instead of delete-backward-char Vibhav Pant
2015-03-19 18:48     ` vibhavp
2015-03-19 20:04       ` Stefan Monnier
2015-03-19 20:21         ` vibhavp [this message]
2015-03-19 20:57           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4mszqk2.fsf@lenovog410.lan \
    --to=vibhavp@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).