all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "José Júnior" <jjnilton@gmail.com>
Cc: 74996@debbugs.gnu.org
Subject: bug#74996: 28.2; sql interactive mode prints output of executed query where the pointer is instead of the bottom of the buffer
Date: Fri, 20 Dec 2024 19:01:04 +0200	[thread overview]
Message-ID: <86frmi9tm7.fsf@gnu.org> (raw)
In-Reply-To: <93b8da79-dea6-4ef4-9b65-8857410d85e1@gmail.com> (message from José Júnior on Fri, 20 Dec 2024 13:47:08 -0300)

> Date: Fri, 20 Dec 2024 13:47:08 -0300
> From: José Júnior <jjnilton@gmail.com>
> 
> Hi, after updating to Emacs 28 I noticed that when I execute a command in a sql-mode buffer connected to a sql-interactive-mode buffer, it prints the output where the pointer is at in the SQLi buffer, and if the pointer is not at the end, it messes up what was already printed, so I have to keep track where the pointer is before executing a query. I don´t remember seeing this behavior in Emacs 27, and it looks like a bug to me. I don't see how printing the output of a query in the middle of another output could be useful.
> 
> To reproduce:
> 
> 1. Open sql-mode buffer conntected to a SQLi buffer
> 
> 2. Run a sql query
> 
> 3. Move the pointer to a line that has the previous output printed
> 
> 4. Run another sql query

Thanks, but could you please provide a more detailed reproduction
recipe, without assuming that we know about sql-mode and SQLi as much
as you do?  Preferably starting from "emacs -Q", please.

Also, please show the information collected about your system and
build of Emacs by "M-x report-emacs-bug".  Some of the info there
might be relevant to your report.





  reply	other threads:[~2024-12-20 17:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 16:47 bug#74996: 28.2; sql interactive mode prints output of executed query where the pointer is instead of the bottom of the buffer José Júnior
2024-12-20 17:01 ` Eli Zaretskii [this message]
2024-12-20 19:03   ` José Júnior
2024-12-20 19:32     ` Eli Zaretskii
2024-12-20 20:08       ` Stephen Berman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-20 20:11         ` Eli Zaretskii
2024-12-20 20:34           ` José Júnior
2024-12-21  6:35             ` Eli Zaretskii
2024-12-20 20:13       ` José Júnior

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=86frmi9tm7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74996@debbugs.gnu.org \
    --cc=jjnilton@gmail.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 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.