[mew-int 3020] Re: `wrapped lines' minor problem
Masahiro Hayashi ( 林 雅博 )
mhayashi1120 at example.com
Tue Nov 1 22:24:47 JST 2011
Hi,
From: Alan Bram <alan.bram at example.com>
Subject: [mew-int 3019] Re: `wrapped lines' minor problem
Date: Mon, 31 Oct 2011 18:09:06 -0700
>>> If I have a long line like this in a `Mew message' buffer:
>>>
>>> -) I also need to mention that we build two versions of all manuals, one without any page splitting ([manualname]-big-page.html) and one with splitting at numbered sections (genereated into the [manualname]/ subdirectory of out-www). That's one of the reasons why we need to fix the links (to the css files etc), because the files have different base dirs.
>>>
>>> and I press Shift + `-' twice, I get this:
>>>
>>> -) I also need to mention that we build two versions of all manuals,
>>> -one without any page splitting ([manualname]-big-page.html) and one
>>> -with splitting at numbered sections (genereated into the [manualname]/
>>> -subdirectory of out-www). That's one of the reasons why we need to fix
>>> -the links (to the css files etc), because the files have different
>>> -base dirs.
>>>
>>> Note the leading `-' on each line which is quite irritating. I'm not
>>> sure whether this is an Emacs problem or a buglet in Mew, however. In
>>> case it's the former, a workaround would be great :-)
>>>
>>> Werner
>> I guess you can customize it by setting
>> adaptive-fill-regexp.
>>
>> --Kazu
>>
> Do you have any specific recommendations for the value of adaptive-fill-regexp? I couldn't figure out a way to fix this problem that way. I noticed that Mew has its own code for looping through the lines in a buffer (for the purpose of filling).
>
> - arb
How about this setting?
(add-hook 'mew-message-mode-hook
(lambda ()
(set (make-local-variable 'adaptive-fill-regexp)
"[ ]*\\([!|#%;>*·•‣⁃◦]+[ ]*\\)*")))
# remove `-' from default value.
--
Masahiro Hayashi
More information about the Mew-int
mailing list