From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Worik Stanton Newsgroups: gmane.emacs.bugs Subject: bug#73623: sort-lines fails Date: Mon, 21 Oct 2024 08:17:17 +1300 Message-ID: References: <86setcxsd0.fsf@gnu.org> <868qukmvae.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001a7cda0624ed633c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15840"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73623@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 20 21:19:55 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 1t2bT0-000435-TS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Oct 2024 21:19:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2bSn-0005xW-8m; Sun, 20 Oct 2024 15:19:41 -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 1t2bSl-0005wp-E2 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 15:19: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 1t2bSl-0007th-5k for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 15:19:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=Q0httHtz7qDc375R9Cb6lKsureyLlUKXU3CikNXAp68=; b=RiqRcPaFzXRzhZcocHbud3BRM/N8ioBB0Hw7+ZAg4NUZebBBOfAhQRM09IcSUOzoBdg3exwv4tqEWEBNs1OJ2O3nCHG6L5vjKN1Px+FoTA1+nFjgvyyL/MnTCirroADqUcuc2fVPk20YfS1xniBXbdcO64ezH0AuUd3yMCJ6dxNzs4cBNPc9rYPa9qeEaCOvqkBHxc+LDacyVKBW116mBtbU5ewx/nx6xx1vPmX8BL0v+mbHdPpnHKb/Fz87HHiBjzeyU6amCQ0RP4Oz5bNAv/0P7SLsO3TStOzkclokqoWoy06SHkxP5UsJE73lJoUBMsjDhhzrI6M+S08tQCB2TQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2bTA-0008VQ-If for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 15:20:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Worik Stanton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2024 19:20:04 +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.172945194432540 (code B ref 73623); Sun, 20 Oct 2024 19:20:04 +0000 Original-Received: (at 73623) by debbugs.gnu.org; 20 Oct 2024 19:19:04 +0000 Original-Received: from localhost ([127.0.0.1]:48545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2bSB-0008Sh-1R for submit@debbugs.gnu.org; Sun, 20 Oct 2024 15:19:03 -0400 Original-Received: from mail-ua1-f47.google.com ([209.85.222.47]:46292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2bS7-0008Rm-U6 for 73623@debbugs.gnu.org; Sun, 20 Oct 2024 15:19:00 -0400 Original-Received: by mail-ua1-f47.google.com with SMTP id a1e0cc1a2514c-84fe06fbdc6so1141096241.0 for <73623@debbugs.gnu.org>; Sun, 20 Oct 2024 12:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tirotech-co-nz.20230601.gappssmtp.com; s=20230601; t=1729451849; x=1730056649; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Q0httHtz7qDc375R9Cb6lKsureyLlUKXU3CikNXAp68=; b=pEgraVoJw/IAy9BXI40MfXgZDer9YRwI6N+Mhl1Ays3ElHr+HfRwobotWWpJoXSd0Q oHGcD4Itz4rb/B1gNbivjbcVljzEYBPKFjQOjX0i66DRCY+pJZUpwcmTNnaWuof1KrOF AeB7c/J2ap9tIxt3w1bVc5J1ZLeGNuXUEQLVKx2Az4qp4uTZ9yj4OVV+XQ9peJOMW5j7 0r03zYq/A9n3CwpXgu7J5cSeu8GUitBh8LUJcsJ6somr153bjCcUzIOUT95ghWH7NC4T a8DDVmddq45sU2KUmHTe5gSzgdMyE0WJRWqeo4BGdShhDu5o7Ug1G7yhhtcWqZLAhzwJ sJtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729451849; x=1730056649; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Q0httHtz7qDc375R9Cb6lKsureyLlUKXU3CikNXAp68=; b=fJCyprlrH4KruFJAqSzF44LmPHTLlJDqP4HOFE2jVWYr6Q6FUkURG1XLil0/2f7dcH 58qWarCzpqz8zs/D/L3G9dszWMpiTpAkQPC5YAd1EuF+VXpZoeL+4LOjGsg9CR/52ZZk 26hXADMt6iqK3ckrSMagSxzNy/VbUl3Eiv47raJvoCX+wG83zdwTY+7JGNK5B6vBHiHv pQqD2xrI1cd/xoGFBaDNud9iLXOMql5CsXyNobIQO86xm73MezlxeUPuebDdNXdpKqTU NoZi9HhX08vVcL60pBQ7r1FXuPBsYW7pNUCXC5/cyFfBVGQtXh1WfpTqNCY828JAB9jA uAyw== X-Gm-Message-State: AOJu0Yw3gYnWD3VES6aS0x9TR69ihoMtk1vXgkgOCjKxBBlK2HLBoLlp e0kyxI6fn5+QFKRvwwgy8RmBdhDoYW/3MJh34FjwbXv3LCQrQOBfsXh1mqoiVQsBsyhqFcTbIJo PI+fESdm3/IWC+2LgeIcNl86R87u8xHybbIpnUV+HagS4smsxZ6M= X-Google-Smtp-Source: AGHT+IGZbTJmsI4Fn4XeslIUNszhxPmQ/nBjVAXuoVn5nZhD3S0PkBteLgkceUDz1gqdn5/0gift0yM9IB+mz2DzYCk= X-Received: by 2002:a05:6122:169d:b0:50d:2317:5b61 with SMTP id 71dfb90a1353d-50dda2edb03mr7287245e0c.6.1729451848786; Sun, 20 Oct 2024 12:17:28 -0700 (PDT) In-Reply-To: <868qukmvae.fsf@gnu.org> 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:294005 Archived-At: --0000000000001a7cda0624ed633c Content-Type: text/plain; charset="UTF-8" On Sat, 19 Oct 2024 at 20:00, Eli Zaretskii wrote: > Ping! Worik, could you please post the details I asked for, so we > could investigate this issue? > Sorry this dropped off my radar. Looking at my example I think that I made an elementary mistake, the line "pop_rates: converted_pop_map" starts with some whitespace. The original file is not available any more, so I do not know what white space it was. I did think that white space sorts differently from that, whatever, I made a mistake, and I am sorry for wasting your time. Thank you for your attention, albeit to me being foolish. Worik > > 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. > > > > > > > > > --0000000000001a7cda0624ed633c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, 19 Oct 2024 at 20:00, Eli Zar= etskii <eliz@gnu.org> wrote:
<= /div>
Ping!=C2=A0 Worik, c= ould you please post the details I asked for, so we
could investigate this issue?

Sorry thi= s dropped off my radar.

Looking at my example I th= ink that I made an elementary mistake, the line "pop_rates: converted_= pop_map" starts with some whitespace.

The ori= ginal file is not available any more, so I do not know what white space it = was.

I did think that white space sorts differentl= y from that, whatever, I made a mistake, and I am sorry for wasting your ti= me.

Thank you for your attention, albeit to me bei= ng foolish.

Worik


> Cc: 73623@d= ebbugs.gnu.org
> Date: Fri, 04 Oct 2024 10:03:07 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > From: Worik Stanton <worik.stanton@tirotech.co.nz>
> > Date: Fri, 4 Oct 2024 10:47:37 +1300
> >
> > Emacs 29.4.50
> > Debian 12.7
> >
> > Given the following text in the selection:
> >
> >=C2=A0 =C2=A0 path_assets:assets.getAssetDir(),
> >=C2=A0 =C2=A0 path_images:get_image_path(),
> >=C2=A0 =C2=A0 product: job_info.product ?? "\\textless Not Sp= ecified \\textgreater ",
> >=C2=A0 =C2=A0 user: get_poa_user(),
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pop_rates: convert= ed_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<= br> > a new buffer under Fundamental mode.=C2=A0 Did you mark the text to ma= ke
> the region include all of it, before invoking sort-lines?=C2=A0 When > invoked interactively, that command sorts lines inside the region, so<= br> > you must mark all of those lines first.=C2=A0 You say "text in th= e
> selection", but I don't understand whether this means the reg= ion or
> something else.
>
> So please show a reproducible recipe starting from "emacs -Q"= ; to
> exhibit this problematic behavior.=C2=A0 If you need to enable some > non-default modes to produce the problem, please state those modes
> explicitly in the recipe.
>
> Thanks.
>
>
>
>
--0000000000001a7cda0624ed633c--