Opened 15 years ago
Closed 15 years ago
#6363 closed enhancement (wontfix)
Add option to wrap words greater in length than specified columns
Reported by: | Ryan J Ollos | Owned by: | John Hampton |
---|---|---|---|
Priority: | normal | Component: | EmailProcessorMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I've noticed that the EmailProcessorMacro does not break words that are greater in length than the specified number of columns. One common scenario is when a product key is contained in an email. For example,
Email from Company Y. Here is the product key for product X: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
I can imagine scenarios in which one would want such a line to wrap, and some in which one would not. Perhaps it would be worthwhile to have an option to specify word wrap?
I could work on implementing such an author, but was hoping to get some feedback from the plug-in author.
Thanks.
Attachments (0)
Change History (3)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
For word wrapping I simply use what is available in trac.util.text.wrap
. While I'm not against the feature, I haven't encountered many instances when it's been an issue. So, I'm happy to take patches, but I don't I'll ever get around to writing the feature myself.
comment:3 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
On further thought, I think the current behavior is better. The only case were this has been an issue for me is with product keys, and I think that most people would not want the text to wrap in those instances.
Thanks for the feedback!
The suggested option along with cols: 72 would cause the preceding email to be formatted as: