From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Thu, 13 Mar 2008 00:19:19 +0100 Message-ID: <858x0nbkeg.fsf@lola.goethe.zz> References: <874pbmjgsy.fsf@gmx.de> <874pbknt3j.fsf@tsuchiya.vaj.namazu.org> <87mypccg6r.fsf@jurta.org> <87abl8svpl.fsf@jurta.org> <87iqzves3k.fsf@jurta.org> <87zlt6qnu4.fsf@jurta.org> <8763vs7v08.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205364010 1748 80.91.229.12 (12 Mar 2008 23:20:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 23:20:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 13 00:20:38 2008 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 1JZaFS-0004mj-1A for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 00:20:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZaEt-0004V0-A8 for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 19:20:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZaEF-0003fd-3l for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:19:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZaED-0003d5-Gk for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:19:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZaED-0003ce-55 for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:19:21 -0400 Original-Received: from mail-in-11.arcor-online.net ([151.189.21.51]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZaEC-0006gE-Em for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:19:20 -0400 Original-Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id BC4C8209366 for ; Thu, 13 Mar 2008 00:19:18 +0100 (CET) Original-Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id A9517100C0 for ; Thu, 13 Mar 2008 00:19:18 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-021-081.pools.arcor-ip.net [84.61.21.81]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id 8028B249245 for ; Thu, 13 Mar 2008 00:19:18 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E5E8C1C4F905; Thu, 13 Mar 2008 00:19:19 +0100 (CET) In-Reply-To: ("Johan =?iso-8859-1?Q?Bockg=E5rd=22's?= message of "Thu, 13 Mar 2008 00:13:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/6219/Wed Mar 12 21:58:52 2008 on mail-in-11.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:92334 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockg=E5rd) writes: > Juri Linkov writes: > >> But it seems impossible to add an overlay *after* the cursor at the >> end of the minibuffer, like `minibuffer-message' already does >> inserting the message after the cursor at the end of the minibuffer. > > Try > > (setq ov (make-overlay (point-max) (point-max))) > (overlay-put ov 'insert-in-front-hooks > (list (lambda (o &rest ignore) > (move-overlay o (point-max) (point-max))))) Huh? Why don't you do (make-overlay (point-max) (point-max) nil t t) instead of using that hook? --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum