all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: emacs-devel@gnu.org
Subject: Best practices for sql-list-(table|all)?
Date: Wed, 29 May 2013 23:41:48 -0400	[thread overview]
Message-ID: <CA+MaCJewMEJzedH+OB-Kjcn5a469XBKGM-SMhB9jHtRKjZosPQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

Hello, sql-mode-ers!

I'm revisiting SQL for work and I'd like to use Emacs as appropriate.
Unfortunately I don't have a local wizard to point me in the correct
direction when I'm confused by sql-mode and sql-interactive-mode
quirks.

For instance: I'm noticing that I must explicitly quit out of
view-mode after each invocation of sql-list-all / sql-list-table on a
particular table.  (I'm calling these commands frequently to look up
schema and table elements as I learn the database layout).  If instead
of quitting out of view-mode I just switch back to my sql-mode buffer,
the second call to the sql-list-foo command gives a "Buffer is
read-only" error.  Even after reading the source, I can't tell if this
is a bug or a pebkac.  If the former, I'm happy to dig in and try to
fix it.  If the latter, I'd love to know how the work flow goes for
familiar users.

Thanks for any insight, and please push me to another list if appropriate.

Trevor

[-- Attachment #2: Type: text/html, Size: 1037 bytes --]

             reply	other threads:[~2013-05-30  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30  3:41 Trevor Murphy [this message]
2013-05-30 13:35 ` Best practices for sql-list-(table|all)? Stefan Monnier
2013-05-31  2:42   ` Trevor Murphy
2013-05-31  3:50     ` Stefan Monnier
2013-07-03  3:34       ` 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

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

  git send-email \
    --in-reply-to=CA+MaCJewMEJzedH+OB-Kjcn5a469XBKGM-SMhB9jHtRKjZosPQ@mail.gmail.com \
    --to=trevor.m.murphy@gmail.com \
    --cc=emacs-devel@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.