From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73623: sort-lines fails Date: Sat, 19 Oct 2024 10:00:41 +0300 Message-ID: <868qukmvae.fsf@gnu.org> References: <86setcxsd0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73623@debbugs.gnu.org To: worik.stanton@tirotech.co.nz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 19 09:01:51 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 1t23TD-0006YP-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Oct 2024 09:01:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t23T2-0001fs-SU; Sat, 19 Oct 2024 03:01:40 -0400 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 1t23T1-0001fX-Gn for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 03:01:39 -0400 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 1t23T1-0000uo-8O for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 03:01:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=p93R9qc3TcNIvNzOECc2I9R7v4YXR13QuANX8tCKo0g=; b=S2j+a6KxjXcVm1DYCdpvjCXbBdRa/MLEPiqeZSsNAICBhLGg64bg2nOAzssrjD6jaKzIwGDNAfBlvceaqtz/TS9qODUsyhMUL6hXQbFDWCxTkG47I2xKfWmotgMvMkZiB1+DEqUXxH/yU75ZMwI0sgCrtdex2bNuoN6Pcap5DC7nY1HCyylXZEq9Kv6/4kL7S0kXAFEchK7OeaRlhfksjzFJkjSWwx4j8fxrLb/v8BEaeQ+o99wVIYeG469/Kp6ydpXL2wKmxaqjGUEt3dRNAqVV/wANUaYEL6FZ3zCgubuJwEqdYiHgLynFldooVWeJ1UTnxCBC0qwY+EBVzaE5EA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t23TO-0006xI-IU for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2024 03:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73623 X-GNU-PR-Package: emacs Original-Received: via spool by 73623-submit@debbugs.gnu.org id=B73623.172932127726658 (code B ref 73623); Sat, 19 Oct 2024 07:02:02 +0000 Original-Received: (at 73623) by debbugs.gnu.org; 19 Oct 2024 07:01:17 +0000 Original-Received: from localhost ([127.0.0.1]:41068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t23Se-0006vu-Mj for submit@debbugs.gnu.org; Sat, 19 Oct 2024 03:01:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t23Sc-0006vc-R6 for 73623@debbugs.gnu.org; Sat, 19 Oct 2024 03:01:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t23S9-0000qp-2A; Sat, 19 Oct 2024 03:00:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=p93R9qc3TcNIvNzOECc2I9R7v4YXR13QuANX8tCKo0g=; b=LNEQQGL32HqM twnT6iswHX5bIfZWYGBox7u2rjw/CrzifAQS4IPw6beAPuYAK4tUib4fvtqRbt79N1IGWL6L6VrZ4 DjfDBn/QsQkdJE4imnj/pewNtnFgsTr2lYQMqxSWdjH0C8iL29Z98UcuQuzt6T0AHF+Kdrz/GRQPw EUOoLGRqqafXOvXEQU3ESk0aWTdx74CAWE1e6EHjoUqMTrNvPZP1y3B6v+Cmgccnbm+lXqz8e1AKa fE5D7RKq0HVpBNAOHPsnXeeZM9FLDhaDv7AfTyixf5Pw6PXmniw6DbQZzTaB6LzD+l+FVzYNWHc1h 85yHOpdqad9+FgFoLxxMZw==; In-Reply-To: <86setcxsd0.fsf@gnu.org> (message from Eli Zaretskii on Fri, 04 Oct 2024 10:03:07 +0300) 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:293835 Archived-At: Ping! Worik, could you please post the details I asked for, so we could investigate this issue? > Cc: 73623@debbugs.gnu.org > Date: Fri, 04 Oct 2024 10:03:07 +0300 > From: Eli Zaretskii > > > From: Worik Stanton > > Date: Fri, 4 Oct 2024 10:47:37 +1300 > > > > Emacs 29.4.50 > > Debian 12.7 > > > > Given the following text in the selection: > > > > path_assets:assets.getAssetDir(), > > path_images:get_image_path(), > > product: job_info.product ?? "\\textless Not Specified \\textgreater ", > > user: get_poa_user(), > > pop_rates: converted_pop_map, > > > > The command `sort-lines` does not change the order > > I cannot reproduce this, and least not if I paste the above text into > a new buffer under Fundamental mode. Did you mark the text to make > the region include all of it, before invoking sort-lines? When > invoked interactively, that command sorts lines inside the region, so > you must mark all of those lines first. You say "text in the > selection", but I don't understand whether this means the region or > something else. > > So please show a reproducible recipe starting from "emacs -Q" to > exhibit this problematic behavior. If you need to enable some > non-default modes to produce the problem, please state those modes > explicitly in the recipe. > > Thanks. > > > >