unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Mendler <mail@daniel-mendler.de>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 53897@debbugs.gnu.org
Subject: bug#53897: 28.0.91; regression: rcirc overwrites completion-cycle-threshold
Date: Mon, 14 Feb 2022 19:18:53 +0100	[thread overview]
Message-ID: <5525a90a-4613-cf73-a120-19862977d2d2@daniel-mendler.de> (raw)
In-Reply-To: <87bkz9co1d.fsf@posteo.net>

>>> I could imagine introducing a user option to decide what you want to
>>> use.  My inclination would be to set it to "cycle by default", but it
>>> doesn't need that way.  Perhaps we could test non-cycling (regular capf)
>>> for a while, and see if there are any complaints or other feedback?
>>
>> Yes, I would go with normal Capf behavior, which is the usual behavior
>> across all of Emacs. If a user wants to restore rcirc-complete, it seems
>> easy enough to add this to a user configuration?
>>
>> (defun rcirc-complete ()
>>   (interactive)
>>   (let ((completion-cycle-threshold t))
>>     (completion-at-point)))
> 
> Or, this could be added as rcirc-complete, binding TAB back to this new
> command and documenting that if you want to complete using the default
> CAPF, you should rebind it to completion-at-point?

That's an option too. But then you will still keep the old cruft around.
I would rather break backward compatibility here and document that
binding `completion-cycle-threshold=t` will restore the old behavior.
Most users will appreciate that a Capf is directly available, which is
more capable than `rcirc-complete`!

Daniel





  reply	other threads:[~2022-02-14 18:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 11:10 bug#53897: 28.0.91; regression: rcirc overwrites completion-cycle-threshold Daniel Mendler
2022-02-09 12:54 ` Philip Kaludercic
2022-02-09 14:18   ` Daniel Mendler
2022-02-14 18:15     ` Philip Kaludercic
2022-02-14 18:18       ` Daniel Mendler [this message]
2022-02-14 18:33         ` Philip Kaludercic
2022-04-15 15:14 ` Philip Kaludercic

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=5525a90a-4613-cf73-a120-19862977d2d2@daniel-mendler.de \
    --to=mail@daniel-mendler.de \
    --cc=53897@debbugs.gnu.org \
    --cc=philipk@posteo.net \
    /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).