* Emacs 23.1.1: M-q behaves differently in ChangeLog mode
@ 2009-09-24 11:07 Felix E. Klee
2009-09-24 11:14 ` Felix E. Klee
0 siblings, 1 reply; 8+ messages in thread
From: Felix E. Klee @ 2009-09-24 11:07 UTC (permalink / raw
To: help-gnu-emacs
Before upgrading from Emacs 22.2.1 to 23.1.1 (both under WinXP),
pressing M-q had the following behavior in ChangeLog mode.
Sample paragraph:
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla
After pressing M-q:
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla
After the upgrade, the result is different (two blanks are missing in
the last line):
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla
Any idea how to get back the old behavior?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
2009-09-24 11:07 Emacs 23.1.1: M-q behaves differently in ChangeLog mode Felix E. Klee
@ 2009-09-24 11:14 ` Felix E. Klee
2009-09-25 8:21 ` Eli Zaretskii
[not found] ` <mailman.7505.1253867018.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 8+ messages in thread
From: Felix E. Klee @ 2009-09-24 11:14 UTC (permalink / raw
To: help-gnu-emacs
On Sep 24, 1:07 pm, "Felix E. Klee" <felix.k...@inka.de> wrote:
> Sample paragraph:
Sorry, I think I made a mistake. IIRC, before the upgrade the behavior
was as follows:
Sample paragraph:
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla
After pressing M-q:
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla
Now, after pressing M-q, I get:
* bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla
Anyways, my question remains: Any idea how to get back the old
behavior?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
2009-09-24 11:14 ` Felix E. Klee
@ 2009-09-25 8:21 ` Eli Zaretskii
[not found] ` <mailman.7505.1253867018.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2009-09-25 8:21 UTC (permalink / raw
To: help-gnu-emacs
> From: "Felix E. Klee" <felix.klee@inka.de>
> Date: Thu, 24 Sep 2009 04:14:01 -0700 (PDT)
>
> * bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla
>
> After pressing M-q:
>
> * bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla
>
> Now, after pressing M-q, I get:
>
> * bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla
>
> Anyways, my question remains: Any idea how to get back the old
> behavior?
What do you need the old behavior for? The last sample is the correct
format of ChangeLog files.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
[not found] ` <mailman.7505.1253867018.2239.help-gnu-emacs@gnu.org>
@ 2009-09-25 9:23 ` Felix E. Klee
2009-09-25 10:16 ` Eli Zaretskii
[not found] ` <mailman.7510.1253873968.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 8+ messages in thread
From: Felix E. Klee @ 2009-09-25 9:23 UTC (permalink / raw
To: help-gnu-emacs
On Sep 25, 10:21 am, Eli Zaretskii <e...@gnu.org> wrote:
> What do you need the old behavior for?
Because that's the way I format many ChangeLog files. They're not
associated with software development, and they're not parsed by any
tools. So any, even remote, standard is of irrelevance.
Anyway, do you know how to change the behavior?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
2009-09-25 9:23 ` Felix E. Klee
@ 2009-09-25 10:16 ` Eli Zaretskii
[not found] ` <mailman.7510.1253873968.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2009-09-25 10:16 UTC (permalink / raw
To: help-gnu-emacs
> From: "Felix E. Klee" <felix.klee@inka.de>
> Date: Fri, 25 Sep 2009 02:23:17 -0700 (PDT)
>
> Anyway, do you know how to change the behavior?
Not really. Try to replace change-log-fill-paragraph with the version
from an older Emacs. If that doesn't help, I think the change was not in
change-log-mode, but in fill-region, which change-log-fill-paragraph
calls.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
[not found] ` <mailman.7510.1253873968.2239.help-gnu-emacs@gnu.org>
@ 2009-09-25 13:25 ` Felix E. Klee
2009-09-25 13:59 ` Eli Zaretskii
[not found] ` <mailman.7520.1253887289.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 8+ messages in thread
From: Felix E. Klee @ 2009-09-25 13:25 UTC (permalink / raw
To: help-gnu-emacs
On Sep 25, 12:16 pm, Eli Zaretskii <e...@gnu.org> wrote:
> Not really. Try to replace change-log-fill-paragraph with the version
> from an older Emacs.
Indeed, it is caused by a change in change-log-fill-paragraph. There,
the variable "fill-indent-according-to-mode" is set to true.
Without understanding the indenting interna, I changed the value of
the buffer local variable "indent-line-function" from "change-log-
indent" to "indent-relative". However, this doesn't have any effect.
Any idea how to solve the problem?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
2009-09-25 13:25 ` Felix E. Klee
@ 2009-09-25 13:59 ` Eli Zaretskii
[not found] ` <mailman.7520.1253887289.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2009-09-25 13:59 UTC (permalink / raw
To: help-gnu-emacs
> From: "Felix E. Klee" <felix.klee@inka.de>
> Date: Fri, 25 Sep 2009 06:25:27 -0700 (PDT)
>
> On Sep 25, 12:16 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > Not really. Try to replace change-log-fill-paragraph with the version
> > from an older Emacs.
>
> Indeed, it is caused by a change in change-log-fill-paragraph. There,
> the variable "fill-indent-according-to-mode" is set to true.
>
> Without understanding the indenting interna, I changed the value of
> the buffer local variable "indent-line-function" from "change-log-
> indent" to "indent-relative". However, this doesn't have any effect.
> Any idea how to solve the problem?
Just put the modified change-log-fill-paragraph in your ~/.emacs.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Emacs 23.1.1: M-q behaves differently in ChangeLog mode
[not found] ` <mailman.7520.1253887289.2239.help-gnu-emacs@gnu.org>
@ 2009-09-25 16:00 ` Felix E. Klee
0 siblings, 0 replies; 8+ messages in thread
From: Felix E. Klee @ 2009-09-25 16:00 UTC (permalink / raw
To: help-gnu-emacs
On Sep 25, 3:59 pm, Eli Zaretskii <e...@gnu.org> wrote:
> Just put the modified change-log-fill-paragraph in your ~/.emacs.
Already thought about that, but I don't like that solution. I keep
looking at what configuration options there are.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-25 16:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 11:07 Emacs 23.1.1: M-q behaves differently in ChangeLog mode Felix E. Klee
2009-09-24 11:14 ` Felix E. Klee
2009-09-25 8:21 ` Eli Zaretskii
[not found] ` <mailman.7505.1253867018.2239.help-gnu-emacs@gnu.org>
2009-09-25 9:23 ` Felix E. Klee
2009-09-25 10:16 ` Eli Zaretskii
[not found] ` <mailman.7510.1253873968.2239.help-gnu-emacs@gnu.org>
2009-09-25 13:25 ` Felix E. Klee
2009-09-25 13:59 ` Eli Zaretskii
[not found] ` <mailman.7520.1253887289.2239.help-gnu-emacs@gnu.org>
2009-09-25 16:00 ` Felix E. Klee
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.