unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73623: sort-lines fails
@ 2024-10-03 21:47 Worik Stanton
  2024-10-04  7:03 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Worik Stanton @ 2024-10-03 21:47 UTC (permalink / raw)
  To: 73623

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

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

Modes:

Minor modes enabled in this buffer: Anzu Auto-Save Company
Display-Line-Numbers Eldoc Flycheck Font-Lock Hs Tide-Hl-Identifier
Tide Tree-Sitter-Hl Tree-Sitter

The major mode is typescript mode defined in typescript-mode.el:

[-- Attachment #2: Type: text/html, Size: 750 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#73623: sort-lines fails
  2024-10-03 21:47 bug#73623: sort-lines fails Worik Stanton
@ 2024-10-04  7:03 ` Eli Zaretskii
  2024-10-19  7:00   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-10-04  7:03 UTC (permalink / raw)
  To: Worik Stanton; +Cc: 73623

> 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:
> 
>    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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#73623: sort-lines fails
  2024-10-04  7:03 ` Eli Zaretskii
@ 2024-10-19  7:00   ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2024-10-19  7:00 UTC (permalink / raw)
  To: worik.stanton; +Cc: 73623

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 <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:
> > 
> >    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.
> 
> 
> 
> 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-19  7:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-03 21:47 bug#73623: sort-lines fails Worik Stanton
2024-10-04  7:03 ` Eli Zaretskii
2024-10-19  7:00   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).