From: michael.cadilhac@lrde.org (Michaël Cadilhac)
Subject: Info `i' bug with partial-completion-mode.
Date: Mon, 17 Jul 2006 13:41:21 +0200 [thread overview]
Message-ID: <87k66cjw66.fsf@lrde.org> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 340 bytes --]
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.
[-- Attachment #1.1.2: info.patch --]
[-- Type: text/x-patch, Size: 1484 bytes --]
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 <michael.cadilhac@lrde.org>
+
+ * info.el (Info-index): Bind `completion-ignore-case' to t.
+
2006-07-17 Chong Yidong <cyd@stupidchicken.com>
* 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")
[-- Attachment #1.1.3: Type: text/plain, Size: 323 bytes --]
--
| 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: micha@amessage.be --' - --'
[-- 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
next reply other threads:[~2006-07-17 11:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-17 11:41 Michaël Cadilhac [this message]
2006-07-17 11:55 ` Info `i' bug with partial-completion-mode Mathias Dahl
2006-07-17 12:12 ` Michaël Cadilhac
2006-07-17 13:05 ` Mathias Dahl
2006-07-17 15:27 ` Michaël Cadilhac
2006-07-18 8:03 ` Mathias Dahl
2006-07-29 12:07 ` Michaël Cadilhac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k66cjw66.fsf@lrde.org \
--to=michael.cadilhac@lrde.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.