all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rwc9u <robchristie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: SQLi[postgres] mode and passing tabs to psql
Date: Mon, 16 Jun 2008 11:44:26 -0700 (PDT)	[thread overview]
Message-ID: <33154a19-83d7-4429-a916-06bbc33e99f6@d77g2000hsb.googlegroups.com> (raw)

I'd like to figure a way to harness the completion functionality that
the psql client provides, and use that from within the emacs sqli mode
for postgres. If I run psql from the bash prompt then when I hit tab
twice I get completions for either sql keywords or table names
depending on the location of my cursor.

When I try to do this from within the sqli mode I can't figure out the
way to pass the tabs to the underlying process. I am assuming if I can
get this to work then I could write some sort of output filter to
provide a completions list.
Any ideas or modes to point me at that do something similar.

Thanks,

Rob


             reply	other threads:[~2008-06-16 18:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 18:44 rwc9u [this message]
2008-06-17  8:45 ` SQLi[postgres] mode and passing tabs to psql Volkan YAZICI
2008-06-17 13:50   ` rwc9u

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

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

  git send-email \
    --in-reply-to=33154a19-83d7-4429-a916-06bbc33e99f6@d77g2000hsb.googlegroups.com \
    --to=robchristie@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.