[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73623: sort-lines fails
From: |
Eli Zaretskii |
Subject: |
bug#73623: sort-lines fails |
Date: |
Fri, 04 Oct 2024 10:03:07 +0300 |
> 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.