all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 18093@debbugs.gnu.org
Subject: bug#18093: 24.4.50; `delsel.el' fixes for use with `completion.el'
Date: Sat, 23 Jan 2021 22:55:01 +0100	[thread overview]
Message-ID: <8735yrtj2i.fsf@gnus.org> (raw)
In-Reply-To: <592101d8-bb6f-4ee3-ae58-e28f0126f09a@default> (Drew Adams's message of "Wed, 23 Jul 2014 13:58:43 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> `delsel.el' should be updated to play well with library `completion.el'.
> The following should be done (or equivalent):
>
> 1.
> (put 'completion-separator-self-insert-command 'delete-selection t)
> (put 'completion-separator-self-insert-autofilling 'delete-selection t)
>
> 2. If `last-command' is `complete' and `this-command' has
> `delete-selection' property `supersede' or `kill', replace the last
> inserted completion with the string that was completed.
>
> (defun delete-active-region (&optional killp)
>   (cond ((and (eq last-command 'complete) ; See `completion.el'.
>               (boundp 'cmpl-last-insert-location))

(I'm going through old bug reports that unfortunately got no response at
the time.)

As far as I can tell, 1) doesn't exist any more, and I'm not quite sure
I understand 2) (I've never used delsel mode).

Is this something that still needs work, or has what this bug report is
about been fixed in the years since it was filed?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-23 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 20:58 bug#18093: 24.4.50; `delsel.el' fixes for use with `completion.el' Drew Adams
2021-01-23 21:55 ` Lars Ingebrigtsen [this message]
2021-01-24  0:52   ` bug#18093: [External] : " Drew Adams
2021-01-25 23:57     ` Lars Ingebrigtsen
2021-01-26  2:00       ` Drew Adams
2021-01-26  2:07         ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=8735yrtj2i.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=18093@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.