From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: feature request: indicator of minibuffer-recursion depth Date: Sat, 16 Jun 2007 01:47:13 +0200 Message-ID: References: <87hcp95lnf.fsf@kfs-lx.testafd.dk> <87sl8t4208.fsf@jurta.org> <87odjgyftq.fsf@jurta.org> <87r6ocss74.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181951249 7820 80.91.229.12 (15 Jun 2007 23:47:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 23:47:29 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, storm@cua.dk, miles@gnu.org To: "Juri Linkov" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 16 01:47:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HzLVj-0000ZZ-A4 for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 01:47:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzLVi-00049Q-N7 for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 19:47:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzLVf-00049B-PC for emacs-devel@gnu.org; Fri, 15 Jun 2007 19:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzLVd-00048z-EX for emacs-devel@gnu.org; Fri, 15 Jun 2007 19:47:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzLVd-00048w-A5 for emacs-devel@gnu.org; Fri, 15 Jun 2007 19:47:17 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HzLVc-00060P-QG for emacs-devel@gnu.org; Fri, 15 Jun 2007 19:47:16 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so1152158wxd for ; Fri, 15 Jun 2007 16:47:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NXDyyoZEvbmCyl/hyOiki5hEKGywIaVGV++HNsIFrjldKeAlgjbppMJttwQvszIJNnX9m2aALq1KNm0sRoN9PKawyRhH0TY+sRKfSiXEzBUu13OjAtjOZOidEdQe6KHVraG3Q6dRIgXDShAF0oj/B2qpc0dgC5R+evhiY1wHqlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YCKu2y9mvAPHmXw2MEn4YRIm5svldXHYYcY5fHwbv36nitGZDfr7bMmloN3L8TP5ctkcGNHZuHWWp0oVaJGDEtpSTsAUo9vC7Uz4SqpW4lYw9ZKRsekpox1ll7sVNiMJ5wbVtbSZxSeS1rH082huWSHZhAkVVkwfYvx5Abh89XI= Original-Received: by 10.90.78.9 with SMTP id a9mr3219538agb.1181951233631; Fri, 15 Jun 2007 16:47:13 -0700 (PDT) Original-Received: by 10.90.87.8 with HTTP; Fri, 15 Jun 2007 16:47:13 -0700 (PDT) In-Reply-To: <87r6ocss74.fsf@jurta.org> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73030 Archived-At: On 6/16/07, Juri Linkov wrote: > It is very easy to add a customizable variable to the Lisp version, > as you already did in your patch. I know. But it is not there, so it's difficult to understand how would the elisp version (as it stands) be more configurable that the C one. > Placement can be changed in Lisp by redefining the function > `minibuf-depth-setup-minibuffer'. And I can do this because I prefer > putting this indicator to the end of the prompt by using after-string > instead of before-string. That's a bit of a cheat, isn't? For the same reason you can say that the C version is equally configurable: just don't set `minibuffer-depth-indicator', and hack something for `minibuffer-setup-hook'... > And if it interacts badly with your other eight minibuffer setup hooks, > you are unable to fix this conflict with the hard-coded C version. The C version happens after the hook is run. Juanma