So Ian Eure mistrusts my code because he thinks I don’t read documentation1. Nice. In fact, I did read that page before I implemented db mode. "Fantastic" I thought, "just what I need".
(sql-mode) (sybase-mode)
select count(*) from person go
And what is the response from emacs?
No SQL process started.
Well gee, so much for the documentation2. At this point I figure that feature doesn’t work correctly and implement my own code, the core of which takes around 10 minutes.
Please understand that I’m not blaming the sql-mode author. It is probably obvious to him (and others) that you need to start the database before you start sql-mode. And I couldn’t help him improve his documentation beforehand either as I didn’t know what the problem was.
1. What is true is that I actually don’t read it particularly well.
2. Yes, I’m aware now that it only works in the opposite order.
Don’t get down on yourself. Sometimes, the best way to communicate what you’re trying to do in Emacs is with code! So fortunately, another Emacs user could see the duplication of your Emacs Lisp and mention an alternative.
This sort of thing happens all the time:
Trying the URL again.
http://www.emacswiki.org/emacs?action=browse;diff=2;id=SearchAtPoint;diffrevision=61;revision=62
Hi Aaron,
That is what I would expect. It is nice to see from the wiki that most people in the community are helpful.
Cheers
[...] And the debate rages on. [...]