From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Point position in minibuffer-message Date: Sun, 13 Apr 2008 15:29:17 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208114973 12200 80.91.229.12 (13 Apr 2008 19:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2008 19:29:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Herbert Euler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 13 21:30:11 2008 connect(): Connection refused 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 1Jl7ty-0003Ir-Go for ged-emacs-devel@m.gmane.org; Sun, 13 Apr 2008 21:30:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jl7tK-0005SL-9y for ged-emacs-devel@m.gmane.org; Sun, 13 Apr 2008 15:29:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jl7tF-0005Qu-Ui for emacs-devel@gnu.org; Sun, 13 Apr 2008 15:29:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jl7tF-0005QO-5d for emacs-devel@gnu.org; Sun, 13 Apr 2008 15:29:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jl7tE-0005Q8-W6 for emacs-devel@gnu.org; Sun, 13 Apr 2008 15:29:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jl7tE-0003hF-Sh for emacs-devel@gnu.org; Sun, 13 Apr 2008 15:29:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAGAFL8AUhMCqsI/2dsb2JhbACBXqc9 X-IronPort-AV: E=Sophos;i="4.25,650,1199682000"; d="scan'208";a="18452667" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 13 Apr 2008 15:29:18 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id TXQ92318; Sun, 13 Apr 2008 15:29:18 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A5AE2832A; Sun, 13 Apr 2008 15:29:17 -0400 (EDT) In-Reply-To: (Herbert Euler's message of "Sun, 13 Apr 2008 13:49:28 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95119 Archived-At: > In the new Lisp level implementation of minibuffer-message, > temporarily displayed messages are displayed with overlay. This > introduces a slight change on point position. Previously, point is > put before temporarily displayed messages, whereas it is put after the > messages now. Since the temporarily displayed messages are not part > of user input, I think it is better to put point before them, i.e. to > keep the behavior as before. That's a good point. I think the bug is in the C code that places the cursor (since the overlay is all setup with advancing markers). But maybe fixing the cursor code is difficult. The use of an overlay with after-string was chosen so as to avoid other minor problems, but this one might be more important, Stefan