-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto disable line wrap for the edited message #50
Comments
Can you use https://addons.thunderbird.net/en-us/thunderbird/addon/toggle-line-wrap/ for the time being? The linked extension uses an experimental Thunderbird API, thus
So unless this gets requested by a lot of other users as well, I reckon it's better to leave it to a separate extension. I'm more than happy to add this functionality once the API is stabilised of cos. |
Makes sense, thanks. |
Firstly thanks very much for writing this extension!
I also hit this problem. To keep noise down on this issue, perhaps a thumbs up on the comment by @Frederick888 which I've quoted would be a good way of indicating that you'd like this feature (which I've just done)? |
@tim-seoss I just realised that |
Adding @jan-kiszka (developer of Toggle Line Wrap). I'm affected by this as well. The symptom I'm encountering is a bit different though (I think anyway) from the one reported at the top of this ticket. Namely, for me the undesired wrapping occurs when invoking ExtEditorR from TB upon a message already being composed, for which wrapping has already been disabled using Toggle Line Wrap. In other words, the damage to the composition occurs as soon as I invoke ExtEditorR, not (only) when I return from ExtEditorR to Thunderbird. Env:
Steps:
Which component is responsible for the wrapping? Thank you. |
@Frederick888 thank you for the suggestion; I've installed 102.6.0, and indeed everything works fine. Thanks for having reported https://bugzilla.mozilla.org/show_bug.cgi?id=1792551 in the upstream thunderbird bug tracker! |
@Frederick888 would it be possible to use the I'm also curious: how do you prevent Thunderbird from rewrapping your externally edited messages, which may contain text you don't want rewrapped (e.g. code snippets)? Do you just disable wrapping globally? (Came here to see if anybody already reported this issue, and I found my own bug report!) |
@paride for me, this use case has been working well. I first disable line wrapping using the Toggle Line Wrap extension, then invoke my external editor with the External Editor Revived extension. Using a recent enough Thunderbird, Thunderbird itself does no wrapping at all, so all the wrapping I want, I can (and have to) do in the external editor. |
@Frederick888 would it be possible to use the
|messenger.ComposeLineWrap| API that the Toggle Line Wrap extension
defines to disable wrapping when editing a message with an external
editor?
Not as far as I know, unless you bundle the Toggle Line Wrap code into
EER.
Do you just disable wrapping globally?
Yes.
…On 13/12/23 00:25, Paride Legovini wrote:
@Frederick888 <https://github.com/Frederick888> would it be possible to use the |messenger.ComposeLineWrap| API that the Toggle Line Wrap extension defines to disable wrapping when editing a message with an external editor? This would make external-editor-revived depend on Toggle Line Wrap being installed for this feature to work, of course.
I'm also curious: how do you prevent Thunderbird from rewrapping your externally edited messages, which may contain text you don't want rewrapped (e.g. code snippets)? Do you just disable wrapping globally?
(Came here to see if anybody already reported this issue, and I found my own bug report!)
—
Reply to this email directly, view it on GitHub <#50 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABCMP74ONQGMDER2ZV4LIGDYJBLLFAVCNFSM54AS7Y3KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVGIYDEOJYHAZQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
--
Frederick Zhang
PGP: 8BFB EA5B 4C44 BFAC C8EC 5F93 1F92 8BE6 0D8B C11D
|
Description
When editing a message with the external editor, once it's saved and moved to the TB native editor, longs lines are wrapped (and sent wrapped). That's not desirable in my opinion: any wrapping should be done by external editor. My use case is writing text, plus code snippets (which are sacred and shouldn't be wrapped).
I could disable wrapping TB-wide, but sometimes I want to write simple message with TB's native editor. I think the ideal solution would be to get this extension disable wrapping for the message it edits (not sure this is feasible).
(Huge thanks for this much needed extension!)
Environment
The text was updated successfully, but these errors were encountered: