From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: doc-view support for bookmark.el Date: Wed, 26 Dec 2007 12:21:36 -0800 Message-ID: <87zlvxxl4f.fsf@red-bean.com> References: Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198693301 16491 80.91.229.12 (26 Dec 2007 18:21:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Dec 2007 18:21:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 26 19:21:54 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 1J7at2-0000Kn-OU for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2007 19:21:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7ash-0005lg-Q1 for ged-emacs-devel@m.gmane.org; Wed, 26 Dec 2007 13:21:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7asc-0005gY-DN for emacs-devel@gnu.org; Wed, 26 Dec 2007 13:21:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7asb-0005en-BW for emacs-devel@gnu.org; Wed, 26 Dec 2007 13:21:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7asb-0005eR-5t for emacs-devel@gnu.org; Wed, 26 Dec 2007 13:21:21 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J7asa-0005jF-VP for emacs-devel@gnu.org; Wed, 26 Dec 2007 13:21:21 -0500 Original-Received: from localhost ([127.0.0.1]:35768) by sanpietro.red-bean.com with esmtp (Exim 4.68) (envelope-from ) id 1J7asa-0007GD-2Y; Wed, 26 Dec 2007 12:21:20 -0600 In-Reply-To: (Drew Adams's message of "Wed\, 26 Dec 2007 09\:08\:01 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:85481 Archived-At: "Drew Adams" writes: >> Okay, so "(BUFFER . POINT)" is now an exported interface, not just an >> internal interface that we would be free to change inside bookmark.el. >> Therefore, let's make it more extensible than a dotted pair. > > Why would "we would be free to change inside bookmark.el" before Tassilo's > change? There is nothing internal about `bookmark-jump-noselect'. > > And, as I already pointed out, there already exists external code that calls > it and depends on the (BUFFER . POINT) interface. > > Of course, nothing stops Emacs developers from changing anything, but please > don't assume that (BUFFER . POINT) is an "internal" representation that can > be changed with no external consequences. Sorry, I missed where you mentioned that, but your point stands. So, in that case, what I'm really advocating is: let's change it to return a *better* representation, and update all the callers in Emacs. (I doubt there are many callers outside the Emacs distribution, but even if there are, it's still worth going through this pain once so we have an extensible type from now on.) -Karl