[Top][All Lists]

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

bug#1224: [PATCH] user/group name completion

From: Juri Linkov
Subject: bug#1224: [PATCH] user/group name completion
Date: Sun, 12 Jul 2009 23:35:43 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

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

The other part of the patch is useful for completions of "O" and "G"
in Dired.  If you decide to install the other part of the patch
please use better function names.  Since most user-related functions
in Emacs begin with the "user-" prefix (e.g. `user-real-login-name',
`user-original-login-name'), I think a better name would be `user-list'
for users, and `group-list' for groups.  These names are also consistent
with `buffer-list', `process-list', etc.

Juri Linkov

reply via email to

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