[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1224: [PATCH] user/group name completion
From: |
Chong Yidong |
Subject: |
bug#1224: [PATCH] user/group name completion |
Date: |
Sun, 12 Jul 2009 15:17:25 -0400 |
> Hello,
>
> this patch introduces a user/group name completion for
> 'call-interactively'. This feature may be used, for example, within
> 'dired-do-chown' and 'dired-do-chgrp' (although it should be extended
> to MS and MacOS systems first, BTW).
Hi Antipov, and sorry for the late response.
Thanks for writing this patch, but I'm afraid I have to turn it down. I
don't think user/group names are important enough for `interactive' code
letters, which are a scarce resource. You can handle them in Elisp,
instead, with an S-expression argument to interactive.
The other part of your patch, adding functions to the C code that call
getpwent and getgrent, may be useful. But I don't see the advantage
over parsing /etc/passwd or /etc/group manually (or calling a shell
command that does it).
- bug#1224: [PATCH] user/group name completion,
Chong Yidong <=