emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Michaël Cadilhac] Info `i' bug with partial-completion-mode.


From: Michaël Cadilhac
Subject: [Michaël Cadilhac] Info `i' bug with partial-completion-mode.
Date: Wed, 06 Sep 2006 09:30:55 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

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
`----

--- Begin Message --- 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 --'                                   -  --'

Attachment: pgpehYdYOGZZ3.pgp
Description: PGP signature

_______________________________________________
Emacs-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-devel

--- End Message ---
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: address@hidden --'       -- Zero Wings               -  --'

Attachment: pgpkBkjskiiK_.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]