[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill-paragraph ill designed
From: |
Tassilo Horn |
Subject: |
Re: fill-paragraph ill designed |
Date: |
Fri, 28 Aug 2015 10:26:44 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Andreas Röhler <address@hidden> writes:
> IMHO fill-region stuff doesn't belong into at all.
>
> Paragraph and region are independent notions - both with its own ideas
> of beginning and end. Let's keep them separated.
Well, then the solution is easy for you. In your mode's map, remap
`fill-paragraph' to `your-mode-fill-paragraph' instead of defining it as
`fill-paragraph-function', e.g.,
(define-key your-mode-map [remap fill-paragraph]
#'your-mode-fill-paragraph)
Then M-q (or whatever the user has configured to be `fill-paragraph')
will call your mode-specific paragraph filling function.
Bye,
Tassilo
- Re: fill-paragraph ill designed, (continued)
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/26
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/26
- Re: fill-paragraph ill designed, Stefan Monnier, 2015/08/27
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/27
- Re: fill-paragraph ill designed, Tassilo Horn, 2015/08/28
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/28
- Re: fill-paragraph ill designed,
Tassilo Horn <=
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/29
- Re: fill-paragraph ill designed, Andreas Röhler, 2015/08/30
- Re: fill-paragraph ill designed, Stefan Monnier, 2015/08/30
- Re: fill-paragraph ill designed, Stefan Monnier, 2015/08/28