Hello, The attached patch enables completion at the `gid' prompt in Emacs.
Thanks, Ludo'.
From d2e77ebe50f707e6cdd5f7e0221e9bac379654a8 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <l...@gnu.org> Date: Fri, 27 Feb 2009 10:43:25 +0100 Subject: [PATCH] Elisp: Use `read-shell-command' in `gid'. * lisp/idutils.el (gid): Use `read-shell-command' instead of `read-string', to allow for completion. --- lisp/idutils.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/idutils.el b/lisp/idutils.el index cc40ed5..643a825 100644 --- a/lisp/idutils.el +++ b/lisp/idutils.el @@ -1,5 +1,5 @@ ;;; idutils.el --- emacs interface to `lid -R grep', a.k.a. `gid' -;;; Copyright (C) 1995, 1996, 2006-2008 Free Software Foundation, Inc. +;;; Copyright (C) 1995, 1996, 2006-2009 Free Software Foundation, Inc. ;;; Greg McGary <g...@gnu.ai.mit.edu>. ;; This file is part of GNU idutils. @@ -51,7 +51,7 @@ While gid runs asynchronously, you can use the \\[next-error] command to find the text that gid hits refer to. The command actually run is defined by the gid-command variable." - (interactive (list (read-string + (interactive (list (read-shell-command (concat "Run " gid-command " (with args): ") (thing-at-point 'symbol)))) (let (compile-command (compilation-error-regexp-alist grep-regexp-alist) -- 1.6.0.4
pgpHFGW9nDlcq.pgp
Description: PGP signature
_______________________________________________ bug-idutils mailing list bug-idutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-idutils