[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Info `i' bug with partial-completion-mode.
From: |
Michaël Cadilhac |
Subject: |
Info `i' bug with partial-completion-mode. |
Date: |
Mon, 17 Jul 2006 13:41:21 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
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.
Index: ChangeLog
===================================================================
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
--- ChangeLog 17 Jul 2006 11:36:57 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2006-07-17 Michaël Cadilhac <address@hidden>
+
+ * info.el (Info-index): Bind `completion-ignore-case' to t.
+
2006-07-17 Chong Yidong <address@hidden>
* progmodes/compile.el (compilation-mode-font-lock-keywords):
Index: info.el
===================================================================
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
--- 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")
--- 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")
--
| Michaël `Micha' Cadilhac | Un certain Blaise Pascal |
| Epita/LRDE Promo 2007 | etc... etc... |
| http://www.lrde.org/~cadilh_m | -- Prévert (Les paris stupides) |
`-- - JID: address@hidden --' - --'
pgpdXahIXyVgc.pgp
Description: PGP signature
- Info `i' bug with partial-completion-mode.,
Michaël Cadilhac <=