GNU bug report logs -
#36260
27.0.50; isearchb should be reimplemented without iswitchb
Previous Next
To reply to this bug, email your comments to 36260 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36260
; Package
emacs
.
(Mon, 17 Jun 2019 10:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lars Ingebrigtsen <larsi <at> gnus.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 17 Jun 2019 10:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36260
; Package
emacs
.
(Tue, 18 Jun 2019 02:57:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36260 <at> debbugs.gnu.org (full text, mbox):
[[[ 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)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36260
; Package
emacs
.
(Sat, 22 Jun 2019 11:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 36260 <at> debbugs.gnu.org (full text, mbox):
Richard Stallman <rms <at> gnu.org> 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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36260
; Package
emacs
.
(Sun, 23 Jun 2019 02:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36260 <at> debbugs.gnu.org (full text, mbox):
[[[ 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)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36260
; Package
emacs
.
(Sun, 03 Oct 2021 19:21:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 36260 <at> debbugs.gnu.org (full text, mbox):
Richard Stallman <rms <at> gnu.org> 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.
This bug report was last modified 3 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.