From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 06:17:33 2019 Received: (at submit) by debbugs.gnu.org; 17 Jun 2019 10:17:33 +0000 Received: from localhost ([127.0.0.1]:42015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcohh-0004uE-8f for submit@debbugs.gnu.org; Mon, 17 Jun 2019 06:17:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:49882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcohf-0004u6-94 for submit@debbugs.gnu.org; Mon, 17 Jun 2019 06:17:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37400) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcohV-0004mA-1K for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 06:17:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcohM-0002Jx-Cj for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 06:17:15 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcohL-0002Hu-OP for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 06:17:12 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcohF-0003eU-O1 for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 12:17:08 +0200 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 27.0.50; isearchb should be reimplemented without iswitchb Date: Mon, 17 Jun 2019 12:17:05 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) iswitchb is an obsolete package, but isearchb is implemented on top of it. It should be possible to reimplement it on top of any of the un-obsoleted completion packages (like ido), but it's a complete reimplementation: 41 matches in 36 lines for "iswitchb" in buffer: isearchb.el 1:;;; isearchb --- a marriage between iswitchb and isearch 30:;; iswitchb! It is not intended to replace it, however, as it works 37:;; employed by iswitchb). To use it this way, add to your .emacs: 59:;; iswitchb, using the prefix you've typed so far. This is handy when 75:;; killing iswitchb.el and then trying to switch back is broken 80:(require 'iswitchb) ;FIXME: Don't rely on iswitchb! 84: :group 'iswitchb) 116:(defun isearchb-iswitchb () 117: "isearchb's custom version of the `iswitchb' command. 119:`iswitchb-read-buffer'." 122: (iswitchb-method 'samewindow) 123: (buf (iswitchb-read-buffer prompt nil nil nil iswitchb-text t))) 124: (if (eq iswitchb-exit 'findfile) 129: (iswitchb-visit-buffer buf) 131: (iswitchb-possible-new-buffer buf)))))) 137: (setq iswitchb-text nil)) 138: (unless iswitchb-text 139: (setq iswitchb-text "") 140: (iswitchb-make-buflist nil)) 142: (setq iswitchb-rescan t 143: iswitchb-text (concat iswitchb-text 146: (iswitchb-set-matches) 147: (let* ((match (car iswitchb-matches)) 152: (isearchb-iswitchb)) 155: (message "isearchb: %s%s" iswitchb-text 156: (iswitchb-completions iswitchb-text)) 157: (if (= 1 (length iswitchb-matches)) 158: (message "isearchb: %s (only match)" iswitchb-text) 159: (message "isearchb: %s" iswitchb-text)))))) 178: (setq iswitchb-text 179: (substring iswitchb-text 0 (1- (length iswitchb-text)))) 180: (if (= 0 (length iswitchb-text)) 185: (setq this-command 'isearchb-iswitchb)) 187: (iswitchb-next-match) 191: (iswitchb-prev-match) 222: (setq iswitchb-text nil In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2019-06-16 built on stories Repository revision: a1508e8d2db0003fafb53ae51ed1104ba957db6b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.11902000 System Description: Debian GNU/Linux 9 (stretch) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 22:56:19 2019 Received: (at 36260) by debbugs.gnu.org; 18 Jun 2019 02:56:19 +0000 Received: from localhost ([127.0.0.1]:43562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hd4IF-0001dp-9F for submit@debbugs.gnu.org; Mon, 17 Jun 2019 22:56:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hd4ID-0001dc-0t for 36260@debbugs.gnu.org; Mon, 17 Jun 2019 22:56:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hd4I7-0001GF-On; Mon, 17 Jun 2019 22:56:11 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hd4I0-00075P-GI; Mon, 17 Jun 2019 22:56:05 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: (message from Lars Ingebrigtsen on Mon, 17 Jun 2019 12:17:05 +0200) Subject: Re: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb References: Message-Id: Date: Mon, 17 Jun 2019 22:56:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36260 Cc: 36260@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > iswitchb is an obsolete package, but isearchb is implemented on top of > it. It should be possible to reimplement it on top of any of the > un-obsoleted completion packages (like ido), but it's a complete > reimplementation: We could declare isearchb obsolete. We could declare iswitchb not obsolete. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 22 07:52:47 2019 Received: (at 36260) by debbugs.gnu.org; 22 Jun 2019 11:52:47 +0000 Received: from localhost ([127.0.0.1]:51034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heeZa-00021A-Qm for submit@debbugs.gnu.org; Sat, 22 Jun 2019 07:52:47 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heeZZ-000212-Hx for 36260@debbugs.gnu.org; Sat, 22 Jun 2019 07:52:45 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1heeZV-0005SU-90; Sat, 22 Jun 2019 13:52:44 +0200 From: Lars Ingebrigtsen To: Richard Stallman Subject: Re: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb References: Date: Sat, 22 Jun 2019 13:52:41 +0200 In-Reply-To: (Richard Stallman's message of "Mon, 17 Jun 2019 22:56:04 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Richard Stallman writes: > > iswitchb is an obsolete package, but isearchb is implemented on top of > > it. It should be possible to reimplement it on top of any of the > > un-obsoleted completion packages (like ido), but it' [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36260 Cc: 36260@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Stallman writes: > > iswitchb is an obsolete package, but isearchb is implemented on top of > > it. It should be possible to reimplement it on top of any of the > > un-obsoleted completion packages (like ido), but it's a complete > > reimplementation: > > We could declare isearchb obsolete. > We could declare iswitchb not obsolete. Yup; those are also solutions, but apparently the maintainers think that iswitchb isn't very useful anymore, but people still use isearchb, apparently. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 22 22:52:18 2019 Received: (at 36260) by debbugs.gnu.org; 23 Jun 2019 02:52:18 +0000 Received: from localhost ([127.0.0.1]:52769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hesc6-0005VF-Fs for submit@debbugs.gnu.org; Sat, 22 Jun 2019 22:52:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hesc4-0005V2-Bf for 36260@debbugs.gnu.org; Sat, 22 Jun 2019 22:52:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hesbz-0004R5-5d; Sat, 22 Jun 2019 22:52:11 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hesby-0004z9-BC; Sat, 22 Jun 2019 22:52:10 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Lars Ingebrigtsen In-Reply-To: (message from Lars Ingebrigtsen on Sat, 22 Jun 2019 13:52:41 +0200) Subject: Re: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb References: Message-Id: Date: Sat, 22 Jun 2019 22:52:10 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36260 Cc: 36260@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Yup; those are also solutions, but apparently the maintainers think that > iswitchb isn't very useful anymore, but people still use isearchb, > apparently. It seems that iswitchb is still useful for one thing: running isearchb. Thus, in fact it is not obsolete. I suggest de-obsoleting iswitchb, unless and until someone fixes isearchb not to use it any more. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 15:20:50 2021 Received: (at 36260) by debbugs.gnu.org; 3 Oct 2021 19:20:51 +0000 Received: from localhost ([127.0.0.1]:35002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mX72W-0000EK-Si for submit@debbugs.gnu.org; Sun, 03 Oct 2021 15:20:50 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:38631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mX72H-0000Du-2t for 36260@debbugs.gnu.org; Sun, 03 Oct 2021 15:20:47 -0400 Received: by mail-pl1-f176.google.com with SMTP id x4so9670626pln.5 for <36260@debbugs.gnu.org>; Sun, 03 Oct 2021 12:20:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=a3aerygiBODKW9suYKNngcQXVpNMA2YmImdBqCUbx1o=; b=Ov7/0b/7jwYJOSPnsChGCSDyydH9n5S+JTqOW+udKt29Q1wuhXfxXZMGDvS8tboGGF 6I90KexqB5ZWOb/PNvU0X6sxb5bjZySUe5TcOZ0UY5WUMw6mtijoAdLuYSjcWlV1vfAU PA5yIRvuQI2BZf0ggfvpyAWRnGolNklsTCql1V4A7Nn82whapjjkeea0nV4aA0QXoJ0M U4QSEWGylutpzgD4GUZSyo/DtQAoPopeCVsw3wMoOsP3Ve+eukNtT04nMMKR83aO3KnU rjx3tvnaRkBp3lJI5Rt5grAhlMEEIy5AoLE9MXq8atIchV7LuBKsLvbgVw6+89pjEYa+ GUQA== X-Gm-Message-State: AOAM531Ihxr15ByzAX9ccQK7wGv0iwen55pyQZplbzMr3A8qJp/LiEab YY6jk9aYXOedeFNCG6BiSe82OXcg1U3WW40RUCo= X-Google-Smtp-Source: ABdhPJwjCzrOEtxpVvuneJwFc4cv9YRU34S2kblLF6dJLnsDEl9kAsHJmC16R+Uo4V1TV+LinD/ovcze6AYT0wOsg24= X-Received: by 2002:a17:902:c1c5:b0:13e:2e1e:aaa4 with SMTP id c5-20020a170902c1c500b0013e2e1eaaa4mr19980714plc.32.1633288827230; Sun, 03 Oct 2021 12:20:27 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Oct 2021 19:20:26 +0000 From: Stefan Kangas In-Reply-To: (Richard Stallman's message of "Sat, 22 Jun 2019 22:52:10 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 3 Oct 2021 19:20:26 +0000 Message-ID: Subject: Re: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb To: Richard Stallman Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 36260 Cc: Lars Ingebrigtsen , 36260@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Richard Stallman writes: > > Yup; those are also solutions, but apparently the maintainers think that > > iswitchb isn't very useful anymore, but people still use isearchb, > > apparently. > > It seems that iswitchb is still useful for one thing: running isearchb. > Thus, in fact it is not obsolete. > > I suggest de-obsoleting iswitchb, unless and until someone > fixes isearchb not to use it any more. We can just leave iswitchb as obsolete until isearchb is re-implemented to not need it. Even if we have to wait for a very long time for that to happen, it costs us little, and will discourage anyone from building new functionality on top of iswitchb. IOW, there is no need to delete it "now" just because we said that we will delete it "at some point". We can just postpone its deletion. That's what we already do with fastlock.el and lazylock.el.