Opened 8 years ago

Closed 8 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


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:


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.


Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by Ryan J Ollos

The suggested option along with cols: 72 would cause the preceding email to be formatted as:

Email from Company Y.

Here is the product key for product X:


comment:2 Changed 8 years ago by John Hampton

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 8 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.