Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7930127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:19:14+00:00 2026-06-03T20:19:14+00:00

REPL in EMACS is really a great feature I love so much. but under

  • 0

REPL in EMACS is really a great feature I love so much.
but under sql-mode, I encountered quite a few issues.

like:

  1. I would like to use db3( a wrapper of db2 which can recoginze alias ), can I start a db3 shell buffer and make the sql-mode recognize it as the default evaluation buffer?

  2. this is actually more important, when I send a region to the eval buffer, the eval buffer will execute the region by line break, which make my sql-code barely executable. so How would I customize the sql-mode, so that it can execute by block instead of line-break ?

==========I have find solution myself==================

for question 1: customize the sql-db2 is definitely more difficult , which I am still digging out, that envolves more work like writing plugins for emacs
==> the temporary solution is I can still connect to db2 use alias

for question 2: it turns out that db2 do have an option -t to set the termination character , which perfectly solves my question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T20:19:16+00:00Added an answer on June 3, 2026 at 8:19 pm

    ==========I have find solution myself==================

    for question 1: customize the sql-db2 is definitely more difficult , which I am still digging out, that envolves more work like writing plugins for emacs ==> the temporary solution is I can still connect to db2 use alias

    for question 2: it turns out that db2 do have an option -t to set the termination character , which perfectly solves my question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a starter with Emacs (but quite experienced Vim user) and trying to play
I'm trying to get Geiser's REPL to work in Emacs, but it doesn't seem
I use Emacs for clojure development, because Swank-clojure is a great tool. But once
I'm trying out the coffee script repl inside Emacs (under ArchLinux) and I'm seeing
I've successfully installed clojure-mode, slime, slime-repl within Emacs. I start a swank server with
I happen to know mono's CSharpRepl , are there emacs csharp mode that use
Recently I've discovered M-x ielm (the Emacs self-REPL) and was pleasantly surprised that there's
You can assume that I'm in repl using the slime mode. How can I
I am using emacs 24 on Windows 7 and have installed technomancy's clojure-mode along
I'm familiar with scheme, but new to emacs (switching over from VIM) and elisp.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.