[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs vers
From: |
John Wiegley |
Subject: |
Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions |
Date: |
Sun, 19 Jun 2016 11:16:18 -0700 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.95 (darwin) |
>>>>> Eli Zaretskii <address@hidden> writes:
> Didn't think that far, but is it really clean for sort-lines to have special
> code for some major mode? I thought a better way is to override the default
> behavior by having sort-lines call functions through funcall or somesuch,
> and then outline modes could set the appropriate variable to the function of
> their liking?
>
> Just thinking aloud.
I would prefer this approach as well. Rather than coupling core functionality
to any particular mode, we should expose hooks that allow core functions to be
specialized.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, (continued)
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Eli Zaretskii, 2016/06/18
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Robert Weiner, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Eli Zaretskii, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Robert Weiner, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Eli Zaretskii, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Robert Weiner, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Eli Zaretskii, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Robert Weiner, 2016/06/19
- RE: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Drew Adams, 2016/06/19
- Re: bug#23794: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions, Stefan Monnier, 2016/06/19
- Re: Emacs bug #23794; sort-line behavior regressed from prior Emacs versions,
John Wiegley <=