unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Michael Mauger <mmaug@yahoo.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: [patch] SQL enhancements
Date: Sat, 17 Apr 2010 03:06:33 +0300	[thread overview]
Message-ID: <871vefj62e.fsf@mail.jurta.org> (raw)
In-Reply-To: <467448.14252.qm@web62501.mail.re1.yahoo.com> (Michael Mauger's message of "Fri, 16 Apr 2010 16:06:32 -0700 (PDT)")

> With this patch you can do the following:
>
>     (let ((sql-database "database.sqlite")
>           (sql-sqlite-login-params nil))
>      (sql-sqlite))
>
> to set the parameters and avoid the prompting.  You can set
> `sql-sqlite-login-params' to a list of the parameters you want to be
> prompted for; the default for sqlite is '(user password server database).

Thank you!  `sql-sqlite-login-params' is exactly what I wanted.

I hope this will be documented in the documentation,
so users of SQL mode will know how to do that.

PS: While looking at `sql-sqlite-login-params' in your patch,
I noticed a small typo: the docstring of `sql-sqlite-login-params'
mentions Oracle instead of SQLite.

-- 
Juri Linkov
http://www.jurta.org/emacs/




  reply	other threads:[~2010-04-17  0:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-16  4:14 [patch] SQL enhancements Michael Mauger
2010-04-16 20:42 ` Juri Linkov
2010-04-16 21:32   ` Horizontal scroll bars (was: [patch] SQL enhancements) Juri Linkov
2010-04-16 23:06   ` [patch] SQL enhancements Michael Mauger
2010-04-17  0:06     ` Juri Linkov [this message]
2010-04-18 23:57   ` Juri Linkov
2010-04-21  3:29     ` Michael Mauger
2010-04-21  8:49       ` Juri Linkov
2010-04-22  4:25         ` Michael Mauger

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=871vefj62e.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=mmaug@yahoo.com \
    /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).