help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQLi[postgres] mode and passing tabs to psql


From: Volkan YAZICI
Subject: Re: SQLi[postgres] mode and passing tabs to psql
Date: Tue, 17 Jun 2008 01:45:40 -0700 (PDT)
User-agent: G2/1.0

On Jun 16, 9:44 pm, rwc9u <robchris...@gmail.com> wrote:
> 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.

Just blind guessing: Did you try "C-q TAB" or "ESC TAB"? ("C-h b"
might be helpful too.)


Regards.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]