X-Loop: help-debbugs@HIDDEN Subject: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 17 Jun 2019 10:18:02 +0000 Resent-Message-ID: <handler.36260.B.156076665318867 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 36260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 36260 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.156076665318867 (code B ref -1); Mon, 17 Jun 2019 10:18:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hcohh-0004uE-8f for submit <at> 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 <larsi@HIDDEN>) id 1hcohf-0004u6-94 for submit <at> 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 <larsi@HIDDEN>) id 1hcohV-0004mA-1K for bug-gnu-emacs@HIDDEN; 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 <larsi@HIDDEN>) id 1hcohM-0002Jx-Cj for bug-gnu-emacs@HIDDEN; 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 <larsi@HIDDEN>) id 1hcohL-0002Hu-OP for bug-gnu-emacs@HIDDEN; 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 <larsi@HIDDEN>) id 1hcohF-0003eU-O1 for bug-gnu-emacs@HIDDEN; Mon, 17 Jun 2019 12:17:08 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> Date: Mon, 17 Jun 2019 12:17:05 +0200 Message-ID: <m3o92wecta.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: bug#36260: Acknowledgement (27.0.50; isearchb should be reimplemented without iswitchb) Message-ID: <handler.36260.B.156076665318867.ack <at> debbugs.gnu.org> References: <m3o92wecta.fsf@HIDDEN> X-Gnu-PR-Message: ack 36260 X-Gnu-PR-Package: emacs Reply-To: 36260 <at> debbugs.gnu.org Date: Mon, 17 Jun 2019 10:18:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 36260 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 36260: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36260 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb Resent-From: Richard Stallman <rms@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 18 Jun 2019 02:57:02 +0000 Resent-Message-ID: <handler.36260.B36260.15608265796317 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 36260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 36260 <at> debbugs.gnu.org Reply-To: rms@HIDDEN Received: via spool by 36260-submit <at> debbugs.gnu.org id=B36260.15608265796317 (code B ref 36260); Tue, 18 Jun 2019 02:57:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hd4IF-0001dp-9F for submit <at> 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 <rms@HIDDEN>) id 1hd4ID-0001dc-0t for 36260 <at> 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 <rms@HIDDEN>) 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 <rms@HIDDEN>) id 1hd4I0-00075P-GI; Mon, 17 Jun 2019 22:56:05 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> In-Reply-To: <m3o92wecta.fsf@HIDDEN> (message from Lars Ingebrigtsen on Mon, 17 Jun 2019 12:17:05 +0200) References: <m3o92wecta.fsf@HIDDEN> Message-Id: <E1hd4I0-00075P-GI@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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)
X-Loop: help-debbugs@HIDDEN Subject: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 22 Jun 2019 11:53:01 +0000 Resent-Message-ID: <handler.36260.B36260.15612043677764 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 36260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Richard Stallman <rms@HIDDEN> Cc: 36260 <at> debbugs.gnu.org Received: via spool by 36260-submit <at> debbugs.gnu.org id=B36260.15612043677764 (code B ref 36260); Sat, 22 Jun 2019 11:53:01 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1heeZa-00021A-Qm for submit <at> 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 <larsi@HIDDEN>) id 1heeZZ-000212-Hx for 36260 <at> 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 <larsi@HIDDEN>) id 1heeZV-0005SU-90; Sat, 22 Jun 2019 13:52:44 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <m3o92wecta.fsf@HIDDEN> <E1hd4I0-00075P-GI@HIDDEN> Date: Sat, 22 Jun 2019 13:52:41 +0200 In-Reply-To: <E1hd4I0-00075P-GI@HIDDEN> (Richard Stallman's message of "Mon, 17 Jun 2019 22:56:04 -0400") Message-ID: <m336k1hm5y.fsf@HIDDEN> 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 <rms@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Richard Stallman <rms@HIDDEN> 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
X-Loop: help-debbugs@HIDDEN Subject: bug#36260: 27.0.50; isearchb should be reimplemented without iswitchb Resent-From: Richard Stallman <rms@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 23 Jun 2019 02:53:02 +0000 Resent-Message-ID: <handler.36260.B36260.156125833821161 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 36260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 36260 <at> debbugs.gnu.org Reply-To: rms@HIDDEN Received: via spool by 36260-submit <at> debbugs.gnu.org id=B36260.156125833821161 (code B ref 36260); Sun, 23 Jun 2019 02:53:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hesc6-0005VF-Fs for submit <at> 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 <rms@HIDDEN>) id 1hesc4-0005V2-Bf for 36260 <at> 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 <rms@HIDDEN>) 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 <rms@HIDDEN>) id 1hesby-0004z9-BC; Sat, 22 Jun 2019 22:52:10 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> In-Reply-To: <m336k1hm5y.fsf@HIDDEN> (message from Lars Ingebrigtsen on Sat, 22 Jun 2019 13:52:41 +0200) References: <m3o92wecta.fsf@HIDDEN> <E1hd4I0-00075P-GI@HIDDEN> <m336k1hm5y.fsf@HIDDEN> Message-Id: <E1hesby-0004z9-BC@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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)
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.