* [Michaël Cadilhac] Info `i' bug with partial-completion-mode.
@ 2006-09-06 7:30 Michaël Cadilhac
0 siblings, 0 replies; only message in thread
From: Michaël Cadilhac @ 2006-09-06 7:30 UTC (permalink / raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 406 bytes --]
I don't think this patch has been applied nor reviewed.
The good recipe for the bug is:
,----
| emacs -Q
| M-x partial-completion-mode RET
| M-x info RET
| m emacs RET
| i emacs <TAB> (Okey, good)
| Add a space and then <TAB> again. The expected entries are not
| displayed:
|
| EMACS environment variable Emacs as a server
| Emacs icon, a gnu Emacs initialization file
`----
[-- Attachment #1.1.2: Type: message/rfc822, Size: 7509 bytes --]
From: michael.cadilhac@lrde.org (=3D?iso-8859-1?Q?Micha=3DEBl?=3D Cadilhac)
To: emacs-devel@gnu.org
AEU
CQQzGAtiq7gjAAACR0lEQVQ4jW2UzW7lIAyFzVW8BzTZX5DmCZLuU2H2pMXv/ypzbK7aSh2kRC=
Rf
/HNsE0q7Sg+RQ7JFKaqtrRNAl5AIIKe6D5DBqgbmUAe5hBI1wIRFAHjeM0RKtZi7XVVEpb0BSN=
fA
IddChChT5DildSLWOWhY5IEItMnncZgFcUAc/5jjwCMsDosRNdfKPDTFEdVBW8C+RebDb4N5Or=
io
RhM1+11IJyx0ng2+LryFHBMPDQDYHrY6IfGuU3ouiXTQNE8LIJDKOWpNxERTFrggQwRPd7USUs=
TW
fJ0XbR3bdj5KgBYy4SACpxDeUYEUAzLmtJ1iIrD2gczPq8Qomjhsh/RjGIgKIO8p7NITjwlx7W=
ID
nsnQe5NeuTvoBpi8LX6vLLOh5icjOHqBypgnuSp7M+RE1agbQKHQr5E2z1WObhYW4gMqeGQL7j=
oM
jCf2DxSk5ApADSYHfFF4igNfJZL1z0GKP0FN02s4XiDXr7V5P94W6I9v8MfBOQDmfwAaVYt+x8=
Da
v4DJvX8BAdin3Knm5yMZYAO4ABDkDniZLLfi4P40gP1F0TPGZOu0CGwA1lcowxwlGy6A9705mD=
0V
jHCxwVZT/hYdRJVUGZNlx6l7ScQBTluof6Wj6bsPYlvpwoTvXFD9gHPn2TZPF3ntI2ecxVrW5M=
rV
XiCie5EeNa7BlWu/HNSkprDUva163PHxAv5jyGV7gVzyAghSKOTnat85UIYFICXbD2NV9rRiv0=
BS
tKQsg6OHH4A15F1WW+UHKHHa32h6aPnAm3/pUcWp+WYnTQAAAABJRU5ErkJggg=3D=3D
Date: Mon, 17 Jul 2006 13:41:21 +0200
Message-ID: <87k66cjw66.fsf@lrde.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)
MIME-Version: 1.0
Subject: Info `i' bug with partial-completion-mode.
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
<mailto:emacs-devel-request@gnu.org?subject=3Dunsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=3Dhelp>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
<mailto:emacs-devel-request@gnu.org?subject=3Dsubscribe>
Content-Type: multipart/mixed; boundary=3D"=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D1653887905=3D=3D"
Sender: emacs-devel-bounces+micha=3Dlrde.epita.fr@gnu.org
Errors-To: emacs-devel-bounces+micha=3Dlrde.epita.fr@gnu.org
X-Virus-Scanned: by amavisd-new-20030616-p10 (kuala) at LRDE
=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1653887905=3D=3D
Content-Type: multipart/signed; boundary=3D"=3D=3D-=3D-=3D";
micalg=3Dpgp-sha1; protocol=3D"application/pgp-signature"
=2D-=3D=3D-=3D-=3D
Content-Type: multipart/mixed; boundary=3D"=3D-=3D-=3D"
=2D-=3D-=3D-=3D
A small bug. Recipe:
emacs -Q
M-x info RET
m elisp RET
i emacs TAB
Now, the point will go back to the beginning of the line, instead of
staying at the end, proposing L, ' ', - to distinguish the input.
It's just due to the fact that the completion mechanism doesn't know
that the search is case insensitive.
Patch proposal follows.
=2D-=3D-=3D-=3D
Content-Type: text/x-patch; charset=3Diso-8859-1
Content-Disposition: inline; filename=3Dinfo.patch
Content-Transfer-Encoding: quoted-printable
Index: ChangeLog
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.9820
diff -c -r1.9820 ChangeLog
*** ChangeLog 17 Jul 2006 04:07:48 -0000 1.9820
=3D2D-- ChangeLog 17 Jul 2006 11:36:57 -0000
***************
*** 1,3 ****
=3D2D-- 1,7 ----
+ 2006-07-17 Micha=3DEBl Cadilhac <michael.cadilhac@lrde.org>
+=3D20
+ * info.el (Info-index): Bind `completion-ignore-case' to t.
+=3D20
2006-07-17 Chong Yidong <cyd@stupidchicken.com>
=3D20=3D20
* progmodes/compile.el (compilation-mode-font-lock-keywords):
Index: info.el
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D
RCS file: /sources/emacs/emacs/lisp/info.el,v
retrieving revision 1.488
diff -c -r1.488 info.el
*** info.el 12 Jul 2006 16:04:46 -0000 1.488
=3D2D-- info.el 17 Jul 2006 11:36:57 -0000
***************
*** 2792,2798 ****
Give an empty topic name to go to the Index node itself."
(interactive
(list
! (let ((Info-complete-menu-buffer (clone-buffer))
(Info-complete-nodes (Info-index-nodes))
(Info-history-list nil))
(if (equal Info-current-file "dir")
=3D2D-- 2792,2799 ----
Give an empty topic name to go to the Index node itself."
(interactive
(list
! (let ((completion-ignore-case t)
! (Info-complete-menu-buffer (clone-buffer))
(Info-complete-nodes (Info-index-nodes))
(Info-history-list nil))
(if (equal Info-current-file "dir")
=2D-=3D-=3D-=3D
Content-Type: text/plain; charset=3Diso-8859-1
Content-Transfer-Encoding: quoted-printable
=3D2D-=3D20
| Micha=3DEBl `Micha' Cadilhac | Un certain Blaise Pascal =
=3D
|
| Epita/LRDE Promo 2007 | etc... etc... =
=3D
|
| http://www.lrde.org/~cadilh_m | -- Pr=3DE9vert (Les paris stupides) =
=3D
|
`-- - JID: micha@amessage.be --' - -=
=3D
=2D'
=2D-=3D-=3D-=3D--
=2D-=3D=3D-=3D-=3D
Content-Type: application/pgp-signature
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEu3dhZYNf4qobZ7kRAjzYAKCbSe5A6aWv+E5fUeeTUbd5weagKACgiv89
aaHyen1aibpaVKofsEiuiLU=3D
=3D7+w/
=2D----END PGP SIGNATURE-----
=2D-=3D=3D-=3D-=3D--
=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1653887905=3D=3D
Content-Type: text/plain; charset=3D"us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
=2D-=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1653887905=3D=3D--
[-- Attachment #1.1.3: Type: text/plain, Size: 334 bytes --]
Thanks.
--
| Michaël `Micha' Cadilhac | All your base are belong to us. |
| Epita/LRDE Promo 2007 | You have no change to survive |
| http://www.lrde.org/~cadilh_m | make your time, hahaha. |
`-- - JID: micha@amessage.be --' -- Zero Wings - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-06 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 7:30 [Michaël Cadilhac] Info `i' bug with partial-completion-mode Michaël Cadilhac
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.