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

* Re: completion-ignore-case
  2003-11-11  7:21 completion-ignore-case Katsumi Yamaoka
@ 2003-11-11 11:38 ` Reiner Steib
  2003-11-11 12:02   ` completion-ignore-case Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2003-11-11 11:38 UTC (permalink / raw)


On Tue, Nov 11 2003, Katsumi Yamaoka wrote:

[ Set `completion-ignore-case' to t in `gnus-completing-read-with-default' ]
> I think it is harmless to all users and wish to commit to Gnus
> CVS.  Opinions?

If you want to install it[1], please make it customizable somehow.  I
have organized my mail groups using Firstname.Lastname for persons and
e.g. misc.foo (lists.baz, ...) for other stuff.  When I hit `M TAB', I
expect to see persons who's first name starts with "M" rather than
"misc.*".

[1] Couldn't you advise `gnus-completing-read-with-default'?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




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

* Re: completion-ignore-case
  2003-11-11 11:38 ` completion-ignore-case Reiner Steib
@ 2003-11-11 12:02   ` Katsumi Yamaoka
  0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2003-11-11 12:02 UTC (permalink / raw)


>>>>> In <v91xsf16ez.fsf@marauder.physik.uni-ulm.de>
>>>>>	Reiner Steib <4.uce.03.r.s@nurfuerspam.de> wrote:

> On Tue, Nov 11 2003, Katsumi Yamaoka wrote:

> [ Set `completion-ignore-case' to t in `gnus-completing-read-with-default' ]
>> I think it is harmless to all users and wish to commit to Gnus
>> CVS.  Opinions?

> If you want to install it[1], please make it customizable somehow.  I
> have organized my mail groups using Firstname.Lastname for persons and
> e.g. misc.foo (lists.baz, ...) for other stuff.  When I hit `M TAB', I
> expect to see persons who's first name starts with "M" rather than
> "misc.*".

I see!  Ignoring case will force inconvenience to those who are
using uppercase letters for the special groups.  Thank you for
making me notice it.

> [1] Couldn't you advise `gnus-completing-read-with-default'?

It's possible, however it may be enough to me just to set
completion-ignore-case to t. :)  Anyway, I withdraw the proposal.

Regards,
-- 
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).