[mew-int 3020] Re: `wrapped lines' minor problem
Masahiro Hayashi (林 雅博) <[email protected]> Tue, 01 Nov 2011 22:24:47 +0900 (JST)
| Newsgroups | gmane.mail.mew.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, From: Alan Bram <[email protected]> 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