Gnus development mailing list
 help / color / mirror / Atom feed
* completion-ignore-case
@ 2003-11-11  7:21 Katsumi Yamaoka
  2003-11-11 11:38 ` completion-ignore-case Reiner Steib
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2003-11-11  7:21 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

Hi,

The following one-line patch is very useful to me.  It makes it
easy to complete group names containing uppercase letters when
copying or moving articles.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 523 bytes --]

--- gnus-util.el~	2003-10-20 22:49:49 +0000
+++ gnus-util.el	2003-11-11 07:18:44 +0000
@@ -317,10 +317,11 @@
 (defun gnus-completing-read-with-default (default prompt &rest args)
   ;; Like `completing-read', except that DEFAULT is the default argument.
   (let* ((prompt (if default
 		     (concat prompt " (default " default ") ")
 		   (concat prompt " ")))
+	 (completion-ignore-case t)
 	 (answer (apply 'completing-read prompt args)))
     (if (or (null answer) (zerop (length answer)))
 	default
       answer)))
 

[-- Attachment #3: Type: text/plain, Size: 118 bytes --]


I think it is harmless to all users and wish to commit to Gnus
CVS.  Opinions?
-- 
Katsumi Yamaoka <yamaoka@jpl.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-11 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11  7:21 completion-ignore-case Katsumi Yamaoka
2003-11-11 11:38 ` completion-ignore-case Reiner Steib
2003-11-11 12:02   ` completion-ignore-case Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).