unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@jurta.org>
Cc: 13312@debbugs.gnu.org
Subject: bug#13312: 24.3.50; delete selection mode not killing on overwrite
Date: Sat, 19 Oct 2013 14:18:06 -0700 (PDT)	[thread overview]
Message-ID: <55ff4a98-377d-4831-91c4-22281a40a830@default> (raw)
In-Reply-To: <87wql9c6jl.fsf@mail.jurta.org>

> > Isn't there a better way?
> 
> I think (run-hook-with-args-until-success 'self-insert-uses-region-
> functions) could be moved to the body of `delete-selection-helper'.
> Then the users again will enjoy the simplicity of
>     (put 'self-insert-command 'delete-selection t)
> and (put 'self-insert-command 'delete-selection 'kill)

That sounds good.  Thank you, Juri.  I didn't check that things work
well with that change, but the description sounds right.

> The first hunk of my patch fixes the reported bug.

Please install that part, at least.  Not sure what the rest does,
but why not handle it as a separate bug fix?





  reply	other threads:[~2013-10-19 21:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30 23:58 bug#13312: 24.3.50; delete selection mode not killing on overwrite Tony Day
2012-12-31  1:29 ` Glenn Morris
2013-01-01  0:06   ` Tony Day
2013-01-03 17:10   ` Stefan Monnier
2013-10-19 14:44 ` Drew Adams
2013-10-19 15:28   ` Juri Linkov
2013-10-19 15:37     ` Drew Adams
2013-10-19 16:28       ` Juri Linkov
2013-10-19 17:42         ` Drew Adams
2013-10-19 21:08           ` Juri Linkov
2013-10-19 21:18             ` Drew Adams [this message]
2013-12-11  1:11         ` Juri Linkov

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=55ff4a98-377d-4831-91c4-22281a40a830@default \
    --to=drew.adams@oracle.com \
    --cc=13312@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /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).