unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: jdbc urls
Date: Wed, 04 Jun 2008 22:11:54 -0400	[thread overview]
Message-ID: <jwvd4mwhbux.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m31w3dt2mq.fsf@verona.se> (joakim@verona.se's message of "Wed, 04 Jun 2008 21:35:09 +0200")

>>> 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




  reply	other threads:[~2008-06-05  2:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-04 11:42 jdbc urls joakim
2008-06-04 14:17 ` Chong Yidong
2008-06-04 16:03   ` joakim
2008-06-04 17:35 ` Stefan Monnier
2008-06-04 19:35   ` joakim
2008-06-05  2:11     ` Stefan Monnier [this message]
2008-06-12 16:25       ` joakim
2008-06-12 18:16         ` joakim
2008-06-13 14:56         ` Stefan Monnier
2008-06-15 22:42           ` joakim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvd4mwhbux.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).