[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `sort-lines' on the empty region
From: |
Christopher Schmidt |
Subject: |
Re: `sort-lines' on the empty region |
Date: |
Mon, 21 Jan 2013 16:53:57 +0000 (GMT) |
address@hidden (Simen Heggestøyl) writes:
> Wouldn't it be convenient to change the behavior of `sort-lines' so
> that it sorts the whole buffer if no region is marked? Or is this
> inconsistent with how other region-operating functions works?
Yes, this is inconsistent. I would not like that behaviour, especially
in non-interactive use.
You can easily achieve what you want by defining a new command or
advicing sort-lines.
Christopher