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: jdbc urls Date: Wed, 04 Jun 2008 22:11:54 -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 1212631934 7907 80.91.229.12 (5 Jun 2008 02:12:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2008 02:12:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 05 04:12:55 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 1K44yE-0005op-Kc for ged-emacs-devel@m.gmane.org; Thu, 05 Jun 2008 04:12:54 +0200 Original-Received: from localhost ([127.0.0.1]:44461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K44xS-0008KR-0u for ged-emacs-devel@m.gmane.org; Wed, 04 Jun 2008 22:12:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K44xM-0008IN-Vr for emacs-devel@gnu.org; Wed, 04 Jun 2008 22:12:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K44xL-0008I6-Th for emacs-devel@gnu.org; Wed, 04 Jun 2008 22:12:00 -0400 Original-Received: from [199.232.76.173] (port=55208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K44xL-0008I3-PH for emacs-devel@gnu.org; Wed, 04 Jun 2008 22:11:59 -0400 Original-Received: from 206-248-132-168.dsl.teksavvy.com ([206.248.132.168]:38303 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K44xL-0002vd-J7 for emacs-devel@gnu.org; Wed, 04 Jun 2008 22:11:59 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 245BDB4023; Wed, 4 Jun 2008 22:11:54 -0400 (EDT) In-Reply-To: (joakim@verona.se's message of "Wed, 04 Jun 2008 21:35:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:98442 Archived-At: >>> I have some rusty code lying about for jdbc urls, for >>> emacs-planner, but that can be changed. I would like to polish the code >>> and submit it for inclusion, but first some questions: >> >>> - Is there something like this already that I didnt notice? >>> - Should this code go into ffap? >> >> Shouldn't it logically go into lisp/url/url-jdbc.el instead? > That does indeed seem more logical. > I am new to this area of Emacs. I have always used ffap. > It appears ffap has it own functions that does similar things as > url-lib, for instance ffap-url-at-point, and url-get-url-at-point. Yes, there's some overlap. Anything that merges them, even partly, is good. I.e. you could merge the functionality of ffap-url-at-point into url-get-url-at-pointand then define ffap-url-at-pointas an obsolete alias. > The url lib documentation doesnt seem complete. Indeed, it isn't. > I suppose my question is: If I write url-jdbc, how can I make it be > accepted by ffap? Or is there some other facility that superceedes ffap? Feel free to make ffap use more of the URL package. The URL package used to be a separate library, so Emacs packages couldn't rely on it being available. But now that it's bundled, there's no reason to stay away from it. Stefan