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: Overalays and point-entered Date: Sat, 24 Oct 2009 22:30:15 -0400 Message-ID: References: <5e3a506e0909101709u2259d56h25f3ef1ec67326aa@mail.gmail.com> <5e3a506e0909240647k18368e10o6e5391a70a79e8@mail.gmail.com> <5e3a506e0909240704t5e716634k86b21e1604ee1912@mail.gmail.com> <5e3a506e0910061133r3e9b6146l637c84bee7b0d136@mail.gmail.com> <5e3a506e0910171000n79e9c992n6c243fc0f42a919a@mail.gmail.com> <5e3a506e0910212035y7d5eca50w7ae1005896ef1bdd@mail.gmail.com> <5e3a506e0910230843r3fb837e7v9aa9cf5e57a7aed@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1256437842 4785 80.91.229.12 (25 Oct 2009 02:30:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Oct 2009 02:30:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nathaniel Flath Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 25 03:30:35 2009 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 1N1ssM-0003cd-V5 for ged-emacs-devel@m.gmane.org; Sun, 25 Oct 2009 03:30:35 +0100 Original-Received: from localhost ([127.0.0.1]:34858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1ssM-00045P-HE for ged-emacs-devel@m.gmane.org; Sat, 24 Oct 2009 22:30:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1ssI-00045A-4k for emacs-devel@gnu.org; Sat, 24 Oct 2009 22:30:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1ssD-000448-MM for emacs-devel@gnu.org; Sat, 24 Oct 2009 22:30:29 -0400 Original-Received: from [199.232.76.173] (port=46065 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1ssD-000445-Is for emacs-devel@gnu.org; Sat, 24 Oct 2009 22:30:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:5450 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N1ssD-0003lP-A6 for emacs-devel@gnu.org; Sat, 24 Oct 2009 22:30:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAEALpV40pLd/m0/2dsb2JhbACBUNQOhD8EiDQ X-IronPort-AV: E=Sophos;i="4.44,617,1249272000"; d="scan'208";a="48121329" Original-Received: from 75-119-249-180.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.180]) by ironport2-out.pppoe.ca with ESMTP; 24 Oct 2009 22:30:15 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A427AB408B; Sat, 24 Oct 2009 22:30:15 -0400 (EDT) In-Reply-To: <5e3a506e0910230843r3fb837e7v9aa9cf5e57a7aed@mail.gmail.com> (Nathaniel Flath's message of "Fri, 23 Oct 2009 11:43:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: 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:116382 Archived-At: > The use case I was looking at, as I mentioned earlier, was for flymake-like > modes to display the actual error messages when point is on an error line. > This currently looks like it's usually implemented( or is in js2.el, at > least ) by having both an overlay and a text property and keeping the two in > sync. In this case, I think that doing C-x o to the same buffer should run > the hooks, and that C-x b should not, which would imply that maybe the > buffer is the best place to put them. Hmmm.... it doesn't seem clear to me why you'd want it for C-x o but not for C-x b. Aren't there other potential use-cases? Stefan