From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jos=C3=A9_?= =?UTF-8?Q?J=C3=BAnior?= Newsgroups: gmane.emacs.bugs 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 13:47:08 -0300 Message-ID: <93b8da79-dea6-4ef4-9b65-8857410d85e1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29496"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 74996@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 20 17:48:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tOgAk-0007Ui-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Dec 2024 17:48:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOgAW-0004ZE-Jn; Fri, 20 Dec 2024 11:48:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOgAU-0004Z0-Ms for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 11:48:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOgAU-00006R-EU for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 11:48:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=c7XCBZfXV4DPMMm/4i34x5OlikyqYWyhoYCmdusa1hU=; b=eyOgXoRX57+DSRyMXYZ/SXxiSVM/t8xbMuOYvKYBEHhWAsKjYH9vpoo4YhnQAzVWwWD7lD0nsgmWyDy7j4YFWAqhdtyHP0QCGCbWT1lz0JK1tHJSAhVHoaSprU6F/1+sLmzGGpcthzIwvX0QGdEOdHEvkw2Xe5UyvDBFBp37LTQjWpIG1rrIwsINIjG8xkitNX+0TWcTYtbv7FwUSiQGSMxHbb1J+8PaX5Ey5uNN4qeWo5adgG5F/dpQaeQYBkiKI5Gqb1i3MJA25ZGpwzYc38HwKf3WqhdHLrhHFnCKTSOC6VCoCFlRCi3sBISJFZN4ldKI7GZlA62wPCVUE4N5rA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOgAU-0002I9-9T for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 11:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jos=C3=A9_?= =?UTF-8?Q?J=C3=BAnior?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Dec 2024 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74996 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17347132398738 (code B ref -1); Fri, 20 Dec 2024 16:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Dec 2024 16:47:19 +0000 Original-Received: from localhost ([127.0.0.1]:43799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOg9n-0002Gs-78 for submit@debbugs.gnu.org; Fri, 20 Dec 2024 11:47:19 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOg9l-0002Gl-IC for submit@debbugs.gnu.org; Fri, 20 Dec 2024 11:47:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOg9j-0004V8-J4 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 11:47:17 -0500 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOg9i-0008Sy-3T for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 11:47:15 -0500 Original-Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7fd49d85f82so1703662a12.3 for ; Fri, 20 Dec 2024 08:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734713232; x=1735318032; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=c7XCBZfXV4DPMMm/4i34x5OlikyqYWyhoYCmdusa1hU=; b=Ho32VYGJo2EWcOaGd8bXrXFBsr7nXvbsJXlSpdPrF/qyjybT6sC4VfPBH5fuqEXSZh UUu8jWX4Py6Gz2cXOtWfE5kA9wKNvTGN7eg6L5ktIfk+WmWqvSlvff0Fsm7uDuOjhlbv KWIaQCXLFjhksAyG8vWp7krYtehqY3MjDA1itqPFG57d6ZcMsNhG8KvUxxwYV6KLlZcA p9PB/bUkhZHlJ9M9HVKmfLBlhTFOYw14MA2WDB0Y9UCciGtZKGAkWdpfPSCGZu4Xvek6 hPtXsuC7odN87nDgUpgDl6m2e28VLNEG7Mx+bw73ngrOFer/ToaGyeoNTY8RjZIGxIXB bMvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734713232; x=1735318032; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=c7XCBZfXV4DPMMm/4i34x5OlikyqYWyhoYCmdusa1hU=; b=h0FmvM0srWs4pD8d1vi8IS/L0qMr/Kq6CLNhbzGq5uCDcTiFtbM2aH6FMYnLayhREE PuKp6W3TprgM+hJjb0KqlEB5fV2D0DQgUCEEpDNOrJuWnqfv6tgd3drV2Bi5HjSO+YQI 28a4XoTNsguIa9rXn3+K/HhXhbjIdRu7hEashBzztlhYVmKiylXhgJlpS8lIZB7onwND GJ487zrRf/ZMHfsePRZ0hUJV1X1cQnioOrsyhGCAxACk7SzT/M38xSCS9sPtoupuZssh 9CxMXL5Ijjxp5Y8QzUygqs/AaTyOIbgMqscpbTUkqHGc9Wd9Kk97Azxg9rzs/oGS8PaB OMFQ== X-Gm-Message-State: AOJu0Yzx5am4TQrAIe9UmdSbgH/lpq+JMmaJsnV+yXMVOc2U2wijnvMX JD7komXmAvJNlBshL7AoqUmulLkO8SeM4TNa476CGXQs4fcQ6Rf+KoXm/FSW X-Gm-Gg: ASbGnctcb7Sqd62N/RZDz7m5qTLzXArmdAD96mRWw2FVCpdgNK7AWubicUuFN+lht5v D2bcGidM5Ct9bl5AZoV87U6gzjSspIjVg3wP/haPVnqafnJ08tfL6iusQAIJ1AY+8YAE/C81VOo XX1W2sWXT4s6hoIFaphmVBPdjMbLBIZOv2IscIG9QgPJBhP5aiXHo+apv9vH0/sockJmhiAg+E6 dYgPtlQWa2jkDaz8O+wkrPBrEtYjU/G5sGmzAtK4mHdlHFbiZGsOO459PNnbgxsfOy2btjkKihi uNitapVBpMrtkVrSxNeGEOHrahQ= X-Google-Smtp-Source: AGHT+IFQAyW7RXudHIOt8MbBYuJHEU0EmVvozLo+650hDuDe5tK7FWzxQUefQ+BYEOyIf2vyDoh2eA== X-Received: by 2002:a05:6a20:158c:b0:1e0:d6ef:521a with SMTP id adf61e73a8af0-1e5e043f6c0mr6308222637.1.1734713231885; Fri, 20 Dec 2024 08:47:11 -0800 (PST) Original-Received: from ?IPV6:2804:d47:60cb:1c00:b18d:19d2:9fd9:d41e? ([2804:d47:60cb:1c00:b18d:19d2:9fd9:d41e]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8dee97sm3423946b3a.126.2024.12.20.08.47.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2024 08:47:11 -0800 (PST) Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=jjnilton@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297461 Archived-At: 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